/* ==========================================================================
   okebet agent - visuals-dynamic-0ea54c.css
   Mobile-first stylesheet tuned for a 320-430px phone canvas.
   Class prefix .... shellea54c-
   Variables ...... --shellea54c-*
   Palette anchors : #34495E base / #ADB5BD text / #7CFC00 primary / #00FF7F accent
   Visual language : stroke-led panels, restrained radii, analyst-ledger rhythm,
                     focus indicators that slide, light press feedback.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --shellea54c-bg: #34495e;
  --shellea54c-bg-deep: #263543;
  --shellea54c-bg-veil: #1a2836;
  --shellea54c-panel: rgba(173, 181, 189, 0.07);
  --shellea54c-panel-strong: rgba(173, 181, 189, 0.13);
  --shellea54c-line: rgba(173, 181, 189, 0.24);
  --shellea54c-line-strong: rgba(173, 181, 189, 0.45);
  --shellea54c-mist: #adb5bd;
  --shellea54c-mist-dim: rgba(173, 181, 189, 0.72);
  --shellea54c-paper: #eaf0f4;
  --shellea54c-lawn: #7cfc00;
  --shellea54c-spring: #00ff7f;
  --shellea54c-ink: #0b2436;
  --shellea54c-radius: 6px;
  --shellea54c-radius-lg: 10px;
  --shellea54c-font-display: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shellea54c-font-body: system-ui, -apple-system, "Segoe UI", Rob, Arial, sans-serif;
  --shellea54c-header-h: 56px;
  --shellea54c-bnav-h: 62px;
  --shellea54c-press: transform 0.12s ease, background-color 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
}

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

html {
  background: var(--shellea54c-bg-veil);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--shellea54c-bg);
  color: var(--shellea54c-mist);
  font-family: var(--shellea54c-font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

a { color: var(--shellea54c-spring); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shellea54c-spring);
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Wide viewport: keep the same phone canvas, framed like a device */
@media (min-width: 431px) {
  body {
    border-inline: 1px solid var(--shellea54c-line-strong);
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.42);
  }
}

/* Skip link */
.shellea54c-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 90;
  background: var(--shellea54c-lawn);
  color: var(--shellea54c-ink);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--shellea54c-radius);
  text-decoration: none;
}
.shellea54c-skip:focus {
  left: 8px;
  color: var(--shellea54c-ink);
}

/* ---------- Header: minimal title + action strip ---------- */
.shellea54c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--shellea54c-header-h);
  padding: 0 12px;
  background: rgba(38, 53, 67, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shellea54c-line-strong);
}

.shellea54c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.shellea54c-brand-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--shellea54c-radius);
  border: 1px solid var(--shellea54c-line-strong);
  object-fit: cover;
  background: var(--shellea54c-panel);
}

.shellea54c-brand-name {
  font-family: var(--shellea54c-font-display);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: var(--shellea54c-paper);
  white-space: nowrap;
}

.shellea54c-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Buttons: lightly rounded text button group */
.shellea54c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--shellea54c-radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--shellea54c-press);
  text-decoration: none;
}

.shellea54c-btn:active { transform: translateY(1px) scale(0.97); }

.shellea54c-btn-primary {
  background: var(--shellea54c-lawn);
  border-color: var(--shellea54c-lawn);
  color: var(--shellea54c-ink);
}
.shellea54c-btn-primary:hover { background: #93ff2e; }

.shellea54c-btn-ghost {
  background: transparent;
  border-color: rgba(0, 255, 127, 0.5);
  color: var(--shellea54c-spring);
}
.shellea54c-btn-ghost:hover {
  background: rgba(0, 255, 127, 0.09);
  border-color: var(--shellea54c-spring);
}

.shellea54c-btn-lg {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.shellea54c-burger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellea54c-line-strong);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  color: var(--shellea54c-paper);
  cursor: pointer;
  transition: var(--shellea54c-press);
}
.shellea54c-burger:active { transform: scale(0.94); }
.shellea54c-burger svg { width: 20px; height: 20px; }

