/* ==============================================================
   Gilas lobby theme — native-e8a91a-palette.css
   Mobile-first casino lobby for gilas.click (320-430px canvas)
   Class prefix: shell91a7d-
   Palette: deep navy arena + warm sand accents
   ============================================================== */

/* --------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------- */
:root {
  --shell91a7d-ink: #1A1A2E;                    /* canvas navy */
  --shell91a7d-ink-deep: #131322;               /* outer page navy */
  --shell91a7d-ink-raise: #232340;              /* raised panel */
  --shell91a7d-ink-soft: #2A2B4E;               /* hover panel */
  --shell91a7d-sand: #F4A460;                   /* primary accent */
  --shell91a7d-sand-deep: #d98b48;              /* pressed accent */
  --shell91a7d-tan: #D2B48C;                    /* secondary accent */
  --shell91a7d-gold: #FAFAD2;                   /* highlight text */
  --shell91a7d-paper: #F0F0F0;                  /* body text */
  --shell91a7d-mist: rgba(240, 240, 240, 0.68); /* soft text */
  --shell91a7d-faint: rgba(240, 240, 240, 0.46);/* dim text */
  --shell91a7d-line: rgba(210, 180, 140, 0.26); /* hairline */
  --shell91a7d-line-strong: rgba(210, 180, 140, 0.5);
  --shell91a7d-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  --shell91a7d-radius-l: 8px;
  --shell91a7d-radius: 6px;
  --shell91a7d-radius-s: 4px;
  --shell91a7d-font-head: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --shell91a7d-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell91a7d-topbar-h: 112px;
  --shell91a7d-rail-h: 60px;
  --shell91a7d-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------
   2. Reset and phone canvas
   -------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

html, body { overflow-x: hidden; }

body {
  background: var(--shell91a7d-ink-deep);
  color: var(--shell91a7d-paper);
  font-family: var(--shell91a7d-font-body);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: var(--shell91a7d-tan); text-decoration: none; }
a:hover, a:focus-visible { color: var(--shell91a7d-sand); }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--shell91a7d-sand);
  outline-offset: 2px;
  border-radius: var(--shell91a7d-radius-s);
}

.shell91a7d-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell91a7d-ink);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
}

/* Skip link stays hidden until focused */
.shell91a7d-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--shell91a7d-radius-s);
}
.shell91a7d-skip:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------
   3. Top bar — brand layer + action layer
   -------------------------------------------------------------- */
.shell91a7d-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  background: linear-gradient(180deg, #20203a 0%, var(--shell91a7d-ink) 100%);
  border-bottom: 1px solid var(--shell91a7d-line-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.shell91a7d-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-bottom: 1px solid var(--shell91a7d-line);
}

.shell91a7d-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 10px;
}

.shell91a7d-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell91a7d-radius-s);
  border: 1px solid var(--shell91a7d-line-strong);
  object-fit: cover;
}

.shell91a7d-brandname {
  font-family: var(--shell91a7d-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--shell91a7d-gold);
}

.shell91a7d-actionrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 12px;
}

.shell91a7d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--shell91a7d-radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: background-color 0.25s var(--shell91a7d-ease),
              color 0.25s var(--shell91a7d-ease),
              border-color 0.25s var(--shell91a7d-ease);
}

.shell91a7d-btn-solid {
  flex: 1.35;
  background: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
}
.shell91a7d-btn-solid:active { background: var(--shell91a7d-sand-deep); }

.shell91a7d-btn-line {
  flex: 1;
  border: 1px solid var(--shell91a7d-line-strong);
  color: var(--shell91a7d-tan);
  background: rgba(210, 180, 140, 0.06);
}
.shell91a7d-btn-line:active {
  background: rgba(210, 180, 140, 0.16);
  color: var(--shell91a7d-gold);
}

