:root {
  --bg: #0b0d12;
  --panel: #131722;
  --panel-2: #1a1f2d;
  --line: #262c3b;
  --line-2: #343c50;
  --screen: #0d1017;
  --grid-line: #1e2432;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent: #5fe3a1;
  --accent-2: #3fbf84;
  --accent-ink: #06140d;
  --violet: #8b7bff;
  --mint-a: rgb(95 227 161 / 0.14);
  --violet-a: rgb(139 123 255 / 0.16);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
  --fs-s: 0.8125rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-xl: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
  --fs-xxl: clamp(1.8rem, 0.6rem + 4.9vw, 4.5rem);
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 48px;
  --sp-5: 96px;
  --r-panel: 16px;
  --r-img: 12px;
  --r-btn: 10px;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 24px 60px -28px rgb(0 0 0 / 0.85);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 170ms;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-m);
  line-height: 1.65;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--sp-2);
  text-wrap: balance;
}

h1 { font-size: var(--fs-xxl); line-height: 1.04; letter-spacing: -0.045em; }

h2 { font-size: var(--fs-xl); }

h3 { font-size: var(--fs-l); letter-spacing: -0.02em; }

p { margin: 0 0 var(--sp-2); }

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: color var(--t) ease, text-decoration-color var(--t) ease;
  &:hover { text-decoration-color: currentColor; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--accent); color: var(--accent-ink); }

strong { color: var(--text); font-weight: 600; }

kbd {
  font-family: var(--mono);
  font-size: 0.8em;
  padding: 2px 6px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--text);
  white-space: nowrap;
}

.vg-skip {
  position: absolute;
  left: var(--sp-2);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-weight: 700;
  text-decoration: none;
  &:focus { top: var(--sp-2); }
}

.vg-wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }

.vg-idx {
  display: inline-block;
  margin-right: 0.4em;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: 0.62em;
  color: var(--accent);
}

.vg-lead {
  max-width: 62ch;
  font-size: var(--fs-l);
  line-height: 1.55;
  color: var(--muted);
}

.vg-note {
  padding: 2px 0 2px var(--sp-2);
  border-left: 2px solid var(--violet);
  color: var(--muted);
  font-size: 0.95rem;
}

.vg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 8px 24px -12px rgb(95 227 161 / 0.6);
  transition: box-shadow var(--t) ease, transform var(--t) var(--ease), background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease;
  &:hover {
    background: #7aeab3;
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 0 0 4px rgb(95 227 161 / 0.16), 0 12px 32px -10px rgb(95 227 161 / 0.7);
    transform: translateY(-1px);
  }
  &:active { transform: translateY(0); }
  &:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
}

.vg-btn--ghost {
  background: rgb(255 255 255 / 0.02);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset;
  &:hover {
    background: var(--mint-a);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 4px rgb(95 227 161 / 0.08), 0 10px 28px -14px rgb(95 227 161 / 0.6);
  }
}

.vg-btn--small { min-height: 44px; padding: 0 16px; font-size: 0.875rem; }

.vg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.vg-header__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}

.vg-header__logo {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  &:hover .vg-header__mark { box-shadow: 0 0 0 4px var(--mint-a), 0 0 18px rgb(95 227 161 / 0.45); }
}

.vg-header__mark {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 8px;
  background: var(--mint-a);
  color: var(--accent);
  font-size: 0.875rem;
  transition: box-shadow var(--t) ease;
}

.vg-menu {
  position: relative;
  &[open] .vg-menu__toggle { border-color: var(--accent); color: var(--accent); }
  &[open] .vg-menu__toggle::after { rotate: 45deg; }
}

.vg-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: border-color var(--t) ease, color var(--t) ease;
  &::-webkit-details-marker { display: none; }
  &::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
    color: var(--accent);
    transition: rotate var(--t) var(--ease);
  }
  &:hover { border-color: var(--accent); }
}

.vg-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), 0 0 0 1px rgb(0 0 0 / 0.3);
}

.vg-menu__list { list-style: none; margin: 0; padding: 0; }

