/* Pick Verionex. Obsidian, chrome and a violet-to-emerald spectrum. Motion uses transform and opacity. */

@font-face { font-family: "Syne"; src: url("../fonts/syne-latin-700-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Syne"; src: url("../fonts/syne-latin-800-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-600-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-700-normal.woff2?v=20261024-pvx") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink-0: #050507;
  --ink-1: #0a0a0f;
  --ink-2: #111118;
  --ink-3: #1a1a24;
  --text: #eef0f5;
  --text-soft: #c5c9d4;
  --text-dim: #9aa0ae;
  --chrome: #e8ebf2;
  --silver: #aab0be;
  --accent: #a78bfa;
  --violet: #8b5cf6;
  --alt: #34d399;
  --emerald: #34d399;
  --accent-grad: linear-gradient(100deg, #b9a5ff 0%, #9b8cf7 38%, #5fe3b4 100%);
  --alt-grad: linear-gradient(100deg, #6ee7b7, #a7f3d0);
  --spectrum: linear-gradient(90deg, #8b5cf6, #6d7cf5 50%, #34d399);
  --chrome-grad: linear-gradient(180deg, #ffffff 0%, #d4d8e1 38%, #8a909e 58%, #eef0f5 100%);
  --line: rgba(232, 235, 242, 0.12);
  --line-strong: rgba(232, 235, 242, 0.24);
  --glass: rgba(18, 18, 28, 0.55);
  --glass-strong: rgba(12, 12, 18, 0.9);
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 24px 70px rgba(0, 0, 0, 0.6);
  --display: "Syne", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --t-fast: 160ms;
  --t-med: 280ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 44px);
  --maxw: 1360px;
  --cut: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; overflow-x: clip; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--ink-0); background-image: radial-gradient(900px 600px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 70%), radial-gradient(800px 600px at -10% 40%, rgba(52, 211, 153, 0.08), transparent 70%); background-attachment: fixed; }
img, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #c9bbff; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--chrome); }
h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88em; padding: 1px 6px; border-radius: 4px; background: rgba(167, 139, 250, 0.12); color: #d9d0ff; }
:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--maxw), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; padding: 10px 16px; background: var(--chrome); color: var(--ink-0); font-weight: 700; border-radius: 4px; transition: transform var(--t-fast) ease; }
.skip-link:focus { transform: translateY(72px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--spectrum); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--text-soft); max-width: 62ch; }
.chrome-text { background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }

