/* ==========================================================================
   9777bet app apk - palette responsive base stylesheet
   Prefix contract : every class  -> frame13fd3-
                     every var   -> --frame13fd3-*
   Palette         : #F5F5F5 / #40E0D0 / #FFB347 / #FAFAD2 / #2C2C2C
   Canvas          : mobile first, stable 320 - 430px, centered >= 431px
   Motion          : focus-indicator slide + restrained glow feedback
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --frame13fd3-canvas: 430px;              /* literal design canvas width */
  --frame13fd3-ink: #2C2C2C;               /* base surface */
  --frame13fd3-ink-deep: #232323;          /* pressed surface */
  --frame13fd3-ink-raise: #353535;         /* raised panel */
  --frame13fd3-ink-line: #434343;          /* hairline border */
  --frame13fd3-paper: #F5F5F5;             /* primary light text */
  --frame13fd3-paper-dim: rgba(245, 245, 245, 0.68);
  --frame13fd3-paper-faint: rgba(245, 245, 245, 0.42);
  --frame13fd3-teal: #40E0D0;              /* primary accent */
  --frame13fd3-teal-deep: #2FBFB1;
  --frame13fd3-teal-soft: rgba(64, 224, 208, 0.14);
  --frame13fd3-amber: #FFB347;             /* secondary accent */
  --frame13fd3-amber-soft: rgba(255, 179, 71, 0.16);
  --frame13fd3-lemon: #FAFAD2;             /* light card surface */
  --frame13fd3-lemon-dim: #EFEFD2;
  --frame13fd3-card-ink: #2C2C2C;          /* text on lemon cards */
  --frame13fd3-radius-card: 6px;           /* cards stay square-ish */
  --frame13fd3-radius-pill: 999px;         /* buttons are round pills */
  --frame13fd3-header-h: 58px;
  --frame13fd3-bottomnav-h: 60px;
  --frame13fd3-glow-teal: 0 0 0 3px rgba(64, 224, 208, 0.30);
  --frame13fd3-glow-amber: 0 0 0 3px rgba(255, 179, 71, 0.32);
  --frame13fd3-lift: 0 10px 22px rgba(0, 0, 0, 0.38);
  --frame13fd3-float: 0 3px 10px rgba(0, 0, 0, 0.22);
  --frame13fd3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --frame13fd3-font: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali",
    "Hind Siliguri", "SolaimanLipi", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--frame13fd3-font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--frame13fd3-paper);
  background: var(--frame13fd3-ink);
  padding-top: var(--frame13fd3-header-h);
  overflow-x: hidden;
}

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

a { color: var(--frame13fd3-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }

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

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--frame13fd3-glow-teal); border-radius: 4px; }

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

/* --------------------------------------------------------------------------
   3. Canvas shell - phone width column, centered with shadow on desktop
   -------------------------------------------------------------------------- */
.frame13fd3-shell {
  width: 100%;
  max-width: var(--frame13fd3-canvas);     /* 430px hard cap */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame13fd3-ink);
  position: relative;
}

@media (min-width: 431px) {
  body { background: #191919; }
  .frame13fd3-shell {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   4. Edge-aligned functional header
   -------------------------------------------------------------------------- */
.frame13fd3-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--frame13fd3-header-h);
  background: rgba(44, 44, 44, 0.96);
  border-bottom: 1px solid var(--frame13fd3-ink-line);
  backdrop-filter: saturate(1.2) blur(6px);
}

.frame13fd3-header-bar {
  max-width: var(--frame13fd3-canvas);
  height: 100%;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* brand left edge, actions right edge */
  gap: 8px;
}

/* Brand area: icon + name only */
.frame13fd3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.frame13fd3-brand-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(64, 224, 208, 0.35);
}

.frame13fd3-brand-name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frame13fd3-paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame13fd3-brand-name b { color: var(--frame13fd3-teal); font-weight: 800; }

.frame13fd3-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.frame13fd3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--frame13fd3-radius-pill);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s var(--frame13fd3-ease), box-shadow 0.18s var(--frame13fd3-ease),
    background-color 0.18s var(--frame13fd3-ease);
  -webkit-tap-highlight-color: transparent;
}

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

.frame13fd3-btn-register {
  min-height: 34px;
  padding: 0 16px;
  font-size: 13.5px;
  color: #103B36;
  background: linear-gradient(135deg, var(--frame13fd3-teal) 0%, #6BE8DC 100%);
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.30);
}

