/* ==========================================================================
   tkk999.click - visuals-responsive-858ef4.css
   Mobile-first stylesheet tuned for a 320-430px phone canvas.
   Wide screens keep the phone canvas centered.
   Every class and every CSS variable carries the site prefix surface8ef4f-.
   Design direction: humanist headings + clear body text, round buttons,
   square cards, image cards with a bottom name bar, intro-led sections,
   slide-in menu + short card lift motion, compact dual-button CTAs.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --surface8ef4f-ink: #0D1117;            /* deep page base */
  --surface8ef4f-ink-2: #111826;          /* raised panels */
  --surface8ef4f-ink-3: #17202f;          /* hover / active panels */
  --surface8ef4f-wheat: #F5DEB3;          /* primary light tone */
  --surface8ef4f-moc: #FFE4B5;            /* secondary light tone */
  --surface8ef4f-steel: #CED4DA;          /* default body text */
  --surface8ef4f-rosy: #BC8F8F;           /* borders and quiet accents */
  --surface8ef4f-sky: #ADD8E6;            /* active / highlight tone */
  --surface8ef4f-line: rgba(245, 222, 179, 0.16);
  --surface8ef4f-line-soft: rgba(188, 143, 143, 0.34);
  --surface8ef4f-glass: rgba(13, 17, 23, 0.94);
  --surface8ef4f-tile-bg: rgba(173, 216, 230, 0.12);
  --surface8ef4f-shadow-1: 0 10px 26px rgba(0, 0, 0, 0.45);
  --surface8ef4f-r-card: 6px;             /* square cards */
  --surface8ef4f-r-btn: 999px;            /* round buttons */
  --surface8ef4f-r-tile: 10px;            /* symbol tile corners */
  --surface8ef4f-head-font: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --surface8ef4f-body-font: 'Hind Siliguri', system-ui, sans-serif;
  --surface8ef4f-tabbar-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--surface8ef4f-ink);
  color: var(--surface8ef4f-steel);
  font-family: var(--surface8ef4f-body-font);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

a { color: var(--surface8ef4f-sky); text-decoration: none; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--surface8ef4f-sky);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Visible focus fallback for pointer users tapping keyboard-style controls */
.surface8ef4f-btn:focus-visible,
.surface8ef4f-game:focus-visible,
.surface8ef4f-tabbutton:focus-visible {
  outline-offset: 3px;
}

/* ---------- 3. Phone canvas ---------- */
.surface8ef4f-canvas {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(188, 143, 143, 0.14), transparent 60%),
    var(--surface8ef4f-ink);
  position: relative;
}

.surface8ef4f-container {
  width: 100%;
  padding: 0 14px;
}

/* Main column clears the fixed top band and the segmented bottom bar */
.surface8ef4f-main {
  display: block;
  padding: calc(58px + 10px) 0 calc(var(--surface8ef4f-tabbar-h) + 26px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 4. Top band: minimal title + action strip ---------- */
.surface8ef4f-topband {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--surface8ef4f-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface8ef4f-line-soft);
}

.surface8ef4f-topband-inner {
  max-width: 430px;
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px calc(7px + env(safe-area-inset-top, 0px) * 0.4);
}

/* Brand zone: only the real logo image + the site word */
.surface8ef4f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  text-decoration: none;
  min-height: 44px;
}

.surface8ef4f-brand-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--surface8ef4f-line-soft);
  background: #05070c;
  object-fit: cover;
  flex: 0 0 auto;
}

.surface8ef4f-brand-word {
  font-family: var(--surface8ef4f-head-font);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--surface8ef4f-wheat);
  line-height: 1.1;
}

/* Action zone sits outside the brand zone */
.surface8ef4f-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Round pill buttons */
.surface8ef4f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--surface8ef4f-r-btn);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.surface8ef4f-btn:active { transform: translateY(-2px); }

.surface8ef4f-btn--solid {
  background: linear-gradient(180deg, var(--surface8ef4f-moc), var(--surface8ef4f-wheat));
  color: #10141d;
  box-shadow: 0 6px 16px rgba(245, 222, 179, 0.22);
}

