/* ==========================================================================
   Vic Sotto Casino — layers-dynamic-fd11c0.css
   Mobile-first stylesheet for a 320–430px phone canvas. On wide screens the
   phone canvas stays centered at max-width:430px so the layout never reflows
   into a desktop redesign.
   Class prefix ....... shelld11c0-
   Variable prefix .... --shelld11c0-
   Visual language .... deep slate surface, sea-green primary, teal accents,
                        mono "kicker" labels for a technical rhythm, light
                        floating layer game cards, motion limited to state
                        color changes (plus the one slide-up route panel).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shelld11c0-bg:          #273746; /* deep slate — page base            */
  --shelld11c0-bg-deep:     #1a2632; /* darker shade — outer frame        */
  --shelld11c0-bg-raise:    #2f4254; /* raised panel shade                */
  --shelld11c0-primary:     #2E8B57; /* sea green — brand primary         */
  --shelld11c0-primary-hi:  #3aa56b; /* primary pressed / hover state     */
  --shelld11c0-teal:        #20B2AA; /* light sea green — interactive     */
  --shelld11c0-deepteal:    #00695C; /* deep teal — secondary surface     */
  --shelld11c0-silver:      #C0C0C0; /* body text on dark                 */
  --shelld11c0-mint:        #98FB98; /* highlight / focus / active text   */
  --shelld11c0-ink:         #0e1a14; /* text on solid light buttons       */
  --shelld11c0-ink-soft:    #eaf5ef; /* text on solid primary buttons     */
  --shelld11c0-line:        rgba(192, 192, 192, 0.16);
  --shelld11c0-line-hi:     rgba(152, 251, 152, 0.38);
  --shelld11c0-glass:       rgba(192, 192, 192, 0.05);
  --shelld11c0-glass-teal:  rgba(32, 178, 170, 0.10);
  --shelld11c0-glow:        0 0 14px rgba(152, 251, 152, 0.22);
  --shelld11c0-radius-xl:   20px;
  --shelld11c0-radius-lg:   14px;
  --shelld11c0-radius-md:   10px;
  --shelld11c0-radius-sm:   7px;
  --shelld11c0-tap:         44px;    /* minimum touch target               */
  --shelld11c0-gutter:      14px;
  --shelld11c0-font-body:   -apple-system, BlinkMacSystemFont, "Segoe UI",
                             Roboto, "Helvetica Neue", Arial, sans-serif;
  --shelld11c0-font-head:   "Segoe UI", "Trebuchet MS", Verdana,
                             "Helvetica Neue", Arial, sans-serif;
  --shelld11c0-font-mono:   ui-monospace, "Cascadia Mono", "SF Mono",
                             Consolas, "Courier New", monospace;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shelld11c0-bg-deep);
  color: var(--shelld11c0-silver);
  font-family: var(--shelld11c0-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

body.shelld11c0-noscroll { overflow: hidden; }

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

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

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

a {
  color: var(--shelld11c0-teal);
  text-decoration: none;
}

a:active { color: var(--shelld11c0-mint); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(152, 251, 152, 0.14);
}

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

::selection {
  background: rgba(32, 178, 170, 0.35);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell — stays centered on any screen width
   -------------------------------------------------------------------------- */
.shelld11c0-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% 0%, rgba(46, 139, 87, 0.20), transparent 62%),
    linear-gradient(180deg, #2b3d4e 0%, var(--shelld11c0-bg) 34%, #22303d 100%);
  overflow-x: clip;
  box-shadow: 0 0 0 1px rgba(192, 192, 192, 0.08),
              0 0 44px rgba(0, 0, 0, 0.45);
}

.shelld11c0-main {
  padding: 0 var(--shelld11c0-gutter) 8px;
}

/* Skip link — first tab stop */
.shelld11c0-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  padding: 9px 14px;
  border-radius: var(--shelld11c0-radius-sm);
  background: var(--shelld11c0-primary);
  color: var(--shelld11c0-ink-soft);
  font-weight: 700;
  font-size: 13px;
  transition: top 0.15s ease;
}

