/* eriband.com, the site around the game: news, the wiki, the player lookup, the rankings, the account.
   Its third look (25 Nov, your words: "give a complete overhaul... make it more modern", the design left to me): the
   game's own colours, dark iron and gold, on a quiet modern frame. One bar on top (Play, the parts, a search of the
   whole site), no menu column; the wiki has its own menu and an "on this page" rail; a phone has its parts as tabs at
   the bottom, always in sight. Headings in the game's Alegreya SC, everything read in a plain sans. */

@font-face { font-family: 'Alegreya SC'; src: url('/assets/fonts/alegreya-sc-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pixelify Sans'; src: url('/assets/fonts/pixelify-sans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0f0b13;
  --bg2: #151019;
  --panel: #1a1420;
  --panel2: #211a29;
  --panel3: #2a2134;
  --line: rgba(239, 228, 208, 0.09);
  --line2: rgba(239, 228, 208, 0.17);
  --line-gold: rgba(227, 180, 90, 0.38);
  --text: #efe6d6;
  --muted: #a89d90;
  --faint: #7d7368;
  --gold: #e3b45a;
  --gold-hi: #f6d58e;
  --gold-lo: #a8792f;
  --teal: #5fd6c4;
  --good: #7fd48a;
  --bad: #ef8a7a;
  --warn: #e8a84a;
  --blue: #8fb8ff;
  --r: 14px;
  --r-s: 9px;
  --radius: 14px;
  --gutter: 24px;
  --bar: 64px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.32);
  --sans: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --display: 'Alegreya SC', Georgia, 'Times New Roman', serif;
  --pixel: 'Pixelify Sans', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1100px 520px at 78% -160px, rgba(227, 180, 90, 0.10), transparent 70%), radial-gradient(900px 520px at 0% -120px, rgba(124, 92, 170, 0.14), transparent 70%), var(--bg);
  background-attachment: fixed;
  color: var(--text); font: 16px/1.6 var(--sans); font-variant-numeric: lining-nums; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-hi); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; margin: 0 0 10px; color: var(--text); font-variant-numeric: lining-nums; }
