/* ============================================================
   Tabletop game - mobile-first layered canvas
   Prefix: frame98bff-
   Palette: navy #1A1A2E | gold #FFCC02 | orange #FF8000
            slate-purple #6A5ACD | plum #DDA0DD
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --frame98bff-bg: #1A1A2E;
  --frame98bff-bg-deep: #14142466;
  --frame98bff-bg-soft: #232354;
  --frame98bff-bg-card: #20203f;
  --frame98bff-bg-elev: #2a2a55;
  --frame98bff-line: #3a3a6c;
  --frame98bff-gold: #FFCC02;
  --frame98bff-gold-soft: #ffe27a;
  --frame98bff-orange: #FF8000;
  --frame98bff-orange-soft: #ffa84a;
  --frame98bff-purple: #6A5ACD;
  --frame98bff-purple-soft: #9b8ee6;
  --frame98bff-plum: #DDA0DD;
  --frame98bff-plum-soft: #ecc7ec;
  --frame98bff-ink: #f4f1ff;
  --frame98bff-ink-soft: #cfc9ee;
  --frame98bff-ink-mute: #9890c4;
  --frame98bff-ink-faint: #6e679a;
  --frame98bff-good: #5cd6a8;
  --frame98bff-warn: #ffb86b;
  --frame98bff-radius-xs: 8px;
  --frame98bff-radius-sm: 12px;
  --frame98bff-radius-md: 16px;
  --frame98bff-radius-lg: 22px;
  --frame98bff-shadow-card: 0 6px 18px rgba(0, 0, 0, 0.28);
  --frame98bff-shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.45);
  --frame98bff-glow-gold: 0 0 0 2px rgba(255, 204, 2, 0.55), 0 8px 22px rgba(255, 128, 0, 0.35);
  --frame98bff-tap: 44px;
  --frame98bff-frame-w: 430px;
  --frame98bff-font-display: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --frame98bff-font-body: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

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

body {
  font-family: var(--frame98bff-font-body);
  background: #0d0d1d;
  color: var(--frame98bff-ink);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--frame98bff-gold); outline-offset: 2px; border-radius: 6px; }

/* ---- Phone canvas frame ---- */
.frame98bff-canvas {
  position: relative;
  max-width: var(--frame98bff-frame-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(110% 60% at 50% -8%, rgba(255, 204, 2, 0.10), transparent 60%),
    radial-gradient(120% 50% at 100% 0%, rgba(106, 90, 205, 0.18), transparent 55%),
    linear-gradient(180deg, #1a1a30 0%, #15152a 40%, #12121f 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  padding-bottom: 92px; /* keep clear of fixed bottom nav */
  overflow: hidden;
}

/* ============================================================
   HEADER - asymmetric brand header
   ============================================================ */
.frame98bff-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background:
    linear-gradient(135deg, rgba(255, 204, 2, 0.10), transparent 45%),
    linear-gradient(180deg, #1c1c36 0%, #181830 100%);
  border-bottom: 1px solid var(--frame98bff-line);
  backdrop-filter: blur(8px);
}

.frame98bff-header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 8px;
}

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

.frame98bff-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  background: radial-gradient(circle at 30% 30%, var(--frame98bff-gold), var(--frame98bff-orange));
  box-shadow: 0 2px 10px rgba(255, 128, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.frame98bff-brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.frame98bff-brand-name {
  font-family: var(--frame98bff-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: var(--frame98bff-ink);
  white-space: nowrap;
}
.frame98bff-brand-name em {
  font-style: normal;
  color: var(--frame98bff-gold);
}
.frame98bff-brand-tag {
  font-size: 10.5px;
  color: var(--frame98bff-ink-mute);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* action row */
.frame98bff-actions { display: flex; align-items: center; gap: 7px; }

.frame98bff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.frame98bff-btn:active { transform: translateY(1px) scale(0.98); }

.frame98bff-btn-register {
  background: linear-gradient(135deg, var(--frame98bff-gold) 0%, var(--frame98bff-orange) 100%);
  color: #2a1500;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.4);
}
.frame98bff-btn-login {
  background: transparent;
  color: var(--frame98bff-ink);
  border: 1.5px solid var(--frame98bff-purple);
  padding: 0 12px;
}
.frame98bff-btn-login:active { background: rgba(106, 90, 205, 0.18); }

.frame98bff-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(106, 90, 205, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame98bff-line);
  transition: background 0.2s ease;
}
.frame98bff-menu-btn:hover { background: rgba(106, 90, 205, 0.28); }
.frame98bff-menu-btn .frame98bff-bars,
.frame98bff-menu-btn .frame98bff-bars::before,
.frame98bff-menu-btn .frame98bff-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--frame98bff-ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.frame98bff-menu-btn .frame98bff-bars::before,
.frame98bff-menu-btn .frame98bff-bars::after {
  content: "";
  position: absolute;
}
.frame98bff-menu-btn .frame98bff-bars::before { top: -6px; }
.frame98bff-menu-btn .frame98bff-bars::after { top: 6px; }
.frame98bff-menu-btn.frame98bff-is-open .frame98bff-bars { background: transparent; }
.frame98bff-menu-btn.frame98bff-is-open .frame98bff-bars::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--frame98bff-gold);
}
.frame98bff-menu-btn.frame98bff-is-open .frame98bff-bars::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--frame98bff-gold);
}

