/* Flighty palette: theme values and legacy aliases have one owner. */
:root{--bg:#07090d;--surface:#0b0f15;--ink:#e6e9ee;--secondary:#aab3c0;--muted:#8a94a3;--line:#2a323e;--soft-line:#1c232e;--positive:#3ee089;--summary:#121822;--court:#5d6878;--nav:#0d1219;--selected:#2b2315;--avatar-bg:#263040;--segment:#07090d;--segment-active:#f5b83d;--player-blue:#263a50;--player-red:#4c302b;--player-green:#244333;--shadow:0 2px 5px #0002;--hold-bg:#0d1219;--brand:#f5b83d;--accent:#f5b83d;--on-accent:#07090d;--negative:#ff5a3c;
--card:var(--surface);--card2:var(--summary);--tx:var(--ink);--txt:var(--ink);--mut:var(--secondary);--mute:var(--secondary);--dim:var(--muted);--hon:var(--accent);--hon2:var(--accent);--win:var(--positive);--loss:var(--negative);--mid:#c9a227;--r:16px;
--acc:#4ea1ff;--hold:#7cc4ff;--comp:#4ade80;--hon-rgb:245,184,61;--win-rgb:62,224,137;--loss-rgb:255,90,60;--ink-rgb:255,255,255;--comp-rgb:74,222,128;--mute-rgb:170,179,192;
--top-bg:var(--bg);--tabs-bg:var(--surface);--tabs-bg-d:var(--nav);--mark-bg:var(--nav);--skel-hi:#18212d;--pop-bg:var(--surface);--pop-shadow:rgba(0,0,0,.45);--scrim:rgba(0,0,0,.55);--tlbar-bg:var(--surface);--tlbar-shadow:rgba(0,0,0,.5);--well:rgba(0,0,0,.28);--pin-shadow:rgba(0,0,0,.6);--hme-tn:var(--selected);
--on-hon:#07090d;--ipill-tx:#07090d;--on-loss:#07090d;--knob:#fff;--danger:#c62828;--danger-hi:#e53935;--on-danger:#fff;--danger-line:rgba(255,80,80,.35);--check-line:#5b6b82;--check-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%2307090d' stroke-width='3'/%3E%3C/svg%3E");--heat-s:62%;--heat-l:42%}
[data-theme=light]{--bg:#f2f4f7;--surface:#ffffff;--ink:#151c26;--secondary:#586474;--muted:#5e6a7a;--line:#d9dfe7;--soft-line:#e1e6ec;--positive:#137044;--summary:#fff4dc;--court:#bda673;--nav:#e9edf2;--selected:#f8e8c6;--avatar-bg:#e0e5ec;--segment:#e9dfc8;--segment-active:#f5b83d;--player-blue:#dbe3ed;--player-red:#eeded9;--player-green:#d9e8df;--shadow:0 2px 5px #07090d10;--hold-bg:#e9edf2;--brand:#f5b83d;--accent:#805700;--on-accent:#151c26;--negative:#af3c28;
--mid:#7c6300;--acc:#1a5fcf;--hold:#0b5fae;--comp:#16a34a;--hon-rgb:128,87,0;--win-rgb:19,112,68;--loss-rgb:175,60,40;--ink-rgb:15,23,42;--comp-rgb:22,163,74;--mute-rgb:88,100,116;--skel-hi:#dfe4eb;--pop-shadow:rgba(15,23,42,.18);--scrim:rgba(15,23,42,.4);--tlbar-shadow:rgba(15,23,42,.18);--well:rgba(15,23,42,.04);--pin-shadow:rgba(15,23,42,.14);--on-hon:#fff;--on-loss:#fff;--ipill-tx:#fff;--check-line:#7b8696;--check-img:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3C/svg%3E");--heat-s:70%;--heat-l:46%}
*{box-sizing:border-box}html,body{margin:0}
body{background:var(--bg);color:var(--tx);font:16px/1.5 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;-webkit-font-smoothing:antialiased;padding-bottom:92px}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}
.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:var(--top-bg);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.logo{display:flex;gap:9px;align-items:center;font-weight:900;letter-spacing:-.02em;font-size:var(--type-section, 18px)}
.mark{width:30px;height:30px;border-radius:9px;background:var(--mark-bg);display:grid;place-items:center;padding:2px;box-shadow:0 0 0 1px var(--line)}.mark img{width:100%;height:100%}
.beta{font-size:var(--type-caption, 11px);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hon);border:1px solid rgba(var(--hon-rgb),.35);padding:3px 8px;border-radius:99px}
main{max-width:560px;margin:0 auto;padding:18px}
h1{font-size:28px;line-height:1.15;letter-spacing:-.03em;margin:8px 0 6px;font-weight:850}h2{font-size:var(--type-body, 15px);margin:26px 0 10px;color:var(--mut);font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.sub{color:var(--mut);margin:0 0 18px}.mut{color:var(--mut)}.dim{color:var(--dim)}.sm{font-size:var(--type-detail, 13px)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;margin-bottom:12px}
.choice{display:flex;gap:14px;align-items:center;padding:18px;width:100%;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:var(--r);margin-bottom:12px;transition:.15s}
.choice:hover{border-color:rgba(var(--hon-rgb),.5)}.choice .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--card2);flex:none}
.choice svg,.tabs svg,.ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.choice b{display:block;font-size:var(--type-body, 17px)}.choice span{color:var(--mut);font-size:14px}.choice.off{opacity:.55}
.soon{font-size:var(--type-caption, 11px);font-weight:700;color:var(--dim);border:1px solid var(--line);border-radius:99px;padding:2px 8px;margin-left:auto;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:13px 18px;font-weight:750;background:var(--hon);color:var(--on-hon);width:100%}
.btn:active{transform:scale(.99)}.btn.ghost{background:transparent;color:var(--tx);border:1px solid var(--line)}.btn.sm{width:auto;padding:8px 12px;font-size:14px}
input,select{width:100%;font:inherit;color:var(--tx);background:var(--card2);border:1px solid var(--line);border-radius:12px;padding:12px 14px;outline:none}input:focus,select:focus{border-color:var(--hon)}
.row{display:flex;gap:10px;align-items:center}.row>*{flex:1}.sp{justify-content:space-between}
.list{list-style:none;margin:0;padding:0}.list li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.list li:last-child{border:0}
.pn{font-weight:650}.meta{font-size:var(--type-caption, 12.5px);color:var(--mut)}.grow{flex:1;min-width:0}
.tag{font-size:var(--type-caption, 11px);font-weight:800;padding:2px 6px;border-radius:6px;letter-spacing:.02em}.tag.out{background:rgba(var(--loss-rgb),.16);color:var(--loss)}.tag.dtd{background:rgba(var(--hon-rgb),.16);color:var(--hon)}.tag.slot{background:var(--card2);color:var(--mut);min-width:40px;text-align:center}
.conf{width:8px;height:8px;border-radius:50%;flex:none}.conf.high{background:var(--win)}.conf.medium{background:var(--hon)}.conf.low{background:var(--loss)}
.x{background:none;border:0;color:var(--dim);font-size:20px;padding:0 4px}
.seg{display:flex;background:var(--card2);border-radius:12px;padding:4px;gap:4px;margin-bottom:14px;overflow-x:auto}.seg button{flex:1;border:0;background:none;color:var(--mut);padding:9px 10px;border-radius:9px;font-weight:650;font-size:14px;white-space:nowrap}.seg button.on{background:var(--card);color:var(--tx);box-shadow:0 0 0 1px var(--line)}
.hero{text-align:center;padding:22px 16px 18px}.hero .big{font-size:var(--type-win-chance, 64px);font-weight:900;letter-spacing:-.05em;line-height:1}.hero .big small{font-size:28px}
.hero .vs{color:var(--mut);font-size:14px;margin-bottom:8px}.hero .exp{color:var(--mut);margin-top:8px;font-size:14px}
.gauge{height:8px;border-radius:99px;background:rgba(var(--loss-rgb),.25);overflow:hidden;margin:16px 0 6px}.gauge i{display:block;height:100%;background:var(--win);border-radius:99px}
.cat{display:grid;grid-template-columns:44px 1fr 46px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.cat:last-child{border:0}
.cat b{font-size:var(--type-detail, 13px);letter-spacing:.02em}.bar{position:relative;height:10px;border-radius:99px;background:var(--card2);overflow:hidden}.bar i{position:absolute;left:0;top:0;bottom:0;border-radius:99px}
.bar.mid:after{content:"";position:absolute;left:50%;top:-2px;bottom:-2px;width:1px;background:rgba(var(--ink-rgb),.25)}
.pct{text-align:right;font-weight:800;font-variant-numeric:tabular-nums}.w{color:var(--win)}.l{color:var(--loss)}.s{color:var(--mid)}
.vals{grid-column:2/4;font-size:12px;color:var(--dim);margin-top:-4px;font-variant-numeric:tabular-nums}
.move{border-left:3px solid var(--hon)}.move .cta{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.delta{font-weight:850;color:var(--win)}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px}.stat b{font-size:var(--type-section, 22px);display:block}.stat span{font-size:var(--type-caption, 12.5px);color:var(--mut)}
.verdict{font-size:var(--type-section, 22px);font-weight:850;letter-spacing:-.02em;line-height:1.25}
.dbar{display:grid;grid-template-columns:86px 1fr 56px;gap:10px;align-items:center;padding:7px 0}.dtrack{position:relative;height:10px;background:var(--card2);border-radius:99px}.dtrack i{position:absolute;top:0;bottom:0;border-radius:99px}.dtrack:after{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:1px;background:rgba(var(--ink-rgb),.3)}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{background:var(--card2);border:1px solid var(--line);border-radius:99px;padding:7px 12px;font-size:14px}.chip.on{border-color:var(--hon);color:var(--hon2)}
.tabs{position:fixed;bottom:0;left:0;right:0;z-index:6;display:flex;background:var(--tabs-bg);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom))}
.tabs a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:var(--type-caption, 11px);font-weight:650;color:var(--dim)}.tabs a.on{color:var(--hon)}
.drop{border:1.5px dashed rgba(var(--hon-rgb),.4);border-radius:var(--r);padding:26px 16px;text-align:center;background:rgba(var(--hon-rgb),.04)}
.toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:var(--card2);border:1px solid var(--line);padding:10px 16px;border-radius:12px;font-size:14px;z-index:9}
.skel{height:14px;border-radius:8px;background:linear-gradient(90deg,var(--card2),var(--skel-hi),var(--card2));background-size:200% 100%;animation:sh 1.2s infinite;margin:10px 0}@keyframes sh{to{background-position:-200% 0}}
.note{font-size:var(--type-caption, 12.5px);color:var(--dim);margin-top:14px}
.sel{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tabs[hidden]{display:none}label.drop{display:block;cursor:pointer}
.lock{background:none;border:0;color:var(--dim);padding:4px;display:inline-grid;place-items:center}.lock svg,.klock svg,.knote svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.lock.on{color:var(--hon)}
.klock{color:var(--hon);display:inline-grid;margin-right:5px;vertical-align:-2px}.klock svg{width:13px;height:13px}
.knote{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:var(--type-detail, 13.5px);color:var(--hon2);background:rgba(var(--hon-rgb),.08);border-radius:10px;padding:9px 11px}.knote svg{width:16px;height:16px;flex:none;margin-top:2px}
.move.keeper{border-left-color:var(--loss)}
.pday{border-top:1px solid var(--line);padding:10px 0;margin-top:10px}.pmove{margin-top:6px;font-size:var(--type-detail, 14.5px)}.plus{color:var(--win);font-weight:900}.minus{color:var(--loss);font-weight:900}
.krow{cursor:pointer}.krow.on .pn{color:var(--hon2)}.krow .lock svg{width:20px;height:20px}
.tgl{width:50px;height:30px;border-radius:99px;border:0;background:var(--card2);position:relative;flex:none;box-shadow:inset 0 0 0 1px var(--line)}.tgl i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:var(--mut);transition:.15s}.tgl.on{background:var(--loss)}.tgl.on i{left:23px;background:var(--knob)}
.cmp{font-size:var(--type-body, 15px);margin-bottom:8px}.allin{margin-top:18px}.pmove .tag{white-space:normal;display:inline-block;margin-top:3px}
.lock.hold.on{color:var(--hold)}.legend{display:flex;align-items:center;gap:4px;margin:-6px 0 12px}.legend .lock{padding:0}
.tag.keeper-x{background:var(--loss);color:var(--on-loss);font-weight:900;letter-spacing:.03em}
/* ---- layout: mobile keeps the single column (sections reordered back to the mobile sequence) ---- */
.wk{display:flex;flex-direction:column}.wk .col{display:contents}
.o1{order:1}.o2{order:2}.o3{order:3}.o4{order:4}.o5{order:5}.o6{order:6}.o7{order:7}.o8{order:8}
.side h2{margin-top:22px}
/* ---- desktop (≥1024px): left sidebar + multi-column screens ---- */
@media (min-width:1024px){
  body{padding-bottom:0}body:has(.tabs:not([hidden])){padding-left:240px}
  body:has(.tabs:not([hidden])) .top{margin-left:-240px}.top{padding:16px 28px}
  .tabs{display:flex;top:0;bottom:0;right:auto;width:240px;flex-direction:column;gap:4px;padding:84px 14px 24px;border-top:0;border-right:1px solid var(--line);background:var(--tabs-bg-d);z-index:4}
  .tabs{justify-content:flex-start;align-content:flex-start;height:100vh}
  .tabs a{flex:0 0 auto;flex-direction:row;gap:12px;font-size:var(--type-detail, 14.5px);padding:11px 14px;border-radius:11px;color:var(--mut);transition:.15s}
  .tabs a:hover{background:var(--card);color:var(--tx)}
  .tabs a.on{background:rgba(var(--hon-rgb),.1);color:var(--hon2);box-shadow:inset 2px 0 0 var(--hon)}
  .tabs svg{width:19px;height:19px}
  main{max-width:1320px;padding:28px 36px 48px}
  h1{font-size:var(--type-heading, 34px)}
  .wk{display:grid;grid-template-columns:minmax(300px,1fr) minmax(340px,1.15fr) minmax(300px,1fr);gap:22px;align-items:start}
  .wk .col{display:block}.wk .col>:first-child>h2:first-child,.wk .col>.card:first-child{margin-top:0}
  .wk .c2 .allin{margin-top:0}.wk .c3 h2:first-child{margin-top:0}
  .wk .c1{position:sticky;top:84px}
  .hero{padding:28px 20px 22px}.hero .big{font-size:76px}
  .sides{display:grid;grid-template-columns:1fr 1fr;gap:22px}.side{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:4px 18px 18px}
  .btn.go{width:auto;padding:13px 34px}
  .trg{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.trg h2:first-child{margin-top:18px}
  .tg{display:grid;grid-template-columns:1fr 1.25fr;gap:24px;align-items:start}
  .tg .list li{padding:12px 4px}.tg .list li:hover{background:rgba(var(--ink-rgb),.02)}
  .toast{bottom:28px}
}
@media (min-width:1024px) and (max-width:1199px){.wk{grid-template-columns:1fr 1.2fr}.wk .c3{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:22px}.wk .c1{position:static}}

/* ---- This Week v2: Now -> With plan headline, scenarios, plan-first ---- */
.hero2{padding:20px 20px 16px}.hero2 .vs{color:var(--mut);font-size:var(--type-detail, 13.5px);text-align:center;margin-bottom:14px}
.hl{display:grid;grid-template-columns:1fr auto 1.5fr;align-items:end;gap:8px}
.hl span{display:block;font-size:var(--type-caption, 11.5px);font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}
.hl i{display:block;font-style:normal;font-size:var(--type-caption, 12.5px);color:var(--dim);margin-top:2px}
.hl .now b{font-size:var(--type-heading, 34px);font-weight:850;letter-spacing:-.03em;color:var(--mut);line-height:1.1;font-variant-numeric:tabular-nums}
.hl .with{text-align:right}.hl .with b{font-size:var(--type-win-chance, 68px);font-weight:900;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums}
.hl .arrow{display:flex;flex-direction:column;align-items:center;color:var(--dim);padding-bottom:16px}.hl .arrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hl .arrow small{font-weight:850;font-size:var(--type-detail, 13px)}.hl .arrow.up{color:var(--win)}
.gauge{position:relative;overflow:visible}.gauge u{position:absolute;top:-4px;bottom:-4px;width:2px;background:rgba(var(--ink-rgb),.55);border-radius:2px}
.scen{margin:14px 0 4px}.scen button{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.2}.scen em{font-style:normal;font-size:12px;color:var(--dim);font-weight:700;min-height:14px}
.scen button.on em{color:var(--hon2)}.scen button.ai.on{box-shadow:0 0 0 1px rgba(var(--loss-rgb),.5)}.scen button.ai.on em{color:var(--loss)}
.warnline{color:var(--loss);margin-top:6px}
h2 .hmeta{float:right;text-transform:none;letter-spacing:0;font-weight:600;color:var(--dim);font-size:var(--type-caption, 12.5px)}
.today{border:1px solid rgba(var(--hon-rgb),.4);background:linear-gradient(180deg,rgba(var(--hon-rgb),.07),var(--card) 70%)}
.today .pmove{font-size:16px;padding:10px 0;border-bottom:1px solid var(--line);margin:0}.today .pmove:last-child{border:0}
.pm{display:flex;align-items:baseline;gap:8px}.pm .gain{margin-left:auto;font-weight:850}.pm .tag{margin-left:6px}
.pmove{margin-top:8px}.hold b{color:var(--tx)}
.restw .pday:first-child{border-top:0;margin-top:0;padding-top:0}.foot{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}
.others{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px;margin-bottom:12px}.others summary{cursor:pointer;color:var(--mut);font-weight:700;font-size:14px}
.stats2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats2 b{font-size:var(--type-heading, 24px);display:block}.stats2 span{font-size:var(--type-caption, 12.5px);color:var(--mut)}
.list.tight li{padding:8px 0}
@media (min-width:1024px){
  main{max-width:1480px;padding:20px 28px 28px}
  .wk{grid-template-columns:minmax(340px,1fr) minmax(380px,1.2fr) minmax(280px,.85fr);gap:20px}
  .wk .c1{position:static}
  .wk h2{margin:16px 0 8px}
  .catsc .cat{padding:5px 0}.catsc .vals{margin-top:-6px}
  .wk .c2,.wk .c3{max-height:calc(100vh - 110px);overflow:auto;scrollbar-width:thin;padding-right:2px}
  .wk .c3 .list.tight li{padding:6px 0}
  .note{margin-top:8px}
}
@media (min-width:1024px) and (max-width:1199px){.wk{grid-template-columns:1fr 1.2fr}.wk .c3{grid-column:1/-1;display:block;max-height:none}}
@media (min-width:1024px){
  .catsc{padding:10px 16px}.catsc .cat{grid-template-columns:40px 1fr auto 42px;padding:4px 0}.catsc .vals{grid-column:auto;grid-row:1;grid-column-start:3;margin:0;font-size:var(--type-caption, 11.5px);white-space:nowrap}
  .catsc .cat .pct{grid-column:4}
  .hero2{padding:16px 18px 12px}.hero2 .vs{margin-bottom:8px}.hl .with b{font-size:var(--type-metric, 60px)}
}
/* ---- This Week v3: balanced full-height grid ---- */
.ch{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}.ch b{font-size:var(--type-caption, 12.5px);letter-spacing:.08em;text-transform:uppercase;color:var(--mut);font-weight:750}
.bar i,.gauge i{transition:width .55s cubic-bezier(.2,.8,.2,1),background-color .55s}
.hl .arrow{transition:opacity .3s,color .3s}
#wToday,#wRest{transition:opacity .14s}.fade{opacity:0}
.catsc .cat{display:grid;grid-template-columns:44px 1fr 46px;gap:10px;align-items:center;padding:8px 0}
.catsc .vals{grid-column:2/4;font-size:12px;color:var(--dim);margin-top:-4px}
.live .mrow{display:flex;justify-content:space-between;align-items:center;padding:4px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px;font-size:14px;color:var(--mut)}
.stepper{display:inline-flex;align-items:center;gap:10px}.stepper b{color:var(--tx);font-variant-numeric:tabular-nums;min-width:48px;text-align:center}
.stepper button{width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:var(--card2);color:var(--tx);font-size:16px;line-height:1}
.today .pmove{font-size:var(--type-body, 15.5px)}
.restw .pday:first-child{border-top:0;margin-top:0;padding-top:0}
.restw .others{margin:12px 0 0;background:var(--card2)}
@media (max-width:1023px){.wk{gap:0}.wk .col{display:contents}.c1>.hero2{order:1}.c2>.today{order:2}.c2>.restw{order:3}.c1>.catsc{order:4}.c3>.live{order:5}.c3>.grow1{order:6}}
@media (min-width:1024px){
  main:has(.wk){max-width:none;padding:20px 24px 12px}
  .wk{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:18px;height:calc(100vh - 64px - 52px);min-height:660px;align-items:stretch}
  .wk .col{display:flex;flex-direction:column;gap:18px;min-height:0;max-height:none;overflow:visible;padding:0}
  .wk .card{margin:0;padding:18px 20px}
  .wk .grow1{flex:1;min-height:0;display:flex;flex-direction:column}
  .wk .scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;margin-right:-8px;padding-right:8px}
  .catsc .catlist{flex:1;display:flex;flex-direction:column;justify-content:space-between}
  .catsc .cat{grid-template-columns:44px 1fr 46px;padding:0;row-gap:2px}.catsc .vals{grid-column:2/4;margin:0;font-size:12px}
  .hero2{padding:18px 20px 14px}.hero2 .vs{text-align:left;margin-bottom:12px}
  .hl .with b{font-size:var(--type-win-chance, 72px)}
  .today{flex:none}.today #wToday{max-height:30vh;overflow:auto}
  .note{margin:10px 0 0}
}
.catsc .cat>b{grid-row:1;grid-column:1}.catsc .cat>.bar{grid-row:1;grid-column:2}.catsc .cat>.pct{grid-row:1;grid-column:3}.catsc .cat>.vals{grid-row:2;grid-column:2/4}
.tag.grab{background:rgba(var(--win-rgb),.14);color:var(--win);margin-left:6px}.hon{color:var(--hon2)}
.steps{margin:0 0 14px;padding-left:20px;color:var(--mut);font-size:14px}.steps li{margin:6px 0}code{background:var(--card2);padding:1px 5px;border-radius:5px;font-size:var(--type-detail, 13px)}
.act .list li{padding:7px 0}
.fast{color:var(--hon2);font-style:italic}
.collapse{display:none}
@media (min-width:1024px){
  .collapse{display:grid;place-items:center;position:absolute;top:84px;right:-13px;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background:var(--card2);color:var(--mut);padding:0;z-index:5}
  .collapse svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
  .tabs{padding-top:118px;transition:width .2s}.tabs a span{white-space:nowrap;overflow:hidden;transition:opacity .15s}
  body.navmini:has(.tabs:not([hidden])){padding-left:72px}body.navmini:has(.tabs:not([hidden])) .top{margin-left:-72px}
  body.navmini .tabs{width:72px;padding-left:12px;padding-right:12px}body.navmini .tabs a{justify-content:center;padding:11px 0}body.navmini .tabs a span{display:none}
  body.navmini .collapse svg{transform:rotate(180deg)}
}
/* launch-17ly: sidebar 216px below 1440 (more room for the 3-column screens at 1280); 240px from 1440; the collapsed 72px rail wins either way */
@media (min-width:1024px) and (max-width:1439px){
  body:has(.tabs:not([hidden])){padding-left:216px}body:has(.tabs:not([hidden])) .top{margin-left:-216px}.tabs{width:216px}
}
/* ESPN connection controls must honor their state even with .btn display rules. */
#emobile [hidden]{display:none}
#emobile .mobile-steps{padding-left:22px;margin:14px 0;line-height:1.6}
#emobile .mobile-steps .btn{font-size:16px}
#emobile .mobile-steps li{padding-left:3px;margin-bottom:12px}
#emobile [data-mobile="actions"]{display:flex;gap:8px;flex-wrap:wrap}
#emobile [data-mobile="actions"][hidden]{display:none}

