/* ==========================================================================
   ok be - mobile-first lobby stylesheet
   File   : css/ok-be-viewport-627e89.css
   Prefix : layer627e8-  (classes and custom properties)
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #0D1117 base / #BA55D3 orchid / #EEE8AA cream / #FFCC33 gold / #8A2BE2 violet
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --layer627e8-ink: #0d1117;          /* page background */
  --layer627e8-ink-2: #121826;        /* raised panels */
  --layer627e8-ink-3: #182033;        /* cards */
  --layer627e8-line: #2a3450;         /* hairline borders */
  --layer627e8-violet: #8a2be2;       /* deep accent */
  --layer627e8-orchid: #ba55d3;       /* mid accent */
  --layer627e8-gold: #ffcc33;         /* primary CTA / highlights */
  --layer627e8-cream: #eee8aa;        /* soft highlight text */
  --layer627e8-text: #e9e6f4;         /* body text */
  --layer627e8-muted: #a49fc0;        /* secondary text */
  --layer627e8-ok: #6fe3a5;           /* positive amounts */
  --layer627e8-font-h: "Comfortaa", "Quicksand", "Varela Round", ui-rounded,
    "Trebuchet MS", "Segoe UI", sans-serif;
  --layer627e8-font-b: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --layer627e8-r: 6px;                /* low radius, sectioned surfaces */
  --layer627e8-r-lg: 10px;
  --layer627e8-top-h: 92px;           /* brand row + tab row */
  --layer627e8-nav-h: 66px;           /* bottom rail */
  --layer627e8-gap: 12px;
}

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

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

body {
  margin: 0;
  background: #080b12;
  color: var(--layer627e8-text);
  font-family: var(--layer627e8-font-b);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--layer627e8-cream); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--layer627e8-font-h);
  font-weight: 700;
  line-height: 1.22;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 10px; }

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

dl, dd, dt { margin: 0; }

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

/* ---------- phone canvas ---------- */
.layer627e8-shell {
  position: relative;
  width: 100%;
  max-width: 430px;                    /* the phone canvas width */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--layer627e8-ink);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .layer627e8-shell {
    border-inline: 1px solid var(--layer627e8-line);
    box-shadow: 0 0 42px rgba(138, 43, 226, 0.14);
  }
}

.layer627e8-noscroll { overflow: hidden; }

/* ---------- skip link ---------- */
.layer627e8-skip {
  position: absolute;
  left: 10px;
  top: -46px;
  z-index: 120;
  padding: 9px 14px;
  background: var(--layer627e8-gold);
  color: #241a02;
  font-weight: 700;
  border-radius: var(--layer627e8-r);
  transition: top 0.18s ease;
}

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

/* ---------- fixed top bar (tabbed) ---------- */
.layer627e8-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--layer627e8-line);
  backdrop-filter: blur(8px);
}

.layer627e8-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px 7px;
}

.layer627e8-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;                    /* touch-safe brand target */
}

.layer627e8-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--layer627e8-orchid);
  background: var(--layer627e8-ink-2);
  object-fit: cover;
}

.layer627e8-wordmark {
  font-family: var(--layer627e8-font-h);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--layer627e8-cream);
}

.layer627e8-topbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* tab strip under the brand row */
.layer627e8-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 10px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.layer627e8-tabs::-webkit-scrollbar { display: none; }

.layer627e8-tabs a {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--layer627e8-line);
  border-radius: 999px;
  background: var(--layer627e8-ink-2);
  color: var(--layer627e8-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.layer627e8-tabs a[aria-current="page"] {
  background: var(--layer627e8-violet);
  border-color: var(--layer627e8-orchid);
  color: #fff;
}

/* ---------- buttons ---------- */
.layer627e8-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: var(--layer627e8-r);
  font-family: var(--layer627e8-font-h);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}

.layer627e8-b:active { transform: translateY(1px) scale(0.985); }

