.smash-sixty .smash-primary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.smash-sixty .smash-primary-stats b{font-variant-numeric:tabular-nums}.smash60-combo{display:flex;align-items:center;justify-content:space-between;padding:12px 3px;color:#b7c7b1;font-size:13px}.smash60-combo strong{color:#d6bbed;margin-left:5px}#smash60Multiplier{border:1px solid #d6bbed65;padding:6px 13px;border-radius:99px;color:#b9ff21;font-size:19px}.smash60-status{font-size:14px;line-height:1.5;color:#bdc8b5;min-height:42px}.smash60-play{width:100%;border:0;border-radius:99px;background:#b9ff21;color:#17200e;font-weight:800;padding:14px;cursor:pointer}.smash60-play:disabled{opacity:.5;cursor:default}.smash60-clock-note{font-size:11px;color:#8f9d8b;line-height:1.5;text-align:center}.smash-sixty .is-low-time{color:#ffbc84!important}.smash-sixty .rally-leaderboard ol{list-style:none;padding:0}.smash60-board-row{display:grid;grid-template-columns:25px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff12;align-items:center}.smash60-board-row button{border:0;background:transparent;text-align:left;color:#e5ecdf;font:inherit;cursor:pointer}.smash60-board-row>strong{color:#b9ff21}.smash60-board-row.is-you{background:#b9ff2110;border-radius:12px;padding-inline:9px}.smash-sixty .arcade-how ol{padding-left:18px;line-height:1.7;font-size:13px;color:#bdc8b5}

/* One fixed pop-up: only its content scrolls, never the page beneath it. */
#smashGame{position:fixed;inset:0;margin:auto;padding:0;overflow:hidden;max-height:calc(100dvh - 24px - env(safe-area-inset-top));width:min(490px,calc(100% - 24px))}
#smashGame:not([open]),#smashGame[hidden]{display:none!important}
#smashGame[open]{display:flex;flex-direction:column}
#smashGame>.game-sheet-toolbar{position:relative;top:0;flex:none;margin:0;padding:8px 16px;border-radius:16px 16px 0 0}
#smashGame>.smash60-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 20px 20px}
body.smash60-modal-open,body.smash60-modal-open .screen-wrap{overflow:hidden!important;overscroll-behavior:none}
#smashGame #smashCourt{touch-action:none}

/* Start is anchored to the ball, never the rest of the court. */
#smashGame .smash-court-wrap{position:relative}
#smashGame .smash60-ball-start{left:50%;top:87.727%;width:46px;height:46px;background:radial-gradient(circle,#d5ff79 0 7px,#b9ff21 8px,transparent 10px);border:1px solid #b9ff2170;box-shadow:0 0 10px 4px #b9ff2160,0 0 25px 8px #b9ff2130;animation:smash60-ball-glow 1.5s ease-in-out infinite;z-index:5}
#smashGame .smash60-ball-start>span{font-size:12px;color:#e6ffba;pointer-events:none}
#smashGame .smash60-ball-start[hidden]{display:none!important}
@keyframes smash60-ball-glow{50%{box-shadow:0 0 16px 7px #b9ff2190,0 0 34px 13px #b9ff2145;border-color:#d5ff79}}
@media(prefers-reduced-motion:reduce){#smashGame .smash60-ball-start{animation:none}}

/* Reserve a complete play viewport before the timer ever starts. */
#smashGame{height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
#smashGame>.smash60-body{flex:1;padding:10px 14px 14px;overflow-anchor:none}
#smashGame .rally-heading{margin:0 0 8px;padding:0}
#smashGame .rally-heading h3{font-size:20px;margin:2px 0}
#smashGame .arcade-game-brand>img{width:28px;height:28px}
#smashGame .rally-heading small{font-size:8px}
#smashGame .smash60-stage{display:flex;flex-direction:column;align-items:stretch;flex:none;min-height:0}
#smashGame .smash-primary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 6px;flex:none}
#smashGame .smash-primary-stats>span{display:flex;align-items:center;justify-content:space-between;padding:8px;font-size:10px;min-width:0}
#smashGame .smash-primary-stats b{font-size:20px}
#smashGame .smash60-combo{padding:3px 0 5px;font-size:11px;flex:none}
#smashGame #smash60Multiplier{padding:3px 9px;font-size:15px}
#smashGame .smash-route{margin:0 0 6px;padding:5px 8px;font-size:10px;flex:none}
#smashGame .smash-court-wrap{flex:none;max-width:100%;margin:0 auto 6px;aspect-ratio:360 / 440}
#smashGame #smashCourt{width:100%;height:100%;aspect-ratio:360 / 440}
#smashGame .smash60-status{margin:0;min-height:32px;font-size:11px;line-height:1.4;flex:none}
#smashGame.smash60-playing>.smash60-body{overflow:hidden}
#smashGame .battle-attempt-banner{margin:0 0 8px;padding:8px}
#smashGame .smash60-ball-start>span{font-size:10px}

#smashGame .smash60-status{height:40px;min-height:40px;overflow:auto}
#smashGame>.smash60-body{scrollbar-gutter:stable}
#smashGame .smash-primary-stats>span{min-height:40px;height:40px;flex-direction:row;gap:4px}

/* Mobile games use the full screen rather than a narrow floating card. */
@media(max-width:600px){#smashGame{width:100%;max-width:none;height:100dvh;max-height:100dvh;inset:0;border-radius:0;margin:0;padding-top:env(safe-area-inset-top)}#smashGame>.smash60-body{padding-bottom:calc(12px + env(safe-area-inset-bottom))}#smashGame>.game-sheet-toolbar{border-radius:0}}