.frame13fd3-btn-login {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--frame13fd3-amber);
  border: 1.5px solid rgba(255, 179, 71, 0.55);
  background: rgba(255, 179, 71, 0.08);
}

.frame13fd3-btn-login:active { box-shadow: var(--frame13fd3-glow-amber); }

.frame13fd3-menu-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame13fd3-ink-line);
  background: var(--frame13fd3-ink-raise);
  color: var(--frame13fd3-paper);
  transition: background-color 0.18s var(--frame13fd3-ease);
}

.frame13fd3-menu-btn:active { background: #3F3F3F; }

.frame13fd3-menu-btn svg { width: 19px; height: 19px; display: block; }

.frame13fd3-menu-btn[aria-expanded="true"] .frame13fd3-menu-open { display: none; }
.frame13fd3-menu-btn[aria-expanded="false"] .frame13fd3-menu-close { display: none; }

/* --------------------------------------------------------------------------
   5. Layered dropdown menu panel
   -------------------------------------------------------------------------- */
.frame13fd3-drawer {
  position: fixed;
  top: var(--frame13fd3-header-h);
  left: 0; right: 0;
  z-index: 55;
  max-height: 0;
  overflow: hidden;
  background: var(--frame13fd3-ink-deep);
  border-bottom: 1px solid transparent;
  transition: max-height 0.32s var(--frame13fd3-ease), border-color 0.32s var(--frame13fd3-ease);
}

.frame13fd3-drawer.frame13fd3-drawer-open {
  max-height: 480px;
  border-bottom-color: var(--frame13fd3-ink-line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.frame13fd3-drawer-inner {
  max-width: var(--frame13fd3-canvas);
  margin: 0 auto;
  padding: 10px 12px 16px;
}

.frame13fd3-drawer-group-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frame13fd3-teal);
  padding: 8px 4px 6px;
}

.frame13fd3-drawer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame13fd3-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--frame13fd3-radius-card);
  border: 1px solid var(--frame13fd3-ink-line);
  background: var(--frame13fd3-ink-raise);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--frame13fd3-paper);
  line-height: 1.3;
  transition: border-color 0.18s var(--frame13fd3-ease), background-color 0.18s var(--frame13fd3-ease);
}

.frame13fd3-drawer-link:hover { text-decoration: none; border-color: rgba(64, 224, 208, 0.5); }

.frame13fd3-drawer-link svg,
.frame13fd3-drawer-link > span:first-child {
  width: 17px; height: 17px;
  flex: 0 0 auto;
  color: var(--frame13fd3-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}

.frame13fd3-drawer-link.frame13fd3-is-here {
  background: var(--frame13fd3-paper);
  color: var(--frame13fd3-card-ink);
  border-color: var(--frame13fd3-paper);
}

.frame13fd3-drawer-link.frame13fd3-is-here svg { color: #0F8F84; }

.frame13fd3-drawer-foot {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--frame13fd3-radius-card);
  background: var(--frame13fd3-teal-soft);
  font-size: 12px;
  color: var(--frame13fd3-paper-dim);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Generic section rhythm
   -------------------------------------------------------------------------- */
.frame13fd3-main {
  padding-bottom: calc(var(--frame13fd3-bottomnav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.frame13fd3-section {
  padding: 22px 14px 8px;
}

.frame13fd3-section + .frame13fd3-section { padding-top: 10px; }

/* geometric heading: square tag + weight + tracking */
.frame13fd3-h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.45;
  color: var(--frame13fd3-paper);
  margin: 0 0 10px;
}

.frame13fd3-h2::before {
  content: "";
  width: 7px; height: 20px;
  flex: 0 0 auto;
  background: var(--frame13fd3-amber);
  transform: skewX(-12deg);
}

.frame13fd3-h2 em {
  font-style: normal;
  color: var(--frame13fd3-teal);
}

.frame13fd3-h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--frame13fd3-paper);
  margin: 16px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.frame13fd3-h3-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--frame13fd3-amber);
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.frame13fd3-lead {
  font-size: 14px;
  color: var(--frame13fd3-paper-dim);
  line-height: 1.85;
}

.frame13fd3-lead + .frame13fd3-lead { margin-top: 8px; }

.frame13fd3-lead strong { color: var(--frame13fd3-paper); font-weight: 700; }

.frame13fd3-lead a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   7. Hero - H1 block
   -------------------------------------------------------------------------- */
.frame13fd3-hero {
  padding: 18px 14px 4px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(64, 224, 208, 0.16) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(255, 179, 71, 0.10) 0%, transparent 50%),
    var(--frame13fd3-ink);
}

.frame13fd3-h1 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--frame13fd3-paper);
  margin: 0 0 10px;
}

