:root {
  --bg: #1b1b1b;
  --bg-2: #141414;
  --header: #111111;
  --rail: #202020;
  --rail-2: #262626;
  --surface: #2b2b2b;
  --line: #3a3a3a;
  --text: #f3f3f3;
  --text-2: #a3a3a3;
  --text-3: rgba(163, 163, 163, 0.7);
  --accent: #f5c400;
  --accent-2: #ffd84a;
  --accent-bg: rgba(245, 196, 0, 0.14);
  --accent-rgb: 245, 196, 0;
  --on-accent: #1a1400;
  --live: #ff3b30;
  --nav-bg: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --control-border: rgba(255, 255, 255, 0.16);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 6px;
  --r-lg: 10px;
  --topbar-h: 56px;
  --west: 236px;
  --east: 276px;
}

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

html, body {
  height: 100%;
  margin: 0;
}
html { overflow: hidden; }
body.board {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.stake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stake-btn--solid {
  background: var(--accent);
  color: var(--on-accent);
}
.stake-btn--solid:hover { filter: brightness(1.06); }
.stake-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--control-border);
}
.stake-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.stake-btn--block { width: 100%; }

.mark {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.mark img { height: 28px; width: auto; display: block; }
.mark__gold { color: var(--accent); }
.mark__pari { color: #fff; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  background: var(--header);
  border-bottom: 1px solid #000;
}
.masthead__inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  padding: 0 12px 0 16px;
}
.mark { justify-self: start; }
.ticker {
  min-width: 0;
  overflow: hidden;
  justify-self: center;
}
.ticker__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__link {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #d8d8d8;
  white-space: nowrap;
}
.ticker__link:hover { color: #fff; }
.ticker__link--live { color: var(--live); }
.ticker__link.is-on,
.ticker__link--accent {
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 3px;
  padding: 6px 10px;
}
.masthead__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}
.toggle-btn {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
}
.toggle-btn--rail span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
}

.floor {
  display: grid;
  grid-template-columns: var(--west) minmax(0, 1fr) var(--east);
  height: calc(100vh - var(--topbar-h));
  min-height: 0;
}
.dock {
  background: var(--rail);
  border-color: #111;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dock--west {
  border-right: 1px solid #111;
  overflow: hidden;
  scrollbar-width: none;
}
.dock--west::-webkit-scrollbar { display: none; width: 0; height: 0; }
.dock--west .fixtures {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.dock--east {
  border-left: 1px solid #111;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), .42) transparent;
}

.favs { padding: 6px 0; border-bottom: 1px solid var(--line); }
.favs__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #ddd;
}
.favs__row:hover { background: var(--rail-2); }
.favs__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.linklist { display: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.linklist__link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ccc;
}
.linklist__link:hover { color: #fff; background: var(--rail-2); }
.linklist__link.is-on {
  color: var(--on-accent);
  background: var(--accent);
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #191919;
}
.filters__btn {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
}
.filters__btn.is-on {
  color: #fff;
  border-bottom-color: var(--accent);
  background: #242424;
}

.fixtures { padding: 4px 0 10px; }
.fixtures__all {
  display: block;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.fixtures__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  font-size: 13px;
  color: #e8e8e8;
}
.fixtures__row:hover { background: #2d2d2d; }
.fixtures__n { color: var(--text-2); font-variant-numeric: tabular-nums; }
.fixtures__n--live { color: var(--live); }

.pitch {
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), .48) transparent;
}
.pitch::-webkit-scrollbar,
.dock--east::-webkit-scrollbar {
  width: 10px;
}
.pitch::-webkit-scrollbar-track,
.dock--east::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}
.pitch::-webkit-scrollbar-thumb,
.dock--east::-webkit-scrollbar-thumb {
  background-color: rgba(var(--accent-rgb), .42);
  border-radius: 99px;
  border: 3px solid var(--bg);
  background-clip: padding-box;
  min-height: 48px;
}
.dock--east::-webkit-scrollbar-thumb {
  border-color: var(--rail);
}
.pitch::-webkit-scrollbar-thumb:hover,
.dock--east::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent);
}
.pitch::-webkit-scrollbar-thumb:active,
.dock--east::-webkit-scrollbar-thumb:active {
  background-color: var(--accent-2);
}
.pitch::-webkit-scrollbar-corner,
.dock--east::-webkit-scrollbar-corner {
  background: transparent;
}

.shade {
  display: none;
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  background: rgba(0,0,0,.55);
  z-index: 25;
}

