/* ==================================================================
   5n5n app - dynamic canvas stylesheet
   File   : css/dynamic-8974a4-canvas.css
   Prefix : c8974a-
   Palette: ink #0D1117 / mint #9AFF9A / paper #F0F0F0
            peach #FFDEAD / signal #00FF7F / clay #A0522D
   Direction:
     - technical-feel headings (mono stack) + open body text
     - low-radius sectioned zones (bordered blocks, 2-4px radii)
     - grouped cover-card game batches (frames inside one rail)
     - short-list information rhythm
     - short-distance section transitions (<=160ms)
     - staggered primary/secondary CTA sizes
   Canvas: 320-430px phone frame, centered on wide screens.
   ================================================================== */

:root {
  --c8974a-ink: #0D1117;
  --c8974a-ink-deep: #07090C;
  --c8974a-ink-panel: #10161F;
  --c8974a-ink-raise: #151D28;
  --c8974a-mint: #9AFF9A;
  --c8974a-paper: #F0F0F0;
  --c8974a-peach: #FFDEAD;
  --c8974a-signal: #00FF7F;
  --c8974a-clay: #A0522D;
  --c8974a-line: rgba(154, 255, 154, 0.16);
  --c8974a-line-soft: rgba(240, 240, 240, 0.10);
  --c8974a-head-font: "JetBrains Mono", "SF Mono", "Cascadia Mono", ui-monospace, Consolas, "Courier New", monospace;
  --c8974a-body-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --c8974a-dock-h: 60px;
}

/* ------------------------------------------------------------------
   Reset + base
   ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--c8974a-body-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c8974a-paper);
  background: var(--c8974a-ink-deep);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--c8974a-mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

::selection {
  background: rgba(0, 255, 127, 0.28);
  color: #FFFFFF;
}

/* ------------------------------------------------------------------
   Phone canvas shell
   ------------------------------------------------------------------ */

.c8974a-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--c8974a-ink);
  overflow-x: hidden;
}

@media (min-width: 480px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(0, 255, 127, 0.05), transparent 70%),
      var(--c8974a-ink-deep);
  }

  .c8974a-shell {
    border-inline: 1px solid var(--c8974a-line);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

.c8974a-main {
  padding-bottom: calc(var(--c8974a-dock-h) + 34px + env(safe-area-inset-bottom));
}

section {
  scroll-margin-top: 122px;
}

/* ------------------------------------------------------------------
   Header - dual layer: brand bar above, action bar below
   ------------------------------------------------------------------ */

.c8974a-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 23, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c8974a-line);
}

.c8974a-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 8px;
}

.c8974a-logo {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid rgba(154, 255, 154, 0.45);
  background: var(--c8974a-ink-raise);
  object-fit: cover;
  flex: none;
}

.c8974a-brand-name {
  font-family: var(--c8974a-head-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c8974a-mint);
  line-height: 1.1;
}

.c8974a-brand-name small {
  display: none;
}

.c8974a-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 10px;
}

/* ------------------------------------------------------------------
   Buttons - staggered primary / secondary sizes
   ------------------------------------------------------------------ */

.c8974a-btn {
  font-family: var(--c8974a-head-font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  min-height: 44px;
  transition: transform 120ms ease, background-color 120ms ease,
    border-color 120ms ease, color 120ms ease;
}

.c8974a-btn--primary {
  flex: 1 1 auto;
  background: var(--c8974a-signal);
  color: var(--c8974a-ink);
  font-size: 14px;
  border: 1px solid transparent;
}

.c8974a-btn--primary:hover {
  background: #4DFFA6;
}

.c8974a-btn--ghost {
  flex: 0 0 auto;
  padding: 0 16px;
  background: transparent;
  color: var(--c8974a-peach);
  border: 1px solid rgba(255, 222, 173, 0.55);
  font-size: 12px;
}

.c8974a-btn--ghost:hover {
  border-color: var(--c8974a-peach);
  background: rgba(255, 222, 173, 0.08);
}

.c8974a-menu-btn {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--c8974a-line);
  border-radius: 3px;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.c8974a-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c8974a-mint);
  border-radius: 1px;
  transition: transform 140ms ease, opacity 140ms ease, width 140ms ease;
}

