/* ==========================================================================
   cv999 packaging — palette-native stylesheet
   file: css/palette-native-5d3f1e.css
   All class names and custom properties use the viewf1e42- prefix.
   Canvas: 320-430px mobile frame; on wide screens the frame stays at
   max-width 430px and is centered, so the same navigation experience
   (sticky top bar + fixed raised bottom bar) continues on desktop.
   Visual direction: high-contrast display type + readable body text,
   stroke-dominant restrained rounding, outlined tile game cards,
   short-list info rhythm, state-color-only motion budget,
   solid primary CTA paired with outlined secondary CTA.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --viewf1e42-bg: #2E4057;            /* deep slate base */
  --viewf1e42-bg-deep: #26364B;       /* sunken panels, chrome */
  --viewf1e42-bg-void: #1B2740;       /* page backdrop behind the canvas */
  --viewf1e42-panel: #3A4F6B;         /* raised panel */
  --viewf1e42-panel-soft: #32455F;    /* quiet card fill */
  --viewf1e42-line: #55698A;          /* hairline strokes */
  --viewf1e42-line-strong: #708090;   /* slate stroke for ghost buttons */
  --viewf1e42-slate: #708090;         /* secondary ink */
  --viewf1e42-ink: #F5F5F5;           /* primary text on dark */
  --viewf1e42-ghost: #F8F8FF;         /* heading text */
  --viewf1e42-body: #D8DFEA;          /* paragraph text */
  --viewf1e42-muted: #9AA8BC;         /* captions */
  --viewf1e42-accent: #8470FF;        /* violet action color */
  --viewf1e42-accent-bright: #9D8CFF;
  --viewf1e42-accent-tint: #B9ACFF;
  --viewf1e42-accent-ink: #171F33;    /* text on accent fills */
  --viewf1e42-accent-soft: rgba(132, 112, 255, 0.18);
  --viewf1e42-radius: 8px;
  --viewf1e42-radius-lg: 12px;
  --viewf1e42-font: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi',
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --viewf1e42-nav-h: 62px;            /* bottom bar base height */
  --viewf1e42-canvas: 430px;          /* max phone canvas width */
}

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

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

body.viewf1e42-page {
  margin: 0;
  padding: 0;
  background: var(--viewf1e42-bg-void);
  color: var(--viewf1e42-body);
  font-family: var(--viewf1e42-font);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.viewf1e42-shell {
  position: relative;
  width: 100%;
  max-width: 430px;                   /* phone canvas stays 430px on desktop */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--viewf1e42-bg);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  body.viewf1e42-page {
    padding: 0 0 24px;
  }

  .viewf1e42-shell {
    border-left: 1px solid #3B5170;
    border-right: 1px solid #3B5170;
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.42);
  }
}

.viewf1e42-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--viewf1e42-accent);
  color: var(--viewf1e42-accent-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--viewf1e42-radius);
  transition: none;
}

.viewf1e42-skip:focus {
  top: 10px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--viewf1e42-accent-tint);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--viewf1e42-accent-bright);
  outline-offset: 2px;
}

::selection {
  background: var(--viewf1e42-accent);
  color: var(--viewf1e42-ink);
}

/* --------------------------------------------------------------------------
   3. Top bar — two layers: brand row above, action row below
   -------------------------------------------------------------------------- */
.viewf1e42-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(38, 54, 75, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--viewf1e42-line);
}

.viewf1e42-brandrow {
  display: flex;
  align-items: center;
  padding: 10px 14px 6px;
}

.viewf1e42-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-height: 44px;
}

.viewf1e42-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--viewf1e42-radius);
  border: 1px solid var(--viewf1e42-line-strong);
  display: block;
  background: var(--viewf1e42-bg-deep);
  object-fit: cover;
}

.viewf1e42-sitename {
  font-size: 17px;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.viewf1e42-actionrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 2px 14px 12px;
}

.viewf1e42-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.viewf1e42-btn--solid {
  flex: 1 1 auto;
  background: var(--viewf1e42-accent);
  color: var(--viewf1e42-accent-ink);
  border-color: var(--viewf1e42-accent-bright);
}

.viewf1e42-btn--solid:hover,
.viewf1e42-btn--solid:active {
  background: var(--viewf1e42-accent-bright); /* state color change only */
  color: #10182B;
}

.viewf1e42-btn--ghost {
  flex: 1 1 auto;
  background: transparent;
  color: var(--viewf1e42-ghost);
  border-color: var(--viewf1e42-line-strong);
}