.shell91a7d-menubtn {
  flex: 0 0 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  border: 1px solid var(--shell91a7d-line-strong);
  border-radius: var(--shell91a7d-radius);
  background: rgba(210, 180, 140, 0.06);
  transition: background-color 0.25s var(--shell91a7d-ease);
}
.shell91a7d-menubtn:active { background: rgba(210, 180, 140, 0.18); }

.shell91a7d-menubtn-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell91a7d-tan);
  transition: transform 0.28s var(--shell91a7d-ease), opacity 0.2s linear;
}
.shell91a7d-menubtn[data-open="1"] .shell91a7d-menubtn-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--shell91a7d-sand);
}
.shell91a7d-menubtn[data-open="1"] .shell91a7d-menubtn-bar:nth-child(2) { opacity: 0; }
.shell91a7d-menubtn[data-open="1"] .shell91a7d-menubtn-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--shell91a7d-sand);
}

/* --------------------------------------------------------------
   4. Slide-up route panel
   -------------------------------------------------------------- */
.shell91a7d-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 20, 0.66);
  opacity: 0;
  transition: opacity 0.3s linear;
}
.shell91a7d-backdrop[data-show="1"] { opacity: 1; }
.shell91a7d-backdrop[data-show="0"] { pointer-events: none; }
.shell91a7d-backdrop[data-show="1"] { pointer-events: auto; }

.shell91a7d-routes {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 430px;
  max-height: 76vh;
  overflow-y: auto;
  z-index: 70;
  background: var(--shell91a7d-ink-raise);
  border-top: 2px solid var(--shell91a7d-sand);
  border-radius: 14px 14px 0 0;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
  transition: transform 0.34s var(--shell91a7d-ease);
}
.shell91a7d-routes[data-open="1"] { transform: translate(-50%, 0); }

.shell91a7d-routes-title {
  font-family: var(--shell91a7d-font-head);
  font-size: 15px;
  color: var(--shell91a7d-gold);
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.shell91a7d-routes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 14px;
}

.shell91a7d-routes-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--shell91a7d-line);
  border-radius: var(--shell91a7d-radius);
  background: rgba(26, 26, 46, 0.72);
  color: var(--shell91a7d-paper);
  font-size: 13.5px;
  line-height: 1.3;
  transition: border-color 0.25s var(--shell91a7d-ease),
              background-color 0.25s var(--shell91a7d-ease),
              color 0.25s var(--shell91a7d-ease);
}
.shell91a7d-routes-list a:active,
.shell91a7d-routes-list a[aria-current="page"] {
  border-color: var(--shell91a7d-sand);
  color: var(--shell91a7d-sand);
  background: rgba(244, 164, 96, 0.1);
}

.shell91a7d-routes-note {
  font-size: 11.5px;
  color: var(--shell91a7d-faint);
  text-align: center;
}

body.shell91a7d-locked { overflow: hidden; }

/* --------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------- */
.shell91a7d-main {
  padding-top: calc(var(--shell91a7d-topbar-h) + 6px);
  padding-bottom: calc(var(--shell91a7d-rail-h) + 30px + env(safe-area-inset-bottom));
}

.shell91a7d-block { padding: 0 12px; }

.shell91a7d-section { margin-top: 28px; scroll-margin-top: calc(var(--shell91a7d-topbar-h) + 12px); }

/* --------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------- */
.shell91a7d-hero { position: relative; }

.shell91a7d-herotrack {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shell91a7d-herotrack::-webkit-scrollbar { display: none; }

.shell91a7d-heroslide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  aspect-ratio: 430 / 176;
  overflow: hidden;
  text-align: left;
}

.shell91a7d-heroslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell91a7d-heroslide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 34, 0) 42%, rgba(19, 19, 34, 0.86) 100%);
}

.shell91a7d-herocaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  z-index: 2;
  color: var(--shell91a7d-paper);
  font-size: 12.5px;
  line-height: 1.4;
}
.shell91a7d-herocaption strong {
  display: block;
  font-family: var(--shell91a7d-font-head);
  font-size: 16px;
  color: var(--shell91a7d-gold);
  letter-spacing: 0.3px;
}