.vg-menu__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color var(--t) ease, color var(--t) ease;
  &::before { content: "›"; width: 1.2em; color: var(--muted); }
  &:hover, &[aria-current="page"] { background: var(--mint-a); color: var(--accent); }
}

.vg-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 120px);
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px),
      linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  }
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      radial-gradient(ellipse 45% 55% at 18% 30%, rgb(95 227 161 / 0.13), transparent 70%),
      radial-gradient(ellipse 45% 60% at 82% 55%, rgb(139 123 255 / 0.2), transparent 70%);
  }
}

.vg-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  @media (min-width: 960px) {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.vg-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: var(--sp-3);
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(19 23 34 / 0.7);
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--fs-s);
  &::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--mint-a);
  }
  & a { color: var(--text); }
}

.vg-hero__title { margin-bottom: var(--sp-3); }

.vg-hero__lead {
  max-width: 56ch;
  font-size: var(--fs-l);
  line-height: 1.55;
  color: #c9cfdb;
}

.vg-hero__sub {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.9375rem;
  &::before { content: "$ "; color: var(--accent); }
}

.vg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-4);
}

.vg-hero__figure {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: calc(var(--r-panel) + 4px);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow), 0 0 0 1px rgb(139 123 255 / 0.08), 0 0 90px -30px rgb(139 123 255 / 0.55);
  &::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(140deg, rgb(95 227 161 / 0.45), transparent 35%, transparent 65%, rgb(139 123 255 / 0.5));
    filter: blur(18px);
    opacity: 0.45;
  }
}

.vg-hero__img { width: 100%; border-radius: var(--r-img); }

.vg-hero__caption {
  padding: 12px 6px 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--fs-s);
  line-height: 1.45;
}

.vg-hero--game {
  padding-top: clamp(16px, 3vw, 40px);
  & .vg-hero__title { max-width: 18ch; font-size: clamp(1.8rem, 0.7rem + 4.1vw, 3.875rem); }
  & .vg-hero__figure--tall { max-width: 440px; justify-self: center; }
}

.vg-crumbs {
  padding-top: var(--sp-3);
  font-family: var(--mono);
  font-size: var(--fs-s);
  color: var(--muted);
}

.vg-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  & li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
  & a { color: var(--muted); }
  & a:hover { color: var(--accent); }
  & [aria-current] { color: var(--text); }
}

.vg-play {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 7vw, 104px) clamp(72px, 9vw, 128px);
  background: linear-gradient(180deg, var(--bg), #0e111a 40%, var(--bg));
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(ellipse 38% 45% at 30% 60%, rgb(95 227 161 / 0.16), transparent 70%),
      radial-gradient(ellipse 40% 50% at 70% 45%, rgb(139 123 255 / 0.2), transparent 72%),
      linear-gradient(to right, rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(to bottom, rgb(255 255 255 / 0.03) 1px, transparent 1px) 0 0 / 32px 32px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  }
  & > .vg-wrap { container-type: inline-size; }
}

.vg-play__head { max-width: 820px; margin-bottom: var(--sp-4); }

.vg-play__grid { display: grid; gap: var(--sp-3); align-items: start; }

@container (min-width: 1100px) {
  .vg-play__grid { grid-template-columns: minmax(0, 880px) 1fr; gap: 32px; }
  .vg-play__help { margin-top: 64px; }
}

.vg-term {
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: #10141d;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.06) inset,
    0 0 0 1px rgb(95 227 161 / 0.12),
    0 0 110px -30px rgb(95 227 161 / 0.45),
    0 40px 80px -40px rgb(0 0 0 / 0.9);
}

.vg-term__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-height: 50px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), #151a26);
  font-family: var(--mono);
  font-size: var(--fs-s);
}

.vg-term__dots, .vg-out__dots {
  display: inline-flex;
  gap: 7px;
  & span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line-2);
  }
  & span:nth-child(2) { background: var(--violet); opacity: 0.85; }
  & span:nth-child(3) { background: var(--accent); }
}

.vg-term__title {
  margin: 0 auto 0 0;
  color: var(--muted);
  & b { color: var(--text); font-weight: 700; }
}

