/* ==========================================================================
   Costcodle — original visual system
   Cool warehouse light, water-blue gradients, receipt paper and warm price-tag
   accents. No Costco photography, logos or publisher UI is reproduced.
   ========================================================================== */

/* ---------- 01. Tokens -------------------------------------------------- */
:root {
  --ink: #072937;
  --ink-2: #0b3d4e;
  --body: #426472;
  --muted: #6b8793;
  --faint: #93aab4;

  --paper: #f5fcff;
  --white: #ffffff;
  --ice: #eaf9ff;
  --ice-2: #ddf5fd;
  --sky: #bfeffa;
  --aqua: #2ec4e0;
  --aqua-dark: #0e93b1;
  --teal: #0a5e73;
  --deep: #072937;
  --mint: #6de2c5;
  --mint-soft: #e4fbf4;
  --lemon: #ffd166;
  --lemon-soft: #fff6db;
  --coral: #ff7a59;
  --coral-soft: #fff0eb;
  --rose: #f49ab5;
  --violet: #8f9cf5;

  --line: rgba(7, 41, 55, 0.10);
  --line-strong: rgba(7, 41, 55, 0.18);
  --line-light: rgba(255, 255, 255, 0.18);

  --grad-page: linear-gradient(180deg, #f7fdff 0%, #eefaff 42%, #f8fdff 100%);
  --grad-hero: radial-gradient(90% 80% at 12% 0%, #d8f8ff 0%, rgba(216, 248, 255, 0) 58%),
    radial-gradient(70% 60% at 92% 10%, #e4fbf4 0%, rgba(228, 251, 244, 0) 55%),
    linear-gradient(180deg, #f9feff 0%, #eaf9ff 72%, #f8fdff 100%);
  --grad-aqua: linear-gradient(135deg, #2ec4e0 0%, #0a8cab 60%, #0a5e73 100%);
  --grad-aqua-soft: linear-gradient(135deg, #eafaff 0%, #c8f2fb 100%);
  --grad-mint: linear-gradient(135deg, #dffbf4 0%, #a8edda 100%);
  --grad-receipt: linear-gradient(180deg, #fffef8 0%, #fffdf4 100%);
  --grad-ink: linear-gradient(135deg, #072937 0%, #0a4254 60%, #0a5e73 100%);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(7, 41, 55, 0.05);
  --shadow-sm: 0 10px 30px -24px rgba(7, 41, 55, 0.32);
  --shadow: 0 30px 70px -46px rgba(7, 41, 55, 0.44);
  --shadow-lg: 0 50px 120px -62px rgba(7, 41, 55, 0.58);
  --shadow-aqua: 0 20px 44px -28px rgba(14, 147, 177, 0.46);

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  --step--1: clamp(0.78rem, 0.75rem + 0.1vw, 0.85rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.14vw, 1.05rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.25vw, 1.25rem);
  --step-2: clamp(1.34rem, 1.2rem + 0.62vw, 1.78rem);
  --step-3: clamp(1.74rem, 1.45rem + 1.2vw, 2.55rem);
  --step-4: clamp(2.2rem, 1.65rem + 2.5vw, 3.8rem);

  --shell: 1180px;
  --gutter: clamp(18px, 3.4vw, 34px);
  --header-h: 72px;
  --topbar-h: 38px;
}

/* ---------- 02. Reset and base ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--grad-page);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(10, 94, 115, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 94, 115, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 70%);
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h4 {
  font-size: var(--step-0);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--teal);
  text-decoration-color: rgba(10, 94, 115, 0.28);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--aqua-dark);
  text-decoration-color: currentColor;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  padding: 0.12em 0.34em;
  border: 1px solid rgba(10, 94, 115, 0.13);
  border-radius: 5px;
  background: rgba(46, 196, 224, 0.09);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

::selection {
  background: var(--sky);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

/* ---------- 03. Utilities ---------------------------------------------- */
.shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.shell--narrow {
  max-width: 860px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 5000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--aqua-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head h2 {
  max-width: 820px;
}

.section-head__text {
  max-width: 720px;
  margin-top: 16px;
  color: var(--body);
  font-size: var(--step-1);
  line-height: 1.55;
}

.section-head--center {
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center h2,
.section-head--center .section-head__text {
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 0.8rem;
  line-height: 1.55;
}

.lead {
  color: var(--ink-2);
  font-size: var(--step-1);
  line-height: 1.58;
}

.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 22px; }
.mt-lg { margin-top: 38px; }

.dot-sep {
  color: var(--faint);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(109, 226, 197, 0.18);
  vertical-align: 1px;
}

.text-link,
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.text-link span,
.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow::after {
  font-weight: 600;
}

.text-link:hover span,
.link-arrow:hover::after {
  transform: translateX(4px);
}

.text-link:hover,
.link-arrow:hover {
  color: var(--aqua-dark);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-button:hover {
  color: var(--aqua-dark);
}

/* ---------- 04. Buttons ------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--grad-aqua);
  color: var(--white);
  box-shadow: var(--shadow-aqua);
}

.button--primary:hover {
  color: var(--white);
  box-shadow: 0 24px 46px -24px rgba(14, 147, 177, 0.62);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

.button--ghost:hover {
  border-color: var(--aqua);
  background: var(--white);
  color: var(--teal);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  color: var(--white);
  background: var(--ink-2);
}

.button--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.82rem;
}

.button--text {
  min-height: 34px;
  padding: 6px 9px;
  border-color: transparent;
  background: transparent;
  color: var(--teal);
  font-size: 0.74rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button--text:hover {
  border-color: transparent;
  background: rgba(46, 196, 224, 0.08);
  color: var(--aqua-dark);
}

.button--wide {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-button:hover {
  border-color: var(--aqua);
  background: var(--white);
  transform: translateY(-1px);
}

.tag,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--sky { background: #dff7ff; color: #08677e; }
.tag--mint { background: var(--mint-soft); color: #17664d; }
.tag--lemon { background: var(--lemon-soft); color: #6b4b00; }
.tag--rose { background: #ffedf3; color: #8d3152; }

/* ---------- 05. Top bar and header ------------------------------------- */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--topbar-h);
  padding-block: 7px;
}

.topbar p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.topbar__sep {
  color: rgba(255, 255, 255, 0.28);
}

.topbar .status-dot {
  width: 6px;
  height: 6px;
}

.topbar__countdown {
  color: var(--sky);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(249, 254, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-stuck {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -36px rgba(7, 41, 55, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px -12px rgba(7, 41, 55, 0.6);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__sub {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  color: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav__list a:hover {
  background: rgba(46, 196, 224, 0.1);
  color: var(--teal);
}

.nav__list a[aria-current="page"] {
  background: var(--white);
  color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 17px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease;
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before {
  position: absolute;
  top: -5px;
  left: 0;
}

.nav-toggle__lines::after {
  position: absolute;
  top: 5px;
  left: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav__inner {
  display: grid;
  gap: 4px;
  padding-block: 14px 20px;
}

.mobile-nav__inner > a:not(.button) {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__inner > a[aria-current="page"] {
  background: var(--ice);
  color: var(--teal);
}

.mobile-nav .button {
  margin-top: 10px;
}

/* ---------- 06. Hero and game frame ------------------------------------ */
.hero {
  position: relative;
  padding: clamp(26px, 4vw, 46px) 0 0;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(10, 94, 115, 0.1);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.18), 0 0 0 94px rgba(46, 196, 224, 0.06);
}

.hero::after {
  bottom: 90px;
  left: -160px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(109, 226, 197, 0.24), transparent 68%);
}

.hero--game {
  padding-top: clamp(14px, 2vw, 22px);
}

.hero--game .game-row {
  margin-top: 0;
}

.hero__inner,
.game-row {
  position: relative;
  z-index: 1;
}

.hero__copy {
  max-width: 960px;
}

.hero__badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(10, 94, 115, 0.13);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 980px;
  margin-top: 16px;
  font-size: clamp(2.45rem, 1.6rem + 3.2vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 .accent {
  color: var(--teal);
  background: linear-gradient(105deg, #0a5e73 10%, #0e93b1 52%, #27b6c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  max-width: 760px;
  margin-top: 16px;
  color: var(--body);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 21px;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hero__facts strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__facts span {
  color: var(--muted);
  font-size: 0.78rem;
}

.game-row {
  margin-top: clamp(26px, 4vw, 42px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.game-home {
  position: relative;
}

.game-shell {
  position: relative;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.game-shell__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f4fcff 100%);
}

.game-shell__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.game-shell__brand img {
  width: 30px;
  height: 30px;
}

.game-shell__brand small {
  margin-left: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-shell__top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(10, 94, 115, 0.11);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

/* ---------- 07. Game cover and mode selection -------------------------- */
.game-panel {
  position: relative;
}

.game-start {
  padding: clamp(18px, 3vw, 30px);
  background: radial-gradient(90% 70% at 0% 0%, rgba(191, 239, 250, 0.5), transparent 60%),
    linear-gradient(135deg, #f8feff 0%, #eefaff 100%);
}

.game-cover {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  min-height: 390px;
}

.game-cover__intro {
  position: relative;
  padding: 8px 0 8px 4px;
}

.cover-art {
  position: relative;
  width: 158px;
  height: 158px;
  margin-bottom: 18px;
}

.cover-art__ring {
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(10, 94, 115, 0.22);
  border-radius: 50%;
  animation: slow-spin 34s linear infinite;
}

.cover-art__logo {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 40px;
  box-shadow: 0 24px 44px -28px rgba(10, 94, 115, 0.65);
}

.cover-art__chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(10, 94, 115, 0.14);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  box-shadow: 0 8px 18px -14px rgba(7, 41, 55, 0.4);
}

.cover-art__chip--one {
  top: 4px;
  right: -44px;
  background: var(--lemon);
  transform: rotate(5deg);
}

.cover-art__chip--two {
  bottom: 5px;
  left: -24px;
  transform: rotate(-4deg);
}

.cover-art__chip--three {
  right: -36px;
  bottom: 26px;
  background: var(--mint);
  transform: rotate(3deg);
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.game-cover__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.game-cover__tagline {
  margin-top: 8px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.game-cover__tagline em {
  color: var(--aqua-dark);
  font-style: normal;
}

.game-cover__text {
  max-width: 390px;
  margin-top: 14px;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.58;
}

.game-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.game-cover__meta strong {
  color: var(--teal);
  font-size: 0.78rem;
}

.game-cover__fine {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.5;
}

.game-cover__modes {
  padding: 20px;
  border: 1px solid rgba(10, 94, 115, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px -54px rgba(7, 41, 55, 0.45);
  backdrop-filter: blur(10px);
}

.mode-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mode-head h3 {
  font-size: 1.35rem;
}

.mode-head .eyebrow {
  margin: 0;
  font-size: 0.61rem;
}

.mode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mode-card + .mode-card {
  margin-top: 8px;
}

.mode-card:hover {
  z-index: 1;
  border-color: rgba(46, 196, 224, 0.55);
  background: #fcfeff;
  box-shadow: 0 18px 32px -30px rgba(7, 41, 55, 0.42);
  transform: translateY(-2px);
}

.mode-card:focus-visible {
  outline-offset: 2px;
}

.mode-card--daily {
  background: linear-gradient(100deg, #ffffff 0%, #effbff 100%);
}

.mode-card--classic {
  background: linear-gradient(100deg, #ffffff 0%, #effcf7 100%);
}

.mode-card--unlimited {
  background: linear-gradient(100deg, #ffffff 0%, #fffaf0 100%);
}

.mode-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--ice);
}

.mode-card__icon img {
  width: 48px;
  height: 48px;
}

.mode-card__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mode-card__kicker {
  color: var(--aqua-dark);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.mode-card__copy strong {
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mode-card__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-card__badge {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 600;
  white-space: nowrap;
}

.mode-card__badge.is-done {
  background: var(--mint-soft);
  color: #17664d;
}

.mode-card__arrow {
  color: var(--aqua-dark);
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.mode-card:hover .mode-card__arrow {
  transform: translateX(3px);
}

.player-setup {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.player-setup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.player-setup__head small {
  color: var(--muted);
  font-weight: 400;
}

.player-setup__hint {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
}

.player-setup__row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.player-setup__row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
}

.player-setup__row .button {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.72rem;
}

.player-setup__status {
  min-height: 16px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.player-setup__status.is-error {
  color: #a52b3d;
}

.checkline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
  font-size: 0.74rem;
  white-space: nowrap;
  cursor: pointer;
}

.checkline input {
  width: 15px;
  height: 15px;
  accent-color: var(--aqua-dark);
}

.game-cover__tiles {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(10, 94, 115, 0.16);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.game-cover__tiles span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.game-cover__tiles i {
  color: rgba(10, 94, 115, 0.32);
  font-style: normal;
}

.game-cover__tiles .is-target {
  background: var(--lemon);
  color: #5a3b00;
  font-weight: 700;
}

.game-status {
  margin-top: 12px;
  padding: 10px 13px;
  border: 1px solid rgba(46, 196, 224, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
  font-size: 0.78rem;
}

.game-status.is-error {
  border-color: rgba(255, 122, 89, 0.35);
  background: var(--coral-soft);
  color: #8b2d19;
}

/* ---------- 08. Gameplay ------------------------------------------------- */
.game-play {
  padding: clamp(15px, 2.4vw, 24px);
  background: radial-gradient(80% 100% at 100% 0%, rgba(191, 239, 250, 0.44), transparent 58%),
    linear-gradient(180deg, #fbfeff 0%, #f3fcff 100%);
}

.game-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-topline__left,
.game-topline__right {
  display: flex;
  align-items: center;
  gap: 9px;
}

.game-mode {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.round-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.game-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.game-timer svg {
  width: 16px;
  height: 16px;
  color: var(--aqua-dark);
}

.progress-pips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.progress-pips span {
  display: block;
  flex: 1 1 0;
  min-width: 14px;
  height: 5px;
  border-radius: 3px;
  background: rgba(10, 94, 115, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.progress-pips--long {
  gap: 3px;
}

.progress-pips--long span {
  min-width: 6px;
}

.progress-pips span.is-done {
  background: var(--aqua);
}

.progress-pips span.is-current {
  background: var(--lemon);
  transform: scaleY(1.5);
}

.progress-pips span.is-miss {
  background: var(--coral);
}

.game-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-top: 14px;
}

.product-panel {
  position: relative;
  padding: clamp(17px, 2.4vw, 26px);
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px -50px rgba(7, 41, 55, 0.42);
}

.product-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-hidden {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.price-hidden.is-revealed {
  color: #17664d;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 64vw);
  aspect-ratio: 1;
  margin: 16px auto 12px;
  border: 2px solid rgba(46, 196, 224, 0.28);
  border-radius: 30px;
  background: linear-gradient(155deg, #ffffff 0%, #f1fcff 58%, #dff7ff 100%);
  box-shadow: 0 24px 44px -36px rgba(7, 41, 55, 0.35), inset 0 0 0 7px rgba(255, 255, 255, 0.5);
}

.product-visual__glow {
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(10, 94, 115, 0.18);
  border-radius: 23px;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 38%;
  height: 38%;
}

.product-visual__question {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 5%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--lemon);
  color: #5a3b00;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 20px -14px rgba(90, 59, 0, 0.6);
  transform: rotate(7deg);
}

.product-kicker {
  color: var(--aqua-dark);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.product-name {
  max-width: 640px;
  margin: 6px auto 0;
  font-size: clamp(1.25rem, 1.08rem + 0.88vw, 1.95rem);
  line-height: 1.1;
  text-align: center;
}

.product-note {
  max-width: 470px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.price-form {
  margin-top: 16px;
}

.price-form > label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.price-field {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(10, 94, 115, 0.2);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 41, 55, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.price-field:focus-within {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(46, 196, 224, 0.14);
}

.price-field__currency {
  display: grid;
  place-items: center;
  width: 44px;
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.price-field input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  outline: 0;
}

.price-field input::placeholder {
  color: var(--faint);
}

.price-field .button {
  flex: 0 0 auto;
  min-height: 54px;
  border-radius: 0;
  padding-inline: 18px;
  font-size: 0.84rem;
}

.price-form__hint {
  margin-top: 7px;
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.45;
}

.price-form.is-disabled .price-field {
  opacity: 0.55;
  pointer-events: none;
}

.game-hint {
  min-height: 38px;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.game-hint:empty {
  display: none;
}

.game-hint.is-hint {
  border-color: rgba(255, 209, 102, 0.48);
  background: var(--lemon-soft);
  color: #6b4b00;
}

.game-hint.is-correct {
  border-color: rgba(109, 226, 197, 0.55);
  background: var(--mint-soft);
  color: #17664d;
}

.game-hint.is-miss {
  border-color: rgba(255, 122, 89, 0.38);
  background: var(--coral-soft);
  color: #8b2d19;
}

.game-feedback {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(46, 196, 224, 0.24);
  border-radius: 10px;
  background: var(--ice);
  color: var(--ink-2);
  font-size: 0.78rem;
}

.receipt-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  border: 1px solid rgba(144, 113, 64, 0.22);
  border-radius: 4px;
  background: var(--grad-receipt);
  box-shadow: 0 24px 50px -46px rgba(7, 41, 55, 0.55);
  color: #26363b;
}

.receipt-panel::before,
.receipt-panel::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 9px;
  pointer-events: none;
  background-image: radial-gradient(circle at 4.5px 0, transparent 4.5px, #fffdf4 5px);
  background-size: 9px 9px;
  background-repeat: repeat-x;
}

.receipt-panel::before {
  top: -5px;
  transform: rotate(180deg);
}

.receipt-panel::after {
  bottom: -5px;
}

.receipt-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(38, 54, 59, 0.24);
}

.receipt-panel__brand {
  display: block;
  color: #0b3d4e;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.receipt-panel__sub {
  display: block;
  margin-top: 1px;
  color: #6c7b7e;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.11em;
}

.receipt-panel__edition {
  color: #6c7b7e;
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.receipt-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(38, 54, 59, 0.18);
  color: #6c7b7e;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  text-transform: uppercase;
}

.receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 186px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.receipt-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
  padding-bottom: 6px;
  border-bottom: 1px dotted rgba(38, 54, 59, 0.16);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.4;
}

.receipt-line__num {
  color: #93a2a4;
}

.receipt-line__name {
  overflow: hidden;
  color: #26363b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receipt-line__detail {
  color: #7b888a;
  font-size: 0.54rem;
  grid-column: 2 / -1;
}

.receipt-line__value {
  color: #0b3d4e;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.receipt-line.is-open .receipt-line__name {
  color: #8a6a25;
}

.receipt-line.is-open .receipt-line__value {
  color: #8a6a25;
}

.receipt-line.is-miss .receipt-line__value {
  color: #b34a2f;
}

.receipt-line.is-solved .receipt-line__value {
  color: #177a5d;
}

.receipt-line.is-empty {
  color: #b8c2c2;
}

.receipt-totals {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 2px solid rgba(38, 54, 59, 0.55);
}

.receipt-totals div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.receipt-totals span {
  color: #6c7b7e;
  text-transform: uppercase;
}

.receipt-totals strong {
  color: #0b3d4e;
  font-size: 0.78rem;
}

.receipt-panel__barcode {
  height: 26px;
  margin-top: 10px;
  background: repeating-linear-gradient(90deg, #26363b 0 2px, transparent 2px 5px, #26363b 5px 6px, transparent 6px 10px);
  opacity: 0.55;
}

.receipt-panel__foot {
  margin-top: 5px;
  color: #7b888a;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-align: center;
}

.game-utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.utility-stats,
.utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.utility-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.utility-chip strong {
  color: var(--ink-2);
}

.utility-chip--pause {
  background: var(--lemon-soft);
  border-color: rgba(255, 209, 102, 0.45);
  color: #6b4b00;
}

.utility-chip--pause strong {
  color: #6b4b00;
}

.utility-chip--strikes {
  background: var(--coral-soft);
  border-color: rgba(255, 122, 89, 0.3);
  color: #8b2d19;
}

.utility-chip--strikes strong {
  color: #8b2d19;
}

.pause-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 209, 102, 0.55);
  border-radius: 12px;
  background: linear-gradient(100deg, #fff8e2, #fff3ca);
  color: #5a3b00;
  font-size: 0.76rem;
}

.pause-banner strong {
  margin-right: 6px;
}

.pause-banner span {
  color: #755728;
}

.product-visual__question.is-revealed {
  width: auto;
  min-width: 92px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--white);
  background: var(--mint);
  color: #0a4c3d;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transform: rotate(0);
  box-shadow: 0 12px 24px -16px rgba(7, 41, 55, 0.5);
}

.next-product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(109, 226, 197, 0.55);
  border-radius: 12px;
  background: linear-gradient(100deg, #effcf7, #dffbf2);
  color: #17664d;
}

.next-product__count {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #17664d;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.next-product__copy {
  color: #17664d;
  font-size: 0.78rem;
  font-weight: 600;
}

.next-product__copy b {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ---------- 09. Result and poster -------------------------------------- */
.game-result {
  padding: clamp(16px, 2.6vw, 28px);
  scroll-margin-top: calc(var(--header-h) + 16px);
  background: radial-gradient(80% 90% at 100% 0%, rgba(255, 209, 102, 0.11), transparent 54%),
    linear-gradient(180deg, #fbfeff 0%, #f0fbff 100%);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.result-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.result-medal {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
}

.result-medal img {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 16px 20px rgba(7, 41, 55, 0.14));
}

.result-medal span {
  position: absolute;
  right: -6px;
  bottom: -3px;
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 29px;
  padding-inline: 6px;
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.result-kicker {
  color: var(--aqua-dark);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-title {
  margin-top: 2px;
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.3rem);
}

.result-tagline {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.result-stats li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.8);
}

.result-stats span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-stats strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.result-stats small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.6rem;
}

.result-message {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--aqua);
  background: rgba(46, 196, 224, 0.07);
  color: var(--ink-2);
  font-size: 0.8rem;
}

.result-name-panel {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
}

.result-name-panel__head p:last-child {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.result-name-row {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 9px;
}

.result-name-row .field {
  flex: 1 1 auto;
  min-width: 0;
}

.result-name-row .field label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
}

.result-name-row input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
}

.name-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
}

.name-chips > span {
  margin-right: 2px;
  color: var(--faint);
  font-size: 0.64rem;
}

.name-chip {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--teal);
  font-size: 0.63rem;
  font-weight: 600;
}

.name-chip:hover {
  border-color: var(--aqua);
  background: var(--ice);
}

.result-name-skip {
  margin-top: 6px;
}

.form-status {
  min-height: 16px;
  margin-top: 5px;
  font-size: 0.7rem;
  line-height: 1.4;
}

.form-status.is-error {
  color: #a52b3d;
}

.form-status.is-ok {
  color: #17664d;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.result-next {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(234, 249, 255, 0.8));
}

.result-next h3 {
  font-size: 1rem;
}

.result-next p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.result-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 9px;
}

.result-next__links a {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
}

.result-poster {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.poster-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.poster-frame canvas {
  width: 100%;
  height: auto;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.poster-actions .button {
  flex: 1 1 auto;
}

.poster-share {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.poster-share .share-strip {
  margin-top: 6px;
}

.poster-share .share-btn {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 0.6rem;
}

/* ---------- 10. Fullscreen --------------------------------------------- */
.game-home.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 10px;
  overflow: auto;
  background: rgba(7, 41, 55, 0.96);
}

.game-home.is-fullscreen .game-shell {
  width: min(1240px, 100%);
  min-height: calc(100vh - 20px);
  margin: 0 auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.game-home.is-fullscreen .game-underbar {
  display: none;
}

.game-home:fullscreen {
  width: 100%;
  height: 100%;
  padding: 0;
  background: var(--deep);
  overflow: auto;
}

.game-home:fullscreen .game-shell {
  width: min(1280px, 100%);
  min-height: 100%;
  margin: 0 auto;
  border-radius: 0;
}

.game-home:fullscreen .game-underbar {
  display: none;
}

/* ---------- 11. Social share bar --------------------------------------- */
.game-underbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
}

.share-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.share-strip__label {
  margin-right: 3px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  border-color: var(--aqua);
  color: var(--teal);
  text-decoration: none;
}

.share-btn--x:hover { background: #f4f7f8; }
.share-btn--facebook:hover { background: #eef4ff; border-color: #b8cdfa; color: #1d4ed8; }
.share-btn--reddit:hover { background: #fff2e9; border-color: #ffc6a3; color: #b4470a; }
.share-btn--pinterest:hover { background: #fff0f0; border-color: #ffc2c2; color: #b42318; }
.share-btn--instagram:hover { background: #fff0f7; border-color: #ffc4dd; color: #a32768; }
.share-btn--whatsapp:hover { background: #eefbf0; border-color: #b9e8c1; color: #176b36; }

.underbar-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

/* ---------- 12. Trust strip and sections ------------------------------- */
.trust-strip {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 12px;
  color: var(--muted);
  font-size: 0.73rem;
}

.trust-strip strong {
  color: var(--ink-2);
}

.section {
  padding-block: clamp(54px, 7vw, 92px);
}

.section--tint {
  background: linear-gradient(180deg, rgba(234, 249, 255, 0.6) 0%, rgba(234, 249, 255, 0.96) 50%, rgba(245, 252, 255, 0.7) 100%);
  border-top: 1px solid rgba(10, 94, 115, 0.07);
  border-bottom: 1px solid rgba(10, 94, 115, 0.07);
}

.section--tight {
  padding-block: clamp(42px, 5vw, 64px);
}

.section--ink {
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.78);
}

.section--ink h2,
.section--ink h3,
.section--ink .eyebrow {
  color: var(--white);
}

.section--ink .eyebrow {
  color: var(--sky);
}

.section--ink p {
  color: rgba(255, 255, 255, 0.76);
}

.section--ink a {
  color: var(--sky);
}

.section--ink .figure {
  border-color: rgba(255, 255, 255, 0.16);
}

.section--ink .figure figcaption {
  color: rgba(255, 255, 255, 0.58);
}

.section--ink .formula-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.section--ink .formula-card p,
.section--ink .formula-card span {
  color: rgba(255, 255, 255, 0.72);
}

.section--ink .formula {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--reverse .figure {
  order: -1;
}

.section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-head + p {
  margin-top: 0;
}

.figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--ice);
  box-shadow: var(--shadow);
}

.figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.figure:hover img {
  transform: scale(1.018);
}

.figure figcaption {
  padding: 11px 14px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.fact-card,
.stack-card,
.quote-card,
.aside-card {
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.fact-card {
  padding: 24px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(191, 239, 250, 0.55), transparent 58%),
    var(--white);
}

.fact-card dl {
  display: grid;
  gap: 0;
  margin: 17px 0 20px;
}

.fact-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  border-bottom: 1px dotted var(--line-strong);
}

.fact-card dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.fact-card dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
}

.callout {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(46, 196, 224, 0.25);
  border-left: 3px solid var(--aqua);
  border-radius: 0 12px 12px 0;
  background: rgba(234, 249, 255, 0.8);
  color: var(--ink-2);
  font-size: 0.83rem;
  line-height: 1.55;
}

.callout strong {
  color: var(--ink);
}

.callout--warn {
  border-color: rgba(255, 209, 102, 0.45);
  border-left-color: var(--lemon);
  background: var(--lemon-soft);
}

.mode-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mode-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mode-feature::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(10, 94, 115, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(46, 196, 224, 0.04);
}

.mode-feature--daily { background: linear-gradient(150deg, #ffffff 0%, #effbff 100%); }
.mode-feature--classic { background: linear-gradient(150deg, #ffffff 0%, #effcf7 100%); }
.mode-feature--unlimited { background: linear-gradient(150deg, #ffffff 0%, #fffaf0 100%); }

.mode-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mode-feature__meta {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  text-align: right;
}

.mode-feature h3 {
  margin-top: 16px;
  font-size: 1.38rem;
}

.mode-feature p {
  margin-top: 9px;
  color: var(--body);
  font-size: 0.83rem;
  line-height: 1.58;
}

.mode-feature .check-list {
  margin-top: 12px;
}

.mode-feature .text-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8rem;
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 7px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #17664d;
  font-size: 0.58rem;
  font-weight: 800;
}

.check-list--small li {
  font-size: 0.76rem;
  margin-top: 5px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.step-list > li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(10, 94, 115, 0.13);
  border-radius: 12px;
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}

.step-list h3 {
  margin: 3px 0 3px;
  font-size: 1rem;
}

.step-list p {
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.5;
}

.step-list--compact li {
  grid-template-columns: 36px minmax(0, 1fr);
}

.step-list--compact > li > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.mini-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
}

.mini-table div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 13px;
  background: var(--white);
  font-size: 0.78rem;
}

.mini-table span {
  color: var(--muted);
}

.mini-table strong {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.pause-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: 15px;
  background: var(--lemon-soft);
}

.pause-demo__timer {
  color: #5a3b00;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
}

.pause-demo__tokens {
  display: flex;
  gap: 4px;
}

.pause-demo__tokens i {
  display: block;
  width: 22px;
  height: 9px;
  border-radius: 3px;
  background: var(--aqua);
}

.pause-demo__tokens i.is-empty {
  background: rgba(10, 94, 115, 0.14);
}

.pause-demo__label {
  color: #755728;
  font-size: 0.72rem;
}

.formula-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.formula {
  margin: 7px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.formula span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
}

.formula-card > p:last-child {
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.55;
}

.anchor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.anchor-grid > div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.anchor-grid p {
  margin-top: 7px;
  color: var(--body);
  font-size: 0.76rem;
  line-height: 1.5;
}

.example-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 15px;
  background: linear-gradient(140deg, #fffdf6, #fff8e4);
}

.example-card h3 {
  margin-top: 6px;
}

.example-card ol,
.example-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.example-card li {
  margin-top: 5px;
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.5;
}

.number-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.number-list li {
  margin-top: 7px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.55;
}

.number-list strong {
  color: var(--ink-2);
}

.subhead {
  margin-bottom: 7px;
  font-size: 1.2rem;
}

/* ---------- 13. Leaderboard -------------------------------------------- */
.leaderboard-card {
  overflow: hidden;
  border: 1px solid rgba(10, 94, 115, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.board-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f2fcff);
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ice);
}

.segmented button {
  padding: 6px 11px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.segmented button:hover {
  color: var(--teal);
}

.segmented button[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px -4px rgba(7, 41, 55, 0.24);
}

.segmented button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.segmented--light {
  background: rgba(255, 255, 255, 0.72);
}

.board-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.board-table,
.compare-table table,
.rank-table,
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.board-table th,
.board-table td {
  padding: 10px 13px;
  border-bottom: 1px solid rgba(10, 94, 115, 0.08);
  font-size: 0.74rem;
  vertical-align: middle;
}

.board-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8feff;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-table tbody tr:hover {
  background: rgba(46, 196, 224, 0.045);
}

.board-table tbody tr:last-child td {
  border-bottom: 0;
}

.board-rank {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.board-rank.is-top {
  border-color: rgba(255, 209, 102, 0.6);
  background: var(--lemon);
  color: #5a3b00;
}

.board-player {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 130px;
  color: var(--ink);
  font-weight: 600;
}

.board-flag {
  font-size: 0.92rem;
  line-height: 1;
}

.board-player small {
  display: block;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  font-weight: 400;
}

.board-score {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.board-muted {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.board-tier {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  white-space: nowrap;
}

.board-empty {
  padding: 32px 16px !important;
  color: var(--muted);
  text-align: center !important;
}

.board-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.66rem;
}

.board-foot .text-link {
  font-size: 0.7rem;
}

.leaderboard-card--page .board-table th,
.leaderboard-card--page .board-table td {
  padding: 12px 15px;
}

.leaderboard-card--page .board-table td {
  font-size: 0.8rem;
}

/* ---------- 14. Content cards, tables, guides -------------------------- */
.compare-table {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.compare-table table {
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 0.77rem;
  vertical-align: top;
  text-align: left;
}

.compare-table th {
  background: var(--ice);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.guide-card--wide {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 40px);
  background: radial-gradient(110% 100% at 100% 0%, rgba(191, 239, 250, 0.55), transparent 58%),
    linear-gradient(150deg, #ffffff, #f1fbff);
}

.guide-card h2 {
  margin-top: 4px;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
}

.guide-card h3 {
  margin-top: 9px;
}

.guide-card p {
  margin-top: 9px;
  color: var(--body);
  font-size: 0.83rem;
  line-height: 1.55;
}

.guide-card .button,
.guide-card .link-arrow {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 17px;
}

.guide-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(110% 100% at 100% 0%, rgba(191, 239, 250, 0.5), transparent 60%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.guide-panel h2 {
  margin-top: 5px;
}

.guide-panel p {
  margin-top: 12px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.6;
}

.guide-panel .button {
  margin-top: 20px;
}

.quote-card {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.03);
}

.quote-card__mark {
  color: var(--lemon);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.7;
}

.quote-card__text {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.quote-card__byline {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.stack-card {
  padding: 24px;
}

.stack-card h3 {
  margin-top: 3px;
}

.stack-card p {
  margin-top: 9px;
  color: var(--body);
  font-size: 0.83rem;
}

.stack-card .text-link {
  margin-top: 14px;
  font-size: 0.8rem;
}

.aside-card {
  padding: 20px;
}

.aside-card h3 {
  margin-top: 2px;
  font-size: 1.12rem;
}

.aside-card p {
  margin-top: 8px;
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.55;
}

.aside-card--sticky {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.aside-card .button {
  margin-top: 15px;
}

.aside-card nav {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.aside-card nav a {
  color: var(--body);
  font-size: 0.76rem;
  text-decoration: none;
}

.aside-card nav a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(100% 100% at 100% 0%, rgba(191, 239, 250, 0.46), transparent 58%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.author-card__photo {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.author-card h2 {
  margin-top: 2px;
}

.author-card p {
  margin-top: 6px;
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.55;
}

.author-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 11px;
}

.author-card__links a {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 600;
}

.source-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.source-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  gap: 8px 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.source-list a {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
}

.source-list span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ---------- 15. FAQ and community -------------------------------------- */
.faq-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h2,
.faq-item h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.faq-item p {
  max-width: 780px;
  margin-top: 7px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.58;
}

.section--community {
  background: linear-gradient(180deg, rgba(234, 249, 255, 0.55), rgba(255, 255, 255, 0.9));
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.community-grid--form {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.community-grid--feed {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.note-form {
  padding: 22px;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.note-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.note-form h3 {
  font-size: 1.2rem;
}

.note-form > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.field {
  margin-top: 10px;
}

.field-grid .field {
  margin-top: 0;
}

.field label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.captcha-row input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.captcha-row input:focus {
  border-color: var(--aqua);
  outline: 3px solid rgba(46, 196, 224, 0.14);
}

.field__hint {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 0.62rem;
  line-height: 1.45;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 9px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--ice);
  color: var(--muted);
  font-size: 0.7rem;
}

.captcha-row strong {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.captcha-row input {
  width: 72px;
  min-height: 34px;
  padding: 5px 8px;
}

.captcha-row .text-button {
  font-size: 0.65rem;
}

.note-form > .button {
  margin-top: 11px;
}

#ugc-comment-feed {
  display: grid;
  gap: 9px;
  min-height: 150px;
}

.feed-empty,
.feed-status {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.feed-empty strong {
  display: block;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.feed-empty p {
  margin-top: 4px;
}

.note {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.note__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.note__author {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.note__role {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ice);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.note__body {
  margin-top: 6px;
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.note__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.note__flag {
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ---------- 16. Video facade ------------------------------------------- */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  text-align: left;
}

.video-facade img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.video-facade:hover img {
  opacity: 0.92;
  transform: scale(1.02);
}

.video-facade__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 41, 55, 0.08) 20%, rgba(7, 41, 55, 0.72) 100%);
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(46, 196, 224, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
}

.video-facade__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--white);
}

.video-facade__copy {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.video-facade__copy strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  letter-spacing: -0.02em;
}

.video-facade__copy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 17. Article, breadcrumbs, page hero ------------------------ */
.breadcrumb {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 11px 0;
  list-style: none;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(10, 94, 115, 0.28);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.page-hero {
  position: relative;
  padding-block: clamp(42px, 6vw, 76px);
  background: radial-gradient(80% 100% at 10% 0%, rgba(191, 239, 250, 0.52), transparent 60%),
    linear-gradient(180deg, #f9feff 0%, #eefaff 100%);
  border-bottom: 1px solid rgba(10, 94, 115, 0.07);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(10, 94, 115, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.2);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}

.page-hero h1 {
  margin-top: 9px;
  font-size: clamp(2.1rem, 1.6rem + 2.1vw, 3.4rem);
}

.page-hero__lede {
  max-width: 760px;
  margin-top: 14px;
  color: var(--body);
  font-size: clamp(0.98rem, 0.94rem + 0.22vw, 1.12rem);
  line-height: 1.6;
}

.page-hero__meta {
  margin-top: 14px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.article {
  min-width: 0;
}

.article > h2 {
  margin-top: 38px;
  scroll-margin-top: calc(var(--header-h) + 18px);
  font-size: clamp(1.45rem, 1.22rem + 0.9vw, 2rem);
}

.article > h2:first-child {
  margin-top: 0;
}

.article > h3 {
  margin-top: 24px;
  font-size: 1.14rem;
}

.article > p {
  margin-top: 12px;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.68;
}

.article > ul,
.article > ol {
  margin-top: 11px;
}

.article > ul:not(.check-list):not(.source-list):not(.credits-list),
.article > ol:not(.number-list):not(.step-list) {
  padding-left: 20px;
}

.article > ul:not(.check-list):not(.source-list):not(.credits-list) li,
.article > ol:not(.number-list):not(.step-list) li {
  margin-top: 5px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.6;
}

.article .callout p {
  margin-top: 0;
}

.article-aside {
  position: relative;
}

.article .source-list {
  margin-top: 14px;
}

.article .source-list li {
  grid-template-columns: 1fr;
  gap: 3px;
}

.stat-list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.stat-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 7px;
  border-bottom: 1px dotted var(--line-strong);
}

.stat-list dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.stat-list dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
}

.rank-table-wrap,
.cookie-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.rank-table,
.cookie-table {
  min-width: 620px;
}

.rank-table th,
.rank-table td,
.cookie-table th,
.cookie-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 0.74rem;
  text-align: left;
  vertical-align: top;
}

.rank-table th,
.cookie-table th {
  background: var(--ice);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rank-table tr:last-child td,
.cookie-table tr:last-child td {
  border-bottom: 0;
}

.rank-mark {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding-inline: 5px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
}

.price-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.price-code-grid article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.price-code {
  display: inline-block;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price-code-grid h3 {
  margin-top: 4px;
  font-size: 0.95rem;
}

.price-code-grid p {
  margin-top: 5px;
  color: var(--body);
  font-size: 0.76rem;
  line-height: 1.5;
}

.credits-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.credits-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 0.82rem;
}

.author-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.author-profile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 100% 0%, rgba(191, 239, 250, 0.55), transparent 60%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.author-profile__photo {
  width: 140px;
  height: 140px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.author-profile h2 {
  margin-top: 6px;
  font-size: 1.9rem;
}

.author-profile__role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.author-profile__links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}

.author-profile__links .button {
  width: 100%;
}

/* ---------- 18. Footer -------------------------------------------------- */
.site-footer {
  margin-top: 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(4, minmax(110px, 0.7fr));
  gap: 30px 24px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer:hover {
  color: var(--white);
}

.brand--footer .brand__sub {
  color: rgba(255, 255, 255, 0.42);
}

.footer-brand p {
  max-width: 330px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-brand .footer-small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.66rem;
}

.footer-col h2 {
  margin-bottom: 11px;
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 36px;
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.64rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 18b. Game cover, modes and product photos ------------------ */
.game-cover-panel {
  padding: clamp(14px, 2.2vw, 22px);
  background: radial-gradient(80% 80% at 8% 0%, rgba(191, 239, 250, 0.66), transparent 58%),
    radial-gradient(60% 70% at 100% 100%, rgba(255, 209, 102, 0.16), transparent 60%),
    linear-gradient(140deg, #f9feff 0%, #eafaff 100%);
}

.cover-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(8px, 2vw, 26px);
  align-items: center;
  min-height: 500px;
  padding: 4px 10px 0;
}

.cover-stage__art {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
}

.cover-stage__glow {
  position: absolute;
  width: min(78%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 224, 0.3) 0%, rgba(109, 226, 197, 0.14) 42%, transparent 68%);
  filter: blur(12px);
}

.cover-stage__ring {
  position: absolute;
  width: min(86%, 570px);
  aspect-ratio: 1;
  border: 1px dashed rgba(10, 94, 115, 0.2);
  border-radius: 50%;
  animation: slow-spin 44s linear infinite;
}

.cover-mascot {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  height: auto;
  filter: drop-shadow(0 30px 36px rgba(7, 41, 55, 0.14));
  animation: mascot-bob 5.5s ease-in-out infinite;
}

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-9px) rotate(0.5deg); }
}

.cover-sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px -16px rgba(7, 41, 55, 0.55);
  white-space: nowrap;
}

.cover-sticker--one {
  top: 9%;
  left: 0;
  background: var(--lemon);
  transform: rotate(-6deg);
}

.cover-sticker--two {
  top: 20%;
  right: 0;
  background: var(--mint);
  transform: rotate(5deg);
}

.cover-sticker--three {
  right: 7%;
  bottom: 13%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  transform: rotate(8deg);
}

.cover-spark {
  position: absolute;
  z-index: 2;
  color: var(--lemon);
  font-size: 1.3rem;
  text-shadow: 0 2px 0 rgba(138, 75, 0, 0.2);
  animation: sparkle 3.8s ease-in-out infinite;
}

.cover-spark--one { top: 12%; right: 10%; }
.cover-spark--two { bottom: 23%; left: 8%; animation-delay: 1.2s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}

.cover-stage__copy {
  position: relative;
  z-index: 2;
  padding: 8px 4px 8px 0;
}

.cover-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 2.1rem + 3.7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.cover-tagline {
  margin-top: 12px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.05rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cover-tagline em {
  color: var(--aqua-dark);
  font-style: normal;
}

.cover-lede {
  max-width: 420px;
  margin-top: 14px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.58;
}

.cover-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 22px 10px 11px;
  border: 2px solid rgba(7, 41, 55, 0.16);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffe49a 0%, #ffd166 52%, #ffbb45 100%);
  color: #4f3200;
  box-shadow: 0 18px 38px -22px rgba(138, 75, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cover-play:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 24px 46px -22px rgba(138, 75, 0, 0.7);
}

.cover-play:active {
  transform: translateY(0);
}

.cover-play__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  text-indent: 2px;
  box-shadow: 0 8px 18px -12px rgba(7, 41, 55, 0.55);
}

.cover-play span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.cover-play strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cover-play small {
  margin-top: 4px;
  color: rgba(79, 50, 0, 0.72);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-fine {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.5;
}

.cover-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 8px;
  padding: 11px 14px;
  border-top: 1px dashed rgba(10, 94, 115, 0.18);
  color: var(--muted);
  font-size: 0.72rem;
}

.cover-facts strong {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.cover-facts a {
  margin-left: auto;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.7rem;
}

.game-modes {
  padding: clamp(16px, 2.6vw, 28px);
  background: radial-gradient(80% 90% at 100% 0%, rgba(191, 239, 250, 0.4), transparent 56%),
    linear-gradient(180deg, #fbfeff 0%, #f1fbff 100%);
}

.mode-select {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.mode-select__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mode-select__head h2,
.mode-select__head h3 {
  margin-top: 3px;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}

.mode-select__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.mode-select .mode-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-height: 258px;
  padding: 16px;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: 20px;
  background: linear-gradient(150deg, #ffffff 0%, #f2fcff 100%);
  box-shadow: 0 18px 40px -40px rgba(7, 41, 55, 0.45);
  text-align: left;
}

.mode-select .mode-card--classic {
  background: linear-gradient(150deg, #ffffff 0%, #effcf7 100%);
}

.mode-select .mode-card--unlimited {
  background: linear-gradient(150deg, #ffffff 0%, #fffaf0 100%);
}

.mode-select .mode-card:hover {
  border-color: rgba(46, 196, 224, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 26px 44px -36px rgba(7, 41, 55, 0.5);
}

.mode-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.mode-select .mode-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(10, 94, 115, 0.08);
}

.mode-select .mode-card__icon img {
  width: 54px;
  height: 54px;
}

.mode-select .mode-card__badge {
  display: inline-flex;
  margin-top: 2px;
  background: var(--ice);
  color: var(--teal);
}

.mode-select .mode-card--daily .mode-card__badge {
  background: #e1f8ff;
}

.mode-select .mode-card--classic .mode-card__badge {
  background: var(--mint-soft);
  color: #17664d;
}

.mode-select .mode-card--unlimited .mode-card__badge {
  background: var(--lemon-soft);
  color: #6b4b00;
}

.mode-select .mode-card__copy {
  display: block;
  margin-top: 2px;
}

.mode-select .mode-card__copy strong {
  display: block;
  margin-top: 2px;
  font-size: 1.52rem;
  line-height: 1;
}

.mode-select .mode-card__copy small {
  display: block;
  margin-top: 5px;
  overflow: visible;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
  white-space: normal;
}

.mode-card__rule {
  display: block;
  color: var(--body);
  font-size: 0.72rem;
  line-height: 1.45;
}

.mode-card__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed rgba(10, 94, 115, 0.16);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
}

.mode-select .player-setup {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.mode-select .player-setup__row input[type="text"] {
  flex: 1 1 280px;
}

.mode-select__note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.64rem;
  line-height: 1.5;
  text-align: center;
}

.product-visual img {
  width: 88%;
  height: 88%;
  padding: 5px;
  border: 1px solid rgba(10, 94, 115, 0.12);
  border-radius: 22px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 14px 28px -24px rgba(7, 41, 55, 0.5);
}

.product-visual img[src$=".svg"] {
  padding: 12px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

/* ---------- 19. Responsive --------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list a {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .header-actions .button {
    display: none;
  }

  .game-cover {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

/* Short laptop windows: pull the playable counter into the first view. */
@media (min-width: 761px) and (max-height: 860px) {
  .hero {
    padding-top: 18px;
  }

  .hero__badge {
    padding-block: 5px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(2.35rem, 1.8rem + 2.4vw, 3.35rem);
  }

  .hero__lede {
    max-width: 680px;
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .hero__actions {
    margin-top: 14px;
  }

  .hero__facts {
    display: none;
  }

  .game-row {
    margin-top: 16px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button {
    display: inline-flex;
  }

  .nav-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .split,
  .game-cover {
    grid-template-columns: 1fr;
  }

  .split--reverse .figure {
    order: 0;
  }

  .game-cover {
    min-height: 0;
  }

  .game-cover__intro {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
  }

  .cover-art {
    grid-row: 1 / span 6;
    width: 118px;
    height: 118px;
    margin-bottom: 0;
  }

  .cover-art__logo {
    width: 112px;
    height: 112px;
    border-radius: 30px;
  }

  .cover-art__ring {
    inset: -12px;
  }

  .cover-art__chip {
    display: none;
  }

  .game-cover__intro .eyebrow,
  .game-cover__title,
  .game-cover__tagline,
  .game-cover__text,
  .game-cover__meta,
  .game-cover__fine {
    grid-column: 2;
  }

  .game-cover__title {
    font-size: 2.7rem;
  }

  .game-cover__text {
    max-width: none;
  }

  .game-board,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .result-poster {
    position: static;
    max-width: 430px;
    margin-inline: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    order: 2;
  }

  .aside-card--sticky {
    position: static;
  }

  .author-layout {
    grid-template-columns: 1fr;
  }

  .author-profile {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
  }

  .author-profile__photo {
    grid-row: 1 / span 4;
    width: 112px;
    height: 112px;
  }

  .author-profile__links {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .author-profile__links .button {
    width: auto;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    justify-content: center;
    text-align: center;
    min-height: 32px;
    padding-block: 4px;
  }

  .topbar p {
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.58rem;
  }

  .topbar__countdown,
  .topbar p.topbar__countdown {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .hero__badge {
    padding: 5px 9px;
    font-size: 0.6rem;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(2.05rem, 1.55rem + 2.8vw, 2.8rem);
    line-height: 1.02;
  }

  .hero__lede {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .hero__actions {
    margin-top: 16px;
  }

  .hero__facts {
    display: none;
  }

  .game-row {
    margin-top: 18px;
  }

  .game-cover {
    gap: 0;
  }

  .game-cover__intro {
    display: none;
  }

  .game-cover__modes {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .game-start {
    padding: 10px;
  }

  .game-cover__tiles {
    display: none;
  }

  .mode-head {
    margin-bottom: 9px;
  }

  .mode-head h3 {
    font-size: 1.15rem;
  }

  .mode-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }

  .mode-card__icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }

  .mode-card__icon img {
    width: 40px;
    height: 40px;
  }

  .mode-card__copy strong {
    font-size: 0.98rem;
  }

  .mode-card__copy small {
    font-size: 0.64rem;
  }

  .mode-card__badge {
    display: none;
  }

  .mode-card__arrow {
    font-size: 0.9rem;
  }

  .player-setup__row {
    flex-wrap: wrap;
  }

  .player-setup__row input[type="text"] {
    flex-basis: calc(100% - 95px);
  }

  .game-cover__tiles {
    display: none;
  }

  .game-play {
    padding: 12px;
  }

  .product-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .product-visual {
    width: 238px;
    margin-top: 12px;
  }

  .product-name {
    font-size: 1.22rem;
  }

  .price-field {
    flex-wrap: wrap;
  }

  .price-field__currency {
    width: 39px;
  }

  .price-field input {
    height: 50px;
    width: calc(100% - 39px);
    flex-basis: calc(100% - 39px);
    font-size: 1.2rem;
  }

  .price-field .button {
    width: 100%;
    min-height: 46px;
    border-radius: 0 0 13px 13px;
  }

  .receipt-panel {
    padding: 16px 15px 13px;
  }

  .game-utility {
    align-items: flex-start;
  }

  .utility-actions {
    width: 100%;
    justify-content: space-between;
  }

  .result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-name-row {
    flex-wrap: wrap;
  }

  .result-name-row .field {
    flex-basis: 100%;
  }

  .game-underbar {
    align-items: flex-start;
  }

  .share-strip__label {
    width: 100%;
  }

  .underbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .trust-strip__inner {
    justify-content: center;
    text-align: center;
  }

  .trust-strip__inner span:nth-child(3) {
    display: none;
  }

  .mode-feature-grid,
  .guide-grid,
  .community-grid,
  .community-grid--form,
  .community-grid--feed,
  .author-layout {
    grid-template-columns: 1fr;
  }

  .guide-card--wide {
    grid-column: auto;
  }

  .anchor-grid,
  .price-code-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .source-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .author-card {
    align-items: flex-start;
    gap: 15px;
  }

  .author-card__photo {
    width: 76px;
    height: 76px;
  }

  .author-profile {
    display: block;
  }

  .author-profile__photo {
    width: 104px;
    height: 104px;
  }

  .author-profile__links {
    flex-direction: column;
  }

  .author-profile__links .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .board-table th,
  .board-table td {
    padding: 9px 10px;
    font-size: 0.68rem;
  }

  .compare-table table,
  .rank-table,
  .cookie-table {
    min-width: 0;
    width: 100%;
  }

  .compare-table th,
  .compare-table td,
  .rank-table th,
  .rank-table td,
  .cookie-table th,
  .cookie-table td {
    padding: 8px 7px;
    font-size: 0.66rem;
    overflow-wrap: anywhere;
  }

  .rank-table,
  .cookie-table {
    font-size: 0.64rem;
  }

  .board-table th:nth-child(5),
  .board-table td:nth-child(5) {
    display: none;
  }

  .segmented button {
    padding: 6px 9px;
    font-size: 0.63rem;
  }

  .result-tagline {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 28px);
  }

  .hero__badge {
    font-size: 0.6rem;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .game-shell__top {
    padding: 9px 12px;
  }

  .game-shell__brand {
    font-size: 0.82rem;
  }

  .live-pill {
    display: none;
  }

  .game-cover__intro {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .cover-art,
  .cover-art__logo {
    width: 66px;
    height: 66px;
  }

  .cover-art__ring {
    inset: -7px;
  }

  .game-cover__title {
    font-size: 1.95rem;
  }

  .game-cover__tagline {
    font-size: 1rem;
  }

  .game-cover__modes {
    padding: 9px;
  }

  .mode-card__copy small {
    display: none;
  }

  .mode-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .mode-card__icon {
    width: 41px;
    height: 41px;
  }

  .mode-card__icon img {
    width: 37px;
    height: 37px;
  }

  .player-setup__row input[type="text"] {
    flex-basis: 100%;
  }

  .player-setup__row .button {
    flex: 1 1 0;
  }

  .game-topline__left {
    gap: 6px;
  }

  .round-label {
    font-size: 0.62rem;
  }

  .game-timer {
    font-size: 0.7rem;
  }

  .product-visual {
    width: 206px;
  }

  .product-visual__question {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .result-stats strong {
    font-size: 1.08rem;
  }

  .result-head {
    gap: 10px;
  }

  .result-medal,
  .result-medal img {
    width: 68px;
    height: 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .pause-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pause-banner .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .cover-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 0;
  }

  .cover-stage__copy {
    order: 1;
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
    padding-top: 2px;
  }

  .cover-stage__copy .eyebrow {
    justify-content: center;
  }

  .cover-lede {
    margin-inline: auto;
  }

  .cover-stage__art {
    order: 2;
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .cover-mascot {
    width: min(100%, 520px);
  }

  .cover-sticker--one { left: 8%; }
  .cover-sticker--two { right: 8%; }

  .cover-facts {
    justify-content: center;
  }

  .cover-facts a {
    margin-left: 0;
  }

  .mode-select__grid {
    grid-template-columns: 1fr;
  }

  .mode-select .mode-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .game-cover-panel {
    padding: 12px;
  }

  .cover-stage {
    gap: 0;
  }

  .cover-stage__copy {
    padding: 0 2px 4px;
  }

  .cover-title {
    margin-top: 1px;
    font-size: clamp(2.6rem, 2rem + 3vw, 3.5rem);
  }

  .cover-tagline {
    margin-top: 7px;
    font-size: 1.3rem;
  }

  .cover-lede {
    display: -webkit-box;
    max-width: 340px;
    margin-top: 8px;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .cover-play {
    margin-top: 12px;
    padding: 8px 18px 8px 9px;
  }

  .cover-play__icon {
    width: 42px;
    height: 42px;
  }

  .cover-play strong {
    font-size: 1.25rem;
  }

  .cover-fine {
    margin-top: 8px;
    font-size: 0.56rem;
  }

  .cover-stage__art {
    margin-top: 2px;
  }

  .cover-mascot {
    width: min(100%, 330px);
  }

  .cover-stage__glow {
    width: 70%;
  }

  .cover-stage__ring {
    width: 78%;
  }

  .cover-sticker--one {
    top: 7%;
    left: 2%;
    font-size: 0.56rem;
  }

  .cover-sticker--two {
    top: 13%;
    right: 0;
    font-size: 0.56rem;
  }

  .cover-sticker--three {
    right: 5%;
    bottom: 16%;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .cover-facts {
    gap: 6px 13px;
    padding: 9px 6px 3px;
    font-size: 0.64rem;
  }

  .cover-facts strong {
    font-size: 0.82rem;
  }

  .cover-facts a {
    font-size: 0.64rem;
  }

  .game-modes {
    padding: 12px;
  }

  .mode-select__head {
    align-items: center;
  }

  .mode-select__head h2,
.mode-select__head h3 {
    font-size: 1.35rem;
  }

  .mode-select .mode-card {
    padding: 13px;
    gap: 8px;
  }

  .mode-select .mode-card__icon {
    width: 52px;
    height: 52px;
  }

  .mode-select .mode-card__icon img {
    width: 46px;
    height: 46px;
  }

  .mode-select .mode-card__copy strong {
    font-size: 1.28rem;
  }

  .mode-card__rule {
    font-size: 0.68rem;
  }

  .mode-select .player-setup {
    padding: 11px;
  }

  .mode-select .player-setup__row input[type="text"] {
    flex-basis: 100%;
  }

  .mode-select__note {
    font-size: 0.58rem;
  }

  .product-visual img {
    width: 92%;
    height: 92%;
  }
}

/* ---------- 20. Motion preferences ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 21. Print --------------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .game-home,
  .game-underbar,
  .site-footer,
  .breadcrumb,
  .video-facade,
  .note-form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section {
    padding-block: 20px;
  }
}


.footer-col h2,
.footer-col .footer-heading {
  margin-bottom: 11px;
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-jump {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.quick-jump__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-jump__inner::-webkit-scrollbar {
  display: none;
}

.quick-jump__label {
  flex: 0 0 auto;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-jump__link {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.quick-jump__link:hover {
  border-color: var(--aqua);
  background: var(--ice);
  text-decoration: none;
}

.figure--screenshot img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--white);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.glossary-item {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.glossary-item dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
}

.glossary-item dd {
  margin: 5px 0 0;
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.52;
}

.changelog-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.changelog-list li {
  margin-top: 4px;
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}