/* ==========================================================================
   bet 365 - mobile canvas visuals
   File  : css/bet-365-visuals-e578b3.css
   Prefix: shell578b3-
   Canvas: 320-430px phone frame, centered on wide screens
   Palette (4 reference tones):
     #0A0A0A arena black   -> page background
     #FFDEAD arena light   -> primary ink
     #D2691E ember         -> action / accent
     #BC8F8F rose steel    -> secondary surfaces
   Visual direction: poster headings over narrow body text,
   light-radius tiles with drawn outlines, staggered CTA sizes,
   scenario-branch information rhythm, restrained fade feedback.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell578b3-bg: #0a0a0a;
  --shell578b3-bg-deep: #050505;
  --shell578b3-bg-raise: #171210;
  --shell578b3-bg-raise-2: #1e1613;
  --shell578b3-ink: #ffdead;
  --shell578b3-ink-soft: #e4d3ab;
  --shell578b3-ink-dim: #b3a17d;
  --shell578b3-ember: #d2691e;
  --shell578b3-ember-hot: #ea8432;
  --shell578b3-rose: #bc8f8f;
  --shell578b3-line: rgba(255, 222, 173, 0.20);
  --shell578b3-line-soft: rgba(255, 222, 173, 0.11);
  --shell578b3-line-ember: rgba(210, 105, 30, 0.55);
  --shell578b3-font-poster: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --shell578b3-font-narrow: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --shell578b3-radius-tile: 10px;
  --shell578b3-radius-card: 12px;
  --shell578b3-radius-chip: 8px;
  --shell578b3-topbar-h: 58px;
  --shell578b3-dock-h: 64px;
  --shell578b3-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  --shell578b3-tap: 44px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shell578b3-bg-deep);
  color: var(--shell578b3-ink);
  font-family: var(--shell578b3-font-narrow);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

body.shell578b3-locked {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--shell578b3-ember-hot);
  text-decoration: none;
}

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

::selection {
  background: var(--shell578b3-ember);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--shell578b3-ember-hot);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Phone canvas / stage
   -------------------------------------------------------------------------- */
.shell578b3-stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 28% at 50% 0%, rgba(210, 105, 30, 0.14), transparent 70%),
    linear-gradient(180deg, #0d0a09 0%, var(--shell578b3-bg) 42%, #080706 100%);
  box-shadow: 0 0 0 1px rgba(255, 222, 173, 0.07);
  overflow-x: hidden;
}

.shell578b3-main {
  padding: calc(var(--shell578b3-topbar-h) + 10px) 14px
           calc(var(--shell578b3-dock-h) + 34px);
}

/* --------------------------------------------------------------------------
   4. Top bar - compact brand rail
   -------------------------------------------------------------------------- */
.shell578b3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell578b3-topbar-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(6, 5, 4, 0.94);
  border-bottom: 1px solid var(--shell578b3-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shell578b3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.shell578b3-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shell578b3-line-ember);
  object-fit: cover;
  background: var(--shell578b3-bg-raise);
  flex: 0 0 auto;
}

.shell578b3-brand-name {
  font-family: var(--shell578b3-font-poster);
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell578b3-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Staggered CTA sizing: major reads first, minor stays compact */
.shell578b3-cta-major {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--shell578b3-line-ember);
  border-radius: var(--shell578b3-radius-chip);
  background: linear-gradient(180deg, var(--shell578b3-ember-hot), var(--shell578b3-ember));
  color: #140a04;
  font-family: var(--shell578b3-font-poster);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(210, 105, 30, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shell578b3-cta-minor {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--shell578b3-line);
  border-radius: var(--shell578b3-radius-chip);
  background: rgba(255, 222, 173, 0.05);
  color: var(--shell578b3-ink);
  font-family: var(--shell578b3-font-narrow);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.shell578b3-cta-major:active,
.shell578b3-cta-minor:active {
  transform: scale(0.96);
}

.shell578b3-cta-major:hover {
  box-shadow: 0 8px 20px rgba(210, 105, 30, 0.5);
}

.shell578b3-cta-minor:hover {
  border-color: var(--shell578b3-line-ember);
}

/* Burger trigger */
.shell578b3-burger {
  width: var(--shell578b3-tap);
  height: var(--shell578b3-tap);
  display: grid;
  place-items: center;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-chip);
  background: transparent;
  color: var(--shell578b3-ink);
}

.shell578b3-burger svg {
  width: 20px;
  height: 20px;
}

.shell578b3-burger:active {
  transform: scale(0.94);
}

/* --------------------------------------------------------------------------
   5. Stacked overlay menu
   -------------------------------------------------------------------------- */
.shell578b3-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 4, 3, 0.97);
  display: flex;
  flex-direction: column;
  padding: 14px 18px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  overflow-y: auto;
}

