/* ==========================================================================
   9777 dbt - dynamic-b13b34-interface.css
   Mobile-first interface styles for https://9777-dbt.homes/
   Canvas: 320-430px, centered on wide screens.
   Design: near-square tool feel, tab-style top bar, sectioned menu page,
   compact icon rack bottom nav, top indicator line, quick scale feedback.
   All classes and variables use the shellb343e- prefix.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --shellb343e-ink: #1E1E1E;          /* page background (dark base) */
  --shellb343e-panel: #242424;        /* raised panel */
  --shellb343e-panel2: #2B2B2B;       /* hover / inner panel */
  --shellb343e-line: #3A3A3A;         /* hairline borders */
  --shellb343e-line2: #4A4A4A;        /* stronger border */
  --shellb343e-text: #EFEAE2;         /* warm light body text */
  --shellb343e-dim: #C9C2B6;          /* secondary light text */
  --shellb343e-ash: #6C757D;          /* muted slate */
  --shellb343e-flame: #E65100;        /* primary solid CTA */
  --shellb343e-flamehi: #F46A0B;      /* CTA hover */
  --shellb343e-amber: #FFB74D;        /* highlight / display accent */
  --shellb343e-radius: 3px;           /* near-square corners */
  --shellb343e-radius2: 4px;
  --shellb343e-headh: 56px;           /* fixed header height */
  --shellb343e-tabsh: 40px;           /* sticky tab strip height */
  --shellb343e-navh: 60px;            /* bottom nav height */
  --shellb343e-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shellb343e-display: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: #141414;
  color: var(--shellb343e-text);
  font-family: var(--shellb343e-font);
  font-size: 14px;
  line-height: 1.65;
  /* clip (not hidden) so descendants keep position: sticky support */
  overflow-x: clip;
}

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

a {
  color: var(--shellb343e-amber);
  text-decoration: none;
}

a:active {
  opacity: 0.82;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--shellb343e-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Phone canvas: full-bleed on mobile, centered column on desktop */
.shellb343e-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellb343e-ink);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.55);
  /* clip avoids creating a scroll container, keeping sticky tabs working */
  overflow-x: clip;
}

/* ---------- Fixed header (tab-style top bar) ---------- */
.shellb343e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: var(--shellb343e-ink);
  border-bottom: 1px solid var(--shellb343e-line);
}

.shellb343e-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--shellb343e-headh);
  padding: 8px 10px 8px 12px;
}

/* Brand area: only the real logo image + site name */
.shellb343e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--shellb343e-text);
}

.shellb343e-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shellb343e-radius);
  border: 1px solid var(--shellb343e-line2);
  object-fit: cover;
  background: var(--shellb343e-panel);
}

.shellb343e-brandname {
  font-family: var(--shellb343e-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--shellb343e-amber);
  white-space: nowrap;
}

.shellb343e-headactions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Buttons: solid primary + outlined secondary ---------- */
.shellb343e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--shellb343e-radius2);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.12s ease, background-color 0.12s ease,
    border-color 0.12s ease;
}

.shellb343e-btn:active {
  transform: scale(0.95);
}

.shellb343e-btn--solid {
  background: var(--shellb343e-flame);
  border-color: var(--shellb343e-flame);
  color: #FFFFFF;
}

.shellb343e-btn--solid:hover {
  background: var(--shellb343e-flamehi);
}

.shellb343e-btn--ghost {
  background: transparent;
  border-color: var(--shellb343e-amber);
  color: var(--shellb343e-amber);
}

.shellb343e-btn--ghost:hover {
  background: rgba(255, 183, 77, 0.08);
}

.shellb343e-btn--sm {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
}

/* Menu trigger (44px touch target) */
.shellb343e-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  transition: transform 0.12s ease;
}

.shellb343e-menubtn:active {
  transform: scale(0.92);
}

.shellb343e-menubtn-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shellb343e-amber);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shellb343e-menubtn.is-open .shellb343e-menubtn-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shellb343e-menubtn.is-open .shellb343e-menubtn-bar:nth-child(2) {
  opacity: 0;
}