.shell91a7d-herodots {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.shell91a7d-herodot {
  width: 22px;
  height: 8px;
  border-radius: 4px;
  background: rgba(240, 240, 240, 0.35);
  transition: background-color 0.3s var(--shell91a7d-ease), width 0.3s var(--shell91a7d-ease);
}
.shell91a7d-herodot[aria-current="true"] {
  width: 30px;
  background: var(--shell91a7d-sand);
}

/* --------------------------------------------------------------
   7. Intro: H1, lede, stat strip
   -------------------------------------------------------------- */
.shell91a7d-intro { padding: 16px 12px 4px; }

.shell91a7d-intro h1 {
  font-family: var(--shell91a7d-font-head);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--shell91a7d-gold);
  letter-spacing: 0.2px;
}

.shell91a7d-lede {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--shell91a7d-mist);
}

.shell91a7d-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.shell91a7d-stats li {
  background: var(--shell91a7d-ink-raise);
  border: 1px solid var(--shell91a7d-line);
  border-radius: var(--shell91a7d-radius);
  padding: 8px 6px;
  text-align: center;
}

.shell91a7d-stats strong {
  display: block;
  font-family: var(--shell91a7d-font-head);
  font-size: 17px;
  color: var(--shell91a7d-sand);
  line-height: 1.15;
}

.shell91a7d-stats span {
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--shell91a7d-faint);
  margin-top: 3px;
}

/* Category shortcut chips */
.shell91a7d-lineupchips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 14px 12px 4px;
  scrollbar-width: none;
}
.shell91a7d-lineupchips::-webkit-scrollbar { display: none; }

.shell91a7d-lineupchips a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--shell91a7d-line-strong);
  background: rgba(210, 180, 140, 0.07);
  color: var(--shell91a7d-tan);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s var(--shell91a7d-ease), color 0.25s var(--shell91a7d-ease);
}
.shell91a7d-lineupchips a:active {
  background: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
}

/* --------------------------------------------------------------
   8. Game section masthead + grid + card
   -------------------------------------------------------------- */
.shell91a7d-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 8px;
}

.shell91a7d-kicker {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell91a7d-sand);
}

.shell91a7d-masthead h2 {
  flex: 1 1 auto;
  font-family: var(--shell91a7d-font-head);
  font-size: 18.5px;
  line-height: 1.3;
  color: var(--shell91a7d-gold);
  font-weight: 700;
}

.shell91a7d-count {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--shell91a7d-faint);
  border: 1px solid var(--shell91a7d-line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.shell91a7d-sectionlede {
  font-size: 13px;
  color: var(--shell91a7d-mist);
  margin-bottom: 12px;
}

.shell91a7d-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

.shell91a7d-gamecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 4px 7px;
  border-radius: var(--shell91a7d-radius);
  border: 1px solid var(--shell91a7d-line);
  background: var(--shell91a7d-ink-raise);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.28);
  min-height: 44px;
  transition: transform 0.22s var(--shell91a7d-ease),
              border-color 0.22s var(--shell91a7d-ease),
              background-color 0.22s var(--shell91a7d-ease);
}

.shell91a7d-gamecard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell91a7d-radius-s);
  background: var(--shell91a7d-ink);
}

.shell91a7d-gamecard-name {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--shell91a7d-paper);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.shell91a7d-gamecard:active,
.shell91a7d-gamecard:hover {
  transform: translateY(-3px);
  border-color: var(--shell91a7d-sand);
  background: var(--shell91a7d-ink-soft);
}

/* Related reading strip under each category */
.shell91a7d-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px dashed var(--shell91a7d-line-strong);
  border-radius: var(--shell91a7d-radius);
  background: rgba(210, 180, 140, 0.05);
}