.viewf1e42-btn--ghost:hover,
.viewf1e42-btn--ghost:active {
  background: var(--viewf1e42-accent-soft);
  border-color: var(--viewf1e42-accent);
  color: #FFFFFF;
}

.viewf1e42-menutoggle {
  flex: 0 0 auto;
  min-width: 62px;
  min-height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--viewf1e42-body);
  background: var(--viewf1e42-panel-soft);
  border: 1px solid var(--viewf1e42-line);
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-menutoggle:hover,
.viewf1e42-menutoggle:active {
  border-color: var(--viewf1e42-accent);
  color: #FFFFFF;
}

.viewf1e42-menutoggle svg {
  width: 18px;
  height: 18px;
}

/* Layered dropdown menu ---------------------------------------------- */
.viewf1e42-menu {
  border-top: 1px dashed var(--viewf1e42-line);
  background: var(--viewf1e42-bg-deep);
  padding: 10px 14px 16px;
}

.viewf1e42-menu[data-open="false"] {
  display: none;
}

.viewf1e42-menu-group {
  margin-bottom: 4px;
}

.viewf1e42-menu-label {
  margin: 12px 2px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--viewf1e42-slate);
}

.viewf1e42-menu-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  margin-bottom: 6px;
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius);
  background: var(--viewf1e42-panel-soft);
  color: var(--viewf1e42-ghost);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}

.viewf1e42-menu-link:hover,
.viewf1e42-menu-link:active {
  border-color: var(--viewf1e42-accent);
  background: var(--viewf1e42-accent-soft);
  color: #FFFFFF;
}

.viewf1e42-menu-link--home {
  border-style: solid;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.viewf1e42-hero {
  padding: 20px 16px 18px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(132, 112, 255, 0.16) 0%, rgba(132, 112, 255, 0) 55%),
    linear-gradient(168deg, #32465F 0%, #2E4057 58%, #2A3B52 100%);
  border-bottom: 1px solid var(--viewf1e42-line);
}

.viewf1e42-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border: 1px solid rgba(132, 112, 255, 0.5);
  border-radius: 999px;
  background: var(--viewf1e42-accent-soft);
  color: var(--viewf1e42-accent-tint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.viewf1e42-hero-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
  letter-spacing: -0.005em;
}

.viewf1e42-hero-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--viewf1e42-body);
}

.viewf1e42-hero-ctas {
  display: flex;
  gap: 10px;
}

.viewf1e42-hero-ctas .viewf1e42-btn {
  flex: 1 1 50%;
}

.viewf1e42-hero-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--viewf1e42-muted);
}

/* Stats strip ---------------------------------------------------------- */
.viewf1e42-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 16px 4px;
}

.viewf1e42-stat {
  border: 1px solid var(--viewf1e42-line);
  border-radius: 10px;
  background: var(--viewf1e42-panel-soft);
  padding: 8px 3px 7px;
  text-align: center;
}

.viewf1e42-stat-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--viewf1e42-accent-tint);
  line-height: 1.25;
}

.viewf1e42-stat-cap {
  display: block;
  font-size: 10px;
  color: var(--viewf1e42-muted);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   5. Promo carousel (scroll-snap, instant snapping — no decorative motion)
   -------------------------------------------------------------------------- */
.viewf1e42-carousel {
  margin: 14px 16px 4px;
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius-lg);
  overflow: hidden;
  background: var(--viewf1e42-bg-deep);
}

.viewf1e42-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.viewf1e42-track::-webkit-scrollbar {
  display: none;
}

.viewf1e42-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #22303F;
}

.viewf1e42-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(27, 39, 64, 0) 0%, rgba(23, 31, 51, 0.92) 78%);
  color: var(--viewf1e42-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.viewf1e42-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 7px 0 10px;
  background: var(--viewf1e42-bg-deep);
}

.viewf1e42-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--viewf1e42-line-strong);
  background: transparent;
  cursor: pointer;
}

.viewf1e42-dot[data-state="on"] {
  background: var(--viewf1e42-accent);
  border-color: var(--viewf1e42-accent-bright);
}

/* --------------------------------------------------------------------------
   6. Generic content sections
   -------------------------------------------------------------------------- */
.viewf1e42-main {
  display: block;
  /* bottom clearance so the fixed raised nav never covers the last block */
  padding-bottom: calc(var(--viewf1e42-nav-h) + 48px + env(safe-area-inset-bottom, 0px));
}

.viewf1e42-section {
  padding: 22px 16px 6px;
}

.viewf1e42-section-title {
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--viewf1e42-accent);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
}

.viewf1e42-section-sub {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--viewf1e42-muted);
}