.shell578b3-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.shell578b3-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shell578b3-line-soft);
}

.shell578b3-menu-title {
  font-family: var(--shell578b3-font-poster);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--shell578b3-ink-soft);
  margin: 0;
}

.shell578b3-menu-close {
  width: var(--shell578b3-tap);
  height: var(--shell578b3-tap);
  display: grid;
  place-items: center;
  border: 1px solid var(--shell578b3-line);
  border-radius: 50%;
  background: transparent;
  color: var(--shell578b3-ink);
}

.shell578b3-menu-close svg {
  width: 18px;
  height: 18px;
}

.shell578b3-menu-group {
  margin-top: 16px;
}

.shell578b3-menu-kicker {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--shell578b3-ember-hot);
  margin: 0 0 4px;
}

.shell578b3-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell578b3-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--shell578b3-line-soft);
  color: var(--shell578b3-ink);
  font-family: var(--shell578b3-font-poster);
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.shell578b3-menu-list a:hover,
.shell578b3-menu-list a:focus-visible {
  text-decoration: none;
  color: var(--shell578b3-ember-hot);
  padding-left: 8px;
  transition: padding-left 0.18s ease, color 0.18s ease;
}

.shell578b3-menu-list a[aria-current="page"] {
  color: var(--shell578b3-ember-hot);
}

.shell578b3-menu-arrow {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}

.shell578b3-menu-ctas {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  gap: 10px;
}

.shell578b3-menu-ctas .shell578b3-cta-major,
.shell578b3-menu-ctas .shell578b3-cta-minor {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Hero block
   -------------------------------------------------------------------------- */
.shell578b3-hero {
  padding: 6px 2px 2px;
}

.shell578b3-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--shell578b3-rose);
  margin-bottom: 8px;
}

.shell578b3-hero-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--shell578b3-ember);
}

.shell578b3-h1 {
  font-family: var(--shell578b3-font-poster);
  font-size: clamp(25px, 7.2vw, 33px);
  line-height: 1.12;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-wrap: balance;
}

.shell578b3-h1 em {
  font-style: normal;
  color: var(--shell578b3-ember-hot);
}

.shell578b3-deck {
  margin: 0 0 14px;
  color: var(--shell578b3-ink-soft);
  font-size: 16.5px;
  line-height: 1.48;
}

.shell578b3-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.shell578b3-hero-ctas .shell578b3-cta-major {
  flex: 1 1 auto;
}

.shell578b3-hero-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--shell578b3-ink-dim);
}

/* --------------------------------------------------------------------------
   7. Spotlight carousel
   -------------------------------------------------------------------------- */
.shell578b3-spot {
  margin: 18px 0 6px;
}

.shell578b3-spot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--shell578b3-rose);
  margin-bottom: 8px;
}

.shell578b3-spot-label b {
  color: var(--shell578b3-ember-hot);
  font-weight: 400;
}

.shell578b3-carousel {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--shell578b3-radius-card);
  border: 1px solid var(--shell578b3-line);
  overflow: hidden;
  background: var(--shell578b3-bg-raise);
  box-shadow: var(--shell578b3-shadow);
}

.shell578b3-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: var(--shell578b3-bg-raise);
  opacity: 0;
  transform: translateX(7%);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  text-align: left;
}

.shell578b3-slide.is-live {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

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

.shell578b3-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.92));
}

.shell578b3-slide-text {
  font-family: var(--shell578b3-font-poster);
  font-size: 13px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--shell578b3-ink);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.shell578b3-slide-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--shell578b3-ember);
  color: #140a04;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.shell578b3-carousel-dots {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.shell578b3-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--shell578b3-ink);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.5);
  transition: width 0.25s ease, background 0.25s ease;
}

.shell578b3-dot.is-live {
  width: 24px;
  background: var(--shell578b3-ember);
  border-color: var(--shell578b3-ember);
}

.shell578b3-carousel-arrows {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.shell578b3-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell578b3-line);
  border-radius: 50%;
  background: rgba(5, 4, 3, 0.72);
  color: var(--shell578b3-ink);
}

.shell578b3-arrow svg {
  width: 15px;
  height: 15px;
}

.shell578b3-arrow:active {
  background: var(--shell578b3-ember);
  color: #140a04;
}

/* --------------------------------------------------------------------------
   8. Section bands
   -------------------------------------------------------------------------- */
