/* =====================================================================
   747-5 - mobile-first lobby stylesheet
   File   : css/display-native-ebe46e.css
   Prefix : shell46e56-
   Canvas : 320-430px phone frame, centered as-is on wide screens
   Palette: #0E1621 base | #F4A460 accent | #3C3C3C panel
            #FFFACD highlight | #DCDCDC text
   Voice  : geometric headings + neutral body, stroke-led corners,
            light floating game tiles, step-advancement rhythm,
            icon-state micro motion, soft-rounded text CTAs.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                            */
/* ------------------------------------------------------------------ */
:root {
  --shell46e56-bg: #0E1621;
  --shell46e56-bg-deep: #0a1119;
  --shell46e56-bg-raise: #141f2e;
  --shell46e56-bg-hover: #182536;
  --shell46e56-accent: #F4A460;
  --shell46e56-accent-ink: #2a1a08;
  --shell46e56-accent-dim: rgba(244, 164, 96, 0.34);
  --shell46e56-accent-faint: rgba(244, 164, 96, 0.13);
  --shell46e56-panel: #3C3C3C;
  --shell46e56-panel-dim: rgba(60, 60, 60, 0.45);
  --shell46e56-cream: #FFFACD;
  --shell46e56-mist: #DCDCDC;
  --shell46e56-mist-dim: rgba(220, 220, 220, 0.72);
  --shell46e56-line: rgba(220, 220, 220, 0.17);
  --shell46e56-line-soft: rgba(220, 220, 220, 0.09);
  --shell46e56-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shell46e56-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell46e56-r-s: 6px;
  --shell46e56-r-m: 10px;
  --shell46e56-r-l: 16px;
  --shell46e56-touch: 44px;
  --shell46e56-nav-h: 62px;
  --shell46e56-topbar-h: 96px;
  --shell46e56-ease: cubic-bezier(0.33, 0.1, 0.25, 1);
}

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

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

body {
  margin: 0;
  padding: 0;
  background: #060b12;
  color: var(--shell46e56-mist);
  font-family: var(--shell46e56-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  margin: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--shell46e56-accent);
  text-decoration: none;
  transition: color 0.25s var(--shell46e56-ease);
}

a:hover,
a:focus-visible {
  color: var(--shell46e56-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--shell46e56-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
}

.shell46e56-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
  padding: 10px 16px;
  border-radius: 0 0 var(--shell46e56-r-m) 0;
  font-weight: 700;
}

.shell46e56-skip:focus {
  left: 0;
}

/* ------------------------------------------------------------------ */
/* 3. Phone canvas                                                      */
/* ------------------------------------------------------------------ */
.shell46e56-canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(244, 164, 96, 0.07) 0%, rgba(244, 164, 96, 0) 62%),
    var(--shell46e56-bg);
  box-shadow: 0 0 0 1px rgba(255, 250, 205, 0.05);
  overflow-x: clip;
}

.shell46e56-main {
  padding: 0 14px calc(var(--shell46e56-nav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

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

/* ------------------------------------------------------------------ */
/* 4. Top bar: brand row + route tab strip                              */
/* ------------------------------------------------------------------ */
.shell46e56-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 22, 33, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell46e56-accent-dim);
}

.shell46e56-topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 9px 14px 7px;
}

.shell46e56-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--shell46e56-touch);
  color: var(--shell46e56-cream);
}

.shell46e56-brand:hover,
.shell46e56-brand:focus-visible {
  color: var(--shell46e56-cream);
  text-decoration: none;
}

.shell46e56-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--shell46e56-r-s);
  border: 1px solid var(--shell46e56-accent-dim);
  background: var(--shell46e56-bg-raise);
  object-fit: cover;
  flex: none;
}

.shell46e56-brand-name {
  font-family: var(--shell46e56-font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--shell46e56-cream);
  line-height: 1.1;
}

.shell46e56-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* Soft-rounded text CTAs */
.shell46e56-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  font-family: var(--shell46e56-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--shell46e56-ease),
    border-color 0.25s var(--shell46e56-ease),
    color 0.25s var(--shell46e56-ease);
}

