/* ==========================================================================
   BBC Casino - bbccasino.click - en-PH mobile shell
   File   : css/bbc-casino-palette-9cc166.css
   Prefix : shell16674-
   Voice  : deep-ink ledger with blush brand accents, spring-green signals
            and wine highlights. Monospace eyebrows ride a calm sans body.
            The whole site locks to a 430px phone column on any screen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell16674-ink: #1C2833;
  --shell16674-ink-deep: #131c25;
  --shell16674-ink-panel: #212f3d;
  --shell16674-ink-raise: #2a3b4d;
  --shell16674-paper: #E0E0E0;
  --shell16674-paper-dim: #9db0be;
  --shell16674-blush: #FFC0CB;
  --shell16674-blush-soft: #FFB6C1;
  --shell16674-signal: #00FF7F;
  --shell16674-signal-ink: #062c1a;
  --shell16674-wine: #8B0000;
  --shell16674-wine-lift: #a31226;
  --shell16674-line: rgba(224, 224, 224, 0.14);
  --shell16674-line-soft: rgba(224, 224, 224, 0.07);
  --shell16674-mono: "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell16674-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell16674-r-s: 8px;   /* small radius: chips, buttons */
  --shell16674-r-m: 12px;  /* medium radius: cards, rows */
  --shell16674-r-l: 18px;  /* large radius: hero, panels */
  --shell16674-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  --shell16674-head-h: 60px;
  --shell16674-dock-h: 62px;
  --shell16674-gutter: 12px;
}

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

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

