/* ── the redesign layer (ask 251, 2026-10-27): the site's existing pages re-skinned onto the measured design system, one
   step at a time. The values live in tokens.css (loaded after this file, so its :root wins); this file holds the rules.
   Step 1: the global type and space reset below. Steps 2-5 replace the sections after it (the shell, the header, the
   rows, the tabs) which still date from the first draw. Before this ships it folds into site.css. ── */

/* ── shared small things ── */
.crumb{font:500 11px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}.crumb b{color:var(--fg);font-weight:500}
.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:3px;border:1px solid var(--line2);background:none;font:600 10.5px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.chip.on{border-color:var(--accent);color:var(--fg);background:var(--acc-soft)}
.chip.w{border-color:color-mix(in srgb,var(--good) 50%,transparent);color:var(--good)}.chip.l{border-color:color-mix(in srgb,var(--red) 50%,transparent);color:var(--red)}
.idcard .row2 #rankGames{display:none}
.chip.on.md-standard{background:var(--acc-soft);color:var(--fg);box-shadow:none;border-color:var(--accent)}
.chip.sel{border:1px solid var(--line2);background:var(--well);margin-left:0;height:24px;padding:0 6px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--r2);padding:var(--pad);margin-bottom:var(--gap)}
.panel .hd{font:600 10.5px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-bottom:12px;align-items:center}
.panel .hd span:first-child{display:flex;align-items:center;gap:7px}
.panel .hd span:first-child::before{content:"";width:6px;height:6px;background:var(--accent);flex:none}
.panel .hd a{color:var(--accent);letter-spacing:.04em;text-transform:none;font-weight:500}
.plink{font:600 11px var(--mono);letter-spacing:.06em;color:var(--accent)}.plink:hover{color:var(--fg)}
.more{font:600 11.5px var(--mono);letter-spacing:.08em;border:1px solid var(--line2);border-radius:var(--r);color:var(--fg);padding:9px}
.more:hover{border-color:var(--accent);color:var(--fg)}
.empty,.skel{font-size:13px;color:var(--mute)}
.note{font-size:12.5px;color:var(--dim);line-height:1.5}
.err{background:var(--panel);border:1px solid var(--line);border-radius:var(--r2)}.err h2{font-family:var(--wide);font-stretch:125%;text-transform:none}.err a{color:var(--accent)}
.foot{font:600 12.5px var(--font-body);font-variant-caps:small-caps;letter-spacing:var(--track-caps);color:var(--mute);border-top:1px solid var(--line);padding-top:16px}
.foot .yg{font-variant-caps:normal;letter-spacing:.02em}   /* yoggin stays lowercase (his 10-27) */
.foot a:hover{color:var(--accent)}
.ph,.skel{background:linear-gradient(90deg,rgba(241,239,232,.04) 30%,rgba(241,239,232,.09) 50%,rgba(241,239,232,.04) 70%);background-size:200% 100%}
.av-wrap{background:var(--panel2)}

/* ── the player header: one strip; the name big, the rank badges, the buttons; the hero art faint at the right ── */
.phead,html .phead{position:relative;height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px 20px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel);overflow:hidden}
.phead .paper{border-radius:var(--r2);background:none}
.phead .splash,html .phead .splash{width:52%;opacity:.28;-webkit-mask-image:linear-gradient(90deg,transparent,#000 60%);mask-image:linear-gradient(90deg,transparent,#000 60%)}
.phead .render,html .phead .render{right:660px;bottom:-34px;height:230px;opacity:.55;z-index:1}
.phead .render.in{opacity:.55}
@media (max-width:1240px){html .phead .render{display:none}}
.idcard,html .idcard{position:relative;left:0;top:0;width:auto;height:auto;margin:0;padding:0;transform:none;gap:16px;z-index:2;min-width:0}
/* the player's shop banner fills the whole header (his 10-27 note: "expand the blood moon throughout this whole thing";
   no tape, no hero art underneath; the rank, points and buttons sit on top). The card goes static so its banner layer
   (.idcard:before, crowns.css data-bn) is sized by the header, not the card. */
html .phead{isolation:isolate}
html .phead .idcard{position:static;padding:0}
html .phead .idcard:before{inset:0;z-index:-1;box-shadow:none;border-radius:inherit}
html .phead .idcard:after,html .phead .splash,html .phead .render,html .phead .render.in{display:none}
.idcard .av-wrap,.idcard .av,html .idcard .av-wrap,html .idcard .av{width:72px;height:72px;border-radius:12px}
.idcard .av{filter:none}
.idcard .av-wrap:after{display:none}
.idcard h1,html .idcard h1{font-size:clamp(24px,3.2vw,36px);white-space:normal;line-height:1}
.idcard .row2{gap:10px;margin-top:8px;font:500 11px var(--mono);letter-spacing:.04em;color:var(--mute)}
.idcard .row2 .rk{display:none}
.idcard .row2 .mono{font:inherit;color:var(--faint)}
.idcard .brk{display:block;margin-bottom:6px;border:0;padding:0}
.ranks{display:flex;gap:10px;z-index:2;flex-wrap:wrap;justify-content:flex-end}
.rkb{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border:1px solid var(--line2);border-radius:var(--r2);background:var(--bg);cursor:help;min-width:150px}
.rkb img,.rkb .hex{width:38px;height:42px;object-fit:contain;flex:none}
.rkb .hex{clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:linear-gradient(160deg,var(--gold),var(--amber));display:grid;place-items:center;font:900 11px var(--wide);color:var(--ink)}
.rkb b{display:block;font:900 15px var(--wide);font-stretch:125%;white-space:nowrap}
.rkb small{display:block;font:500 10px var(--mono);letter-spacing:.08em;color:var(--mute);text-transform:uppercase;margin-top:3px;white-space:nowrap}
.rkb .bar{height:4px;margin:6px 0 0;border:0;padding:0;background:var(--panel2);border-radius:2px;overflow:hidden;min-width:90px}
.rkb .bar i{display:block;height:100%;background:var(--accent);border-radius:2px}
.acts,html .acts{position:relative;right:auto;top:auto;z-index:2;align-items:flex-end;gap:6px}
.acts .r{justify-content:flex-end}
.chipb,html .chipb,html .acts .chipb{height:34px;padding:0 14px;background:var(--panel2);border:1px solid var(--line2);border-radius:var(--r);font:600 11.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg)}
.chipb:hover{border-color:var(--accent)}
.acts small,html .acts small{display:none}
/* your crowns, shop and customize: the header's top right corner, clear of the player id and the buttons (his 10-28:
   "in the top right corner... hugging the borders but not too tight"); a header that short gets the room for them */
.phead .lk-tools{position:absolute;left:auto;right:14px;top:12px;z-index:3}   /* .phead: crowns.css loads later and pins it left */
@media (min-width:901px){.phead:has(>.lk-tools){min-height:156px}}
@media (max-width:900px){.phead .lk-tools{position:static;margin:0 0 0 auto}}   /* a phone: under the buttons, right-aligned */
/* the strip of truths under the header: six numbers, their one-line read in mono */
.truths{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--line);border-radius:var(--r2);margin:12px 0 0;overflow:hidden;background:var(--panel)}
.truths>div{padding:12px 14px;border-right:1px solid var(--line);min-width:0}
.truths>div:last-child{border-right:0}
.truths .num{font-size:24px;margin-top:5px;white-space:nowrap}
.truths .num .mute{font-weight:900}
.truths .d{font:500 10.5px var(--mono);color:var(--mute);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.truths .d.up{color:var(--good)}.truths .d.dn{color:var(--red)}
/* the tabs: numbered, mono, an accent underline on the open one */
/* the player tabs: part 04 of the parts sheet (his sub-font picture, approved 10-27): serif small caps, idle grey,
   the open one near-white on a 2px line that grows in; no icons */
.ptabs,html .ptabs{gap:34px;padding:0;margin:22px 0 20px;border-bottom:1px solid var(--line1)}
.ptabs a,html .ptabs a{position:relative;font-family:var(--font-body);font-weight:600;font-size:18px;font-variant-caps:small-caps;letter-spacing:.08em;text-transform:none;color:var(--mute);padding:14px 2px 13px;border:0;margin:0;gap:0;background:none}
.ptabs a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--fg);transform:scaleX(0);transition:transform var(--base) var(--ease)}
.ptabs a svg{display:none}
.ptabs a:hover{color:var(--fg2)}
.ptabs a.on,html .ptabs a.on{background:none;color:var(--fg)}
.ptabs a.on::after{transform:none}
.ptabs a.on:hover{transform:none}

