/* ============================================================
   colorgame2.cfd — mobile canvas stylesheet
   Prefix: shell5a3dc-
   Direction: monospace accents + regular body, lightly rounded
   cards, square high-contrast CTAs, horizontal icon-name game bars,
   compact metric-explanation rhythm, short-distance transitions.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell5a3dc-bg: #262626;
  --shell5a3dc-bg-2: #1f1f1f;
  --shell5a3dc-bg-3: #303030;
  --shell5a3dc-surface: #2e2e2e;
  --shell5a3dc-surface-2: #353535;
  --shell5a3dc-ink: #F5F5F5;
  --shell5a3dc-ink-2: #F8F8FF;
  --shell5a3dc-muted: #95A5A6;
  --shell5a3dc-line: #DCDCDC;
  --shell5a3dc-line-soft: rgba(220, 220, 220, 0.14);
  --shell5a3dc-accent: #FFA500;
  --shell5a3dc-accent-deep: #e59400;
  --shell5a3dc-accent-soft: rgba(255, 165, 0, 0.16);
  --shell5a3dc-radius-card: 10px;
  --shell5a3dc-radius-pill: 999px;
  --shell5a3dc-radius-btn: 0px;          /* square high-contrast CTA */
  --shell5a3dc-radius-chip: 4px;
  --shell5a3dc-font-body: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  --shell5a3dc-font-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --shell5a3dc-touch: 44px;
  --shell5a3dc-topbar-h: 58px;
  --shell5a3dc-bottomnav-h: 64px;
  --shell5a3dc-canvas-max: 430px;
  --shell5a3dc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  padding: 0;
  background: #141414;
  color: var(--shell5a3dc-ink);
  font-family: var(--shell5a3dc-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--shell5a3dc-accent); text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shell5a3dc-accent);
  outline-offset: 2px;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

/* ---------- Phone canvas ---------- */
.shell5a3dc-canvas {
  position: relative;
  max-width: var(--shell5a3dc-canvas-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell5a3dc-bg);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.shell5a3dc-main {
  padding-top: var(--shell5a3dc-topbar-h);
  /* Reserve room so fixed bottom nav never hides content */
  padding-bottom: calc(var(--shell5a3dc-bottomnav-h) + 22px);
}

/* ---------- Skip / a11y ---------- */
.shell5a3dc-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--shell5a3dc-accent);
  color: #1a1a1a;
  padding: 10px 14px;
  z-index: 200;
  font-weight: 700;
}
.shell5a3dc-skip:focus { left: 12px; top: 12px; }

.shell5a3dc-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */
.shell5a3dc-mono {
  font-family: var(--shell5a3dc-font-mono);
  letter-spacing: 0.02em;
}
.shell5a3dc-eyebrow {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell5a3dc-accent);
}
.shell5a3dc-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--shell5a3dc-ink-2);
}

/* ============================================================
   Top identity bar
   ============================================================ */
.shell5a3dc-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell5a3dc-canvas-max);
  height: var(--shell5a3dc-topbar-h);
  background: rgba(31, 31, 31, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell5a3dc-line-soft);
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

/* Centered identity slot */
.shell5a3dc-identity {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
}
.shell5a3dc-identity-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--shell5a3dc-line-soft);
  background: #000;
  flex-shrink: 0;
}
.shell5a3dc-identity-name {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell5a3dc-ink);
  white-space: nowrap;
}
.shell5a3dc-identity-name span { color: var(--shell5a3dc-accent); }