.layer627e8-b--solid {
  background: var(--layer627e8-gold);
  color: #241a02;
  box-shadow: 0 3px 0 #a8801a;
}

.layer627e8-b--solid:active { box-shadow: 0 1px 0 #a8801a; }

.layer627e8-b--line {
  border: 1px solid var(--layer627e8-orchid);
  color: var(--layer627e8-cream);
  background: rgba(186, 85, 211, 0.08);
}

.layer627e8-b--mini { min-height: 34px; padding: 6px 12px; font-size: 12px; }

.layer627e8-b--wide { width: 100%; }

.layer627e8-b--text {
  min-height: 34px;
  padding: 4px 2px;
  color: var(--layer627e8-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}

.layer627e8-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  background: var(--layer627e8-ink-2);
  color: var(--layer627e8-cream);
}

.layer627e8-menu-btn svg { width: 20px; height: 20px; }

/* ---------- slide-in menu panel ---------- */
.layer627e8-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 7, 12, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.layer627e8-scrim--shown { opacity: 1; visibility: visible; }

.layer627e8-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(84vw, 320px);
  background: var(--layer627e8-ink-2);
  border-left: 1px solid var(--layer627e8-line);
  transform: translateX(102%);
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
  overflow-y: auto;
  padding: 14px 14px 24px;
}

.layer627e8-menu--open { transform: translateX(0); }

.layer627e8-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.layer627e8-menu__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--layer627e8-font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--layer627e8-cream);
}

.layer627e8-menu__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--layer627e8-orchid);
}

.layer627e8-menu__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  color: var(--layer627e8-muted);
}

.layer627e8-menu__close svg { width: 18px; height: 18px; }

.layer627e8-menu__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 14px;
}

.layer627e8-menu__title {
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--layer627e8-line);
  color: var(--layer627e8-gold);
  font-family: var(--layer627e8-font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.layer627e8-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--layer627e8-r);
  border: 1px solid transparent;
  color: var(--layer627e8-text);
  font-size: 14px;
  font-weight: 600;
}

.layer627e8-menu__link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--layer627e8-orchid);
}

.layer627e8-menu__link span { flex: 1; }

.layer627e8-menu__link small {
  color: var(--layer627e8-muted);
  font-size: 10.5px;
  font-weight: 500;
}

.layer627e8-menu__link:active {
  background: rgba(186, 85, 211, 0.12);
  border-color: var(--layer627e8-line);
}

/* ---------- main flow ---------- */
.layer627e8-main {
  padding-top: calc(var(--layer627e8-top-h) + 6px);
  padding-bottom: calc(var(--layer627e8-nav-h) + 22px + env(safe-area-inset-bottom, 0px));
}

.layer627e8-sec { padding: 16px 12px 6px; }

.layer627e8-sec--block {
  background: var(--layer627e8-ink-2);
  border-block: 1px solid var(--layer627e8-line);
  padding: 18px 12px 14px;
}

.layer627e8-sec__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layer627e8-orchid);
  margin-bottom: 6px;
}

.layer627e8-sec__kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--layer627e8-gold);
  border-radius: 2px;
}

.layer627e8-h2 {
  font-size: 18.5px;
  color: var(--layer627e8-cream);
  margin-bottom: 10px;
}

.layer627e8-h3 {
  font-size: 14.5px;
  color: var(--layer627e8-cream);
  margin: 14px 0 6px;
}

.layer627e8-note {
  color: var(--layer627e8-muted);
  font-size: 12px;
}

/* ---------- hero ---------- */
.layer627e8-hero { padding: 6px 12px 2px; }

.layer627e8-h1 {
  font-size: 24px;
  letter-spacing: 0.2px;
  color: #fff;
  margin: 8px 0 10px;
}

.layer627e8-h1 mark {
  background: none;
  color: var(--layer627e8-gold);
}

.layer627e8-lede { font-size: 14px; color: var(--layer627e8-text); }

/* carousel: native horizontal snap, JS only adds autoplay + dots */
.layer627e8-carousel { margin-top: 12px; }