.shell46e56-btn-solid {
  background: var(--shell46e56-accent);
  border-color: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
}

.shell46e56-btn-solid:hover,
.shell46e56-btn-solid:focus-visible {
  background: var(--shell46e56-cream);
  border-color: var(--shell46e56-cream);
  color: var(--shell46e56-accent-ink);
  text-decoration: none;
}

.shell46e56-btn-ghost {
  border-color: var(--shell46e56-line);
  color: var(--shell46e56-cream);
  background: rgba(255, 250, 205, 0.03);
}

.shell46e56-btn-ghost:hover,
.shell46e56-btn-ghost:focus-visible {
  border-color: var(--shell46e56-accent);
  color: var(--shell46e56-accent);
  text-decoration: none;
}

/* Burger: outlined square, three hairlines */
.shell46e56-burger {
  width: 40px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--shell46e56-line);
  border-radius: var(--shell46e56-r-s);
  background: rgba(255, 250, 205, 0.03);
  transition: border-color 0.25s var(--shell46e56-ease);
}

.shell46e56-burger:hover,
.shell46e56-burger:focus-visible,
.shell46e56-burger[aria-expanded="true"] {
  border-color: var(--shell46e56-accent);
}

.shell46e56-burger-line {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--shell46e56-cream);
  transition: background-color 0.25s var(--shell46e56-ease), transform 0.25s var(--shell46e56-ease);
}

.shell46e56-burger:hover .shell46e56-burger-line {
  background: var(--shell46e56-accent);
}

.shell46e56-burger[aria-expanded="true"] .shell46e56-burger-line:nth-child(1) {
  transform: translateY(5.6px) rotate(45deg);
}

.shell46e56-burger[aria-expanded="true"] .shell46e56-burger-line:nth-child(2) {
  opacity: 0;
}

.shell46e56-burger[aria-expanded="true"] .shell46e56-burger-line:nth-child(3) {
  transform: translateY(-5.6px) rotate(-45deg);
}

/* Route tab strip under the brand row */
.shell46e56-tabstrip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 14px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell46e56-tabstrip::-webkit-scrollbar {
  display: none;
}

.shell46e56-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: 999px;
  font-family: var(--shell46e56-font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--shell46e56-mist-dim);
  background: rgba(255, 250, 205, 0.02);
  transition: color 0.25s var(--shell46e56-ease), border-color 0.25s var(--shell46e56-ease),
    background-color 0.25s var(--shell46e56-ease);
}

.shell46e56-tab:hover,
.shell46e56-tab:focus-visible {
  color: var(--shell46e56-cream);
  border-color: var(--shell46e56-accent-dim);
  text-decoration: none;
}

.shell46e56-tab.shell46e56-is-active {
  color: var(--shell46e56-accent);
  border-color: var(--shell46e56-accent-dim);
  background: var(--shell46e56-accent-faint);
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* 5. Slide-up route panel                                              */
/* ------------------------------------------------------------------ */
.shell46e56-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 8, 13, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--shell46e56-ease), visibility 0.3s var(--shell46e56-ease);
}

.shell46e56-backdrop.shell46e56-is-visible {
  opacity: 1;
  visibility: visible;
}

.shell46e56-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 60;
  width: 100%;
  max-width: 480px;
  transform: translate(-50%, 102%);
  transition: transform 0.34s var(--shell46e56-ease);
  background: var(--shell46e56-bg-raise);
  border: 1px solid var(--shell46e56-line);
  border-bottom: 0;
  border-radius: var(--shell46e56-r-l) var(--shell46e56-r-l) 0 0;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  max-height: 78vh;
  overflow-y: auto;
}

.shell46e56-sheet.shell46e56-is-open {
  transform: translate(-50%, 0);
}

.shell46e56-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.shell46e56-sheet-title {
  margin: 0;
  font-family: var(--shell46e56-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell46e56-cream);
}

