/* ============================================================
   tongits co - compact-dc2ed7-layers.css
   Mobile-first layer stack for the tongits co lobby.
   Canvas: 320-430px phone frame, centered on wide screens.
   Class prefix: mobile2ed74-
   Palette: #E65100 ember / #0A0A0A ink / #BF360C flame
   Direction: mono accents + regular body, mixed radii,
   horizontal icon-name game bars, state-color-only motion.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --mobile2ed74-bg: #0a0a0a;
  --mobile2ed74-panel: #17120f;
  --mobile2ed74-panel-2: #1f1813;
  --mobile2ed74-panel-3: #271d16;
  --mobile2ed74-ember: #e65100;
  --mobile2ed74-ember-soft: #f57c3d;
  --mobile2ed74-flame: #bf360c;
  --mobile2ed74-cream: #f6e9dc;
  --mobile2ed74-sand: #c9b29a;
  --mobile2ed74-line: #2c221b;
  --mobile2ed74-line-soft: #241c17;
  --mobile2ed74-glow: rgba(230, 81, 0, 0.16);
  --mobile2ed74-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobile2ed74-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --mobile2ed74-r-chip: 6px;
  --mobile2ed74-r-btn: 9px;
  --mobile2ed74-r-bar: 12px;
  --mobile2ed74-r-card: 16px;
  --mobile2ed74-topbar-h: 102px;
  --mobile2ed74-bnav-h: 62px;
  --mobile2ed74-safe: env(safe-area-inset-bottom, 0px);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #040404;
  color: var(--mobile2ed74-cream);
  font-family: var(--mobile2ed74-font-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

a { color: var(--mobile2ed74-ember-soft); }

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

/* ---------- phone canvas ---------- */
.mobile2ed74-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobile2ed74-bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
}

@media (min-width: 760px) {
  .mobile2ed74-canvas {
    border-left: 1px solid var(--mobile2ed74-line);
    border-right: 1px solid var(--mobile2ed74-line);
  }
}

/* ---------- fixed top bar (tab style) ---------- */
.mobile2ed74-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--mobile2ed74-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobile2ed74-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  min-height: 60px;
}

.mobile2ed74-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  text-decoration: none;
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #3d2d21;
  background: #000;
}

.mobile2ed74-brandname {
  font-family: var(--mobile2ed74-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mobile2ed74-brandname::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--mobile2ed74-ember);
  vertical-align: 1px;
}

.mobile2ed74-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile2ed74-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--mobile2ed74-r-btn);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile2ed74-btn-register {
  background: var(--mobile2ed74-ember);
  color: #190a03;
}

.mobile2ed74-btn-register:hover,
.mobile2ed74-btn-register:focus-visible {
  background: var(--mobile2ed74-ember-soft);
}

.mobile2ed74-btn-login {
  border: 1px solid var(--mobile2ed74-ember);
  color: var(--mobile2ed74-ember-soft);
}

.mobile2ed74-btn-login:hover,
.mobile2ed74-btn-login:focus-visible {
  background: var(--mobile2ed74-glow);
}

.mobile2ed74-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mobile2ed74-line);
  border-radius: var(--mobile2ed74-r-btn);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mobile2ed74-menubtn:hover,
.mobile2ed74-menubtn:focus-visible {
  border-color: var(--mobile2ed74-ember);
  background: var(--mobile2ed74-glow);
}

.mobile2ed74-menubtn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--mobile2ed74-cream);
}

/* category tab strip */
.mobile2ed74-tabstrip {
  display: flex;
  gap: 6px;
  padding: 6px 10px 9px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.mobile2ed74-tab {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--mobile2ed74-line);
  border-radius: 999px;
  background: var(--mobile2ed74-panel);
  color: var(--mobile2ed74-sand);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.mobile2ed74-tab:hover { color: var(--mobile2ed74-cream); }

.mobile2ed74-tab-on,
.mobile2ed74-tab-on:hover {
  background: var(--mobile2ed74-ember);
  border-color: var(--mobile2ed74-ember);
  color: #190a03;
}

/* ---------- main flow ---------- */
.mobile2ed74-main {
  padding: calc(var(--mobile2ed74-topbar-h) + 12px) 12px 24px;
}

.mobile2ed74-sec {
  margin: 0 0 30px;
  scroll-margin-top: calc(var(--mobile2ed74-topbar-h) + 10px);
}

.mobile2ed74-kicker {
  display: block;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mobile2ed74-ember-soft);
  margin: 0 0 7px;
}

