/* ==========================================================================
   fb7775.sbs — mobile-first base stylesheet
   File : css/viewport-compact-1baeb5.css
   Rule : every class and CSS variable uses the prefix "framebaeb5-"
   Canvas: 320-430px phone frame, centered on wide screens
   Palette anchor: #0F0F23 (deep ink) + #FF8A80 (coral light)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --framebaeb5-bg: #0F0F23;
  --framebaeb5-bg-deep: #0A0A18;
  --framebaeb5-canvas-edge: #07070F;
  --framebaeb5-surface: #171731;
  --framebaeb5-surface-2: #1E1E3E;
  --framebaeb5-surface-3: #24244A;
  --framebaeb5-line: #2C2C54;
  --framebaeb5-line-soft: #232345;
  --framebaeb5-text: #F5F3FF;
  --framebaeb5-muted: #ABA8CC;
  --framebaeb5-faint: #7E7BA6;
  --framebaeb5-accent: #FF8A80;
  --framebaeb5-accent-strong: #FF6F61;
  --framebaeb5-accent-deep: #E85D4F;
  --framebaeb5-accent-soft: rgba(255, 138, 128, 0.14);
  --framebaeb5-accent-line: rgba(255, 138, 128, 0.40);
  --framebaeb5-ink-on-accent: #14142A;

  /* Mixed radius system: sharp CTAs, rounded cards, pill chips */
  --framebaeb5-r-btn: 2px;
  --framebaeb5-r-card: 12px;
  --framebaeb5-r-panel: 10px;
  --framebaeb5-r-chip: 999px;

  --framebaeb5-font-display: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --framebaeb5-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --framebaeb5-gap: 14px;
  --framebaeb5-bottomnav-h: 62px;

  --framebaeb5-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base + reset (scoped to component classes, light global reset only)
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body.framebaeb5-page {
  margin: 0;
  padding: 0;
  background: var(--framebaeb5-canvas-edge);
  color: var(--framebaeb5-text);
  font-family: var(--framebaeb5-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

.framebaeb5-page img { max-width: 100%; }

.framebaeb5-page a { color: var(--framebaeb5-accent); text-decoration: none; }
.framebaeb5-page a:hover,
.framebaeb5-page a:focus-visible { text-decoration: underline; }

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

.framebaeb5-page ::selection {
  background: var(--framebaeb5-accent);
  color: var(--framebaeb5-ink-on-accent);
}

/* --------------------------------------------------------------------------
   3. Phone canvas
   -------------------------------------------------------------------------- */
.framebaeb5-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framebaeb5-bg);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .framebaeb5-canvas {
    border-left: 1px solid var(--framebaeb5-line-soft);
    border-right: 1px solid var(--framebaeb5-line-soft);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

/* Main column keeps clearance under the fixed bottom band */
.framebaeb5-main {
  padding-bottom: calc(var(--framebaeb5-bottomnav-h) + 26px + env(safe-area-inset-bottom, 0px));
}

.framebaeb5-wrap { padding-left: var(--framebaeb5-gap); padding-right: var(--framebaeb5-gap); }

/* --------------------------------------------------------------------------
   4. Top action band (minimal title strip + actions)
   -------------------------------------------------------------------------- */
.framebaeb5-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  background: rgba(15, 15, 35, 0.94);
  border-bottom: 1px solid var(--framebaeb5-line-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.framebaeb5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.framebaeb5-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--framebaeb5-accent-line);
  object-fit: cover;
  display: block;
  flex: none;
  background: var(--framebaeb5-surface);
}

.framebaeb5-brand-name {
  font-family: var(--framebaeb5-font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--framebaeb5-text);
  white-space: nowrap;
}

.framebaeb5-brand-name em {
  font-style: normal;
  color: var(--framebaeb5-accent);
}

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

/* Square, high-contrast CTA buttons */
.framebaeb5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--framebaeb5-accent);
  border-radius: var(--framebaeb5-r-btn);
  background: var(--framebaeb5-accent);
  color: var(--framebaeb5-ink-on-accent);
  font-family: var(--framebaeb5-font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.15s var(--framebaeb5-ease), background 0.15s var(--framebaeb5-ease), color 0.15s var(--framebaeb5-ease);
}