.shell46e56-sheet-close {
  width: var(--shell46e56-touch);
  height: var(--shell46e56-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell46e56-line);
  border-radius: var(--shell46e56-r-s);
  color: var(--shell46e56-mist);
  transition: color 0.25s var(--shell46e56-ease), border-color 0.25s var(--shell46e56-ease);
}

.shell46e56-sheet-close:hover,
.shell46e56-sheet-close:focus-visible {
  color: var(--shell46e56-accent);
  border-color: var(--shell46e56-accent-dim);
}

.shell46e56-sheet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--shell46e56-touch);
  margin: 2px 0 14px;
  border-radius: 999px;
  background: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
  font-family: var(--shell46e56-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 0.25s var(--shell46e56-ease);
}

.shell46e56-sheet-cta:hover,
.shell46e56-sheet-cta:focus-visible {
  background: var(--shell46e56-cream);
}

.shell46e56-sheet-group {
  margin-bottom: 12px;
}

.shell46e56-sheet-group-label {
  margin: 0 0 6px;
  font-family: var(--shell46e56-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell46e56-accent);
}

.shell46e56-route {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--shell46e56-touch);
  padding: 10px 12px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: rgba(255, 250, 205, 0.02);
  color: var(--shell46e56-mist);
  margin-bottom: 6px;
  transition: color 0.25s var(--shell46e56-ease), border-color 0.25s var(--shell46e56-ease),
    background-color 0.25s var(--shell46e56-ease);
}

.shell46e56-route:hover,
.shell46e56-route:focus-visible {
  color: var(--shell46e56-cream);
  border-color: var(--shell46e56-accent-dim);
  background: var(--shell46e56-accent-faint);
  text-decoration: none;
}

.shell46e56-route-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.4px solid var(--shell46e56-accent);
  background: transparent;
  transition: background-color 0.25s var(--shell46e56-ease);
}

.shell46e56-route:hover .shell46e56-route-dot,
.shell46e56-route:focus-visible .shell46e56-route-dot {
  background: var(--shell46e56-accent);
}

.shell46e56-route-label {
  flex: 1 1 auto;
  font-size: 13.5px;
}

.shell46e56-route-arrow {
  flex: none;
  color: var(--shell46e56-mist-dim);
  font-size: 13px;
  transition: color 0.25s var(--shell46e56-ease), transform 0.25s var(--shell46e56-ease);
}

.shell46e56-route:hover .shell46e56-route-arrow {
  color: var(--shell46e56-accent);
  transform: translateX(2px);
}

/* ------------------------------------------------------------------ */
/* 6. Hero + carousel                                                   */
/* ------------------------------------------------------------------ */
.shell46e56-hero {
  padding-top: 18px;
}

.shell46e56-kicker {
  margin: 0 0 6px;
  font-family: var(--shell46e56-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell46e56-accent);
}

.shell46e56-hero-title {
  margin: 0 0 10px;
  font-family: var(--shell46e56-font-head);
  font-size: 22px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--shell46e56-cream);
  text-wrap: balance;
}

.shell46e56-hero-lede {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--shell46e56-mist-dim);
}

/* Carousel: swipeable banner track */
.shell46e56-carousel {
  position: relative;
  border: 1px solid var(--shell46e56-line);
  border-radius: var(--shell46e56-r-l);
  background: var(--shell46e56-bg-raise);
  overflow: hidden;
}

.shell46e56-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s var(--shell46e56-ease);
}

.shell46e56-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
}

.shell46e56-slide-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shell46e56-slide-caption {
  display: block;
  padding: 9px 14px 11px;
  border-top: 1px solid var(--shell46e56-line-soft);
  font-family: var(--shell46e56-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--shell46e56-cream);
  background: rgba(10, 17, 25, 0.55);
  transition: color 0.25s var(--shell46e56-ease);
}

.shell46e56-slide:hover .shell46e56-slide-caption,
.shell46e56-slide:focus-visible .shell46e56-slide-caption {
  color: var(--shell46e56-accent);
}

.shell46e56-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0 2px;
}

