.game-page { min-height:60vh; }
.game-back { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; margin-bottom:24px; min-height:32px; }
.game-page .dashboard-heading { margin-bottom:24px; }
.game-page .dashboard-heading .icon-button { display:grid; place-items:center; flex-shrink:0; }
.game-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }
.game-main-column { display:grid; gap:18px; min-width:0; }
.game-scoreboard { padding:24px; }
.game-scoreboard-heading { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:var(--muted); }
.game-scoreboard-heading .game-status { font-weight:600; color:var(--red); }
.game-matchup { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:24px 0; }
.game-team { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 16px; min-width:0; }
.game-team+.game-team { border-left:1px solid var(--line); }
.game-team-logo { position:relative; display:grid; place-items:center; width:64px; height:64px; background:var(--soft); border-radius:12px; overflow:hidden; color:var(--muted); font-size:18px; font-weight:600; margin-bottom:10px; }
.game-team-logo img { position:absolute; inset:4px; width:56px; height:56px; object-fit:contain; background:var(--panel); }
.game-team-side { text-transform:uppercase; letter-spacing:1px; color:var(--muted); font-size:10px; }
.game-team h2 { margin:5px 0; overflow-wrap:anywhere; }
.game-team-record { color:var(--muted); font-size:12px; }
.game-big-score { font-size:48px; font-weight:600; font-variant-numeric:tabular-nums; line-height:1.3; margin-top:12px; }
.game-description { border-top:1px solid var(--line); padding-top:16px; text-align:center; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.game-last-update { margin-top:10px; font-size:11px; color:var(--muted); text-align:center; }
.game-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.game-link { display:flex; align-items:center; gap:12px; padding:18px; }
.game-link>.icon { color:var(--red); }
.game-link>span:last-child { margin-left:auto; }
.game-link strong,.game-link small { display:block; }
.game-link strong { font-size:13px; }
.game-link small { font-size:11px; color:var(--muted); margin-top:3px; }
.game-link:hover { border-color:var(--link); }
.game-report { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px; }
.game-report h2 { font-size:15px; }
.game-report p,.game-caption { color:var(--muted); font-size:12px; margin-top:6px; }
.game-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:10px 16px; border:1px solid transparent; border-radius:8px; line-height:1.5; font-family:inherit; font-size:12px; font-weight:600; cursor:pointer; text-align:center; }
.game-button.primary { background:#bf1e2e; color:#fff; }
.game-button.primary:hover { background:#a31826; color:#fff; }
.game-button.secondary { background:var(--panel); border-color:var(--line); color:var(--text); }
.game-button.secondary:hover { border-color:var(--link); color:var(--link); }
.game-page button:disabled { cursor:not-allowed; opacity:.6; }
.game-text-button { background:transparent; color:var(--muted); font-size:12px; padding:8px; min-height:40px; }
.game-text-button:hover { color:var(--red); }
.game-update { padding:24px; }
.game-update>.eyebrow { margin-bottom:8px; color:var(--red); }
.game-update form { margin-top:20px; }
.game-update fieldset { border:0; margin:0; padding:0; min-width:0; display:grid; gap:18px; }
.game-update fieldset:disabled { opacity:.65; }
.game-field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.game-field>span { font-size:12px; font-weight:600; }
.game-field input,.game-field select,.game-field textarea { width:100%; min-width:0; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--text); padding:11px 12px; font:inherit; min-height:44px; }
.game-field textarea { resize:vertical; }
.game-field textarea:focus-visible { outline:3px solid var(--link); outline-offset:3px; }
.game-score-inputs { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.game-score-inputs .game-field { justify-content:space-between; }
.game-score-inputs input { font-size:24px; font-weight:600; }
.game-clock { display:grid; grid-template-columns:1fr auto 1fr; gap:10px; align-items:end; }
.game-clock>span { align-self:end; padding-bottom:12px; }
.game-notice { margin-top:18px; padding:14px; background:var(--soft); border-radius:8px; font-size:12px; color:var(--muted); }
.game-notice a { color:var(--link); text-decoration:underline; }
.game-feedback,.game-form-feedback { padding:12px 14px; border-radius:8px; border:1px solid var(--line); background:var(--soft); color:var(--text); font-size:13px; margin-top:16px; overflow-wrap:anywhere; }
.game-form-feedback[data-error=true] { border-color:var(--red); color:var(--red); }
.game-dialog { width:min(520px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--panel); color:var(--text); box-shadow:0 20px 70px #0005; }
.game-dialog::backdrop { background:#090f13b3; }
.game-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.game-close { display:grid; place-items:center; width:40px; height:40px; background:var(--soft); border-radius:8px; color:var(--text); font-size:24px; flex-shrink:0; }
.game-dialog form>.game-field { margin-top:20px; }
.game-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.game-chat-page { max-width:980px; }
.game-chat-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.game-chat-toolbar>p { color:var(--muted); font-size:12px; }
.game-posts { display:grid; gap:16px; }
.game-post { padding:22px; }
.game-post>header { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.game-avatar { width:40px; height:40px; background:var(--soft); color:var(--muted); border-radius:50%; display:grid; place-items:center; flex-shrink:0; font-weight:600; font-size:12px; }
.game-post header h2 { font-size:14px; overflow-wrap:anywhere; }
.game-post header span:not(.game-avatar),.game-post time { font-size:11px; color:var(--muted); }
.game-post time { margin-left:auto; text-align:right; }
.game-post-content,.game-post blockquote p { white-space:pre-wrap; overflow-wrap:anywhere; }
.game-post blockquote { margin:12px 0; padding:12px 16px; background:var(--soft); border-left:3px solid var(--line); border-radius:4px; font-size:12px; }
.game-post>footer { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:18px; border-top:1px solid var(--line); padding-top:12px; }
.game-post>footer>span { color:var(--muted); font-size:12px; margin-right:auto; }
@media(max-width:900px) { .game-detail-grid { grid-template-columns:1fr; } .game-update { max-width:none; } }
@media(max-width:600px) {
    .game-links { grid-template-columns:1fr; }
    .game-scoreboard,.game-update,.game-post,.game-dialog { padding:18px; }
    .game-team { padding:0 10px; }
    .game-team h2 { font-size:16px; }
    .game-report,.game-chat-toolbar { align-items:flex-start; flex-direction:column; }
    .game-post>header { flex-wrap:wrap; }
    .game-post time { width:100%; text-align:left; margin-left:52px; }
    .game-dialog-actions .game-button { flex:1; }
}
