/* ============================================================
   49jili.homes - Mobile-first base stylesheet
   Prefix: frame9844f-
   Palette: #40E0D0 / #20B2AA / #333333 / #006400 / #FFB6C1
   Direction: mono accents + regular body, low-radius sectioning,
   large+small card mix, scenario-branch rhythm, short transitions,
   solid primary + outlined secondary CTA.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --frame9844f-bg: #2a302d;
  --frame9844f-bg-deep: #1b211f;
  --frame9844f-panel: #333333;
  --frame9844f-panel-2: #3a423f;
  --frame9844f-green: #006400;
  --frame9844f-green-soft: #0c4a3a;
  --frame9844f-accent: #40E0D0;
  --frame9844f-accent-2: #20B2AA;
  --frame9844f-pink: #FFB6C1;
  --frame9844f-text: #eef6f4;
  --frame9844f-text-dim: #c4d4d0;
  --frame9844f-muted: #8fa39e;
  --frame9844f-line: rgba(64, 224, 208, 0.16);
  --frame9844f-line-strong: rgba(64, 224, 208, 0.38);
  --frame9844f-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  --frame9844f-radius: 6px;
  --frame9844f-radius-lg: 10px;
  --frame9844f-radius-pill: 999px;
  --frame9844f-gap: 12px;
  --frame9844f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --frame9844f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --frame9844f-header-h: 108px;
  --frame9844f-bottomnav-h: 64px;
}

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

html,
body { margin: 0; padding: 0; }

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

body {
  font-family: var(--frame9844f-sans);
  background: #11161a;
  color: var(--frame9844f-text);
  line-height: 1.62;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

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

a { color: var(--frame9844f-accent); text-decoration: none; }
a:hover { color: var(--frame9844f-pink); }

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

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

/* ---------- Phone canvas ---------- */
.frame9844f-canvas {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -8%, rgba(64, 224, 208, 0.10), transparent 60%),
    linear-gradient(180deg, var(--frame9844f-bg) 0%, var(--frame9844f-bg-deep) 40%, #141a18 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--frame9844f-bottomnav-h) + 14px);
}

/* ---------- Header ---------- */
.frame9844f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(27, 33, 31, 0.96), rgba(27, 33, 31, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame9844f-line);
}

/* Brand row */
.frame9844f-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  min-height: 56px;
}

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

.frame9844f-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--frame9844f-line-strong);
  background: var(--frame9844f-green-soft);
  flex-shrink: 0;
}

.frame9844f-brand-name {
  font-family: var(--frame9844f-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--frame9844f-text);
  line-height: 1;
}

.frame9844f-brand-name b {
  color: var(--frame9844f-accent);
}

.frame9844f-action-cluster {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Action row */
.frame9844f-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 9px;
}

.frame9844f-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--frame9844f-line-strong);
  border-radius: var(--frame9844f-radius);
  color: var(--frame9844f-text);
  font-size: 12px;
  font-family: var(--frame9844f-mono);
  letter-spacing: 0.4px;
  background: rgba(64, 224, 208, 0.06);
  transition: background 0.18s ease, border-color 0.18s ease;
  min-height: 38px;
}
.frame9844f-menu-btn:hover { background: rgba(64, 224, 208, 0.16); }
.frame9844f-menu-btn svg { width: 15px; height: 15px; }

/* Buttons: solid primary + outlined secondary */
.frame9844f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--frame9844f-radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  min-height: 40px;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  font-family: var(--frame9844f-sans);
}

.frame9844f-btn-primary {
  background: linear-gradient(135deg, var(--frame9844f-accent), var(--frame9844f-accent-2));
  color: #06262a;
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.25);
}
.frame9844f-btn-primary:hover {
  color: #06262a;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(64, 224, 208, 0.36);
}

.frame9844f-btn-outline {
  background: transparent;
  color: var(--frame9844f-accent);
  border: 1.5px solid var(--frame9844f-accent);
}
.frame9844f-btn-outline:hover {
  color: var(--frame9844f-pink);
  border-color: var(--frame9844f-pink);
  background: rgba(255, 182, 193, 0.08);
}