.framebaeb5-btn:hover { background: var(--framebaeb5-accent-strong); }

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

.framebaeb5-btn--ghost {
  background: transparent;
  color: var(--framebaeb5-accent);
}

.framebaeb5-btn--ghost:hover { background: var(--framebaeb5-accent-soft); }

.framebaeb5-btn--compact { padding: 9px 10px; font-size: 12px; }

.framebaeb5-btn--wide { width: 100%; }

/* Menu trigger: stacked bars that collapse into a cross */
.framebaeb5-menubtn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--framebaeb5-surface-2);
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-btn);
  cursor: pointer;
}

.framebaeb5-menubtn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--framebaeb5-accent);
  transition: transform 0.25s var(--framebaeb5-ease), opacity 0.2s var(--framebaeb5-ease);
}

.framebaeb5-menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.framebaeb5-menubtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.framebaeb5-menubtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Compact route panel (expandable menu)
   -------------------------------------------------------------------------- */
.framebaeb5-routes {
  position: sticky;
  top: 56px;
  z-index: 49;
  max-height: 0;
  overflow: hidden;
  background: var(--framebaeb5-bg-deep);
  border-bottom: 1px solid transparent;
  transition: max-height 0.32s var(--framebaeb5-ease), border-color 0.3s var(--framebaeb5-ease);
}

.framebaeb5-routes.framebaeb5-open {
  max-height: 460px;
  border-bottom-color: var(--framebaeb5-line-soft);
}

.framebaeb5-routes-inner { padding: 12px 14px 16px; }

.framebaeb5-routes-label {
  margin: 10px 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--framebaeb5-faint);
}

.framebaeb5-routes-label:first-child { margin-top: 0; }

.framebaeb5-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.framebaeb5-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--framebaeb5-surface);
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-panel);
  color: var(--framebaeb5-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.framebaeb5-route:hover,
.framebaeb5-route:focus-visible {
  background: var(--framebaeb5-surface-3);
  text-decoration: none;
}

.framebaeb5-route--live {
  border-color: var(--framebaeb5-accent-line);
  background: var(--framebaeb5-accent-soft);
}

.framebaeb5-route i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--framebaeb5-accent);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   6. Hero block
   -------------------------------------------------------------------------- */
.framebaeb5-hero {
  padding: 22px var(--framebaeb5-gap) 18px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 138, 128, 0.16) 0%, rgba(255, 138, 128, 0) 55%),
    linear-gradient(180deg, #14142E 0%, var(--framebaeb5-bg) 100%);
}

.framebaeb5-hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid var(--framebaeb5-accent-line);
  border-radius: var(--framebaeb5-r-chip);
  background: var(--framebaeb5-accent-soft);
  color: var(--framebaeb5-accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.framebaeb5-h1 {
  margin: 0 0 12px;
  font-family: var(--framebaeb5-font-display);
  font-size: clamp(24px, 7.2vw, 30px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.3px;
  color: var(--framebaeb5-text);
}

.framebaeb5-h1 em {
  font-style: normal;
  color: var(--framebaeb5-accent);
}

.framebaeb5-hero-lede {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.66;
  color: var(--framebaeb5-muted);
}

.framebaeb5-hero-lede strong { color: var(--framebaeb5-text); }

.framebaeb5-hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}

/* Quick stat chips */
.framebaeb5-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.framebaeb5-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-chip);
  background: var(--framebaeb5-surface);
  color: var(--framebaeb5-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.framebaeb5-chip b { color: var(--framebaeb5-accent); font-weight: 800; }

/* --------------------------------------------------------------------------
   7. Entity fact ledger
   -------------------------------------------------------------------------- */
.framebaeb5-facts {
  margin: 4px 0 0;
  padding: 4px 0;
  border-top: 1px dashed var(--framebaeb5-line);
  list-style: none;
}

.framebaeb5-facts li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px dashed var(--framebaeb5-line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--framebaeb5-muted);
}

