@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/38013d5a85a24d84.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/fonts/d2c1b6aaee2230fc.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/38013d5a85a24d84.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/d2c1b6aaee2230fc.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/38013d5a85a24d84.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/d2c1b6aaee2230fc.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/38013d5a85a24d84.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/d2c1b6aaee2230fc.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/f4f7c7ca4e0eebfa.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/e6b87a8e39b60c12.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/f4f7c7ca4e0eebfa.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/e6b87a8e39b60c12.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/f4f7c7ca4e0eebfa.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/e6b87a8e39b60c12.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/f4f7c7ca4e0eebfa.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/e6b87a8e39b60c12.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{--color-bg:#ffffff;--color-surface:#f6f7f9;--color-surface-2:#eceff3;--color-text:#14171c;--color-text-muted:#555d6b;--color-border:#dde1e7;--color-primary:#1f5eff;--color-primary-contrast:#ffffff;--color-accent:#ffb020;--color-accent-contrast:#14171c;--color-focus:#1f5eff;--font-heading:"Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;--font-body:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--radius-sm:8px;--radius-md:14px;--radius-lg:24px;--radius-pill:999px;--container:1200px;--container-narrow:760px;--shadow-sm:0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);--shadow-md:0 12px 32px -12px rgba(16,24,40,.22);--header-h:68px}
*,*::before,*::after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-body);font-size:clamp(1rem,.96rem + .2vw,1.0625rem);line-height:1.6;text-rendering:optimizeLegibility}img{max-width:100%;height:auto;display:block}a{color:var(--color-primary)}h1,h2,h3{font-family:var(--font-heading);line-height:1.15;margin:0 0 .5em;overflow-wrap:anywhere;letter-spacing:-.01em}h1{font-size:clamp(2rem,1.4rem + 3vw,3.6rem);letter-spacing:-.02em}h2{font-size:clamp(1.6rem,1.25rem + 1.6vw,2.5rem)}h3{font-size:clamp(1.1rem,1rem + .5vw,1.35rem)}p{margin:0 0 1em}:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px;border-radius:4px}.site-header__in{display:flex;align-items:center;gap:16px;min-height:var(--header-h)}.nav{display:none;margin-inline-start:auto}.nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0}.nav a{display:inline-flex;align-items:center;min-height:44px;padding-inline:12px;border-radius:var(--radius-sm);color:var(--color-text);text-decoration:none;font-weight:500}.nav a[aria-current=page]{background:var(--color-surface)}@media (hover:hover){.nav a:hover{background:var(--color-surface)}}.menu{margin-inline-start:auto}.menu>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-sm);border:1px solid var(--color-border);cursor:pointer}.menu>summary::-webkit-details-marker{display:none}.menu__panel{position:absolute;inset-inline:0;inset-block-start:var(--header-h);background:var(--color-bg);border-block-end:1px solid var(--color-border);padding:12px clamp(16px,4vw,32px) 20px;box-shadow:var(--shadow-md)}.menu__panel ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}.menu__panel a{display:flex;align-items:center;min-height:48px;padding-inline:8px;color:var(--color-text);text-decoration:none;font-weight:500;border-radius:var(--radius-sm)}@media (min-width:960px){.nav{display:block}.menu{display:none}}.hero{padding-block:clamp(40px,7vw,112px);background:linear-gradient(180deg,var(--color-surface) 0%,var(--color-bg) 100%)}.hero__grid{display:grid;gap:clamp(28px,5vw,64px);align-items:center}.hero__lead{font-size:clamp(1.05rem,1rem + .45vw,1.3rem);color:var(--color-text-muted);max-width:40ch}.hero__points{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px}.hero__points li{display:flex;gap:10px;align-items:flex-start;font-weight:500}.hero__points svg{flex:none;margin-block-start:3px;color:var(--color-primary)}.hero__media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}@media (min-width:900px){.hero__grid{grid-template-columns:1.05fr .95fr}}.page-header__grid{display:grid;gap:24px;align-items:center}@media (min-width:900px){.page-header__grid{grid-template-columns:1.2fr .8fr}}body{padding-block-end:76px}@media (min-width:960px){body{padding-block-end:0}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.sub-games__more{margin-block-start:clamp(18px,2.5vw,28px);justify-content:center}
.sub-player__btn{position:absolute;inset:0;margin:auto;width:max-content;height:max-content;display:inline-flex;align-items:center;gap:.5em;min-height:52px;padding:.8em 1.5em;border-radius:var(--radius-pill);background:var(--color-primary);color:var(--color-primary-contrast);font-weight:700;text-decoration:none;box-shadow:var(--shadow-md)}
#play>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3;background:#000}
picture.media-picture{display:contents}h1,h2,h3{overflow-wrap:anywhere}.sub-lg{display:block;height:36px;width:auto;max-width:190px;object-fit:contain}.sub-summary-sec{padding-block:clamp(16px,3vw,32px) 0}.sub-toc-sec{padding-block:clamp(12px,2vw,24px) 0}.sub-meta{font-size:.9rem;margin:.25em 0 1em}.table-wrap{overflow-x:auto}
/* ==========================================================================
   Core — reset, typography, app shell, navigation, buttons, footer
   Palette comes from tokens (--color-*), fonts from --font-*
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: rgba(90, 255, 243, .3); color: #fff; }

/* ---------- 2. Local tokens (palette vars come from tokens.css) ---------- */
:root {
  --teal: var(--color-teal, #5afff3);
  --teal-soft: var(--color-teal-soft, rgba(90, 255, 243, .14));
  --teal-line: var(--color-teal-line, rgba(90, 255, 243, .35));
  --hairline: var(--hairline, rgba(255, 255, 255, .07));
  --hairline-strong: var(--hairline-strong, rgba(255, 255, 255, .14));
  --sidebar-w: 100px;
  --sidebar-w-open: 428px;
  --notice-h: 32px;
  --bar-h: 52px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --grad-scrim: linear-gradient(90deg, rgb(19, 59, 56) 0%, rgb(20, 52, 52) 56.28%, rgba(13, 81, 76, 0) 100%);
  --grad-panel: linear-gradient(135deg, rgba(90, 255, 243, .1) 0%, rgba(0, 25, 29, .95) 50%, rgba(90, 255, 243, .06) 100%);
  --shadow-card: 0 2px 6px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .2);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(90, 255, 243, .18);
  --glow-teal: inset 0 -2px 0 0 var(--teal);
  --glow-accent: 0 0 12px rgba(238, 35, 35, .3), inset 0 -2px 0 #ca7e1d;
  --tr-fast: .15s var(--ease);
  --tr: .2s var(--ease);
  --tr-slow: .3s var(--ease);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14.4px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text); }
h1 { font-size: 19.2px; font-weight: 700; line-height: 1.55; letter-spacing: .1px; }
h2 { font-size: 17.28px; font-weight: 700; line-height: 1.55; }
h3 { font-size: 15.68px; font-weight: 600; line-height: 1.55; }
h4 { font-size: 14.4px; font-weight: 700; line-height: 1.5; }
p { line-height: 1.55; }
strong { font-weight: 700; }
.label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
.muted { color: var(--color-text-muted); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container, 1280px);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow, 760px); }
.layout__main { display: block; min-height: 40vh; min-width: 0; }
.section { padding-block: 20px; }
.section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.section__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 17.28px;
  font-weight: 700;
  line-height: 26.784px;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--teal);
  box-shadow: inset 0 -2px 0 0 rgba(90, 255, 243, .4);
  padding-bottom: 6px;
}
.section__title [data-icon] { font-size: 18px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.hairline { border-top: 1px solid var(--hairline); }

/* ---------- 4b. App shell ---------------------------------------------------
   Mobile: a plain block — sidebar is hidden, everything stacks.
   Desktop (>=1024px): a two column grid where the sidebar is a REAL column,
   so the whole main area (orange bar, header, hero, content, footer) starts
   after the sidebar and moves when the sidebar expands. No overlay drawer.
   --------------------------------------------------------------------------- */
.app-shell { display: block; min-height: 100dvh; }

/* Icons */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  color: currentColor;
}
[data-icon] svg { width: 100%; height: 100%; }

/* Focus + skip link */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.sub-sk {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--color-bg);
  font-weight: 700;
  transition: top var(--tr);
}
.sub-sk:focus { top: 10px; }

/* ---------- 5. Header ------------------------------------------------------
   The header itself is flattened (display:contents) so that its children
   (.rail / .notice / .topbar / .drawer / .tabbar) become items of the
   .app-shell grid: the sidebar takes column 1, everything else column 2.
   --------------------------------------------------------------------------- */
.site-header { display: contents; }

