/* ==========================================================================
   jl779.homes — base styles for the mobile game lobby
   Class prefix: shelle7655-
   Palette: #F0FDFF (mist text) / #20B2AA (teal) / #40E0D0 (turquoise) / #333333 (ink base)
   Direction: rounded headings + compact body, pill buttons + squarish cards,
   outlined tile cards, scenario-branch rhythm, menu slide-in + tile lift.
   ========================================================================== */

:root {
  --shelle7655-ink: #333333;
  --shelle7655-ink-deep: #262626;
  --shelle7655-ink-page: #1d1d1d;
  --shelle7655-surface: #3b3b3b;
  --shelle7655-surface-2: #464646;
  --shelle7655-mist: #F0FDFF;
  --shelle7655-mute: rgba(240, 253, 255, 0.64);
  --shelle7655-faint: rgba(240, 253, 255, 0.42);
  --shelle7655-teal: #20B2AA;
  --shelle7655-turq: #40E0D0;
  --shelle7655-line: rgba(240, 253, 255, 0.16);
  --shelle7655-line-strong: rgba(64, 224, 208, 0.6);
  --shelle7655-wash: rgba(32, 178, 170, 0.12);
  --shelle7655-radius-card: 10px;
  --shelle7655-radius-panel: 14px;
  --shelle7655-radius-btn: 999px;
  --shelle7655-font-head: "Trebuchet MS", "Segoe UI", "Nunito", "Avenir Next Rounded", ui-rounded, system-ui, sans-serif;
  --shelle7655-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shelle7655-canvas-max: 430px;
  --shelle7655-header-h: 56px;
  --shelle7655-bnav-h: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shelle7655-ink-page);
  color: var(--shelle7655-mist);
  font-family: var(--shelle7655-font-body);
  font-size: 14px;
  line-height: 1.58;
  overflow-x: hidden;
}

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

a { color: var(--shelle7655-turq); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--shelle7655-font-head);
  color: var(--shelle7655-mist);
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0.2px;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

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

/* --------------------------------------------------------------------------
   Phone canvas: content stays centered at 430px max on any screen
   -------------------------------------------------------------------------- */

.shelle7655-canvas {
  max-width: var(--shelle7655-canvas-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelle7655-ink);
  position: relative;
}

@media (min-width: 431px) {
  .shelle7655-canvas {
    box-shadow: 0 0 0 1px rgba(240, 253, 255, 0.08), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

.shelle7655-main {
  padding: calc(var(--shelle7655-header-h) + 12px) 12px
           calc(var(--shelle7655-bnav-h) + 26px + env(safe-area-inset-bottom));
}

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

/* --------------------------------------------------------------------------
   Top bar: asymmetric brand header (logo grows left, actions cluster right)
   -------------------------------------------------------------------------- */

.shelle7655-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle7655-canvas-max);
  height: calc(var(--shelle7655-header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 10px 0;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.98), rgba(38, 38, 38, 0.92));
  border-bottom: 1px solid var(--shelle7655-line);
  backdrop-filter: blur(8px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shelle7655-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.shelle7655-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shelle7655-line-strong);
  object-fit: cover;
  flex: none;
  background: var(--shelle7655-surface);
}

.shelle7655-brand-name {
  font-family: var(--shelle7655-font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--shelle7655-mist);
  white-space: nowrap;
}

.shelle7655-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shelle7655-btn-register {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--shelle7655-radius-btn);
  background: linear-gradient(135deg, var(--shelle7655-teal), var(--shelle7655-turq));
  color: #17322f;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.shelle7655-btn-register:hover { filter: brightness(1.08); }
.shelle7655-btn-register:active { transform: scale(0.94); }

.shelle7655-btn-login {
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--shelle7655-radius-btn);
  border: 1px solid var(--shelle7655-line-strong);
  background: transparent;
  color: var(--shelle7655-turq);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.shelle7655-btn-login:hover { background: var(--shelle7655-wash); }
.shelle7655-btn-login:active { transform: scale(0.94); }

.shelle7655-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--shelle7655-line);
  background: var(--shelle7655-surface);
  color: var(--shelle7655-mist);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.14s ease;
}