.mobile2ed74-kicker::before { content: "// "; color: var(--mobile2ed74-flame); }

.mobile2ed74-pagetitle {
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.mobile2ed74-sec-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 750;
  margin: 0 0 8px;
}

.mobile2ed74-lede,
.mobile2ed74-copy {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--mobile2ed74-sand);
  margin: 0 0 10px;
}

.mobile2ed74-copy strong,
.mobile2ed74-lede strong { color: var(--mobile2ed74-cream); }

.mobile2ed74-moreline {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mobile2ed74-sand);
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--mobile2ed74-line);
  border-left: 3px solid var(--mobile2ed74-ember);
  border-radius: var(--mobile2ed74-r-chip);
  background: rgba(23, 18, 15, 0.6);
}

.mobile2ed74-moreline a {
  color: var(--mobile2ed74-ember-soft);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

/* ---------- hero carousel ---------- */
.mobile2ed74-hero {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--mobile2ed74-r-card);
  overflow: hidden;
  border: 1px solid var(--mobile2ed74-line);
  background: var(--mobile2ed74-panel);
  margin: 0 0 22px;
  touch-action: pan-y;
}

.mobile2ed74-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  text-align: left;
}

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

.mobile2ed74-hero-on {
  opacity: 1;
  pointer-events: auto;
}

.mobile2ed74-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 26px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 78%);
  color: var(--mobile2ed74-cream);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.mobile2ed74-hero-cap em {
  display: block;
  font-style: normal;
  color: var(--mobile2ed74-ember-soft);
}

.mobile2ed74-hero-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.mobile2ed74-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(246, 233, 220, 0.4);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.mobile2ed74-dot-on {
  width: 16px;
  background: var(--mobile2ed74-ember);
}

/* ---------- CTA groups ---------- */
.mobile2ed74-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mobile2ed74-cta {
  flex: 1 1 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--mobile2ed74-r-btn);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile2ed74-cta-ember {
  background: var(--mobile2ed74-ember);
  color: #190a03;
}

.mobile2ed74-cta-ember:hover,
.mobile2ed74-cta-ember:focus-visible { background: var(--mobile2ed74-ember-soft); }

