.mode-switch{display:inline-flex;gap:4px;padding:4px;background:#08182d;border:1px solid var(--l);border-radius:10px;margin:0 0 12px}.mode-switch button,.custom-actions button{min-height:44px;border:1px solid #365b85;border-radius:8px;background:#102746;color:var(--t);font-weight:900;padding:8px 13px;cursor:pointer}.mode-switch button.active,.custom-actions .primary{background:#2168bd;border-color:#56a5ff}.mode-switch button:disabled,.custom-actions button:disabled{opacity:.45;cursor:not-allowed}.custom-panel{background:var(--p);border:1px solid var(--l);border-radius:12px;padding:12px;margin-bottom:12px}.custom-head,.runbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.custom-head h2,.runbar h2{margin:0}.custom-head p,.runbar p{margin:3px 0;color:var(--m)}.custom-actions{display:flex;gap:7px;flex-wrap:wrap}.custom-actions .quiet{background:#09182f}.seed-grid{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:8px;margin-top:12px}.seed-grid label{display:grid;grid-template-columns:26px 22px 24px 1fr;align-items:center;gap:4px;background:var(--p2);border:1px solid #294d76;border-radius:8px;padding:5px;transition:.15s}.seed-grid label.dragging{opacity:.55}.seed-grid label.drag-over{border-color:var(--g);box-shadow:0 0 0 2px #40e5a555}.seed-number{font-weight:950;color:var(--gold)}.drag-handle{width:22px;height:34px;border:0;background:transparent;color:#87a5c7;font-weight:950;cursor:grab;touch-action:none;padding:0}.drag-handle:active{cursor:grabbing}.seed-grid img,.team-main img{width:24px;height:24px;object-fit:contain}.seed-grid select{width:100%;min-width:0;background:#071426;border:0;color:#fff;min-height:36px}.custom-rounds{display:grid;grid-template-columns:1.25fr 1.15fr 1fr 1fr;gap:12px;align-items:start}.custom-round{display:grid;gap:10px}.custom-round h3{text-align:center;text-transform:uppercase;color:var(--m);font-size:11px;letter-spacing:.08em;margin:4px 0}.custom-game{border:1px solid #2d5683;border-radius:10px;background:#08182d;padding:7px;min-width:0;transition:.2s}.custom-game.simulated{border-color:#4a87bd;box-shadow:0 0 14px #2475b522}.custom-game>header{display:flex;justify-content:space-between;color:var(--m);font-size:9px;text-transform:uppercase;font-weight:900;margin-bottom:4px}.advance{width:100%;min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:6px;background:#0d2442;color:#fff;border:1px solid #315b88;border-radius:7px;margin:4px 0;padding:5px 7px;cursor:pointer;text-align:left}.advance.winner{border-color:var(--g);background:#123b35;box-shadow:inset 3px 0 var(--g)}.team-seed{color:var(--gold);font-size:10px;font-weight:950;text-align:center}.team-main{display:flex;align-items:center;gap:6px;min-width:0}.team-main b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-detail{display:grid;grid-template-columns:auto auto;align-items:center;gap:7px;font-size:10px;font-weight:950}.team-detail b{color:#fff}.team-detail em{min-width:28px;text-align:right;color:#fff;font-size:16px;font-style:normal}.advance-label{color:var(--m);font-size:9px;font-weight:900}.advance.winner .advance-label{color:var(--g)}.empty-slot{min-height:48px;display:grid;place-items:center;border:1px dashed #3c5d86;border-radius:7px;color:var(--m);margin:4px 0}.projection{display:grid;gap:2px;border-top:1px solid #244873;margin-top:6px;padding:7px 2px 1px}.projection b{font-size:11px}.projection span{font-size:10px}.projection small{color:var(--m);font-size:8px}.projection.unavailable{color:#ffb0b7}.projection.pending{color:var(--m);font-size:9px}.game-meta{text-align:right;color:var(--m);font-size:8px;font-weight:800;padding:3px 2px 0}.champion{text-align:center;border:1px solid #9c7720;background:#352b12;border-radius:10px;padding:14px;margin-top:12px}.champion span,.champion b{display:block}.champion b{font-size:22px;color:var(--gold)}.custom-error{background:#4a1720;border:1px solid #a94d5a;color:#ffd5d8;border-radius:8px;padding:10px;margin-bottom:10px}
.playoff-ratings-health{display:flex;align-items:center;gap:13px;min-height:30px;padding:5px 8px;margin-top:7px;border:1px solid #29445e;background:#071522;color:#dbe8f7;font-size:10px;font-weight:850;white-space:nowrap;overflow-x:auto}.playoff-ratings-health>b{color:#91a6b9;letter-spacing:.06em}.playoff-ratings-health span{display:flex;align-items:center;gap:5px}.playoff-ratings-health i{width:8px;height:8px;border-radius:50%;background:#42e6ad;box-shadow:0 0 8px #42e6ad}.playoff-ratings-health strong{color:#42e6ad}.playoff-ratings-health small{color:#8fa4b8;font-size:9px}.playoff-ratings-health .health-note{margin-left:auto;color:#7eddf0;font-size:9px}
@media(max-width:620px){.playoff-ratings-health{gap:10px;font-size:9px}.playoff-ratings-health .health-note{display:none}}
@media(max-width:1150px){.seed-grid{grid-template-columns:repeat(4,minmax(140px,1fr))}.custom-rounds{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.shell{padding:10px}.hero{align-items:flex-start;gap:8px}.hero h1{font-size:28px}.stamp{font-size:9px}.custom-head,.runbar{display:block}.custom-actions{margin-top:9px}.custom-actions button{flex:1}.seed-grid{grid-template-columns:1fr 1fr;gap:6px}.seed-grid label{grid-template-columns:24px 18px 22px 1fr}.custom-bracket{padding:10px 0}.custom-bracket>.runbar,.custom-bracket>.champion{margin-left:10px;margin-right:10px}.custom-rounds{display:grid;grid-template-columns:repeat(4,minmax(280px,84vw));gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:0 10px 12px;scrollbar-color:#315b88 transparent}.custom-round{scroll-snap-align:start;align-content:start}.custom-round h3{position:sticky;left:0;background:var(--p);z-index:2;padding:8px;margin:0}.custom-game{margin-bottom:8px}.advance{min-height:50px}.mode-switch{width:100%}.mode-switch button{flex:1}.team-detail{gap:4px}.team-detail em{font-size:15px}}
@media(max-width:350px){.seed-grid{grid-template-columns:1fr}.hero{display:block}.stamp{display:inline-block;margin-top:8px}.custom-actions{display:grid;grid-template-columns:1fr}}
.layout[hidden],#customMode[hidden]{display:none!important}
html,body{max-width:100%;overflow-x:hidden}
.playoff-matchup{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:end;background:var(--p);border:1px solid var(--l);border-radius:10px;padding:9px 11px;margin:0 0 10px}.matchup-label{align-self:center}.matchup-label b,.matchup-label span{display:block}.matchup-label b{font-size:11px;color:#61ddf3;letter-spacing:.06em}.matchup-label span{font-size:9px;color:var(--m)}.matchup-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 90px minmax(260px,1.4fr);gap:7px;align-items:end}.matchup-controls label{font-size:8px;font-weight:900;color:var(--m);text-transform:uppercase}.matchup-controls select{display:block;width:100%;min-height:40px;margin-top:3px;background:#071426;border:1px solid #36536e;border-radius:6px;color:#fff;padding:6px}.neutral-check{min-height:40px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #36536e;border-radius:6px;color:#fff!important}.matchup-output{min-height:40px;display:grid;grid-template-columns:1.2fr 1fr auto;align-items:center;gap:8px;border:1px solid #36536e;border-radius:6px;padding:5px 8px}.matchup-output b,.matchup-output span{white-space:nowrap}.matchup-output b{font-size:11px}.matchup-output b i{color:var(--m);font-style:normal}.matchup-output span{font-size:10px}.matchup-output small{font-size:8px;color:var(--m)}.matchup-output.unavailable{color:#ffb0b7}
@media(max-width:900px){.playoff-matchup{display:block}.matchup-label{margin-bottom:7px}.matchup-controls{grid-template-columns:1fr 1fr 90px}.matchup-output{grid-column:1/-1}}
@media(max-width:620px){.playoff-matchup{padding:9px}.matchup-controls{grid-template-columns:1fr 1fr}.neutral-check{grid-column:1/-1}.matchup-output{grid-template-columns:1fr auto}.matchup-output span{grid-column:1/-1;grid-row:2}.matchup-output small{grid-column:2;grid-row:1}}
@media(max-width:350px){.matchup-controls{grid-template-columns:1fr}.neutral-check,.matchup-output{grid-column:1}.matchup-output{grid-template-columns:1fr}.matchup-output span,.matchup-output small{grid-column:1;grid-row:auto}}
.rating-rank{font-size:11px;font-weight:950;margin-left:5px;white-space:nowrap}.rank-good{color:var(--g)}.rank-mid{color:var(--gold)}.rank-low{color:#ff7280}.team-main .rating-rank{margin-left:0}.rankRow .team,.slot .team{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-detail em{color:#a9bdd4}.champion-team{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:7px}.champion-team img{width:38px;height:38px;object-fit:contain}.champion-team i{font-size:24px;font-style:normal}.champion-team b{margin:0}
.champion-footer{position:fixed;left:50%;bottom:8px;transform:translateX(-50%);width:min(720px,calc(100% - 20px));z-index:20;min-height:64px;margin:0;box-shadow:0 -5px 18px #020a18cc}.champion-footer:not(.has-champion){background:#10213a;border-color:#365b85}.champion-status{margin-top:5px;color:var(--m)!important;font-size:13px!important}.custom-game.active-sim{border-color:#61ddf3;box-shadow:0 0 15px #61ddf344}#customMode:not([hidden]) .custom-bracket{padding-bottom:90px}
.team-record{color:#9fb2cc!important;font-size:11px!important;font-weight:900;white-space:nowrap}.first-out-list{display:grid}.first-out-row{display:grid;grid-template-columns:26px 28px minmax(74px,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 7px;min-height:54px;border-bottom:1px solid #244873;cursor:grab}.first-out-row.dragging{opacity:.55}.first-out-row>span,.first-out-row>img{grid-row:1/3}.first-out-row>span{color:var(--gold);font-size:13px;font-weight:950}.first-out-row img{width:25px;height:25px;object-fit:contain}.first-out-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.first-out-meta{display:flex;align-items:center;gap:8px}.first-out-meta .rating-rank{margin:0}.first-out-row select{grid-column:4;grid-row:1/3;width:74px;min-height:30px;border:1px solid #365b85;border-radius:6px;background:#0a1b31;color:#fff;font-size:9px;font-weight:850}.custom-cutoff{margin-top:12px;padding:9px 4px 6px;border-top:2px dashed var(--gold);color:var(--gold);font-size:10px;font-weight:950;text-transform:uppercase}.custom-desktop-layout{min-width:0}
@media(min-width:1000px){.custom-desktop-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:12px;align-items:start}.custom-field{margin:0;position:sticky;top:8px}.custom-field .custom-head{display:block}.custom-field .custom-actions{margin-top:10px}.custom-field .custom-actions button{flex:1;padding:7px}.custom-field .seed-grid{grid-template-columns:1fr;gap:0;margin-top:10px}.custom-field .seed-grid label{grid-template-columns:25px 20px 25px minmax(0,1fr);border-width:0 0 1px;border-radius:0;padding:4px 2px;background:transparent;min-height:47px}.custom-field .seed-grid select{background:#0a1b31}.custom-bracket{margin:0;min-width:0;overflow:hidden}.custom-rounds{grid-template-columns:repeat(4,minmax(190px,1fr));gap:16px;align-items:stretch}.custom-round{display:grid;height:1040px;grid-template-rows:32px repeat(8,1fr);gap:0;position:relative}.custom-round>h3{grid-row:1;align-self:start}.custom-round[data-round="first"] .custom-game:nth-of-type(1),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(1){grid-row:2}.custom-round[data-round="first"] .custom-game:nth-of-type(2),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(2){grid-row:4}.custom-round[data-round="first"] .custom-game:nth-of-type(3),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(3){grid-row:6}.custom-round[data-round="first"] .custom-game:nth-of-type(4),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(4){grid-row:8}.custom-round[data-round="semifinal"] .custom-game:nth-of-type(1){grid-row:3}.custom-round[data-round="semifinal"] .custom-game:nth-of-type(2){grid-row:7}.custom-round[data-round="championship"] .custom-game:nth-of-type(1){grid-row:5}.custom-game{align-self:center;position:relative}.custom-round:not([data-round="championship"]) .custom-game:after{content:"";position:absolute;left:100%;top:50%;width:17px;border-top:1px solid #3a6a99}.custom-round[data-round="quarterfinal"] .custom-game:before,.custom-round[data-round="semifinal"] .custom-game:before,.custom-round[data-round="championship"] .custom-game:before{content:"";position:absolute;right:100%;top:50%;width:17px;border-top:1px solid #3a6a99}}
.seed-grid label{grid-template-rows:auto auto}.seed-grid label>.seed-number,.seed-grid label>.drag-handle,.seed-grid label>img,.seed-grid label>i{grid-row:1/3}.seed-grid label>select{grid-column:4;grid-row:1}.seed-meta{grid-column:4;grid-row:2;display:flex;align-items:center;gap:7px;min-height:18px;padding:1px 5px}.seed-meta .rating-rank,.seed-meta .team-record{font-size:11px!important}.team-record.record-good{color:var(--g)!important}.team-record.record-mid{color:var(--gold)!important}.team-record.record-low{color:#ff7280!important}.advance{grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto}.advance>.team-seed{grid-column:1;grid-row:1/3}.advance>.team-main{grid-column:2;grid-row:1}.advance>.team-card-meta{grid-column:2;grid-row:2;display:flex;align-items:center;gap:7px;min-width:0}.team-card-meta .team-detail{display:flex;align-items:center;gap:6px;margin-left:auto}.team-card-meta .advance-label{margin-left:auto}.team-main b{max-width:none}.team-card-meta .rating-rank,.team-card-meta .team-record{font-size:11px!important}@media(min-width:1000px){.custom-field .seed-grid label{min-height:62px}}
.seed-grid select,.team-main b{font-weight:950}.team-main b{font-size:13px;letter-spacing:-.01em}.layout .team-record{margin-left:7px}.layout .rating-rank{margin-left:7px}.custom-round,.custom-rounds{min-width:0}@media(min-width:1000px){.custom-rounds{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}

/* Matchup-card action and bracket-conditional advancement probabilities. */
.matchup-controls{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) 90px minmax(260px,1.4fr) auto}
.matchup-card-link{min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #42bce2;border-radius:6px;background:#0b2942;color:#75e7fa;font-size:9px;font-weight:950;letter-spacing:.04em;padding:5px 10px;text-decoration:none;white-space:nowrap}
.matchup-card-link:hover,.matchup-card-link:focus-visible{background:#124264;border-color:#75e7fa;color:#fff}
#modelOdds{margin:12px 0}
.advance-odds,.market-odds{margin-top:10px;border:1px solid var(--l);border-radius:10px;background:#08182d;overflow:hidden}
#modelOdds>.advance-odds{margin-top:0}
.market-odds+.advance-odds{margin-top:8px}
.advance-odds-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 10px;background:#0b213c;border-bottom:1px solid var(--l)}
.advance-odds-head h2{margin:0;font-size:17px}.advance-odds-head p{margin:2px 0 0;color:var(--m);font-size:9px}.advance-odds-head>span{color:#61ddf3;font-size:9px;font-weight:950;letter-spacing:.05em;white-space:nowrap}
.advance-odds-wrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.advance-odds table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.market-odds table{width:100%;min-width:600px;border-collapse:collapse;table-layout:fixed}
.advance-odds .seed-col,.market-odds .seed-col{width:34px}.advance-odds .team-col{width:135px}.market-odds .team-col{width:145px}.advance-odds .sim-col{width:68px}.advance-odds .edge-col{width:48px}
.advance-odds th,.advance-odds td,.market-odds th,.market-odds td{padding:3px 4px;border-top:1px solid #1f3d60;text-align:center;line-height:1.02}
.advance-odds thead th,.market-odds thead th{border-top:0;background:#09192e;color:var(--m);font-size:8px;text-transform:uppercase;letter-spacing:.04em}.advance-odds thead tr+tr th{border-top:1px solid #183654}
.advance-odds th:nth-child(3),.advance-odds td:nth-child(3),.advance-odds th:nth-child(5),.advance-odds td:nth-child(5),.advance-odds th:nth-child(7),.advance-odds td:nth-child(7),.advance-odds th:nth-child(9),.advance-odds td:nth-child(9){border-left:2px solid #3c6792}.advance-odds tbody td:nth-child(3),.advance-odds tbody td:nth-child(4),.advance-odds tbody td:nth-child(7),.advance-odds tbody td:nth-child(8){background:#0b2039}.advance-odds tbody td:nth-child(5),.advance-odds tbody td:nth-child(6),.advance-odds tbody td:nth-child(9),.advance-odds tbody td:nth-child(10){background:#102640}.advance-odds .top-round-edge{background:#173f3a!important;box-shadow:inset 0 0 0 2px #43e6a8;border-radius:6px}.advance-odds .top-round-edge b{color:#72f4bf!important}
.advance-odds td,.market-odds td{font-size:11px}.advance-odds td:first-child,.market-odds td:first-child{color:var(--gold);font-weight:950}
.odds-team{text-align:left!important;overflow:hidden}.odds-team>span{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}.odds-team img{width:17px;height:17px;object-fit:contain;flex:0 0 auto}.odds-team b{display:block;overflow:hidden;text-overflow:ellipsis}
.advance-odds .sim-cell b{display:block;color:#fff;font-size:12px;font-weight:950}.advance-odds .sim-cell small{display:block;color:var(--m);font-size:12px;font-weight:500;margin-top:1px}
.advance-odds .edge-positive b{color:#43e6a8}.advance-odds .edge-negative b{color:#ff667a}.advance-odds .edge-positive b,.advance-odds .edge-negative b{font-size:11px}.advance-odds .edge-positive small,.advance-odds .edge-negative small{display:inline;color:var(--m);font-size:8px;margin-left:1px}.edge-na{color:var(--m)}
.edge-note{margin:0;padding:5px 10px;color:var(--m);font-size:8px;border-top:1px solid #1f3d60}.market-odds th a{color:#61ddf3;text-decoration:none}.market-odds th a:hover{text-decoration:underline}.market-odds td:not(:nth-child(-n+2)) b{font-size:11px;color:#fff}
@media(max-width:900px){.matchup-card-link{grid-column:1/-1}.advance-odds-head{align-items:flex-start}.advance-odds-head>span{white-space:normal;text-align:right}}
@media(max-width:620px){.advance-odds,.market-odds{margin:6px 0}.advance-odds-head{display:block;padding:5px 7px}.advance-odds-head h2{font-size:14px}.advance-odds-head p{font-size:8px}.advance-odds-head>span{display:block;text-align:left;margin-top:3px;font-size:8px}.advance-odds th,.advance-odds td,.market-odds th,.market-odds td{padding:2px 3px}.advance-odds table{min-width:600px}.market-odds table{min-width:500px}.advance-odds .seed-col,.market-odds .seed-col{width:30px}.advance-odds .team-col{width:112px}.market-odds .team-col{width:120px}.advance-odds .sim-col{width:62px}.advance-odds .edge-col{width:44px}.advance-odds td,.market-odds td{font-size:10px}.advance-odds .sim-cell b,.advance-odds .sim-cell small{font-size:10px}.advance-odds .edge-positive b,.advance-odds .edge-negative b{font-size:9px}.odds-team img{width:15px;height:15px}.edge-note{padding:4px 7px;font-size:7px}}

.round-edge-pick{grid-row:9;align-self:end;display:grid;grid-template-columns:auto 20px minmax(0,1fr) auto;align-items:center;gap:3px 5px;min-height:42px;padding:4px 6px;border:1px solid #43e6a8;border-radius:7px;background:#10342f;color:#fff;font-size:9px}.round-edge-pick span{color:#72f4bf;font-size:7px;font-weight:950}.round-edge-pick img{width:20px;height:20px;object-fit:contain}.round-edge-pick b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.round-edge-pick strong{color:#72f4bf;white-space:nowrap}.round-edge-pick small{grid-column:1/-1;display:flex;justify-content:space-between;gap:5px;color:#d8e5f2;font-size:7px;white-space:nowrap}.round-edge-pick small i{color:#72f4bf;font-style:normal;font-weight:950}

/* Portrait: keep the matchup controls inside the card and preserve a traditional bracket path. */
@media(max-width:620px){
 .playoff-matchup{max-width:100%;overflow:hidden}
 .matchup-controls{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .matchup-controls>*{min-width:0;max-width:100%}
 .neutral-check,.matchup-output,.matchup-card-link{grid-column:1/-1;width:100%}
 .matchup-output{grid-template-columns:minmax(0,1fr) auto}
 .matchup-output b,.matchup-output span{white-space:normal;overflow-wrap:anywhere}
 .matchup-card-link{white-space:normal;text-align:center;padding-inline:6px}
 .custom-rounds{grid-template-columns:repeat(4,minmax(250px,74vw));gap:6px;align-items:stretch;padding-inline:6px}
 .custom-round{height:760px;grid-template-rows:40px repeat(8,minmax(0,1fr));gap:0;align-content:stretch;position:relative}
 .custom-round>h3{grid-row:1;align-self:start}
 .custom-round[data-round="first"] .custom-game:nth-of-type(1),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(1){grid-row:2}
 .custom-round[data-round="first"] .custom-game:nth-of-type(2),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(2){grid-row:4}
 .custom-round[data-round="first"] .custom-game:nth-of-type(3),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(3){grid-row:6}
 .custom-round[data-round="first"] .custom-game:nth-of-type(4),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(4){grid-row:8}
 .custom-round[data-round="semifinal"] .custom-game:nth-of-type(1){grid-row:3}
 .custom-round[data-round="semifinal"] .custom-game:nth-of-type(2){grid-row:7}
 .custom-round[data-round="championship"] .custom-game:nth-of-type(1){grid-row:5}
 .custom-game{align-self:center;position:relative;margin-bottom:0;padding:4px}
 .custom-game>header{margin-bottom:2px;font-size:8px}
 .advance{min-height:38px;margin:2px 0;padding:3px 5px}
 .empty-slot{min-height:38px;margin:2px 0}
 .projection{margin-top:3px;padding-top:4px}.projection b{font-size:10px}.projection span{font-size:9px}
 .game-meta{padding-top:1px}
 .custom-round:not([data-round="championship"]) .custom-game:after{content:"";position:absolute;left:100%;top:50%;width:6px;border-top:3px solid #fff}
 .custom-round[data-round="quarterfinal"] .custom-game:before,.custom-round[data-round="semifinal"] .custom-game:before,.custom-round[data-round="championship"] .custom-game:before{content:"";position:absolute;right:100%;top:50%;width:6px;border-top:3px solid #fff}
 .round-edge-pick{font-size:8px;padding:3px 4px;grid-template-columns:auto 18px minmax(0,1fr) auto}.round-edge-pick img{width:18px;height:18px}.round-edge-pick small{font-size:6px}
 .champion-footer{position:static;left:auto;bottom:auto;transform:none;width:auto;min-height:0;margin:12px 10px 0;box-shadow:none}
 #customMode:not([hidden]) .custom-bracket{padding-bottom:10px}
}

/* Simulator introduction, larger field controls, and mobile championship clearance. */
.hero{align-items:flex-start}.hero h1{white-space:nowrap}.hero p{font-size:15px;line-height:1.45;margin-top:7px}.hero .stamp{display:none!important}
.neutral-check{order:-1;grid-column:1/-1;min-height:38px;font-size:12px!important}.neutral-check input{width:20px;height:20px}
.matchup-controls>label:not(.neutral-check){min-width:0}.matchup-output span{display:flex;align-items:center;gap:8px}.matchup-output span>i{font-style:normal;color:var(--m)}.custom-score-team{display:inline-flex!important;align-items:center;gap:5px!important;white-space:nowrap!important}.custom-score-team img{width:24px;height:24px;object-fit:contain}.custom-score-team b{font-size:inherit!important}
.seed-grid label{position:relative;grid-template-columns:26px 42px 30px minmax(0,1fr);min-height:68px}.drag-handle{width:42px;height:52px;border:1px solid #365b85;border-radius:7px;background:#102746;font-size:20px}.seed-grid img{width:30px;height:30px}.seed-grid select{grid-row:1/3!important;min-height:56px!important;padding:7px 28px 7px 9px!important;font-size:14px!important}.seed-meta{position:absolute;left:107px;bottom:7px;z-index:2;pointer-events:none}.seed-grid select{padding-bottom:24px!important}.seed-grid label:focus-within{border-color:var(--g);box-shadow:0 0 0 2px #40e5a544}
.custom-round[data-round="championship"] .round-edge-stack{grid-row:7/10!important;margin-top:18px!important;align-self:start!important}.championship-results{gap:12px!important}
@media(max-width:620px){
 .hero{margin:14px 0}.hero h1{font-size:27px!important;letter-spacing:-.035em;white-space:nowrap}.hero p{font-size:14px;margin-top:7px}
 .matchup-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.neutral-check{grid-row:1}.matchup-controls>label:not(.neutral-check){grid-row:2}
 .matchup-output span{justify-content:space-between;gap:5px}.custom-score-team{font-size:12px}.custom-score-team img{width:22px;height:22px}
 .seed-grid label{grid-template-columns:25px 44px 30px minmax(0,1fr);min-height:72px;padding:5px}.drag-handle{width:44px;height:58px}.seed-meta{left:109px;bottom:9px}.seed-grid select{min-height:60px!important}
 .custom-round{height:830px}.custom-round[data-round="championship"] .round-edge-stack{grid-row:7/10!important;margin-top:28px!important;transform:none!important}.championship-results{gap:14px!important}
}

@media(min-width:621px){.custom-round:not([data-round="championship"]) .custom-game:after,.custom-round[data-round="quarterfinal"] .custom-game:before,.custom-round[data-round="semifinal"] .custom-game:before,.custom-round[data-round="championship"] .custom-game:before{border-top-color:#fff!important;border-top-width:3px!important}}

/* Readable field list and continuous traditional bracket connectors. */
.first-out-row{grid-template-columns:26px 28px minmax(0,1fr) 74px}.first-out-row b{overflow:visible;text-overflow:clip}.round-join{position:absolute;left:calc(100% + 6px);width:6px;border-left:3px solid #fff;z-index:3;pointer-events:none}.round-join:after{content:"";position:absolute;left:0;top:50%;width:6px;border-top:3px solid #fff}.custom-round[data-round="quarterfinal"] .join-top{top:9.1%;height:24.2%}.custom-round[data-round="quarterfinal"] .join-bottom{top:57.5%;height:24.2%}.custom-round[data-round="semifinal"] .join-all{top:21.2%;height:48.5%}
@media(min-width:1000px){.custom-desktop-layout{grid-template-columns:360px minmax(0,1fr)}.custom-round:not([data-round="championship"]) .custom-game:after{width:8px}.custom-round[data-round="quarterfinal"] .custom-game:before,.custom-round[data-round="semifinal"] .custom-game:before,.custom-round[data-round="championship"] .custom-game:before{width:8px}}
@media(max-width:620px){.custom-round:not([data-round="championship"]) .custom-game:after{width:5px}.custom-round[data-round="quarterfinal"] .custom-game:before,.custom-round[data-round="semifinal"] .custom-game:before,.custom-round[data-round="championship"] .custom-game:before{width:5px}.round-join{left:calc(100% + 3px);width:3px}.round-join:after{width:3px}.custom-round[data-round="quarterfinal"] .join-top{top:11.2%;height:23.7%}.custom-round[data-round="quarterfinal"] .join-bottom{top:58.6%;height:23.7%}.custom-round[data-round="semifinal"] .join-all{top:23%;height:47.4%}}

/* Match surrounding typography and keep all 20 field rows visually consistent. */
.matchup-controls select{font-size:14px;font-weight:900}.matchup-output b{font-size:15px}.matchup-output span{font-size:13px;font-weight:800}.matchup-output small{font-size:10px}
.first-out-list{display:grid}.first-out-row{display:grid;grid-template-columns:25px 20px 25px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 4px;min-height:62px;padding:4px 2px;background:transparent;border:0;border-bottom:1px solid #244873;border-radius:0;cursor:grab}.first-out-row>.seed-number,.first-out-row>.first-out-handle,.first-out-row>img{grid-row:1/3}.first-out-row>.seed-number{font-size:13px}.first-out-row>.first-out-handle{width:20px;height:34px}.first-out-row>img{width:25px;height:25px}.first-out-row>select{grid-column:4;grid-row:1;width:100%;min-width:0;min-height:36px;padding:0 5px;border:0;border-radius:0;background:#0a1b31;color:#fff;font-size:13px;font-weight:950}.first-out-row>.seed-meta{grid-column:4;grid-row:2;display:flex;align-items:center;gap:7px;min-height:18px;padding:1px 5px}.first-out-row>.seed-meta .rating-rank,.first-out-row>.seed-meta .team-record{font-size:11px!important}

/* Stage-specific edge cards and an inline champion beneath the title game. */
.round-edge-stack{grid-row:9;align-self:end;display:grid;gap:5px;min-width:0}.round-edge-stack .round-edge-pick{grid-row:auto;align-self:auto}.round-edge-pick span{grid-column:1/4;grid-row:1;white-space:nowrap}.round-edge-pick strong{grid-column:4;grid-row:1}.round-edge-pick img{grid-column:1;grid-row:2}.round-edge-pick b{grid-column:2/5;grid-row:2}.round-edge-pick small{grid-row:3}.champion-inline{grid-row:7;align-self:center;position:static;transform:none;width:auto;min-height:0;margin:0;padding:9px;box-shadow:none}.champion-inline .champion-status{font-size:11px!important}.champion-inline .champion-team{margin-top:4px}.champion-inline .champion-team img{width:30px;height:30px}.champion-inline .champion-team b{font-size:17px}
@media(max-width:620px){.matchup-controls select{font-size:13px}.matchup-output b{font-size:14px}.matchup-output span{font-size:12px}.seed-grid,.first-out-list{grid-template-columns:1fr;gap:6px}.first-out-row{grid-template-columns:24px 18px 22px minmax(0,1fr);padding:5px;background:var(--p2);border:1px solid #294d76;border-radius:8px}.first-out-row>img{width:22px;height:22px}.round-edge-stack{gap:3px}.champion-inline{padding:6px}.champion-inline .champion-team b{font-size:15px}}
@media(min-width:621px) and (max-width:1150px){.first-out-list{grid-template-columns:repeat(4,minmax(140px,1fr));gap:8px}.first-out-row{padding:5px;background:var(--p2);border:1px solid #294d76;border-radius:8px}}
@media(min-width:1000px){.custom-field .first-out-list{grid-template-columns:1fr;gap:0}.custom-field .first-out-row{padding:4px 2px;background:transparent;border-width:0 0 1px;border-radius:0}}
.custom-game header small{display:flex;align-items:center;justify-content:flex-end}.game-matchup-link{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid #35c9ef;border-radius:5px;background:#0b3048;color:#7ceaff;font-size:11px;font-weight:950;letter-spacing:.06em;line-height:1;text-decoration:none}.game-matchup-link:hover,.game-matchup-link:focus{background:#114664;color:#fff;text-decoration:none}
.championship-results{display:flex!important;flex-direction:column;gap:7px}.championship-results .champion-inline{position:static!important;grid-row:auto!important;width:100%;margin:0}
.first-out-row>.seed-meta .rating-rank,.first-out-row>.seed-meta .team-record{font-size:12px!important;font-weight:950!important}.first-out-row>select{font-size:14px!important}
@media(max-width:620px){.custom-round[data-round="first"] .custom-game:nth-of-type(1),.custom-round[data-round="quarterfinal"] .custom-game:nth-of-type(1){align-self:start}}

/* Put every value edge immediately beneath its round and frame the title game. */
.custom-round[data-round="quarterfinal"] .round-edge-stack{grid-row:9;align-self:start}
.custom-round[data-round="semifinal"] .round-edge-stack{grid-row:8;align-self:start}
.custom-round[data-round="championship"] .champion-inline{grid-row:4;align-self:end;margin-bottom:8px}
.custom-round[data-round="championship"] .round-edge-stack{grid-row:6;align-self:start;margin-top:8px}
.round-edge-pick{min-height:60px;grid-template-columns:auto 24px minmax(0,1fr) auto;gap:4px 7px;padding:7px 9px;font-size:12px}
.round-edge-pick span{font-size:9px;letter-spacing:.03em}.round-edge-pick img{width:24px;height:24px}.round-edge-pick b,.round-edge-pick strong{font-size:12px}.round-edge-pick small{font-size:9px;line-height:1.2}
@media(max-width:620px){
 .custom-rounds{padding-bottom:38px}
 .custom-round[data-round="quarterfinal"] .round-edge-stack,.custom-round[data-round="semifinal"] .round-edge-stack{transform:translateY(24px)}
 .custom-round[data-round="championship"] .champion-inline{grid-row:4;margin:0 0 5px;transform:translateY(-20px)}
 .custom-round[data-round="championship"] .round-edge-stack{grid-row:6;margin-top:5px;transform:translateY(24px)}
 .round-edge-pick{min-height:54px;grid-template-columns:auto 22px minmax(0,1fr) auto;padding:5px 6px;gap:3px 5px}
 .round-edge-pick span{font-size:8px}.round-edge-pick img{width:22px;height:22px}.round-edge-pick b,.round-edge-pick strong{font-size:11px}.round-edge-pick small{font-size:8px}
}

/* Final responsive overrides for the simulator controls and title lane. */
.hero{align-items:flex-start}.hero h1{white-space:nowrap}.hero p{font-size:15px;line-height:1.45;margin-top:7px}.hero .stamp{display:none!important}
.matchup-controls{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(330px,1.45fr) auto!important}
.matchup-output{grid-template-columns:minmax(0,1fr) auto!important;min-height:54px}.matchup-output>b{grid-column:1;grid-row:1}.matchup-output>small{grid-column:2;grid-row:1}.matchup-output>span{grid-column:1/-1;grid-row:2}
.neutral-check{order:-1;grid-column:1/-1!important;min-height:38px;font-size:12px!important}.neutral-check input{width:20px;height:20px}
.matchup-output span{display:flex;align-items:center;gap:8px}.matchup-output span>i{font-style:normal;color:var(--m)}.custom-score-team{display:inline-flex!important;align-items:center;gap:5px!important;white-space:nowrap!important}.custom-score-team img{width:24px;height:24px;object-fit:contain}.custom-score-team b{font-size:inherit!important}
.seed-grid label{position:relative;grid-template-columns:26px 42px 30px minmax(0,1fr)!important;min-height:68px!important}.drag-handle{width:42px!important;height:52px!important;border:1px solid #365b85!important;border-radius:7px!important;background:#102746!important;font-size:20px!important}.seed-grid img{width:30px!important;height:30px!important}.seed-grid select{grid-row:1/3!important;min-height:56px!important;padding:7px 28px 24px 9px!important;font-size:14px!important}.seed-grid .seed-meta{position:absolute;left:107px;bottom:7px;z-index:2;pointer-events:none}.first-out-row{position:relative;grid-template-columns:26px 42px 30px minmax(0,1fr)!important;grid-template-rows:1fr 1fr;min-height:68px!important;padding:5px!important}.first-out-row>span.seed-number,.first-out-row>.drag-handle,.first-out-row>img{grid-row:1/3}.first-out-row>select{grid-column:4!important;grid-row:1/3!important;min-height:56px!important;width:100%!important;padding:7px 28px 24px 9px!important;font-size:14px!important}.first-out-row>.seed-meta{position:absolute;left:107px;bottom:7px;z-index:2;display:flex;gap:7px;pointer-events:none}
.custom-round[data-round="championship"] .round-edge-stack{grid-row:6/10!important;margin-top:0!important;align-self:start!important}.championship-results{gap:6px!important}
@media(max-width:620px){
 .hero{margin:14px 0}.hero h1{font-size:21px!important;letter-spacing:-.04em;white-space:nowrap}.hero p{font-size:14px;margin-top:7px}
 .matchup-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.neutral-check{grid-row:1}.matchup-controls>label:not(.neutral-check){grid-row:2}
 .matchup-output span{justify-content:space-between;gap:5px}.custom-score-team{font-size:12px}.custom-score-team img{width:22px;height:22px}
 .seed-grid label,.first-out-row{grid-template-columns:25px 44px 30px minmax(0,1fr)!important;min-height:72px!important;padding:5px!important}.drag-handle{width:44px!important;height:58px!important}.seed-grid .seed-meta,.first-out-row>.seed-meta{left:109px;bottom:9px}.seed-grid select,.first-out-row>select{min-height:60px!important}
 .custom-round{height:850px!important}.custom-round[data-round="championship"] .round-edge-stack{grid-row:6/10!important;margin-top:0!important;transform:none!important}
 .championship-results{display:grid!important;grid-template-rows:auto minmax(24px,1fr) auto auto;align-self:stretch!important;height:100%!important;gap:5px!important}
 .championship-results>.round-edge-pick:first-child{grid-row:1}.championship-results>.champion-inline{grid-row:3!important;align-self:end!important}.championship-results>.round-edge-pick:last-child{grid-row:4}
}

/* Compact one-line CFP field selectors: seed, logo, team, composite rank and record. */
.seed-grid label,.first-out-row{position:relative;grid-template-columns:26px 34px 28px minmax(0,1fr) auto 12px!important;grid-template-rows:1fr!important;min-height:48px!important;padding:3px 2px!important;column-gap:6px!important}
.seed-grid label>.seed-number,.seed-grid label>.drag-handle,.seed-grid label>img,.seed-grid label>i,.first-out-row>span.seed-number,.first-out-row>.drag-handle,.first-out-row>img{grid-row:1!important}.seed-team{grid-column:4;grid-row:1;align-self:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:14px;font-weight:950}.seed-chevron{grid-column:6;grid-row:1;align-self:center;color:#fff;font-size:16px;font-weight:950;pointer-events:none}
.seed-grid label>select,.first-out-row>select{position:absolute!important;left:94px!important;right:0!important;top:3px!important;bottom:3px!important;z-index:3!important;width:auto!important;height:auto!important;min-height:0!important;opacity:0!important;cursor:pointer!important}
.seed-grid .seed-meta,.first-out-row>.seed-meta{position:static!important;grid-column:5!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:6px!important;min-height:0!important;padding:0!important;white-space:nowrap!important;pointer-events:none}
.seed-grid .drag-handle,.first-out-row>.drag-handle{width:34px!important;height:40px!important}.seed-grid img,.first-out-row>img{width:28px!important;height:28px!important}
.seed-grid .seed-meta .rating-rank,.seed-grid .seed-meta .team-record,.first-out-row>.seed-meta .rating-rank,.first-out-row>.seed-meta .team-record{font-size:12px!important;font-weight:950!important;margin:0!important}
@media(max-width:620px){.seed-grid label,.first-out-row{grid-template-columns:24px 34px 27px minmax(0,1fr) auto 11px!important;min-height:50px!important;padding:3px!important;column-gap:5px!important}.seed-grid label>select,.first-out-row>select{left:93px!important}.seed-team{font-size:13px}.seed-grid .drag-handle,.first-out-row>.drag-handle{width:34px!important;height:42px!important}.seed-grid img,.first-out-row>img{width:27px!important;height:27px!important}.seed-grid .seed-meta,.first-out-row>.seed-meta{gap:5px!important}.seed-grid .seed-meta .rating-rank,.seed-grid .seed-meta .team-record,.first-out-row>.seed-meta .rating-rank,.first-out-row>.seed-meta .team-record{font-size:11px!important}}

/* Reserve green for simulated winners; betting-edge cards use a neutral slate/cyan cue. */
.round-edge-pick{border-color:#6688a8!important;background:#17283b!important;box-shadow:inset 3px 0 #58c7e8!important}.round-edge-pick span,.round-edge-pick strong,.round-edge-pick small i{color:#7bdcf4!important}

/* Two-thirds simulator controls with a trophy hero on the right. */
.playoff-intro-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:14px;align-items:stretch;margin:18px 0 12px}
.playoff-intro-main{display:flex;flex-direction:column;min-width:0}
.playoff-intro-main .hero{margin:0 0 14px}
.playoff-intro-main .playoff-matchup{grid-template-columns:150px minmax(0,1fr);align-items:stretch;margin:0;flex:1;padding:12px 14px}
.trophy-panel{display:flex;align-items:center;justify-content:center;min-height:250px;overflow:hidden;border:1px solid var(--l);border-radius:12px;background:#000}
.trophy-panel img{display:block;width:100%;height:270px;object-fit:contain;object-position:center}
.matchup-label{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.matchup-label .neutral-check{display:inline-flex!important;order:0;grid-column:auto!important;width:auto!important;min-height:0!important;margin-top:11px;padding:6px 9px;border:1px solid #36536e;border-radius:5px;background:#071426;font-size:11px!important;line-height:1;color:#fff!important}
.matchup-label .neutral-check input{width:18px;height:18px;margin:0}
.matchup-controls{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(280px,1.45fr)!important;align-items:end}
.matchup-controls>label{display:flex;flex-direction:column;min-width:0}
.matchup-controls>label:not(.neutral-check){position:relative}.matchup-controls>label:not(.neutral-check)::after{content:"⌄";position:absolute;right:12px;bottom:16px;z-index:2;color:#fff;font-size:19px;font-weight:950;line-height:1;pointer-events:none}.matchup-controls select{-webkit-appearance:none;appearance:none;min-height:54px!important;height:54px;margin-top:3px;padding:8px 38px 8px 12px;font-size:15px!important}
.matchup-output{min-height:68px!important;height:auto!important;padding-top:8px!important;padding-bottom:8px!important;row-gap:5px!important}.matchup-card-link{grid-column:1/-1;min-height:34px!important;height:34px}

/* Two-way bracket selection: choose a seed first or choose a team first. */
.seed-picker-button{border:0;background:transparent;color:var(--gold);font:inherit;font-weight:950;padding:0;cursor:pointer;position:relative;z-index:5}.seed-picker-button:hover,.seed-picker-button:focus-visible{color:#fff;outline:2px solid #58c7e8;outline-offset:3px;border-radius:3px}
.team-first-picker{display:grid;grid-template-columns:auto minmax(180px,1fr) 120px;gap:7px;align-items:center;margin-top:10px;padding:8px;border:1px solid #294d76;border-radius:8px;background:#08182d}.team-first-picker b{color:#61ddf3;font-size:11px;letter-spacing:.06em}.team-first-picker select{min-width:0;height:38px;border:1px solid #36536e;border-radius:6px;background:#071426;color:#fff;font-weight:850;padding:5px 30px 5px 9px}

/* Keep the reach edge under the title game; pin champion and title edge to the lane bottom. */
.championship-results{display:flex!important;flex-direction:column;height:100%!important;align-self:stretch!important}.championship-bottom{margin-top:auto;display:grid;gap:6px}.championship-results>.round-edge-pick:first-child{flex:0 0 auto}.championship-bottom .champion-inline{margin:0!important;transform:none!important}.championship-bottom>.round-edge-pick{margin:0!important}

@media(max-width:900px){
 .playoff-intro-grid{grid-template-columns:1fr;position:relative;margin-top:14px}
 .playoff-intro-main .hero{min-height:118px;padding-right:105px}
 .trophy-panel{position:absolute;top:0;right:0;width:95px;min-height:118px;height:118px;border-radius:10px}
 .trophy-panel img{height:112px}
 .playoff-intro-main .playoff-matchup{grid-template-columns:110px minmax(0,1fr)}
 .matchup-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .matchup-output,.matchup-card-link{grid-column:1/-1}
}
@media(max-width:620px){
 .playoff-intro-grid{gap:8px}
 .playoff-intro-main .hero{min-height:105px;padding-right:82px;margin-bottom:9px}
 .trophy-panel{width:74px;height:105px;min-height:105px}.trophy-panel img{height:100px}
 .playoff-intro-main .playoff-matchup{display:block;padding:10px}
 .matchup-label{display:grid!important;grid-template-columns:1fr auto;align-items:center;margin-bottom:8px}
 .matchup-label>span{grid-column:1}.matchup-label .neutral-check{grid-column:2!important;grid-row:1/3;margin:0 0 0 8px}
 .matchup-controls>label:not(.neutral-check)::after{display:block;right:10px;bottom:15px;font-size:18px}.matchup-controls select{height:50px;min-height:50px!important;font-size:13px!important;padding-right:34px}
 .matchup-output,.matchup-card-link{height:auto;min-height:50px!important}
 .team-first-picker{grid-template-columns:1fr 92px}.team-first-picker b{grid-column:1/-1}.team-first-picker select{width:100%;font-size:13px}
}