.shell578b3-band {
  margin-top: 26px;
}

.shell578b3-band-kicker {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--shell578b3-rose);
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.shell578b3-h2 {
  font-family: var(--shell578b3-font-poster);
  font-size: clamp(18px, 5.4vw, 23px);
  line-height: 1.18;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--shell578b3-ink);
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-wrap: balance;
}

.shell578b3-h2::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 0.95em;
  margin-top: 2px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--shell578b3-ember-hot), var(--shell578b3-ember));
}

.shell578b3-lede {
  margin: 0 0 12px;
  color: var(--shell578b3-ink-soft);
}

.shell578b3-lede + .shell578b3-lede {
  margin-top: -6px;
}

.shell578b3-lede a {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Game grids and outlined tile cards
   -------------------------------------------------------------------------- */
.shell578b3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.shell578b3-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-tile);
  background: var(--shell578b3-bg-raise);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.shell578b3-tile:hover {
  border-color: var(--shell578b3-line-ember);
  background: var(--shell578b3-bg-raise-2);
}

.shell578b3-tile:active {
  transform: scale(0.94);
}

.shell578b3-tile-art {
  display: block;
  border-radius: 7px;
  overflow: hidden;
  background: #0d0b09;
}

.shell578b3-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell578b3-tile-name {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-align: center;
  color: var(--shell578b3-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  overflow-wrap: anywhere;
}

.shell578b3-grid-note {
  margin: 10px 2px 0;
  font-size: 12.5px;
  color: var(--shell578b3-ink-dim);
}

/* --------------------------------------------------------------------------
   10. Scenario branch rails
   -------------------------------------------------------------------------- */
.shell578b3-branches {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell578b3-branches li {
  border: 1px solid var(--shell578b3-line-soft);
  border-left: 3px solid var(--shell578b3-ember);
  border-radius: var(--shell578b3-radius-chip);
  background: rgba(23, 18, 16, 0.75);
  padding: 10px 12px;
  color: var(--shell578b3-ink-soft);
}

.shell578b3-branches b {
  display: block;
  font-family: var(--shell578b3-font-poster);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shell578b3-ember-hot);
  margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   11. Entry checklist
   -------------------------------------------------------------------------- */
.shell578b3-checklist {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell578b3-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-tile);
  background: var(--shell578b3-bg-raise);
  padding: 10px 11px;
  color: var(--shell578b3-ink-soft);
}

.shell578b3-checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 6px;
  margin-top: 6px;
  border-left: 2px solid var(--shell578b3-ember-hot);
  border-bottom: 2px solid var(--shell578b3-ember-hot);
  transform: rotate(-45deg);
}

.shell578b3-checklist li b {
  font-family: var(--shell578b3-font-poster);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--shell578b3-ink);
  display: block;
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   12. Versus duo (edge vs reality)
   -------------------------------------------------------------------------- */
.shell578b3-versus {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.shell578b3-versus-card {
  border-radius: var(--shell578b3-radius-card);
  padding: 12px 13px;
  background: var(--shell578b3-bg-raise);
}

.shell578b3-versus-card--edge {
  border: 1px solid var(--shell578b3-line-ember);
}

.shell578b3-versus-card--reality {
  border: 1px solid rgba(188, 143, 143, 0.5);
}

.shell578b3-versus-title {
  font-family: var(--shell578b3-font-poster);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.shell578b3-versus-card--edge .shell578b3-versus-title {
  color: var(--shell578b3-ember-hot);
}

.shell578b3-versus-card--reality .shell578b3-versus-title {
  color: var(--shell578b3-rose);
}

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

.shell578b3-versus-list li {
  position: relative;
  padding-left: 14px;
  color: var(--shell578b3-ink-soft);
  font-size: 14.5px;
}

.shell578b3-versus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   13. Homepage extended footer
   -------------------------------------------------------------------------- */
.shell578b3-extfoot {
  margin-top: 34px;
  border-top: 1px solid var(--shell578b3-line);
  padding-top: 18px;
  display: grid;
  gap: 16px;
}

.shell578b3-extfoot-kicker {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--shell578b3-rose);
  margin: 0 0 8px;
}

.shell578b3-promostack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell578b3-promostack .shell578b3-cta-major {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
  font-size: 13px;
}

.shell578b3-promostack .shell578b3-cta-minor {
  width: 100%;
  min-height: 42px;
}

.shell578b3-promostack .shell578b3-cta-wide {
  grid-column: 1 / -1;
}

.shell578b3-extfoot-brand {
  margin: 0;
  color: var(--shell578b3-ink-soft);
  font-size: 14.5px;
  border-left: 3px solid var(--shell578b3-ember);
  padding-left: 11px;
}

.shell578b3-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell578b3-directory a {
  display: block;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-chip);
  background: rgba(23, 18, 16, 0.6);
}

