/* ============================================================
   jaya11.homes - mobile-first stylesheet
   File   : css/tokens-mobile-6ffbda.css
   Prefix : viewfbda9-
   Palette: #FFE135 / #FFCC33 / #D2691E / #1B263B / #FFD700
   Canvas : 320-430px phone frame, centered on wide screens
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --viewfbda9-ink: #0D1422;            /* page backdrop behind canvas */
  --viewfbda9-canvas: #1B263B;         /* main dark navy background */
  --viewfbda9-panel: #223049;          /* raised panel */
  --viewfbda9-panel-deep: #16203A;     /* sunk panel / tiles */
  --viewfbda9-sun: #FFE135;            /* bright yellow accent */
  --viewfbda9-amber: #FFCC33;          /* mid gold */
  --viewfbda9-gold: #FFD700;           /* signature gold */
  --viewfbda9-rust: #D2691E;           /* chocolate line accent */
  --viewfbda9-text: #F5EFD8;           /* primary light text */
  --viewfbda9-muted: #A9B4CC;          /* secondary text */
  --viewfbda9-line: rgba(255, 215, 0, .30);
  --viewfbda9-line-soft: rgba(169, 180, 204, .22);
  --viewfbda9-dark-ink: #17203A;       /* text on gold buttons */
  --viewfbda9-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
      "Noto Sans Bengali", "Hind Siliguri", Roboto, Arial, sans-serif;
  --viewfbda9-font-mono: "SFMono-Regular", ui-monospace, Consolas,
      "Courier New", monospace;
  --viewfbda9-r-sm: 8px;
  --viewfbda9-r-md: 12px;
  --viewfbda9-r-lg: 16px;
  --viewfbda9-gap: 8px;
  --viewfbda9-pad: 14px;
  --viewfbda9-lift: 0 12px 26px rgba(4, 8, 18, .45);
  --viewfbda9-grad-gold: linear-gradient(135deg, #FFE135 0%, #FFD700 45%, #FFCC33 100%);
  --viewfbda9-ease: cubic-bezier(.22, .75, .35, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--viewfbda9-ink);
  color: var(--viewfbda9-text);
  font-family: var(--viewfbda9-font-body);
  font-size: 14.5px;
  line-height: 1.62;
  overflow-x: hidden;
}

.viewfbda9-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
      radial-gradient(120% 32% at 50% 0%, rgba(210, 105, 30, .16) 0%, rgba(27, 38, 59, 0) 62%),
      var(--viewfbda9-canvas);
  box-shadow: 0 0 0 1px rgba(255, 210, 74, .08), 0 0 60px rgba(0, 0, 0, .55);
  overflow-x: hidden;
}

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

.viewfbda9-shell a { color: var(--viewfbda9-sun); text-decoration: none; }
.viewfbda9-shell a:hover { text-decoration: underline; }

.viewfbda9-shell button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 210, 74, .18);
}

.viewfbda9-shell :focus-visible {
  outline: 2px solid var(--viewfbda9-sun);
  outline-offset: 2px;
  border-radius: 4px;
}

.viewfbda9-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--viewfbda9-gold);
  color: var(--viewfbda9-dark-ink);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 0 0 var(--viewfbda9-r-sm) 0;
  z-index: 60;
}
.viewfbda9-skip:focus { left: 0; }

/* ---------- fixed top bar : centered identity + action row ---------- */
.viewfbda9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: linear-gradient(180deg, #1E2B45 0%, rgba(27, 38, 59, .97) 100%);
  border-bottom: 1px solid var(--viewfbda9-line);
  box-shadow: 0 6px 18px rgba(4, 8, 18, .42);
}

.viewfbda9-ident {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px var(--viewfbda9-pad) 2px;
}

