/* ==========================================================================
   299bt.cyou - mobile visual system (bn-BD)
   Canvas: 320-430px phone frame, centered on wide screens
   Class / property prefix: surface95b3f-
   Palette: #FF9500 / #AD1457 / #FF6347 / #8B7355 / #2D2D2D
   Tone: poster headings + narrow body, small radius, compact square catalog
   ========================================================================== */

:root {
  --surface95b3f-ink: #2d2d2d;
  --surface95b3f-void: #1c1916;
  --surface95b3f-panel: #37312b;
  --surface95b3f-panelHi: #433a30;
  --surface95b3f-well: #292420;
  --surface95b3f-amber: #ff9500;
  --surface95b3f-magenta: #ad1457;
  --surface95b3f-coral: #ff6347;
  --surface95b3f-bronze: #8b7355;
  --surface95b3f-paper: #f4ecdf;
  --surface95b3f-dim: #c9bca8;
  --surface95b3f-faint: #a2967f;
  --surface95b3f-line: rgba(139, 115, 85, 0.42);
  --surface95b3f-lineSoft: rgba(139, 115, 85, 0.22);
  --surface95b3f-r: 6px;
  --surface95b3f-rLg: 10px;
  --surface95b3f-headFont: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --surface95b3f-bodyFont: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  --surface95b3f-railH: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--surface95b3f-bodyFont);
  font-size: 13px;
  line-height: 1.72;
  color: var(--surface95b3f-paper);
  background: var(--surface95b3f-void);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--surface95b3f-amber); text-decoration: none; }
ul, ol { list-style: none; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--surface95b3f-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone shell: everything lives inside a centered 430px canvas
   -------------------------------------------------------------------------- */

.surface95b3f-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 240px at 50% -60px, rgba(255, 149, 0, 0.10), transparent 62%),
    var(--surface95b3f-ink);
  box-shadow: 0 0 0 1px var(--surface95b3f-lineSoft);
  overflow-x: clip;
  padding-bottom: calc(var(--surface95b3f-railH) + 30px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 431px) {
  .surface95b3f-shell {
    box-shadow:
      0 0 0 1px var(--surface95b3f-line),
      0 0 60px rgba(0, 0, 0, 0.6);
  }
}

.surface95b3f-main {
  padding: calc(58px + 10px) 12px 0;
}

/* --------------------------------------------------------------------------
   Top action bar (fixed, logo-led)
   -------------------------------------------------------------------------- */

.surface95b3f-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 7px 10px;
  background: linear-gradient(180deg, rgba(34, 30, 26, 0.98), rgba(41, 36, 31, 0.96));
  border-bottom: 1px solid var(--surface95b3f-line);
  backdrop-filter: blur(10px);
}

.surface95b3f-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--surface95b3f-paper);
  margin-right: auto;
}

.surface95b3f-logoImg {
  width: 33px;
  height: 33px;
  border-radius: 8px;
  border: 1px solid var(--surface95b3f-line);
  object-fit: cover;
  background: var(--surface95b3f-well);
}