.frame9844f-btn-pink {
  background: var(--frame9844f-pink);
  color: #3a1620;
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.22);
}
.frame9844f-btn-pink:hover { color: #3a1620; transform: translateY(-1px); }

.frame9844f-btn-block { width: 100%; }

.frame9844f-btn-sm { padding: 7px 10px; min-height: 34px; font-size: 12px; }

/* ---------- Expandable menu ---------- */
.frame9844f-menu {
  position: fixed;
  top: var(--frame9844f-header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  background: rgba(22, 28, 26, 0.98);
  border-bottom: 1px solid var(--frame9844f-line);
  padding: 10px 14px 14px;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  max-height: calc(100vh - var(--frame9844f-header-h));
  overflow-y: auto;
}

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

.frame9844f-menu-title {
  font-family: var(--frame9844f-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--frame9844f-muted);
  text-transform: uppercase;
  margin: 4px 2px 6px;
}

.frame9844f-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.frame9844f-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  background: rgba(64, 224, 208, 0.05);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius);
  color: var(--frame9844f-text-dim);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.frame9844f-menu-item:hover,
.frame9844f-menu-item:focus-visible {
  color: var(--frame9844f-text);
  background: rgba(64, 224, 208, 0.12);
  border-color: var(--frame9844f-line-strong);
}
.frame9844f-menu-item .frame9844f-tag {
  margin-left: auto;
  font-family: var(--frame9844f-mono);
  font-size: 10px;
  color: var(--frame9844f-accent);
  letter-spacing: 0.5px;
}

.frame9844f-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.frame9844f-menu-overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Main / sections ---------- */
.frame9844f-main {
  flex: 1;
  margin-top: var(--frame9844f-header-h);
  padding: 14px 14px 8px;
}

.frame9844f-section { margin: 22px 0; }

.frame9844f-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--frame9844f-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--frame9844f-accent);
  text-transform: uppercase;
  background: rgba(64, 224, 208, 0.08);
  border: 1px solid var(--frame9844f-line);
  padding: 4px 9px;
  border-radius: var(--frame9844f-radius-pill);
}

.frame9844f-h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 12px 0 6px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.frame9844f-h1 b { color: var(--frame9844f-accent); }

.frame9844f-h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 26px 0 8px;
  font-weight: 700;
  color: var(--frame9844f-text);
  position: relative;
  padding-left: 12px;
}
.frame9844f-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--frame9844f-accent), var(--frame9844f-green));
}
.frame9844f-h2 b { color: var(--frame9844f-accent); }

.frame9844f-h3 {
  font-size: 14.5px;
  margin: 16px 0 5px;
  font-weight: 700;
  color: var(--frame9844f-pink);
  font-family: var(--frame9844f-mono);
  letter-spacing: 0.3px;
}

.frame9844f-lead {
  color: var(--frame9844f-text-dim);
  font-size: 14px;
  margin: 6px 0 12px;
}

.frame9844f-p {
  color: var(--frame9844f-text-dim);
  font-size: 14px;
  margin: 8px 0;
}

.frame9844f-p b { color: var(--frame9844f-text); }

/* ---------- Hero / carousel ---------- */
.frame9844f-hero {
  margin: 4px 0 6px;
}

.frame9844f-carousel {
  position: relative;
  border-radius: var(--frame9844f-radius-lg);
  overflow: hidden;
  border: 1px solid var(--frame9844f-line-strong);
  box-shadow: var(--frame9844f-shadow);
  background: #000;
}

.frame9844f-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.frame9844f-slide {
  position: relative;
  min-width: 100%;
  flex-shrink: 0;
  display: block;
}

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

.frame9844f-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(7, 17, 15, 0.92) 0%, rgba(7, 17, 15, 0.0) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.frame9844f-slide-title {
  font-family: var(--frame9844f-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame9844f-text);
  letter-spacing: 0.4px;
}

.frame9844f-slide-sub {
  font-size: 12px;
  color: var(--frame9844f-text-dim);
}

.frame9844f-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 4;
}

.frame9844f-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.18s ease, width 0.18s ease;
  border: 0;
  padding: 0;
}
.frame9844f-dot.is-active {
  background: var(--frame9844f-accent);
  width: 18px;
  border-radius: 4px;
}

.frame9844f-hero-cta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ---------- Quick stat strip ---------- */
.frame9844f-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--frame9844f-panel);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius);
  padding: 9px 6px;
  margin: 12px 0;
}