.shelle7655-menu-btn:active { transform: scale(0.9); }

@media (max-width: 339px) {
  .shelle7655-brand-name { font-size: 19px; }
  .shelle7655-btn-register { padding: 0 10px; }
  .shelle7655-btn-login { padding: 0 9px; }
}

/* --------------------------------------------------------------------------
   Sectioned slide-in menu (partitioned menu page)
   -------------------------------------------------------------------------- */

.shelle7655-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 17, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.shelle7655-scrim.shelle7655-is-on { opacity: 1; pointer-events: auto; }

.shelle7655-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}

.shelle7655-menu.shelle7655-is-open { pointer-events: auto; visibility: visible; }

.shelle7655-menu-panel {
  width: 84vw;
  max-width: 324px;
  height: 100%;
  margin-right: max(0px, calc((100vw - var(--shelle7655-canvas-max)) / 2));
  background: var(--shelle7655-ink-deep);
  border-left: 1px solid var(--shelle7655-line);
  transform: translateX(102%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
}

.shelle7655-menu.shelle7655-is-open .shelle7655-menu-panel { transform: translateX(0); }

.shelle7655-menu-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shelle7655-line);
}

.shelle7655-menu-top .shelle7655-brand-logo { width: 30px; height: 30px; }

.shelle7655-menu-top-name {
  font-family: var(--shelle7655-font-head);
  font-size: 17px;
  font-weight: 700;
  margin-right: auto;
}

.shelle7655-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shelle7655-line);
  background: var(--shelle7655-surface);
  color: var(--shelle7655-mist);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shelle7655-menu-group { padding: 14px 0 4px; }

.shelle7655-menu-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--shelle7655-teal);
  padding: 0 10px 6px;
}

.shelle7655-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--shelle7655-radius-card);
  color: var(--shelle7655-mist);
  font-size: 13.5px;
  transition: background 0.14s ease;
}

.shelle7655-menu-link:hover, .shelle7655-menu-link:focus-visible {
  background: var(--shelle7655-wash);
  text-decoration: none;
}

.shelle7655-menu-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--shelle7655-faint);
  border-right: 2px solid var(--shelle7655-faint);
  transform: rotate(45deg);
  flex: none;
}

.shelle7655-menu-cta {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.shelle7655-menu-register {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--shelle7655-radius-btn);
  background: linear-gradient(135deg, var(--shelle7655-teal), var(--shelle7655-turq));
  color: #17322f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.shelle7655-menu-login {
  width: 100%;
  min-height: 42px;
  border-radius: var(--shelle7655-radius-btn);
  border: 1px solid var(--shelle7655-line-strong);
  background: transparent;
  color: var(--shelle7655-turq);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero: kicker, H1, copy, promo carousel
   -------------------------------------------------------------------------- */

.shelle7655-hero { padding-top: 4px; }

.shelle7655-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shelle7655-turq);
  margin-bottom: 8px;
}

.shelle7655-kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--shelle7655-teal);
}

.shelle7655-hero h1 { font-size: 24px; margin-bottom: 10px; }

.shelle7655-hero-copy {
  color: var(--shelle7655-mute);
  font-size: 13.5px;
  margin-bottom: 14px;
}

.shelle7655-carousel {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 152px;
  border-radius: var(--shelle7655-radius-panel);
  overflow: hidden;
  border: 1px solid var(--shelle7655-line);
  background: var(--shelle7655-surface);
  touch-action: pan-y;
  user-select: none;
}

.shelle7655-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--shelle7655-surface);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.shelle7655-slide.shelle7655-is-on { opacity: 1; pointer-events: auto; }

.shelle7655-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelle7655-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.shelle7655-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(240, 253, 255, 0.4);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.shelle7655-dot.shelle7655-is-on {
  width: 20px;
  background: var(--shelle7655-turq);
}