/* ── the Overview (player/index.html; player.js draws it): the mock's parts, scoped under .rd ── */
.rd{margin-top:0}
.rd .cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--gap);align-items:start}
.rd .grid{display:grid;gap:var(--gap);margin:0;grid-template-columns:1fr}
.rd .g2{grid-template-columns:1fr 1fr}
.rd .rdc{background:var(--panel);border:1px solid var(--line);border-radius:var(--r2);padding:var(--pad);position:relative;min-width:0}
.rd .rdc .hd{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.rd .rdc .hd .lab{flex:1}
.rd .rdc .hd .more{display:inline;width:auto;padding:0;border:0;margin:0;font:500 11px var(--mono);color:var(--accent);letter-spacing:.04em;text-align:right}
.rd .row{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}
.rd .row:last-child{border-bottom:0}
.rd .row .k{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rd .row .v{font:500 12px var(--mono);white-space:nowrap}
.rd .row .b{width:110px;flex:none}
.rd .bar{height:6px;margin:0;padding:0;border:0;background:var(--panel2);border-radius:2px;overflow:hidden;position:relative}
.rd .bar i{display:block;height:100%;background:var(--accent);width:var(--w,50%);border-radius:0}
.rd .bar i.w{background:var(--good)}.rd .bar i.l{background:var(--red)}.rd .bar i.g{background:var(--gold)}
.rd .bar u{position:absolute;top:-2px;bottom:-2px;left:var(--x,50%);width:2px;background:var(--fg);opacity:.6}
.rd .barcode{display:flex;gap:2px;height:22px;align-items:stretch}
.rd .barcode i{flex:1;background:var(--panel2);border-radius:1px}
.rd .barcode i.w{background:var(--good)}.rd .barcode i.l{background:var(--red)}
.rd .kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:12.5px;margin:0}
.rd .kv dt{color:var(--mute);font:500 11px var(--mono);letter-spacing:.06em;text-transform:uppercase;align-self:center}.rd .kv dd{margin:0}
.rd .ring{--p:0;width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--gc,var(--accent)) calc(var(--p) * 1%),var(--panel2) 0);display:grid;place-items:center;position:relative;flex:none}
.rd .ring::before{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--panel)}
.rd .ring b{position:relative;font:900 26px var(--wide);font-stretch:125%}
.rd .ring small{position:absolute;bottom:14px;font:600 9px var(--mono);letter-spacing:.1em;color:var(--mute);white-space:nowrap}
.rd .seg{display:inline-flex;border:1px solid var(--line2);border-radius:var(--r);overflow:hidden}
.rd .seg button{font:600 10.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute);padding:6px 10px;background:none;border:0;height:auto}
.rd .seg button[aria-pressed="true"],.rd .seg button.on{background:var(--accent);color:var(--accent-ink)}
.rd .seg select{font:600 10.5px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--mute);padding:0 8px;background:var(--well);border:0;border-left:1px solid var(--line2);max-width:150px}
.rd .face{width:30px;height:30px;border-radius:6px;background:var(--panel2);flex:none;object-fit:cover;object-position:top}
.rd .face.xl{width:72px;height:72px;border-radius:12px}
.rd .glass{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--line2);background:linear-gradient(135deg,rgba(241,239,232,.06),rgba(241,239,232,.015) 40%,rgba(241,239,232,.04));backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 30px 60px rgba(0,0,0,.45);padding:18px 20px}
.rd .glass::before{content:"";position:absolute;inset:-40%;background:conic-gradient(from 200deg,transparent 60%,color-mix(in srgb,var(--accent) 35%,transparent) 72%,transparent 80%);animation:rd-sweep 14s linear infinite;opacity:.5;pointer-events:none}
.rd .glass>*{position:relative}
@keyframes rd-sweep{to{rotate:360deg}}
.rd .glass .hd{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.rd .glass .hd .more{margin-left:auto;font:500 11px var(--mono);color:var(--accent)}
.rd .lg3{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}
.rd .lg3 .rdh{display:flex;gap:12px;align-items:center;min-width:0}
.rd .lg3 .rdh .num{font-size:22px}
.rd .lobby{font-size:12px;display:grid;grid-template-columns:1fr auto 1fr;gap:4px 8px;margin-top:14px}
.rd .lobby a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim);display:flex;align-items:center;gap:6px}
.rd .lobby a img{width:16px;height:16px;border-radius:3px;flex:none}
.rd .lobby a:hover{color:var(--accent)}
.rd .lobby a.me{color:var(--fg);font-weight:600}
.rd .lobby .vs{color:var(--faint);font:500 10px var(--mono);align-self:center;text-align:center}
.rd .lever{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.rd .lever .num{font-size:30px}
.rd .lever .num span{font-size:14px;color:var(--mute)}
.rd .rdpool{display:flex;gap:12px;align-items:flex-end;height:120px;padding:0 2px}
.rd .rdpool a{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.rd .rdpool a i{width:100%;background:var(--accent);border-radius:3px 3px 0 0;height:var(--h)}
.rd .rdpool a i.l{background:var(--red)}
.rd .rdpool a b{font:500 10px var(--mono);color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:500}
.rd .rdpool a em{font:600 11px var(--mono);font-style:normal}
.rd .cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.rd .cal i{aspect-ratio:1;border-radius:3px;background:var(--panel2);display:grid;place-items:center;font:600 9px var(--mono);color:var(--faint);font-style:normal}
.rd .cal i.w{background:color-mix(in srgb,var(--good) 70%,var(--panel2));color:var(--ink)}.rd .cal i.l{background:color-mix(in srgb,var(--red) 65%,var(--panel2));color:var(--ink)}.rd .cal i.m{background:color-mix(in srgb,var(--gold) 70%,var(--panel2));color:var(--ink)}
.rd .cal i.e{background:none}
.rd .key{display:flex;gap:12px;margin-top:10px}
.rd .key i{font-style:normal}
.rd .mate{border-top:0;border-bottom:1px solid var(--line);padding:8px 0}.rd .mate:last-child{border-bottom:0}
.rd .mate .a{border-radius:6px}
.rd .mate .n{font-weight:500;font-size:13px}.rd .mate .n small{font:500 10.5px var(--mono)}
.rd .mate .w{font:600 12px var(--mono);color:var(--good)}.rd .mate .w.r{color:var(--red)}
.rd .twin{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.rd .twin .num{font-size:22px;margin-top:4px}
.rd .radar{display:flex;justify-content:center}
.rd .radar svg{width:100%;max-width:220px;height:auto}
.rd .mhh{margin:0 0 10px;gap:10px}
.rd .mhh .f{margin-left:0}
.rd .mhh .hint{margin-left:auto}
.rd #matches{margin:0 -16px}
.rd .more{margin:12px 0 0}
.rd .foot{margin-top:28px}

/* ── match rows: one line each; the result in a bar at the left, the grade and place beside the mode ── */
.mh,html .mh{grid-template-columns:44px minmax(0,1.25fr) auto minmax(0,1fr) minmax(0,1.5fr);gap:6px 14px;min-height:0;padding:10px 46px 10px 16px;border-radius:0;border-bottom:1px solid var(--line);background:none;margin:0;align-items:center}
.mh::before{content:"";position:absolute;left:4px;top:12px;bottom:12px;width:3px;border-radius:2px;background:var(--red)}
.mh.is-win::before{background:var(--good)}
.mh:hover{background-color:var(--acc-soft)}
.mh.open{background:var(--well)}
.mh .mcard{width:44px;height:44px;align-self:center}
.mh .art,.mh.is-loss .art{inset:0;left:0;top:0;width:44px;height:44px;transform:none!important;border-radius:6px;background:var(--panel2);filter:none!important}
.mh .bust{left:0;top:0;bottom:auto;width:44px;height:44px;object-fit:cover;object-position:top;border-radius:6px;filter:none;transform:none!important}
.mh:hover .bust{transform:none;filter:none}
.mh .tag{display:none}
.mh .meta{padding:0}
.mh .meta h4{font:900 14px var(--wide);font-stretch:125%;text-transform:none;letter-spacing:.01em}
.mh .meta small{font:500 10.5px var(--mono);color:var(--mute);margin-top:2px}
.mh .meta .chips{margin:5px 0 0;gap:4px}
.mh .meta .chip{height:20px;padding:0 6px;font-size:9.5px}
.mh .meta .gp,.mh .meta .gg{font:900 11px var(--wide);padding:0 6px;height:20px;display:inline-grid;place-items:center;min-width:24px;border-radius:3px}
.mh .meta .gp{background:var(--panel2);color:var(--fg);box-shadow:inset 0 0 0 1px var(--line2)}
.mh .meta .gp.p2{background:#cfd6dd}.mh .meta .gp.p3{background:#c47a2c}
.mh .meta .mid{display:none}
.mh .kda{text-align:right}
.mh .kda .big{font:600 14px var(--mono);color:var(--fg)}.mh .kda .big i{padding:0 2px;color:var(--faint)}
.mh .kda .k{color:var(--good)}.mh .kda .d{color:var(--red)}.mh .kda .a{color:var(--blue)}
.mh .kda small{font:500 10.5px var(--mono);color:var(--mute);display:inline;margin-left:8px}
.mh .kda small:first-of-type{margin-left:0}
.mh .items{grid-template-columns:repeat(12,20px);gap:3px}
.mh .items img,.mh .items i{width:20px;height:20px;border-radius:3px;background:var(--panel2);border:1px solid var(--line)}
.mh .teams{padding:0;gap:6px;grid-template-columns:1fr 16px 1fr}
.mh .teams .t{gap:2px}
.mh .teams .pl{font:400 11.5px var(--font-body);color:var(--dim)}
.mh .teams .pl img{width:16px;height:16px}
.mh .teams .pl.me{color:var(--fg)}.mh .teams .pl:hover{color:var(--accent)}
.mh .teams .vs{font:500 9.5px var(--mono);color:var(--faint)}
.mh .teams .ld{font:500 11px var(--mono);color:var(--faint)}
.mh .fold,html .mh .fold{margin:8px -46px -10px -16px;background:var(--well);border-top:1px solid var(--line);border-radius:0;font-family:var(--font-body)}
.mh>.mtg,html .mh>.mtg{right:0;top:0;height:100%;width:40px;background:none;border-radius:0!important;color:var(--faint)}
.mh>.mtg:hover{color:var(--fg)}
@media (max-width:1500px){.mh,html .mh{grid-template-columns:44px minmax(0,1.2fr) auto minmax(0,1fr);grid-template-rows:auto auto;padding-bottom:10px}.mh .teams{grid-column:1/-1;padding:6px 0 0;border-top:1px solid var(--line)}.mh .teams .t{grid-auto-flow:column;grid-template-rows:repeat(3,auto)}}

/* ── the stats tabs: the paper cards sit level, the chalk and grain are gone; the Heroes rows' number columns are
   wider, since the mono face is wider than the serif they were measured for ── */
.hx-thead,.hx-row{grid-template-columns:52px minmax(150px,1.6fr) 100px 136px 56px 64px 56px 46px 74px}
.pf-card,.pr-paper,.ln-card,.lc-card{transform:none;border:1px solid var(--line);border-radius:var(--r2)}
.board{box-shadow:none;border:1px solid var(--line);border-radius:var(--r2)}
.board:before{display:none}

/* ── phone: one column, the header stacks ── */
@media (max-width:1100px){.rd .cols{grid-template-columns:1fr}}
@media (max-width:900px){
  html .phead{grid-template-columns:1fr;padding:16px;gap:12px}
  html .phead .render,html .phead .splash{display:none}
  html .idcard{margin:0;padding:0;gap:12px}
  html .idcard .av-wrap,html .idcard .av{width:56px;height:56px}
  html .idcard h1{font-size:24px}
  .ranks{justify-content:flex-start}.rkb{flex:1 1 150px}
  html .acts{align-items:flex-start;padding:0}.acts .r{justify-content:flex-start}
  .truths{grid-template-columns:repeat(3,1fr)}.truths>div:nth-child(3n){border-right:0}.truths>div{border-bottom:1px solid var(--line)}.truths>div:nth-last-child(-n+3){border-bottom:0}
  .truths .num{font-size:20px}
  .rd .g2{grid-template-columns:1fr}
  .rd .lg3{grid-template-columns:1fr}
  .rd .lobby{grid-template-columns:1fr auto 1fr}
  .mh,html .mh{grid-template-columns:44px minmax(0,1fr);padding:10px 40px 10px 14px}
  .mh .kda{grid-column:2;text-align:left}.mh .items{grid-column:2;grid-template-columns:repeat(12,18px);gap:2px;padding:0}.mh .items img,.mh .items i{width:18px;height:18px}
  .mh .teams{grid-column:1/-1;grid-template-columns:1fr 16px 1fr}.mh .teams .t{grid-auto-flow:row}
  .mh .fold,html .mh .fold{margin:8px -40px -10px -14px}
}
@media (max-width:520px){.truths{grid-template-columns:repeat(2,1fr)}.truths>div:nth-child(3n){border-right:1px solid var(--line)}.truths>div:nth-child(2n){border-right:0}.truths>div:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.truths>div:nth-last-child(-n+2){border-bottom:0}}
@media (prefers-reduced-motion:reduce){.rd .glass::before{animation:none}}

/* ── step 2 (ask 252, his one-line pick): from 901 px up, one bar stuck to the top. Brand, the pages, the search, Discord
   and email, Get the companion, you. The bar's ground runs the full width; its contents sit on the page's own column,
   which grows with the screen (--wrap), so a big screen gets more room at the same sizes. shell.js builds it (.nb1)
   from the same menu list as the phone's drawer. ── */
html{background:var(--bg)}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60% 36% at 50% 0,var(--ghost6),transparent 70%)}
html .fly{display:none}
.nb1,.nbd,.nbd-scrim{display:none}
@media (min-width:901px){
  html .side,html .topbar,html .backdrop{display:none}
  html .main,html.rail .main{margin-left:0;max-width:var(--wrap);margin-inline:auto;padding:var(--sp-2xl) var(--gut) var(--sp-3xl);transition:none}
  /* the stats pages fill the growing column; the other pages keep their own widths inside it */
  body[data-nav=players] .main>*,body[data-nav=matches] .main>*{max-width:none}
  .nb1{display:block;position:sticky;top:0;z-index:var(--z-sticky);background:var(--topbar);border-bottom:1px solid var(--line2);backdrop-filter:blur(var(--blur-bar))}
  .nb-in{position:relative;display:flex;align-items:center;gap:var(--sp-lg);height:var(--topbar-h);max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
  .nb-brand{display:flex;align-items:center;gap:var(--sp-sm);flex:none;color:var(--fg)}
  .nb-brand .mark{width:28px;height:28px}
  .nb-brand b{font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);font-size:var(--fs-md);line-height:var(--lh-tight);letter-spacing:var(--track-head)}
  /* the lockup (his pick L4, 10-27): yoggin over a small spaced DEADLOCK in the accent */
  .nb-brand .lk{display:grid;line-height:1}
  .nb-brand small{margin-top:3px;font-family:var(--wide);font-stretch:var(--stretch);font-weight:800;font-size:9.5px;line-height:1;letter-spacing:.32em;text-transform:uppercase;color:var(--accent)}
  /* the three lines (his pick B, 10-27): they open the drawer and turn into an X */
  .nb-burger{flex:none;display:grid;place-items:center;width:40px;height:40px;margin-left:calc(-1 * var(--sp-sm));padding:0;background:none;border:0;cursor:pointer}
  .nb-burger .nb-bars{position:relative;display:block;width:24px;height:24px}
  .nb-burger i{position:absolute;left:3px;width:18px;height:2px;background:var(--accent);opacity:.85;transform-origin:9px 50%;transition:width .35s cubic-bezier(.16,1,.3,1),transform .35s cubic-bezier(.16,1,.3,1),opacity var(--fast)}
  .nb-burger i:nth-child(1){top:5px}.nb-burger i:nth-child(2){top:11px;transition-delay:.04s}.nb-burger i:nth-child(3){top:17px;transition-delay:.08s}
  .nb-burger:hover i{opacity:1}.nb-burger:hover i:nth-child(2){width:13px}
  html.nbo .nb-burger i{opacity:1;transition-delay:0s}
  html.nbo .nb-burger i:nth-child(1){transform:translateY(6px) rotate(45deg)}html.nbo .nb-burger i:nth-child(2){opacity:0;transform:scaleX(0)}html.nbo .nb-burger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  /* the drawer: slides in from the left under the bar, over a dimmed page */
  .nbd-scrim{display:block;position:fixed;inset:var(--topbar-h) 0 0;z-index:calc(var(--z-sticky) - 2);background:rgba(4,4,6,.6);opacity:0;pointer-events:none;transition:opacity var(--slow) var(--ease)}
  html.nbo .nbd-scrim{opacity:1;pointer-events:auto}
  .nbd{display:block;position:fixed;top:var(--topbar-h);bottom:0;left:0;z-index:calc(var(--z-sticky) - 1);width:300px;overflow:auto;padding:var(--sp-md) var(--sp-sm);background:var(--side);border-right:1px solid var(--line2);box-shadow:var(--el-overlay);transform:translateX(-102%);visibility:hidden;transition:transform .4s cubic-bezier(.16,1,.3,1),visibility 0s .4s}
  html.nbo .nbd{transform:none;visibility:visible;transition:transform .4s cubic-bezier(.16,1,.3,1),visibility 0s}
  .nbd-lab{margin:var(--sp-md) var(--sp-md) var(--sp-xs);padding-top:var(--sp-md);border-top:1px solid var(--line1);font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-xs);letter-spacing:var(--track-caps);font-variant-caps:small-caps;color:var(--mute)}
  .nbd>.nbd-lab:first-child{margin-top:0;padding-top:0;border-top:0}
  .nbd-it{display:flex;align-items:center;gap:var(--sp-md);height:42px;padding:0 var(--sp-md);border-left:2px solid transparent;color:var(--fg2);font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-caps);font-variant-caps:small-caps;white-space:nowrap;transition:color var(--fast) var(--ease),background-color var(--fast) var(--ease)}
  .nbd-it:hover{color:var(--fg);background:var(--ghost6)}
  .nbd-it.on{color:var(--fg);border-left-color:var(--accent);background:var(--ghost12)}
  .nbd-it svg.mi{flex:none;width:18px;height:18px;fill:var(--dim)}
  .nbd-it.on svg.mi{fill:var(--accent)}
  .nbd-it .ch{margin-left:auto;width:12px;height:12px;fill:none;stroke:var(--mute);stroke-width:2.4;transition:transform var(--base) var(--ease)}
  .nbd-g.open .ch{transform:rotate(180deg)}
  .nbd-it .dot{width:6px;height:6px;border-radius:var(--r-round);background:var(--accent);box-shadow:0 0 6px var(--accent)}.nbd-it .dot[hidden]{display:none}
  .nbd-kids{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--slow) cubic-bezier(.16,1,.3,1)}
  .nbd-g.open .nbd-kids{grid-template-rows:1fr}
  .nbd-kids>div{overflow:hidden}
  .nbd-kids a{display:block;padding:var(--sp-sm) var(--sp-md) var(--sp-sm) 48px;color:var(--dim);font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-base);letter-spacing:var(--track-caps);font-variant-caps:small-caps;transition:color var(--fast) var(--ease)}
  .nbd-kids a:hover,.nbd-kids a.on{color:var(--fg)}
  .nbd-dc{display:grid;grid-template-columns:auto 1fr;gap:2px var(--sp-sm);align-items:center;margin:var(--sp-lg) var(--sp-sm) 0;padding:var(--sp-md);border:1px solid var(--line2);background:rgba(88,101,242,.08);transition:border-color var(--fast) var(--ease)}
  .nbd-dc:hover{border-color:rgba(88,101,242,.6)}
  .nbd-dc svg{width:18px;height:18px;fill:#8b95f5}
  .nbd-dc b{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-caps);font-variant-caps:small-caps;color:var(--fg)}
  .nbd-dc span{grid-column:1/-1;font-size:var(--fs-sm);color:var(--dim)}
  .nbd-sis{display:flex;align-items:center;gap:var(--sp-sm);margin:0 var(--sp-sm);padding:var(--sp-sm);border:1px solid var(--line1);transition:border-color var(--fast) var(--ease)}
  .nbd-sis:hover{border-color:var(--line3)}
  .nbd-sis img{width:26px;height:26px}
  .nbd-sis b{font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);font-size:var(--fs-base);color:var(--fg)}
  /* the pages, and the menus under them: one font, small caps */
  .nb-p{display:flex;align-items:stretch;align-self:stretch;gap:2px}
  .nb-t,.nb-dd a,.nb-dd .row,.nb-q .sq input,.nb-me b{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-caps);font-variant-caps:small-caps}
  .nb-t{position:relative;display:flex;align-items:center;gap:var(--sp-xs);height:100%;padding:0 var(--sp-sm);color:var(--dim);white-space:nowrap;transition:color var(--fast) var(--ease)}
  .nb-t:hover,.nb-has:hover>.nb-t,.nb-t.on{color:var(--fg)}
  .nb-t.on::after{content:"";position:absolute;left:var(--sp-sm);right:var(--sp-sm);bottom:-1px;height:2px;background:var(--accent);transform-origin:left;animation:nb-grow var(--base) var(--ease)}
  .nb-t .ch{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.4;opacity:.6}
  .nb-p .dot{width:6px;height:6px;border-radius:var(--r-round);background:var(--accent);box-shadow:0 0 6px var(--accent);margin-left:var(--sp-xs)}
  .nb-p .dot[hidden]{display:none}
  .nb-has{position:relative;display:flex}
  /* the right side: the search takes what room is left */
  .nb-r{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:var(--sp-sm)}
  .nb-q{flex:0 1 420px;min-width:200px;display:flex}
  .nb-q .sq{position:relative;display:flex;align-items:center;gap:var(--sp-sm);width:100%;height:38px;margin:0;padding:0 var(--sp-md);border:1px solid var(--line2);border-radius:var(--r);background:var(--line1);color:var(--mute);transition:border-color var(--fast) var(--ease),color var(--fast) var(--ease)}
  .nb-q .sq:hover,.nb-q .sq:focus-within{border-color:var(--line3);color:var(--fg)}
  .nb-q .sq svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;flex:none}
  .nb-q .sq input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--fg)}
  .nb-q .sq input::placeholder{color:var(--mute)}
  .nb-q .sqr{z-index:var(--z-menu)}
  .nb-ib{position:relative;flex:none;display:grid;place-items:center;width:34px;height:38px;color:var(--mute);transition:color var(--fast) var(--ease)}
  .nb-ib:hover{color:var(--ice)}
  .nb-ib svg{width:18px;height:18px;fill:currentColor}
  .nb-ib[data-tip]:hover::after{content:attr(data-tip);position:absolute;top:calc(100% + var(--sp-sm));left:50%;transform:translateX(-50%);white-space:nowrap;padding:var(--sp-xs) var(--sp-md);background:var(--side);border:1px solid var(--line2);color:var(--fg);font-family:var(--font-body);font-size:var(--fs-sm);z-index:var(--z-tip)}
  .nb-get{flex:none;display:flex;align-items:center;gap:var(--sp-sm);height:38px;padding:0 var(--sp-lg);background:var(--accent);color:var(--accent-ink);font-family:var(--wide);font-weight:var(--w-bold);font-size:var(--fs-sm);letter-spacing:var(--track-label);text-transform:uppercase;white-space:nowrap;transition:filter var(--fast) var(--ease)}
  .nb-get:hover{filter:brightness(1.1)}
  .nb-get svg{width:15px;height:15px;fill:currentColor}
  /* you: your picture and name (or Sign in); crowns and everything personal are in its menu */
  .nb-me{position:relative;flex:none}
  .nb-me>button{display:flex;align-items:center;gap:var(--sp-sm);height:38px;padding:0 var(--sp-xs);color:var(--dim);transition:color var(--fast) var(--ease)}
  .nb-me>button:hover,.nb-me.open>button{color:var(--fg)}
  .nb-me .av{width:28px;height:28px;object-fit:cover;background:var(--panel2);flex:none}
  .nb-me .av.none{display:grid;place-items:center;width:20px;height:20px;background:none;color:inherit}
  .nb-me .av.none svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
  .nb-me b{white-space:nowrap}
  .nb-me .cr{display:none}
  /* a menu under a page or under you: the same box */
  .nb-dd{position:absolute;top:calc(100% + var(--sp-xs));min-width:210px;padding:var(--sp-xs) 0;background:var(--side);border:1px solid var(--line2);border-radius:var(--r-menu);box-shadow:var(--el-overlay);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity var(--fast) var(--ease),transform var(--fast) var(--ease),visibility 0s var(--fast);z-index:var(--z-menu)}
  .nb-me .nb-dd{right:0}
  .nb-has .nb-dd{left:0;top:100%}
  .nb-has:hover>.nb-dd,.nb-has:focus-within>.nb-dd,.nb-me.open>.nb-dd{opacity:1;visibility:visible;transform:none;transition:opacity var(--fast) var(--ease),transform var(--fast) var(--ease),visibility 0s}
  .nb-dd a,.nb-dd .row{display:flex;align-items:center;gap:var(--sp-md);padding:var(--sp-sm) var(--sp-lg);color:var(--dim);white-space:nowrap;transition:color var(--fast) var(--ease),background-color var(--fast) var(--ease)}
  .nb-dd a:hover{color:var(--fg);background:var(--ghost6)}
  .nb-dd a.on{color:var(--accent);background:var(--ghost12)}
  .nb-dd a small{margin-left:auto;font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);font-size:var(--fs-xs);color:var(--gold)}
  .nb-dd hr{border:0;border-top:1px solid var(--line1);margin:var(--sp-xs) 0}
