/* ==========================================================================
   54bd bet · shell-responsive-f6047f.css
   Mobile-first shell for 54bd-bet.click (320-430px canvas, centered on wide)
   Design voice: dark navy canvas, pink/amber accents, stroke-dominant
   restrained rounding, mixed lead+small game cards, compact dual CTAs.
   Every class carries the viewf6047- prefix.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --viewf6047-bg: #0E1621;
  --viewf6047-void: #070c13;
  --viewf6047-surface: #141F2C;
  --viewf6047-surface-2: #1A2636;
  --viewf6047-line: #2B3B4E;
  --viewf6047-line-soft: rgba(255, 179, 255, 0.16);
  --viewf6047-ink: #FFFFBA;
  --viewf6047-ink-soft: rgba(255, 255, 186, 0.8);
  --viewf6047-ink-faint: rgba(255, 255, 186, 0.58);
  --viewf6047-pink: #FFB3FF;
  --viewf6047-blush: #FFC0CB;
  --viewf6047-amber: #FFB347;
  --viewf6047-amber-deep: #E8992B;
  --viewf6047-radius-s: 8px;
  --viewf6047-radius-m: 12px;
  --viewf6047-radius-l: 16px;
  --viewf6047-font-head: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --viewf6047-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --viewf6047-shell-max: 430px;
  --viewf6047-topbar-h: 60px;
  --viewf6047-bnav-h: 64px;
  --viewf6047-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body.viewf6047-page {
  margin: 0;
  padding: 0;
  background: var(--viewf6047-void);
  color: var(--viewf6047-ink);
  font-family: var(--viewf6047-font-body);
  font-size: 15px;
  line-height: 1.68;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

.viewf6047-page img { max-width: 100%; display: block; }

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

.viewf6047-page a { color: var(--viewf6047-pink); text-decoration: none; }

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

.viewf6047-page ::selection { background: var(--viewf6047-amber); color: #0E1621; }

/* Centered phone canvas, kept on wide screens */
.viewf6047-shell {
  position: relative;
  max-width: var(--viewf6047-shell-max);
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--viewf6047-bg);
  box-shadow: 0 0 0 1px rgba(255, 179, 255, 0.06), 0 0 48px rgba(0, 0, 0, 0.55);
}

.viewf6047-main {
  padding-top: calc(var(--viewf6047-topbar-h) + 10px);
  /* Room for the fixed bottom band so content is never covered */
  padding-bottom: calc(var(--viewf6047-bnav-h) + 34px + env(safe-area-inset-bottom));
}

.viewf6047-wrap { padding-left: 12px; padding-right: 12px; }

/* Hidden horizontal scrollbars for shortcut rows */
.viewf6047-scrollx {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.viewf6047-scrollx::-webkit-scrollbar { display: none; }

/* Skip link */
.viewf6047-skip {
  position: fixed;
  top: -48px;
  left: 12px;
  z-index: 120;
  padding: 8px 14px;
  border-radius: var(--viewf6047-radius-s);
  background: var(--viewf6047-amber);
  color: #0E1621;
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s var(--viewf6047-ease);
}
.viewf6047-skip:focus { top: 8px; }

/* --------------------------------------------------------------------------
   3. Top band: minimal title + action strip
   -------------------------------------------------------------------------- */
.viewf6047-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewf6047-shell-max);
  z-index: 80;
  background: rgba(14, 22, 33, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--viewf6047-line);
}

.viewf6047-topbar-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--viewf6047-topbar-h);
  padding: 0 10px;
}

.viewf6047-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--viewf6047-ink);
}

.viewf6047-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  border: 1px solid var(--viewf6047-line);
  object-fit: cover;
  background: var(--viewf6047-surface);
}