body.shell16674-page {
  margin: 0;
  padding: 0;
  font-family: var(--shell16674-sans);
  font-size: 15px;
  line-height: 1.62;
  color: var(--shell16674-paper);
  background: var(--shell16674-ink-deep);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

.shell16674-page a { color: var(--shell16674-blush); text-decoration: none; }
.shell16674-page a:hover,
.shell16674-page a:focus-visible { color: var(--shell16674-blush-soft); text-decoration: underline; text-underline-offset: 3px; }

.shell16674-page button { font-family: inherit; cursor: pointer; }

.shell16674-page :focus-visible {
  outline: 2px solid var(--shell16674-signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell16674-page ::selection {
  background: var(--shell16674-blush);
  color: var(--shell16674-ink);
}

/* --------------------------------------------------------------------------
   3. Phone canvas (locks at 430px, centered when the screen is wider)
   -------------------------------------------------------------------------- */
.shell16674-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 192, 203, 0.09), transparent 62%),
    linear-gradient(180deg, #1e2b38 0%, var(--shell16674-ink) 34%, #19242f 100%);
  box-shadow: 0 0 0 1px rgba(255, 192, 203, 0.06);
  overflow: hidden;
}

@media (min-width: 480px) {
  body.shell16674-page { background: #0d141b; }
  .shell16674-canvas {
    box-shadow:
      0 0 0 1px rgba(255, 192, 203, 0.10),
      0 30px 70px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   4. Fixed header: minimal title band + expandable menu
   -------------------------------------------------------------------------- */
.shell16674-head {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(19, 28, 37, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell16674-line-soft);
}

.shell16674-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell16674-head-h);
  padding: 8px var(--shell16674-gutter);
}

.shell16674-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.shell16674-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 192, 203, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

.shell16674-brand-name {
  font-family: var(--shell16674-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell16674-blush);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Light-radius text button group */
.shell16674-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 11px;
  border-radius: var(--shell16674-r-s);
  border: 1px solid transparent;
  font-family: var(--shell16674-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell16674-btn:active { transform: scale(0.93); }

.shell16674-btn-ghost {
  background: rgba(224, 224, 224, 0.06);
  border-color: var(--shell16674-line-soft);
  color: var(--shell16674-paper);
}

.shell16674-btn-line {
  background: transparent;
  border-color: rgba(255, 192, 203, 0.55);
  color: var(--shell16674-blush);
}

.shell16674-btn-go {
  background: var(--shell16674-signal);
  border-color: var(--shell16674-signal);
  color: var(--shell16674-signal-ink);
  box-shadow: 0 4px 14px rgba(0, 255, 127, 0.22);
}

/* Expandable navigation drawer under the band */
.shell16674-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.22s ease;
  background: rgba(24, 34, 45, 0.98);
  border-bottom: 1px solid var(--shell16674-line-soft);
}

.shell16674-drawer.shell16674-open {
  max-height: 520px;
  opacity: 1;
}

.shell16674-drawer-list {
  list-style: none;
  margin: 0;
  padding: 6px var(--shell16674-gutter) 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell16674-drawer-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: var(--shell16674-r-s);
  background: rgba(224, 224, 224, 0.05);
  border: 1px solid var(--shell16674-line-soft);
  color: var(--shell16674-paper);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.14s ease, transform 0.14s ease;
}

.shell16674-drawer-link:hover,
.shell16674-drawer-link:focus-visible {
  background: rgba(255, 192, 203, 0.12);
  text-decoration: none;
}

.shell16674-drawer-link:active { transform: scale(0.96); }

.shell16674-drawer-num {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  color: var(--shell16674-blush-soft);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.shell16674-main {
  padding: calc(var(--shell16674-head-h) + 14px) var(--shell16674-gutter) 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --------------------------------------------------------------------------
   6. Hero carousel (three local promo banners)
   -------------------------------------------------------------------------- */
.shell16674-hero {
  position: relative;
  border-radius: var(--shell16674-r-l);
  overflow: hidden;
  border: 1px solid var(--shell16674-line-soft);
  box-shadow: var(--shell16674-shadow);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.shell16674-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
  will-change: transform;
}

.shell16674-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--shell16674-ink-panel);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.shell16674-slide img {
  width: 100%;
  aspect-ratio: 430 / 208;
  object-fit: cover;
}

.shell16674-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(19, 28, 37, 0) 0%, rgba(19, 28, 37, 0.88) 58%, rgba(19, 28, 37, 0.96) 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shell16674-cap-eye {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell16674-signal);
}

.shell16674-cap-line {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.shell16674-cap-cta {
  font-family: var(--shell16674-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--shell16674-blush);
}

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

.shell16674-dot {
  width: 34px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}

.shell16674-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(224, 224, 224, 0.4);
  transition: width 0.28s ease, background 0.28s ease;
}

.shell16674-dot.shell16674-on::before {
  width: 20px;
  background: var(--shell16674-blush);
}

/* --------------------------------------------------------------------------
   7. Lead block (H1) + CTA group + stat strip
   -------------------------------------------------------------------------- */
.shell16674-lead { display: flex; flex-direction: column; gap: 10px; }

.shell16674-h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.shell16674-h1 .shell16674-h1-mark { color: var(--shell16674-blush); }

.shell16674-standfirst {
  margin: 0;
  font-size: 14.5px;
  color: var(--shell16674-paper);
}

.shell16674-standfirst strong { color: var(--shell16674-blush-soft); font-weight: 700; }

.shell16674-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.shell16674-ctarow .shell16674-btn { flex: 1 1 auto; }

.shell16674-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--shell16674-line-soft);
  border-bottom: 1px solid var(--shell16674-line-soft);
  padding: 10px 0;
  gap: 4px;
}

.shell16674-stat { text-align: center; min-width: 0; }

.shell16674-stat-num {
  display: block;
  font-family: var(--shell16674-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--shell16674-blush);
  letter-spacing: 0.02em;
}

.shell16674-stat-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell16674-paper-dim);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. Category sections and related-page chips
   -------------------------------------------------------------------------- */
.shell16674-cat { display: flex; flex-direction: column; gap: 9px; }

.shell16674-cat-eye {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell16674-signal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shell16674-cat-eye::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(0, 255, 127, 0.5), transparent);
}

.shell16674-cat-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  color: #fff;
}

.shell16674-cat-verdict {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell16674-paper);
}

.shell16674-cat-verdict strong { color: var(--shell16674-blush-soft); }

.shell16674-rel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.shell16674-rel-label {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell16674-paper-dim);
}

.shell16674-rel-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 192, 203, 0.09);
  border: 1px solid rgba(255, 192, 203, 0.22);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shell16674-blush);
  transition: background 0.14s ease, transform 0.14s ease;
}

.shell16674-rel-link:hover,
.shell16674-rel-link:focus-visible {
  background: rgba(255, 192, 203, 0.18);
  text-decoration: none;
}

.shell16674-rel-link:active { transform: scale(0.95); }

/* --------------------------------------------------------------------------
   9. Game grid: image card with a bottom name bar
   -------------------------------------------------------------------------- */
.shell16674-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