.shelld11c0-skip:focus { top: 10px; }

/* Screen-reader-only helper */
.shelld11c0-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Top bar — tab-style fixed header
   -------------------------------------------------------------------------- */
.shelld11c0-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 9px var(--shelld11c0-gutter) 9px 12px;
  background: rgba(26, 38, 50, 0.94);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--shelld11c0-line);
}

.shelld11c0-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shelld11c0-brand-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(152, 251, 152, 0.30);
  background: rgba(0, 105, 92, 0.35);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelld11c0-brand-name {
  font-family: var(--shelld11c0-font-head);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eef5f1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelld11c0-brand-name em {
  font-style: normal;
  color: var(--shelld11c0-mint);
}

.shelld11c0-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* Buttons — solid primary / outlined secondary */
.shelld11c0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: var(--shelld11c0-radius-md);
  font-family: var(--shelld11c0-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease, box-shadow 0.16s ease;
}

.shelld11c0-btn-solid {
  background: linear-gradient(180deg, var(--shelld11c0-primary-hi), var(--shelld11c0-primary));
  color: var(--shelld11c0-ink-soft);
  box-shadow: 0 3px 12px rgba(46, 139, 87, 0.35);
}

.shelld11c0-btn-solid:active {
  background: var(--shelld11c0-deepteal);
  box-shadow: var(--shelld11c0-glow);
}

.shelld11c0-btn-ghost {
  background: transparent;
  border: 1px solid rgba(32, 178, 170, 0.65);
  color: var(--shelld11c0-teal);
}

.shelld11c0-btn-ghost:active {
  border-color: var(--shelld11c0-mint);
  color: var(--shelld11c0-mint);
}

.shelld11c0-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shelld11c0-tap);
  height: 38px;
  border-radius: var(--shelld11c0-radius-md);
  border: 1px solid var(--shelld11c0-line);
  color: var(--shelld11c0-silver);
  background: var(--shelld11c0-glass);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.shelld11c0-menu-btn:active {
  border-color: var(--shelld11c0-teal);
  color: var(--shelld11c0-mint);
}

/* --------------------------------------------------------------------------
   5. Slide-up route panel + scrim
   -------------------------------------------------------------------------- */
.shelld11c0-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 16, 22, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.shelld11c0-scrim-on { opacity: 1; visibility: visible; }

.shelld11c0-routes {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  width: 100%;
  max-width: 430px;
  max-height: 78vh;
  overflow-y: auto;
  padding: 18px var(--shelld11c0-gutter) calc(20px + env(safe-area-inset-bottom));
  border-radius: var(--shelld11c0-radius-xl) var(--shelld11c0-radius-xl) 0 0;
  background: linear-gradient(180deg, #243646, #1c2a37);
  border: 1px solid var(--shelld11c0-line);
  border-bottom: 0;
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 104%);
  visibility: hidden;
  transition: transform 0.26s ease, visibility 0.26s ease;
}

.shelld11c0-routes-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.shelld11c0-routes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.shelld11c0-routes-title {
  font-family: var(--shelld11c0-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelld11c0-mint);
}

.shelld11c0-routes-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--shelld11c0-line);
  color: var(--shelld11c0-silver);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.shelld11c0-routes-close:active {
  border-color: var(--shelld11c0-mint);
  color: var(--shelld11c0-mint);
}

.shelld11c0-routes-group { margin-top: 12px; }

.shelld11c0-routes-label {
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.62);
  padding: 0 2px 6px;
}

.shelld11c0-routes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shelld11c0-routes-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 11px;
  border-radius: var(--shelld11c0-radius-md);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
  font-family: var(--shelld11c0-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #dce7e2;
  transition: background-color 0.16s ease, border-color 0.16s ease,
              color 0.16s ease;
}

.shelld11c0-routes-list a span {
  font-family: var(--shelld11c0-font-mono);
  font-size: 10px;
  color: var(--shelld11c0-teal);
}