.nb-brand small::first-letter{text-transform:uppercase}
.nb-t::first-letter,.nb-dd a::first-letter,.nb-dd .row::first-letter,.nb-q .sq input::first-letter,.nb-me b::first-letter{text-transform:uppercase}
}
@keyframes nb-grow{from{transform:scaleX(0)}}
/* narrower screens: the button keeps only its icon, then the name and the email icon go, then the search becomes its
   magnifier and opens over the pages when clicked */
@media (min-width:901px) and (max-width:1440px){.nb-get .l{display:none}.nb-get{width:38px;padding:0;justify-content:center}}
@media (min-width:901px) and (max-width:1240px){.nb-in{gap:var(--sp-md)}.nb-t{padding:0 var(--sp-xs)}.nb-q{min-width:190px}}
@media (min-width:901px) and (max-width:1100px){.nb-me b,.nb-mail{display:none}}
@media (min-width:901px) and (max-width:1180px){
  .nb-q{flex:0 0 38px;min-width:38px}
  .nb-q .sq{padding:0;justify-content:center;cursor:pointer}
  .nb-q .sq input{position:absolute;opacity:0;width:1px;pointer-events:none}
  .nb-q .sq:focus-within{position:absolute;left:190px;right:var(--gut);top:13px;z-index:var(--z-menu);width:auto;padding:0 var(--sp-sm);justify-content:flex-start;background:var(--bg)}
  .nb-q .sq:focus-within input{position:static;opacity:1;width:auto;pointer-events:auto}
}
/* the Overview spreads out on a big screen: the side column grows a little and its panels add columns */
@media (min-width:1101px){
  .rd .cols{grid-template-columns:minmax(0,1fr) clamp(340px,26vw - 100px,1100px)}
  .rd .cols>aside.grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-content:start}
}
/* the phone: the bar and the drawer in the same material */
@media (max-width:900px){
  html .topbar{height:var(--topbar-h);padding:0 var(--sp-md);background:var(--topbar);border-bottom:1px solid var(--line2);box-shadow:var(--el-bar);backdrop-filter:blur(var(--blur-bar))}
  html .topbar .brand{gap:var(--sp-sm);font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);font-size:var(--fs-md);letter-spacing:var(--track-head);text-transform:lowercase}
  html .topbar .brand .lk{display:grid;line-height:1}
  html .topbar .brand small{margin-top:3px;color:var(--accent);font-family:var(--wide);font-stretch:var(--stretch);font-weight:800;font-size:9px;line-height:1;letter-spacing:.32em;text-transform:uppercase;background:none;padding:0;border-radius:0}
  html .topbar .burger{width:36px;height:36px;border:1px solid var(--line2);border-radius:var(--r);color:var(--fg)}
  html .side{background:var(--side);border-right:1px solid var(--line2);box-shadow:var(--el-overlay);transition:transform var(--base) var(--ease)}
  html .side .t b{font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);font-size:var(--fs-md);letter-spacing:var(--track-head);text-transform:lowercase}
  html .side .t small{background:none;padding:0;margin-top:3px;color:var(--accent);font-family:var(--wide);font-stretch:var(--stretch);font-weight:800;font-size:9px;line-height:1;letter-spacing:.32em;text-transform:uppercase;border-radius:0}
  html .side .col{display:none}
  html .side .sq{border:1px solid var(--line2);border-radius:var(--r);background:rgba(0,0,0,.35)}
  html .side .it{padding:var(--sp-md) var(--sp-md);border-radius:0;color:var(--dim);font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-label);font-variant-caps:small-caps}
  html .side .it:before,html .side .mgrp a:before{clip-path:none;inset:0;border-radius:0;background:var(--ghost6)}
  html .side .it.on,html .side .mgrp a.on{color:var(--accent)}
  html .side .it.on:before,html .side .mgrp a.on:before{background:var(--ghost12);clip-path:none;box-shadow:inset 2px 0 0 var(--accent)}
  html .side .it svg.mi{color:currentColor}
  html .side .mgrp a{font-family:var(--font-body);font-size:var(--fs-base);color:var(--dim)}
  html .side .bot{border-top:1px solid var(--line1)}
  html .side .btn{height:40px;border-radius:var(--r);font-size:var(--fs-sm)}
  html .side .hub{border-radius:0;background:var(--panel)}
  html.drawer .backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(2px)}
  html .main{padding:calc(var(--topbar-h) + var(--sp-lg)) var(--sp-lg) var(--sp-3xl)}
}

