/* ==========================================================================
   1xbet mob - mobile display stylesheet
   File contract: css/1xbet-mob-display-03da88.css (class prefix c3da88-)
   Canvas: 320-430px phone-first; wide screens keep a centred phone shell.
   Palette: #FFE135 (accent) / #BDB76B (secondary) / #0C0C0C (base) / #B8860B
   Visual direction: high-contrast serif display + readable sans body,
   small-medium radii, mixed large/small game cards, colour-only transitions,
   light-rounded text CTA groups, monochrome icons with accent indicators.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --c3da88-ink: #0c0c0c;          /* page base (palette dark) */
  --c3da88-ink-2: #101009;        /* sunken band */
  --c3da88-panel: #14140e;        /* card / panel fill */
  --c3da88-panel-2: #171711;      /* raised fill */
  --c3da88-panel-3: #1d1c12;      /* hover fill */
  --c3da88-line: #2c2b1f;         /* hairline */
  --c3da88-line-2: #3a3826;       /* stronger hairline */
  --c3da88-gold: #ffe135;         /* primary accent (palette) */
  --c3da88-khaki: #bdb76b;        /* secondary accent (palette) */
  --c3da88-bronze: #b8860b;       /* deep accent (palette) */
  --c3da88-paper: #f3efdd;        /* main text on dark */
  --c3da88-dim: #b9b294;          /* secondary text */
  --c3da88-mute: #8d8871;         /* muted text */
  --c3da88-radius-s: 7px;
  --c3da88-radius-m: 12px;
  --c3da88-radius-l: 16px;
  --c3da88-font-display: Georgia, "Times New Roman", "Noto Serif", serif;
  --c3da88-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --c3da88-shell-w: 430px;        /* widest phone canvas */
  --c3da88-head-h: 56px;          /* fixed top bar height */
  --c3da88-bnav-h: 58px;          /* fixed bottom nav height */
}

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

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

body {
  margin: 0;
  background: #070706;
  color: var(--c3da88-paper);
  font-family: var(--c3da88-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--c3da88-gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Phone shell ---------- */
.c3da88-shell {
  position: relative;
  max-width: var(--c3da88-shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c3da88-ink);
  padding-bottom: calc(var(--c3da88-bnav-h) + 22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.65);
}

/* ---------- Skip link ---------- */
.c3da88-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--c3da88-radius-s);
  background: var(--c3da88-gold);
  color: #141205;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.15s ease-in, background-color 0.2s ease;
}

.c3da88-skip:focus { top: 8px; }

/* ---------- Fixed top bar (asymmetric brand header) ---------- */
.c3da88-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--c3da88-shell-w);
  height: var(--c3da88-head-h);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 8px 10px;
  background: rgba(12, 12, 10, 0.97);
  border-bottom: 1px solid var(--c3da88-line-2);
}

/* Brand zone carries ONLY the real logo image and the site name. */
.c3da88-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.c3da88-brand-logo {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 10px;
  border: 1px solid var(--c3da88-bronze);
  background: var(--c3da88-panel-2);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 53, 0.08);
}

.c3da88-brand-name {
  display: inline-block;
  font-family: var(--c3da88-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: var(--c3da88-gold);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--c3da88-bronze); /* asymmetric brand rule */
}

/* Action zone: auth buttons + menu trigger live outside the brand zone. */
.c3da88-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.c3da88-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--c3da88-radius-s);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.c3da88-btn--solid {
  background: var(--c3da88-gold);
  color: #171403;
  border: 1px solid var(--c3da88-gold);
}

.c3da88-btn--solid:hover,
.c3da88-btn--solid:active {
  background: #ffea6e;
  border-color: #ffea6e;
  color: #171403;
}

.c3da88-btn--ghost {
  background: transparent;
  color: var(--c3da88-khaki);
  border: 1px solid var(--c3da88-line-2);
}

.c3da88-btn--ghost:hover,
.c3da88-btn--ghost:active {
  color: var(--c3da88-gold);
  border-color: var(--c3da88-bronze);
  background: var(--c3da88-panel);
}

.c3da88-btn--big {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}

