/* fonts.css */
/* self-hosted fonts of the approved mockup c-funivia (Google Fonts, OFL) — variable files, one per subset */
@font-face{font-family:'Sora';font-style:normal;font-weight:600 800;font-display:swap;src:url('../../fonts/sora-var-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sora';font-style:normal;font-weight:600 800;font-display:swap;src:url('../../fonts/sora-var-latin.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:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('../../fonts/inter-var-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('../../fonts/inter-var-latin.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}

/* tokens.css */
/* Design tokens — the numbers of the approved mockup, named by role.
 *
 * Source: <kit>/mockups/g296-adrniral.ch/c-funivia.html (Dark product UI «Funivia»), approved 2026-10-26.
 *   · names say the role, never the value;
 *   · the mockup's values are kept as they are;
 *   · what the mockup does not define is marked «added».
 */
:root {
  color-scheme: dark;

  /* ── Colour: from the mockup ─────────────────────────────────────────── */
  --color-bg: #0C1016;
  --surface-0: #0C1016;
  --surface-1: #121822;
  --surface-2: #18202C;
  --surface-3: #212B3A;
  --color-text: #EEF3F8;
  --color-text-2: #A7B3C2;          /* secondary copy, 8.9:1 on --surface-0 */
  --color-muted: #8494A7;           /* added: mockup's #6C7A8C was 4.1:1 — raised to 5.9:1 for AA */
  --color-brand: #FF5A3C;           /* alpenglow — primary CTA */
  --color-brand-ink: #0C1016;          /* ink on alpenglow: 6.2:1 (white was 3.1:1, below AA) */
  --color-ice: #8AD4E8;             /* glacier — accents, links, data */
  --color-live: #46D39A;            /* live / success indicator */
  --line: rgba(190, 215, 240, .10);
  --line-2: rgba(190, 215, 240, .18);
  /* slide accents (hero glow) */
  --accent-slots: #8AD4E8;
  --accent-live: #FF5A3C;
  --accent-shows: #B79CFF;
  --accent-jackpot: #F5C76A;

  /* ── Colour: added ───────────────────────────────────────────────────── */
  --color-brand-hover: color-mix(in oklab, var(--color-brand) 88%, white);
  --color-brand-active: color-mix(in oklab, var(--color-brand) 85%, black);
  --color-error: #FF8A7A;           /* readable on dark, 7.0:1 */
  --color-error-bg: color-mix(in oklab, #FF5A3C 14%, transparent);
  --color-success: var(--color-live);
  --color-success-bg: color-mix(in oklab, #46D39A 14%, transparent);
  --color-warn: #F5C76A;
  --color-warn-bg: color-mix(in oklab, #F5C76A 14%, transparent);
  --focus-ring: 0 0 0 3px color-mix(in oklab, var(--color-ice) 55%, transparent);
  --scrim: rgba(6, 9, 13, .72);

  /* ── Typography: from the mockup ─────────────────────────────────────── */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --fs-h1: clamp(2.7rem, 6.4vw, 6.2rem);
  --fs-h2: clamp(1.6rem, 2.6vw, 2.3rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.02rem, 1.3vw, 1.2rem);
  --fs-body: 16px;
  --fs-small: .875rem;
  --fs-xs: .8rem;
  /* added: inner pages use a calmer H1 than the home hero */
  --fs-page-h1: clamp(2.2rem, 4.6vw, 4rem);
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-base: 1.55;
  --tracking-display: -.04em;

  /* ── Space ───────────────────────────────────────────────────────────── */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --section-pad: clamp(64px, 8vw, 120px);

  /* ── Shape & depth: from the mockup ──────────────────────────────────── */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-pop: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --shadow-brand: 0 10px 26px -12px color-mix(in oklab, var(--color-brand) 90%, transparent);

  /* ── Container: from the mockup ──────────────────────────────────────── */
  --container: 1320px;
  --container-pad: clamp(16px, 3vw, 40px);
  --header-h: 72px;

  /* ── Motion ──────────────────────────────────────────────────────────── */
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 300ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .8, .3);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  /* ── Layers ──────────────────────────────────────────────────────────── */
  --z-header: 100;
  --z-menu: 90;
  --z-toast: 950;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-gate: 1100;
}

/* Breakpoints (constants, kept in step with kit.config.json → breakpoints):
   --bp-mobile: 390px (≤700 mobile branch)   --bp-tablet: 768/1100px   --bp-desktop: 1440px */

/* base.css */
/* Reset, document defaults, accessibility basics. */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  min-height: 100vh;
  overflow-x: hidden;          /* nothing may scroll the page sideways */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

/* headings take face, size and line-height from their class */
h1, h2, h3, h4 { font: inherit; }

a { color: inherit; text-decoration: none; }
p a, dd a, .prose a { color: var(--color-ice); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease); }
p a:hover, .prose a:hover { color: var(--color-text); }

ul, ol { list-style: none; padding: 0; }
b, strong { font-weight: 600; }

::selection { background: color-mix(in oklab, var(--color-ice) 40%, transparent); color: #fff; }

/* Visible focus is not optional, whatever the mockup shows. */
:focus-visible { outline: 2px solid var(--color-ice); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.visually-hidden.visually-hidden { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: calc(var(--z-gate) + 1);
  padding: var(--space-8) var(--space-16); background: var(--color-brand); color: var(--color-brand-ink); border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--space-8); top: var(--space-8); }

/* A hidden element must stay hidden even when a component sets display. */
[hidden][hidden] { display: none !important; }

/* Tap targets: 24×24 minimum (WCAG 2.2 AA, 2.5.8), added by a pseudo-element. */
.tap-target { position: relative; }
.tap-target::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%;
  height: 100%; min-height: 24px; z-index: 1;
}

/* Icons inherit colour and take their size from CSS. */
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--missing { display: inline-block; width: 1em; height: 1em; outline: 1px dashed var(--color-error); }

kbd { font: 600 .72rem/1 var(--font-body); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--color-text-2); }

/* layout.css */
/* Page-level structure: container, header + overlay menu, footer. From c-funivia. */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── header: minimal bar, transparent over the home hero ─────────────── */
.hdr {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface-0) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}
.hdr--over { position: fixed; inset: 0 0 auto; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
.hdr--over.is-solid { background: color-mix(in oklab, var(--surface-0) 80%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.hdr__sp { flex: 1; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.1; flex: none; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--color-ice), #3E8FB0); display: grid; place-items: center; color: var(--surface-0); transition: transform .5s var(--spring); }
.logo__mark .icon { width: 20px; height: 20px; stroke-width: 2; }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__word small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--color-muted); margin-top: 2px; }

.hdr__nav { display: flex; gap: 2px; margin-left: 18px; }
.hdr__link { position: relative; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--color-text-2); transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.hdr__link:hover { color: var(--color-text); background: rgba(255, 255, 255, .06); }
.hdr__link[aria-current] { color: var(--color-text); }
.hdr__link[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--color-brand); }

.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.lang a { position: relative; display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 9px; font-weight: 700; font-size: .76rem; letter-spacing: .02em; color: var(--color-text-2); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.lang a:hover { color: var(--color-text); background: rgba(255, 255, 255, .07); }
.lang a[aria-current] { background: var(--color-text); color: var(--surface-0); }

.bal-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; transition: border-color var(--dur-fast) var(--ease), transform .3s var(--spring); }
.bal-chip .icon { color: var(--color-ice); }
.bal-chip:hover { border-color: var(--color-ice); transform: translateY(-2px); }
.bal-chip.is-bump { animation: bump .6s var(--spring); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--color-brand), #FF8A5C); color: var(--color-brand-ink); font-family: var(--font-display); font-weight: 800; transition: transform .3s var(--spring); }
.avatar:hover { transform: scale(1.06); }

.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px; border-radius: 12px; background: var(--color-text); color: var(--surface-0); font-weight: 700; font-size: .9rem; transition: transform .3s var(--spring); }
.menu-btn:hover { transform: translateY(-2px); }
.menu-btn__bars { width: 18px; height: 12px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__bars::before { top: 2px; }
.menu-btn__bars::after { top: 8px; }
.menu-btn.is-x .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn.is-x .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }

/* ── overlay menu: circle reveal from the menu button (signature motion) ─ */
.ovl { position: fixed; inset: 0; z-index: var(--z-modal); background: var(--surface-0); overflow: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - 64px) 36px); transition: clip-path .7s var(--ease); }
.ovl.is-open { clip-path: circle(150% at calc(100% - 64px) 36px); }
.ovl::before { content: ""; position: fixed; inset: auto -20% -40% auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--color-ice) 14%, transparent), transparent 65%); pointer-events: none; }
.ovl__panel { min-height: 100%; }
.ovl__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.ovl__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-block: 24px 48px; position: relative; }
.ovl__nav a { display: flex; align-items: baseline; gap: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.12; padding-block: 6px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease), color var(--dur-fast) var(--ease); }
.ovl__nav a .n { font: 600 .9rem var(--font-body); color: var(--color-ice); }
.ovl__nav a:hover { color: var(--color-ice); }
.ovl.is-open .ovl__nav a { opacity: 1; transform: none; }
.ovl.is-open .ovl__nav a:nth-child(2) { transition-delay: .05s; }
.ovl.is-open .ovl__nav a:nth-child(3) { transition-delay: .1s; }
.ovl.is-open .ovl__nav a:nth-child(4) { transition-delay: .15s; }
.ovl.is-open .ovl__nav a:nth-child(5) { transition-delay: .2s; }
.ovl__aside { display: flex; flex-direction: column; gap: 28px; color: var(--color-text-2); }
.ovl__t { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; margin-bottom: 10px; }
.lang--big { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.lang--big a { justify-content: start; display: flex; gap: 10px; height: 44px; padding: 0 14px; font-weight: 600; font-size: .92rem; }
.lang--big a b { font-weight: 800; }
.ovl__links { display: grid; gap: 2px; }
.ovl__links a { position: relative; display: block; padding: 8px 0; font-weight: 600; color: var(--color-text); transition: color var(--dur-fast) var(--ease), transform .3s var(--ease); }
.ovl__links a:hover { color: var(--color-ice); transform: translateX(4px); }
.ovl__acc { display: flex; flex-wrap: wrap; gap: 10px; }
.ovl__op { font-size: var(--fs-small); display: flex; gap: 10px; align-items: center; }

/* ── footer ───────────────────────────────────────────────────────────── */
.ftr { background: var(--surface-1); border-top: 1px solid var(--line); padding-block: 72px 32px; margin-top: 40px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.ftr__claim { color: var(--color-text-2); margin-block: 16px 20px; max-width: 36ch; font-size: .95rem; }
.ftr__title { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; margin-bottom: 14px; }
.ftr__col ul { display: grid; gap: 4px; }
.ftr__col a { position: relative; display: inline-block; padding-block: 5px; color: var(--color-text-2); font-weight: 500; transition: color var(--dur-fast) var(--ease); }
.ftr__col a:hover { color: var(--color-text); }
.ftr__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease); }
.ftr__col a:hover::after { transform: scaleX(1); }
.ftr__pay { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.ftr__pay li { height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; display: grid; place-items: center; transition: transform .3s var(--spring); }
.ftr__pay li:hover { transform: translateY(-3px); }
.ftr__pay img { height: 22px; width: auto; max-width: 84px; object-fit: contain; }
/* operator data: a wide auto-fit band, never a narrow fourth column */
.ftr__data { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px 32px; margin-top: 32px; padding: 24px; border-radius: var(--radius-xl); background: var(--surface-2); border: 1px solid var(--line); font-size: .9rem; color: var(--color-text-2); line-height: 1.6; }
.ftr__data b { color: var(--color-text); font-variant-numeric: tabular-nums; }
.ftr__data a { color: var(--color-ice); }
.ftr__k { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; margin-bottom: 6px; }
.ftr__rg { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); }
.ftr__rg p { flex: 1; font-size: .9rem; color: var(--color-text-2); }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: var(--fs-small); color: var(--color-muted); }