.shellb343e-menubtn.is-open .shellb343e-menubtn-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Sectioned menu panel (menu page overlay) ---------- */
.shellb343e-menu {
  position: fixed;
  top: var(--shellb343e-headh);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  min-height: 430px;
  max-height: calc(100vh - var(--shellb343e-headh));
  overflow-y: auto;
  z-index: 55;
  background: var(--shellb343e-ink);
  border-bottom: 1px solid var(--shellb343e-line2);
  padding: 14px 12px 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.shellb343e-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.shellb343e-menu-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.shellb343e-menublock {
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  padding: 10px 10px 4px;
}

.shellb343e-menutitle {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shellb343e-ash);
}

.shellb343e-menulinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-bottom: 6px;
}

.shellb343e-menuitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 10px 10px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel2);
  color: var(--shellb343e-text);
  font-size: 12.5px;
  font-weight: 600;
}

.shellb343e-menuitem::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--shellb343e-ash);
  border-right: 2px solid var(--shellb343e-ash);
  transform: rotate(45deg);
  flex: none;
}

.shellb343e-menuitem:hover {
  border-color: var(--shellb343e-amber);
  color: var(--shellb343e-amber);
}

.shellb343e-menuitem:active {
  transform: scale(0.97);
}

/* ---------- Sticky category tab strip ---------- */
.shellb343e-tabs {
  position: sticky;
  top: var(--shellb343e-headh);
  z-index: 50;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 10px;
  background: var(--shellb343e-ink);
  border-bottom: 1px solid var(--shellb343e-line);
  scrollbar-width: none;
}

.shellb343e-tabs::-webkit-scrollbar {
  display: none;
}

.shellb343e-tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  color: var(--shellb343e-dim);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.shellb343e-tab:active {
  transform: scale(0.94);
}

.shellb343e-tab:hover {
  color: var(--shellb343e-text);
  border-color: var(--shellb343e-line2);
}

/* Active state: top indicator line */
.shellb343e-tab.is-on {
  color: var(--shellb343e-amber);
  border-color: var(--shellb343e-line2);
  background: var(--shellb343e-panel2);
  box-shadow: inset 0 2px 0 var(--shellb343e-flame);
}

/* ---------- Main content spacing ---------- */
.shellb343e-main {
  padding: calc(var(--shellb343e-headh) + 14px) 12px
    calc(var(--shellb343e-navh) + 18px + env(safe-area-inset-bottom));
}

.shellb343e-cat,
.shellb343e-panel {
  scroll-margin-top: calc(var(--shellb343e-headh) + var(--shellb343e-tabsh) + 8px);
}

/* ---------- Hero ---------- */
.shellb343e-hero {
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius2);
  background: linear-gradient(160deg, #2A241C 0%, #232323 58%, var(--shellb343e-panel) 100%);
  padding: 16px 14px 14px;
  margin-bottom: 14px;
}

.shellb343e-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-left: 3px solid var(--shellb343e-flame);
  background: rgba(230, 81, 0, 0.12);
  color: var(--shellb343e-amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.shellb343e-h1 {
  margin: 0 0 10px;
  font-family: var(--shellb343e-display);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

.shellb343e-lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shellb343e-dim);
}

.shellb343e-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.shellb343e-ctarow .shellb343e-btn {
  flex: 1 1 140px;
}

.shellb343e-trustrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shellb343e-trust {
  flex: 1 1 30%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 6px;
  border: 1px dashed var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  color: var(--shellb343e-dim);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.shellb343e-trust::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--shellb343e-amber);
  border-radius: 1px;
  flex: none;
}

/* ---------- Promo carousel ---------- */
.shellb343e-carousel {
  position: relative;
  margin-bottom: 16px;
}

.shellb343e-slides {
  position: relative;
  height: 170px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius2);
  overflow: hidden;
  background: var(--shellb343e-panel);
}

.shellb343e-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: var(--shellb343e-panel);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.shellb343e-slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.shellb343e-slide:active .shellb343e-slide-img {
  transform: scale(0.985);
}

.shellb343e-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.shellb343e-slide-cap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 26px 12px 12px;
  background: linear-gradient(
    to top,
    rgba(20, 15, 8, 0.92) 0%,
    rgba(20, 15, 8, 0.55) 62%,
    rgba(20, 15, 8, 0) 100%
  );
  text-align: left;
}