.frame9844f-stat {
  text-align: center;
  padding: 2px;
  border-right: 1px solid var(--frame9844f-line);
}
.frame9844f-stat:last-child { border-right: 0; }

.frame9844f-stat-num {
  font-family: var(--frame9844f-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame9844f-accent);
  line-height: 1.1;
}
.frame9844f-stat-label {
  font-size: 9.5px;
  color: var(--frame9844f-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---------- Game area ---------- */
.frame9844f-cat-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 4px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--frame9844f-line);
}

.frame9844f-cat-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--frame9844f-text);
  letter-spacing: -0.2px;
  margin: 0;
}
.frame9844f-cat-title em {
  font-style: normal;
  color: var(--frame9844f-accent);
  font-family: var(--frame9844f-mono);
  font-size: 13px;
  margin-right: 5px;
}

.frame9844f-cat-count {
  margin-left: auto;
  font-family: var(--frame9844f-mono);
  font-size: 11px;
  color: var(--frame9844f-pink);
  background: rgba(255, 182, 193, 0.08);
  padding: 2px 8px;
  border-radius: var(--frame9844f-radius-pill);
  border: 1px solid rgba(255, 182, 193, 0.22);
}

.frame9844f-cat-desc {
  font-size: 12.5px;
  color: var(--frame9844f-muted);
  margin: 0 0 10px;
}

.frame9844f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.frame9844f-card {
  background: var(--frame9844f-panel);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.18s ease;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.frame9844f-card:hover,
.frame9844f-card:focus-visible {
  border-color: var(--frame9844f-line-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.36);
}

.frame9844f-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0c1411;
  overflow: hidden;
}
.frame9844f-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame9844f-card-name {
  font-size: 10.5px;
  line-height: 1.25;
  padding: 4px 3px 5px;
  color: var(--frame9844f-text-dim);
  font-weight: 600;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

/* Featured (large) card spanning 2 columns */
.frame9844f-card-featured {
  grid-column: span 2;
}
.frame9844f-card-featured .frame9844f-card-media { aspect-ratio: 16 / 10; }
.frame9844f-card-featured .frame9844f-card-name {
  font-size: 12.5px;
  min-height: 30px;
  padding: 6px 6px 7px;
  color: var(--frame9844f-text);
}
.frame9844f-card-featured .frame9844f-card-media::after {
  content: "HOT";
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: var(--frame9844f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #3a1620;
  background: var(--frame9844f-pink);
  padding: 2px 6px;
  border-radius: 3px;
}

.frame9844f-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-family: var(--frame9844f-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--frame9844f-accent);
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid var(--frame9844f-line-strong);
}

/* ---------- Content modules ---------- */
.frame9844f-panel-box {
  background: var(--frame9844f-panel);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius-lg);
  padding: 14px;
  margin: 12px 0;
  box-shadow: var(--frame9844f-shadow);
}

.frame9844f-panel-box.is-green {
  border-left: 3px solid var(--frame9844f-green);
}

.frame9844f-panel-box.is-pink {
  border-left: 3px solid var(--frame9844f-pink);
}

.frame9844f-list {
  margin: 8px 0;
  padding-left: 18px;
}
.frame9844f-list li {
  margin: 5px 0;
  color: var(--frame9844f-text-dim);
  font-size: 13.5px;
}
.frame9844f-list li::marker { color: var(--frame9844f-accent); }

/* Use-case scenario branches */
.frame9844f-scenario {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.frame9844f-scenario-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: rgba(64, 224, 208, 0.05);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius);
}

.frame9844f-scenario-num {
  font-family: var(--frame9844f-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame9844f-accent);
  background: rgba(64, 224, 208, 0.1);
  border: 1px solid var(--frame9844f-line-strong);
  border-radius: var(--frame9844f-radius);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame9844f-scenario-body { min-width: 0; }
.frame9844f-scenario-body b {
  display: block;
  color: var(--frame9844f-text);
  font-size: 13.5px;
  margin-bottom: 2px;
}
.frame9844f-scenario-body span {
  font-size: 12.5px;
  color: var(--frame9844f-muted);
}

/* Achievement tiles */
.frame9844f-achv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 10px 0;
}