/* ── back to top ──────────────────────────────────────────────────────── */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-header); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--color-text); color: var(--surface-0); box-shadow: var(--shadow-card); transition: transform .3s var(--spring), opacity var(--dur-base) var(--ease); }
.to-top:hover { transform: translateY(-3px); }
body.has-cookie-bar .to-top { bottom: 110px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1340px) {
  .hdr__nav { display: none; }
}
@media (max-width: 1100px) {
  .ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .ovl__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .hdr .lang--hdr { display: none; }
}
@media (max-width: 700px) {
  .hdr .hdr__login { display: none; }
  .hdr .hdr__reg { min-height: 40px; padding: 0 14px; }
  .menu-btn__lbl { display: none; }
  .menu-btn { padding: 0 13px; }
  .logo__word small { display: none; }
  .bal-chip { height: 40px; padding: 0 10px; font-size: .84rem; }
  .bal-chip .icon { display: none; }
  .avatar { width: 40px; height: 40px; }
  .ftr { padding-block: 56px 28px; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ftr__rg { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 389px) {
  .hdr__in { gap: 6px; }
  .hdr .hdr__search { display: none; }
  .logo { font-size: 1.15rem; }
  .ftr__top { grid-template-columns: 1fr; }
}

/* ── gate fixes (S6 flow.js) ──────────────────────────────────────────── */
/* the spacer takes the row height, so it never reads as a row of its own */
.hdr__sp { align-self: center; height: 44px; }
/* header controls keep their width; the logo yields first */
.hdr__in > .btn, .hdr__in > .icon-btn, .hdr__in > .menu-btn, .hdr__in > .lang, .hdr__in > .bal-chip, .hdr__in > .avatar { flex: none; }
.hdr__in > .logo { min-width: 0; }
.ftr__data { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 480px) {
  .ftr__pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr__pay img { max-width: 100%; }
  .ftr__pay li { padding: 0 8px; }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .ftr__data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* compact desktop header: room for the longer FR/IT labels at 1440 */
.hdr__link { padding: 9px 9px; font-size: .88rem; }
.hdr__link[aria-current]::after { left: 9px; right: 9px; }
.hdr__nav { margin-left: 10px; }
@media (min-width: 701px) and (max-width: 1600px) {
  .hdr .menu-btn__lbl { display: none; }
  .hdr .menu-btn { padding: 0 13px; }
}
.hdr__link { white-space: nowrap; }
@media (min-width: 1341px) { .hdr__in { gap: 8px; } .hdr__nav { gap: 0; } }

/* components.css */
/* Reusable pieces, moved from c-funivia and extended in its language (S3.2).
 * State coverage for everything interactive: hover, focus, active, disabled, error. */

/* ── type ─────────────────────────────────────────────────────────────── */
.h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.h2 em, .h2 .acc { font-style: normal; color: var(--color-ice); }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); letter-spacing: -.02em; line-height: var(--lh-snug); text-wrap: balance; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-ice); margin-bottom: 10px; }
.kicker .icon { width: 1.05em; height: 1.05em; }
.lbl { display: flex; align-items: center; gap: 10px; color: var(--color-ice); font-weight: 600; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-ice); margin-top: 18px; transition: gap var(--dur-base) var(--ease), color var(--dur-fast) var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--color-text); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head__sub { color: var(--color-text-2); margin-top: 8px; max-width: 60ch; }
.sec-head__act { display: flex; align-items: center; gap: 8px; }

