/* One board shares the header and column-label baselines across both lists. */
.game-shell #schedule-panel {
 --fixture-head:clamp(42px,4.7cqh,52px);
 --fixture-label:clamp(28px,3.3cqh,36px);
 --fixture-edge:#3b5260;
}
.fixture-board {
 display:grid;grid-template-columns:minmax(185px,23%) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
 column-gap:clamp(8px,.7vw,14px);min-height:0;height:100%;align-content:start;
}
.fixture-club-tools,.fixture-days-head {
 display:flex;align-items:center;min-width:0;gap:8px;height:var(--fixture-head);
 margin:0;padding:0 clamp(8px,.7vw,14px);border:1px solid var(--fixture-edge);border-bottom:0;
 background:#233946;border-radius:6px 6px 0 0;
}
.game-shell .fixture-club-tools label,.game-shell .fixture-days-head h2 {
 flex:none;margin:0;font-size:clamp(14px,1.65cqh,18px);font-weight:700;
}
.game-shell .fixture-club-tools select {flex:1;width:0;min-width:0;padding:3px 5px;min-height:28px}
.game-shell .fixture-club-tools .mobile-club-label {display:none}
.game-shell #schedule-selected-name {font-size:clamp(12px,1.4cqh,16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#cfdbdf}
.game-shell #schedule-panel .own-team {color:#b4f2c7}
.game-shell #schedule-days {display:flex;flex-wrap:nowrap;gap:2px;margin:0 0 0 auto}
.game-shell #schedule-days button {
 min-height:28px;min-width:clamp(27px,2cqw,40px);padding:3px;border:1px solid #506571;
 border-radius:3px;color:#cbd5d9;background:#213442;line-height:1;
}
.game-shell #schedule-days button[aria-pressed=true] {background:#345246;border-color:#83cba3;color:#d5ffe2;box-shadow:none}
.fixture-club-list {min-height:0;display:flex;flex-direction:column}
.fixture-index-labels,.game-shell #schedule-teams button {
 display:grid;grid-template-columns:2.7em minmax(0,1fr);align-items:center;gap:.5em;text-align:left;
}
.fixture-index-labels,.game-shell #schedule .game-list thead th {
 height:var(--fixture-label);box-sizing:border-box;background:#2b414e;color:#c9dce1;font-size:clamp(12px,1.35cqh,16px);
 font-weight:650;line-height:1;padding:0 .65em;border:0;border-bottom:1px solid var(--fixture-edge);box-shadow:none;
}
.fixture-index-labels>span:first-child,.fixture-rank {text-align:center;font-variant-numeric:tabular-nums}
.game-shell #schedule-teams {display:flex;flex-flow:column nowrap;gap:1px;overflow:auto}
.game-shell #schedule-teams button {
 width:100%;flex:none;min-height:clamp(30px,3.6cqh,42px);padding:.27em .65em;border:0;border-radius:0;
 font-size:clamp(12px,1.5cqh,17px);background:#20303e;color:#e0e9eb;box-shadow:none;
}
.game-shell #schedule-teams button[aria-pressed=true]{background:#345469;color:white;box-shadow:inset 3px 0 #acdae8}
.game-shell #schedule-teams button.own-team {color:#bef4ce;box-shadow:inset 3px 0 #82ce9e}
.game-shell #schedule-teams button.own-team[aria-pressed=true] {background:#294d40}
.game-shell #schedule {align-self:start;max-height:100%;width:100%;min-width:0;overflow:auto;scrollbar-gutter:auto}
.game-shell #schedule .game-list {width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:fixed}
.game-shell #schedule .game-list thead {position:sticky;top:0;z-index:1}
.game-shell #schedule .game-list :is(th,td) {text-align:left;font-variant-numeric:tabular-nums}
.game-shell #schedule .game-list :is(th,td):first-child {width:clamp(65px,5.5cqw,100px)}
.game-shell #schedule .game-list :is(th,td):nth-child(2) {width:clamp(132px,11cqw,210px)}
.game-shell #schedule .game-list :is(th,td):nth-child(3) {width:clamp(55px,4.2cqw,80px)}
.game-shell #schedule .game-list :is(th,td):last-child {width:clamp(100px,10cqw,190px);text-align:center}
.game-shell #schedule .game-list tbody td {
 height:clamp(30px,3.8cqh,44px);padding:.25em .65em;font-size:clamp(12px,1.5cqh,17px);
 line-height:1.18;border-bottom:1px solid #354958;
}
.fixture-competition small {color:#acbfca;padding-left:.5em;font-size:.85em}
.fixture-home,.fixture-away {font-weight:650;font-size:.9em}.fixture-home{color:#a4dfbe}.fixture-away{color:#b5c2d0}
.game-shell #schedule td button {min-height:24px;padding:2px 8px}
.game-shell #schedule-panel .browse-club {display:inline-flex;vertical-align:middle;align-items:center;gap:.45em}
.game-shell #schedule-panel .browse-club img {width:1.35em;height:1.35em;object-fit:contain}
@media(max-width:1023px){
 .fixture-board {grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:0;height:auto}
 .game-shell .fixture-club-list {display:none}
 .game-shell .fixture-club-tools .mobile-club-label {display:block}
 .game-shell select#schedule-team-picker {flex:1.3}
 .fixture-club-tools {border:0;background:none;padding:0 0 6px}
 .fixture-days-head {gap:4px}
 .game-shell #schedule-selected-name {display:none}
 .game-shell #schedule-days button {min-width:clamp(25px,6.8vw,40px);min-height:34px}
 .game-shell #schedule .game-list :is(th,td):first-child {width:4em}
 .game-shell #schedule .game-list :is(th,td):nth-child(2) {width:8em}
 .game-shell #schedule .game-list :is(th,td):nth-child(3) {width:3.6em}
 .game-shell #schedule .game-list :is(th,td):last-child {width:7em}
}
@media(max-width:600px){
 .game-shell #schedule .game-list thead {display:none}
 .game-shell #schedule .game-list tbody tr {
  display:grid;grid-template-columns:3.4em minmax(0,1fr) auto;grid-template-rows:auto auto;
  gap:2px 8px;align-items:center;margin:0;padding:6px 8px;border:0;border-bottom:1px solid var(--fixture-edge);border-radius:0;
 }
 .game-shell #schedule .game-list tbody tr td[data-label] {width:auto;height:auto;padding:0;border:0;margin:0;white-space:normal}
 .game-shell #schedule .game-list tbody tr td::before {display:none}
 .game-shell #schedule .game-list tbody tr td:nth-child(1) {grid-area:1/1;font-weight:700}
 .game-shell #schedule .game-list tbody tr td:nth-child(2) {grid-area:2/2;color:#adbfca;font-size:11px}
 .game-shell #schedule .game-list tbody tr td:nth-child(3) {grid-area:2/1;font-size:11px}
 .game-shell #schedule .game-list tbody tr td:nth-child(4) {grid-area:1/2;font-size:14px}
 .game-shell #schedule .game-list tbody tr td:nth-child(5) {grid-area:1/3/3/4;text-align:right}
 .game-shell #schedule .game-list tbody tr .empty-state {grid-column:1/-1}
}

.game-shell #schedule .fixture-matchup {display:grid;grid-template-columns:minmax(0,1fr) 1.8em minmax(0,1fr);align-items:center;gap:.35em}
.game-shell #schedule .fixture-matchup>span:first-child {justify-self:end}
.game-shell #schedule .fixture-matchup>span:last-child {justify-self:start}
.game-shell #schedule .fixture-matchup>span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.game-shell #schedule .fixture-versus {color:#9cb0be;font-size:.8em;text-align:center}
.game-shell #schedule th[data-label="대진"] {text-align:center}
@media(max-width:600px){
 .game-shell #schedule .fixture-matchup {display:block}
 .game-shell #schedule .fixture-matchup :is(.fixture-selected-club,.fixture-versus) {display:none}
}