.frame13fd3-h1 mark {
  background: linear-gradient(transparent 68%, rgba(255, 179, 71, 0.55) 68%);
  color: var(--frame13fd3-paper);
  padding: 0 2px;
}

.frame13fd3-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.frame13fd3-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--frame13fd3-radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--frame13fd3-ink-line);
  background: var(--frame13fd3-ink-raise);
  color: var(--frame13fd3-paper-dim);
  white-space: nowrap;
}

.frame13fd3-chip svg { width: 13px; height: 13px; color: var(--frame13fd3-teal); }

.frame13fd3-chip.frame13fd3-chip-amber svg { color: var(--frame13fd3-amber); }

/* --------------------------------------------------------------------------
   8. Carousel - banners with sliding focus indicator
   -------------------------------------------------------------------------- */
.frame13fd3-carousel {
  position: relative;
  margin: 6px 0 0;
}

.frame13fd3-carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--frame13fd3-float);
}

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

.frame13fd3-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.frame13fd3-slide img {
  width: 100%;
  aspect-ratio: 10 / 5;
  object-fit: cover;
  display: block;
}

.frame13fd3-slide:active img { filter: brightness(1.08); }

/* focus-indicator slide: ink bar travels across the dots */
.frame13fd3-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.frame13fd3-dot {
  position: relative;
  width: 34px; height: 5px;
  border-radius: var(--frame13fd3-radius-pill);
  background: var(--frame13fd3-ink-raise);
  overflow: hidden;
  transition: background-color 0.25s var(--frame13fd3-ease);
}

.frame13fd3-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--frame13fd3-teal), var(--frame13fd3-amber));
  transform: translateX(-101%);
  transition: transform 0.35s var(--frame13fd3-ease);
}

.frame13fd3-dot.frame13fd3-dot-on::after { transform: translateX(0); }

.frame13fd3-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 35, 35, 0.72);
  color: var(--frame13fd3-paper);
  border: 1px solid rgba(245, 245, 245, 0.18);
  z-index: 2;
  transition: box-shadow 0.2s var(--frame13fd3-ease);
}

.frame13fd3-carousel-arrow svg { width: 15px; height: 15px; display: block; }

.frame13fd3-carousel-arrow:active { box-shadow: var(--frame13fd3-glow-teal); }

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

/* --------------------------------------------------------------------------
   9. Game grid - light floating square cards
   -------------------------------------------------------------------------- */
.frame13fd3-games {
  margin-top: 4px;
}

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

@media (min-width: 380px) {
  .frame13fd3-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.frame13fd3-game-card {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--frame13fd3-radius-card);
  background: var(--frame13fd3-lemon);
  padding: 5px 4px 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.10);
  transition: transform 0.18s var(--frame13fd3-ease), box-shadow 0.18s var(--frame13fd3-ease);
  -webkit-tap-highlight-color: transparent;
}

.frame13fd3-game-card:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.55);
}

.frame13fd3-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #E4E4C9;
}

.frame13fd3-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--frame13fd3-card-ink);
}

.frame13fd3-cat-note {
  font-size: 12px;
  color: var(--frame13fd3-paper-faint);
  margin: -2px 0 8px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Download module
   -------------------------------------------------------------------------- */
.frame13fd3-dl {
  margin: 12px 0 4px;
  padding: 16px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(64, 224, 208, 0.10), rgba(250, 250, 210, 0.05));
  border: 1px solid rgba(64, 224, 208, 0.28);
}

.frame13fd3-dl-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.frame13fd3-dl-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--frame13fd3-teal-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--frame13fd3-teal);
}

.frame13fd3-dl-icon svg { width: 24px; height: 24px; }

.frame13fd3-dl-copy { min-width: 0; }

.frame13fd3-dl-copy p { font-size: 13px; color: var(--frame13fd3-paper-dim); line-height: 1.7; }