.surface95b3f-brandName {
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(120deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.surface95b3f-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.surface95b3f-btnReg,
.surface95b3f-btnLog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--surface95b3f-r);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.surface95b3f-btnReg {
  background: linear-gradient(135deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  color: #26180c;
  border: 0;
  box-shadow: 0 3px 12px rgba(255, 111, 71, 0.3);
}

.surface95b3f-btnLog {
  background: rgba(139, 115, 85, 0.14);
  color: var(--surface95b3f-paper);
  border: 1px solid var(--surface95b3f-bronze);
}

.surface95b3f-btnReg svg,
.surface95b3f-btnLog svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.surface95b3f-btnReg:active,
.surface95b3f-btnLog:active {
  transform: translateY(2px);
  filter: brightness(1.08);
}

.surface95b3f-menuBtn {
  width: 44px;
  height: 44px;
  border-radius: var(--surface95b3f-r);
  background: rgba(139, 115, 85, 0.14);
  border: 1px solid var(--surface95b3f-line);
  color: var(--surface95b3f-paper);
  display: grid;
  place-items: center;
  transition: transform 0.16s ease;
}

.surface95b3f-menuBtn svg { width: 20px; height: 20px; }
.surface95b3f-menuBtn:active { transform: translateY(2px); }

/* --------------------------------------------------------------------------
   Sectioned menu panel (slides down from the action bar)
   -------------------------------------------------------------------------- */

.surface95b3f-mask {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(18, 15, 12, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.surface95b3f-mask.on { opacity: 1; visibility: visible; }

.surface95b3f-menu {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 80;
  width: min(100%, 430px);
  max-height: 88vh;
  overflow-y: auto;
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, #3b332a, #2d2d2d 40%);
  border-bottom: 2px solid var(--surface95b3f-amber);
  border-radius: 0 0 14px 14px;
  transform: translate(-50%, -104%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0.32, 1);
  overscroll-behavior: contain;
}

.surface95b3f-menu.on { transform: translate(-50%, 0); }

.surface95b3f-menuTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.surface95b3f-menuTitle {
  font-family: var(--surface95b3f-headFont);
  font-weight: 700;
  font-size: 15px;
  color: var(--surface95b3f-amber);
}

.surface95b3f-menuClose {
  width: 44px;
  height: 44px;
  border-radius: var(--surface95b3f-r);
  border: 1px solid var(--surface95b3f-line);
  background: rgba(139, 115, 85, 0.14);
  color: var(--surface95b3f-paper);
  display: grid;
  place-items: center;
}

.surface95b3f-menuClose svg { width: 18px; height: 18px; }

.surface95b3f-menuGroup { margin-top: 10px; }

.surface95b3f-menuLabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--surface95b3f-faint);
  padding: 4px 2px 6px;
  border-bottom: 1px dashed var(--surface95b3f-lineSoft);
}

.surface95b3f-menuLink {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 4px;
  color: var(--surface95b3f-paper);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(139, 115, 85, 0.14);
}

.surface95b3f-menuLink::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--surface95b3f-amber), var(--surface95b3f-magenta));
}

.surface95b3f-menuLink:active { color: var(--surface95b3f-amber); }

.surface95b3f-menuCta {
  margin-top: 14px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--surface95b3f-r);
  background: linear-gradient(135deg, var(--surface95b3f-magenta), var(--surface95b3f-coral));
  color: #fff2e2;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(173, 20, 87, 0.35);
  transition: transform 0.16s ease;
}

.surface95b3f-menuCta:active { transform: translateY(2px); }

/* --------------------------------------------------------------------------
   Hero banner carousel with sliding focus indicator
   -------------------------------------------------------------------------- */

.surface95b3f-hero {
  margin: 0 -12px;
  background: var(--surface95b3f-well);
  border-bottom: 1px solid var(--surface95b3f-lineSoft);
}

.surface95b3f-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.surface95b3f-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 0;
  padding: 0;
  background: none;
  display: block;
  width: 100%;
}

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

.surface95b3f-slideCap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, transparent, rgba(24, 19, 15, 0.92));
  text-align: left;
}

.surface95b3f-slideTxt {
  font-family: var(--surface95b3f-headFont);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: #fff4e4;
}

.surface95b3f-slideChip {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2a1c0e;
  background: linear-gradient(135deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  border-radius: 999px;
  padding: 4px 10px;
}

.surface95b3f-dots {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2px 0 4px;
}

.surface95b3f-dotThumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  transform: translateX(calc(var(--surface95b3f-i, 0) * 44px + 11px));
  transition: transform 0.3s ease;
}

.surface95b3f-dot {
  width: 44px;
  height: 38px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}

.surface95b3f-dot::before {
  content: "";
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: #57493a;
  transition: background 0.2s ease;
}

.surface95b3f-dot.on::before { background: transparent; }

/* --------------------------------------------------------------------------
   Lead block (intro before the decks)
   -------------------------------------------------------------------------- */

.surface95b3f-lead {
  margin: 16px 0 4px;
  padding: 12px 12px 14px;
  background: linear-gradient(135deg, rgba(173, 20, 87, 0.16), rgba(139, 115, 85, 0.1));
  border: 1px solid var(--surface95b3f-line);
  border-left: 3px solid var(--surface95b3f-coral);
  border-radius: var(--surface95b3f-rLg);
}

.surface95b3f-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--surface95b3f-amber);
  margin-bottom: 3px;
}

.surface95b3f-h1 {
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.3;
  color: var(--surface95b3f-paper);
  margin: 0 0 8px;
}

.surface95b3f-lead p {
  font-size: 12.5px;
  line-height: 1.78;
  color: #e7ddcc;
}