.shell578b3-directory a:hover,
.shell578b3-directory a:focus-visible {
  text-decoration: none;
  border-color: var(--shell578b3-line-ember);
}

.shell578b3-directory b {
  display: block;
  font-family: var(--shell578b3-font-poster);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell578b3-ink);
}

.shell578b3-directory span {
  display: block;
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--shell578b3-ink-dim);
}

.shell578b3-extfoot-disclaimer {
  margin: 0;
  padding: 10px 11px;
  border: 1px dashed var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-chip);
  font-size: 12px;
  line-height: 1.45;
  color: var(--shell578b3-ink-dim);
}

/* --------------------------------------------------------------------------
   14. Common footer
   -------------------------------------------------------------------------- */
.shell578b3-endfoot {
  margin-top: 18px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--shell578b3-line-soft);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--shell578b3-ink-dim);
}

/* --------------------------------------------------------------------------
   15. Mobile dock (bottom navigation)
   -------------------------------------------------------------------------- */
.shell578b3-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shell578b3-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(6, 5, 4, 0.96);
  border-top: 1px solid var(--shell578b3-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shell578b3-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--shell578b3-ink-dim);
  text-decoration: none;
  padding: 6px 2px 4px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.shell578b3-dock-item:hover {
  text-decoration: none;
  color: var(--shell578b3-ink-soft);
}