.shelld11c0-routes-list a:active {
  background: var(--shelld11c0-glass-teal);
  border-color: var(--shelld11c0-teal);
  color: var(--shelld11c0-mint);
}

.shelld11c0-routes-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--shelld11c0-line);
}

.shelld11c0-routes-cta .shelld11c0-btn { min-height: 42px; }

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.shelld11c0-hero {
  position: relative;
  margin: 12px calc(var(--shelld11c0-gutter) * -1) 4px;
}

.shelld11c0-hero-track {
  position: relative;
  aspect-ratio: 5 / 3;
  background: #16202b;
}

.shelld11c0-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shelld11c0-hero-slide-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.shelld11c0-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelld11c0-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(14, 21, 28, 0.88) 62%);
  text-align: left;
}

.shelld11c0-hero-kicker {
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelld11c0-mint);
}

.shelld11c0-hero-title {
  font-family: var(--shelld11c0-font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: #f2f7f4;
}

.shelld11c0-hero-cta {
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--shelld11c0-primary);
  color: var(--shelld11c0-ink-soft);
  font-family: var(--shelld11c0-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.shelld11c0-hero-slide:active .shelld11c0-hero-cta {
  background: var(--shelld11c0-deepteal);
  box-shadow: var(--shelld11c0-glow);
}

.shelld11c0-hero-dots {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  gap: 7px;
}

.shelld11c0-hero-dot {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(192, 192, 192, 0.38);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.shelld11c0-hero-dot-on {
  background: var(--shelld11c0-mint);
  box-shadow: var(--shelld11c0-glow);
}

/* --------------------------------------------------------------------------
   7. Category jump strip
   -------------------------------------------------------------------------- */
.shelld11c0-jump {
  display: flex;
  gap: 7px;
  margin: 14px calc(var(--shelld11c0-gutter) * -1) 2px;
  padding: 2px var(--shelld11c0-gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shelld11c0-jump::-webkit-scrollbar { display: none; }

.shelld11c0-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--shelld11c0-line);
  background: var(--shelld11c0-glass);
  font-family: var(--shelld11c0-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shelld11c0-silver);
  white-space: nowrap;
  transition: border-color 0.16s ease, color 0.16s ease,
              background-color 0.16s ease;
}

.shelld11c0-jump a:active {
  border-color: var(--shelld11c0-teal);
  background: var(--shelld11c0-glass-teal);
  color: var(--shelld11c0-mint);
}

/* --------------------------------------------------------------------------
   8. Section rhythm — kickers, headings, intros
   -------------------------------------------------------------------------- */
.shelld11c0-section { margin-top: 26px; }

.shelld11c0-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shelld11c0-teal);
}

.shelld11c0-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelld11c0-primary-hi);
}

h1.shelld11c0-h1 {
  font-family: var(--shelld11c0-font-head);
  font-size: 24px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f4f8f5;
  margin: 7px 0 10px;
}

h2.shelld11c0-h2 {
  font-family: var(--shelld11c0-font-head);
  font-size: 18.5px;
  line-height: 1.3;
  font-weight: 800;
  color: #eef4f0;
  margin: 6px 0 8px;
}

h3.shelld11c0-h3 {
  font-family: var(--shelld11c0-font-head);
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--shelld11c0-mint);
  margin: 12px 0 5px;
}

.shelld11c0-lead {
  font-size: 15px;
  color: var(--shelld11c0-silver);
}

.shelld11c0-p {
  margin-top: 9px;
  font-size: 14.5px;
  color: rgba(192, 192, 192, 0.94);
}