.framebaeb5-facts li:last-child { border-bottom: 0; }

.framebaeb5-facts i {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--framebaeb5-accent);
  box-shadow: 0 0 0 3px var(--framebaeb5-accent-soft);
}

.framebaeb5-facts b { color: var(--framebaeb5-text); }

/* --------------------------------------------------------------------------
   8. Promo banner carousel
   -------------------------------------------------------------------------- */
.framebaeb5-carousel {
  position: relative;
  margin: 18px var(--framebaeb5-gap) 0;
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-card);
  overflow: hidden;
  background: var(--framebaeb5-surface);
}

.framebaeb5-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s var(--framebaeb5-ease);
}

.framebaeb5-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--framebaeb5-surface-2);
  cursor: pointer;
  text-align: left;
}

.framebaeb5-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.framebaeb5-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(10, 10, 24, 0) 0%, rgba(10, 10, 24, 0.88) 78%);
  color: var(--framebaeb5-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.framebaeb5-slide-caption small {
  display: block;
  margin-top: 2px;
  color: var(--framebaeb5-accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.framebaeb5-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(10, 10, 24, 0.55);
  color: var(--framebaeb5-text);
  font-size: 16px;
  cursor: pointer;
}

.framebaeb5-carousel-arrow:hover { background: rgba(10, 10, 24, 0.8); }

.framebaeb5-carousel-arrow--prev { left: 0; border-radius: 0 var(--framebaeb5-r-panel) var(--framebaeb5-r-panel) 0; }
.framebaeb5-carousel-arrow--next { right: 0; border-radius: var(--framebaeb5-r-panel) 0 0 var(--framebaeb5-r-panel); }

.framebaeb5-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.framebaeb5-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(245, 243, 255, 0.35);
  cursor: pointer;
  transition: transform 0.25s var(--framebaeb5-ease), background 0.25s var(--framebaeb5-ease);
}

.framebaeb5-dot--on { background: var(--framebaeb5-accent); transform: scaleY(1.5); }

/* --------------------------------------------------------------------------
   9. Section shells
   -------------------------------------------------------------------------- */
.framebaeb5-section { padding: 24px var(--framebaeb5-gap) 6px; }

.framebaeb5-sectionhead { margin-bottom: 10px; }

.framebaeb5-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--framebaeb5-accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.framebaeb5-h2 {
  margin: 0;
  font-family: var(--framebaeb5-font-display);
  font-size: clamp(19px, 5.6vw, 23px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.2px;
  color: var(--framebaeb5-text);
}

.framebaeb5-sectionlede {
  margin: 8px 0 12px;
  color: var(--framebaeb5-muted);
  font-size: 13px;
  line-height: 1.62;
}

.framebaeb5-sectionlede strong { color: var(--framebaeb5-text); }

.framebaeb5-h3 {
  margin: 14px 0 6px;
  font-family: var(--framebaeb5-font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--framebaeb5-text);
}

.framebaeb5-p {
  margin: 0 0 10px;
  color: var(--framebaeb5-muted);
  font-size: 13px;
  line-height: 1.64;
}

.framebaeb5-p strong,
.framebaeb5-p b { color: var(--framebaeb5-text); }

/* --------------------------------------------------------------------------
   10. Numbered quick-start steps
   -------------------------------------------------------------------------- */
.framebaeb5-steps {
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: framebaeb5-step;
}

.framebaeb5-steps li {
  position: relative;
  counter-increment: framebaeb5-step;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--framebaeb5-line-soft);
  font-size: 13px;
  line-height: 1.58;
  color: var(--framebaeb5-muted);
}

.framebaeb5-steps li:last-child { border-bottom: 0; }

.framebaeb5-steps li::before {
  content: counter(framebaeb5-step);
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: var(--framebaeb5-r-btn);
  background: var(--framebaeb5-accent-soft);
  border: 1px solid var(--framebaeb5-accent-line);
  color: var(--framebaeb5-accent);
  font-family: var(--framebaeb5-font-display);
  font-size: 13px;
  font-weight: 800;
}

.framebaeb5-steps b { color: var(--framebaeb5-text); }

/* --------------------------------------------------------------------------
   11. Cashier / fact tables
   -------------------------------------------------------------------------- */
.framebaeb5-tablewrap {
  margin: 12px 0 6px;
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-card);
  background: var(--framebaeb5-surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.framebaeb5-tablewrap::-webkit-scrollbar { height: 5px; }
.framebaeb5-tablewrap::-webkit-scrollbar-thumb { background: var(--framebaeb5-line); border-radius: 3px; }

.framebaeb5-table {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}

.framebaeb5-table caption {
  caption-side: top;
  padding: 10px 12px 8px;
  text-align: left;
  color: var(--framebaeb5-text);
  font-size: 12.5px;
  font-weight: 800;
  border-bottom: 1px solid var(--framebaeb5-line-soft);
}

.framebaeb5-table th {
  padding: 9px 10px;
  background: var(--framebaeb5-surface-3);
  color: var(--framebaeb5-accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.framebaeb5-table td {
  padding: 9px 10px;
  border-top: 1px solid var(--framebaeb5-line-soft);
  color: var(--framebaeb5-muted);
  vertical-align: top;
}

.framebaeb5-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.018); }

.framebaeb5-table td b { color: var(--framebaeb5-text); }

.framebaeb5-updated {
  margin: 6px 0 0;
  color: var(--framebaeb5-faint);
  font-size: 11px;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   12. Game grids — image tile with bottom name bar
   -------------------------------------------------------------------------- */
.framebaeb5-gamezone { margin-top: 6px; }

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

@media (min-width: 392px) {
  .framebaeb5-grid { gap: 10px 8px; }
}

.framebaeb5-game {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-card);
  background: var(--framebaeb5-surface);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s var(--framebaeb5-ease), transform 0.18s var(--framebaeb5-ease);
  -webkit-tap-highlight-color: transparent;
}

.framebaeb5-game:hover,
.framebaeb5-game:focus-visible {
  border-color: var(--framebaeb5-accent-line);
  transform: translateY(-2px);
}

.framebaeb5-game img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--framebaeb5-surface-2);
  pointer-events: none;
}