/* Action cluster (left + right) */
.shell5a3dc-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.shell5a3dc-action-slot {
  grid-column: 1;
  display: flex;
  justify-content: flex-start;
}
.shell5a3dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--shell5a3dc-touch);
  padding: 9px 14px;
  font-family: var(--shell5a3dc-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--shell5a3dc-radius-btn);
  transition: transform 0.18s var(--shell5a3dc-ease), background 0.18s var(--shell5a3dc-ease), color 0.18s var(--shell5a3dc-ease);
  white-space: nowrap;
}
.shell5a3dc-btn:active { transform: translateY(1px); }
.shell5a3dc-btn-register {
  background: var(--shell5a3dc-accent);
  color: #1a1a1a;
}
.shell5a3dc-btn-register:hover { background: var(--shell5a3dc-accent-deep); }
.shell5a3dc-btn-login {
  background: transparent;
  color: var(--shell5a3dc-ink);
  border: 1px solid var(--shell5a3dc-line);
}
.shell5a3dc-btn-login:hover { background: var(--shell5a3dc-surface-2); }

/* Menu trigger */
.shell5a3dc-menu-trigger {
  width: var(--shell5a3dc-touch);
  height: var(--shell5a3dc-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell5a3dc-radius-chip);
  color: var(--shell5a3dc-ink);
}
.shell5a3dc-menu-trigger:hover { background: var(--shell5a3dc-surface-2); }
.shell5a3dc-menu-trigger svg { width: 22px; height: 22px; }

/* ============================================================
   Stacked overlay menu
   ============================================================ */
.shell5a3dc-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell5a3dc-canvas-max);
  height: 100%;
  background: rgba(22, 22, 22, 0.985);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--shell5a3dc-ease), visibility 0.28s var(--shell5a3dc-ease);
  display: flex;
  flex-direction: column;
}
.shell5a3dc-menu-open { opacity: 1; visibility: visible; }

.shell5a3dc-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--shell5a3dc-topbar-h);
  padding: 0 14px;
  border-bottom: 1px solid var(--shell5a3dc-line-soft);
}
.shell5a3dc-menu-bar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--shell5a3dc-font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.shell5a3dc-menu-bar-brand img {
  width: 28px; height: 28px; border-radius: 6px; object-fit: cover;
}
.shell5a3dc-menu-bar-brand b span { color: var(--shell5a3dc-accent); }
.shell5a3dc-menu-close {
  width: var(--shell5a3dc-touch);
  height: var(--shell5a3dc-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell5a3dc-ink);
  border-radius: var(--shell5a3dc-radius-chip);
}
.shell5a3dc-menu-close:hover { background: var(--shell5a3dc-surface-2); }
.shell5a3dc-menu-close svg { width: 20px; height: 20px; }

.shell5a3dc-menu-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shell5a3dc-menu-section-label {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell5a3dc-muted);
  padding: 14px 12px 6px;
}
.shell5a3dc-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--shell5a3dc-radius-chip);
  color: var(--shell5a3dc-ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.18s var(--shell5a3dc-ease), transform 0.18s var(--shell5a3dc-ease);
}
.shell5a3dc-menu-item:hover { background: var(--shell5a3dc-surface); }
.shell5a3dc-menu-item:active { transform: translateX(2px); }
.shell5a3dc-menu-item-arrow {
  font-family: var(--shell5a3dc-font-mono);
  color: var(--shell5a3dc-accent);
  font-size: 14px;
}
.shell5a3dc-menu-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 12px 6px;
}

/* ============================================================
   Promo carousel
   ============================================================ */