.shell46e56-dot {
  width: 22px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell46e56-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--shell46e56-panel);
  border: 1px solid var(--shell46e56-line);
  transition: background-color 0.25s var(--shell46e56-ease), width 0.25s var(--shell46e56-ease),
    border-color 0.25s var(--shell46e56-ease);
}

.shell46e56-dot:hover::before {
  border-color: var(--shell46e56-accent-dim);
}

.shell46e56-dot.shell46e56-is-active::before {
  width: 18px;
  background: var(--shell46e56-accent);
  border-color: var(--shell46e56-accent);
}

/* Compact stat strip under the hero */
.shell46e56-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}

.shell46e56-stat {
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: rgba(255, 250, 205, 0.02);
  padding: 10px 8px 9px;
  text-align: center;
}

.shell46e56-stat-num {
  display: block;
  font-family: var(--shell46e56-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell46e56-cream);
  line-height: 1.15;
}

.shell46e56-stat-label {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 7. Category quick strip                                              */
/* ------------------------------------------------------------------ */
.shell46e56-quickstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 18px;
  padding: 2px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell46e56-quickstrip::-webkit-scrollbar {
  display: none;
}

.shell46e56-chip {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--shell46e56-accent-dim);
  border-radius: 999px;
  background: var(--shell46e56-accent-faint);
  font-family: var(--shell46e56-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell46e56-cream);
  transition: background-color 0.25s var(--shell46e56-ease), color 0.25s var(--shell46e56-ease);
}

.shell46e56-chip small {
  font-size: 10px;
  font-weight: 600;
  color: var(--shell46e56-accent);
  letter-spacing: 0.02em;
}

.shell46e56-chip:hover,
.shell46e56-chip:focus-visible {
  background: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
  text-decoration: none;
}

.shell46e56-chip:hover small,
.shell46e56-chip:focus-visible small {
  color: var(--shell46e56-accent-ink);
}

/* ------------------------------------------------------------------ */
/* 8. Game sections                                                     */
/* ------------------------------------------------------------------ */
.shell46e56-sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.shell46e56-sec-title {
  margin: 0;
  font-family: var(--shell46e56-font-head);
  font-size: 17.5px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--shell46e56-cream);
  text-wrap: balance;
}

.shell46e56-count {
  flex: none;
  margin-top: 3px;
  padding: 3px 9px;
  border: 1px solid var(--shell46e56-line);
  border-radius: 999px;
  font-family: var(--shell46e56-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shell46e56-mist-dim);
  white-space: nowrap;
}

.shell46e56-sec-intro {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-sec-intro a {
  color: var(--shell46e56-accent);
  font-weight: 600;
}

/* Stable 4-column grid, 5 columns once the canvas reaches 430px */
.shell46e56-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

/* Light floating layer tile */
.shell46e56-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: linear-gradient(180deg, rgba(255, 250, 205, 0.05) 0%, rgba(255, 250, 205, 0.015) 100%);
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.85);
  transition: border-color 0.25s var(--shell46e56-ease),
    background-color 0.25s var(--shell46e56-ease);
}

.shell46e56-tile:hover,
.shell46e56-tile:focus-visible {
  border-color: var(--shell46e56-accent-dim);
  background: linear-gradient(180deg, rgba(244, 164, 96, 0.12) 0%, rgba(255, 250, 205, 0.03) 100%);
}

.shell46e56-tile:active {
  border-color: var(--shell46e56-accent);
}

.shell46e56-tile-frame {
  display: block;
  border-radius: var(--shell46e56-r-s);
  overflow: hidden;
  background: var(--shell46e56-bg-deep);
}

.shell46e56-tile-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s var(--shell46e56-ease);
}

.shell46e56-tile:hover .shell46e56-tile-frame img,
.shell46e56-tile:focus-visible .shell46e56-tile-frame img {
  transform: scale(1.05);
}

.shell46e56-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 27px;
  padding: 0 2px 1px;
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--shell46e56-mist);
  overflow-wrap: anywhere;
  transition: color 0.25s var(--shell46e56-ease);
}

.shell46e56-tile:hover .shell46e56-tile-name,
.shell46e56-tile:focus-visible .shell46e56-tile-name {
  color: var(--shell46e56-cream);
}