/* 5.1 Orange notice strip */
.notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-height: 96px;
  min-height: var(--notice-h);
  padding: 6px 52px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  overflow: hidden;
  transition: max-height .2s ease, min-height .2s ease, padding .2s ease, opacity .2s ease;
}
.notice.no-anim { transition: none; }
.notice__text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
}
.notice__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--color-accent-contrast);
  transition: background var(--tr-fast), color var(--tr-fast);
}@media (hover:hover){.notice__close:hover{ background: rgba(0, 0, 0, .65); color: #fff; }}
.notice.is-hidden {
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

/* 5.2 Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--color-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.topbar__in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--bar-h);
  padding-inline: 24px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm, 8px);
  color: rgba(255, 255, 255, .8);
  font-size: 19px;
  transition: background var(--tr), color var(--tr);
}@media (hover:hover){.icon-btn:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.topbar__burger { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}
.sub-mk {
  order: 2;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 149, 21, .25);
}

/* 5.3 Section pills */
.topnav {
  display: flex;
  min-width: 0;
  overflow: hidden;
  margin-left: 6px;
}
.topnav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.topnav__list::-webkit-scrollbar { display: none; }
.topnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm, 8px);
  background: var(--color-primary);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  transition: background var(--tr), color var(--tr), box-shadow var(--tr);
}
.topnav a [data-icon] { font-size: 15px; }@media (hover:hover){.topnav a:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.topnav a[aria-current] { color: #fff; box-shadow: var(--glow-teal); }

.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 5.4 Desktop sidebar (collapsed by default) */
.rail { display: none; }

/* 5.5 Overlay menu */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 29, .78);
  animation: fadeIn .18s ease;
}
.drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(350px, 88vw);
  height: 100%;
  padding: 14px 16px 24px;
  background: var(--color-surface);
  border-right: 1px solid rgba(90, 255, 243, .12);
  overflow-y: auto;
  animation: slideIn .2s ease;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
.drawer__list { display: flex; flex-direction: column; gap: 4px; }
.drawer__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm, 8px);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  transition: background var(--tr), color var(--tr);
}
.drawer__list a [data-icon] { font-size: 17px; color: var(--teal); }@media (hover:hover){.drawer__list a:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.drawer__list a[aria-current] { background: var(--teal-soft); color: #fff; }
.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

/* 5.6 Bottom bar (mobile) */
.tabbar { display: none; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease-in-out, color .25s ease-in-out,
              border-color .25s ease-in-out, transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  box-shadow: var(--glow-accent);
}@media (hover:hover){.btn--primary:hover{ background: #ffa733; box-shadow: 0 0 16px rgba(255, 149, 21, .45), inset 0 -2px 0 #ca7e1d; }}
.btn--ghost {
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .78);
}@media (hover:hover){.btn--ghost:hover{ background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .9); color: rgba(255, 255, 255, .95); }}
.btn--soft {
  background: rgba(255, 255, 255, .06);
  border-color: var(--hairline-strong);
  color: var(--color-text);
}@media (hover:hover){.btn--soft:hover{ background: rgba(255, 255, 255, .1); }}
.btn--teal {
  background: var(--teal);
  color: var(--color-bg);
  box-shadow: var(--glow-teal);
}@media (hover:hover){.btn--teal:hover{ filter: brightness(1.06); transform: translateY(-2px); }}
.btn--block { width: 100%; }
.btn--sm { height: 30px; padding: 0 12px; font-size: 13px; line-height: 18px; }

/* ---------- 7. Footer ---------- */
.site-footer {
  margin-top: 40px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--hairline);
  background: var(--color-bg);
}
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  transition: background var(--tr), color var(--tr), box-shadow var(--tr);
}@media (hover:hover){.socials a:hover{ background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 0 0 1px var(--teal-line); }}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px 24px;
  margin-top: 22px;
}
.fcol { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fcol__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fcol h2 {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
.fcol__btn {
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  transition: background var(--tr), transform var(--tr);
}@media (hover:hover){.fcol__btn:hover{ background: rgba(255, 255, 255, .08); }}
.fcol__list { display: flex; flex-direction: column; gap: 8px; }
.fcol__list a,
.fcol__list span {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .72);
  transition: color var(--tr-fast);
}@media (hover:hover){.fcol__list a:hover{ color: #fff; text-decoration: underline; text-decoration-color: var(--teal); }}
.fcol__legal { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.fcol__licence { font-size: 10px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.fcol--brand .brand { font-size: 19px; margin-bottom: 2px; }

.badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge--18 {
  width: 34px;
  background: #f2c400;
  color: #1a1200;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.badge--seal {
  width: 34px;
  color: var(--color-accent);
  background: radial-gradient(circle at 50% 50%, rgba(255, 149, 21, .18) 0%, rgba(255, 149, 21, .04) 70%, transparent 100%);
}
.badge--auth {
  padding: 0 8px;
  color: #fff;
  background: linear-gradient(135deg, #123a5c 0%, #0d2740 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.langs { margin-top: 4px; }
.langs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 12px;
  transition: background var(--tr), color var(--tr);
}@media (hover:hover){.langs a:hover{ background: rgba(255, 255, 255, .1); }}
.langs [data-icon] { font-size: 15px; color: var(--teal); }
.langs__chev { font-size: 13px; color: rgba(255, 255, 255, .6); }

.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

.mcta { display: none; }

/* ---------- 8. Prose ---------- */
.prose { color: rgba(255, 255, 255, .75); }
.prose > * + * { margin-top: 12px; }
.prose h2 { color: #fff; margin-top: 22px; }
.prose h3 { color: #fff; margin-top: 18px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 6px; }
.prose blockquote {
  padding: 12px 16px;
  border-left: 2px solid var(--teal);
  background: rgba(255, 255, 255, .04);
  border-radius: 0 8px 8px 0;
}
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-md, 12px); }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--hairline); }
.prose th { color: var(--teal); font-family: var(--font-display); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 9. Reveal + animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 35, 35, .5); }
  50% { box-shadow: 0 0 0 10px rgba(238, 35, 35, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  border-radius: var(--radius-md, 12px);
  background-color: rgba(255, 255, 255, .05);
  background-image: linear-gradient(90deg, transparent 0%, rgba(90, 255, 243, .12) 50%, transparent 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: shimmer 1.4s linear infinite;
}
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: currentColor;
  animation: spin .8s linear infinite;
}

/* ---------- 10. Responsive ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .topbar__burger { display: grid; }
}

/* =========== DESKTOP: sidebar is a real layout column =========== */
@media (min-width: 1024px) {
  .app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    min-height: 100dvh;
    transition: grid-template-columns .32s var(--ease);
  }
  .app-shell.is-expanded { --sidebar-w: var(--sidebar-w-open); }

  /* main column: orange bar → top bar → content → footer */
  .app-shell .notice { grid-column: 2; grid-row: 1; }
  .app-shell .topbar { grid-column: 2; grid-row: 2; }
  .app-shell .layout__main { grid-column: 2; grid-row: 3; }
  .app-shell [data-region="footer"] { grid-column: 2; grid-row: 4; }
  /* fixed layers: out of flow, column does not matter */
  .app-shell .drawer,
  .app-shell .tabbar { grid-column: 2; grid-row: 1; }

  /* header tweaks for the desktop layout */
  .topbar__in { padding-inline: 20px; }
  .topbar__in > .brand { display: none; }
  .topbar .langs-wrap { display: none; }

  /* --- sidebar ------------------------------------------------ */
  .rail {
    grid-column: 1;
    grid-row: 1 / -1;
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: 100dvh;
    padding: 12px 8px 20px;
    background: linear-gradient(180deg, var(--color-surface) 0%, #0c1f21 100%);
    border-right: 1px solid rgba(90, 255, 243, .12);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 55;
    scrollbar-width: thin;
    scrollbar-color: rgba(90, 255, 243, .22) transparent;
  }
  .rail::-webkit-scrollbar { width: 6px; }
  .rail::-webkit-scrollbar-thumb { background: rgba(90, 255, 243, .22); border-radius: 6px; }

  .rail__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
  }
  .rail__toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--hairline);
    color: rgba(255, 255, 255, .85);
    font-size: 20px;
    transition: background var(--tr), color var(--tr), border-color var(--tr);
  }
  .rail__toggle:hover { background: rgba(255, 255, 255, .1); border-color: var(--hairline-strong); color: #fff; }
  .rail__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

  .rail__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
  }
  .rail__brand .sub-mk { width: 16px; height: 16px; border-radius: 5px; }
  .rail__brand .brand__name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rail__divider { display: block; height: 1px; background: rgba(90, 255, 243, .14); }

  .rail__nav { min-width: 0; }
  .rail__title { display: none; }
  .rail__list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .rail__list > li { min-width: 0; }
  .rail__list > li + li { display: none; }
  .rail.is-open .rail__list > li { display: block; animation: fadeIn .18s ease both; }

  .rail a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 6px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .66);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    transition: color var(--tr), background var(--tr);
  }
  .rail a [data-icon] { font-size: 17px; }
  .rail a [data-label] { min-width: 0; overflow-wrap: anywhere; }
  .rail a:hover { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .95); }
  .rail a[aria-current] {
    background: rgba(90, 255, 243, .08);
    color: var(--teal);
    box-shadow: inset 3px 0 0 0 var(--teal);
  }

  /* --- expanded sidebar: same component, only wider --- */
  .rail.is-open { padding: 16px 18px 24px; gap: 16px; }
  .rail.is-open .rail__head { flex-direction: row; align-items: center; gap: 12px; }
  .rail.is-open .rail__toggle { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  .rail.is-open .rail__brand { font-size: 23px; gap: 9px; }
  .rail.is-open .rail__brand .sub-mk { width: 22px; height: 22px; border-radius: 6px; }
  .rail.is-open .rail__title {
    display: block;
    margin: 0 0 8px;
    padding: 0 12px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(90, 255, 243, .7);
  }
  .rail.is-open a { min-height: 46px; padding: 10px 12px; gap: 12px; font-size: 14px; line-height: 21px; }
  .rail.is-open a [data-icon] { font-size: 20px; }
}