.shell16674-card {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--shell16674-line-soft);
  border-radius: var(--shell16674-r-m);
  overflow: hidden;
  background: var(--shell16674-ink-panel);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell16674-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #17222d;
}

.shell16674-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 14px 5px 4px;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0) 0%, rgba(20, 29, 38, 0.92) 46%, rgba(16, 24, 32, 0.97) 100%);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--shell16674-paper);
  text-align: center;
}

.shell16674-card:active {
  transform: scale(0.94);
  border-color: rgba(255, 192, 203, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.shell16674-card:hover { border-color: rgba(255, 192, 203, 0.35); }

/* --------------------------------------------------------------------------
   10. Content panels (shared shell for the editorial modules)
   -------------------------------------------------------------------------- */
.shell16674-panel {
  background: linear-gradient(180deg, rgba(33, 47, 61, 0.85), rgba(25, 36, 47, 0.92));
  border: 1px solid var(--shell16674-line-soft);
  border-radius: var(--shell16674-r-l);
  padding: 16px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.shell16674-panel-eye {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell16674-blush-soft);
}

.shell16674-panel-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

.shell16674-panel-lead {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell16674-paper);
}

.shell16674-panel-lead strong { color: var(--shell16674-blush-soft); }

/* Module A: two-column verdict rows */
.shell16674-duo { display: flex; flex-direction: column; }

.shell16674-duo-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--shell16674-line-soft);
  align-items: start;
}

.shell16674-duo-row:first-child { border-top: 0; padding-top: 2px; }

.shell16674-duo-tag {
  font-family: var(--shell16674-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--shell16674-signal);
  background: rgba(0, 255, 127, 0.08);
  border: 1px solid rgba(0, 255, 127, 0.22);
  border-radius: var(--shell16674-r-s);
  padding: 5px 6px;
  text-align: center;
}

.shell16674-duo-txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--shell16674-paper);
}

.shell16674-duo-txt strong { color: #fff; }

/* Module B: numbered ledger */
.shell16674-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shell16674step;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.shell16674-ledger-item {
  counter-increment: shell16674step;
  position: relative;
  padding: 8px 10px 9px 44px;
  background: rgba(19, 28, 37, 0.55);
  border: 1px solid var(--shell16674-line-soft);
  border-left: 3px solid var(--shell16674-blush);
  border-radius: var(--shell16674-r-m);
  font-size: 13px;
  line-height: 1.55;
}

.shell16674-ledger-item::before {
  content: counter(shell16674step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 10px;
  font-family: var(--shell16674-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell16674-blush-soft);
}

.shell16674-ledger-item strong { color: #fff; }

/* Module C: consensus strip + quotes */
.shell16674-voice-strip {
  display: flex;
  flex-direction: column;
  border: 1px dashed rgba(255, 192, 203, 0.3);
  border-radius: var(--shell16674-r-m);
  overflow: hidden;
}

.shell16674-voice-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  background: rgba(255, 192, 203, 0.05);
}

.shell16674-voice-row + .shell16674-voice-row { border-top: 1px solid var(--shell16674-line-soft); }

.shell16674-voice-key {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell16674-blush);
  flex: 0 0 58px;
}

.shell16674-voice-meter { color: var(--shell16674-blush-soft); font-size: 11px; letter-spacing: 1px; }

.shell16674-voice-note { color: var(--shell16674-paper); }

.shell16674-quotes { display: flex; flex-direction: column; gap: 8px; }

.shell16674-quote {
  padding: 9px 11px 10px;
  border-radius: var(--shell16674-r-m);
  background: rgba(19, 28, 37, 0.55);
  border: 1px solid var(--shell16674-line-soft);
}

.shell16674-quote:nth-child(even) { border-left: 3px solid var(--shell16674-wine-lift); }
.shell16674-quote:nth-child(odd) { border-left: 3px solid rgba(255, 192, 203, 0.55); }

.shell16674-quote-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.shell16674-quote-handle {
  font-family: var(--shell16674-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--shell16674-signal);
}

.shell16674-quote-meter { color: var(--shell16674-blush-soft); font-size: 10.5px; letter-spacing: 1.5px; }

.shell16674-quote-txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--shell16674-paper);
}

.shell16674-quote-txt strong { color: #fff; }

/* Compact spec ledger used inside editorial panels */
.shell16674-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--shell16674-line-soft);
  border-radius: var(--shell16674-r-m);
  padding: 7px 9px;
  background: rgba(19, 28, 37, 0.5);
}