/* ── step 1: type and space (last in the file, so it wins on a tie against the first draw's rules above). Headlines Archivo wide 900 caps; every word Source Serif 4 on their size scale; labels in
   small caps with a little tracking; numbers tabular everywhere; one curve and three lengths for every transition. The
   name on the player card is the shop's business (site.css .idcard h1) and is left alone. ── */
html,body{background:var(--bg)}
/* numbers line up everywhere: a `font:` shorthand on an element resets font-variant-numeric to normal (the audit found
   seven of them), so the one rule a shorthand cannot beat */
*{font-variant-numeric:tabular-nums!important}
body{font:400 var(--fs-base)/var(--lh-body) var(--font-body);color:var(--fg2);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);text-transform:uppercase;line-height:var(--lh-head);letter-spacing:var(--track-head);text-wrap:balance}
h1{font-size:var(--fs-3xl)}h2{font-size:var(--fs-xl)}h3{font-size:var(--fs-lg)}h4{font-size:var(--fs-md)}
.num,.big,.huge{font-family:var(--wide);font-stretch:var(--stretch);font-weight:var(--w-head);line-height:var(--lh-tight);font-variant-numeric:tabular-nums}
.big{font-size:var(--fs-2xl)}.huge{font-size:var(--fs-3xl)}
.lab,.rd .lab,.panel .hd,.side .lab,.hint,.brk,.crumb,.barL,.heatcap,.acts small,.perf small,.rankrow small,.week .d,th{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-xs);line-height:var(--lh-xs);letter-spacing:var(--track-caps);font-variant-caps:small-caps;text-transform:none;color:var(--dim)}
.lab,.rd .lab{display:flex;align-items:center;gap:var(--sp-sm)}
.lab::before,.rd .lab::before,.brk::before,.brk::after{content:none}
.brk{white-space:nowrap;flex:none;width:max-content;color:var(--mute)}
.rd .hd .hint,.rd .hd .more,.rd .hd .chip{flex:none}
.hint{font-weight:var(--fw-5);color:var(--mute)}
.mono{font-family:var(--font-body);font-size:var(--fs-sm);color:var(--mute);font-variant-numeric:tabular-nums}
.mute{color:var(--mute)}
button,.btn,.chip,.chipb,.more,.plink{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-sm);letter-spacing:var(--track-label);font-variant-caps:small-caps;text-transform:none}
.ink{color:var(--accent)}.dim{color:var(--dim)}.win{color:var(--win)}.loss{color:var(--loss)}.gold{color:var(--gold)}
a,button,.chip,.chipb,.btn,.side .it,.side .mgrp a,.ptabs a,.more,.plink{transition:color var(--fast) var(--ease),background-color var(--fast) var(--ease),border-color var(--fast) var(--ease),opacity var(--fast) var(--ease)}
:focus-visible{outline:var(--focus) solid var(--accent);outline-offset:calc(-1 * var(--focus))}