/* staggered CTA pair: primary wide, secondary narrower + offset */
.frame13fd3-cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
  align-items: center;
}

.frame13fd3-cta-main {
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  flex: 1 1 62%;
  color: #103B36;
  background: linear-gradient(135deg, var(--frame13fd3-teal) 0%, #7DEEDF 100%);
  box-shadow: 0 6px 16px rgba(64, 224, 208, 0.32);
}

.frame13fd3-cta-second {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  flex: 1 1 34%;
  color: var(--frame13fd3-paper);
  border: 1.5px solid rgba(255, 179, 71, 0.6);
  background: rgba(255, 179, 71, 0.10);
}

.frame13fd3-cta-second:active { box-shadow: var(--frame13fd3-glow-amber); }

/* --------------------------------------------------------------------------
   11. Milestone timeline (achievements)
   -------------------------------------------------------------------------- */
.frame13fd3-timeline {
  margin: 12px 0 4px;
  padding-left: 4px;
}

.frame13fd3-tl-item {
  position: relative;
  padding: 0 0 14px 30px;
}

.frame13fd3-tl-item::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--frame13fd3-teal);
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.16);
}

.frame13fd3-tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px; top: 19px; bottom: -2px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(64, 224, 208, 0.5), rgba(64, 224, 208, 0.08));
}

.frame13fd3-tl-item:nth-child(even)::before { background: var(--frame13fd3-amber); box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.14); }

.frame13fd3-tl-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--frame13fd3-paper);
  letter-spacing: 0.2px;
}

.frame13fd3-tl-text {
  font-size: 12.5px;
  color: var(--frame13fd3-paper-dim);
  line-height: 1.75;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   12. Payment module - chip wall + note
   -------------------------------------------------------------------------- */
.frame13fd3-pay-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 4px;
}

.frame13fd3-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--frame13fd3-radius-pill);
  border: 1px solid var(--frame13fd3-ink-line);
  background: var(--frame13fd3-ink-raise);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frame13fd3-paper);
}

.frame13fd3-pay-chip svg { width: 15px; height: 15px; color: var(--frame13fd3-teal); }

.frame13fd3-pay-chip.frame13fd3-pay-hot {
  border-color: rgba(255, 179, 71, 0.55);
  background: var(--frame13fd3-amber-soft);
  color: var(--frame13fd3-amber);
}

.frame13fd3-note {
  margin-top: 10px;
  padding: 11px 13px;
  border-left: 3px solid var(--frame13fd3-amber);
  background: rgba(255, 179, 71, 0.07);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--frame13fd3-paper-dim);
  border-radius: 0 8px 8px 0;
}

.frame13fd3-note strong { color: var(--frame13fd3-amber); }

/* --------------------------------------------------------------------------
   13. Mood picker (category highlights) - scene branching cards
   -------------------------------------------------------------------------- */
.frame13fd3-scenes {
  display: grid;
  gap: 9px;
  margin: 12px 0 4px;
}

.frame13fd3-scene {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--frame13fd3-ink-line);
  background: var(--frame13fd3-ink-raise);
  color: var(--frame13fd3-paper);
  transition: border-color 0.18s var(--frame13fd3-ease), transform 0.18s var(--frame13fd3-ease);
}

.frame13fd3-scene:hover { text-decoration: none; border-color: rgba(64, 224, 208, 0.5); }
.frame13fd3-scene:active { transform: scale(0.985); }

.frame13fd3-scene-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame13fd3-teal-soft);
  color: var(--frame13fd3-teal);
}

.frame13fd3-scene:nth-child(2n) .frame13fd3-scene-ico {
  background: var(--frame13fd3-amber-soft);
  color: var(--frame13fd3-amber);
}

.frame13fd3-scene-ico svg { width: 21px; height: 21px; }

.frame13fd3-scene-copy { min-width: 0; }

.frame13fd3-scene-copy h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: var(--frame13fd3-paper);
}

.frame13fd3-scene-copy p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--frame13fd3-paper-dim);
}

.frame13fd3-scene-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--frame13fd3-teal);
}

.frame13fd3-scene-arrow svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   14. Steps module
   -------------------------------------------------------------------------- */
.frame13fd3-steps {
  counter-reset: frame13fd3step;
  margin: 12px 0 4px;
  display: grid;
  gap: 8px;
}