.framebaeb5-game-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 4px 4px 5px;
  min-height: 32px;
  background: #13132B;
  border-top: 1px solid var(--framebaeb5-line-soft);
  color: var(--framebaeb5-text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
}

/* Related-route row under each game category */
.framebaeb5-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 11px 0 4px;
}

.framebaeb5-related span {
  color: var(--framebaeb5-faint);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.framebaeb5-related a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-chip);
  background: var(--framebaeb5-surface);
  color: var(--framebaeb5-accent);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.framebaeb5-related a:hover {
  border-color: var(--framebaeb5-accent-line);
  background: var(--framebaeb5-accent-soft);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   13. Scene-branch modules (highlights rail, reviews, guide rows)
   -------------------------------------------------------------------------- */
.framebaeb5-rail {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.framebaeb5-rail::-webkit-scrollbar { display: none; }

.framebaeb5-branch {
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 12px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-left: 3px solid var(--framebaeb5-accent);
  border-radius: 0 var(--framebaeb5-r-card) var(--framebaeb5-r-card) 0;
  background: var(--framebaeb5-surface);
}

.framebaeb5-branch-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: var(--framebaeb5-r-chip);
  background: var(--framebaeb5-accent-soft);
  color: var(--framebaeb5-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.framebaeb5-branch p {
  margin: 0;
  color: var(--framebaeb5-muted);
  font-size: 12px;
  line-height: 1.55;
}

.framebaeb5-branch b { color: var(--framebaeb5-text); }

/* Review cards */
.framebaeb5-reviews {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.framebaeb5-review {
  position: relative;
  padding: 12px 12px 10px 14px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-card);
  background: linear-gradient(180deg, var(--framebaeb5-surface-2) 0%, var(--framebaeb5-surface) 100%);
}

.framebaeb5-review::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 10px;
  color: var(--framebaeb5-accent);
  font-family: var(--framebaeb5-font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.65;
}

.framebaeb5-review p {
  margin: 8px 0 8px;
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.58;
}

.framebaeb5-review footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--framebaeb5-faint);
  font-size: 11px;
  font-weight: 700;
}

.framebaeb5-review footer b { color: var(--framebaeb5-accent); }

/* Goal -> pick guide rows */
.framebaeb5-guide {
  margin: 12px 0 4px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-card);
  overflow: hidden;
}

