/* ==========================================================================
   okay game — layers adaptive stylesheet
   File   : css/layers-adaptive-0bdb11.css
   Prefix : mobile0bdb1-
   Canvas : 320-430px phone frame, dark ink base, flame/amber accents,
            stroke-led cards, compact dual CTA groups.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --mobile0bdb1-ink: #1a1a2e;
  --mobile0bdb1-ink-deep: #101021;
  --mobile0bdb1-panel: #22223c;
  --mobile0bdb1-raise: #2a2a48;
  --mobile0bdb1-line: #3c3c62;
  --mobile0bdb1-line-soft: rgba(128, 128, 128, 0.32);
  --mobile0bdb1-line-amber: rgba(255, 152, 0, 0.42);
  --mobile0bdb1-text: #ecedf5;
  --mobile0bdb1-dim: #a9aec4;
  --mobile0bdb1-gray: #808080;
  --mobile0bdb1-flame: #ff4500;
  --mobile0bdb1-amber: #ff9800;
  --mobile0bdb1-radius: 8px;
  --mobile0bdb1-radius-lg: 12px;
  --mobile0bdb1-head-h: 104px;
  --mobile0bdb1-bnav-h: 62px;
  --mobile0bdb1-pad: 12px;
  --mobile0bdb1-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

body.mobile0bdb1-page {
  margin: 0;
  font-family: var(--mobile0bdb1-font);
  font-weight: 400;
  line-height: 1.55;
  color: var(--mobile0bdb1-text);
  background: var(--mobile0bdb1-ink-deep);
  overflow-x: hidden;
}

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

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

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

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

/* ---------- phone canvas ---------- */
.mobile0bdb1-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobile0bdb1-ink);
  border-left: 1px solid var(--mobile0bdb1-line);
  border-right: 1px solid var(--mobile0bdb1-line);
  position: relative;
}

main.mobile0bdb1-canvas {
  display: block;
  padding: calc(var(--mobile0bdb1-head-h) + env(safe-area-inset-top, 0px) + 8px)
    var(--mobile0bdb1-pad)
    calc(var(--mobile0bdb1-bnav-h) + env(safe-area-inset-bottom, 0px) + 30px);
}

/* ---------- fixed header: centered identity bar + action strip ---------- */
header.mobile0bdb1-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(20, 20, 38, 0.97);
  border-bottom: 1px solid var(--mobile0bdb1-line);
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile0bdb1-idRow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 56px;
  padding: 0 var(--mobile0bdb1-pad);
}

.mobile0bdb1-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.mobile0bdb1-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  object-fit: cover;
}

.mobile0bdb1-brandName {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--mobile0bdb1-text);
}

.mobile0bdb1-brandName em {
  font-style: normal;
  color: var(--mobile0bdb1-amber);
}

.mobile0bdb1-menuKnob {
  position: absolute;
  left: var(--mobile0bdb1-pad);
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-menuKnob span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.mobile0bdb1-menuKnob[aria-expanded="true"] {
  color: var(--mobile0bdb1-amber);
  border-color: var(--mobile0bdb1-line-amber);
}

/* compact dual CTA strip */
.mobile0bdb1-actRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 var(--mobile0bdb1-pad) 8px;
}

.mobile0bdb1-btn {
  min-height: 44px;
  border-radius: var(--mobile0bdb1-radius);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mobile0bdb1-btn:active {
  transform: translateY(-1px);
}

.mobile0bdb1-btnFlame {
  background: var(--mobile0bdb1-flame);
  border: 1px solid var(--mobile0bdb1-flame);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.35);
}

.mobile0bdb1-btnGhost {
  background: transparent;
  border: 1px solid var(--mobile0bdb1-line-amber);
  color: var(--mobile0bdb1-amber);
}

/* ---------- layered dropdown menu ---------- */
nav.mobile0bdb1-drop {
  position: fixed;
  top: calc(var(--mobile0bdb1-head-h) + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: var(--mobile0bdb1-panel);
  border-bottom: 1px solid var(--mobile0bdb1-line);
  border-top: 1px solid var(--mobile0bdb1-line);
  padding: 10px var(--mobile0bdb1-pad) 14px;
  visibility: hidden;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

nav.mobile0bdb1-drop.mobile0bdb1-dropOpen {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile0bdb1-dropLayer {
  padding: 8px 0;
}

.mobile0bdb1-dropLayer + .mobile0bdb1-dropLayer {
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-dropLabel {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile0bdb1-gray);
}

.mobile0bdb1-dropLinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

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

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

.mobile0bdb1-dropLink:hover,
.mobile0bdb1-dropLink:focus-visible {
  border-color: var(--mobile0bdb1-line-amber);
  text-decoration: none;
}

/* ---------- hero ---------- */
section.mobile0bdb1-hero {
  padding: 6px 2px 4px;
}

.mobile0bdb1-heroKick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobile0bdb1-amber);
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 0 10px;
}

.mobile0bdb1-heroKick::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile0bdb1-flame);
}