.connect{max-width:520px;margin:0 auto}.reassure{margin:14px 0 0;text-align:center}
.ill{list-style:none;padding:0;margin:12px 0}.ill li{display:flex;gap:10px;align-items:flex-start;margin:10px 0;color:var(--tx);font-size:14px}
.ill-n{flex:none;width:22px;height:22px;border-radius:50%;background:var(--card);border:1px solid var(--line);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--hon)}
.mock{margin-top:8px;border:1px solid var(--line);border-radius:8px;overflow:hidden;font-size:12px}.mrow2{display:grid;grid-template-columns:90px 1fr;padding:5px 8px;border-top:1px solid var(--line);color:var(--mut)}.mrow2:first-child{border:0;background:var(--card)}

.writeup{margin:10px 0 4px;line-height:1.55;color:var(--txt);max-width:900px}
.stats4{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:14px}
.stats4 .stat{display:flex;flex-direction:column;gap:6px}.stats4 .stat b{font-size:20px}
.dynrow{display:flex;gap:24px;flex-wrap:wrap}.dynrow>div{display:flex;flex-direction:column;gap:2px}
.sides2{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:760px){.sides2{grid-template-columns:1fr}}
.ct{width:100%;border-collapse:collapse;margin-top:8px;font-variant-numeric:tabular-nums}.ct th{text-align:right;font-weight:500;color:var(--mut);font-size:12px;padding:4px 6px}
.ct td{text-align:right;padding:5px 6px;border-top:1px solid rgba(var(--ink-rgb),.05);font-size:14px}.ct td:first-child,.ct th:first-child{text-align:left}
.heat{width:100%;border-collapse:separate;border-spacing:3px;font-variant-numeric:tabular-nums}.heat th{font-size:12px;color:var(--mut);font-weight:500;padding:4px}
.heat td{text-align:center;padding:8px 4px;border-radius:6px;font-size:var(--type-detail, 13px)}.heat td.tn{text-align:left;background:none;white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis}
.seg2{display:inline-flex;gap:4px;background:rgba(var(--ink-rgb),.04);padding:4px;border-radius:10px}.seg2 button{background:none;border:0;color:var(--mut);padding:6px 12px;border-radius:7px;cursor:pointer}.seg2 button.on{background:rgba(var(--ink-rgb),.08);color:inherit}
.lg3{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:760px){.lg3{grid-template-columns:1fr}}
.judg{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pill{padding:4px 10px;border-radius:999px;background:rgba(var(--ink-rgb),.06);font-size:var(--type-detail, 13px)}.pill.w{color:var(--win)}.pill.l{color:var(--loss)}

.helps{display:inline}.helps summary{display:inline;cursor:pointer;list-style:none}.helps summary::-webkit-details-marker{display:none}.helps[open] summary{margin-right:6px}.helps summary::after{content:' ▾';opacity:.6}
.heatwrap{overflow:visible}.heat th{position:sticky;top:60px;background:var(--card);z-index:3}
@media (max-width:760px){.heatwrap{max-height:70vh;overflow:auto}.heat th{top:0}}
.klegend{display:flex;gap:14px;align-items:center;margin:8px 0 0}.klegend .lock{display:inline-flex}
.steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.steps3 .st{background:rgba(var(--ink-rgb),.03);border:1px solid var(--line);border-radius:12px;padding:14px}.steps3 b{display:block;margin-bottom:6px}.steps3 code{font-size:12px;word-break:break-all;color:var(--hon)}
@media(max-width:760px){.steps3{grid-template-columns:1fr}}

.chip.tier-soft{border-color:rgba(var(--hon-rgb),.45)}
.tierstrip .tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;margin-top:12px}
.tier{border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;border:1px solid var(--line)}
.tier.soft{background:rgba(var(--hon-rgb),.10)}.tier.competitive{background:rgba(var(--comp-rgb),.10)}
.tier.chg{outline:2px solid var(--hon)}.tier .tl{font-size:12px;font-weight:600}
.tdot{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 4px 0 10px}.tdot.soft{background:var(--hon)}.tdot.competitive{background:var(--comp)}
.hl-win{margin-top:6px;color:var(--mut)}.hl-win b{color:var(--txt)}
.goalseg{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:10px 0 2px}.goalseg .meta{margin-right:4px}
.linkbtn{background:none;border:0;color:var(--hon);cursor:pointer;padding:8px 0 0;font-weight:600}
#allcats{scroll-margin-top:70px}
.short{font-size:var(--type-body, 15px);margin:10px 0 4px}.short .linkbtn{padding:0 0 0 6px}
@media (max-width:760px){.writeup.collapsible{display:none}.writeup.collapsible.open{display:block}.stat.dupme{display:none}}
@media (min-width:761px){.short{display:none}}
.judg.warnmix{border:1px solid rgba(var(--hon-rgb),.5);background:rgba(var(--hon-rgb),.08);border-radius:10px;padding:6px 8px;align-items:center;color:var(--hon)}
.pgp{color:var(--mut)}
.cflag{display:inline-block;margin-top:4px;font-size:12px;color:var(--hon);border:1px solid rgba(var(--hon-rgb),.4);border-radius:999px;padding:1px 8px}
@keyframes shim{0%{opacity:.35}50%{opacity:.8}100%{opacity:.35}}.verdict.shimmer{color:var(--mut);animation:shim 1.4s ease-in-out infinite}
.refining{font-size:12px;color:var(--mut);margin-left:8px;animation:shim 1.4s ease-in-out infinite}
.rk{white-space:nowrap}.rk .inj{font-style:normal;font-size:var(--type-caption, 10px);color:var(--loss);margin-left:2px;vertical-align:super}