.shell5a3dc-carousel {
  position: relative;
  margin: 14px 12px 4px;
  border-radius: var(--shell5a3dc-radius-card);
  overflow: hidden;
  background: var(--shell5a3dc-bg-3);
  border: 1px solid var(--shell5a3dc-line-soft);
}
.shell5a3dc-carousel-track {
  display: flex;
  transition: transform 0.5s var(--shell5a3dc-ease);
}
.shell5a3dc-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.shell5a3dc-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.shell5a3dc-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 30%, rgba(20, 20, 20, 0));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shell5a3dc-slide-tag {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell5a3dc-accent);
}
.shell5a3dc-slide-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--shell5a3dc-ink);
  line-height: 1.25;
}
.shell5a3dc-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.62);
  color: var(--shell5a3dc-ink);
  border-radius: var(--shell5a3dc-radius-pill);
  z-index: 5;
}
.shell5a3dc-carousel-btn:hover { background: var(--shell5a3dc-accent); color: #1a1a1a; }
.shell5a3dc-carousel-prev { left: 8px; }
.shell5a3dc-carousel-next { right: 8px; }
.shell5a3dc-carousel-btn svg { width: 18px; height: 18px; }
.shell5a3dc-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
}
.shell5a3dc-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.4);
  transition: width 0.24s var(--shell5a3dc-ease), background 0.24s var(--shell5a3dc-ease);
}
.shell5a3dc-carousel-dot-active {
  width: 20px;
  border-radius: 4px;
  background: var(--shell5a3dc-accent);
}

/* ============================================================
   Generic section shell
   ============================================================ */
.shell5a3dc-section {
  padding: 22px 14px 6px;
}
.shell5a3dc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.shell5a3dc-section-head-text { min-width: 0; }
.shell5a3dc-section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--shell5a3dc-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.shell5a3dc-section-sub {
  font-size: 13px;
  color: var(--shell5a3dc-muted);
  margin-top: 3px;
  line-height: 1.5;
}
.shell5a3dc-section-aside {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--shell5a3dc-accent);
  white-space: nowrap;
  padding-bottom: 2px;
}

/* ============================================================
   Hero / intro
   ============================================================ */
.shell5a3dc-hero {
  padding: 18px 14px 4px;
}
.shell5a3dc-hero-h1 {
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--shell5a3dc-ink);
}
.shell5a3dc-hero-h1 span { color: var(--shell5a3dc-accent); }
.shell5a3dc-hero-lead {
  margin-top: 10px;
  color: var(--shell5a3dc-ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.shell5a3dc-hero-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.shell5a3dc-metric {
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-card);
  padding: 11px 8px;
  text-align: center;
}
.shell5a3dc-metric-num {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--shell5a3dc-accent);
  line-height: 1;
}
.shell5a3dc-metric-label {
  margin-top: 5px;
  font-size: 11px;
  color: var(--shell5a3dc-muted);
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.shell5a3dc-hero-cta-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}
.shell5a3dc-hero-cta-row .shell5a3dc-btn { padding: 13px 10px; font-size: 13px; }

/* ============================================================
   Game grid + horizontal icon-name bars
   ============================================================ */
.shell5a3dc-game-block { margin-top: 6px; }
.shell5a3dc-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 360px) {
  .shell5a3dc-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 400px) {
  .shell5a3dc-game-grid { gap: 9px; }
}

.shell5a3dc-game-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-card);
  text-align: left;
  color: var(--shell5a3dc-ink-2);
  width: 100%;
  min-height: 56px;
  transition: transform 0.18s var(--shell5a3dc-ease),
              border-color 0.18s var(--shell5a3dc-ease),
              background 0.18s var(--shell5a3dc-ease);
}
.shell5a3dc-game-bar:hover,
.shell5a3dc-game-bar:focus-visible {
  border-color: var(--shell5a3dc-accent);
  background: var(--shell5a3dc-surface-2);
  transform: translateY(-1px);
}
.shell5a3dc-game-bar:active { transform: translateY(0); }
.shell5a3dc-game-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 7px;
  object-fit: cover;
  background: #141414;
  border: 1px solid var(--shell5a3dc-line-soft);
}
.shell5a3dc-game-meta { min-width: 0; flex: 1; }
.shell5a3dc-game-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--shell5a3dc-ink);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.shell5a3dc-game-tag {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell5a3dc-muted);
  margin-top: 2px;
}
.shell5a3dc-game-go {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell5a3dc-accent);
  font-family: var(--shell5a3dc-font-mono);
  font-size: 14px;
}

