:root{--ink3:#a2adbe;--ink2:#bfc9d7;--blg:#43b9d4;--blg-hi:#75d8ef;--gen:#d2a75d;--gen-hi:#f2ce88;--good:#7dd99f;--bad:#ff9b94;--line2:#3a4960;--f-num:"DIN Alternate","Arial Narrow",system-ui,sans-serif}
body{margin:0}
.nav a.on,.nav a:hover{color:var(--ink);background:#253247}
button,summary{-webkit-tap-highlight-color:transparent}
summary{cursor:pointer}
.grid2>*,.grid3>*,.twocol>*,.explain>*,.duel>*,.sub,.panel,.tscroll{min-width:0}
.team-mark{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.15}
.team-emblem{width:28px;height:28px;object-fit:contain;flex:none;vertical-align:middle}
.key .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
.headline-value{display:flex;flex-direction:column;gap:6px;align-items:center;padding:6px 3px;border-radius:8px;background:var(--blg-soft);text-align:center}
.headline-value:last-child{background:var(--gen-soft)}
.headline-value .team-mark{font-size:12px}.headline-value .team-emblem{width:21px;height:21px}
.headline-value>strong{font-size:clamp(15px,2.2vw,25px);font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.path{display:block}
.route-totals,.route-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(56px,.23fr) minmax(0,1fr);gap:10px}
.route-team:last-child{grid-column:3}
.route-team{padding:13px 15px;border:1px solid var(--line2);border-top:3px solid var(--blg);background:var(--blg-soft);border-radius:9px}
.route-team.gen{border-top-color:var(--gen);background:var(--gen-soft)}
.route-team .team-mark{font-size:21px}.route-team .team-emblem{width:34px;height:34px}
.route-stat{display:flex;align-items:center;gap:10px;margin:5px 0}
.route-stat strong{font-size:32px;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.route-stat span,.route-team small{font-size:12px;line-height:1.35;color:var(--ink2)}
.route-group{margin-top:16px}
.route-group h4,.route-bracket h4{margin:0 0 9px;color:var(--ink2);font-size:13px;letter-spacing:.06em}
.route-row{align-items:stretch;margin-bottom:8px}
.route-match{font:inherit;text-align:left;color:var(--ink);min-width:0;border:1px solid var(--line2);border-radius:9px;cursor:pointer;background:var(--bg2);padding:8px 12px;display:grid;gap:4px}
.route-match:hover,.route-match:focus-visible{border-color:var(--blg-hi);background:var(--blg-soft)}
.route-match.gen:hover,.route-match.gen:focus-visible{border-color:var(--gen-hi);background:var(--gen-soft)}
.route-match-top,.route-match-sub,.route-rating{display:flex;align-items:center;justify-content:space-between;gap:3px}
.route-match-top strong{font-size:clamp(18px,3vw,27px);line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
.route-match-sub,.route-rating,.route-record{font-size:12px;line-height:1.35;color:var(--ink2)}
.route-match-sub b{font-size:11px;color:var(--blg-hi)}.route-match.gen .route-match-sub b{color:var(--gen-hi)}
.route-rating-track{height:4px;background:var(--line2);border-radius:3px;overflow:hidden}
.route-rating-track i{height:100%;display:block;background:var(--blg)}.route-match.gen .route-rating-track i{background:var(--gen)}
.route-round{align-self:stretch;display:grid;place-items:center;color:var(--ink2);font-size:12px;font-weight:700;text-align:center;position:relative;isolation:isolate}
.route-round::before{content:"";position:absolute;inset:-8px 50% 0 auto;border-right:1px dashed var(--line2);z-index:-1}
.route-qualified{display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--gen-hi);border:1px dashed var(--line2);border-radius:9px;background:var(--gen-soft);font-size:13px}
.route-qualified small{color:var(--ink2)}
.route-final{display:flex;justify-content:center;align-items:center;gap:clamp(8px,3vw,32px);padding:13px 5px;text-align:center;background:linear-gradient(90deg,var(--blg-soft),var(--bg2) 40% 60%,var(--gen-soft));border:1px solid var(--line2);border-radius:9px;margin-top:14px}
.route-final small{display:block;color:var(--ink2);font-size:11px}
.route-bracket,.radar-readout{margin-top:12px;border:1px solid var(--line2);border-radius:8px;background:var(--bg2);overflow:hidden}
.route-bracket summary,.radar-readout summary,.draft-bans summary{padding:9px 11px;font-size:13px;color:var(--ink2)}
.route-bracket-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 11px 11px}
.route-bracket-match{display:grid;grid-template-columns:1fr auto 1fr;gap:5px;align-items:center;padding:5px;border-top:1px solid var(--line);font-size:13px}
.route-bracket-match .team-mark:last-child{justify-self:end}
.route-bracket-match .team-emblem{width:20px;height:20px}
#route-dialog{background:var(--bg2);color:var(--ink);border:1px solid var(--line2);border-radius:13px;width:min(900px,calc(100% - 18px));max-width:none;max-height:min(86dvh,900px);padding:0;overscroll-behavior:contain;box-shadow:0 20px 80px #000a}
#route-dialog::backdrop{background:#05070bdb}
body:has(#route-dialog[open]){overflow:hidden}
.route-dialog-head{position:sticky;top:0;z-index:1;background:var(--bg2);display:flex;justify-content:space-between;align-items:center;gap:5px;padding:12px 14px;border-bottom:1px solid var(--line2)}
.route-dialog-head h2{display:flex;align-items:center;gap:10px;font-family:var(--f-num);font-size:clamp(19px,3.8vw,28px);margin-top:4px}
.route-dialog-head button{font:inherit;font-size:13px;color:var(--ink);background:var(--panel2);border:1px solid var(--line2);padding:6px 10px;border-radius:7px;cursor:pointer}
.route-dialog-games,#seriesView{display:grid;gap:12px}.route-dialog-games{padding:12px}
.draft-game{padding:10px;border:1px solid var(--line2);border-radius:9px;background:var(--bg2)}
.draft-game>header{display:flex;align-items:baseline;justify-content:space-between;gap:5px;margin-bottom:7px;color:var(--ink2);font-size:12px}
.draft-game>header strong{color:var(--ink);font-size:16px}
.draft-team{background:var(--panel);border-radius:7px;padding:7px;margin-bottom:4px}
.draft-team-head{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:13px}
.draft-team-head .team-emblem{width:23px;height:23px}
.draft-side{margin-left:auto;font-size:11px;padding:1px 6px;border-radius:4px;color:#ffbdb7;background:#502e37}
.draft-side.blue{color:#b3d6ff;background:#273f65}
.draft-win{color:var(--good)}.draft-loss{color:var(--bad)}
.draft-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;text-align:center}
.draft-slot{min-width:0}.draft-slot>span:first-child{display:block;font-size:10px;color:var(--ink3);margin-bottom:3px}
.draft-champion{display:flex;flex-direction:column;align-items:center;line-height:1.2;font-size:11px;gap:3px;overflow-wrap:anywhere}
.draft-champion img{width:clamp(29px,9vw,43px);height:auto;aspect-ratio:1;border-radius:5px;border:1px solid var(--line2)}
.draft-bans{border-top:1px solid var(--line);margin-top:7px}.draft-bans summary{padding-left:2px}
.draft-ban-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.draft-ban-grid>div{background:var(--panel);border-radius:6px;padding:6px}
.draft-ban-grid b{font-size:12px}
.draft-ban-grid img{opacity:.82}
.mside,.mside.l{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 6px;align-items:baseline}
.mside.l{justify-content:flex-end}
.mside.l .v{color:var(--blg-hi)}.mside.r .v{color:var(--gen-hi)}
.mside .v{font-size:clamp(13px,2vw,17px);line-height:1.2;white-space:normal;font-variant-numeric:tabular-nums}
.mside .rk{line-height:1}
.mside.l .b,.mside.r .b{order:3;flex-basis:100%;height:6px;background:var(--line2);position:relative;overflow:hidden}
.mside .b::after{position:absolute;content:"";inset:0 auto 0 0;width:var(--share,0%);background:var(--gen);border-radius:3px;transition:width .35s}
.mside.l .b::after{inset:0 0 0 auto;background:var(--blg)}
.mrow:has(.mside){padding:5px 0;border-bottom:1px solid var(--line)}
.mrow .lab{overflow-wrap:anywhere}
.radarbox{display:flex;flex-direction:column;align-items:center}.radarbox .radar-readout{width:100%}
.radar-tr{display:grid;grid-template-columns:minmax(64px,.72fr) repeat(2,minmax(0,1fr));gap:5px;padding:5px 7px;border-top:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}
.radar-th{align-items:center;color:var(--ink2)}.radar-th .team-emblem{width:20px;height:20px}.radar-tr small{display:block;color:var(--ink3)}
.ctable{width:100%}.ctable td:first-child,.ctable th:first-child{position:sticky;left:0;z-index:1;background:var(--panel);white-space:nowrap;border-right:1px solid var(--line)}
.ctable tbody tr:nth-child(even) td{background:var(--panel2)}
.cicon{object-fit:cover;vertical-align:middle}
.herorow .l,.herorow .r{border-radius:7px;padding:5px;background:var(--blg-soft)}
.herorow .r{background:var(--gen-soft)}
.pcard{min-width:0}.pcard.BLG{border-top:3px solid var(--blg)}.pcard.GEN{border-top:3px solid var(--gen)}
@media(max-width:900px){
  .nav .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 3px}
  .nav .brand{display:none}.nav a{text-align:center;padding:4px 1px;font-size:12px}
  .nav{padding-block:5px}
  .filter-banner{top:calc(env(safe-area-inset-top,0px) + 70px)}
  .ch,footer{scroll-margin-top:86px}
}
@media(max-width:560px){
  .hero{padding-block:26px 24px}
  .vs{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:3px}
  .vs .side img{width:min(100%,82px)}.vs .tsub,.vs .mid .when{font-size:11px;line-height:1.4}
  .vs .mid .k{font-size:38px}
  .count span{min-width:0;padding-inline:5px}
  .keys{gap:6px}.key{padding:8px}.key .lab{font-size:12px}
  .key .note{font-size:11px}.headline-value .team-mark{font-size:10px;gap:2px}
  .panel{padding:11px}.panel h3{font-size:17px}.sub{line-height:1.5}
  .route-totals,.route-row{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:5px}
  .route-team{padding:7px}.route-team .team-mark{font-size:17px}.route-team .team-emblem{width:27px;height:27px}
  .route-stat{gap:4px}.route-stat strong{font-size:26px}.route-stat span,.route-team small{font-size:10px}
  .route-match{padding:6px;gap:3px}.route-match-top .team-mark{gap:3px;font-size:11px}.route-match-top .team-emblem{width:20px;height:20px}
  .route-match-sub,.route-rating,.route-record{font-size:10px}.route-match-sub b{font-size:10px}
  .route-round{font-size:10px}
  .route-bracket-grid{grid-template-columns:minmax(0,1fr)}
  .draft-ban-grid{grid-template-columns:minmax(0,1fr)}
  .draft-game{padding:7px}.draft-team{padding:5px}.draft-team-head{font-size:12px}
  .duel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.duel .center{grid-column:1/-1}
  .pcard .meta{padding:8px}.pcard .nm{font-size:22px}.pcard .ph img.lg{width:26px;inset:6px 6px auto auto}
  .pcard .tg,.meme-tag{font-size:11px}.meme-tag{padding:4px}
  .pcard .badge{font-size:10px;padding:2px 4px}.pcard .badge b{font-size:12px}
  .pool{padding:0 8px 8px}.pool .ic{gap:4px}.pool .ci,.pool .ci img{width:30px}.pool .ci img{height:30px}
  .pool .ci span{font-size:10px}.roletabs .chip{padding:6px 8px}.roletabs .chip img{width:19px;height:19px}
  .mrow,.mhead{grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:5px}
  .mrow .lab{font-size:12px}.mrow .lab small{font-size:10px}
  .simout{grid-template-columns:repeat(2,minmax(0,1fr))}.simout>*{min-width:0;overflow-wrap:anywhere}
  .herorow{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:4px}.herorow .rl{font-size:10px}
  .herorow .ic{gap:4px}.herorow .ci,.herorow .ci img{width:29px}.herorow .ci img{height:29px}.herorow .ci span{font-size:10px}
  .orow{grid-template-columns:minmax(70px,.9fr) minmax(0,1.55fr) 19px;gap:4px;padding:5px}
  .orow .st,.orow .st b{font-size:11px}.orow .ics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.orow .ics img{width:100%;height:auto}.orow .res{font-size:12px}
  .bl{grid-template-columns:27px minmax(50px,1fr) minmax(12px,1fr) auto!important;gap:4px;font-size:11px}
  .bl img{width:27px;height:27px}
  .tip{inset:auto 8px max(8px,env(safe-area-inset-bottom))!important;max-width:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.srow{padding:4px 0;border-bottom:1px solid var(--line)}
.srow .c{font-weight:600;text-align:center}.srow .c img{flex:none;width:27px;height:27px}
.srow .sl,.srow .sr{flex-direction:column-reverse;align-items:stretch;gap:3px}
.srow .sl .v{text-align:right}.srow .sr .v{text-align:left}
.srow .sl .b{align-self:flex-end}.srow .b{height:6px;max-width:100%}
#pref .sl .v{color:var(--blg-hi)}#pref .sr .v{color:var(--gen-hi)}
@media(max-width:560px){
  #pxChart .bl{grid-template-columns:65px minmax(0,1fr) 37px!important}
  .srow{grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:5px}
  .srow .c{font-size:11px;line-height:1.15}
  #worldsCfg .mrow{grid-template-columns:minmax(76px,1fr) minmax(25px,1fr) 69px!important}
  .probrow{grid-template-columns:minmax(0,1fr);gap:4px}
}
.lane-facts{grid-column:1/-1;order:2;background:var(--panel);border:1px solid var(--line2);border-radius:8px;padding:4px 9px}
.lane-facts>div{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:baseline;text-align:center;padding:6px 0;border-bottom:1px solid var(--line)}
.lane-facts>div:last-child{border-bottom:0}.lane-facts span{font-size:12px;color:var(--ink2)}.lane-facts b{font-variant-numeric:tabular-nums;font-size:17px;line-height:1.25}
.duel-more{grid-column:1/-1;order:5;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:inherit}
.duel-more .badges,.duel-more-title{padding:0 14px}
.duel-more-title{padding-top:8px;font-size:13px;color:var(--ink2);line-height:1.3}
@media(max-width:560px){
  .duel-more .badges,.duel-more-title{padding-inline:8px}
  .duel-more-title{font-size:11px}.duel-more-title .team-emblem{width:21px;height:21px}
  .lane-facts>div{padding:5px 0}.lane-facts b{font-size:16px}
}