h1.mobile0bdb1-heroTitle {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.3px;
}

h1.mobile0bdb1-heroTitle em {
  font-style: normal;
  color: var(--mobile0bdb1-amber);
}

.mobile0bdb1-heroLead {
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-heroLead strong {
  font-weight: 700;
  color: var(--mobile0bdb1-text);
}

.mobile0bdb1-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile0bdb1-duo .mobile0bdb1-btnLink {
  background: transparent;
  border: 1px solid var(--mobile0bdb1-line-amber);
  color: var(--mobile0bdb1-amber);
}

/* ---------- three-step strip ---------- */
section.mobile0bdb1-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 16px;
}

.mobile0bdb1-step {
  border: 1px solid var(--mobile0bdb1-line);
  border-left: 3px solid var(--mobile0bdb1-flame);
  border-radius: var(--mobile0bdb1-radius);
  background: var(--mobile0bdb1-panel);
  padding: 8px;
  min-width: 0;
}

.mobile0bdb1-step b {
  display: block;
  font-size: 11px;
  color: var(--mobile0bdb1-amber);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mobile0bdb1-step span {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--mobile0bdb1-dim);
}

/* ---------- banner carousel ---------- */
section.mobile0bdb1-banners {
  margin: 0 0 18px;
}

.mobile0bdb1-rail {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 2;
  border-radius: var(--mobile0bdb1-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mobile0bdb1-line);
  background: var(--mobile0bdb1-panel);
}

button.mobile0bdb1-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--mobile0bdb1-panel);
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  visibility: hidden;
}

button.mobile0bdb1-slide.mobile0bdb1-slideOn {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

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

.mobile0bdb1-slideTag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  background: rgba(16, 16, 33, 0.86);
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile0bdb1-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile0bdb1-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.mobile0bdb1-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--mobile0bdb1-line);
  background: var(--mobile0bdb1-raise);
}

.mobile0bdb1-dot.mobile0bdb1-dotOn {
  background: var(--mobile0bdb1-flame);
  border-color: var(--mobile0bdb1-flame);
}

/* ---------- shelf sections (game areas) ---------- */
section.mobile0bdb1-shelf {
  margin: 0 0 22px;
}

.mobile0bdb1-shelfHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid var(--mobile0bdb1-line);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

h2.mobile0bdb1-shelfTitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.mobile0bdb1-chip {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--mobile0bdb1-amber);
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 999px;
  padding: 2px 8px;
}

.mobile0bdb1-shelfNote {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-shelfNote a {
  font-weight: 600;
}

/* game grid: 4 columns on 320px phones */
.mobile0bdb1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

button.mobile0bdb1-tile {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mobile0bdb1-text);
  min-width: 0;
  text-align: center;
  -webkit-tap-highlight-color: rgba(255, 152, 0, 0.15);
}

.mobile0bdb1-tileArt {
  display: block;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  background: var(--mobile0bdb1-raise);
  padding: 3px;
  transition: transform 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.mobile0bdb1-tileArt img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

button.mobile0bdb1-tile:active .mobile0bdb1-tileArt,
button.mobile0bdb1-tile:hover .mobile0bdb1-tileArt {
  transform: translateY(-3px);
  border-color: var(--mobile0bdb1-line-amber);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.mobile0bdb1-tileName {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobile0bdb1-dim);
  overflow-wrap: anywhere;
}

/* ---------- reading modules ---------- */
article.mobile0bdb1-module {
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius-lg);
  background: var(--mobile0bdb1-panel);
  padding: 14px 12px;
  margin: 0 0 14px;
}

article.mobile0bdb1-module h2 {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
}

article.mobile0bdb1-module > p {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

article.mobile0bdb1-module > p strong {
  font-weight: 700;
  color: var(--mobile0bdb1-text);
}

/* compact metric rows: marker + label + short explanation */
.mobile0bdb1-metric {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-metric::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border: 2px solid var(--mobile0bdb1-amber);
  border-radius: 2px;
}

.mobile0bdb1-metric b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--mobile0bdb1-text);
  letter-spacing: 0.2px;
}