.c8974a-menu-btn:hover {
  border-color: rgba(154, 255, 154, 0.5);
  background: rgba(154, 255, 154, 0.06);
}

.c8974a-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.c8974a-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.c8974a-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------
   Sectioned menu panel (overlay under the action bar)
   ------------------------------------------------------------------ */

.c8974a-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 39;
  background: var(--c8974a-ink-panel);
  border-bottom: 1px solid var(--c8974a-line);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.55);
  max-height: 0;
  overflow: hidden;
  transition: max-height 160ms ease;
}

.c8974a-menu.is-open {
  max-height: 620px;
}

.c8974a-mzone {
  padding: 12px 14px 4px;
}

.c8974a-mzone + .c8974a-mzone {
  border-top: 1px dashed var(--c8974a-line-soft);
  margin-top: 8px;
}

.c8974a-mzone-title {
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c8974a-peach);
  margin: 0 0 8px;
}

.c8974a-mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.c8974a-mlink {
  display: block;
  min-height: 44px;
  padding: 8px 10px;
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--c8974a-paper);
  background: var(--c8974a-ink);
  border: 1px solid var(--c8974a-line-soft);
  border-left: 2px solid var(--c8974a-clay);
  border-radius: 2px;
  transition: border-color 120ms ease, color 120ms ease,
    background-color 120ms ease, transform 120ms ease;
}

.c8974a-mlink:hover,
.c8974a-mlink:focus-visible {
  border-left-color: var(--c8974a-mint);
  color: var(--c8974a-mint);
  background: var(--c8974a-ink-raise);
  text-decoration: none;
}

.c8974a-mlink em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 240, 0.55);
  margin-top: 2px;
}

.c8974a-mlink[aria-current="page"] {
  color: var(--c8974a-mint);
  border-left-color: var(--c8974a-signal);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--c8974a-signal);
}

/* ------------------------------------------------------------------
   Hero carousel - local banners, snap scrolling, dot rail
   ------------------------------------------------------------------ */

.c8974a-hero {
  margin: 12px 12px 0;
}

.c8974a-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--c8974a-line);
  border-radius: 4px;
  background: var(--c8974a-ink-panel);
}

.c8974a-hero-track::-webkit-scrollbar {
  display: none;
}

.c8974a-hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
}

.c8974a-hero-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.c8974a-hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 9px 0 2px;
}

.c8974a-dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: rgba(154, 255, 154, 0.22);
  transition: background-color 140ms ease, width 140ms ease;
}

.c8974a-dot:hover {
  background: rgba(154, 255, 154, 0.45);
}

.c8974a-dot.is-active {
  width: 38px;
  background: var(--c8974a-signal);
}

/* ------------------------------------------------------------------
   Category chip strip (horizontal rail)
   ------------------------------------------------------------------ */

.c8974a-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c8974a-strip::-webkit-scrollbar {
  display: none;
}

.c8974a-chip {
  flex: none;
  font-family: var(--c8974a-head-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.75);
  padding: 9px 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c8974a-line);
  border-radius: 2px;
  background: var(--c8974a-ink);
  transition: color 120ms ease, border-color 120ms ease,
    background-color 120ms ease;
}

.c8974a-chip:hover,
.c8974a-chip:focus-visible {
  color: var(--c8974a-mint);
  border-color: rgba(154, 255, 154, 0.5);
  text-decoration: none;
}

.c8974a-chip.is-active {
  color: var(--c8974a-ink);
  background: var(--c8974a-mint);
  border-color: var(--c8974a-mint);
}

/* ------------------------------------------------------------------
   Generic content zone (bordered section block)
   ------------------------------------------------------------------ */

.c8974a-sec {
  margin: 16px 12px 0;
  padding: 13px 12px 15px;
  border: 1px solid var(--c8974a-line-soft);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.9), rgba(13, 17, 23, 0.65));
}

.c8974a-kicker {
  font-family: var(--c8974a-head-font);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c8974a-peach);
  margin: 0 0 6px;
}

h1.c8974a-h1 {
  font-family: var(--c8974a-head-font);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c8974a-paper);
  margin: 0 0 8px;
}

h1.c8974a-h1 b {
  color: var(--c8974a-mint);
  font-weight: 700;
}