.vg-term__stats {
  display: flex;
  gap: 16px;
  margin: 0;
  color: var(--muted);
  & output {
    display: inline-block;
    min-width: 2.2ch;
    margin-left: 4px;
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
}

.vg-term__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--screen);
  overflow: hidden;
}

.vg-term__poster, .vg-term__canvas, .vg-term__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vg-term__poster { object-fit: cover; }

.vg-term__canvas { display: block; touch-action: none; outline: none; }

.vg-term__cover {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--sp-2);
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgb(11 13 18 / 0.65), rgb(11 13 18 / 0.15) 75%);
}

.vg-term__start {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 32px 0 26px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.1875rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 0 0 8px rgb(95 227 161 / 0.12), 0 18px 50px -12px rgb(95 227 161 / 0.7);
  transition: transform var(--t) var(--ease), box-shadow var(--t) ease, background-color var(--t) ease;
  &::before {
    content: "";
    width: 0;
    height: 0;
    border-block: 9px solid transparent;
    border-left: 14px solid currentColor;
  }
  &:hover {
    background: #7aeab3;
    transform: scale(1.03);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 0 0 12px rgb(95 227 161 / 0.16), 0 22px 60px -12px rgb(95 227 161 / 0.8);
  }
  &:disabled { cursor: progress; transform: none; }
  &:focus-visible { outline-offset: 6px; }
}

.vg-term__nojs {
  margin: 0;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(11 13 18 / 0.85);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.vg-term.is-live {
  & .vg-term__poster, & .vg-term__cover { display: none; }
}

.vg-term__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #121622, #0f131b);
}

.vg-term__pad {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  grid-template-areas: ". up ." "left down right";
  gap: 6px;
}

.vg-term__key {
  display: grid;
  place-items: center;
  width: 52px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 3px 0 #0a0c11;
  transition: border-color var(--t) ease, color var(--t) ease, transform 120ms ease, box-shadow var(--t) ease;
  touch-action: manipulation;
  &:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 3px 0 #0a0c11, 0 0 18px -4px rgb(95 227 161 / 0.6);
  }
  &:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #0a0c11; }
  &:disabled { opacity: 0.4; cursor: default; }
}

.vg-term__key--up { grid-area: up; }
.vg-term__key--left { grid-area: left; }
.vg-term__key--down { grid-area: down; }
.vg-term__key--right { grid-area: right; }

.vg-term__keys {
  flex: 1 1 220px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--fs-s);
  line-height: 2;
}

.vg-term__ctrl { display: flex; gap: 8px; }

.vg-term__status {
  margin: 0;
  padding: 0 16px 14px;
  background: #0f131b;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--fs-s);
  &:empty { display: none; }
}

html:not(.js) .vg-term__foot, html:not(.js) .vg-term__stats { display: none; }

@container (max-width: 520px) {
  .vg-term__stats span:nth-child(2) { display: none; }
  .vg-term__ctrl { width: 100%; }
  .vg-term__ctrl .vg-btn { flex: 1; }
  .vg-term__pad { margin-inline: auto; grid-template-columns: repeat(3, 60px); }
  .vg-term__key { width: 60px; height: 52px; }
  .vg-term__keys { display: none; }
}

.vg-play__help {
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: rgb(19 23 34 / 0.75);
  box-shadow: var(--shadow);
  font-size: 0.9875rem;
  & h3 { font-size: 1.125rem; }
  & .vg-note { margin: var(--sp-3) 0 0; font-size: 0.9rem; }
}

.vg-list {
  list-style: none;
  margin: 0 0 var(--sp-3);
  padding: 0;
  & li { position: relative; padding-left: 26px; margin-bottom: 10px; }
  & li::before {
    content: "›";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent);
    font-family: var(--mono);
    font-weight: 700;
  }
}

.vg-list--num {
  counter-reset: n;
  & li { counter-increment: n; padding-left: 40px; }
  & li::before {
    content: counter(n, decimal-leading-zero);
    left: 0;
    color: var(--violet);
    font-size: 0.85em;
    top: 0.15em;
  }
}

.vg-band { position: relative; padding-block: 80px; }

.vg-band--tight { padding-block: 56px 64px; }

