/* ============ simple mode ============
   The Default view: the same data with more air, larger type, rounder edges,
   and the secondary columns and deep-dive cards left out. Everything here hangs
   off one attribute on the root, so the dense Minimal view is untouched. */
:root[data-ui="simple"]{
  --r:18px; --r-sm:12px;
}
:root[data-ui="simple"] body{font-size:15px}
:root[data-ui="simple"] .grid{gap:20px}
:root[data-ui="simple"] .card .hd{padding:20px 24px 0;gap:6px 12px}
:root[data-ui="simple"] .card .hd h3{font-size:17px;letter-spacing:-.02em}
:root[data-ui="simple"] .card .hd .note{font-size:13px}
:root[data-ui="simple"] .card .bd{padding:18px 24px 24px}
:root[data-ui="simple"] .kpi{padding:18px 20px;gap:3px}
:root[data-ui="simple"] .kpi .val{font-size:30px}
:root[data-ui="simple"] .kpi .lbl{font-size:11px}
:root[data-ui="simple"] .kpi .sub{font-size:13px}
:root[data-ui="simple"] table.tbl{font-size:14px}
:root[data-ui="simple"] table.tbl th{font-size:11px;padding:11px 12px}
:root[data-ui="simple"] table.tbl td{padding:12px}
:root[data-ui="simple"] .tiny{font-size:12.5px}
:root[data-ui="simple"] .navbtn{padding:9px 12px;font-size:14px}
:root[data-ui="simple"] .btn{padding:8px 15px;min-height:38px;font-size:13.5px}
:root[data-ui="simple"] .btn.sm{min-height:30px;padding:5px 11px;font-size:12.5px}
:root[data-ui="simple"] .seg button{padding:7px 15px;font-size:13.5px}
:root[data-ui="simple"] .avatar{width:32px;height:32px;border-radius:10px}
/* ---- settings menu ---- */
.menuwrap{position:relative}
.menupanel{position:absolute;top:calc(100% + 10px);right:0;z-index:60;background:var(--surface-1);border:1px solid var(--border-strong);border-radius:var(--r);box-shadow:var(--shadow-lg);padding:18px;width:312px;display:grid;gap:16px;max-height:calc(100vh - 96px);overflow-y:auto;animation:rise .22s var(--ease) both}
.menupanel .mlbl{font-size:10.5px;font-weight:720;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted);margin-bottom:7px}
.menupanel .mnote{font-size:12px;color:var(--text-muted);margin-top:7px;line-height:1.45}
.menupanel .seg{width:100%}
.menupanel .seg button{flex:1;text-align:center}
.menupanel hr{border:0;border-top:1px solid var(--border);margin:0}
.menupanel .btn{width:100%;justify-content:center}
.swatches{display:flex;gap:8px;flex-wrap:wrap;padding:4px 3px}
.swatch{width:30px;height:30px;border-radius:50%;border:0;padding:0;cursor:pointer;position:relative;flex:none;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.28),var(--shadow-xs);transition:transform .15s var(--ease),box-shadow .15s}
.swatch:hover{transform:scale(1.1)}
.swatch.on{box-shadow:0 0 0 2.5px var(--surface-1),0 0 0 4.5px var(--text-primary)}
.swatch.on::after{content:'';position:absolute;left:50%;top:50%;width:6px;height:11px;margin:-6.5px 0 0 -3px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(45deg) translate(-1px,-1px);filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
@media (max-width:560px){ .menupanel{width:min(320px,calc(100vw - 28px))} }

/* imagery — only ever used in simple mode */
.face{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--surface-3);flex:none}
.face.lg{width:46px;height:46px;border-radius:13px}
.face.sm{width:24px;height:24px;border-radius:50%}
.face.xs{width:18px;height:18px;border-radius:50%}
.pnrow{display:flex;align-items:center;gap:5px;min-width:0;flex-wrap:nowrap}
/* a name with its headshot, wherever a name appears on its own */
.pnf{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.pnf.mir{flex-direction:row-reverse}
/* ---- head-to-head slot ladder: a mirror down the middle ---- */
.ladderrow{display:grid;gap:12px;align-items:center;padding:10px 4px;border-bottom:1px solid var(--grid)}
.ladderrow:last-child{border-bottom:0}
.ladderrow.ladderhd{padding-bottom:7px;border-bottom:1px solid var(--border)}
.ladderrow .pl{display:flex;align-items:center;gap:7px;min-width:0}
.ladderrow .pl.l{justify-content:flex-end;text-align:right;flex-direction:row}
.ladderrow .pl .plink{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ladderstack{border-bottom:1px solid var(--grid);padding:8px 0}
/* a counted score with where the game is underneath it */
.lcell{display:inline-grid;gap:1px;line-height:1.15}
.lstat{font-size:10.5px;font-variant-numeric:tabular-nums;color:var(--text-muted);font-weight:600}
.lstat .up{color:var(--good-text)}
.lstat .down{color:var(--bad-text)}

/* ---- home ---- */
.banner{position:relative;overflow:hidden;display:flex;align-items:center;gap:22px;padding:28px 30px;color:#fff;
  border-radius:calc(var(--r) + 4px);box-shadow:var(--shadow-lg);
  background:
    radial-gradient(520px 280px at 100% 0%, var(--glow-a), transparent 70%),
    radial-gradient(460px 280px at 0% 110%, var(--glow-b), transparent 70%),
    linear-gradient(135deg,var(--hero-a) 0%,var(--hero-b) 55%,var(--hero-c) 100%)}
.banner::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:40px 40px;-webkit-mask-image:linear-gradient(100deg,transparent 30%,#000 100%);mask-image:linear-gradient(100deg,transparent 30%,#000 100%)}
.banner > *{position:relative;z-index:1}
.banner h1{font-size:32px;font-weight:750;letter-spacing:-.035em;line-height:1.08;overflow:hidden;text-overflow:ellipsis;color:#fff}
.banner .sec{color:rgba(224,228,255,.78)}
.banner .tag{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#eef0ff}
.banner .live{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.26);color:#fff}
.heroav{width:68px;height:68px;border-radius:20px;object-fit:cover;flex:none;background:var(--brand-grad);
  box-shadow:0 0 0 3px rgba(255,255,255,.18),0 12px 28px -8px rgba(0,0,0,.5)}
/* the league's own badges, running off the right edge and fading out before
   they reach the name; decoration only, so it never carries a number */
.heroband{position:absolute;z-index:0;top:0;right:0;bottom:0;width:min(62%,560px);
  display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-right:24px;pointer-events:none;
  opacity:.5;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 62%,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 62%,#000 100%)}
.heroband img{width:54px;height:54px;border-radius:16px;object-fit:cover;flex:none;box-shadow:0 8px 18px -6px rgba(0,0,0,.5)}
@media (max-width:820px){ .heroband{display:none} }

/* ---- the headliners: your best players, lined up ----
   Decoration, so it is Default-mode only. The faces lift on hover one at a
   time, which is the whole trick: a row of portraits that reacts. */
.lineup{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;padding:4px 0 2px}
.lup{display:grid;gap:6px;justify-items:center;width:104px;cursor:pointer;padding:6px 4px;border-radius:var(--r-sm);
  border:1px solid transparent;transition:transform .16s ease,background .16s,border-color .16s}
.lup:hover{transform:translateY(-4px);background:var(--surface-2);border-color:var(--border)}
.lup:focus-visible{outline:2px solid var(--s1);outline-offset:2px}
.lupface{position:relative;line-height:0}
.lupface .face.lg{width:66px;height:66px;border-radius:50%;border:3px solid var(--surface-1);
  box-shadow:0 2px 12px rgba(11,11,11,.16);background:linear-gradient(160deg,var(--surface-3),var(--surface-2))}
.lup:hover .lupface .face.lg{border-color:var(--s1)}
.luppos{position:absolute;right:-2px;bottom:0;padding:1px 6px;border-radius:99px;font-size:9.5px;font-weight:700;
  letter-spacing:.02em;border:2px solid var(--surface-1);line-height:1.35}
.lupnm{font-weight:620;font-size:11.5px;line-height:1.2;text-align:center;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:560px){
  .lineup{gap:8px}
  .lup{width:78px}
  .lupface .face.lg{width:54px;height:54px}
  .lupnm{font-size:11px}
}

/* ---- start/sit comparison cards ---- */
.cgrid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(248px,100%),1fr))}
.ccard{position:relative;border:1px solid var(--border);border-radius:var(--r);padding:13px 14px;background:var(--surface-1);
  display:grid;gap:10px;min-width:0;align-content:start}
.ccard.lead{border-color:var(--s1);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--s1) 35%, transparent)}
.ccard .cx{position:absolute;top:8px;right:8px;padding:2px 8px;line-height:1.3;opacity:.55}
.ccard .cx:hover{opacity:1}
.chead{display:flex;align-items:center;gap:11px;min-width:0;padding-right:26px}
.chead .face.lg{width:52px;height:52px;border-radius:50%;background:var(--surface-3)}
.cnm{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag.leadtag{border-color:var(--s1);color:var(--s1);font-weight:660}
/* floor → ceiling, every card on one scale */
.crange{position:relative;height:10px;background:var(--surface-3);border-radius:5px}
.crange i{position:absolute;top:0;bottom:0;border-radius:5px;background:var(--seq-200)}
.crange u{position:absolute;top:-3px;bottom:-3px;width:2.5px;border-radius:2px;background:var(--s1);text-decoration:none}
.cstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-top:1px solid var(--grid);padding-top:9px}
.cstat{text-align:center;min-width:0;cursor:default}
.cstat b{display:block;font-size:13.5px;font-variant-numeric:tabular-nums;line-height:1.2}
.cstat span{display:block;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* one bar per pairing */
.cpair{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1.5fr) minmax(0,1fr);gap:10px;align-items:center}
.cpn{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cbar{position:relative;height:18px;border-radius:5px;background:var(--seq-150);overflow:hidden}
.cbar i{position:absolute;inset:0 auto 0 0;background:var(--s1);display:block}
.cpct{position:absolute;top:0;bottom:0;display:flex;align-items:center;font-size:10.5px;font-weight:700;
  font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.cpct.l{left:7px}
.cpct.r{right:7px;color:var(--text-secondary);text-shadow:none}
@media (max-width:620px){
  .cstats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:9px}
  .cpair{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:7px}
  .cpn{font-size:11.5px}
}

/* ---- players page ---- */
tr.pickline td{background:color-mix(in srgb, #eda100 7%, transparent)}
tr.pickline td:first-child{box-shadow:inset 3px 0 0 #eda100}
tr.mineline td{background:color-mix(in srgb, var(--brand) 7%, transparent)}
.mine-own{color:var(--brand);font-weight:700}
.tag.fa{border-color:var(--good);color:var(--good-text);font-weight:660}
.wirebest{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--r-sm);
  border:1px solid color-mix(in srgb, var(--good) 40%, var(--border));background:color-mix(in srgb, var(--good) 6%, transparent)}

/* ---- a real score against its projection ---- */
.score.up{color:var(--good-text)}
.score.down{color:var(--bad-text)}

/* ---- what the sandbox changed on a roster ---- */
.hypline{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:var(--r-sm);border:1px solid var(--border);min-width:0}
.hypline.in{background:color-mix(in srgb, var(--good) 7%, transparent);border-color:color-mix(in srgb, var(--good) 35%, var(--border))}
.hypline.out{background:color-mix(in srgb, var(--critical) 6%, transparent);border-color:color-mix(in srgb, var(--critical) 30%, var(--border))}
.hypline.out .hypnm{text-decoration:line-through;text-decoration-color:color-mix(in srgb, var(--critical) 60%, transparent);opacity:.8}
.hypdir{font-size:10px;font-weight:800;letter-spacing:.05em;padding:2px 6px;border-radius:5px;flex:none}
.hypline.in .hypdir{background:var(--good);color:#fff}
.hypline.out .hypdir{background:var(--critical);color:#fff}
.hypnm{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcard.hypin{border-color:var(--good);box-shadow:inset 3px 0 0 var(--good)}

/* ---- your matchup, badge either side of the score ---- */
.mvside{display:flex;align-items:center;gap:10px;min-width:0}
.mvside.r{flex-direction:row-reverse;text-align:right}
.mvav{width:42px;height:42px;border-radius:12px;object-fit:cover;background:var(--surface-3);flex:none}

/* ---- the podium: the top of the table, on blocks ---- */
.podwrap{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,1fr);gap:18px;align-items:end}
.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.pod{display:grid;gap:8px;justify-items:center;cursor:pointer;border-radius:var(--r-sm);padding:6px 4px 0;
  border:1px solid transparent;transition:background .12s,border-color .12s,transform .12s}
.pod:hover{background:var(--surface-2);border-color:var(--border);transform:translateY(-2px)}
.pod:focus-visible{outline:2px solid var(--s1);outline-offset:2px}
.pod .podtop{display:grid;gap:5px;justify-items:center;text-align:center;min-width:0;width:100%}
.pod .podav{width:46px;height:46px;border-radius:13px;object-fit:cover;background:var(--surface-3);
  box-shadow:0 2px 10px rgba(11,11,11,.14)}
.pod.p1 .podav{width:58px;height:58px;border-radius:16px}
.pod .nm{font-weight:660;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.pod .pododds{font-size:11.5px;color:var(--text-secondary)}
.pod .pododds b{color:var(--s1)}
.pod.mine .podtop .nm{color:var(--brand)}
.pod .form{justify-content:center}
.pod.p1 .nm{font-size:14.5px}
.pod .block{width:100%;border-radius:8px 8px 0 0;display:grid;place-items:end center;padding-bottom:7px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.pod.p1 .block{height:74px}
.pod.p2 .block{height:54px}
.pod.p3 .block{height:40px}
.pod .place{font-size:20px;font-weight:800;color:rgba(255,255,255,.92);text-shadow:0 1px 2px rgba(0,0,0,.28);line-height:1}
.pod.p2 .place,.pod.p3 .place{font-size:17px}
.block.gold{background:linear-gradient(180deg,#e8c35a,#c99a1e)}
.block.silver{background:linear-gradient(180deg,#d3d9e0,#a4adb8)}
.block.bronze{background:linear-gradient(180deg,#d8a273,#b0743f)}
:root[data-theme="dark"] .block.silver{background:linear-gradient(180deg,#aab2bd,#79818c)}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .block.silver{background:linear-gradient(180deg,#aab2bd,#79818c)} }
.hunt{display:grid;gap:5px;align-content:end;padding-bottom:4px}
.hunt .lbl{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin-bottom:2px}
.huntrow{display:grid;grid-template-columns:20px 26px minmax(0,1fr) auto;gap:8px;align-items:center;cursor:pointer;
  padding:6px 7px;border-radius:var(--r-sm);border:1px dashed var(--border)}
.huntrow:hover{background:var(--surface-2);border-style:solid}
.huntrow:focus-visible{outline:2px solid var(--s1);outline-offset:-2px}
.huntrow .rk{font-size:11.5px;font-weight:700;color:var(--text-muted);text-align:center;font-variant-numeric:tabular-nums}
.huntrow .avatar{width:26px;height:26px;border-radius:8px}
.huntrow .nm{font-weight:600;font-size:12.5px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:780px){
  .podwrap{grid-template-columns:minmax(0,1fr);gap:14px}
  .hunt{align-content:start}
}
@media (max-width:420px){
  .pod .podav{width:38px;height:38px;border-radius:11px}
  .pod.p1 .podav{width:46px;height:46px}
  .pod .nm{font-size:11.5px}
  .pod.p1 .nm{font-size:12.5px}
}

/* ---- the league, one row per team ---- */
/* capped so the columns stay together: a name column free to take a whole wide
   card leaves a lake of white between the team and its record */
.lgstrip{display:grid;max-width:880px}
.lgrow.lghd{cursor:default;padding:0 8px 6px;border-bottom:1px solid var(--border);border-radius:0}
.lgrow.lghd:hover{background:none;border-color:transparent;border-bottom-color:var(--border)}
.lgrow.lghd .who{padding-left:44px}
.lgrow{display:grid;grid-template-columns:30px minmax(0,1fr) 58px 58px 78px 58px;gap:14px;align-items:center;
  padding:9px 8px;border-radius:var(--r-sm);cursor:pointer;border:1px solid transparent}
.lgrow:hover{background:var(--surface-2);border-color:var(--border)}
.lgrow:focus-visible{outline:2px solid var(--s1);outline-offset:-2px}
.lgrow.mine{background:color-mix(in srgb, var(--brand) 8%, transparent)}
.lgrow.mine:hover{background:color-mix(in srgb, var(--brand) 13%, transparent)}
.lgrow .rk{font-size:13px;font-weight:700;color:var(--text-muted);text-align:center;font-variant-numeric:tabular-nums}
.lgrow .who{display:flex;align-items:center;gap:10px;min-width:0}
.lgrow .who .avatar{width:34px;height:34px;border-radius:10px}
.lgrow .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}
.lgrow .num{text-align:right;font-size:12.5px;color:var(--text-secondary)}
.lgrow .odds{text-align:right;font-size:13px;color:var(--text-secondary)}
.lgrow .odds.up{color:var(--good-text)}
.lgrow .odds.down{color:var(--text-muted)}
/* a pick that has changed hands */
.tag.traded{border-color:var(--s4);color:var(--s4);font-weight:660}
/* the last five results, oldest first — a league table's form guide */
.form{display:flex;gap:3px;align-items:center}
.form i{width:12px;height:12px;border-radius:3px;display:block;cursor:default;background:var(--surface-3)}
.form i.W{background:var(--good)}
.form i.L{background:var(--s8)}
.form i.T{background:var(--text-muted);opacity:.6}
.huntrow .form i{width:9px;height:9px;border-radius:2px}
@media (max-width:700px){
  .lgrow{grid-template-columns:24px minmax(0,1fr) 52px;gap:9px;padding:8px 4px}
  .lgrow .form{display:none}
  .lgrow .who .avatar{width:30px;height:30px;border-radius:9px}
}
.tilegrid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(262px,100%),1fr))}
.tile{display:flex;align-items:flex-start;gap:13px;text-align:left;padding:15px 16px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-1);cursor:pointer;min-width:0;
  box-shadow:var(--shadow-xs);transition:border-color .15s,background .15s,transform .18s var(--ease),box-shadow .18s}
.tile:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));transform:translateY(-2px);box-shadow:var(--shadow)}
.tile:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.tile .ic{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:var(--brand);
  background:var(--brand-soft);transition:background .15s,color .15s}
.tile .ic svg{width:19px;height:19px}
.tile:hover .ic{background:var(--brand-grad);color:#fff}
.tile b{font-size:14px;font-weight:660;display:block;margin-bottom:1px}
@media (max-width:560px){
  .banner{gap:14px;padding:20px 18px}
  .banner h1{font-size:23px}
  .heroav{width:52px;height:52px;border-radius:15px}
  .tilegrid{grid-template-columns:minmax(0,1fr)}
}
td .pnf,.asset .pnf{vertical-align:middle}
.tlogo{width:18px;height:18px;object-fit:contain;flex:none;vertical-align:-4px}
:root[data-ui="simple"] .avatar{width:30px;height:30px;border-radius:9px}
:root[data-ui="simple"] .tm{gap:10px}
:root[data-ui="simple"] .tm .nm{font-weight:600}
.pcard{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-1);min-width:0}
.pcard .meta{min-width:0;flex:1}
.pcard .nm{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcard .sub{font-size:11.5px;color:var(--text-muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.pcard .val{text-align:right;flex:none;font-variant-numeric:tabular-nums}
.rankrow{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(110px,.9fr) auto auto;gap:16px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--grid)}
.rankstats{display:flex;gap:18px;text-align:right}
.rankstats b{font-size:14px;display:block;line-height:1.15}
.rankrow:last-child{border-bottom:0}
/* ---- this-week matchup card: team, odds, team ---- */
.mvs{display:grid;grid-template-columns:minmax(0,1fr) minmax(86px,1.05fr) minmax(0,1fr);gap:10px;align-items:start}
.mvs .tmside{display:grid;gap:5px;min-width:0;justify-items:center;text-align:center}
.mvs .tmside .nm{font-weight:640;font-size:13.5px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.mvs .tmside .sc{font-size:25px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.05;letter-spacing:-.02em}
.mvs .tmside .dt{font-size:11px;color:var(--text-muted);line-height:1.3}
.mvs .tmside .dt.cnt{font-size:10px;white-space:nowrap;letter-spacing:-.01em}
.mvs .mid{display:grid;gap:5px;align-content:start;padding-top:46px;max-width:380px;width:100%;margin-inline:auto}
.mvs .mid .bar{position:relative;height:10px;background:var(--surface-3);border-radius:5px;overflow:hidden}
.mvs .mid .bar>i{position:absolute;inset:0 auto 0 0;border-radius:5px 0 0 5px;display:block}
.mvs .mid .pcts{display:flex;justify-content:space-between;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.mvs .mid .cap{text-align:center;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}
.mvs .mlogo{width:36px;height:36px;border-radius:10px;object-fit:cover;background:var(--surface-3)}
@media (max-width:420px){
  .mvs{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);gap:7px}
  .mvs .tmside .sc{font-size:21px}
}
.mvs-lg{max-width:760px;margin-inline:auto;width:100%}
.mvs-lg .tmside .sc{font-size:34px}
.mvs-lg .mlogo{width:48px;height:48px;border-radius:14px}
.mvs-lg .mid{padding-top:62px}
.mvs-lg .mid .bar{height:12px;border-radius:99px}
.mvs-lg .mid .bar>i{border-radius:99px 0 0 99px}
.rankrow .pos{font-size:19px;font-weight:700;color:var(--text-muted);text-align:center;font-variant-numeric:tabular-nums}
@media (max-width:620px){
  .rankrow{grid-template-columns:28px 1fr auto;gap:10px}
  .rankrow .hidenarrow{display:none}
}


/* ---- share menu and toast ---- */
.sharepanel{width:340px}
.sharepanel .sharelink{width:100%;font-size:12px;font-family:var(--mono,monospace);text-overflow:ellipsis}
#sharetoast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,12px);z-index:200;
  background:var(--surface-inv,#10131f);color:#fff;padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;
  box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
#sharetoast.on{opacity:1;transform:translate(-50%,0)}
@media (max-width:560px){ .sharepanel{width:min(340px,calc(100vw - 28px))} #sharetoast{bottom:calc(84px + env(safe-area-inset-bottom))} }
