/* ==========================================================================
   999b.homes - mobile gaming portal stylesheet
   File: css/999b-interface-d5708f.css
   Class prefix: view708fa-  |  Design: tech titles, near-square corners,
   grouped cover cards, step-progression rhythm, restrained fade feedback.
   Palette: #00E5FF accent / #0E1621 deep / #2C3E50 panels
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --view708fa-bg: #0e1621;
  --view708fa-bg-2: #111c29;
  --view708fa-panel: #16232f;
  --view708fa-panel-2: #2c3e50;
  --view708fa-panel-3: #1d2f3f;
  --view708fa-line: rgba(0, 229, 255, 0.16);
  --view708fa-line-soft: rgba(148, 178, 199, 0.14);
  --view708fa-accent: #00e5ff;
  --view708fa-accent-dim: rgba(0, 229, 255, 0.12);
  --view708fa-ink: #eaf4f9;
  --view708fa-ink-2: #b7c8d4;
  --view708fa-ink-3: #8ea2b0;
  --view708fa-gold: #ffd166;
  --view708fa-danger: #ff6b6b;
  --view708fa-r: 3px;   /* near-square tool feel */
  --view708fa-r-2: 5px;
  --view708fa-topbar-h: 58px;
  --view708fa-tabbar-h: 64px;
  --view708fa-gap: 12px;
  --view708fa-pad: 14px;
  --view708fa-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Segoe UI", Tahoma, sans-serif;
  --view708fa-font-tech: "Bahnschrift", "Segoe UI", "Arial Narrow",
    "Roboto Condensed", "Noto Sans Bengali", sans-serif;
  --view708fa-font-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New",
    monospace;
}

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

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

body {
  margin: 0;
  background: #060b12;
  color: var(--view708fa-ink);
  font-family: var(--view708fa-font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.view708fa-menu-lock {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--view708fa-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--view708fa-font-tech);
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0.2px;
}

ul, ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--view708fa-accent);
  outline-offset: 2px;
  border-radius: var(--view708fa-r);
}

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

/* ---------- phone canvas (centered on wide screens) ---------- */
.view708fa-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(0, 229, 255, 0.07), transparent 60%),
    var(--view708fa-bg);
  border-left: 1px solid var(--view708fa-line-soft);
  border-right: 1px solid var(--view708fa-line-soft);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 30% at 50% 0%, rgba(0, 229, 255, 0.05), transparent 70%),
      #060b12;
  }

  .view708fa-shell {
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- fixed top bar: asymmetric brand head ---------- */
.view708fa-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--view708fa-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 12px;
  background: rgba(14, 22, 33, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view708fa-line);
}

.view708fa-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  /* asymmetric head: brand block carries a tall clipped logo plate */
  padding: 5px 10px 5px 5px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.1), rgba(0, 229, 255, 0));
  border-left: 3px solid var(--view708fa-accent);
  min-width: 0;
}

.view708fa-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--view708fa-r);
  border: 1px solid var(--view708fa-line);
  object-fit: cover;
  flex: none;
}

.view708fa-sitename {
  font-family: var(--view708fa-font-tech);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--view708fa-ink);
  white-space: nowrap;
}

.view708fa-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

/* staggered CTA sizes: primary large, secondary slim */
.view708fa-btn {
  border-radius: var(--view708fa-r);
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

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

.view708fa-btn--primary {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14.5px;
  color: #04202a;
  background: linear-gradient(180deg, #3df0ff, var(--view708fa-accent));
  border: 1px solid #6ff3ff;
  box-shadow: 0 3px 0 rgba(0, 138, 160, 0.55);
}

.view708fa-btn--ghost {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--view708fa-ink);
  background: transparent;
  border: 1px solid var(--view708fa-line);
}

.view708fa-btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.view708fa-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r);
  color: var(--view708fa-accent);
}

.view708fa-burger:active {
  transform: scale(0.94);
}

.view708fa-ic {
  width: 20px;
  height: 20px;
  display: block;
}

/* ---------- stacked overlay menu ---------- */
.view708fa-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(9, 15, 23, 0.97);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  overflow-y: auto;
  padding: 14px 16px calc(24px + var(--view708fa-tabbar-h));
}

.view708fa-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.view708fa-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 14px;
  border-bottom: 1px dashed var(--view708fa-line);
}

.view708fa-menu-title {
  font-family: var(--view708fa-font-tech);
  font-size: 17px;
  color: var(--view708fa-ink);
  letter-spacing: 1px;
}