/* layered dropdown menu */
.frame98bff-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
  background: linear-gradient(180deg, #16162c, #121220);
  border-top: 1px solid transparent;
}
.frame98bff-menu.frame98bff-is-open {
  max-height: 640px;
  border-top: 1px solid var(--frame98bff-line);
}
.frame98bff-menu-inner { padding: 8px 14px 14px; }
.frame98bff-menu-group { margin-top: 10px; }
.frame98bff-menu-group:first-child { margin-top: 4px; }
.frame98bff-menu-label {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame98bff-gold);
  padding: 4px 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.frame98bff-menu-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--frame98bff-line), transparent);
}
.frame98bff-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.frame98bff-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--frame98bff-radius-xs);
  background: rgba(106, 90, 205, 0.10);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--frame98bff-ink-soft);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.frame98bff-menu-link:active { transform: scale(0.98); }
.frame98bff-menu-link:hover {
  background: rgba(255, 204, 2, 0.08);
  border-color: var(--frame98bff-line);
  color: var(--frame98bff-ink);
}
.frame98bff-menu-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--frame98bff-plum);
  flex-shrink: 0;
}
.frame98bff-menu-link:nth-child(3n) .frame98bff-menu-dot { background: var(--frame98bff-gold); }
.frame98bff-menu-link:nth-child(3n+1) .frame98bff-menu-dot { background: var(--frame98bff-orange); }
.frame98bff-menu-link:nth-child(3n+2) .frame98bff-menu-dot { background: var(--frame98bff-purple-soft); }

/* ============================================================
   MAIN
   ============================================================ */
.frame98bff-main { padding: 0 0 8px; }

.frame98bff-section { padding: 22px 14px 4px; }

/* ---- Hero / carousel ---- */
.frame98bff-hero { padding: 14px 14px 6px; }
.frame98bff-carousel {
  position: relative;
  border-radius: var(--frame98bff-radius-lg);
  overflow: hidden;
  box-shadow: var(--frame98bff-shadow-card);
  background: #0f0f22;
}
.frame98bff-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.frame98bff-slide {
  flex: 0 0 100%;
  position: relative;
}
.frame98bff-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.frame98bff-slide-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.frame98bff-slide-cap-text { display: flex; flex-direction: column; gap: 4px; max-width: 70%; }
.frame98bff-slide-cap-title {
  font-family: var(--frame98bff-font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.15;
}
.frame98bff-slide-cap-sub {
  font-size: 11.5px;
  color: var(--frame98bff-gold-soft);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}
.frame98bff-slide-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--frame98bff-gold), var(--frame98bff-orange));
  color: #2a1500;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 128, 0, 0.4);
}
.frame98bff-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.frame98bff-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.frame98bff-dot.frame98bff-is-active {
  width: 20px;
  border-radius: 4px;
  background: var(--frame98bff-gold);
}

/* ---- H1 + intro ---- */
.frame98bff-hero-text { padding: 16px 4px 6px; }
.frame98bff-h1 {
  font-family: var(--frame98bff-font-display);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--frame98bff-ink);
  letter-spacing: 0.2px;
}
.frame98bff-h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--frame98bff-gold), var(--frame98bff-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.frame98bff-lead {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--frame98bff-ink-soft);
}
.frame98bff-hero-cta-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.frame98bff-hero-cta-row .frame98bff-btn { flex: 1; min-height: 40px; font-size: 13.5px; }