.shelld11c0-p strong { color: #e8f2ec; font-weight: 700; }

.shelld11c0-p a,
.shelld11c0-deck-intro a,
.shelld11c0-xfoot-dir a {
  color: var(--shelld11c0-teal);
  text-decoration: underline;
  text-decoration-color: rgba(32, 178, 170, 0.5);
  text-underline-offset: 3px;
  font-weight: 700;
}

.shelld11c0-p a:active,
.shelld11c0-deck-intro a:active,
.shelld11c0-xfoot-dir a:active {
  color: var(--shelld11c0-mint);
  text-decoration-color: var(--shelld11c0-mint);
}

/* Intro panel under the hero */
.shelld11c0-intro {
  margin-top: 18px;
  padding: 15px 15px 16px;
  border-radius: var(--shelld11c0-radius-lg);
  background: linear-gradient(180deg, rgba(0, 105, 92, 0.20), rgba(46, 139, 87, 0.08));
  border: 1px solid rgba(32, 178, 170, 0.28);
}

/* --------------------------------------------------------------------------
   9. Game decks — category sections
   -------------------------------------------------------------------------- */
.shelld11c0-deck {
  margin-top: 28px;
  scroll-margin-top: 72px;
}

.shelld11c0-deck-head {
  padding: 0 1px 10px;
}

.shelld11c0-deck-intro {
  font-size: 13.8px;
  line-height: 1.6;
  color: rgba(192, 192, 192, 0.9);
}

.shelld11c0-deck-intro a { font-weight: 700; }

/* Light floating layer game cards */
.shelld11c0-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shelld11c0-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 6px 6px 8px;
  border-radius: var(--shelld11c0-radius-lg);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
  border-top-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 16px rgba(9, 15, 21, 0.28);
  text-align: center;
  transition: border-color 0.16s ease, background-color 0.16s ease,
              box-shadow 0.16s ease;
}

.shelld11c0-tile:active {
  border-color: var(--shelld11c0-teal);
  background: var(--shelld11c0-glass-teal);
  box-shadow: var(--shelld11c0-glow);
}

.shelld11c0-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shelld11c0-radius-md);
  background: #1b2833;
}

.shelld11c0-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  font-family: var(--shelld11c0-font-head);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--shelld11c0-silver);
  word-break: break-word;
  transition: color 0.16s ease;
}

.shelld11c0-tile:active .shelld11c0-tile-name { color: var(--shelld11c0-mint); }

/* --------------------------------------------------------------------------
   10. Info modules — mobile access, payments, comparison, recap
   -------------------------------------------------------------------------- */

/* Step rows (mobile access + recap) */
.shelld11c0-steps {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelld11c0-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--shelld11c0-radius-lg);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
}

.shelld11c0-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--shelld11c0-radius-sm);
  background: rgba(46, 139, 87, 0.24);
  border: 1px solid rgba(46, 139, 87, 0.5);
  font-family: var(--shelld11c0-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shelld11c0-mint);
}

.shelld11c0-step b {
  display: block;
  font-family: var(--shelld11c0-font-head);
  font-size: 13.5px;
  color: #e9f2ed;
}

.shelld11c0-step p {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.92);
}

/* Payment chips + checklist */
.shelld11c0-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.shelld11c0-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 105, 92, 0.22);
  border: 1px solid rgba(32, 178, 170, 0.4);
  font-family: var(--shelld11c0-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shelld11c0-mint);
}

.shelld11c0-check {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.shelld11c0-check li {
  position: relative;
  padding: 8px 10px 8px 30px;
  border-radius: var(--shelld11c0-radius-md);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
  font-size: 13.2px;
  line-height: 1.5;
  color: rgba(192, 192, 192, 0.94);
}

.shelld11c0-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--shelld11c0-mint);
  border-bottom: 2px solid var(--shelld11c0-mint);
  transform: rotate(-45deg);
}

/* Scene-branch comparison cards */
.shelld11c0-branch {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.shelld11c0-branch-card {
  padding: 12px 13px 13px;
  border-radius: var(--shelld11c0-radius-lg);
  background: linear-gradient(160deg, rgba(47, 66, 84, 0.6), rgba(39, 55, 70, 0.35));
  border: 1px solid var(--shelld11c0-line);
  border-left: 3px solid var(--shelld11c0-primary-hi);
}

.shelld11c0-branch-card:nth-child(2n) { border-left-color: var(--shelld11c0-teal); }
.shelld11c0-branch-card:nth-child(3n) { border-left-color: var(--shelld11c0-mint); }

.shelld11c0-branch-scene {
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelld11c0-teal);
}