/* Compact phones keep the full action strip on one line */
@media (max-width: 359px) {
  .shellea54c-brand-name { font-size: 14px; }
  .shellea54c-brand-logo { width: 28px; height: 28px; }
  .shellea54c-btn { padding: 0 9px; font-size: 12px; min-height: 38px; }
  .shellea54c-burger { width: 36px; height: 38px; }
  .shellea54c-header { gap: 6px; padding: 0 10px; }
}

/* ---------- Stacked overlay menu ---------- */
.shellea54c-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: calc(var(--shellea54c-header-h) + 12px) 14px 18px;
  background: rgba(26, 40, 54, 0.985);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.shellea54c-menu-open { opacity: 1; visibility: visible; }

.shellea54c-menu-close {
  position: absolute;
  top: calc(var(--shellea54c-header-h) + 8px);
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellea54c-line-strong);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  color: var(--shellea54c-mist);
  cursor: pointer;
  transition: var(--shellea54c-press);
}
.shellea54c-menu-close:active { transform: scale(0.94); }
.shellea54c-menu-close svg { width: 18px; height: 18px; }

.shellea54c-menu-group {
  margin: 14px 0 8px;
  padding-left: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellea54c-mist-dim);
}

.shellea54c-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  color: var(--shellea54c-paper);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--shellea54c-press);
}
/* Active page: top indicator line */
.shellea54c-menu-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--shellea54c-spring);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shellea54c-menu-item::after {
  content: "\203A";
  color: var(--shellea54c-mist-dim);
  font-size: 18px;
  line-height: 1;
}
.shellea54c-menu-item:hover {
  border-color: rgba(0, 255, 127, 0.45);
  background: var(--shellea54c-panel-strong);
}
.shellea54c-menu-item:active { transform: translateY(1px); }
.shellea54c-menu-item-active::before { opacity: 1; }
.shellea54c-menu-item-active { color: var(--shellea54c-spring); }

.shellea54c-menu-promos {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.shellea54c-menu-promos .shellea54c-btn { flex: 1; }

.shellea54c-no-scroll { overflow: hidden; }

/* ---------- Main canvas ---------- */
.shellea54c-main {
  padding: calc(var(--shellea54c-header-h) + 14px) 14px 24px;
}

/* ---------- Hero ---------- */
.shellea54c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 255, 127, 0.38);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shellea54c-spring);
}

.shellea54c-h1 {
  font-family: var(--shellea54c-font-display);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--shellea54c-paper);
  margin-bottom: 10px;
}
@media (min-width: 390px) {
  .shellea54c-h1 { font-size: 27px; }
}

.shellea54c-sub {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--shellea54c-mist);
  margin-bottom: 14px;
}

.shellea54c-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shellea54c-cta-row-gap { margin-top: 14px; }
.shellea54c-cta-row-gap-lg { margin-top: 16px; }

/* ---------- Carousel: sliding focus indicator ---------- */
.shellea54c-carousel {
  margin-top: 18px;
}

.shellea54c-viewport {
  overflow: hidden;
  border: 1px solid var(--shellea54c-line-strong);
  border-radius: var(--shellea54c-radius-lg);
  background: #20303f;
}

.shellea54c-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.shellea54c-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: #20303f;
  cursor: pointer;
}
.shellea54c-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 4;
  object-fit: cover;
}
.shellea54c-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 255, 127, 0.45);
  border-radius: 4px;
  background: rgba(11, 36, 54, 0.86);
  color: var(--shellea54c-spring);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shellea54c-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}

.shellea54c-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellea54c-line-strong);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  color: var(--shellea54c-paper);
  cursor: pointer;
  transition: var(--shellea54c-press);
}
.shellea54c-arrow:hover { border-color: rgba(0, 255, 127, 0.5); }
.shellea54c-arrow:active { transform: scale(0.92); }
.shellea54c-arrow svg { width: 18px; height: 18px; }