.viewf1e42-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--viewf1e42-body);
}

.viewf1e42-lead a,
.viewf1e42-qa a,
.viewf1e42-notebox a {
  color: var(--viewf1e42-accent-tint);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 172, 255, 0.55);
}

.viewf1e42-lead a:hover,
.viewf1e42-qa a:hover {
  color: #FFFFFF;
  text-decoration-color: var(--viewf1e42-accent-bright);
}

.viewf1e42-notebox {
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius-lg);
  background: var(--viewf1e42-panel-soft);
  padding: 12px 13px;
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--viewf1e42-body);
}

/* --------------------------------------------------------------------------
   7. Game lobbies — outlined tile cards on a stable grid
   -------------------------------------------------------------------------- */
.viewf1e42-gamehead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.viewf1e42-badge {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--viewf1e42-line);
  border-radius: 999px;
  background: var(--viewf1e42-panel-soft);
  color: var(--viewf1e42-muted);
  font-size: 11px;
  font-weight: 600;
}

.viewf1e42-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columns from 320px up */
  gap: 8px;
  margin: 10px 0 6px;
}

@media (min-width: 390px) {
  .viewf1e42-grid--fluid {
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* 5 columns on 390-430px */
  }
}

.viewf1e42-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 5px 4px 6px;
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius);
  background: var(--viewf1e42-panel-soft);
  color: var(--viewf1e42-body);
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-tile:hover,
.viewf1e42-tile:active {
  border-color: var(--viewf1e42-accent);
  background: var(--viewf1e42-accent-soft);
}

.viewf1e42-tile-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #22303F;
}

.viewf1e42-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  color: #E8ECF4;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   8. Content modules (checklists, Q&A, steps, features, comparison)
   -------------------------------------------------------------------------- */
.viewf1e42-panelbox {
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius-lg);
  background: var(--viewf1e42-panel-soft);
  padding: 13px 14px;
  margin: 0 0 14px;
}

.viewf1e42-panelbox > :last-child {
  margin-bottom: 0;
}

.viewf1e42-panelbox-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
}

.viewf1e42-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.viewf1e42-checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--viewf1e42-body);
}

.viewf1e42-checklist li:last-child {
  margin-bottom: 0;
}

.viewf1e42-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--viewf1e42-accent);
  border-radius: 2px;
  background: var(--viewf1e42-accent-soft);
}

.viewf1e42-steps {
  list-style: none;
  counter-reset: viewf1e42-step;
  margin: 0;
  padding: 0;
}

.viewf1e42-steps li {
  position: relative;
  counter-increment: viewf1e42-step;
  padding-left: 36px;
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--viewf1e42-body);
}

.viewf1e42-steps li:last-child {
  margin-bottom: 0;
}

.viewf1e42-steps li::before {
  content: counter(viewf1e42-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--viewf1e42-accent);
  border-radius: 50%;
  background: var(--viewf1e42-accent-soft);
  color: var(--viewf1e42-accent-tint);
  font-size: 11px;
  font-weight: 700;
}

.viewf1e42-qa {
  border: 1px solid var(--viewf1e42-line);
  border-left: 3px solid var(--viewf1e42-accent);
  border-radius: 0 10px 10px 0;
  background: var(--viewf1e42-panel-soft);
  padding: 10px 12px 11px;
  margin: 0 0 10px;
}

.viewf1e42-qa h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
  line-height: 1.55;
}

.viewf1e42-qa p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--viewf1e42-body);
}

.viewf1e42-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 6px;
}

.viewf1e42-feature {
  border: 1px solid var(--viewf1e42-line);
  border-radius: 10px;
  background: var(--viewf1e42-panel-soft);
  padding: 10px 11px;
}

.viewf1e42-feature-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--viewf1e42-accent);
  border: 1px solid var(--viewf1e42-accent-bright);
}

.viewf1e42-feature-title {
  margin: 7px 0 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--viewf1e42-ghost);
  line-height: 1.4;
}

.viewf1e42-feature-text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #C3CDDD;
}

.viewf1e42-comp {
  border: 1px solid var(--viewf1e42-line);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0 6px;
}

.viewf1e42-comp-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(85, 105, 138, 0.5);
  background: var(--viewf1e42-panel-soft);
}

.viewf1e42-comp-row:last-child {
  border-bottom: 0;
}

.viewf1e42-comp-key {
  font-size: 11px;
  font-weight: 700;
  color: var(--viewf1e42-accent-tint);
  line-height: 1.5;
  padding-top: 2px;
}