/* Category label strip */
.shell5a3dc-cat-strip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--shell5a3dc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell5a3dc-muted);
  margin-bottom: 9px;
}
.shell5a3dc-cat-strip-dot {
  width: 7px; height: 7px; border-radius: 2px; background: var(--shell5a3dc-accent);
}

/* ============================================================
   Winners strip
   ============================================================ */
.shell5a3dc-winners {
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-left: 3px solid var(--shell5a3dc-accent);
  border-radius: var(--shell5a3dc-radius-card);
  padding: 12px 12px 6px;
}
.shell5a3dc-winner-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shell5a3dc-line-soft);
}
.shell5a3dc-winner-row:last-child { border-bottom: 0; }
.shell5a3dc-winner-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--shell5a3dc-accent-soft);
  color: var(--shell5a3dc-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell5a3dc-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.shell5a3dc-winner-meta { min-width: 0; }
.shell5a3dc-winner-name {
  font-size: 13.5px;
  color: var(--shell5a3dc-ink);
  font-weight: 600;
  line-height: 1.2;
}
.shell5a3dc-winner-sub {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  color: var(--shell5a3dc-muted);
  margin-top: 2px;
}
.shell5a3dc-winner-amount {
  font-family: var(--shell5a3dc-font-mono);
  font-weight: 700;
  color: var(--shell5a3dc-accent);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   CTA band
   ============================================================ */
.shell5a3dc-cta-band {
  margin: 18px 14px 4px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1c1c1c 100%);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-card);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.shell5a3dc-cta-band::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: var(--shell5a3dc-accent-soft);
  border-radius: 50%;
  filter: blur(8px);
}
.shell5a3dc-cta-band-inner { position: relative; z-index: 1; }
.shell5a3dc-cta-band h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--shell5a3dc-ink);
  line-height: 1.22;
}
.shell5a3dc-cta-band p {
  margin-top: 6px;
  color: var(--shell5a3dc-ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.shell5a3dc-cta-band-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
}
.shell5a3dc-cta-band .shell5a3dc-btn { padding: 12px 10px; }

/* ============================================================
   RTP analysis + checklist + pros-cons (compact metric-explainer)
   ============================================================ */
.shell5a3dc-card-grid {
  display: grid;
  gap: 10px;
}
.shell5a3dc-card {
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-card);
  padding: 14px;
}
.shell5a3dc-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shell5a3dc-ink);
  line-height: 1.25;
}
.shell5a3dc-card-body {
  margin-top: 7px;
  color: var(--shell5a3dc-ink-2);
  font-size: 14px;
  line-height: 1.62;
}
.shell5a3dc-card-body a { color: var(--shell5a3dc-accent); border-bottom: 1px solid var(--shell5a3dc-accent-soft); }

.shell5a3dc-rtp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shell5a3dc-line-soft);
}
.shell5a3dc-rtp-row:last-child { border-bottom: 0; }
.shell5a3dc-rtp-game {
  font-size: 13px;
  font-weight: 600;
  color: var(--shell5a3dc-ink);
}
.shell5a3dc-rtp-bar {
  height: 6px;
  background: rgba(220, 220, 220, 0.12);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.shell5a3dc-rtp-bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--shell5a3dc-accent-deep), var(--shell5a3dc-accent));
  border-radius: 4px;
}
.shell5a3dc-rtp-num {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell5a3dc-accent);
  white-space: nowrap;
}

.shell5a3dc-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shell5a3dc-check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-card);
}
.shell5a3dc-check-box {
  width: 20px; height: 20px;
  border: 2px solid var(--shell5a3dc-accent);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shell5a3dc-accent);
  margin-top: 1px;
}
.shell5a3dc-check-box svg { width: 12px; height: 12px; }
.shell5a3dc-check-text {
  font-size: 13.5px;
  color: var(--shell5a3dc-ink-2);
  line-height: 1.55;
}
.shell5a3dc-check-text b { color: var(--shell5a3dc-ink); }

