/* ============================================================
   fun88 wave digital - mobile-first tokens & component system
   Prefix: mobile000d9-
   Palette: midnight navy + gold + warm beige + orange + sage
   ============================================================ */

:root {
  /* Color tokens (dark = backdrop, light = text) */
  --mobile000d9-c-night: #0F0F23;
  --mobile000d9-c-deep: #15162e;
  --mobile000d9-c-panel: #1b1d3a;
  --mobile000d9-c-panel-2: #232654;
  --mobile000d9-c-ink: #2a2d5e;
  --mobile000d9-c-gold: #FFD700;
  --mobile000d9-c-beige: #DEB887;
  --mobile000d9-c-amber: #FFB347;
  --mobile000d9-c-sage: #8FBC8F;
  --mobile000d9-c-paper: #FAFAFA;
  --mobile000d9-c-muted: #b9bcd8;
  --mobile000d9-c-faint: #8c8fb3;
  --mobile000d9-c-line: rgba(255, 215, 0, 0.18);
  --mobile000d9-c-line-soft: rgba(222, 184, 135, 0.16);
  --mobile000d9-c-glow: rgba(255, 215, 0, 0.35);
  --mobile000d9-c-overlay: rgba(8, 9, 24, 0.74);

  /* Typography */
  --mobile000d9-ff-base: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  --mobile000d9-ff-display: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

  /* Radius / shadow / spacing */
  --mobile000d9-r-pill: 999px;
  --mobile000d9-r-card: 16px;
  --mobile000d9-r-chip: 12px;
  --mobile000d9-r-btn: 14px;
  --mobile000d9-shadow-soft: 0 10px 24px rgba(4, 5, 16, 0.38);
  --mobile000d9-shadow-float: 0 18px 40px rgba(4, 5, 16, 0.48);
  --mobile000d9-shadow-gold: 0 8px 22px rgba(255, 179, 71, 0.28);

  /* Layout guards */
  --mobile000d9-topbar-h: 60px;
  --mobile000d9-bottomnav-h: 66px;
  --mobile000d9-stage-max: 430px;
}

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

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

body {
  margin: 0;
  font-family: var(--mobile000d9-ff-base);
  color: var(--mobile000d9-c-paper);
  background: #05060f;
  background-image:
    radial-gradient(1100px 540px at 50% -8%, rgba(255, 179, 71, 0.18), transparent 60%),
    radial-gradient(900px 480px at 88% 6%, rgba(143, 188, 143, 0.10), transparent 62%),
    linear-gradient(180deg, #06070f 0%, #0a0b1c 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--mobile000d9-c-gold);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover { color: var(--mobile000d9-c-amber); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mobile000d9-c-gold);
  outline-offset: 2px;
}

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

h1, h2, h3, h4 {
  font-family: var(--mobile000d9-ff-display);
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.2px;
}

p { margin: 0 0 0.85em; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

li { margin: 0.28em 0; }

/* ============================================================
   Stage (centered phone canvas on wide screens)
   ============================================================ */
.mobile000d9-stage {
  width: 100%;
  max-width: var(--mobile000d9-stage-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(180deg, #0c0e22 0%, #0e1030 38%, #0b0d24 100%);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.05), var(--mobile000d9-shadow-float);
  overflow: hidden;
}

/* Wave divider utility */
.mobile000d9-wave {
  position: relative;
  height: 22px;
  background:
    radial-gradient(60% 100% at 20% 0%, transparent 70%, rgba(255, 215, 0, 0.10) 71%, transparent 72%),
    radial-gradient(60% 100% at 80% 0%, transparent 70%, rgba(255, 179, 71, 0.10) 71%, transparent 72%);
}

/* ============================================================
   Top bar (fixed functional header)
   ============================================================ */
.mobile000d9-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: var(--mobile000d9-topbar-h);
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.97), rgba(15, 15, 35, 0.86));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobile000d9-c-line);
}

.mobile000d9-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.mobile000d9-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--mobile000d9-c-line);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.10);
  flex-shrink: 0;
}

.mobile000d9-brand-name {
  font-family: var(--mobile000d9-ff-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--mobile000d9-c-paper);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile000d9-brand-name b {
  color: var(--mobile000d9-c-gold);
  font-weight: 800;
}

.mobile000d9-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile000d9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--mobile000d9-r-btn);
  transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.mobile000d9-btn:active { transform: scale(0.96); }