.layer627e8-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r-lg);
  background: var(--layer627e8-ink-2);
  scrollbar-width: none;
}

.layer627e8-track::-webkit-scrollbar { display: none; }

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

.layer627e8-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--layer627e8-r-lg);
}

.layer627e8-carousel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px 0;
}

.layer627e8-carousel__tag {
  font-size: 11px;
  color: var(--layer627e8-muted);
}

.layer627e8-dots { display: flex; gap: 7px; }

.layer627e8-dot {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: var(--layer627e8-line);
  transition: background 0.2s ease;
}

.layer627e8-dot--on { background: var(--layer627e8-gold); }

/* quick fact strip */
.layer627e8-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.layer627e8-strip__item {
  background: var(--layer627e8-ink-2);
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  padding: 8px 6px;
  text-align: center;
}

.layer627e8-strip__n {
  display: block;
  font-family: var(--layer627e8-font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--layer627e8-gold);
}

.layer627e8-strip__t {
  display: block;
  font-size: 10px;
  color: var(--layer627e8-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* ---------- category chips ---------- */
.layer627e8-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: var(--layer627e8-top-h);
  z-index: 40;
  background: linear-gradient(var(--layer627e8-ink) 78%, rgba(13, 17, 23, 0));
}

.layer627e8-chips::-webkit-scrollbar { display: none; }

.layer627e8-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--layer627e8-line);
  border-radius: 999px;
  background: var(--layer627e8-ink-3);
  color: var(--layer627e8-text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.layer627e8-chip svg { width: 14px; height: 14px; color: var(--layer627e8-orchid); }

.layer627e8-chip b { color: var(--layer627e8-gold); font-weight: 700; }

/* ---------- game grid ---------- */
.layer627e8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
  margin-top: 10px;
}

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

.layer627e8-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px 4px 7px;
  background: var(--layer627e8-ink-3);
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  text-align: center;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.layer627e8-game:active {
  transform: translateY(-2px);         /* light card lift */
  border-color: var(--layer627e8-gold);
}

@media (hover: hover) {
  .layer627e8-game:hover {
    transform: translateY(-2px);
    border-color: var(--layer627e8-orchid);
  }
}

.layer627e8-game__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--layer627e8-ink-2);
}

.layer627e8-game__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.28;
  color: var(--layer627e8-muted);
  min-height: 27px;
  word-break: break-word;
}

.layer627e8-sec__more {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

/* ---------- RTP ledger rows ---------- */
.layer627e8-rows {
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r-lg);
  overflow: hidden;
  margin-top: 12px;
}

.layer627e8-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 11px 12px;
  background: var(--layer627e8-ink-2);
  border-bottom: 1px solid var(--layer627e8-line);
}

.layer627e8-row:last-child { border-bottom: 0; }

.layer627e8-row dt {
  font-family: var(--layer627e8-font-h);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--layer627e8-gold);
  line-height: 1.35;
}

.layer627e8-row dd { font-size: 12.5px; color: var(--layer627e8-text); }

/* ---------- winners ledger ---------- */
.layer627e8-ledger {
  margin-top: 12px;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r-lg);
  overflow: hidden;
}

.layer627e8-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--layer627e8-ink-2);
  border-bottom: 1px solid var(--layer627e8-line);
}

.layer627e8-winner:last-child { border-bottom: 0; }

.layer627e8-winner__dot {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(186, 85, 211, 0.18);
  border: 1px solid var(--layer627e8-orchid);
  color: var(--layer627e8-cream);
  font-family: var(--layer627e8-font-h);
  font-size: 12px;
  font-weight: 700;
}

.layer627e8-winner__who { flex: 1; min-width: 0; }

.layer627e8-winner__name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--layer627e8-text);
}

