body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #f5f5fb;
-webkit-tap-highlight-color: transparent;
}
#game-iframe {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
z-index: 1;
}
#draggable-ring {
position: fixed;
bottom: 20px;
right: 20px;
width: 48px;
height: 48px;
background: #f5f5fb;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 2147483641;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
-5px -5px 10px rgba(255, 255, 255, 0.7);
user-select: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#draggable-ring svg {
width: 28px;
height: 28px;
fill: #8b5cf6;
position: relative;
z-index: 1;
}
#draggable-ring:hover {
transform: scale(1.1);
box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.15),
-7px -7px 15px rgba(255, 255, 255, 0.8);
}
#draggable-ring:active {
transform: scale(0.95);
box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.1),
inset -3px -3px 8px rgba(255, 255, 255, 0.6);
}
#newActivePredictionBar {
display: flex;
align-items: center;
justify-content: space-between;
position: fixed;
top: 15px;
left: 50%;
transform: translateY(-100%) translateX(-50%);
padding: 12px 16px;
background: #f5f5fb;
color: #8b5cf6;
border-radius: 16px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
-5px -5px 15px rgba(255, 255, 255, 0.7);
font-family: "Poppins", -apple-system, system-ui, sans-serif;
z-index: 2147483640;
border: 1px solid rgba(139, 92, 246, 0.2);
opacity: 0;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
max-width: 95%;
width: auto;
box-sizing: border-box;
}
#newActivePredictionBar * {
box-sizing: border-box;
}
#newActivePredictionBar.visible {
opacity: 1;
transform: translateY(0) translateX(-50%);
}
.pred-wrapper {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 2px;
overflow: hidden;
flex: 1;
min-width: 0;
}
.live-indicator {
display: flex;
align-items: center;
gap: 4px;
padding-right: 8px;
margin-right: 8px;
border-right: 1px solid rgba(139, 92, 246, 0.2);
flex-shrink: 0;
position: relative;
}
.live-indicator::after {
content: "";
position: absolute;
right: -1px;
top: 50%;
height: 70%;
width: 1px;
background: linear-gradient(to bottom,
transparent,
rgba(139, 92, 246, 0.4),
transparent);
transform: translateY(-50%);
}
.live-dot {
width: 5px;
height: 5px;
background: #8b5cf6;
box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
border-radius: 50%;
animation: pulse 1.5s infinite;
}
.live-text {
font-size: 9px;
font-weight: 700;
color: #8b5cf6;
letter-spacing: 0.3px;
text-transform: uppercase;
position: relative;
}
.live-text::after {
content: "";
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right,
transparent,
rgba(139, 92, 246, 0.5),
transparent);
}
.game-info {
display: flex;
flex-direction: column;
padding: 0 8px;
line-height: 1.2;
border-right: 1px solid rgba(139, 92, 246, 0.2);
margin-right: 8px;
white-space: nowrap;
flex-shrink: 1;
min-width: 0;
max-width: 30%;
position: relative;
}
.game-info::after {
content: "";
position: absolute;
right: -1px;
top: 50%;
height: 70%;
width: 1px;
background: linear-gradient(to bottom,
transparent,
rgba(139, 92, 246, 0.4),
transparent);
transform: translateY(-50%);
}
.game-type {
font-size: 9px;
font-weight: 700;
color: #8b5cf6;
letter-spacing: 0.2px;
text-transform: uppercase;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.issue-number {
font-size: 8px;
font-weight: 400;
color: rgba(139, 92, 246, 0.8);
letter-spacing: 0.5px;
overflow: hidden;
text-overflow: ellipsis;
}
.win-loss {
display: flex;
align-items: center;
padding: 0 5px;
margin-right: 8px;
border-right: 1px solid rgba(139, 92, 246, 0.2);
gap: 2px;
position: relative;
flex-shrink: 0;
max-width: 65px;
}
.win-loss::after {
content: "";
position: absolute;
right: -1px;
top: 50%;
height: 70%;
width: 1px;
background: linear-gradient(to bottom,
transparent,
rgba(139, 92, 246, 0.4),
transparent);
transform: translateY(-50%);
}
.win-loss::before {
content: "";
position: absolute;
top: -3px;
bottom: -3px;
left: -3px;
right: -3px;
background: #f5f5fb;
border-radius: 10px;
z-index: -1;
box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.1),
inset -3px -3px 8px rgba(255, 255, 255, 0.6);
border: 1px solid rgba(139, 92, 246, 0.15);
}
.win-loss-icon {
width: 9px;
height: 9px;
fill: #8b5cf6;
opacity: 1;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.win-loss-text {
font-size: 11px;
font-weight: 700;
color: #8b5cf6;
letter-spacing: 0.3px;
font-variant-numeric: tabular-nums;
min-width: 30px;
text-align: center;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
position: relative;
}
.win-loss-text::after {
content: "";
position: absolute;
bottom: -1px;
left: 50%;
width: 70%;
height: 1px;
background: linear-gradient(to right,
transparent,
rgba(139, 92, 246, 0.3),
transparent);
transform: translateX(-50%);
}
.prediction-details {
display: flex;
align-items: center;
padding-left: 10px;
gap: 6px;
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
overflow: hidden;
}
.prediction-size {
display: flex;
align-items: center;
justify-content: center;
font-size: 9px;
font-weight: 600;
color: #8b5cf6;
text-transform: uppercase;
letter-spacing: 0.3px;
padding: 3px 10px;
background: #f5f5fb;
border-radius: 10px;
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1),
-3px -3px 6px rgba(255, 255, 255, 0.7);
border: 1px solid rgba(139, 92, 246, 0.2);
white-space: nowrap;
flex-shrink: 0;
line-height: 1.1;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.close-pred-bar {
padding: 3px;
margin-left: 8px;
cursor: pointer;
background: #f5f5fb;
border: 1px solid rgba(139, 92, 246, 0.2);
color: #8b5cf6;
line-height: 0;
border-radius: 50%;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1),
-2px -2px 5px rgba(255, 255, 255, 0.7);
min-width: 18px;
min-height: 18px;
width: 18px;
height: 18px;
}
.close-pred-bar:hover {
color: #8b5cf6;
background: #f5f5fb;
transform: scale(1.1);
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15),
-3px -3px 8px rgba(255, 255, 255, 0.8);
}
.close-pred-bar svg {
width: 10px;
height: 10px;
position: relative;
z-index: 1;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.6;
transform: scale(1.3);
}
}
@media screen and (max-width: 480px) {
#newActivePredictionBar {
padding: 10px 14px;
border-radius: 14px;
}
.live-indicator,
.game-info,
.win-loss {
padding-right: 6px;
margin-right: 6px;
}
.win-loss {
gap: 2px;
padding: 0 4px;
max-width: 55px;
}
.win-loss-icon {
width: 8px;
height: 8px;
}
.win-loss-text {
min-width: 28px;
font-size: 10px;
}
.prediction-details {
gap: 4px;
padding-left: 6px;
}
.prediction-size {
padding: 2px 6px;
font-size: 8px;
}
}
@media screen and (max-width: 374px) {
#newActivePredictionBar {
padding: 8px 12px;
max-width: 98%;
top: 12px;
}
.live-indicator {
padding-right: 4px;
margin-right: 4px;
gap: 3px;
}
.live-text {
font-size: 8px;
}
.live-dot {
width: 4px;
height: 4px;
}
.game-info {
padding: 0 4px;
margin-right: 4px;
}
.game-type {
font-size: 8px;
}
.issue-number {
font-size: 7px;
}
.win-loss {
padding: 0 3px;
margin-right: 4px;
gap: 2px;
max-width: 50px;
}
.win-loss-icon {
width: 8px;
height: 8px;
}
.win-loss-text {
min-width: 26px;
font-size: 10px;
}
.prediction-details {
padding-left: 4px;
gap: 3px;
}
.prediction-size {
font-size: 7px;
padding: 2px 5px;
}
.close-pred-bar {
margin-left: 5px;
width: 16px;
height: 16px;
min-width: 16px;
min-height: 16px;
padding: 2px;
}
.close-pred-bar svg {
width: 9px;
height: 9px;
}
}
@media screen and (max-width: 320px) {
#newActivePredictionBar {
padding: 6px 10px;
}
.live-indicator,
.game-info,
.win-loss {
padding-right: 3px;
margin-right: 3px;
}
.game-info {
max-width: 25%;
}
.win-loss {
max-width: 45px;
padding: 0 2px;
}
.win-loss::before {
top: -2px;
bottom: -2px;
left: -2px;
right: -2px;
}
.prediction-details {
padding-left: 3px;
gap: 2px;
}
.prediction-size {
padding: 1px 4px;
}
.close-pred-bar {
margin-left: 3px;
}
}