.frame9844f-achv-tile {
  background: linear-gradient(160deg, rgba(0, 100, 0, 0.32), rgba(64, 224, 208, 0.06));
  border: 1px solid var(--frame9844f-line-strong);
  border-radius: var(--frame9844f-radius);
  padding: 10px 11px;
}

.frame9844f-achv-tile .frame9844f-achv-num {
  font-family: var(--frame9844f-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--frame9844f-accent);
  line-height: 1;
}

.frame9844f-achv-tile .frame9844f-achv-label {
  font-size: 11px;
  color: var(--frame9844f-text-dim);
  margin-top: 5px;
  line-height: 1.35;
}

/* Fact summary table */
.frame9844f-facts {
  display: grid;
  gap: 0;
  margin: 8px 0;
}
.frame9844f-fact {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--frame9844f-line);
  font-size: 13px;
}
.frame9844f-fact:last-child { border-bottom: 0; }
.frame9844f-fact dt {
  font-family: var(--frame9844f-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frame9844f-muted);
  margin: 0;
}
.frame9844f-fact dd {
  margin: 0;
  color: var(--frame9844f-text);
}

/* Inline link inside body copy */
.frame9844f-inline-link {
  color: var(--frame9844f-pink);
  border-bottom: 1px dotted rgba(255, 182, 193, 0.55);
  font-weight: 600;
}
.frame9844f-inline-link:hover {
  color: var(--frame9844f-accent);
  border-bottom-color: var(--frame9844f-accent);
}

/* ---------- Extended footer (homepage only) ---------- */
.frame9844f-ext-footer {
  margin: 26px 0 6px;
  background: linear-gradient(180deg, rgba(0, 100, 0, 0.18), rgba(51, 51, 51, 0.4));
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius-lg);
  padding: 14px;
}

.frame9844f-ext-title {
  font-family: var(--frame9844f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--frame9844f-accent);
  text-transform: uppercase;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.frame9844f-ext-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--frame9844f-accent);
  display: inline-block;
}

.frame9844f-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin: 6px 0 10px;
}

.frame9844f-directory a {
  font-size: 12.5px;
  color: var(--frame9844f-text-dim);
  padding: 5px 0;
  border-bottom: 1px dotted var(--frame9844f-line);
  display: flex;
  align-items: center;
  gap: 6px;
}
.frame9844f-directory a::before {
  content: "›";
  color: var(--frame9844f-accent);
  font-family: var(--frame9844f-mono);
}
.frame9844f-directory a:hover { color: var(--frame9844f-accent); }

.frame9844f-brand-blurb {
  font-size: 12.5px;
  color: var(--frame9844f-text-dim);
  margin: 6px 0 12px;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 2px solid var(--frame9844f-pink);
  border-radius: 4px;
}

.frame9844f-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 6px 0 10px;
}
.frame9844f-promo-row .frame9844f-btn { font-size: 12px; padding: 8px 6px; }

.frame9844f-disclaimer {
  font-size: 11px;
  color: var(--frame9844f-muted);
  line-height: 1.5;
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--frame9844f-line);
}

/* ---------- General footer ---------- */
.frame9844f-footer {
  margin: 16px 14px 4px;
  padding-top: 14px;
  border-top: 1px solid var(--frame9844f-line);
  text-align: center;
}

.frame9844f-footer-copy {
  font-family: var(--frame9844f-mono);
  font-size: 10.5px;
  color: var(--frame9844f-muted);
  letter-spacing: 0.5px;
  margin: 0 0 3px;
}

.frame9844f-footer-note {
  font-size: 10.5px;
  color: var(--frame9844f-muted);
  margin: 0;
}

/* ---------- Mobile bottom navigation ---------- */
.frame9844f-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame9844f-bottomnav-h);
  background: linear-gradient(180deg, rgba(28, 34, 32, 0.96), rgba(18, 23, 21, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame9844f-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.frame9844f-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--frame9844f-muted);
  font-size: 9.5px;
  letter-spacing: 0.3px;
  text-decoration: none;
  position: relative;
  transition: color 0.16s ease, transform 0.16s ease;
  min-height: 44px;
}

.frame9844f-nav-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  transition: transform 0.16s ease, fill 0.16s ease, stroke 0.16s ease;
}