.c3da88-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--c3da88-radius-s);
  border: 1px solid var(--c3da88-line-2);
  background: var(--c3da88-panel);
  color: var(--c3da88-khaki);
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.c3da88-menubtn:hover,
.c3da88-menubtn:active,
.c3da88-menubtn.is-open {
  color: var(--c3da88-gold);
  border-color: var(--c3da88-bronze);
  background: var(--c3da88-panel-3);
}

.c3da88-menubtn svg { width: 22px; height: 22px; }

/* ---------- Partitioned drop menu ---------- */
.c3da88-menu {
  position: fixed;
  top: var(--c3da88-head-h);
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--c3da88-shell-w);
  z-index: 65;
  display: none;
  max-height: calc(100vh - var(--c3da88-head-h));
  overflow-y: auto;
  background: var(--c3da88-ink-2);
  border-bottom: 1px solid var(--c3da88-line-2);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
  padding-bottom: 6px;
}

.c3da88-menu.is-open { display: block; }

.c3da88-menu-part {
  padding: 12px 12px 4px;
  border-bottom: 1px dashed var(--c3da88-line);
}

.c3da88-menu-part:last-child { border-bottom: 0; }

.c3da88-menu-head {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c3da88-bronze);
}

.c3da88-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.c3da88-menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--c3da88-radius-s);
  border: 1px solid var(--c3da88-line);
  background: var(--c3da88-panel);
  color: var(--c3da88-paper);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease;
}

.c3da88-menu-link:hover,
.c3da88-menu-link:active {
  color: var(--c3da88-gold);
  background: var(--c3da88-panel-3);
  border-color: var(--c3da88-bronze);
}

.c3da88-menu-part--promo { padding: 12px; }

.c3da88-menu-part--promo .c3da88-btn { width: 100%; }

/* ---------- Main flow ---------- */
.c3da88-main { padding-top: var(--c3da88-head-h); }

/* ---------- Hero carousel ---------- */
.c3da88-hero {
  position: relative;
  background: #000;
  border-bottom: 1px solid var(--c3da88-line);
}

.c3da88-track {
  position: relative;
  aspect-ratio: 43 / 20;
  max-height: 250px;
  overflow: hidden;
}

.c3da88-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.c3da88-slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.c3da88-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* readability veil under slide copy */
.c3da88-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(8, 8, 5, 0) 0%, rgba(8, 8, 5, 0.85) 100%);
  pointer-events: none;
}

.c3da88-slide-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.c3da88-slide-copy b {
  font-family: var(--c3da88-font-display);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c3da88-gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.c3da88-slide-copy i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--c3da88-paper);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.c3da88-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.c3da88-dot {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.c3da88-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(243, 239, 221, 0.42);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.c3da88-dot.is-on::before {
  background: var(--c3da88-gold);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.55);
}

/* ---------- Category chip strip (same-page jump aid) ---------- */
.c3da88-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: var(--c3da88-ink-2);
  border-bottom: 1px solid var(--c3da88-line);
  scrollbar-width: none;
}

.c3da88-catstrip::-webkit-scrollbar { display: none; }

.c3da88-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--c3da88-line-2);
  background: var(--c3da88-panel);
  color: var(--c3da88-khaki);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.c3da88-chip:hover,
.c3da88-chip:active {
  color: var(--c3da88-gold);
  border-color: var(--c3da88-bronze);
  background: var(--c3da88-panel-3);
}

/* ---------- Intro band ---------- */
.c3da88-intro { padding: 20px 14px 6px; }

.c3da88-h1 {
  font-family: var(--c3da88-font-display);
  font-size: 25px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--c3da88-gold);
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--c3da88-bronze);
}

.c3da88-prose p {
  margin: 0 0 12px;
  color: var(--c3da88-dim);
  font-size: 14.5px;
}

.c3da88-prose p:first-child { color: var(--c3da88-paper); }

.c3da88-prose strong { color: var(--c3da88-gold); font-weight: 700; }

