/* ==========================================================================
   n baji (n-baji.homes) - tokens-dynamic-f3bf4e.css
   Mobile-first phone canvas 320-430px, centered frame on wide screens.
   Every class and custom property carries the mobilef3bf4- prefix.
   Palette: darks #004D40 (deep teal) + #2C3E50 (slate) as canvas/panels,
   lights #00FFFF (cyan) + #F08080 (coral) as text/accents,
   #CD853F (gold) for CTA, #808080 (gray) for hairlines/muted chrome.
   Direction: bold-light type mix, round buttons + square cards,
   grouped cover cards, fact-first rhythm, sliding focus indicators,
   compact dual-button CTA groups.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --mobilef3bf4-deep: #004D40;
  --mobilef3bf4-slate: #2C3E50;
  --mobilef3bf4-cyan: #00FFFF;
  --mobilef3bf4-coral: #F08080;
  --mobilef3bf4-gold: #CD853F;
  --mobilef3bf4-gray: #808080;

  --mobilef3bf4-ink: #012E28;            /* deepest page backdrop        */
  --mobilef3bf4-canvas: #00453A;         /* canvas base derived from teal*/
  --mobilef3bf4-canvas-2: #013A31;
  --mobilef3bf4-panel: rgba(44, 62, 80, 0.55);
  --mobilef3bf4-panel-solid: #243546;
  --mobilef3bf4-line: rgba(0, 255, 255, 0.16);
  --mobilef3bf4-line-soft: rgba(128, 128, 128, 0.30);
  --mobilef3bf4-text: #EAF7F4;
  --mobilef3bf4-text-dim: rgba(234, 247, 244, 0.68);
  --mobilef3bf4-gold-2: #E2A75E;
  --mobilef3bf4-coral-soft: rgba(240, 128, 128, 0.16);

  --mobilef3bf4-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi",
    "Anek Bangla", "Segoe UI", system-ui, -apple-system, sans-serif;

  --mobilef3bf4-r-card: 4px;             /* square-ish cards             */
  --mobilef3bf4-r-panel: 6px;
  --mobilef3bf4-r-btn: 999px;            /* round buttons                */

  --mobilef3bf4-head-h: 58px;
  --mobilef3bf4-nav-h: 62px;

  --mobilef3bf4-canvas-w: 430px;
  --mobilef3bf4-tap: 44px;

  --mobilef3bf4-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mobilef3bf4-speed: 0.28s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mobilef3bf4-head-h) + 10px);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--mobilef3bf4-font);
  font-weight: 400;
  line-height: 1.62;
  color: var(--mobilef3bf4-text);
  background:
    radial-gradient(1200px 500px at 50% -180px, rgba(0, 77, 64, 0.85), transparent 70%),
    var(--mobilef3bf4-ink);
  min-height: 100vh;
  overscroll-behavior-y: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: var(--mobilef3bf4-cyan);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--mobilef3bf4-cyan);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- phone canvas ---------- */
.mobilef3bf4-canvas {
  position: relative;
  width: 100%;
  max-width: var(--mobilef3bf4-canvas-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--mobilef3bf4-canvas) 0%, var(--mobilef3bf4-canvas-2) 46%, #013229 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

/* ==========================================================================
   Top bar - LOGO-dominant action strip
   ========================================================================== */
.mobilef3bf4-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobilef3bf4-canvas-w);
  height: var(--mobilef3bf4-head-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  background: linear-gradient(180deg, rgba(1, 46, 40, 0.97), rgba(1, 58, 49, 0.94));
  border-bottom: 1px solid var(--mobilef3bf4-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* brand block: logo image + site name only */
.mobilef3bf4-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--mobilef3bf4-tap);
  margin-right: auto;
}

.mobilef3bf4-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--mobilef3bf4-line);
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.18);
  flex: 0 0 auto;
}

.mobilef3bf4-sitename {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #FFFFFF;
  line-height: 1.1;
  white-space: nowrap;
}

.mobilef3bf4-sitename small {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--mobilef3bf4-cyan);
  opacity: 0.85;
  text-transform: uppercase;
}

/* action cluster: register / login / burger */
.mobilef3bf4-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mobilef3bf4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: var(--mobilef3bf4-r-btn);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    box-shadow var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    background-color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

