/* ============================================================
   scottie thompson  |  scottiethompson.click
   File: css/layers-native-c462d7.css
   Mobile-first canvas 320-430px. Every class and custom
   property uses the site prefix c2d78f-.
   Palette: #004D40 teal / #8A2BE2 violet / #00B8D4 cyan /
            #EEEEEE mist / #32CD32 lime / #1B263B navy
   Direction: geometric headings + neutral body, stroke-led
   restrained rounding, horizontal icon-name game bars,
   compact metric rhythm, feedback only on key CTAs.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --c2d78f-night: #1B263B;            /* base canvas */
  --c2d78f-night-deep: #131C2F;       /* letterbox + wells */
  --c2d78f-teal: #004D40;             /* deep surface tint */
  --c2d78f-violet: #8A2BE2;           /* secondary accent */
  --c2d78f-cyan: #00B8D4;             /* primary accent */
  --c2d78f-lime: #32CD32;             /* success / primary CTA */
  --c2d78f-mist: #EEEEEE;             /* text */
  --c2d78f-ink: rgba(238, 238, 238, .92);
  --c2d78f-ink-soft: rgba(238, 238, 238, .70);
  --c2d78f-ink-faint: rgba(238, 238, 238, .52);
  --c2d78f-line: rgba(238, 238, 238, .16);
  --c2d78f-line-cyan: rgba(0, 184, 212, .42);
  --c2d78f-line-violet: rgba(138, 43, 226, .45);
  --c2d78f-surface: rgba(238, 238, 238, .05);
  --c2d78f-surface-teal: rgba(0, 77, 64, .38);
  --c2d78f-radius-s: 6px;
  --c2d78f-radius-m: 9px;
  --c2d78f-radius-l: 12px;
  --c2d78f-font-head: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --c2d78f-font-body: "Segoe UI", Arial, sans-serif;
  --c2d78f-topbar-h: 56px;
  --c2d78f-bottomnav-h: 62px;
  --c2d78f-glow-cyan: 0 0 10px rgba(0, 184, 212, .38);
  --c2d78f-glow-lime: 0 0 12px rgba(50, 205, 50, .35);
}

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

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

body {
  margin: 0;
  background: var(--c2d78f-night-deep);
  color: var(--c2d78f-ink);
  font-family: var(--c2d78f-font-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: rgba(0, 184, 212, .18);
}

a { color: var(--c2d78f-cyan); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--c2d78f-cyan);
  outline-offset: 2px;
  border-radius: var(--c2d78f-radius-s);
}

/* ---------- phone canvas ---------- */
.c2d78f-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(0, 77, 64, .55) 0%, rgba(0, 77, 64, 0) 62%),
    var(--c2d78f-night);
  box-shadow: 0 0 0 1px rgba(0, 184, 212, .22);
  overflow-x: clip;
}

.c2d78f-main {
  padding-top: calc(var(--c2d78f-topbar-h) + 8px);
  /* keep the last rows reachable above the fixed bottom nav */
  padding-bottom: calc(var(--c2d78f-bottomnav-h) + 26px + env(safe-area-inset-bottom));
}

.c2d78f-container {
  padding-inline: 12px;
}

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

/* ============================================================
   TOP BAR — compact brand bar + action cluster
   ============================================================ */
.c2d78f-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--c2d78f-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(19, 28, 47, .97);
  border-bottom: 1px solid var(--c2d78f-line-cyan);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.c2d78f-brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--c2d78f-mist);
  min-width: 0;
}

.c2d78f-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--c2d78f-radius-s);
  border: 1px solid var(--c2d78f-line-cyan);
  object-fit: cover;
  flex: 0 0 auto;
}

.c2d78f-brand-name {
  font-family: var(--c2d78f-font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c2d78f-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* ---------- buttons: solid primary / outlined secondary ---------- */
.c2d78f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--c2d78f-radius-s);
  border: 1px solid transparent;
  font-family: var(--c2d78f-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
}

.c2d78f-btn:active {
  transform: scale(.965);
}

.c2d78f-btn-solid {
  background: var(--c2d78f-lime);
  border-color: rgba(50, 205, 50, .55);
  color: #10240f;
}

.c2d78f-btn-solid:active {
  box-shadow: var(--c2d78f-glow-lime);
}

.c2d78f-btn-line {
  background: transparent;
  border-color: var(--c2d78f-line-cyan);
  color: var(--c2d78f-cyan);
}

.c2d78f-btn-line:active {
  box-shadow: var(--c2d78f-glow-cyan);
}

.c2d78f-btn-sm {
  min-height: 40px;
  padding: 0 10px;
  font-size: 12px;
}

/* ---------- menu trigger ---------- */
.c2d78f-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-s);
  cursor: pointer;
}