.viewf6047-brandname {
  font-family: var(--viewf6047-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.viewf6047-bn1 { color: var(--viewf6047-amber); }
.viewf6047-bn2 { color: var(--viewf6047-pink); }

.viewf6047-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.viewf6047-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  font-family: var(--viewf6047-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.25s var(--viewf6047-ease),
              border-color 0.25s var(--viewf6047-ease),
              color 0.25s var(--viewf6047-ease),
              transform 0.15s var(--viewf6047-ease);
}

.viewf6047-btn-solid {
  background: var(--viewf6047-amber);
  border-color: var(--viewf6047-amber);
  color: #0E1621;
}
.viewf6047-btn-solid:active { background: var(--viewf6047-amber-deep); transform: scale(0.96); }

.viewf6047-btn-ghost {
  border-color: var(--viewf6047-line-soft);
  color: var(--viewf6047-pink);
  background: rgba(255, 179, 255, 0.05);
}
.viewf6047-btn-ghost:active { border-color: var(--viewf6047-pink); transform: scale(0.96); }

.viewf6047-burger {
  width: 42px;
  height: 44px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--viewf6047-line);
  border-radius: 9px;
  color: var(--viewf6047-ink-soft);
  transition: border-color 0.25s var(--viewf6047-ease), color 0.25s var(--viewf6047-ease);
}
.viewf6047-burger:active { border-color: var(--viewf6047-amber); color: var(--viewf6047-amber); }
.viewf6047-burger svg { width: 20px; height: 20px; display: block; }
.viewf6047-burger.viewf6047-open { border-color: var(--viewf6047-amber); color: var(--viewf6047-amber); }

/* --------------------------------------------------------------------------
   4. Sectioned menu page (drops under the top band)
   -------------------------------------------------------------------------- */
.viewf6047-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--viewf6047-topbar-h) - 8px);
  overflow-y: auto;
  padding: 12px 12px 20px;
  background: rgba(11, 18, 28, 0.985);
  border-bottom: 1px solid var(--viewf6047-line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}
.viewf6047-menu.viewf6047-open {
  display: block;
  animation: viewf6047-menu-in 0.24s var(--viewf6047-ease);
}

@keyframes viewf6047-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.viewf6047-msec { padding: 10px 0 4px; }
.viewf6047-msec + .viewf6047-msec { border-top: 1px dashed rgba(43, 59, 78, 0.7); }

.viewf6047-mtitle {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--viewf6047-pink);
  opacity: 0.85;
}

.viewf6047-mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--viewf6047-ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.22s var(--viewf6047-ease),
              border-color 0.22s var(--viewf6047-ease),
              color 0.22s var(--viewf6047-ease);
}
.viewf6047-mlink::after {
  content: "›";
  color: var(--viewf6047-ink-faint);
  font-size: 17px;
  line-height: 1;
}
.viewf6047-mlink:active,
.viewf6047-mlink:hover {
  background: var(--viewf6047-surface-2);
  border-color: var(--viewf6047-line);
  color: var(--viewf6047-ink);
}

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.viewf6047-hero { padding: 12px 12px 0; }

.viewf6047-hero-track {
  display: flex;
  scroll-snap-type: x mandatory;
  border-radius: var(--viewf6047-radius-l);
  border: 1px solid var(--viewf6047-line);
  background: var(--viewf6047-surface);
}

.viewf6047-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  border-radius: var(--viewf6047-radius-l);
  overflow: hidden;
  text-align: left;
}
.viewf6047-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.viewf6047-hero-slide:active img { filter: brightness(1.06); }

.viewf6047-hero-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 13px 11px;
  background: linear-gradient(180deg, rgba(7, 12, 19, 0) 0%, rgba(7, 12, 19, 0.9) 78%);
  display: block;
}
.viewf6047-hero-cap strong {
  display: block;
  font-family: var(--viewf6047-font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--viewf6047-ink);
}
.viewf6047-hero-cap em {
  display: block;
  margin-top: 1px;
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--viewf6047-blush);
}

.viewf6047-hero-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 9px 0 2px;
}
.viewf6047-hero-dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.viewf6047-hero-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--viewf6047-line);
  transition: width 0.3s var(--viewf6047-ease), background-color 0.3s var(--viewf6047-ease);
}
.viewf6047-hero-dot.viewf6047-on::after {
  width: 22px;
  background: var(--viewf6047-amber);
}

/* --------------------------------------------------------------------------
   6. Fact-summary strip + steps
   -------------------------------------------------------------------------- */