.mobilef3bf4-btn:active { transform: translateY(1px) scale(0.98); }

.mobilef3bf4-btn-register {
  color: #241505;
  background: linear-gradient(135deg, var(--mobilef3bf4-gold-2), var(--mobilef3bf4-gold) 62%, #A96A2A);
  box-shadow: 0 3px 12px rgba(205, 133, 63, 0.45);
}

.mobilef3bf4-btn-login {
  color: var(--mobilef3bf4-cyan);
  background: rgba(0, 255, 255, 0.06);
  border-color: rgba(0, 255, 255, 0.55);
}

.mobilef3bf4-burger {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: 12px;
}

.mobilef3bf4-burger span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--mobilef3bf4-cyan);
  transition: transform var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    opacity var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

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

/* ==========================================================================
   Stacked overlay menu
   ========================================================================== */
.mobilef3bf4-menu {
  position: fixed;
  top: var(--mobilef3bf4-head-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobilef3bf4-canvas-w);
  z-index: 55;
  background: linear-gradient(180deg, rgba(2, 44, 38, 0.985), rgba(2, 52, 44, 0.97));
  border-bottom: 1px solid var(--mobilef3bf4-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.34s var(--mobilef3bf4-ease),
    opacity 0.24s var(--mobilef3bf4-ease);
}

.mobilef3bf4-menu.mobilef3bf4-menu-open {
  max-height: calc(100vh - var(--mobilef3bf4-head-h));
  opacity: 1;
  overflow-y: auto;
}

.mobilef3bf4-menu-inner {
  padding: 12px 14px 18px;
}

.mobilef3bf4-menu-group {
  border: 0;
  margin: 0 0 10px;
  padding: 0;
}

.mobilef3bf4-menu-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobilef3bf4-coral);
  padding: 8px 4px 6px;
}

.mobilef3bf4-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobilef3bf4-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobilef3bf4-tap);
  padding: 10px 12px;
  border: 1px solid var(--mobilef3bf4-line-soft);
  border-radius: var(--mobilef3bf4-r-card);
  background: rgba(44, 62, 80, 0.35);
  color: var(--mobilef3bf4-text);
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
}

.mobilef3bf4-menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--mobilef3bf4-cyan);
  transform: translateY(-50%);
  transition: height 0.22s var(--mobilef3bf4-ease);
}

.mobilef3bf4-menu-link:hover,
.mobilef3bf4-menu-link:focus-visible {
  text-decoration: none;
  background: rgba(0, 255, 255, 0.08);
  border-color: var(--mobilef3bf4-line);
}

.mobilef3bf4-menu-link:hover::before,
.mobilef3bf4-menu-link:focus-visible::before { height: 60%; }

.mobilef3bf4-menu-link.mobilef3bf4-menu-now {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(0, 255, 255, 0.10);
  color: #FFFFFF;
}

.mobilef3bf4-menu-link.mobilef3bf4-menu-now::before { height: 60%; }

.mobilef3bf4-menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobilef3bf4-coral);
  flex: 0 0 auto;
}

/* menu scrim behind overlay */
.mobilef3bf4-scrim {
  position: fixed;
  inset: var(--mobilef3bf4-head-h) 0 0 0;
  z-index: 54;
  background: rgba(1, 20, 17, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--mobilef3bf4-ease);
}