.layer627e8-winner__meta {
  display: block;
  font-size: 11px;
  color: var(--layer627e8-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layer627e8-winner__amt {
  flex: 0 0 auto;
  font-family: var(--layer627e8-font-h);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--layer627e8-ok);
}

/* ---------- selection guide cards ---------- */
.layer627e8-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.layer627e8-goal {
  background: var(--layer627e8-ink-2);
  border: 1px solid var(--layer627e8-line);
  border-left: 3px solid var(--layer627e8-violet);
  border-radius: var(--layer627e8-r);
  padding: 10px 10px 12px;
}

.layer627e8-goal__q {
  display: block;
  font-family: var(--layer627e8-font-h);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--layer627e8-cream);
  margin-bottom: 5px;
}

.layer627e8-goal__a { font-size: 12px; color: var(--layer627e8-muted); }

.layer627e8-goal__a b { color: var(--layer627e8-text); font-weight: 600; }

/* ---------- promo offer rows ---------- */
.layer627e8-offers { margin-top: 12px; display: grid; gap: 9px; }

.layer627e8-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.16), rgba(186, 85, 211, 0.07));
  border: 1px solid var(--layer627e8-line);
  border-left: 3px solid var(--layer627e8-gold);
  border-radius: var(--layer627e8-r-lg);
}

.layer627e8-offer__ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--layer627e8-r);
  background: rgba(255, 204, 51, 0.12);
  border: 1px solid var(--layer627e8-gold);
  color: var(--layer627e8-gold);
}

.layer627e8-offer__ico svg { width: 20px; height: 20px; }

.layer627e8-offer__body { flex: 1; min-width: 0; }

.layer627e8-offer__t {
  display: block;
  font-family: var(--layer627e8-font-h);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--layer627e8-cream);
}

.layer627e8-offer__d {
  display: block;
  font-size: 11.5px;
  color: var(--layer627e8-muted);
  margin-top: 2px;
}

/* ---------- fact summary ---------- */
.layer627e8-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.layer627e8-kv__item {
  background: var(--layer627e8-ink-2);
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  padding: 9px 10px;
}

.layer627e8-kv__k {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--layer627e8-orchid);
  font-weight: 700;
  margin-bottom: 3px;
}

.layer627e8-kv__v { font-size: 12.5px; color: var(--layer627e8-text); }

/* ---------- extended home footer ---------- */
.layer627e8-xfoot {
  background: var(--layer627e8-ink-2);
  border-top: 1px solid var(--layer627e8-line);
  padding: 18px 12px 16px;
}

.layer627e8-xfoot__title {
  font-family: var(--layer627e8-font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--layer627e8-gold);
  margin: 0 0 10px;
}

/* horizontal promo shortcuts */
.layer627e8-shorts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.layer627e8-short {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 74px;
  padding: 10px 4px 8px;
  background: var(--layer627e8-ink-3);
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  color: var(--layer627e8-text);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.layer627e8-short:active {
  transform: translateY(-2px);
  border-color: var(--layer627e8-gold);
}

.layer627e8-short svg { width: 21px; height: 21px; color: var(--layer627e8-gold); }

.layer627e8-xfoot__brand { margin-top: 16px; }

.layer627e8-xfoot__brand p { font-size: 12.5px; color: var(--layer627e8-muted); }

.layer627e8-dir {
  columns: 2;
  column-gap: 14px;
  margin-top: 6px;
}

.layer627e8-dir li {
  break-inside: avoid;
  margin-bottom: 2px;
}

.layer627e8-dir a {
  display: block;
  padding: 7px 2px;
  min-height: 34px;
  font-size: 12.5px;
  color: var(--layer627e8-text);
  border-bottom: 1px dotted var(--layer627e8-line);
}

.layer627e8-dir a::before {
  content: "\203A";
  color: var(--layer627e8-orchid);
  margin-right: 6px;
  font-weight: 700;
}

.layer627e8-xfoot__disclaimer {
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px dashed var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  font-size: 11px;
  line-height: 1.5;
  color: var(--layer627e8-muted);
}

/* ---------- common footer + bottom rail ---------- */
.layer627e8-footer {
  padding: 10px 12px 8px;
  text-align: center;
  border-top: 1px solid var(--layer627e8-line);
}

.layer627e8-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--layer627e8-muted);
}