.shell16674-spec-title {
  margin: 0 0 4px;
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell16674-signal);
}

.shell16674-spec-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.5;
}

.shell16674-spec-row + .shell16674-spec-row { border-top: 1px dotted var(--shell16674-line-soft); }

.shell16674-spec-key {
  font-family: var(--shell16674-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell16674-blush);
}

.shell16674-spec-note {
  margin: 0;
  color: var(--shell16674-paper);
}

.shell16674-spec-note strong { color: #fff; }

/* Module D: security check rows */
.shell16674-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shell16674-check {
  position: relative;
  padding: 8px 10px 9px 36px;
  border-radius: var(--shell16674-r-m);
  background: rgba(0, 255, 127, 0.045);
  border: 1px solid rgba(0, 255, 127, 0.14);
  font-size: 13px;
  line-height: 1.55;
}

.shell16674-check::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 255, 127, 0.14);
  color: var(--shell16674-signal);
  font-size: 12px;
  font-weight: 700;
}

.shell16674-check strong { color: #fff; }

/* Module E: decision checklist ticks */
.shell16674-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shell16674-tick {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  padding: 7px 9px;
  border-radius: var(--shell16674-r-m);
  border: 1px solid var(--shell16674-line-soft);
  background: rgba(19, 28, 37, 0.5);
}

.shell16674-tick-box {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 4px;
  border: 1.5px solid var(--shell16674-blush);
  background: rgba(255, 192, 203, 0.08);
}

.shell16674-tick-body { min-width: 0; }

.shell16674-tick-what { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.4; }

.shell16674-tick-why { font-size: 11.5px; color: var(--shell16674-paper-dim); line-height: 1.5; margin-top: 1px; }

/* --------------------------------------------------------------------------
   11. Extended footer: promo shortcuts > brand > directory > disclaimer
   -------------------------------------------------------------------------- */
.shell16674-xfoot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--shell16674-line);
}

.shell16674-xfoot-promos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.shell16674-xfoot-promos::-webkit-scrollbar { display: none; }

.shell16674-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--shell16674-r-m);
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.5), rgba(139, 0, 0, 0.18));
  border: 1px solid rgba(255, 182, 193, 0.32);
  font-family: var(--shell16674-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffd7de;
  white-space: nowrap;
  transition: transform 0.14s ease, border-color 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell16674-chip::after { content: "\2192"; color: var(--shell16674-blush-soft); }

.shell16674-chip:active { transform: scale(0.94); border-color: var(--shell16674-blush); }

.shell16674-xfoot-brand-title {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.shell16674-xfoot-brand-txt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell16674-paper-dim);
}

.shell16674-xfoot-brand-txt strong { color: var(--shell16674-blush-soft); }

.shell16674-dir-title {
  margin: 0 0 7px;
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell16674-blush-soft);
}

.shell16674-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.shell16674-dir-link {
  display: inline-block;
  min-height: 34px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--shell16674-paper);
  border-bottom: 1px dotted rgba(224, 224, 224, 0.18);
  transition: color 0.14s ease;
}

.shell16674-dir-link:hover,
.shell16674-dir-link:focus-visible { color: var(--shell16674-blush); text-decoration: none; }

.shell16674-xfoot-note {
  margin: 0;
  padding: 9px 11px;
  border-radius: var(--shell16674-r-m);
  background: rgba(139, 0, 0, 0.14);
  border: 1px solid rgba(139, 0, 0, 0.4);
  font-size: 11px;
  line-height: 1.55;
  color: var(--shell16674-paper-dim);
}

.shell16674-xfoot-note strong { color: var(--shell16674-paper); }

/* --------------------------------------------------------------------------
   12. Common end bar (copyright only)
   -------------------------------------------------------------------------- */
.shell16674-endbar {
  padding: 14px var(--shell16674-gutter) 16px;
  border-top: 1px solid var(--shell16674-line-soft);
  text-align: center;
}

.shell16674-endbar-txt {
  margin: 0;
  font-family: var(--shell16674-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--shell16674-paper-dim);
}

/* Bottom breathing room so the fixed dock never covers the last line */
.shell16674-canvas .shell16674-endbar {
  padding-bottom: calc(var(--shell16674-dock-h) + 20px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   13. Mobile bottom dock: 5 roles, layered strip
   -------------------------------------------------------------------------- */
.shell16674-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);
  gap: 2px;
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 24, 32, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 192, 203, 0.16);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.45);
}