/* --------------------------------------------------------------------------
   Game decks: numbered chip + poster heading + compact square catalog
   -------------------------------------------------------------------------- */

.surface95b3f-deck { margin-top: 20px; }

.surface95b3f-deckHead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--surface95b3f-lineSoft);
}

.surface95b3f-deckHead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 68px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--surface95b3f-amber), transparent);
}

.surface95b3f-deckChip {
  flex: 0 0 auto;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 14px;
  color: #2a1809;
  background: linear-gradient(135deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  border-radius: var(--surface95b3f-r);
  box-shadow: 0 2px 9px rgba(255, 111, 71, 0.28);
}

.surface95b3f-deckTitle {
  font-family: var(--surface95b3f-headFont);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.28;
  color: var(--surface95b3f-paper);
}

.surface95b3f-deckCount {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--surface95b3f-dim);
  border: 1px solid var(--surface95b3f-line);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(139, 115, 85, 0.1);
}

.surface95b3f-deckLead {
  font-size: 12px;
  line-height: 1.7;
  color: var(--surface95b3f-dim);
  margin: -3px 0 10px;
}

/* Catalog grid: 4 columns at 320px, 5 columns from 380px up */

.surface95b3f-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

@media (min-width: 380px) {
  .surface95b3f-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 8px;
  }
}

.surface95b3f-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 4px 3px 6px;
  background: var(--surface95b3f-panel);
  border: 1px solid var(--surface95b3f-lineSoft);
  border-radius: var(--surface95b3f-r);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.surface95b3f-tile:active {
  transform: translateY(-2px);
  border-color: var(--surface95b3f-amber);
  background: var(--surface95b3f-panelHi);
}

.surface95b3f-tileFrame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  overflow: hidden;
  background: #211d18;
}

.surface95b3f-tileFrame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface95b3f-tileName {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--surface95b3f-dim);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Content modules after the game area
   -------------------------------------------------------------------------- */

.surface95b3f-module {
  margin-top: 22px;
  padding: 14px 13px 15px;
  background: linear-gradient(180deg, var(--surface95b3f-panel), #322c26);
  border: 1px solid var(--surface95b3f-lineSoft);
  border-radius: var(--surface95b3f-rLg);
}

.surface95b3f-module h2 {
  font-family: var(--surface95b3f-headFont);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.32;
  color: var(--surface95b3f-paper);
  margin: 0 0 8px;
}

.surface95b3f-prose p {
  font-size: 12.5px;
  line-height: 1.8;
  color: #e6dcc9;
  margin-bottom: 9px;
}

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

.surface95b3f-prose a {
  color: var(--surface95b3f-amber);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 149, 0, 0.5);
}

/* Checklist rows (security module) */

.surface95b3f-checks { margin-top: 4px; }

.surface95b3f-check {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--surface95b3f-lineSoft);
  font-size: 12.5px;
  line-height: 1.7;
  color: #e6dcc9;
}

.surface95b3f-check:last-child { border-bottom: 0; }

.surface95b3f-check::before {
  content: "\2713";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 3px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--surface95b3f-amber);
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.45);
  border-radius: 5px;
}

/* Compact fact tiles (RTP module) */

.surface95b3f-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 11px;
}

.surface95b3f-fact {
  background: var(--surface95b3f-well);
  border: 1px solid var(--surface95b3f-lineSoft);
  border-radius: var(--surface95b3f-r);
  padding: 9px 6px;
  text-align: center;
}

.surface95b3f-fact b {
  display: block;
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  color: var(--surface95b3f-amber);
}

.surface95b3f-fact span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--surface95b3f-dim);
}

/* Play style comparison rows */

.surface95b3f-styleRow {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--surface95b3f-lineSoft);
}

.surface95b3f-styleRow:last-child { border-bottom: 0; }

.surface95b3f-styleTag {
  flex: 0 0 auto;
  align-self: flex-start;
  font-family: var(--surface95b3f-headFont);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 5px;
  color: #fdeedd;
  background: linear-gradient(135deg, var(--surface95b3f-magenta), var(--surface95b3f-coral));
}