.live-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; color: var(--color-text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-live); box-shadow: 0 0 0 0 rgba(70, 211, 154, .6); animation: ping 1.8s infinite; flex: none; }
.badge18 { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px; border-radius: 7px; border: 1.5px solid currentColor; font: 800 .72rem/1 var(--font-display); color: var(--color-text); }
.badge18--lg { min-width: 52px; height: 52px; border-radius: 14px; font-size: 1rem; border-color: var(--color-brand); color: var(--color-brand); flex: none; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-md);
  border: 1px solid transparent; font-weight: 600; font-size: .93rem; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--spring), background-color var(--dur-fast) var(--ease), box-shadow var(--dur-slow) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--brand { background: var(--color-brand); color: var(--color-brand-ink); box-shadow: var(--shadow-brand); }
.btn--brand:hover:not(:disabled) { background: var(--color-brand-hover); transform: translateY(-2px); box-shadow: 0 16px 32px -12px color-mix(in oklab, var(--color-brand) 90%, transparent); }
.btn--brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn--brand:hover:not(:disabled)::after { transform: translateX(120%); }
.btn--line { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--color-text); }
.btn--line:hover:not(:disabled) { background: rgba(255, 255, 255, .08); border-color: rgba(190, 215, 240, .3); }
.btn--ice { background: var(--color-ice); color: var(--surface-0); }
.btn--ice:hover:not(:disabled) { transform: translateY(-2px); }
.btn--danger { background: color-mix(in oklab, var(--color-brand) 16%, transparent); border-color: color-mix(in oklab, var(--color-brand) 50%, transparent); color: #FFB3A6; }
.btn--danger:hover:not(:disabled) { background: color-mix(in oklab, var(--color-brand) 26%, transparent); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; border-radius: 14px; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .86rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

.icon-btn { position: relative; width: 44px; height: 44px; border-radius: var(--radius-md); display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--color-text); flex: none; transition: background-color var(--dur-fast) var(--ease), transform .3s var(--spring), opacity var(--dur-fast); }
.icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn[aria-pressed="true"] { background: var(--color-ice); color: var(--surface-0); }
.icon-btn--sm { width: 36px; height: 36px; border-radius: 10px; }
.link-btn { position: relative; display: inline; padding: 0; color: var(--color-ice); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-btn:hover { color: var(--color-text); }
.link-btn::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 24px; }

/* ── chips, tabs, segmented, switches ─────────────────────────────────── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: .88rem; color: var(--color-text-2); white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform .3s var(--spring); }
.chip:hover { color: var(--color-text); border-color: rgba(190, 215, 240, .32); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--color-text); color: var(--surface-0); border-color: var(--color-text); }
.chip span { font-size: .75rem; opacity: .65; font-variant-numeric: tabular-nums; }
.chip .icon { width: 1em; height: 1em; }

.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--color-text-2); transition: color var(--dur-base) var(--ease); white-space: nowrap; }
.tabs button:hover { color: var(--color-text); }
.tabs button[aria-selected="true"] { color: var(--surface-0); }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 10px; background: var(--color-text); transition: left .45s var(--spring), width .45s var(--spring); }
.tabs--sm button { padding: 8px 14px; font-size: .86rem; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--color-text-2); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.seg button:hover { color: var(--color-text); }
.seg button[aria-pressed="true"], .seg input:checked + span { background: var(--color-ice); color: var(--surface-0); border-color: var(--color-ice); }
.seg label { position: relative; }
.seg label input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span { display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--color-text-2); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.seg label input:focus-visible + span { box-shadow: var(--focus-ring); }

.switch { position: relative; display: inline-block; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch__ui, .switch-btn { display: block; width: 50px; height: 30px; border-radius: var(--radius-pill); background: var(--surface-3); position: relative; transition: background-color var(--dur-base) var(--ease); }
.switch__ui::after, .switch-btn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); }
.switch input:checked + .switch__ui, .switch-btn[aria-checked="true"] { background: var(--color-live); }
.switch input:checked + .switch__ui::after, .switch-btn[aria-checked="true"]::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .55; }
.switch input:focus-visible + .switch__ui { box-shadow: var(--focus-ring); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--surface-2); margin-top: 18px; }

/* ── fields ───────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--color-text-2); }
.field__label small { font-weight: 500; color: var(--color-muted); }
.field input:not(.visually-hidden):not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea, .input-ic, .select select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius-md);
  background: var(--surface-1); color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field textarea { min-height: 140px; padding-block: 12px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(190, 215, 240, .3); }
.field input:focus, .field select:focus, .field textarea:focus, .select select:focus { border-color: var(--color-ice); box-shadow: var(--focus-ring); outline: none; background: var(--surface-2); }
.field input::placeholder, .field textarea::placeholder, .input-ic input::placeholder { color: var(--color-muted); }
.field__error { color: var(--color-error); font-size: var(--fs-small); display: flex; gap: 6px; align-items: flex-start; animation: shake .35s var(--ease); }
.field__hint { font-size: .82rem; color: var(--color-muted); }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: var(--color-error); background: var(--color-error-bg); }
.field.is-ok input:not([type="checkbox"]) { border-color: color-mix(in oklab, var(--color-live) 60%, transparent); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field--check input[type="checkbox"] { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--color-brand); cursor: pointer; }
.field--check .field__label { color: var(--color-text-2); font-weight: 500; line-height: 1.5; cursor: pointer; }
.field--check .field__error { grid-column: 1 / -1; }
.field .select select, .select select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-2) 50%), linear-gradient(135deg, var(--color-text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select { position: relative; display: block; min-width: 0; }
.input-ic { display: flex; align-items: center; gap: 10px; color: var(--color-muted); }
.input-ic:focus-within { border-color: var(--color-ice); box-shadow: var(--focus-ring); }
.input-ic input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; height: 46px; color: var(--color-text); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid2--zip { grid-template-columns: 120px 1fr; }
.pw { position: relative; }
.pw input { padding-right: 52px !important; }
.pw__eye { position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 44px; height: 40px; display: grid; place-items: center; color: var(--color-muted); border-radius: 8px; transition: color var(--dur-fast) var(--ease); }
.pw__eye:hover, .pw__eye[aria-pressed="true"] { color: var(--color-text); }
.pw-meter { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--color-error); transition: width var(--dur-slow) var(--ease), background-color var(--dur-slow) var(--ease); }
.pw-meter[data-level="2"] i { background: var(--color-warn); }
.pw-meter[data-level="3"] i { background: var(--color-live); }
.amount { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-md); background: var(--surface-1); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.amount:focus-within { border-color: var(--color-ice); box-shadow: var(--focus-ring); }
.amount span { padding-left: 14px; font-weight: 700; color: var(--color-muted); }
.field .amount input { border: 0 !important; box-shadow: none !important; background: none !important; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.field.has-error .amount { border-color: var(--color-error); background: var(--color-error-bg); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; color: var(--color-text-2); font-variant-numeric: tabular-nums; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.presets button:hover { color: var(--color-text); border-color: rgba(190, 215, 240, .32); }
.presets button.is-on { background: var(--color-ice); color: var(--surface-0); border-color: var(--color-ice); }
.form__error { display: flex; gap: 8px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--color-error-bg); color: var(--color-error); font-size: var(--fs-small); margin-bottom: 14px; }
.form__ok { display: flex; gap: 8px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--color-success-bg); color: var(--color-success); font-size: var(--fs-small); }

/* ── steps (registration) ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; counter-reset: s; }
.steps li { position: relative; display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: .8rem; font-weight: 600; color: var(--color-muted); transition: color var(--dur-base) var(--ease); }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--surface-3); }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; border-radius: 3px; background: var(--color-brand); transition: width .5s var(--ease); }
.steps li.is-on, .steps li.is-done { color: var(--color-text); }
.steps li.is-on::after, .steps li.is-done::after { width: 100%; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: .72rem; flex: none; transition: background-color var(--dur-base); }
.steps li.is-on span, .steps li.is-done span { background: var(--color-brand); color: #fff; }
.step { border: 0; padding: 0; min-width: 0; }
.step.is-on { animation: stepin .4s var(--ease); }
.step__lead { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: color-mix(in oklab, var(--color-ice) 10%, transparent); color: var(--color-text); font-size: .9rem; margin-bottom: 16px; }
.step__lead .icon { color: var(--color-ice); margin-top: 2px; }
.steps__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.steps__nav [data-step-next], .steps__nav [data-step-submit] { margin-left: auto; }

/* ── overlays & modals ────────────────────────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--dur-slow) var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.overlay.is-open { opacity: 1; }
.overlay__panel { transform: translateY(14px) scale(.98); transition: transform .4s var(--spring); }
.overlay.is-open .overlay__panel { transform: none; }
.overlay--top { place-items: start center; padding-top: 10vh; }
.modal { position: relative; width: min(100%, 460px); background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-pop); }
.modal--wide { width: min(100%, 600px); }
.modal--game { width: min(100%, 820px); padding: 0; overflow: hidden; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in oklab, var(--color-brand) 16%, transparent); color: var(--color-brand); margin-bottom: 14px; }
.modal__ic--ice { background: color-mix(in oklab, var(--color-ice) 16%, transparent); color: var(--color-ice); }
.modal__ic .icon { width: 24px; height: 24px; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px; padding-right: 40px; }
.modal__lead { color: var(--color-text-2); margin-bottom: 18px; font-size: .95rem; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.modal__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--color-text-2); }
.done { text-align: center; padding: 20px 0 6px; color: var(--color-text-2); }
.done .icon { width: 44px; height: 44px; color: var(--color-live); margin: 0 auto 12px; animation: pop .5s var(--spring); }

/* age gate */
.overlay--gate { z-index: var(--z-gate); background: rgba(6, 9, 13, .92); }
.gate { width: min(100%, 480px); text-align: center; background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--radius-xl); padding: 40px 32px 28px; box-shadow: var(--shadow-pop); }
.gate__badge { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; border: 2px solid var(--color-brand); color: var(--color-brand); font: 800 1.5rem/1 var(--font-display); margin-bottom: 18px; }
.gate__title { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.gate p { color: var(--color-text-2); }
.gate__actions { display: grid; gap: 10px; margin-top: 22px; }
.gate__langs { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.gate__langs a { position: relative; padding: 6px 10px; border-radius: 8px; font-weight: 700; font-size: .8rem; color: var(--color-text-2); }
.gate__langs a[aria-current] { background: var(--surface-3); color: var(--color-text); }
.gate__note { font-size: .78rem; margin-top: 14px; color: var(--color-muted) !important; }

/* cookie banner — a bar, never a modal */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-overlay); display: flex; justify-content: center; pointer-events: none; animation: slideup .5s var(--ease) both; }
.cookie-bar__in { pointer-events: auto; width: min(100%, 980px); display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius-lg); background: color-mix(in oklab, var(--surface-2) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.cookie-bar__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--color-warn) 16%, transparent); color: var(--color-warn); flex: none; }
.cookie-bar p { flex: 1; font-size: .88rem; color: var(--color-text-2); }
.cookie-bar__act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-bar.is-gone { animation: slidedown .3s var(--ease-in) forwards; }
.ck { display: grid; gap: 10px; }
.ck__row { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 14px; border-radius: var(--radius-md); background: var(--surface-2); }
.ck__row p { font-size: .84rem; color: var(--color-text-2); margin-top: 2px; }