/* ---- Quick stats strip ---- */
.frame98bff-stats-strip {
  margin: 14px 14px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--frame98bff-line);
  border: 1px solid var(--frame98bff-line);
  border-radius: var(--frame98bff-radius-md);
  overflow: hidden;
}
.frame98bff-stat {
  background: var(--frame98bff-bg-card);
  padding: 11px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.frame98bff-stat-num {
  font-family: var(--frame98bff-font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--frame98bff-gold);
  letter-spacing: 0.3px;
}
.frame98bff-stat-label {
  font-size: 10.5px;
  color: var(--frame98bff-ink-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---- Section heading ---- */
.frame98bff-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.frame98bff-sec-head-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.frame98bff-sec-eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame98bff-orange);
  font-weight: 700;
}
.frame98bff-sec-title {
  font-family: var(--frame98bff-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--frame98bff-ink);
  line-height: 1.2;
  position: relative;
  padding-left: 12px;
}
.frame98bff-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--frame98bff-gold), var(--frame98bff-orange));
}
.frame98bff-sec-sub { font-size: 12px; color: var(--frame98bff-ink-mute); }
.frame98bff-sec-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--frame98bff-gold);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

/* ---- Category filter chips (visual anchor) ---- */
.frame98bff-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 14px 12px;
  margin: 0 -14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.frame98bff-chips::-webkit-scrollbar { display: none; }
.frame98bff-chip {
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(106, 90, 205, 0.14);
  border: 1px solid var(--frame98bff-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frame98bff-ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.frame98bff-chip:hover { color: var(--frame98bff-ink); border-color: var(--frame98bff-purple); }
.frame98bff-chip.frame98bff-is-active {
  background: linear-gradient(135deg, var(--frame98bff-gold), var(--frame98bff-orange));
  color: #2a1500;
  border-color: transparent;
}
.frame98bff-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* ---- Game grid ---- */
.frame98bff-game-block { margin-top: 6px; }
.frame98bff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.frame98bff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--frame98bff-radius-sm);
  overflow: hidden;
  background: var(--frame98bff-bg-card);
  border: 1px solid var(--frame98bff-line);
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.frame98bff-card:active {
  transform: translateY(1px) scale(0.97);
  border-color: var(--frame98bff-gold);
}
.frame98bff-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0e0e20;
  overflow: hidden;
}
.frame98bff-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.frame98bff-card:hover .frame98bff-card-media img { transform: scale(1.05); }
.frame98bff-card-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(26, 26, 46, 0.82);
  color: var(--frame98bff-gold);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 204, 2, 0.35);
}
.frame98bff-card-tag.frame98bff-tag-hot { color: var(--frame98bff-orange); border-color: rgba(255, 128, 0, 0.4); }
.frame98bff-card-tag.frame98bff-tag-slot { color: var(--frame98bff-plum); border-color: rgba(221, 160, 221, 0.4); }
.frame98bff-card-tag.frame98bff-tag-fishing { color: #6fe2ff; border-color: rgba(111, 226, 255, 0.4); }
.frame98bff-card-tag.frame98bff-tag-live { color: var(--frame98bff-good); border-color: rgba(92, 214, 168, 0.4); }
.frame98bff-card-tag.frame98bff-tag-cards { color: var(--frame98bff-gold); border-color: rgba(255, 204, 2, 0.4); }
.frame98bff-card-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--frame98bff-ink-soft);
  text-align: center;
  padding: 5px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, #1b1b38, #16162e);
  border-top: 1px solid var(--frame98bff-line);
}

/* ---- Info / content modules ---- */
.frame98bff-panel {
  background: linear-gradient(180deg, var(--frame98bff-bg-card), #181834);
  border: 1px solid var(--frame98bff-line);
  border-radius: var(--frame98bff-radius-md);
  padding: 16px;
  margin-top: 12px;
  box-shadow: var(--frame98bff-shadow-card);
}
.frame98bff-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.frame98bff-panel-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,204,2,0.18), rgba(255,128,0,0.18));
  border: 1px solid rgba(255,204,2,0.32);
  flex-shrink: 0;
}
.frame98bff-panel-title {
  font-family: var(--frame98bff-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--frame98bff-ink);
}
.frame98bff-panel p { font-size: 13.5px; color: var(--frame98bff-ink-soft); margin-bottom: 8px; }
.frame98bff-panel p:last-child { margin-bottom: 0; }
.frame98bff-panel strong { color: var(--frame98bff-gold); font-weight: 700; }
.frame98bff-panel a.frame98bff-inline {
  color: var(--frame98bff-gold);
  border-bottom: 1px dashed rgba(255,204,2,0.5);
  font-weight: 600;
}