.c2d78f-menubtn-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c2d78f-mist);
  transition: transform .2s ease, opacity .2s ease;
}

.c2d78f-menubtn[aria-expanded="true"] .c2d78f-menubtn-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c2d78f-menubtn[aria-expanded="true"] .c2d78f-menubtn-bar:nth-child(2) { opacity: 0; }
.c2d78f-menubtn[aria-expanded="true"] .c2d78f-menubtn-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   SLIDE-UP ROUTE PANEL
   ============================================================ */
.c2d78f-menuwrap {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 70;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  visibility: hidden;
  pointer-events: none;
}

.c2d78f-menuwrap.c2d78f-is-open {
  visibility: visible;
  pointer-events: auto;
}

.c2d78f-menuveil {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  width: 100%;
  background: rgba(19, 28, 47, .72);
  opacity: 0;
  transition: opacity .22s ease;
  cursor: pointer;
}

.c2d78f-menuwrap.c2d78f-is-open .c2d78f-menuveil { opacity: 1; }

.c2d78f-menu {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 78vh;
  overflow-y: auto;
  padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
  background: var(--c2d78f-night-deep);
  border-top: 1px solid var(--c2d78f-line-cyan);
  border-radius: var(--c2d78f-radius-l) var(--c2d78f-radius-l) 0 0;
  transform: translateY(102%);
  transition: transform .26s ease;
}

.c2d78f-menuwrap.c2d78f-is-open .c2d78f-menu { transform: translateY(0); }

.c2d78f-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.c2d78f-menu-title {
  margin: 0;
  font-family: var(--c2d78f-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c2d78f-cyan);
}

.c2d78f-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-s);
  color: var(--c2d78f-mist);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.c2d78f-menu-grouplabel {
  margin: 12px 0 6px;
  font-family: var(--c2d78f-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c2d78f-ink-faint);
}

.c2d78f-menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c2d78f-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
  color: var(--c2d78f-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.c2d78f-menu-link:active {
  border-color: var(--c2d78f-line-cyan);
  box-shadow: var(--c2d78f-glow-cyan);
}

.c2d78f-menu-link .c2d78f-menu-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c2d78f-violet);
}

.c2d78f-menu-cta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.c2d78f-hero {
  padding: 14px 12px 4px;
}

.c2d78f-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 4px 9px;
  border: 1px solid var(--c2d78f-line-violet);
  border-radius: var(--c2d78f-radius-s);
  font-family: var(--c2d78f-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9a6f5;
  background: rgba(138, 43, 226, .12);
}

.c2d78f-h1 {
  margin: 0 0 10px;
  font-family: var(--c2d78f-font-head);
  font-size: clamp(21px, 6vw, 26px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--c2d78f-mist);
}

.c2d78f-h1 em {
  font-style: normal;
  color: var(--c2d78f-cyan);
}

.c2d78f-lede {
  margin: 0 0 14px;
  color: var(--c2d78f-ink-soft);
  font-size: 13.5px;
}

.c2d78f-hero-ctas {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin: 0 0 16px;
}

/* ============================================================
   CAROUSEL — real promo banners, tap-through to lobby
   ============================================================ */
.c2d78f-carousel {
  position: relative;
  margin: 0 12px 14px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-l);
  overflow: hidden;
  background: var(--c2d78f-night-deep);
}

.c2d78f-ctrack {
  display: flex;
  transition: transform .38s ease;
}

.c2d78f-cslide {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--c2d78f-night-deep);
  cursor: pointer;
  text-align: left;
}

.c2d78f-cslide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.c2d78f-cslide-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--c2d78f-line);
  background: rgba(0, 77, 64, .30);
}

.c2d78f-cslide-txt {
  font-family: var(--c2d78f-font-head);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c2d78f-ink);
}

.c2d78f-cslide-go {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c2d78f-lime);
}

.c2d78f-cdots {
  position: absolute;
  right: 10px;
  bottom: 58px;
  display: flex;
  gap: 6px;
}