.vg-band--airy { padding-block: clamp(80px, 10vw, 136px); }

.vg-band--raised {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgb(139 123 255 / 0.07), transparent 60%),
    linear-gradient(180deg, var(--panel), #10141d);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.03) inset;
}

.vg-intro {
  display: grid;
  gap: 0 var(--sp-4);
  margin-bottom: var(--sp-4);
  @media (min-width: 960px) {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    & .vg-lead { margin-bottom: 6px; }
  }
}

.vg-picks {
  container-type: inline-size;
  display: grid;
  gap: 20px;
  @media (min-width: 860px) {
    grid-template-columns: repeat(12, 1fr);
  }
}

.vg-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  transition: border-color 200ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
  &:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 0 60px -30px rgb(95 227 161 / 0.6);
  }
  & p:not([class]) { color: #c9cfdb; }
  @media (min-width: 860px) {
    grid-column: span 6;
  }
}

.vg-pick--lead {
  container-type: inline-size;
  padding: 0;
  overflow: hidden;
  @media (min-width: 860px) { grid-column: 1 / -1; }
}

.vg-pick--wide {
  @media (min-width: 860px) { grid-column: span 7; }
}

.vg-pick--slim {
  @media (min-width: 860px) { grid-column: span 5; }
}

.vg-pick__media {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 12px;
  background: radial-gradient(ellipse 70% 70% at 60% 55%, rgb(95 227 161 / 0.12), transparent 70%), #0e1219;
  border-bottom: 1px solid var(--line);
}

.vg-pick__img { width: 100%; border-radius: var(--r-img); }

.vg-pick__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 36px);
}

@container (min-width: 820px) {
  .vg-pick--lead { flex-direction: row; align-items: stretch; }
  .vg-pick__media {
    flex: 0 0 56%;
    display: grid;
    align-items: center;
    padding: 20px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .vg-pick__body { flex: 1; justify-content: center; }
  .vg-pick--lead .vg-pick__title { font-size: 2.25rem; }
  .vg-pick--lead .vg-pick__num { font-size: 4.5rem; }
}

.vg-pick__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 var(--sp-2);
  padding: 0;
}

.vg-pick__tag {
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

.vg-pick__tag--key {
  border-color: color-mix(in srgb, var(--violet) 60%, transparent);
  background: var(--violet-a);
  color: #c5bdff;
}

.vg-pick__title {
  font-size: 1.625rem;
  margin-bottom: 12px;
  & a { color: var(--text); text-decoration: none; }
  & a:hover { color: var(--accent); }
}

.vg-pick__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  width: 100%;
  margin: auto 0 var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line-2);
}

