/* BM26 clubroom. At 390px: 16 + 358 + 16. At 1440px: 24 + 1392 + 24.
   The home body is a matchup column and an editorial news column, not a card grid. */
body.game-mode{--ground:#101010;--surface:#181818;--raised:#242424;--border:#373737;--control:#666666;--text:#f3f2eb;--muted:#b7b7b1;--faint:#a2a29c;--paper:#ece9dd;--ink:#171714;--positive:#b6d5b7;--negative:#efa1a6;background:var(--ground);color:var(--text);font-family:'Hiragino Sans','Yu Gothic UI',Meiryo,system-ui,sans-serif;line-height:1.5}
body.game-mode button,body.game-mode .button,body.game-mode input,body.game-mode select{border-radius:2px;background:var(--raised);color:var(--text);border-color:var(--control);box-shadow:none;min-height:44px}
body.game-mode button:hover,body.game-mode .button:hover{background:#333333}
body.game-mode .primary{background:var(--accent);border-color:var(--accent-text);color:var(--accent-ink);font-weight:700}
body.game-mode .primary:hover{background:var(--accent);border-color:var(--text);color:var(--accent-ink)}
body.game-mode :disabled{color:#aaaaa5;background:#242424;border-color:#494949;cursor:not-allowed}
body.game-mode :focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
/* Route headings receive focus for announcements, not as interactive controls. */
body:not(.title-mode) h1[tabindex="-1"]:focus{outline:0}
body.game-mode input,body.game-mode select{font-size:16px;caret-color:var(--accent-text)}
body.game-mode input[type=checkbox],body.game-mode input[type=radio]{accent-color:var(--accent)}
body.game-mode .panel,body.game-mode .workspace,body.game-mode .team-item,body.game-mode .squad-column,body.game-mode .scout-job,body.game-mode .record-dialog,body.game-mode .trait-dialog,body.game-mode .active-draft-selection,body.game-mode .active-review-players>article{border-radius:0;box-shadow:none;background:var(--surface);border-color:var(--border)}
body.game-mode .panel,body.game-mode .workspace{border:1px solid var(--border)}
body.game-mode .panel-title h2{font-size:16px;font-weight:700}
body.game-mode .back,body.game-mode .panel-title a{color:var(--accent-text)}
body.game-mode .heading h1{font-size:25px;font-weight:750;letter-spacing:-.025em}
body.game-mode .heading p{color:var(--muted)}
body.game-mode .num,body.game-mode dd,body.game-mode .ovr{font-family:inherit;font-variant-numeric:tabular-nums}
body.game-mode td,body.game-mode th{border-color:var(--border)}
body.game-mode th{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0}
body.game-mode .view-tabs{background:transparent;border-bottom:1px solid var(--control);padding:0 8px;gap:0}
body.game-mode .view-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;border-radius:0;color:var(--muted);min-height:46px;padding:10px 12px}
body.game-mode .view-tabs button[aria-selected=true]{background:transparent;color:var(--accent-text);border-bottom-color:var(--accent);font-weight:700}
body.game-mode .view-tabs button:hover{background:var(--raised)}
body.game-mode .screen-frame{max-width:1480px;margin-inline:auto}
body.game-mode:not(.event-mode):not(.roster-mode) #app{inset:calc(56px + var(--safe-top)) 0 calc(64px + var(--safe-bottom));margin:0;padding:18px 24px;max-width:none}
body.game-mode:not(.event-mode):not(.roster-mode) .game-sidebar{display:contents}
body.game-mode:not(.event-mode):not(.roster-mode) .game-sidebar>.sidebar-logo,body.game-mode .game-sidebar>.club-context,body.game-mode .game-sidebar>.nav-caption,body.game-mode .game-sidebar>.sidebar-bottom{display:none}
body.game-mode:not(.event-mode):not(.roster-mode) .game-topbar{left:0;right:0;top:0;height:calc(56px + var(--safe-top));padding:var(--safe-top) max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));background:var(--ground);border-bottom:1px solid var(--border);gap:20px}
.topbar-brand{font-family:Impact,'Arial Narrow',system-ui,sans-serif;font-size:25px;line-height:1;white-space:nowrap}
.topbar-brand span{color:var(--accent-text);margin-left:2px}
body.game-mode .topbar-club{min-width:0}
body.game-mode .topbar-club>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
body.game-mode .game-date{margin-left:auto}
body.game-mode .game-date strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
body.game-mode .topbar-schedule{display:none}
body.game-mode:not(.event-mode):not(.roster-mode) .game-sidebar nav{position:fixed;inset:auto 0 0;display:flex;flex-direction:row;justify-content:center;height:calc(64px + var(--safe-bottom));padding:0 max(12px,env(safe-area-inset-right)) var(--safe-bottom) max(12px,env(safe-area-inset-left));gap:0;border:0;border-top:1px solid var(--control);background:var(--ground);z-index:6}
body.game-mode .game-sidebar nav a{position:relative;min-width:0;flex:1;max-width:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 8px;min-height:64px;color:var(--muted);background:transparent;border-radius:0;font-size:12px}
body.game-mode .game-sidebar nav a .nav-label{font-size:12px!important;color:inherit;white-space:nowrap;width:auto}
body.game-mode .game-sidebar nav a .nav-icon{width:20px;height:20px;color:inherit}
body.game-mode .game-sidebar nav a[aria-current=page]{background:var(--raised);color:var(--text)}
body.game-mode .game-sidebar nav a[aria-current=page] .nav-label{color:var(--text)!important}
body.game-mode .game-sidebar nav a[aria-current=page]::after{content:'';position:absolute;inset:auto 20% 0;width:auto;height:3px;background:var(--accent)}
html.ios-pwa body.game-mode:not(.event-mode):not(.roster-mode){grid-template-rows:calc(56px + var(--safe-top)) minmax(0,1fr) calc(64px + var(--safe-bottom))}
html.ios-pwa body.game-mode:not(.event-mode):not(.roster-mode) #app{position:relative;inset:auto;height:auto;grid-row:2}
html.ios-pwa body.game-mode:not(.event-mode):not(.roster-mode) .game-topbar{position:relative;inset:auto;height:100%;grid-row:1}
html.ios-pwa body.game-mode:not(.event-mode):not(.roster-mode) .game-sidebar nav{position:relative;inset:auto;height:100%;grid-row:3}
/* Shared scorebook surfaces. The underlying ratings, rows and controls are unchanged. */
body.game-mode .screen-player .player-summary.panel,body.game-mode .screen-player .rating-summary,body.game-mode .screen-game .match-heading{background:var(--surface);color:var(--text);border-radius:0;border:1px solid var(--control)}
body.game-mode .screen-player .rating-summary{border:0}
body.game-mode .screen-player .rating-summary strong{color:var(--text);font-size:38px;font-weight:750;font-variant-numeric:tabular-nums}
body.game-mode .screen-player .rating-summary span{color:var(--muted);font-size:12px}
body.game-mode .skill-cell>b{font-weight:650;font-variant-numeric:tabular-nums}
body.game-mode .skill-cell .track{background:#3c3c3c}
body.game-mode .skill-cell .track i{background:#c0c4bc}
body.game-mode .screen-players>.panel{background:var(--surface);border-radius:0;border:1px solid var(--border)}
body.game-mode .screen-players td.ovr{font-weight:750;font-variant-numeric:tabular-nums;color:var(--text)}
body.game-mode .screen-players .region-switch button[aria-pressed=true]{background:var(--raised);color:var(--accent-text);border-color:var(--accent-text)}
body.game-mode .screen-players td:first-child a:hover{color:var(--accent-text)}
body.game-mode .standing-rank{font-size:17px;font-weight:700}
body.game-mode .standings-row{border-left:3px solid transparent;padding-left:6px}
body.game-mode .standings-row.controlled-club{background:var(--raised);border-left-color:var(--accent)}
body.game-mode .standings-row.controlled-club .standing-name,body.game-mode .standings-row.controlled-club .standing-rank{color:var(--accent-text)}
body.game-mode .standing-record b,body.game-mode .standing-rates dd{font-weight:650}
body.game-mode .calendar-day{border-radius:0;background:var(--surface)}
body.game-mode .calendar-day.is-today{background:var(--raised);outline-color:var(--accent)}
body.game-mode .calendar-day.is-selected{background:var(--accent-soft);outline-color:var(--accent)}
body.game-mode .calendar-day .calendar-result.is-win,body.game-mode .calendar-win{color:var(--positive)}
body.game-mode .calendar-day .calendar-result.is-loss,body.game-mode .calendar-loss{color:var(--negative)}
body.game-mode .operation-form,body.game-mode .record-fields,body.game-mode .contract-overview-row{border-color:var(--border)}
body.game-mode .operation-form>button:not([type]){background:var(--accent);color:var(--accent-ink);border-color:var(--accent-text);font-weight:700}
body.game-mode .operation-form h2,body.game-mode .registration-page-header h1{font-weight:700}
body.game-mode .squad-column>header,body.game-mode .registration-group h3{background:var(--raised);border-radius:0}
body.game-mode .squad-person input{accent-color:var(--accent)}
body.game-mode .squad-row.is-selected{background:var(--accent-soft)}
body.game-mode .squad-row>strong{font-variant-numeric:tabular-nums}
body.game-mode .lineup-drag-ghost{border-color:var(--accent-text)!important}
body.game-mode .drop-target{outline-color:var(--accent-text)!important}
body.game-mode .trait.unique{background:#d4af37;color:#211a08;border-color:#b18a20}
body.game-mode .draft-club{background:var(--surface);border-radius:0}
body.game-mode .draft-club.is-own-club{outline-color:var(--accent-text)}
/* Dark team colours remain on fills and markers; text keeps readable contrast. */
body.game-mode .editor-save p,body.game-mode .registration-options>summary:after,body.game-mode .mailbox-button>svg,body.game-mode .mailbox-button strong,body.game-mode .pregame-order article>b,body.game-mode .match-reveal-word.result-win{color:var(--accent-text)}
body.game-mode .screen-tactics #lineup-error{color:var(--negative)}
body.front-mode:not(.title-mode) .front-panel,body.front-mode:not(.title-mode) .club-option,body.front-mode:not(.title-mode) .chosen-club{border-radius:0;box-shadow:none}
body.game-mode .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
body.game-mode .team-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border:0;border-bottom:1px solid var(--border);background:transparent}
.team-item-header{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.team-item-header>.crest,.team-item-header>.crest.crest-custom{width:44px;height:44px;flex:none}
.team-item-header>div{min-width:0}
body.game-mode .team-item h2{font-size:17px;margin:0 0 4px;line-height:1.4}
body.game-mode .team-item p{font-size:12px;margin:4px 0 0}
body.game-mode .team-item small{font-size:12px;color:var(--muted)}
body.game-mode .team-item button,body.game-mode .team-item>.button{flex:none;min-height:44px;max-width:138px;margin:0;font-size:12px;padding:8px 12px}
/* Club command room. One h1, a broadcast matchup, then editorial and scorebook rows. */
.screen-home>.clubroom{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;flex:1;min-width:0;min-height:0;height:100%}
.clubroom-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center;padding:0 0 12px;border:0;border-bottom:2px solid var(--control);min-height:0;background:transparent}
.clubroom-club{display:flex;align-items:center;gap:14px;min-width:0}
.clubroom-club>.crest,.clubroom-club>.crest.crest-custom{width:56px;height:56px;flex:none}
.clubroom-club>div{min-width:0}
.clubroom-club p{margin:0 0 3px;font-size:12px;color:var(--muted)}
.screen-home .clubroom-club h1{margin:0;font-size:29px;font-weight:750;line-height:1.3;letter-spacing:-.03em;overflow-wrap:anywhere}
.clubroom-rank{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;min-height:44px;color:var(--text);text-decoration:none}
.clubroom-rank strong{font-size:44px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.clubroom-rank span{font-size:14px}
.clubroom-rank.unranked strong{font-size:22px;color:var(--muted)}
.clubroom-record{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 20px;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.clubroom-record b{color:var(--text);font-size:21px;font-weight:700;margin-right:2px}
.clubroom-record>span{white-space:nowrap}
.clubroom-record .clubroom-gap{font-size:12px}
.clubroom-form{display:flex;gap:6px;align-items:center;justify-content:flex-end;font-size:15px;white-space:nowrap}
.clubroom-form .form-win{color:var(--positive)}
.clubroom-form .form-loss{color:var(--muted)}
.clubroom-form .form-draw{color:var(--muted)}
.clubroom-form>strong{font-size:12px;margin-left:4px}
.clubroom-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);grid-template-rows:minmax(max-content,1.8fr) minmax(120px,1fr) minmax(64px,.45fr);grid-template-areas:'match news' 'recent news' 'finance news';gap:14px 24px;min-height:0;min-width:0;overflow:auto}
.clubroom-match{grid-area:match;display:flex;flex-direction:column;justify-content:space-between;min-height:0;min-width:0;background:var(--surface);border-top:3px solid var(--accent);padding:14px 18px 16px;gap:8px}
.duel-heading{display:flex;align-items:center;gap:12px;min-width:0}
.duel-heading h2{font-size:15px;font-weight:700;margin:0;white-space:nowrap}
.duel-heading time{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.duel-venue{font-size:12px;color:var(--muted);margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.duel{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,.7fr) minmax(0,1fr);gap:3px 10px;align-items:center;min-width:0}
.duel-side-label{grid-column:1;font-size:11px;color:var(--muted);text-align:center;line-height:1.4}
.duel-side-label.home-label{grid-column:3}
.duel-team{grid-row:2;display:flex;flex-direction:column;align-items:center;min-width:0;gap:4px;text-align:center}
.duel-team:last-child{grid-column:3}
.duel-team>.crest,.duel-team>.crest.crest-custom{width:72px;height:72px;flex:none}
.duel-team>strong{display:block;max-width:100%;font-size:16px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.duel-team.own-team>strong{color:var(--accent-text)}
.duel-starter{max-width:100%;font-size:12px;line-height:1.5;color:var(--muted)}
.duel-starter a{display:inline-flex;align-items:center;justify-content:center;min-height:28px;max-width:100%;color:var(--text);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.duel-center{grid-row:2;grid-column:2;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;text-align:center}
.duel-versus{font-size:20px;font-weight:700;color:var(--muted)}
.duel-score{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:42px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.duel-score i{font-style:normal;font-size:22px;color:var(--muted);font-weight:400}
.duel-outcome{font-size:14px;font-weight:700}
.clubroom .is-win{color:var(--positive)}
.clubroom .is-loss{color:var(--negative)}
.clubroom .is-draw{color:var(--muted)}
.duel-details{font-size:12px;color:var(--muted);display:flex;min-height:44px;align-items:center}
.duel-action{display:flex;align-items:center;gap:14px;min-width:0}
.duel-action>span{flex:1;min-width:0;font-size:12px;color:var(--muted)}
.duel-action>.primary{flex:1;min-height:46px;justify-content:space-between;padding:10px 16px;font-size:16px}
.duel-action>span+.primary{flex:none;min-width:160px}
.season-break h2{font-size:22px;margin:0}
.season-break>strong{font-size:30px;font-variant-numeric:tabular-nums}
.season-break p{font-size:14px;color:var(--muted);margin:0}
.season-break .primary{min-height:46px;justify-content:space-between}
.clubroom-recent{grid-area:recent;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.clubroom-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:36px;border-bottom:1px solid var(--control)}
.clubroom-section-heading h2{font-size:15px;font-weight:700;margin:0}
.clubroom-section-heading>a{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;justify-content:flex-end;min-height:44px;min-width:44px}
.recent-results{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.recent-result{display:grid;grid-template-columns:40px 24px minmax(0,1fr) auto 16px;align-items:center;gap:10px;min-height:44px;padding:6px 0;border-bottom:1px solid var(--border);text-decoration:none;font-size:13px}
.recent-result time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.recent-result>.crest,.recent-result>.crest.crest-custom{width:24px;height:24px}
.recent-result>strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recent-score{display:flex;gap:7px;align-items:center;justify-content:flex-end;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.recent-score i{font-size:13px;font-style:normal;font-weight:400;color:var(--muted)}
.clubroom-empty{font-size:13px;color:var(--muted);margin:12px 0}
.clubroom-news{grid-area:news;display:flex;flex-direction:column;min-height:0;min-width:0;border-left:1px solid var(--control);padding-left:24px}
.clubroom-news .clubroom-section-heading h2{font-size:19px}
.clubroom-news-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-width:thin}
.clubroom-news .news-row{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;margin:0;padding:14px 0;border-bottom:1px solid var(--border)}
.clubroom-news .news-row time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.6}
.clubroom-news .news-row time small{display:block;font-size:11px;color:var(--muted)}
.clubroom-news .news-row h3{font-size:15px;line-height:1.6;font-weight:600;margin:0}
.clubroom-news .news-row h3>a{display:flex;align-items:center;min-height:44px}
.clubroom-news .news-row p{display:none}
.clubroom-news .news-row:first-child{display:block;padding-top:14px;padding-bottom:18px}
.clubroom-news .news-row:first-child time{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.clubroom-news .news-row:first-child h3{font-size:23px;font-weight:750;line-height:1.5;letter-spacing:-.025em}
.clubroom-news .news-row:first-child p{display:block;font-size:13px;color:var(--muted);line-height:1.8;margin:10px 0 0}
.clubroom-signal{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;font-weight:600;color:var(--text);border-bottom:1px solid var(--border)}
.clubroom-finance{grid-area:finance;display:flex;align-items:center;min-width:0;min-height:0;border-top:1px solid var(--control)}
.clubroom-finance dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;margin:0}
.clubroom-finance dl>div{min-width:0}
.clubroom-finance dt{font-size:12px;color:var(--muted);white-space:nowrap}
.clubroom-finance dd{margin:4px 0 0;font-size:19px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.clubroom-actions{position:static;inset:auto;z-index:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;margin:0;width:100%;border:1px solid var(--control);background:var(--surface);min-width:0;flex:none}
.clubroom-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px;color:var(--text);text-align:center;font-size:14px;font-weight:600;line-height:1.4}
.clubroom-actions a+a{border-left:1px solid var(--border)}
.clubroom-actions a:hover,.recent-result:hover{background:var(--raised);text-decoration:none}
.clubroom-mail svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
.clubroom-mail b{font-variant-numeric:tabular-nums;color:var(--accent-text);margin-left:3px}
@media(max-width:900px){
 .clubroom-body{grid-template-columns:minmax(0,1.05fr) minmax(260px,1fr);gap:12px 16px}
 .clubroom-news{padding-left:16px}
 .duel-team>.crest,.duel-team>.crest.crest-custom{width:58px;height:58px}
 .duel-score{font-size:32px;gap:4px}
 .clubroom-finance dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .clubroom-finance dd{font-size:16px}
}
@media(max-width:760px){
 body.game-mode:not(.event-mode):not(.roster-mode) #app{padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left))}
 body.game-mode:not(.event-mode):not(.roster-mode) .game-topbar{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));gap:10px}
 body.game-mode .topbar-brand{display:none}
 body.game-mode .topbar-club>span{font-size:12px}
 body.game-mode .game-date strong{font-size:11px}
 body.game-mode .topbar-club small,body.game-mode #save-status{display:none}
 body.game-mode .game-sidebar nav a{padding:6px 2px;max-width:none}
 body.game-mode .game-sidebar nav a .nav-label{font-size:12px!important}
 body.game-mode .game-sidebar nav a .nav-icon{width:19px;height:19px}
 body.game-mode .heading h1{font-size:23px}
 body.game-mode .view-tabs{padding:0 4px}
 body.game-mode .view-tabs button{font-size:12px;padding:9px 5px;min-height:44px}
 body.game-mode .screen-player .rating-summary strong{font-size:32px}
 body.game-mode .screen-player .rating-summary span{font-size:11px}
 body.game-mode .screen-players tr{padding:14px 0}
 body.game-mode .screen-players td:first-child a{font-size:16px;font-weight:600}
 body.game-mode .screen-players td.ovr{font-size:28px}
 body.game-mode .team-grid{grid-template-columns:minmax(0,1fr)}
 body.game-mode .team-item{gap:10px}
 body.game-mode .team-item h2{font-size:15px}
 body.game-mode .team-item button,body.game-mode .team-item>.button{max-width:96px;padding:7px 8px}
 .screen-home>.clubroom{gap:8px}
 .clubroom-masthead{gap:5px 10px;padding-bottom:8px}
 .clubroom-club{gap:10px}
 .clubroom-club>.crest,.clubroom-club>.crest.crest-custom{width:40px;height:44px}
 .screen-home .clubroom-club h1{font-size:20px;line-height:1.3}
 .clubroom-club p{font-size:11px;margin-bottom:2px}
 .clubroom-rank{gap:3px;align-self:center}
 .clubroom-rank strong{font-size:38px}
 .clubroom-rank span{font-size:12px}
 .clubroom-rank.unranked strong{font-size:18px}
 .clubroom-record{grid-column:1/-1;gap:4px 12px;font-size:12px}
 .clubroom-record b{font-size:18px}
 .clubroom-record .clubroom-gap{font-size:11px;margin-left:auto}
 .clubroom-form{display:none}
 .clubroom-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(140px,1fr) auto;grid-template-areas:'match' 'recent' 'news' 'finance';gap:8px;overflow-y:auto;overscroll-behavior:contain}
 .clubroom-match{padding:8px 12px 10px;gap:5px}
 .duel-heading{gap:10px;min-height:20px}
 .duel-heading h2{font-size:13px}
 .duel-heading time{font-size:13px}
 .duel-venue{font-size:11px}
 .duel{grid-template-columns:minmax(0,1fr) minmax(72px,.65fr) minmax(0,1fr);gap:1px 7px}
 .duel-team{gap:1px}
 .duel-team>.crest,.duel-team>.crest.crest-custom{width:46px;height:46px}
 .duel-team>strong{font-size:13px}
 .duel-starter{font-size:11px;line-height:1.4}
 .duel-starter a{min-height:24px;max-width:118px}
 .duel-side-label{font-size:11px}
 .duel-score{font-size:32px;gap:4px}
 .duel-score i{font-size:16px}
 .duel-outcome{font-size:12px}
 .duel-details{font-size:11px;min-height:44px}
 .duel-action{gap:8px}
 .duel-action>span{font-size:11px;line-height:1.4}
 .duel-action>.primary{min-height:44px;font-size:15px;padding:8px 12px}
 .duel-action>span+.primary{min-width:134px}
 .clubroom-recent{flex-direction:row;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--border)}
 .clubroom-recent>.clubroom-section-heading{flex:none;border:0;align-items:center;gap:0;min-height:0}
 .clubroom-recent h2{display:none}
 .clubroom-recent .clubroom-section-heading>a{min-height:44px;font-size:11px;justify-content:flex-start}
 .recent-results{flex:1;min-width:0;overflow:hidden}
 .recent-result{grid-template-columns:32px 20px minmax(0,1fr) auto 12px;gap:6px;border:0;font-size:12px}
 .recent-result time{font-size:11px}
 .recent-result>.crest,.recent-result>.crest.crest-custom{width:20px;height:20px}
 .recent-result~.recent-result{display:none}
 .recent-score{font-size:18px;gap:4px}
 .clubroom-empty{font-size:12px;margin:6px 0}
 .clubroom-news{border-left:0;padding-left:0;overflow:hidden}
 .clubroom-news .clubroom-section-heading{min-height:32px}
 .clubroom-news .clubroom-section-heading h2{font-size:15px}
 .clubroom-news .clubroom-section-heading>a{font-size:11px;min-height:44px}
 .clubroom-news .news-row{padding:10px 0;gap:10px;grid-template-columns:40px minmax(0,1fr)}
 .clubroom-news .news-row h3{font-size:13px}
 .clubroom-news .news-row time{font-size:11px}
 .clubroom-news .news-row:first-child{padding:10px 0;display:grid;grid-template-columns:40px minmax(0,1fr)}
 .clubroom-news .news-row:first-child time{display:block;margin:0}
 .clubroom-news .news-row:first-child h3{font-size:16px;line-height:1.5;font-weight:700}
 .clubroom-news .news-row:first-child p{display:none}
 .clubroom-signal{min-height:44px;font-size:12px}
 .clubroom-finance{padding-top:6px}
 .clubroom-finance dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .clubroom-finance dl>div{display:flex;align-items:baseline;gap:4px}
 .clubroom-finance dl>div:last-child{display:none}
 .clubroom-finance dt{font-size:11px}
 .clubroom-finance dd{font-size:12px;line-height:1.4;margin:0}
 .clubroom-finance dd{min-width:0;overflow:hidden;text-overflow:ellipsis}
 .clubroom-actions a{font-size:12px;min-height:44px;padding:7px 3px;gap:4px}
 .clubroom-mail svg{width:17px;height:17px}
 .season-break h2{font-size:18px}
 .season-break>strong{font-size:24px}
 .season-break p{font-size:12px}
}
@media(max-width:760px) and (max-height:740px){
 .clubroom-club>.crest,.clubroom-club>.crest.crest-custom{width:34px;height:38px}
 .screen-home .clubroom-club h1{font-size:18px}
 .clubroom-rank strong{font-size:32px}
 .clubroom-record b{font-size:16px}
 .clubroom-body{gap:6px}
 .duel-team>.crest,.duel-team>.crest.crest-custom{width:38px;height:38px}
 .duel-starter a{min-height:22px}
 .clubroom-news .news-row:first-child h3{font-size:14px}
}
@media(max-height:640px){
 .clubroom-body{overflow-y:auto;overscroll-behavior:contain}
 .clubroom-news{min-height:100px}
 .clubroom-finance{min-height:36px}
}
@media(min-width:761px) and (max-height:760px){
 .clubroom-body{grid-template-rows:minmax(max-content,1.6fr) minmax(76px,.8fr) minmax(52px,.4fr)}
 .clubroom-masthead{padding-bottom:8px;gap:5px 16px}
 .screen-home .clubroom-club h1{font-size:25px}
 .clubroom-club>.crest,.clubroom-club>.crest.crest-custom{width:44px;height:44px}
 .clubroom-rank strong{font-size:38px}
 .clubroom-match{padding:8px 14px}
 .duel-team>.crest,.duel-team>.crest.crest-custom{width:48px;height:48px}
 .duel-starter a{min-height:24px}
 .clubroom-finance dd{font-size:16px}
}
@media(prefers-reduced-motion:reduce){body.game-mode button,body.game-mode .button{transition:none}}