.frame13fd3-step {
  counter-increment: frame13fd3step;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--frame13fd3-radius-card);
  background: var(--frame13fd3-lemon);
  color: var(--frame13fd3-card-ink);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

.frame13fd3-step::before {
  content: counter(frame13fd3step);
  flex: 0 0 auto;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--frame13fd3-card-ink);
  color: var(--frame13fd3-lemon);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.frame13fd3-step b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.frame13fd3-step p {
  font-size: 12px;
  line-height: 1.65;
  margin: 1px 0 0;
  color: rgba(44, 44, 44, 0.78);
}

/* --------------------------------------------------------------------------
   15. Use-case module - stacked vertical branches
   -------------------------------------------------------------------------- */
.frame13fd3-usecases { margin: 12px 0 4px; display: grid; gap: 10px; }

.frame13fd3-usecase {
  border: 1px dashed rgba(64, 224, 208, 0.38);
  border-radius: 12px;
  padding: 12px 13px;
  background: rgba(64, 224, 208, 0.05);
}

.frame13fd3-usecase-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--frame13fd3-radius-pill);
  background: var(--frame13fd3-teal);
  color: #103B36;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 7px;
}

.frame13fd3-usecase:nth-child(2n) { border-color: rgba(255, 179, 71, 0.42); background: rgba(255, 179, 71, 0.05); }
.frame13fd3-usecase:nth-child(2n) .frame13fd3-usecase-tag { background: var(--frame13fd3-amber); color: #4A2E00; }

.frame13fd3-usecase p { font-size: 12.5px; line-height: 1.75; color: var(--frame13fd3-paper-dim); }
.frame13fd3-usecase p strong { color: var(--frame13fd3-paper); }

/* --------------------------------------------------------------------------
   16. Extended footer
   -------------------------------------------------------------------------- */
.frame13fd3-foot {
  margin-top: 18px;
  padding: 18px 14px 8px;
  background: var(--frame13fd3-ink-deep);
  border-top: 1px solid var(--frame13fd3-ink-line);
}

.frame13fd3-foot-h2 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--frame13fd3-paper);
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}

/* 4 promo tiles */
.frame13fd3-foot-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.frame13fd3-foot-promo {
  min-height: 58px;
  padding: 9px 11px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(64, 224, 208, 0.30);
  background: linear-gradient(150deg, rgba(64, 224, 208, 0.13), rgba(64, 224, 208, 0.04));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  transition: box-shadow 0.18s var(--frame13fd3-ease);
}

.frame13fd3-foot-promo:nth-child(2n) {
  border-color: rgba(255, 179, 71, 0.32);
  background: linear-gradient(150deg, rgba(255, 179, 71, 0.13), rgba(255, 179, 71, 0.04));
}

.frame13fd3-foot-promo:active { box-shadow: var(--frame13fd3-glow-teal); }
.frame13fd3-foot-promo:nth-child(2n):active { box-shadow: var(--frame13fd3-glow-amber); }

.frame13fd3-foot-promo b { font-size: 12.5px; font-weight: 800; color: var(--frame13fd3-paper); line-height: 1.4; }

.frame13fd3-foot-promo span { font-size: 11px; color: var(--frame13fd3-paper-faint); line-height: 1.5; }

/* brand blurb */
.frame13fd3-foot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--frame13fd3-radius-card);
  background: var(--frame13fd3-ink-raise);
  margin-bottom: 14px;
}

.frame13fd3-foot-brand img { width: 34px; height: 34px; border-radius: 8px; flex: 0 0 auto; }

.frame13fd3-foot-brand p { font-size: 11.5px; line-height: 1.7; color: var(--frame13fd3-paper-dim); }

/* two-column directory */
.frame13fd3-foot-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin-bottom: 14px;
}

.frame13fd3-foot-dir a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--frame13fd3-paper-dim);
  border-bottom: 1px dotted rgba(245, 245, 245, 0.14);
  line-height: 1.45;
}

.frame13fd3-foot-dir a::before {
  content: "";
  width: 5px; height: 5px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--frame13fd3-teal);
}

.frame13fd3-foot-dir a:nth-child(2n)::before { background: var(--frame13fd3-amber); }

.frame13fd3-foot-dir a:hover { color: var(--frame13fd3-paper); }