.viewf6047-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}
.viewf6047-stat {
  border: 1px solid var(--viewf6047-line);
  border-radius: var(--viewf6047-radius-m);
  background: var(--viewf6047-surface);
  padding: 9px 8px;
  text-align: center;
}
.viewf6047-stat b {
  display: block;
  font-family: var(--viewf6047-font-head);
  font-size: 17px;
  line-height: 1.2;
  color: var(--viewf6047-amber);
}
.viewf6047-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--viewf6047-ink-faint);
}

.viewf6047-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.viewf6047-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--viewf6047-line);
  border-left: 3px solid var(--viewf6047-amber);
  border-radius: var(--viewf6047-radius-m);
  background: var(--viewf6047-surface);
  padding: 9px 11px;
}
.viewf6047-steps b {
  flex: 0 0 auto;
  font-family: var(--viewf6047-font-head);
  font-size: 15px;
  color: var(--viewf6047-amber);
  line-height: 1.5;
}
.viewf6047-steps li > div { font-size: 12.5px; line-height: 1.5; color: var(--viewf6047-ink-soft); }
.viewf6047-steps li > div strong {
  display: block;
  font-size: 13.5px;
  color: var(--viewf6047-ink);
}

/* --------------------------------------------------------------------------
   7. H1 block + compact dual CTA
   -------------------------------------------------------------------------- */
.viewf6047-intro { margin-top: 14px; }

.viewf6047-h1 {
  margin: 0;
  font-family: var(--viewf6047-font-head);
  font-size: 23px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--viewf6047-ink);
}
.viewf6047-h1 .viewf6047-h1kw { color: var(--viewf6047-amber); }

.viewf6047-lede {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--viewf6047-ink-soft);
}

.viewf6047-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}
.viewf6047-duo .viewf6047-btn { width: 100%; font-size: 14.5px; padding: 10px 12px; }

.viewf6047-duo-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--viewf6047-ink-faint);
}

/* --------------------------------------------------------------------------
   8. Game sections: header, mixed lead + small card grid
   -------------------------------------------------------------------------- */
.viewf6047-sec { margin-top: 20px; }

.viewf6047-sechead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 9px;
}

.viewf6047-sectitle {
  margin: 0;
  font-family: var(--viewf6047-font-head);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--viewf6047-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.viewf6047-sectitle::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--viewf6047-amber);
  box-shadow: 0 0 0 1px rgba(255, 179, 71, 0.35);
}

.viewf6047-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--viewf6047-pink);
  border: 1px solid var(--viewf6047-line-soft);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.viewf6047-secnote {
  margin: 0 12px 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--viewf6047-ink-soft);
}
.viewf6047-secnote a {
  color: var(--viewf6047-amber);
  border-bottom: 1px dotted rgba(255, 179, 71, 0.6);
}

.viewf6047-ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 12px;
}

/* Dense sections widen to 5 tracks on roomier phones */
@media (min-width: 400px) {
  .viewf6047-ggrid-dense { grid-template-columns: repeat(5, 1fr); }
}

.viewf6047-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 5px 7px;
  min-height: 44px;
  background: var(--viewf6047-surface);
  border: 1px solid var(--viewf6047-line);
  border-radius: var(--viewf6047-radius-m);
  text-align: center;
  transition: border-color 0.22s var(--viewf6047-ease),
              transform 0.16s var(--viewf6047-ease),
              background-color 0.22s var(--viewf6047-ease);
}
.viewf6047-gcard:hover { border-color: var(--viewf6047-line-soft); background: var(--viewf6047-surface-2); }
.viewf6047-gcard:active { transform: scale(0.965); border-color: var(--viewf6047-amber); }

.viewf6047-gimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--viewf6047-radius-s);
  border: 1px solid rgba(43, 59, 78, 0.8);
  background: var(--viewf6047-void);
}

.viewf6047-gname {
  font-size: 11.5px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--viewf6047-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
  max-width: 100%;
}