.viewfbda9-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--viewfbda9-r-sm);
  border: 1px solid var(--viewfbda9-line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.viewfbda9-brand {
  font-family: var(--viewfbda9-font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--viewfbda9-sun);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.viewfbda9-acts {
  display: grid;
  grid-template-columns: 1fr 1fr 46px;
  gap: var(--viewfbda9-gap);
  padding: 6px var(--viewfbda9-pad) 10px;
}

.viewfbda9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--viewfbda9-r-md);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .16s var(--viewfbda9-ease), box-shadow .16s var(--viewfbda9-ease),
      border-color .16s var(--viewfbda9-ease), background-color .16s var(--viewfbda9-ease);
}
.viewfbda9-btn:active { transform: translateY(1px) scale(.985); }

.viewfbda9-btn--solid {
  background: var(--viewfbda9-grad-gold);
  color: var(--viewfbda9-dark-ink);
  box-shadow: 0 4px 14px rgba(255, 205, 51, .28);
}
.viewfbda9-btn--solid:hover { box-shadow: 0 6px 18px rgba(255, 205, 51, .42); }

.viewfbda9-btn--ghost {
  background: rgba(255, 215, 0, .05);
  border-color: var(--viewfbda9-line);
  color: var(--viewfbda9-sun);
}
.viewfbda9-btn--ghost:hover { border-color: var(--viewfbda9-gold); background: rgba(255, 215, 0, .10); }

/* menu trigger : 3-bar icon that morphs into an X */
.viewfbda9-menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 44px;
  border-radius: var(--viewfbda9-r-md);
  border: 1px solid var(--viewfbda9-line);
  background: rgba(255, 215, 0, .05);
}
.viewfbda9-menu-btn:hover { border-color: var(--viewfbda9-gold); }

.viewfbda9-menu-ico {
  width: 20px;
  height: 14px;
  position: relative;
}
.viewfbda9-menu-ico i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--viewfbda9-sun);
  transition: transform .28s var(--viewfbda9-ease), opacity .2s linear, top .28s var(--viewfbda9-ease);
}
.viewfbda9-menu-ico i:nth-child(1) { top: 0; }
.viewfbda9-menu-ico i:nth-child(2) { top: 6px; }
.viewfbda9-menu-ico i:nth-child(3) { top: 12px; }

.viewfbda9-menu-btn.viewfbda9-open .viewfbda9-menu-ico i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.viewfbda9-menu-btn.viewfbda9-open .viewfbda9-menu-ico i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.viewfbda9-menu-btn.viewfbda9-open .viewfbda9-menu-ico i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* expandable navigation panel (slides under the top bar) */
.viewfbda9-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1E2B45;
  border-bottom: 1px solid var(--viewfbda9-line);
  box-shadow: 0 18px 30px rgba(4, 8, 18, .5);
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s var(--viewfbda9-ease);
}
.viewfbda9-nav.viewfbda9-open { max-height: 460px; }

.viewfbda9-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px var(--viewfbda9-pad) 14px;
}

.viewfbda9-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--viewfbda9-line-soft);
  border-radius: var(--viewfbda9-r-sm);
  color: var(--viewfbda9-text);
  font-size: 13px;
  font-weight: 600;
  background: rgba(22, 32, 58, .6);
  transition: border-color .16s var(--viewfbda9-ease), transform .16s var(--viewfbda9-ease);
}
.viewfbda9-nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--viewfbda9-amber);
  box-shadow: 0 0 8px rgba(255, 205, 51, .7);
  flex: 0 0 auto;
}
.viewfbda9-nav-link:hover { border-color: var(--viewfbda9-gold); text-decoration: none; transform: translateY(-1px); }
.viewfbda9-nav-link[aria-current="page"] {
  background: var(--viewfbda9-grad-gold);
  color: var(--viewfbda9-dark-ink);
  border-color: transparent;
}
.viewfbda9-nav-link[aria-current="page"]::before { background: var(--viewfbda9-dark-ink); box-shadow: none; }

/* ---------- main flow ---------- */
.viewfbda9-main {
  padding: 118px var(--viewfbda9-pad) calc(96px + env(safe-area-inset-bottom, 0px));
}

.viewfbda9-intro { margin: 2px 0 14px; }