.shellea54c-dots {
  display: flex;
  gap: 6px;
}

.shellea54c-dot {
  width: 14px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(173, 181, 189, 0.34);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.shellea54c-dot:hover { background: rgba(173, 181, 189, 0.6); }
.shellea54c-dot-active {
  width: 28px;
  background: var(--shellea54c-spring);
}

/* ---------- Quick fact strip ---------- */
.shellea54c-quickstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.shellea54c-quick {
  padding: 10px 6px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  text-align: center;
}

.shellea54c-quick-num {
  font-family: var(--shellea54c-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--shellea54c-spring);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.shellea54c-quick-label {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellea54c-mist-dim);
}

/* ---------- Game category sections ---------- */
.shellea54c-cat { margin-top: 28px; }

.shellea54c-cat-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--shellea54c-line);
}

.shellea54c-cat-title {
  font-family: var(--shellea54c-font-display);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--shellea54c-paper);
  margin-bottom: 6px;
}

.shellea54c-cat-note {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--shellea54c-mist-dim);
  margin-bottom: 10px;
}

.shellea54c-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shellea54c-cat-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(0, 255, 127, 0.34);
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shellea54c-spring);
  text-decoration: none;
  transition: var(--shellea54c-press);
}
.shellea54c-cat-links a:hover {
  background: rgba(0, 255, 127, 0.09);
  border-color: rgba(0, 255, 127, 0.6);
}
.shellea54c-cat-links a:active { transform: translateY(1px); }

/* Game grid: pure image card + short name below */
.shellea54c-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}
@media (min-width: 400px) {
  .shellea54c-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

.shellea54c-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 6px 5px 8px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
  cursor: pointer;
  transition: var(--shellea54c-press);
}
.shellea54c-tile:hover {
  border-color: rgba(0, 255, 127, 0.55);
  background: var(--shellea54c-panel-strong);
}
.shellea54c-tile:active { transform: scale(0.95); }

.shellea54c-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #20303f;
}

.shellea54c-tile-name {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--shellea54c-mist);
  height: 27px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ---------- Question-driven modules ---------- */
.shellea54c-module {
  margin-top: 28px;
  padding: 16px 14px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius-lg);
  background: var(--shellea54c-panel);
}

.shellea54c-qtag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.shellea54c-qtag-num {
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--shellea54c-spring);
  color: var(--shellea54c-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.shellea54c-qtag-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellea54c-mist-dim);
}

.shellea54c-module-title {
  font-family: var(--shellea54c-font-display);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.012em;
  color: var(--shellea54c-paper);
  margin-bottom: 9px;
}

.shellea54c-module p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.shellea54c-module p:last-child { margin-bottom: 0; }

.shellea54c-module a {
  color: var(--shellea54c-spring);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 127, 0.45);
  text-underline-offset: 3px;
}
.shellea54c-module a:hover { text-decoration-color: var(--shellea54c-spring); }

.shellea54c-h3 {
  margin: 15px 0 6px;
  padding-left: 9px;
  border-left: 2px solid var(--shellea54c-spring);
  font-family: var(--shellea54c-font-display);
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--shellea54c-paper);
}

/* Comparison ledger (stroke table) */
.shellea54c-compare {
  margin: 12px 0;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  overflow: hidden;
}

.shellea54c-compare-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  border-top: 1px solid var(--shellea54c-line);
}
.shellea54c-compare-row:first-child { border-top: 0; }

.shellea54c-compare-head {
  background: var(--shellea54c-panel-strong);
}
.shellea54c-compare-head .shellea54c-compare-cell {
  color: var(--shellea54c-paper);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.05em;
}