.shell91a7d-relatedlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell91a7d-sand);
}

.shell91a7d-related a {
  font-size: 12.5px;
  color: var(--shell91a7d-tan);
  text-decoration: underline;
  text-decoration-color: rgba(210, 180, 140, 0.45);
  text-underline-offset: 3px;
  transition: color 0.25s var(--shell91a7d-ease);
}
.shell91a7d-related a:hover, .shell91a7d-related a:focus-visible { color: var(--shell91a7d-sand); }

/* --------------------------------------------------------------
   9. Content modules (varied presentations)
   -------------------------------------------------------------- */

/* Module heading rhythm */
.shell91a7d-modhead { margin-bottom: 10px; }

.shell91a7d-modhead h2 {
  font-family: var(--shell91a7d-font-head);
  font-size: 18.5px;
  line-height: 1.32;
  color: var(--shell91a7d-gold);
  font-weight: 700;
}

.shell91a7d-modhead p {
  font-size: 13px;
  color: var(--shell91a7d-mist);
  margin-top: 7px;
}

/* App download module — numbered steps in a rail */
.shell91a7d-apppanel {
  border: 1px solid var(--shell91a7d-line-strong);
  border-radius: var(--shell91a7d-radius-l);
  background:
    linear-gradient(155deg, rgba(244, 164, 96, 0.13) 0%, rgba(26, 26, 46, 0) 55%),
    var(--shell91a7d-ink-raise);
  padding: 15px 13px;
}

.shell91a7d-appsteps { counter-reset: shell91a7d-step; margin: 13px 0; }

.shell91a7d-appsteps li {
  position: relative;
  counter-increment: shell91a7d-step;
  padding: 0 0 13px 38px;
  font-size: 13px;
  color: var(--shell91a7d-paper);
}
.shell91a7d-appsteps li:last-child { padding-bottom: 0; }

.shell91a7d-appsteps li::before {
  content: counter(shell91a7d-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
  font-family: var(--shell91a7d-font-head);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell91a7d-appsteps li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--shell91a7d-line);
}
.shell91a7d-appsteps li:last-child::after { display: none; }

.shell91a7d-appsteps strong { color: var(--shell91a7d-gold); font-weight: 700; }

.shell91a7d-ctawide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border-radius: var(--shell91a7d-radius);
  background: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 16px rgba(244, 164, 96, 0.25);
  transition: background-color 0.25s var(--shell91a7d-ease), transform 0.2s var(--shell91a7d-ease);
}
.shell91a7d-ctawide:active { background: var(--shell91a7d-sand-deep); transform: translateY(1px); }

.shell91a7d-appnote {
  margin-top: 11px;
  font-size: 12.5px;
  color: var(--shell91a7d-mist);
}

/* Access summary — compact timeline rows */
.shell91a7d-flow { margin-top: 4px; }

.shell91a7d-flow > div {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--shell91a7d-line);
  font-size: 13px;
  color: var(--shell91a7d-paper);
}
.shell91a7d-flow > div:last-child { border-bottom: 0; }
.shell91a7d-flow > div b {
  flex: 0 0 84px;
  font-family: var(--shell91a7d-font-head);
  color: var(--shell91a7d-sand);
  font-size: 13.5px;
}

.shell91a7d-flow li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--shell91a7d-line);
  font-size: 13px;
  color: var(--shell91a7d-paper);
}
.shell91a7d-flow li:last-child { border-bottom: 0; }

.shell91a7d-flow b {
  flex: 0 0 84px;
  font-family: var(--shell91a7d-font-head);
  color: var(--shell91a7d-sand);
  font-size: 13.5px;
  font-weight: 700;
}

/* Payments — chip cloud + condition rows */
.shell91a7d-paychips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.shell91a7d-paychips span {
  padding: 6px 12px;
  border-radius: var(--shell91a7d-radius-s);
  border: 1px solid var(--shell91a7d-line-strong);
  background: rgba(210, 180, 140, 0.08);
  color: var(--shell91a7d-gold);
  font-size: 12.5px;
  font-weight: 600;
}