.mobile000d9-btn--solid {
  background: linear-gradient(135deg, var(--mobile000d9-c-gold) 0%, var(--mobile000d9-c-amber) 100%);
  color: #2a1d00;
  box-shadow: var(--mobile000d9-shadow-gold);
}

.mobile000d9-btn--ghost {
  background: rgba(255, 215, 0, 0.06);
  color: var(--mobile000d9-c-gold);
  border: 1px solid var(--mobile000d9-c-line);
}

.mobile000d9-btn--ghost:active { background: rgba(255, 215, 0, 0.14); }

.mobile000d9-iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid var(--mobile000d9-c-line);
  color: var(--mobile000d9-c-gold);
  transition: transform 0.14s ease, background 0.18s ease;
}

.mobile000d9-iconbtn:active { transform: scale(0.92); background: rgba(255, 215, 0, 0.16); }

.mobile000d9-iconbtn svg { width: 20px; height: 20px; }

/* ============================================================
   Slide drawer menu
   ============================================================ */
.mobile000d9-scrim {
  position: fixed;
  inset: 0;
  background: var(--mobile000d9-c-overlay);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 80;
}

.mobile000d9-scrim.is-open { opacity: 1; visibility: visible; }

.mobile000d9-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82vw, 340px);
  background: linear-gradient(180deg, #11132c 0%, #0c0e22 100%);
  border-left: 1px solid var(--mobile000d9-c-line);
  box-shadow: -22px 0 60px rgba(3, 4, 12, 0.55);
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.3, 1);
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile000d9-drawer.is-open { transform: translateX(0); }

.mobile000d9-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--mobile000d9-c-line-soft);
}

.mobile000d9-drawer-head .mobile000d9-brand-name { font-size: 15px; }

.mobile000d9-drawer-cta {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile000d9-drawer-nav {
  padding: 6px 12px 18px;
}

.mobile000d9-drawer-section-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile000d9-c-faint);
  padding: 14px 8px 6px;
  font-weight: 700;
}

.mobile000d9-drawer-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: 11px;
  color: var(--mobile000d9-c-paper);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.16s ease, transform 0.14s ease;
}

.mobile000d9-drawer-link:hover { background: rgba(255, 215, 0, 0.08); color: var(--mobile000d9-c-paper); }

.mobile000d9-drawer-link:active { transform: translateX(3px); }

.mobile000d9-drawer-link svg {
  width: 18px;
  height: 18px;
  color: var(--mobile000d9-c-gold);
  flex-shrink: 0;
}

.mobile000d9-drawer-foot {
  margin-top: auto;
  padding: 14px 18px 22px;
  font-size: 12px;
  color: var(--mobile000d9-c-faint);
  border-top: 1px solid var(--mobile000d9-c-line-soft);
}

/* ============================================================
   Page shell
   ============================================================ */
.mobile000d9-main {
  padding-bottom: calc(var(--mobile000d9-bottomnav-h) + 22px);
}

.mobile000d9-section {
  padding: 22px 14px 6px;
}

.mobile000d9-section + .mobile000d9-section { padding-top: 14px; }

.mobile000d9-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobile000d9-c-amber);
  padding: 5px 11px;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(255, 179, 71, 0.10);
  border: 1px solid rgba(255, 179, 71, 0.24);
}

.mobile000d9-section-title {
  font-size: 21px;
  font-weight: 800;
  margin: 12px 0 4px;
  color: var(--mobile000d9-c-paper);
}

.mobile000d9-section-title em {
  font-style: normal;
  color: var(--mobile000d9-c-gold);
}

.mobile000d9-section-sub {
  color: var(--mobile000d9-c-muted);
  font-size: 13.5px;
  margin: 0 0 4px;
}

/* ============================================================
   Hero carousel
   ============================================================ */
.mobile000d9-hero {
  padding: 14px 14px 4px;
}

.mobile000d9-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--mobile000d9-shadow-soft);
  border: 1px solid var(--mobile000d9-c-line);
  background: #0a0b1c;
}

.mobile000d9-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1);
  will-change: transform;
}

.mobile000d9-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 180px;
}

.mobile000d9-slide-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.mobile000d9-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 24, 0.10) 0%, rgba(8, 9, 24, 0.12) 40%, rgba(8, 9, 24, 0.82) 100%);
}

.mobile000d9-slide-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--mobile000d9-c-paper);
}