.mobile0bdb1-metric span,
.mobile0bdb1-metric p {
  display: block;
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

/* numbered checklist */
.mobile0bdb1-check {
  counter-reset: mobile0bdb1-check;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile0bdb1-check li {
  counter-increment: mobile0bdb1-check;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-check li::before {
  content: counter(mobile0bdb1-check, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mobile0bdb1-amber);
}

.mobile0bdb1-check li b {
  font-weight: 700;
  color: var(--mobile0bdb1-text);
}

/* relation rows: from -> to */
.mobile0bdb1-rel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-rel b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--mobile0bdb1-amber);
  letter-spacing: 0.2px;
}

.mobile0bdb1-rel b i {
  font-style: normal;
  color: var(--mobile0bdb1-flame);
  padding: 0 4px;
}

.mobile0bdb1-rel span {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

/* folded question rows */
.mobile0bdb1-qa {
  margin-top: 10px;
  border-top: 2px solid var(--mobile0bdb1-line);
  padding-top: 6px;
}

.mobile0bdb1-qa h3 {
  margin: 8px 0 2px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--mobile0bdb1-text);
}

.mobile0bdb1-qa h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 4px;
  background: var(--mobile0bdb1-flame);
  color: #ffffff;
  font-size: 10px;
  vertical-align: 1px;
}

.mobile0bdb1-qa p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-qa p strong {
  font-weight: 700;
  color: var(--mobile0bdb1-text);
}

/* inline promo link styled as text button */
button.mobile0bdb1-inline {
  background: none;
  border: 0;
  padding: 0;
  color: var(--mobile0bdb1-amber);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  min-height: 24px;
}

/* ---------- extended footer (homepage only) ---------- */
section.mobile0bdb1-extend {
  margin-top: 20px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius-lg);
  background: linear-gradient(180deg, #23233f 0%, #1d1d35 100%);
  padding: 14px 12px;
}

.mobile0bdb1-extendBrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-extendBrand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  object-fit: cover;
  flex: none;
}

.mobile0bdb1-extendBrand p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-extendTag {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--mobile0bdb1-text);
  margin-bottom: 2px;
}

.mobile0bdb1-extendLabel {
  margin: 12px 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile0bdb1-gray);
}

/* two-column page directory */
.mobile0bdb1-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile0bdb1-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 9px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  background: var(--mobile0bdb1-panel);
  color: var(--mobile0bdb1-text);
  font-size: 12px;
  font-weight: 600;
}

.mobile0bdb1-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--mobile0bdb1-amber);
}

.mobile0bdb1-dir a:hover,
.mobile0bdb1-dir a:focus-visible {
  border-color: var(--mobile0bdb1-line-amber);
  text-decoration: none;
}

/* six promo entries: icon plus text label */
.mobile0bdb1-promoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

button.mobile0bdb1-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: var(--mobile0bdb1-radius);
  background: rgba(255, 69, 0, 0.12);
  color: var(--mobile0bdb1-text);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.15s ease, background 0.15s ease;
}

button.mobile0bdb1-promo:active {
  transform: translateY(-1px);
  background: rgba(255, 69, 0, 0.22);
}

button.mobile0bdb1-promo svg {
  flex: none;
  color: var(--mobile0bdb1-flame);
}

button.mobile0bdb1-promo span {
  min-width: 0;
}

/* responsible entertainment note */
.mobile0bdb1-disclaimer {
  margin: 12px 0 0;
  padding: 10px;
  border: 1px dashed var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--mobile0bdb1-gray);
}

/* ---------- common footer: copyright only ---------- */
footer.mobile0bdb1-foot {
  text-align: center;
  padding: 4px var(--mobile0bdb1-pad) 12px;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--mobile0bdb1-gray);
}