.shell578b3-dock-glyph {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--shell578b3-line-soft);
  background: rgba(255, 222, 173, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.shell578b3-dock-glyph svg {
  width: 17px;
  height: 17px;
}

.shell578b3-dock-label {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.6;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Active role: slight lift + label reveal */
.shell578b3-dock-item.is-on {
  color: var(--shell578b3-ember-hot);
  transform: translateY(-2px);
}

.shell578b3-dock-item.is-on .shell578b3-dock-glyph {
  background: linear-gradient(180deg, var(--shell578b3-ember-hot), var(--shell578b3-ember));
  border-color: transparent;
  color: #140a04;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(210, 105, 30, 0.4);
}

.shell578b3-dock-item.is-on .shell578b3-dock-label {
  opacity: 1;
  transform: none;
}

.shell578b3-dock-item:active .shell578b3-dock-glyph {
  transform: scale(0.9);
}

/* --------------------------------------------------------------------------
   16. Restrained reveal feedback
   -------------------------------------------------------------------------- */
.shell578b3-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shell578b3-rise.is-in {
  opacity: 1;
  transform: none;
}

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

  .shell578b3-slide,
  .shell578b3-rise,
  .shell578b3-dock-item,
  .shell578b3-dock-glyph,
  .shell578b3-tile,
  .shell578b3-menu {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   17. Canvas width steps (320 -> 375 -> 430)
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .shell578b3-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* From 398px inside the canvas the game grids gain a fifth column */
@media (min-width: 398px) {
  .shell578b3-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* At the 430px canvas edge the stage gets a framed look on wide screens */
@media (min-width: 430px) {
  .shell578b3-stage {
    border-radius: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: calc(100vh - 20px);
  }

  .shell578b3-topbar {
    border-radius: 18px 18px 0 0;
  }

  .shell578b3-dock {
    border-radius: 0 0 18px 18px;
  }
}

/* Very small phones: keep type and touch targets workable at 320px */
@media (max-width: 339px) {
  .shell578b3-brand-name {
    font-size: 15px;
  }

  .shell578b3-cta-major {
    padding: 8px 10px;
    font-size: 11px;
  }

  .shell578b3-promostack {
    grid-template-columns: 1fr;
  }

  .shell578b3-directory {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   18. Help-page reading patterns
   -------------------------------------------------------------------------- */
.shell578b3-help-main,
.shell578b3-payout-main {
  padding-top: calc(var(--shell578b3-topbar-h) + 16px);
}

.shell578b3-help-hero,
.shell578b3-payout-hero {
  padding: 5px 2px 12px;
}

.shell578b3-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.shell578b3-help-actions .shell578b3-cta-major {
  flex: 1 1 170px;
}

.shell578b3-help-actions .shell578b3-cta-minor {
  flex: 1 1 120px;
}

.shell578b3-help-rail,
.shell578b3-help-qa,
.shell578b3-help-mistakes,
.shell578b3-help-device,
.shell578b3-help-facts,
.shell578b3-help-takeaways,
.shell578b3-payout-intro,
.shell578b3-payout-steps,
.shell578b3-payout-check,
.shell578b3-payout-safety,
.shell578b3-payout-branches,
.shell578b3-payout-responsibility,
.shell578b3-payout-requirements {
  margin-top: 28px;
  padding-top: 2px;
}

.shell578b3-help-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.shell578b3-help-links button {
  width: 100%;
}

.shell578b3-faq-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 15px;
}

.shell578b3-faq-item {
  border-left: 3px solid var(--shell578b3-ember);
  border-top: 1px solid var(--shell578b3-line-soft);
  border-right: 1px solid var(--shell578b3-line-soft);
  border-bottom: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-chip);
  padding: 12px 12px 11px;
  background: rgba(23, 18, 16, 0.78);
}

.shell578b3-faq-item h3,
.shell578b3-scenario-grid h3,
.shell578b3-step-lane h3,
.shell578b3-check-columns h3,
.shell578b3-warning-strip h3,
.shell578b3-branch-table h3 {
  margin: 0 0 5px;
  color: var(--shell578b3-ink);
  font-family: var(--shell578b3-font-poster);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.35px;
}

.shell578b3-faq-item p,
.shell578b3-scenario-grid p,
.shell578b3-step-lane p,
.shell578b3-check-columns p,
.shell578b3-warning-strip p,
.shell578b3-branch-table p {
  margin: 0;
  color: var(--shell578b3-ink-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.shell578b3-help-qa > .shell578b3-cta-major,
.shell578b3-payout-steps > .shell578b3-cta-major,
.shell578b3-payout-responsibility > .shell578b3-cta-major {
  width: 100%;
}

.shell578b3-numbered {
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
  display: grid;
  gap: 9px;
  counter-reset: shell578b3-mistake;
}

.shell578b3-numbered li {
  counter-increment: shell578b3-mistake;
  position: relative;
  padding: 11px 11px 11px 39px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-tile);
  background: var(--shell578b3-bg-raise);
  color: var(--shell578b3-ink-soft);
  font-size: 14.5px;
  line-height: 1.42;
}

.shell578b3-numbered li::before {
  content: counter(shell578b3-mistake, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 11px;
  color: var(--shell578b3-ember-hot);
  font-family: var(--shell578b3-font-poster);
  font-size: 12px;
}

.shell578b3-numbered b {
  display: block;
  margin-bottom: 2px;
  color: var(--shell578b3-ink);
  font-family: var(--shell578b3-font-poster);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.shell578b3-scenario-grid,
.shell578b3-branch-table {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.shell578b3-scenario-grid article,
.shell578b3-branch-table article {
  padding: 12px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-card);
  background: linear-gradient(135deg, rgba(30, 22, 19, 0.94), rgba(23, 18, 16, 0.72));
}

.shell578b3-scenario-grid article:nth-child(2n),
.shell578b3-branch-table article:nth-child(2n) {
  border-color: rgba(188, 143, 143, 0.34);
}

.shell578b3-scenario-grid article .shell578b3-cta-minor,
.shell578b3-branch-table article .shell578b3-cta-minor {
  width: 100%;
  margin-top: 10px;
}

.shell578b3-check-columns {
  display: grid;
  gap: 11px;
  margin-top: 11px;
}

.shell578b3-check-columns > div {
  padding: 11px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-card);
  background: var(--shell578b3-bg-raise);
}

.shell578b3-check-columns .shell578b3-checklist {
  margin-bottom: 0;
}

.shell578b3-step-lane {
  list-style: none;
  margin: 11px 0 15px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell578b3-step-lane li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--shell578b3-line-soft);
  border-radius: var(--shell578b3-radius-tile);
  background: var(--shell578b3-bg-raise);
}

.shell578b3-step-number {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 8px;
  background: var(--shell578b3-ember);
  color: #140a04;
  font-family: var(--shell578b3-font-poster);
  font-size: 11px;
}

.shell578b3-warning-strip {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--shell578b3-line-ember);
  border-radius: var(--shell578b3-radius-card);
  background: rgba(210, 105, 30, 0.12);
}

.shell578b3-warning-strip h3 {
  color: var(--shell578b3-ember-hot);
}

.shell578b3-branch-table article .shell578b3-cta-minor {
  min-height: 44px;
}

@media (min-width: 375px) {
  .shell578b3-check-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 398px) {
  .shell578b3-scenario-grid,
  .shell578b3-branch-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