.mobile000d9-slide-caption .mobile000d9-slide-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 700;
  color: #2a1d00;
  background: var(--mobile000d9-c-gold);
  padding: 3px 9px;
  border-radius: var(--mobile000d9-r-pill);
  margin-bottom: 7px;
}

.mobile000d9-slide-caption h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mobile000d9-slide-caption p {
  font-size: 12px;
  margin: 0 0 9px;
  color: var(--mobile000d9-c-muted);
}

.mobile000d9-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--mobile000d9-c-gold), var(--mobile000d9-c-amber));
  color: #2a1d00;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--mobile000d9-r-pill);
  box-shadow: var(--mobile000d9-shadow-gold);
}

.mobile000d9-slide-cta:active { transform: scale(0.95); }

.mobile000d9-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 9, 24, 0.55);
  border: 1px solid var(--mobile000d9-c-line);
  color: var(--mobile000d9-c-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.mobile000d9-carousel-arrow svg { width: 16px; height: 16px; }

.mobile000d9-carousel-arrow--prev { left: 8px; }
.mobile000d9-carousel-arrow--next { right: 8px; }

.mobile000d9-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}

.mobile000d9-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.34);
  transition: background 0.18s ease, width 0.2s ease;
}

.mobile000d9-dot.is-active {
  background: var(--mobile000d9-c-gold);
  width: 18px;
  border-radius: var(--mobile000d9-r-pill);
}

/* ============================================================
   Category chips
   ============================================================ */
.mobile000d9-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
}

.mobile000d9-chips::-webkit-scrollbar { display: none; }

.mobile000d9-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid var(--mobile000d9-c-line);
  color: var(--mobile000d9-c-paper);
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.16s ease;
}

.mobile000d9-chip:active { transform: scale(0.94); }

.mobile000d9-chip svg { width: 15px; height: 15px; color: var(--mobile000d9-c-gold); }

/* ============================================================
   Intro block (H1 area)
   ============================================================ */
.mobile000d9-intro {
  padding: 18px 16px 4px;
}

.mobile000d9-intro h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: 0.1px;
}

.mobile000d9-intro h1 em {
  font-style: normal;
  color: var(--mobile000d9-c-gold);
}

.mobile000d9-lead {
  font-size: 14px;
  color: var(--mobile000d9-c-muted);
  margin: 0;
}

.mobile000d9-intro-cta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.mobile000d9-intro-cta .mobile000d9-btn { flex: 1; }

/* ============================================================
   Game section
   ============================================================ */
.mobile000d9-game-section {
  padding: 18px 14px 4px;
}

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

.mobile000d9-game-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mobile000d9-ff-display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--mobile000d9-c-paper);
}

.mobile000d9-game-title .mobile000d9-game-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(255, 179, 71, 0.12));
  border: 1px solid var(--mobile000d9-c-line);
  flex-shrink: 0;
}

.mobile000d9-game-title .mobile000d9-game-badge svg {
  width: 17px; height: 17px; color: var(--mobile000d9-c-gold);
}

.mobile000d9-game-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile000d9-c-faint);
  padding: 4px 9px;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(143, 188, 143, 0.10);
  border: 1px solid rgba(143, 188, 143, 0.22);
}

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

.mobile000d9-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, #1b1d3a 0%, #15172f 100%);
  border: 1px solid var(--mobile000d9-c-line-soft);
  border-radius: var(--mobile000d9-r-card);
  padding: 5px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.mobile000d9-card:active {
  transform: translateY(-3px) scale(0.985);
  box-shadow: var(--mobile000d9-shadow-soft);
  border-color: var(--mobile000d9-c-line);
}

.mobile000d9-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 11px;
  background: #0c0e22;
  margin-bottom: 5px;
}

.mobile000d9-card-name {
  font-size: 10.5px;
  line-height: 1.22;
  color: var(--mobile000d9-c-paper);
  font-weight: 600;
  padding: 2px 1px 3px;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   Module / info card
   ============================================================ */
.mobile000d9-module {
  margin: 0 14px 14px;
  background: linear-gradient(180deg, #16182f 0%, #11132a 100%);
  border: 1px solid var(--mobile000d9-c-line-soft);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--mobile000d9-shadow-soft);
}

.mobile000d9-module-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mobile000d9-c-sage);
  margin-bottom: 8px;
  display: inline-block;
}

.mobile000d9-module h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--mobile000d9-c-paper);
}

.mobile000d9-module h2 em {
  font-style: normal;
  color: var(--mobile000d9-c-gold);
}