.surface8ef4f-btn--ghost {
  border: 1px solid var(--surface8ef4f-line-soft);
  color: var(--surface8ef4f-moc);
  background: rgba(245, 222, 179, 0.06);
}

.surface8ef4f-btn--slim { padding: 0 13px; font-size: 12.5px; }

/* Menu trigger: containerized symbol tile */
.surface8ef4f-menubutton {
  width: 44px;
  height: 44px;
  border-radius: var(--surface8ef4f-r-tile);
  border: 1px solid var(--surface8ef4f-line-soft);
  background: rgba(173, 216, 230, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface8ef4f-moc);
  flex: 0 0 auto;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.surface8ef4f-menubutton:active { transform: translateY(-2px); }

.surface8ef4f-menubutton svg { width: 21px; height: 21px; }

/* ---------- 5. Sectioned slide-in menu ---------- */
.surface8ef4f-menuwrap {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}

.surface8ef4f-menuwrap--open {
  pointer-events: auto;
  visibility: visible;
}

.surface8ef4f-menuscrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.62);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.surface8ef4f-menuwrap--open .surface8ef4f-menuscrim { opacity: 1; }

.surface8ef4f-menupanel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 318px);
  background: var(--surface8ef4f-ink-2);
  border-left: 1px solid var(--surface8ef4f-line-soft);
  box-shadow: var(--surface8ef4f-shadow-1);
  transform: translateX(104%);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}

.surface8ef4f-menuwrap--open .surface8ef4f-menupanel { transform: translateX(0); }

.surface8ef4f-menuhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface8ef4f-line);
}

.surface8ef4f-menuhead-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--surface8ef4f-line-soft);
}

.surface8ef4f-menuhead-word {
  font-family: var(--surface8ef4f-head-font);
  font-weight: 800;
  font-size: 18px;
  color: var(--surface8ef4f-wheat);
  margin-right: auto;
}

.surface8ef4f-menuclose {
  width: 40px;
  height: 40px;
  border-radius: var(--surface8ef4f-r-tile);
  border: 1px solid var(--surface8ef4f-line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-menuclose svg { width: 18px; height: 18px; }

/* Menu promo strip */
.surface8ef4f-menucta {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.surface8ef4f-menucta .surface8ef4f-btn { flex: 1 1 0; padding: 0 8px; font-size: 12.5px; }

/* Menu groups */
.surface8ef4f-menugroup { padding: 14px 0 4px; }

.surface8ef4f-menugroup-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--surface8ef4f-rosy);
  padding: 0 0 8px;
}

.surface8ef4f-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 8px;
  border-radius: var(--surface8ef4f-r-tile);
  color: var(--surface8ef4f-steel);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.surface8ef4f-menulink:active {
  background: rgba(173, 216, 230, 0.1);
  transform: translateY(-2px);
}

.surface8ef4f-menulink--now {
  background: rgba(173, 216, 230, 0.12);
  color: var(--surface8ef4f-sky);
}

.surface8ef4f-menuico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(245, 222, 179, 0.08);
  border: 1px solid var(--surface8ef4f-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface8ef4f-moc);
  flex: 0 0 auto;
}

.surface8ef4f-menuico svg { width: 17px; height: 17px; }

.surface8ef4f-menunote {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--surface8ef4f-line-soft);
  border-radius: var(--surface8ef4f-r-card);
  font-size: 12px;
  color: var(--surface8ef4f-steel);
}

/* ---------- 6. Hero block (intro-led opening) ---------- */
.surface8ef4f-hero {
  padding: 18px 14px 6px;
}

.surface8ef4f-herokicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--surface8ef4f-sky);
  border: 1px solid rgba(173, 216, 230, 0.35);
  border-radius: var(--surface8ef4f-r-btn);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.surface8ef4f-herotitle {
  font-family: var(--surface8ef4f-head-font);
  font-size: 24px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--surface8ef4f-wheat);
  position: relative;
  padding-bottom: 10px;
}