/* search palette */
.palette { width: min(100%, 680px); background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--radius-xl); box-shadow: var(--shadow-pop); overflow: hidden; }
.palette__in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--color-muted); }
.palette__in input { flex: 1; min-width: 0; height: 64px; border: 0; background: none; outline: none; font-size: 1.1rem; color: var(--color-text); }
.palette__res { max-height: min(60vh, 520px); overflow: auto; padding: 8px; }
.palette__grp { padding: 10px 10px 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }
.palette__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 12px; text-align: left; transition: background-color var(--dur-fast) var(--ease); }
.palette__item:hover, .palette__item.is-active { background: var(--surface-3); }
.palette__item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.palette__item .pi { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--color-ice); flex: none; }
.palette__item b { display: block; font-weight: 600; }
.palette__item small { color: var(--color-muted); }
.palette__item mark { background: none; color: var(--color-ice); }
.palette__empty { padding: 28px 12px; text-align: center; color: var(--color-text-2); }

/* game information */
.gm { display: grid; grid-template-columns: 300px 1fr; }
.gm__cover { position: relative; background: var(--surface-2); }
.gm__cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gm__body { padding: 28px 28px 24px; min-width: 0; }
.gm__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gm__chips span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--surface-3); font-size: .74rem; font-weight: 700; }
.gm__prov { color: var(--color-ice); font-weight: 600; }
.gm__desc { color: var(--color-text-2); margin-top: 12px; font-size: .94rem; }
.gm__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.gm__facts div { padding: 10px 12px; border-radius: var(--radius-md); background: var(--surface-2); }
.gm__facts dt { font-size: .74rem; color: var(--color-muted); font-weight: 600; }
.gm__facts dd { font-size: .9rem; font-weight: 600; }
.gm__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gm__act [data-gm-fav][aria-pressed="true"] { color: var(--color-brand); border-color: color-mix(in oklab, var(--color-brand) 50%, transparent); }
.gm__act [data-gm-fav][aria-pressed="true"] svg { fill: currentColor; }
.gm__state { margin-top: 16px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-2); animation: stepin .35s var(--ease); }
.gm__state p { color: var(--color-text-2); font-size: .9rem; }
.checks { display: grid; gap: 6px; margin-bottom: 12px; }
.checks li { display: flex; gap: 8px; align-items: center; font-size: .88rem; }
.checks .ok { color: var(--color-live); }
.checks .no { color: var(--color-muted); }