.view708fa-menu-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r);
  color: var(--view708fa-ink);
}

.view708fa-menu-group {
  margin-top: 16px;
}

.view708fa-menu-label {
  font-family: var(--view708fa-font-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--view708fa-ink-3);
  margin: 0 0 8px 2px;
}

/* stacked rows, each row is a full-width slab */
.view708fa-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  margin-bottom: 7px;
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line-soft);
  border-left: 3px solid var(--view708fa-panel-2);
  border-radius: var(--view708fa-r);
  color: var(--view708fa-ink);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.view708fa-menu-link:hover {
  text-decoration: none;
  border-left-color: var(--view708fa-accent);
  background: var(--view708fa-panel-3);
}

.view708fa-menu-link em {
  font-style: normal;
  font-family: var(--view708fa-font-mono);
  font-size: 10px;
  color: var(--view708fa-ink-3);
}

.view708fa-menu-link.is-here {
  border-left-color: var(--view708fa-accent);
  background: var(--view708fa-accent-dim);
}

/* ---------- main column ---------- */
.view708fa-main {
  padding: calc(var(--view708fa-topbar-h) + 10px) var(--view708fa-pad)
    calc(var(--view708fa-tabbar-h) + 26px);
}

/* ---------- hero carousel ---------- */
.view708fa-hero {
  position: relative;
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r-2);
  overflow: hidden;
  background: var(--view708fa-panel);
}

.view708fa-track {
  display: flex;
  transition: transform 0.32s ease;
}

.view708fa-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  width: 100%;
}

.view708fa-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.view708fa-slide-cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 34px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  text-align: left;
  pointer-events: none;
}

.view708fa-dots {
  position: absolute;
  bottom: 9px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.view708fa-dot {
  width: 16px;
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  transition: background 0.15s ease, width 0.15s ease;
}

.view708fa-dot.is-on {
  width: 26px;
  background: var(--view708fa-accent);
}

/* ---------- H1 lead zone ---------- */
.view708fa-lead {
  margin: 16px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--view708fa-accent);
}

.view708fa-kicker {
  display: inline-block;
  font-family: var(--view708fa-font-mono);
  font-size: 10.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--view708fa-accent);
  margin-bottom: 5px;
}

.view708fa-h1 {
  font-size: 23px;
  font-weight: 700;
  color: var(--view708fa-ink);
}

.view708fa-leadtxt {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--view708fa-ink-2);
}

/* ---------- quick stat strip ---------- */
.view708fa-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 18px;
}

.view708fa-stat {
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line-soft);
  border-top: 2px solid var(--view708fa-panel-2);
  border-radius: var(--view708fa-r);
  padding: 8px 4px 7px;
  text-align: center;
}

.view708fa-stat-num {
  font-family: var(--view708fa-font-tech);
  font-size: 17px;
  font-weight: 700;
  color: var(--view708fa-accent);
  display: block;
  line-height: 1.2;
}

.view708fa-stat-lbl {
  font-size: 10.5px;
  color: var(--view708fa-ink-3);
  display: block;
  margin-top: 2px;
}

/* ---------- generic section frame ---------- */
.view708fa-sec {
  margin: 0 0 18px;
  background: var(--view708fa-bg-2);
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r-2);
  padding: 14px 12px 12px;
}

.view708fa-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.view708fa-sec-kick {
  font-family: var(--view708fa-font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--view708fa-accent);
  border: 1px solid var(--view708fa-line);
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  flex: none;
}

.view708fa-sec-title {
  font-size: 17.5px;
  color: var(--view708fa-ink);
}

.view708fa-sec-note {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--view708fa-ink-2);
}

.view708fa-sec-note a,
.view708fa-p a {
  color: var(--view708fa-accent);
  border-bottom: 1px dotted rgba(0, 229, 255, 0.5);
}

.view708fa-sec-note a:hover,
.view708fa-p a:hover {
  text-decoration: none;
  border-bottom-style: solid;
}

/* ---------- game grid: grouped cover cards ---------- */
.view708fa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 375px) {
  .view708fa-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.view708fa-gcard {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r);
  background: var(--view708fa-panel);
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.view708fa-gcard:active {
  transform: scale(0.95);
  border-color: var(--view708fa-accent);
}

.view708fa-gcard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--view708fa-panel-3);
}

.view708fa-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
  color: var(--view708fa-ink-2);
  padding: 4px 4px 5px;
  min-height: 34px;
}