main, .site-footer { animation: page-in 520ms var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.is-leaving main, html.is-leaving .site-footer { opacity: 0; transform: translateY(-6px); transition: opacity 200ms ease-in, transform 200ms ease-in; }

/* ---------- notice bar ---------- */
.notice-bar { position: relative; z-index: 60; background: #000; border-bottom: 1px solid var(--line); }
.notice-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--spectrum); opacity: 0.7; }
.notice-list { list-style: none; margin: 0 auto; padding-block: 7px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft); }
.notice-list li { display: inline-flex; align-items: center; gap: 8px; }
.notice-list li + li::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: var(--accent); }
.notice-list .age { padding: 1px 8px; border: 1px solid var(--accent); color: #fff; font-weight: 800; }
.notice-list .rg a { color: #a7f3d0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 7, 0.72); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chrome); flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-name { display: grid; font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand-name small { font-family: var(--body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { position: relative; padding: 10px 12px; font-size: 0.9rem; font-weight: 600; color: var(--text-soft); text-decoration: none; transition: color var(--t-fast) ease; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.credit-pill { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); font-size: 0.8rem; color: var(--text-dim); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.credit-pill strong { color: #fff; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.credit-pill .dot { width: 8px; height: 8px; transform: rotate(45deg); background: var(--spectrum); }
.btn.menu-toggle { display: none; }
.pause-banner { margin: 0; padding: 10px var(--gutter); text-align: center; background: rgba(52, 211, 153, 0.14); border-bottom: 1px solid rgba(52, 211, 153, 0.4); color: #d1fae5; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; margin: 0; max-width: min(520px, calc(100% - 32px)); padding: 12px 18px; background: var(--glass-strong); border: 1px solid var(--line-strong); color: var(--text); box-shadow: var(--shadow-2); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- buttons ---------- */
.btn { --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border: 1px solid transparent; border-radius: 0; font-family: var(--body); font-weight: 700; font-size: 0.96rem; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: transform var(--t-fast) var(--ease-out), filter var(--t-med) ease, opacity var(--t-fast) ease, background var(--t-med) ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.42; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent-grad); color: #0b0614; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.65) 48%, transparent 66%); transform: translateX(-120%); transition: transform 700ms var(--ease-out); z-index: -1; }
.btn-primary:hover { color: #0b0614; filter: brightness(1.08); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(232, 235, 242, 0.05); color: var(--chrome); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(167, 139, 250, 0.14); color: #fff; }
.btn-sm { --h: 40px; --cut: 10px; padding: 0 16px; font-size: 0.86rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 70ms; }
.reveal.d2 { transition-delay: 140ms; }
.reveal.d3 { transition-delay: 210ms; }
.reveal.d4 { transition-delay: 280ms; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 0 0 22px; }
.h-brand { display: block; font-size: clamp(2.9rem, 5.8vw, 6.4rem); line-height: 0.88; letter-spacing: -0.045em; background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-brand em { font-style: normal; background: linear-gradient(95deg, #c4b5fd 0%, #8b5cf6 40%, #34d399 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-sub { display: block; margin-top: 20px; max-width: 26ch; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero-visual { position: relative; min-width: 0; }
.hero-frame { position: relative; clip-path: polygon(12% 0, 100% 0, 100% 86%, 88% 100%, 0 100%, 0 14%); box-shadow: var(--shadow-2); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(5, 5, 7, 0.55)); }
.hero-frame img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 70% 50%; transform: scale(1.04); animation: hero-drift 18s var(--ease-out) infinite alternate; }
@keyframes hero-drift { to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-card { position: absolute; left: clamp(-40px, -3vw, -12px); bottom: -22px; width: min(300px, 80%); padding: 16px 18px; box-shadow: var(--shadow-2); }
.hero-card .kicker { margin-bottom: 8px; font-size: 0.66rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hero-card a { display: flex; align-items: center; gap: 10px; padding: 4px; text-decoration: none; color: var(--text); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) ease; }
.hero-card a:hover { transform: translateX(4px); background: rgba(167, 139, 250, 0.1); }
.hero-card img { width: 36px; height: 36px; object-fit: cover; }
.hero-card b { display: block; font-size: 0.88rem; line-height: 1.2; }
.hero-card small { font-size: 0.72rem; color: var(--text-dim); }
.phrase-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.phrase-list li { padding: 5px 12px; border: 1px solid var(--line-strong); font-size: 0.78rem; font-weight: 600; color: var(--text-soft); background: rgba(255, 255, 255, 0.02); }
.phrase-list li.hot { border-color: var(--accent); color: #fff; background: rgba(139, 92, 246, 0.18); }
.phrase-list.center { justify-content: center; }
.hero-facts { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 104px) 0; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 48px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.split-head h2 { margin: 0; max-width: 16ch; }
.split-head > p { margin: 0; color: var(--text-soft); }

/* ---------- bento lobby ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile { --rx: 0deg; --ry: 0deg; --mx: 0px; --my: 0px; --gx: 50%; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--ink-1); transform: perspective(1100px) translate3d(var(--mx), var(--my), 0) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 420ms var(--ease-out), border-color var(--t-med) ease, opacity 760ms var(--ease-out); }
.tile.reveal:not(.is-in) { transform: translateY(26px); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--gx) 0%, rgba(167, 139, 250, 0.18), transparent 60%); opacity: 0; transition: opacity var(--t-med) ease; }
.tile:hover { border-color: rgba(167, 139, 250, 0.55); }
.tile:hover::before { opacity: 1; }
.t-slot { grid-column: 1 / span 4; grid-row: span 2; }
.t-cascade { grid-column: 5 / span 2; grid-row: span 2; }
.t-roulette { grid-column: 1 / span 2; }
.t-stat { grid-column: 3 / span 2; }
.t-blackjack { grid-column: 5 / span 2; }
.tile-art { position: absolute; inset: 0; z-index: -1; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile:hover .tile-art img { transform: scale(1.05); }
.tile-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 7, 0.05) 20%, rgba(5, 5, 7, 0.82) 62%, rgba(5, 5, 7, 0.96)); }
.t-cascade .tile-art img { object-position: 60% 50%; }
.tile-body { position: relative; margin-top: auto; padding: clamp(18px, 2vw, 28px); }
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #d9d0ff; }
.tag span { font-family: var(--display); font-size: 0.9rem; letter-spacing: 0; color: var(--emerald); }
.tile h3 { margin: 0 0 6px; }
.t-slot h3 { font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
.tile h3 a { color: #fff; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.tile .meta { margin: 0 0 8px; font-size: 0.82rem; font-weight: 600; color: var(--silver); }
.tile .desc { margin: 0 0 14px; max-width: 56ch; color: var(--text-soft); font-size: 0.92rem; }
.t-roulette .desc, .t-blackjack .desc { display: none; }
.tile-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.tile-cta i { width: 28px; height: 2px; background: var(--spectrum); transition: transform var(--t-med) var(--ease-out); transform-origin: left; }
.tile:hover .tile-cta i { transform: scaleX(1.8); }
.t-stat { justify-content: center; padding: clamp(18px, 2vw, 28px); background: linear-gradient(140deg, rgba(139, 92, 246, 0.16), rgba(52, 211, 153, 0.08)), var(--glass); }
.t-stat p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 0; }
.big-num { display: grid; margin: 0 0 10px !important; }
.big-num strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.big-num span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { position: relative; padding: 26px 24px 22px; border-top: 1px solid var(--line-strong); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 64px; height: 2px; background: var(--spectrum); }
.steps .n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(232, 235, 242, 0.45); margin-bottom: 12px; }
.steps p { color: var(--text-soft); margin: 0; }

/* ---------- band, panels, help ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(22px, 4vw, 52px); }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.band-copy > :last-child { margin-bottom: 0; }
.help-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.help-grid li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(5, 5, 7, 0.4); }
.help-grid li:first-child { grid-column: 1 / -1; border-color: rgba(52, 211, 153, 0.4); }
.help-grid .who { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.help-grid a { font-weight: 700; font-size: 1.05rem; color: #fff; }
.help-grid small { color: var(--text-dim); font-size: 0.8rem; }
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(26px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 18ch; letter-spacing: -0.035em; }
.page-hero .updated { margin: -4px 0 0; font-size: 0.88rem; color: var(--text-dim); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.org-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel { padding: clamp(20px, 2.6vw, 32px); }
.panel h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.panel p, .panel li { color: var(--text-soft); }
.panel ul { margin: 0; padding-left: 20px; }
.panel > :last-child { margin-bottom: 0; }
.age-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 16px; }
.panel .age-actions { justify-content: flex-start; }
#pause-status { font-weight: 600; color: #d1fae5; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 8px; max-width: 900px; }
.faq details { border: 1px solid var(--line); background: var(--glass); transition: border-color var(--t-med) ease; }
.faq details[open] { border-color: rgba(167, 139, 250, 0.45); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 1.04rem; color: #fff; list-style: none; display: flex; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--display); font-size: 1.4rem; color: var(--accent); transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 16px; color: var(--text-soft); }
.faq .answer p { margin: 0; }

/* ---------- contact ---------- */
.mail-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mail-card { padding: 26px; }
.mail-card h2 { font-size: 1.4rem; }
.mail-card p { color: var(--text-soft); }
.mail-card a { font-weight: 700; word-break: break-all; }

/* ---------- legal docs ---------- */
.doc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding-bottom: 72px; }
.toc { position: sticky; top: 96px; padding: 18px 18px 14px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc h2 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--body); font-weight: 700; color: var(--text-dim); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 8px; font-size: 0.86rem; color: var(--text-soft); text-decoration: none; border-left: 2px solid transparent; transition: border-color var(--t-fast) ease, color var(--t-fast) ease; }
.toc a:hover { color: #fff; border-left-color: var(--accent); }
.doc { min-width: 0; max-width: 78ch; }
.doc section { padding: 8px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.doc h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); scroll-margin-top: 100px; }
.doc p, .doc li { color: var(--text-soft); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.summary { padding: 22px 24px; margin-bottom: 24px; }
.summary h2 { font-size: 1.4rem; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-soft); }
thead th { color: #fff; background: rgba(167, 139, 250, 0.1); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
tbody th { color: #fff; white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(44px, 6vw, 72px) 0 36px; background: #000; border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--spectrum); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-brand p { margin-top: 16px; color: var(--text-dim); font-size: 0.9rem; max-width: 46ch; }
.site-footer h2 { font-family: var(--body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a, .foot-links .link-btn { color: var(--text-soft); text-decoration: none; font-size: 0.92rem; }
.foot-links a:hover, .foot-links .link-btn:hover { color: #fff; }
.foot-notice { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-notice .phrase-list { margin: 0 0 14px; }
.foot-notice p { color: var(--text-dim); font-size: 0.88rem; max-width: 110ch; }
.rg-line a { color: #a7f3d0; font-weight: 600; }
.copyright { margin: 18px 0 0; font-size: 0.82rem; color: var(--text-dim); }
.support-block { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.support-block h2 { margin-bottom: 18px; }
.support-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.support-list li { width: 190px; height: 52px; display: grid; place-items: center; }
.support-list a { display: grid; place-items: center; width: 100%; height: 100%; opacity: 0.9; transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.support-list a:hover { opacity: 1; transform: translateY(-2px); }
.support-list img { width: 100%; height: 52px; object-fit: contain; }
.helpline { margin: 20px 0 0; font-weight: 700; }
.helpline a { color: #fff; }

/* ---------- age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: radial-gradient(700px 480px at 50% 30%, rgba(139, 92, 246, 0.22), transparent 70%), rgba(2, 2, 4, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-y: auto; }
.age-gate[hidden] { display: none; }
html.age-ok .age-gate { display: none; }
.age-card { position: relative; width: min(580px, 100%); padding: clamp(26px, 5vw, 44px); text-align: center; background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); animation: gate-in 600ms var(--ease-out) both; }
.age-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--spectrum); }
@keyframes gate-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.age-card img { width: 96px; height: 96px; margin: 0 auto 14px; }
.age-card .kicker::before { display: none; }
.age-card h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
.age-card p { color: var(--text-soft); }
.age-card .leave { display: none; }
.age-gate.is-leaving .ask { display: none; }
.age-gate.is-leaving .leave { display: block; }
.age-card .leave ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.age-card .fine { font-size: 0.84rem; color: var(--text-dim); margin: 0; }

/* ---------- cookie bar ---------- */
.cookie-bar { position: fixed; left: 50%; bottom: 18px; z-index: 210; width: min(880px, calc(100% - 24px)); transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 16px 18px 16px 22px; background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: bar-in 500ms var(--ease-out) both; }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translateX(-50%); } }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 0.88rem; color: var(--text-soft); flex: 1 1 auto; }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
html.age-pending .cookie-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .site-nav a { padding: 10px 8px; font-size: 0.85rem; }
  .credit-pill .lbl { display: none; }
}
@media (max-width: 1100px) {
  .btn.menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; background: rgba(5, 5, 7, 0.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .header-tools { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { left: 12px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); }
  .t-slot { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .t-cascade, .t-roulette, .t-blackjack, .t-stat { grid-column: auto; grid-row: auto; }
  .split-head, .band, .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; }
  .steps, .mail-cards, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .cookie-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .header-inner { gap: 10px; min-height: 64px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 0.9rem; white-space: nowrap; }
  .brand-name small { display: none; }
  .header-tools { gap: 6px; }
  .credit-pill { padding: 6px 9px; }
  .credit-pill .dot { display: none; }
  .btn.menu-toggle { padding-left: 10px; padding-right: 10px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-slot { min-height: 320px; }
  .help-grid, .org-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 12px; }
  .notice-list { font-size: 0.68rem; gap: 2px 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .support-list { gap: 16px; }
  .support-list li { width: 150px; height: 44px; }
  .support-list img { height: 44px; }
  .cookie-actions .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .tile { transform: none !important; }
}