.framebaeb5-guide-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-top: 1px solid var(--framebaeb5-line-soft);
  background: var(--framebaeb5-surface);
}

.framebaeb5-guide-row:first-child { border-top: 0; }

.framebaeb5-guide-goal {
  flex: 0 0 92px;
  padding-top: 1px;
  color: var(--framebaeb5-accent);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.framebaeb5-guide-pick {
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.framebaeb5-guide-pick b { color: var(--framebaeb5-text); }

/* Decision CTA band */
.framebaeb5-ctaband {
  margin: 16px 0 4px;
  padding: 16px 14px;
  border: 1px solid var(--framebaeb5-accent-line);
  border-radius: var(--framebaeb5-r-card);
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.20) 0%, rgba(255, 138, 128, 0.06) 60%),
    var(--framebaeb5-surface);
}

.framebaeb5-ctaband p {
  margin: 0 0 12px;
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.58;
}

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

.framebaeb5-ctaband-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* FAQ blocks */
.framebaeb5-faq {
  margin: 12px 0 4px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-card);
  overflow: hidden;
}

.framebaeb5-faq-item {
  padding: 12px 12px 11px;
  border-top: 1px solid var(--framebaeb5-line-soft);
  background: var(--framebaeb5-surface);
}

.framebaeb5-faq-item:first-child { border-top: 0; }

.framebaeb5-faq-item h3 {
  margin: 0 0 6px;
  font-family: var(--framebaeb5-font-display);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--framebaeb5-text);
}

.framebaeb5-faq-item p {
  margin: 0;
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.framebaeb5-faq-item p b { color: var(--framebaeb5-text); }

/* --------------------------------------------------------------------------
   14. Extended footer (brand > promotions > directory > support line)
   -------------------------------------------------------------------------- */
.framebaeb5-extfoot {
  margin-top: 26px;
  padding: 20px var(--framebaeb5-gap) 18px;
  border-top: 1px solid var(--framebaeb5-line);
  background: var(--framebaeb5-bg-deep);
}

.framebaeb5-extfoot-title {
  display: block;
  margin: 16px 0 8px;
  color: var(--framebaeb5-faint);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.framebaeb5-extfoot-title:first-child { margin-top: 0; }

.framebaeb5-extfoot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.framebaeb5-extfoot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--framebaeb5-accent-line);
  object-fit: cover;
}

.framebaeb5-extfoot-brand b {
  font-family: var(--framebaeb5-font-display);
  font-size: 16px;
  font-weight: 800;
}

.framebaeb5-extfoot p {
  margin: 0;
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.framebaeb5-promorow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.framebaeb5-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid var(--framebaeb5-accent-line);
  border-radius: var(--framebaeb5-r-btn);
  background: var(--framebaeb5-accent-soft);
  color: var(--framebaeb5-accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s var(--framebaeb5-ease), color 0.16s var(--framebaeb5-ease);
}

.framebaeb5-promo:hover {
  background: var(--framebaeb5-accent);
  color: var(--framebaeb5-ink-on-accent);
  text-decoration: none;
}

.framebaeb5-dirlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.framebaeb5-dirlist a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-panel);
  background: var(--framebaeb5-surface);
  color: var(--framebaeb5-text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}