.c3da88-prose a,
.c3da88-xfoot-dir a {
  color: var(--c3da88-gold);
  text-decoration: underline;
  text-decoration-color: var(--c3da88-bronze);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.c3da88-prose a:hover,
.c3da88-xfoot-dir a:hover { color: #fff3a8; }

.c3da88-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.c3da88-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--c3da88-radius-s);
  border: 1px solid var(--c3da88-line);
  background: var(--c3da88-panel);
  font-size: 12.5px;
  line-height: 1.45;
  color: #cfc9ad;
}

.c3da88-facts li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--c3da88-gold);
}

/* ---------- Game sections ---------- */
.c3da88-sec { padding: 20px 12px 4px; }

.c3da88-sec-head { margin-bottom: 13px; }

.c3da88-eyebrow {
  margin: 0 0 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--c3da88-bronze);
}

.c3da88-h2 {
  font-family: var(--c3da88-font-display);
  font-size: 20.5px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c3da88-gold);
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--c3da88-bronze);
}

.c3da88-lead {
  color: var(--c3da88-dim);
  font-size: 13.8px;
}

/* Mixed grid: 4 columns at 320px, 5 columns from 400px up. */
.c3da88-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
}

.c3da88-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  color: var(--c3da88-paper);
  -webkit-tap-highlight-color: transparent;
}

.c3da88-gcard-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--c3da88-radius-m);
  overflow: hidden;
  border: 1px solid var(--c3da88-line);
  background: var(--c3da88-panel);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 53, 0.05);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.c3da88-gcard-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c3da88-gcard:hover .c3da88-gcard-frame,
.c3da88-gcard:active .c3da88-gcard-frame,
.c3da88-gcard:focus-visible .c3da88-gcard-frame {
  border-color: var(--c3da88-gold);
  background: var(--c3da88-panel-3);
}

.c3da88-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.32;
  color: #cdc7ab;
  transition: color 0.2s ease;
}

.c3da88-gcard:hover .c3da88-gcard-name,
.c3da88-gcard:active .c3da88-gcard-name { color: var(--c3da88-gold); }

/* Large lead tile: spans 2x2 inside the small-card field. */
.c3da88-gcard--lead {
  grid-column: span 2;
  grid-row: span 2;
}

.c3da88-gcard--lead .c3da88-gcard-frame {
  border-radius: var(--c3da88-radius-l);
  border-color: var(--c3da88-line-2);
}

.c3da88-gcard--lead .c3da88-gcard-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c3da88-khaki);
}

.c3da88-gcard--lead:hover .c3da88-gcard-name,
.c3da88-gcard--lead:active .c3da88-gcard-name { color: var(--c3da88-gold); }

/* ---------- CTA band ---------- */
.c3da88-cta {
  margin: 24px 12px 4px;
  padding: 18px 15px;
  border-radius: var(--c3da88-radius-l);
  border: 1px solid var(--c3da88-bronze);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(184, 134, 11, 0.16) 0%, rgba(184, 134, 11, 0) 62%),
    var(--c3da88-ink-2);
  text-align: center;
}

.c3da88-cta .c3da88-h2 { border-left: 0; padding-left: 0; }

.c3da88-cta .c3da88-lead { color: var(--c3da88-dim); }

.c3da88-ctarow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- FAQ (native details, no JS needed) ---------- */
.c3da88-faq { margin-top: 6px; }

.c3da88-faq-item {
  border: 1px solid var(--c3da88-line);
  border-radius: var(--c3da88-radius-m);
  background: var(--c3da88-panel);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.c3da88-faq-item[open] { border-color: var(--c3da88-line-2); }

.c3da88-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c3da88-paper);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.c3da88-faq-item summary::-webkit-details-marker { display: none; }

.c3da88-faq-item summary::after {
  flex: 0 0 auto;
  content: "+";
  font-family: var(--c3da88-font-display);
  font-size: 19px;
  line-height: 1;
  color: var(--c3da88-khaki);
  transition: color 0.2s ease;
}

.c3da88-faq-item[open] summary {
  color: var(--c3da88-gold);
  border-bottom: 1px dashed var(--c3da88-line);
}

.c3da88-faq-item[open] summary::after {
  content: "\2013";
  color: var(--c3da88-gold);
}

.c3da88-faq-body {
  padding: 11px 14px 14px;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--c3da88-dim);
}