.surface8ef4f-herotitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--surface8ef4f-sky), rgba(173, 216, 230, 0));
}

.surface8ef4f-herolead {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-herolead b,
.surface8ef4f-lead b { color: var(--surface8ef4f-moc); font-weight: 700; }

/* Three quick fact chips under the lead */
.surface8ef4f-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.surface8ef4f-fact {
  background: var(--surface8ef4f-ink-2);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  padding: 9px 8px 7px;
  text-align: center;
}

.surface8ef4f-fact-num {
  font-family: var(--surface8ef4f-head-font);
  font-size: 19px;
  font-weight: 800;
  color: var(--surface8ef4f-sky);
  line-height: 1.2;
}

.surface8ef4f-fact-label {
  font-size: 11px;
  color: var(--surface8ef4f-steel);
  line-height: 1.5;
}

/* Compact dual-button CTA group */
.surface8ef4f-duo {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.surface8ef4f-duo .surface8ef4f-btn { flex: 1 1 0; }

/* ---------- 7. Promo banner carousel ---------- */
.surface8ef4f-carousel {
  position: relative;
  margin: 18px 14px 0;
  border: 1px solid var(--surface8ef4f-line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface8ef4f-ink-2);
}

.surface8ef4f-carotrack {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.3, 0.8, 0.3, 1);
  touch-action: pan-y;
}

.surface8ef4f-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 21 / 9;
  display: block;
}

.surface8ef4f-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface8ef4f-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0) 0%, rgba(5, 7, 12, 0.86) 78%);
  color: var(--surface8ef4f-moc);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

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

.surface8ef4f-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 222, 179, 0.32);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.surface8ef4f-dot--on {
  background: var(--surface8ef4f-sky);
  width: 26px;
}

/* ---------- 8. Game sections ---------- */
.surface8ef4f-section {
  padding: 26px 14px 4px;
}

.surface8ef4f-secheadd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.surface8ef4f-secico {
  width: 38px;
  height: 38px;
  border-radius: var(--surface8ef4f-r-tile);
  background: var(--surface8ef4f-tile-bg);
  border: 1px solid rgba(173, 216, 230, 0.3);
  color: var(--surface8ef4f-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.surface8ef4f-secico svg { width: 19px; height: 19px; }

.surface8ef4f-h2 {
  font-family: var(--surface8ef4f-head-font);
  font-size: 18.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--surface8ef4f-wheat);
}

/* Intro lead paragraph for every section (conclusion first) */
.surface8ef4f-lead {
  border-left: 3px solid rgba(173, 216, 230, 0.55);
  padding: 2px 0 2px 10px;
  margin: 8px 0 14px;
  font-size: 13.5px;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-lead a {
  color: var(--surface8ef4f-sky);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(173, 216, 230, 0.5);
  text-underline-offset: 3px;
}

/* Game grid: 4 columns at 320px, 5 columns from 400px */
.surface8ef4f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Game card: square frame, image on top, name bar at the bottom */
.surface8ef4f-game {
  display: flex;
  flex-direction: column;
  background: var(--surface8ef4f-ink-2);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.surface8ef4f-game:active,
.surface8ef4f-game:hover {
  transform: translateY(-3px);
  border-color: rgba(173, 216, 230, 0.55);
}

.surface8ef4f-gameimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a0e15;
}

.surface8ef4f-gamename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  padding: 3px 5px 4px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--surface8ef4f-moc);
  background: rgba(245, 222, 179, 0.07);
  border-top: 1px solid var(--surface8ef4f-line);
}

/* ---------- 9. Content panels (intro-led rhythm) ---------- */
.surface8ef4f-panel {
  margin: 26px 14px 0;
  background: var(--surface8ef4f-ink-2);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: 10px;
  padding: 16px 14px 18px;
}