.viewfbda9-h1 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.34;
  font-weight: 800;
  color: var(--viewfbda9-sun);
  text-wrap: balance;
}
.viewfbda9-h1 em {
  font-style: normal;
  font-family: var(--viewfbda9-font-mono);
  letter-spacing: .02em;
}

.viewfbda9-lede {
  margin: 0;
  color: var(--viewfbda9-text);
  font-size: 14px;
}
.viewfbda9-lede + .viewfbda9-lede { margin-top: 8px; }

/* compact metric strip : mono numbers + tiny captions */
.viewfbda9-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 16px;
}
.viewfbda9-metric {
  border: 1px solid var(--viewfbda9-line-soft);
  border-radius: var(--viewfbda9-r-sm);
  background: rgba(22, 32, 58, .55);
  padding: 8px 4px 7px;
  text-align: center;
}
.viewfbda9-metric b {
  display: block;
  font-family: var(--viewfbda9-font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--viewfbda9-sun);
}
.viewfbda9-metric span {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: var(--viewfbda9-muted);
  margin-top: 2px;
}

/* ---------- promo banner carousel ---------- */
.viewfbda9-hero {
  position: relative;
  border: 1px solid var(--viewfbda9-line);
  border-radius: var(--viewfbda9-r-lg);
  overflow: hidden;
  background: var(--viewfbda9-panel-deep);
  box-shadow: var(--viewfbda9-lift);
  margin-bottom: 20px;
}

.viewfbda9-track {
  position: relative;
  aspect-ratio: 1915 / 500;
  touch-action: pan-y;
}
@supports not (aspect-ratio: 1) {
  .viewfbda9-track { padding-top: 26.2%; }
}

.viewfbda9-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .5s var(--viewfbda9-ease), transform .6s var(--viewfbda9-ease);
  pointer-events: none;
}
.viewfbda9-slide.viewfbda9-on { opacity: 1; transform: scale(1); pointer-events: auto; }

.viewfbda9-slide-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  text-align: left;
}
.viewfbda9-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.viewfbda9-slide-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 72%;
  background: linear-gradient(180deg, rgba(13, 20, 34, 0) 0%, rgba(13, 20, 34, .55) 46%, rgba(13, 20, 34, .92) 100%);
}
.viewfbda9-slide-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.viewfbda9-slide-txt { flex: 1 1 auto; min-width: 0; }
.viewfbda9-slide-tag {
  display: inline-block;
  font-family: var(--viewfbda9-font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--viewfbda9-dark-ink);
  background: var(--viewfbda9-grad-gold);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 4px;
  font-weight: 700;
}
.viewfbda9-slide-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #FFF7DC;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}
.viewfbda9-slide-cta {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--viewfbda9-dark-ink);
  background: var(--viewfbda9-grad-gold);
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(255, 205, 51, .35);
}

.viewfbda9-dots {
  position: absolute;
  right: 10px;
  top: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.viewfbda9-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  border: 1px solid var(--viewfbda9-sun);
  background: rgba(255, 225, 53, .18);
  padding: 0;
  transition: background-color .2s linear, transform .2s var(--viewfbda9-ease);
}
.viewfbda9-dot.viewfbda9-on { background: var(--viewfbda9-sun); transform: scale(1.15); }

/* ---------- content sections ---------- */
.viewfbda9-sec { margin: 0 0 26px; }

.viewfbda9-h2 {
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 800;
  color: #FFF3C4;
  padding-left: 11px;
  position: relative;
}
.viewfbda9-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 3px;
  background: var(--viewfbda9-grad-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, .35);
}

.viewfbda9-h3 {
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--viewfbda9-amber);
}

.viewfbda9-note { color: var(--viewfbda9-muted); font-size: 13.5px; margin: 0 0 10px; }
.viewfbda9-note strong { color: var(--viewfbda9-text); }

/* game grids : outlined tile cards */
.viewfbda9-grid {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--viewfbda9-gap);
}