/* disclaimer */
.frame13fd3-foot-disc {
  padding: 11px 12px;
  border-radius: var(--frame13fd3-radius-card);
  background: rgba(255, 179, 71, 0.06);
  border: 1px solid rgba(255, 179, 71, 0.22);
  font-size: 11px;
  line-height: 1.75;
  color: var(--frame13fd3-paper-faint);
}

.frame13fd3-foot-disc strong { color: var(--frame13fd3-amber); }

/* common footer */
.frame13fd3-copy {
  text-align: center;
  font-size: 11px;
  color: var(--frame13fd3-paper-faint);
  padding: 12px 14px 4px;
  background: var(--frame13fd3-ink-deep);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. Layered bottom strip - 5 roles, contrast-inversion active state
   -------------------------------------------------------------------------- */
.frame13fd3-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(35, 35, 35, 0.97);
  border-top: 1px solid var(--frame13fd3-ink-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: saturate(1.2) blur(6px);
}

.frame13fd3-bottomnav-row {
  max-width: var(--frame13fd3-canvas);
  margin: 0 auto;
  height: var(--frame13fd3-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.frame13fd3-bnav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--frame13fd3-paper-dim);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  transition: color 0.18s var(--frame13fd3-ease);
}

.frame13fd3-bnav svg { width: 21px; height: 21px; display: block; }

.frame13fd3-bnav:hover { text-decoration: none; color: var(--frame13fd3-paper); }

/* active = contrast inversion */
.frame13fd3-bnav.frame13fd3-bnav-on {
  color: var(--frame13fd3-card-ink);
  background: linear-gradient(180deg, var(--frame13fd3-teal), #35CFC2);
  border-radius: 12px 12px 0 0;
  margin: 6px 6px 0;
  justify-content: flex-start;
  padding-top: 4px;
}

.frame13fd3-bnav.frame13fd3-bnav-on svg { color: var(--frame13fd3-card-ink); }

.frame13fd3-bnav-promo svg { color: var(--frame13fd3-amber); }
.frame13fd3-bnav.frame13fd3-bnav-promo:active { box-shadow: inset 0 0 0 2px rgba(255, 179, 71, 0.45); }

/* --------------------------------------------------------------------------
   18. Back to top
   -------------------------------------------------------------------------- */
.frame13fd3-top {
  position: fixed;
  right: calc(50% - var(--frame13fd3-canvas) / 2 + 12px);
  bottom: calc(var(--frame13fd3-bottomnav-h) + 14px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--frame13fd3-amber);
  color: #4A2E00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 179, 71, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--frame13fd3-ease), transform 0.25s var(--frame13fd3-ease),
    visibility 0.25s var(--frame13fd3-ease);
}

.frame13fd3-top.frame13fd3-top-show { opacity: 1; visibility: visible; transform: translateY(0); }

.frame13fd3-top svg { width: 18px; height: 18px; }

@media (max-width: 434px) {
  .frame13fd3-top { right: 12px; }
}

/* --------------------------------------------------------------------------
   19. Motion preferences + compact phones
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 359px) {
  .frame13fd3-brand-name { font-size: 15px; }
  .frame13fd3-h1 { font-size: 21px; }
  .frame13fd3-h2 { font-size: 17px; }
  .frame13fd3-drawer-list { grid-template-columns: 1fr; }
  .frame13fd3-foot-promos { grid-template-columns: 1fr; }
  .frame13fd3-foot-dir { grid-template-columns: 1fr; }
}

/* highlight utility used on info callouts */
.frame13fd3-kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--frame13fd3-radius-pill);
  background: var(--frame13fd3-teal-soft);
  border: 1px solid rgba(64, 224, 208, 0.35);
  color: var(--frame13fd3-teal);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   20. Help-page instruments
   -------------------------------------------------------------------------- */
.frame13fd3-help-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--frame13fd3-amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.frame13fd3-help-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--frame13fd3-amber);
}

.frame13fd3-promo-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 13px 0 3px;
}