.surface8ef4f-panel-h {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.surface8ef4f-panel-h .surface8ef4f-secico { width: 34px; height: 34px; }

.surface8ef4f-panel-lead {
  font-size: 13.5px;
  color: var(--surface8ef4f-steel);
  margin-bottom: 14px;
}

/* Goal tiles for the selection guide */
.surface8ef4f-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.surface8ef4f-tile {
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  padding: 10px 10px 9px;
}

.surface8ef4f-tile-t {
  font-family: var(--surface8ef4f-head-font);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--surface8ef4f-sky);
  line-height: 1.4;
  margin-bottom: 3px;
}

.surface8ef4f-tile-d {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--surface8ef4f-steel);
}

/* Check rows for payment conditions */
.surface8ef4f-checkrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--surface8ef4f-line);
}

.surface8ef4f-checkrow:last-child { border-bottom: 0; }

.surface8ef4f-checkrow-ico {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--surface8ef4f-tile-bg);
  color: var(--surface8ef4f-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.surface8ef4f-checkrow-ico svg { width: 13px; height: 13px; }

.surface8ef4f-checkrow-t {
  font-size: 13px;
  line-height: 1.65;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-checkrow-t b { color: var(--surface8ef4f-moc); }

/* Numbered steps / criteria */
.surface8ef4f-steps { counter-reset: surface8ef4fstep; }

.surface8ef4f-step {
  position: relative;
  padding: 0 0 12px 40px;
}

.surface8ef4f-step::before {
  counter-increment: surface8ef4fstep;
  content: counter(surface8ef4fstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--surface8ef4f-moc), var(--surface8ef4f-wheat));
  color: #10141d;
  font-family: var(--surface8ef4f-head-font);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surface8ef4f-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: var(--surface8ef4f-line-soft);
}

.surface8ef4f-step-t {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surface8ef4f-moc);
  line-height: 1.55;
}

.surface8ef4f-step-d {
  font-size: 13px;
  color: var(--surface8ef4f-steel);
  line-height: 1.68;
}

/* Inline text promo link */
.surface8ef4f-textpromo {
  background: none;
  color: var(--surface8ef4f-sky);
  font-weight: 700;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(173, 216, 230, 0.5);
  text-underline-offset: 3px;
  min-height: 24px;
  display: inline;
  cursor: pointer;
}

/* Promo card rows inside the promotions panel */
.surface8ef4f-promorow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  background: rgba(13, 17, 23, 0.55);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.surface8ef4f-promorow:active { transform: translateY(-2px); border-color: rgba(173, 216, 230, 0.5); }

.surface8ef4f-promorow-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface8ef4f-tile-bg);
  border: 1px solid rgba(173, 216, 230, 0.28);
  color: var(--surface8ef4f-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.surface8ef4f-promorow-ico svg { width: 17px; height: 17px; }

.surface8ef4f-promorow-t {
  font-size: 13px;
  font-weight: 700;
  color: var(--surface8ef4f-moc);
  line-height: 1.5;
}

.surface8ef4f-promorow-d {
  font-size: 11.5px;
  color: var(--surface8ef4f-steel);
  line-height: 1.5;
}

.surface8ef4f-stack { display: grid; gap: 8px; }

/* Small muted note */
.surface8ef4f-note {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px dashed var(--surface8ef4f-line-soft);
  border-radius: var(--surface8ef4f-r-card);
  font-size: 12px;
  line-height: 1.65;
  color: var(--surface8ef4f-steel);
}

/* ---------- 10. Extended homepage footer ---------- */
.surface8ef4f-extfoot {
  margin-top: 30px;
  border-top: 1px solid var(--surface8ef4f-line-soft);
  background: var(--surface8ef4f-ink-2);
  padding: 20px 14px 8px;
}

.surface8ef4f-extfoot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.surface8ef4f-extfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--surface8ef4f-line-soft);
  background: #05070c;
  object-fit: cover;
}

.surface8ef4f-extfoot-word {
  font-family: var(--surface8ef4f-head-font);
  font-weight: 800;
  font-size: 20px;
  color: var(--surface8ef4f-wheat);
}

.surface8ef4f-extfoot-intro {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--surface8ef4f-steel);
  margin-bottom: 18px;
}