/* ------------------------------------------------------------------ */
/* 9. Step list (step-advancement rhythm)                               */
/* ------------------------------------------------------------------ */
.shell46e56-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shell46e56-step;
}

.shell46e56-step {
  counter-increment: shell46e56-step;
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 0 18px 0;
}

.shell46e56-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: var(--shell46e56-line);
}

.shell46e56-step:last-child::before {
  display: none;
}

.shell46e56-step:last-child {
  padding-bottom: 2px;
}

.shell46e56-step-num {
  flex: none;
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.4px solid var(--shell46e56-accent);
  border-radius: 999px;
  font-family: var(--shell46e56-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell46e56-accent);
  background: var(--shell46e56-bg);
}

.shell46e56-step-num::after {
  content: counter(shell46e56-step);
}

.shell46e56-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.shell46e56-step-title {
  margin: 4px 0 3px;
  font-family: var(--shell46e56-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--shell46e56-cream);
}

.shell46e56-step-text {
  margin: 0;
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 10. Orientation panel + fact grid                                    */
/* ------------------------------------------------------------------ */
.shell46e56-panel {
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-l);
  background: rgba(255, 250, 205, 0.02);
  padding: 14px 14px 6px;
  margin-top: 12px;
}

.shell46e56-prose {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-prose strong {
  color: var(--shell46e56-cream);
  font-weight: 600;
}

.shell46e56-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
}

.shell46e56-fact {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 11px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: var(--shell46e56-bg-deep);
}

.shell46e56-fact dt {
  flex: none;
  width: 82px;
  font-family: var(--shell46e56-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell46e56-accent);
}

.shell46e56-fact dd {
  margin: 0;
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--shell46e56-mist);
}

/* ------------------------------------------------------------------ */
/* 11. Highlight rows                                                   */
/* ------------------------------------------------------------------ */
.shell46e56-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell46e56-hl-row {
  display: flex;
  gap: 11px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--shell46e56-line-soft);
}

.shell46e56-hl-row:last-child {
  border-bottom: 0;
}

.shell46e56-hl-tag {
  flex: none;
  width: 58px;
  align-self: flex-start;
  padding: 4px 0;
  text-align: center;
  border: 1px solid var(--shell46e56-accent-dim);
  border-radius: var(--shell46e56-r-s);
  background: var(--shell46e56-accent-faint);
  font-family: var(--shell46e56-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--shell46e56-accent);
}

.shell46e56-hl-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 12.8px;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 12. FAQ (native details, micro icon motion)                          */
/* ------------------------------------------------------------------ */
.shell46e56-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell46e56-faq-item {
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: rgba(255, 250, 205, 0.02);
  overflow: hidden;
}

.shell46e56-faq-item[open] {
  border-color: var(--shell46e56-accent-dim);
}

.shell46e56-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--shell46e56-touch);
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
  font-family: var(--shell46e56-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell46e56-cream);
  transition: color 0.25s var(--shell46e56-ease);
}

.shell46e56-faq-q::-webkit-details-marker {
  display: none;
}

.shell46e56-faq-q:hover {
  color: var(--shell46e56-accent);
}

.shell46e56-faq-mark {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
}

.shell46e56-faq-mark::before,
.shell46e56-faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--shell46e56-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.28s var(--shell46e56-ease);
}

.shell46e56-faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.shell46e56-faq-item[open] .shell46e56-faq-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.shell46e56-faq-a {
  margin: 0;
  padding: 0 13px 13px;
  font-size: 12.8px;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 13. Relationship rows                                                */
/* ------------------------------------------------------------------ */
.shell46e56-rel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell46e56-rel-row {
  position: relative;
  padding: 10px 12px 10px 26px;
  border-left: 2px solid var(--shell46e56-accent-dim);
  border-radius: 0 var(--shell46e56-r-m) var(--shell46e56-r-m) 0;
  background: rgba(255, 250, 205, 0.02);
  margin-bottom: 8px;
}

.shell46e56-rel-row::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1.4px solid var(--shell46e56-accent);
  background: var(--shell46e56-bg);
}

