.game-shell :is(#locker-panel,#club-panel,#history-panel,#hall-panel){--r3-panel:#1f2a36;--r3-deep:#17232e;--r3-border:#334350;--r3-muted:#a3b4c3;--r3-green:#6dd5a1;--r3-red:#f39094;--r3-gold:#ffd071;color:#e8edf3}
.r3-card,.game-shell #locker-panel .locker-box{min-width:0;border:1px solid #30404d;border-radius:12px;background:var(--r3-panel);padding:clamp(12px,1.05vw,18px)}
.r3-card h2,.game-shell #locker-panel .locker-box h2{margin:0;font-size:clamp(15px,1.15vw,20px);line-height:1.3;color:#e7edf3}
.r3-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 10px;min-width:0}
.r3-card-head :is(small,time),.r3-empty{color:var(--r3-muted)}
.r3-card-head :is(h2,h3){margin:0}
.r3-gain{color:var(--r3-green)}
.r3-loss{color:var(--r3-red)}
.game-shell #locker-panel .locker-layout{font-size:clamp(13px,.84vw,16px);gap:clamp(9px,1vw,18px)}
.game-shell #locker-panel .locker-summary-column{gap:clamp(8px,.8vw,14px)}
.game-shell #locker-panel .locker-coach-column{display:flex;flex-direction:column;gap:clamp(8px,.8vw,14px);min-width:0;min-height:0}
.game-shell #locker-panel .locker-next{min-width:0;order:-2}
.game-shell #locker-panel .locker-kicker{display:none}
.game-shell #locker-panel .locker-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.game-shell #locker-panel .locker-actions button{min-height:38px;line-height:1.25;padding:7px}
.r3-locker-venue{margin:5px 0 10px;color:#b6ddcc}
.r3-locker-kickoff{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,.9fr) minmax(0,1fr);align-items:center;gap:8px;text-align:center;min-height:clamp(110px,14cqh,205px)}
.r3-locker-kickoff-club,.r3-locker-clock{display:grid;justify-items:center;gap:4px;min-width:0}
.game-shell #locker-panel .locker-next #locker-next-match .r3-locker-kickoff strong{margin:0;max-width:100%;font-size:clamp(14px,1.2vw,20px);line-height:1.2;overflow-wrap:anywhere}
.r3-locker-emblem{display:grid!important;place-items:center;width:clamp(32px,5vw,85px);height:clamp(34px,5.4vw,88px);font-size:25px;font-weight:800;color:#b0ebd0;position:relative;isolation:isolate}
.r3-locker-emblem:has(img){background:none}.r3-locker-emblem:not(:has(img)){border:1px solid #588878;border-radius:27% 27% 46% 46%;background:#19463c}
.r3-locker-emblem img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.r3-club-banner>img{max-height:100%;width:100%;object-fit:contain}
.r3-locker-kickoff small{font-size:clamp(10px,.85vw,13px);color:#c3d2d7;overflow-wrap:anywhere}
.r3-locker-clock :is(time,output){font-size:clamp(24px,2.1vw,40px);line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.r3-locker-countdown{color:#ffd071;font-size:clamp(11px,.85vw,14px);overflow-wrap:anywhere}
.game-shell #locker-panel .locker-summary{order:-1}
.game-shell #locker-panel .locker-club-identity{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.game-shell #locker-panel .locker-league{margin:6px 0;color:#b9dbcc;line-height:1.45}
.game-shell #locker-panel .locker-standings-link{color:#8cd8ab}
.r3-locker-promotion{margin:7px 0 0;padding:8px;background:#18352f;color:#b4e2c9;border-radius:7px;overflow-wrap:anywhere}
.r3-locker-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.game-shell #locker-panel .r3-locker-metrics :is(.locker-summary-row,.r3-locker-players){display:flex;flex-direction:column;align-items:start;justify-content:start;gap:4px;padding:0 6px;min-width:0;border:0}
.game-shell #locker-panel .r3-locker-metrics .locker-summary-row:has(#content-balance){display:flex}
.r3-locker-metrics :is(.locker-summary-row,.r3-locker-players):not(:last-child){border-inline-end:1px solid var(--r3-border)!important}
.game-shell #locker-panel .r3-locker-metrics #locker-fans{display:grid;justify-items:start;min-height:0;margin:0;white-space:normal;text-align:start}
.game-shell #locker-panel .r3-locker-metrics #locker-fans::after{display:none}
.r3-locker-metrics :is(.locker-summary-row,.r3-locker-players)>span,.r3-locker-metrics small{color:var(--r3-muted);font-size:clamp(11px,.82vw,14px)}
.r3-locker-metrics strong,.r3-locker-metrics #content-balance{font-size:clamp(15px,1.32vw,24px);line-height:1.2;overflow-wrap:anywhere}
.r3-locker-recent ul,.r3-coach-warnings,.r3-stage-list,.r3-award-history{list-style:none;margin:0;padding:0}
.r3-locker-recent li:not(.r3-empty){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:7px;padding:8px 0;border-top:1px solid var(--r3-border)}
.r3-locker-recent li div{display:flex;flex-wrap:wrap;gap:1px 5px;align-items:baseline}
.r3-locker-recent li small{color:var(--r3-muted)}
.game-shell #locker-panel #locker-coach-desk{min-width:0;margin:0;border:1px solid #30404d;border-radius:12px;background:var(--r3-panel);padding:clamp(12px,1.05vw,18px)}
.game-shell #locker-panel #locker-coach-desk h2{margin:0;color:#e7edf3;font-size:clamp(15px,1.15vw,20px)}
.r3-coach-average{margin:0 0 8px;padding:10px;border-inline-start:3px solid var(--r3-green);background:var(--r3-deep);border-radius:0 7px 7px 0}
.r3-coach-warnings li{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px;background:#34252a;border-radius:7px;margin-bottom:5px}
.r3-coach-warnings li>:is(img,svg){width:32px;height:39px;object-fit:cover;border-radius:5px}
.r3-coach-warnings li div{display:grid;gap:1px;overflow-wrap:anywhere}.r3-coach-warnings li small{line-height:1.2;overflow-wrap:anywhere}
.r3-coach-warnings button{margin:0;white-space:nowrap}
.game-shell #locker-panel .coach-days button{display:grid;grid-template-columns:1fr;justify-items:center;align-items:center;gap:4px;min-width:0;padding:6px 2px;background:var(--r3-deep);border-color:transparent;text-align:center}
.game-shell #locker-panel .coach-days button[data-today=true]{border-color:#4d9b74;background:#1e3d36}
.r3-coach-form{display:flex;justify-content:center;flex-wrap:wrap;min-width:0;gap:2px}
.game-shell #locker-panel .r3-coach-form .locker-result{margin:0;line-height:1;padding:3px 4px;font-size:10px}
.game-shell #locker-panel .r3-coach-form small{font-size:10px}
.game-shell #locker-panel .club-objectives{padding:clamp(12px,1.05vw,18px)}
.game-shell #locker-panel .club-objectives:has(.objective-more[open])>.objective-task{display:none}
.game-shell #locker-panel .r3-weekly-tasks .objective-task{width:100%}
.game-shell #locker-panel .inbox-list-panel:has(.inbox-empty){align-self:stretch;max-height:none}
.game-shell #locker-panel .inbox-item-copy strong{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.game-shell #locker-panel .locker-briefing{margin:0 0 5px;padding:8px;border:1px solid #3c5b56;border-radius:7px;background:#203832;flex-wrap:wrap}
.game-shell #locker-panel.inbox-reading .inbox-list-panel{display:none}
.r3-club-banner{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.55fr);align-items:center;gap:clamp(10px,1.6vw,27px);margin-bottom:clamp(10px,1vw,16px);padding:clamp(13px,1.35vw,26px);border-radius:12px;background:linear-gradient(107deg,#163a2d,#1f2a36 72%)}
.r3-club-banner>img{width:clamp(48px,5vw,96px);height:clamp(52px,5.4vw,104px)}
.r3-club-banner h1{margin:0;font-size:clamp(23px,2vw,36px);line-height:1.2;overflow-wrap:anywhere}
.r3-club-title p{margin:5px 0 0;color:#b4cbbc;overflow-wrap:anywhere}
.r3-club-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;grid-column:3}
.r3-club-metrics div{background:#15232e;border-radius:9px;padding:clamp(7px,.7vw,15px);min-width:0}
.r3-club-metrics dt,.r3-club-metrics small{display:block;color:var(--r3-muted);line-height:1.3;font-size:clamp(11px,.75vw,14px)}
.r3-club-metrics dd{margin:3px 0 0;overflow-wrap:anywhere}.r3-club-metrics b{font-size:clamp(17px,1.45vw,28px);line-height:1.15}
.r3-club-metrics div:nth-child(2) b{color:var(--r3-gold)}
.r3-fan-chart{margin:0;min-width:0}.r3-fan-chart canvas{display:block;width:100%;height:auto;max-height:29cqh;min-height:100px}
.r3-fan-chart figcaption{display:flex;justify-content:space-between;margin-top:4px;color:var(--r3-muted);font-size:.8em}
.r3-stage-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.r3-stage-list li{display:grid;justify-items:center;gap:2px;text-align:center;min-width:0;border-radius:7px;border:1px solid transparent;border-bottom:3px solid #354552;background:var(--r3-deep);padding:8px 3px}
.r3-stage-list li small{color:var(--r3-muted);font-size:clamp(9px,.73vw,12px);overflow-wrap:anywhere}
.r3-stage-list li[data-stage=current]{border-bottom-color:var(--r3-green)}.r3-stage-list li[data-stage=next]{border-color:#4b9b71}
.r3-all-stages,.r3-fan-archive{margin:0}
.r3-all-stages summary,.r3-fan-archive summary{cursor:pointer;color:var(--r3-muted);font-size:.85em;padding:5px 0}
.r3-facility-progress{flex:none;width:100%;height:7px;border:0;border-radius:7px;overflow:hidden;accent-color:var(--r3-green);margin-top:3px}
.r3-facility-progress:not([value="0"])::-webkit-progress-value{background:var(--r3-green)}.r3-facility-progress::-webkit-progress-bar{background:#354552}
.r3-club-grid .v2-card>button[data-facility]{align-self:stretch;margin-top:3px}
.r3-finance-category{display:grid;grid-template-columns:minmax(5rem,1fr) minmax(1.5rem,1.4fr) auto;gap:7px;align-items:center;font-size:.9em}
.r3-finance-category span:nth-child(2){display:flex;background:#344553;height:7px;border-radius:5px;overflow:hidden}
.r3-finance-category b{font-variant-numeric:tabular-nums;font-weight:700}
.r3-income-bar,.r3-expense-bar{display:block;background:var(--r3-green)}.r3-expense-bar{background:var(--r3-red)}
.r3-history-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(244px,.39fr);gap:clamp(10px,1vw,18px);min-width:0;align-items:start}
.r3-history-net{display:grid;gap:3px;padding:clamp(9px,1vw,15px);border-radius:8px;background:#16322c;overflow-wrap:anywhere}
.r3-history-net strong{font-size:clamp(24px,2.2vw,36px);line-height:1.12;font-variant-numeric:tabular-nums}
.r3-history-net span,.r3-history-net small{color:#b6ceca;font-size:.82em;line-height:1.25}
.r3-history-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;margin:9px 0 12px;min-width:0}
.r3-history-chips,.r3-history-period{display:flex;flex-wrap:wrap;gap:4px;min-width:0;align-items:center}
.game-shell #history-content .r3-history-period{display:grid;grid-template-columns:2.2rem minmax(6.75rem,auto) 2.2rem;flex:0 0 auto}
.game-shell #history-content .r3-history-period :is(button,select){width:100%;min-width:0}
.game-shell .r3-history-chips button{border-radius:24px;margin:0;min-height:34px;padding:5px 10px}
.game-shell .r3-history-chips button[aria-pressed=true]{background:#2b6c54;border-color:#6bbb91;color:white}
.game-shell .r3-history-period :is(button,select){margin:0;min-height:34px;padding:4px 9px}
.r3-history-day{margin-top:7px}
.r3-history-day>summary{display:grid;grid-template-columns:minmax(8em,auto) minmax(0,1fr) auto;align-items:baseline;gap:8px;padding:12px;border-radius:8px;background:#17232e;cursor:pointer;min-width:0}
.r3-history-day>summary b::before{content:'▸';padding-right:.45em;color:#bccad4}.r3-history-day[open]>summary b::before{content:'▾'}
.r3-history-day[open]>summary{background:#22364a}.r3-history-day summary>span{color:var(--r3-muted);font-size:.84em}
.r3-history-day strong,.r3-history-type strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.r3-history-type{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto auto;align-items:center;gap:5px 10px;border-bottom:1px solid #334350;padding:9px 0;margin-inline:18px}
.r3-history-type>span{color:var(--r3-muted);font-size:.85em;overflow-wrap:anywhere}
.r3-history-times:not([open]){display:contents}.r3-history-times:not([open])>summary{grid-column:4}
.r3-history-times:not([open])>:not(summary){display:none}
.r3-history-times[open]{grid-column:1/-1;margin:0}.r3-history-times summary{color:var(--r3-green);cursor:pointer;font-size:.82em;min-width:60px}
.r3-history-times ol{list-style:none;margin:5px 0 0;padding:0;background:var(--r3-deep);border-radius:6px}
.r3-history-times li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;margin:0 8px;padding:6px 0;border-bottom:1px solid var(--r3-border)}
.r3-history-times li span{overflow-wrap:anywhere}
.r3-week-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:12px 0 0;padding:0;list-style:none;text-align:center}
.r3-week-bars li{min-width:0;font-size:.82em;color:var(--r3-muted)}
.r3-week-bars li div{height:clamp(70px,12vh,150px);border-bottom:1px solid var(--r3-border);display:flex;align-items:flex-end;justify-content:center;gap:4px;margin-bottom:4px}
.r3-week-bars li i{width:clamp(4px,1.1vw,17px);border-radius:3px 3px 0 0}
.r3-finance-legend{display:flex;justify-content:end;gap:10px;color:var(--r3-muted);font-size:.8em;margin:5px 0}
.r3-history-summary h3{margin:12px 0 6px;font-size:.94em;color:var(--r3-muted)}
.r3-inout-list{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;margin:0}.r3-inout-list :is(dt,dd){border-bottom:1px solid var(--r3-border);padding:7px 0;margin:0;font-size:.92em}
.r3-inout-list dt{overflow-wrap:anywhere}.r3-history-mobile-net{display:none}
.r3-award-history li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:9px;padding:9px 0;border-top:1px solid var(--r3-border)}
.r3-award-history li time{color:var(--r3-muted)}
@media(min-width:1024px){
 .game-shell #locker-panel .locker-layout,.game-shell #locker-panel:not(.inbox-reading) .locker-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1.37fr) minmax(0,1fr);align-items:stretch}
 .game-shell #locker-panel :is(.locker-summary-column,.locker-coach-column){overflow-y:auto;scrollbar-width:thin;scrollbar-color:#405867 transparent}
 .game-shell #locker-panel .locker-summary-column>*{flex-shrink:0}
 .game-shell #locker-panel .locker-summary-column .r3-locker-recent{flex:1 0 auto}
 .game-shell #locker-panel .inbox-list-panel .inbox-list{flex:1 1 auto}
 .game-shell #club-content:has(.r3-club-banner){display:flex;flex-direction:column}
 .game-shell #club-content .r3-club-grid.v2-club-grid{flex:1 1 auto;min-height:0;height:auto;max-height:none;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'fans finance stadium' 'fans finance youth';align-items:stretch}
 .game-shell #club-content .r3-club-grid .v2-card{overflow:auto;min-height:0;scrollbar-width:thin}
 .game-shell #club-content .r3-club-grid .v2-fans .v2-scroll{min-height:85px}
 .game-shell #history-content .r3-history-layout{min-height:100%}
 .game-shell #history-content .r3-card{height:100%}
 .game-shell #awards-panel .v2-award-grid{grid-template-areas:'filters filters filters' 'podium ranking seasonal' 'podium ranking seasonal'}
 .game-shell #awards-panel .v2-award-grid.v2-award-no-ranking{grid-template-areas:'filters filters' 'podium seasonal' 'podium seasonal'}
}
@media(min-width:1024px) and (max-height:860px){
 .game-shell #club-content .r3-club-grid :is(.v2-stadium,.v2-youth){padding:9px 11px;gap:4px}
 .r3-club-grid .r3-stage-list li{padding:4px 3px}
 .r3-club-grid .r3-all-stages summary{padding:1px 0}
 .r3-club-grid .v2-quote{padding:.35em .55em}
 .r3-club-grid .v2-facility-facts{flex:none}
 .r3-club-grid .v2-facility-facts:not(:has(>.v2-metric:nth-child(3))),.r3-club-grid .v2-facility-facts>.v2-metric:nth-child(-n+2){display:none}
 .r3-club-grid .v2-card>button[data-facility]{min-height:28px}
}
@media(max-width:1023px){
 .game-shell #locker-panel:not(.inbox-reading) .locker-layout{display:grid;grid-template-columns:minmax(0,1fr)}
 .game-shell #locker-panel:not(.inbox-reading) .locker-summary-column{display:contents}
 .game-shell #locker-panel .locker-next{order:-4}
 .game-shell #locker-panel .locker-summary{order:-3}
 .game-shell #locker-panel .r3-locker-metrics{order:-2}
 .game-shell #locker-panel .locker-coach-column{order:-1}
 .game-shell #locker-panel .r3-locker-recent{order:1}
 .game-shell #locker-panel.inbox-reading .locker-coach-column{display:none}
 .game-shell #locker-panel .locker-actions button,.game-shell .r3-coach-warnings button{min-height:44px}
 .r3-locker-kickoff{min-height:120px}.r3-locker-emblem{width:48px;height:54px}
 .r3-club-banner{grid-template-columns:auto minmax(0,1fr);align-items:center}.r3-club-metrics{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
 .game-shell #club-content .r3-club-grid{display:flex;flex-direction:column}
 .game-shell #club-content .r3-club-grid .v2-finance{order:3}
 .r3-fan-chart canvas{height:auto;max-height:205px;min-height:80px}
 .r3-history-layout{display:flex;flex-direction:column;gap:9px}.r3-history-layout>*{width:100%}
 .r3-history-mobile-net{display:grid}.r3-history-summary>.r3-history-net{display:none}
 .game-shell .r3-history-chips button,.game-shell .r3-history-period :is(button,select){min-height:44px}
 .r3-history-summary{order:3}
 .r3-history-day>summary{grid-template-columns:minmax(0,1fr) auto;column-gap:5px;row-gap:2px;padding:10px}.r3-history-day>summary span{grid-row:2;grid-column:1/-1}.r3-history-day>summary strong{grid-row:1;grid-column:2}
 .r3-history-type{margin-inline:7px;grid-template-columns:minmax(0,1fr) auto auto;gap:1px 8px}
 .r3-history-type>span{grid-column:1;grid-row:2}.r3-history-type>strong{grid-column:2;grid-row:1/span 2}
 .r3-history-times:not([open])>summary{grid-column:3;grid-row:1/span 2}
}
@media(max-width:360px){
 .r3-coach-warnings li{grid-template-columns:26px minmax(0,1fr) auto}.r3-coach-warnings li>small{grid-column:2;grid-row:2}.r3-coach-warnings li>button{grid-column:3;grid-row:1/span 2}
 .r3-coach-warnings li>:is(img,svg){width:26px;height:32px}
 .game-shell .r3-history-chips button{font-size:12px;padding:3px 7px}
 .r3-history-toolbar{justify-content:flex-start}
 .r3-history-day>summary{font-size:13px}
 .game-shell #history-panel:not([hidden]){padding:0;border:0;background:transparent}
 .r3-award-history li{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