/* checklist */
.frame98bff-checklist { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.frame98bff-check-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--frame98bff-ink-soft);
  line-height: 1.45;
}
.frame98bff-check-mark {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(92, 214, 168, 0.18);
  color: var(--frame98bff-good);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  margin-top: 1px;
  border: 1px solid rgba(92, 214, 168, 0.4);
}

/* two-column mini facts */
.frame98bff-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.frame98bff-fact {
  background: rgba(106, 90, 205, 0.10);
  border: 1px solid var(--frame98bff-line);
  border-radius: var(--frame98bff-radius-xs);
  padding: 10px;
}
.frame98bff-fact-k {
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frame98bff-ink-mute);
}
.frame98bff-fact-v {
  font-family: var(--frame98bff-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--frame98bff-gold);
  margin-top: 3px;
}

/* steps */
.frame98bff-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.frame98bff-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: flex-start;
}
.frame98bff-step-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--frame98bff-purple), var(--frame98bff-purple-soft));
  color: #fff;
  font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.frame98bff-step-body { font-size: 13px; color: var(--frame98bff-ink-soft); line-height: 1.45; }
.frame98bff-step-body b { color: var(--frame98bff-ink); font-weight: 700; display: block; font-size: 13.5px; margin-bottom: 1px; }

/* entity relationship pills */
.frame98bff-relations { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.frame98bff-relation {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(221, 160, 221, 0.12);
  border: 1px solid rgba(221, 160, 221, 0.35);
  color: var(--frame98bff-plum-soft);
  font-weight: 600;
}

/* mini promo strip inside panel */
.frame98bff-mini-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--frame98bff-radius-xs);
  background: linear-gradient(120deg, rgba(255,204,2,0.10), rgba(255,128,0,0.08));
  border: 1px solid rgba(255,204,2,0.28);
  margin-top: 10px;
}
.frame98bff-mini-promo-text { flex: 1; min-width: 0; }
.frame98bff-mini-promo-title { font-size: 13px; font-weight: 700; color: var(--frame98bff-ink); }
.frame98bff-mini-promo-sub { font-size: 11.5px; color: var(--frame98bff-ink-mute); margin-top: 1px; }

/* ============================================================
   EXTENDED FOOTER (site-specific, above common footer)
   ============================================================ */
.frame98bff-extended { padding: 22px 14px 14px; }
.frame98bff-extended-head {
  text-align: center;
  margin-bottom: 14px;
}
.frame98bff-extended-title {
  font-family: var(--frame98bff-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--frame98bff-ink);
}
.frame98bff-extended-title em {
  font-style: normal;
  color: var(--frame98bff-gold);
}
.frame98bff-extended-sub {
  font-size: 12px;
  color: var(--frame98bff-ink-mute);
  margin-top: 4px;
}

/* promo entries - horizontal shortcuts */
.frame98bff-promo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.frame98bff-promo-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: var(--frame98bff-radius-sm);
  background: linear-gradient(180deg, #20203f, #1a1a36);
  border: 1px solid var(--frame98bff-line);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--frame98bff-ink-soft);
  text-align: center;
  transition: transform 0.12s ease, border-color 0.18s ease;
}
.frame98bff-promo-shortcut:active { transform: scale(0.96); }
.frame98bff-promo-shortcut:hover { border-color: var(--frame98bff-gold); color: var(--frame98bff-ink); }
.frame98bff-promo-shortcut .frame98bff-ps-icon {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--frame98bff-gold), var(--frame98bff-orange));
  color: #2a1500;
}
.frame98bff-promo-shortcut:nth-child(2) .frame98bff-ps-icon {
  background: linear-gradient(135deg, var(--frame98bff-purple), var(--frame98bff-plum));
  color: #fff;
}
.frame98bff-promo-shortcut:nth-child(3) .frame98bff-ps-icon {
  background: linear-gradient(135deg, var(--frame98bff-orange), var(--frame98bff-gold));
  color: #2a1500;
}
.frame98bff-promo-shortcut:nth-child(4) .frame98bff-ps-icon {
  background: linear-gradient(135deg, var(--frame98bff-plum), var(--frame98bff-purple));
  color: #fff;
}
.frame98bff-promo-shortcut:nth-child(5) .frame98bff-ps-icon {
  background: linear-gradient(135deg, var(--frame98bff-good), #36a07e);
  color: #06231a;
}

/* directory */
.frame98bff-directory {
  background: linear-gradient(180deg, #181834, #14142a);
  border: 1px solid var(--frame98bff-line);
  border-radius: var(--frame98bff-radius-md);
  padding: 14px;
  margin-bottom: 12px;
}
.frame98bff-directory-eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame98bff-gold);
  font-weight: 700;
  margin-bottom: 9px;
}
.frame98bff-directory-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.frame98bff-directory-list a {
  font-size: 12.5px;
  color: var(--frame98bff-ink-soft);
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dashed rgba(154, 144, 196, 0.18);
}
.frame98bff-directory-list a:hover { color: var(--frame98bff-gold); }
.frame98bff-directory-list a::before {
  content: "›";
  color: var(--frame98bff-orange);
  font-weight: 800;
}