.mobilef3bf4-scrim.mobilef3bf4-scrim-show {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Main column
   ========================================================================== */
.mobilef3bf4-main {
  padding: calc(var(--mobilef3bf4-head-h) + 12px) 12px
    calc(var(--mobilef3bf4-nav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

/* ---------- hero ---------- */
.mobilef3bf4-hero {
  padding: 14px 2px 6px;
}

.mobilef3bf4-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(20px, 6.4vw, 25px);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: #FFFFFF;
}

.mobilef3bf4-hero h1 .mobilef3bf4-kw {
  color: var(--mobilef3bf4-cyan);
  box-shadow: inset 0 -0.34em rgba(0, 255, 255, 0.12);
  border-radius: 2px;
  padding: 0 2px;
}

.mobilef3bf4-lede {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 300;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-lede strong { color: var(--mobilef3bf4-text); font-weight: 600; }

/* fact strip - fact-first rhythm */
.mobilef3bf4-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 14px;
}

.mobilef3bf4-fact {
  border: 1px solid var(--mobilef3bf4-line-soft);
  border-radius: var(--mobilef3bf4-r-card);
  background: var(--mobilef3bf4-panel);
  padding: 8px 4px;
  text-align: center;
}

.mobilef3bf4-fact b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--mobilef3bf4-cyan);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.mobilef3bf4-fact i {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.3px;
  color: var(--mobilef3bf4-text-dim);
}

/* compact dual CTA group */
.mobilef3bf4-dualcta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 6px;
}

.mobilef3bf4-dualcta .mobilef3bf4-btn { min-height: 42px; }

.mobilef3bf4-ctanote {
  margin: 6px 2px 0;
  font-size: 10.5px;
  color: var(--mobilef3bf4-text-dim);
}

/* ==========================================================================
   Carousel - three local promo banners
   ========================================================================== */
.mobilef3bf4-carousel {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: var(--mobilef3bf4-r-panel);
  overflow: hidden;
  background: var(--mobilef3bf4-panel-solid);
}

.mobilef3bf4-caro-track {
  display: flex;
  transition: transform 0.42s var(--mobilef3bf4-ease);
  will-change: transform;
}

.mobilef3bf4-caro-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #02352d;
  display: block;
}

.mobilef3bf4-caro-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.mobilef3bf4-caro-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 12px 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(180deg, transparent, rgba(1, 30, 26, 0.92) 62%);
}

.mobilef3bf4-caro-cap em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--mobilef3bf4-ink);
  background: var(--mobilef3bf4-cyan);
  padding: 3px 9px;
  border-radius: var(--mobilef3bf4-r-btn);
  white-space: nowrap;
}

.mobilef3bf4-caro-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mobilef3bf4-caro-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  transition: width 0.26s var(--mobilef3bf4-ease), background-color 0.26s var(--mobilef3bf4-ease);
}

.mobilef3bf4-caro-dot.mobilef3bf4-caro-dot-on {
  width: 22px;                 /* sliding-focus feel for active dot */
  background: var(--mobilef3bf4-cyan);
  border-color: var(--mobilef3bf4-cyan);
}

/* ==========================================================================
   Category chip strip + sliding indicator
   ========================================================================== */
.mobilef3bf4-chipbar {
  position: relative;
  margin: 14px -12px 0;
  padding: 2px 12px 0;
}

.mobilef3bf4-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.mobilef3bf4-chips::-webkit-scrollbar { display: none; }

.mobilef3bf4-chip {
  scroll-snap-align: center;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobilef3bf4-text);
  background: var(--mobilef3bf4-panel);
  border: 1px solid var(--mobilef3bf4-line-soft);
  border-radius: var(--mobilef3bf4-r-btn);
  white-space: nowrap;
}

.mobilef3bf4-chip b {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--mobilef3bf4-coral);
  font-variant-numeric: tabular-nums;
}

.mobilef3bf4-chip:hover { text-decoration: none; border-color: var(--mobilef3bf4-line); }

.mobilef3bf4-chip.mobilef3bf4-chip-on {
  color: var(--mobilef3bf4-ink);
  background: var(--mobilef3bf4-cyan);
  border-color: var(--mobilef3bf4-cyan);
}