/* Pros and limitations two-column */
.shell5a3dc-pc-grid {
  display: grid;
  gap: 10px;
}
.shell5a3dc-pc-col-title {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.shell5a3dc-pc-col-title::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--shell5a3dc-accent);
  border-radius: 2px;
}
.shell5a3dc-pc-col-title-limit::before { background: var(--shell5a3dc-muted); }
.shell5a3dc-pc-list { display: flex; flex-direction: column; gap: 6px; }
.shell5a3dc-pc-item {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--shell5a3dc-ink-2);
  padding-left: 14px;
  position: relative;
}
.shell5a3dc-pc-item::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--shell5a3dc-accent);
}
.shell5a3dc-pc-col-limit .shell5a3dc-pc-item::before { background: var(--shell5a3dc-muted); }

/* Inline link strip within body */
.shell5a3dc-prose {
  color: var(--shell5a3dc-ink-2);
  font-size: 14.5px;
  line-height: 1.68;
}
.shell5a3dc-prose p + p { margin-top: 10px; }
.shell5a3dc-prose a { color: var(--shell5a3dc-accent); border-bottom: 1px solid var(--shell5a3dc-accent-soft); }
.shell5a3dc-prose strong { color: var(--shell5a3dc-ink); }

/* ============================================================
   Extended footer (two-column directory)
   ============================================================ */
.shell5a3dc-extfooter {
  margin-top: 22px;
  padding: 22px 14px 18px;
  background: var(--shell5a3dc-bg-2);
  border-top: 1px solid var(--shell5a3dc-line-soft);
}
.shell5a3dc-extfooter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.shell5a3dc-extfooter-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.shell5a3dc-extfooter-brand img {
  width: 26px; height: 26px; border-radius: 6px; object-fit: cover;
}
.shell5a3dc-extfooter-brand b {
  font-family: var(--shell5a3dc-font-mono);
  letter-spacing: 0.04em;
  color: var(--shell5a3dc-ink);
}
.shell5a3dc-extfooter-brand b span { color: var(--shell5a3dc-accent); }

.shell5a3dc-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}
.shell5a3dc-directory-block { min-width: 0; }
.shell5a3dc-directory-label {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell5a3dc-accent);
  margin-bottom: 7px;
}
.shell5a3dc-directory-link {
  display: block;
  font-size: 12.5px;
  color: var(--shell5a3dc-ink-2);
  padding: 4px 0;
  line-height: 1.4;
  border-bottom: 1px dashed transparent;
}
.shell5a3dc-directory-link:hover { color: var(--shell5a3dc-accent); border-bottom-color: var(--shell5a3dc-accent-soft); }

.shell5a3dc-promo-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.shell5a3dc-promo-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: var(--shell5a3dc-surface);
  border: 1px solid var(--shell5a3dc-line-soft);
  border-left: 3px solid var(--shell5a3dc-accent);
  border-radius: var(--shell5a3dc-radius-chip);
  color: var(--shell5a3dc-ink-2);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  min-height: 44px;
  transition: background 0.18s var(--shell5a3dc-ease), transform 0.18s var(--shell5a3dc-ease);
}
.shell5a3dc-promo-chip:hover { background: var(--shell5a3dc-surface-2); transform: translateY(-1px); }
.shell5a3dc-promo-chip-arrow {
  font-family: var(--shell5a3dc-font-mono);
  color: var(--shell5a3dc-accent);
  font-size: 13px;
}

.shell5a3dc-extfooter-brand-blurb {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell5a3dc-muted);
}
.shell5a3dc-disclaimer {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px dashed var(--shell5a3dc-line-soft);
  border-radius: var(--shell5a3dc-radius-chip);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell5a3dc-muted);
}

/* ============================================================
   Common footer
   ============================================================ */
.shell5a3dc-footer {
  padding: 16px 14px 8px;
  text-align: center;
  border-top: 1px solid var(--shell5a3dc-line-soft);
  background: var(--shell5a3dc-bg-2);
}
.shell5a3dc-footer-copy {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--shell5a3dc-muted);
}