/* ---------- Security checklist ---------- */
.c3da88-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.c3da88-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--c3da88-radius-s);
  border: 1px solid var(--c3da88-line);
  background: var(--c3da88-panel);
  font-size: 13.3px;
  line-height: 1.55;
  color: var(--c3da88-dim);
}

.c3da88-check::before {
  content: "\2713";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 6px;
  background: rgba(255, 225, 53, 0.12);
  border: 1px solid var(--c3da88-bronze);
  color: var(--c3da88-gold);
  font-size: 13px;
  font-weight: 700;
}

.c3da88-check strong { color: var(--c3da88-paper); }

/* ---------- Use-case list ---------- */
.c3da88-usecase { margin-top: 10px; }

.c3da88-usecase li {
  border-left: 3px solid var(--c3da88-bronze);
  border-radius: 0 var(--c3da88-radius-s) var(--c3da88-radius-s) 0;
  background: var(--c3da88-panel);
  padding: 11px 13px;
  margin-bottom: 8px;
}

.c3da88-usecase h3 {
  margin: 0 0 4px;
  font-family: var(--c3da88-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--c3da88-khaki);
}

.c3da88-usecase p {
  font-size: 13.4px;
  line-height: 1.58;
  color: var(--c3da88-dim);
}

/* ---------- Extended footer (promotions > brand > directory > disclaimer) ---------- */
.c3da88-xfoot {
  margin-top: 26px;
  border-top: 1px solid var(--c3da88-line-2);
  background: var(--c3da88-ink-2);
  padding: 18px 14px 6px;
}

.c3da88-xhead {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c3da88-bronze);
}

.c3da88-xfoot-promos { margin-bottom: 20px; }

.c3da88-xpromogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c3da88-xpromo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: var(--c3da88-radius-s);
  border: 1px solid var(--c3da88-line-2);
  background: var(--c3da88-panel-2);
  color: var(--c3da88-paper);
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

.c3da88-xpromo svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--c3da88-gold);
  transition: color 0.25s ease;
}

.c3da88-xpromo:hover,
.c3da88-xpromo:active {
  color: var(--c3da88-gold);
  border-color: var(--c3da88-bronze);
  background: var(--c3da88-panel-3);
}

.c3da88-xpromo--wide { grid-column: 1 / -1; }

.c3da88-xfoot-brand { margin-bottom: 20px; }

.c3da88-xfoot-brand p {
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--c3da88-dim);
}

.c3da88-xfoot-dir { margin-bottom: 16px; }

.c3da88-dirgroup { margin-bottom: 12px; }

.c3da88-dirgroup:last-child { margin-bottom: 0; }

.c3da88-dirhead {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c3da88-khaki);
}

.c3da88-dirgroup ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.c3da88-dirgroup a {
  display: inline-block;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 12.8px;
  color: var(--c3da88-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--c3da88-line-2);
  transition: color 0.2s ease;
}

.c3da88-dirgroup a:hover,
.c3da88-dirgroup a:active { color: var(--c3da88-gold); }

.c3da88-xfoot-disc {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--c3da88-line);
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--c3da88-mute);
}

/* ---------- Copyright bar ---------- */
.c3da88-foot {
  padding: 16px 14px 10px;
  background: #0a0a08;
  border-top: 1px solid var(--c3da88-line);
  text-align: center;
  font-size: 12px;
  color: var(--c3da88-mute);
}

/* ---------- Fixed bottom nav (compact icon rack) ---------- */
.c3da88-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--c3da88-shell-w);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 15, 10, 0.97);
  border-top: 1px solid var(--c3da88-line-2);
  padding: 3px 2px calc(3px + env(safe-area-inset-bottom, 0px));
}

.c3da88-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 4px 2px;
  color: #9d977a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.c3da88-bnav-ico { width: 22px; height: 22px; }

.c3da88-bnav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.c3da88-bnav-item:hover,
.c3da88-bnav-item:active { color: var(--c3da88-khaki); }

/* Active role = underline marker over the label. */
.c3da88-bnav-item.is-active { color: var(--c3da88-gold); }

.c3da88-bnav-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--c3da88-gold);
}