.shell46e56-rel-key {
  display: block;
  font-family: var(--shell46e56-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell46e56-cream);
  margin-bottom: 2px;
}

.shell46e56-rel-text {
  margin: 0;
  font-size: 12.6px;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 14. Extended footer: CTA band > brand > directory > disclaimer       */
/* ------------------------------------------------------------------ */
.shell46e56-xfooter {
  margin-top: 34px;
  border-top: 1px solid var(--shell46e56-accent-dim);
  padding-top: 20px;
}

.shell46e56-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.shell46e56-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--shell46e56-accent-dim);
  border-radius: var(--shell46e56-r-m);
  background: var(--shell46e56-accent-faint);
  font-family: var(--shell46e56-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--shell46e56-cream);
  text-align: left;
  transition: background-color 0.25s var(--shell46e56-ease), color 0.25s var(--shell46e56-ease),
    border-color 0.25s var(--shell46e56-ease);
}

.shell46e56-cta:hover,
.shell46e56-cta:focus-visible {
  background: var(--shell46e56-accent);
  border-color: var(--shell46e56-accent);
  color: var(--shell46e56-accent-ink);
}

.shell46e56-cta-icn {
  flex: none;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.shell46e56-cta-icn svg {
  width: 18px;
  height: 18px;
}

.shell46e56-brandnote {
  margin: 18px 0 0;
  font-size: 12.6px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-dir {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.shell46e56-dir-col {
  min-width: 0;
}

.shell46e56-dir-title {
  margin: 0 0 8px;
  font-family: var(--shell46e56-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell46e56-accent);
}

.shell46e56-dir-item {
  display: block;
  margin-bottom: 9px;
}

.shell46e56-dir-link {
  display: inline-block;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--shell46e56-mist);
  line-height: 1.35;
}

.shell46e56-dir-link:hover,
.shell46e56-dir-link:focus-visible {
  color: var(--shell46e56-accent);
}

.shell46e56-dir-note {
  display: block;
  font-size: 11px;
  color: var(--shell46e56-mist-dim);
  opacity: 0.78;
  margin-top: 1px;
}

.shell46e56-disclaimer {
  margin: 18px 0 0;
  padding: 12px 13px;
  border: 1px dashed var(--shell46e56-line);
  border-radius: var(--shell46e56-r-m);
  font-size: 11.6px;
  line-height: 1.6;
  color: var(--shell46e56-mist-dim);
}

/* ------------------------------------------------------------------ */
/* 15. Common footer bar                                                */
/* ------------------------------------------------------------------ */
.shell46e56-footer {
  margin-top: 26px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--shell46e56-line-soft);
  text-align: center;
}

.shell46e56-copy {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-copy strong {
  color: var(--shell46e56-cream);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* 16. Bottom navigation (outlined function bar)                        */
/* ------------------------------------------------------------------ */
.shell46e56-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--shell46e56-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(10, 17, 25, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell46e56-accent-dim);
}

.shell46e56-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell46e56-nav-h);
  padding: 8px 2px 6px;
  color: var(--shell46e56-mist-dim);
  border-top: 2px solid transparent;
  transition: color 0.25s var(--shell46e56-ease), border-color 0.25s var(--shell46e56-ease);
}

.shell46e56-bn-item:hover,
.shell46e56-bn-item:focus-visible {
  color: var(--shell46e56-cream);
  text-decoration: none;
}

.shell46e56-bn-item.shell46e56-is-active {
  color: var(--shell46e56-accent);
  border-top-color: var(--shell46e56-accent);
}

.shell46e56-bn-icn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
}

.shell46e56-bn-icn svg {
  width: 22px;
  height: 22px;
}