@media (max-width: 1023px) {
  .app-shell { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .fcol--brand { grid-column: 1 / -1; }
  .topnav { display: none; }}

@media (max-width: 767px) {
  :root { --notice-h: 46px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .topbar__in { padding-inline: 16px; gap: 8px; }
  .brand { font-size: 19px; }
  .sub-mk { width: 19px; height: 19px; }
  .notice { padding: 8px 40px 8px 14px; }
  .notice__text { font-size: 11px; line-height: 1.3; text-align: left; }
  .notice__close { top: 8px; right: 8px; transform: none; }
  .btn { font-size: 14px; }
  .topbar__actions .btn { padding: 0 12px; }

  .tabbar {
    display: flex;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: var(--color-surface);
    border-top: 1px solid var(--hairline);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar__menu,
  .tabbar__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 6px 2px;
    color: rgba(255, 255, 255, .55);
    transition: color var(--tr);
  }
  .tabbar__menu { flex: 1 1 0; min-width: 0; }
  .tabbar__list {
    flex: 1 1 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    min-width: 0;
  }
  .tabbar__list > li { min-width: 0; }
  .tabbar__list a { min-width: 0; }
  .tabbar__ico { font-size: 20px; display: inline-flex; }
  .tabbar__label {
    font-family: var(--font-display);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }@media (hover:hover){.tabbar__menu:hover,.tabbar__list a:hover{ color: rgba(255, 255, 255, .85); }}
  .tabbar__menu[aria-expanded="true"],
  .tabbar__list a[aria-current] { color: var(--teal); }
  .tabbar__list a[aria-current] .tabbar__ico::after {
    content: "";
    position: absolute;
    margin-top: -22px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
  }

  .drawer__panel { width: 100%; max-width: none; border-right: 0; border-radius: 0; }

  .site-footer { margin-top: 28px; padding-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .fcol { border-bottom: 1px solid var(--hairline); padding: 12px 0; gap: 0; }
  .fcol--brand { border-bottom: 0; padding-top: 4px; gap: 10px; }
  .fcol__btn { display: grid; }
  .fcol__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease, opacity .3s ease;
    opacity: 0;
    padding-top: 0;
  }
  .fcol.is-open .fcol__list { max-height: 620px; opacity: 1; padding-top: 10px; }
  .fcol__head .fcol__btn [data-icon] { transition: transform .3s var(--ease); }
  .fcol.is-open .fcol__btn [data-icon] { transform: rotate(180deg); }
  .footer-bottom { text-align: left; }
  .mcta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: var(--container, 1280px);
    margin: 18px auto 0;
    padding-inline: 16px;
  }}

@media (max-width: 390px) {
  body { font-size: 13.76px; }
  h1 { font-size: 16.8px; line-height: 1.55; }
  h2 { font-size: 16px; line-height: 1.55; }
  h3 { font-size: 15.04px; line-height: 1.55; }
  .container { padding-inline: 16px; }
  .brand { font-size: 17px; }
  .sub-mk { width: 17px; height: 17px; }
  .topbar__actions .btn { padding: 0 10px; font-size: 13px; }
  .label { font-size: 10px; }}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .app-shell { transition: none; }}
/* ==========================================================================
   Home blocks — hero, period, wins, promos, sports, tabs, recent, games rows
   Palette / fonts come from tokens (--color-*, --font-*)
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared: heads, carousels, chips, pills, flags ---------- */
.sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  margin-bottom: 12px;
}
.sec-head__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.sec-head__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: color .16s var(--ease);
}@media (hover:hover){.sec-head__more:hover{ color: var(--teal); }}
.sec-head__more [data-icon] { font-size: 13px; }

.nav-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 36, 37, .88);
  border: 1px solid var(--hairline);
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  transition: background .15s var(--ease), color .15s var(--ease), opacity .15s var(--ease), border-color .15s var(--ease);
}@media (hover:hover){.nav-btn:hover{ background: rgba(255, 255, 255, .14); border-color: var(--hairline-strong); color: #fff; }}
.nav-btn[disabled] { opacity: .3; pointer-events: none; }

.carousel-wrap { position: relative; }
.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 4px;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}@media (hover:hover){.chip:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--teal-soft);
  border-color: rgba(90, 255, 243, .45);
  color: var(--teal);
}
.chip [data-icon] { font-size: 15px; }
.chip--sm { height: 28px; padding: 0 10px; font-size: 13px; }
.chip--icon { padding: 0 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(90, 255, 243, .25);
  border-radius: 999px;
  background: rgba(15, 36, 37, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .2s var(--ease);
}@media (hover:hover){.pill:hover{ background: rgba(19, 59, 56, .95); border-color: var(--teal); transform: translateY(-2px); }}
.pill [data-icon] { font-size: 16px; color: var(--teal); }
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ee2323;
  box-shadow: 0 0 12px rgba(238, 35, 35, .6);
  animation: pulse 1.8s ease-in-out infinite;
}