/* ── step 4 (ask 252, his pick 10-27): a match opens in a window over the player page, the way StatLocker's does. The
   page dims, the window rises in, the full match page sits inside (/match/<id>?embed=1). match-window.js builds it. ── */
html.mw-lock{overflow:hidden}
.mwo{position:fixed;inset:0;z-index:var(--z-menu);display:flex;align-items:center;justify-content:center;padding:calc(var(--topbar-h) + var(--sp-lg)) var(--sp-3xl) var(--sp-lg);background:rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .3s var(--ease)}
.mwo.on{opacity:1;pointer-events:auto}
.mw{position:relative;display:flex;flex-direction:column;width:min(1380px,100%);height:min(900px,100%);background:var(--bg);border:1px solid var(--line3);box-shadow:0 10px 30px rgba(0,0,0,.8);transform:translateY(16px);transition:transform .4s cubic-bezier(.4,0,.2,1)}
.mwo.on .mw{transform:none}
.mw:focus{outline:0}
.mw-bar{display:flex;align-items:center;gap:var(--sp-md);flex:none;height:48px;padding:0 var(--sp-sm) 0 var(--sp-lg);border-bottom:1px solid var(--line2);background:var(--line1)}
.mw-bar span,.mw-full{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-caps);font-variant-caps:small-caps}
.mw-bar span{color:var(--dim)}
.mw-full{display:flex;align-items:center;gap:6px;margin-left:auto;color:var(--dim);transition:color .15s var(--ease)}
.mw-full:hover{color:var(--fg)}
.mwo svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mw-full svg{width:15px;height:15px}
.mw-x{display:grid;place-items:center;width:40px;height:40px;color:var(--dim);transition:color .15s var(--ease)}
.mw-x svg{width:18px;height:18px}
.mw-x:hover{color:var(--fg)}
.mw-body{position:relative;flex:1;min-height:0}
.mw-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--bg);opacity:0;transition:opacity .25s var(--ease)}
.mwo.ready .mw-body iframe{opacity:1}
.mw-wait{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px}
.mw-wait i{width:6px;height:6px;border-radius:50%;background:var(--dim);animation:mw-dot 1s ease-in-out infinite}
.mw-wait i:nth-child(2){animation-delay:.15s}.mw-wait i:nth-child(3){animation-delay:.3s}
@keyframes mw-dot{0%,100%{opacity:.25}50%{opacity:1}}
.mw-arr{position:absolute;top:50%;display:grid;place-items:center;width:44px;height:64px;margin-top:-32px;color:var(--dim);transition:color .15s var(--ease)}
.mw-arr svg{width:28px;height:28px}
.mw-arr.l{left:var(--sp-sm)}.mw-arr.r{right:var(--sp-sm)}
.mw-arr:hover{color:var(--fg)}
.mw-arr:disabled{opacity:.2;pointer-events:none}
@media (max-width:900px){.mwo{padding:0}.mw{width:100%;height:100%;border:0}.mw-arr{display:none}}
@media (prefers-reduced-motion:reduce){.mwo,.mw,.mw-body iframe{transition:none}}
/* inside the window: the match page without the site's bar and crumb */
html.embed .nb1,html.embed .fly,html.embed .side,html.embed .topbar,html.embed .backdrop,html.embed .crumb{display:none!important}
html.embed body::before{display:none}
html.embed .main{padding-top:var(--sp-lg)!important}