.mobile000d9-module h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--mobile000d9-c-amber);
}

.mobile000d9-module p {
  color: var(--mobile000d9-c-muted);
  font-size: 13.5px;
}

.mobile000d9-module p strong { color: var(--mobile000d9-c-paper); }

.mobile000d9-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  display: grid;
  gap: 8px;
}

.mobile000d9-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 215, 0, 0.04);
  border: 1px solid var(--mobile000d9-c-line-soft);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--mobile000d9-c-paper);
  margin: 0;
  line-height: 1.45;
}

.mobile000d9-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--mobile000d9-c-gold), var(--mobile000d9-c-amber));
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.10);
}

/* Step list (numbered) */
.mobile000d9-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 10px 0 4px;
  display: grid;
  gap: 10px;
}

.mobile000d9-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.mobile000d9-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mobile000d9-c-gold), var(--mobile000d9-c-amber));
  color: #2a1d00;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mobile000d9-shadow-gold);
}

.mobile000d9-steps li > div { font-size: 13px; color: var(--mobile000d9-c-paper); line-height: 1.5; }
.mobile000d9-steps li strong { color: var(--mobile000d9-c-gold); display: block; margin-bottom: 2px; font-size: 13.5px; }

/* Inline body links */
.mobile000d9-bodylinks {
  margin: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile000d9-bodylinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile000d9-c-gold);
  padding: 7px 13px;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--mobile000d9-c-line);
  transition: transform 0.14s ease, background 0.16s ease;
}

.mobile000d9-bodylinks a:hover {
  background: rgba(255, 215, 0, 0.16);
  color: var(--mobile000d9-c-gold);
}

.mobile000d9-bodylinks a:active { transform: scale(0.95); }

/* Prose inline anchor */
.mobile000d9-prose a {
  color: var(--mobile000d9-c-amber);
  border-bottom: 1px dashed rgba(255, 179, 71, 0.5);
  padding-bottom: 1px;
}

.mobile000d9-prose a:hover { color: var(--mobile000d9-c-gold); border-bottom-color: var(--mobile000d9-c-gold); }

/* ============================================================
   Feature strip (icon + label compact rows)
   ============================================================ */
.mobile000d9-feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 6px 0 2px;
}

.mobile000d9-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(143, 188, 143, 0.06);
  border: 1px solid rgba(143, 188, 143, 0.20);
  border-radius: 13px;
  padding: 12px;
}

.mobile000d9-feature-ico {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(143, 188, 143, 0.30), rgba(143, 188, 143, 0.10));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mobile000d9-c-sage);
}

.mobile000d9-feature-ico svg { width: 16px; height: 16px; }

.mobile000d9-feature-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile000d9-c-paper);
  margin: 0 0 2px;
}

.mobile000d9-feature-text {
  font-size: 11.5px;
  color: var(--mobile000d9-c-muted);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   App download block
   ============================================================ */
.mobile000d9-app {
  margin: 0 14px 14px;
  border-radius: 20px;
  padding: 20px 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 179, 71, 0.18), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(143, 188, 143, 0.14), transparent 60%),
    linear-gradient(135deg, #1b1d3a 0%, #14162e 100%);
  border: 1px solid var(--mobile000d9-c-line);
  box-shadow: var(--mobile000d9-shadow-soft);
}

.mobile000d9-app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mobile000d9-app-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.mobile000d9-app-actions .mobile000d9-btn { flex: 1 1 auto; min-width: 130px; }

.mobile000d9-app-qrcode {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: var(--mobile000d9-c-paper);
  display: grid;
  place-items: center;
  margin: 4px auto 0;
  border: 3px solid var(--mobile000d9-c-gold);
}

/* QR placeholder pattern */
.mobile000d9-app-qrcode::before {
  content: "";
  width: 72px;
  height: 72px;
  background:
    linear-gradient(45deg, #0F0F23 25%, transparent 25%, transparent 75%, #0F0F23 75%),
    linear-gradient(45deg, #0F0F23 25%, transparent 25%, transparent 75%, #0F0F23 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  border-radius: 6px;
}

/* ============================================================
   Extended footer (homepage page directory)
   ============================================================ */
.mobile000d9-extfoot {
  margin: 8px 14px 16px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #14162e 0%, #0f1126 100%);
  border: 1px solid var(--mobile000d9-c-line-soft);
}

.mobile000d9-extfoot-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mobile000d9-c-amber);
  margin-bottom: 6px;
}