/* ============================================================
   Layered bottom nav (5 roles)
   ============================================================ */
.shell5a3dc-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell5a3dc-canvas-max);
  height: var(--shell5a3dc-bottomnav-h);
  background: rgba(25, 25, 25, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell5a3dc-line-soft);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.shell5a3dc-bottomnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--shell5a3dc-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 2px 4px;
  min-height: var(--shell5a3dc-bottomnav-h);
  transition: color 0.2s var(--shell5a3dc-ease);
}
.shell5a3dc-bottomnav-item:hover { color: var(--shell5a3dc-ink); }
.shell5a3dc-bottomnav-item::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: transparent;
  transition: background 0.2s var(--shell5a3dc-ease);
}
.shell5a3dc-bottomnav-active {
  color: var(--shell5a3dc-ink);
  background: var(--shell5a3dc-surface);
}
.shell5a3dc-bottomnav-active::before { background: var(--shell5a3dc-accent); }
.shell5a3dc-bottomnav-icon {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shell5a3dc-bottomnav-icon svg { width: 22px; height: 22px; }
.shell5a3dc-bottomnav-active .shell5a3dc-bottomnav-icon { color: var(--shell5a3dc-accent); }
.shell5a3dc-bottomnav-label {
  font-family: var(--shell5a3dc-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shell5a3dc-bottomnav-badge {
  position: absolute;
  top: 5px; right: 50%;
  margin-right: -16px;
  width: 6px; height: 6px;
  background: var(--shell5a3dc-accent);
  border-radius: 50%;
}

/* ============================================================
   Misc utilities
   ============================================================ */
.shell5a3dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--shell5a3dc-radius-pill);
  background: var(--shell5a3dc-accent-soft);
  color: var(--shell5a3dc-accent);
  font-family: var(--shell5a3dc-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.shell5a3dc-divider {
  height: 1px;
  background: var(--shell5a3dc-line-soft);
  border: 0;
  margin: 18px 0 6px;
}
.shell5a3dc-faq-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--shell5a3dc-line-soft);
}
.shell5a3dc-faq-item:last-child { border-bottom: 0; }
.shell5a3dc-faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--shell5a3dc-ink);
  line-height: 1.4;
}
.shell5a3dc-faq-a {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--shell5a3dc-ink-2);
  line-height: 1.6;
}