/* reality check */
.rc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.rc-stats div { padding: 14px; border-radius: var(--radius-md); background: var(--surface-2); }
.rc-stats span { display: block; font-size: .76rem; color: var(--color-muted); font-weight: 600; }
.rc-stats b { font: 700 1.5rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }

/* toasts */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: var(--z-toast); display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); font-size: .9rem; animation: toastin .4s var(--spring); }
.toast .icon { color: var(--color-live); margin-top: 2px; }
.toast--err .icon { color: var(--color-error); }
.toast.is-out { animation: toastout .25s var(--ease-in) forwards; }

/* language hint (browser language ≠ page language; no redirect, TZ §8.4) */
.lang-hint { position: fixed; left: 50%; top: calc(var(--header-h) + 12px); translate: -50% 0; z-index: var(--z-toast); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); font-size: .9rem; max-width: calc(100vw - 24px); animation: toastin .4s var(--spring); }
.lang-hint > .icon { color: var(--color-ice); }

/* ── game card + shelf (from the mockup) ──────────────────────────────── */
.gc { position: relative; min-width: 0; transition: transform .4s var(--spring); }
.gc:hover { transform: translateY(-6px); }
.gc__cv { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-card); }
.gc__cv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.gc__cv picture, .gc__cv img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gc:hover .gc__cv img { transform: scale(1.07); }
.gc__ov { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; background: linear-gradient(0deg, rgba(12, 16, 22, .85), transparent 60%); opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.gc:hover .gc__ov, .gc__cv:focus-visible .gc__ov { opacity: 1; }
.gc__play { width: 44px; height: 44px; border-radius: 50%; background: var(--color-brand); display: grid; place-items: center; color: #fff; transform: scale(.6); transition: transform .4s var(--spring); }
.gc:hover .gc__play, .gc__cv:focus-visible .gc__play { transform: none; }
.gc__fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 16, 22, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .3s var(--spring), color var(--dur-fast) var(--ease); }
.gc__fav:hover { transform: scale(1.1); }
.gc__fav[aria-pressed="true"] { color: var(--color-brand); }
.gc__fav[aria-pressed="true"] svg { fill: currentColor; }
.gc__fav.is-pop { animation: popf .45s var(--spring); }
.gc__badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font-size: .7rem; font-weight: 700; background: rgba(12, 16, 22, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.gc__badge .dot { width: 6px; height: 6px; }
.gc__badge--jp { color: var(--accent-jackpot); }
.gc__badge .icon { width: 12px; height: 12px; }
.gc__nm { font-weight: 600; font-size: .95rem; line-height: 1.25; margin-top: 10px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gc__pv { font-size: .8rem; color: var(--color-muted); }

.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 0 18px; margin-top: -8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
.shelf--big { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
.shelf.is-swap { animation: swap .5s var(--ease); }
.grid-games { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 16px; }
.grid-games .gc.is-in { animation: pop .45s var(--spring) both; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--color-text-2); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty .icon { width: 28px; height: 28px; color: var(--color-muted); }

/* ── boxes, notes, lists ──────────────────────────────────────────────── */
.box { position: relative; overflow: hidden; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; transition: border-color var(--dur-slow) var(--ease), transform .4s var(--spring); }
.box:hover { border-color: var(--line-2); }
.box .h3 { margin-top: 12px; }
.box p { color: var(--color-text-2); font-size: .94rem; margin-top: 8px; }
.note-box { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface-2); font-size: .9rem; color: var(--color-text-2); }
.note-box b { color: var(--color-text); font-variant-numeric: tabular-nums; }
.note-box--warn { background: var(--color-warn-bg); color: var(--color-text); }
.note-box--warn .icon { color: var(--color-warn); }
.note-box--ok { background: var(--color-success-bg); color: var(--color-text); }
.note-box--ok .icon { color: var(--color-live); }
.ticks { display: grid; gap: 10px; margin-top: 14px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-text-2); font-size: .94rem; }
.ticks li b { color: var(--color-text); }
.ticks .icon { color: var(--color-live); margin-top: 3px; }

/* ── accordion ────────────────────────────────────────────────────────── */
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); transition: border-color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.acc__item:hover { border-color: var(--line-2); }
.acc__item:has([aria-expanded="true"]) { background: var(--surface-2); border-color: var(--line-2); }
.acc__q { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; font-weight: 600; font-size: 1rem; }
.acc__ic { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-3); flex: none; transition: transform .4s var(--spring), background-color var(--dur-base); }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: transform .3s var(--ease); }
.acc__ic::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__ic { transform: rotate(180deg); background: var(--color-brand); }
.acc__q[aria-expanded="true"] .acc__ic::after { transform: rotate(0); }
.acc__a { padding: 0 20px 18px; color: var(--color-text-2); }
.acc__a p + p { margin-top: 10px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .shelf, .shelf--big { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .grid-games { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .gm { grid-template-columns: 1fr; }
  .gm__cover { max-height: 220px; overflow: hidden; }
  .gm__cover img { aspect-ratio: 16 / 9; }
  .gm__body { padding: 20px; }
}
@media (max-width: 700px) {
  .modal { padding: 26px 20px 22px; }
  .grid2, .grid2--zip { grid-template-columns: 1fr; }
  .grid2--zip { grid-template-columns: 110px 1fr; }
  .shelf, .shelf--big { grid-auto-columns: 42%; margin-inline: calc(var(--container-pad) * -1); padding-inline: var(--container-pad); scroll-padding-inline: var(--container-pad); }
  .grid-games { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
  .cookie-bar__in { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-bar__ic { display: none; }
  .cookie-bar__act { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-bar__act .btn--brand { grid-column: 1 / -1; order: -1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--container-pad) * -1); padding-inline: var(--container-pad); }
  .chip { flex: none; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .overlay--top { padding-top: 12px; }
  .lang-hint { left: 12px; right: 12px; translate: none; font-size: .84rem; }
  .gm__facts { grid-template-columns: 1fr; }
  .steps li { font-size: .72rem; }
}

/* ── gate fixes (S6 audit) ────────────────────────────────────────────── */
/* text on the alpenglow brand colour is ink, never white (AA) */
.steps li.is-on span, .steps li.is-done span, .route__st:hover .route__n, .cat-tile:hover .cat-tile__ic, .acc__q[aria-expanded="true"] .acc__ic { color: var(--color-brand-ink); }
.input-ic input:focus-visible { box-shadow: 0 2px 0 0 var(--color-ice); }
.chip span { opacity: .82; }

/* pages/home.css */
/* HOME — hero, cable progress and shelves from c-funivia; the rest in its language. */

/* ── hero: full-bleed slider over a moving 3D wall of covers ──────────── */
.hero { position: relative; height: min(100svh, 920px); min-height: 680px; overflow: hidden; isolation: isolate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 18% 78%, rgba(12, 16, 22, .96) 20%, transparent 70%),
  linear-gradient(90deg, rgba(12, 16, 22, .96) 18%, rgba(12, 16, 22, .55) 55%, rgba(12, 16, 22, .2)),
  linear-gradient(0deg, var(--surface-0) 2%, transparent 30%),
  linear-gradient(180deg, rgba(12, 16, 22, .85), transparent 18%); }
.mural { position: absolute; inset: -20% -10% -20% 30%; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; transform: perspective(1400px) rotateX(18deg) rotateZ(-10deg); }
.mural__col { display: flex; flex-direction: column; gap: 16px; animation: up 40s linear infinite; will-change: transform; }
.mural__col:nth-child(even) { animation-direction: reverse; animation-duration: 46s; }
.hero__slide:not(.is-on) .mural__col { animation-play-state: paused; }
.mural picture, .mural img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); }
.hero__glow { position: absolute; z-index: -1; width: 46vw; height: 46vw; right: 6%; top: 4%; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 26%, transparent), transparent 65%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; pointer-events: none; }