.info{background:none;border:0;color:var(--mut);cursor:pointer;font-size:var(--type-detail, 13px);padding:0 3px;vertical-align:baseline}.info:hover{color:var(--hon)}
.popover{position:absolute;z-index:50;background:var(--pop-bg);border:1px solid var(--line);border-radius:12px;padding:12px 14px;box-shadow:0 10px 30px var(--pop-shadow);font-size:14px}
.popover p{margin:0 0 8px}.popover a{color:var(--hon);font-weight:600}
.how{max-width:760px}.howtoc{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.howtoc a{border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:var(--type-detail, 13px)}
.howsec{scroll-margin-top:70px;margin-bottom:14px}.howsec .one{font-weight:600;color:var(--hon)}.howsec p,.howsec li{line-height:1.55}
.foot{text-align:center;padding:24px 0 90px;font-size:var(--type-detail, 13px)}.foot a{color:var(--mut)}
.tabs .howlink{display:none}
@media (min-width:761px){.tabs .howlink{display:flex;margin-top:auto;font-size:12px;opacity:.75}.foot{padding-bottom:28px}}
.popover.sheet{position:fixed;left:10px;right:10px;bottom:calc(74px + env(safe-area-inset-bottom));top:auto!important;width:auto!important;border-radius:16px;padding:16px 18px;font-size:var(--type-body, 15px);animation:up .18s ease-out}@keyframes up{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
.plhead{display:flex;gap:8px;padding:0 0 6px;border-bottom:1px solid var(--line)}.pcol{width:84px;text-align:right;flex:none}
.lg3:has(> :only-child){grid-template-columns:1fr}

.howwrap{display:grid;grid-template-columns:minmax(0,760px) 220px;gap:28px;align-items:start}
.howwrap .howtoc{position:sticky;top:76px;display:flex;flex-direction:column;gap:6px;margin:64px 0 0}
.howwrap .howtoc a{border:0;border-left:2px solid var(--line);border-radius:0;padding:4px 10px;font-size:var(--type-detail, 13px);color:var(--mut)}.howwrap .howtoc a:hover{color:var(--hon);border-left-color:var(--hon)}
@media (max-width:1100px){.howwrap{grid-template-columns:1fr}.howwrap .howtoc{position:static;flex-direction:row;flex-wrap:wrap;margin:0;order:-1}.howwrap .howtoc a{border:1px solid var(--line);border-radius:999px}}
.howwrap .howtoc a{font-size:14px}.howwrap .howtoc .meta{font-size:var(--type-detail, 13px)}.howwrap .howtoc a.on{color:var(--hon);border-left-color:var(--hon);font-weight:600}
.legend{display:flex;flex-direction:column;gap:6px;margin-top:10px}.legend i.lock{display:inline-flex;vertical-align:middle;width:18px;height:18px;margin-right:4px}.legend i.lock svg{width:14px;height:14px}
@media(min-width:761px){.tg>div:first-child{position:sticky;top:72px;align-self:start}}
@media (min-width:761px){.tabs .howlink+.howlink{margin-top:2px}}.lgtabs{margin:16px 0 4px}
#cih{width:18px;height:18px;flex:none}[data-edit]{flex:none;width:auto}
.danger{margin-top:40px;padding-top:16px;border-top:1px solid var(--danger-line);display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.danger #reset{background:var(--danger);color:var(--on-danger);border-color:var(--danger)}.danger #reset:hover{background:var(--danger-hi)}
.cflag.less{color:var(--mute);border-color:rgba(var(--mute-rgb),.4)}
.legend i.inj,.legend i.cflag{font-style:normal;display:inline-block;width:18px;margin-right:4px;text-align:center}
.teamrow{flex-wrap:nowrap;gap:10px}.teamrow .pn{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teamrow .meta{flex:none}
.tlink{color:inherit;text-decoration:none}.tlink:hover{text-decoration:underline}
@media (max-width:760px){.pickrow{flex-direction:column;align-items:stretch}.pickrow>div{width:100%}}

.wvl li.wv{display:block;padding:12px 0}.wvh{display:flex;align-items:center;gap:6px}
.wvtags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px 28px}.wvm,.why{margin-left:28px}.why{font-size:var(--type-caption, 12.5px);color:var(--mut);margin-top:4px}
.ipill{font:inherit;font-size:12px;font-weight:650;border-radius:999px;padding:3px 10px;cursor:pointer;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.ipill.out{background:var(--hon);color:var(--ipill-tx);border:1px solid var(--hon)}.ipill.q{background:transparent;color:var(--hon);border:1px solid rgba(var(--hon-rgb),.6)}
.wvc{display:flex;flex-wrap:wrap;gap:4px 12px;margin:6px 0 0 28px;font-size:var(--type-caption, 12.5px)}
.ptag{font-size:var(--type-caption, 10px);font-weight:650;padding:0 5px;border-radius:5px;border:1px solid var(--line);color:var(--mut);vertical-align:1px}
/* rookie values */
.rkv{margin-top:6px;max-width:320px}
.rkh{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.rkt{font-size:var(--type-detail, 13px)}
.rtag{font-size:var(--type-caption, 11px);padding:1px 6px;border-radius:9px;border:1px solid var(--line);color:var(--mut)}
.rbar{position:relative;height:3px;border-radius:2px;margin:22px 0 2px;background:linear-gradient(90deg,var(--line),var(--hon))}
.rbar i{position:absolute;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--hon)}
.rends{display:flex;justify-content:space-between;font-size:var(--type-caption, 11px)}
.rlow{color:var(--mut);opacity:.85}
.wnote{margin:4px 0 0 28px;font-size:var(--type-caption, 12.5px);color:var(--mut)}
.tag.opp{background:rgba(var(--win-rgb),.14);color:var(--win);margin-left:6px;white-space:nowrap} /* launch-17o B: 'S. Sharpe out' opportunity tag on the waiver meta row, never red */
/* launch-17f8: 'On waivers' tag is a button with an in-page tip: tap toggles it (phones), hover / keyboard focus shows it (desktop) */
.wwt{position:relative;display:inline-block;margin-left:6px;vertical-align:baseline}
.tag.wvw{background:rgba(var(--hon-rgb),.16);color:var(--hon);border:0;font-family:inherit;line-height:inherit;white-space:nowrap;cursor:pointer;position:relative}
.tag.wvw::after{content:"";position:absolute;inset:-8px -4px} /* bigger tap target, same 17 px tag */
.tag.wvw:focus-visible{outline:2px solid var(--hon);outline-offset:2px}
.wtip{display:none;position:absolute;left:0;top:calc(100% + 6px);z-index:20;width:max-content;max-width:min(260px,calc(100vw - 16px));white-space:normal;background:var(--card2);color:var(--tx);border:1px solid var(--line);border-radius:8px;padding:6px 9px;font-size:var(--type-caption, 12.5px);font-weight:600;line-height:1.35;box-shadow:0 6px 18px var(--tlbar-shadow)}
.wwt.open .wtip,.wwt:has(.wvw:focus-visible) .wtip{display:block}
@media (hover:hover){.wwt:hover .wtip{display:block}}
.wwt.shut .wtip{display:none!important}
@media (max-width:480px){.wvc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 8px;font-size:12px}.wvc>span{white-space:nowrap}.ptag{font-size:var(--type-caption, 9px);padding:0 3px}}

.rmid{position:absolute;bottom:8px;transform:translateX(-50%);white-space:nowrap;font-size:var(--type-caption, 11px);color:var(--hon)}
.vhead{display:flex;justify-content:flex-end;padding:0 12px 4px;font-size:var(--type-caption, 11px)}
@media (max-width:480px){.ipill{white-space:normal;text-align:left;overflow:visible}}
/* ---- Trade Lab v2 ---- */
.tl{display:flex;flex-direction:column;gap:12px}.tlp{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:4px 16px 16px;min-width:0}
.tlh h2{margin:16px 0 8px}.tlsel{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.tlpc{display:inline-flex;align-items:center;gap:2px;background:var(--card2);border:1px solid rgba(var(--hon-rgb),.45);color:var(--hon2);border-radius:99px;padding:5px 6px 5px 12px;font-size:14px;font-weight:600}.tlpc.pk{border-style:dashed}.tlpc .x{font-size:var(--type-section, 18px);line-height:1}
.tlact{gap:8px}.tlact>*{flex:0 0 auto}.tlroster{display:none}.tlq{margin:10px 0 6px;padding:9px 12px;font-size:14px}
.tlrows{display:flex;flex-direction:column}.tlrow{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);padding:10px 2px;font-size:var(--type-detail, 14.5px)}.tlrow:last-child{border:0}.tlrow[hidden]{display:none}
.tlck{width:20px;height:20px;border-radius:6px;border:1.5px solid var(--dim);display:grid;place-items:center;font-size:var(--type-detail, 13px);flex:none;color:var(--on-hon)}.tlrow.on .tlck{background:var(--hon);border-color:var(--hon)}.tlrow.on b{color:var(--hon2)}
.tlv{padding-top:14px;position:relative}.tlmode{margin-bottom:12px}.tlempty{padding:20px 4px;text-align:center}.tlempty p{margin:6px 0 0}
.tlverd .verdict.s{color:var(--hon2)}.bal{position:relative;height:12px;border-radius:99px;margin:14px 0 4px;background:linear-gradient(90deg,rgba(var(--loss-rgb),.35),rgba(var(--ink-rgb),.06) 45%,rgba(var(--ink-rgb),.06) 55%,rgba(var(--win-rgb),.35))}
.bal .fz{position:absolute;left:45%;width:10%;top:-3px;bottom:-3px;border-radius:5px;background:rgba(var(--hon-rgb),.22);border:1px solid rgba(var(--hon-rgb),.5)}.bal i{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--tx);box-shadow:0 0 0 3px var(--bg);transition:left .4s}
.balk span{flex:0 0 auto}.take{color:var(--hon);font-weight:650;margin:10px 0 4px;font-size:var(--type-body, 15.5px)}
.tldrop,.tlfair,.tlspot{margin-top:14px}.tldrop select{margin-top:6px}.tlfair .chips{margin-top:6px}.chip.mif{text-align:left}.chip.mif .meta{margin-left:4px;color:var(--win)}
.tlch{margin:18px 0 6px}.tlch>*{flex:0 0 auto}.seg.mini{margin:0;padding:3px}.seg.mini button{padding:5px 12px;font-size:var(--type-detail, 13px)}
.cstrip{font-variant-numeric:tabular-nums;font-size:14px}.csh,.csr{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(4,minmax(0,1fr));gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}.csh{font-size:var(--type-caption, 11.5px);color:var(--dim);text-transform:uppercase;letter-spacing:.04em;padding-top:0}.csr:last-child{border:0}.csr>span,.csh>span{text-align:right}.csr b{font-size:var(--type-detail, 13px);white-space:nowrap}
.tlwrite{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--card2)}.tlwrite p{margin:6px 0 0;font-size:14px;color:var(--mut)}
.tlbar{display:none}.tlbarwhy{flex:none;font-weight:700;color:var(--hon);text-decoration:underline;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.tlclose{display:none}
.bsheet{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit}.bsheet::backdrop{background:transparent}.bsbg{position:absolute;inset:0;background:var(--scrim)}.bsin{position:absolute;left:0;right:0;bottom:0;max-height:82vh;overflow:auto;background:var(--card);border-radius:18px 18px 0 0;border-top:1px solid var(--line);padding:6px 18px calc(18px + env(safe-area-inset-bottom));animation:up .18s ease-out}.bsin .tlq{position:sticky;top:0}.bsx{position:absolute;right:12px;top:12px;font-size:var(--type-heading, 26px)}
@media (max-width:1023px){
  .tlv{display:none}.tlv.open{display:block;position:fixed;left:0;right:0;bottom:0;top:8vh;z-index:15;overflow:auto;border-radius:18px 18px 0 0;padding-bottom:calc(30px + env(safe-area-inset-bottom));animation:up .18s ease-out}
  body.tlsheet:after{content:"";position:fixed;inset:0;background:var(--scrim);z-index:14}.tlv.open .tlclose{display:block;position:absolute;right:12px;top:8px;font-size:var(--type-heading, 26px);z-index:2}.tlv.open .tlmode{margin-right:36px}
  .tlbar:not([hidden]){display:flex;align-items:center;gap:10px;position:fixed;left:8px;right:8px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:7;text-align:left;background:var(--tlbar-bg);border:1px solid var(--line);border-left:4px solid var(--hon);border-radius:14px;padding:10px 12px;box-shadow:0 8px 30px var(--tlbar-shadow)}
  .tlbar.w{border-left-color:var(--win)}.tlbar.l{border-left-color:var(--loss)}.tlbar .grow{display:block;overflow:hidden;font-size:14px;line-height:1.3}.tlbar .grow .meta{display:block;color:var(--hon);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tlbar>.meta{flex:none}
  .tlbal{flex:0 0 54px;height:8px;border-radius:9px;position:relative;background:linear-gradient(90deg,rgba(var(--loss-rgb),.5),rgba(var(--ink-rgb),.1) 45%,rgba(var(--ink-rgb),.1) 55%,rgba(var(--win-rgb),.5))}.tlbal i{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--tx)}
  body:has(.tlbar:not([hidden])){padding-bottom:170px}
}
@media (min-width:1024px){
  .tl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr);gap:18px;align-items:start}.tlroster{display:block}.tlopen{display:none}
  .tlp{max-height:calc(100vh - 170px);overflow:auto}.tlv{position:sticky;top:84px}
}
.updchip{position:sticky;top:64px;float:right;z-index:3;background:var(--card2);border:1px solid var(--line);border-radius:99px;padding:3px 10px;animation:shim 1.4s ease-in-out infinite}
.tright{display:flex;align-items:center;gap:10px;min-width:0}.stamp{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:480px){.tright{flex-direction:column;align-items:flex-end;gap:2px}.stamp{font-size:var(--type-caption, 10.5px)}.top .beta{font-size:var(--type-caption, 9.5px);padding:2px 6px}}