h1 { font-size: clamp(28px, 3.6vw, 40px); color: #fff5e1; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
img { max-width: 100%; }
b, strong { font-weight: 650; color: #fff5e1; }
small { font-size: 13px; }
kbd { display: inline-block; min-width: 30px; padding: 2px 7px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 6px; background: var(--bg2); color: var(--gold-hi); font: 700 13px/1.5 var(--pixel); text-align: center; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(227, 180, 90, 0.35); }
[hidden] { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: rgba(239, 228, 208, 0.2) transparent; }
.st-muted { color: var(--muted); }
.small { font-size: 13.5px; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.st-skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-s); background: var(--gold); color: #1a1206; font-weight: 700; transition: top 0.15s; }
.st-skip:focus { top: 12px; color: #1a1206; }

/* ------------------------------------------------------------ the page's loading line */
.st-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 3px; pointer-events: none; opacity: 0; transition: opacity 0.2s 0.1s; }
.st-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 10px rgba(246, 213, 142, 0.7); }
html.st-loading .st-progress { opacity: 1; transition: none; }
html.st-loading .st-progress i { animation: st-load 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@keyframes st-load { 0% { width: 0; } 30% { width: 45%; } 100% { width: 88%; } }

/* ------------------------------------------------------------ the bar */
.st-bar {
  position: sticky; top: 0; z-index: 30; height: var(--bar); display: flex; align-items: center; gap: 14px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top); box-sizing: content-box;
  background: rgba(15, 11, 19, 0.78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.st-bar > * { flex: none; }
.st-logo-link { display: inline-flex; align-items: center; }
.st-logo { display: block; height: 38px; width: auto; }
.st-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #f8dc9c, #e3b45a 55%, #c08f37); color: #1a1206;
  font: 700 16px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 6px 18px rgba(227, 180, 90, 0.28); transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.st-play:hover { color: #1a1206; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 26px rgba(227, 180, 90, 0.42); }
.st-play:active { transform: none; }
.st-play .tri { width: 0; height: 0; border-left: 10px solid #1a1206; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.st-play.big { min-height: 54px; padding: 0 32px; font-size: 19px; }
.st-nav { display: flex; gap: 2px; margin-left: 6px; min-width: 0; }
.st-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.st-nav a:hover { color: var(--text); background: rgba(239, 228, 208, 0.06); }
.st-nav a[aria-current='page'] { color: var(--gold-hi); background: rgba(227, 180, 90, 0.12); }
.st-bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.st-find { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; width: 210px; padding: 0 10px 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(239, 228, 208, 0.04); color: var(--muted); font-size: 14.5px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.st-find:hover { border-color: var(--line-gold); background: rgba(239, 228, 208, 0.07); color: var(--text); }
.st-find span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-find kbd { min-width: 0; font: 600 11px/1.6 var(--sans); color: var(--muted); border-bottom-width: 1px; }
.st-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
.st-ico svg { width: 100%; height: 100%; display: block; }
.st-lang { min-height: 42px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(239, 228, 208, 0.04); color: var(--text); font-size: 14px; cursor: pointer; }
.st-lang:hover { border-color: var(--line-gold); }
.st-lang option { background: var(--panel); }
.st-me { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; max-width: 190px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text); font-weight: 600; font-size: 14.5px; }
.st-me:hover { border-color: var(--line-gold); color: var(--gold-hi); }
.st-me[aria-current='page'] { border-color: var(--gold); color: var(--gold-hi); }
.st-me .av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-lo), var(--gold)); color: #1a1206; font: 700 14px var(--display); flex: none; }
.st-me .av.out { background: rgba(239, 228, 208, 0.08); color: var(--muted); }
.st-me .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* a phone's parts: tabs at the bottom, always in sight */
.st-tabbar { display: none; }

/* ------------------------------------------------------------ the page */
.st-page { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px var(--gutter) 72px; min-width: 0; }
.st-page:has(> .st-wiki) { max-width: 1480px; }
.st-page > * { animation: st-in 0.28s ease-out both; }
.st-page:focus { outline: none; }
@keyframes st-in { from { opacity: 0; transform: translateY(6px); } }
.st-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.st-narrow { width: 100%; max-width: 560px; margin: 0 auto; }
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.st-two > * { min-width: 0; }
.st-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.st-panel > h2:first-child, .st-panel-head h2 { font-size: 20px; }
.st-panel.st-glow { border-color: var(--line-gold); box-shadow: 0 0 0 1px rgba(227, 180, 90, 0.12), 0 14px 40px rgba(227, 180, 90, 0.10); }
.st-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-panel-head h2 { margin: 0; }
.st-panel-head a { font-weight: 600; font-size: 14.5px; }
.st-empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.st-pad { padding: 0 4px; }
.st-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-row.spread { justify-content: space-between; margin-top: 12px; }
.st-list { margin: 0 0 12px; padding-left: 20px; }
.st-list li { margin: 4px 0; }
.st-list li::marker { color: var(--gold); }
.st-more { margin: 14px 0 0; text-align: right; font-weight: 600; font-size: 14.5px; }
.st-more.st-row { justify-content: flex-end; }
.st-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.st-head h1 { margin: 0; }
.st-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 70ch; }
.st-eyebrow { color: var(--gold); font: 700 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.st-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); align-self: flex-start; }
.st-seg a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.st-seg a:hover { color: var(--text); }
.st-seg a[aria-current='page'] { background: var(--panel3); color: var(--gold-hi); }

.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(239, 228, 208, 0.04); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s; }
.st-btn:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(227, 180, 90, 0.08); }
.st-btn.gold { border: 0; background: linear-gradient(180deg, #f8dc9c, #e3b45a 55%, #c08f37); color: #1a1206; font: 700 15px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 6px 18px rgba(227, 180, 90, 0.25); }
.st-btn.gold:hover { color: #1a1206; filter: brightness(1.06); transform: translateY(-1px); }
.st-btn.big { min-height: 54px; padding: 0 30px; font-size: 18px; }
.st-btn:disabled, .st-btn[disabled] { opacity: 0.45; cursor: default; pointer-events: none; }
.st-linkbtn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--gold); font-weight: 600; cursor: pointer; text-align: left; }
.st-linkbtn:hover { color: var(--gold-hi); }
.st-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.st-tabs button { min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.st-tabs button:hover { color: var(--text); border-color: var(--line2); }
.st-tabs button[aria-selected='true'] { color: #1a1206; border-color: var(--gold); background: var(--gold); }
.st-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(239, 228, 208, 0.05); border: 1px solid var(--line); font-size: 13.5px; color: var(--text); white-space: nowrap; }
.st-badge { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-gold); color: var(--gold); font-size: 12.5px; font-weight: 600; }
.st-badge.on { border-color: rgba(127, 212, 138, 0.5); color: var(--good); }
.st-callout { max-width: 78ch; margin: 12px 0; padding: 12px 16px; border-radius: var(--r-s); background: rgba(227, 180, 90, 0.07); border: 1px solid rgba(227, 180, 90, 0.18); border-left: 3px solid var(--gold); }
.st-callout.info { background: rgba(143, 184, 255, 0.07); border-color: rgba(143, 184, 255, 0.2); border-left-color: var(--blue); }
.st-callout.bad { background: rgba(239, 138, 122, 0.08); border-color: rgba(239, 138, 122, 0.25); border-left-color: var(--bad); }
.st-skel { border-radius: var(--r-s); background: linear-gradient(90deg, rgba(239, 228, 208, 0.04), rgba(239, 228, 208, 0.09), rgba(239, 228, 208, 0.04)); background-size: 200% 100%; animation: st-shine 1.3s linear infinite; min-height: 44px; }
@keyframes st-shine { to { background-position: -200% 0; } }

/* fields */
.st-search { position: relative; z-index: 5; display: flex; gap: 8px; width: min(520px, 100%); }
.st-search input, .st-filters input, .st-filters select, .st-field input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--bg2); color: var(--text); font-size: 15.5px; transition: border-color 0.15s, box-shadow 0.15s;
}
.st-field input { border-radius: var(--r-s); }
.st-search input:focus, .st-filters input:focus, .st-filters select:focus, .st-field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(227, 180, 90, 0.16); }
.st-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.st-filters input { flex: 2 1 200px; }
.st-filters select { flex: 1 1 150px; cursor: pointer; }
.st-filters select option { background: var(--panel); }
.st-search-in { position: relative; flex: 1; min-width: 0; display: flex; }
.st-search-in input { width: 100%; }
.st-sugg { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; text-align: left; background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); max-height: 60vh; overflow-y: auto; }
.st-sugg li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 12px; border-radius: var(--r-s); cursor: pointer; }
.st-sugg li[aria-selected='true'] { background: rgba(227, 180, 90, 0.12); }
.st-sugg li.none { cursor: default; color: var(--muted); }
.st-sugg .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.st-sugg mark { background: none; color: var(--gold-hi); }
.st-sugg small { color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------ the search of the whole site (Ctrl K) */
html.st-modal-open { overflow: hidden; }
.st-shade { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 11, 0.72); backdrop-filter: blur(6px); animation: st-fade 0.15s; }
@keyframes st-fade { from { opacity: 0; } }
.st-shade.top { place-items: start center; padding-top: min(14vh, 120px); }
.st-pal { width: min(640px, 100%); max-height: min(70vh, 620px); display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65); overflow: hidden; animation: st-pop 0.16s ease-out; }
@keyframes st-pop { from { opacity: 0; transform: translateY(-8px) scale(0.985); } }
.st-pal-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.st-pal-in input { flex: 1; min-width: 0; height: 58px; border: 0; background: none; outline: none; color: var(--text); font-size: 17px; }
.st-pal-in input::placeholder { color: var(--faint); }
.st-pal-in kbd { font: 600 11px/1.6 var(--sans); color: var(--muted); cursor: pointer; }
.st-pal-list { overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.st-pal-grp { padding: 10px 12px 4px; color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.st-pal-it { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 10px; color: var(--text); cursor: pointer; }
.st-pal-it[aria-selected='true'] { background: rgba(227, 180, 90, 0.13); }
.st-pal-it .pic { width: 34px; height: 34px; border-radius: 8px; background: var(--bg2); display: grid; place-items: center; color: var(--gold); overflow: hidden; flex: none; }
.st-pal-it .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-pal-it .tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.st-pal-it .tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.st-pal-it .tx small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pal-it .go { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.st-pal-none { padding: 26px 16px; text-align: center; color: var(--muted); }
.st-pal-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
.st-pal-foot kbd { font: 600 11px/1.5 var(--sans); min-width: 0; padding: 1px 6px; color: var(--muted); }

/* ------------------------------------------------------------ home */
.st-home { display: flex; flex-direction: column; gap: 26px; }
.st-hero { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line2); background: #0b0810; isolation: isolate; }
.st-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('/assets/art/backdrops/hub.webp') center 32% / cover; }
.st-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 11, 19, 0.94) 0%, rgba(15, 11, 19, 0.72) 42%, rgba(15, 11, 19, 0.15) 100%), linear-gradient(0deg, rgba(15, 11, 19, 0.75), transparent 45%); }
.st-hero-in { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 640px; padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px); }
.st-hero-h1 { margin: 0; }
.st-hero-logo { display: block; width: min(420px, 82vw); height: auto; filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.7)); }
.st-hero-tag { margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: #f3ead9; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
.st-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.st-hero-acts .st-btn:not(.gold) { background: rgba(15, 11, 19, 0.55); backdrop-filter: blur(6px); }
.st-hero-note { margin: 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.st-ver { padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-gold); background: rgba(15, 11, 19, 0.6); color: var(--gold-hi); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; }
.st-statline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-statline a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.st-statline a:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.st-statline b { font: 700 30px/1.1 var(--display); color: var(--gold-hi); }
.st-statline small { color: var(--muted); font-size: 13.5px; }
.st-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-sec-head h2 { margin: 0; font-size: 26px; }
.st-sec-head p { margin: 2px 0 0; color: var(--muted); }
.st-sec-head > a { font-weight: 600; font-size: 14.5px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.st-rank { list-style: none; margin: 0; padding: 0; }
.st-rank li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.st-rank li:last-child { border-bottom: 0; }
.st-rank .pos { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg2); color: var(--muted); font-weight: 700; font-size: 13px; flex: none; }
.st-rank li:nth-child(1) .pos { background: var(--gold); color: #1a1206; }
.st-rank li:nth-child(2) .pos { background: #c9d1d9; color: #1a1206; }
.st-rank li:nth-child(3) .pos { background: #cd8f5a; color: #1a1206; }
.st-rank .val { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.st-chip { display: inline-flex; gap: 6px; align-items: baseline; color: var(--text); }
a:hover > .st-chip b { color: var(--gold-hi); }
.st-chip .clan, h1 .clan { color: var(--muted); font-size: 0.8em; font-weight: 500; }
.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.st-tiles a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 168px; padding: 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); color: var(--text); isolation: isolate; transition: border-color 0.2s, transform 0.2s; }
.st-tiles a img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.st-tiles a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 11, 19, 0.15) 0%, rgba(15, 11, 19, 0.92) 78%); }
.st-tiles a > b { font: 700 19px/1.2 var(--display); color: #fff5e1; }
.st-tiles a > small { color: #cfc4b3; font-size: 13.5px; line-height: 1.4; }
.st-tiles a:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.st-tiles a:hover img { transform: scale(1.06); }
.st-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 30px; border-radius: 22px; border: 1px solid var(--line-gold);
  background: radial-gradient(600px 200px at 85% 50%, rgba(227, 180, 90, 0.22), transparent 70%), var(--panel2); }
.st-cta h2 { margin: 0 0 4px; font-size: 26px; }
.st-cta p { margin: 0; color: var(--muted); }
.st-feat { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.st-feat .fig { display: grid; place-items: end center; height: 190px; border-radius: var(--r); background: radial-gradient(circle at 50% 65%, rgba(227, 180, 90, 0.25), transparent 70%), var(--bg2); overflow: hidden; }
.st-feat .fig img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)); }
.st-feat h3 { margin: 4px 0 2px; font-size: 24px; }
.st-feat p { margin: 0 0 8px; font-size: 15px; }
.st-feat .lbl { color: var(--faint); text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.12em; font-weight: 700; }