/* the match page's team tables: a Place column (each player's place by our grade) and rows that open that player's stats */
.trow{grid-template-columns:280px 78px 14px 32px 32px 32px 14px 76px 72px 72px 64px 420px}
.tgrid{min-width:1186px}
.trow .plc{display:flex;justify-content:center}
.trows .trow[data-pick]{cursor:pointer;transition:filter .15s var(--ease)}
.trows .trow[data-pick]:hover{filter:brightness(1.15)}

/* the player header's small lines in the sub-font (his 10-27: the tiles' second lines were plain serif; the same role here):
   the stat stripe's second lines, the rank boxes' lines and the header buttons. The card itself (.idcard) is the shop's. */
#truths .d,#ranks .rkb small,html .phead .acts .chipb{font-family:var(--font-body);font-weight:600;font-variant-caps:small-caps;text-transform:none;letter-spacing:var(--track-caps)}
#truths .d{font-size:14px}
#ranks .rkb small{font-size:14px}
html .phead .acts .chipb{font-size:15px}
/* true small caps: each label's first letter raised (his 10-27 picture) */
.ptabs a::first-letter,html .ptabs a::first-letter{text-transform:uppercase}
html .topbar .brand small::first-letter{text-transform:uppercase}
html .side .t small::first-letter{text-transform:uppercase}
html .side .it::first-letter{text-transform:uppercase}
.lab::first-letter,.rd .lab::first-letter,.panel .hd::first-letter,.side .lab::first-letter,.hint::first-letter,.brk::first-letter,.crumb::first-letter,.barL::first-letter,.heatcap::first-letter,.acts small::first-letter,.perf small::first-letter,.rankrow small::first-letter,.week .d::first-letter,th::first-letter{text-transform:uppercase}
button::first-letter,.btn::first-letter,.chip::first-letter,.chipb::first-letter,.more::first-letter,.plink::first-letter{text-transform:uppercase}
.mw-bar span::first-letter,.mw-full::first-letter{text-transform:uppercase}
#truths .d::first-letter,#ranks .rkb small::first-letter,html .phead .acts .chipb::first-letter{text-transform:uppercase}