.vg-pick__num {
  font-family: var(--mono);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.vg-pick__unit {
  flex: 1 1 160px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

.vg-pick--slim .vg-pick__num { color: var(--violet); }

.vg-table {
  overflow-x: auto;
  margin-top: var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: #0f131b;
  box-shadow: var(--shadow), 0 0 80px -40px rgb(139 123 255 / 0.5);
}

.vg-table__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.5;
  & th, & td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
  }
  & thead th {
    background: var(--panel-2);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  & tbody th { width: 24%; color: var(--text); font-weight: 700; }
  & tbody td { color: #c9cfdb; }
  & tbody tr {
    transition: background-color 150ms ease, box-shadow 150ms ease;
    &:hover { background: rgb(95 227 161 / 0.06); box-shadow: 3px 0 0 var(--accent) inset; }
    &:hover th { color: var(--accent); }
    &:last-child th, &:last-child td { border-bottom: 0; }
  }
}

.vg-table__caption {
  caption-side: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-s);
  text-align: left;
  &::before { content: "$ "; color: var(--accent); }
}

.vg-table__source {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.vg-choose { margin: var(--sp-4) 0 0; border-top: 1px solid var(--line); }

.vg-choose__row {
  display: grid;
  gap: 8px var(--sp-4);
  padding: 24px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color var(--t) ease;
  &:hover { background: rgb(26 31 45 / 0.6); }
  @media (min-width: 860px) {
    grid-template-columns: 5fr 7fr;
    padding-inline: 20px;
  }
}

.vg-choose__if {
  font-family: var(--mono);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  &::before { content: "ha "; color: var(--violet); }
}

.vg-choose__then { margin: 0; color: #c9cfdb; }

.vg-split {
  display: grid;
  gap: var(--sp-4);
  align-items: start;
  @media (min-width: 960px) {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }
}

.vg-split--even {
  @media (min-width: 960px) {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.vg-prose {
  max-width: 70ch;
  & h2 { margin-bottom: var(--sp-3); }
  & h3 { margin: var(--sp-4) 0 12px; }
  & p:not([class]) { color: #d3d8e2; }
}

.vg-faq__title { font-size: 1.5rem; }

.vg-faq__item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(11 13 18 / 0.55);
  transition: border-color var(--t) ease, background-color var(--t) ease;
  &:hover { border-color: var(--line-2); }
  &[open] {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    background: rgb(11 13 18 / 0.85);
    & .vg-faq__q::after { rotate: 45deg; color: var(--accent); }
  }
}

.vg-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  &::-webkit-details-marker { display: none; }
  &::after {
    content: "+";
    flex: none;
    color: var(--muted);
    font-size: 1.25rem;
    transition: rotate var(--t) var(--ease), color var(--t) ease;
  }
}

.vg-faq__a { margin: 0; padding: 0 18px 16px; color: var(--muted); }

.vg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: rgb(11 13 18 / 0.5);
  overflow: hidden;
}

.vg-steps__item {
  counter-increment: s;
  position: relative;
  padding: 18px 20px 18px 68px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.975rem;
  transition: background-color var(--t) ease;
  &::before {
    content: "[" counter(s, decimal-leading-zero) "]";
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.8125rem;
    line-height: 1.9;
  }
  &:last-child { border-bottom: 0; }
  &:hover { background: rgb(95 227 161 / 0.04); }
}

.vg-steps__head {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.vg-out {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: #0f131b;
  box-shadow: var(--shadow), 0 0 0 1px rgb(95 227 161 / 0.08), 0 0 90px -40px rgb(95 227 161 / 0.55);
  font-family: var(--mono);
}

.vg-out__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), #151a26);
}

.vg-out__title {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-s);
  & b { color: var(--text); }
}

.vg-out__big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.vg-out__stat {
  padding: 20px 16px 18px;
  border-right: 1px solid var(--line);
  &:last-child { border-right: 0; }
  & dt { color: var(--muted); font-size: 0.75rem; }
  & dd { margin: 0; }
}

.vg-out__num {
  display: block;
  margin: 6px 0 4px;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
}

.vg-out__stat--key .vg-out__num { color: var(--accent); }

.vg-out__sub {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.4;
}

.vg-out__list { margin: 0; padding: 10px 0; font-size: 0.8125rem; }

.vg-out__row {
  display: grid;
  grid-template-columns: minmax(120px, 40%) 1fr;
  gap: 12px;
  padding: 8px 16px;
  transition: background-color 150ms ease;
  &:hover { background: rgb(139 123 255 / 0.07); }
  & dt {
    color: var(--muted);
    &::before { content: "› "; color: var(--violet); }
  }
  & dd { margin: 0; color: var(--text); }
}

.vg-out__btn { display: flex; margin: 6px 16px 16px; }

.vg-scheme, .vg-inline-fig {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgb(139 123 255 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}

.vg-inline-fig { margin-top: var(--sp-3); }

.vg-scheme__svg {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  height: auto;
  color: var(--muted);
}

.vg-scheme__accent { stroke: var(--accent); }

.vg-scheme__accent-text { fill: var(--accent); }

.vg-scheme__caption, .vg-inline-fig__caption, .vg-mini__caption {
  padding-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: left;
}

.vg-inline-fig__img { width: 100%; border-radius: var(--r-img); }

.vg-mini {
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: #0f131b;
  box-shadow: var(--shadow);
}

.vg-mini__table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  & th, & td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
  }
  & thead th {
    background: var(--panel-2);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
  }
  & tbody th {
    width: 40%;
    font-family: var(--mono);
    font-size: 0.875rem;
    color: var(--accent);
  }
  & tbody td { color: #c9cfdb; }
  & tbody tr:hover { background: rgb(95 227 161 / 0.05); }
  & tbody tr:last-child > * { border-bottom: 0; }
}

.vg-mini__caption {
  caption-side: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  padding-top: 12px;
}

.vg-legal {
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgb(139 123 255 / 0.12), transparent 70%);
  & .vg-prose {
    max-width: 800px;
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid var(--line);
    border-radius: calc(var(--r-panel) + 4px);
    background: linear-gradient(180deg, var(--panel-2), var(--panel) 240px);
    box-shadow: var(--shadow);
  }
  & .vg-prose h2 {
    margin: var(--sp-4) 0 12px;
    padding-top: var(--sp-3);
    border-top: 1px dashed var(--line-2);
    font-size: 1.25rem;
  }
  & .vg-hero__meta { margin-bottom: var(--sp-3); }
}