.shelld11c0-branch-card b {
  display: block;
  margin-top: 3px;
  font-family: var(--shelld11c0-font-head);
  font-size: 14px;
  color: #ecf3ef;
}

.shelld11c0-branch-card p {
  margin-top: 3px;
  font-size: 13.2px;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.92);
}

/* Note strip used inside modules */
.shelld11c0-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--shelld11c0-radius-md);
  background: rgba(0, 105, 92, 0.16);
  border: 1px dashed rgba(32, 178, 170, 0.45);
  font-size: 12.8px;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.95);
}

/* CTA band after recap */
.shelld11c0-band {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.shelld11c0-band .shelld11c0-btn { flex: 1 1 130px; min-height: 44px; }

/* --------------------------------------------------------------------------
   11. Extended footer — brand, promo rail, directory, disclaimer
   -------------------------------------------------------------------------- */
.shelld11c0-xfoot {
  margin: 30px calc(var(--shelld11c0-gutter) * -1) 0;
  padding: 20px var(--shelld11c0-gutter) 4px;
  border-top: 1px solid var(--shelld11c0-line);
  background: linear-gradient(180deg, rgba(26, 38, 50, 0.55), rgba(26, 38, 50, 0.95));
}

.shelld11c0-xfoot-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.shelld11c0-xfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(152, 251, 152, 0.3);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelld11c0-xfoot-brand p {
  font-size: 13.2px;
  line-height: 1.6;
  color: rgba(192, 192, 192, 0.92);
}

/* Horizontal promo shortcuts rail */
.shelld11c0-rail {
  display: flex;
  gap: 8px;
  margin: 16px calc(var(--shelld11c0-gutter) * -1) 0;
  padding: 2px var(--shelld11c0-gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shelld11c0-rail::-webkit-scrollbar { display: none; }

.shelld11c0-rail-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
  font-family: var(--shelld11c0-font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #dfe9e4;
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease,
              color 0.16s ease;
}

.shelld11c0-rail-btn svg { color: var(--shelld11c0-mint); }

.shelld11c0-rail-btn:active {
  border-color: var(--shelld11c0-teal);
  background: var(--shelld11c0-glass-teal);
  color: var(--shelld11c0-mint);
}

/* Page directory */
.shelld11c0-xfoot-dir {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.shelld11c0-dir-cluster {
  padding: 11px 12px 12px;
  border-radius: var(--shelld11c0-radius-lg);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
}

.shelld11c0-dir-cluster h3 {
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shelld11c0-teal);
  margin: 0 0 7px;
}

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

.shelld11c0-dir-cluster li {
  font-size: 12.6px;
  line-height: 1.45;
}

.shelld11c0-dir-cluster a {
  color: rgba(192, 192, 192, 0.96);
  text-decoration: underline;
  text-decoration-color: rgba(32, 178, 170, 0.45);
  text-underline-offset: 2px;
}

.shelld11c0-dir-cluster a:active { color: var(--shelld11c0-mint); }

/* Disclaimer */
.shelld11c0-xfoot-note {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: var(--shelld11c0-radius-md);
  background: rgba(10, 16, 22, 0.35);
  font-size: 12.2px;
  line-height: 1.6;
  color: rgba(192, 192, 192, 0.8);
}

/* Common copyright bar */
.shelld11c0-copy {
  margin-top: 6px;
  padding: 12px var(--shelld11c0-gutter)
           calc(86px + env(safe-area-inset-bottom));
  text-align: center;
  font-family: var(--shelld11c0-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(192, 192, 192, 0.72);
}

/* --------------------------------------------------------------------------
   12. Mobile bottom dock — segmented action bar (fixed)
   -------------------------------------------------------------------------- */
.shelld11c0-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 85;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(20, 30, 40, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shelld11c0-line);
}

.shelld11c0-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: var(--shelld11c0-radius-md);
  color: rgba(192, 192, 192, 0.82);
  font-family: var(--shelld11c0-font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease,
              box-shadow 0.16s ease;
}

.shelld11c0-dock-item svg { flex: 0 0 auto; }

.shelld11c0-dock-item:active {
  color: var(--shelld11c0-mint);
  background: rgba(32, 178, 170, 0.14);
}

.shelld11c0-dock-on {
  color: var(--shelld11c0-mint);
  background: rgba(46, 139, 87, 0.22);
  box-shadow: inset 0 0 0 1px rgba(152, 251, 152, 0.35),
              var(--shelld11c0-glow);
}

/* --------------------------------------------------------------------------
   13. Wider phone canvas (400px+) — denser game grid only
   -------------------------------------------------------------------------- */
@media (min-width: 400px) {
  .shelld11c0-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  h1.shelld11c0-h1 { font-size: 26px; }
  .shelld11c0-hero-track { aspect-ratio: 16 / 9; }
  .shelld11c0-routes-list,
  .shelld11c0-dir-cluster ul { grid-template-columns: 1fr 1fr 1fr; }
}

/* Very small phones — tighten type so nothing overflows at 320px */
@media (max-width: 339px) {
  :root { --shelld11c0-gutter: 11px; }
  h1.shelld11c0-h1 { font-size: 21.5px; }
  .shelld11c0-brand-name { font-size: 15px; }
  .shelld11c0-btn { padding: 7px 10px; font-size: 12px; }
  .shelld11c0-tile-name { font-size: 10.2px; }
}

/* Landscape phones — keep dock slim, no layout change */
@media (max-height: 430px) and (orientation: landscape) {
  .shelld11c0-dock-item { min-height: 46px; }
  .shelld11c0-copy { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   14. Motion preference — the color-only motion budget collapses to none
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   15. Help pages — diagnostic rows, answers, glossary, next-page cards.
       Text promo controls stay inline so they read as part of a sentence.
   -------------------------------------------------------------------------- */
.shelld11c0-txt {
  display: inline;
  padding: 0 1px;
  color: var(--shelld11c0-teal);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
  text-decoration: underline;
  text-decoration-color: rgba(32, 178, 170, 0.5);
  text-underline-offset: 3px;
  vertical-align: baseline;
}

.shelld11c0-txt:active {
  color: var(--shelld11c0-mint);
  text-decoration-color: var(--shelld11c0-mint);
}

.shelld11c0-fault {
  margin-top: 8px;
  padding: 12px 12px 12px 13px;
  border-radius: var(--shelld11c0-radius-md);
  background: var(--shelld11c0-bg-raise);
  border-left: 3px solid var(--shelld11c0-teal);
}

.shelld11c0-fault-tag {
  display: block;
  margin-bottom: 4px;
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shelld11c0-mint);
}

.shelld11c0-fault h3 {
  font-family: var(--shelld11c0-font-head);
  font-size: 15px;
  line-height: 1.35;
  color: var(--shelld11c0-ink-soft);
}

.shelld11c0-fault p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(192, 192, 192, 0.94);
}

.shelld11c0-qa {
  margin-top: 8px;
  padding: 12px 12px 13px;
  border-radius: var(--shelld11c0-radius-sm) 16px 16px var(--shelld11c0-radius-sm);
  background: var(--shelld11c0-glass-teal);
  border: 1px solid rgba(32, 178, 170, 0.28);
}

.shelld11c0-qa h3 {
  font-family: var(--shelld11c0-font-head);
  font-size: 15px;
  line-height: 1.35;
  color: #f3fff6;
}

.shelld11c0-qa p {
  margin-top: 6px;
  font-size: 14.5px;
}

.shelld11c0-gloss {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shelld11c0-gloss div {
  padding: 10px 12px;
  border-radius: var(--shelld11c0-radius-sm);
  background: rgba(0, 105, 92, 0.28);
  border: 1px solid rgba(152, 251, 152, 0.16);
}

.shelld11c0-gloss b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--shelld11c0-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--shelld11c0-mint);
}

.shelld11c0-gloss p {
  font-size: 14px;
  color: rgba(192, 192, 192, 0.94);
}

.shelld11c0-next {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shelld11c0-next a {
  display: block;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: var(--shelld11c0-radius-md);
  background: var(--shelld11c0-bg-raise);
  border: 1px solid rgba(32, 178, 170, 0.38);
  color: var(--shelld11c0-ink-soft);
}

.shelld11c0-next a:active {
  border-color: var(--shelld11c0-mint);
  color: var(--shelld11c0-mint);
  background: rgba(46, 139, 87, 0.22);
}

.shelld11c0-next small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--shelld11c0-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shelld11c0-mint);
}

.shelld11c0-next strong {
  display: block;
  font-family: var(--shelld11c0-font-head);
  font-size: 15px;
  line-height: 1.35;
}

.shelld11c0-next span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--shelld11c0-silver);
}