.flag {
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #2a3f42;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.flag--br { background: linear-gradient(135deg, #009c3b 0 42%, #ffdf00 42% 58%, #002776 58% 100%); }
.flag--hr { background: linear-gradient(#ff0000 0 33%, #ffffff 33% 66%, #171796 66% 100%); }
.flag--es { background: linear-gradient(#aa151b 0 26%, #f1bf00 26% 74%, #aa151b 74% 100%); }
.flag--fr { background: linear-gradient(90deg, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66% 100%); }
.flag--be { background: linear-gradient(90deg, #141414 0 33%, #fdda24 33% 66%, #ef3340 66% 100%); }
.flag--cz { background: linear-gradient(90deg, #11457e 0 46%, #ffffff 46% 100%); }
.flag--gb { background: linear-gradient(90deg, #00247d 0 40%, #cf142b 40% 60%, #00247d 60% 100%); }
.flag--au { background: linear-gradient(135deg, #00247d 0 58%, #ffffff 58% 100%); }
.flag--it { background: linear-gradient(90deg, #009246 0 33%, #ffffff 33% 66%, #ce2b37 66% 100%); }
.flag--tr { background: linear-gradient(#e30a17 0 100%); }
.flag--se { background: linear-gradient(90deg, #006aa7 0 30%, #fecc00 30% 46%, #006aa7 46% 100%); }
.flag--pl { background: linear-gradient(#ffffff 0 50%, #dc143c 50% 100%); }
.flag--ro { background: linear-gradient(90deg, #002b7f 0 33%, #fcd116 33% 66%, #ce1126 66% 100%); }
.flag--ba { background: linear-gradient(#002f6c 0 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

[data-js="refresh"].is-refreshing { opacity: .4; transition: opacity .18s var(--ease); }

/* ---------- 1. Hero (home) ---------- */
.hero-home { position: relative; padding-top: 12px; }
.hero-home__container { position: relative; }
.hero-home__wrap { position: relative; }

.hero-slides {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 4px;
  cursor: grab;
}
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slides > li { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; }
.hero-slides.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.hero-slide {
  position: relative;
  aspect-ratio: 400 / 178;
  min-height: 170px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(90, 255, 243, .1) 0%, rgba(0, 25, 29, .95) 50%, rgba(90, 255, 243, .06) 100%),
    var(--color-surface);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.hero-slide:hover{
  transform: translateY(-4px);
  border-color: rgba(90, 255, 243, .35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(90, 255, 243, .18);
}}
.hero-slide__link {
  position: absolute;
  inset: 0;
  display: block;
  isolation: isolate;
  z-index: 2;
}
.hero-slide__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 25, 29, .88) 0%, rgba(0, 25, 29, .46) 48%, rgba(0, 25, 29, 0) 100%);
  pointer-events: none;
}
.hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 4px 4px 0 30%;
  pointer-events: none;
}
.hero-slide__media img,
.hero-slide__media video {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .55));
}
.hero-slide__body {
  position: absolute;
  left: 16px;
  right: auto;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 62%;
}
.hero-slide__tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero-slide__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.hero-slide__text {
  font-size: 12.5px;
  line-height: 1.38;
  color: rgba(255, 255, 255, .78);
}
.hero-slide__pin {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  margin-top: 2px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #00191d;
  font-size: 12.5px;
  font-weight: 700;
}
.hero-slide__pin [data-icon] { font-size: 14px; }

.hero-home__edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.hero-home__edge--prev { left: -6px; }
.hero-home__edge--next { right: -6px; }
.hero-home.is-static .hero-home__edge { display: none; }

.hero-home__all {
  position: absolute;
  right: 10px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(90, 255, 243, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  z-index: 3;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .2s var(--ease);
}@media (hover:hover){.hero-home__all:hover{ background: rgba(255, 255, 255, .14); border-color: var(--teal); transform: translateY(-2px); }}
.hero-home__all [data-icon] { font-size: 14px; color: var(--teal); }

/* ---------- 2. Floating pills ---------- */
.float-pills {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  transition: opacity .2s var(--ease);
}
.float-pills.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- 3. Mobile first screen ---------- */
.hero-mob { display: none; }

/* ---------- 4. Period row ---------- */
.period-sec { padding-top: 14px; }
.period { display: flex; align-items: center; gap: 10px; }
.period__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, .75);
  white-space: nowrap;
}
.period__label [data-icon] { font-size: 15px; }
.period__chips {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.period__chips::-webkit-scrollbar { display: none; }
.period__chips > li { flex: 0 0 auto; scroll-snap-align: start; }
.period__select {
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  cursor: pointer;
  transition: border-color .15s var(--ease);
}@media (hover:hover){.period__select:hover{ border-color: var(--teal-line); }}
.period__nav { display: flex; gap: 6px; margin-left: auto; }

/* ---------- 5. Wins row ---------- */
.wins-row { padding-block: 8px 16px; }
.wins-track { padding-bottom: 6px; }
.wins-track > li { flex: 0 0 214px; }
.win-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--color-surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.win-card:hover{
  border-color: rgba(90, 255, 243, .35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}}
.win-card__cover {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-surface-2);
}
.win-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.win-card__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-size: 9px;
}
.win-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.win-card__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-card__meta {
  font-size: 11px;
  line-height: 1.25;
  color: rgba(90, 255, 243, .78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 6. Promo grid + cashback ---------- */
.promo-grid { padding-block: 16px; }
.promo-grid__filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}
.promo-grid__filters::-webkit-scrollbar { display: none; }

.promo-grid__layout {
  display: grid;
  grid-template-columns: minmax(0, 352fr) minmax(0, 543fr);
  gap: 12px;
  align-items: start;
}
.promo-grid__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transition: opacity .18s var(--ease);
}
.promo-grid__list.is-refreshing { opacity: .35; }

.promo-card {
  position: relative;
  min-height: 172px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--grad-panel), var(--color-surface);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.promo-card:hover{
  transform: translateY(-4px);
  border-color: rgba(90, 255, 243, .35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(90, 255, 243, .18);
}}
.promo-card__link { position: absolute; inset: 0; display: block; }
.promo-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}@media (hover:hover){.promo-card:hover .promo-card__art{ transform: scale(1.04); }}
.promo-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 25, 29, .12) 0%, rgba(0, 25, 29, .82) 62%, rgba(0, 25, 29, .96) 100%);
}
.promo-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 172px;
  padding: 14px;
  justify-content: flex-end;
}
.promo-card__kind {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}
.promo-card__title {
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 24.304px;
  color: #fff;
}
.promo-card__cond { font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .74); }
.promo-card__note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .45);
}
.promo-card__note [data-icon] { font-size: 11px; }

.promo-cash {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--grad-panel), radial-gradient(120% 90% at 100% 100%, rgba(90, 255, 243, .14) 0%, rgba(0, 25, 29, 0) 62%), var(--color-surface);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.promo-cash:hover{ transform: translateY(-4px); border-color: rgba(90, 255, 243, .35); box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }}
.promo-cash__art {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 62%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6));
  pointer-events: none;
}
.promo-cash__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 62%;
}
.promo-cash__kind {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
.promo-cash__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}
.promo-cash__text { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.promo-cash__body .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- 7. Sports line ---------- */
.sports-line { padding-block: 16px; }
.sports-line__modes { display: flex; align-items: center; gap: 8px; }
.sports-line__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
  padding-bottom: 2px;
}
.sports-line__chips::-webkit-scrollbar { display: none; }

.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.match {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--color-surface);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.match:hover{ border-color: rgba(90, 255, 243, .28); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }}
.match__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}
.match__time { font-weight: 600; color: #fff; white-space: nowrap; }
.match__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 20px;
  border-radius: 999px;
  background: rgba(238, 35, 35, .14);
  border: 1px solid rgba(238, 35, 35, .35);
  color: #ffb4b4;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.match__live .pill__dot { width: 6px; height: 6px; }
.match__league {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, .62);
}
.match__league [data-icon] { font-size: 13px; color: var(--teal); }
.match__marks { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: rgba(255, 255, 255, .4); font-size: 14px; }
.match__marks [data-icon] { font-size: 14px; }
.match__team { display: flex; align-items: center; gap: 8px; }
.match__name { font-size: 14.4px; font-weight: 600; color: #fff; }
.match__market {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}
.match__outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.outcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 42px;
  padding: 0 6px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}@media (hover:hover){.outcome:hover{ background: rgba(90, 255, 243, .1); border-color: rgba(90, 255, 243, .45); color: #fff; }}
.outcome.is-flash { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.outcome__label {
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sports-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px dashed var(--hairline-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}
.sports-line__more { display: flex; justify-content: center; margin-top: 12px; }
.sports-line__more .spinner { display: none; margin-left: 8px; }
.sports-line__more .btn.is-loading .spinner { display: inline-block; }

/* ---------- 8. Section tabs strip ---------- */
.tabs-strip { padding-block: 10px; }
.tabs-strip__inner { position: relative; display: flex; align-items: center; gap: 8px; }
.tabs-strip__track {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.tabs-strip__track::-webkit-scrollbar { display: none; }
.tabs-strip__track > li { flex: 0 0 auto; }
.tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.tab-pill [data-icon] { font-size: 15px; color: currentColor; }@media (hover:hover){.tab-pill:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.tab-pill.is-active {
  background: rgba(90, 255, 243, .12);
  border-color: rgba(90, 255, 243, .4);
  color: var(--teal);
}
.tabs-strip__edge { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.tabs-strip__edge--prev { left: -6px; }
.tabs-strip__edge--next { right: -6px; }
.tabs-strip__inner::before,
.tabs-strip__inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34px;
  pointer-events: none;
  z-index: 1;
}
.tabs-strip__inner::before { left: 0; background: linear-gradient(90deg, var(--color-bg) 0%, rgba(0, 25, 29, 0) 100%); }
.tabs-strip__inner::after { right: 0; background: linear-gradient(270deg, var(--color-bg) 0%, rgba(0, 25, 29, 0) 100%); }

/* ---------- 9. Recent table ---------- */
.recent { padding-block: 20px; }
.recent .container,
.recent .container--narrow,
.recent > .container { max-width: var(--container, 1280px); width: 100%; }
.recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.recent__tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.recent__head .recent__tabs { margin-bottom: 0; }
.recent__tab {
  height: 36px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}@media (hover:hover){.recent__tab:hover{ color: #fff; background: rgba(255, 255, 255, .06); }}
.recent__tab[aria-selected="true"] {
  background: var(--color-primary);
  color: #fff;
  box-shadow: inset 0 -2px 0 0 var(--teal);
}
.recent__panel { position: relative; }
.recent__scroll { width: 100%; overflow-x: auto; }
.recent__table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.recent__table th {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(90, 255, 243, .18);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--teal);
  white-space: nowrap;
}
.recent__table th + th,
.recent__table td + td { border-left: 1px solid rgba(90, 255, 243, .12); }
.recent__table td {
  height: 42px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 13.5px;
  line-height: 21.328px;
  color: rgba(255, 255, 255, .82);
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.recent__row:nth-child(even) { background: rgba(255, 255, 255, .02); }
.recent__cell { padding: 8px 12px; }
.recent__row { transition: background .15s var(--ease); }@media (hover:hover){.recent__row:hover{ background: rgba(255, 255, 255, .03); }}
.recent__cell--game {
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 3px 0 0 0 rgba(90, 255, 243, .35);
  font-weight: 600;
  color: #fff;
}
.recent__thumb {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-surface-2);
}
.recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.status--done { background: rgba(90, 255, 243, .12); color: var(--teal); }
.status--wait { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); }
.status--void { background: rgba(255, 149, 21, .14); color: var(--color-accent); }

[data-js="recent-panel"].is-in tbody tr { animation: fadeIn .18s ease both; }
[data-js="recent-panel"].is-in tbody tr:nth-child(1) { animation-delay: 0ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(2) { animation-delay: 20ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(3) { animation-delay: 40ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(4) { animation-delay: 60ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(5) { animation-delay: 80ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(6) { animation-delay: 100ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(7) { animation-delay: 120ms; }
[data-js="recent-panel"].is-in tbody tr:nth-child(8) { animation-delay: 140ms; }

/* ---------- 10. Games cards (rows + grid) ---------- */
.games-row { padding-block: 14px; }
.games-grid { padding-block: 20px; }

.sub-games { margin: 0; padding: 0; list-style: none; }
.sub-games--row { padding-bottom: 6px; }
.sub-games--row > .sub-game { flex: 0 0 var(--game-w, 176px); }
.sub-games--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px 12px;
}
.sub-game {
  position: relative;
  display: block;
  min-width: 0;
}
.sub-game__media {
  position: relative;
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.sub-game:hover .sub-game__media{
  transform: translateY(-4px);
  border-color: rgba(90, 255, 243, .35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(90, 255, 243, .18);
}}
.sub-game__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 176 / 246;
  object-fit: cover;
  transition: transform .35s var(--ease);
}@media (hover:hover){.sub-game:hover .sub-game__media img{ transform: scale(1.04); }}
.sub-game__body { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; min-width: 0; }
.sub-game__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .16s var(--ease);
}@media (hover:hover){.sub-game__name:hover{ color: var(--teal); }}
.sub-game__meta {
  position: static;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(90, 255, 243, .1);
  border: 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--teal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* ---------- 11. Catalog extras (search / chips / pager) ---------- */
.sub-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
  padding-bottom: 2px;
}
.sub-chips::-webkit-scrollbar { display: none; }
.sub-chips > li { flex: 0 0 auto; }

.sub-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 320px;
  margin-bottom: 14px;
}
.sub-search__ico {
  position: absolute;
  left: 12px;
  display: inline-flex;
  color: var(--teal);
  font-size: 16px;
  pointer-events: none;
}
.sub-search__input {
  width: 100%;
  height: 40px;
  padding: 0 36px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: var(--color-surface);
  font-size: 13.5px;
  color: #fff;
  transition: border-color .15s var(--ease);
}
.sub-search__input::placeholder { color: rgba(255, 255, 255, .45); }
.sub-search__input:focus { outline: none; border-color: rgba(90, 255, 243, .45); }
.sub-search__clear {
  position: absolute;
  right: 8px;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}@media (hover:hover){.sub-search__clear:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.sub-search.has-value .sub-search__clear { display: grid; }

.sub-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px dashed var(--hairline-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

.sub-pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.sub-pager a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}@media (hover:hover){.sub-pager a:hover{ background: rgba(255, 255, 255, .1); color: #fff; }}
.sub-pager a[aria-current] { background: var(--teal-soft); border-color: var(--teal-line); color: var(--teal); }
.sub-pager a [data-icon] { font-size: 14px; }
.sub-pager__next {
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.sub-pager__next [data-icon] { font-size: 14px; color: var(--teal); }@media (hover:hover){.sub-pager__next:hover{ border-color: var(--teal-line); }}

/* ---------- 12. Responsive ---------- */
@media (min-width: 1024px) {
  .sub-games--row { --game-w: calc((100% - 60px) / 6.4); min-width: 140px; }
}

@media (max-width: 1023px) {
  .hero-slides > li { flex: 0 0 calc((100% - 12px) / 2); }
  .hero-home__all { right: 8px; }
  .promo-grid__layout { grid-template-columns: minmax(0, 1fr); }
  .promo-cash { min-height: 260px; }
  .sub-games--row { --game-w: calc((100% - 36px) / 4.3); min-width: 130px; }}

@media (max-width: 900px) {
  .sports-grid { grid-template-columns: minmax(0, 1fr); }}

@media (max-width: 767px) {
  .hero-slides { display: none; }
  .hero-home__all { display: none; }
  .hero-home__edge { display: none; }
  .hero-home { padding-top: 8px; }
  .float-pills { display: none; }

  .hero-mob {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: var(--grad-panel), radial-gradient(120% 80% at 50% 0%, rgba(90, 255, 243, .16) 0%, rgba(0, 25, 29, 0) 62%), var(--color-surface);
  }
  .hero-mob__stage { display: grid; place-items: center; min-height: 150px; }
  .hero-mob__art { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6)); }
  .hero-mob__title { margin-bottom: 0; }
  .hero-mob__cards { position: relative; }
  .hero-mob__cards::after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    bottom: 0;
    width: 26px;
    background: linear-gradient(270deg, var(--color-surface) 0%, rgba(0, 25, 29, 0) 100%);
    pointer-events: none;
  }
  .hero-mob__track { padding-bottom: 2px; }
  .hero-mob__track > li { flex: 0 0 152px; }

  .mini-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: var(--color-surface);
  }
  .mini-card__num {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
  }
  .mini-card__cover { display: block; border-radius: 8px; overflow: hidden; background: var(--color-surface-2); }
  .mini-card__cover img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
  .mini-card__name {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mini-card__btn { height: 28px; font-size: 12px; line-height: 18px; padding: 0 10px; }

  .marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 20s linear infinite; }.marquee.is-paused .marquee__track{ animation-play-state: paused; }@media (hover:hover){.marquee:hover .marquee__track{ animation-play-state: paused; }}
  .marquee__item {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(90, 255, 243, .5);
    background: var(--color-surface-2);
  }
  .marquee__item img { width: 100%; height: 100%; object-fit: cover; }

  .period { flex-wrap: wrap; row-gap: 8px; }
  .period__chips { order: 3; width: 100%; }
  .period__nav { margin-left: auto; }

  .wins-track > li { flex: 0 0 196px; }
  .promo-grid__list { grid-template-columns: minmax(0, 1fr); }
  .promo-card { min-height: 148px; }
  .promo-card__body { min-height: 148px; }
  .promo-cash { min-height: 240px; padding: 16px; }
  .promo-cash__art { width: 54%; right: -6%; }
  .promo-cash__body { max-width: 68%; }
  .promo-cash__title { font-size: 19px; }

  .sec-head { flex-wrap: wrap; row-gap: 8px; }
  .sec-head__nav { margin-left: auto; }
  .sports-line__modes { order: 3; width: 100%; }

  .tabs-strip__edge { display: none; }
  .recent__table { min-width: 0; }
  .col-status { display: none; }
  .recent__table th, .recent__table td { padding: 8px 10px; height: 40px; }

  .sub-games--row { --game-w: 142px; min-width: 0; }
  .sub-games--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub-search { max-width: none; }}

@media (max-width: 390px) {
  .hero-mob__art { width: 120px; height: 120px; }
  .hero-mob__track > li { flex: 0 0 138px; }
  .wins-track > li { flex: 0 0 180px; }
  .promo-card, .promo-card__body { min-height: 136px; padding: 12px; }
  .recent__tabs { gap: 6px; }
  .recent__tab { padding: 0 12px; font-size: 13px; }}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .pill__dot { animation: none; }
  .carousel-track, .hero-slides, .period__chips, .tabs-strip__track { scroll-behavior: auto; }}
/* ==========================================================================
   Content blocks — inner page templates
   page-header, text, features, steps, faq, cta, contacts, legal-text,
   posts, related, summary, game-hero
   Palette / fonts come from tokens (--color-*, --font-*)
   ========================================================================== */

/* ---------- 0. Shared ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.section__ico { font-size: 16px; color: var(--teal); }
.section__lead { margin: -4px 0 12px; max-width: 620px; font-size: 13.5px; line-height: 1.55; }

.section--alt {
  background: linear-gradient(180deg, rgba(15, 36, 37, .55) 0%, rgba(15, 36, 37, 0) 100%);
}

/* Reveal on scroll (armed by script.content.js) */
html.js-reveal [data-js="reveal"].is-armed > * {
  opacity: 0;
  transform: translateY(12px);
}
html.js-reveal [data-js="reveal"].is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---------- 1. Breadcrumbs ---------- */
.crumbs { margin-bottom: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .55);
}
.crumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .3);
}
.crumbs a { transition: color .15s var(--ease); }@media (hover:hover){.crumbs a:hover{ color: var(--teal); }}

/* ---------- 2. Page header ---------- */
.page-header { padding-top: 16px; }
.page-header__panel {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--grad-panel);
}
.page-header__main { flex: 1 1 auto; min-width: 0; }
.page-header__eyebrow { margin-bottom: 8px; }
.page-header__panel h1 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1px;
  color: #fff;
}
.page-header__lead {
  max-width: 520px;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.page-header__actions { margin-top: 14px; }

.page-header__stats {
  flex: 0 0 auto;
  display: flex;
  border: 1px solid var(--teal-line);
  border-radius: 10px;
  background: rgba(15, 36, 37, .6);
  overflow: hidden;
}
.page-stat {
  min-width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  text-align: center;
}
.page-stat + .page-stat { border-left: 1px solid var(--hairline); }
.page-stat__num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--teal);
}
.page-stat__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(90, 255, 243, .7);
}

.page-header__media { flex: 0 0 240px; }
.page-header__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

/* ---------- 3. Text (SEO / legal content) ---------- */
.section--text { padding-block: 22px; }
.text-sec__title {
  font-family: var(--font-heading);
  font-size: 19.2px;
  font-weight: 700;
  line-height: 29.76px;
  letter-spacing: .1px;
  color: #fff;
}
.text-sec__body { margin-top: 12px; color: rgba(255, 255, 255, .75); }
.text-sec__body h2 { font-size: 17.28px; font-weight: 700; line-height: 26.784px; color: #fff; }
.text-sec__body h3 { font-size: 15.68px; font-weight: 600; line-height: 24.304px; color: #fff; }
.text-sec__body ul, .text-sec__body ol { margin-top: 10px; }
.text-sec__body li + li { margin-top: 6px; }
.text-sec__body table { min-width: 520px; }
.text-sec__body thead th { background: rgba(90, 255, 243, .06); }
.text-sec__body tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .025); }@media (hover:hover){.text-sec__body tbody tr:hover{ background: rgba(90, 255, 243, .05); }}

/* ---------- 4. Features (category cards) ---------- */
.features-sec .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.features-sec .card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  background: var(--color-surface);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.features-sec .card:hover{
  background: rgba(255, 255, 255, .05);
  border-color: var(--teal-line);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(90, 255, 243, .1);
  color: var(--teal);
  font-size: 20px;
}
.card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.features-sec .card h3 {
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 24.304px;
  color: #fff;
}
.features-sec .card p {
  font-size: 13px;
  line-height: 21.328px;
  color: rgba(255, 255, 255, .6);
  overflow-wrap: anywhere;
}
.card__chev {
  display: inline-flex;
  justify-content: flex-end;
  font-size: 16px;
  color: rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), color .25s var(--ease);
}@media (hover:hover){.features-sec .card:hover .card__chev{ transform: translateX(3px); color: var(--teal); }}

/* ---------- 5. Steps ---------- */
.steps-sec .steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.steps-sec .steps > li {
  position: relative;
  counter-increment: step;
  padding: 18px 16px 16px 62px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--color-surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.steps-sec .steps > li:hover{
  border-color: var(--teal-line);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}}
.steps-sec .steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(90, 255, 243, .1);
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.steps-sec .steps h3 {
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 24.304px;
  color: #fff;
}
.steps-sec .steps p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 21.328px;
  color: rgba(255, 255, 255, .62);
  overflow-wrap: anywhere;
}

/* ---------- 6. FAQ ---------- */
.faq-sec .faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: visible;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}@media (hover:hover){.faq__item:hover{ border-color: var(--teal-line); }}
.faq__item[open] { border-color: var(--teal-line); background: rgba(15, 36, 37, .92); }
.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 52px 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 24.304px;
  color: #fff;
  overflow-wrap: anywhere;
  transition: color .15s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }@media (hover:hover){.faq__item summary:hover{ color: var(--teal); }}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid rgba(255, 255, 255, .55);
  border-bottom: 2px solid rgba(255, 255, 255, .55);
  transform: rotate(45deg);
  transition: transform .25s var(--ease), border-color .25s var(--ease), margin-top .25s var(--ease);
}
.faq__item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
  border-color: var(--teal);
}
.faq__a {
  max-height: none;
  padding: 0 18px 16px;
  font-size: 13.76px;
  line-height: 21.328px;
  color: rgba(255, 255, 255, .72);
  overflow: visible;
  overflow-wrap: anywhere;
}
.faq__a p,
.faq__a li {
  max-height: none;
  overflow: visible;
  line-height: 21.328px;
  -webkit-line-clamp: unset;
  display: block;
}
.faq__a > * + * { margin-top: 10px; }
.faq__a ul, .faq__a ol { padding-left: 20px; }
.faq__a ul { list-style: disc; }
.faq__a ol { list-style: decimal; }