h2.c8974a-h2 {
  font-family: var(--c8974a-head-font);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--c8974a-paper);
  margin: 0 0 10px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--c8974a-line-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

h2.c8974a-h2::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--c8974a-signal);
  transform: translateY(-1px);
}

h3.c8974a-h3 {
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c8974a-mint);
  margin: 14px 0 5px;
}

.c8974a-lede,
.c8974a-p {
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(240, 240, 240, 0.86);
  margin: 0 0 9px;
}

.c8974a-p:last-child {
  margin-bottom: 0;
}

.c8974a-p a {
  color: var(--c8974a-mint);
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Game zone band + grouped cover-card batch
   ------------------------------------------------------------------ */

.c8974a-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.c8974a-band-title {
  font-family: var(--c8974a-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c8974a-mint);
}

.c8974a-band-count {
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c8974a-peach);
  border: 1px solid rgba(160, 82, 45, 0.85);
  border-radius: 2px;
  padding: 3px 7px;
  white-space: nowrap;
}

.c8974a-band-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.78);
  margin: 0 0 10px;
}

.c8974a-batch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--c8974a-line-soft);
  border-radius: 3px;
  background: #0B1016;
}

.c8974a-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 2px 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-align: center;
  transition: border-color 120ms ease, transform 120ms ease,
    background-color 120ms ease;
}

.c8974a-game:hover {
  border-color: rgba(154, 255, 154, 0.4);
  background: rgba(154, 255, 154, 0.05);
}

.c8974a-game-frame {
  width: 100%;
  display: block;
  border: 1px solid rgba(154, 255, 154, 0.18);
  border-radius: 3px;
  overflow: hidden;
  background: var(--c8974a-ink-raise);
  transition: border-color 120ms ease;
}

.c8974a-game:hover .c8974a-game-frame {
  border-color: rgba(154, 255, 154, 0.55);
}

.c8974a-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c8974a-game-name {
  font-size: 10.5px;
  line-height: 1.3;
  color: rgba(240, 240, 240, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
  word-break: break-word;
}

.c8974a-game:hover .c8974a-game-name {
  color: var(--c8974a-mint);
}

/* ------------------------------------------------------------------
   Module: field notes (numbered trick rail)
   ------------------------------------------------------------------ */

.c8974a-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c8974a-note {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 9px 0;
}

.c8974a-note + .c8974a-note {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-note-num {
  font-family: var(--c8974a-head-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--c8974a-signal);
  border: 1px solid rgba(0, 255, 127, 0.35);
  border-radius: 2px;
  text-align: center;
  height: 26px;
  line-height: 24px;
}

.c8974a-note b {
  color: var(--c8974a-paper);
  font-weight: 700;
}

.c8974a-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.82);
}

/* ------------------------------------------------------------------
   Module: question accordions
   ------------------------------------------------------------------ */

.c8974a-qa {
  border: 1px solid var(--c8974a-line-soft);
  border-radius: 3px;
  background: var(--c8974a-ink-panel);
  margin-bottom: 8px;
  overflow: hidden;
}

.c8974a-qa:last-child {
  margin-bottom: 0;
}

.c8974a-qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c8974a-mint);
  cursor: pointer;
  transition: background-color 120ms ease;
}

.c8974a-qa summary::-webkit-details-marker {
  display: none;
}

.c8974a-qa summary:hover {
  background: rgba(154, 255, 154, 0.05);
}

.c8974a-qa summary::after {
  content: "+";
  flex: none;
  font-family: var(--c8974a-head-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--c8974a-peach);
  transition: transform 140ms ease;
}

.c8974a-qa[open] summary {
  border-bottom: 1px dashed var(--c8974a-line-soft);
}

.c8974a-qa[open] summary::after {
  transform: rotate(45deg);
}

.c8974a-ans {
  padding: 10px 12px 12px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(240, 240, 240, 0.84);
}