.shell16674-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px 3px;
  border-radius: var(--shell16674-r-m);
  background: transparent;
  border: 0;
  color: var(--shell16674-paper-dim);
  transition: color 0.16s ease, background 0.16s ease, transform 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.shell16674-dock-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell16674-dock-ico svg { width: 22px; height: 22px; display: block; fill: currentColor; }

.shell16674-dock-label {
  font-family: var(--shell16674-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

/* Active role sits on a raised background block */
.shell16674-dock-item.shell16674-on {
  color: var(--shell16674-signal);
  background: linear-gradient(180deg, rgba(0, 255, 127, 0.16), rgba(0, 255, 127, 0.05));
  box-shadow: inset 0 0 0 1px rgba(0, 255, 127, 0.3);
}

.shell16674-dock-item:hover { color: var(--shell16674-paper); text-decoration: none; }

.shell16674-dock-item.shell16674-on:hover { color: var(--shell16674-signal); }

/* --------------------------------------------------------------------------
   14. Motion budget: keep it to focus indicators and quick scale feedback
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .shell16674-track { transition: none; }
  .shell16674-drawer { transition: opacity 0.14s ease; }
  .shell16674-btn,
  .shell16674-card,
  .shell16674-chip,
  .shell16674-dock-item,
  .shell16674-rel-link { transition: none; }
  .shell16674-dot::before { transition: none; }
}

/* Utility: visually hidden but available to assistive tech */
.shell16674-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   15. Help-page reading tools: two distinct editorial presentations
   -------------------------------------------------------------------------- */
.shell16674-help-main { gap: 18px; }

.shell16674-help-hero {
  padding: 18px 15px 17px;
  border-radius: 22px 10px 22px 10px;
  background:
    linear-gradient(135deg, rgba(139, 0, 0, 0.72), rgba(33, 47, 61, 0.94) 58%),
    radial-gradient(circle at 90% 10%, rgba(0, 255, 127, 0.18), transparent 42%);
  border: 1px solid rgba(255, 192, 203, 0.28);
  box-shadow: var(--shell16674-shadow);
}

.shell16674-help-kicker {
  margin: 0 0 7px;
  font-family: var(--shell16674-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell16674-signal);
}

.shell16674-help-h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.shell16674-help-hero p {
  margin: 10px 0 0;
  color: var(--shell16674-paper);
  font-size: 14px;
}

.shell16674-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.shell16674-help-actions .shell16674-btn { flex: 1 1 128px; }

.shell16674-safety-map {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell16674-safety-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 9px;
  border: 1px solid var(--shell16674-line-soft);
  border-radius: 7px 15px 7px 15px;
  background: rgba(19, 28, 37, 0.62);
}

.shell16674-safety-code {
  padding: 6px 4px;
  border-radius: 5px;
  background: rgba(0, 255, 127, 0.11);
  border: 1px solid rgba(0, 255, 127, 0.26);
  color: var(--shell16674-signal);
  font-family: var(--shell16674-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.shell16674-safety-copy { min-width: 0; }
.shell16674-safety-copy strong { display: block; color: #fff; font-size: 13px; line-height: 1.35; }
.shell16674-safety-copy p { margin: 3px 0 0; color: var(--shell16674-paper); font-size: 12.5px; line-height: 1.55; }

.shell16674-triage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shell16674-branch {
  min-width: 0;
  padding: 10px 9px;
  border-left: 3px solid var(--shell16674-blush);
  border-radius: 4px 12px 12px 4px;
  background: rgba(255, 192, 203, 0.07);
}

.shell16674-branch:nth-child(2n) { border-left-color: var(--shell16674-wine-lift); }
.shell16674-branch h3 { margin: 0 0 4px; color: var(--shell16674-blush-soft); font-size: 13px; line-height: 1.35; }
.shell16674-branch p { margin: 0; color: var(--shell16674-paper); font-size: 12px; line-height: 1.55; }

.shell16674-route-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell16674-route-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 44px;
  padding: 6px 9px;
  border-bottom: 1px dotted rgba(224, 224, 224, 0.24);
  color: var(--shell16674-paper);
  font-size: 12.5px;
}

.shell16674-route-mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shell16674-wine);
  color: #fff;
  font-family: var(--shell16674-mono);
  font-size: 10px;
}

.shell16674-compare {
  overflow: hidden;
  border: 1px solid var(--shell16674-line-soft);
  border-radius: 10px;
}

.shell16674-compare-row {
  display: grid;
  grid-template-columns: 82px 1fr 1fr;
  gap: 6px;
  padding: 8px 7px;
  color: var(--shell16674-paper);
  font-size: 11.5px;
  line-height: 1.45;
}

.shell16674-compare-row + .shell16674-compare-row { border-top: 1px solid var(--shell16674-line-soft); }
.shell16674-compare-row:nth-child(odd) { background: rgba(224, 224, 224, 0.04); }
.shell16674-compare-row strong { color: var(--shell16674-blush-soft); font-family: var(--shell16674-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.shell16674-compare-head { background: rgba(0, 255, 127, 0.08); color: #fff; font-weight: 700; }
.shell16674-compare-head strong { color: var(--shell16674-signal); }

/* FAQ page uses native disclosure rows rather than the safety-page map. */
.shell16674-faq-intro {
  padding: 13px 14px;
  border-right: 3px solid var(--shell16674-signal);
  border-radius: 14px 5px 14px 5px;
  background: rgba(0, 255, 127, 0.06);
  color: var(--shell16674-paper);
  font-size: 13.5px;
}

.shell16674-faq-intro p { margin: 0; }
.shell16674-faq-list { display: flex; flex-direction: column; gap: 7px; }
.shell16674-faq-item { border: 1px solid var(--shell16674-line-soft); border-radius: 12px; background: rgba(33, 47, 61, 0.76); overflow: hidden; }
.shell16674-faq-item[open] { border-color: rgba(255, 192, 203, 0.38); }
.shell16674-faq-question { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 48px; padding: 8px 11px; cursor: pointer; color: #fff; font-size: 13px; font-weight: 700; list-style: none; }
.shell16674-faq-question::-webkit-details-marker { display: none; }
.shell16674-faq-question::after { content: "+"; flex: 0 0 auto; color: var(--shell16674-signal); font-family: var(--shell16674-mono); font-size: 17px; }
.shell16674-faq-item[open] .shell16674-faq-question::after { content: "−"; color: var(--shell16674-blush); }
.shell16674-faq-answer { margin: 0; padding: 0 11px 12px; color: var(--shell16674-paper); font-size: 12.8px; line-height: 1.62; }
.shell16674-faq-answer strong { color: var(--shell16674-blush-soft); }

.shell16674-term-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.shell16674-term {
  min-height: 74px;
  padding: 8px 7px;
  border-top: 2px solid var(--shell16674-blush);
  border-radius: 4px 4px 11px 11px;
  background: rgba(139, 0, 0, 0.17);
}

.shell16674-term b { display: block; color: var(--shell16674-blush-soft); font-family: var(--shell16674-mono); font-size: 10px; letter-spacing: 0.06em; }
.shell16674-term span { display: block; margin-top: 4px; color: var(--shell16674-paper); font-size: 11px; line-height: 1.4; }

.shell16674-faq-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.shell16674-faq-check { display: flex; gap: 7px; align-items: flex-start; padding: 8px; border: 1px solid var(--shell16674-line-soft); border-radius: 9px; background: rgba(19, 28, 37, 0.5); color: var(--shell16674-paper); font-size: 11.5px; line-height: 1.45; }
.shell16674-faq-check::before { content: "✓"; color: var(--shell16674-signal); font-weight: 700; }

.shell16674-choice-list { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.shell16674-choice { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; padding: 8px; border-left: 2px solid var(--shell16674-blush); background: rgba(19, 28, 37, 0.52); }
.shell16674-choice-index { color: var(--shell16674-signal); font-family: var(--shell16674-mono); font-size: 11px; font-weight: 700; }
.shell16674-choice p { margin: 0; color: var(--shell16674-paper); font-size: 12.5px; line-height: 1.55; }
.shell16674-choice strong { color: #fff; }

@media (max-width: 350px) {
  .shell16674-safety-row { grid-template-columns: 64px 1fr; gap: 7px; }
  .shell16674-triage, .shell16674-faq-checklist { grid-template-columns: 1fr; }
  .shell16674-compare-row { grid-template-columns: 66px 1fr 1fr; font-size: 10.8px; }
  .shell16674-term-ribbon { grid-template-columns: 1fr; }
}