/* ---------- 7. CTA panel ---------- */
.cta-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--grad-scrim), var(--color-surface);
}
.cta-box__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(90, 255, 243, .12);
  color: var(--teal);
  font-size: 22px;
}
.cta-box__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 24.304px;
  color: #fff;
}
.cta-box p { font-size: 13px; line-height: 21.328px; color: rgba(255, 255, 255, .7); }
.cta-box__btn { flex: 0 0 auto; margin-left: auto; height: 40px; padding: 0 20px; }

/* ---------- 8. Contacts ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--color-surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .18s var(--ease);
}@media (hover:hover){.contact-item:hover{
  border-color: var(--teal-line);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}}
.contact-item__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(90, 255, 243, .1);
  color: var(--teal);
  font-size: 18px;
}
.contact-item__body { min-width: 0; }
.contact-item__label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(90, 255, 243, .75);
}
.contact-item__value {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14.4px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  overflow-wrap: anywhere;
  transition: color .15s var(--ease);
}a.contact-item__value:focus-visible{ color: var(--teal); }@media (hover:hover){a.contact-item__value:hover{ color: var(--teal); }}
.contact-item__value--text { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .8); }

/* ---------- 9. Legal text ---------- */
.legal-sec { padding-block: 20px 24px; }
.legal-sec .legal-sec__body {
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(15, 36, 37, .45);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
  overflow-wrap: anywhere;
}
.legal-sec .legal-sec__body strong { color: rgba(255, 255, 255, .85); }
.legal-sec .legal-sec__body h2 { font-size: 14.4px; line-height: 22.32px; color: #fff; }
.legal-sec .legal-sec__body h3 { font-size: 13.5px; line-height: 21.328px; color: #fff; }

/* ---------- 10. Posts / related ---------- */
.sub-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.sub-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--color-surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .18s var(--ease);
}
.sub-post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
  opacity: .75;
}@media (hover:hover){.sub-post:hover{
  border-color: var(--teal-line);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}}