/* Lead card: the "big" half of the big/small mix, full row, horizontal */
.viewf6047-gcard-lead {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 10px;
  border-radius: var(--viewf6047-radius-l);
  background: linear-gradient(135deg, var(--viewf6047-surface-2) 0%, var(--viewf6047-surface) 62%);
}
.viewf6047-lead-fig { flex: 0 0 104px; width: 104px; }
.viewf6047-lead-fig img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--viewf6047-radius-m);
  border: 1px solid var(--viewf6047-line);
}
.viewf6047-lead-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  text-align: left;
}
.viewf6047-lead-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--viewf6047-amber);
  border: 1px solid rgba(255, 179, 71, 0.5);
  border-radius: 999px;
  padding: 2px 9px;
}
.viewf6047-lead-name {
  font-family: var(--viewf6047-font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--viewf6047-ink);
}
.viewf6047-lead-note {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--viewf6047-ink-faint);
}

/* --------------------------------------------------------------------------
   9. Content modules (fact-first notes)
   -------------------------------------------------------------------------- */
.viewf6047-note {
  margin: 16px 12px 0;
  padding: 14px 13px 15px;
  background: var(--viewf6047-surface);
  border: 1px solid var(--viewf6047-line);
  border-radius: var(--viewf6047-radius-l);
}

.viewf6047-h2 {
  margin: 0 0 8px;
  font-family: var(--viewf6047-font-head);
  font-size: 17.5px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--viewf6047-ink);
  border-left: 3px solid var(--viewf6047-amber);
  padding-left: 10px;
}

.viewf6047-note p {
  margin: 0 0 9px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--viewf6047-ink-soft);
}
.viewf6047-note p:last-child { margin-bottom: 0; }

.viewf6047-note p a,
.viewf6047-dirlink a,
.viewf6047-ext-brand a {
  color: var(--viewf6047-amber);
  border-bottom: 1px dotted rgba(255, 179, 71, 0.55);
}

.viewf6047-h3 {
  margin: 14px 0 5px;
  font-family: var(--viewf6047-font-head);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--viewf6047-pink);
}

.viewf6047-list {
  list-style: none;
  margin: 4px 0 9px;
  padding: 0;
  display: grid;
  gap: 7px;
}
.viewf6047-list li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--viewf6047-ink-soft);
}
.viewf6047-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--viewf6047-amber);
  opacity: 0.85;
}

/* Pros / limitations duo */
.viewf6047-pc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
@media (min-width: 392px) {
  .viewf6047-pc { grid-template-columns: 1fr 1fr; }
}
.viewf6047-pcbox {
  border: 1px solid var(--viewf6047-line);
  border-radius: var(--viewf6047-radius-m);
  padding: 11px 11px 12px;
  background: var(--viewf6047-surface-2);
}
.viewf6047-pc-pro { border-left: 3px solid var(--viewf6047-amber); }
.viewf6047-pc-con { border-left: 3px solid var(--viewf6047-blush); }
.viewf6047-pctitle {
  margin: 0 0 7px;
  font-family: var(--viewf6047-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--viewf6047-ink);
}
.viewf6047-pcbox .viewf6047-list li { font-size: 12.5px; }
.viewf6047-pc-pro .viewf6047-list li::before { background: var(--viewf6047-amber); }
.viewf6047-pc-con .viewf6047-list li::before { background: var(--viewf6047-blush); border-radius: 999px; }

/* --------------------------------------------------------------------------
   10. Extended home footer (brand > directory > promotions > disclaimer)
   -------------------------------------------------------------------------- */
.viewf6047-ext {
  margin-top: 22px;
  padding: 16px 12px 6px;
  border-top: 1px solid var(--viewf6047-line);
  background: linear-gradient(180deg, rgba(20, 31, 44, 0.6) 0%, rgba(14, 22, 33, 0) 90%);
}

.viewf6047-ext-brand p {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--viewf6047-ink-soft);
}

.viewf6047-ext-dir { margin-top: 16px; }
.viewf6047-extlabel {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--viewf6047-pink);
}

.viewf6047-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.viewf6047-dirlink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--viewf6047-line);
  border-radius: 10px;
  background: var(--viewf6047-surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--viewf6047-ink-soft);
  transition: border-color 0.22s var(--viewf6047-ease), color 0.22s var(--viewf6047-ease);
}
.viewf6047-dirlink:active,
.viewf6047-dirlink:hover {
  border-color: var(--viewf6047-amber);
  color: var(--viewf6047-ink);
}
.viewf6047-dirfnote {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--viewf6047-ink-faint);
}

