/* Shehu's Coaching Hub — "Carbon" look (Fase 1 of the redesign), the default interface (Classic can be chosen per device in Look).
   Every rule hangs on html[data-skin="carbon"] and stops while printing (data-theme="light"), so with the
   classic look, and on paper, nothing here applies. Carbon is always dark: flat charcoal surfaces, 1px lines
   instead of shadows, the team's colour as the one accent, a wide display face for titles and big numbers.
   Colours that carry meaning (blue/red side, win/loss, roles, the map) are not touched. Nothing moves place. */
:root[data-skin="carbon"]:not([data-theme="light"]){color-scheme:dark;--bg:#0f1012;--card:#17181b;--ink:#ededef;--mute:#9d9ea6;--line:#2a2b31;
  --gold:#e5b95a;--goldbg:#2a2312;--bad:#ec2f3f;--badbg:#311b1f;--ok:#3fe07f;--okbg:#14291e;
  --fd:"Archivo","Arial Narrow",system-ui,sans-serif;--cr:6px}

/* surfaces: flat, no glow, no gradients */
:root[data-skin="carbon"]:not([data-theme="light"]) body{background:var(--bg)}
:root[data-skin="carbon"]:not([data-theme="light"]) .card{border-radius:var(--cr);box-shadow:none}
:root[data-skin="carbon"]:not([data-theme="light"]) dialog{background:var(--card);border-radius:var(--cr)}
:root[data-skin="carbon"]:not([data-theme="light"]) dialog::backdrop{background:rgba(0,0,0,.6)}

/* top bar: charcoal with a hairline, the team colour only in the monogram */
:root[data-skin="carbon"]:not([data-theme="light"]) header{background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) header h1{color:var(--ink)}
:root[data-skin="carbon"]:not([data-theme="light"]) #tagl,:root[data-skin="carbon"]:not([data-theme="light"]) header .tagl{color:var(--mute);opacity:1}
:root[data-skin="carbon"]:not([data-theme="light"]) .mono{background:var(--acc);color:var(--on);border-radius:4px}
:root[data-skin="carbon"]:not([data-theme="light"]) header button{background:transparent;color:var(--ink);border-color:var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) header button:hover{background:var(--card)}
:root[data-skin="carbon"]:not([data-theme="light"]) header .tag{background:transparent;color:var(--mute);box-shadow:inset 0 0 0 1px var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) header select{background:var(--card);color:var(--ink);border-color:var(--line)}

/* sections: underline tabs instead of filled pills (same size and place) */
:root[data-skin="carbon"]:not([data-theme="light"]) nav{background:var(--bg)}
:root[data-skin="carbon"]:not([data-theme="light"]) nav .tab{border-radius:0;color:var(--mute);box-shadow:inset 0 -2px 0 transparent}
:root[data-skin="carbon"]:not([data-theme="light"]) nav .tab:hover{background:transparent;color:var(--ink)}
:root[data-skin="carbon"]:not([data-theme="light"]) nav .tab[aria-current=true]{background:transparent;color:var(--ink);box-shadow:inset 0 -2px 0 var(--acc)}
/* sub-tabs and filters: outline pills, the current one tinted with the team colour */
:root[data-skin="carbon"]:not([data-theme="light"]) .sub .tab,:root[data-skin="carbon"]:not([data-theme="light"]) .src .tab{color:var(--mute);background:transparent}
:root[data-skin="carbon"]:not([data-theme="light"]) .sub .tab[aria-current=true],:root[data-skin="carbon"]:not([data-theme="light"]) .src .tab[aria-current=true]{background:color-mix(in srgb,var(--acc) 16%,transparent);border-color:var(--acc);color:var(--ink)}

/* buttons: one flat accent for the main action (the others keep their outline on the charcoal card colour) */
:root[data-skin="carbon"]:not([data-theme="light"]) button.p,:root[data-skin="carbon"]:not([data-theme="light"]) button.p:hover{background:var(--acc);border-color:var(--acc);color:var(--on);filter:none}
:root[data-skin="carbon"]:not([data-theme="light"]) button.p:hover{filter:brightness(1.08)}

/* tags: a thin outline in their own colour, keeping each tag's meaning */
:root[data-skin="carbon"]:not([data-theme="light"]) .tag{box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 38%,transparent)}