.sub-post__link {
  font-family: var(--font-heading);
  font-size: 15.68px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  transition: color .15s var(--ease);
}
.sub-post__link::after { content: ""; position: absolute; inset: 0; }@media (hover:hover){.sub-post:hover .sub-post__link{ color: var(--teal); }}
.sub-post__text {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sub-post__date {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(90, 255, 243, .7);
}

/* ---------- 11. Summary ---------- */
.sub-summary {
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--grad-panel);
}
.sub-summary__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}
.sub-summary ul { display: grid; gap: 10px; margin-top: 14px; }
.sub-summary li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}
.sub-summary li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- 12. Game hero ---------- */
.sub-ghero { padding-top: 16px; }
.sub-ghero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--grad-panel);
}
.sub-player {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-2);
}
.sub-player img { width: 100%; height: 100%; object-fit: cover; }
.sub-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 25, 29, 0) 40%, rgba(0, 25, 29, .55) 100%);
  pointer-events: none;
}
.sub-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #00191d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.sub-player__play [data-icon] { font-size: 24px; }@media (hover:hover){.sub-player__play:hover{ transform: translate(-50%, -50%) scale(1.06); background: #fff; }}

.sub-ghero__info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sub-ghero__info h1 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1px;
  color: #fff;
}
.sub-ghero .page-header__lead { max-width: none; margin-top: 0; }
.sub-note { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .5); }

.sub-specs { margin-top: 6px; border-top: 1px solid var(--hairline); }
.sub-specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
}
.sub-specs dt {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(90, 255, 243, .75);
}
.sub-specs dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-align: right;
}

/* ---------- 13. Toast ---------- */
.sub-toast-wrap {
  position: fixed;
  top: calc(var(--notice-h, 32px) + var(--bar-h, 52px) + 12px);
  right: 20px;
  z-index: 220;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.sub-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid var(--teal-line);
  border-radius: 10px;
  background: var(--color-surface);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  animation: nsToastIn .18s ease-out;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.sub-toast.is-out { opacity: 0; transform: translateY(-6px); }
@keyframes nsToastIn {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1023px) {
  .page-header__media { flex-basis: 200px; }
  .features-sec .cards,
  .steps-sec .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .page-header__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 16px;
  }
  .page-header__panel h1 { font-size: 19.2px; }
  .page-header__stats { width: 100%; }
  .page-stat { flex: 1 1 0; min-width: 0; }
  .page-header__media { flex: 1 1 auto; }

  .features-sec .cards,
  .steps-sec .steps,
  .sub-posts,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .cta-box { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-box__btn { width: 100%; margin-left: 0; }

  .sub-ghero__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .sub-player { aspect-ratio: 16 / 9; }

  .sub-toast-wrap { left: 16px; right: 16px; top: auto; bottom: calc(74px + env(safe-area-inset-bottom)); }
  .sub-toast { max-width: none; }}

@media (max-width: 390px) {
  .page-header { padding-top: 12px; }
  .page-header__panel { padding: 14px 14px 16px; border-radius: 10px; }
  .page-header__panel h1 { font-size: 16.8px; }
  .page-stat { padding: 10px 12px; }

  .features-sec .card { padding: 12px; gap: 12px; grid-template-columns: 38px minmax(0, 1fr) 16px; }
  .card__icon { width: 38px; height: 38px; font-size: 18px; }

  .steps-sec .steps > li { padding: 14px 12px 14px 56px; }
  .steps-sec .steps > li::before { left: 12px; top: 14px; width: 28px; height: 28px; }

  .faq__item summary { padding: 14px 44px 14px 14px; font-size: 15.04px; line-height: 23.312px; }
  .faq__a { padding: 0 14px 14px; }

  .cta-box { padding: 16px; }
  .sub-post { padding: 14px 14px 14px 18px; }
  .sub-summary { padding: 16px; }
  .sub-ghero__grid { padding: 14px; }
  .sub-ghero__info h1 { font-size: 16.8px; }
  .sub-player__play { width: 54px; height: 54px; }}
/* ==========================================================================
   Blog — article list, cards, related rail, summary panel, article body,
   plus the system pieces the builder drops in: .sub-meta, .sub-toc, empty state
   Built on the site tokens (--color-*, --font-*) and core helpers
   (--teal, --hairline, --grad-panel, --shadow-card, --shadow-hover, --ease).
   ========================================================================== */

/* ---------- 0. Helpers ---------------------------------------------------- */
.sub-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 1. Article list (section.posts) ------------------------------- */
.sub-blog { padding-block: 24px 32px; }

.sub-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sub-post {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card, 0 2px 6px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .2));
  transition: border-color .3s var(--ease, cubic-bezier(.4, 0, .2, 1)),
              transform .35s var(--ease, cubic-bezier(.4, 0, .2, 1)),
              box-shadow .18s var(--ease, cubic-bezier(.4, 0, .2, 1));
}

/* cover */
.sub-post__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.sub-post__media:not(:has(img)) { display: none; }

.sub-post__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  transition: transform .45s var(--ease, cubic-bezier(.4, 0, .2, 1));
}
.sub-post__img:not([src]),
.sub-post__img[src=""] { display: none; }

/* text block */
.sub-post__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.sub-post__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(90, 255, 243, .12);
  color: var(--teal, #5afff3);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sub-post__tag:empty { display: none; }

.sub-post .sub-post__link {
  font-family: var(--font-heading);
  font-size: 16.8px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  transition: color .18s ease;
}
/* whole card is clickable */
.sub-post .sub-post__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.sub-post .sub-post__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
}

.sub-post .sub-post__date {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .5);
  font-variant-numeric: tabular-nums;
}
.sub-post .sub-post__date > [data-icon] { font-size: 13px; color: rgba(90, 255, 243, .6); }
.sub-post .sub-post__date [data-slot="date"]:empty,
.sub-post .sub-post__date [data-slot="read"]:empty { display: none; }
.sub-post .sub-post__date [data-slot="read"] { display: inline-flex; align-items: center; }
.sub-post .sub-post__date [data-slot="read"]::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
}

.sub-post:focus-within { border-color: rgba(90, 255, 243, .35); }
.sub-post .sub-post__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .sub-post:hover {
    transform: translateY(-4px);
    border-color: rgba(90, 255, 243, .35);
    box-shadow: var(--shadow-hover, 0 8px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(90, 255, 243, .18));
  }
  .sub-post:hover .sub-post__img { transform: scale(1.04); }
  .sub-post:hover .sub-post__link { color: var(--teal, #5afff3); }}

/* ---------- 1b. The lead (first) card — bigger than the rest -------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child {
    grid-column: span 2;
    background-image: var(--grad-panel, linear-gradient(135deg, rgba(90, 255, 243, .1) 0%, rgba(0, 25, 29, .95) 50%, rgba(90, 255, 243, .06) 100%));
  }
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child .sub-post__link { font-size: 21px; line-height: 1.3; }
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child .sub-post__text { font-size: 14.4px; -webkit-line-clamp: 4; line-clamp: 4; }

  /* horizontal split only when the cover really exists */
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child:has(.sub-post__img[src]:not([src=""])) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    align-items: stretch;
  }
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child:has(.sub-post__img[src]:not([src=""])) .sub-post__media {
    height: 100%;
    border-radius: 12px 0 0 12px;
  }
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child:has(.sub-post__img[src]:not([src=""])) .sub-post__img {
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .sub-posts:not(.sub-posts--compact) > .sub-post:first-child:has(.sub-post__img[src]:not([src=""])) .sub-post__body {
    justify-content: center;
    padding: 22px 24px;
  }}

/* ---------- 2. Related rail (section.related) ----------------------------- */
.sub-related .section__head { align-items: center; margin-bottom: 14px; }

.sub-head-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--teal, #5afff3);
}