.mobilef3bf4-chip.mobilef3bf4-chip-on b { color: #00695C; }

.mobilef3bf4-chip-indicator {
  height: 2px;
  border-radius: 2px;
  background: var(--mobilef3bf4-cyan);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
  transition: transform 0.3s var(--mobilef3bf4-ease), width 0.3s var(--mobilef3bf4-ease);
  transform-origin: left center;
}

/* ==========================================================================
   Generic section block
   ========================================================================== */
.mobilef3bf4-section {
  margin: 22px 0 0;
}

.mobilef3bf4-section h2 {
  margin: 0 0 6px;
  font-size: clamp(16.5px, 5vw, 19px);
  line-height: 1.4;
  font-weight: 800;
  color: #FFFFFF;
}

.mobilef3bf4-section h2 em {
  font-style: normal;
  color: var(--mobilef3bf4-cyan);
}

.mobilef3bf4-sectionlead {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-sectionlead a {
  color: var(--mobilef3bf4-coral);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(240, 128, 128, 0.5);
  text-underline-offset: 2px;
}

/* ==========================================================================
   Game groups - grouped cover-card panels
   ========================================================================== */
.mobilef3bf4-gamegroup {
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: var(--mobilef3bf4-r-panel);
  background:
    linear-gradient(180deg, rgba(44, 62, 80, 0.42), rgba(2, 40, 35, 0.25));
  margin: 12px 0 0;
  overflow: hidden;
}

/* reveal lift only when JS is available (body gets mobilef3bf4-js) */
.mobilef3bf4-js .mobilef3bf4-gamegroup {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--mobilef3bf4-ease),
    transform 0.45s var(--mobilef3bf4-ease);
}

.mobilef3bf4-js .mobilef3bf4-gamegroup.mobilef3bf4-gamegroup-in,
.mobilef3bf4-js .mobilef3bf4-gamegroup:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.mobilef3bf4-gamegroup-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 9px;
  border-bottom: 1px dashed var(--mobilef3bf4-line-soft);
}

.mobilef3bf4-gamegroup-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--mobilef3bf4-coral);
  background: var(--mobilef3bf4-coral-soft);
  border: 1px solid rgba(240, 128, 128, 0.45);
  border-radius: var(--mobilef3bf4-r-btn);
  padding: 3px 10px;
  white-space: nowrap;
}

.mobilef3bf4-gamegroup-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mobilef3bf4-text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mobilef3bf4-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

/* game card: icon + Bengali name, both promo-wired */
.mobilef3bf4-gamecard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 5px 4px 7px;
  background: rgba(36, 53, 70, 0.72);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: var(--mobilef3bf4-r-card);
  transition: transform var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    border-color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

.mobilef3bf4-gamecard:hover,
.mobilef3bf4-gamecard:active {
  transform: translateY(-2px);
  border-color: var(--mobilef3bf4-line);
}

.mobilef3bf4-gamecard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: #0A232E;
}

.mobilef3bf4-gamecard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobilef3bf4-text);
  text-align: center;
}

.mobilef3bf4-gamefoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px dashed var(--mobilef3bf4-line-soft);
  font-size: 11px;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-gamefoot a {
  font-weight: 700;
  color: var(--mobilef3bf4-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* wider phones: 5 columns */
@media (min-width: 390px) {
  .mobilef3bf4-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobilef3bf4-gamecard-name { font-size: 10.8px; }
}

/* ==========================================================================
   Winners feed
   ========================================================================== */
.mobilef3bf4-winnerpanel {
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: var(--mobilef3bf4-r-panel);
  background: rgba(2, 44, 38, 0.5);
  overflow: hidden;
}

.mobilef3bf4-winnerhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--mobilef3bf4-line-soft);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mobilef3bf4-cyan);
  letter-spacing: 0.4px;
}

.mobilef3bf4-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mobilef3bf4-coral);
  box-shadow: 0 0 0 0 rgba(240, 128, 128, 0.6);
  animation: mobilef3bf4Pulse 1.8s infinite;
}

@keyframes mobilef3bf4Pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 128, 128, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(240, 128, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 128, 128, 0); }
}

.mobilef3bf4-winrows { padding: 4px 0 6px; }

.mobilef3bf4-winrow {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  border-bottom: 1px dotted rgba(128, 128, 128, 0.25);
}

.mobilef3bf4-winrow:last-child { border-bottom: 0; }

.mobilef3bf4-winrow b {
  font-weight: 700;
  color: var(--mobilef3bf4-text);
}

.mobilef3bf4-winrow span { color: var(--mobilef3bf4-text-dim); }