.c8974a-ans a {
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Module: winners feed (mono ledger rows)
   ------------------------------------------------------------------ */

.c8974a-feed {
  border: 1px solid var(--c8974a-line-soft);
  border-radius: 3px;
  background: #0B1016;
  padding: 4px 10px;
}

.c8974a-feed-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.c8974a-feed-row + .c8974a-feed-row {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-feed-who {
  font-family: var(--c8974a-head-font);
  font-size: 11.5px;
  color: var(--c8974a-mint);
  white-space: nowrap;
}

.c8974a-feed-game {
  font-size: 11.5px;
  color: rgba(240, 240, 240, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c8974a-feed-amount {
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--c8974a-peach);
  white-space: nowrap;
}

.c8974a-feed-time {
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  color: rgba(240, 240, 240, 0.45);
  white-space: nowrap;
}

.c8974a-feed-note {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(240, 240, 240, 0.55);
  margin: 8px 0 0;
}

/* ------------------------------------------------------------------
   Module: security checklist (CSS-drawn ticks)
   ------------------------------------------------------------------ */

.c8974a-guard {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c8974a-guard li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.84);
}

.c8974a-guard li + li {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-guard li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--c8974a-signal);
  border-bottom: 2px solid var(--c8974a-signal);
  transform: rotate(-45deg);
}

.c8974a-guard b {
  color: var(--c8974a-paper);
}

/* ------------------------------------------------------------------
   Module: relation map (entity ties)
   ------------------------------------------------------------------ */

.c8974a-rel {
  border: 1px solid var(--c8974a-line-soft);
  border-radius: 3px;
  background: var(--c8974a-ink-panel);
  padding: 2px 11px;
}

.c8974a-rel-row {
  padding: 9px 0;
}

.c8974a-rel-row + .c8974a-rel-row {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-rel-pair {
  font-family: var(--c8974a-head-font);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--c8974a-paper);
  margin: 0 0 3px;
}

.c8974a-rel-pair i {
  font-style: normal;
  color: var(--c8974a-signal);
  padding: 0 6px;
}

.c8974a-rel-pair b {
  color: var(--c8974a-mint);
  font-weight: 700;
}

.c8974a-rel-row p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.76);
}

/* ------------------------------------------------------------------
   Module: definition rail
   ------------------------------------------------------------------ */

.c8974a-def {
  margin: 0;
}

.c8974a-def-row {
  padding: 9px 0;
}

.c8974a-def-row + .c8974a-def-row {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-def dt {
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c8974a-peach);
  margin: 0 0 3px;
}

.c8974a-def dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: rgba(240, 240, 240, 0.8);
}

/* ------------------------------------------------------------------
   Extended footer: brand > promotions > directory > disclaimer
   ------------------------------------------------------------------ */

.c8974a-xfoot {
  margin: 20px 12px 0;
  border: 1px solid var(--c8974a-line);
  border-radius: 4px;
  background: var(--c8974a-ink-panel);
  overflow: hidden;
}

.c8974a-xbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 13px 12px;
  border-bottom: 1px solid var(--c8974a-line-soft);
}

.c8974a-xbrand img {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  border: 1px solid rgba(154, 255, 154, 0.4);
  flex: none;
  object-fit: cover;
}

.c8974a-xbrand p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.78);
}

.c8974a-xbrand b {
  color: var(--c8974a-mint);
  font-family: var(--c8974a-head-font);
  letter-spacing: 0.04em;
}

.c8974a-xlabel {
  font-family: var(--c8974a-head-font);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c8974a-peach);
  padding: 12px 13px 7px;
  display: block;
}

.c8974a-xpromos {
  padding: 0 13px 4px;
}

.c8974a-xpromo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 222, 173, 0.4);
  border-radius: 3px;
  text-align: left;
  transition: border-color 120ms ease, background-color 120ms ease,
    transform 120ms ease;
}

.c8974a-xpromo:hover {
  border-color: var(--c8974a-peach);
  background: rgba(255, 222, 173, 0.07);
}

.c8974a-xpromo--lead {
  min-height: 52px;
  border-color: var(--c8974a-signal);
  background: rgba(0, 255, 127, 0.07);
}

.c8974a-xpromo--lead:hover {
  background: rgba(0, 255, 127, 0.12);
  border-color: var(--c8974a-signal);
}

.c8974a-xpromo-text {
  display: block;
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c8974a-paper);
  line-height: 1.35;
}

.c8974a-xpromo--lead .c8974a-xpromo-text {
  font-size: 13px;
  color: var(--c8974a-signal);
}