.surface8ef4f-extitle {
  font-family: var(--surface8ef4f-head-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--surface8ef4f-rosy);
  text-transform: uppercase;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.surface8ef4f-extitle svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* Page directory: two real links per row */
.surface8ef4f-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.surface8ef4f-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  background: rgba(13, 17, 23, 0.55);
  color: var(--surface8ef4f-steel);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.surface8ef4f-dirlink:active { transform: translateY(-2px); border-color: rgba(173, 216, 230, 0.45); }

.surface8ef4f-dirlink svg {
  width: 14px;
  height: 14px;
  color: var(--surface8ef4f-sky);
  flex: 0 0 auto;
}

/* Conditional disclaimer */
.surface8ef4f-conditional {
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(188, 143, 143, 0.45);
  border-radius: var(--surface8ef4f-r-card);
  background: rgba(188, 143, 143, 0.08);
  font-size: 12px;
  line-height: 1.7;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-conditional b { color: var(--surface8ef4f-moc); }

/* ---------- 11. Common slim footer ---------- */
.surface8ef4f-foot {
  text-align: center;
  padding: 18px 14px 10px;
  font-size: 12px;
  color: rgba(206, 212, 218, 0.72);
}

.surface8ef4f-foot b { color: var(--surface8ef4f-rosy); font-weight: 700; }

/* ---------- 12. Segmented bottom action bar ---------- */
.surface8ef4f-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--surface8ef4f-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--surface8ef4f-line-soft);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.surface8ef4f-tabbar-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: var(--surface8ef4f-tabbar-h);
}

.surface8ef4f-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface8ef4f-tabbar-h);
  padding: 6px 2px 7px;
  color: var(--surface8ef4f-steel);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.surface8ef4f-tabbutton {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface8ef4f-tabbar-h);
  padding: 6px 2px 7px;
  color: var(--surface8ef4f-steel);
  -webkit-tap-highlight-color: transparent;
}

/* Containerized symbol tile with fill-change active state */
.surface8ef4f-tabtile {
  width: 34px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.surface8ef4f-tabtile svg { width: 19px; height: 19px; }

.surface8ef4f-ico-line { display: block; color: currentColor; }
.surface8ef4f-ico-fill { display: none; color: currentColor; }

.surface8ef4f-tab--on .surface8ef4f-tabtile,
.surface8ef4f-tabbutton--on .surface8ef4f-tabtile {
  background: var(--surface8ef4f-tile-bg);
  transform: translateY(-2px);
}

.surface8ef4f-tab--on .surface8ef4f-ico-line,
.surface8ef4f-tabbutton--on .surface8ef4f-ico-line { display: none; }

.surface8ef4f-tab--on .surface8ef4f-ico-fill,
.surface8ef4f-tabbutton--on .surface8ef4f-ico-fill {
  display: block;
  color: var(--surface8ef4f-sky);
}

.surface8ef4f-tablabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.surface8ef4f-tab--on .surface8ef4f-tablabel,
.surface8ef4f-tabbutton--on .surface8ef4f-tablabel { color: var(--surface8ef4f-sky); }

.surface8ef4f-tab:active .surface8ef4f-tabtile,
.surface8ef4f-tabbutton:active .surface8ef4f-tabtile { transform: translateY(-2px); }

/* ---------- 13. Scroll reveal (short vertical lift) ---------- */
.surface8ef4f-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .surface8ef4f-reveal { opacity: 1; transform: none; transition: none; }
  .surface8ef4f-menupanel { transition: none; }
  .surface8ef4f-carotrack { transition: none; }
  .surface8ef4f-game:active, .surface8ef4f-btn:active { transform: none; }
}

/* ---------- 14. Responsive refinements ---------- */
@media (min-width: 375px) {
  .surface8ef4f-herotitle { font-size: 26px; }
  .surface8ef4f-h2 { font-size: 19.5px; }
  .surface8ef4f-gamename { font-size: 11.5px; }
}

@media (min-width: 400px) {
  .surface8ef4f-grid { grid-template-columns: repeat(5, 1fr); }
  .surface8ef4f-facts { gap: 10px; }
}