.mobile2ed74-cta-line {
  border: 1px solid var(--mobile2ed74-flame);
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-cta-line:hover,
.mobile2ed74-cta-line:focus-visible {
  background: var(--mobile2ed74-glow);
  border-color: var(--mobile2ed74-ember);
}

/* ---------- game bars (horizontal icon-name rows) ---------- */
.mobile2ed74-gamegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

@media (min-width: 430px) {
  .mobile2ed74-gamegrid { gap: 10px; }
}

.mobile2ed74-game {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 7px 8px;
  background: var(--mobile2ed74-panel);
  border: 1px solid var(--mobile2ed74-line-soft);
  border-radius: var(--mobile2ed74-r-bar);
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile2ed74-game:hover,
.mobile2ed74-game:focus-visible {
  background: var(--mobile2ed74-panel-2);
  border-color: var(--mobile2ed74-ember);
}

.mobile2ed74-game-img {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
  background: #000;
}

@media (min-width: 430px) {
  .mobile2ed74-game-img { flex-basis: 52px; width: 52px; height: 52px; }
}

.mobile2ed74-game-name {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--mobile2ed74-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ---------- tricks rows ---------- */
.mobile2ed74-tiprow {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px dashed var(--mobile2ed74-line);
}

.mobile2ed74-tiprow:first-of-type { border-top: 0; padding-top: 2px; }

.mobile2ed74-tipnum {
  font-family: var(--mobile2ed74-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile2ed74-ember-soft);
  border: 1px solid var(--mobile2ed74-line);
  border-radius: var(--mobile2ed74-r-chip);
  background: var(--mobile2ed74-panel);
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile2ed74-tiprow p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-tiprow strong { color: var(--mobile2ed74-cream); }

/* ---------- feature cells ---------- */
.mobile2ed74-featgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mobile2ed74-featcell {
  padding: 11px 11px 12px;
  background: var(--mobile2ed74-panel);
  border: 1px solid var(--mobile2ed74-line-soft);
  border-left: 3px solid var(--mobile2ed74-ember);
  border-radius: 4px var(--mobile2ed74-r-bar) var(--mobile2ed74-r-bar) 4px;
}

.mobile2ed74-featcell h3 {
  margin: 0 0 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-featcell p {
  margin: 0;
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-featcell a {
  color: var(--mobile2ed74-ember-soft);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.mobile2ed74-featgrid .mobile2ed74-featcell:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ---------- quote cards ---------- */
.mobile2ed74-quote {
  margin: 10px 0 0;
  padding: 12px 13px;
  background: var(--mobile2ed74-panel);
  border: 1px solid var(--mobile2ed74-line-soft);
  border-radius: 14px 5px 14px 5px;
}

.mobile2ed74-quote p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.6;
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-quote p::before {
  content: "> ";
  font-family: var(--mobile2ed74-font-mono);
  color: var(--mobile2ed74-ember);
  font-weight: 700;
}

.mobile2ed74-quote cite {
  display: block;
  margin-top: 7px;
  font-style: normal;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--mobile2ed74-sand);
}

/* ---------- achievement milestones ---------- */
.mobile2ed74-milerow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--mobile2ed74-line-soft);
}

.mobile2ed74-milerow:first-of-type { border-top: 0; padding-top: 2px; }

.mobile2ed74-milecode {
  flex: 0 0 auto;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mobile2ed74-ember-soft);
  border: 1px solid var(--mobile2ed74-flame);
  border-radius: var(--mobile2ed74-r-chip);
  padding: 4px 6px;
  white-space: nowrap;
}

.mobile2ed74-milerow p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-milerow strong { color: var(--mobile2ed74-cream); }

/* ---------- fact + checklist rows ---------- */
.mobile2ed74-factrow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--mobile2ed74-line);
}

.mobile2ed74-factrow:first-of-type { border-top: 0; }

.mobile2ed74-factrow dt {
  margin: 0;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mobile2ed74-ember-soft);
  padding-top: 2px;
}

.mobile2ed74-factrow dd {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-factrow a,
.mobile2ed74-checkrow a {
  color: var(--mobile2ed74-ember-soft);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.mobile2ed74-checkrow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--mobile2ed74-line-soft);
}

.mobile2ed74-checkrow:first-of-type { border-top: 0; }

.mobile2ed74-checknum {
  flex: 0 0 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--mobile2ed74-ember);
  color: var(--mobile2ed74-ember-soft);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.mobile2ed74-checkrow p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-checkrow strong { color: var(--mobile2ed74-cream); }

/* ---------- scenario Q&A ---------- */
.mobile2ed74-qa {
  margin: 12px 0 0;
  padding: 12px 13px;
  background: var(--mobile2ed74-panel);
  border: 1px solid var(--mobile2ed74-line-soft);
  border-radius: var(--mobile2ed74-r-bar);
}

.mobile2ed74-qa h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-qa h3::before {
  content: "? ";
  font-family: var(--mobile2ed74-font-mono);
  color: var(--mobile2ed74-ember);
}

.mobile2ed74-qa p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.6;
  color: var(--mobile2ed74-sand);
}

/* ---------- homepage extended footer ---------- */
.mobile2ed74-ext {
  margin-top: 30px;
  padding: 20px 12px 6px;
  border-top: 1px solid var(--mobile2ed74-line);
}

.mobile2ed74-ext-label {
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mobile2ed74-ember-soft);
  margin: 0 0 8px;
}