.shellb343e-slide-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 7px;
  background: var(--shellb343e-flame);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.shellb343e-slide-title {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.shellb343e-slide-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--shellb343e-amber);
}

.shellb343e-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.shellb343e-dot {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.shellb343e-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.shellb343e-dot:active::after {
  transform: scale(0.8);
}

.shellb343e-dot.is-on::after {
  background: var(--shellb343e-amber);
  transform: scale(1.15);
}

/* ---------- Trending strip: horizontal icon-name bars ---------- */
.shellb343e-stripwrap {
  margin-bottom: 16px;
}

.shellb343e-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.shellb343e-strip::-webkit-scrollbar {
  display: none;
}

.shellb343e-stripbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 158px;
  min-height: 52px;
  padding: 5px 8px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shellb343e-stripbar:hover {
  border-color: var(--shellb343e-amber);
}

.shellb343e-stripbar:active {
  transform: scale(0.95);
}

.shellb343e-strip-ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--shellb343e-radius);
  border: 1px solid var(--shellb343e-line2);
  object-fit: cover;
  background: var(--shellb343e-panel2);
}

.shellb343e-strip-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  color: var(--shellb343e-text);
  line-height: 1.35;
}

/* ---------- Section headings ---------- */
.shellb343e-h2 {
  margin: 0;
  font-family: var(--shellb343e-display);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--shellb343e-amber);
  letter-spacing: 0.2px;
}

.shellb343e-cathead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 3px solid var(--shellb343e-flame);
}

.shellb343e-count {
  padding: 1px 7px;
  border: 1px solid var(--shellb343e-line2);
  border-radius: 10px;
  color: var(--shellb343e-dim);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.shellb343e-catnote {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--shellb343e-dim);
}

/* ---------- Game category sections ---------- */
.shellb343e-cat {
  margin-bottom: 22px;
}

/* 4 columns at 320px, 5 columns from 390px up */
.shellb343e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 390px) {
  .shellb343e-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.shellb343e-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shellb343e-game:hover {
  border-color: var(--shellb343e-amber);
}

.shellb343e-game:active {
  transform: scale(0.93);
}

.shellb343e-game-ico {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shellb343e-panel2);
}

.shellb343e-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  padding: 0 4px 5px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shellb343e-dim);
  text-align: center;
}

.shellb343e-related {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px dashed var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  font-size: 11.5px;
  color: var(--shellb343e-ash);
}

.shellb343e-related a {
  font-weight: 700;
}

/* ---------- Info modules (short-list rhythm panels) ---------- */
.shellb343e-modules {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.shellb343e-panel {
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius2);
  background: var(--shellb343e-panel);
  padding: 14px 12px;
}

.shellb343e-panel .shellb343e-h2 {
  margin-bottom: 8px;
}

.shellb343e-panel > p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--shellb343e-dim);
}

.shellb343e-sub {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--shellb343e-text);
}

.shellb343e-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shellb343e-list li {
  position: relative;
  margin: 0 0 8px;
  padding: 0 0 0 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shellb343e-dim);
}

.shellb343e-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--shellb343e-flame);
  border-radius: 1px;
}

.shellb343e-list li strong {
  color: var(--shellb343e-text);
}

.shellb343e-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: shellb343esteps;
}

.shellb343e-steps li {
  counter-increment: shellb343esteps;
  position: relative;
  margin: 0 0 8px;
  padding: 0 0 0 34px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shellb343e-dim);
}

.shellb343e-steps li::before {
  content: counter(shellb343esteps);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellb343e-flame);
  border-radius: 2px;
  color: var(--shellb343e-amber);
  font-size: 11px;
  font-weight: 800;
}

/* Pros / limitations two column block */
.shellb343e-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 360px) {
  .shellb343e-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.shellb343e-duo-col {
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
  padding: 10px;
}

.shellb343e-duo-h {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shellb343e-amber);
}

.shellb343e-duo-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shellb343e-duo-col li {
  margin: 0 0 6px;
  padding-left: 13px;
  position: relative;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shellb343e-dim);
}

.shellb343e-duo-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
}