/* ---------- content modules ---------- */
.view708fa-block {
  margin: 0 0 18px;
  background: var(--view708fa-bg-2);
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r-2);
  padding: 14px 13px;
}

.view708fa-block-title {
  font-size: 17px;
  color: var(--view708fa-ink);
  padding-left: 10px;
  border-left: 3px solid var(--view708fa-accent);
  margin-bottom: 9px;
}

.view708fa-p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--view708fa-ink-2);
}

.view708fa-p:last-child {
  margin-bottom: 0;
}

.view708fa-p strong,
.view708fa-sec-note strong {
  color: var(--view708fa-ink);
}

/* direct answer callout */
.view708fa-answer {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.09), rgba(0, 229, 255, 0.02));
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r-2);
  padding: 12px;
}

/* step-progression lists */
.view708fa-steps {
  list-style: none;
  counter-reset: view708fastep;
}

.view708fa-steps > li {
  counter-increment: view708fastep;
  position: relative;
  padding: 0 0 12px 40px;
  font-size: 13.8px;
  color: var(--view708fa-ink-2);
}

.view708fa-steps > li:last-child {
  padding-bottom: 0;
}

.view708fa-steps > li::before {
  content: counter(view708fastep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--view708fa-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view708fa-accent);
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r);
}

/* vertical connector between steps */
.view708fa-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: var(--view708fa-line-soft);
}

/* faq accordion */
.view708fa-qa {
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r);
  background: var(--view708fa-panel);
  margin-bottom: 8px;
  overflow: hidden;
}

.view708fa-qa:last-child {
  margin-bottom: 0;
}

.view708fa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--view708fa-ink);
  cursor: pointer;
  list-style: none;
}

.view708fa-q::-webkit-details-marker {
  display: none;
}

.view708fa-q::after {
  content: "+";
  font-family: var(--view708fa-font-mono);
  font-size: 16px;
  color: var(--view708fa-accent);
  flex: none;
}

.view708fa-qa[open] .view708fa-q::after {
  content: "−";
}

.view708fa-a {
  padding: 0 12px 12px;
  font-size: 13.6px;
  color: var(--view708fa-ink-2);
  border-top: 1px dashed var(--view708fa-line-soft);
  padding-top: 10px;
}

/* payment condition tiles */
.view708fa-pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.view708fa-pay-item {
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r);
  padding: 9px 10px;
}

.view708fa-pay-item h3 {
  font-size: 13.5px;
  color: var(--view708fa-ink);
  margin-bottom: 3px;
}

.view708fa-pay-item p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.65;
  color: var(--view708fa-ink-3);
}

/* achievement ladder */
.view708fa-rung {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--view708fa-line-soft);
}

.view708fa-rung:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.view708fa-rung-tag {
  flex: none;
  font-family: var(--view708fa-font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #04202a;
  background: var(--view708fa-accent);
  border-radius: 2px;
  padding: 3px 6px;
  margin-top: 3px;
}

.view708fa-rung-tag--alt {
  background: var(--view708fa-gold);
  color: #33230a;
}

.view708fa-rung p {
  margin: 0;
  font-size: 13.6px;
  color: var(--view708fa-ink-2);
}

/* play style comparison rows */
.view708fa-row {
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line-soft);
  border-radius: var(--view708fa-r);
  padding: 10px 11px;
  margin-bottom: 8px;
}

.view708fa-row:last-child {
  margin-bottom: 0;
}

.view708fa-row h3 {
  font-size: 14px;
  color: var(--view708fa-accent);
  margin-bottom: 3px;
}

.view708fa-row p {
  margin: 0;
  font-size: 13.4px;
  color: var(--view708fa-ink-2);
}

/* entity relation map */
.view708fa-map-item {
  display: grid;
  grid-template-columns: 86px 18px 1fr;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--view708fa-line-soft);
}

.view708fa-map-item:last-child {
  border-bottom: 0;
}

.view708fa-map-from {
  font-family: var(--view708fa-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  color: var(--view708fa-accent);
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r);
  padding: 5px 3px;
}

.view708fa-map-arrow {
  color: var(--view708fa-ink-3);
  font-family: var(--view708fa-font-mono);
  text-align: center;
}

.view708fa-map p {
  margin: 0;
  font-size: 13.2px;
  color: var(--view708fa-ink-2);
}

/* ---------- extended footer ---------- */
.view708fa-xfoot {
  margin: 22px 0 14px;
  border-top: 2px solid var(--view708fa-panel-2);
  padding-top: 14px;
}