/* ------------------------------------------------------------ news */
.st-ngrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.st-nlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-ngrid .st-ncard .pic { aspect-ratio: auto; height: clamp(150px, 15vw, 230px); }
.st-ngrid > a, .st-nlist > a { color: inherit; display: block; min-width: 0; }
.st-nlist > a.wide { grid-column: 1 / -1; }
.st-ncard { height: 100%; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
a:hover > .st-ncard, a:focus-visible > .st-ncard { border-color: var(--line-gold); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.st-ncard .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0810; }
.st-ncard .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
a:hover > .st-ncard .pic img { transform: scale(1.05); }
.st-ncard .pin { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #1a1206; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.st-ncard .tx { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.st-ncard .meta, .st-npost .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); font-size: 13.5px; }
.st-ncard .meta small { white-space: nowrap; }
.st-ncard h3 { margin: 0; color: #fff5e1; font: 700 18px/1.3 var(--sans); letter-spacing: -0.01em; }
.st-ncard.big h3 { font-size: 23px; }
.st-ncard p { margin: 0; color: #cfc4b3; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-ncard .more { margin-top: auto; padding-top: 4px; color: var(--gold); font-weight: 600; font-size: 14px; }
.st-nlist a.wide .st-ncard { flex-direction: row; }
.st-nlist a.wide .st-ncard .pic { width: 56%; flex: none; aspect-ratio: 16 / 8; }
.st-nlist a.wide .st-ncard .tx { justify-content: center; padding: 26px 30px; gap: 12px; }
.st-nlist a.wide .st-ncard h3 { font-size: clamp(24px, 2.6vw, 32px); }
.st-nlist a.wide .st-ncard p { font-size: 16px; -webkit-line-clamp: 4; }
.st-ntag { padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: rgba(227, 180, 90, 0.13); }
.st-ntag.t-update { color: var(--teal); background: rgba(95, 214, 196, 0.12); }
.st-ntag.t-event { color: #f09fe2; background: rgba(240, 159, 226, 0.12); }
.st-ntag.t-maintenance { color: #f5b06a; background: rgba(245, 176, 106, 0.12); }
.st-news-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.st-news-bar .st-tabs { margin: 0; }
.st-npost-wrap { width: 100%; max-width: 820px; margin: 0 auto; }
.st-npost { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.st-npost .cover { aspect-ratio: 21 / 9; overflow: hidden; background: #0b0810; }
.st-npost .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-npost .in { padding: clamp(18px, 4vw, 40px); }
.st-npost h1 { margin: 12px 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.st-npost .st-lead { color: #d8cdbb; font-size: 19px; line-height: 1.6; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.st-npost-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.st-prose { font-size: 17px; line-height: 1.75; color: #e6dccb; }
.st-prose h3 { margin: 30px 0 8px; font-size: 24px; color: #fff5e1; }
.st-prose h4 { margin: 22px 0 6px; font-size: 18px; color: var(--gold-hi); }
.st-prose p { margin: 0 0 16px; }
.st-prose ul { margin: 0 0 16px; padding-left: 22px; }
.st-prose li { margin: 6px 0; }
.st-prose li::marker { color: var(--gold); }
.st-prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-radius: var(--r-s); border-left: 3px solid var(--gold); background: rgba(227, 180, 90, 0.08); color: var(--gold-hi); }
.st-prose figure { margin: 8px 0 20px; }
.st-prose figure img { max-width: 100%; display: block; border-radius: var(--r-s); border: 1px solid var(--line); }
.st-prose figcaption { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.st-prose a { text-decoration: underline; text-decoration-color: rgba(227, 180, 90, 0.4); text-underline-offset: 3px; }
.st-nnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-nnear { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.15s; }
a:hover > .st-nnear { border-color: var(--line-gold); }
.st-nnear.older { text-align: right; }
.st-nnear small { color: var(--muted); }
.st-nnear b { color: var(--text); }

/* ------------------------------------------------------------ the wiki: its menu, the article, "on this page" */
.st-wiki { display: grid; grid-template-columns: 232px minmax(0, 1fr) 216px; grid-template-areas: 'nav art toc'; gap: 34px; align-items: start; }
.st-wiki.no-toc { grid-template-columns: 232px minmax(0, 1fr); grid-template-areas: 'nav art'; }
.st-wnav { grid-area: nav; position: sticky; top: calc(var(--bar) + 20px); max-height: calc(100vh - var(--bar) - 40px); overflow-y: auto; padding-right: 6px; }
.st-wnav summary { display: none; }
.st-wnav .home { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text); font: 700 16px var(--display); letter-spacing: 0.03em; }
.st-wnav .grp { margin-top: 18px; }
.st-wnav .grp > b { display: block; padding: 0 12px 6px; color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.st-wnav ul { list-style: none; margin: 0; padding: 0; }
.st-wnav li a { display: flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.15s, background 0.15s; }
.st-wnav li a:hover, .st-wnav .home:hover { color: var(--text); background: rgba(239, 228, 208, 0.06); }
.st-wnav a[aria-current='page'] { color: var(--gold-hi); background: rgba(227, 180, 90, 0.12); font-weight: 600; }
.st-art { grid-area: art; min-width: 0; }
.st-art::after { content: ''; display: block; clear: both; }
.st-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--faint); font-size: 13.5px; }
.st-crumbs a { color: var(--muted); }
.st-crumbs a:hover { color: var(--gold-hi); }
.st-art-title { margin: 8px 0 14px; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; }
.st-lead { font-size: 18px; line-height: 1.65; color: #d8cdbb; margin-bottom: 18px; }
.st-lead p { margin: 0 0 10px; max-width: 76ch; }
.st-lead .st-filters { margin-top: 14px; }
.st-toc { font-size: 14px; }
.st-toc > summary { list-style: none; color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.st-toc > summary::-webkit-details-marker { display: none; }
.st-toc ol { list-style: none; margin: 0; padding: 0; }
.st-toc li a { display: block; color: var(--muted); line-height: 1.35; transition: color 0.15s, border-color 0.15s; }
.st-toc li a:hover { color: var(--text); }
/* (a wide screen: a rail at the article's right, following the reading) */
.st-wiki > .st-toc { grid-area: toc; position: sticky; top: calc(var(--bar) + 20px); max-height: calc(100vh - var(--bar) - 40px); overflow-y: auto; }
.st-wiki > .st-toc > summary { padding: 0 0 8px 14px; pointer-events: none; }
.st-wiki > .st-toc ol { border-left: 1px solid var(--line); }
.st-wiki > .st-toc li a { padding: 5px 14px; margin-left: -1px; border-left: 2px solid transparent; }
.st-wiki > .st-toc li a.on { color: var(--gold-hi); border-left-color: var(--gold); }
/* (narrower: a box in the article, under its lead, that folds) */
.st-art > .st-toc { overflow: hidden; margin: 0 0 6px; padding: 2px 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.st-art > .st-toc > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.st-art > .st-toc > summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate 0.2s; }
.st-art > .st-toc[open] > summary::after { rotate: -135deg; }
.st-art > .st-toc ol { margin: 0 0 12px; columns: 2; column-gap: 28px; }
.st-art > .st-toc li { break-inside: avoid; }
.st-art > .st-toc li a { padding: 5px 0; }
.st-sec { margin-top: 34px; scroll-margin-top: calc(var(--bar) + 20px); }
.st-sec > h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 14px; font-size: 26px; border-bottom: 1px solid var(--line); }
.st-sec > h2 .st-anchor { margin-left: auto; color: var(--faint); font-size: 18px; opacity: 0; transition: opacity 0.15s; }
.st-sec > h2:hover .st-anchor, .st-sec > h2 .st-anchor:focus { opacity: 1; }
.st-sec h3 { font-size: 19px; margin: 2px 0 6px; }
.st-sec p, .st-sec .st-list { max-width: 78ch; }
.st-list.big li { font-size: 17px; margin: 6px 0; }
.st-prevnext { display: flex; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-prevnext a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }

/* keywords: coloured where the game would colour them */
.kw { font-weight: 650; }
.num { color: var(--gold-hi); font-weight: 650; }
.dt-physical { color: #d6ccbc; } .dt-fire { color: #ff9450; } .dt-ice { color: #7fd6ff; } .dt-shadow { color: #b98cff; }
.dt-arcane { color: #e08cff; } .dt-holy { color: #ffe08a; } .dt-true { color: #ffffff; }
.fac-order { color: #f2c96a; } .fac-wild { color: #8fd77a; } .fac-arcane { color: #b98cff; } .fac-shadow { color: #ef7f9a; }
.k-hp { color: #ff8a8a; } .k-atk { color: #ffb45a; } .k-en { color: #6fc7ff; } .k-ult { color: #d78cff; } .k-sh { color: #9fdcff; }
.k-heal { color: #7fe3a2; } .k-stun { color: #ffd46a; } .k-rally { color: var(--gold-hi); } .k-crit { color: #ff8a6a; } .k-sd { color: #ff6a6a; }
.rar-common { color: #c9c1b3; } .rar-rare { color: #6fa8ff; } .rar-epic { color: #c07cff; } .rar-legendary { color: #ffb44a; }
.st-fac, .st-dt { vertical-align: middle; }

/* the facts box at an article's side */
.st-infobox { float: right; clear: right; width: 300px; margin: 0 0 20px 28px; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.st-infobox .hd { padding: 12px 16px; text-align: center; font: 700 20px var(--display); color: #1a1206; background: linear-gradient(180deg, #f8dc9c, #e3b45a); }
.st-infobox.item.rare .hd { background: linear-gradient(#a9cbff, #6fa8ff); }
.st-infobox.item.epic .hd { background: linear-gradient(#ddb3ff, #b06cf0); }
.st-infobox.item.common .hd { background: linear-gradient(#e6dfd2, #b9b2a6); }
.st-infobox .pic { display: grid; place-items: end center; min-height: 220px; padding: 14px; background: radial-gradient(circle at 50% 70%, rgba(227, 180, 90, 0.22), transparent 70%), var(--bg2); }
.st-infobox .pic img { max-height: 320px; width: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); }
.st-infobox.item .pic { min-height: 0; place-items: center; }
.st-infobox.item .pic img { max-height: 160px; }
.st-infobox table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.st-infobox th, .st-infobox td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.st-infobox th { width: 38%; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 11px; }
.st-infobox .fx { margin: 0; padding-left: 16px; }
.st-reach-in { display: flex; align-items: center; gap: 10px; }
.st-reach-in .st-grid { grid-template-columns: repeat(3, 14px); gap: 2px; }
.st-reach-in .st-grid i { width: 14px; height: 14px; border-radius: 3px; }

/* tables */
.st-table-wrap { width: 100%; overflow-x: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.st-table th, .st-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.st-table tbody tr:last-child td { border-bottom: 0; }
.st-table tbody tr { transition: background 0.12s; }
.st-table tbody tr:hover { background: rgba(239, 228, 208, 0.03); }
.st-table thead th { color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.st-table td.faces { white-space: normal; min-width: 180px; }
.st-champ-cell { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
a:hover > .st-champ-cell b { color: var(--gold-hi); }
.st-wtable { width: 100%; border-collapse: separate; border-spacing: 0; margin: 6px 0 14px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: var(--panel); }
.st-wtable thead th { background: rgba(239, 228, 208, 0.045); color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 11px 14px; }
.st-wtable tbody th { text-align: left; color: var(--text); font-weight: 600; padding: 10px 14px; white-space: nowrap; border-top: 1px solid var(--line); }
.st-wtable td { padding: 10px 14px; border-top: 1px solid var(--line); }
.st-wtable.center td, .st-wtable.center thead th:not(:first-child) { text-align: center; }
.st-wtable.narrow { width: auto; min-width: 300px; }

/* faces, champions, items, skins */
.st-face { display: block; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line2); image-rendering: auto; flex: none; object-fit: cover; }
.st-face[src*='/art/portraits/'] { image-rendering: pixelated; }
.st-face.fallen { filter: grayscale(1) brightness(0.55); }
.st-faces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.st-chgrid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.st-chlink { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 82px; padding: 8px 2px; border-radius: 10px; text-align: center; color: var(--text); transition: background 0.15s; }
.st-chlink small { font-size: 12.5px; line-height: 1.2; }
.st-chgrid a:hover .st-chlink { background: rgba(227, 180, 90, 0.1); }
.st-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.st-champs a { color: var(--text); }
.st-champ { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px 14px; height: 100%; border-radius: var(--r); text-align: center; background: var(--panel); border: 1px solid var(--line); transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.st-champs a:hover .st-champ { border-color: var(--line-gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.st-champ .st-face { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 4px; }
.st-champ b { font: 700 17px/1.2 var(--display); }
.st-champ small { color: var(--muted); font-size: 12.5px; }
.st-champ .facs { display: flex; gap: 4px; margin-top: 2px; }
.st-fac-title { display: inline-flex; align-items: center; gap: 10px; }
.st-fac-box { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: flex-start; }
.st-fac-box > p, .st-fac-box > ul { flex: 1 1 260px; }
.st-dtgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.st-dtcard { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid currentColor; }
.st-dtcard b { font: 700 18px var(--display); color: inherit; }
.st-dtcard small { color: var(--text); font-size: 13.5px; }
.st-mode { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.st-mode img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-s); border: 1px solid var(--line2); display: block; }
.st-dl { margin: 0; }
.st-dl dt { margin-top: 14px; font: 700 18px var(--display); color: #fff5e1; }
.st-dl dd { margin: 4px 0 0; padding-left: 14px; border-left: 2px solid var(--line2); max-width: 78ch; color: #d8cdbb; }
.st-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 12px 0; }
.st-key { display: flex; align-items: center; gap: 10px; }
.st-tiles-num { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.st-tiles-num > div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r-s); background: var(--panel); border: 1px solid var(--line); }
.st-tiles-num b { color: var(--gold-hi); font: 700 19px var(--display); }
.st-tiles-num small { color: var(--muted); }
.st-ab { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 16px; margin-bottom: 10px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.st-ab img { width: 60px; height: 60px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); }
.st-ab small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.st-ab h3 { margin: 2px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 20px; }
.st-ab .cd { color: var(--blue); font: 500 13.5px var(--sans); letter-spacing: 0; }
.st-ab p { margin: 4px 0 0; }
.st-ab .kind.k-passive { color: #9fd8a8; } .st-ab .kind.k-skill { color: #8fb8ff; } .st-ab .kind.k-ult { color: #d78cff; }
.st-reach { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.st-reach small { color: var(--muted); }
.st-grid { display: grid; grid-template-columns: repeat(3, 28px); gap: 3px; }
.st-grid i { width: 28px; height: 28px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line2); }
.st-grid i.hit { background: rgba(239, 138, 122, 0.3); border-color: var(--bad); }
.st-grid i.me { background: var(--gold); border-color: var(--gold-hi); }
.st-grid.big { grid-template-columns: repeat(3, 34px); }
.st-grid.big i { width: 34px; height: 34px; overflow: hidden; }
.st-grid.big i.sq { border-color: var(--gold-lo); }
.st-grid.big i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-item-group { margin-top: 16px; }
.st-item-group h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.st-item-group h3 small { color: var(--faint); letter-spacing: 0; }
.st-item-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-item-chip { --rar: #b9b2a6; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--rar) 40%, transparent); color: var(--text); font-size: 14px; transition: border-color 0.15s, background 0.15s; }
.st-item-chips a:hover .st-item-chip { border-color: var(--rar); background: color-mix(in srgb, var(--rar) 10%, var(--panel)); }
.st-item-chip.rare, .st-item.rare { --rar: #6fa8ff; }
.st-item-chip.epic, .st-item.epic { --rar: #c07cff; }
.st-item-chip.legendary, .st-item.legendary { --rar: #ffb44a; }
.st-item-chip.common, .st-item.common { --rar: #b9b2a6; }
.st-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.st-items > a { color: inherit; }
.st-item { --rar: #b9b2a6; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; height: 100%; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 90px; transition: border-color 0.18s, transform 0.18s; }
.st-items > a:hover .st-item { border-color: color-mix(in srgb, var(--rar) 60%, transparent); transform: translateY(-2px); }
.st-item .pic { width: 72px; height: 72px; border-radius: 12px; background: radial-gradient(circle, color-mix(in srgb, var(--rar) 22%, transparent), transparent 70%), var(--bg2); }
.st-item h3 { margin: 0; font-size: 17px; }
.st-item .fx { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: #d8cdbb; }
.st-item .st-rar { margin: 4px 0; }
.st-items-for { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line-gold); background: rgba(227, 180, 90, 0.07); font-size: 15.5px; }
.st-items-for a { margin-left: auto; font-weight: 600; }
.st-rar { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 11.5px; line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; background: color-mix(in srgb, currentColor 13%, transparent); }
.st-rar::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.st-rar.common { color: #c9c1b3; } .st-rar.rare { color: #6fa8ff; } .st-rar.epic { color: #c784ff; } .st-rar.legendary { color: #ffb44a; }
.st-evtag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.6; color: var(--teal); background: rgba(95, 214, 196, 0.1); white-space: nowrap; }
.st-skins { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.st-skin { --rc: #c9c1b3; margin: 0; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 9%, var(--panel)), var(--panel)); border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); transition: transform 0.18s, box-shadow 0.18s; }
.st-skin:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 18px color-mix(in srgb, var(--rc) 25%, transparent); }
.st-skin.rare { --rc: #6fa8ff; } .st-skin.epic { --rc: #c784ff; } .st-skin.legendary { --rc: #ffb44a; }
.st-skin .pic { display: grid; place-items: center; height: 136px; padding-top: 8px; background: radial-gradient(closest-side at 50% 55%, color-mix(in srgb, var(--rc) 30%, transparent), color-mix(in srgb, var(--rc) 9%, transparent) 60%, transparent 100%); }
.st-skin .pic img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.55)); }
.st-skin figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 14px; flex: 1; }
.st-skin .nm { display: block; font: 700 16px/1.25 var(--display); }
.st-skin .of { color: var(--muted); }
.st-skin .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: auto; padding-top: 6px; }
.st-board-intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; }
.st-boardpic { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-s); border: 1px solid var(--line2); display: block; }
.st-arenas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.st-arena { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.st-arena h3 { margin: 0 0 2px; }
.st-arena p { margin: 0 0 8px; font-size: 14px; }
.st-tilecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 8px; }
.st-tilecard { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.st-tilecard .tile { width: 88px; height: 88px; display: grid; place-items: center; border-radius: var(--r-s); border: 1px solid var(--line2); background: radial-gradient(circle at 50% 55%, rgba(227, 180, 90, 0.16), transparent 75%), var(--bg2); overflow: hidden; }
.st-tilecard .tile img { width: 100%; height: 100%; object-fit: contain; }
.st-tilecard h3 { margin: 0 0 4px; font-size: 17px; }
.st-tilecard p { margin: 0 0 4px; font-size: 14.5px; }
.st-tilecard .st-row { gap: 8px; }

/* the wiki's main page */
.st-whero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(22px, 4vw, 44px); border-radius: 22px; border: 1px solid var(--line2); background: var(--panel2); margin-bottom: 22px; }
.st-whero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 20, 32, 0.96) 30%, rgba(26, 20, 32, 0.55)), url('/assets/art/backdrops/collection.webp') center / cover; }
.st-whero .st-art-title { margin-top: 6px; }
.st-whero .st-lead { max-width: 64ch; }
.st-whero .st-find { width: min(440px, 100%); min-height: 50px; background: rgba(15, 11, 19, 0.7); font-size: 16px; }
.st-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.st-counts > div { display: flex; flex-direction: column; align-items: center; padding: 14px 6px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.st-counts b { font: 700 30px/1.1 var(--display); color: var(--gold-hi); }
.st-counts small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.st-main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.st-portals { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.st-portal { padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.st-portal h2 { font: 700 11.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px 6px; }
.st-portal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.st-portal a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border-radius: 10px; color: var(--text); transition: background 0.15s; }
.st-portal a:hover { background: rgba(227, 180, 90, 0.08); }
.st-portal img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; display: block; }
.st-portal b { display: block; font-weight: 600; line-height: 1.3; }
.st-portal small { color: var(--muted); line-height: 1.3; display: block; }
.st-featured { position: sticky; top: calc(var(--bar) + 20px); padding: 18px; border-radius: var(--r); background: radial-gradient(circle at 50% 22%, rgba(227, 180, 90, 0.2), transparent 62%), var(--panel); border: 1px solid var(--line-gold); text-align: center; }
.st-featured .tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: #1a1206; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.st-featured .fig { display: block; max-height: 240px; width: auto; margin: 10px auto 0; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)); }
.st-featured h2 { margin: 8px 0 2px; }
.st-featured .lbl { color: var(--faint); text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.1em; font-weight: 700; }
.st-featured p { text-align: left; font-size: 14.5px; }

/* ------------------------------------------------------------ the skill tree planner */
.st-sk { display: flex; flex-direction: column; gap: 12px; clear: both; }
.st-sk-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.st-sk-head .pts { flex: 1 1 220px; }
.st-sk-head .pts .row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.st-sk-spent { color: var(--gold-hi); }
.st-sk-meter { height: 8px; border-radius: 4px; background: var(--bg2); overflow: hidden; }
.st-sk-meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width 0.2s; }
.st-sk-head .opt { display: flex; flex-direction: column; gap: 4px; }
.st-sk-head .opt small { color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.st-sk-picks { display: flex; gap: 3px; }
.st-sk-pick { min-width: 38px; min-height: 38px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.st-sk-pick[aria-pressed='true'] { color: #1a1206; background: var(--gold); border-color: var(--gold); }
.st-sk-head .acts { display: flex; gap: 6px; }
.st-sk-status { min-height: 1.4em; margin: 0; color: var(--gold-hi); font-weight: 600; }
.st-sk-status.bad { color: var(--bad); }
.st-sk-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; align-items: start; }
.st-sk-tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-sk-branch { min-width: 0; padding: 12px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.st-sk-branch.b-b { border-top-color: #8fb8ff; }
.st-sk-branch.b-c { border-top-color: #8fd77a; }
.st-sk-branch header .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.st-sk-branch header h3 { margin: 0; font-size: 18px; }
.st-sk-branch header .n { color: var(--muted); font-size: 13px; }
.st-sk-branch header p { margin: 2px 0 8px; color: var(--muted); font-size: 13.5px; }
.st-sk-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; align-items: center; }
.st-sk-arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.st-sk-arrows .ln { fill: none; stroke: #3a2f45; stroke-width: 3; }
.st-sk-arrows .hd { fill: #3a2f45; }
.st-sk-arrows .ln.on { stroke: var(--gold); }
.st-sk-arrows .hd.on { fill: var(--gold); }
.st-sk-row { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(239, 228, 208, 0.12); pointer-events: none; }
.st-sk-row small { position: absolute; right: 0; top: 1px; color: var(--faint); font-size: 10px; }
.st-sk-node { position: relative; z-index: 1; width: 56px; height: 56px; padding: 0; border-radius: 12px; border: 2px solid #3a2f45; background: var(--bg); cursor: pointer; transition: transform 0.12s, border-color 0.12s, filter 0.12s; }
.st-sk-node.cap { border-radius: 50%; }
.st-sk-node:hover { transform: translateY(-2px); }
.st-sk-node.no { filter: grayscale(0.9) brightness(0.55); }
.st-sk-node.can { border-color: var(--gold-lo); }
.st-sk-node.some { border-color: var(--gold); box-shadow: 0 0 10px rgba(227, 180, 90, 0.35); }
.st-sk-node.max { border-color: var(--gold-hi); box-shadow: 0 0 16px rgba(246, 213, 142, 0.6); }
.st-sk-node .rk { position: absolute; right: -6px; bottom: -6px; min-width: 26px; padding: 0 4px; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line-gold); color: var(--gold-hi); font: 700 11px/16px var(--pixel); }
.st-sk-ico { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: var(--panel2); }
.st-sk-ico img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-sk-detail { min-height: 104px; margin-top: 8px; padding: 10px 12px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); font-size: 14px; }
.st-sk-detail .hd { display: flex; align-items: center; gap: 8px; }
.st-sk-detail .hd .st-sk-ico { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.st-sk-detail .hd small { margin-left: auto; color: var(--gold); white-space: nowrap; }
.st-sk-detail p { margin: 6px 0 0; }
.st-sk-detail .next { color: var(--muted); }
.st-sk-detail .need { color: var(--bad); }
.st-sk-sheet { padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-gold); position: sticky; top: calc(var(--bar) + 20px); }
.st-sk-sheet h3 { margin: 0 0 4px; font-size: 17px; }
.st-sk-sheet h3 + p { margin-top: 0; }
.st-sk-sheet-rows { display: flex; flex-direction: column; margin-bottom: 12px; }
.st-sk-srow { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.st-sk-srow .l { color: var(--muted); }
.st-sk-srow .v { display: flex; gap: 6px; white-space: nowrap; }
.st-sk-srow s { color: var(--faint); }
.st-sk-srow.chg b { color: var(--gold-hi); }
.st-sk-slots { display: flex; flex-direction: column; gap: 4px; }
.st-sk-slot { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.st-sk-slot .st-sk-ico { width: 26px; height: 26px; border-radius: 6px; flex: none; }

/* ------------------------------------------------------------ players */
.st-results { list-style: none; margin: 0; padding: 0; }
.st-results li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.st-results li:last-child { border-bottom: 0; }
.st-tier { color: var(--gold); font-size: 14px; font-weight: 600; }
.st-player-head { display: flex; flex-direction: column; gap: 20px; background: radial-gradient(700px 240px at 0% 0%, rgba(227, 180, 90, 0.13), transparent 70%), var(--panel); }
.st-player-id { display: flex; align-items: center; gap: 18px; }
.st-player-id > .st-face { width: 84px; height: 84px; border-radius: 20px; border-color: var(--line-gold); }
.st-player-id h1 { margin: 0; }
.st-player-id p { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.st-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.st-stat small { color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.st-stat b { font: 700 25px/1.15 var(--display); font-variant-numeric: lining-nums tabular-nums; color: #fff5e1; }
.st-stat span { color: var(--muted); font-size: 13.5px; }
.st-stat.good b { color: var(--good); }
.st-stat.bad b { color: var(--bad); }
.st-stat.rank b { color: var(--gold-hi); }

/* the match history */
.st-mh-filters { align-items: center; justify-content: space-between; margin-bottom: 12px; }
.st-mh-filters .st-tabs { margin: 0; }
.st-mh-filters select { flex: 0 1 220px; }
.st-mh-list { display: flex; flex-direction: column; gap: 8px; }
.st-mh-list.scroll { position: relative; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.st-mh-list.scroll > * { flex-shrink: 0; }
.st-mh-game { border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--faint); overflow: hidden; }
.st-mh-game.win { border-left-color: var(--good); }
.st-mh-game.loss { border-left-color: var(--bad); }
.st-mh-game.open { border-color: var(--line-gold); border-left-color: var(--gold); }
.st-mh-row { width: 100%; display: grid; grid-template-columns: 44px minmax(120px, 0.8fr) minmax(0, 1.6fr) auto 18px; gap: 12px; align-items: center; min-height: 64px; padding: 8px 14px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.st-mh-row:hover { background: rgba(239, 228, 208, 0.03); }
.st-mh-row .res { display: flex; flex-direction: column; min-width: 0; }
.st-mh-row .res small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-mh-game.win .res b, .out-win { color: var(--good); }
.st-mh-game.loss .res b, .out-loss { color: var(--bad); }
.st-mh-row .teams { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.st-mh-row .team { display: flex; gap: 3px; flex-wrap: wrap; }
.st-mh-row .team .st-face { border-radius: 7px; }
.st-mh-row .teams i { color: var(--faint); font-size: 12px; font-style: normal; }
.st-mh-row .kda { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.st-mh-row .kda small { color: var(--muted); }
.st-mh-row .chev { width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate 0.2s; justify-self: center; }
.st-mh-game.open .chev { rotate: -135deg; border-color: var(--gold); }
.st-grade { display: block; width: 40px; height: 40px; object-fit: contain; }
.st-grade.none { display: grid; place-items: center; color: var(--muted); }
.st-grade.drawn { display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; border: 2px solid #8a5a4a; background: radial-gradient(circle at 40% 35%, #5a3a34, #2a1a18); color: #ff9a8a; font: 700 calc(var(--s) * 0.5) var(--display); }
.st-mh-drop { padding: 4px 16px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; animation: st-drop 0.18s ease-out; }
@keyframes st-drop { from { opacity: 0; transform: translateY(-4px); } }
.st-mh-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.st-mh-top h3 { margin: 2px 0 0; font-size: 22px; }
.st-mh-top .st-grade { width: 52px; height: 52px; }
.st-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-team { min-width: 0; padding: 12px; border-radius: var(--r-s); background: var(--panel); border: 1px solid var(--line); }
.st-team.won { border-color: rgba(127, 212, 138, 0.45); }
.st-team .th { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.st-team-table { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, auto); column-gap: 12px; font-size: 14.5px; }
.st-team-table .hd, .st-team-table .row { display: contents; }
.st-team-table .hd small { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; text-align: right; padding-bottom: 4px; }
.st-team-table .row > span { padding: 5px 0; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-team-table .row > .who { display: flex; align-items: center; gap: 8px; text-align: left; min-width: 0; }
.st-team-table .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-team-table .who em { color: var(--gold); font-size: 10.5px; font-style: normal; font-weight: 700; border: 1px solid var(--gold-lo); border-radius: 4px; padding: 0 5px; }
.st-team-table .row.dead .st-face { filter: grayscale(1) brightness(0.55); }
.st-team-table .row.total > span { color: var(--gold-hi); font-weight: 700; }

/* ------------------------------------------------------------ windows (a game's stats, a list) */
.st-win { width: min(1000px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line2); background: var(--panel2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65); overflow: hidden; animation: st-pop 0.16s ease-out; }
.st-win-list { width: min(760px, 100%); }
.st-win-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 8px; }
.st-win-head h2 { margin: 0; }
.st-win-head p { margin: 2px 0 0; }
.st-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); font-size: 16px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.st-x:hover { border-color: var(--gold); color: var(--gold-hi); }
.st-win-tabs { padding: 0 22px; margin: 6px 0 0; }
.st-win-body { overflow-y: auto; padding: 16px 22px 24px; overscroll-behavior: contain; }
.st-tug { display: flex; flex-direction: column; gap: 8px; }
.st-tug-names { display: flex; justify-content: space-between; }
.s-me, .s0 { color: var(--blue); }
.s-them, .s1 { color: var(--bad); }
.st-tug-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; gap: 10px; align-items: end; }
.st-tug-row .v { font-variant-numeric: tabular-nums; font-weight: 700; }
.st-tug-row .v:last-child { text-align: right; }
.st-tug-row .mid small { display: block; text-align: center; color: var(--muted); }
.st-tug-row .bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--bg2); }
.st-tug-row .bar i.s-me { background: linear-gradient(90deg, #4f7fd1, #8fb8ff); }
.st-tug-row .bar i.s-them { background: linear-gradient(90deg, #ef8a7a, #b6483a); }
.st-heat-sides, .st-ms-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-heat { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(64px, 84px)); gap: 4px; align-items: center; margin-top: 6px; }
.st-heat small { color: var(--muted); font-size: 12px; text-align: center; }
.st-heat .who { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.st-heat i { display: grid; place-items: center; min-height: 36px; border-radius: 8px; font-style: normal; font-size: 14px; font-variant-numeric: tabular-nums; background: rgba(227, 180, 90, calc(0.08 + var(--a) * 0.8)); color: var(--text); text-shadow: 0 1px 2px #000; }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; color: var(--muted); font-size: 13.5px; }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.st-legend i.s-me, .st-legend i.s0 { background: var(--blue); }
.st-legend i.s-them, .st-legend i.s1 { background: var(--bad); }
.src-basic { background: #c9a35a; } .src-skill { background: #6fa8ff; } .src-ult { background: #c07cff; } .src-other { background: #8a8072; }
.st-ms-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-ms-side .side-name { color: var(--gold); font-family: var(--display); }
.st-ms-champ { padding: 12px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); }
.st-ms-champ.dead .top .st-face { filter: grayscale(1) brightness(0.55); }
.st-ms-champ .top { display: flex; align-items: center; gap: 10px; }
.st-ms-champ .top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-ms-champ .top em { color: var(--gold); font-style: normal; font-size: 12px; }
.st-ms-champ .top small { color: var(--muted); }
.st-ms-champ .dmg { font: 700 22px var(--display); color: var(--gold-hi); }
.st-src { display: flex; height: 8px; margin: 8px 0; border-radius: 4px; overflow: hidden; background: var(--panel); }
.st-ms-champ .nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.st-num { display: flex; flex-direction: column; min-width: 0; }
.st-num small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-num b { font-size: 15px; font-variant-numeric: tabular-nums; }
.st-graphs h3 { margin-top: 10px; }
.st-svg { width: 100%; height: auto; display: block; background: var(--bg2); border-radius: var(--r-s); border: 1px solid var(--line); }
.st-svg .ln { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.st-svg .ln.me, .st-svg .ln.s0 { stroke: var(--blue); }
.st-svg .ln.them, .st-svg .ln.s1 { stroke: var(--bad); }
.st-svg .ln.lead { stroke: var(--gold-hi); }
.st-svg rect.me { fill: var(--blue); }
.st-svg rect.them { fill: var(--bad); }
.st-svg .mid { stroke: rgba(239, 228, 208, 0.25); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.st-svg .tp { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.st-svg .area.s0 { fill: rgba(143, 184, 255, 0.14); }
.st-svg .area.s1 { fill: rgba(239, 138, 122, 0.14); }
.st-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.st-award { padding: 14px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); }
.st-award small { display: block; color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.st-award .who { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.st-award .who > div { display: flex; flex-direction: column; }
.st-award .who span { color: var(--gold-hi); font: 700 20px var(--display); }
.st-gsec { margin-bottom: 18px; }
.st-gsec h3 { margin: 4px 0 8px; }
.st-plot { position: relative; height: 150px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); touch-action: pan-y; cursor: crosshair; user-select: none; }
.st-plot.tall { height: 200px; }
.st-plot .st-svg { width: 100%; height: 100%; border: 0; background: none; }
.st-plot-tag { position: absolute; left: 8px; font-size: 12px; font-weight: 700; pointer-events: none; text-shadow: 0 1px 2px #000; }
.st-plot-tag.top { top: 6px; }
.st-plot-tag.bottom { bottom: 6px; }
.st-plot-end { position: absolute; right: 6px; transform: translateY(-50%); padding: 1px 6px; border-radius: 4px; background: rgba(15, 11, 19, 0.85); font-size: 12px; font-weight: 700; pointer-events: none; }
.st-plot-flag { position: absolute; top: 4px; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: var(--gold); color: #1a1206; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.st-cursor { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid rgba(246, 213, 142, 0.7); pointer-events: none; }
.st-cursor i { position: absolute; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 3px rgba(227, 180, 90, 0.35); }
.st-tipbox { position: absolute; top: 8px; z-index: 2; width: max-content; max-width: min(300px, 90%); padding: 10px 12px; border-radius: 10px; background: rgba(21, 16, 25, 0.97); border: 1px solid var(--line2); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6); font-size: 13.5px; pointer-events: none; }
.st-tip-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.st-tip-head b { color: var(--gold-hi); }
.st-tip-move { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
.st-tip-why { margin: 4px 0; padding-left: 16px; color: var(--gold-hi); font-size: 13px; }
.st-tip-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.st-tip-sides > div { display: flex; flex-direction: column; }
.st-tip-sides small { color: var(--text); font-size: 12px; }
.st-axis { position: relative; height: 20px; margin-top: 2px; color: var(--muted); font-size: 12px; }
.st-axis span { position: absolute; top: 2px; white-space: nowrap; }
.st-mchips { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-bottom: 8px; }
.st-mchip { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); min-width: 0; }
.st-mchip.s1 { text-align: right; }
.st-mchip.mid { align-items: center; text-align: center; color: var(--gold-hi); }
.st-mchip.mid b { font: 700 22px var(--display); color: inherit; }
.st-mchip small { color: var(--muted); font-size: 12px; }
.st-dpt { display: flex; align-items: flex-end; gap: 2px; height: 100%; padding: 8px 6px 4px; }
.st-dpt .col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.st-dpt .bars { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.st-dpt i { flex: 1; max-width: 18px; border-radius: 3px 3px 0 0; }
.st-dpt i.s0 { background: var(--blue); }
.st-dpt i.s1 { background: var(--bad); }

/* ------------------------------------------------------------ rankings */
.st-rk-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.st-rk-head h1 { margin: 0; }
.st-rk-head p { margin: 4px 0 0; font-size: 17px; }
.st-rk-tabs { margin: 0; }
.st-podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; align-items: end; margin: 18px 0 16px; }
.st-pod { --tone: #9aa6b2; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; min-width: 0; min-height: 100px; padding: 20px 10px 12px;
  border-radius: var(--r); border: 1px solid var(--line); border-top: 2px solid var(--tone); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 70%), var(--panel); }
.st-pod.p1 { --tone: var(--gold); min-height: 116px; box-shadow: 0 0 26px rgba(227, 180, 90, 0.13); }
.st-pod.p2 { --tone: #c9d1d9; }
.st-pod.p3 { --tone: #cd8f5a; }
.st-pod .place { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #1a1206; font-weight: 800; font-size: 13px; }
.st-pod .st-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; }
.st-pod .val { color: var(--tone); font-weight: 700; font-size: 14px; }
.st-pod .facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; color: var(--muted); font-size: 13px; }
.st-pod.empty { opacity: 0.5; border-style: dashed; border-top-style: solid; }
.st-rkmedal { object-fit: contain; vertical-align: middle; flex: none; }
.st-rankcell { display: inline-flex; align-items: center; gap: 8px; }
.st-rankcell small { display: block; color: var(--muted); }
.st-rk-table { padding: 6px; }
.st-rk-table .st-wtable { margin: 0; border: 0; background: none; }
.st-rk-table .pos { width: 52px; text-align: center; font-weight: 700; color: var(--muted); }
.st-rk-table tr.p1 .pos { color: var(--gold); }
.st-rk-table tr.p2 .pos { color: #c9d1d9; }
.st-rk-table tr.p3 .pos { color: #cd8f5a; }
.st-rk-table tr.me { background: rgba(95, 214, 196, 0.08); }
.st-rk-you { margin: 0 0 8px; color: var(--teal); font-weight: 600; }
.st-rk-pages { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ------------------------------------------------------------ account */
.st-form { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 4px; }
.st-field { display: flex; flex-direction: column; gap: 5px; }
.st-field span { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.st-field small { display: block; margin-top: 2px; }
.st-field small.good, .st-field .good { color: var(--good); }
.st-field small.bad, .st-field .bad { color: var(--bad); }
.st-field .xs { font-size: 13px; }
.st-field .muted { color: var(--muted); }
.st-field .warn { color: var(--warn); }
.st-note { min-height: 1.4em; margin: 0; color: var(--gold-hi); }
.st-acc-tabs { margin: 14px 0 4px; padding: 4px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); gap: 4px; }
.st-acc-tabs button { flex: 1; min-height: 40px; font-size: 15px; border-color: transparent; }
.st-acc-tabs button[aria-selected='true'] { background: var(--panel3); color: var(--gold-hi); border-color: transparent; }
.st-done { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; text-align: center; }
.st-done > b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(127, 212, 138, 0.15); border: 2px solid var(--good); color: var(--good); font-size: 26px; }
.st-providers { margin-top: 16px; }
.st-or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; margin-bottom: 12px; }
.st-or::before, .st-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.st-prov-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st-prov { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: var(--r-s); border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: border-color 0.15s; }
.st-prov:hover { border-color: var(--gold); }
.st-prov:disabled { opacity: 0.6; }
.st-prov .mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font: 700 14px/1 system-ui, sans-serif; color: #fff; }
.st-prov.google .mark { background: #fff; color: #4285f4; }
.st-prov.apple .mark { background: #000; border: 1px solid #555; }
.st-prov.discord .mark { background: #5865f2; }
.st-prov.steam .mark { background: #1b2838; border: 1px solid #66c0f4; color: #66c0f4; }
.st-pw { display: flex; gap: 6px; }
.st-pw input { flex: 1; min-width: 0; }
.st-eye { flex: none; min-width: 64px; min-height: 46px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--line2); background: var(--bg2); color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.st-eye[aria-pressed='true'] { color: var(--gold-hi); border-color: var(--gold-lo); }
.st-field .pw-meter { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.pw-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pw-bars i { height: 6px; border-radius: 3px; background: rgba(239, 228, 208, 0.12); transition: background 0.2s; }
.pw-meter.lv0 .pw-bars i.on { background: var(--bad); }
.pw-meter.lv1 .pw-bars i.on { background: var(--warn); }
.pw-meter.lv2 .pw-bars i.on { background: #d9d45a; }
.pw-meter.lv3 .pw-bars i.on { background: var(--good); box-shadow: 0 0 6px rgba(127, 212, 138, 0.5); }

/* ------------------------------------------------------------ the server status */
.st-status-big { display: flex; align-items: center; gap: 18px; }
.st-status-big .tt { display: block; font: 700 22px var(--display); color: #fff5e1; }
.st-status-row { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 4px; border-top: 1px solid var(--line); }
.st-status-row b { margin-left: auto; text-align: right; font-weight: 600; }
.st-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #4a4055; }
.st-dot.big { width: 22px; height: 22px; }
.st-dot.ok { background: #5fd068; box-shadow: 0 0 0 4px rgba(95, 208, 104, 0.18); }
.st-dot.warn { background: #f5c542; box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.18); }
.st-dot.bad { background: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18); }
.st-status-notes { margin-top: 10px; }
.st-wiki-head h1 { margin-bottom: 4px; }

/* ------------------------------------------------------------ the foot */
.st-foot { border-top: 1px solid var(--line); background: rgba(10, 7, 13, 0.6); color: var(--muted); font-size: 14.5px; }
.st-foot-in { max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 22px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.st-foot .brand img { height: 44px; width: auto; display: block; margin-bottom: 10px; }
.st-foot .brand p { margin: 0 0 14px; max-width: 34ch; }
.st-foot h4 { margin: 0 0 8px; color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.st-foot ul { list-style: none; margin: 0; padding: 0; }
.st-foot li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted); }
.st-foot li a:hover { color: var(--gold-hi); }
.st-foot-end { max-width: 1240px; margin: 0 auto; padding: 16px var(--gutter) max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--faint); font-size: 13.5px; }

/* ------------------------------------------------------------ narrower screens */
@media (max-width: 1280px) {
  .st-wiki, .st-wiki.no-toc { grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: 'nav art'; gap: 28px; }
  .st-bar .st-find { width: 190px; }
  .st-sk-body { grid-template-columns: 1fr; }
  .st-sk-sheet { position: static; }
}
@media (max-width: 1080px) {
  .st-nav a { padding: 0 10px; font-size: 14.5px; }
  .st-bar .st-find { width: 44px; padding: 0; justify-content: center; }
  .st-bar .st-find > span:not(.st-ico), .st-bar .st-find kbd { display: none; }
  .st-me .nm { display: none; }
  .st-me { padding: 0 6px; }
  .st-main-grid { grid-template-columns: 1fr; }
  .st-featured { position: static; }
  .st-nlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-ngrid { grid-template-columns: 1fr 1fr; }
  .st-ngrid > a:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; --bar: 56px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .st-nav, .st-me { display: none; }
  .st-logo { height: 32px; }
  .st-bar { gap: 10px; }
  .st-bar .st-play { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .st-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
    background: rgba(15, 11, 19, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line2); }
  .st-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; min-width: 44px; border-radius: 12px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.1; }
  .st-tabbar a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .st-tabbar a[aria-current='page'] { color: var(--gold-hi); }
  .st-tabbar a[aria-current='page'] .st-ico { filter: drop-shadow(0 0 6px rgba(227, 180, 90, 0.6)); }
  .st-tabbar .st-ico { width: 22px; height: 22px; }
  .st-page { padding-top: 18px; padding-bottom: 48px; }
  .st-two { grid-template-columns: 1fr; }
  .st-wiki, .st-wiki.no-toc { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'nav' 'art'; gap: 0; }
  .st-wnav { position: static; max-height: none; overflow: visible; margin-bottom: 12px; padding: 0 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
  .st-wnav summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; color: var(--text); font-weight: 600; }
  .st-wnav summary::-webkit-details-marker { display: none; }
  .st-wnav summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate 0.2s; }
  .st-wnav[open] summary::after { rotate: -135deg; }
  .st-wnav[open] { padding-bottom: 12px; }
  .st-wnav li a, .st-wnav .home { min-height: 44px; }
  .st-art > .st-toc ol { columns: 1; }
  .st-art > .st-toc li a { min-height: 40px; display: flex; align-items: center; }
  .st-statline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-foot-in { grid-template-columns: 1fr 1fr; }
  .st-foot .brand { grid-column: 1 / -1; }
  .st-foot li a { min-height: 44px; }
  .st-sk-tree { grid-template-columns: 1fr; }
  .st-sk-picks .st-sk-pick { min-width: 44px; min-height: 44px; }
  .st-shade.top { padding: 0; place-items: stretch; }
  .st-pal { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; }
  .st-pal-foot { display: none; }
}
@media (max-width: 720px) {
  .st-panel { padding: 16px; }
  .st-hero { border-radius: 18px; }
  .st-hero::after { background: linear-gradient(0deg, rgba(15, 11, 19, 0.96) 35%, rgba(15, 11, 19, 0.45)); }
  .st-hero-in { padding-top: 120px; }
  .st-hero-acts .st-btn, .st-hero-acts .st-play { flex: 1 1 auto; }
  .st-infobox { float: none; width: 100%; margin: 0 0 18px; }
  .st-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-mode { grid-template-columns: 1fr; }
  .st-mode img { max-width: 280px; }
  .st-lead { font-size: 17px; }
  .st-wtable.narrow { width: 100%; min-width: 0; }
  .st-sec > h2 { font-size: 23px; }
  .st-sec > h2 .st-anchor { display: none; }
  .st-board-intro { grid-template-columns: 1fr; }
  .st-board-intro .st-boardpic { max-width: 240px; }
  .st-arenas, .st-tilecards, .st-items { grid-template-columns: 1fr; }
  .st-skins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .st-champs { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .st-champ { padding: 12px 6px; }
  .st-champ .st-face { width: 60px; height: 60px; }
  .st-ngrid, .st-nlist { grid-template-columns: 1fr; }
  .st-nlist a.wide .st-ncard { flex-direction: column; }
  .st-nlist a.wide .st-ncard .pic { width: auto; aspect-ratio: 16 / 9; }
  .st-nlist a.wide .st-ncard .tx { padding: 16px 18px 18px; }
  .st-npost { border-radius: 18px; }
  .st-npost .cover { aspect-ratio: 16 / 9; }
  .st-nnav { grid-template-columns: 1fr; }
  .st-nnear.older { text-align: left; }
  .st-cta { padding: 22px 20px; }
  .st-cta .st-play { width: 100%; }
  .st-feat { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .st-feat .fig { height: 150px; }
  .st-mh-row { grid-template-columns: 40px minmax(0, 1fr) auto 14px; gap: 8px 10px; padding: 8px 10px; }
  .st-mh-row .teams { grid-column: 2 / -1; grid-row: 2; }
  .st-mh-row .chev { grid-column: 4; grid-row: 1; }
  .st-mh-filters select { flex: 1 1 100%; }
  .st-teams, .st-heat-sides, .st-ms-sides { grid-template-columns: 1fr; }
  .st-team-table { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; font-size: 14px; }
  .st-team-table .hd > span:first-child { display: none; }
  .st-team-table .row > .who { grid-column: 1 / -1; padding-top: 8px; }
  .st-team-table .row > span:not(.who) { border-top: 0; padding-top: 0; }
  .st-team-table .who b { white-space: normal; }
  .st-ms-champ .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-shade { padding: 0; place-items: stretch; }
  .st-win { max-height: 100vh; height: 100%; border-radius: 0; border: 0; }
  .st-win-tabs { padding: 0 14px; }
  .st-win-tabs button { flex: 1 1 30%; min-height: 44px; padding: 0 6px; font-size: 13.5px; }
  .st-win-body { padding: 14px 14px 22px; }
  .st-tug-row { grid-template-columns: 54px minmax(0, 1fr) 54px; }
  .st-heat { grid-template-columns: minmax(0, 1fr) repeat(3, 58px); }
  .st-table .wide { display: none; }
  .st-table th, .st-table td { padding: 10px 5px; }
  .st-table thead th { letter-spacing: 0.04em; font-size: 10.5px; }
  .st-table td:first-child { white-space: normal; }
  .st-champ-cell { gap: 8px; }
  .st-whero .st-find kbd { display: none; }
  .st-player-id > .st-face { width: 64px; height: 64px; border-radius: 16px; }
  .st-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-podium { gap: 6px; }
  .st-pod { padding: 18px 4px 10px; min-height: 84px; }
  .st-pod.p1 { min-height: 96px; }
  .st-pod .st-chip { font-size: 14px; }
  .st-pod .val { font-size: 12px; }
  .st-pod .facts { display: none; }
  .st-rk-table .wide, .st-rk-table th:nth-child(4), .st-rk-table td:nth-child(4) { display: none; }
  .st-rk-table td, .st-rk-table th { padding: 10px 6px; }
  .st-tabs button, .st-seg a { min-height: 44px; }
  .st-prov-btns { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .st-tiles { grid-template-columns: 1fr; }
  .st-tiles a { min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