.frame13fd3-promo-link {
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(64, 224, 208, 0.34);
  border-radius: 8px;
  background: rgba(64, 224, 208, 0.07);
  color: var(--frame13fd3-paper);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

.frame13fd3-promo-link:nth-child(2n) {
  border-color: rgba(255, 179, 71, 0.38);
  background: rgba(255, 179, 71, 0.07);
}

.frame13fd3-promo-link:active { box-shadow: var(--frame13fd3-glow-teal); }
.frame13fd3-promo-link:nth-child(2n):active { box-shadow: var(--frame13fd3-glow-amber); }

.frame13fd3-fact-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.frame13fd3-fact {
  min-height: 82px;
  padding: 10px;
  border-left: 3px solid var(--frame13fd3-teal);
  background: var(--frame13fd3-ink-raise);
  border-radius: 0 8px 8px 0;
}

.frame13fd3-fact:nth-child(2n) { border-left-color: var(--frame13fd3-amber); }

.frame13fd3-fact b {
  display: block;
  color: var(--frame13fd3-teal);
  font-size: 11px;
  letter-spacing: .4px;
  margin-bottom: 4px;
}

.frame13fd3-fact:nth-child(2n) b { color: var(--frame13fd3-amber); }

.frame13fd3-fact p {
  color: var(--frame13fd3-paper-dim);
  font-size: 12px;
  line-height: 1.55;
}

.frame13fd3-term-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 4px;
}

.frame13fd3-term {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(245, 245, 245, 0.10);
}

.frame13fd3-term-mark {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--frame13fd3-card-ink);
  background: var(--frame13fd3-lemon);
  font-size: 11px;
  font-weight: 900;
}

.frame13fd3-term b { display: block; color: var(--frame13fd3-paper); font-size: 13px; }
.frame13fd3-term p { margin-top: 2px; color: var(--frame13fd3-paper-dim); font-size: 12px; line-height: 1.65; }

.frame13fd3-check-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 4px;
}

.frame13fd3-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 11px;
  border-radius: 7px;
  background: rgba(250, 250, 210, 0.07);
  border: 1px solid rgba(250, 250, 210, 0.14);
}

.frame13fd3-check::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--frame13fd3-teal);
  font-weight: 900;
}

.frame13fd3-check p { color: var(--frame13fd3-paper-dim); font-size: 12.5px; line-height: 1.65; }
.frame13fd3-check strong { color: var(--frame13fd3-paper); }

.frame13fd3-safety-signal {
  display: grid;
  gap: 7px;
  margin: 12px 0 4px;
  padding: 11px;
  border: 1px solid rgba(255, 179, 71, 0.28);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.10), rgba(64, 224, 208, 0.06));
}

.frame13fd3-safety-signal-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.frame13fd3-safety-signal-row i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--frame13fd3-teal);
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.13);
}

.frame13fd3-safety-signal-row:nth-child(2n) i {
  background: var(--frame13fd3-amber);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.13);
}

.frame13fd3-safety-signal-row p { color: var(--frame13fd3-paper-dim); font-size: 12.5px; line-height: 1.65; }
.frame13fd3-safety-signal-row strong { color: var(--frame13fd3-paper); }

.frame13fd3-access-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.frame13fd3-access {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--frame13fd3-ink-raise);
}

.frame13fd3-access-no {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--frame13fd3-card-ink);
  background: var(--frame13fd3-amber);
  font-size: 12px;
  font-weight: 900;
}

.frame13fd3-access:nth-child(2n) .frame13fd3-access-no { background: var(--frame13fd3-teal); }
.frame13fd3-access b { display: block; color: var(--frame13fd3-paper); font-size: 13px; }
.frame13fd3-access p { margin-top: 2px; color: var(--frame13fd3-paper-dim); font-size: 12px; line-height: 1.65; }

.frame13fd3-direct-answer {
  margin: 12px 0 4px;
  padding: 14px;
  border-radius: 10px;
  background: var(--frame13fd3-paper);
  color: var(--frame13fd3-card-ink);
  box-shadow: var(--frame13fd3-float);
}

.frame13fd3-direct-answer b { display: block; color: #0F8F84; font-size: 14px; margin-bottom: 5px; }
.frame13fd3-direct-answer p { font-size: 13px; line-height: 1.75; }

.frame13fd3-risk-note {
  margin-top: 10px;
  padding: 11px 12px;
  border-left: 3px solid var(--frame13fd3-amber);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 179, 71, 0.08);
  color: var(--frame13fd3-paper-dim);
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 359px) {
  .frame13fd3-promo-rail { grid-template-columns: 1fr; }
  .frame13fd3-fact-rail { grid-template-columns: 1fr; }
}