.view708fa-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.view708fa-xfoot-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--view708fa-r);
  border: 1px solid var(--view708fa-line);
  flex: none;
}

.view708fa-xfoot-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--view708fa-ink-2);
}

.view708fa-xfoot-sec {
  margin-bottom: 14px;
}

.view708fa-xfoot-title {
  font-family: var(--view708fa-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--view708fa-ink-3);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--view708fa-line-soft);
}

/* promotion action list: icon + text labels, sectioned */
.view708fa-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.view708fa-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  text-align: left;
  padding: 9px 11px;
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line);
  border-radius: var(--view708fa-r);
  color: var(--view708fa-ink);
  font-size: 13.8px;
  font-weight: 700;
  transition: transform 0.12s ease, background 0.12s ease;
}

.view708fa-promo:active {
  transform: scale(0.98);
  background: var(--view708fa-panel-3);
}

.view708fa-promo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--view708fa-ink-3);
}

.view708fa-promo-ic {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #04202a;
  background: var(--view708fa-accent);
  border-radius: var(--view708fa-r);
}

.view708fa-promo:nth-child(even) .view708fa-promo-ic {
  background: var(--view708fa-gold);
  color: #33230a;
}

.view708fa-promo-ic svg {
  width: 16px;
  height: 16px;
}

/* page directory: compact two column list */
.view708fa-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  list-style: none;
}

.view708fa-dir-link {
  display: block;
  font-size: 12.8px;
  color: var(--view708fa-ink-2);
  padding: 6px 4px 6px 12px;
  position: relative;
  border-bottom: 1px dotted transparent;
}

.view708fa-dir-link::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--view708fa-accent);
}

.view708fa-dir-link:hover {
  color: var(--view708fa-accent);
  text-decoration: none;
}

.view708fa-note {
  font-size: 11.8px;
  line-height: 1.7;
  color: var(--view708fa-ink-3);
  background: var(--view708fa-panel);
  border-left: 3px solid var(--view708fa-panel-2);
  padding: 9px 11px;
  border-radius: var(--view708fa-r);
  margin: 0;
}

/* ---------- copyright footer ---------- */
.view708fa-foot {
  text-align: center;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--view708fa-line-soft);
}

.view708fa-foot p {
  margin: 0;
  font-family: var(--view708fa-font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--view708fa-ink-3);
}

/* ---------- fixed bottom nav rail ---------- */
.view708fa-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--view708fa-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(13, 20, 30, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--view708fa-line);
}

.view708fa-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: var(--view708fa-ink-3);
  font-family: var(--view708fa-font-body);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.12s ease, transform 0.12s ease;
}

.view708fa-tab:active {
  transform: translateY(1px);
  color: var(--view708fa-ink-2);
}

.view708fa-tab:hover {
  text-decoration: none;
}

/* containerized symbol tile */
.view708fa-tab-tile {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--view708fa-r);
  background: var(--view708fa-panel);
  border: 1px solid var(--view708fa-line-soft);
  color: var(--view708fa-ink-3);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.view708fa-tab-tile svg {
  width: 17px;
  height: 17px;
}

/* active state: label emphasis + lit tile */
.view708fa-tab.is-here {
  color: var(--view708fa-accent);
}

.view708fa-tab.is-here .view708fa-tab-tile {
  background: var(--view708fa-accent-dim);
  border-color: var(--view708fa-accent);
  color: var(--view708fa-accent);
}

.view708fa-tab.is-here .view708fa-tab-lbl {
  position: relative;
}

.view708fa-tab.is-here .view708fa-tab-lbl::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -3px;
  width: 16px;
  height: 2px;
  background: var(--view708fa-accent);
  border-radius: 1px;
}

.view708fa-tab--promo .view708fa-tab-tile {
  border-color: var(--view708fa-line);
}

/* ---------- restrained reveal feedback ---------- */
.view708fa-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.view708fa-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .view708fa-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .view708fa-track {
    transition: none;
  }
}

/* ---------- small-phone guard (320px) ---------- */
@media (max-width: 359px) {
  .view708fa-sitename {
    font-size: 18px;
  }

  .view708fa-btn--primary {
    padding: 8px 10px;
    font-size: 13px;
  }

  .view708fa-h1 {
    font-size: 21px;
  }

  .view708fa-grid {
    gap: 6px;
  }
}

/* wide phone / small tablet stays inside the 430px canvas */
@media (min-width: 430px) {
  .view708fa-lead {
    margin-top: 18px;
  }

  .view708fa-slide-cap {
    font-size: 13px;
  }
}