.layer627e8-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                    /* stays inside the phone canvas */
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(14, 18, 27, 0.97);
  border-top: 1px solid var(--layer627e8-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(8px);
}

.layer627e8-bottomnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;                    /* >=44px touch target */
  padding: 4px 2px;
  border-radius: var(--layer627e8-r);
  color: var(--layer627e8-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.14s ease, color 0.14s ease;
}

.layer627e8-bottomnav__item svg { width: 22px; height: 22px; }

.layer627e8-bottomnav__item:active { transform: scale(0.94); }

.layer627e8-bottomnav__item--promo { color: var(--layer627e8-orchid); }

.layer627e8-bottomnav__item--on {
  color: var(--layer627e8-gold);
  transform: translateY(-2px);         /* active role lifts slightly */
}

.layer627e8-bottomnav__item--on::after {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--layer627e8-gold);
}

/* ---------- inline text helpers ---------- */
.layer627e8-inline {
  color: var(--layer627e8-cream);
  text-decoration: underline;
  text-decoration-color: var(--layer627e8-orchid);
  text-underline-offset: 3px;
  font-weight: 600;
}

.layer627e8-cta-line {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ---------- help page layouts ---------- */
.layer627e8-help {
  padding: 14px 12px 4px;
}

.layer627e8-help__intro {
  padding: 14px 12px 16px;
  border: 1px solid var(--layer627e8-line);
  border-left: 3px solid var(--layer627e8-gold);
  background: linear-gradient(145deg, rgba(138, 43, 226, 0.2), var(--layer627e8-ink-2));
  border-radius: var(--layer627e8-r-lg);
}

.layer627e8-help__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--layer627e8-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.layer627e8-help__intro p,
.layer627e8-help__panel p,
.layer627e8-help__panel li,
.layer627e8-help__callout p { color: var(--layer627e8-text); }

.layer627e8-help__intro .layer627e8-note { color: var(--layer627e8-muted); }

.layer627e8-help__panel {
  margin-top: 12px;
  padding: 15px 12px;
  border-top: 1px solid var(--layer627e8-line);
  background: var(--layer627e8-ink-2);
}

.layer627e8-help__panel--plain { background: transparent; }

.layer627e8-help__panel--edge {
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r-lg);
}

.layer627e8-help__list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.layer627e8-help__list li {
  position: relative;
  padding: 10px 10px 10px 30px;
  border-left: 2px solid var(--layer627e8-orchid);
  background: rgba(186, 85, 211, 0.07);
  border-radius: var(--layer627e8-r);
}

.layer627e8-help__list li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 17px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--layer627e8-gold);
  border-radius: 50%;
}

.layer627e8-help__steps {
  display: grid;
  gap: 8px;
  margin-top: 11px;
  counter-reset: layer627e8-step;
}

.layer627e8-help__step {
  counter-increment: layer627e8-step;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px 9px;
  border-bottom: 1px dashed var(--layer627e8-line);
}

.layer627e8-help__step::before {
  content: counter(layer627e8-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--layer627e8-violet);
  color: #fff;
  font-family: var(--layer627e8-font-h);
  font-size: 12px;
  font-weight: 700;
}

.layer627e8-help__step strong,
.layer627e8-help__list strong { color: var(--layer627e8-cream); }

.layer627e8-help__step p { margin: 0; }

.layer627e8-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.layer627e8-help__callout {
  margin-top: 11px;
  padding: 11px 12px;
  border: 1px solid var(--layer627e8-orchid);
  border-radius: var(--layer627e8-r);
  background: rgba(186, 85, 211, 0.1);
}

.layer627e8-help__callout strong { color: var(--layer627e8-gold); }

.layer627e8-help__matrix {
  width: 100%;
  margin-top: 11px;
  border-collapse: collapse;
  font-size: 12px;
}