.sub-railnav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.sub-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .sub-arrow:hover {
    background: rgba(90, 255, 243, .12);
    border-color: rgba(90, 255, 243, .45);
    color: var(--teal, #5afff3);
  }}
.sub-arrow:disabled { opacity: .3; pointer-events: none; }

.sub-posts--compact {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--ns-card-w, calc((100% - 48px) / 4));
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sub-posts--compact::-webkit-scrollbar { display: none; }
.sub-posts--compact > .sub-post { scroll-snap-align: start; }
.sub-posts--compact .sub-post { gap: 8px; padding: 12px; }
.sub-posts--compact .sub-post__tag { height: 20px; font-size: 9.5px; }
.sub-posts--compact .sub-post__link { font-size: 14.4px; }
.sub-posts--compact .sub-post__text { font-size: 12.5px; -webkit-line-clamp: 2; line-clamp: 2; }

@media (max-width: 1199px) { .sub-posts--compact { --ns-card-w: calc((100% - 32px) / 3); }}
@media (max-width: 899px)  { .sub-posts--compact { --ns-card-w: calc((100% - 16px) / 2); }}
@media (max-width: 559px)  { .sub-posts--compact { --ns-card-w: 82%; }}

.sub-posts__more { margin-top: 16px; }
.sub-posts__more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .sub-posts__more a:hover {
    background: rgba(90, 255, 243, .12);
    border-color: rgba(90, 255, 243, .45);
    color: var(--teal, #5afff3);
  }}

/* ---------- 3. Summary panel (section.summary) ---------------------------- */
.sub-summary-sec { padding-block: 22px; }

.sub-summary {
  padding: 20px 22px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 12px;
  background: var(--color-surface);
  background-image: var(--grad-panel, linear-gradient(135deg, rgba(90, 255, 243, .1) 0%, rgba(0, 25, 29, .95) 50%, rgba(90, 255, 243, .06) 100%));
  box-shadow: var(--shadow-card, 0 2px 6px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .2));
}

.sub-summary__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sub-summary__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(90, 255, 243, .12);
  color: var(--teal, #5afff3);
  font-size: 15px;
}

.sub-summary__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal, #5afff3);
}

.sub-summary__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.sub-summary__list > li {
  display: flex;
  gap: 10px;
  min-width: 0;
  font-size: 14.4px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}
.sub-summary__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(90, 255, 243, .16);
  color: var(--teal, #5afff3);
  font-size: 11px;
}

@media (max-width: 767px) {
  .sub-summary { padding: 16px; }
  .sub-summary__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sub-summary__list > li { font-size: 15px; }}

/* ---------- 4. Article body (section[data-role="article-text"]) ----------- */
.sub-article { padding-block: 8px 32px; }

.sub-article__col {
  max-width: 740px;
  margin-inline: auto;
}

.sub-article__col > h2 {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: #fff;
}

.sub-article .prose {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
.sub-article .prose > * + * { margin-top: 18px; }
.sub-article .prose p,
.sub-article .prose li { max-width: 74ch; }

.sub-article .prose h2 {
  margin-top: 34px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.sub-article .prose h3 {
  margin-top: 26px;
  font-size: 18.7px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.sub-article .prose h4 {
  margin-top: 22px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.sub-article .prose h2 + *,
.sub-article .prose h3 + *,
.sub-article .prose h4 + * { margin-top: 12px; }

.sub-article .prose ul,
.sub-article .prose ol { padding-left: 24px; }
.sub-article .prose ul { list-style: disc; }
.sub-article .prose ol { list-style: decimal; }
.sub-article .prose li { margin-top: 8px; }
.sub-article .prose li::marker { color: var(--teal, #5afff3); }

.sub-article .prose strong { color: #fff; font-weight: 700; }

.sub-article .prose a {
  color: var(--teal, #5afff3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .sub-article .prose a:hover { text-decoration-thickness: 2px; }}

.sub-article .prose blockquote {
  padding: 16px 20px;
  border-left: 2px solid var(--teal, #5afff3);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(90, 255, 243, .1) 0%, rgba(0, 0, 0, 0) 100%);
  color: rgba(255, 255, 255, .88);
  font-size: 16.5px;
}

.sub-article .prose figure { margin: 0; }
.sub-article .prose figure > * + * { margin-top: 8px; }
.sub-article .prose img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.sub-article .prose figcaption {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}

.sub-article .prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  font-size: .9em;
}
.sub-article .prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}
.sub-article .prose pre code { padding: 0; background: none; }

.sub-article .prose .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 12px;
}
.sub-article .prose table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14.4px;
  font-variant-numeric: tabular-nums;
}
.sub-article .prose th,
.sub-article .prose td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hairline, rgba(255, 255, 255, .07));
}
.sub-article .prose th {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal, #5afff3);
}
.sub-article .prose tr:last-child td { border-bottom: 0; }

.sub-article .prose hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--hairline, rgba(255, 255, 255, .07));
}

/* anchor targets of the table of contents */
.sub-article .prose :is(h2, h3, h4)[id],
.sub-article__col :is(h2, h3, h4)[id] { scroll-margin-top: 84px; }

/* ---------- 5. Article meta line (.sub-meta) ------------------------------- */
.sub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
  font-variant-numeric: tabular-nums;
}
.sub-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sub-meta > * + *::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(90, 255, 243, .7);
}

/* article page header — the block that is followed by .sub-meta */
:is(header, div, section):has(> h1):has(+ .sub-meta) {
  padding-bottom: 6px;
}
:is(header, div, section):has(> h1):has(+ .sub-meta) h1 {
  font-size: clamp(23px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: #fff;
}
:is(header, div, section):has(> h1):has(+ .sub-meta) p {
  max-width: 62ch;
  margin-top: 8px;
  font-size: 14.4px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

/* ---------- 6. Table of contents (.sub-toc-sec) ---------------------------- */
.sub-toc-sec { padding-block: 20px; }

.sub-toc {
  padding: 18px 20px;
  border: 1px solid var(--hairline, rgba(255, 255, 255, .07));
  border-radius: 12px;
  background: var(--color-surface);
  background-image: linear-gradient(135deg, rgba(90, 255, 243, .06) 0%, rgba(0, 25, 29, 0) 62%);
  box-shadow: var(--shadow-card, 0 2px 6px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .2));
}

.sub-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal, #5afff3);
}

.sub-toc ol {
  counter-reset: ns-toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-toc ol ol {
  counter-reset: none;
  margin-top: 2px;
  padding-left: 14px;
}
.sub-toc li { counter-increment: ns-toc; }

.sub-toc ol li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
  line-height: 1.45;
  transition: background-color .16s var(--ease, cubic-bezier(.4, 0, .2, 1)),
              color .16s var(--ease, cubic-bezier(.4, 0, .2, 1)),
              box-shadow .16s var(--ease, cubic-bezier(.4, 0, .2, 1));
}
.sub-toc ol li a::before {
  content: counter(ns-toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: rgba(90, 255, 243, .55);
  font-variant-numeric: tabular-nums;
}
.sub-toc ol ol li a::before { content: none; }

@media (hover: hover) and (pointer: fine) {
  .sub-toc ol li a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
  }}