.c2d78f-cdot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 1px solid rgba(238, 238, 238, .55);
  border-radius: 4px;
  background: rgba(19, 28, 47, .55);
  cursor: pointer;
}

.c2d78f-cdot.c2d78f-is-on {
  background: var(--c2d78f-cyan);
  border-color: var(--c2d78f-cyan);
  box-shadow: var(--c2d78f-glow-cyan);
}

/* ============================================================
   METRIC STRIP — compact figure + explanation rhythm
   ============================================================ */
.c2d78f-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 12px 18px;
}

.c2d78f-metric {
  padding: 8px 6px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
  text-align: center;
}

.c2d78f-metric-num {
  display: block;
  font-family: var(--c2d78f-font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--c2d78f-cyan);
  line-height: 1.1;
}

.c2d78f-metric-lbl {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c2d78f-ink-faint);
  line-height: 1.3;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.c2d78f-section {
  padding: 4px 12px 18px;
}

.c2d78f-h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--c2d78f-cyan);
  font-family: var(--c2d78f-font-head);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--c2d78f-mist);
}

.c2d78f-section:nth-of-type(even) .c2d78f-h2 {
  border-left-color: var(--c2d78f-violet);
}

.c2d78f-secnote {
  margin: 0 0 12px;
  color: var(--c2d78f-ink-soft);
  font-size: 13px;
}

.c2d78f-secnote a { font-weight: 600; }

.c2d78f-catline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.c2d78f-catcount {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--c2d78f-line-cyan);
  border-radius: 999px;
  font-family: var(--c2d78f-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c2d78f-cyan);
  white-space: nowrap;
}

/* ============================================================
   GAME BARS — horizontal icon + name strips
   ============================================================ */
.c2d78f-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c2d78f-gbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 7px 8px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
  text-align: left;
  cursor: pointer;
}

.c2d78f-gbar:active {
  border-color: var(--c2d78f-line-cyan);
  background: var(--c2d78f-surface-teal);
}

.c2d78f-gbar-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--c2d78f-radius-s);
  border: 1px solid rgba(238, 238, 238, .22);
  overflow: hidden;
  background: var(--c2d78f-night-deep);
}

.c2d78f-gbar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c2d78f-gbar-name {
  min-width: 0;
  font-family: var(--c2d78f-font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c2d78f-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- hot rail: wider bars, horizontal snap scroll ---------- */
.c2d78f-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 172px;
  gap: 8px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c2d78f-line-cyan) transparent;
}

.c2d78f-rail::-webkit-scrollbar { height: 4px; }
.c2d78f-rail::-webkit-scrollbar-thumb {
  background: var(--c2d78f-line-cyan);
  border-radius: 4px;
}

.c2d78f-railbar {
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 8px 9px;
  border: 1px solid rgba(50, 205, 50, .30);
  border-radius: var(--c2d78f-radius-m);
  background: linear-gradient(90deg, rgba(50, 205, 50, .08), rgba(0, 77, 64, .22));
  text-align: left;
  cursor: pointer;
}

.c2d78f-railbar:active {
  border-color: var(--c2d78f-lime);
  box-shadow: 0 0 10px rgba(50, 205, 50, .22);
}

.c2d78f-railbar .c2d78f-gbar-thumb {
  width: 50px;
  height: 50px;
}

.c2d78f-railmeta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c2d78f-railtag {
  display: inline-block;
  margin-bottom: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(50, 205, 50, .5);
  font-family: var(--c2d78f-font-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c2d78f-lime);
}