.shellea54c-compare-cell {
  padding: 9px 8px;
  border-left: 1px solid var(--shellea54c-line);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shellea54c-mist);
}
.shellea54c-compare-cell:first-child {
  border-left: 0;
  font-weight: 700;
  color: var(--shellea54c-paper);
}

/* Checklist */
.shellea54c-check {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.shellea54c-check li {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 10px 10px 34px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: rgba(173, 181, 189, 0.045);
  font-size: 12.5px;
  line-height: 1.62;
}
.shellea54c-check li:last-child { margin-bottom: 0; }

.shellea54c-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--shellea54c-spring);
  border-radius: 3px;
}

/* ---------- Extended footer (homepage only) ---------- */
.shellea54c-xf {
  margin-top: 30px;
  padding: 18px 14px 12px;
  border-top: 1px solid var(--shellea54c-line-strong);
  background: rgba(38, 53, 67, 0.55);
}

.shellea54c-xf-title {
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shellea54c-mist-dim);
}

/* Promotion action grid: icon + text labels */
.shellea54c-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.shellea54c-promo-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 9px 11px;
  border: 1px solid rgba(124, 252, 0, 0.42);
  border-radius: var(--shellea54c-radius);
  background: rgba(124, 252, 0, 0.07);
  color: var(--shellea54c-paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: var(--shellea54c-press);
}
.shellea54c-promo-item:hover {
  background: rgba(124, 252, 0, 0.13);
  border-color: var(--shellea54c-lawn);
}
.shellea54c-promo-item:active { transform: translateY(1px) scale(0.98); }
.shellea54c-promo-item svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--shellea54c-lawn);
}
.shellea54c-promo-item-wide { grid-column: 1 / -1; }

/* Brand note */
.shellea54c-xbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.shellea54c-xbrand img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shellea54c-line-strong);
  border-radius: var(--shellea54c-radius);
  background: var(--shellea54c-panel);
}
.shellea54c-xbrand p {
  font-size: 12px;
  line-height: 1.66;
  color: var(--shellea54c-mist-dim);
}

.shellea54c-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.shellea54c-partners img {
  height: 22px;
  width: auto;
  padding: 2px 5px;
  border: 1px solid var(--shellea54c-line);
  border-radius: 4px;
  background: var(--shellea54c-panel);
  object-fit: contain;
  opacity: 0.85;
}

/* Two-column page directory */
.shellea54c-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin-bottom: 16px;
}

.shellea54c-dir-title {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--shellea54c-line);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shellea54c-paper);
}

.shellea54c-dir-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellea54c-dir-col li { margin-bottom: 5px; }

.shellea54c-dir-col a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--shellea54c-mist);
  text-decoration: none;
  transition: var(--shellea54c-press);
}
.shellea54c-dir-col a:hover {
  color: var(--shellea54c-spring);
  border-color: var(--shellea54c-line);
  background: var(--shellea54c-panel);
}

/* Conditional disclaimer note */
.shellea54c-disclaimer {
  padding: 10px 12px;
  border: 1px dashed rgba(173, 181, 189, 0.42);
  border-radius: var(--shellea54c-radius);
  font-size: 11px;
  line-height: 1.62;
  color: var(--shellea54c-mist-dim);
}

/* ---------- Common footer (copyright only) ---------- */
.shellea54c-footer {
  padding: 16px 14px calc(var(--shellea54c-bnav-h) + 30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shellea54c-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shellea54c-mist-dim);
}