.framebaeb5-dirlist a i {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: var(--framebaeb5-accent);
  transform: rotate(45deg);
}

.framebaeb5-dirlist a:hover {
  border-color: var(--framebaeb5-accent-line);
  background: var(--framebaeb5-accent-soft);
  text-decoration: none;
}

.framebaeb5-supportline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px dashed var(--framebaeb5-accent-line);
  border-radius: var(--framebaeb5-r-panel);
  color: var(--framebaeb5-muted);
  font-size: 12px;
  line-height: 1.5;
}

.framebaeb5-supportline b { color: var(--framebaeb5-accent); }

/* Universal copyright bar */
.framebaeb5-copy {
  padding: 14px var(--framebaeb5-gap) 16px;
  border-top: 1px solid var(--framebaeb5-line-soft);
  color: var(--framebaeb5-faint);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. Fixed bottom band (5 roles, active block, sliding indicator)
   -------------------------------------------------------------------------- */
.framebaeb5-bottomnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 60;
  width: 100%;
  max-width: 430px;
  background: rgba(13, 13, 30, 0.97);
  border-top: 1px solid var(--framebaeb5-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.framebaeb5-navrow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--framebaeb5-bottomnav-h);
}

.framebaeb5-glide {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--framebaeb5-accent);
  transition: transform 0.3s var(--framebaeb5-ease);
}

.framebaeb5-navlink {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 0 2px;
  color: var(--framebaeb5-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.framebaeb5-navlink:active { color: var(--framebaeb5-muted); }

.framebaeb5-navlink svg {
  width: 22px;
  height: 22px;
  display: block;
}

.framebaeb5-navlink svg .framebaeb5-ico-a { fill: currentColor; }
.framebaeb5-navlink svg .framebaeb5-ico-b { fill: var(--framebaeb5-accent); opacity: 0.55; }

/* Active role sits on a supporting background block */
.framebaeb5-navlink.framebaeb5-on {
  color: var(--framebaeb5-accent);
}

.framebaeb5-navlink.framebaeb5-on::before {
  content: "";
  position: absolute;
  inset: 7px 4px 6px;
  z-index: -1;
  border-radius: var(--framebaeb5-r-panel);
  background: var(--framebaeb5-accent-soft);
  border: 1px solid var(--framebaeb5-accent-line);
}

.framebaeb5-navlink.framebaeb5-on svg .framebaeb5-ico-b { opacity: 1; }

.framebaeb5-navlink buttonreset,
.framebaeb5-navlink { background: none; border: 0; font-family: inherit; }

/* --------------------------------------------------------------------------
   16. Restrained reveal motion (JS-gated so content never hides without JS)
   -------------------------------------------------------------------------- */
.framebaeb5-js .framebaeb5-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--framebaeb5-ease), transform 0.5s var(--framebaeb5-ease);
}

.framebaeb5-js .framebaeb5-reveal.framebaeb5-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .framebaeb5-js .framebaeb5-reveal,
  .framebaeb5-js .framebaeb5-reveal.framebaeb5-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .framebaeb5-track,
  .framebaeb5-glide,
  .framebaeb5-dot,
  .framebaeb5-game,
  .framebaeb5-btn,
  .framebaeb5-promo {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   17. Small helpers
   -------------------------------------------------------------------------- */
.framebaeb5-srtext {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.framebaeb5-note {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-left: 3px solid var(--framebaeb5-accent);
  border-radius: 0 var(--framebaeb5-r-panel) var(--framebaeb5-r-panel) 0;
  background: var(--framebaeb5-surface);
  color: var(--framebaeb5-muted);
  font-size: 12px;
  line-height: 1.55;
}

.framebaeb5-note b { color: var(--framebaeb5-text); }

/* --------------------------------------------------------------------------
   18. Help page modules (breadcrumbs, split cards, channel grid, promos)
   -------------------------------------------------------------------------- */
.framebaeb5-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 11.5px;
  color: var(--framebaeb5-faint);
}

.framebaeb5-crumb a {
  color: var(--framebaeb5-accent);
  font-weight: 700;
}

.framebaeb5-crumb span[aria-current="page"] {
  color: var(--framebaeb5-muted);
  font-weight: 600;
}

.framebaeb5-cardgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 12px 0 4px;
}