.shellb343e-duo-col--plus li::before {
  background: var(--shellb343e-amber);
}

.shellb343e-duo-col--minus li::before {
  background: var(--shellb343e-ash);
}

/* Goal-based selection rows */
.shellb343e-pick {
  display: grid;
  gap: 8px;
}

.shellb343e-pickrow {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
  padding: 10px;
}

@media (min-width: 360px) {
  .shellb343e-pickrow {
    grid-template-columns: 118px 1fr;
    align-items: start;
    gap: 10px;
  }
}

.shellb343e-pick-h {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shellb343e-amber);
}

.shellb343e-pick-t {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--shellb343e-dim);
}

/* Comparison table */
.shellb343e-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.shellb343e-table th,
.shellb343e-table td {
  border: 1px solid var(--shellb343e-line);
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.shellb343e-table th {
  background: var(--shellb343e-panel2);
  color: var(--shellb343e-amber);
  font-weight: 800;
  white-space: nowrap;
}

.shellb343e-table td {
  color: var(--shellb343e-dim);
}

/* ---------- Extended footer (homepage only) ---------- */
.shellb343e-extended {
  margin-top: 22px;
  border-top: 2px solid var(--shellb343e-flame);
  background: var(--shellb343e-panel);
  padding: 16px 12px 14px;
}

.shellb343e-extitle {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shellb343e-amber);
}

.shellb343e-exttext {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--shellb343e-dim);
}

/* Five promo shortcuts: horizontal scroll of icon+label chips */
.shellb343e-promorow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.shellb343e-promorow::-webkit-scrollbar {
  display: none;
}

.shellb343e-promo {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 86px;
  min-height: 72px;
  padding: 10px 10px 8px;
  border: 1px solid var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
  color: var(--shellb343e-text);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shellb343e-promo:hover {
  border-color: var(--shellb343e-amber);
  color: var(--shellb343e-amber);
}

.shellb343e-promo:active {
  transform: scale(0.94);
}

.shellb343e-promo-ico {
  width: 22px;
  height: 22px;
  color: var(--shellb343e-flame);
}

.shellb343e-promo:hover .shellb343e-promo-ico,
.shellb343e-promo:active .shellb343e-promo-ico {
  color: var(--shellb343e-amber);
}

.shellb343e-promo-label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

/* Page directory */
.shellb343e-directory {
  margin-top: 14px;
}

.shellb343e-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shellb343e-dirlink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
  color: var(--shellb343e-dim);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.shellb343e-dirlink:hover {
  border-color: var(--shellb343e-amber);
  color: var(--shellb343e-amber);
}

.shellb343e-dirlink:active {
  transform: scale(0.97);
}

.shellb343e-disclaimer {
  margin: 14px 0 0;
  padding: 10px;
  border: 1px dashed var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--shellb343e-ash);
}

/* ---------- Universal footer ---------- */
.shellb343e-footer {
  border-top: 1px solid var(--shellb343e-line);
  padding: 14px 12px
    calc(var(--shellb343e-navh) + 12px + env(safe-area-inset-bottom));
  text-align: center;
}

.shellb343e-footcopy {
  margin: 0;
  font-size: 11px;
  color: var(--shellb343e-ash);
}

.shellb343e-footcopy strong {
  color: var(--shellb343e-dim);
}

/* ---------- Mobile bottom navigation (compact icon rack) ---------- */
.shellb343e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--shellb343e-navh);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--shellb343e-ink);
  border-top: 1px solid var(--shellb343e-line2);
}

.shellb343e-bn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shellb343e-navh);
  padding: 6px 2px 5px;
  border: 0;
  background: transparent;
  color: var(--shellb343e-dim);
  transition: transform 0.12s ease, color 0.12s ease;
}

.shellb343e-bn:active {
  transform: scale(0.9);
}

.shellb343e-bn-ico {
  width: 21px;
  height: 21px;
}

.shellb343e-bn-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.15;
}

.shellb343e-bn--promo .shellb343e-bn-label,
.shellb343e-bn--promo .shellb343e-bn-ico {
  color: var(--shellb343e-amber);
}

/* Active page: top indicator line */
.shellb343e-bn.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  background: var(--shellb343e-flame);
}