.viewf1e42-comp-val {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--viewf1e42-body);
}

@media (max-width: 359px) {
  .viewf1e42-comp-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* --------------------------------------------------------------------------
   9. Extended footer — two-column directory, then promo actions
   -------------------------------------------------------------------------- */
.viewf1e42-xfooter {
  margin-top: 20px;
  border-top: 1px solid var(--viewf1e42-line);
  background: var(--viewf1e42-bg-deep);
  padding: 20px 16px 22px;
}

.viewf1e42-xf-brand {
  margin: 8px 0 4px;
  font-size: 12.5px;
  line-height: 1.72;
  color: #C3CDDD;
}

.viewf1e42-xf-label {
  margin: 14px 2px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--viewf1e42-slate);
}

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

.viewf1e42-xf-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--viewf1e42-line);
  border-radius: var(--viewf1e42-radius);
  background: rgba(58, 79, 107, 0.55);
  color: #E4E9F2;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.45;
}

.viewf1e42-xf-link:hover,
.viewf1e42-xf-link:active {
  border-color: var(--viewf1e42-accent);
  background: var(--viewf1e42-accent-soft);
  color: #FFFFFF;
}

.viewf1e42-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.viewf1e42-xf-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--viewf1e42-line-strong);
  background: transparent;
  color: var(--viewf1e42-ghost);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-xf-chip:hover,
.viewf1e42-xf-chip:active {
  border-color: var(--viewf1e42-accent);
  background: var(--viewf1e42-accent-soft);
  color: #FFFFFF;
}

.viewf1e42-xf-chip--solid {
  background: var(--viewf1e42-accent);
  border-color: var(--viewf1e42-accent-bright);
  color: var(--viewf1e42-accent-ink);
}

.viewf1e42-xf-chip--solid:hover,
.viewf1e42-xf-chip--solid:active {
  background: var(--viewf1e42-accent-bright);
  color: #10182B;
}

.viewf1e42-xf-note {
  margin: 14px 0 0;
  padding-top: 11px;
  border-top: 1px dashed var(--viewf1e42-line);
  font-size: 11px;
  line-height: 1.65;
  color: var(--viewf1e42-muted);
}

/* --------------------------------------------------------------------------
   10. Common footer
   -------------------------------------------------------------------------- */
.viewf1e42-footer {
  padding: 14px 16px 10px;
  border-top: 1px solid var(--viewf1e42-line);
  background: var(--viewf1e42-bg-deep);
  text-align: center;
}

.viewf1e42-footer-text {
  margin: 0;
  font-size: 11.5px;
  color: var(--viewf1e42-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Fixed bottom bar with a raised center action
   -------------------------------------------------------------------------- */
.viewf1e42-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                   /* aligned with the phone canvas */
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  background: rgba(27, 39, 64, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--viewf1e42-line);
  padding: 5px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.viewf1e42-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px 2px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
  color: #A7B4C7;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-bn-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: transparent; /* indicator appears only for the current page */
}

.viewf1e42-bn-item:hover,
.viewf1e42-bn-item:active {
  color: #FFFFFF;
}

.viewf1e42-bn-item[data-state="current"] {
  color: var(--viewf1e42-accent-tint); /* active = color switch */
}

.viewf1e42-bn-item[data-state="current"]::before {
  background: var(--viewf1e42-accent-bright);
}

.viewf1e42-bn-icon {
  display: inline-flex;
}

.viewf1e42-bn-icon svg {
  width: 21px;
  height: 21px;
}

.viewf1e42-bn-label {
  white-space: nowrap;
}

/* Raised center action --------------------------------------------------- */
.viewf1e42-bn-raise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.viewf1e42-bn-fab {
  width: 52px;
  height: 52px;
  margin-top: -24px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--viewf1e42-accent-bright);
  background: var(--viewf1e42-accent);
  color: var(--viewf1e42-accent-ink);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(132, 112, 255, 0.22); /* restrained glow */
  -webkit-tap-highlight-color: transparent;
}

.viewf1e42-bn-fab:hover,
.viewf1e42-bn-fab:active {
  background: var(--viewf1e42-accent-bright);
  box-shadow: 0 0 0 6px rgba(132, 112, 255, 0.3);
}

.viewf1e42-bn-fab svg {
  width: 22px;
  height: 22px;
}

.viewf1e42-bn-raiselabel {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--viewf1e42-accent-tint);
}

/* --------------------------------------------------------------------------
   12. Accessibility preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .viewf1e42-fab,
  .viewf1e42-bn-fab {
    transition: none !important;
  }
}
