/* Shared spacing and interaction hierarchy across club screens. */
:root{--content-width:760px;--control-height:48px}
html{scroll-padding-top:88px}
body{font-size:15px;line-height:1.5}
main{max-width:var(--content-width);padding:32px 24px 24px;min-height:calc(100dvh - 160px)}
#mainContent:focus{outline:none}
header{background:#254e27;color:#fff5dd;border-bottom:3px solid #172f19;padding:10px max(16px,calc((100vw - 960px)/2));gap:12px}
header .brand{color:#fff5dd}
header .brandName{font-family:var(--font-body);font-size:15px;font-weight:800;letter-spacing:-.4px}
header #menuBtn,header #notificationsBtn{background:#325d33;color:#fff5dd;border-color:#5c784b;border-bottom-color:#1b381e}
header #profileBtn{background:#e3c574;color:#273f25;border-color:#987d3f;border-bottom-color:#987d3f}
#notificationCount{border-color:#254e27}
button,input,select,summary,a{-webkit-tap-highlight-color:transparent}
.textbtn{min-height:44px;font-size:13px;font-weight:600;line-height:1.3;padding:10px 16px;color:var(--club);background:#f8f2e4;border:1px solid #b5a580;border-radius:999px;text-align:center;box-shadow:0 2px 0 #b5a58040;transition:background .15s,border-color .15s}
.textbtn:hover{background:#e8e4d2;border-color:#647a4c;text-decoration:none}
.textbtn:active{box-shadow:none}
.primary,.secondary{min-height:50px;letter-spacing:.25px;font-size:14px;line-height:1.4;padding:14px 18px}
.primary:disabled,.secondary:disabled{opacity:.65}
button:disabled{cursor:default}
input:not([type=checkbox]),select{font-size:16px;min-height:50px;background:#fffaf0;color:#2c1810;border-color:#b49e76}
input::placeholder{color:#7d6c57;opacity:1}
label.onlineLabel{font-size:13px;font-weight:600;line-height:1.45;margin:20px 0}
label.onlineLabel input{font-weight:400}
.durationLabel{display:grid;gap:8px;font-size:13px;font-weight:600;margin:20px 0}
.durationLabel select{width:100%;font-weight:400}
.hint{font-size:12px;line-height:1.6}
.intro{font-size:15px;line-height:1.6}
#profilePanel>h2,#leaguePanel>h2,.viewHeading h2{font-size:clamp(30px,6vw,42px);line-height:1.12;text-transform:none;letter-spacing:-.6px;overflow-wrap:anywhere}
.viewHeading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.viewHeading h2{margin:8px 0 0}
.eyebrow{font-size:10px;letter-spacing:1.6px;line-height:1.5}
.backLink{white-space:nowrap;padding:10px 16px;flex-shrink:0}
.formSurface,.settingsSection{border:1px solid #c2af89;background:#f8f2e4;border-radius:12px;padding:24px;margin:20px 0}
.formSurface>h3,.settingsSection>h3{font-size:18px;margin:0 0 10px}
.formSurface>.intro{margin-top:0}
.formSurface form>label:first-child{margin-top:0}
.formSurface .primary{margin-top:10px}
.formHelp{display:block;margin-top:7px;font-size:12px;color:#655441;font-weight:400}
.formActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.formActions>.primary{width:auto;flex:1}
.formActions>.textbtn{flex-shrink:0}
.passwordField{position:relative}
.passwordField input{padding-right:90px!important}
.passwordReveal{position:absolute;top:6px;right:5px;height:44px;min-width:74px;padding:8px;font-size:12px;font-weight:600;color:#2d5a27;background:transparent;border-radius:5px}
.passwordReveal:hover{background:#e9dfc7}
[role=status]:empty{display:none}
[role=status][data-tone=error]{color:#902f24;background:#f6dfd6;border:1px solid #d9a495;border-radius:7px;padding:11px 14px}
[role=status][data-tone=success]{color:#285329;background:#e5ecd9;border:1px solid #aebf94;border-radius:7px;padding:11px 14px}
.loadingState{display:flex;gap:12px;align-items:center;min-height:160px;font-size:14px;color:#655441}
.loadingDot{width:9px;height:9px;border-radius:50%;background:#2d5a27;animation:loadingPulse 1.2s ease-in-out infinite}
.emptyState{border:1px dashed #bba680;border-radius:10px;padding:26px;margin:18px 0;text-align:center}
.emptyState strong{font-size:16px;display:block}
.emptyState p{max-width:380px;margin:8px auto 14px;font-size:13px;color:#655441}
.emptyState .textbtn{color:#2d5a27}
.playerHeader{padding:22px;gap:14px;align-items:center}
.playerHeader h2{overflow-wrap:anywhere;text-transform:none}
.playerHeader .textbtn{border:1px solid #789364;border-radius:7px;min-height:40px}
.playerHeader>div{min-width:0}
.clubLinks{display:flex;gap:6px;flex-wrap:wrap}
.personalStats{margin-bottom:30px}
.personalStats b{font-variant-numeric:tabular-nums}
.sectionHeading{margin-top:30px}
.nextFixture .matchRecord{align-items:center}
.matchRecord{gap:14px;padding:18px 0;align-items:center}
.matchRecordBody{flex:1;min-width:0}
.matchRecordTeams{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:600}
.matchRecordTeams b{font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#2d5a27}
.matchRecordTeams span{overflow-wrap:anywhere;min-width:0}
.matchRecord small{font-size:11px;line-height:1.6;margin-top:6px}
.resultPill,.statusPill{font-size:10px;font-weight:700;border-radius:5px;padding:5px 8px;white-space:nowrap;flex-shrink:0;background:#e3dbc7;color:#64563e}
.resultPill.win{background:#dde9ce;color:#31582b}
.resultPill.loss{background:#f0dbcf;color:#8a392d}
.resultPill.draw{background:#e7dfd2;color:#60533e}
.rowAction{background:#2d5a27;color:#fff5dd;border-radius:7px;min-width:82px}
.rowAction:hover{background:#244821}
.filterBar{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}
.filterBar button{min-height:40px;padding:10px 14px;background:transparent;color:#655441;border:1px solid #c2af89;border-radius:7px;font-size:12px;font-weight:600}
.filterBar button[aria-pressed=true]{background:#2d5a27;color:#fff5dd;border-color:#2d5a27}
.viewMeta{font-size:12px;color:#655441;margin:12px 0}
.matchList{border-top:1px solid #c8b898}
.collectionHeading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.collectionHeading .primary{width:auto;min-height:44px;font-size:12px}
.leagueTabs{display:flex;border-bottom:1px solid #bfa981;gap:20px;margin:22px 0}
.leagueTabs button{background:transparent;color:#655441;padding:14px 4px;font-weight:600;font-size:14px;min-height:48px;border-bottom:3px solid transparent}
.leagueTabs button[aria-selected=true]{color:#2d5a27;border-bottom-color:#2d5a27}
.leagueCodeEntry{margin-top:24px}
.creationGrid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.creationGrid .durationLabel{margin:14px 0}
.creationHelp{margin:20px 0}
.leagueFriends{margin:20px 0;padding:0 0 16px}
.leagueFriends .sectionHeading{margin-top:16px}
.leagueTable{overflow-x:auto;margin-top:24px;padding:6px 14px}
.leagueTable table{min-width:280px}
.leagueTable th{color:#655441;font-size:10px;letter-spacing:.6px}
.leagueTable td:first-child{font-weight:600;overflow-wrap:anywhere}
.leagueFixture{display:flex;flex-wrap:wrap;gap:10px;padding:18px 0}
.leagueFixture>div:first-child{flex:1 1 100%;min-width:0}
.leagueFixture strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.leagueFixture small{font-size:11px;line-height:1.6}
.fixtureActions{width:100%;gap:8px}
.fixtureActions .textbtn{min-height:42px;border:1px solid #baa680;border-radius:7px;font-size:11px;padding:10px 12px}
.fixtureActions [data-fixture]{border-color:#163c1c}
.competitionCalendar summary,.renamePlayer summary,#editSecurity summary,.friendAdd summary,.quickRules summary{min-height:48px;display:flex;align-items:center;cursor:pointer;color:#2d5a27;font-size:13px;font-weight:600}
.competitionCalendar,.renamePlayer,#editSecurity,.friendAdd{border-bottom:1px solid #c8b898}
.renamePlayer .onlineLabel{margin:12px 0}
.championshipBanner{padding:18px 20px;margin:22px 0}
.championshipBanner strong{font-size:23px}
.leagueHeaderActions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.leagueHeaderActions .primary{width:auto}
.friendAdd{margin:20px 0}
.friendAdd summary{justify-content:space-between}
.friendAdd summary:after{content:'+';font-size:22px}
.friendAdd[open] summary:after{content:'−'}
#friendRequestForm{margin:0 0 18px;padding:18px;box-shadow:none}
#friendRequestForm .onlineLabel{margin:0 0 12px}
.friendRow{gap:14px;flex-wrap:nowrap;min-height:78px}
.friendIdentity{display:flex;gap:12px;align-items:center;flex:1;min-width:0}
.friendAvatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;background:#dfd7bd;color:#355431;border:1px solid #bca67c;border-radius:50%;font-weight:700;font-size:12px}
.friendIdentity>div{min-width:0}
.friendIdentity strong{font-size:14px}
.friendActions{align-items:center;gap:8px}
.smallAction{width:auto!important;min-height:40px!important;font-size:12px!important;letter-spacing:0!important;padding:9px 14px!important}
.friendMore{position:relative}
.friendMore summary{list-style:none;cursor:pointer;padding:10px;font-size:12px;color:#655441;min-height:44px;display:flex;align-items:center}
.friendMore[open]>button{position:absolute;right:0;top:100%;z-index:5;border:1px solid #c8b898;background:#fffaf0;border-radius:7px;min-width:120px;box-shadow:0 4px 12px #0002}
.dangerAction{color:#8e3d2c!important;background:#f5e5da;border-color:#c99b86}
.dangerZone{padding-top:20px;margin-top:24px;border-top:1px solid #c8b898}
.dangerZone p{font-size:12px;color:#655441}
.profileIdentity{display:flex;align-items:center;gap:16px;background:#2d5a27;color:#fff5dd;border:2px solid #163c1c;border-radius:12px 12px 0 0;padding:24px}
.profileIdentity .friendAvatar{width:58px;height:58px;font-size:20px;background:#e3c574;border-color:#987d3f;color:#273f25}
.profileIdentity h2{margin:0!important;font-size:36px!important;color:#fff5dd}
.profileIdentity p{margin:5px 0 0;color:#e0e7cf;font-size:12px}
.profileIdentity>.textbtn{margin-left:auto;color:#fff5dd;border:1px solid #789364;border-radius:7px;white-space:nowrap}
.profileIdentity>div{min-width:0}
.settingsRow{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}
.settingsRow strong,.settingsRow small{display:block}
.settingsRow strong{font-size:14px}
.settingsRow small{font-size:12px;color:#655441;margin-top:5px;line-height:1.5}
.settingsRow .textbtn{border:1px solid #baa680;border-radius:7px;white-space:nowrap}
.settingsSection>p{font-size:13px;color:#655441}
.settingsState{padding:12px 0;font-size:13px;line-height:1.5}
.settingsButtons{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.settingsButtons .primary{width:auto}
.versionLabel{font-family:monospace;font-size:10px;color:#85775e;overflow-wrap:anywhere}
.inviteSummary{display:flex;align-items:center;gap:12px;margin:24px 0;background:#f8f2e4;border:1px solid #c2af89;border-radius:10px;padding:18px}
.inviteSummary strong,.inviteSummary small{display:block}
.inviteSummary strong{font-size:16px}
.inviteSummary small{font-size:12px;color:#655441;margin-top:5px}
.inviteCard{padding:18px 0}
.inviteCard>small{font-size:9px;line-height:1.5}
.inviteCard strong{font-size:18px}
.inviteCard .textbtn{padding-left:0}
.notificationDrawer{width:min(380px,92vw)}
.notificationDrawer .hint{color:#655441}
.drawerNav{gap:2px}
.drawerNav button{padding:13px 14px;min-height:48px}
.drawerNav button[aria-current=page]{background:#e2d5b3;color:#284e27;border-left:3px solid #2d5a27;padding-left:11px}
.drawerBottom{display:grid;gap:4px}
.drawerBottom .textbtn{text-align:left}
.drawerBottom p{margin-bottom:0}
.drawerTop{padding-bottom:20px}
.drawerTitle h2{text-transform:none;font-size:26px}
.drawerTitle .icon,.drawerTop .icon{width:40px;height:40px;color:#2c1810;border-color:#bfa981}
.clubDrawer{padding-bottom:max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain}
.home h1{font-size:clamp(48px,7.5vw,72px);line-height:.98;letter-spacing:-1.2px}
.home .intro{max-width:390px}
.home .setup{box-shadow:0 3px 0 #c8b898;padding:24px}
.home .mode button{min-height:64px;line-height:1.4}
.names label{font-size:12px;letter-spacing:0;text-transform:none;font-weight:600}
.quickRules{grid-column:1/-1;padding:10px 0;border-bottom:1px solid #c8b898;margin-top:18px}
.quickRules ol{padding-left:20px;font-size:13px;color:#655441;line-height:1.6}
.quickRules li{margin:10px 0}
.home .savedHistory{margin-top:22px}
.home #leaguesBtn{margin:8px 0 18px!important}
.authDivider{font-size:11px;letter-spacing:1px;color:#85775e;margin:0 0 22px}
.authIntro{max-width:440px}
.authSurface{max-width:480px}
.authSurface #accountForm{max-width:none}
.authSurface .googleAuth{margin-top:0}
footer{max-width:var(--content-width);margin-top:0;padding:18px 24px 28px;border-color:#c8b898}
.footerName{font-size:10px;letter-spacing:.5px}
#appUpdateButton{min-height:42px;padding:10px 0}
#appUpdateStatus{width:100%;font-size:11px}
.updateNotice{background:#fff5dd;color:#2c1810;border:2px solid #8b7333;bottom:max(14px,env(safe-area-inset-bottom))}
.updateNotice button{background:#2d5a27;color:#fff5dd;min-height:44px}
.updateNotice small{line-height:1.5}
#shellStatus:not(:empty){bottom:max(18px,env(safe-area-inset-bottom));line-height:1.5}
.pastMatch summary{min-height:54px}
.pastMatch summary span{font-size:13px;overflow-wrap:anywhere}
.pastMatch summary small{font-size:11px}
.pastMatch ol{font-size:12px}
#rules{background:#f8f2e4;color:#2c1810;border-color:#baa680;padding:26px;line-height:1.5}
#rules .intro,#rules .hint{color:#655441}
#rules h2{color:#2d5a27;text-transform:none}
#rules .icon{color:#2c1810;border-color:#baa680;position:sticky;top:0;background:#f8f2e4;width:40px;height:40px}
#rules summary{min-height:48px;color:#2d5a27;font-weight:700;cursor:pointer}
#rules th,#rules td{border-color:#c8b898}
#rules .rulesAdvanced{margin:22px 0 0;border-top:1px solid #c8b898}
#match .matchtop{min-height:44px;margin-bottom:10px}
#match .scoreboard>div{min-width:0;overflow-wrap:anywhere}
#match .scoreboard strong{font-variant-numeric:tabular-nums}
#match .choiceGrid{gap:10px}
#match .choice{font-size:14px;padding:18px 14px;line-height:1.35}
#match .choice small{font-size:11px;line-height:1.5;margin-top:8px}
#match .target{font-variant-numeric:tabular-nums;font-size:36px}
#match .timer{min-height:160px}
#match .timer strong{font-variant-numeric:tabular-nums;letter-spacing:-1px}
#match .timer span{display:block;line-height:1.4;overflow-wrap:anywhere}
#match .timer b{min-height:28px;line-height:28px}
#match .roomHeader{font-size:10px;line-height:1.5}
#match .intro{font-size:14px}
#match .hint{font-size:11px}
#match input:not([type=checkbox]){background:#17251c;color:#fff5dd;border-color:#617254}
#match input::placeholder{color:#acb79f}
#match label.onlineLabel{color:#d0d7c5}
#match .roomJoinBlock{border-top:1px solid #465544;margin-top:26px;padding-top:20px}
#match .roomJoinBlock h3{font-size:16px;margin:0 0 8px}
#match .joinRow{align-items:stretch;margin:12px 0 0}
#match .joinRow button{min-height:50px;padding:12px;letter-spacing:0;font-size:12px}
#match .resultActions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
#match .resultActions .primary{flex:1}
#match .resultActions .textbtn{color:#d1dcbd;border:1px solid #617254;border-radius:7px}
#match .connectionWarning{color:#e7c56b}
#match .time{font-size:18px;margin:12px 0 20px}
#match .summaryStats b{font-variant-numeric:tabular-nums}
#match .pauseNotice{line-height:1.5}
.accessHelp{background:#eee4cc;padding:14px 16px;border-radius:8px;font-size:12px;margin:20px 0}
.accessHelp p{margin:0 0 8px}
.accessHelp .textbtn{padding-left:0}
.manageMembers{margin:24px 0}
.manageMembers .leagueFixture{justify-content:space-between;align-items:center}
.manageMembers .leagueFixture>strong{flex:1}
.leagueFreeze{min-height:48px;gap:10px}
.leagueFreeze input{width:20px;height:20px;accent-color:#2d5a27}
.renamePlayer .textbtn{padding-left:0}

@keyframes loadingPulse{0%,100%{opacity:.35}
50%{opacity:1}
}
@media(max-width:600px){main{padding:24px 16px 18px}
.viewHeading{gap:10px;margin-bottom:20px}
.backLink{font-size:11px;min-height:44px}
.formSurface,.settingsSection{padding:20px}
.creationGrid{gap:0 14px}
.nextFixture .matchRecord{align-items:flex-start;gap:12px}
.nextFixture .matchRecordTeams{font-size:18px}
.nextFixture .rowAction{width:100%}
.home .setup{padding:20px}
.home h1{font-size:52px}
.names{gap:12px}
.friendRow{gap:10px}
.friendAvatar{width:34px;height:34px;font-size:11px}
.friendActions{gap:2px}
.friendIdentity{gap:9px}
.profileIdentity{padding:20px;gap:12px}
.profileIdentity h2{font-size:29px!important}
.profileIdentity>.textbtn{font-size:11px;min-width:0;padding:8px}
.profileIdentity .friendAvatar{width:44px;height:44px;font-size:16px}
.matchRecordTeams{gap:7px}
.resultPill{font-size:9px;padding:5px 6px}
.settingsRow{align-items:flex-start;gap:10px}
.settingsButtons .primary{width:100%}
.collectionHeading{flex-wrap:wrap}
.collectionHeading .primary{width:100%}
.personalStats b{font-size:26px}
.leagueTabs{gap:22px}
header .brandName{font-size:13px}
.home .mode button{display:block;min-height:62px}
.home .mode button span{display:block;text-align:left;margin:5px 0 0}
#rules{padding:20px}
#match #stage{padding:20px 16px}
#match .timer{min-height:152px;padding:18px 6px}
#match .timer strong{font-size:clamp(24px,6vw,34px)}
#match .choice{padding:16px 12px}
#match .joinRow{flex-direction:column}
#match .joinRow button{width:100%}
footer{padding:16px 16px 28px}
}
@media(max-width:360px){.creationGrid,.names{display:grid;grid-template-columns:1fr}
.names label{width:100%}
.friendRow{flex-wrap:wrap}
.friendActions{margin-left:auto}
.matchRecord{flex-wrap:wrap}
.matchRecordBody{flex-basis:100%}
.profileIdentity{flex-wrap:wrap}
.profileIdentity>.textbtn{margin-left:0}
.viewHeading{align-items:flex-start}
.viewHeading h2{font-size:30px}
header .brandName{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.loadingDot{animation:none}
html{scroll-behavior:auto}
}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.roomJoinBlock{margin:26px 0;padding-top:20px;border-top:1px solid #655440}
.roomJoinBlock h3{font-size:17px;margin:0 0 12px}
.roomJoinBlock>label{display:block;font-size:12px;margin-bottom:8px}
.inviteSummary{flex-wrap:wrap}
.inviteSummary p{flex-basis:100%;margin:0;font-size:13px;color:#655441}
:focus-visible{outline:3px solid #a57820;outline-offset:4px}
input:focus-visible,select:focus-visible{outline-offset:2px}


.leagueCollectionActions{display:flex;align-items:center;gap:16px;margin:0 0 32px;flex-wrap:wrap}.leagueCollectionActions .primary{width:auto;flex:1;max-width:300px;min-height:46px;font-size:12px}.leagueCollectionActions .textbtn{white-space:nowrap}.leagueCollectionMeta{border-top:1px solid #c8b898;padding-top:22px;margin-bottom:12px}.leagueCollectionMeta h3{margin:0;font-size:18px}.leagueCollectionMeta .completedLeagueFilter{margin:12px 0 0;min-height:40px;font-size:12px}.personalLeagues .personalLeague{margin-bottom:12px}#leagueCreatePanel h3{font-size:22px;margin:0 0 8px}#leagueJoinPanel .leagueCodeEntry h2{font-size:26px;line-height:1.2}@media(max-width:480px){.leagueCollectionActions{gap:8px}.leagueCollectionActions .primary{max-width:none;flex-basis:100%}.leagueCollectionActions .textbtn{padding-left:0}.leagueCollectionMeta{padding-top:18px}}
/* Reset the text-input geometry inherited by the league switch. */
.completedLeagueFilter{justify-content:flex-start;gap:10px;min-height:44px;line-height:1.4;text-align:left}
.completedLeagueFilter input[type=checkbox][role=switch]{appearance:none;-webkit-appearance:none;display:inline-block;box-sizing:border-box;flex:0 0 44px;width:44px;height:26px;min-width:44px;min-height:26px;max-height:26px;padding:0;margin:0;border:1px solid #a99570;border-radius:999px;background:#cfc1a1;position:relative;vertical-align:middle;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.completedLeagueFilter input[type=checkbox][role=switch]::before{content:'';position:absolute;box-sizing:border-box;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fffaf0;box-shadow:0 1px 3px #30251440;transform:translateX(0);transition:transform .18s ease}
.completedLeagueFilter input[type=checkbox][role=switch]:checked{background:#2d5a27;border-color:#254e22}
.completedLeagueFilter input[type=checkbox][role=switch]:checked::before{left:3px;transform:translateX(18px)}
.completedLeagueFilter input[type=checkbox][role=switch]:focus-visible{outline:3px solid #a57820;outline-offset:3px}
.completedLeagueFilter input[type=checkbox][role=switch]:disabled{opacity:.5;cursor:default}
@media(prefers-reduced-motion:reduce){.completedLeagueFilter input[type=checkbox][role=switch],.completedLeagueFilter input[type=checkbox][role=switch]::before{transition:none}}
.voiceBar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:16px 0;border:1px solid #5b7352;border-radius:9px;background:#243e28;color:#fff5dd}.voiceInfo{min-width:0}.voiceInfo strong{display:block;font-size:12px}.voiceInfo small{display:block;font-size:11px;color:#d4dfc7;line-height:1.5;margin-top:3px}.voiceActions{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.voiceActions button{min-height:40px;padding:9px 12px;border-radius:6px;background:#e4d7af;color:#294627;font-size:11px;font-weight:700}.voiceActions #voiceLeave{background:transparent;color:#fff5dd;border:1px solid #708564}.voiceActions #voiceMute[aria-pressed=true]{background:#9b492f;color:#fff5dd}@media(max-width:480px){.voiceBar{flex-wrap:wrap}.voiceActions{width:100%}.voiceActions button{min-height:44px}.voiceActions #voiceJoin{margin-left:auto}}

#match .discardTest{display:block;margin:12px 0;color:#e8c789;border:1px dashed #92784f;border-radius:7px;font-size:11px;min-height:44px;padding:10px 14px}

#match .discardTest{width:100%;margin:10px 0 18px;text-align:left;color:#fff0d1;background:#503b28;border:1px solid #a38755;font-size:13px;font-weight:700;padding:12px 14px}#match .discardTest small{display:block;font-size:11px;color:#e0cfad;font-weight:400;margin-top:3px}

/* Secondary actions stay recognisable without a mouse or hover state. */
.sectionHeading .textbtn,.inviteCard .textbtn,.accessHelp .textbtn,.renamePlayer .textbtn,.leagueCollectionActions .textbtn{padding:10px 16px}
.sectionHeading{flex-wrap:wrap;gap:12px}
.clubLinks .textbtn,.playerHeader .textbtn,.profileIdentity>.textbtn{background:#365f35;border-color:#789364;color:#fff5dd}
.clubLinks .textbtn:hover,.playerHeader .textbtn:hover,.profileIdentity>.textbtn:hover{background:#426d3c}
.rowAction,.nextFixture .textbtn{background:#2d5a27;border-color:#23451f;color:#fff5dd}
.rowAction:hover,.nextFixture .textbtn:hover{background:#244821}
#match .textbtn:not(.discardTest){background:#25372c;border-color:#617254;color:#d1dcbd}
#match .textbtn:not(.discardTest):hover{background:#354936}
.drawerBottom{gap:8px}
.drawerBottom .textbtn{padding:12px 16px}
.settingsSection>.textbtn,.inviteCard>.textbtn{margin:4px 6px 4px 0}
.leagueCollectionActions{gap:12px}
.leagueCollectionActions .textbtn{min-height:50px;border-radius:10px;background:#e6ead8;border-color:#819266;font-size:14px}
.leagueCollectionActions .textbtn:hover{background:#dbe3c8}
.competitionCalendar>summary,.renamePlayer>summary,#editSecurity>summary,.friendAdd>summary,.quickRules>summary,.upcomingList>summary,.personalHistory>summary,.deviceNotifications details>summary{list-style:none;padding:12px 16px;margin:10px 0;border:1px solid #b5a580;border-radius:10px;background:#f8f2e4;min-height:48px;cursor:pointer;color:#2d5a27;font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}
.competitionCalendar>summary::-webkit-details-marker,.renamePlayer>summary::-webkit-details-marker,#editSecurity>summary::-webkit-details-marker,.friendAdd>summary::-webkit-details-marker,.quickRules>summary::-webkit-details-marker,.upcomingList>summary::-webkit-details-marker,.personalHistory>summary::-webkit-details-marker,.deviceNotifications details>summary::-webkit-details-marker{display:none}
.competitionCalendar>summary:after,.renamePlayer>summary:after,#editSecurity>summary:after,.quickRules>summary:after,.deviceNotifications details>summary:after{content:'+';margin-left:auto;font-size:20px}
.competitionCalendar[open]>summary:after,.renamePlayer[open]>summary:after,#editSecurity[open]>summary:after,.quickRules[open]>summary:after,.deviceNotifications details[open]>summary:after{content:'−'}
.friendMore summary{border:1px solid #b5a580;border-radius:999px;background:#f8f2e4;padding:10px 14px}
.passwordReveal{background:#eee7d4;border:1px solid #c2af89;border-radius:7px}
@media(max-width:600px){.viewHeading{flex-wrap:wrap;align-items:flex-start}.viewHeading>div{flex:1 1 240px}.viewHeading .backLink{font-size:12px}.sectionHeading .textbtn{font-size:12px}.leagueCollectionActions .textbtn{width:100%;padding:12px 16px}.leagueCollectionActions .primary{max-width:none;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.textbtn{transition:none}}

.lastPlayNotice{margin:0 0 18px;padding:14px 16px;border:1px solid #9b7a35;border-left:4px solid #9b7a35;border-radius:10px;background:#f2e4b7;color:#392b19}.lastPlayNotice strong,.lastPlayNotice span{display:block}.lastPlayNotice strong{font-size:18px}.lastPlayNotice span{font-size:13px;line-height:1.5;margin-top:4px}

.forfeitMatch{display:block;margin:0 0 14px;color:#784632;text-align:left;font-size:12px}.forfeitMatch small{display:block;color:#786d5d;font-size:11px;margin-top:3px}

.penaltyHeading{padding:18px 0}.penaltyHeading h2{display:flex;justify-content:space-between;gap:12px}.penaltyTeams{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.penaltyTeams strong,.penaltyTeams span{display:block}.penaltyDot{display:inline-block;font-style:normal;font-size:26px;margin:4px 6px 4px 0}.penaltyDot.goal{color:#315b31}.penaltyDot.miss{color:#96563a}.penaltyDot.pending{color:#9a917b}.penaltyChoices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.penaltyChoices .choice{padding:16px 4px;font-size:14px}

#voiceBar.voiceBar{display:block;margin:10px 0;padding:0;border:1px solid #c4b99b;border-radius:8px;background:#f1ebd7;color:#335132}#voiceBar .voiceSummary{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;cursor:pointer;list-style:none;font-size:12px;font-weight:700}#voiceBar .voiceSummary::-webkit-details-marker{display:none}.voiceChevron{margin-left:auto}#voiceBar[open] .voiceChevron{transform:rotate(180deg)}#voiceBar .voicePanel{padding:0 12px 12px;border-top:1px solid #d2c8ac}#voiceBar .voiceInfo{padding:10px 0}#voiceBar .voiceInfo small{color:#615b4e}#voiceBar .voiceActions{width:auto;gap:6px}#voiceBar .voiceActions button{min-height:38px;margin:0}#voiceBar .voiceActions #voiceLeave{border-color:#b9ad8f;color:#534b3f}#voiceBar .voiceActions #voiceJoin{margin:0}

.cupRound{border-left:3px solid #b79b56;padding-left:14px;margin:22px 0}.cupRound h4{font-family:var(--font-display);font-size:20px;color:#355532;margin:0 0 12px}.cupRound .leagueFixture{background:#f4efde}

.derbyList{display:grid;gap:14px}.derbyCard{width:100%;text-align:left;background:var(--cream,#f6efda);border:1px solid #c4b797;border-radius:16px;padding:18px;color:inherit}.derbyCard:hover{border-color:#2d5a27}.derbyIdentity{display:flex;align-items:center;gap:12px}.derbyIdentity>div{flex:1}.derbyIdentity strong,.derbyIdentity small{display:block}.derbyIdentity strong{font-size:20px}.derbyIdentity small{margin-top:4px;opacity:.7}.derbyTotals{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 12px;font-size:14px}.derbyForm{display:flex;gap:6px;margin:12px 0}.derbyForm .resultPill{min-width:30px;text-align:center;padding:5px 8px}.derbyScore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:24px 0;padding:18px 8px;border-block:1px solid #c4b797;text-align:center}.derbyScore b{display:block;font-size:40px;color:#2d5a27}.derbyScore small,.derbyScore span{display:block;overflow-wrap:anywhere}.derbyScore span{font-size:12px}

header .brandName small{display:block;margin-top:4px;font-family:inherit;font-size:9px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;opacity:.8}.rematchPrompt{margin:20px 0 12px;font-size:20px}

header .brandCrest{width:44px;height:44px}

.topTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#19351e;border-bottom:1px solid #b8a574;padding:0 max(14px,env(safe-area-inset-left))}.topTabs button{margin:0;padding:13px 6px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#dddfcd;font:700 13px system-ui,sans-serif;min-height:46px}.topTabs button[aria-current=page]{border-bottom-color:#dfc66a;color:#fff3c6}.topTabs button:hover{background:#ffffff0a}.topTabs button:focus-visible{outline:2px solid #dfc66a;outline-offset:-5px}

.notificationTypes{background:#f8f2e1;border:1px solid #c9bc9b;border-radius:14px;overflow:hidden}.notificationType{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-top:1px solid #ded3b8}.notificationType:first-child{border-top:0}.notificationMaster{background:#eee4ca}.notificationType>div{min-width:0;flex:1}.notificationType strong{display:block;font-size:14px}.notificationType p{font-size:12px;line-height:1.5;margin:5px 0 0;color:#77694f}.notificationType button.notificationToggle{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-width:48px;min-height:44px;padding:0;margin:0;border:0;background:transparent;box-shadow:none}.notificationToggle .switchTrack{display:block;width:44px;height:26px;box-sizing:border-box;background:#cbbfa2;border:1px solid #b3a27d;border-radius:999px;position:relative;transition:background .16s}.notificationToggle .switchTrack>span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fffaf0;box-shadow:0 1px 3px #30251440;transition:transform .16s}.notificationToggle[aria-checked=true] .switchTrack{background:#2d5a27;border-color:#254e22}.notificationToggle[aria-checked=true] .switchTrack>span{transform:translateX(18px)}.notificationToggle:disabled{opacity:.5}.notificationToggle:focus-visible{outline:2px solid #a57820;outline-offset:2px;border-radius:8px}.deviceNotifications details{margin-top:18px}.deviceNotifications>h3{font-size:19px}