.shell91a7d-metrics { border: 1px solid var(--shell91a7d-line); border-radius: var(--shell91a7d-radius); overflow: hidden; }

.shell91a7d-metrics li {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: var(--shell91a7d-ink-raise);
  border-bottom: 1px solid var(--shell91a7d-line);
  font-size: 12.5px;
  color: var(--shell91a7d-mist);
  line-height: 1.5;
}
.shell91a7d-metrics li:last-child { border-bottom: 0; }
.shell91a7d-metrics li:nth-child(even) { background: rgba(35, 35, 64, 0.55); }

.shell91a7d-metrics b {
  flex: 0 0 92px;
  color: var(--shell91a7d-tan);
  font-size: 12.5px;
  font-weight: 700;
}

/* Security checklist */
.shell91a7d-checklist li {
  position: relative;
  padding: 9px 4px 9px 34px;
  font-size: 13px;
  color: var(--shell91a7d-paper);
  border-bottom: 1px dashed var(--shell91a7d-line);
}
.shell91a7d-checklist li:last-child { border-bottom: 0; }

.shell91a7d-checklist svg {
  position: absolute;
  left: 2px;
  top: 10px;
  width: 18px;
  height: 18px;
  color: var(--shell91a7d-sand);
}

/* Category highlights — versus rows */
.shell91a7d-versus { margin-top: 4px; }

.shell91a7d-reviewrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--shell91a7d-line);
}
.shell91a7d-reviewrow:last-child { border-bottom: 0; }
.shell91a7d-reviewrow .shell91a7d-vs-cat { grid-row: span 2; }

.shell91a7d-versus li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--shell91a7d-line);
}

.shell91a7d-vs-cat {
  grid-row: span 2;
  display: flex;
  align-items: center;
  font-family: var(--shell91a7d-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell91a7d-sand);
  line-height: 1.25;
}

.shell91a7d-vs-why { font-size: 12.5px; color: var(--shell91a7d-paper); line-height: 1.45; }
.shell91a7d-versus-pace { font-size: 11.5px; color: var(--shell91a7d-faint); }

/* Direct answer block */
.shell91a7d-answer {
  border-left: 3px solid var(--shell91a7d-sand);
  border-radius: 0 var(--shell91a7d-radius) var(--shell91a7d-radius) 0;
  background: linear-gradient(90deg, rgba(244, 164, 96, 0.1) 0%, rgba(244, 164, 96, 0) 70%);
  padding: 13px 13px 13px 15px;
  margin-top: 10px;
}

.shell91a7d-answer-q {
  font-family: var(--shell91a7d-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--shell91a7d-gold);
  margin-bottom: 7px;
}

.shell91a7d-answer p {
  font-size: 13px;
  color: var(--shell91a7d-paper);
  margin-bottom: 9px;
}
.shell91a7d-answer p:last-child { margin-bottom: 0; }

.shell91a7d-termgrid {
  display: grid;
  gap: 8px;
}

.shell91a7d-faqstack {
  display: grid;
  gap: 7px;
}
.shell91a7d-faqstack details {
  border: 1px solid var(--shell91a7d-line);
  border-radius: var(--shell91a7d-radius);
  background: var(--shell91a7d-ink-raise);
  padding: 0 12px;
}
.shell91a7d-faqstack summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--shell91a7d-gold);
  font-weight: 700;
  font-size: 13.5px;
  list-style: none;
}
.shell91a7d-faqstack summary::-webkit-details-marker { display: none; }
.shell91a7d-faqstack summary::after {
  content: "+";
  margin-left: auto;
  color: var(--shell91a7d-sand);
  font-size: 19px;
}
.shell91a7d-faqstack details[open] summary::after { content: "-"; }
.shell91a7d-faqstack details p {
  padding: 0 0 12px;
  color: var(--shell91a7d-paper);
  font-size: 13px;
}