.shell46e56-bn-label {
  font-family: var(--shell46e56-font-head);
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shell46e56-bn-item.shell46e56-is-active .shell46e56-bn-label {
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* 17. Breakpoints                                                      */
/* ------------------------------------------------------------------ */
@media (min-width: 375px) {
  .shell46e56-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .shell46e56-hero-title {
    font-size: 23px;
  }

  .shell46e56-grid {
    gap: 10px 8px;
  }

  .shell46e56-tile-name {
    font-size: 11px;
  }
}

/* Wider phones: fifth game column */
@media (min-width: 430px) {
  .shell46e56-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shell46e56-hero-title {
    font-size: 25px;
  }

  .shell46e56-sec-title {
    font-size: 18.5px;
  }

  .shell46e56-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell46e56-dir {
    gap: 18px 16px;
  }
}

/* Desktop: keep the centered phone canvas with a quiet frame */
@media (min-width: 560px) {
  .shell46e56-canvas {
    box-shadow: 0 0 0 1px rgba(255, 250, 205, 0.07), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  }
}

/* ------------------------------------------------------------------ */
/* 18. Motion preferences                                               */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------------ */
/* 19. Inner help / guide pages                                         */
/* ------------------------------------------------------------------ */
.shell46e56-inner-hero {
  margin-top: 6px;
  padding: 16px 12px 14px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-l);
  background: linear-gradient(165deg, rgba(244, 164, 96, 0.09) 0%, rgba(14, 22, 33, 0.4) 55%);
}

.shell46e56-inner-lede {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-checklist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell46e56-check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: var(--shell46e56-bg-deep);
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-check-mark {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1px solid var(--shell46e56-accent-dim);
  background: var(--shell46e56-accent-faint);
  position: relative;
}

.shell46e56-check-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--shell46e56-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.shell46e56-term-stack {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shell46e56-term-row {
  padding: 10px 12px;
  border-left: 3px solid var(--shell46e56-accent-dim);
  border-radius: 0 var(--shell46e56-r-m) var(--shell46e56-r-m) 0;
  background: rgba(60, 60, 60, 0.22);
}

.shell46e56-term-row dt {
  margin: 0 0 4px;
  font-family: var(--shell46e56-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell46e56-cream);
}

.shell46e56-term-row dd {
  margin: 0;
  font-size: 12.8px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-scenario {
  margin-top: 12px;
  padding: 14px 13px;
  border: 1px solid var(--shell46e56-accent-dim);
  border-radius: var(--shell46e56-r-l);
  background: rgba(244, 164, 96, 0.08);
}

.shell46e56-scenario-lead {
  margin: 0 0 8px;
  font-family: var(--shell46e56-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--shell46e56-cream);
}

.shell46e56-mistake-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.shell46e56-mistake {
  padding: 11px 12px;
  border: 1px dashed rgba(244, 164, 96, 0.35);
  border-radius: var(--shell46e56-r-m);
  background: rgba(14, 22, 33, 0.55);
}

.shell46e56-mistake strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--shell46e56-font-head);
  font-size: 13px;
  color: var(--shell46e56-accent);
}

.shell46e56-mistake p {
  margin: 0;
  font-size: 12.8px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell46e56-criterion {
  padding: 11px 12px;
  border: 1px solid var(--shell46e56-line-soft);
  border-radius: var(--shell46e56-r-m);
  background: var(--shell46e56-bg-raise);
}

.shell46e56-criterion h3 {
  margin: 0 0 5px;
  font-family: var(--shell46e56-font-head);
  font-size: 13px;
  color: var(--shell46e56-cream);
}

.shell46e56-criterion p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-promo-band {
  margin-top: 22px;
  padding: 14px 12px;
  border: 1px solid var(--shell46e56-line);
  border-radius: var(--shell46e56-r-l);
  background: var(--shell46e56-bg-raise);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shell46e56-promo-band p {
  margin: 0;
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell46e56-timeline {
  margin: 12px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--shell46e56-accent-dim);
  list-style: none;
}

.shell46e56-timeline li {
  position: relative;
  padding: 0 0 14px 12px;
  font-size: 13px;
  color: var(--shell46e56-mist-dim);
}

.shell46e56-timeline li::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--shell46e56-accent);
  box-shadow: 0 0 0 3px var(--shell46e56-accent-faint);
}