/* summary tiles: charcoal panels, the number in the display face */
:root[data-skin="carbon"]:not([data-theme="light"]) .tile:not(.ig *){background:var(--card);border-radius:4px;box-shadow:inset 0 0 0 1px var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) .tile:not(.ig *) b,:root[data-skin="carbon"]:not([data-theme="light"]) .kpc .kpc-v{font-family:var(--fd);font-stretch:112%;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
:root[data-skin="carbon"]:not([data-theme="light"]) .kpc{border-radius:4px}

/* titles: wide display face, upper case, for card and page titles only (never tables or long text) */
:root[data-skin="carbon"]:not([data-theme="light"]) main h2,:root[data-skin="carbon"]:not([data-theme="light"]) .card>h2,:root[data-skin="carbon"]:not([data-theme="light"]) .card h2{font-family:var(--fd);font-stretch:118%;font-weight:800;text-transform:uppercase;letter-spacing:.005em}

/* tables: quiet small-caps headers, hairlines */
:root[data-skin="carbon"]:not([data-theme="light"]) th{text-transform:uppercase;letter-spacing:.08em;font-size:11.5px;font-weight:600}

/* set plays keep their orange, in its dark-background shades */
:root[data-skin="carbon"]:not([data-theme="light"]){--sp:#fb923c;--sp2:#fdba74;--sp-b:#f59e0b;--spsoft:#3b2412}

/* second top bar of the app (workspace, search): same charcoal as the sections bar */
:root[data-skin="carbon"]:not([data-theme="light"]) .navbar{background:var(--bg)}
/* colour blocks become charcoal panels: the accent is kept for the main action, not for whole areas */
:root[data-skin="carbon"]:not([data-theme="light"]) .bar:not(.ig *) i{background:var(--acc)}
:root[data-skin="carbon"]:not([data-theme="light"]) #today>section:first-child{background:var(--card);color:var(--ink);border:1px solid var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) #today>section:first-child .meta,:root[data-skin="carbon"]:not([data-theme="light"]) #today>section:first-child .tile span{color:var(--mute);opacity:1}
:root[data-skin="carbon"]:not([data-theme="light"]) #today>section:first-child .tile{--tc:var(--acc);background:var(--bg)}
:root[data-skin="carbon"]:not([data-theme="light"]) .rhero{background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) .rhero h2{color:var(--ink)}
:root[data-skin="carbon"]:not([data-theme="light"]) .rhero .av{box-shadow:0 0 0 3px var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) .scbtn,:root[data-skin="carbon"]:not([data-theme="light"]) .bsbig{background:var(--acc);box-shadow:none}
:root[data-skin="carbon"]:not([data-theme="light"]) .scbtn.alt{background:var(--card)}
/* scouting report: section titles in the display face too */
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp>h3,:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp summary h3{font-family:var(--fd);font-stretch:118%;font-weight:800;text-transform:uppercase;letter-spacing:.005em}

/* ================= Fase 2 · components (Carbon only) ================= */
/* summary figures: one strip with hairlines between them, the category colour as a thin line on top */
:root[data-skin="carbon"]:not([data-theme="light"]) .tiles:not(.ig *){gap:1px;background:var(--line);border:1px solid var(--line);border-radius:4px;overflow:hidden}
:root[data-skin="carbon"]:not([data-theme="light"]) .tiles:not(.ig *)>.tile{border-radius:0;border-left:0;background:var(--card);box-shadow:inset 0 2px 0 var(--tc);padding:14px 16px}
:root[data-skin="carbon"]:not([data-theme="light"]) .tiles:not(.ig *)>.tile b{color:var(--ink);font-size:30px;line-height:1.1}
:root[data-skin="carbon"]:not([data-theme="light"]) #today>section:first-child .tiles>.tile{background:var(--bg)}

/* match log: game and series cards as plain panels; the result is an outlined badge, the rival in the display face */
:root[data-skin="carbon"]:not([data-theme="light"]) .card.gm,:root[data-skin="carbon"]:not([data-theme="light"]) .gmg{border-left:1px solid var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl:not(.s){background:transparent;color:var(--ok);box-shadow:inset 0 0 0 1.5px var(--ok);border-radius:4px;font-family:var(--fd);font-stretch:112%}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl.l:not(.s){color:var(--bad);box-shadow:inset 0 0 0 1.5px var(--bad)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl.d:not(.s){color:var(--mute);box-shadow:inset 0 0 0 1.5px var(--mute)}
:root[data-skin="carbon"]:not([data-theme="light"]) .opp{font-family:var(--fd);font-stretch:118%;font-weight:800;text-transform:uppercase;font-size:22px;letter-spacing:.005em}
:root[data-skin="carbon"]:not([data-theme="light"]) .gmg .gmt>b{font-family:var(--fd);font-stretch:112%;text-transform:uppercase;letter-spacing:.02em;font-size:14px}
/* on a wide screen the objectives sit in a column beside the games */
@media (min-width:1280px){
  :root[data-skin="carbon"]:not([data-theme="light"]) #t-matches:has(#mg-obj>section){display:grid;grid-template-columns:minmax(0,1fr) 560px;column-gap:20px;align-items:start;grid-auto-flow:row dense}
  :root[data-skin="carbon"]:not([data-theme="light"]) #t-matches:has(#mg-obj>section)>*{grid-column:1/-1;min-width:0}
  :root[data-skin="carbon"]:not([data-theme="light"]) #t-matches:has(#mg-obj>section)>#mg-list{grid-column:1}
  :root[data-skin="carbon"]:not([data-theme="light"]) #t-matches:has(#mg-obj>section)>#mg-obj{grid-column:2;position:sticky;top:72px}
  :root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt{font-size:13px}
  :root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt th{white-space:normal;vertical-align:bottom;line-height:1.3}
  :root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt td,:root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt th{padding:8px 4px}
  :root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt th{letter-spacing:.03em;font-size:10.5px}
  :root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt td:first-child,:root[data-skin="carbon"]:not([data-theme="light"]) #mg-obj .objt th:first-child{padding-left:0}
}

/* box score: the two teams joined by hairlines, the score big in the middle (blue left, red right) */
:root[data-skin="carbon"]:not([data-theme="light"]) .teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:4px;overflow:hidden}
:root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm{border:0;border-radius:0;background:var(--card);padding:18px 20px}
:root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm.b{box-shadow:inset 0 2px 0 #4d7cff}
:root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm.r{box-shadow:inset 0 2px 0 #ff6b7f;text-align:right}
:root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm.r .objs{justify-content:flex-end}
:root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm h3{font-family:var(--fd);font-stretch:112%;text-transform:uppercase;letter-spacing:.04em;font-size:13px}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--card);padding:14px 28px;min-width:200px}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore b{font-family:var(--fd);font-stretch:112%;font-weight:700;font-size:52px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore i{font-style:normal;color:var(--mute);font-weight:400;margin:0 .15em}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore .kb{color:#7fa4ff}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore .kr{color:#ff8f9c}
:root[data-skin="carbon"]:not([data-theme="light"]) .tscore small{font-size:12.5px;color:var(--mute)}
@media (max-width:640px){
  :root[data-skin="carbon"]:not([data-theme="light"]) .teams{grid-template-columns:1fr}
  :root[data-skin="carbon"]:not([data-theme="light"]) .tscore{order:-1;padding:14px}
  :root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm.r{text-align:left}
  :root[data-skin="carbon"]:not([data-theme="light"]) .teams .tm.r .objs{justify-content:flex-start}
}
:root[data-skin="carbon"]:not([data-theme="light"]) .calcbtn,:root[data-skin="carbon"]:not([data-theme="light"]) .maplink{background:var(--acc)}

/* scouting report: a cover with the rival's name very large, the key figures in a hairline strip under it */
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp:has(.rp-cover){padding:36px 32px 0;box-shadow:inset 0 -3px 0 var(--acc);overflow:hidden}
:root[data-skin="carbon"]:not([data-theme="light"]) .rp-cover h2{font-family:var(--fd);font-stretch:125%;font-weight:800;text-transform:uppercase;font-size:clamp(40px,7vw,84px);line-height:.92;letter-spacing:-.01em;margin:10px 0 12px}
:root[data-skin="carbon"]:not([data-theme="light"]) .rp-cover>div>.meta:first-child{text-transform:uppercase;letter-spacing:.14em;font-size:11.5px;font-weight:600}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp>.rp-kpis{gap:1px;background:var(--line);border-top:1px solid var(--line);margin:26px -32px 0;padding:0}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp>.rp-kpis>div{flex:1 1 140px;background:var(--card);border-radius:0;padding:16px 24px 18px}
:root[data-skin="carbon"]:not([data-theme="light"]) .rp-kpis b{font-family:var(--fd);font-stretch:112%;font-size:30px;font-variant-numeric:tabular-nums}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp>.rp-src{margin:14px 0 18px!important}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp:has(.rp-cover)>h3:first-of-type{margin-top:4px}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp:has(.rp-cover) .notes{margin-bottom:22px}

/* player page: the name large, the figures in the hairline strip */
:root[data-skin="carbon"]:not([data-theme="light"]) .pprof>.row h2{font-size:clamp(34px,5vw,56px)!important;font-stretch:125%;line-height:.95;margin:2px 0 6px!important}
:root[data-skin="carbon"]:not([data-theme="light"]) .pprof>.row .meta{text-transform:uppercase;letter-spacing:.14em;font-size:11.5px;font-weight:600}
/* KPI cards: charcoal panels with hairlines, the big value in the display face */
:root[data-skin="carbon"]:not([data-theme="light"]) .kpc-grid>.kpc{border-radius:4px;background:var(--bg)}
:root[data-skin="carbon"]:not([data-theme="light"]) .kpc .kpc-v{font-size:36px}

/* app top bar: quieter and lower; the brand name in the display face */
:root[data-skin="carbon"]:not([data-theme="light"]) header{padding-top:10px;padding-bottom:10px}
:root[data-skin="carbon"]:not([data-theme="light"]) header h1{font-family:var(--fd);font-stretch:112%;font-size:17px;text-transform:uppercase;letter-spacing:.02em}
:root[data-skin="carbon"]:not([data-theme="light"]) header .mono,:root[data-skin="carbon"]:not([data-theme="light"]) .brand img{width:32px;height:32px}
:root[data-skin="carbon"]:not([data-theme="light"]) header .hd-who .tag{background:transparent;color:var(--mute);border-color:var(--line)}

/* phone: the sections bar moves to the bottom of the screen, an icon over each name (thumb reach) */
@media (max-width:640px){
  :root[data-skin="carbon"]:not([data-theme="light"]) body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:20;display:flex;gap:0;padding:0 0 env(safe-area-inset-bottom,0px);background:var(--card);border-top:1px solid var(--line);border-bottom:0;overflow-x:auto;scrollbar-width:none}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav::-webkit-scrollbar{display:none}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E");flex:1 1 0;min-width:44px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;padding:6px 0;font-size:10px;letter-spacing:-.01em;font-weight:600;color:var(--mute);box-shadow:inset 0 2px 0 transparent}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[aria-current=true]{color:var(--ink);box-shadow:inset 0 2px 0 var(--acc)}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab::before{content:"";width:22px;height:22px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[aria-current=true]::before{background:var(--acc)}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="today"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="players"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4.5-6 8-6s7 2 8 6'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="games"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='3'/%3E%3Cpath d='M8 12h3M9.5 10.5v3M15 11h.01M17 13h.01'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="scouting"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="planning"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="links"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.66 0l3-3a4 4 0 0 0-5.66-5.66l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.66 0l-3 3a4 4 0 0 0 5.66 5.66l1-1'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="calendar"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E")}
  :root[data-skin="carbon"]:not([data-theme="light"]) #nav>.tab[data-g="tools"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E")}
}

/* empty states: a quiet dashed box instead of a loose line of grey text */
/* empty states: one quiet line, not a box (they used to stretch every page) */
:root[data-skin="carbon"]:not([data-theme="light"]) .empty{border:0;padding:6px 0;text-align:left;color:var(--mute);font-size:14px}

/* ================= Fase 3 · finishing touches (Carbon only) ================= */
/* welcome / sign-in screen: charcoal with a faint hairline grid (the "drawing"), the team colour instead of gold */
:root[data-skin="carbon"]:not([data-theme="light"]) #welcome{--gl1:var(--acc);--gl2:var(--acc);color:var(--ink);
  background:linear-gradient(color-mix(in srgb,var(--line) 70%,transparent) 1px,transparent 1px) 0 0/56px 56px,linear-gradient(90deg,color-mix(in srgb,var(--line) 70%,transparent) 1px,transparent 1px) 0 0/56px 56px,var(--bg)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-hex{color:var(--ink);opacity:.04}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-map{color:var(--acc);opacity:.16}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-main h1{color:var(--ink);font-family:var(--fd);font-stretch:125%;font-weight:800;text-transform:uppercase;letter-spacing:-.01em;line-height:.95}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-main h1::after{background:var(--acc);clip-path:none;height:3px}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-by a{color:var(--ink)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-feats li{background:var(--card);border-top-color:var(--acc);color:var(--ink)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-fi{background:var(--acc);color:var(--on)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-side{filter:none}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-frame{background:var(--line)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-card h2{font-family:var(--fd);font-stretch:118%;font-weight:800;text-transform:uppercase}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-pick.staff{background:var(--acc);color:var(--on)}
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-pick.player{background:var(--bg);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}


/* the same quiet grid behind the scouting report cover */
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp:has(.rp-cover){background:linear-gradient(color-mix(in srgb,var(--line) 55%,transparent) 1px,transparent 1px) 0 0/48px 48px,linear-gradient(90deg,color-mix(in srgb,var(--line) 55%,transparent) 1px,transparent 1px) 0 0/48px 48px,var(--card)}
:root[data-skin="carbon"]:not([data-theme="light"]) .card.rp>.rp-kpis{position:relative}

/* motion: short and quiet, and none at all for people who ask their system for less motion */
@media (prefers-reduced-motion:no-preference){
  /* movement only, no fade: with heavy work right after a tab opens, a fade stayed half-way and the page looked dimmed */
  @keyframes hubIn{from{transform:translateY(6px)}to{transform:none}}
  :root[data-skin="carbon"]:not([data-theme="light"]) main>section:not([hidden]){animation:hubIn .22s ease-out both}
  :root[data-skin="carbon"]:not([data-theme="light"]) .wl-wrap{animation:hubIn .35s ease-out both}
  :root[data-skin="carbon"]:not([data-theme="light"]) .card,:root[data-skin="carbon"]:not([data-theme="light"]) .tile,:root[data-skin="carbon"]:not([data-theme="light"]) .kpc{transition:border-color .15s,box-shadow .15s}
  :root[data-skin="carbon"]:not([data-theme="light"]) .card.gm:hover,:root[data-skin="carbon"]:not([data-theme="light"]) .kpc:hover{border-color:color-mix(in srgb,var(--acc) 45%,var(--line))}
  :root[data-skin="carbon"]:not([data-theme="light"]) button,:root[data-skin="carbon"]:not([data-theme="light"]) .tab,:root[data-skin="carbon"]:not([data-theme="light"]) .tag{transition:background-color .12s,color .12s,box-shadow .12s,border-color .12s}
}

/* welcome / sign-in: official League art behind the charcoal, in black and white (a champion's splash from Riot's public
   Data Dragon, allowed for free fan tools: Annie, or the one chosen in Look on this device, --wl-splash), faded towards the
   text so everything stays readable */
:root[data-skin="carbon"]:not([data-theme="light"]) #welcome::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:var(--wl-splash,url("https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Annie_0.jpg")) 70% 30%/cover no-repeat;opacity:.3;filter:grayscale(1) contrast(1.05) brightness(.9);
  -webkit-mask-image:linear-gradient(90deg,transparent 18%,rgba(0,0,0,.55) 45%,#000 75%);mask-image:linear-gradient(90deg,transparent 18%,rgba(0,0,0,.55) 45%,#000 75%)}
/* the minimap drawing stays bottom right, over the art */
:root[data-skin="carbon"]:not([data-theme="light"]) .wl-map{z-index:0;opacity:.22}
@media (max-width:840px){:root[data-skin="carbon"]:not([data-theme="light"]) #welcome::before{opacity:.18;background-position:62% 30%;-webkit-mask-image:linear-gradient(180deg,#000 0,rgba(0,0,0,.5) 55%,transparent 90%);mask-image:linear-gradient(180deg,#000 0,rgba(0,0,0,.5) 55%,transparent 90%)}}
/* the feature titles in the display face */
:root[data-skin="carbon"]:not([data-theme="light"]) #welcome .wl-feats b{font-family:var(--fd);font-stretch:112%;text-transform:uppercase;letter-spacing:.02em}