.viewfbda9-tile {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 7px;
  background: linear-gradient(180deg, rgba(34, 48, 73, .9) 0%, rgba(22, 32, 58, .95) 100%);
  border: 1px solid var(--viewfbda9-line);
  border-radius: var(--viewfbda9-r-md);
  transition: transform .18s var(--viewfbda9-ease), border-color .18s var(--viewfbda9-ease),
      box-shadow .18s var(--viewfbda9-ease);
}
.viewfbda9-tile:hover,
.viewfbda9-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--viewfbda9-gold);
  box-shadow: 0 10px 18px rgba(4, 8, 18, .5);
}
.viewfbda9-tile:active { transform: translateY(-1px) scale(.97); }

.viewfbda9-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--viewfbda9-r-sm);
  border: 1px solid var(--viewfbda9-line-soft);
  background: var(--viewfbda9-panel-deep);
}

.viewfbda9-tile-name {
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--viewfbda9-text);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 2.7em;
}

.viewfbda9-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--viewfbda9-font-mono);
  font-size: 10px;
  letter-spacing: .09em;
  color: var(--viewfbda9-amber);
  border: 1px dashed rgba(210, 105, 30, .65);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* decision CTA block */
.viewfbda9-cta {
  border: 1px solid var(--viewfbda9-line);
  border-radius: var(--viewfbda9-r-lg);
  background:
      linear-gradient(160deg, rgba(210, 105, 30, .22) 0%, rgba(27, 38, 59, .3) 55%),
      var(--viewfbda9-panel-deep);
  padding: 16px 14px;
  box-shadow: var(--viewfbda9-lift);
}
.viewfbda9-cta p { margin: 0 0 12px; font-size: 13.5px; color: var(--viewfbda9-text); }
.viewfbda9-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--viewfbda9-gap); }

/* guide rows : compact metric + explanation */
.viewfbda9-rows {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.viewfbda9-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--viewfbda9-line-soft);
}
.viewfbda9-row:last-child { border-bottom: 0; }
.viewfbda9-row-key {
  flex: 0 0 84px;
  font-family: var(--viewfbda9-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--viewfbda9-dark-ink);
  background: var(--viewfbda9-grad-gold);
  border-radius: var(--viewfbda9-r-sm);
  padding: 5px 6px;
  text-align: center;
}
.viewfbda9-row p { margin: 0; font-size: 13px; color: var(--viewfbda9-text); }

/* security checklist */
.viewfbda9-check {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.viewfbda9-check li {
  position: relative;
  padding: 7px 2px 7px 26px;
  font-size: 13px;
  border-bottom: 1px dashed var(--viewfbda9-line-soft);
}
.viewfbda9-check li:last-child { border-bottom: 0; }
.viewfbda9-check li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 7px;
  font-family: var(--viewfbda9-font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--viewfbda9-sun);
}

/* scenario cards */
.viewfbda9-scenes { margin-top: 10px; }
.viewfbda9-scene {
  border: 1px solid var(--viewfbda9-line-soft);
  border-left: 3px solid var(--viewfbda9-rust);
  border-radius: var(--viewfbda9-r-md);
  background: rgba(22, 32, 58, .55);
  padding: 11px 12px;
  margin-bottom: 9px;
}
.viewfbda9-scene:last-child { margin-bottom: 0; }
.viewfbda9-scene h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--viewfbda9-sun);
  font-family: var(--viewfbda9-font-mono);
  letter-spacing: .03em;
}
.viewfbda9-scene p { margin: 0; font-size: 13px; }

/* ---------- extended footer (homepage only) ---------- */
.viewfbda9-xfoot {
  margin-top: 28px;
  border-top: 1px solid var(--viewfbda9-line);
  padding-top: 18px;
}

.viewfbda9-xfoot h3 {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--viewfbda9-amber);
  font-family: var(--viewfbda9-font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.viewfbda9-xfoot h3:first-child { margin-top: 0; }

/* page directory */
.viewfbda9-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.viewfbda9-dir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--viewfbda9-line-soft);
  border-radius: var(--viewfbda9-r-md);
  color: var(--viewfbda9-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(22, 32, 58, .5);
  transition: border-color .16s var(--viewfbda9-ease), transform .16s var(--viewfbda9-ease);
}
.viewfbda9-dir a::after {
  content: "\203A";
  font-family: var(--viewfbda9-font-mono);
  color: var(--viewfbda9-amber);
  font-size: 15px;
  flex: 0 0 auto;
}
.viewfbda9-dir a:hover { border-color: var(--viewfbda9-gold); text-decoration: none; transform: translateY(-1px); }