.c8974a-xpromo-sub {
  display: block;
  font-size: 10.5px;
  color: rgba(240, 240, 240, 0.6);
  margin-top: 2px;
}

.c8974a-xpromo-arrow {
  flex: none;
  font-family: var(--c8974a-head-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--c8974a-peach);
}

.c8974a-xpromo--lead .c8974a-xpromo-arrow {
  color: var(--c8974a-signal);
}

.c8974a-dir {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 0 13px 10px;
}

.c8974a-dir a {
  font-family: var(--c8974a-head-font);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(240, 240, 240, 0.85);
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background: var(--c8974a-ink);
  border: 1px solid var(--c8974a-line-soft);
  border-left: 2px solid var(--c8974a-clay);
  border-radius: 2px;
  transition: color 120ms ease, border-left-color 120ms ease,
    background-color 120ms ease;
}

.c8974a-dir a:hover,
.c8974a-dir a:focus-visible {
  color: var(--c8974a-mint);
  border-left-color: var(--c8974a-mint);
  background: var(--c8974a-ink-raise);
  text-decoration: none;
}

.c8974a-xdisclaim {
  padding: 11px 13px 13px;
  border-top: 1px solid var(--c8974a-line-soft);
}

.c8974a-xdisclaim p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.55);
}

/* ------------------------------------------------------------------
   Common footer + fixed bottom dock
   ------------------------------------------------------------------ */

.c8974a-foot {
  text-align: center;
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(240, 240, 240, 0.5);
  padding: 16px 14px 12px;
}

.c8974a-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  background: rgba(8, 11, 15, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c8974a-line);
}

.c8974a-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px 6px;
  font-family: var(--c8974a-head-font);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.62);
  border-radius: 3px;
  transition: color 120ms ease, background-color 120ms ease,
    transform 120ms ease;
}

.c8974a-dock-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: fill 120ms ease;
}

.c8974a-dock-item:hover {
  color: var(--c8974a-paper);
  background: rgba(154, 255, 154, 0.06);
  text-decoration: none;
}

.c8974a-dock-item:active {
  transform: translateY(1px);
}

.c8974a-dock-item--promo {
  color: var(--c8974a-peach);
}

.c8974a-dock-item--promo svg {
  stroke: var(--c8974a-peach);
}

.c8974a-dock-item--promo:hover {
  color: var(--c8974a-peach);
  background: rgba(255, 222, 173, 0.08);
}

.c8974a-dock-item[aria-current="page"] {
  color: var(--c8974a-mint);
}

.c8974a-dock-item[aria-current="page"] svg {
  stroke: var(--c8974a-mint);
  fill: currentColor;
  fill-opacity: 0.22;
}

.c8974a-dock-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--c8974a-signal);
}

/* ------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------ */

.c8974a-press {
  transition: transform 120ms ease;
}

.c8974a-press:active {
  transform: scale(0.96);
}

.c8974a-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.c8974a-cta-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
}

/* ------------------------------------------------------------------
   Wide phone refinements (390px+)
   ------------------------------------------------------------------ */

@media (min-width: 390px) {
  .c8974a-batch {
    grid-template-columns: repeat(5, 1fr);
  }

  .c8974a-dir {
    grid-template-columns: 1fr 1fr;
  }

  .c8974a-mgrid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 414px) {
  h1.c8974a-h1 {
    font-size: 20px;
  }

  .c8974a-game-name {
    font-size: 11px;
  }
}

/* ------------------------------------------------------------------
   Help-page instruments
   ------------------------------------------------------------------ */

.c8974a-help-intro {
  margin: 12px 12px 0;
  padding: 16px 13px;
  border-left: 3px solid var(--c8974a-signal);
  background: linear-gradient(110deg, rgba(0, 255, 127, 0.12), rgba(16, 22, 31, 0.92));
}

.c8974a-help-intro h1 {
  margin-bottom: 8px;
}

.c8974a-help-intro p {
  margin: 0;
  color: rgba(240, 240, 240, 0.86);
  font-size: 13.5px;
  line-height: 1.68;
}