.shellb343e-bn.is-active {
  color: var(--shellb343e-amber);
}

.shellb343e-bn.is-active .shellb343e-bn-ico {
  color: var(--shellb343e-amber);
}

/* ---------- Utility ---------- */
.shellb343e-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Help-page patterns ---------- */
.shellb343e-pageintro {
  margin-bottom: 14px;
  padding: 16px 14px 15px;
  border: 1px solid var(--shellb343e-line);
  border-left: 3px solid var(--shellb343e-flame);
  border-radius: var(--shellb343e-radius2);
  background: linear-gradient(145deg, #2A241C 0%, var(--shellb343e-panel) 70%);
}

.shellb343e-pageintro .shellb343e-h1 {
  margin-bottom: 8px;
}

.shellb343e-pageintro p {
  margin: 0;
  color: var(--shellb343e-dim);
  font-size: 12.5px;
}

.shellb343e-pagekicker {
  display: inline-block;
  margin: 0 0 7px;
  color: var(--shellb343e-amber);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.shellb343e-anchorbar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 0 0 14px;
  padding: 2px 0 6px;
  scrollbar-width: none;
}

.shellb343e-anchorbar::-webkit-scrollbar {
  display: none;
}

.shellb343e-anchorbar a {
  flex: none;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel);
  color: var(--shellb343e-dim);
  font-size: 11.5px;
  font-weight: 700;
}

.shellb343e-route {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shellb343e-route-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
}

.shellb343e-route-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--shellb343e-flame);
  border-radius: 2px;
  color: var(--shellb343e-amber);
  font-size: 12px;
  font-weight: 800;
}

.shellb343e-route-step h3,
.shellb343e-signal h3,
.shellb343e-risk h3 {
  margin: 0 0 4px;
  color: var(--shellb343e-text);
  font-size: 13px;
  line-height: 1.35;
}

.shellb343e-route-step p,
.shellb343e-signal p,
.shellb343e-risk p {
  margin: 0;
  color: var(--shellb343e-dim);
  font-size: 12px;
  line-height: 1.6;
}

.shellb343e-gamepeek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.shellb343e-gamepeek a {
  min-width: 0;
  padding: 5px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
  color: var(--shellb343e-dim);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.shellb343e-gamepeek img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 4px;
  border-radius: 2px;
  object-fit: cover;
}

.shellb343e-rulebox {
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed var(--shellb343e-amber);
  border-radius: var(--shellb343e-radius);
  background: rgba(255, 183, 77, .06);
  color: var(--shellb343e-dim);
  font-size: 11.5px;
}

.shellb343e-linkrow {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.shellb343e-linkrow a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--shellb343e-line2);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel2);
  font-size: 11.5px;
  font-weight: 700;
}

.shellb343e-riskgrid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shellb343e-risk {
  position: relative;
  padding: 11px 10px 10px 42px;
  border: 1px solid var(--shellb343e-line);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-ink);
}

.shellb343e-riskmark {
  position: absolute;
  left: 10px;
  top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--shellb343e-flame);
  border-radius: 50%;
  color: var(--shellb343e-amber);
  font-size: 11px;
  font-weight: 800;
}

.shellb343e-checklist {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.shellb343e-checklist li {
  position: relative;
  padding: 9px 9px 9px 28px;
  border-bottom: 1px solid var(--shellb343e-line);
  color: var(--shellb343e-dim);
  font-size: 12px;
  line-height: 1.55;
}

.shellb343e-checklist li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--shellb343e-amber);
  font-weight: 900;
}

.shellb343e-signal {
  padding: 10px;
  border: 1px solid var(--shellb343e-line);
  border-top: 2px solid var(--shellb343e-flame);
  border-radius: var(--shellb343e-radius);
  background: var(--shellb343e-panel2);
}

.shellb343e-signal + .shellb343e-signal {
  margin-top: 8px;
}

.shellb343e-alert {
  margin-top: 10px;
  padding: 11px;
  border: 1px solid var(--shellb343e-flame);
  border-radius: var(--shellb343e-radius);
  background: rgba(230, 81, 0, .1);
  color: var(--shellb343e-text);
  font-size: 12px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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