.hero__copy { position: absolute; left: 0; right: 0; bottom: 200px; z-index: 3; }
.hero__h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h1); line-height: .95; letter-spacing: -.05em; margin-top: 18px; max-width: 11ch; text-wrap: balance; }
.hero__h1 .acc { background: linear-gradient(90deg, var(--color-ice), #C9EEF7 50%, var(--color-ice)); -webkit-background-clip: text; background-clip: text; color: var(--color-ice); -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite; }
.hero__sub { margin-top: 18px; font-size: var(--fs-lead); color: var(--color-text-2); max-width: 46ch; }
.hero__cap { margin-top: 26px; min-height: 60px; overflow: hidden; }
.hero__cap-in > div { animation: capin .7s var(--ease) both; }
.hero__cap .k { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-ice); font-weight: 700; }
.hero__cap .tt { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__nav { position: absolute; right: var(--container-pad); bottom: 200px; z-index: 5; display: flex; gap: 8px; }

/* cable + gondola (signature) */
.cable { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 4; }
.cable__line { position: relative; height: 84px; }
.cable__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gondola { position: absolute; top: 0; left: 12.5%; width: 46px; height: 56px; transform: translateX(-50%); transition: left 1.2s var(--ease), top 1.2s var(--ease); pointer-events: none; }
.gondola::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 16px; background: var(--color-text-2); }
.gondola__cab { width: 46px; height: 40px; margin-top: 14px; border-radius: 12px; background: var(--color-brand); display: grid; place-items: center; color: #fff; box-shadow: 0 12px 24px -8px rgba(255, 90, 60, .7); animation: sway 3s ease-in-out infinite; transform-origin: 50% -14px; }
.stations { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
.st { position: relative; text-align: left; padding: 10px 0; color: var(--color-muted); font-size: .85rem; font-weight: 600; transition: color var(--dur-slow) var(--ease); }
.st:hover, .st.is-on { color: var(--color-text); }
.st__w { display: flex; flex-direction: column; width: calc(100% - 20px); }
.st__n { font-family: var(--font-display); font-size: .78rem; }
.st.is-on .st__n { color: var(--color-brand); }
.st__prog { display: block; height: 2px; background: var(--line-2); margin-top: 8px; border-radius: 2px; overflow: hidden; }
.st__prog i { display: block; height: 100%; background: var(--color-ice); transform: scaleX(0); transform-origin: left; }
.st.is-on .st__prog i { animation: fill 6.5s linear forwards; }
.hero.is-paused .st.is-on .st__prog i { animation-play-state: paused; }

/* ── category bar ─────────────────────────────────────────────────────── */
.catbar { position: relative; z-index: 2; margin-top: -8px; }
.catbar__list { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--spring), border-color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--color-ice) 22%, transparent), transparent 70%); opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.cat-tile:hover::after { opacity: 1; }
.cat-tile__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--color-ice); margin-bottom: 8px; transition: background-color var(--dur-base), color var(--dur-base), transform .4s var(--spring); }
.cat-tile:hover .cat-tile__ic { background: var(--color-brand); color: #fff; transform: rotate(-8deg); }
.cat-tile__nm { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.cat-tile__n { font-size: .78rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }

/* ── shelves ──────────────────────────────────────────────────────────── */
.shelf-sec { padding-block: 56px 8px; scroll-margin-top: calc(var(--header-h) + 8px); }
.shelf-sec:first-of-type { padding-top: 72px; }
.shelf-sec--mine .sec-head { align-items: center; }

/* providers marquee */
.prov { padding-block: 64px 16px; overflow: hidden; }
.prov__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.prov__head p { color: var(--color-text-2); }
.prov__track { position: relative; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.prov__row { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.prov__track:hover .prov__row { animation-play-state: paused; }
.prov__chip { height: 64px; padding: 0 28px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--color-text-2); white-space: nowrap; transition: color var(--dur-fast), border-color var(--dur-fast); }
.prov__chip:hover { color: var(--color-text); border-color: var(--color-ice); }
.prov__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ── finder ───────────────────────────────────────────────────────────── */
.finder { padding-block: 88px 24px; scroll-margin-top: calc(var(--header-h) + 8px); }
.finder__bar { display: grid; grid-template-columns: 1fr 220px 200px; gap: 10px; margin-bottom: 14px; }
.finder__meta { margin: 14px 0 18px; color: var(--color-muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.finder__more { display: flex; justify-content: center; margin-top: 30px; }

/* ── promotions ───────────────────────────────────────────────────────── */
.promo { padding-block: 72px 24px; scroll-margin-top: calc(var(--header-h) + 8px); }
.promo__card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in oklab, var(--accent-shows) 22%, transparent), transparent 60%), radial-gradient(70% 100% at 0% 100%, color-mix(in oklab, var(--color-brand) 18%, transparent), transparent 60%), var(--surface-1); border: 1px solid var(--line-2); }
.promo__txt p { color: var(--color-text-2); margin-top: 10px; max-width: 52ch; }
.promo__txt .btn { margin-top: 20px; }
.promo__txt .toggle-row { max-width: 460px; }
.promo__note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin-top: 16px !important; }
.promo__note .icon { margin-top: 3px; color: var(--color-ice); }
.promo__art { position: relative; height: 300px; }
.promo__c { position: absolute; width: 150px; top: 50%; left: 50%; transition: transform .7s var(--spring); }
.promo__c img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8); }
.promo__c--0 { transform: translate(-50%, -50%) rotate(-2deg); z-index: 3; }
.promo__c--1 { transform: translate(-130%, -62%) rotate(-12deg); z-index: 2; }
.promo__c--2 { transform: translate(30%, -62%) rotate(12deg); z-index: 2; }
.promo__c--3 { transform: translate(-170%, -20%) rotate(-20deg) scale(.82); z-index: 1; }
.promo__c--4 { transform: translate(70%, -20%) rotate(20deg) scale(.82); z-index: 1; }
.promo__card:hover .promo__c--1 { transform: translate(-150%, -70%) rotate(-16deg); }
.promo__card:hover .promo__c--2 { transform: translate(50%, -70%) rotate(16deg); }
.promo__card:hover .promo__c--0 { transform: translate(-50%, -56%) rotate(0); }