/* Promotion shortcuts: horizontal, descriptive labels */
.viewf6047-ext-promo { margin-top: 16px; }
.viewf6047-ext-promo .viewf6047-extlabel + p {
  margin: -3px 0 9px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--viewf6047-ink-soft);
}
.viewf6047-xpromo {
  display: flex;
  gap: 9px;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.viewf6047-xitem {
  flex: 0 0 auto;
  width: 148px;
  min-height: 44px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1.5px solid rgba(255, 179, 71, 0.55);
  border-radius: var(--viewf6047-radius-m);
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.14) 0%, rgba(255, 179, 71, 0.03) 70%);
  color: var(--viewf6047-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  transition: border-color 0.22s var(--viewf6047-ease), transform 0.15s var(--viewf6047-ease);
}
.viewf6047-xitem svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--viewf6047-amber); }
.viewf6047-xitem:active { transform: scale(0.96); border-color: var(--viewf6047-amber); }

.viewf6047-ext-disc {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px dashed rgba(43, 59, 78, 0.85);
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--viewf6047-ink-faint);
}
.viewf6047-ext-disc strong { color: var(--viewf6047-blush); font-weight: 700; }

/* --------------------------------------------------------------------------
   11. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.viewf6047-foot {
  padding: 14px 12px 6px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  color: var(--viewf6047-ink-faint);
}

/* --------------------------------------------------------------------------
   12. Brand-accent bottom band (fixed, 5 roles)
   -------------------------------------------------------------------------- */
.viewf6047-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewf6047-shell-max);
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--viewf6047-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 17, 26, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--viewf6047-amber);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.4);
}

.viewf6047-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--viewf6047-bnav-h);
  color: var(--viewf6047-ink-faint);
  font-family: var(--viewf6047-font-body);
  transition: color 0.25s var(--viewf6047-ease);
}
.viewf6047-bnav-item:active { color: var(--viewf6047-blush); }

.viewf6047-bnav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border-radius: 999px;
  transition: background-color 0.25s var(--viewf6047-ease), color 0.25s var(--viewf6047-ease);
}
.viewf6047-bnav-ico svg { width: 21px; height: 21px; display: block; }

.viewf6047-bnav-txt { font-size: 10px; font-weight: 600; line-height: 1.2; }

/* Contrast-inverted active chip: amber fill, dark icon */
.viewf6047-bnav-item.viewf6047-on { color: var(--viewf6047-amber); }
.viewf6047-bnav-item.viewf6047-on .viewf6047-bnav-ico {
  background: var(--viewf6047-amber);
  color: #0E1621;
}

/* --------------------------------------------------------------------------
   13. Restrained reveal-on-scroll (enabled only when JS is present)
   -------------------------------------------------------------------------- */
.viewf6047-js .viewf6047-rv {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--viewf6047-ease), transform 0.55s var(--viewf6047-ease);
}
.viewf6047-js .viewf6047-rv.viewf6047-rv-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .viewf6047-js .viewf6047-rv,
  .viewf6047-js .viewf6047-rv.viewf6047-rv-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .viewf6047-hero-slide,
  .viewf6047-hero-track { scroll-behavior: auto; }
  .viewf6047-menu.viewf6047-open { animation: none; }
}

/* --------------------------------------------------------------------------
   14. Small-phone guard (<=340px): tighten the top band
   -------------------------------------------------------------------------- */
@media (max-width: 348px) {
  .viewf6047-brandname { font-size: 17px; }
  .viewf6047-logo { width: 34px; height: 34px; flex-basis: 34px; }
  .viewf6047-btn { padding: 7px 9px; font-size: 12px; }
  .viewf6047-h1 { font-size: 21px; }
  .viewf6047-dirgrid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .viewf6047-dirlink { font-size: 11px; padding: 7px 8px; }
}

/* Ensure anchor CTAs retain the same readable contrast as button CTAs. */
.viewf6047-page a.viewf6047-btn-solid { color: #0E1621; }
.viewf6047-page a.viewf6047-btn-ghost { color: var(--viewf6047-pink); }
.viewf6047-page a.viewf6047-btn { text-align: center; }