@media (min-width: 431px) {
  /* keep the phone canvas centered with quiet side gutters */
  body { background: #07090f; }
  .surface8ef4f-topband-inner,
  .surface8ef4f-tabbar-inner { box-shadow: 0 0 0 100vmax var(--surface8ef4f-glass); clip-path: inset(0 -100vmax); }
}

/* Very small phones: tighten type before overflow can happen */
@media (max-width: 339px) {
  .surface8ef4f-brand-word { font-size: 18px; }
  .surface8ef4f-btn--slim { padding: 0 10px; font-size: 12px; }
  .surface8ef4f-herotitle { font-size: 22px; }
  .surface8ef4f-grid { gap: 6px; }
}

/* Landscape phones: keep the bottom bar slim but reachable */
@media (max-height: 480px) and (orientation: landscape) {
  .surface8ef4f-main { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 15. Help-page components (Part1 compatible supplement) ---------- */
/* Wrapper used by payment and takeaway checklists */
.surface8ef4f-checklist { display: grid; }

/* Two-panel split used for comparisons, criteria and pros/cons */
.surface8ef4f-splitgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.surface8ef4f-splitcard {
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  padding: 11px 10px 12px;
}

.surface8ef4f-splitcard--good {
  border-color: rgba(173, 216, 230, 0.45);
  background: rgba(173, 216, 230, 0.07);
}

.surface8ef4f-splitcard--bad {
  border-color: rgba(188, 143, 143, 0.5);
  background: rgba(188, 143, 143, 0.08);
}

.surface8ef4f-splitcard-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--surface8ef4f-head-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--surface8ef4f-wheat);
  line-height: 1.4;
  margin-bottom: 7px;
}

.surface8ef4f-splitcard-t svg { width: 15px; height: 15px; flex: 0 0 auto; }

.surface8ef4f-splitcard ul { display: grid; gap: 6px; }

.surface8ef4f-splitcard li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-splitcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--surface8ef4f-rosy);
}

.surface8ef4f-splitcard--good li::before { background: var(--surface8ef4f-sky); }

/* Visible question and answer blocks */
.surface8ef4f-qa {
  background: rgba(13, 17, 23, 0.55);
  border: 1px solid var(--surface8ef4f-line);
  border-radius: var(--surface8ef4f-r-card);
  padding: 12px 12px 11px;
}

.surface8ef4f-qa + .surface8ef4f-qa { margin-top: 8px; }

.surface8ef4f-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--surface8ef4f-head-font);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--surface8ef4f-moc);
  margin-bottom: 6px;
}

.surface8ef4f-qbadge {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--surface8ef4f-tile-bg);
  border: 1px solid rgba(173, 216, 230, 0.3);
  color: var(--surface8ef4f-sky);
  font-family: var(--surface8ef4f-body-font);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surface8ef4f-a {
  font-size: 13px;
  line-height: 1.7;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-a a { font-weight: 700; }

/* Quiet advisory strip for safety notes */
.surface8ef4f-quotebar {
  border-left: 3px solid var(--surface8ef4f-rosy);
  padding: 3px 0 3px 12px;
  margin: 12px 0 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-quotebar b { color: var(--surface8ef4f-moc); }

/* Mistake rows: what usually goes wrong and how to avoid it */
.surface8ef4f-mistake {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--surface8ef4f-line);
}

.surface8ef4f-mistake:last-child { border-bottom: 0; }

.surface8ef4f-mistake-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(188, 143, 143, 0.14);
  border: 1px solid rgba(188, 143, 143, 0.4);
  color: var(--surface8ef4f-rosy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surface8ef4f-mistake-ico svg { width: 14px; height: 14px; }

.surface8ef4f-mistake-t {
  font-size: 13px;
  line-height: 1.65;
  color: var(--surface8ef4f-steel);
}

.surface8ef4f-mistake-t b { color: var(--surface8ef4f-moc); }

/* Narrow phones: single-column split cards before overflow can happen */
@media (max-width: 359px) {
  .surface8ef4f-splitgrid { grid-template-columns: 1fr; }
}