.vg-legal__title { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem); margin-bottom: var(--sp-3); }

.vg-contact { margin: var(--sp-3) 0; }

.vg-contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 12px;
  background: var(--mint-a);
  font-family: var(--mono);
  font-size: clamp(1rem, 0.8rem + 1.2vw, 1.5rem);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
  transition: box-shadow var(--t) ease;
  &::before { content: "@"; color: var(--violet); }
  &:hover { box-shadow: 0 0 0 4px var(--mint-a), 0 0 40px -10px rgb(95 227 161 / 0.6); }
}

.vg-footer { font-size: 0.9375rem; }

.vg-footer__band {
  container-type: inline-size;
  position: relative;
  padding-block: 64px 56px;
  background:
    radial-gradient(ellipse 40% 90% at 0% 0%, rgb(95 227 161 / 0.1), transparent 70%),
    radial-gradient(ellipse 40% 90% at 100% 100%, rgb(139 123 255 / 0.12), transparent 70%),
    var(--panel-2);
  border-top: 1px solid var(--line-2);
  &::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--violet) 70%, transparent);
    opacity: 0.7;
  }
}

.vg-footer__inner {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: grid;
  gap: 40px 48px;
}

@container (min-width: 640px) {
  .vg-footer__inner { grid-template-columns: 1fr 1fr; }
}

@container (min-width: 1000px) {
  .vg-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}

.vg-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.vg-footer__mark {
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 8px;
  background: var(--mint-a);
  color: var(--accent);
  font-size: 0.875rem;
}

.vg-footer__head {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  &:not(:first-child) { margin-top: var(--sp-3); }
}

.vg-footer__list { list-style: none; margin: 0; padding: 0; }

.vg-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text);
  text-decoration: none;
  &:hover { color: var(--accent); }
}

.vg-footer__text { margin-bottom: 12px; color: var(--muted); }

.vg-footer__mail { font-family: var(--mono); font-weight: 700; }

.vg-footer__base { padding-block: 24px 32px; background: #08090d; }

.vg-footer__fine {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  color: var(--muted);
  font-size: var(--fs-s);
  & p { margin: 0; max-width: 80ch; }
}

.js main :is(.vg-band, .vg-play).is-pending { opacity: 0; translate: 0 28px; }

.js main :is(.vg-band, .vg-play).is-shown {
  opacity: 1;
  translate: 0 0;
  transition: opacity 650ms var(--ease), translate 650ms var(--ease);
}

@media (max-width: 959px) {
  .vg-hero__title { max-width: none; }
  .vg-hero--game .vg-hero__figure--tall { max-width: 340px; }
}

@media (max-width: 560px) {
  .vg-header__cta { display: none; }
  .vg-hero__actions .vg-btn, .vg-pick__btn { width: 100%; }
  .vg-hero__meta { border-radius: 12px; }
  .vg-band { padding-block: 64px; }
  .vg-band--tight { padding-block: 48px; }
  .vg-band--airy { padding-block: 80px; }
  .vg-out__stat { padding-inline: 12px; }
  .vg-out__row { grid-template-columns: 1fr; gap: 0; }
  .vg-choose__row { padding-inline: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js main :is(.vg-band, .vg-play).is-pending { opacity: 1; translate: none; }
}