.ch{flex-wrap:wrap;gap:2px 10px}
#syncnow:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(1)}
@media (max-width:400px){.choice.synccard{flex-wrap:wrap}.choice.synccard #syncnow{flex:1 1 100%!important;width:100%;margin-top:4px}}
.rkhit{margin:4px 0 2px;font-size:var(--type-caption, 12.5px)}.rkhit summary{cursor:pointer;color:var(--mut);list-style:none}.rkhit summary::-webkit-details-marker{display:none}.rkhit summary::after{content:' ▾';opacity:.7}.rkhit[open] summary::after{content:' ▴'}.rkhit ul{margin:6px 0 0;padding-left:16px}.rkhit li{margin:2px 0}
.rkhit .rkd{margin:6px 0 2px;display:grid;gap:3px}
.rkhit .rkd{background:var(--well);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:var(--type-caption, 11.5px);line-height:1.4;gap:4px}
/* My Team Keeper / Don't drop toggles: labelled, ≥44px tap targets */
.mtogs{display:inline-flex;gap:4px;flex-shrink:0}.mtog{min-width:44px;min-height:44px;padding:4px 6px;border:1px solid var(--line);border-radius:10px;background:none;color:var(--dim);display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:var(--type-caption, 10px);line-height:1.1;cursor:pointer}.mtog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mtog.keep.on{color:var(--hon);border-color:var(--hon)}.mtog.hold.on{color:var(--hold);border-color:var(--hold)}.mtog:disabled{opacity:.5}
/* League page: punted categories keep order + colors, small 'Punted' tag only; "vs You" head-to-head win chance */

.vsme{display:block;font-size:var(--type-caption, 10.5px);font-weight:600;color:var(--mut);white-space:nowrap}
/* Trade Lab tabs + per-game stat grid (launch-fixes) */
.tltabs{max-width:420px}.tltabs button{min-height:44px}
.tlstatbar{align-items:center;gap:10px;margin:0 0 12px;flex-wrap:wrap}.tlstatbar .seg.mini{margin:0}.tlstatbar .seg.mini button{min-height:44px}
.tlst{display:block;margin-top:4px}.tlsg{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;font-size:var(--type-caption, 11.5px);font-variant-numeric:tabular-nums;color:var(--tx)}
.tlsg span{display:flex;flex-direction:column;align-items:center;min-width:0}.tlsg i{font-style:normal;font-size:var(--type-caption, 9.5px);color:var(--dim);letter-spacing:.02em}
.tlsg .w{color:var(--win)}.tlsg .l{color:var(--loss)}.tlsg.meta{display:block}
.tlrow{min-height:44px}.tlsoon{margin-top:4px}.tlsoon .btn{margin-top:10px;min-height:44px}
.tlstatbar .seg.mini{flex:1 1 220px;min-width:0}.tlstatbar .seg.mini button{flex:1;padding:5px 8px}
/* Trade Lab: on phones, "Share this trade" sits under the teaser verdict line */
.shr-m{display:none}@media (max-width:760px){.shr-d{display:none}.shr-m{display:flex;width:100%;min-height:44px;justify-content:center;margin:2px 0 10px}}
.heat .ptag.hp{display:block;margin:2px auto 0;width:max-content;font-size:var(--type-caption, 8.5px);padding:0 3px;color:var(--tx);border-color:rgba(var(--ink-rgb),.35)}
.tlwhyb{font-weight:650;color:var(--hon2);min-height:44px;padding:0 6px}.tlwrite.tlwhy{margin-top:6px}
/* Players page */
.plseg{max-width:360px}.plseg button{min-height:44px}.plf{gap:8px;margin-bottom:12px}.plf .plq{flex:1;min-width:0;min-height:44px;margin:0}.plf select{min-height:44px;flex:none;width:auto}
.plr{display:flex;align-items:center;gap:10px}.plrk{width:30px;flex:none;text-align:right;font-variant-numeric:tabular-nums;color:var(--mut);font-weight:700}.plv{display:flex;flex-direction:column;align-items:flex-end;flex:none}.plv .meta{font-size:var(--type-caption, 11px)}
.chip.ro{cursor:default;pointer-events:none}.linkbtn#catfix{min-height:44px}
/* Mobile pass (launch-fixes item 9): every tap target >= 44px at phone widths */
@media (max-width:760px){
  button,.btn,.chip,select,input:not([type=checkbox]):not([type=radio]),.seg button,.seg2 button,.ipill,.tabs a{min-height:44px}
  button.info,button.lock,.lock,.klock,button.x,.tlck{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .foot a,.howtoc a,a.pn,.sub a,.meta a,p a,.linkbtn,a.logo{display:inline-flex;align-items:center;min-height:44px}
  .tabs a{min-height:48px}
  input[type=checkbox]{width:24px;height:24px;margin:10px}
}

/* swish-6b #9: League power table fits a 390px phone; scrolls sideways if a long team name still won't fit; ⓘ stays a 44px tap target */
.ptable{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:480px){
  .ptable .plhead,.ptable .list li{gap:6px;min-width:300px}
  .ptable .pcol{width:56px;white-space:normal;line-height:1.2;font-size:var(--type-caption, 11.5px)}
  .ptable .plhead .pcol{display:flex;flex-direction:column;align-items:flex-end}
  .ptable .plhead .pcol button.info{min-width:44px;min-height:44px;margin-right:-10px}
}
/* swish-8 #39: This Week desktop grid was a fixed height, so on short windows the category card (TO row) ran under the footer.
   Standard fix: min-height instead of height. The left column (score + categories) sets the height when it needs more room;
   the middle/right columns are size-contained so their long lists keep scrolling inside instead of stretching the page. */
@media (min-width:1024px){
  .wk{height:auto;min-height:max(660px,calc(100vh - 64px - 52px))}
  .wk .c2,.wk .c3{contain:size}
}
@media (min-width:1024px) and (max-width:1199px){.wk .c3{contain:none}}

.heat th.hsort button{all:unset;cursor:pointer;display:block;width:100%;min-height:32px;text-align:center;font:inherit;color:inherit}.heat th.hsort.tn button{text-align:left}.heat th.hsort.on{color:var(--tx)}.heat th.hsort button:focus-visible{outline:2px solid var(--acc);border-radius:4px}.heat td.htot{color:var(--mut);font-weight:600}.heat tr.hme td.tn{font-weight:700}
/* blockers-3 item 2: 44x44 minimum tap targets at phone widths (restyle only) */
.pltog{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.plf{align-items:center;flex-wrap:wrap}.pltr{flex:none;margin-right:8px}
@media (max-width:1023px){
  .pl-home #pll .plr:has(>.pltr){display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px}
  .pl-home #pll .plr:has(>.pltr)>.plrk{grid-column:1;grid-row:1}
  .pl-home #pll .plr:has(>.pltr)>.grow{grid-column:2;grid-row:1}
  .pl-home #pll .plr:has(>.pltr)>.plv{grid-column:3;grid-row:1}
  .pl-home #pll .plr:has(>.pltr)>.pltr{grid-column:2;grid-row:2;justify-self:start;margin:0;min-height:44px}
  .pl-home #pll .plr:has(>.pltr)>.grow>.pn{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
  .pl-home #pll .plr:has(>.pltr):not(:has(>.plrk)){grid-template-columns:minmax(0,1fr)}
  .pl-home #pll .plr:has(>.pltr):not(:has(>.plrk))>.grow,
  .pl-home #pll .plr:has(>.pltr):not(:has(>.plrk))>.pltr{grid-column:1}
}
@media (max-width:760px){
  button,.btn,.chip,select,.seg button,.seg2 button,.ipill,[role=tab],summary,.tlwhyb{min-height:44px;min-width:44px}
  .btn.sm,.chip{padding-top:0;padding-bottom:0;display:inline-flex;align-items:center;justify-content:center}
  .heat th.hsort button{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}
  .list a,.tlink,a.pn,.foot a,.meta a,.sub a,p a,li a,.choice{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
  label.toggle,.pltog,label:has(input[type=checkbox]){min-height:44px}
  input[type=radio]{width:44px;height:44px;margin:0 -6px;flex:none}
  /* checkbox: 44x44 tap box, 22px drawn square in the middle (blockers-4 #9) */
  #cih,input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;width:44px;height:44px;min-width:44px;margin:0 -6px;cursor:pointer;border-radius:8px;background:none;position:relative}
  #cih::after,input[type=checkbox]::after{content:'';position:absolute;left:11px;top:11px;width:22px;height:22px;border-radius:5px;background:var(--card2);box-sizing:border-box;border:2px solid var(--check-line)}
  #cih:checked::after,input[type=checkbox]:checked::after{background:var(--hon) var(--check-img) center/16px no-repeat;border-color:var(--hon)}
  input[type=checkbox]:focus-visible::after{outline:2px solid var(--hon);outline-offset:2px}
  /* text labels (Trade with, League name, You are, Current matchup vs, Paste your ESPN league link): full-height tap row */
  label.meta{display:flex;align-items:center;min-height:44px;width:100%;cursor:pointer}
  input[type=number],input[type=text],input:not([type]){min-height:44px;min-width:44px}
}
@media (max-width:760px){details>summary{display:inline-flex !important;align-items:center;min-height:44px}}
.tour{margin:12px 0;border-color:var(--hon2)}.tour .btn{flex:none;width:auto;padding-left:16px;padding-right:16px}.tour .row.sp{gap:8px;align-items:flex-start}
.puntnote{display:flex;align-items:center;min-height:44px;margin-top:10px;padding:0 12px;border:1px solid var(--hon2);border-radius:10px;background:none;color:var(--tx);font:inherit;font-size:var(--type-detail, 13px);cursor:pointer}

.lgbadge{display:inline-flex;align-items:center;padding:3px 10px;margin-right:8px;border-radius:999px;background:var(--hon);color:var(--on-hon);font-weight:700;font-size:12px;white-space:nowrap}
.tlsg .need{font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:2px}.tlkey{margin-left:6px}.tlkey .w{color:var(--win)}.tlkey .l{color:var(--loss)}.tlkey .need{font-weight:800;text-decoration:underline}
/* blockers-10b: category chip color comes from its win chance only (amber under 40%), never from punt state or a manual override.
   A manual change shows as a border; a punt shows only the small Punted tag. */
.chips .chip[data-po]{color:var(--tx)}.chips .chip[data-po].wclow{color:var(--hon2)}.chips .chip[data-po].on{color:inherit}.chips .chip[data-po].wclow.on{color:var(--hon2)}
.plr .plrk{width:44px;display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}.plrk .meta{font-size:var(--type-caption, 9.5px);font-weight:600}.plv b .meta{font-size:var(--type-caption, 10px);font-weight:600}
/* 10b: stat cells never inherit a grey parent (.meta); middling = normal text color, punted included (tag only) */
.tlsg>span{color:var(--tx)}.tlsg>span.w{color:var(--win)}.tlsg>span.l{color:var(--loss)}.tlsg>span>i{color:var(--dim)}
.cdot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:1px}.cdot.g{background:var(--win)}.cdot.a{background:var(--mid)}.cdot.r{background:var(--loss)}
/* #13 mobile: heat map scrolls inside its box with the team column pinned */
.heat td.tn{position:sticky;left:0;z-index:2;background:var(--card)}.heat th.tn{left:0;z-index:4}
@media (max-width:760px){.heatwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.heat td.tn{max-width:110px}}
/* blockers-16 fixes */
.heat tr.hme td{background-color:rgba(var(--hon-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--hon-rgb),.55)}.heat tr.hme td.tn{background:var(--hme-tn);color:var(--tx);font-weight:700}
.heatcap{margin:2px 0 6px}.hmekey{background:rgba(var(--hon-rgb),.16);border:1px solid rgba(var(--hon-rgb),.55);border-radius:5px;padding:0 5px;color:var(--tx)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.dotkey{display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;font-size:12px}.dotkey>span{overflow:hidden;text-overflow:ellipsis}.dotkey .cdot{margin:0 3px 0 6px}
.psb{all:unset;cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font-weight:650;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.psst .tlsg{font-size:var(--type-detail, 13px)}
/* blockers-18 */
.ronote{margin-top:8px;color:var(--hon2)}.ronote.flash{animation:shim .9s ease-in-out 1}
.tlserr{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}.tlserr [data-tlsretry]{min-width:44px;min-height:44px;flex:none;display:inline-flex;align-items:center;justify-content:center}
.heatwrap{position:relative}.heat{border-spacing:0 3px}.heat th.tn,.heat td.tn{position:sticky;left:0;background:var(--card);background-clip:padding-box;box-shadow:6px 0 6px -4px var(--pin-shadow);padding-left:8px}
.heat th.tn{z-index:5}.heat td.tn{z-index:3}.heat tr.hme td.tn{background:var(--hme-tn)}
@media (max-width:760px){.heatcap{position:static}.heat td,.heat th{padding-left:3px;padding-right:3px}}
@media (max-width:760px){.heatwrap{padding-left:0;padding-right:0}.heatwrap>.meta{padding:0 12px}}

/* blockers-20 #13: pinned Team column fully covers scrolled cells (no 1px edge, no rounded-corner or row-gap slivers) */
.heat{border-spacing:0}.heat td:not(.tn){border:solid var(--card);border-width:3px 0 0 3px;background-clip:padding-box}
.heat th.tn,.heat td.tn{left:-1px;border-radius:0;background-clip:border-box;border:0;box-shadow:-1px 0 0 var(--card),6px 0 6px -4px var(--pin-shadow)}.heat td.tn{border-top:3px solid var(--card);background-clip:padding-box}
.heat th.tn{z-index:6}.heat td.tn{z-index:4}.heat tr.hme td.tn{background:var(--hme-tn);box-shadow:-1px 0 0 var(--hme-tn),inset 0 0 0 1px rgba(var(--hon-rgb),.55),6px 0 6px -4px var(--pin-shadow)}

/* swish-10 games per day */
.wgames{margin-top:12px}.wgday{width:100%;border-collapse:collapse;font-size:12px;margin-top:6px}.wgday th,.wgday td{padding:3px 2px;text-align:center}.wgday th:first-child{text-align:left;color:var(--mut)}.tag.iflag{font-size:var(--type-caption, 10px);padding:1px 5px}

/* b20: 'Ranked for your build (punting X)' label above the Players rank column; same look as .ptag, wraps on phones */
.rkbuild{display:inline-block;max-width:100%;margin:0 0 6px;font-size:var(--type-caption, 11px);font-weight:650;padding:1px 6px;border-radius:5px;border:1px solid var(--line);color:var(--mut);white-space:normal;overflow-wrap:anywhere}.rkbuild[hidden]{display:none}
@media (max-width:480px){.rkbuild{font-size:var(--type-caption, 10px);padding:0 4px}}
.setpunts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:10px 0 0}.editpunts{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0 6px;font-weight:650;color:var(--hon)}
/* launch-3c: League page never wider than the viewport with long team/owner names or many columns */
.lg3>*,.lg3 .card{min-width:0}.lg3{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.lg3{grid-template-columns:minmax(0,1fr)}}.lg3:has(> :only-child){grid-template-columns:minmax(0,1fr)}
#lm,#lm .card,#lm .row>*,.ptable .list li>*{min-width:0}
.ptable .list li .grow>.pn,.ptable .list li .grow .tlink{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ptable .list li .grow .meta,#lm .row .meta,#lm h2,.sub{overflow-wrap:anywhere}
.ptable .pcol{overflow-wrap:anywhere}
.chips{max-width:100%}.chip{max-width:100%;overflow-wrap:anywhere}
.heatwrap{max-width:100%;overflow-x:auto}.heat td.tn{overflow-wrap:normal}
/* launch-3d: Trade->Find partner cards and Players list never wider than the viewport with long team/owner names */
.tlfind{min-width:0;max-width:100%}.tlfind .row.sp{flex-wrap:nowrap;min-width:0}.tlfind .row.sp>b{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tlfind .row.sp>.btn{flex:0 0 auto}
.tlfind .meta{overflow-wrap:anywhere}
.pll,.pll .plr{min-width:0;max-width:100%}.pll .plr>*{min-width:0}.pll .plr .grow .meta{overflow-wrap:anywhere}

/* launch-4: This Week sub-pages (You vs them, Streaming, Accuracy); nothing wider than the viewport at 390px */
.wknav{display:flex;gap:6px;margin:0 0 14px;overflow-x:auto;max-width:100%}.wknav a{flex:0 0 auto;padding:6px 10px;border-radius:99px;background:var(--card2);border:1px solid var(--line);font-size:var(--type-caption, 12.5px);font-weight:700;color:var(--mut);white-space:nowrap}.wknav a.on{border-color:var(--hon);color:var(--hon2)}
.vsl{display:flex;flex-direction:column}.vsr{display:grid;grid-template-columns:minmax(0,1fr) auto 46px;gap:4px 10px;align-items:center;padding:9px 6px;border-bottom:1px solid var(--line)}.vsr:last-child{border:0}.vsr .bar{grid-column:1/-1}
.vsr.close{background:rgba(var(--hon-rgb),.07);border-radius:10px}.vsk{min-width:0;font-size:var(--type-detail, 13px)}.vsv{display:flex;gap:6px;font-variant-numeric:tabular-nums;font-size:var(--type-detail, 13.5px)}.vsh .big{font-size:var(--type-heading, 34px);font-weight:850}
.wvl li.strm{display:block;padding:12px 0}.strm .pm{flex-wrap:wrap;margin-top:4px}.strm .meta{overflow-wrap:anywhere}.heatwrap{max-width:100%;overflow-x:auto}.card.empty b{display:block;margin-bottom:6px}
/* launch-7 #1 Recommended trades (new classes only; nothing existing restyled) */
.recp{margin:10px 0}.rech{margin:0;font-size:var(--type-body, 17px)}.recrow{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:8px 0}.recrow select{max-width:100%;min-height:44px}
.rectogs{display:flex;flex-wrap:wrap;gap:4px 14px}.rectog{min-height:44px;align-items:center}.rnote{display:block;font-size:var(--type-caption, 11px)}
.recuntd{margin:6px 0}.recuntd summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.recunts{display:flex;flex-wrap:wrap;gap:4px 12px}.recunt{display:flex;gap:6px;align-items:center;min-height:44px}
.recgo{min-height:44px;margin:6px 0}.reccard{margin:10px 0;min-width:0;overflow-wrap:anywhere}.recch{gap:8px}
.recsides{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:8px 0}.recsides>div{display:flex;flex-direction:column;gap:2px;min-width:0}.recpl{font-weight:600}
.recgain{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:8px 0}.recgain>div{display:flex;flex-direction:column;min-width:0}.recgain b{font-size:20px}.recgain b.w{color:var(--win)}.recgain b.l{color:var(--loss)}
.recmeter{display:flex;gap:4px;margin:6px 0}.recmeter span{flex:1;text-align:center;font-size:12px;padding:6px 2px;border-radius:8px;border:1px solid var(--line);color:var(--dim)}
.recmeter span.on.t0{color:var(--on-hon);background:var(--win);border-color:var(--win);font-weight:700}.recmeter span.on.t1{color:var(--on-hon);background:var(--mid);border-color:var(--mid);font-weight:700}.recmeter span.on.t2{color:var(--tx);background:var(--card2);border-color:var(--mut);font-weight:700}
.recbtns{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.recbtns .btn{min-height:44px}.recline{margin:6px 0}
.reccats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;font-size:12px;margin:6px 0}.reccat{display:flex;gap:6px;white-space:nowrap}.reccat i{font-style:normal;color:var(--mut)}.reccat b.w{color:var(--win)}.reccat b.l{color:var(--loss)}.reccat b.mut{color:var(--dim)}
@media (min-width:900px){.reccats{grid-template-columns:repeat(9,minmax(0,1fr))}}

/* launch-7b tier label on each card (no %) */
.rectier{font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid var(--line);white-space:nowrap}.rectier.t0{color:var(--on-hon);background:var(--win);border-color:var(--win)}.rectier.t1{color:var(--on-hon);background:var(--mid);border-color:var(--mid)}.rectier.t2{color:var(--tx);background:var(--card2);border-color:var(--mut)}

/* launch-10 #33: pickups past the weekly move limit are greyed */
.strm-off{opacity:.5}

/* launch-11 #32: Connect league -> Pick team steps; Sample league is a plain link */
.steps2{display:flex;gap:8px;list-style:none;padding:0;margin:10px 0 14px}.steps2 li{flex:1;display:flex;flex-direction:column;padding:8px 10px;border:1px solid var(--line);border-radius:10px;color:var(--mut)}.steps2 li.on{border-color:var(--hon2);color:var(--tx)}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--hon2);text-decoration:underline;cursor:pointer;min-height:44px}
/* launch-11 #24: live category change in the Trade Lab verdict panel */
.tlimp{margin:8px 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}.tlimp .tlsg{margin-top:6px}

/* launch-12 #42: Settings sync card: label never overlaps, truncates mid-word or collides with Sync now */
.choice.synccard{flex-wrap:wrap;row-gap:10px}
.choice.synccard .synclink{display:flex;gap:14px;align-items:center;flex:1 1 220px;min-width:0;color:inherit;text-decoration:none}
.choice.synccard .synctxt{display:block;min-width:0;flex:1}
.choice.synccard #syncnow{flex:0 0 auto;white-space:nowrap}
@media (max-width:480px){.choice.synccard #syncnow{flex:1 1 100%;width:100%;margin-top:0}}
/* launch-17f1 (17r): 2-week round notice under the Current Matchup header */
.mspan{margin-top:4px;overflow-wrap:anywhere}
/* launch-17f1 #36: best-player (2-for-1) bonus line on the Trade Lab verdict card */
.tlbonus{margin-top:4px;overflow-wrap:anywhere}
/* launch-17f1 #42: phone status is ONE line: 'ESPN synced 4 h ago' only (policy sentence moves to the title); ellipsis as a backstop */
/* launch-12: providers not yet connectable */
.choice.provsoon{cursor:default;pointer-events:none}.choice.provsoon:hover{border-color:var(--line)}
/* #14 one-week compete in a punted category */
.wcbtn{font:inherit;font-size:var(--type-caption, 11px);font-weight:600;margin-left:6px;padding:2px 8px;min-height:24px;border-radius:999px;border:1px solid var(--line);background:transparent;color:inherit;cursor:pointer}
.wcbtn[aria-pressed="true"]{border-style:dashed}
/* launch-17f #2 Plan builder (Trade Lab Plan tab, above the step list) */
.gplan{margin:10px 0;min-width:0;overflow-wrap:anywhere}.gpform{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}.gpin{flex:1 1 240px;min-width:0;font:inherit;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--card2);color:var(--tx);min-height:44px}
.gpquick{flex-wrap:wrap;gap:6px;margin:4px 0 8px}.gpchips{margin:8px 0}.gpchip select{font:inherit;background:transparent;color:inherit;border:0;padding:0;max-width:100%}.gpchip .x{margin-left:6px;background:none;border:0;color:var(--mut);font-size:var(--type-body, 15px);cursor:pointer}
.gpchip.gpflag{border-color:var(--loss)}.gpnote{margin:4px 0}.gppath{margin:10px 0 6px;font-size:16px}.gpwarn p{margin:4px 0}
.gpsteps{list-style:none;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:8px}.gpstep{margin:0;min-width:0}.gpafter{margin:6px 0;font-weight:600}.gpacts{gap:8px;flex-wrap:wrap;margin-top:6px}
.gpalts{margin-top:8px}.gpalts summary{cursor:pointer;color:var(--mut);font-size:var(--type-detail, 13px)}.gpalt{margin:6px 0;padding-top:6px;border-top:1px solid var(--line)}.gpfoot{margin-top:8px}.gpplans{margin:8px 0}
/* launch-17e4: 'Compete this week' on a punted row = small one-line pill beside 'Punted'. The label line spans the row; the bar stays in column 2 like every other row */
.wcbtn{font-size:var(--type-caption, 10px);line-height:16px;min-height:18px;padding:0 7px;margin-left:0;white-space:nowrap;flex:0 0 auto;width:auto;height:auto}
.catsc .cat:has(.wcbtn) b{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:0;overflow:hidden}
.catsc .cat:has(.wcbtn) .bar{grid-column:2;grid-row:2}
.catsc .cat:has(.wcbtn) .pct{grid-column:-2;grid-row:2}
.catsc .cat:has(.wcbtn) .vals{grid-row:3}
@media (min-width:1024px){.catsc .cat:has(.wcbtn) .vals{grid-row:2}}
/* 17bp2 #14: the same pill inside the read-only category chips on Streaming and Waivers (.chip.ro takes no taps; the pill does). Layout only */
.chip.ro .wcbtn{pointer-events:auto;margin-left:4px;vertical-align:1px}
.wcline{margin-top:6px}
/* launch-17u (Jack): tab menus and page width.
   1. No grey bar behind any tab pills: .seg / .seg2 have no background; each pill has its own outline, the selected one a brighter outline and fill.
   2. Every tab menu is centered: pills size to their label and sit in the middle (auto margins, so a menu wider than a phone still scrolls from its first pill).
      A menu that shares a line with a heading or label (.tmrow) takes the middle column of a 1fr | auto | 1fr grid; on phones it gets its own centered line.
   3. Same page width on every tab: This Week no longer widens main, and the scrollbar's space is always kept, so the header and menus never move between tabs. */
html{scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
@media (min-width:1024px){main,main:has(.wk){max-width:1480px;padding-left:28px;padding-right:28px}}
.seg,.seg.mini,.seg2{display:flex;background:none;padding:2px;border-radius:0}
.seg>:first-child,.seg2>:first-child{margin-left:auto}.seg>:last-child,.seg2>:last-child{margin-right:auto}
.seg button,.seg2 button,.tlstatbar .seg.mini button{flex:0 0 auto;border:1px solid var(--line)}
.seg button.on,.seg2 button.on{background:var(--card2);color:var(--tx);border-color:rgba(var(--ink-rgb),.3);box-shadow:none}
.scen button.ai.on{box-shadow:none;border-color:rgba(var(--loss-rgb),.5)}
.tltabs{margin:10px auto 14px}
.tmrow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.tmrow>.seg,.tmrow>.seg2{grid-area:1/2;margin:0;max-width:100%}
.tmrow>.pltog{grid-area:1/3;justify-self:start}
.tmrow>.meta{justify-self:end}
@media (max-width:760px){
  .tmrow{grid-template-columns:minmax(0,1fr)}
  .tmrow>.seg,.tmrow>.seg2,.tmrow>.pltog,.tmrow>.meta{grid-area:auto;justify-self:center}
}
@media (max-width:1100px){.howwrap .howtoc{justify-content:center}}
/* launch-17w: Players > Rankings | Rookies sub-tabs and the 2026 rookie board (tier cards, in-tier rank, category chips) */
.plsub{margin-bottom:12px}.plr .plrk{white-space:nowrap}
.rbt{scroll-margin-top:76px}.rbth{display:flex;justify-content:space-between;align-items:baseline;gap:4px 10px;flex-wrap:wrap}.rbth b{font-size:16px}.rbtip{margin:4px 0 2px}
.rbjump{margin:0 0 12px}.rbjump .chip{cursor:pointer;color:var(--tx)}.rbjump .chip .meta{margin-left:4px}
.rbchips{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:3px}.ptag.rbup{color:var(--win);border-color:rgba(var(--win-rgb),.35)}.ptag.rbdn{color:var(--loss);border-color:rgba(var(--loss-rgb),.35)}.rbnote{margin-top:3px}
@media (max-width:480px){.rbr .plv b{font-size:var(--type-detail, 13px)}.rbth b{font-size:var(--type-body, 15px)}}
/* 17bd: badges, tags, pills and icons (restyle only; no markup changes).
   Tags (.tag, .ptag, .rtag, .rkbuild) = one 18px box: 14px line + 1px padding + 1px border, 5px corners, lifted 1px so they sit centered on the text beside them.
   Pills (.soon, .beta, .cflag, .rectier, .lgbadge, .ipill) = one 20px box: 16px line + 1px padding + 1px border.
   Tone tags (out / DTD, Close, On waivers / Add, teammate out) paint their tint over the card color, so the text keeps its card contrast on inner panels too (light was 4.1:1 on --card2).
   Dark contrast: KEEPER tag text, idle bottom-tab labels and idle trade-meter steps were 3.1-3.7:1; now 6.4-7:1. This block sits above the 17ah punted rules on purpose.
   (17polx: from 17pol2. Four of its rules are repeated verbatim by later blocks and kept only there: .tag.keeper-x (17tb), .tabs a color (17ty),
   .card.brief border (17th), the round icon joins (17ch).) */
.tag{display:inline-block;padding:1px 6px;border:1px solid transparent;border-radius:5px;line-height:14px;vertical-align:1px}
.ptag{display:inline-block;padding:1px 5px;line-height:14px}
.rtag{padding:1px 6px;border-radius:5px;line-height:14px;font-weight:650}
@media (max-width:480px){.ptag{padding:1px 3px}}
.heat .ptag.hp{line-height:1.5}
.tag.wvw{border:1px solid transparent;line-height:14px}
.pm .tag{margin-left:0}
.tag.out{background:linear-gradient(rgba(var(--loss-rgb),.16),rgba(var(--loss-rgb),.16)),var(--card)}
.tag.dtd,.tag.wvw{background:linear-gradient(rgba(var(--hon-rgb),.16),rgba(var(--hon-rgb),.16)),var(--card)}
.tag.grab,.tag.opp{background:linear-gradient(rgba(var(--win-rgb),.14),rgba(var(--win-rgb),.14)),var(--card)}
.soon,.beta,.cflag,.rectier,.lgbadge,.ipill{line-height:16px;padding-top:1px;padding-bottom:1px}
.soon{color:var(--mut)}.choice .soon{font-size:var(--type-caption, 11px)}
.cflag{vertical-align:1px}
.lgbadge{border:1px solid var(--hon)}
@media (max-width:480px){.top .beta,.top .lgbadge{font-size:var(--type-caption, 9.5px);line-height:14px;padding:1px 6px}.top .lgbadge{margin-right:0}}
/* phones: the On waivers button keeps its 44px tap box (mobile pass); only an 18px band behind the label is painted, like every other tag */
@media (max-width:760px){
  .tag.wvw{background:none;isolation:isolate}
  .tag.wvw::before{content:"";position:absolute;left:0;right:0;top:50%;height:18px;margin-top:-9px;border-radius:5px;z-index:-1;background:linear-gradient(rgba(var(--hon-rgb),.16),rgba(var(--hon-rgb),.16)),var(--card)}
  .chip>.ptag{margin-left:5px}
}
.tabs svg{flex:none}
.lock svg,.krow .lock svg{width:18px;height:18px}
/* launch-17ah #28: one 'Punted' tag everywhere = .ptag (the This Week markup). Punted cells keep their spot, order and color.
   In the 9-column stat grids (Trade Lab rows, live impact, player popup) the tag sits under the value, so the grid row never wraps or widens.
   On phones a tag that would overrun a narrow label column drops under the label inside its own cell; tap targets are unchanged. */
.ptag{white-space:nowrap}.dbar b{white-space:nowrap}
.tlsg .ptag{display:block;width:max-content;margin:1px 0 0;font-size:var(--type-caption, 9px);line-height:11px;padding:0;letter-spacing:-.2px;border-width:0} /* 17ptag: the Trade Lab strip column is set by the roster's widest name line (.tlst has inline-size containment), not by the viewport, so the outline is off here at every width: "Punted" at 9px is 31.7px without it, 33.7 with; adjacent tags touch below a 280px strip without, 298 with (prod's 39.3px tag touched below 350) */
@media (max-width:480px){.csr b .ptag,.wvc .ptag{display:block;width:max-content;margin:1px 0 0}}
/* launch-17s7: Trade Lab Make it work (button under the verdict, the adds panel; theme colors only) */
.miwbox{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.miwrow{gap:10px;align-items:center}.miwrow .meta{min-width:0}.miwbtn{flex:none}.miwbtn[disabled]{opacity:.6}
.miw{margin-top:10px}.miw p{margin:4px 0 0}.miw .shimmer{animation:shim 1.4s ease-in-out infinite}.miwhead{margin-bottom:6px}
.miwlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.miwopt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;background:var(--card2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-width:0}
.miwadd{min-width:0;overflow-wrap:anywhere}.miwnums{grid-column:1;display:flex;flex-wrap:wrap;gap:2px 12px;font-size:var(--type-detail, 13px);font-weight:650}.miwnums .meta{font-weight:500}
.miwuse{grid-column:2;grid-row:1/span 2;align-self:center}.miwempty,.miwok{background:var(--card2);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
@media (max-width:480px){.miwrow{flex-direction:column;align-items:stretch}.miwbtn{width:100%;min-height:44px}.miwopt{grid-template-columns:minmax(0,1fr)}.miwnums{flex-direction:column}.miwuse{grid-column:1;grid-row:auto;width:100%;min-height:44px}}
/* launch-17s7 (Testy #4): Waivers / Streaming when no row raises your win chance */
.noadds b{display:block}
/* TASK-17w responsive pass (768 / 1024 / 1280). Restyle only: every rule sits in a min-width query (761px and up), so phones are untouched.
   1. Bottom nav, 761-1023: the 4 extra links join the 6 tabs on one row. Their margin-top:auto (meant for the sidebar) dropped them
      below the others whenever a label wrapped; now every icon sits on one line and labels center on two short lines.
   2. Tablet, 768-1023: the page column was the 560px phone width in the middle of a wide screen; 720px gives tables and cards room.
   3. Heat maps and accuracy tables in a .heatwrap: the box scrolls sideways, so their top:60px sticky header slid 44px down over the
      first rows. The header sits at the top of the table again (same as phones). Accuracy cells don't break model versions mid-word.
   4. Current Matchup, 1024-1279: a later 3-column rule overrode the 2-column one, leaving an empty third column and a 180-220px
      score card. Two columns again; the Live / Games left cards share the full-width row underneath.
      1024-1439: the With plan number and the No moves / Standard plan / All-In pills are sized to fit the narrower score card.
   5. Trade Lab, 1024-1439: three columns gave each roster stat column 13-22px, so numbers ran into each other. Your side and theirs
      stack on the left; the verdict stays pinned on the right.
   6. My Team, 1024-1279: the players column gets the extra width (rank, tags and both toggles on one row). */
@media (min-width:761px) and (max-width:1023px){
  .tabs{padding-left:4px;padding-right:4px}
  .tabs a{min-width:0;padding:0 2px}
  .tabs a span{text-align:center;line-height:1.15;overflow-wrap:anywhere}
  .tabs .howlink,.tabs .howlink+.howlink{margin-top:0;font-size:var(--type-caption, 11px)}
}
@media (min-width:768px) and (max-width:1023px){main{max-width:720px}}
@media (min-width:761px){.heatwrap .heat th{top:0}}
@media (min-width:768px){.heatwrap .heat.acc td:not(.nd){white-space:nowrap}}
@media (min-width:1024px) and (max-width:1279px){
  .wk{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  .wk .c3{grid-column:1/-1;contain:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .tg{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
}
@media (min-width:1024px) and (max-width:1439px){
  .hl .with b{font-size:var(--type-metric, 60px)}
  .seg.scen button{flex-shrink:1;white-space:normal;padding-left:8px;padding-right:8px;font-size:var(--type-detail, 13px)}
  .tl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .tl>#tl-give{grid-column:1;grid-row:1}.tl>#tl-get{grid-column:1;grid-row:2}
  .tl>.tlv{grid-column:2;grid-row:1/span 2}
}
/* launch-17bg #24: Trade Lab per-game stats on narrow desktops. At 1024-1330px the sides stay next to each other but each side is ~200px wide,
   so 9 columns left ~14px per stat and values like .487 ran into each other. When a stat line (or the category change box) is too narrow
   for 9 readable columns it wraps to 5 + 4. Sized by the line's own width, so 390px phones keep a single row. Colors are unchanged.
   launch-17fx2: 5 + 4 still ran FG% and FT% together at 1024px (".470.843": ~25px cells for ~23px values with 2px between them, and a
   keeper lock or injury tag takes another 28-47px off the line). Columns now sit 6px apart, and a line only uses as many columns as fit a
   whole value each (23px; 29px with a sign in the change box): 9 in a row, else 5 + 4, else 3 + 3 + 3, else 2 per row. At 1024px a line
   is ~134-139px, so it shows 3 + 3 + 3. Each limit is .98px under the width that fits (9 x 23 + 8 x 6 = 255, 139, 81; 309 for the box). */
.tlst{container:tlstat/inline-size}.tlimp{container:tlimp/inline-size}.tlsg{column-gap:6px}
@container tlstat (max-width:254.98px){.tlsg{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:3px}}
@container tlstat (max-width:138.98px){.tlsg{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container tlstat (max-width:80.98px){.tlsg{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container tlimp (max-width:308.98px){.tlsg{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:3px}}
/* launch-17fc: forms and controls polish (restyle only). One control scale on every screen:
   text inputs + selects 44px, .btn 48px, tab pills 44px, .btn.sm / button chips / mini pills 36px on desktop (phones keep the >=44px mobile pass above).
   Shared disabled, pressed, hover and keyboard-focus looks. Control outlines use --ctl-line (a touch stronger than --line, so they read in light theme too).
   Native parts (select menus, scrollbars, number spinners, desktop checkboxes) follow the theme. Colors come from variables only.
   (17polx: from rb14-17pol. Its two new variables are written out in place, so no new variables: --ctl-line was rgba(255,255,255,.14) dark /
   rgba(15,23,42,.28) light, i.e. the theme's --ink-rgb at .14 / .28, so each use is rgba(var(--ink-rgb),.14) plus a light rule at .28 right after it
   (under :where(), so it keeps the original rule's specificity). --sel-img is the select chevron drawn in --mut (#93a0b2 dark, #4a5565 light; a data
   URI can't read a variable, like the existing --check-img), now set on select directly. Same pixels in both themes.) */
:root{color-scheme:dark}html[data-theme=light]{color-scheme:light}
/* buttons: filled and ghost are the same height (both carry a 1px border); 48px large, 36px small on desktop */
.btn{border:1px solid transparent;padding:11px 18px;transition:filter .15s,background-color .15s,border-color .15s,transform .1s}
.btn.ghost{border-color:rgba(var(--ink-rgb),.14)}:where([data-theme=light]) .btn.ghost{border-color:rgba(var(--ink-rgb),.28)}
@media (min-width:761px){.btn.sm{padding-top:7px;padding-bottom:7px;line-height:20px}.gpform>.btn{min-height:44px}}
@media (min-width:1024px){.btn.go{padding-top:11px;padding-bottom:11px}}
.btn:not(.ghost):not(:disabled):active{filter:brightness(.92)}.btn.ghost:not(:disabled):active{background:var(--card2)}
.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed;transform:none;filter:none}
button:disabled{cursor:not-allowed}
@media (hover:hover){.btn:not(.ghost):not(:disabled):hover{filter:brightness(1.07)}.btn.ghost:not(:disabled):hover{border-color:rgba(var(--ink-rgb),.3);background:rgba(var(--ink-rgb),.04)}}
:where(button,a.btn,summary,[role=tab]):focus-visible{outline:2px solid var(--hon);outline-offset:2px}
/* text inputs + selects: 44px, one padding, theme-colored placeholder and focus ring; selects get one chevron in both themes */
input:where(:not([type=checkbox]):not([type=radio]):not([type=file])),select{min-height:44px;padding:10px 14px;line-height:22px;border-color:rgba(var(--ink-rgb),.14);transition:border-color .15s,box-shadow .15s}
:where([data-theme=light]) input:where(:not([type=checkbox]):not([type=radio]):not([type=file])),:where([data-theme=light]) select{border-color:rgba(var(--ink-rgb),.28)}
.gpin,.tlq{border-color:rgba(var(--ink-rgb),.14)}:where([data-theme=light]) .gpin,:where([data-theme=light]) .tlq{border-color:rgba(var(--ink-rgb),.28)}
select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2393a0b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;padding-right:38px;cursor:pointer;text-overflow:ellipsis}
:where([data-theme=light]) select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%234a5565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.gpchip select{-webkit-appearance:auto;appearance:auto;padding-right:0}
@media (min-width:761px){.gpchip select{min-height:0;line-height:inherit}}
input::placeholder{color:var(--mut);opacity:1}
input[type=number]{text-align:center;padding-left:8px;padding-right:8px;font-variant-numeric:tabular-nums}
input:where(:not([type=checkbox]):not([type=radio])):focus,select:focus{border-color:var(--hon);box-shadow:0 0 0 3px rgba(var(--hon-rgb),.22)}
.gpchip select:focus{box-shadow:none}
input:disabled,select:disabled{opacity:.55;cursor:not-allowed}
@media (hover:hover){input:where(:not([type=checkbox]):not([type=radio])):not(:focus):not(:disabled):hover,select:not(:focus):not(:disabled):hover{border-color:rgba(var(--ink-rgb),.3)}}
/* label above its field: a small gap on desktop (phones already give each label a 44px row) */
@media (min-width:761px){.card>label.meta[for],.tlp>label.meta[for],.pickrow label.meta[for]{display:block;margin:0 0 6px}}
.card>label.row.sp+label.row.sp{margin-top:10px}
/* checkboxes on desktop: one 18px theme-tinted box, centered on its label (phones keep the 44px tap box drawn above) */
@media (min-width:761px){input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:0;padding:0;margin:0;flex:none;accent-color:var(--hon);cursor:pointer;vertical-align:middle}}
.pltog,.recunt{gap:8px}.pltog>input,.recunt>input,label.toggle>input{align-self:center}
/* tab pills (.seg / .seg2): one size and outline on every screen; mini pills match .btn.sm */
.seg button,.seg2 button{min-height:44px;padding:8px 14px;border-radius:10px;font-size:14px;font-weight:650;border-color:rgba(var(--ink-rgb),.14);transition:background-color .15s,border-color .15s,color .15s}
:where([data-theme=light]) .seg button,:where([data-theme=light]) .seg2 button{border-color:rgba(var(--ink-rgb),.28)}
.tlstatbar .seg.mini button{border-color:rgba(var(--ink-rgb),.14)}:where([data-theme=light]) .tlstatbar .seg.mini button{border-color:rgba(var(--ink-rgb),.28)}
@media (min-width:761px){.seg.mini button{min-height:36px}}
.seg button:not(:disabled):active,.seg2 button:not(:disabled):active{background:var(--card2)}
.seg button:disabled,.seg2 button:disabled{opacity:.45}
@media (hover:hover){.seg button:not(.on):not(:disabled):hover,.seg2 button:not(.on):not(:disabled):hover{color:var(--tx);border-color:rgba(var(--ink-rgb),.24)}}
/* button chips: 36px on desktop, centered label; hover / press feedback (punt chips keep their border rule: no hover color) */
@media (min-width:761px){button.chip{min-height:36px;padding-top:6px;padding-bottom:6px;line-height:1.4}}
button.chip{border-color:rgba(var(--ink-rgb),.14)}:where([data-theme=light]) button.chip{border-color:rgba(var(--ink-rgb),.28)}
button.chip:not(:disabled):active{transform:scale(.98)}
@media (hover:hover){button.chip:not(.on):not([data-po]):not(:disabled):hover{border-color:rgba(var(--hon-rgb),.5)}}
/* small control buttons: same outline, hover and press as the rest */
.stepper button,.mtog,.wcbtn{border-color:rgba(var(--ink-rgb),.14)}
:where([data-theme=light]) .stepper button,:where([data-theme=light]) .mtog,:where([data-theme=light]) .wcbtn{border-color:rgba(var(--ink-rgb),.28)}
.stepper button:not(:disabled):active,.mtog:not(:disabled):active{background:var(--card)}
.mtog.keep.on,.mtog.hold.on{background:var(--card2)}.mtog:disabled{cursor:not-allowed}
.wcbtn[aria-pressed="true"]{background:var(--card2)}
.x:disabled{opacity:.4}
@media (hover:hover){.stepper button:not(:disabled):hover,.mtog:not(:disabled):hover,.wcbtn:hover{border-color:rgba(var(--ink-rgb),.3)}.x:not(:disabled):hover{color:var(--tx)}}
/* launch-17ty: typography + spacing polish (restyle only; theme variables only, so light and dark both follow).
   Mostly low-specificity (:where) so every existing component rule above still wins where it sets its own value. */
/* 1. headings: h1 page title, h2 section label, h3 card-group title (was unstyled browser default). Long team names wrap, never widen the page */
h1,h2,h3{overflow-wrap:anywhere}
h2{line-height:1.3}
h3{font-size:var(--type-body, 17px);line-height:1.3;font-weight:750;letter-spacing:-.01em;color:var(--tx);margin:24px 0 10px}
:where(.card)>h2:first-child,:where(.card)>h3:first-child{margin-top:0}
/* 2. body text: one paragraph rhythm inside cards (browser default was 16px above and below); nothing extra at a card's top or bottom edge */
.sub{line-height:1.45}
:where(.card) p{margin:10px 0}
:where(.card)>p:first-child{margin-top:0}:where(.card)>p:last-child,:where(.card)>.note:last-child{margin-bottom:0}
/* 3. meta / secondary text: one line-height; small text that used --dim uses --mut (--dim on a dark card is ~3.4:1, under AA for 11-13px text; --mut is ~7:1). Light theme already passes either way */
.meta,.note,.why,.wnote{line-height:1.4}
.note,.vals,.catsc .vals,.hl i,h2 .hmeta,.csh,.scen em,.soon,.tlsg i,.tlsg>span>i{color:var(--mut)}
.tabs a{color:var(--mut)}.tabs a.on{color:var(--hon)}
@media (min-width:1024px){.tabs a.on{color:var(--hon2)}}
/* 4. cards: same padding as the This Week cards on desktop; stat tiles share the card corner radius */
.stat{border-radius:var(--r)}
@media (min-width:1024px){.card{padding:18px 20px}}
/* 5. long names: a player name truncates with an ellipsis inside its row instead of widening it (tags after it drop to the next line); trade chips and setup choices wrap */
.list .grow>span.pn,.plr .grow>span.pn{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.tlpc{max-width:100%;min-width:0;overflow-wrap:anywhere}
.choice{min-width:0}.choice b,.choice span{overflow-wrap:anywhere}
/* launch-17th + 17mo, written out (17polx, from rb14-17pol2). 17pol2 edited about twenty prod rules in place and added new variables
   (--ink-k / --tint-k light-theme tint boosts, --nav-hov, --scheme, and the 17mo timings --t-fast .15s / --t-med .2s / --t-slow .4s / --ease).
   Here the prod rules stay as they are and each edit is a later rule with the variable's value written out, so there are no new variables and no
   prod rule is dropped. Dark tints were x1 (unchanged), so only light gets a tint rule: x1.45 on the faint neutral tints, x1.6 on the amber / green
   ones, under :where([data-theme=light]) so each keeps the prod rule's specificity. Not ported: light --danger-hi:#b71c1c (a new color value) and
   html{color-scheme:var(--scheme)} (17fc's color-scheme rule above already does it). */
.choice{transition:border-color .15s cubic-bezier(.2,.8,.2,1),background-color .15s cubic-bezier(.2,.8,.2,1),opacity .15s cubic-bezier(.2,.8,.2,1)}
:where([data-theme=light]) .drop{background:rgba(var(--hon-rgb),.064)}
.skel{animation:kgm-in .2s cubic-bezier(.2,.8,.2,1) .15s both,sh 1.2s linear infinite}
.tgl i{transition:transform .15s cubic-bezier(.2,.8,.2,1),background-color .15s cubic-bezier(.2,.8,.2,1)}.tgl{transition:background-color .15s cubic-bezier(.2,.8,.2,1)}.tgl.on i{left:3px;transform:translateX(20px)}
@media (min-width:1024px){
  :where([data-theme=light]) .tabs a:hover{background:rgba(var(--ink-rgb),.05)}
  :where([data-theme=light]) .tabs a.on{background:rgba(var(--hon-rgb),.16)}
  :where([data-theme=light]) .tg .list li:hover{background:rgba(var(--ink-rgb),.029)}
}
:where([data-theme=light]) .today{background:linear-gradient(180deg,rgba(var(--hon-rgb),.112),var(--card) 70%)}
.bar i,.gauge i{transition:width .4s cubic-bezier(.2,.8,.2,1),background-color .4s cubic-bezier(.2,.8,.2,1)}
.hl .arrow{transition:opacity .2s cubic-bezier(.2,.8,.2,1),color .2s cubic-bezier(.2,.8,.2,1)}
#wToday,#wRest{transition:opacity .14s ease-out} /* .14s matches the 140 ms swap timer in app.js (swap()); keep them equal so the old list is fully faded before it is replaced */
@media (min-width:1024px){
  .collapse svg{transition:transform .2s cubic-bezier(.2,.8,.2,1)}
  .tabs{transition:none}.tabs a span{transition:none} /* 17mo: no width animation; the page padding beside it changes in one step, so an animated rail slid over / away from the content */
}
:where([data-theme=light]) .ct td{border-top:1px solid rgba(var(--ink-rgb),.0725)}
:where([data-theme=light]) .pill{background:rgba(var(--ink-rgb),.087)}
:where([data-theme=light]) .steps3 .st{background:rgba(var(--ink-rgb),.0435)}
:where([data-theme=light]) .tier.soft{background:rgba(var(--hon-rgb),.16)}:where([data-theme=light]) .tier.competitive{background:rgba(var(--comp-rgb),.16)}
.popover.sheet{animation:up .2s cubic-bezier(.2,.8,.2,1)}
:where([data-theme=light]) .bal{background:linear-gradient(90deg,rgba(var(--loss-rgb),.35),rgba(var(--ink-rgb),.087) 45%,rgba(var(--ink-rgb),.087) 55%,rgba(var(--win-rgb),.35))}
.bal i{transition:left .4s cubic-bezier(.2,.8,.2,1)}
.bsin{animation:up .2s cubic-bezier(.2,.8,.2,1)}
@media (max-width:1023px){
  .tlv.open{animation:up .2s cubic-bezier(.2,.8,.2,1)}
  :where([data-theme=light]) .tlbal{background:linear-gradient(90deg,rgba(var(--loss-rgb),.5),rgba(var(--ink-rgb),.145) 45%,rgba(var(--ink-rgb),.145) 55%,rgba(var(--win-rgb),.5))}
}
/* 17mo motion polish (restyle only). Timings: fast .15s, med .2s, slow .4s, one curve cubic-bezier(.2,.8,.2,1) (17polx: written out, no variables).
   Only paint properties animate on controls (color, background, border, shadow, opacity, transform): never width, padding or margin, so nothing reflows mid-hover.
   Skeleton -> content: the skeleton fades in after .15s (see .skel), so a page that loads fast swaps straight to content with no grey flash. */
@keyframes kgm-in{from{opacity:0}}
@keyframes kgm-pop{from{opacity:0;transform:translateY(-4px)}}
/* hovers, presses, selected tabs and pills: one timing everywhere (was: instant on most, .15s 'all' on a few) */
.btn,.seg button,.seg2 button,.chip,.ipill,.mtog,.lock,.linkbtn,.info,.x,.wknav a,.howtoc a,.howwrap .howtoc a,.tlink,.tlrow,.tlck,.stepper button,.wcbtn,.puntnote,.psb,.editpunts,.collapse,.tlwhyb,.tag.wvw,.recmeter span,.steps2 li,.tabs a,.tg .list li,.heat th.hsort button,input,select,.gpin{
  transition:color .15s cubic-bezier(.2,.8,.2,1),background-color .15s cubic-bezier(.2,.8,.2,1),border-color .15s cubic-bezier(.2,.8,.2,1),box-shadow .15s cubic-bezier(.2,.8,.2,1),opacity .15s cubic-bezier(.2,.8,.2,1),text-decoration-color .15s cubic-bezier(.2,.8,.2,1)}
.btn{transition:color .15s cubic-bezier(.2,.8,.2,1),background-color .15s cubic-bezier(.2,.8,.2,1),border-color .15s cubic-bezier(.2,.8,.2,1),opacity .15s cubic-bezier(.2,.8,.2,1),transform .15s cubic-bezier(.2,.8,.2,1)}
/* popovers, tooltips, toasts and in-page panels: fade in at the same pace; positioned or display-toggled, so no neighbour moves */
.popover{animation:kgm-pop .15s cubic-bezier(.2,.8,.2,1)}
.wtip{animation:kgm-in .15s cubic-bezier(.2,.8,.2,1)}
.toast{animation:kgm-in .2s cubic-bezier(.2,.8,.2,1)}
/* drawers and bottom sheets: the scrim fades with the sheet instead of snapping on */
.bsbg{animation:kgm-in .2s cubic-bezier(.2,.8,.2,1)}
@media (max-width:1023px){body.tlsheet:after{animation:kgm-in .2s cubic-bezier(.2,.8,.2,1)}}
/* reduced motion: no slides, pulses or shimmer; state changes are instant. Content, copy and layout are unchanged. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important}
  .btn:active{transform:none}
}
/* launch-17sa: scroll, sticky and safe-area polish (restyle only; no colors, so light and dark look the same as before).
   Sticky offset = the sticky top bar's height + the notch / status bar inset + 12px, so every sticky panel and scroll target sits 12px under the bar.
   (17polx: 17sa's --top-h / --nav-h / --stick-top are written out in place, so no new variables. Top bar: 61px on phones (17hd's 8px padding around
   the 44px logo tap target; 17sa had 73px for the old 14px), 59px at 761-1023, 63px on desktop. Phone bottom tab bar: 65px (48px tabs + 16px padding
   + 1px border) without its home-bar inset.) */
/* top bar: clears the notch / status bar (viewport-fit=cover) and the landscape side insets; blur on older iOS Safari too */
.top{padding-top:calc(14px + env(safe-area-inset-top));padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right));-webkit-backdrop-filter:blur(12px)}
.tabs{-webkit-backdrop-filter:blur(14px)}
@media (min-width:1024px){
  .top{padding-top:calc(16px + env(safe-area-inset-top));padding-left:max(28px, env(safe-area-inset-left));padding-right:max(28px, env(safe-area-inset-right))}
  /* sidebar: side and home-bar insets (iPad); dynamic viewport height so the last links aren't under the Safari toolbar */
  .tabs{padding-left:max(14px, env(safe-area-inset-left));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  body.navmini .tabs{padding-left:max(12px, env(safe-area-inset-left))}
  @supports (height:100dvh){.tabs{height:100dvh}}
}
/* phones and tablets: bottom tab bar, page end, toast and the Trade Lab bar all clear the home bar and landscape notch */
@media (max-width:1023px){
  .tabs{padding-left:max(6px, env(safe-area-inset-left));padding-right:max(6px, env(safe-area-inset-right))}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  body:has(.tlbar:not([hidden])){padding-bottom:calc(170px + env(safe-area-inset-bottom))}
  .toast{bottom:calc(100px + env(safe-area-inset-bottom))}
  .tlbar:not([hidden]){left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right))}
  .popover.sheet{left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right))}
  /* Trade Lab verdict drawer */
  .tlv.open{top:max(8vh, calc(env(safe-area-inset-top) + 12px));padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .tlv.open .tlclose{right:max(12px, env(safe-area-inset-right))}
}
/* bottom sheet (player popup): side insets, scroll stays inside the sheet, dynamic viewport height */
.bsin{padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.bsx{right:max(12px, env(safe-area-inset-right))}
.bsin:has(.tlq){scroll-padding-top:56px}
@supports (height:1dvh){.bsin{max-height:82dvh}}
/* scroll-padding: anchor jumps (How it works ?s=, rookie tiers), focused fields and popovers stop below the sticky top bar and above the bottom bars */
html{scroll-padding-top:calc(61px + env(safe-area-inset-top) + 12px)}
@media (min-width:761px){html{scroll-padding-top:calc(59px + env(safe-area-inset-top) + 12px)}}
@media (min-width:1024px){html{scroll-padding-top:calc(63px + env(safe-area-inset-top) + 12px)}}
.howsec,.rbt,#allcats{scroll-margin-top:0}
@media (max-width:1023px){
  html:has(.tabs:not([hidden])){scroll-padding-bottom:calc(65px + env(safe-area-inset-bottom) + 12px)}
  html:has(.tlbar:not([hidden])){scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom))}
}
/* sticky panels: one offset under the top bar on every screen (were 64 / 72 / 76 / 84px) */
.updchip,.howwrap .howtoc{top:calc(61px + env(safe-area-inset-top) + 12px)}
@media (min-width:761px){.updchip,.howwrap .howtoc,.tg>div:first-child{top:calc(59px + env(safe-area-inset-top) + 12px)}}
@media (min-width:1024px){.updchip,.howwrap .howtoc,.tg>div:first-child,.tlv{top:calc(63px + env(safe-area-inset-top) + 12px)}}
/* scroll boxes: momentum on iOS; panels that scroll up and down keep the wheel / swipe inside; sideways boxes don't trigger back-swipe or rubber-band the page */
.wk .scroll,.today #wToday,.tlp,.heatwrap,.seg,.wknav,.ptable{-webkit-overflow-scrolling:touch}
@media (min-width:1024px){.wk .scroll,.today #wToday,.tlp{overscroll-behavior-y:contain}}
.heatwrap,.seg,.wknav,.ptable{overscroll-behavior-x:contain}
/* launch-17ob2: League setup (onboarding), Connect your league, Upload screenshots, Build rosters, Keepers and Settings share one layout (restyle only).
   1. One centered 640px column on all of them. main keeps the same width on every tab (17u); only the column inside it is capped, like .connect
      already was (520px, now 640px too). At 1280 the setup choices, keepers list and Settings cards no longer stretch ~1000px wide.
      Each screen is found by an element only it has: .provsoon (setup), .drop (upload), #q (build), #ksave (keepers), .danger (Settings).
   2. Form labels sit 6px above their field from 761px up (phones keep the 44px label row from blockers-3).
   3. Help text sits right under what it explains; both step lists (setup, Connect ESPN) share one card look.
   (17polx: from rb14-17pol3. 17em's Connect your league column, 17em's page-note measure and 17ly's 1040px desktop column outrank this column on
   these screens; the 17polx block at the end of the file keeps the 640px column here.) */
.connect{max-width:640px}
#view:has(> #manualchoice)>*,#view:has(> .drop)>*,#view:has(> #q)>*,#view:has(> #ksave)>*,#view:has(> .danger)>*{max-width:640px;margin-left:auto;margin-right:auto}
#view:has(> #manualchoice)>.btn,#view:has(> .drop)>.btn,#view:has(> #q)>.btn,#view:has(> #ksave)>.btn{display:flex}
#view #kundo[hidden],#view #kmatchup[hidden]{display:none}
body:has(#ksave) #toast{pointer-events:none}
#kv [data-keeper-round]{min-width:6.75rem;margin-inline:6px;padding-inline:10px}
@media (max-width:760px){
  #kv .krow:has(> .meta){display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 10px}
  #kv .krow:has(> .meta)>.grow{grid-area:1/1;min-width:0}
  #kv .krow:has(> .meta)>.hold{grid-area:1/2}
  #kv .krow:has(> .meta)>.lock:last-child{grid-area:1/3}
  #kv .krow>.meta{grid-area:2/1/3/-1}
  #kv [data-keeper-round]{font-size:16px}
}
#view:has(> #q)>#q{display:block}
#view:has(> #ksave)>.meta{margin-left:auto!important;margin-right:auto!important} /* its inline margin shorthand would pin it to the left edge */
@media (min-width:761px){.connect label.meta[for],#view:has(> .danger) label.meta[for]{display:block;margin:0 0 6px}}
/* steps: same card look on League setup (.steps2) and Connect ESPN (.steps3) */
.steps2 li{border-radius:12px;padding:10px 12px;background:rgba(var(--ink-rgb),.03);gap:2px}.steps2 li.on{background:rgba(var(--hon-rgb),.06)}.steps2 b,.steps3 b{font-size:var(--type-detail, 14.5px)}
.steps3 .st{display:flex;flex-direction:column}.steps3 b{margin-bottom:2px}
h2+.steps3{margin-top:0}
/* League setup: 'Redraft, keeper & dynasty leagues.' belongs to the subtitle above it, not floating 34px below */
#view:has(> #manualchoice)>.sub+.meta{margin-top:-10px;margin-bottom:14px}
/* League settings card (from ESPN): key | value grid, so a long value ('9: FG%, FT%, ...') can't squeeze the key to nothing at 390 */
.lsettings .list li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:2px 12px;align-items:baseline;font-size:14px}
.lsettings .list li>span:last-child{text-align:right;overflow-wrap:anywhere}.lsettings .list li.meta{display:block;font-size:var(--type-caption, 12.5px)}
/* Connect your league: 18px from the title to the first card (same as title + subtitle elsewhere); no doubled top gap inside the card */
.connect>h1+.card{margin-top:18px}
.connect .card>p:first-child,.connect .card>.knote:first-child{margin-top:0}.connect .card>p:last-child{margin-bottom:0}
#eteam h2{margin:18px 0 10px}
/* Upload screenshots / Build rosters: results never touch the drop zone or search box */
#view:has(> .drop)>.drop{margin-bottom:12px}
#res:not(:empty){margin-top:6px}
/* Settings: help text under its control; Pickups rows grouped like the Teams list; Start over sized to its label from tablet up */
.themecard .thmseg{margin-bottom:8px}.themecard>p.meta{text-align:center}
#view:has(> .danger) .card>label.row.sp+label.row.sp{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.setpunts+p.meta{margin-top:2px}
@media (min-width:761px){.danger #reset{width:auto;padding-left:22px;padding-right:22px}}
/* launch-17hd: top bar, page header and sub-nav polish (restyle only; theme variables only, so light and dark get the same layout).
   1. Top bar: one height on every screen. Up to 760px: 8px above and below the 44px logo tap target (61px bar, was 73px).
      The right side (league badge, sync stamp, Founders beta) is spaced by its gap only; on phones it is two lines at most:
      the stamp, then badge + beta (was three stacked lines with a badge).
   2. Title block: long titles (team names) wrap inside the screen; the subtitle keeps a readable line length on wide screens; a title with
      no subtitle keeps a 16px gap above its first card; back links above a title (League, My Team) line up and are 44px tap targets on phones.
   3. Page sub-nav (Current Matchup / You vs them / Streaming / Accuracy / Briefing, Trade Lab, Players, League): one pill style with the same
      height (44px at every width, so no tap target shrinks), label size, padding, gap and selected look, labels centered. Title to tabs is 16px wherever tabs sit under the title.
   4. The quick tour card above the page lines up with the page content instead of running edge to edge.
   (17polx: from rb14-17pol3. Where this block meets 17sa, 17em, 17md, 17ly and 17pol6 #32 (top bar notch padding, phone badge row, tour box width and
   gutters), the resolutions are in the 17polx block at the end of the file.) */
.top{gap:12px}.logo{flex:none;white-space:nowrap}
.tright{justify-content:flex-end}.top .beta{flex:none;white-space:nowrap} /* (17polx) .tright .lgbadge{margin-right:0} is already in 17em verbatim */
@media (max-width:760px){.top{padding-top:8px;padding-bottom:8px}}
@media (max-width:480px){
  .tright{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 6px}
  .tright .stamp{order:-1;flex:1 0 100%;text-align:right;line-height:1.3}
  .top .lgbadge{font-size:var(--type-caption, 10px);padding:2px 7px}
}
h1{overflow-wrap:break-word;text-wrap:balance}
.sub{max-width:75ch}
h1+.card,h1+.ronote{margin-top:16px}
.how>h1+p.mut{margin:0 0 18px}
#view>a.meta{display:inline-flex;align-items:center;gap:4px;font-weight:650;color:var(--mut)}#view>a.meta+h1{margin-top:4px}
@media (max-width:760px){#view>a.meta{min-height:44px}#view>a.meta+h1{margin-top:0}}
.wknav,.tltabs,.trseg,.plsub,.lgtabs{gap:6px} /* shell part 2: .trseg, the Trades segment that replaced .tltabs */
.wknav a,.tltabs button,.trseg button,.plsub button,.lgtabs button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:99px;background:none;color:var(--mut);font-size:var(--type-detail, 13px);font-weight:700;line-height:1.2;white-space:nowrap}
.wknav a.on,.tltabs button.on,.trseg button.on,.plsub button.on,.lgtabs button.on{background:var(--card2);border-color:var(--hon);color:var(--hon2)}
@media (hover:hover){#view>a.meta:hover,.wknav a:not(.on):hover,.tltabs button:not(.on):hover,.trseg button:not(.on):hover,.plsub button:not(.on):hover,.lgtabs button:not(.on):hover{color:var(--tx)}}
.plsub{margin:16px auto 14px}
@media (min-width:761px) and (max-width:1023px){.wknav a,.tltabs button,.trseg button,.plsub button,.lgtabs button{padding:0 10px}} /* 768: the five Current Matchup tabs fit the 560px column */
/* launch-17ft: page foot, model version line, phone bottom nav and How it works polish (restyle only; theme variables only).
   Foot: side padding so the links never touch the screen edge at 320px; balanced wrap; hover + focus ring.
   Model line: long ids wrap; its two links read as links; on phones the 44px tap box keeps its size but no longer stretches
   its line (the negative margins only shrink the box's share of the line height), so the paragraph's line spacing stays even.
   Phone nav: inactive labels use --mut (the old --dim was 3.6:1 on the dark bar at 11px), two-line labels sit centered,
   tighter label line height keeps the bar under the Trade Lab bar's 70px offset; landscape notch padding.
   Sidebar extra links (Players, League setup, Settings, How it works): full opacity and 13px, so they pass AA in both themes.
   How it works (one column): label on its own line, pills centered and vertically aligned, the active pill outlined all round. */
.foot{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));text-wrap:balance}
.foot a,#modelv a{border-radius:6px}.foot a:hover,#modelv a:hover{color:var(--tx)}
.foot a:focus-visible,#modelv a:focus-visible{outline:2px solid var(--hon);outline-offset:2px}
#modelv{overflow-wrap:break-word}
#modelv a{text-decoration:underline;text-decoration-color:rgba(var(--mute-rgb),.5);text-underline-offset:2px}
@media (max-width:760px){#modelv a{margin-top:-12px;margin-bottom:-12px}}
@media (max-width:1023px){
  .tabs{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}
  .tabs a{min-width:0;padding-left:2px;padding-right:2px;color:var(--mut)}
  .tabs a span{max-width:100%;text-align:center;line-height:1.2}
}
@media (min-width:761px) and (max-width:1023px){.tabs .howlink,.tabs .howlink+.howlink{margin-top:0;font-size:var(--type-caption, 11px);opacity:1}}
@media (min-width:1024px){.tabs .howlink{font-size:var(--type-detail, 13px);opacity:1}}
@media (max-width:1100px){
  .howwrap .howtoc{align-items:center;margin:0 0 14px}
  .howwrap .howtoc>.meta{flex-basis:100%;text-align:center}
  .howwrap .howtoc a{max-width:100%;text-align:center;line-height:1.3}
  .howwrap .howtoc a.on,.howwrap .howtoc a:hover{border-color:var(--hon)}
}
/* launch-17md: dialogs, bottom sheets, popovers, info tips and tour steps share one look (restyle only; no markup, copy or logic changed).
   Surfaces (bottom sheet, Trade Lab verdict sheet, tour step): --card, 1px --line border, --r corners, 18px padding, one shadow.
   Floats (ⓘ popover, 'On waivers' tip): --pop-bg, 1px --line border, 12px / 10px corners, one shadow.
   Close (×): 44px round button, top-right, stays in view while the content scrolls.
   Phones (<761px): full-width sheets from the bottom, scroll inside. 761-1023px: same sheets, centered, max 640px. 1024px+: the bottom sheet is a centered dialog, max 560px.
   (17pol5: the 17md --ov-* / --tip-* shorthands are written out in place, so no new variables: --r, 18px padding, --pop-shadow shadows, 10px tip corners.) */
body:has(.bsheet),body.tlsheet{overflow:hidden}
.bsin{max-height:85vh;max-height:85dvh;overscroll-behavior:contain;background:var(--card);border:1px solid var(--line);border-bottom:0;border-radius:var(--r) var(--r) 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -10px 32px var(--pop-shadow)}
.bsin .bsx,.tlv.open .tlclose{position:sticky;top:0;right:auto;float:right;z-index:3;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:-10px -10px 0 8px;padding:0;border:0;border-radius:50%;background:var(--card);color:var(--mut);font-size:var(--type-heading, 26px);line-height:1}
.bsin .bsx:hover,.tlv.open .tlclose:hover{background:var(--card2);color:var(--tx)}
.bsin .bsx:focus-visible,.tlv.open .tlclose:focus-visible{outline:2px solid var(--hon);outline-offset:-2px}
.bsin .bsx{display:grid}.bsin .bsx+h2{margin:0 0 12px;line-height:1.5}
.bsin .tlq{width:calc(100% - 52px);z-index:2}
.bsin>.meta:last-child{margin-bottom:0}
@media (max-width:1023px){
  .tlv.open{top:auto;max-height:92vh;max-height:92dvh;overscroll-behavior:contain;border:1px solid var(--line);border-bottom:0;border-radius:var(--r) var(--r) 0 0;padding:18px 18px calc(30px + env(safe-area-inset-bottom));box-shadow:0 -10px 32px var(--pop-shadow)}
  .tlv.open .tlclose{display:grid}.tlv.open .tlmode{margin-right:0}
}
@media (min-width:761px) and (max-width:1023px){
  .bsin,.tlv.open{left:0;right:0;margin:0 auto;width:min(640px,calc(100vw - 48px))}
}
@media (min-width:1024px){
  .bsheet{display:grid;place-items:center;padding:24px}
  .bsin{position:relative;left:auto;right:auto;bottom:auto;width:min(560px,100%);max-height:min(80vh,760px);border-bottom:1px solid var(--line);border-radius:var(--r);padding-bottom:18px;box-shadow:0 12px 32px var(--pop-shadow)}
}
.popover{max-width:calc(100vw - 24px);max-height:min(60vh,420px);overflow:auto;overscroll-behavior:contain;padding:14px 16px;line-height:1.45;box-shadow:0 12px 32px var(--pop-shadow);overflow-wrap:anywhere;animation:ovin .12s ease-out}
.popover p:last-of-type{margin-bottom:6px}.popover.sheet{border-radius:var(--r);padding:18px;box-shadow:0 12px 32px var(--pop-shadow)}
@keyframes ovin{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.wtip{background:var(--pop-bg);border-radius:10px;padding:7px 10px;box-shadow:0 6px 18px var(--pop-shadow)}
@media (max-width:760px){
  .popover p:last-of-type{margin-bottom:2px}.popover a{display:inline-flex;align-items:center;min-height:44px}
}
/* phones: the tip anchors to the row text, not the tag, so a tag near the right edge never pushes it off screen */
@media (max-width:480px){.wwt{position:static}:has(>.wwt){position:relative}.wtip{max-width:min(260px,100%)}}
.wwt.wclaim-wrap{max-width:100%;margin-left:0}.tag.wvw.wclaim{max-width:100%;white-space:normal;text-align:left}.tag.wvw.wclaim::before{top:0;height:100%;margin-top:0}
@media (prefers-reduced-motion:reduce){.bsin,.tlv.open,.popover,.popover.sheet{animation:none}}
/* launch-17ly: desktop wide-screen polish (1280 / 1440 / 1920), restyle only; light and dark use the same theme variables.
   1. Sidebar 216px below 1440, 240px from 1440 (rule sits with the other sidebar rules, after the navmini block).
   2. Page gutters: 24px below 1280, 28px to 1439, 32px from 1440. main's width is still the same on every tab (17u).
   3. Single-column pages (everything except Current Matchup, Trade Lab and My Team) sit in a centered 1040px column, so lists, tables
      and cards stop stretching across a wide screen. Tab menus and the Connect box keep their own centering.
   4. Card grids that reflow by width: Find trades partner cards, Recommended trades cards and Plan builder steps.
   (17pol5, with 17em: subtitles and page notes start at the column's edge but keep 17em's 72ch measure, and Connect your league
   keeps 17em's 520px Connect column; the column rule outranked both, so they are left out of it.) */
@media (min-width:1024px) and (max-width:1279px){main,main:has(.wk){padding-left:24px;padding-right:24px}}
@media (min-width:1440px){main,main:has(.wk){padding-left:32px;padding-right:32px}}
@media (min-width:1024px){
  #view:not(:has(> .wk, > .tltop, > .tl, > .tr, > .tg, > a.choice[href="#/import"])) > :not(.seg):not(.seg2):not(.connect){margin-left:max(0px,calc((100% - 1040px) / 2))}
  #view:not(:has(> .wk, > .tltop, > .tl, > .tr, > .tg, > a.choice[href="#/import"])) > :not(.seg):not(.seg2):not(.connect):not(.sub):not(p.meta):not(.note){max-width:1040px}
  /* shell part 2: Trades (.tr: For you / Build your own beside the Deal) keeps the full width, like Trade Lab (.tltop / .tl) did */
  .howwrap{justify-content:space-between}
  #view:has(> .tlfind){display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));column-gap:14px;align-items:start}
  #view:has(> .tlfind) > *{min-width:0}#view:has(> .tlfind) > :not(.tlfind){grid-column:1/-1}#view:has(> .tlfind) > .recp{margin-top:0}#view:has(> .tlfind) > .sbxtag{justify-self:start}
  #recout:has(> .reccard){display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));column-gap:14px;align-items:start}
  #recout > *{min-width:0}#recout > :not(.reccard){grid-column:1/-1}#recout > .reccard{margin:10px 0 0}
  #recout .reccats{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
}
@media (min-width:1280px){.gpsteps{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));align-items:start}}
@media (min-width:1440px){
  .tlplan{columns:2;column-gap:32px}.tlplan li{break-inside:avoid}
  #view > .brief .bl{columns:2;column-gap:28px}#view > .brief .bl li{break-inside:avoid}
}
/* launch-17em: empty, offseason, no-league, sample-league and locked states share one layout (restyle only; main keeps one width on every page, see 17u).
   1. State cards (.card.empty, .card.unsup, .card.rerr, the Trade Lab and Make it work empties): title on its own line, 6px to the body,
      no stray bottom margin, the CTA 12px under the body, body text capped at a readable measure.
   2. Page subtitles and page-level notes are capped at a readable measure (they ran ~190 characters wide at 1280px with no sidebar).
   3. Connect your league / League setup uses the same centered 520px column as Connect ESPN and the other connect screen.
   4. "Add your team first": full-width CTA on phones; on wider screens it sizes to its label like the other page CTAs.
   5. Locked "Soon" choices: icon and title stay dimmed, the blurb and the Soon badge stay readable in light and dark.
   6. Sample league / read-only badge: no doubled gap in the header; on phones it shares a row with the beta badge, so the header is no taller. */
.sub{max-width:72ch}
#view>p.meta,#view>.note,.acct>p.meta,.briefpage>p.meta{max-width:72ch}
.card.empty>b:first-child,.card.unsup>b:first-child,.card.rerr>b:first-child,.miwempty>b:first-child{display:block;line-height:1.35}
.card.empty>b:last-child,.noadds>b:last-child{margin-bottom:0}
.card.empty p,.tlempty p,.miwempty p{margin:6px 0 0;max-width:64ch}
.card.unsup p,.card.rerr p,.qa-panel p{max-width:64ch}
.tlempty p{margin-left:auto;margin-right:auto}
.card.rerr>.btn{margin-top:4px}
/* Retry hooks share a 44px target, including legacy ID-only and inline controls. */
[data-retry],[data-miwretry],[data-tlsretry],#tmretry,#tlretry,#recretry,#rerr{min-width:44px;min-height:44px}
.card.mut{font-size:14px;padding-right:max(16px,calc(100% - 68ch))}
#brief>p.mut:only-child{margin:0;font-size:14px}
#view:has(> a.choice[href="#/import"])>*{max-width:520px;margin-left:auto;margin-right:auto}
@media (min-width:761px){#view>h1:first-child+.sub+a.btn:last-child{width:auto;padding:13px 34px}}
.choice.off{opacity:1}.choice.off .ic,.choice.off b{opacity:.6}.choice.off .soon{color:var(--mut)}
.tright .lgbadge{margin-right:0}
@media (max-width:480px){
  .tright:has(.lgbadge){display:grid;grid-template-columns:repeat(2,auto);justify-content:end;justify-items:end;align-items:center;column-gap:6px;row-gap:2px}
  .tright:has(.lgbadge) .lgbadge,.tright:has(.lgbadge) .beta{grid-row:1}.tright:has(.lgbadge) .stamp{grid-row:2;grid-column:1/-1;min-width:0;max-width:100%}
  .lgbadge{font-size:var(--type-caption, 10.5px);padding:2px 8px}
}
/* launch-17pol6 #31 */
/* Settings > Categories: the chips are read-only, so they stop looking like selected buttons (no amber outline or fill); the Punted tag stays.
   'Edit on My Team' (the link in the line under the chips) reads as a link (same look as .linkbtn). Scoped to Settings (h2 + .catro); the Streaming
   page chips are unchanged. The link is matched by its place and href so the selector doesn't look like a punted-category rule to test/punt-rule. */
h2+.catro .chip.ro{background:none;border-color:var(--line);color:var(--tx)}
h2+.catro+p a[href^="#/team"]{color:var(--hon2);text-decoration:underline;text-underline-offset:3px}
/* launch-17pol6 #43 */
/* Header on phones (480px and under): the stamp, the beta pill and the 'Sample league' / 'Read-only QA view' badge stack on the right. The badge kept
   the 8px right margin meant for the desktop row, so it sat 8px in from the edge the others line up on. It now lines up and matches the stamp's size. */
@media (max-width:480px){.tright .lgbadge{margin-right:0;padding:2px 8px;font-size:var(--type-caption, 10.5px)}}
/* 17polx: where the older restyle previews (17ph, 17pol, 17pol2, 17pol3, above 17ft) meet 17pol5 / 17pol6 or each other, these rules make both sides
   hold. Pixel values and selectors only: no colors, no variables, no earlier rule changed or dropped.
   1. Phone top bar: 17hd's 8px padding (61px bar) comes after 17sa's notch padding and replaced it. Both now: 8px plus the status-bar inset. */
@media (max-width:760px){.top{padding-top:calc(8px + env(safe-area-inset-top))}}
/* 2. Phone header (480px and under): 17bd made the Founders beta pill and the league badge one 9.5px pill; 17em / 17pol6 #43 size the badge like the
      stamp (10.5px, 2px 8px). The beta pill follows the badge, so the two pills sharing the header's first row match again. */
@media (max-width:480px){.top .beta{font-size:var(--type-caption, 10.5px);padding:2px 8px}}
/* 5. League setup, Upload screenshots, Build rosters, Keepers and Settings: 17ob2's one 640px column, the same as Connect your league (.connect, 640px
      since 17ob2). Three later rules outrank 17ob2's #view:has(...)>* on these screens: 17em's Connect your league column (520px, set to match .connect
      when it was 520px), 17em's 72ch page-note measure and 17ly's 1040px desktop column. This rule lists #q / #ksave inside :is(), so it carries one ID's
      weight and wins; it sets only the three properties 17ob2's column sets. Other pages are untouched. */
#view:is(:has(> #manualchoice),:has(> .drop),:has(> #q),:has(> #ksave),:has(> .danger))>*{max-width:640px;margin-left:auto;margin-right:auto}
/* 6. Bottom sheet and Trade Lab verdict sheet: 17md's later 18px padding shorthand replaced 17sa's landscape-notch side insets. 18px stays the
      minimum; a notch pushes the content in (17sa). */
.bsin{padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right))}
@media (max-width:1023px){.tlv.open{padding-left:max(18px, env(safe-area-inset-left));padding-right:max(18px, env(safe-area-inset-right))}}

/* launch-build3a: the build controls live on Team. Keep the bar, rank and pill inside a phone card. */
#teamCategories{scroll-margin-top:84px}
.teambuild .teamcat{grid-template-columns:56px minmax(0,1fr) 40px;gap:8px;padding:11px 0}
.puntpill{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:0;border:0;background:none;color:var(--mut);font:inherit;font-size:12px;cursor:pointer}
.puntpill span{display:inline-block;padding:3px 9px;border:1px solid var(--line);border-radius:999px}
.puntpill[aria-pressed=true]{color:var(--hon)}
.puntpill[aria-pressed=true] span{border-color:var(--hon)}
.puntpill:focus-visible{outline:2px solid var(--hon);outline-offset:1px;border-radius:12px}
.rosterhead{display:flex;align-items:center;gap:6px}.rosterhead h2{flex:1}
.teamlegend{position:relative;flex:none}.teamlegend>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;min-height:44px;cursor:pointer;color:var(--mut)}
.teamlegend>summary::-webkit-details-marker{display:none}
.teamlegend .legend{position:absolute;right:0;top:100%;width:min(320px,calc(100vw - 48px));margin:0;padding:16px;z-index:7;background:var(--pop-bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px var(--pop-shadow)}
.heat .winchance.w{color:var(--win)}.heat .winchance.s{color:var(--mid)}.heat .winchance.l{color:var(--loss)}

/* Build 3a review: the three ranking values leave the remaining width to the full team name. */
.ptable .plhead .pcol{white-space:nowrap;overflow-wrap:normal}
.ptable .list li .grow .tlink{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
@media (max-width:480px){
  .ptable .pcol{width:64px}
  .ptable .pcol:last-child{width:76px}
}

/* F1 shell and primitives. Existing page bodies retain their own layouts. */
body{padding-bottom:calc(80px + env(safe-area-inset-bottom));font-variant-numeric:tabular-nums}
body:has(#tabs[hidden]){padding-bottom:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#view:not([data-heading-keyboard]) h1[tabindex="-1"]:focus{outline:none}
.k-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.k-card-head,.k-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.k-card-head h2,.k-sheet-head h2{margin:0;text-transform:none;letter-spacing:-.03em;font-size:20px;color:var(--ink)}
.k-card-head p,.k-sub{color:var(--secondary);font-size:14px;margin:6px 0 0}
.k-link,.k-icon-button,.k-tab,.k-list-row,.k-menu-link{min-height:44px}
.k-link{display:inline-flex;align-items:center;color:var(--accent);font-weight:600}
.k-icon-button{min-width:44px;display:inline-grid;place-items:center;background:none;border:1px solid var(--line);border-radius:50%;color:var(--secondary)}
.k-icon-button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6}
.k-segmented{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--segment)}
.k-tab{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;border-radius:9px;color:var(--secondary)}
.k-tab.on{background:var(--brand);color:var(--on-accent);font-weight:650}
.k-list-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.k-grow{flex:1;min-width:0}.k-chance{font-weight:650;font-variant-numeric:tabular-nums}.k-delta{display:inline-flex;flex-direction:column;min-width:58px}.k-delta b{font-size:var(--type-heading, 36px);line-height:1.1;letter-spacing:-.05em}.k-delta small{font-size:var(--type-caption, 10px);text-transform:uppercase;letter-spacing:.03em;color:var(--secondary);margin-top:6px}
.k-shimmer-row{min-height:76px;padding:12px 0;border-bottom:1px solid var(--line)}
.k-sheet{padding:0;width:100%;max-width:none;max-height:85dvh;position:fixed;inset:auto 0 0;margin:0;border:1px solid var(--line);border-radius:24px 24px 0 0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
.k-sheet::backdrop{background:var(--scrim)}.k-sheet-body{padding:20px 24px calc(24px + env(safe-area-inset-bottom));overflow:auto}.k-sheet-head{margin-bottom:16px}.k-sheet .k-menu-link{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid var(--soft-line)}.k-sheet .k-segmented{margin:10px 0 18px}.k-sheet button:disabled{cursor:default;color:var(--muted)}
body:has(.k-sheet[open]){overflow:hidden}
.top.k-shell{padding:12px 20px;min-height:76px;gap:16px;background:var(--bg);border:0;backdrop-filter:none}
.k-shell .logo{display:flex;font-size:var(--type-section, 18px);letter-spacing:.02em;min-height:44px}.k-shell .mark{background:none;border-radius:0;box-shadow:none;width:24px;height:30px;padding:0;color:var(--brand)}
.k-shell .tright{display:flex;align-items:center;gap:8px;min-width:0}.k-switcher{display:flex;align-items:center;gap:8px;border:0;background:none;min-height:44px;max-width:50vw;color:var(--secondary);padding:0;text-align:right}.k-switcher [data-k=sw-name]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--type-detail, 13px)}.k-switcher #topav{display:none}
.k-desktop-chrome{display:none}.k-shell #stamp{display:none}.k-shell .lgbadge{font-size:var(--type-caption, 10px)}.k-shell .stamp{font-size:12px}
#tabs{display:flex;align-items:center;gap:0;position:fixed;inset:auto 0 0;z-index:6;padding:8px 6px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:var(--surface);backdrop-filter:none;box-shadow:none}
#tabs[hidden]{display:none}#tabs>a[data-t]{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;margin:0;padding:0 2px;font-size:var(--type-caption, 11px);font-weight:550;color:var(--secondary);border-radius:10px;border:0;box-shadow:none;background:none}#tabs>a.on[data-t]{color:var(--accent)}#tabs>a svg{width:22px;height:22px}
#tabs .navlogo,#tabs .k-rail-foot{display:none}
.k-rail-foot button{border:0;background:none;min-width:44px;min-height:44px;display:grid;place-items:center;color:var(--secondary)}
.k-rail-foot #navav{width:36px;height:36px;background:var(--avatar-bg);color:var(--ink);border-radius:50%;display:grid;place-items:center;font-size:12px}.k-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1024px){
 body{padding-bottom:0}body:has(#tabs:not([hidden])){padding-left:100px}body:has(#tabs:not([hidden])) .top.k-shell{margin-left:0}
 #tabs{inset:0 auto 0 0;width:100px;padding:30px 12px;flex-direction:column;gap:16px;background:var(--nav);border:0;border-right:1px solid var(--line)}
 #tabs .navlogo{display:grid;place-items:center;width:100%;height:44px;margin:0 0 18px;padding:0}#tabs .navlogo .mark{background:none;box-shadow:none;color:var(--brand);width:28px;height:32px}
 #tabs>a[data-t]{flex:none;width:100%;min-height:76px;font-size:var(--type-caption, 11px);gap:8px;padding:10px 0}#tabs>a.on[data-t]{background:var(--selected);box-shadow:none}
 #tabs .k-rail-foot{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:auto}
 .top.k-shell{position:relative;padding:28px 48px 0;min-height:70px;align-items:flex-start}.k-shell>.logo,.k-shell .k-switcher{display:none}body:has(#tabs[hidden]) .k-shell>.logo{display:flex}body:has(#tabs[hidden]) .k-shell .k-crumb{display:none}.k-desktop-chrome{display:flex;align-items:center;gap:14px}.k-shell #stamp{display:inline}.k-crumb{display:block;max-width:65%;text-transform:uppercase;font-size:var(--type-caption, 10px);font-weight:600;letter-spacing:.1em;color:var(--secondary);padding-top:8px}.k-shell-date{font-size:var(--type-detail, 13px);text-align:right;display:block;color:var(--ink)}.k-shell .tright{margin-left:auto}.k-sheet{inset:auto 24px 28px auto;width:340px;max-height:80dvh;border-radius:18px}.k-sheet-body{padding:20px}
 main#view{max-width:1420px;padding:0 48px 48px;margin:0 auto}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.k-icon-button[hidden]{display:none}

/* Stable shared avatar, moved from the retired four-tab chrome. */
.avatar{width:32px;height:32px;border-radius:50%;background:var(--avatar-bg);color:var(--ink);display:grid;place-items:center;font-weight:600;font-size:var(--type-caption, 12.5px);flex:none}.avatar:empty{display:none}
@media(min-width:1024px){body:has(#tabs:not([hidden])) .top.k-shell{display:flex}}

/* All Players: temporary multi-category ranking sandbox. */
.pl-sandbox .chips{flex-wrap:wrap}
.pl-sandbox .chip{min-width:44px;min-height:44px}
.pl-sandbox .chip[aria-pressed=true]{background:var(--loss);border-color:var(--loss);color:var(--on-hon)}

/* Your roster stays recognizable in normal and sandbox rankings. */
.pl-home #pll .plr.pl-own{box-shadow:inset 3px 0 var(--brand);background:rgba(var(--hon-rgb),.08);padding-left:12px;padding-right:12px;border-radius:8px}

/* Keeper confirmation stays centered on desktop and phone. */
.k-confirm{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);color:var(--ink);box-shadow:0 12px 32px var(--pop-shadow)}
.k-confirm::backdrop{background:var(--scrim)}
.k-confirm h2{margin:0 0 24px;white-space:pre-line;font-size:20px;line-height:1.45;letter-spacing:-.02em;text-transform:none}
.k-confirm form{display:flex;justify-content:flex-end;gap:12px}.k-confirm .btn{width:auto;min-width:88px;min-height:44px;margin:0}
body:has(.k-confirm[open]){overflow:hidden}
/* Independent ESPN-bank result; weekly plan controls and advice keep their own state. */

.weekly-provenance{display:block;margin-top:10px;font-size:var(--type-detail, 13px);line-height:1.5;color:var(--mut)}
.weekly-provenance>span{display:block;margin-top:3px;overflow-wrap:anywhere}
.weekly-provenance [data-score-change]{color:var(--txt)}
.weekly-unavailable{margin:16px 0;color:var(--mut)}
.weekly-history{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px}
.weekly-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center;line-height:1.5}

/* The profile menu belongs beside its rail button; other sheets keep their own placement. */
@media(min-width:1024px){.k-sheet.k-profile-menu{inset:auto auto 28px 112px;width:280px}}
.settings-espn{display:flex;width:fit-content;max-width:100%;margin:4px auto;min-height:44px}

/* Actual-season ranks and their published scores, paired by basis. */
.pl-actual-table{width:100%;border-collapse:collapse;table-layout:fixed}.pl-actual-table th,.pl-actual-table td{border-bottom:1px solid var(--line);padding:14px 12px;text-align:left}.pl-actual-table thead th{font-size:var(--type-caption, 11px);color:var(--muted);font-weight:500}.pl-actual-table .pl-actual-rank{width:84px}.pl-actual-table .pl-actual-score{width:96px}.pl-actual-table th.pl-actual-number,.pl-actual-table tbody td{text-align:right;overflow-wrap:anywhere}.pl-actual-table tbody th{font-weight:400;overflow-wrap:anywhere}.pl-actual-table tbody td{font-variant-numeric:tabular-nums;font-size:var(--type-section, 18px);font-weight:650}.pl-actual-table tbody th .meta{display:block;font-size:var(--type-caption, 11px);margin-top:4px}.pl-actual-meta{margin:18px 0}.pl-actual-meta p{margin:6px 0;font-size:12px}.pl-actual-delayed{color:var(--accent)}.pl-actual [data-actual-list]{margin-top:12px}.pl-actual .plq{min-width:0}
@media(max-width:760px){.pl-actual-table th,.pl-actual-table td{padding:12px 4px}.pl-actual-table .pl-actual-rank{width:54px}.pl-actual-table .pl-actual-score{width:58px}.pl-actual-table thead th{font-size:var(--type-caption, 10px)}.pl-actual-table tbody th>b{font-size:14px}.pl-actual-table tbody td{font-size:14px}.pl-actual .plf{flex-wrap:wrap}.pl-actual .plshow{max-width:100%}}

.pl-actual-table caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.pl-actual-table tbody tr.pl-own{background:var(--well)}

/* One status phrase and the existing roster action, at both shell widths. */
.top.k-shell{flex-wrap:wrap;row-gap:0}
.k-shell .tright{display:contents}
.k-shell .k-switcher{margin-left:auto}
.k-header-sync{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:1 0 100%;min-width:0;order:3;white-space:nowrap}
.k-header-sync[hidden]{display:none}
.k-shell #stamp[hidden]{display:none}
.k-shell #stamp{display:block;flex:0 1 auto;font-size:var(--type-caption, 11px);line-height:1.3;white-space:nowrap}
.k-header-sync .k-icon-button{flex:0 0 44px}
@media(min-width:1024px){
  .k-shell .tright{display:flex;flex-direction:column;align-items:flex-end;gap:0}
  .k-header-sync{flex:initial;gap:10px}
  .k-shell #stamp{font-size:12px}
}

/* The ring follows the existing Sync request; terminal CSS completion clears it. */
button[data-sync-state]:not([data-sync-state="idle"]){position:relative;overflow:visible;filter:none!important;opacity:1!important}
button .sync-ring{position:absolute;inset:-5px;width:calc(100% + 10px);height:calc(100% + 10px);pointer-events:none;overflow:visible}
.sync-ring :is(circle,rect){fill:none;stroke-width:3;stroke-linecap:round}
.sync-ring .sync-track{stroke:color-mix(in srgb,var(--ink) 8%,transparent)}
.sync-ring .sync-arc{stroke:var(--accent);stroke-dasharray:40 120}
[data-k="hd-sync"][data-sync-state="busy"]>.sync-ring{animation:sync-orbit .9s linear infinite}
.sync-ring rect{x:2px;y:2px;width:calc(100% - 4px);height:calc(100% - 4px)}
[data-sync-state="busy"] .sync-arc:is(rect){animation:sync-travel .9s linear infinite}
[data-sync-state="busy"]>.sync-face{color:var(--accent)}
.sync-face{display:contents}.sync-check{display:none}
[data-sync-state="success"]>.sync-ring,[data-sync-state="failure"]>.sync-ring{animation:sync-result 2.5s linear both}
[data-sync-state="success"] .sync-arc{stroke:var(--positive);stroke-dasharray:160.3 0}
[data-sync-state="failure"] .sync-arc{stroke:var(--negative);stroke-dasharray:160.3 0}
[data-k="hd-sync"][data-sync-state="success"]>.sync-face{visibility:hidden}
[data-k="hd-sync"][data-sync-state="success"]>.sync-check{display:grid;position:absolute;inset:0;place-items:center;font-size:20px;font-weight:800;color:var(--positive)}
#stamp[data-sync-state]::before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--positive);vertical-align:1px}
#stamp[data-sync-state="busy"]::before,#stamp[data-sync-state="failing"]::before,#stamp[data-sync-state="stale"]::before{background:var(--accent)}
#stamp[data-sync-state="busy"]::before,.sync-dots{animation:sync-pulse 1.2s ease-in-out infinite}
#stamp[data-sync-state="success"]{color:var(--positive)}
@keyframes sync-travel{to{stroke-dashoffset:-160}}
@keyframes sync-orbit{to{transform:rotate(360deg)}}
@keyframes sync-pulse{50%{opacity:.4}}
@keyframes sync-result{0%,85%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){
 [data-sync-state="busy"]>.sync-ring{animation:sync-pulse 2s ease-in-out infinite!important}
 [data-sync-state="success"]>.sync-ring,[data-sync-state="failure"]>.sync-ring{animation:sync-result 2.5s linear both!important}
 .sync-dots{animation:none}
}

/* Small page polish: no change to model data or settled values. */
.technical-details{margin:16px 0;color:var(--mut)}.technical-details>summary{cursor:pointer;font-weight:650}
.boot-loading-copy{visibility:hidden;animation:loading-copy 0s 3s forwards}@keyframes loading-copy{to{visibility:visible}}
.fx-matchup-updating{opacity:.6;pointer-events:none}.fx-matchup-days{display:flex;flex-wrap:wrap;gap:4px 12px}
.fx-matchup-days time{background:none;border:0;padding:0;border-radius:0}
.lg-swipe-cue{display:none}@media(max-width:767px){.lg-swipe-cue{display:block}}

/* Points player ranks share the Players shell and roster card. */
.pp-ranks h2,.pp-card h2{margin-top:0}
.pp-table-wrap{padding:0;overflow-x:auto}
.pp-table{width:100%;border-collapse:collapse;table-layout:fixed}
.pp-table th,.pp-table td{padding:8px 12px;text-align:left}
.pp-table thead th:first-child{width:64px}
.pp-table thead th:nth-last-child(-n+2){width:112px}
.pp-table :is(td,th):nth-child(2){text-align:left}
.pp-table :is(td,th):nth-last-child(-n+2){text-align:right;font-variant-numeric:tabular-nums}
.pp-table .psb,.pp-player-meta{overflow-wrap:anywhere}
.pp-player-meta{display:block;font-weight:400}
.pp-ranks [data-points-ranks-more]{margin-top:12px}
[data-points-roster-rank]:not(:empty){display:block;color:var(--mut);margin:0 0 4px}
.pp-roster-fallback{margin-top:12px}
.pp-roster-fallback h2{margin-top:0}
.pp-roster-fallback li{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pp-roster-fallback [data-points-roster-rank]{margin:0;text-align:right}
.pp-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:18px 0}
.pp-card-stats dt{color:var(--mut);font-size:13px}
.pp-card-stats dd{margin:3px 0 0;font-size:18px;font-variant-numeric:tabular-nums}
@media(max-width:520px){
  .pp-table th,.pp-table td{padding:6px 7px}
  .pp-table thead th:first-child{width:43px}
  .pp-table thead th:nth-last-child(-n+2){width:69px}
}