.surface95b3f-styleRow:nth-child(even) .surface95b3f-styleTag {
  background: linear-gradient(135deg, #7a5f3e, var(--surface95b3f-bronze));
}

.surface95b3f-styleTxt {
  font-size: 12.5px;
  line-height: 1.72;
  color: #e6dcc9;
}

/* Numbered takeaways */

.surface95b3f-takes { counter-reset: surface95b3f-take; }

.surface95b3f-takes li {
  position: relative;
  counter-increment: surface95b3f-take;
  padding: 8px 0 8px 36px;
  font-size: 12.5px;
  line-height: 1.72;
  color: #e6dcc9;
  border-bottom: 1px dashed var(--surface95b3f-lineSoft);
}

.surface95b3f-takes li:last-child { border-bottom: 0; }

.surface95b3f-takes li::before {
  content: counter(surface95b3f-take);
  position: absolute;
  left: 0;
  top: 9px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 13px;
  color: #2a1809;
  background: linear-gradient(135deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
  border-radius: 7px;
}

/* --------------------------------------------------------------------------
   Extended footer (brand > page directory > promo actions > disclaimer)
   -------------------------------------------------------------------------- */

.surface95b3f-xf {
  margin: 26px -12px 0;
  padding: 18px 14px 10px;
  background: linear-gradient(180deg, #322a22, #241f1a);
  border-top: 1px solid var(--surface95b3f-line);
}

.surface95b3f-xfBrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--surface95b3f-lineSoft);
}

.surface95b3f-xfBrand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--surface95b3f-line);
  background: var(--surface95b3f-well);
}

.surface95b3f-xfBrandName {
  font-family: var(--surface95b3f-headFont);
  font-weight: 800;
  font-size: 15px;
  color: var(--surface95b3f-amber);
  line-height: 1.2;
}

.surface95b3f-xfBrandTxt {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--surface95b3f-dim);
  margin-top: 3px;
}

.surface95b3f-dirTitle {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--surface95b3f-faint);
  margin: 14px 0 6px;
}

.surface95b3f-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.surface95b3f-dirLink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--surface95b3f-paper);
  border-bottom: 1px solid rgba(139, 115, 85, 0.14);
}

.surface95b3f-dirLink::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: var(--surface95b3f-bronze);
}

.surface95b3f-dirLink:active,
.surface95b3f-dirLink:hover { color: var(--surface95b3f-amber); }

.surface95b3f-promoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.surface95b3f-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 56px;
  padding: 9px 10px;
  text-align: left;
  background: linear-gradient(135deg, rgba(173, 20, 87, 0.24), rgba(255, 111, 71, 0.14));
  border: 1px solid rgba(255, 149, 0, 0.4);
  border-radius: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.surface95b3f-promo:active {
  transform: translateY(2px);
  border-color: var(--surface95b3f-amber);
}

.surface95b3f-promoTxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.surface95b3f-promoTxt b {
  font-size: 12px;
  line-height: 1.3;
  color: #ffe9cd;
}

.surface95b3f-promoTxt small {
  font-size: 10px;
  line-height: 1.4;
  color: var(--surface95b3f-dim);
}

.surface95b3f-promo svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--surface95b3f-amber);
}

.surface95b3f-disc {
  margin-top: 14px;
  padding: 10px 11px;
  background: rgba(139, 115, 85, 0.1);
  border-left: 3px solid var(--surface95b3f-bronze);
  border-radius: var(--surface95b3f-r);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--surface95b3f-dim);
}

/* --------------------------------------------------------------------------
   Common footer (copyright only) + bottom navigation rail
   -------------------------------------------------------------------------- */

.surface95b3f-foot {
  margin-top: 18px;
  padding: 0 4px 4px;
  text-align: center;
  font-size: 11px;
  color: var(--surface95b3f-faint);
}

.surface95b3f-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 75;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  background: rgba(30, 26, 22, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--surface95b3f-line);
}

.surface95b3f-railItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 0 2px;
  border: 0;
  background: none;
  border-radius: 9px;
  color: #a3977f;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease;
}

.surface95b3f-railItem svg {
  width: 22px;
  height: 22px;
}

.surface95b3f-railItem.on {
  color: var(--surface95b3f-amber);
  transform: translateY(-3px);
}

.surface95b3f-railItem.on::after {
  content: "";
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--surface95b3f-amber), var(--surface95b3f-coral));
}

.surface95b3f-railItem:active { color: var(--surface95b3f-coral); }

/* --------------------------------------------------------------------------
   Small helpers and motion preferences
   -------------------------------------------------------------------------- */

.surface95b3f-srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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