.mobilef3bf4-winrow em {
  font-style: normal;
  font-weight: 800;
  color: var(--mobilef3bf4-gold-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mobilef3bf4-winnote {
  padding: 7px 12px 10px;
  font-size: 10px;
  color: var(--mobilef3bf4-text-dim);
}

/* ==========================================================================
   RTP block
   ========================================================================== */
.mobilef3bf4-rtp {
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: var(--mobilef3bf4-r-panel);
  background: rgba(44, 62, 80, 0.35);
  padding: 12px;
}

.mobilef3bf4-rtp-answer {
  border-left: 3px solid var(--mobilef3bf4-cyan);
  padding: 2px 0 2px 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.mobilef3bf4-rtpgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobilef3bf4-rtpitem {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  background: rgba(2, 44, 38, 0.45);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: var(--mobilef3bf4-r-card);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-rtpitem b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobilef3bf4-cyan);
  margin-bottom: 2px;
}

.mobilef3bf4-rtpnum {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--mobilef3bf4-ink);
  background: var(--mobilef3bf4-coral);
  border-radius: 6px;
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.mobilef3bf4-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.mobilef3bf4-review {
  position: relative;
  border: 1px solid var(--mobilef3bf4-line-soft);
  border-left: 3px solid var(--mobilef3bf4-coral);
  border-radius: var(--mobilef3bf4-r-card);
  background: var(--mobilef3bf4-panel);
  padding: 11px 12px 10px;
}

.mobilef3bf4-review q {
  display: block;
  margin: 0 0 7px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--mobilef3bf4-text);
  quotes: "\201C" "\201D";
}

.mobilef3bf4-review figcaption {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mobilef3bf4-cyan);
}

.mobilef3bf4-review figcaption span {
  color: var(--mobilef3bf4-text-dim);
  font-weight: 400;
}

/* ==========================================================================
   Decision checklist
   ========================================================================== */
.mobilef3bf4-check {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.mobilef3bf4-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: var(--mobilef3bf4-r-card);
  background: rgba(2, 46, 40, 0.5);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--mobilef3bf4-text);
  line-height: 1.5;
}

.mobilef3bf4-box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid var(--mobilef3bf4-cyan);
  border-radius: 4px;
  position: relative;
}

.mobilef3bf4-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--mobilef3bf4-cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
  opacity: 0.55;
}

.mobilef3bf4-check li b { font-weight: 700; color: #FFFFFF; }

/* ==========================================================================
   Extended footer: directory > brand > promotions > disclaimer
   ========================================================================== */
.mobilef3bf4-extfoot {
  margin: 26px 0 0;
  padding: 14px 12px 16px;
  border: 1px solid var(--mobilef3bf4-line);
  border-radius: var(--mobilef3bf4-r-panel);
  background:
    linear-gradient(180deg, rgba(36, 53, 70, 0.55), rgba(1, 36, 31, 0.6));
}

.mobilef3bf4-exttitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mobilef3bf4-cyan);
}

.mobilef3bf4-exttitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--mobilef3bf4-line), transparent);
}

/* page directory - each internal page once */
.mobilef3bf4-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobilef3bf4-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: var(--mobilef3bf4-r-card);
  background: rgba(2, 44, 38, 0.4);
  color: var(--mobilef3bf4-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.mobilef3bf4-dirlink:hover {
  text-decoration: none;
  border-color: var(--mobilef3bf4-line);
  background: rgba(0, 255, 255, 0.07);
}

.mobilef3bf4-dirlink i {
  flex: 0 0 auto;
  font-style: normal;
  width: 22px;
  height: 22px;
  display: grid;
  place-content: center;
  border-radius: 6px;
  border: 1px solid var(--mobilef3bf4-line);
  color: var(--mobilef3bf4-cyan);
  font-size: 10.5px;
  font-weight: 800;
}

.mobilef3bf4-dirlink em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 400;
  color: var(--mobilef3bf4-text-dim);
}

/* brand blurb */
.mobilef3bf4-extbrand {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--mobilef3bf4-line-soft);
}

.mobilef3bf4-extbrand p {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-extbrand strong { color: var(--mobilef3bf4-text); font-weight: 700; }

/* seven promo actions - compact group */
.mobilef3bf4-promogrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 0;
}

.mobilef3bf4-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  text-align: left;
  color: var(--mobilef3bf4-text);
  background: rgba(44, 62, 80, 0.45);
  border: 1px solid rgba(205, 133, 63, 0.4);
  border-radius: var(--mobilef3bf4-r-card);
  transition: border-color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    transform var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