/* promotion shortcuts : horizontal scroll rail */
.viewfbda9-promos {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.viewfbda9-promo {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--viewfbda9-line);
  background: rgba(255, 215, 0, .06);
  color: var(--viewfbda9-sun);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .16s var(--viewfbda9-ease), border-color .16s var(--viewfbda9-ease);
}
.viewfbda9-promo::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--viewfbda9-grad-gold);
  flex: 0 0 auto;
}
.viewfbda9-promo:hover { border-color: var(--viewfbda9-gold); transform: translateY(-1px); }
.viewfbda9-promo:active { transform: translateY(1px) scale(.97); }

/* brand blurb + conditional disclaimer */
.viewfbda9-brandnote {
  margin: 0;
  font-size: 13px;
  color: var(--viewfbda9-text);
  border-left: 3px solid var(--viewfbda9-amber);
  padding-left: 11px;
}
.viewfbda9-legal {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--viewfbda9-muted);
  border: 1px dashed rgba(210, 105, 30, .6);
  border-radius: var(--viewfbda9-r-md);
  padding: 10px 11px;
}

/* ---------- common footer ---------- */
.viewfbda9-foot {
  margin-top: 22px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--viewfbda9-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--viewfbda9-muted);
}
.viewfbda9-foot b {
  font-family: var(--viewfbda9-font-mono);
  color: var(--viewfbda9-amber);
  font-weight: 700;
}

/* ---------- fixed bottom function bar ---------- */
.viewfbda9-bnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 38;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 7px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 21, 36, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--viewfbda9-line);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.viewfbda9-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px;
  border-radius: var(--viewfbda9-r-md);
  border: 1px solid transparent;
  color: var(--viewfbda9-muted);
  background: none;
  transition: color .18s var(--viewfbda9-ease), background-color .18s var(--viewfbda9-ease),
      border-color .18s var(--viewfbda9-ease);
}

.viewfbda9-bnav-ico {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform .22s var(--viewfbda9-ease);
}
.viewfbda9-bnav-ico svg { width: 100%; height: 100%; display: block; }

.viewfbda9-bnav-txt {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}

/* active state : contrast inversion */
.viewfbda9-bnav-item.viewfbda9-on {
  background: var(--viewfbda9-grad-gold);
  color: var(--viewfbda9-dark-ink);
  border-color: rgba(255, 225, 53, .8);
  box-shadow: 0 6px 16px rgba(255, 205, 51, .30);
}

/* icon state morph on press */
.viewfbda9-bnav-item:active .viewfbda9-bnav-ico { transform: translateY(-2px) scale(1.14) rotate(-4deg); }
.viewfbda9-bnav-item.viewfbda9-on .viewfbda9-bnav-ico { transform: scale(1.06); }

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

/* ---------- responsive fine-tuning inside the phone frame ---------- */
@media (min-width: 375px) {
  .viewfbda9-tile-name { font-size: 11.5px; }
  .viewfbda9-slide-title { font-size: 13.5px; }
  .viewfbda9-h1 { font-size: 22.5px; }
}

@media (min-width: 400px) {
  .viewfbda9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .viewfbda9-metric span { font-size: 10.5px; }
}

@media (min-width: 431px) {
  .viewfbda9-shell { border-radius: 0 0 18px 18px; }
  .viewfbda9-bnav { border-radius: 18px 18px 0 0; border-left: 1px solid var(--viewfbda9-line); border-right: 1px solid var(--viewfbda9-line); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .viewfbda9-shell *,
  .viewfbda9-topbar *,
  .viewfbda9-bnav * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .viewfbda9-slide { transform: none; }
}
