
/* Cross-check: season surface palette and compact card actions. */
#card-account-status:empty{display:none}
.pack-flip-hint{position:absolute;right:8%;bottom:1%;padding:3px 8px;border:1px solid #adb8be;background:#1f2428;color:#f1f5f7;border-radius:4px;font:11px Ntreev;white-space:nowrap}
.stadium-chat{--ui-surface:#202528;--ui-text:#edf0f2;--ui-line:#59646b;--ui-line-strong:#77828a;--ui-accent-soft:#2d3b45;--ui-accent:#e3bc72;color:var(--ui-text);max-width:100vw}
.light .stadium-chat{--ui-surface:#f4f5f6;--ui-text:#20282d;--ui-line:#9da8b0;--ui-line-strong:#6a7c87;--ui-accent-soft:#e5e9ec}
.stadium-chat-panel::before{background:var(--ui-surface,#202528)}
.item-preview{display:grid;gap:8px}.item-preview p{margin:0}

/* Keep the underlying standings, score and awarded PT out of the reveal. */
#dialog.match-results-dialog::backdrop{background:#10171b;backdrop-filter:none}
.light #dialog.match-results-dialog::backdrop{background:#e9edee}
@keyframes pack-summary-ready{from{opacity:1;transform:translateY(4px);filter:brightness(.65)}to{opacity:1;transform:none;filter:none}}
.pack-summary-card{animation-name:pack-summary-ready}
.study-camp-art{background:#193c49}.study-camp-art img{object-fit:contain}
/* Chat uses the original season drawer rules in stadium-chat.css. */
.attendance-launch{inset-inline-end:auto;inset-inline-start:12px}
@media(max-width:690px){.card-menu-frame>.game-header{min-width:0}.page-guide .reference-tabs{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.page-guide .reference-tabs button{flex:none}}

@media(max-width:690px){
 .card-menu-frame>.app-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;flex-wrap:nowrap;padding:6px 8px;min-height:54px;height:54px}
 .card-menu-frame>.app-header .league-label,.card-menu-frame>.app-header .header-notice{display:none}
 .card-menu-frame>.app-header .window-title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .card-menu-frame>.app-header .header-tools{display:flex;flex-wrap:nowrap;gap:3px;margin:0;white-space:nowrap}
 .card-menu-frame>.app-header .card-menu-back{font-size:11px;padding:5px;min-width:0}
 .card-menu-frame>.app-header .pill{font-size:11px;padding:3px 5px;min-width:0}
 .card-menu-frame>.app-header .pill b{font-size:12px}
 .card-menu-frame>.app-header .tiny{font-size:10px;padding:5px 4px;min-width:0}
}

/* Empty states span the actual shelf, rather than three fixed card columns. */
.card-lineup-frame .reserve-grid:has(>.reserve-empty){grid-template-columns:minmax(0,1fr)!important;justify-content:stretch}
.card-lineup-frame .reserve-empty{width:100%;max-width:none;margin:0;box-sizing:border-box}

[data-preserve-scroll]{overflow-anchor:none}