.c8974a-help-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 11px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 222, 173, 0.55);
  border-radius: 3px;
  color: var(--c8974a-peach);
  font-family: var(--c8974a-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.c8974a-help-action:hover,
.c8974a-help-action:focus-visible {
  color: var(--c8974a-ink);
  border-color: var(--c8974a-signal);
  background: var(--c8974a-signal);
  text-decoration: none;
}

.c8974a-help-action--lead {
  color: var(--c8974a-ink);
  border-color: var(--c8974a-signal);
  background: var(--c8974a-signal);
}

.c8974a-help-action--lead:hover,
.c8974a-help-action--lead:focus-visible {
  background: var(--c8974a-mint);
}

.c8974a-checkgrid {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c8974a-checkline {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px 9px;
  border: 1px solid var(--c8974a-line-soft);
  border-left: 2px solid var(--c8974a-clay);
  background: rgba(13, 17, 23, 0.72);
}

.c8974a-checkmark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--c8974a-ink);
  background: var(--c8974a-mint);
  border-radius: 50%;
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  font-weight: 700;
}

.c8974a-checkline p,
.c8974a-device p,
.c8974a-branch p,
.c8974a-term p,
.c8974a-fact p {
  margin: 0;
  color: rgba(240, 240, 240, 0.82);
  font-size: 12.8px;
  line-height: 1.62;
}

.c8974a-checkline b,
.c8974a-device b,
.c8974a-branch b,
.c8974a-term b,
.c8974a-fact b {
  color: var(--c8974a-paper);
}

.c8974a-device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c8974a-device {
  min-width: 0;
  padding: 11px 9px;
  border-top: 2px solid var(--c8974a-mint);
  background: #0B1016;
}

.c8974a-device h3 {
  margin: 0 0 5px;
  color: var(--c8974a-peach);
  font-family: var(--c8974a-head-font);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.c8974a-branch {
  padding: 10px 11px;
  border: 1px dashed rgba(255, 222, 173, 0.42);
  background: rgba(160, 82, 45, 0.08);
}

.c8974a-branch + .c8974a-branch {
  margin-top: 8px;
}

.c8974a-branch-label {
  display: block;
  margin-bottom: 3px;
  color: var(--c8974a-peach);
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.c8974a-term-list {
  margin: 0;
  padding: 0;
}

.c8974a-term {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  padding: 9px 0;
}

.c8974a-term + .c8974a-term {
  border-top: 1px dashed var(--c8974a-line-soft);
}

.c8974a-term dt {
  color: var(--c8974a-mint);
  font-family: var(--c8974a-head-font);
  font-size: 11px;
  font-weight: 700;
}

.c8974a-term dd {
  margin: 0;
}

.c8974a-decision {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c8974a-decision;
}

.c8974a-decision li {
  counter-increment: c8974a-decision;
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 40px;
  border-bottom: 1px solid var(--c8974a-line-soft);
  color: rgba(240, 240, 240, 0.84);
  font-size: 12.8px;
  line-height: 1.55;
}

.c8974a-decision li::before {
  content: counter(c8974a-decision, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--c8974a-signal);
  font-family: var(--c8974a-head-font);
  font-size: 12px;
  font-weight: 700;
}

.c8974a-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--c8974a-clay);
}

.c8974a-step {
  position: relative;
  padding: 0 0 15px 18px;
}

.c8974a-step:last-child {
  padding-bottom: 2px;
}

.c8974a-step::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 3px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--c8974a-signal);
  background: var(--c8974a-ink);
  border-radius: 50%;
}

.c8974a-step h3 {
  margin: 0 0 4px;
  color: var(--c8974a-mint);
  font-family: var(--c8974a-head-font);
  font-size: 12px;
}

.c8974a-step p {
  margin: 0;
  color: rgba(240, 240, 240, 0.82);
  font-size: 13px;
  line-height: 1.62;
}

.c8974a-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c8974a-fact {
  min-width: 0;
  padding: 10px 9px;
  background: rgba(154, 255, 154, 0.05);
  border: 1px solid var(--c8974a-line);
}

.c8974a-fact b {
  display: block;
  margin-bottom: 4px;
  color: var(--c8974a-peach);
  font-family: var(--c8974a-head-font);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c8974a-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.c8974a-inline-actions .c8974a-help-action {
  flex: 1 1 140px;
  margin-top: 0;
}

.c8974a-muted {
  color: rgba(240, 240, 240, 0.6);
  font-size: 11.5px;
}

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