/* Full-width primary CTA */
.shelle7655-cta-main {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 14px 0 0;
  border: 0;
  border-radius: var(--shelle7655-radius-btn);
  background: linear-gradient(135deg, var(--shelle7655-teal), var(--shelle7655-turq));
  color: #17322f;
  font-family: var(--shelle7655-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.shelle7655-cta-main:hover { filter: brightness(1.07); }
.shelle7655-cta-main:active { transform: scale(0.97); }

/* --------------------------------------------------------------------------
   Scenario branches (branch-style information rhythm)
   -------------------------------------------------------------------------- */

.shelle7655-branch-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shelle7655-branch-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--shelle7655-line);
  border-left: 3px solid var(--shelle7655-teal);
  border-radius: var(--shelle7655-radius-card);
  background: var(--shelle7655-surface);
  color: var(--shelle7655-mist);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shelle7655-branch-card:hover {
  border-left-color: var(--shelle7655-turq);
  text-decoration: none;
  transform: translateY(-2px);
}

.shelle7655-branch-q {
  font-family: var(--shelle7655-font-head);
  font-size: 13.5px;
  font-weight: 700;
  display: block;
}

.shelle7655-branch-a {
  font-size: 12px;
  color: var(--shelle7655-mute);
  display: block;
  margin-top: 2px;
}

.shelle7655-branch-tag {
  margin-left: auto;
  flex: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--shelle7655-turq);
  border: 1px solid var(--shelle7655-line-strong);
  border-radius: 999px;
  padding: 4px 9px;
}

/* --------------------------------------------------------------------------
   Sections and game shelves
   -------------------------------------------------------------------------- */

.shelle7655-section { margin-top: 26px; }

.shelle7655-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shelle7655-line);
}

.shelle7655-section-head h2 {
  font-size: 18.5px;
  flex: 1 1 auto;
}

.shelle7655-chip {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #17322f;
  background: var(--shelle7655-turq);
  border-radius: 999px;
  padding: 3px 9px;
}

.shelle7655-section-copy {
  color: var(--shelle7655-mute);
  font-size: 13px;
  margin-bottom: 12px;
}

/* Outlined tile cards, 4 columns on small phones, 5 above 399px */
.shelle7655-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 399px) {
  .shelle7655-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.shelle7655-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: rgba(59, 59, 59, 0.5);
  border: 1px solid var(--shelle7655-line);
  border-radius: var(--shelle7655-radius-card);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.shelle7655-tile:hover, .shelle7655-tile:focus-visible {
  border-color: var(--shelle7655-line-strong);
  background: rgba(59, 59, 59, 0.85);
  transform: translateY(-3px);
}

.shelle7655-tile:active { transform: translateY(-1px) scale(0.98); }

.shelle7655-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--shelle7655-ink-deep);
}

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

/* --------------------------------------------------------------------------
   Direct answer callout
   -------------------------------------------------------------------------- */

.shelle7655-answer {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--shelle7655-line-strong);
  border-radius: var(--shelle7655-radius-panel);
  background: linear-gradient(160deg, rgba(32, 178, 170, 0.16), rgba(64, 224, 208, 0.05));
}

.shelle7655-answer p { color: var(--shelle7655-mist); font-size: 13.5px; }
.shelle7655-answer p + p { margin-top: 10px; color: var(--shelle7655-mute); }

/* --------------------------------------------------------------------------
   Feature tiles (scannable, comparable)
   -------------------------------------------------------------------------- */

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

.shelle7655-feature {
  padding: 12px;
  border: 1px solid var(--shelle7655-line);
  border-radius: var(--shelle7655-radius-card);
  background: var(--shelle7655-surface);
}

.shelle7655-feature h3 {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--shelle7655-turq);
}

.shelle7655-feature p {
  font-size: 11.8px;
  color: var(--shelle7655-mute);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Comparison rows (compact, one row per format)
   -------------------------------------------------------------------------- */

.shelle7655-cmp { margin-top: 12px; display: grid; gap: 8px; }

.shelle7655-cmp-row {
  border: 1px solid var(--shelle7655-line);
  border-radius: var(--shelle7655-radius-card);
  background: var(--shelle7655-surface);
  padding: 11px 12px;
}

.shelle7655-cmp-row h3 { font-size: 14px; margin-bottom: 7px; }

.shelle7655-cmp-row h3 span {
  font-family: var(--shelle7655-font-body);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shelle7655-faint);
  margin-left: 6px;
}