.layer627e8-help__matrix th,
.layer627e8-help__matrix td {
  padding: 9px 7px;
  border: 1px solid var(--layer627e8-line);
  text-align: left;
  vertical-align: top;
}

.layer627e8-help__matrix th {
  color: var(--layer627e8-gold);
  background: var(--layer627e8-ink-3);
  font-size: 11px;
}

.layer627e8-help__matrix td { color: var(--layer627e8-text); }

.layer627e8-help__matrix tr:nth-child(even) td { background: rgba(18, 24, 38, 0.72); }

.layer627e8-help__usecases {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.layer627e8-help__usecase {
  padding: 11px 10px;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  background: var(--layer627e8-ink-3);
}

.layer627e8-help__usecase h3 { margin-top: 0; }

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

/* Tips use a timeline and disclosure rows instead of the features page panels. */
.layer627e8-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 12px;
}

.layer627e8-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--layer627e8-orchid);
}

.layer627e8-timeline__item {
  position: relative;
  padding: 11px 10px 10px 17px;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  background: var(--layer627e8-ink-3);
}

.layer627e8-timeline__item::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 16px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--layer627e8-gold);
  border-radius: 50%;
  background: var(--layer627e8-ink);
}

.layer627e8-timeline__item h3 { margin: 0 0 5px; color: var(--layer627e8-cream); }
.layer627e8-timeline__item p:last-child { margin-bottom: 0; }

.layer627e8-mistakes {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.layer627e8-mistake {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  background: linear-gradient(90deg, rgba(138, 43, 226, 0.16), var(--layer627e8-ink-2));
}

.layer627e8-mistake__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--layer627e8-gold);
  color: #241a02;
  font-weight: 800;
}

.layer627e8-mistake h3 { margin: 0 0 4px; color: var(--layer627e8-cream); }
.layer627e8-mistake p:last-child { margin-bottom: 0; }

.layer627e8-disclosures { display: grid; gap: 7px; margin-top: 11px; }

.layer627e8-disclosure {
  border: 1px solid var(--layer627e8-line);
  border-radius: var(--layer627e8-r);
  background: var(--layer627e8-ink-2);
  overflow: hidden;
}

.layer627e8-disclosure summary {
  min-height: 44px;
  padding: 11px 12px;
  color: var(--layer627e8-cream);
  font-weight: 700;
  cursor: pointer;
}

.layer627e8-disclosure__body { padding: 0 12px 11px; color: var(--layer627e8-text); }
.layer627e8-disclosure__body p:last-child { margin-bottom: 0; }

.layer627e8-glossary {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.layer627e8-glossary__term {
  padding: 10px;
  border-left: 3px solid var(--layer627e8-orchid);
  background: rgba(186, 85, 211, 0.08);
}

.layer627e8-glossary__term dt { color: var(--layer627e8-gold); font-weight: 700; }
.layer627e8-glossary__term dd { margin-top: 3px; color: var(--layer627e8-text); }

.layer627e8-checklist {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}

.layer627e8-checklist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 9px;
  border-bottom: 1px dotted var(--layer627e8-line);
}

.layer627e8-checklist li::before {
  content: "\2713";
  flex: 0 0 auto;
  color: var(--layer627e8-gold);
  font-weight: 800;
}

.layer627e8-recap {
  margin-top: 12px;
  padding: 13px 12px;
  border: 1px solid var(--layer627e8-gold);
  border-radius: var(--layer627e8-r-lg);
  background: linear-gradient(135deg, rgba(255, 204, 51, 0.1), rgba(138, 43, 226, 0.13));
}

.layer627e8-recap ol { list-style: decimal; padding-left: 20px; }
.layer627e8-recap li { padding: 3px 0; color: var(--layer627e8-text); }

/* ---------- motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .layer627e8-topbar,
  .layer627e8-bottomnav,
  .layer627e8-menu,
  .layer627e8-scrim { display: none; }
  .layer627e8-shell { max-width: none; }
}