.c2d78f-railname {
  font-family: var(--c2d78f-font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c2d78f-mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   HIGHLIGHT TILES — category traits
   ============================================================ */
.c2d78f-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c2d78f-tile {
  padding: 10px 10px 12px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
}

.c2d78f-tile-key {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-family: var(--c2d78f-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c2d78f-cyan);
}

.c2d78f-tile-key::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid var(--c2d78f-violet);
}

.c2d78f-tile-txt {
  margin: 0;
  font-size: 12px;
  color: var(--c2d78f-ink-soft);
}

/* ============================================================
   RTP EXPLAINER ROWS — metric + reading
   ============================================================ */
.c2d78f-explrows {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.c2d78f-explrow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
}

.c2d78f-expl-k {
  font-family: var(--c2d78f-font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--c2d78f-cyan);
  line-height: 1.3;
}

.c2d78f-expl-v {
  margin: 0;
  font-size: 12.5px;
  color: var(--c2d78f-ink-soft);
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.c2d78f-ctablock {
  padding: 14px;
  border: 1px solid var(--c2d78f-line-violet);
  border-radius: var(--c2d78f-radius-l);
  background:
    linear-gradient(160deg, rgba(138, 43, 226, .16), rgba(0, 77, 64, .22)),
    var(--c2d78f-surface);
}

.c2d78f-ctabtns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  margin: 12px 0 10px;
}

.c2d78f-ctanote {
  margin: 0;
  font-size: 12px;
  color: var(--c2d78f-ink-faint);
}

.c2d78f-ctanote a { color: var(--c2d78f-cyan); font-weight: 600; }

/* ============================================================
   PROS & LIMITS
   ============================================================ */
.c2d78f-duo {
  display: grid;
  gap: 8px;
}

.c2d78f-duo-col {
  padding: 12px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
}

.c2d78f-duo-col.c2d78f-duo-plus { border-color: rgba(50, 205, 50, .38); }
.c2d78f-duo-col.c2d78f-duo-minus { border-color: rgba(138, 43, 226, .42); }

.c2d78f-duo-h {
  margin: 0 0 8px;
  font-family: var(--c2d78f-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c2d78f-mist);
}

.c2d78f-duo-plus .c2d78f-duo-h { color: var(--c2d78f-lime); }
.c2d78f-duo-minus .c2d78f-duo-h { color: #b48ef0; }

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

.c2d78f-duo-item {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--c2d78f-ink-soft);
}

.c2d78f-duo-plus .c2d78f-duo-item::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--c2d78f-lime);
  font-weight: 800;
}

.c2d78f-duo-minus .c2d78f-duo-item::before {
  content: "!";
  position: absolute;
  left: 0;
  color: #b48ef0;
  font-weight: 800;
}

/* ============================================================
   EXTENDED FOOTER — promotions, brand, directory, disclaimer
   ============================================================ */
.c2d78f-xfooter {
  margin-top: 6px;
  padding: 16px 12px 14px;
  border-top: 1px solid var(--c2d78f-line-cyan);
  background: rgba(19, 28, 47, .6);
}

.c2d78f-xf-title {
  margin: 0 0 10px;
  font-family: var(--c2d78f-font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c2d78f-cyan);
}

.c2d78f-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.c2d78f-xf-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-m);
  background: var(--c2d78f-surface);
  color: var(--c2d78f-ink);
  font-family: var(--c2d78f-font-head);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.c2d78f-xf-promo:active {
  border-color: var(--c2d78f-line-cyan);
  box-shadow: var(--c2d78f-glow-cyan);
}

.c2d78f-xf-promo svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--c2d78f-lime);
}

.c2d78f-xf-brand {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--c2d78f-ink-soft);
}

.c2d78f-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
}

.c2d78f-xf-dirlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 2px;
  border-bottom: 1px dashed var(--c2d78f-line);
  font-size: 12.5px;
  color: var(--c2d78f-ink);
  line-height: 1.3;
}

.c2d78f-xf-dirlink::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c2d78f-cyan);
}

.c2d78f-xf-disc {
  margin: 0;
  padding: 10px;
  border: 1px dashed rgba(238, 238, 238, .28);
  border-radius: var(--c2d78f-radius-m);
  font-size: 11px;
  line-height: 1.5;
  color: var(--c2d78f-ink-faint);
}

/* ============================================================
   UNIVERSAL FOOTER + FIXED BOTTOM NAV
   ============================================================ */
.c2d78f-ufoot {
  padding: 12px 12px 8px;
  border-top: 1px solid var(--c2d78f-line);
  text-align: center;
}

.c2d78f-copy {
  margin: 0;
  font-size: 11px;
  color: var(--c2d78f-ink-faint);
}

.c2d78f-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--c2d78f-bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(19, 28, 47, .98);
  border-top: 1px solid var(--c2d78f-line-cyan);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.c2d78f-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--c2d78f-ink-faint);
  font-family: var(--c2d78f-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.c2d78f-bn-item svg {
  width: 22px;
  height: 22px;
}

.c2d78f-bn-item:active { color: var(--c2d78f-cyan); }

/* active role: emphasized label + restrained glow indicator */
.c2d78f-bn-active {
  color: var(--c2d78f-mist);
}

.c2d78f-bn-active .c2d78f-bn-lbl {
  color: var(--c2d78f-cyan);
}

.c2d78f-bn-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--c2d78f-cyan);
  box-shadow: var(--c2d78f-glow-cyan);
}