/* ---------- fixed bottom nav ---------- */
nav.mobile0bdb1-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, minmax(0, 1fr));
  height: calc(var(--mobile0bdb1-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(18, 18, 34, 0.97);
  border-top: 1px solid var(--mobile0bdb1-line-amber);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile0bdb1-bnavGlide {
  position: absolute;
  top: -1px;
  height: 3px;
  width: 20%;
  background: linear-gradient(90deg, var(--mobile0bdb1-flame), var(--mobile0bdb1-amber));
  border-radius: 0 0 4px 4px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

a.mobile0bdb1-bnavItem,
button.mobile0bdb1-bnavItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: var(--mobile0bdb1-gray);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.mobile0bdb1-bnavItem svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.mobile0bdb1-bnavItem .mobile0bdb1-navDot {
  fill: none;
}

a.mobile0bdb1-bnavItem:hover,
button.mobile0bdb1-bnavItem:hover {
  color: var(--mobile0bdb1-dim);
}

.mobile0bdb1-bnavItem.mobile0bdb1-isOn {
  color: var(--mobile0bdb1-amber);
}

.mobile0bdb1-bnavItem.mobile0bdb1-isOn svg {
  transform: translateY(-1px);
}

.mobile0bdb1-bnavItem.mobile0bdb1-isOn .mobile0bdb1-navDot {
  fill: currentColor;
}

.mobile0bdb1-bnavItem.mobile0bdb1-isOn .mobile0bdb1-navFill {
  fill: currentColor;
  opacity: 0.35;
}

/* ---------- motion: reveal lift (JS-gated) ---------- */
.mobile0bdb1-js .mobile0bdb1-tile,
.mobile0bdb1-js article.mobile0bdb1-module,
.mobile0bdb1-js section.mobile0bdb1-shelf {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mobile0bdb1-js .mobile0bdb1-tile.mobile0bdb1-in,
.mobile0bdb1-js article.mobile0bdb1-module.mobile0bdb1-in,
.mobile0bdb1-js section.mobile0bdb1-shelf.mobile0bdb1-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive: 375px and up ---------- */
@media (min-width: 375px) {
  :root {
    --mobile0bdb1-pad: 14px;
  }

  h1.mobile0bdb1-heroTitle {
    font-size: 27px;
  }

  .mobile0bdb1-tileName {
    font-size: 10.5px;
  }

  .mobile0bdb1-heroLead {
    font-size: 15px;
  }
}

/* ---------- responsive: 400px and up, 5 game columns ---------- */
@media (min-width: 400px) {
  .mobile0bdb1-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- responsive: 430px canvas and wider desktops ---------- */
@media (min-width: 430px) {
  :root {
    --mobile0bdb1-pad: 16px;
  }

  .mobile0bdb1-shell {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  }

  h1.mobile0bdb1-heroTitle {
    font-size: 29px;
  }

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

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

  .mobile0bdb1-js .mobile0bdb1-tile,
  .mobile0bdb1-js article.mobile0bdb1-module,
  .mobile0bdb1-js section.mobile0bdb1-shelf {
    opacity: 1;
    transform: none;
  }
}

/* ---------- help pages: distinct field-note layouts ---------- */
.mobile0bdb1-helpIntro {
  padding: 6px 2px 18px;
  border-bottom: 1px solid var(--mobile0bdb1-line);
}

.mobile0bdb1-helpIntro h1 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.mobile0bdb1-helpIntro h1 em {
  color: var(--mobile0bdb1-amber);
  font-style: normal;
}

.mobile0bdb1-helpIntro p {
  margin: 0;
  color: var(--mobile0bdb1-dim);
  font-size: 14px;
  font-weight: 300;
}

.mobile0bdb1-signalRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 0;
}

.mobile0bdb1-signal {
  min-height: 72px;
  padding: 8px;
  border-top: 3px solid var(--mobile0bdb1-flame);
  border-right: 1px solid var(--mobile0bdb1-line);
  border-bottom: 1px solid var(--mobile0bdb1-line);
  border-left: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  background: var(--mobile0bdb1-panel);
}

.mobile0bdb1-signal b {
  display: block;
  margin-bottom: 3px;
  color: var(--mobile0bdb1-amber);
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mobile0bdb1-signal span {
  display: block;
  color: var(--mobile0bdb1-dim);
  font-size: 11.5px;
  line-height: 1.35;
}

.mobile0bdb1-fieldset {
  margin: 0 0 14px;
  padding: 13px 12px 11px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius-lg);
  background: var(--mobile0bdb1-panel);
}

.mobile0bdb1-fieldset h2,
.mobile0bdb1-route h2,
.mobile0bdb1-questionRail h2,
.mobile0bdb1-compare h2,
.mobile0bdb1-scene h2 {
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
}

.mobile0bdb1-fieldset > p,
.mobile0bdb1-route > p,
.mobile0bdb1-questionRail > p,
.mobile0bdb1-compare > p,
.mobile0bdb1-scene > p {
  margin: 0 0 9px;
  color: var(--mobile0bdb1-dim);
  font-size: 13px;
  font-weight: 300;
}

.mobile0bdb1-branch {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-branch::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid var(--mobile0bdb1-amber);
  border-radius: 50%;
}

.mobile0bdb1-branch b,
.mobile0bdb1-routeStep b,
.mobile0bdb1-fault b,
.mobile0bdb1-sceneRow b {
  color: var(--mobile0bdb1-text);
  font-size: 12.5px;
  font-weight: 800;
}

.mobile0bdb1-branch span,
.mobile0bdb1-routeStep span,
.mobile0bdb1-fault span,
.mobile0bdb1-sceneRow span {
  display: block;
  margin-top: 2px;
  color: var(--mobile0bdb1-dim);
  font-size: 12.5px;
  font-weight: 300;
}

.mobile0bdb1-route {
  margin: 0 0 14px;
  padding: 14px 12px 12px;
  border-left: 3px solid var(--mobile0bdb1-amber);
  border-top: 1px solid var(--mobile0bdb1-line);
  border-right: 1px solid var(--mobile0bdb1-line);
  border-bottom: 1px solid var(--mobile0bdb1-line);
  border-radius: 0 var(--mobile0bdb1-radius-lg) var(--mobile0bdb1-radius-lg) 0;
  background: linear-gradient(90deg, rgba(255, 152, 0, 0.1), var(--mobile0bdb1-panel));
}

.mobile0bdb1-routeMap {
  display: flex;
  gap: 4px;
  align-items: stretch;
  margin: 11px 0 12px;
}

.mobile0bdb1-routeMark {
  flex: 1;
  min-width: 0;
  padding: 7px 4px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 6px;
  color: var(--mobile0bdb1-amber);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.mobile0bdb1-routeArrow {
  display: inline-flex;
  align-items: center;
  color: var(--mobile0bdb1-flame);
  font-weight: 800;
}

.mobile0bdb1-routeStep {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-routeNo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--mobile0bdb1-flame);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.mobile0bdb1-fault {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-fault b::before {
  content: "Check";
  display: inline-block;
  margin-right: 6px;
  padding: 2px 5px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: 4px;
  color: var(--mobile0bdb1-amber);
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mobile0bdb1-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.mobile0bdb1-splitBox {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius);
  background: var(--mobile0bdb1-raise);
}

.mobile0bdb1-splitBox h3 {
  margin: 0 0 5px;
  color: var(--mobile0bdb1-amber);
  font-size: 12px;
}

.mobile0bdb1-splitBox p {
  margin: 0;
  color: var(--mobile0bdb1-dim);
  font-size: 12px;
  line-height: 1.45;
}

.mobile0bdb1-promptBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 10px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: var(--mobile0bdb1-radius);
  background: rgba(255, 69, 0, 0.1);
}

.mobile0bdb1-promptBar span {
  color: var(--mobile0bdb1-dim);
  font-size: 12px;
}

.mobile0bdb1-promptBar button {
  flex: none;
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid var(--mobile0bdb1-flame);
  border-radius: 6px;
  background: var(--mobile0bdb1-flame);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.mobile0bdb1-questionRail details {
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-questionRail summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--mobile0bdb1-text);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
}

.mobile0bdb1-questionRail details p {
  margin: -2px 0 10px;
  color: var(--mobile0bdb1-dim);
  font-size: 12.5px;
  font-weight: 300;
}

.mobile0bdb1-compare {
  margin: 0 0 14px;
  padding: 13px 12px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius-lg);
  background: var(--mobile0bdb1-ink-deep);
}

.mobile0bdb1-compareRow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-compareRow b {
  color: var(--mobile0bdb1-amber);
  font-size: 12px;
}

.mobile0bdb1-compareRow span {
  color: var(--mobile0bdb1-dim);
  font-size: 12px;
  line-height: 1.4;
}

.mobile0bdb1-scene {
  margin: 0 0 14px;
  padding: 13px 12px;
  border: 1px solid var(--mobile0bdb1-line);
  border-radius: var(--mobile0bdb1-radius-lg);
  background: var(--mobile0bdb1-panel);
}

.mobile0bdb1-sceneRow {
  padding: 9px 0;
  border-top: 1px dashed var(--mobile0bdb1-line);
}

.mobile0bdb1-actionLine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px;
}

.mobile0bdb1-actionLine button {
  min-height: 44px;
  border: 1px solid var(--mobile0bdb1-line-amber);
  border-radius: var(--mobile0bdb1-radius);
  background: transparent;
  color: var(--mobile0bdb1-amber);
  font-size: 12px;
  font-weight: 800;
}

.mobile0bdb1-actionLine button:first-child {
  border-color: var(--mobile0bdb1-flame);
  background: var(--mobile0bdb1-flame);
  color: #ffffff;
}

@media (min-width: 375px) {
  .mobile0bdb1-helpIntro h1 {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile0bdb1-promptBar button,
  .mobile0bdb1-actionLine button {
    transition: none;
  }
}