.mobile000d9-extfoot h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--mobile000d9-c-paper);
  margin: 0 0 8px;
}

.mobile000d9-extfoot h3 {
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mobile000d9-c-gold);
  margin: 16px 0 8px;
}

.mobile000d9-extfoot p {
  font-size: 13px;
  color: var(--mobile000d9-c-muted);
  margin: 0 0 6px;
}

.mobile000d9-linkgroup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.mobile000d9-linkgroup li { margin: 0; }

.mobile000d9-linkgroup a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mobile000d9-c-paper);
  background: rgba(255, 215, 0, 0.04);
  border: 1px solid var(--mobile000d9-c-line-soft);
  transition: transform 0.14s ease, background 0.16s ease;
}

.mobile000d9-linkgroup a:hover { background: rgba(255, 215, 0, 0.12); color: var(--mobile000d9-c-paper); }
.mobile000d9-linkgroup a:active { transform: translateX(3px); }

.mobile000d9-linkgroup a small {
  color: var(--mobile000d9-c-faint);
  font-size: 11px;
  font-weight: 500;
}

.mobile000d9-extfoot-disclaimer {
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(143, 188, 143, 0.08);
  border: 1px solid rgba(143, 188, 143, 0.20);
  font-size: 11.5px;
  color: var(--mobile000d9-c-muted);
  line-height: 1.5;
}

/* ============================================================
   Common footer (copyright + light links)
   ============================================================ */
.mobile000d9-foot {
  padding: 14px 16px calc(var(--mobile000d9-bottomnav-h) + 14px);
  text-align: center;
  color: var(--mobile000d9-c-faint);
  font-size: 11.5px;
  border-top: 1px solid var(--mobile000d9-c-line-soft);
  background: rgba(8, 9, 24, 0.6);
}

.mobile000d9-foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-bottom: 10px;
}

.mobile000d9-foot-nav a {
  color: var(--mobile000d9-c-muted);
  font-size: 12px;
  font-weight: 600;
}

.mobile000d9-foot-nav a:hover { color: var(--mobile000d9-c-gold); }

.mobile000d9-foot-copy {
  margin: 6px 0 0;
  line-height: 1.5;
}

/* ============================================================
   Mobile bottom navigation (5 roles)
   ============================================================ */
.mobile000d9-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--mobile000d9-stage-max);
  height: var(--mobile000d9-bottomnav-h);
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.98), rgba(10, 11, 28, 0.98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--mobile000d9-c-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 60;
  box-shadow: 0 -10px 28px rgba(3, 4, 12, 0.45);
}

.mobile000d9-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--mobile000d9-c-faint);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  padding: 6px 2px;
  transition: color 0.18s ease, transform 0.14s ease;
}

.mobile000d9-bottomnav-item:active { transform: scale(0.92); }

.mobile000d9-bottomnav-item svg {
  width: 21px;
  height: 21px;
  transition: transform 0.18s ease;
}

.mobile000d9-bottomnav-item.is-active {
  color: var(--mobile000d9-c-gold);
}

.mobile000d9-bottomnav-item.is-active svg {
  transform: translateY(-1px);
}

.mobile000d9-bottomnav-item--promo {
  color: var(--mobile000d9-c-paper);
}

.mobile000d9-bottomnav-item--promo svg {
  color: var(--mobile000d9-c-amber);
}

.mobile000d9-bottomnav-item--promo .mobile000d9-bn-label {
  color: var(--mobile000d9-c-amber);
  font-weight: 800;
}

/* Promo center accent */
.mobile000d9-bottomnav-item--promocenter svg {
  width: 30px;
  height: 30px;
  color: var(--mobile000d9-c-gold);
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.40));
}

/* ============================================================
   Utilities
   ============================================================ */
.mobile000d9-hidden { display: none !important; }

.mobile000d9-divider {
  height: 1px;
  background: var(--mobile000d9-c-line-soft);
  margin: 14px 0;
  border: none;
}

.mobile000d9-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(255, 215, 0, 0.10);
  color: var(--mobile000d9-c-gold);
  border: 1px solid var(--mobile000d9-c-line);
}

.mobile000d9-tag--sage { background: rgba(143, 188, 143, 0.12); color: var(--mobile000d9-c-sage); border-color: rgba(143, 188, 143, 0.26); }
.mobile000d9-tag--amber { background: rgba(255, 179, 71, 0.12); color: var(--mobile000d9-c-amber); border-color: rgba(255, 179, 71, 0.28); }