.sub-toc ol li a.is-active {
  background: rgba(90, 255, 243, .1);
  color: var(--teal, #5afff3);
  box-shadow: inset 2px 0 0 0 var(--teal, #5afff3);
}
.sub-toc ol li a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

@media (min-width: 1024px) {
  .sub-toc {
    position: sticky;
    top: 72px;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(90, 255, 243, .22) transparent;
  }
  .sub-toc::-webkit-scrollbar { width: 6px; }
  .sub-toc::-webkit-scrollbar-thumb { background: rgba(90, 255, 243, .22); border-radius: 6px; }}

/* ---------- 7. Empty blog state (.sub-blog-empty) -------------------------- */
.sub-blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  border: 1px dashed var(--hairline-strong, rgba(255, 255, 255, .14));
  border-radius: 12px;
  background: var(--color-surface);
  text-align: center;
}
.sub-blog-empty > * + * { margin-top: 0; }
.sub-blog-empty svg,
.sub-blog-empty > [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(90, 255, 243, .1);
  color: var(--teal, #5afff3);
  font-size: 26px;
}
.sub-blog-empty h2,
.sub-blog-empty .sub-blog-empty__title {
  font-family: var(--font-heading);
  font-size: 17.28px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.sub-blog-empty p,
.sub-blog-empty .sub-blog-empty__text {
  max-width: 46ch;
  font-size: 13.76px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
}
.sub-blog-empty a { color: var(--teal, #5afff3); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. Reading progress bar (created by script.blog.js) ----------- */
.sub-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 180;
  background: rgba(255, 255, 255, .07);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sub-progress.is-on { opacity: 1; }
.sub-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(90, 255, 243, .8) 0%, #5afff3 100%);
  box-shadow: 0 0 10px rgba(90, 255, 243, .45);
  transition: width .1s linear;
}

/* ---------- 9. Soft reveal (class added by script.blog.js) ---------------- */
.sub-reveal { opacity: 0; }
.sub-reveal.sub-in { animation: nsRise .5s var(--ease, cubic-bezier(.4, 0, .2, 1)) var(--ns-delay, 0ms) both; }

@keyframes nsRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 10. Responsive ------------------------------------------------ */
@media (max-width: 1023px) {
  .sub-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 767px) {
  .sub-posts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sub-post { padding: 12px; }
  .sub-post .sub-post__link { font-size: 16px; }
  .sub-post .sub-post__text { font-size: 14px; }
  .sub-article .prose { font-size: 16.5px; line-height: 1.65; }
  .sub-article .prose > * + * { margin-top: 16px; }
  .sub-article .prose h2 { font-size: 20px; margin-top: 28px; }
  .sub-article .prose h3 { font-size: 17.5px; margin-top: 22px; }
  .sub-toc { padding: 14px 16px; }
  .sub-toc ol li a { padding: 9px 10px; font-size: 14px; }
  .sub-blog-empty { padding: 36px 18px; }}

@media (prefers-reduced-motion: reduce) {
  .sub-reveal { opacity: 1 !important; animation: none !important; }
  .sub-progress__bar { transition: none; }
  .sub-posts--compact { scroll-behavior: auto; }}
.site-header .topbar__in{gap:10px}.site-header .brand{flex:0 0 auto;min-width:0}.site-header .brand__name{flex:0 0 auto;white-space:nowrap;overflow:visible;text-overflow:clip}.site-header .topnav{flex:0 1 auto;min-width:0}.site-header .topnav__list{flex-wrap:nowrap}.site-header .topnav__list>li:nth-child(n + 3){display:none}.site-header .topnav a{height:36px;padding:0 14px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.04);color:rgba(255,255,255,.85);font-size:14px;font-weight:600;line-height:21px}.site-header .topnav a [data-icon]{color:var(--teal);font-size:15px}@media (hover:hover){.site-header .topnav a:hover{background:rgba(255,255,255,.1);color:#fff}}.site-header .topnav a[aria-current]{background:rgba(90,255,243,.08);border-color:rgba(90,255,243,.35);color:var(--teal);box-shadow:none}.site-header .topbar__actions{flex:0 0 auto;min-width:0}.site-header .topbar__actions .btn{flex:0 0 auto}@media (min-width:1024px){.app-shell{--sidebar-w:96px;--sidebar-w-open:340px;display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);transition:grid-template-columns .32s var(--ease)}.app-shell.is-expanded,.app-shell.sidebar-expanded{--sidebar-w:340px}.rail{grid-column:1;grid-row:1 / -1;position:sticky;top:0;align-self:start;width:100%;min-width:0;max-width:100%;height:100dvh;padding:12px 12px 20px;gap:12px}.app-shell.is-expanded .rail{max-width:360px}.rail .rail__list a{padding:8px 8px}.rail .rail__list a [data-label]{min-width:0}.rail.is-open{padding:16px 28px 24px;gap:16px}.rail.is-open .rail__head{flex-direction:row;align-items:center;gap:12px}.rail.is-open .rail__toggle{width:44px;height:44px;font-size:22px;border-radius:12px}.rail.is-open .rail__brand{font-size:22px;gap:9px}.rail.is-open .rail__brand .sub-mk{width:22px;height:22px;border-radius:6px}.rail.is-open .rail__title{padding:0 12px;margin:0 0 8px}.rail.is-open .rail__list a{min-height:46px;padding:10px 12px;gap:12px;font-size:14px;line-height:21px}.rail.is-open .rail__list a [data-icon]{font-size:20px}.rail.is-open .rail__list a [data-label]{flex:1 1 auto;min-width:0}}@media (min-width:1024px) and (max-width:1279px){.app-shell.is-expanded,.app-shell.sidebar-expanded{--sidebar-w:312px}}.nav-btn{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.06);border:1px solid var(--hairline);color:rgba(255,255,255,.82);font-size:15px;position:relative;z-index:2;transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease),opacity .2s var(--ease),transform .2s var(--ease)}@media (hover:hover){.nav-btn:hover{background:rgba(255,255,255,.1);border-color:var(--hairline-strong);color:#fff}}.nav-btn[disabled],.nav-btn[aria-disabled="true"]{opacity:.4;pointer-events:none}.hero-home__wrap{position:relative}.hero-slide__media video{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width:1024px){.hero-slides{gap:16px}.hero-slides>li{flex:0 0 calc((100% - 32px) / 3)}.hero-slide{min-height:300px;aspect-ratio:4 / 3}.hero-slide__body{left:18px;bottom:18px;gap:6px;max-width:66%}.hero-slide__title{font-size:19.2px;line-height:1.25;font-weight:700}.hero-slide__text{font-size:14.4px;line-height:1.35;color:rgba(255,255,255,.7);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}.hero-home__all{top:50%;bottom:auto;right:14px;height:40px;padding:0 18px;transform:translateY(-50%);background:rgba(0,25,29,.6);border:1px solid rgba(90,255,243,.35);font-size:13px;font-weight:600}@media (hover:hover){.hero-home__all:hover{transform:translateY(-50%);background:rgba(0,25,29,.85);border-color:var(--teal)}}@media (min-width:1024px){.sub-games--row{--game-w:calc((100% - 48px) / 5.6);min-width:148px}}@media (max-width:767px){.site-header .topbar .langs-wrap{display:none}.site-header .topbar__in{gap:8px;min-width:0}.site-header .brand{flex:0 1 auto;min-width:0}.site-header .brand__name{min-width:0;overflow:hidden;text-overflow:ellipsis}.site-header .topbar__actions{flex:0 0 auto;gap:8px}.site-header .topbar__actions .btn{padding:0 12px}html,body{max-width:100%;overflow-x:hidden}.app-shell,.layout__main,.site-footer,.section,.container{max-width:100%}.float-pills{display:none}.drawer{max-width:100vw}.drawer__panel{max-width:100vw}}@media (max-width:767px){.tabbar{display:flex;align-items:stretch}.tabbar__menu{flex:1 1 0;min-width:0}.tabbar__list{display:contents}.tabbar>li{flex:1 1 0;min-width:0;display:flex}.tabbar>li>a,.tabbar>.tabbar__menu{width:100%;min-width:0;min-height:56px;padding:6px 2px}.tabbar__ico{font-size:20px}.tabbar__label{display:block;width:100%;max-width:100%;padding:0 1px;font-family:var(--font-display);font-size:10px;font-weight:600;line-height:1.15;text-align:center;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;overflow-wrap:break-word;word-break:normal;hyphens:none}.tabbar>li>a[aria-current] .tabbar__ico::after{margin-top:-20px}.section__title,.sec-head__title,.section__head .section__title,.sec-head>h2,.section__head>h2,.hero-mob__title{max-width:100%;min-width:0;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;overflow-wrap:anywhere;line-height:1.25}.sec-head,.section__head,.section__title{flex-wrap:wrap;row-gap:8px}.sec-head>*,.section__head>*{min-width:0}}@media (max-width:390px){.site-header .topbar__in{gap:6px}.site-header .topbar__actions{gap:6px}.tabbar__label{font-size:9.5px}}@media (prefers-reduced-motion:reduce){.nav-btn,.hero-home__all{transition:none}.app-shell{transition:none}}
/* ns-mobfix-v1 */
@media (max-width:767px){.hero-mob__stage{min-height:0}.hero-mob__art{width:100%;max-width:320px;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px}}
.recent__table td{height:auto}.recent__cell--game{min-width:0;line-height:1.25}
.recent__cell--game>span:last-child{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal}
:root{--color-bg:#001a17;--color-surface:#0b2422;--color-surface-2:#123b35;--color-text:#ffffff;--color-text-muted:#55ffc8;--color-border:#55ffc8;--color-primary:#15302b;--color-primary-contrast:#ffffff;--color-accent:#ff9515;--color-accent-contrast:#001a17;--color-focus:#15302b;--font-heading:'Roboto', system-ui, sans-serif;--font-body:'Roboto', system-ui, sans-serif;--radius-sm:8px;--radius-md:12px;--radius-lg:20px;--radius-pill:999px;--container:1280px;--container-narrow:960px;--shadow-sm:0 2px 6px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.2);--shadow-md:0 8px 28px rgba(0,0,0,.5);--header-h:52px;--font-display:'Ubuntu Sans', var(--font-heading)}
:where(.sub-motion){position:relative;width:100%;height:100%;min-height:inherit;overflow:hidden;border-radius:inherit}.sub-motion video{display:block;width:100%;height:100%;object-fit:cover}.sub-motion-bg{position:absolute!important;inset:0;z-index:0;border-radius:0}.sub-motion-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--color-bg) 55%,transparent),color-mix(in srgb,var(--color-bg) 82%,transparent))}.sub-motion-zone::after{display:none}.sub-has-bg{position:relative;isolation:isolate}.sub-has-bg>*:not(.sub-motion-bg){position:relative;z-index:1}@media (prefers-reduced-motion:reduce){.sub-motion video{display:none}.sub-motion{background:var(--color-surface) center/cover no-repeat}}html[data-hv=p] [data-abv=m],html[data-hv=m] [data-abv=p]{display:none!important}