
/* Follow the shared season panel / modal components. */
body.light :is(#page,#dialog[data-modal-kind=stage-growth]) .stage-workspace .stage-steps li{background:var(--tc-raised,#e8edf0);color:var(--tc-muted,#53636e);border-color:var(--tc-line,#bfcbd2)}
body.light :is(#page,#dialog[data-modal-kind=stage-growth]) .stage-workspace .stage-steps .current{background:#f4dfe7;color:#9b1746;border-color:#b91b51}
body.light :is(#page,#dialog[data-modal-kind=stage-growth]) .stage-workspace .stage-steps .done{background:#dcebdc;color:#32623d;border-color:#75a47b}
body.light :is(#page,#dialog[data-modal-kind=stage-growth]) .stage-workspace .stage-fee b{color:#805307}
.card-award-badge{position:absolute!important;left:calc(50% - 40px);top:-53px;width:80px;height:59px;z-index:12!important;pointer-events:none;overflow:hidden}
.card-award-badge img{position:absolute;width:160px;max-width:none;height:auto;left:-40px;top:0}
.card-award-badge:is(.mvp-award,.rookie-award){top:-58px;height:64px}
.lineup-name-cost{display:inline-flex;align-items:center;gap:2px;color:#efd189;font-variant-numeric:tabular-nums;white-space:nowrap}
.lineup-name-cost i{display:inline-block;width:13px;height:13px;background:url('assets/pbm/small-card-atlas.png') -403px -622px no-repeat}
.reserve-card-art{display:block;position:relative;width:100%}
.duplicate-card-overlay{position:absolute;left:0;right:0;top:44%;background:#201a13df;border-block:1px solid #b99a60;color:#f5d995;font:12px/22px Ntreev;text-align:center;pointer-events:none}
.support-card-button.is-unowned .kbo-coach-skin{filter:brightness(.42) saturate(.45)}
.support-card-button.is-unowned .support-stock{opacity:.65}
.lobby-tool[data-unread],.lobby-utility-actions button[data-unread]{position:relative}
:is(.lobby-tool,.lobby-utility-actions button)[data-unread]:not([data-unread="0"])::after{content:attr(data-unread);position:absolute;right:-4px;top:-5px;min-width:15px;height:15px;padding:0 3px;border-radius:9px;background:#ed3f52;color:#fff;font:10px/15px Ntreev;box-shadow:0 0 0 1px #262b30;pointer-events:none}
.lobby-utility-actions button[data-id="items"][data-unread]:not([data-unread="0"])::after{content:"";right:4px;top:3px;width:7px;min-width:0;height:7px;padding:0;border-radius:50%}
.league-tactic-action{width:136px;max-width:100%;min-height:44px;display:grid;grid-template-rows:16px 16px;align-content:center;gap:2px;padding:5px;font:11px/16px Ntreev}
.league-tactic-action small,.league-tactic-action span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.tactic-fixture-list>button{display:grid;grid-template-columns:68px minmax(0,1fr) 72px;align-items:center;min-height:58px;gap:8px}
.tactic-fixture-list>button strong{min-width:0;overflow-wrap:anywhere}.tactic-fixture-list>button em{white-space:nowrap;text-align:center}
@media(max-width:690px){
 .support-loadout-panel,.support-reference,.support-slots{min-width:0;max-width:100%}
 .support-reference[data-support-scope=player] .support-slots{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(165px,72%);overflow-x:auto;gap:10px;scroll-snap-type:x proximity;justify-content:start;padding:8px}
 .support-slots>.support-equipped{min-width:0;width:100%;scroll-snap-align:start;box-sizing:border-box}
 .support-equipped-card{width:100%;max-width:180px;margin-inline:auto}
 .support-reference[data-support-scope=team] .support-slots{display:grid;grid-template-columns:minmax(0,1fr)}
 .support-reference[data-support-scope=team] .support-equipped{max-width:240px;margin-inline:auto}
 #dialog[data-modal-kind=stage-growth] .stage-workspace{display:block;min-height:0}#dialog[data-modal-kind=stage-growth] .stage-details{width:100%;min-width:0}
 .league-fixture-mobile-row .league-tactic-action{width:100%;max-width:none;min-height:44px}
}

@media(max-width:690px){.lineup-reserve-dock:has(.reserve-empty) #reserve-dock-content{flex:none;max-height:240px;overflow:auto}.lineup-reserve-dock .reserve-grid:has(>.reserve-empty){min-height:75px;max-height:110px;flex:0 0 auto}.lineup-reserve-dock .reserve-empty{min-height:75px}}
@media(max-width:690px){
 .card-lineup-frame #reserve-dock-content .reserve-grid{height:auto;max-height:26dvh;flex:0 1 auto}
}

@media(max-width:690px){
 #dialog[data-modal-kind=stage-growth] .stage-details{display:flex;flex-direction:column;gap:10px;padding-bottom:12px}
 #dialog[data-modal-kind=stage-growth] .stage-details>*{grid-column:auto;grid-row:auto;width:100%;min-width:0;margin:0;box-sizing:border-box}
 #dialog[data-modal-kind=stage-growth] .stage-player-profile{grid-template-columns:102px minmax(0,1fr);gap:12px;padding:12px}
 #dialog[data-modal-kind=stage-growth] .stage-player-profile>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
 #dialog[data-modal-kind=stage-growth] .stage-player-profile strong{font-size:20px;white-space:nowrap}
 #dialog[data-modal-kind=stage-growth] .stage-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}
 #dialog[data-modal-kind=stage-growth] .stage-stat-grid button{min-width:0;min-height:56px;white-space:nowrap}
 #dialog[data-modal-kind=stage-growth] .stage-steps{padding:0 10px}
 #dialog[data-modal-kind=stage-growth] .stage-growth-progress{padding:10px;grid-template-columns:minmax(0,1fr) auto}
 #dialog[data-modal-kind=stage-growth] .stage-notice{min-height:0;padding:10px}
}