/* ---------- Part1 help layouts ---------- */
.shell5a3dc-faq-steps,
.shell5a3dc-summary-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shell5a3dc-faq-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px; background: var(--shell5a3dc-surface); border: 1px solid var(--shell5a3dc-line-soft); border-radius: var(--shell5a3dc-radius-card); }
.shell5a3dc-step-num, .shell5a3dc-timeline-index { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; background: var(--shell5a3dc-accent); color: #1a1a1a; font-family: var(--shell5a3dc-font-mono); font-weight: 700; border-radius: 4px; }
.shell5a3dc-faq-steps h3, .shell5a3dc-timeline h3, .shell5a3dc-feature-rail h3, .shell5a3dc-mistake-list h3, .shell5a3dc-support-board h3 { font-size: 15px; line-height: 1.3; color: var(--shell5a3dc-ink); }
.shell5a3dc-faq-steps p, .shell5a3dc-timeline p, .shell5a3dc-feature-rail p, .shell5a3dc-mistake-list p, .shell5a3dc-support-board li, .shell5a3dc-fact-strip span { margin-top: 5px; color: var(--shell5a3dc-ink-2); font-size: 13.5px; line-height: 1.58; }
.shell5a3dc-faq-steps .shell5a3dc-btn, .shell5a3dc-timeline .shell5a3dc-btn, .shell5a3dc-card .shell5a3dc-btn, .shell5a3dc-support-board .shell5a3dc-btn { margin-top: 10px; min-height: 42px; }
.shell5a3dc-faq-stack { display: flex; flex-direction: column; border-top: 1px solid var(--shell5a3dc-line-soft); }
.shell5a3dc-faq-stack details { padding: 12px 2px; border-bottom: 1px dashed var(--shell5a3dc-line-soft); }
.shell5a3dc-faq-stack summary { cursor: pointer; color: var(--shell5a3dc-ink); font-size: 14px; font-weight: 700; padding-right: 20px; }
.shell5a3dc-faq-stack details p { margin-top: 7px; color: var(--shell5a3dc-ink-2); font-size: 13.5px; line-height: 1.6; }
.shell5a3dc-summary-list li { padding: 11px 13px; background: var(--shell5a3dc-surface); border-left: 3px solid var(--shell5a3dc-accent); border-radius: 4px; color: var(--shell5a3dc-ink-2); font-size: 13.5px; }
.shell5a3dc-summary-list b { color: var(--shell5a3dc-ink); }
.shell5a3dc-feature-rail, .shell5a3dc-timeline, .shell5a3dc-mistake-list, .shell5a3dc-fact-strip { display: flex; flex-direction: column; gap: 10px; }
.shell5a3dc-feature-rail article, .shell5a3dc-mistake-list article, .shell5a3dc-fact-strip div { padding: 13px; background: var(--shell5a3dc-surface); border: 1px solid var(--shell5a3dc-line-soft); border-radius: var(--shell5a3dc-radius-card); }
.shell5a3dc-feature-mark, .shell5a3dc-mistake-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--shell5a3dc-accent-soft); color: var(--shell5a3dc-accent); font-family: var(--shell5a3dc-font-mono); font-weight: 700; border-radius: 4px; }
.shell5a3dc-feature-rail .shell5a3dc-promo-chip, .shell5a3dc-mistake-list .shell5a3dc-promo-chip { margin-top: 10px; width: 100%; }
.shell5a3dc-timeline-row { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--shell5a3dc-line-soft); }
.shell5a3dc-compare { overflow-x: auto; border: 1px solid var(--shell5a3dc-line-soft); border-radius: var(--shell5a3dc-radius-card); background: var(--shell5a3dc-surface); }
.shell5a3dc-compare-head, .shell5a3dc-compare-row { min-width: 420px; display: grid; grid-template-columns: 1fr 1.6fr 1.35fr; gap: 8px; padding: 10px; font-size: 12px; line-height: 1.45; }
.shell5a3dc-compare-head { color: var(--shell5a3dc-accent); font-family: var(--shell5a3dc-font-mono); border-bottom: 1px solid var(--shell5a3dc-line-soft); }
.shell5a3dc-compare-row { color: var(--shell5a3dc-ink-2); border-bottom: 1px dashed var(--shell5a3dc-line-soft); }
.shell5a3dc-compare-row:last-child { border-bottom: 0; }
.shell5a3dc-compare-row b { color: var(--shell5a3dc-ink); }
.shell5a3dc-mistake-list article { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.shell5a3dc-mistake-list article .shell5a3dc-promo-chip { grid-column: 1 / -1; }
.shell5a3dc-support-board { display: grid; gap: 10px; }
.shell5a3dc-support-board > div { padding: 14px; background: var(--shell5a3dc-surface); border: 1px solid var(--shell5a3dc-line-soft); border-radius: var(--shell5a3dc-radius-card); }
.shell5a3dc-support-board ul { margin: 9px 0 0; padding-left: 17px; list-style: disc; }
.shell5a3dc-fact-strip b { display: block; color: var(--shell5a3dc-accent); font-family: var(--shell5a3dc-font-mono); font-size: 12px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Very small screens keep 2 game columns and readable type */
@media (max-width: 339px) {
  body { font-size: 14px; }
  .shell5a3dc-hero-h1 { font-size: 23px; }
  .shell5a3dc-section-title { font-size: 17px; }
}