/* disclaimer */
.frame98bff-disclaimer {
  font-size: 11.5px;
  color: var(--frame98bff-ink-faint);
  line-height: 1.55;
  padding: 12px;
  border-radius: var(--frame98bff-radius-xs);
  background: rgba(13, 13, 29, 0.6);
  border-left: 3px solid var(--frame98bff-purple);
}

/* ============================================================
   COMMON FOOTER (copyright only)
   ============================================================ */
.frame98bff-footer {
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--frame98bff-line);
  background: #0f0f22;
}
.frame98bff-footer-copy {
  font-size: 11.5px;
  color: var(--frame98bff-ink-faint);
  line-height: 1.5;
}
.frame98bff-footer-copy strong { color: var(--frame98bff-ink-mute); }

/* ============================================================
   BOTTOM MOBILE NAV - 5 roles, fixed
   ============================================================ */
.frame98bff-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--frame98bff-frame-w);
  z-index: 70;
  background: linear-gradient(180deg, #1a1a36, #121223);
  border-top: 1px solid var(--frame98bff-line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
}
.frame98bff-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px 4px;
  color: var(--frame98bff-ink-mute);
  font-size: 10px;
  font-weight: 600;
  min-height: var(--frame98bff-tap);
  text-align: center;
  transition: color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.frame98bff-nav-item .frame98bff-nav-icon {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.18s ease;
}
.frame98bff-nav-item:hover { color: var(--frame98bff-ink-soft); }
.frame98bff-nav-item:active .frame98bff-nav-icon { transform: scale(0.92); }
.frame98bff-nav-item.frame98bff-is-active { color: var(--frame98bff-gold); }
.frame98bff-nav-item.frame98bff-is-active .frame98bff-nav-icon {
  transform: translateY(-1px);
}
/* sliding indicator */
.frame98bff-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--frame98bff-gold), var(--frame98bff-orange));
  transition: transform 0.22s ease;
}
.frame98bff-nav-item.frame98bff-is-active::before { transform: translateX(-50%) scaleX(1); }

.frame98bff-nav-item.frame98bff-nav-promo {
  color: var(--frame98bff-plum);
}
.frame98bff-nav-item.frame98bff-nav-promo .frame98bff-nav-icon {
  background: linear-gradient(135deg, var(--frame98bff-gold), var(--frame98bff-orange));
  color: #2a1500;
  border-radius: 9px;
  width: 30px; height: 30px;
  margin-top: -4px;
  box-shadow: 0 4px 10px rgba(255, 128, 0, 0.35);
}
.frame98bff-nav-item.frame98bff-nav-promo:nth-of-type(3) .frame98bff-nav-icon {
  background: linear-gradient(135deg, var(--frame98bff-purple), var(--frame98bff-plum));
  color: #fff;
}

/* visually hidden helper */
.frame98bff-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;
}