.shell91a7d-evidence,
.shell91a7d-paytable,
.shell91a7d-troubles,
.shell91a7d-factband {
  display: grid;
  gap: 8px;
}
.shell91a7d-evidence > div,
.shell91a7d-paytable > div {
  padding: 11px 12px;
  background: var(--shell91a7d-ink-raise);
  border-right: 2px solid var(--shell91a7d-tan);
  border-radius: var(--shell91a7d-radius-s);
}
.shell91a7d-evidence b,
.shell91a7d-paytable span {
  display: block;
  color: var(--shell91a7d-sand);
  font-family: var(--shell91a7d-font-head);
  font-size: 14px;
  font-weight: 700;
}
.shell91a7d-evidence p,
.shell91a7d-paytable p {
  margin-top: 3px;
  color: var(--shell91a7d-paper);
  font-size: 12.5px;
}

.shell91a7d-troubles > div {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-left: 3px solid var(--shell91a7d-sand);
  background: rgba(35, 35, 64, 0.62);
}
.shell91a7d-troubles strong { color: var(--shell91a7d-gold); font-size: 14px; }
.shell91a7d-troubles span,
.shell91a7d-troubles p { color: var(--shell91a7d-mist); font-size: 12.5px; }
.shell91a7d-troubles p { color: var(--shell91a7d-paper); }

.shell91a7d-factband {
  grid-template-columns: 1fr 1fr;
}
.shell91a7d-factband p {
  padding: 11px 10px;
  border-top: 2px solid var(--shell91a7d-tan);
  background: var(--shell91a7d-ink-raise);
  color: var(--shell91a7d-paper);
  font-size: 12.5px;
  line-height: 1.48;
}
.shell91a7d-factband p:last-child { grid-column: 1 / -1; }
.shell91a7d-factband b { color: var(--shell91a7d-sand); }
.shell91a7d-termgrid > div {
  padding: 11px 12px;
  border-left: 2px solid var(--shell91a7d-tan);
  border-bottom: 1px solid var(--shell91a7d-line);
  background: rgba(35, 35, 64, 0.52);
}
.shell91a7d-termgrid dt {
  font-family: var(--shell91a7d-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--shell91a7d-sand);
}
.shell91a7d-termgrid dd {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shell91a7d-paper);
}

.shell91a7d-bridge {
  font-size: 12.5px;
  color: var(--shell91a7d-mist);
  border-top: 1px dashed var(--shell91a7d-line-strong);
  padding-top: 10px;
  margin-top: 2px;
}

/* --------------------------------------------------------------
   10. Extended footer zone
   -------------------------------------------------------------- */
.shell91a7d-xfooter {
  margin-top: 34px;
  padding: 20px 12px 18px;
  background: #16162a;
  border-top: 2px solid var(--shell91a7d-line-strong);
}

.shell91a7d-xlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell91a7d-sand);
  margin-bottom: 9px;
}

.shell91a7d-promogroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.shell91a7d-promogroup button {
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--shell91a7d-radius);
  border: 1px solid var(--shell91a7d-line-strong);
  background: var(--shell91a7d-ink-raise);
  color: var(--shell91a7d-tan);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.25s var(--shell91a7d-ease),
              color 0.25s var(--shell91a7d-ease),
              transform 0.2s var(--shell91a7d-ease);
}
.shell91a7d-promogroup button:first-child {
  grid-column: 1 / -1;
  background: var(--shell91a7d-sand);
  border-color: var(--shell91a7d-sand);
  color: var(--shell91a7d-ink);
  font-size: 14px;
}
.shell91a7d-promogroup button:active { transform: translateY(1px); color: var(--shell91a7d-gold); }
.shell91a7d-promogroup button:first-child:active { color: var(--shell91a7d-ink); background: var(--shell91a7d-sand-deep); }