/* --------------------------------------------------------------------------
   15. Help page components — troubleshooting, Q&A, term board
   -------------------------------------------------------------------------- */

/* Troubleshooting cards: symptom -> cause -> fix */
.shelld11c0-fault {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.shelld11c0-fault-card {
  padding: 12px 13px 13px;
  border-radius: var(--shelld11c0-radius-lg);
  background: linear-gradient(160deg, rgba(47, 66, 84, 0.6), rgba(39, 55, 70, 0.35));
  border: 1px solid var(--shelld11c0-line);
  border-left: 3px solid var(--shelld11c0-teal);
}

.shelld11c0-fault-card:nth-child(2n) { border-left-color: var(--shelld11c0-primary-hi); }
.shelld11c0-fault-card:nth-child(3n) { border-left-color: var(--shelld11c0-mint); }

.shelld11c0-fault-symptom {
  display: block;
  font-family: var(--shelld11c0-font-head);
  font-size: 13.8px;
  font-weight: 800;
  color: #ecf3ef;
  padding-bottom: 7px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--shelld11c0-line);
}

.shelld11c0-fault-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 6px;
}

.shelld11c0-fault-tag {
  font-family: var(--shelld11c0-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shelld11c0-mint);
  padding-top: 2px;
}

.shelld11c0-fault-row p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.93);
}