.widget {
  margin: 10px;
  padding: 14px;
  background: var(--rail-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.widget--stream {
  background:
    linear-gradient(180deg, rgba(20,40,18,.55), rgba(32,32,32,.95)),
    repeating-linear-gradient(90deg, #1a3a16 0 8px, #163013 8px 16px);
  min-height: 150px;
}
.widget--ticket { border-style: dashed; border-color: rgba(245,196,0,.35); }
.widget__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.widget__title { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.widget__text { margin: 0 0 12px; color: var(--text-2); font-size: 13px; }
.widget__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  border-radius: 3px;
}

.hero-slider {
  --gpari-banner-n: 1;
  --gpari-banner-i: 0;
  position: relative;
  margin: 10px 10px 0;
  border-radius: var(--r);
  overflow: hidden;
  background: #0d0d0d;
}
.hero-slider__viewport {
  overflow: hidden;
  min-height: 240px;
}
.hero-slider__reel {
  display: flex;
  align-items: stretch;
  width: calc(var(--gpari-banner-n) * 100%);
  transform: translateX(calc(var(--gpari-banner-i) * -100% / var(--gpari-banner-n)));
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.hero-slider__slide {
  flex: 0 0 calc(100% / var(--gpari-banner-n));
  width: calc(100% / var(--gpari-banner-n));
  box-sizing: border-box;
  display: grid;
  min-height: 240px;
  padding: 28px 32px 44px;
  grid-template-columns: 1fr minmax(160px, 280px);
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(1200px 220px at 80% 20%, rgba(var(--accent-rgb), .18), transparent 55%),
    linear-gradient(90deg, #0c0c0c 0%, #161616 55%, #0a0a0a 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__reel { transition: none; }
}
.hero-slider__slide--race {
  background:
    radial-gradient(700px 240px at 85% 40%, rgba(180, 30, 30, .35), transparent 60%),
    linear-gradient(100deg, #0b0b0b 35%, #1a120c 100%);
}
.hero-slider__slide--crash {
  background:
    radial-gradient(600px 200px at 80% 50%, rgba(90, 20, 140, .4), transparent 60%),
    linear-gradient(100deg, #0b0b0b, #14101a);
}
.hero-slider__slide--pitch {
  background:
    radial-gradient(600px 200px at 82% 50%, rgba(20, 90, 30, .4), transparent 60%),
    linear-gradient(100deg, #0b0b0b, #0e160e);
}
.hero-slider__slide--gold {
  background:
    radial-gradient(600px 200px at 80% 40%, rgba(245, 196, 0, .28), transparent 60%),
    linear-gradient(100deg, #0b0b0b, #1a1508);
}
.hero-slider__slide--photo {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  grid-template-columns: 1fr;
  min-height: 281px;
}
.hero-slider__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
}
.hero-slider__slide--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.48) 36%, rgba(8,8,8,.12) 62%, transparent 100%);
}
.hero-slider__slide--photo .hero-slider__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}
.hero-slider__slide--photo .hero-slider__chip {
  z-index: 2;
}
.hero-slider__slide--photo .hero-slider__kicker,
.hero-slider__slide--photo .hero-slider__title,
.hero-slider__slide--photo .hero-slider__text {
  text-shadow: 0 1px 14px rgba(0,0,0,.65);
}
.hero-slider__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-slider__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.05;
}
.hero-slider__text { margin: 0 0 16px; color: #d0d0d0; max-width: 42ch; }
.hero-slider__art {
  position: relative;
  min-height: 140px;
}
.hero-slider__art img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 160px;
  width: auto;
  object-fit: contain;
}
.hero-slider__chip {
  position: absolute;
  right: 8px;
  top: 12px;
  max-width: 140px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f5c400, #c99600);
  color: #1a1400;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
}
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.hero-slider__dot {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  line-height: 0;
  font-size: 0;
  background: rgba(255,255,255,.35);
}
.hero-slider__dot.is-on { background: var(--accent); }

.lobby {
  padding: 12px 10px 8px;
  overflow: hidden;
}
.lobby__track {
  display: flex;
  width: max-content;
  animation: gpari-games-marquee var(--gpari-games-dur, 36s) linear infinite;
  will-change: transform;
}
.lobby:hover .lobby__track {
  animation-play-state: paused;
}
.lobby__set {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  margin-right: 10px;
}
.slot-card { flex: 0 0 148px; }
@keyframes gpari-games-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lobby__track { animation: none; }
}
.slot-card__art {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.slot-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slot-card__fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 8px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
.slot-card__name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ddd;
  text-align: center;
}
.slot-card--gold .slot-card__art { background: linear-gradient(135deg, #c9a227, #f5c400 45%, #8a5a00); }
.slot-card--crystal .slot-card__art { background: linear-gradient(135deg, #3a0a4a, #c84cff 50%, #1a0424); }
.slot-card--crash .slot-card__art { background: linear-gradient(135deg, #3a0808, #e23b2f 55%, #120404); }
.slot-card--dice .slot-card__art { background: linear-gradient(135deg, #0d2a12, #2f8a3a 50%, #061408); }
.slot-card--tomb .slot-card__art { background: linear-gradient(135deg, #143018, #4caf50 40%, #0a180c); }
.slot-card--point .slot-card__art { background: linear-gradient(135deg, #1a1040, #5b4dff 50%, #0c0820); }
.slot-card--royal .slot-card__art { background: linear-gradient(135deg, #3a2208, #d4a017 50%, #1a1004); }
.slot-card--neon .slot-card__art { background: linear-gradient(135deg, #042430, #22d3ee 50%, #021418); }
.slot-card--ember .slot-card__art { background: linear-gradient(135deg, #3a1408, #fb923c 50%, #1a0804); }
.slot-card--ice .slot-card__art { background: linear-gradient(135deg, #0b1c33, #60a5fa 50%, #061018); }

.figures { margin: 12px 10px; background: var(--surface); border-radius: var(--r); }
.figures__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.figure { padding: 14px 10px; text-align: center; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure__n { font-size: 20px; font-weight: 800; color: var(--accent); }
.figure__l { font-size: 12px; color: var(--text-2); margin-top: 4px; }

.story,
.caption {
  margin: 8px 10px 24px;
  background: var(--surface);
  border-radius: var(--r);
  padding: 22px 24px 28px;
}
.caption { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.caption + .story { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.caption__title { margin: 8px 0 0; font-size: 30px; line-height: 1.2; }
.trail { font-size: 12px; color: var(--text-2); }
.trail a:hover { color: var(--accent); }
.trail__sep { margin: 0 6px; opacity: .5; }

.story h1,
.story__h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1em;
}
.story h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.25em 0;
}
.story h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 1em 0;
}
.story p { margin: 0 0 1em; color: #ddd; }
.story .content-block > *:first-child { margin-top: 0; }
.content-image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--r);
  margin: 12px auto;
}
.table-wrapper { overflow-x: auto; margin: 12px 0; }
.story table { width: 100%; border-collapse: collapse; }
.story th, .story td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.pluses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.plus {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
}
.plus__icon { color: var(--accent); margin-bottom: 8px; }
.plus__title { font-weight: 800; margin-bottom: 4px; }
.plus__text { margin: 0; color: var(--text-2); font-size: 13px; }

.bonus-box { margin: 16px 0; }
.bonus-box__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(90deg, #1a1508, #2a220c);
  border: 1px solid rgba(245,196,0,.35);
  border-radius: var(--r);
}
.bonus-box__badge {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  min-width: 72px;
}
.bonus-box__title { font-weight: 800; font-size: 18px; }
.bonus-box__text { margin: 4px 0 0; color: var(--text-2); }
.bonus-box__body { flex: 1; }

.testimonials { margin: 18px 0; }
.testimonials__h { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.testimonial {
  margin: 0;
  padding: 12px;
  background: var(--bg-2);
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.testimonial__stars { display: flex; gap: 2px; margin-bottom: 8px; color: #555; }
.testimonial__star.is-on { color: var(--accent); }
.testimonial__text { margin: 0 0 8px; font-size: 13px; color: #ddd; }
.testimonial__who { color: var(--text-2); font-size: 12px; }

.vendors {
  margin: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.vendors__track {
  display: flex;
  width: max-content;
  animation: gpari-studios-marquee var(--gpari-studios-dur, 32s) linear infinite;
  will-change: transform;
}
@media (hover: hover) {
  .vendors:hover .vendors__track {
    animation-play-state: paused;
  }
}
.vendors__set {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  margin-right: 10px;
}
.vendor {
  display: grid;
  place-items: center;
  flex: 0 0 148px;
  height: 64px;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-2);
}
.vendor svg,
.vendor-logo {
  max-height: 36px;
  width: auto;
  max-width: 120px;
}
.vendor--text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
@keyframes gpari-studios-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .vendors {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .vendors::-webkit-scrollbar { display: none; }
  .vendors__track { animation: none; }
  .vendors__set[aria-hidden="true"] { display: none; }
}

.lead-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 8px;
  padding: 18px;
  background: #161616;
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
}
.lead-cta__title { font-size: 20px; font-weight: 800; }
.lead-cta__sub { margin: 4px 0 0; color: var(--text-2); }

.legalbar {
  margin: 8px 10px 20px;
  padding: 20px;
  background: #151515;
  border-radius: var(--r);
  color: var(--text-2);
}
.legalbar__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.legalbar__desc { margin: 10px 0 0; font-size: 13px; }
.legalbar__h { color: #fff; font-weight: 800; margin-bottom: 8px; }
.legalbar__links a { display: block; padding: 4px 0; }
.legalbar__links a:hover { color: var(--accent); }
.legalbar__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.notfound {
  margin: 40px 16px;
  text-align: center;
  padding: 40px 16px;
}
.notfound__num { font-size: 72px; font-weight: 800; color: var(--accent); }
.notfound__title { margin: 0 0 8px; }
.notfound__sub { color: var(--text-2); }

.faq-list { margin: 16px 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.story h3.faq-question,
h3.faq-question {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  text-align: left;
  font-weight: 700;
}
.faq-answer { padding: 0 0 14px; color: var(--text-2); }
.faq-answer p { margin: 0; color: inherit; }
.faq-icon::before { content: "+"; color: var(--accent); }
.faq-item.is-open .faq-icon::before { content: "–"; }

.toc {
  margin: 0 0 20px;
  padding: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.toc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.toc-head:hover { background: var(--rail-2); }
.toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.toc-toggle__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: var(--text-2);
  transition: transform .2s ease, color .15s ease;
}
.toc-head[aria-expanded="false"] .toc-toggle__icon { transform: rotate(-90deg); }
.toc-head[aria-expanded="true"] .toc-toggle__icon { color: var(--accent); }
.toc-list {
  list-style: none;
  margin: 0;
  padding: 6px 8px 10px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
  counter-reset: toc;
}
.toc-list.collapsed { display: none; }
.toc-list > li { counter-increment: toc; }
.toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.35;
}
.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 1.7em;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.toc-list a::after {
  content: "";
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: rotate(-45deg);
  opacity: .45;
}
.toc-list a:hover {
  background: #2d2d2d;
  color: #fff;
}
.toc-list a:hover::after {
  border-color: var(--accent);
  opacity: 1;
}
.toc-sub a {
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-2);
}
.toc-scope h2,
.toc-scope h3 { scroll-margin-top: 12px; }

.page-button {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  justify-content: center;
}
.btn, .btn-ghost, .btn-dark, .btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  font-weight: 700;
}
.btn-dark, .btn-lg { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--control-border); }

@media (max-width: 1100px) {
  .floor { grid-template-columns: var(--west) minmax(0, 1fr); }
  .dock--east {
    position: fixed;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    width: min(320px, 92vw);
    z-index: 30;
    transform: translateX(110%);
    transition: transform .2s ease;
  }
  .board.is-east .dock--east { transform: none; }
  .toggle-btn--east { display: grid; }
  .figures__row { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .legalbar__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .masthead__inner {
    display: flex;
    gap: 8px;
    padding: 0 8px;
  }
  .floor { grid-template-columns: minmax(0, 1fr); }
  .ticker { display: none; }
  .linklist { display: block; }
  .ticker__link--go { display: none; }
  .toggle-btn--rail { display: grid; }
  .mark { margin-right: auto; }
  .dock--west {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    bottom: 0;
    width: min(300px, 90vw);
    z-index: 30;
    transform: translateX(-110%);
    transition: transform .2s ease;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .board.is-west .dock--west { transform: none; }
  .board.is-west .shade,
  .board.is-east .shade { display: block; }
  .hero-slider { margin: 6px 4px 0; }
  .hero-slider__slide { grid-template-columns: 1fr; padding: 18px 12px 36px; }
  .hero-slider__chip { position: static; margin-top: 12px; }
  .hero-slider__slide--photo { min-height: 220px; }
  .hero-slider__slide--photo::after {
    background: linear-gradient(180deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.42) 58%, rgba(8,8,8,.18) 100%);
  }
  .lobby { padding: 10px 4px 6px; }
  .vendors { margin: 12px 0; }
  .vendor { flex-basis: 128px; height: 56px; padding: 6px 10px; }
  .vendor svg,
  .vendor-logo { max-height: 30px; max-width: 104px; }
  .figures { margin: 8px 4px; }
  .story,
  .caption { margin: 6px 4px 16px; padding: 16px 12px 20px; }
  .legalbar { margin: 6px 4px 12px; padding: 14px 12px; }
  .notfound { margin: 24px 8px; padding: 24px 8px; }
  .pluses { grid-template-columns: 1fr; }
  .bonus-box__inner { flex-direction: column; align-items: flex-start; }
  .lead-cta { flex-direction: column; align-items: flex-start; }
  .stake-btn--ghost { display: none; }
}