/* ============================================================
   Responsive nudges (375 - 430px)
   ============================================================ */
@media (min-width: 375px) {
  .mobile000d9-grid { gap: 10px; }
  .mobile000d9-card-name { font-size: 11px; }
  .mobile000d9-intro h1 { font-size: 26px; }
  .mobile000d9-slide-img { height: 210px; }
}

@media (min-width: 430px) {
  .mobile000d9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile000d9-stage { box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.06), 0 30px 70px rgba(3, 4, 12, 0.55); }
}

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

/* Help-page patterns extend the established mobile visual language. */
.mobile000d9-help-hero {
  margin: 14px;
  padding: 22px 17px;
  border: 1px solid var(--mobile000d9-c-line);
  background:
    linear-gradient(135deg, rgba(255, 179, 71, 0.16), transparent 48%),
    linear-gradient(180deg, #1c1e3c, #12142c);
  box-shadow: var(--mobile000d9-shadow-soft);
  border-radius: 18px;
}

.mobile000d9-help-hero h1 {
  margin: 9px 0 10px;
  font-size: 25px;
  overflow-wrap: anywhere;
}

.mobile000d9-help-hero p { color: var(--mobile000d9-c-muted); font-size: 13.5px; }

.mobile000d9-full-cta {
  width: 100%;
  min-height: 46px;
  margin-top: 9px;
}

.mobile000d9-checkboard {
  margin: 0 14px 14px;
  display: grid;
  gap: 9px;
}

.mobile000d9-checkline {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(143, 188, 143, 0.24);
  background: rgba(143, 188, 143, 0.07);
  border-radius: 13px;
}

.mobile000d9-checkmark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #132112;
  background: var(--mobile000d9-c-sage);
  border-radius: 8px;
  font-weight: 900;
}

.mobile000d9-checkline strong { display: block; font-size: 13.5px; color: var(--mobile000d9-c-paper); }
.mobile000d9-checkline span:last-child { color: var(--mobile000d9-c-muted); font-size: 12.5px; }

.mobile000d9-branch {
  border-left: 3px solid var(--mobile000d9-c-amber);
  padding: 2px 0 2px 13px;
  margin: 13px 0;
}

.mobile000d9-branch strong { color: var(--mobile000d9-c-amber); }

.mobile000d9-review-meter {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--mobile000d9-c-line-soft);
}

.mobile000d9-review-meter:last-child { border-bottom: 0; }
.mobile000d9-review-meter span { font-size: 12px; color: var(--mobile000d9-c-muted); }

.mobile000d9-meter-track {
  height: 7px;
  border-radius: var(--mobile000d9-r-pill);
  background: rgba(250, 250, 250, 0.08);
  overflow: hidden;
}

.mobile000d9-meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mobile000d9-c-sage), var(--mobile000d9-c-gold));
  border-radius: inherit;
}

.mobile000d9-verdict {
  margin: 0 14px 14px;
  border-top: 4px solid var(--mobile000d9-c-gold);
  background: #181a35;
  padding: 18px 16px;
  box-shadow: var(--mobile000d9-shadow-soft);
}

.mobile000d9-verdict h2 { font-size: 19px; margin-bottom: 9px; }
.mobile000d9-verdict p { color: var(--mobile000d9-c-muted); font-size: 13.5px; }

.mobile000d9-symptom-table {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.mobile000d9-symptom-row {
  padding: 12px;
  border: 1px solid var(--mobile000d9-c-line-soft);
  background: rgba(255, 215, 0, 0.04);
}

.mobile000d9-symptom-row b { color: var(--mobile000d9-c-gold); display: block; margin-bottom: 4px; }
.mobile000d9-symptom-row span { color: var(--mobile000d9-c-muted); font-size: 12.5px; }

.mobile000d9-promo-text {
  color: var(--mobile000d9-c-amber);
  border: 0;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile000d9-promo-text:active { transform: scale(0.98); }

@media (max-width: 359px) {
  .mobile000d9-topbar { padding-inline: 9px; gap: 6px; }
  .mobile000d9-brand-logo { width: 34px; height: 34px; }
  .mobile000d9-brand-name { max-width: 75px; font-size: 13px; white-space: normal; }
  .mobile000d9-actions { gap: 5px; }
  .mobile000d9-actions .mobile000d9-btn { padding-inline: 9px; font-size: 12px; }
  .mobile000d9-help-hero h1 { font-size: 22px; }
}