.shelld11c0-fault-row p a {
  color: var(--shelld11c0-teal);
  text-decoration: underline;
  text-decoration-color: rgba(32, 178, 170, 0.5);
  text-underline-offset: 3px;
  font-weight: 700;
}

/* Short question / answer pairs */
.shelld11c0-qa {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelld11c0-qa-item {
  padding: 11px 12px 12px;
  border-radius: var(--shelld11c0-radius-lg);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
}

.shelld11c0-qa-q {
  display: block;
  font-family: var(--shelld11c0-font-head);
  font-size: 13.6px;
  font-weight: 800;
  color: var(--shelld11c0-mint);
}

.shelld11c0-qa-a {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(192, 192, 192, 0.93);
}

.shelld11c0-qa-a a {
  color: var(--shelld11c0-teal);
  text-decoration: underline;
  text-decoration-color: rgba(32, 178, 170, 0.5);
  text-underline-offset: 3px;
  font-weight: 700;
}

/* Term board: term cell + plain-language definition */
.shelld11c0-terms {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelld11c0-term {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--shelld11c0-radius-md);
  background: var(--shelld11c0-glass);
  border: 1px solid var(--shelld11c0-line);
}

.shelld11c0-term dt {
  font-family: var(--shelld11c0-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shelld11c0-teal);
  padding-top: 2px;
}

.shelld11c0-term dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(192, 192, 192, 0.93);
}

@media (max-width: 339px) {
  .shelld11c0-term { grid-template-columns: 88px 1fr; }
  .shelld11c0-fault-row { grid-template-columns: 46px 1fr; }
}