.frame9844f-nav-item:hover { color: var(--frame9844f-text); }

.frame9844f-nav-item.is-active {
  color: var(--frame9844f-accent);
  transform: translateY(-2px);
}
.frame9844f-nav-item.is-active svg {
  fill: rgba(64, 224, 208, 0.18);
  stroke: var(--frame9844f-accent);
}

.frame9844f-nav-item.is-promo {
  color: var(--frame9844f-pink);
}
.frame9844f-nav-item.is-promo svg {
  stroke: var(--frame9844f-pink);
}
.frame9844f-nav-item.is-promo:hover {
  color: var(--frame9844f-pink);
  transform: translateY(-2px);
}

.frame9844f-nav-label {
  font-family: var(--frame9844f-mono);
  font-weight: 600;
  text-transform: uppercase;
}

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

.frame9844f-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- Responsive tweaks (375-430px keeps 4 cols, featured spans 2) ---------- */
@media (min-width: 375px) {
  .frame9844f-h1 { font-size: 26px; }
  .frame9844f-slide img { height: 210px; }
  .frame9844f-card-name { font-size: 11px; }
}

/* ---------- Help-page reading patterns ---------- */
.frame9844f-help-intro {
  padding: 16px;
  margin: 4px 0 16px;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.12), rgba(255, 182, 193, 0.06));
  border: 1px solid var(--frame9844f-line-strong);
  border-radius: var(--frame9844f-radius-lg);
}

.frame9844f-answer {
  border-left: 3px solid var(--frame9844f-accent);
  padding: 11px 13px;
  margin: 10px 0 14px;
  background: rgba(64, 224, 208, 0.07);
  color: var(--frame9844f-text);
}

.frame9844f-answer strong { color: var(--frame9844f-accent); }

.frame9844f-steps {
  counter-reset: frame9844f-step;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.frame9844f-steps li {
  counter-increment: frame9844f-step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: start;
  margin: 8px 0;
  color: var(--frame9844f-text-dim);
  font-size: 13.5px;
}

.frame9844f-steps li::before {
  content: counter(frame9844f-step);
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame9844f-line-strong);
  border-radius: 50%;
  color: var(--frame9844f-accent);
  font-family: var(--frame9844f-mono);
  font-weight: 700;
}

.frame9844f-terms {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.frame9844f-term {
  padding: 10px 11px;
  background: rgba(0, 100, 0, 0.18);
  border: 1px solid var(--frame9844f-line);
  border-radius: var(--frame9844f-radius);
}

.frame9844f-term dt {
  font-family: var(--frame9844f-mono);
  color: var(--frame9844f-pink);
  font-size: 12px;
  font-weight: 700;
}

.frame9844f-term dd {
  margin: 3px 0 0;
  color: var(--frame9844f-text-dim);
  font-size: 13px;
}

.frame9844f-checklist {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.frame9844f-check {
  padding: 9px 10px 9px 34px;
  position: relative;
  border-bottom: 1px dashed var(--frame9844f-line);
  color: var(--frame9844f-text-dim);
  font-size: 13px;
}

.frame9844f-check::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 8px;
  color: var(--frame9844f-accent);
  font-weight: 800;
}

.frame9844f-caution {
  padding: 12px;
  margin: 10px 0;
  background: rgba(255, 182, 193, 0.08);
  border: 1px solid rgba(255, 182, 193, 0.3);
  border-radius: var(--frame9844f-radius);
  color: var(--frame9844f-text-dim);
  font-size: 13px;
}

@media (max-width: 359px) {
  .frame9844f-grid { gap: 5px; }
  .frame9844f-card-name { font-size: 9.5px; }
  .frame9844f-h1 { font-size: 23px; }
  .frame9844f-brand-name { font-size: 17px; }
  .frame9844f-btn { padding-left: 10px; padding-right: 10px; }
}

@media (min-width: 414px) {
  .frame9844f-main { padding: 16px 16px 8px; }
  .frame9844f-slide img { height: 224px; }
}

/* Wide screens: keep the phone canvas centered, dim the surrounding area */
@media (min-width: 480px) {
  body { background: #0b0f0e; }
  .frame9844f-canvas {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  }
}

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