.mobilef3bf4-promo:hover {
  text-decoration: none;
  border-color: var(--mobilef3bf4-gold);
  transform: translateY(-1px);
}

.mobilef3bf4-promo i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #241505;
  background: linear-gradient(135deg, var(--mobilef3bf4-gold-2), var(--mobilef3bf4-gold));
}

.mobilef3bf4-promo b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.mobilef3bf4-promo em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: var(--mobilef3bf4-text-dim);
  line-height: 1.3;
}

.mobilef3bf4-promo-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--mobilef3bf4-gold-2);
}

/* disclaimer */
.mobilef3bf4-disc {
  margin: 14px 0 0;
  padding: 10px 11px;
  border: 1px dashed rgba(240, 128, 128, 0.4);
  border-radius: var(--mobilef3bf4-r-card);
  background: var(--mobilef3bf4-coral-soft);
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-disc b { color: var(--mobilef3bf4-coral); font-weight: 700; }

/* ==========================================================================
   Common footer
   ========================================================================== */
.mobilef3bf4-footer {
  margin: 18px 0 0;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--mobilef3bf4-line-soft);
  text-align: center;
}

.mobilef3bf4-footer p {
  margin: 0;
  font-size: 11px;
  color: var(--mobilef3bf4-text-dim);
}

.mobilef3bf4-footer b { color: var(--mobilef3bf4-cyan); font-weight: 700; }

/* ==========================================================================
   Bottom nav - outlined function bar with sliding indicator
   ========================================================================== */
.mobilef3bf4-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobilef3bf4-canvas-w);
  height: calc(var(--mobilef3bf4-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 58;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(1, 40, 35, 0.96);
  border-top: 1px solid var(--mobilef3bf4-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobilef3bf4-bn-indicator {
  position: absolute;
  top: -1px;
  left: 0;
  width: 20%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--mobilef3bf4-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transition: transform 0.3s var(--mobilef3bf4-ease);
}

.mobilef3bf4-bn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobilef3bf4-tap);
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: var(--mobilef3bf4-text-dim);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.1;
  transition: transform var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

.mobilef3bf4-bn:hover { text-decoration: none; }

.mobilef3bf4-bn-ic {
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: 9px;
  background: rgba(44, 62, 80, 0.4);
  transition: border-color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease),
    background-color var(--mobilef3bf4-speed) var(--mobilef3bf4-ease);
}

.mobilef3bf4-bn svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobilef3bf4-bn.mobilef3bf4-bn-on {
  color: var(--mobilef3bf4-cyan);
  transform: translateY(-2px);   /* slight lift for active state */
}

.mobilef3bf4-bn.mobilef3bf4-bn-on .mobilef3bf4-bn-ic {
  border-color: var(--mobilef3bf4-cyan);
  background: rgba(0, 255, 255, 0.1);
}

.mobilef3bf4-bn-promo .mobilef3bf4-bn-ic {
  border-color: rgba(205, 133, 63, 0.55);
  color: var(--mobilef3bf4-gold-2);
}

.mobilef3bf4-bn-promo.mobilef3bf4-bn-on .mobilef3bf4-bn-ic {
  border-color: var(--mobilef3bf4-gold-2);
  background: rgba(205, 133, 63, 0.14);
}

/* ==========================================================================
   Wide screens keep the phone canvas
   ========================================================================== */
@media (min-width: 480px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(700px 380px at 50% 0, rgba(0, 77, 64, 0.35), transparent 70%),
      var(--mobilef3bf4-ink);
    z-index: -1;
  }

  .mobilef3bf4-canvas {
    border-left: 1px solid rgba(0, 255, 255, 0.08);
    border-right: 1px solid rgba(0, 255, 255, 0.08);
  }
}

/* small phones keep 4 columns and tighten type */
@media (max-width: 340px) {
  .mobilef3bf4-facts { grid-template-columns: repeat(2, 1fr); }
  .mobilef3bf4-dirgrid { grid-template-columns: 1fr; }
  .mobilef3bf4-sitename { font-size: 17px; }
  .mobilef3bf4-btn { padding: 8px 11px; font-size: 12px; }
}

/* reduced motion budget */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