.shelle7655-cmp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.shelle7655-cmp-facts div { font-size: 11.5px; color: var(--shelle7655-mute); }

.shelle7655-cmp-facts strong {
  display: block;
  color: var(--shelle7655-turq);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --------------------------------------------------------------------------
   FAQ (native details, no JS dependency)
   -------------------------------------------------------------------------- */

.shelle7655-faq { margin-top: 12px; display: grid; gap: 8px; }

.shelle7655-faq-item {
  border: 1px solid var(--shelle7655-line);
  border-radius: var(--shelle7655-radius-card);
  background: var(--shelle7655-surface);
  overflow: hidden;
}

.shelle7655-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  font-family: var(--shelle7655-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shelle7655-mist);
}

.shelle7655-faq-item summary::-webkit-details-marker { display: none; }

.shelle7655-faq-item summary::after {
  content: "+";
  font-size: 17px;
  font-weight: 700;
  color: var(--shelle7655-turq);
  flex: none;
  transition: transform 0.18s ease;
}

.shelle7655-faq-item[open] summary::after { transform: rotate(45deg); }

.shelle7655-faq-body {
  padding: 0 13px 12px;
  font-size: 12.8px;
  color: var(--shelle7655-mute);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.shelle7655-cta-band {
  margin-top: 26px;
  padding: 16px 14px;
  border: 1px solid var(--shelle7655-line-strong);
  border-radius: var(--shelle7655-radius-panel);
  background: linear-gradient(150deg, rgba(32, 178, 170, 0.2), rgba(38, 38, 38, 0.6));
  text-align: center;
}

.shelle7655-cta-band h2 { font-size: 18px; margin-bottom: 8px; }

.shelle7655-cta-band p {
  color: var(--shelle7655-mute);
  font-size: 12.8px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Partner strip
   -------------------------------------------------------------------------- */

.shelle7655-partners {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  margin-top: 10px;
  scrollbar-width: none;
}

.shelle7655-partners::-webkit-scrollbar { display: none; }

.shelle7655-partners img {
  height: 30px;
  width: auto;
  border-radius: 7px;
  border: 1px solid var(--shelle7655-line);
  background: var(--shelle7655-mist);
  object-fit: contain;
  padding: 2px 5px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Extended footer: page directory, brand, promotions, disclaimer
   -------------------------------------------------------------------------- */

.shelle7655-xfooter {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--shelle7655-line);
}

.shelle7655-xfooter h2 {
  font-size: 15px;
  color: var(--shelle7655-turq);
  margin-bottom: 8px;
}

.shelle7655-xfooter-block + .shelle7655-xfooter-block { margin-top: 18px; }

.shelle7655-xfooter-dir {
  column-count: 2;
  column-gap: 14px;
}

.shelle7655-xfooter-dir a {
  display: block;
  break-inside: avoid;
  font-size: 12.2px;
  color: var(--shelle7655-mute);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(240, 253, 255, 0.1);
}

.shelle7655-xfooter-dir a:hover, .shelle7655-xfooter-dir a:focus-visible {
  color: var(--shelle7655-turq);
  text-decoration: none;
}

.shelle7655-xfooter-brand p {
  font-size: 12.2px;
  color: var(--shelle7655-mute);
}

.shelle7655-xfooter-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shelle7655-xfooter-promo {
  min-height: 44px;
  border: 1px solid var(--shelle7655-line-strong);
  border-radius: var(--shelle7655-radius-btn);
  background: var(--shelle7655-wash);
  color: var(--shelle7655-turq);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
  padding: 6px 8px;
}

.shelle7655-xfooter-promo:hover { background: rgba(32, 178, 170, 0.24); }
.shelle7655-xfooter-promo:active { transform: scale(0.96); }

.shelle7655-xfooter-note {
  font-size: 11px;
  color: var(--shelle7655-faint);
  line-height: 1.55;
  border-left: 3px solid var(--shelle7655-line-strong);
  padding-left: 10px;
}

/* Common footer line */
.shelle7655-footer {
  margin-top: 22px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--shelle7655-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shelle7655-faint);
}

/* --------------------------------------------------------------------------
   Mobile bottom action bar (segmented, 5 roles)
   -------------------------------------------------------------------------- */

.shelle7655-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle7655-canvas-max);
  height: calc(var(--shelle7655-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(30, 32, 32, 0.97);
  border-top: 1px solid var(--shelle7655-line-strong);
  backdrop-filter: blur(10px);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shelle7655-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  border: 0;
  background: transparent;
  color: var(--shelle7655-mute);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.shelle7655-bnav-item:hover { text-decoration: none; }

.shelle7655-bnav-icon {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  border-radius: 999px;
  padding: 0 8px;
  transition: transform 0.13s ease, background 0.13s ease, color 0.13s ease;
}

.shelle7655-bnav-item:active .shelle7655-bnav-icon { transform: scale(0.86); }

.shelle7655-bnav-label {
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Active state: contrast inversion — dark icon on a turquoise pill */
.shelle7655-bnav-item.shelle7655-is-active { color: var(--shelle7655-turq); }

.shelle7655-bnav-item.shelle7655-is-active .shelle7655-bnav-icon {
  background: var(--shelle7655-turq);
  color: #17322f;
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Help pages: reading rails, timelines, safety ledgers, and compact answers
   -------------------------------------------------------------------------- */
.shelle7655-help-main { padding-top: calc(var(--shelle7655-header-h) + 18px); }
.shelle7655-help-hero { padding: 4px 2px 2px; }
.shelle7655-help-hero h1, .shelle7655-safety-banner h1 { font-size: 24px; margin-bottom: 10px; }
.shelle7655-help-answer, .shelle7655-safety-ribbon {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--shelle7655-line-strong);
  border-radius: var(--shelle7655-radius-panel);
  background: linear-gradient(145deg, rgba(32,178,170,.2), rgba(38,38,38,.78));
}
.shelle7655-help-answer-mark, .shelle7655-note-label {
  color: var(--shelle7655-turq);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.shelle7655-help-answer h2, .shelle7655-safety-ribbon h2 { font-size: 18px; margin: 6px 0 9px; }
.shelle7655-help-answer p, .shelle7655-safety-ribbon p { font-size: 13px; color: var(--shelle7655-mist); }
.shelle7655-help-answer p + p, .shelle7655-safety-ribbon p + p { color: var(--shelle7655-mute); }
.shelle7655-timeline { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.shelle7655-timeline li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: start; padding: 11px 10px; border-left: 2px solid var(--shelle7655-teal); border-radius: 0 var(--shelle7655-radius-card) var(--shelle7655-radius-card) 0; background: var(--shelle7655-surface); }
.shelle7655-step-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--shelle7655-turq); color: #17322f; font-size: 10px; font-weight: 800; }
.shelle7655-timeline h3 { font-size: 14px; color: var(--shelle7655-turq); margin-bottom: 3px; }
.shelle7655-timeline p { color: var(--shelle7655-mute); font-size: 12.4px; margin: 0; }
.shelle7655-help-split, .shelle7655-split-ledger { display: grid; gap: 10px; margin-top: 24px; }
.shelle7655-help-note, .shelle7655-ledger-card { padding: 14px; border: 1px solid var(--shelle7655-line); border-radius: var(--shelle7655-radius-card); background: var(--shelle7655-surface); }
.shelle7655-help-note-accent, .shelle7655-ledger-good { border-top: 3px solid var(--shelle7655-teal); }
.shelle7655-help-note h2, .shelle7655-ledger-card h2 { font-size: 17px; margin: 5px 0 8px; }
.shelle7655-help-note p, .shelle7655-ledger-card li { color: var(--shelle7655-mute); font-size: 12.6px; }
.shelle7655-checklist, .shelle7655-ledger-card ul { list-style: none; padding: 0; margin: 11px 0 0; display: grid; gap: 7px; }
.shelle7655-checklist li, .shelle7655-ledger-card li { position: relative; padding-left: 16px; }
.shelle7655-checklist li::before, .shelle7655-ledger-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--shelle7655-turq); }
.shelle7655-inline-promo, .shelle7655-scenario button { min-height: 44px; margin-top: 12px; padding: 0 14px; border: 1px solid var(--shelle7655-line-strong); border-radius: var(--shelle7655-radius-btn); background: var(--shelle7655-wash); color: var(--shelle7655-turq); font-weight: 700; cursor: pointer; }
.shelle7655-choice-rail { display: grid; gap: 8px; margin-top: 12px; }
.shelle7655-choice-rail div { padding: 11px 12px; border-right: 3px solid var(--shelle7655-teal); background: var(--shelle7655-surface); border-radius: var(--shelle7655-radius-card); }
.shelle7655-choice-rail strong, .shelle7655-choice-rail span { display: block; }
.shelle7655-choice-rail strong { color: var(--shelle7655-turq); font-size: 13px; }
.shelle7655-choice-rail span { color: var(--shelle7655-mute); font-size: 12px; margin-top: 3px; }
.shelle7655-qa-stack, .shelle7655-safety-faq { display: grid; gap: 8px; margin-top: 12px; }
.shelle7655-qa-row, .shelle7655-safety-faq details { border-bottom: 1px solid var(--shelle7655-line); padding: 10px 2px; }
.shelle7655-qa-row summary, .shelle7655-safety-faq summary { cursor: pointer; color: var(--shelle7655-mist); font-family: var(--shelle7655-font-head); font-weight: 700; font-size: 13.5px; }
.shelle7655-qa-row p, .shelle7655-safety-faq p { color: var(--shelle7655-mute); font-size: 12.5px; margin: 8px 0 0; }
.shelle7655-help-takeaways, .shelle7655-step-card { margin-top: 24px; padding: 15px; border: 1px solid var(--shelle7655-line-strong); border-radius: var(--shelle7655-radius-panel); background: var(--shelle7655-surface); }
.shelle7655-help-takeaways h2, .shelle7655-step-card h2 { font-size: 18px; margin: 5px 0 12px; }
.shelle7655-takeaway-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.shelle7655-takeaway-grid div { padding: 10px; border: 1px solid var(--shelle7655-line); border-radius: var(--shelle7655-radius-card); }
.shelle7655-takeaway-grid b, .shelle7655-takeaway-grid span { display: block; }
.shelle7655-takeaway-grid b { color: var(--shelle7655-turq); font-size: 12px; }
.shelle7655-takeaway-grid span { color: var(--shelle7655-mute); font-size: 11.5px; margin-top: 3px; }
.shelle7655-help-takeaways p, .shelle7655-step-card li { color: var(--shelle7655-mute); font-size: 12.8px; }
.shelle7655-step-card ol { margin: 0 0 4px; padding-left: 20px; color: var(--shelle7655-mute); display: grid; gap: 6px; font-size: 12.6px; }
.shelle7655-step-card li b { color: var(--shelle7655-turq); }
.shelle7655-promo-strip { margin-top: 25px; padding: 15px 13px; border-radius: var(--shelle7655-radius-panel); background: linear-gradient(150deg, rgba(64,224,208,.13), rgba(59,59,59,.9)); border: 1px solid var(--shelle7655-line); }
.shelle7655-promo-strip h2 { font-size: 18px; margin-bottom: 7px; }
.shelle7655-promo-strip p { color: var(--shelle7655-mute); font-size: 12.6px; }
.shelle7655-promo-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.shelle7655-promo-actions button { min-height: 44px; padding: 5px 7px; border: 1px solid var(--shelle7655-line-strong); border-radius: var(--shelle7655-radius-btn); background: transparent; color: var(--shelle7655-turq); font-size: 11.5px; font-weight: 700; cursor: pointer; }
/* Safety-specific panels use a different reading order from the walkthrough. */
.shelle7655-safety-main { padding-top: calc(var(--shelle7655-header-h) + 18px); }
.shelle7655-safety-banner { padding: 16px 14px; border-radius: var(--shelle7655-radius-panel); background: radial-gradient(circle at 100% 0, rgba(64,224,208,.2), transparent 42%), var(--shelle7655-surface); border: 1px solid var(--shelle7655-line); }
.shelle7655-safety-signal { display: flex; gap: 5px; margin-bottom: 12px; }
.shelle7655-safety-signal span { width: 9px; height: 9px; border-radius: 50%; background: var(--shelle7655-teal); }
.shelle7655-safety-signal span:nth-child(2) { background: var(--shelle7655-turq); opacity: .72; }
.shelle7655-safety-signal span:nth-child(3) { opacity: .4; }
.shelle7655-safety-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 13px; }
.shelle7655-safety-points span { display: grid; gap: 3px; color: var(--shelle7655-mute); font-size: 10px; text-align: center; }
.shelle7655-safety-points b { color: var(--shelle7655-turq); font-size: 12px; }
.shelle7655-layer-list { display: grid; gap: 8px; margin-top: 12px; }
.shelle7655-layer-list article { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 9px; padding: 11px; background: var(--shelle7655-surface); border-radius: var(--shelle7655-radius-card); border: 1px solid var(--shelle7655-line); }
.shelle7655-layer-index { color: #17322f; background: var(--shelle7655-turq); border-radius: 7px; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 800; }
.shelle7655-layer-list h3 { font-size: 14px; color: var(--shelle7655-turq); margin-bottom: 3px; }
.shelle7655-layer-list p { color: var(--shelle7655-mute); font-size: 12.3px; margin: 0; }
.shelle7655-payment-window { margin-top: 24px; padding: 15px; border: 1px solid var(--shelle7655-line-strong); border-radius: var(--shelle7655-radius-panel); background: var(--shelle7655-ink-deep); }
.shelle7655-payment-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.shelle7655-payment-top span { color: var(--shelle7655-faint); font-size: 10px; }
.shelle7655-payment-window h2, .shelle7655-limit-dial h2 { font-size: 18px; margin: 6px 0 8px; }
.shelle7655-payment-window p, .shelle7655-limit-dial p { color: var(--shelle7655-mute); font-size: 12.8px; }
.shelle7655-payment-grid { display: grid; gap: 6px; margin: 13px 0; }
.shelle7655-payment-grid div { padding: 9px; border-left: 2px solid var(--shelle7655-teal); background: rgba(59,59,59,.65); }
.shelle7655-payment-grid strong, .shelle7655-payment-grid span { display: block; }
.shelle7655-payment-grid strong { color: var(--shelle7655-turq); font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.shelle7655-payment-grid span { color: var(--shelle7655-mute); font-size: 11.8px; margin-top: 2px; }
.shelle7655-limit-dial { margin-top: 24px; padding: 15px; border: 1px solid var(--shelle7655-line); border-radius: var(--shelle7655-radius-panel); background: linear-gradient(145deg, rgba(32,178,170,.12), var(--shelle7655-surface)); }
.shelle7655-dial-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 12px 0; }
.shelle7655-dial { padding: 10px 7px; text-align: center; border: 1px solid var(--shelle7655-line); border-radius: var(--shelle7655-radius-card); }
.shelle7655-dial b, .shelle7655-dial span { display: block; }
.shelle7655-dial b { color: var(--shelle7655-turq); font-size: 10px; }
.shelle7655-dial span { color: var(--shelle7655-mute); font-size: 10.8px; line-height: 1.35; margin-top: 4px; }
.shelle7655-ledger-card h2 { color: var(--shelle7655-turq); }
.shelle7655-ledger-caution { border-top: 3px solid rgba(240,253,255,.4); }
.shelle7655-scenario { padding: 12px; border: 1px solid var(--shelle7655-line); border-radius: var(--shelle7655-radius-card); background: var(--shelle7655-surface); }
.shelle7655-scenario + .shelle7655-scenario { margin-top: 8px; }
.shelle7655-scenario-tag { display: inline-block; color: var(--shelle7655-turq); font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.shelle7655-scenario p { color: var(--shelle7655-mute); font-size: 12.4px; margin: 7px 0 0; }
.shelle7655-scenario p strong { color: var(--shelle7655-mist); }
.shelle7655-scenario button { margin-top: 9px; min-height: 40px; font-size: 11px; }
.shelle7655-safety-promo { margin-top: 24px; }
@media (min-width: 390px) {
  .shelle7655-help-split, .shelle7655-split-ledger { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shelle7655-help-split .shelle7655-help-note, .shelle7655-split-ledger .shelle7655-ledger-card { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