/* ============================================================
   CANVAS BREAKPOINT — widen bars to 3 columns on larger phones
   ============================================================ */
@media (min-width: 430px) {
  .c2d78f-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c2d78f-rail {
    grid-auto-columns: 190px;
  }

  .c2d78f-h1 {
    font-size: 27px;
  }

  .c2d78f-metrics {
    gap: 8px;
  }
}

@media (min-width: 375px) {
  .c2d78f-rail {
    grid-auto-columns: 180px;
  }

  .c2d78f-gbar-name {
    font-size: 12.5px;
  }
}

/* narrow canvas: tighten the brand bar so nothing overflows at 320px */
@media (max-width: 349px) {
  .c2d78f-topbar {
    padding: 0 8px;
    gap: 4px;
  }

  .c2d78f-topacts {
    gap: 4px;
  }

  .c2d78f-brand-logo {
    width: 28px;
    height: 28px;
  }

  .c2d78f-brand-name {
    font-size: 13.5px;
  }

  .c2d78f-topacts .c2d78f-btn {
    padding: 0 8px;
    font-size: 11.5px;
    min-height: 38px;
  }

  .c2d78f-menubtn {
    width: 40px;
    height: 40px;
  }
}

/* ---------- help page patterns ---------- */
.c2d78f-factgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c2d78f-fact {
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--c2d78f-line);
  border-top: 3px solid var(--c2d78f-cyan);
  background: rgba(238, 238, 238, .045);
}

.c2d78f-fact strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--c2d78f-font-head);
  font-size: 12px;
  color: var(--c2d78f-mist);
}

.c2d78f-fact span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--c2d78f-ink-soft);
}

.c2d78f-comparison {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--c2d78f-line);
  font-size: 12px;
}

.c2d78f-comparison th,
.c2d78f-comparison td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--c2d78f-line);
  text-align: left;
  vertical-align: top;
}

.c2d78f-comparison th {
  background: var(--c2d78f-surface-teal);
  color: var(--c2d78f-cyan);
  font-family: var(--c2d78f-font-head);
  font-size: 11px;
  letter-spacing: .05em;
}

.c2d78f-comparison td { color: var(--c2d78f-ink-soft); }
.c2d78f-comparison tr:last-child td { border-bottom: 0; }

.c2d78f-callout {
  margin: 10px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--c2d78f-lime);
  background: rgba(50, 205, 50, .07);
  color: var(--c2d78f-ink);
  font-size: 12.5px;
}

.c2d78f-steprail {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c2d78f-step;
}

.c2d78f-steprail li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  counter-increment: c2d78f-step;
}

.c2d78f-steprail li::before {
  content: counter(c2d78f-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--c2d78f-line-cyan);
  border-radius: 50%;
  color: var(--c2d78f-cyan);
  font-family: var(--c2d78f-font-head);
  font-size: 10px;
  font-weight: 800;
}

.c2d78f-stepbody {
  padding: 8px 9px 10px;
  border-bottom: 1px dashed var(--c2d78f-line);
}

.c2d78f-stepbody strong {
  display: block;
  margin-bottom: 3px;
  color: var(--c2d78f-mist);
  font-family: var(--c2d78f-font-head);
  font-size: 13px;
}

.c2d78f-stepbody span {
  color: var(--c2d78f-ink-soft);
  font-size: 12.5px;
}

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

.c2d78f-checklist li {
  padding: 9px 10px 9px 29px;
  border: 1px solid var(--c2d78f-line);
  border-radius: var(--c2d78f-radius-s);
  color: var(--c2d78f-ink-soft);
  font-size: 12.5px;
}

.c2d78f-checklist li::before {
  content: "✓";
  margin-left: -19px;
  margin-right: 9px;
  color: var(--c2d78f-lime);
  font-weight: 800;
}

.c2d78f-answer {
  padding: 12px;
  border: 1px solid var(--c2d78f-line-violet);
  background: rgba(138, 43, 226, .1);
}

.c2d78f-answer p { margin: 0; color: var(--c2d78f-ink); font-size: 13px; }

/* ---------- restrained motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .c2d78f-ctrack,
  .c2d78f-menu,
  .c2d78f-btn,
  .c2d78f-menubtn-bar {
    transition: none;
  }
}

.c2d78f-noscroll {
  overflow: hidden;
}