/* ── info bento ───────────────────────────────────────────────────────── */
.info { padding-block: var(--section-pad) 24px; }
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.box__lead { font-size: 1.05rem !important; color: var(--color-text) !important; margin-top: 0 !important; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.facts div { padding: 14px; border-radius: var(--radius-lg); background: var(--surface-2); }
.facts dt { font-size: .76rem; color: var(--color-muted); font-weight: 600; }
.facts dd { font: 700 1.25rem/1.25 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lic { display: grid; gap: 8px; margin-top: 18px; }
.lic li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); font-size: .88rem; color: var(--color-text-2); }
.lic b { color: var(--color-text); font-variant-numeric: tabular-nums; }
.lic a { display: inline-flex; gap: 4px; align-items: center; color: var(--color-ice); }

/* ── payments ─────────────────────────────────────────────────────────── */
.pays-sec { padding-block: 72px 24px; }
.pays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.pay { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface-1); border: 1px solid var(--line); transition: transform .4s var(--spring), border-color var(--dur-base); }
.pay:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pay__logo { height: 64px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 10px; margin-bottom: 6px; }
.pay__logo img { max-height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.pay__nm { font-weight: 700; }
.pay__type { font-size: .8rem; color: var(--color-muted); }
.pays__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: .88rem; color: var(--color-text-2); }
.pays__note .icon { color: var(--color-ice); margin-top: 3px; }