.shell91a7d-brandblurb {
  font-size: 12.5px;
  color: var(--shell91a7d-mist);
  margin-bottom: 20px;
}

.shell91a7d-directory { margin-bottom: 20px; }

.shell91a7d-dirgroup { margin-bottom: 13px; }
.shell91a7d-dirgroup:last-child { margin-bottom: 0; }

.shell91a7d-dirlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell91a7d-faint);
  margin-bottom: 5px;
}

.shell91a7d-dirlinks { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.shell91a7d-dirlinks a {
  font-size: 12.5px;
  color: var(--shell91a7d-tan);
  text-decoration: underline;
  text-decoration-color: rgba(210, 180, 140, 0.4);
  text-underline-offset: 3px;
  padding: 3px 0;
}
.shell91a7d-dirlinks a:hover, .shell91a7d-dirlinks a:focus-visible { color: var(--shell91a7d-sand); }

.shell91a7d-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell91a7d-faint);
  border: 1px solid var(--shell91a7d-line);
  border-radius: var(--shell91a7d-radius);
  padding: 11px 12px;
  background: rgba(19, 19, 34, 0.6);
}

/* --------------------------------------------------------------
   11. Legal line + bottom rail
   -------------------------------------------------------------- */
.shell91a7d-legal {
  padding: 14px 12px calc(10px + env(safe-area-inset-bottom));
  text-align: center;
  background: #131322;
}
.shell91a7d-legal p { font-size: 11.5px; color: var(--shell91a7d-faint); }

.shell91a7d-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: flex;
  align-items: stretch;
  height: calc(var(--shell91a7d-rail-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #20203a;
  border-top: 1px solid var(--shell91a7d-line-strong);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
}

.shell91a7d-rail-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 44px;
  color: var(--shell91a7d-mist);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.25s var(--shell91a7d-ease), background-color 0.25s var(--shell91a7d-ease);
}

.shell91a7d-rail-item svg { width: 22px; height: 22px; }

.shell91a7d-rail-item:active { color: var(--shell91a7d-gold); }

/* Active role: contrast inversion against the rail */
.shell91a7d-rail-item.is-active,
.shell91a7d-rail-item[aria-current="page"] {
  color: var(--shell91a7d-ink);
  background: var(--shell91a7d-sand);
}

.shell91a7d-rail-item.is-active svg,
.shell91a7d-rail-item[aria-current="page"] svg { color: var(--shell91a7d-ink); }

/* --------------------------------------------------------------
   12. Wide-screen behavior: keep the phone canvas
   -------------------------------------------------------------- */
@media (min-width: 431px) {
  body { padding: 0; }
  .shell91a7d-page { border-left: 1px solid var(--shell91a7d-line); border-right: 1px solid var(--shell91a7d-line); }
}

/* --------------------------------------------------------------
   13. Larger phone tuning (375-430px)
   -------------------------------------------------------------- */
@media (min-width: 375px) {
  .shell91a7d-intro h1 { font-size: 24px; }
  .shell91a7d-masthead h2, .shell91a7d-modhead h2 { font-size: 20px; }
  .shell91a7d-gamecard-name { font-size: 11px; }
  .shell91a7d-lede { font-size: 14px; }
  .shell91a7d-sectionlede { font-size: 13.5px; }
}

@media (min-width: 400px) {
  .shell91a7d-gamegrid { grid-template-columns: repeat(5, 1fr); }
  .shell91a7d-promogroup { grid-template-columns: repeat(3, 1fr); }
  .shell91a7d-promogroup button:first-child { grid-column: 1 / -1; }
  .shell91a7d-stats span { font-size: 11px; }
}

/* --------------------------------------------------------------
   14. Motion preferences
   -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .shell91a7d-routes[data-open="0"] { transform: translate(-50%, 100%); }
}