/* Promo roles carry the warm accent so they read as exits, not routes. */
.c3da88-bnav-item--promo .c3da88-bnav-ico { color: var(--c3da88-bronze); }

.c3da88-bnav-item--promo:hover,
.c3da88-bnav-item--promo:active { color: var(--c3da88-gold); }

.c3da88-bnav-item--promo:hover .c3da88-bnav-ico,
.c3da88-bnav-item--promo:active .c3da88-bnav-ico { color: var(--c3da88-gold); }

/* ---------- Width steps inside the 320-430px canvas ---------- */
@media (min-width: 375px) {
  .c3da88-h1 { font-size: 27px; }
  .c3da88-h2 { font-size: 22px; }
  .c3da88-gcard-name { font-size: 11.5px; }
  .c3da88-checklist { gap: 9px; }
}

@media (min-width: 400px) {
  .c3da88-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 9px; }
  .c3da88-gcard-name { font-size: 12px; }
  .c3da88-facts li { font-size: 13px; }
}

@media (min-width: 430px) {
  .c3da88-intro,
  .c3da88-sec { padding-left: 16px; padding-right: 16px; }
  .c3da88-cta { margin-left: 16px; margin-right: 16px; }
  .c3da88-prose p,
  .c3da88-lead { font-size: 14.5px; }
}

/* ---------- Wide screens: keep the phone canvas centred ---------- */
@media (min-width: 500px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, #16140a 0%, #070706 70%) #070706;
  }

  .c3da88-shell {
    border-left: 1px solid var(--c3da88-line);
    border-right: 1px solid var(--c3da88-line);
  }
}

/* ---------- Compact phones: protect long game names ---------- */
@media (max-width: 340px) {
  .c3da88-grid { gap: 7px 6px; }
  .c3da88-gcard-name { font-size: 10.5px; }
  .c3da88-brand-name { font-size: 18px; }
  .c3da88-btn { padding: 10px 12px; font-size: 12.5px; }
}

/* ---------- Reduced motion: strip the remaining fades ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Help-page reading tools ---------- */
.c3da88-help-hero {
  padding: 23px 14px 19px;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.18), rgba(12, 12, 10, 0) 62%), var(--c3da88-ink-2);
  border-bottom: 1px solid var(--c3da88-line-2);
}

.c3da88-help-kicker {
  margin: 0 0 7px;
  color: var(--c3da88-bronze);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.c3da88-help-hero .c3da88-h1 {
  margin-bottom: 11px;
}

.c3da88-help-hero p {
  color: var(--c3da88-dim);
  font-size: 14.3px;
}

.c3da88-help-hero p strong { color: var(--c3da88-paper); }

.c3da88-anchor-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px;
  background: var(--c3da88-panel);
  border-bottom: 1px solid var(--c3da88-line);
  scrollbar-width: none;
}

.c3da88-anchor-rail::-webkit-scrollbar { display: none; }

.c3da88-anchor-rail a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--c3da88-line-2);
  border-radius: 999px;
  color: var(--c3da88-khaki);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.c3da88-anchor-rail a:hover,
.c3da88-anchor-rail a:active {
  color: var(--c3da88-gold);
  border-color: var(--c3da88-bronze);
}

.c3da88-timeline {
  position: relative;
  margin-top: 12px;
  padding-left: 28px;
}

.c3da88-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--c3da88-line-2);
}

.c3da88-timeline-item {
  position: relative;
  margin-bottom: 10px;
  padding: 12px 13px;
  border: 1px solid var(--c3da88-line);
  border-radius: var(--c3da88-radius-s);
  background: var(--c3da88-panel);
}

.c3da88-timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 17px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--c3da88-bronze);
  border-radius: 50%;
  background: var(--c3da88-ink);
}

.c3da88-timeline-item h3,
.c3da88-path h3 {
  margin: 0 0 5px;
  color: var(--c3da88-khaki);
  font-family: var(--c3da88-font-display);
  font-size: 16px;
  line-height: 1.3;
}

.c3da88-timeline-item p,
.c3da88-path p {
  color: var(--c3da88-dim);
  font-size: 13.4px;
  line-height: 1.58;
}

