/* Shared, scrollable game sheet. Controls occupy separate touch targets. */
#rallyGame,#smashGame,#clashDialog{box-sizing:border-box;max-height:calc(100dvh - 24px - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:90px}
.game-sheet-toolbar{position:sticky;top:-1px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#18211d;padding:8px 0 12px;margin-bottom:12px;border-bottom:1px solid #cdb5eb30}
.game-sheet-handle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:5px 12px;border:0;background:transparent;color:#bac9c0;cursor:pointer;touch-action:none}
.game-sheet-handle>span{width:42px;height:5px;border-radius:9px;background:#cdb5eb}.game-sheet-handle small{font-size:10px}
.game-sheet-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}
.game-sheet-actions .notification-modal-bell,.game-sheet-actions .rally-minimise,.game-sheet-actions .clash-close{position:static!important;float:none!important;display:grid!important;place-items:center;box-sizing:border-box;width:48px!important;height:48px!important;min-width:48px;padding:8px!important;margin:0!important;border:1px solid #cdb5eb55;border-radius:14px;background:#252d29;color:#eee4fa;font-size:28px;transform:none!important}
.game-sheet-actions button:after{display:none!important}.game-sheet-actions button:focus-visible,.game-sheet-handle:focus-visible{outline:2px solid #eacf8e;outline-offset:2px}
#clashDialog .clash-heading{grid-template-columns:auto 1fr}
@media(max-width:420px){.game-sheet-handle{padding:5px 4px}.game-sheet-handle small{font-size:9px}}
/* Full-colour achievement artwork stays visible before collection. */
.passport-stamp-row .passport-stamp-circle{width:52px;height:52px;flex-basis:52px;border:0;background:transparent;overflow:visible;box-shadow:none}
.passport-stamp-row .passport-stamp-circle img,.passport-stamp-row.is-earned .passport-stamp-circle img{width:100%;height:100%;filter:none;opacity:1}
.passport-stamp-row.is-earned .passport-stamp-circle{background:transparent;border:0;box-shadow:0 0 0 2px #64a868;border-radius:15px}
.passport-stamp-row:not(.is-earned) .passport-stamp-circle{opacity:.78}
@media(max-width:600px){.passport-stamp-row .passport-stamp-circle{width:40px;height:40px;flex-basis:40px}}
.passport-reader .passport-page .passport-stamp-row .passport-stamp-circle{width:52px;height:52px;flex-basis:52px;border:0;background:transparent;box-shadow:none}
.passport-reader .passport-page .passport-stamp-row .passport-stamp-circle img{width:100%;height:100%;filter:none;opacity:1}
.passport-reader .passport-page .passport-stamp-row.is-earned .passport-stamp-circle{box-shadow:0 0 0 2px #64a868}
@media(max-width:600px){.passport-reader .passport-page .passport-stamp-row .passport-stamp-circle{width:44px;height:44px;flex-basis:44px}}

/* The handle owns its gesture; button defaults must not turn it into page scrolling. */
.arcade-game-dialog .game-sheet-handle{touch-action:none;user-select:none;-webkit-user-select:none}