.mobile2ed74-ext-brand {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-ext-promos {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.mobile2ed74-ext-promos::-webkit-scrollbar { display: none; }

.mobile2ed74-shortcut {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--mobile2ed74-flame);
  border-radius: var(--mobile2ed74-r-btn);
  color: var(--mobile2ed74-cream);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile2ed74-shortcut:first-child {
  background: var(--mobile2ed74-ember);
  border-color: var(--mobile2ed74-ember);
  color: #190a03;
}

.mobile2ed74-shortcut:hover,
.mobile2ed74-shortcut:focus-visible {
  border-color: var(--mobile2ed74-ember);
  background: var(--mobile2ed74-glow);
}

.mobile2ed74-shortcut:first-child:hover,
.mobile2ed74-shortcut:first-child:focus-visible {
  background: var(--mobile2ed74-ember-soft);
}

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

.mobile2ed74-ext-dir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--mobile2ed74-line);
  color: var(--mobile2ed74-cream);
  font-size: 12.4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile2ed74-ext-dir a::after {
  content: ">";
  font-family: var(--mobile2ed74-font-mono);
  color: var(--mobile2ed74-flame);
  font-weight: 700;
}

.mobile2ed74-ext-dir a:hover,
.mobile2ed74-ext-dir a:focus-visible { color: var(--mobile2ed74-ember-soft); }

.mobile2ed74-ext-disc {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(191, 54, 12, 0.08);
  border-left: 3px solid var(--mobile2ed74-flame);
  border-radius: var(--mobile2ed74-r-chip);
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobile2ed74-sand);
}

/* ---------- footer ---------- */
.mobile2ed74-footer {
  padding: 18px 12px calc(var(--mobile2ed74-bnav-h) + var(--mobile2ed74-safe) + 22px);
  text-align: center;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--mobile2ed74-sand);
}

/* ---------- fixed bottom nav (layered bar) ---------- */
.mobile2ed74-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--mobile2ed74-bnav-h);
  background: rgba(13, 10, 9, 0.98);
  border-top: 1px solid var(--mobile2ed74-line);
  padding-bottom: var(--mobile2ed74-safe);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobile2ed74-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobile2ed74-bnav-h);
  color: var(--mobile2ed74-sand);
  text-decoration: none;
  padding: 6px 2px 7px;
  transition: color 0.2s ease;
}

.mobile2ed74-bnav-item svg {
  width: 21px;
  height: 21px;
}

.mobile2ed74-bnav-label {
  font-family: var(--mobile2ed74-font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile2ed74-bnav-item:hover { color: var(--mobile2ed74-cream); }

.mobile2ed74-bnav-promo .mobile2ed74-bnav-label { color: var(--mobile2ed74-ember-soft); }

.mobile2ed74-bnav-promo svg { color: var(--mobile2ed74-ember-soft); }

.mobile2ed74-bnav-on { color: var(--mobile2ed74-ember); }

.mobile2ed74-bnav-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--mobile2ed74-ember);
}

/* ---------- slide-up route panel ---------- */
.mobile2ed74-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 3, 2, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.mobile2ed74-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 103%);
  width: 100%;
  max-width: 430px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 90;
  background: #130e0b;
  border: 1px solid var(--mobile2ed74-line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(16px + var(--mobile2ed74-safe));
  transition: transform 0.28s ease;
}

.mobile2ed74-menu-on {
  transform: translate(-50%, 0);
}

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

.mobile2ed74-menu-title {
  font-family: var(--mobile2ed74-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mobile2ed74-cream);
  margin: 0;
}

.mobile2ed74-menu-title span { color: var(--mobile2ed74-ember-soft); }

.mobile2ed74-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile2ed74-line);
  border-radius: var(--mobile2ed74-r-btn);
  font-family: var(--mobile2ed74-font-mono);
  font-size: 15px;
  color: var(--mobile2ed74-cream);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mobile2ed74-menu-close:hover,
.mobile2ed74-menu-close:focus-visible {
  border-color: var(--mobile2ed74-ember);
  background: var(--mobile2ed74-glow);
}

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

.mobile2ed74-menu-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 48px;
  justify-content: center;
  padding: 8px 11px;
  background: var(--mobile2ed74-panel);
  border: 1px solid var(--mobile2ed74-line-soft);
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile2ed74-menu-link:hover,
.mobile2ed74-menu-link:focus-visible {
  background: var(--mobile2ed74-panel-2);
  border-color: var(--mobile2ed74-ember);
}

.mobile2ed74-menu-link b {
  font-size: 12.6px;
  font-weight: 700;
  color: var(--mobile2ed74-cream);
}

.mobile2ed74-menu-link i {
  font-style: normal;
  font-family: var(--mobile2ed74-font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mobile2ed74-sand);
}

.mobile2ed74-menu-cta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mobile2ed74-menu-cta .mobile2ed74-btn { flex: 1 1 50%; }

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

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