.c3da88-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin-bottom: 6px;
  padding: 3px 8px;
  border: 1px solid var(--c3da88-bronze);
  border-radius: 999px;
  color: var(--c3da88-gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.c3da88-note {
  margin-top: 12px;
  padding: 13px 14px;
  border-left: 3px solid var(--c3da88-gold);
  background: rgba(255, 225, 53, 0.07);
  color: var(--c3da88-paper);
  font-size: 13.6px;
  line-height: 1.6;
}

.c3da88-note strong { color: var(--c3da88-gold); }

.c3da88-promo-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.c3da88-promo-rail button {
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--c3da88-line-2);
  border-radius: var(--c3da88-radius-s);
  background: var(--c3da88-panel-2);
  color: var(--c3da88-paper);
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.c3da88-promo-rail button:hover,
.c3da88-promo-rail button:active {
  border-color: var(--c3da88-bronze);
  color: var(--c3da88-gold);
  background: var(--c3da88-panel-3);
}

.c3da88-promo-rail button:last-child { grid-column: 1 / -1; text-align: center; }

.c3da88-checklist--numbered { counter-reset: c3da88-check; }
.c3da88-check--numbered { counter-increment: c3da88-check; }
.c3da88-check--numbered::before { content: counter(c3da88-check); }

.c3da88-boundary {
  width: 100%;
  border-collapse: collapse;
  margin-top: 13px;
  font-size: 12.7px;
  line-height: 1.45;
}

.c3da88-boundary th,
.c3da88-boundary td {
  padding: 10px 8px;
  border: 1px solid var(--c3da88-line-2);
  vertical-align: top;
  text-align: left;
}

.c3da88-boundary th {
  color: var(--c3da88-gold);
  background: var(--c3da88-panel-2);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.c3da88-boundary td { color: var(--c3da88-dim); background: var(--c3da88-panel); }

.c3da88-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 12px;
}

.c3da88-path {
  padding: 13px;
  border-top: 2px solid var(--c3da88-bronze);
  border-radius: 0 0 var(--c3da88-radius-s) var(--c3da88-radius-s);
  background: var(--c3da88-panel);
}

.c3da88-choice {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin-top: 12px;
}

.c3da88-choice > div {
  padding: 11px 10px;
  border: 1px solid var(--c3da88-line);
  border-radius: var(--c3da88-radius-s);
  background: var(--c3da88-panel);
}

.c3da88-choice h3 {
  margin: 0 0 5px;
  color: var(--c3da88-khaki);
  font-family: var(--c3da88-font-display);
  font-size: 15px;
}

.c3da88-choice p { color: var(--c3da88-dim); font-size: 12.8px; line-height: 1.55; }

.c3da88-help-list { margin-top: 11px; }

.c3da88-help-list li {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 11px 10px 30px;
  border-bottom: 1px dotted var(--c3da88-line-2);
  color: var(--c3da88-dim);
  font-size: 13.5px;
}

.c3da88-help-list li::before {
  content: "→";
  position: absolute;
  left: 8px;
  color: var(--c3da88-gold);
  font-weight: 800;
}

.c3da88-help-list strong { color: var(--c3da88-paper); }

.c3da88-split-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.c3da88-split-note > div {
  padding: 11px;
  border: 1px solid var(--c3da88-line);
  border-radius: var(--c3da88-radius-s);
  background: var(--c3da88-panel-2);
}

.c3da88-split-note h3 {
  margin: 0 0 5px;
  color: var(--c3da88-gold);
  font-size: 13px;
}

.c3da88-split-note p { color: var(--c3da88-dim); font-size: 12.5px; line-height: 1.52; }

.c3da88-prose--spaced { margin-top: 12px; }

@media (max-width: 340px) {
  .c3da88-help-hero { padding-left: 12px; padding-right: 12px; }
  .c3da88-promo-rail { gap: 6px; }
  .c3da88-promo-rail button { padding-left: 7px; padding-right: 7px; font-size: 11.4px; }
  .c3da88-choice > div { padding-left: 8px; padding-right: 8px; }
  .c3da88-boundary { font-size: 11.8px; }
}