/* ---------- Mobile bottom nav: segmented action bar ---------- */
.shellea54c-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 66;
  display: flex;
  height: calc(var(--shellea54c-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(24, 37, 49, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shellea54c-line-strong);
}

.shellea54c-bn-item {
  position: relative;
  flex: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px 2px;
  border: 0;
  background: none;
  color: var(--shellea54c-mist);
  text-decoration: none;
  cursor: pointer;
  transition: var(--shellea54c-press);
}
/* Active page: top indicator line slides in */
.shellea54c-bn-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  background: var(--shellea54c-spring);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.shellea54c-bn-active::before { transform: scaleX(1); }
.shellea54c-bn-active { color: var(--shellea54c-spring); }

.shellea54c-bn-promo svg { color: var(--shellea54c-lawn); }

.shellea54c-bn-item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.shellea54c-bn-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.shellea54c-bn-item:active { transform: translateY(1px); }

/* ---------- Help-page extensions (compatible additions, same tokens) ---------- */

/* Two-column term ledger: stroke-ruled term / meaning rows */
.shellea54c-ledger2 {
  margin: 12px 0 0;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  overflow: hidden;
}

.shellea54c-ledger2-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  border-top: 1px solid var(--shellea54c-line);
}
.shellea54c-ledger2-row:first-child { border-top: 0; }

.shellea54c-ledger2-term {
  padding: 9px 8px;
  border-right: 1px solid var(--shellea54c-line);
  background: rgba(0, 255, 127, 0.06);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--shellea54c-paper);
}

.shellea54c-ledger2-def {
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--shellea54c-mist);
}
.shellea54c-ledger2-def strong { color: var(--shellea54c-paper); }

/* Numbered step rail: leading-zero counters, stroke boxes */
.shellea54c-steps {
  list-style: none;
  counter-reset: shellea54c-step;
  margin: 12px 0 0;
  padding: 0;
}

.shellea54c-steps li {
  counter-increment: shellea54c-step;
  position: relative;
  margin-bottom: 9px;
  padding: 10px 12px 10px 42px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: rgba(173, 181, 189, 0.045);
  font-size: 12.5px;
  line-height: 1.62;
}
.shellea54c-steps li:last-child { margin-bottom: 0; }

.shellea54c-steps li::before {
  content: counter(shellea54c-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 12px;
  font-family: var(--shellea54c-font-display);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--shellea54c-spring);
}

.shellea54c-steps strong { color: var(--shellea54c-paper); }

/* Symptom triage rows: spring edge marks the symptom line */
.shellea54c-triage { margin: 12px 0 0; }

.shellea54c-triage-item {
  margin-bottom: 9px;
  padding: 10px 12px;
  border: 1px solid var(--shellea54c-line);
  border-left: 3px solid var(--shellea54c-spring);
  border-radius: var(--shellea54c-radius);
  background: rgba(173, 181, 189, 0.045);
  font-size: 12.5px;
  line-height: 1.62;
}
.shellea54c-triage-item:last-child { margin-bottom: 0; }

.shellea54c-triage-symptom {
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
  color: var(--shellea54c-paper);
}

.shellea54c-triage-cause,
.shellea54c-triage-fix {
  display: block;
  margin-bottom: 3px;
}
.shellea54c-triage-cause strong,
.shellea54c-triage-fix strong {
  color: var(--shellea54c-mist);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Stacked Q&A blocks: question bar over answer body */
.shellea54c-faq { margin: 12px 0 0; }

.shellea54c-faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: rgba(173, 181, 189, 0.045);
  overflow: hidden;
}
.shellea54c-faq-item:last-child { margin-bottom: 0; }

.shellea54c-faq-q {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--shellea54c-line);
  background: var(--shellea54c-panel-strong);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--shellea54c-paper);
}

.shellea54c-faq-a {
  margin: 0;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.65;
}

/* Two-up decision cards */
.shellea54c-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.shellea54c-duo-item {
  padding: 10px 11px;
  border: 1px solid var(--shellea54c-line);
  border-radius: var(--shellea54c-radius);
  background: rgba(173, 181, 189, 0.045);
  font-size: 12px;
  line-height: 1.58;
}
.shellea54c-duo-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  color: var(--shellea54c-paper);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .shellea54c-track,
  .shellea54c-dot,
  .shellea54c-bn-item::before,
  .shellea54c-menu {
    transition: none;
  }
}