/* ── the Deadlock feel in the bar and the menu (his picks 1 and 2 on mockups/v2/feel-menu, 10-30): the name in the
   heading font (Poiret One) in all three lockups, the menu's pages in it too; the small labels keep theirs; the button
   and Sign in share one font. Every page, the stats ones too: this is the frame, not the stats. ── */
html .nb-brand .lk b,html .topbar .brand .lk b,html .side .brand .t b{font-family:"Poiret One",var(--wide);font-stretch:100%;font-weight:400;letter-spacing:.05em;-webkit-text-stroke:.7px currentColor;text-transform:lowercase;line-height:1}
html .nb-brand .lk b{font-size:24px}
html .topbar .brand .lk b,html .side .brand .t b{font-size:22px}
html .nb-brand .lk small,html .topbar .brand .lk small{margin-top:4px}
html .nbd-it,html .side .it{font-family:"Poiret One",var(--font-body);font-variant-caps:normal;text-transform:uppercase;font-size:15px;letter-spacing:.1em;-webkit-text-stroke:.3px currentColor}
html .nbd-kids a,html .side .mgrp a{font-family:"Poiret One",var(--font-body);font-variant-caps:normal;text-transform:uppercase;font-size:13.5px;letter-spacing:.09em;-webkit-text-stroke:.25px currentColor}
html .nb-get{font-family:var(--font-body);font-weight:var(--w-ui);font-size:var(--fs-md);letter-spacing:var(--track-caps);font-variant-caps:small-caps;text-transform:none}
/* the legal line (his 10-30 question, "no one can sue me for calling it a deadlock companion, right?"): its own row under the footer */
.foot .nv{flex-basis:100%;font-variant-caps:normal;letter-spacing:.01em;color:var(--mute)}
/* ── the Deadlock feel on every page but the player's own and a match (his 10-30: "this accent and rehaul that we did
   on the homepage needs to be translated to the other pages. Maybe not so much the profile pages"). Moved here from
   home.css 43: the logo's green as the accent, the warm smoky ground, the big headings in Poiret One, the drifting
   smoke (<i class="hm-smoke"> after <body>). Wins and losses keep their own green and red. ── */