/* ── RG widgets (from the mockup) ─────────────────────────────────────── */
.prot { padding-block: var(--section-pad) 24px; }
.prot__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.prot .seg { margin-top: 18px; }
.range-demo { margin-top: 18px; }
.range-demo__top { display: flex; align-items: baseline; gap: 8px; }
.range-demo__top b { font: 800 2rem/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.range-demo__top span { color: var(--color-muted); font-size: .85rem; }
input[type="range"] { width: 100%; height: 28px; margin-top: 10px; accent-color: var(--color-ice); cursor: pointer; }
.clock { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.clock span { font: 800 2.6rem/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.clock small { color: var(--color-muted); }

/* ── how it works: stations on a cable ────────────────────────────────── */
.route { padding-block: var(--section-pad) 24px; }
.route__list { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding-top: 44px; }
.route__list::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 16px); }
.route__st { position: relative; }
.route__n { position: absolute; top: -44px; left: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 700 .85rem var(--font-display); color: var(--color-ice); transition: background-color var(--dur-base), color var(--dur-base), transform .4s var(--spring); }
.route__st:hover .route__n { background: var(--color-brand); color: #fff; transform: translateY(-4px); }
.route__st h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: 18px; }
.route__st p { color: var(--color-text-2); font-size: .9rem; margin-top: 6px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-sec { padding-block: var(--section-pad) 40px; }
.faq-sec__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-sec__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-sec__grid .btn { margin-top: 22px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .catbar__list { grid-template-columns: repeat(4, 1fr); }
  .pays { grid-template-columns: repeat(4, 1fr); }
  .route__list { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .route__list::before { display: none; }
}
@media (max-width: 1100px) {
  .bento, .prot__grid { grid-template-columns: 1fr 1fr; }
  .box--about, .prot__grid .box:first-child { grid-column: 1 / -1; }
  .promo__card { grid-template-columns: 1fr; }
  .faq-sec__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-sec__grid > div:first-child { position: static; }
  .finder__bar { grid-template-columns: 1fr 1fr; }
  .finder__bar .input-ic { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero { min-height: 780px; height: 100svh; }
  .mural { inset: -10% -60% 30% -10%; grid-template-columns: repeat(3, 1fr); }
  .mural__col:nth-child(4) { display: none; }
  .hero__slide::before { background: linear-gradient(0deg, var(--surface-0) 30%, rgba(12, 16, 22, .7) 60%, rgba(12, 16, 22, .35)), linear-gradient(180deg, rgba(12, 16, 22, .85), transparent 18%); }
  .hero__copy { bottom: 170px; }
  .hero__nav { display: none; }
  .st__t { display: none; }
  .cable { bottom: 20px; }
  .catbar__list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-tile { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
  .cat-tile__ic { margin: 0; flex: none; }
  .cat-tile__nm { font-size: .86rem; }
  .cat-tile__n { display: none; }
  .shelf-sec { padding-top: 44px; }
  .sec-head__act .icon-btn { display: none; }
  .bento, .prot__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .pays { grid-template-columns: repeat(2, 1fr); }
  .route__list { grid-template-columns: 1fr; row-gap: 52px; }
  .promo__art { height: 220px; }
  .promo__c { width: 112px; }
  .finder__bar { grid-template-columns: 1fr; }
  .prov__chip { height: 52px; font-size: 1rem; padding: 0 20px; }
}
@media (max-width: 389px) {
  .hero__h1 { font-size: 2.45rem; }
}

/* ── gate fixes (S6 flow.js) ──────────────────────────────────────────── */
.catbar__list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.cat-tile__nm { overflow-wrap: anywhere; hyphens: auto; }
.prot .seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prot .seg button { padding: 0 4px; font-size: .78rem; white-space: nowrap; }
@media (max-width: 1240px) { .catbar__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .catbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .finder .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--container-pad) * -1); padding-inline: var(--container-pad); padding-block: 4px; }
  .finder .chip { flex: none; }
}

/* wide.css */
/* Шире 1440: раскладка стоит по центру, фоны секций — во всю ширину. Каждой
 * секции верхнего уровня — её боковой паддинг плюс половина «лишней» ширины
 * окна. Абсолютные декорации, привязанные к краю секции, сдвигаются margin'ом на
 * ту же величину. Ниже 1441 не срабатывает. Проверка на 1920 — обязательная часть
 * S6 (flow.js включает 1920). См. site-task/S5-build.md, «Ширины шире 1440». */
@media (min-width: 1441px) {
  :root { --edge: calc((100vw - 1440px) / 2); }
  /* секции с боковым паддингом 60 — перечислить все верхнеуровневые блоки */
  /* .site-header, .hero, .section-a { padding-inline: calc(60px + var(--edge)); } */
  /* секции с паддингом 80 */
  /* .legal-body { padding-inline: calc(80px + var(--edge)); } */
  /* секции, у которых паддинг живёт на детях */
  /* .hero-split { padding-inline: var(--edge); } */
  /* абсолютные декорации у левого / правого края */
  /* .hero__wm { margin-left: var(--edge); }  .featured__wm { margin-right: var(--edge); } */
}

/* motion.css */
/* Motion, loaded last: reveal, keyframes, and the reduced-motion block.
 *
 *   · only opacity, transform, colour, shadow and filter are animated;
 *   · the first screen does not animate in (LCP) — the hero H1 is static;
 *   · the end state is the resting layout.
 * Signature motion (S3): the gondola riding the cable as the hero slider progress.
 */

/* hidden only when a script will reveal it: without JS the content is simply there */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: 50ms; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: 100ms; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: 150ms; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: 200ms; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: 250ms; }
[data-reveal-group] > [data-reveal]:nth-child(7) { transition-delay: 300ms; }
[data-reveal-group] > [data-reveal]:nth-child(8) { transition-delay: 350ms; }

/* Height is never animated: a row expands through grid-template-rows. */
.collapsible { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease); }
.collapsible.is-open { grid-template-rows: 1fr; }
.collapsible > * { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s var(--dur-slow); }
.collapsible.is-open > * { visibility: visible; transition-delay: 0s; }

html { scroll-behavior: smooth; }

@keyframes ping { 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes popf { 40% { transform: scale(1.35); } }
@keyframes bump { 40% { transform: scale(1.08); border-color: var(--color-live); } }
@keyframes stepin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateX(24px); } }
@keyframes slideup { from { opacity: 0; transform: translateY(30px); } }
@keyframes slidedown { to { opacity: 0; transform: translateY(30px); } }
@keyframes toastin { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes toastout { to { opacity: 0; transform: translateX(30px); } }
@keyframes up { to { transform: translateY(-50%); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
@keyframes sheen { 50% { background-position: 100% 0; } }
@keyframes sway { 50% { transform: rotate(3deg); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes capin { from { transform: translateY(100%); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .mural__col { animation: none !important; }
}