@media (min-width: 360px) {
  .framebaeb5-cardgrid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.framebaeb5-infocard {
  padding: 12px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-card);
  background: var(--framebaeb5-surface);
}

.framebaeb5-infocard-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: var(--framebaeb5-r-chip);
  background: var(--framebaeb5-accent-soft);
  color: var(--framebaeb5-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.framebaeb5-infocard h3 {
  margin: 0 0 5px;
  font-family: var(--framebaeb5-font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--framebaeb5-text);
}

.framebaeb5-infocard p {
  margin: 0;
  color: var(--framebaeb5-muted);
  font-size: 12px;
  line-height: 1.56;
}

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

.framebaeb5-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 14px;
}

.framebaeb5-spot {
  padding: 10px 8px;
  border: 1px solid var(--framebaeb5-line);
  border-top: 2px solid var(--framebaeb5-accent);
  border-radius: 0 0 var(--framebaeb5-r-panel) var(--framebaeb5-r-panel);
  background: var(--framebaeb5-surface);
  text-align: center;
}

.framebaeb5-spot strong {
  display: block;
  color: var(--framebaeb5-text);
  font-family: var(--framebaeb5-font-display);
  font-size: 13px;
  font-weight: 800;
}

.framebaeb5-spot span {
  display: block;
  margin-top: 2px;
  color: var(--framebaeb5-accent);
  font-size: 11px;
  font-weight: 700;
}

.framebaeb5-inlinepromo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 4px;
  padding: 11px 12px;
  border: 1px solid var(--framebaeb5-accent-line);
  border-radius: var(--framebaeb5-r-panel);
  background: linear-gradient(90deg, var(--framebaeb5-surface-2) 0%, var(--framebaeb5-surface) 100%);
}

.framebaeb5-inlinepromo-copy {
  min-width: 0;
  color: var(--framebaeb5-muted);
  font-size: 12px;
  line-height: 1.45;
}

.framebaeb5-inlinepromo-copy b {
  display: block;
  color: var(--framebaeb5-text);
  font-size: 13px;
  margin-bottom: 2px;
}

.framebaeb5-inlinepromo .framebaeb5-btn {
  flex: none;
  white-space: nowrap;
}

.framebaeb5-checklist {
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
}

.framebaeb5-checklist li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 10px;
  margin-bottom: 6px;
  border: 1px solid var(--framebaeb5-line-soft);
  border-radius: var(--framebaeb5-r-panel);
  background: var(--framebaeb5-surface);
  color: var(--framebaeb5-muted);
  font-size: 12.5px;
  line-height: 1.54;
}

.framebaeb5-checklist li::before {
  content: "\2713";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--framebaeb5-accent-soft);
  color: var(--framebaeb5-accent);
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.framebaeb5-checklist b { color: var(--framebaeb5-text); }

.framebaeb5-textcta {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--framebaeb5-accent);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.framebaeb5-textcta:hover { color: var(--framebaeb5-accent-strong); }

.framebaeb5-bannerlink {
  display: block;
  width: 100%;
  margin: 12px 0 4px;
  padding: 0;
  border: 1px solid var(--framebaeb5-line);
  border-radius: var(--framebaeb5-r-card);
  background: var(--framebaeb5-surface);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.framebaeb5-bannerlink img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.framebaeb5-bannerlink span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  color: var(--framebaeb5-text);
  font-size: 12px;
  font-weight: 700;
}

.framebaeb5-bannerlink em {
  font-style: normal;
  color: var(--framebaeb5-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}