:root:has(>body:is([data-nav=home],[data-nav=app],[data-nav=crowns],[data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches],[data-nav=roster],[data-nav=about])){
  --bg:#0b0907;--side:#0e0b09;--well:#0c0a08;--panel:rgba(21,17,13,.84);--panel2:rgba(35,29,23,.86);
  --accent:#b6ef3c;--accent-ink:#0e1203;--accent-rgb:182,239,60}
body:is([data-nav=home],[data-nav=app],[data-nav=crowns],[data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches],[data-nav=roster],[data-nav=about]){
  background:radial-gradient(55% 45% at 0 0,rgba(var(--accent-rgb),.07),transparent 70%),radial-gradient(50% 45% at 100% 100%,color-mix(in srgb,var(--sapph) 8%,transparent),transparent 70%),var(--bg);background-attachment:fixed;min-height:100vh}
/* the big headings only; tiles, cards, small lines and numbers keep their fonts (on the tiles it "seemed to smush") */
:is(.hm .hm-h1,.hm .hm-sh h2,h1.hm-h,.hm-sh h2.hm-h,h1.hz-h1,.err h2){font-family:"Poiret One",var(--wide);font-stretch:100%;font-weight:400;letter-spacing:.08em;-webkit-text-stroke:.6px currentColor}
body:not([data-nav=players],[data-nav=matches]) :is(h1.hm-h,h1.hz-h1){font-size:clamp(38px,3.4vw,52px)}
body:not([data-nav=players],[data-nav=matches]) :is(.hm-sh h2.hm-h){font-size:34px}
body:not([data-nav=players],[data-nav=matches]) .err h2{font-size:32px}
@media (max-width:640px){body:not([data-nav=players],[data-nav=matches]) :is(h1.hm-h,h1.hz-h1){font-size:32px}body:not([data-nav=players],[data-nav=matches]) .hm-sh h2.hm-h{font-size:28px}}
/* green-tinted smoke drifting behind the top of the page */
.hm-smoke{position:fixed;z-index:-1;top:-15vh;left:-15vw;width:130vw;height:130vh;pointer-events:none;opacity:.4;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000' preserveAspectRatio='none'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0032 .0055' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .71 0 0 0 0 .94 0 0 0 0 .24 0 0 0 1.5 -.62'/%3E%3C/filter%3E%3Crect width='1600' height='1000' filter='url(%23n)'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.35) 45%,rgba(0,0,0,.18));mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.35) 45%,rgba(0,0,0,.18));
  animation:hm-smoke 38s ease-in-out infinite alternate}
@keyframes hm-smoke{from{transform:translate3d(-5vw,1vh,0) scale(1)}to{transform:translate3d(5vw,-3vh,0) scale(1.1)}}
@media (prefers-reduced-motion:reduce){.hm-smoke{animation:none}}
/* the old ember backdrop (.atmo) behind heroes, items, the leaderboard and patches: no orange glow and no hard-edged
   dark column over the smoke. One hero's page keeps the wash under its picture, faded out at the sides. */
body:is([data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches]) .atmo{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
body:is([data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches]) .atmo:after{background:linear-gradient(90deg,rgba(11,9,7,.78),rgba(11,9,7,.3) 55%,rgba(11,9,7,.45)),linear-gradient(180deg,transparent 60%,var(--bg))}
body:is([data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches]) .atmo:not(:has(i.in)):after{background:none}
/* the numbers' own marks stay stone: on these pages green means winning (his reason the stats went neutral) */
:root{--stone:#a39c92}
body:is([data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches]) .hm .hh-pk i b{background:var(--stone)}
body:is([data-nav=heroes],[data-nav=items],[data-nav=board],[data-nav=patches]) :is(.hm .hh-tbl,.hz-tbl) th button.on{color:var(--fg)}