/* ---- Wide screens keep mobile canvas centered ---- */
@media (min-width: 431px) {
  body { background: #0a0a16; }
  .frame98bff-canvas {
    border-left: 1px solid #2a2a4a;
    border-right: 1px solid #2a2a4a;
  }
}

/* ---- Very small phones ---- */
@media (max-width: 359px) {
  .frame98bff-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .frame98bff-card-name { font-size: 10px; padding: 4px 2px; }
  .frame98bff-h1 { font-size: 20px; }
  .frame98bff-promo-row { gap: 4px; }
  .frame98bff-promo-shortcut { font-size: 9.5px; padding: 8px 2px; }
}

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

/* ---- Help pages: editorial panels and decision trails ---- */
.frame98bff-help-main { padding: 18px 14px 24px; }
.frame98bff-help-hero { padding: 10px 2px 18px; }
.frame98bff-help-kicker { color: var(--frame98bff-orange); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.frame98bff-help-title { font-family: var(--frame98bff-font-display); font-size: 26px; line-height: 1.12; margin-top: 7px; color: var(--frame98bff-ink); }
.frame98bff-help-title em { color: var(--frame98bff-gold); font-style: normal; }
.frame98bff-help-intro { color: var(--frame98bff-ink-soft); font-size: 14px; margin-top: 10px; }
.frame98bff-help-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.frame98bff-help-actions .frame98bff-btn { min-height: 44px; }
.frame98bff-route { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 0 0 16px; }
.frame98bff-route a { min-height: 52px; padding: 7px 5px; border: 1px solid var(--frame98bff-line); border-radius: 10px; background: rgba(106,90,205,.13); color: var(--frame98bff-ink-soft); font-size: 11px; font-weight: 700; text-align: center; display: flex; align-items: center; justify-content: center; }
.frame98bff-route a:nth-child(2) { background: rgba(255,204,2,.12); color: var(--frame98bff-gold-soft); }
.frame98bff-route a:nth-child(3) { background: rgba(221,160,221,.12); color: var(--frame98bff-plum-soft); }
.frame98bff-help-block { border-left: 3px solid var(--frame98bff-purple); padding: 4px 0 4px 14px; margin: 18px 0; }
.frame98bff-help-block h2 { font-family: var(--frame98bff-font-display); font-size: 19px; line-height: 1.2; color: var(--frame98bff-ink); margin-bottom: 8px; }
.frame98bff-help-block h2 strong { color: var(--frame98bff-gold); font-weight: 800; }
.frame98bff-help-block p { color: var(--frame98bff-ink-soft); font-size: 13.5px; margin: 8px 0; }
.frame98bff-help-block h3 { color: var(--frame98bff-plum-soft); font-size: 14px; margin: 12px 0 4px; }
.frame98bff-help-block ul { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.frame98bff-help-block li { color: var(--frame98bff-ink-soft); font-size: 13px; padding: 9px 10px 9px 28px; background: rgba(32,32,63,.78); border: 1px solid rgba(58,58,108,.85); border-radius: 10px; position: relative; }
.frame98bff-help-block li::before { content: "✓"; position: absolute; left: 10px; color: var(--frame98bff-good); font-weight: 800; }
.frame98bff-callout { padding: 13px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,204,2,.16), rgba(255,128,0,.08)); border: 1px solid rgba(255,204,2,.4); margin: 16px 0; }
.frame98bff-callout b { color: var(--frame98bff-gold); }
.frame98bff-callout p { font-size: 13px; color: var(--frame98bff-ink-soft); }
.frame98bff-answer-list { display: grid; gap: 9px; }
.frame98bff-answer { padding: 11px 12px; border: 1px solid var(--frame98bff-line); border-radius: 11px; background: #1b1b38; }
.frame98bff-answer dt { font-weight: 800; color: var(--frame98bff-gold-soft); font-size: 13.5px; }
.frame98bff-answer dd { color: var(--frame98bff-ink-soft); font-size: 13px; margin-top: 4px; }
.frame98bff-metric-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; margin: 10px 0; }
.frame98bff-metric { padding: 10px; border-radius: 10px; background: rgba(106,90,205,.14); border: 1px solid var(--frame98bff-line); }
.frame98bff-metric b { display: block; color: var(--frame98bff-gold); font-size: 17px; }
.frame98bff-metric span { color: var(--frame98bff-ink-mute); font-size: 11px; }
.frame98bff-page-footer { padding: 16px 14px 98px; color: var(--frame98bff-ink-faint); font-size: 11.5px; border-top: 1px solid var(--frame98bff-line); }
.frame98bff-page-footer a { color: var(--frame98bff-gold); }
@media (max-width: 359px) { .frame98bff-help-title { font-size: 23px; } .frame98bff-route a { font-size: 10px; } }

