/* ============================================================
   jidbaz.click - compact-f5d342-frame.css
   Mobile-first frame (320-430px canvas) for the jidbaz Bengali
   gaming guide. Dark navy canvas, spring-green accent, low
   radius zoned panels, large+small card mix, restrained motion.
   All classes and custom properties use the surface5d342- prefix.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --surface5d342-night: #212F3D;            /* base canvas */
  --surface5d342-shade: rgba(0, 0, 0, 0.34);/* pressed / inset tone */
  --surface5d342-accent: #00FF7F;           /* spring green action color */
  --surface5d342-accent-dim: rgba(0, 255, 127, 0.16);
  --surface5d342-snow: #F0FDFF;             /* primary text */
  --surface5d342-plain: #FAFAFA;            /* body text on panels */
  --surface5d342-mint: #E0F2F1;             /* soft surface tint */
  --surface5d342-mist: #B2DFDB;             /* muted text / hairlines */
  --surface5d342-hair: rgba(178, 223, 219, 0.18);
  --surface5d342-hair-soft: rgba(178, 223, 219, 0.10);
  --surface5d342-panel: rgba(240, 253, 255, 0.045);
  --surface5d342-panel-up: rgba(240, 253, 255, 0.075);
  --surface5d342-r: 6px;                    /* low radius: zoned sections */
  --surface5d342-r-lg: 10px;                /* only for imagery blocks */
  --surface5d342-topbar-h: 104px;           /* fixed header height */
  --surface5d342-dock-h: 64px;              /* fixed bottom dock height */
  --surface5d342-font: "Segoe UI", ui-sans-serif, "Noto Sans Bengali",
    "Hind Siliguri", "SolaimanLipi", "Kalpurush", Arial, sans-serif;
  --surface5d342-font-head: "Segoe UI Semibold", "Segoe UI", ui-sans-serif,
    "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", Arial, sans-serif;
  --surface5d342-touch: 44px;               /* minimum touch target */
  --surface5d342-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body.surface5d342-page {
  margin: 0;
  padding: 0;
  font-family: var(--surface5d342-font);
  font-size: 15px;
  line-height: 1.75;                 /* Bengali conjuncts need air */
  color: var(--surface5d342-plain);
  background: #101823;               /* desktop backdrop behind canvas */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

::selection {
  background: var(--surface5d342-accent);
  color: var(--surface5d342-night);
}

/* ---------- app canvas: centered phone frame ---------- */
.surface5d342-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;                  /* phone canvas cap */
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface5d342-night);
  overflow-x: clip;
}

.surface5d342-main {
  padding-top: calc(var(--surface5d342-topbar-h) + 12px);
  padding-bottom: calc(var(--surface5d342-dock-h) + 34px);
  padding-left: 12px;
  padding-right: 12px;
  display: block;
}

section {
  scroll-margin-top: calc(var(--surface5d342-topbar-h) + 8px);
}

/* skip link */
.surface5d342-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--surface5d342-accent);
  color: var(--surface5d342-night);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--surface5d342-r);
  transition: top 0.2s var(--surface5d342-ease);
}

.surface5d342-skip:focus {
  top: 8px;
}

/* ============================================================
   TOPBAR - edge aligned functional header + expandable nav
   ============================================================ */
.surface5d342-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: rgba(33, 47, 61, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface5d342-hair);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* row 1: brand flush left, menu control flush right */
.surface5d342-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;    /* edge aligned */
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px 2px;
}

.surface5d342-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--surface5d342-snow);
  min-height: var(--surface5d342-touch);
}

.surface5d342-brand:hover {
  text-decoration: none;
}

.surface5d342-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--surface5d342-hair);
  background: var(--surface5d342-mint);
  object-fit: cover;
  flex: none;
}

.surface5d342-brandname {
  font-family: var(--surface5d342-font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--surface5d342-snow);
}

.surface5d342-brandname::after {
  content: "";
  display: block;
  height: 2px;
  width: 26px;
  margin-top: 1px;
  background: var(--surface5d342-accent);
  border-radius: 2px;
}

.surface5d342-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--surface5d342-touch);
  min-width: var(--surface5d342-touch);
  padding: 6px 12px;
  border: 1px solid var(--surface5d342-hair);
  border-radius: var(--surface5d342-r);
  background: transparent;
  color: var(--surface5d342-mint);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.surface5d342-menubtn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--surface5d342-ease);
}

.surface5d342-menubtn[aria-expanded="true"] {
  border-color: var(--surface5d342-accent);
  color: var(--surface5d342-accent);
}

.surface5d342-menubtn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* row 2: action strip - solid primary + outlined secondary */
.surface5d342-actrow {
  display: flex;
  gap: 10px;
  padding: 6px 12px 10px;
}

.surface5d342-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--surface5d342-touch);
  padding: 10px 14px;
  border-radius: var(--surface5d342-r);
  font-family: var(--surface5d342-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s var(--surface5d342-ease),
    background 0.2s var(--surface5d342-ease),
    color 0.2s var(--surface5d342-ease);
}

.surface5d342-btn:active {
  transform: scale(0.97);
}

.surface5d342-btn-solid {
  background: var(--surface5d342-accent);
  border: 1px solid var(--surface5d342-accent);
  color: var(--surface5d342-night);
}

.surface5d342-btn-solid:hover {
  background: #5cffab;
  text-decoration: none;
}

.surface5d342-btn-line {
  background: transparent;
  border: 1.5px solid var(--surface5d342-accent);
  color: var(--surface5d342-accent);
}

.surface5d342-btn-line:hover {
  background: var(--surface5d342-accent-dim);
  text-decoration: none;
}

/* expandable site nav */
.surface5d342-siteNav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--surface5d342-ease);
  background: rgba(16, 24, 35, 0.6);
}

.surface5d342-siteNav > ul {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--surface5d342-hair-soft);
}

.surface5d342-siteNav-is-open {
  grid-template-rows: 1fr;
}

.surface5d342-navlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--surface5d342-touch);
  padding: 11px 14px;
  background: rgba(33, 47, 61, 0.98);
  color: var(--surface5d342-plain);
  font-size: 14px;
  font-weight: 600;
}

.surface5d342-navlink:hover {
  background: var(--surface5d342-panel-up);
  text-decoration: none;
  color: var(--surface5d342-accent);
}

.surface5d342-navlink span {
  color: var(--surface5d342-mist);
  font-size: 11px;
  font-weight: 400;
}

/* ============================================================
   HERO - statement block above the carousel
   ============================================================ */
.surface5d342-hero {
  padding: 4px 2px 6px;
}

.surface5d342-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--surface5d342-accent);
  border: 1px solid var(--surface5d342-hair);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--surface5d342-panel);
}

.surface5d342-title {
  font-family: var(--surface5d342-font-head);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--surface5d342-snow);
  margin: 12px 0 10px;
}

.surface5d342-lead {
  color: var(--surface5d342-mint);
  font-size: 14.5px;
}

.surface5d342-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 16px;
}

.surface5d342-fact {
  border: 1px solid var(--surface5d342-hair-soft);
  border-left: 3px solid var(--surface5d342-accent);
  border-radius: var(--surface5d342-r);
  background: var(--surface5d342-panel);
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--surface5d342-mist);
}

.surface5d342-fact strong {
  display: block;
  font-family: var(--surface5d342-font-head);
  font-size: 15px;
  color: var(--surface5d342-snow);
  line-height: 1.3;
}

/* ============================================================
   CAROUSEL - three local promo banners
   ============================================================ */
.surface5d342-stage {
  position: relative;
  border: 1px solid var(--surface5d342-hair);
  border-radius: var(--surface5d342-r-lg);
  overflow: hidden;
  background: #0c141d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.surface5d342-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s var(--surface5d342-ease);
  will-change: transform;
}

.surface5d342-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0c141d;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.surface5d342-slideimg {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.surface5d342-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(16, 24, 35, 0) 0%, rgba(16, 24, 35, 0.92) 78%);
}

.surface5d342-slidecapTitle {
  font-family: var(--surface5d342-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  line-height: 1.4;
}

.surface5d342-slideCta {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--surface5d342-night);
  background: var(--surface5d342-accent);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

.surface5d342-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.surface5d342-dot {
  width: 34px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.surface5d342-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 253, 255, 0.42);
  transition: transform 0.25s var(--surface5d342-ease),
    background 0.25s var(--surface5d342-ease);
}

.surface5d342-dot-is-on::before {
  background: var(--surface5d342-accent);
  transform: scale(1.35);
}

/* ============================================================
   ZONES - generic low-radius panel used by game + text sections
   ============================================================ */
.surface5d342-zone {
  margin: 16px 0;
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r-lg);
  background: var(--surface5d342-panel);
  padding: 14px 12px 16px;
}

.surface5d342-zonehead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.surface5d342-zonelabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--surface5d342-accent);
  text-transform: uppercase;
}

.surface5d342-zoneTitle {
  font-family: var(--surface5d342-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--surface5d342-snow);
  width: 100%;
}

.surface5d342-zoneCount {
  font-size: 12px;
  color: var(--surface5d342-mist);
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: 999px;
  padding: 2px 10px;
}

.surface5d342-zonenote {
  font-size: 13px;
  color: var(--surface5d342-mist);
  margin: 4px 0 12px;
}

.surface5d342-zoneline {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--surface5d342-accent) 0%, var(--surface5d342-accent) 34px, var(--surface5d342-hair-soft) 34px);
  margin: 0 0 14px;
}

/* ============================================================
   GAME CARDS - spotlight (large) / duo (medium) / deck (small)
   ============================================================ */

/* large horizontal spotlight card */
.surface5d342-spot {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--surface5d342-hair);
  border-radius: var(--surface5d342-r-lg);
  background: var(--surface5d342-panel-up);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  margin-bottom: 12px;
  transition: border-color 0.2s var(--surface5d342-ease);
}

.surface5d342-spot:hover {
  border-color: var(--surface5d342-accent);
}

.surface5d342-spotimg {
  flex: none;
  width: 118px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--surface5d342-r);
}

.surface5d342-spotbody {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.surface5d342-spotname {
  font-family: var(--surface5d342-font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  line-height: 1.4;
}

.surface5d342-spotnote {
  font-size: 12.5px;
  color: var(--surface5d342-mist);
  line-height: 1.6;
}

.surface5d342-spottags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.surface5d342-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--surface5d342-accent);
  background: var(--surface5d342-accent-dim);
  border: 1px solid rgba(0, 255, 127, 0.28);
  border-radius: 4px;
  padding: 2px 8px;
}

.surface5d342-spotgo {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--surface5d342-accent);
}

/* medium two-column cards */
.surface5d342-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.surface5d342-twin {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r-lg);
  background: var(--surface5d342-panel-up);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: transform 0.15s var(--surface5d342-ease);
}

.surface5d342-twin:active {
  transform: scale(0.98);
}

.surface5d342-twin img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--surface5d342-r);
}

.surface5d342-twin span {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  line-height: 1.45;
}

/* small deck: 4 columns at 320px, 5 from 392px up */
.surface5d342-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

.surface5d342-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 8px;
  border: 1px solid transparent;
  border-radius: var(--surface5d342-r);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
  transition: background 0.18s var(--surface5d342-ease),
    border-color 0.18s var(--surface5d342-ease);
}

.surface5d342-cell:hover,
.surface5d342-cell:active {
  background: var(--surface5d342-panel-up);
  border-color: var(--surface5d342-hair);
}

.surface5d342-cellimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--surface5d342-r);
  border: 1px solid var(--surface5d342-hair-soft);
  object-fit: cover;
  background: #0c141d;
}

.surface5d342-cellname {
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--surface5d342-plain);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;                 /* keeps two text lines aligned */
  overflow-wrap: anywhere;
}

/* ============================================================
   CONTENT MODULES - fact line first, then the expanded detail
   ============================================================ */
.surface5d342-factline {
  display: block;
  border-left: 3px solid var(--surface5d342-accent);
  background: var(--surface5d342-accent-dim);
  border-radius: 0 var(--surface5d342-r) var(--surface5d342-r) 0;
  padding: 9px 12px;
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  line-height: 1.65;
}

.surface5d342-prose {
  font-size: 14px;
  color: var(--surface5d342-mint);
}

.surface5d342-prose + .surface5d342-prose {
  margin-top: 10px;
}

.surface5d342-prose b,
.surface5d342-prose strong {
  color: var(--surface5d342-snow);
}

/* scannable comparison rows */
.surface5d342-rows {
  display: grid;
  gap: 1px;
  background: var(--surface5d342-hair-soft);
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r);
  overflow: hidden;
  margin: 12px 0;
}

.surface5d342-row {
  display: grid;
  grid-template-columns: minmax(86px, 38%) 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(33, 47, 61, 0.85);
}

.surface5d342-rowkey {
  font-family: var(--surface5d342-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--surface5d342-accent);
  line-height: 1.5;
}

.surface5d342-rowval {
  font-size: 13px;
  color: var(--surface5d342-mint);
  line-height: 1.65;
}

/* numbered steps */
.surface5d342-steps {
  counter-reset: surface5d342step;
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.surface5d342-step {
  counter-increment: surface5d342step;
  position: relative;
  padding: 10px 12px 10px 46px;
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r);
  background: rgba(33, 47, 61, 0.7);
  font-size: 13.5px;
  color: var(--surface5d342-mint);
}

.surface5d342-step b {
  color: var(--surface5d342-snow);
}

.surface5d342-step::before {
  content: counter(surface5d342step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface5d342-accent-dim);
  border: 1px solid rgba(0, 255, 127, 0.4);
  color: var(--surface5d342-accent);
  font-family: var(--surface5d342-font-head);
  font-size: 12.5px;
  font-weight: 700;
}

/* promo offer blurbs inside the promotions module */
.surface5d342-offs {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.surface5d342-off {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px dashed rgba(0, 255, 127, 0.35);
  border-radius: var(--surface5d342-r);
  background: var(--surface5d342-panel-up);
}

.surface5d342-offname {
  flex: none;
  font-family: var(--surface5d342-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--surface5d342-accent);
  width: 74px;
  line-height: 1.4;
}

.surface5d342-offtext {
  font-size: 12.5px;
  color: var(--surface5d342-mint);
  line-height: 1.6;
}

/* quiet in-text action link */
.surface5d342-quiet {
  font-weight: 700;
  white-space: nowrap;
}

/* wider paired buttons inside modules */
.surface5d342-modctas {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ============================================================
   EXTENDED FOOTER - promo actions > brand > directory > note
   ============================================================ */
.surface5d342-xfoot {
  margin: 22px 0 14px;
  border: 1px solid var(--surface5d342-hair);
  border-radius: var(--surface5d342-r-lg);
  background: linear-gradient(180deg, rgba(240, 253, 255, 0.06), rgba(240, 253, 255, 0.02));
  padding: 16px 12px;
}

.surface5d342-xfootHead {
  font-family: var(--surface5d342-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  margin-bottom: 4px;
}

.surface5d342-xfootSub {
  font-size: 12.5px;
  color: var(--surface5d342-mist);
  margin-bottom: 14px;
}

/* seven short promo actions, two per row */
.surface5d342-ctaGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.surface5d342-ctaChip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--surface5d342-touch);
  padding: 9px 8px;
  border-radius: var(--surface5d342-r);
  border: 1px solid rgba(0, 255, 127, 0.38);
  background: var(--surface5d342-accent-dim);
  color: var(--surface5d342-accent);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s var(--surface5d342-ease);
}

.surface5d342-ctaChip:active {
  transform: scale(0.97);
}

.surface5d342-ctaChip-is-solid {
  grid-column: 1 / -1;               /* the main action spans the row */
  background: var(--surface5d342-accent);
  color: var(--surface5d342-night);
}

.surface5d342-brandNote {
  font-size: 13px;
  color: var(--surface5d342-mint);
  border-top: 1px solid var(--surface5d342-hair-soft);
  padding-top: 14px;
  margin-bottom: 14px;
}

/* two-column page directory */
.surface5d342-dir {
  border-top: 1px solid var(--surface5d342-hair-soft);
  padding-top: 14px;
}

.surface5d342-dirTitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--surface5d342-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.surface5d342-dircols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
}

.surface5d342-dirlink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface5d342-plain);
}

.surface5d342-dirlink::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surface5d342-accent);
  opacity: 0.75;
}

.surface5d342-dirlink:hover {
  color: var(--surface5d342-accent);
  text-decoration: none;
}

/* conditional disclaimer note */
.surface5d342-note {
  margin-top: 14px;
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r);
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--surface5d342-mist);
}

/* ---------- common slim footer ---------- */
.surface5d342-footer {
  border-top: 1px solid var(--surface5d342-hair-soft);
  padding: 14px 12px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--surface5d342-mist);
  padding-bottom: calc(var(--surface5d342-dock-h) + 18px);
}

.surface5d342-footer b {
  color: var(--surface5d342-snow);
  font-family: var(--surface5d342-font-head);
}

/* ============================================================
   BOTTOM DOCK - layered bar, sliding indicator, lift on active
   ============================================================ */
.surface5d342-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 45;
  display: flex;
  align-items: stretch;
  min-height: var(--surface5d342-dock-h);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(23, 34, 46, 0.97), rgba(14, 21, 30, 0.99));
  border-top: 1px solid var(--surface5d342-hair);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.4);
}

.surface5d342-dockitem {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface5d342-touch);
  padding: 6px 2px 4px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--surface5d342-mist);
  cursor: pointer;
  transition: color 0.2s var(--surface5d342-ease),
    transform 0.2s var(--surface5d342-ease);
}

.surface5d342-dockitem svg {
  width: 22px;
  height: 22px;
}

.surface5d342-dockitem:hover {
  color: var(--surface5d342-mint);
  text-decoration: none;
}

.surface5d342-dockitem-is-here {
  color: var(--surface5d342-accent);
  transform: translateY(-3px);       /* slight lift for the active role */
}

/* sliding indicator pinned inside the dock */
.surface5d342-dockind {
  position: absolute;
  bottom: calc(2px + env(safe-area-inset-bottom, 0px));
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--surface5d342-accent);
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.65);
  transition: transform 0.3s var(--surface5d342-ease);
  pointer-events: none;
}

/* ============================================================
   MOTION - restrained fade / rise feedback
   (only armed after the JS layer marks the document)
   ============================================================ */
html.surface5d342-js .surface5d342-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--surface5d342-ease),
    transform 0.5s var(--surface5d342-ease);
}

.surface5d342-rise-is-in {
  opacity: 1;
  transform: none;
}

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

  .surface5d342-rise,
  .surface5d342-track,
  .surface5d342-dockind,
  .surface5d342-menubtn svg {
    transition: none !important;
  }

  .surface5d342-rise {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   BREAKPOINTS INSIDE THE PHONE CANVAS
   ============================================================ */

/* small phones: keep 4 deck columns, tighten hero type */
@media (max-width: 359px) {
  .surface5d342-title {
    font-size: 21.5px;
  }

  .surface5d342-spot {
    flex-direction: column;
  }

  .surface5d342-spotimg {
    width: 100%;
  }

  .surface5d342-ctaGrid,
  .surface5d342-dircols,
  .surface5d342-siteNav > ul {
    grid-template-columns: 1fr;
  }
}

/* 360px and up: roomier spacing */
@media (min-width: 360px) {
  .surface5d342-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .surface5d342-title {
    font-size: 25px;
  }

  .surface5d342-zone {
    padding: 16px 14px 18px;
  }
}

/* 392px and up: five game columns */
@media (min-width: 392px) {
  .surface5d342-deck {
    grid-template-columns: repeat(5, 1fr);
  }

  .surface5d342-cellname {
    font-size: 11.8px;
  }
}

/* 430px canvas top edge: widest phone tier */
@media (min-width: 430px) {
  .surface5d342-title {
    font-size: 27px;
  }

  .surface5d342-zoneTitle {
    font-size: 20px;
  }
}

/* above the canvas: desktop keeps the phone frame centered */
@media (min-width: 431px) {
  body.surface5d342-page {
    background:
      radial-gradient(1200px 500px at 50% -80px, rgba(0, 255, 127, 0.07), transparent 60%),
      #101823;
  }

  .surface5d342-canvas {
    box-shadow: 0 0 0 1px rgba(178, 223, 219, 0.14),
      0 24px 70px rgba(0, 0, 0, 0.55);
  }
}

/* tidy one-handed reachability on tall phones */
@media (min-width: 768px) {
  .surface5d342-canvas {
    border-radius: 18px;
    margin-top: 18px;
    min-height: calc(100vh - 36px);
  }
}

/* ============================================================
   SUPPLEMENT - Part1 help page components
   (current route marker, inline promo text button, checklist,
   Q&A blocks, takeaway chips, fact summary grid)
   ============================================================ */

/* current route marker inside the expandable nav */
.surface5d342-navlink[aria-current="page"] {
  color: var(--surface5d342-accent);
  background: rgba(0, 255, 127, 0.10);
  box-shadow: inset 3px 0 0 var(--surface5d342-accent);
}

/* inline promo text buttons reuse the quiet link look */
button.surface5d342-quiet {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: var(--surface5d342-accent);
  cursor: pointer;
}

button.surface5d342-quiet:hover {
  text-decoration: underline;
}

/* checklist rows with a leading tick glyph */
.surface5d342-check {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.surface5d342-checkitem {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r);
  background: rgba(33, 47, 61, 0.7);
  font-size: 13.5px;
  color: var(--surface5d342-mint);
  line-height: 1.65;
}

.surface5d342-checkitem svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--surface5d342-accent);
}

/* visible question / answer pairs */
.surface5d342-qa {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.surface5d342-qablock {
  border: 1px solid var(--surface5d342-hair-soft);
  border-left: 3px solid var(--surface5d342-accent);
  border-radius: var(--surface5d342-r);
  background: rgba(33, 47, 61, 0.7);
  padding: 10px 12px;
}

.surface5d342-q {
  font-family: var(--surface5d342-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surface5d342-snow);
  line-height: 1.6;
}

.surface5d342-a {
  margin-top: 6px;
  font-size: 13px;
  color: var(--surface5d342-mint);
  line-height: 1.7;
}

/* takeaway chips: diamond bullet + one-line rule */
.surface5d342-takes {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}

.surface5d342-take {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--surface5d342-mint);
  line-height: 1.65;
}

.surface5d342-take::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  transform: translateY(-1px) rotate(45deg);
  background: var(--surface5d342-accent);
}

/* page fact summary grid: two columns of compact cells */
.surface5d342-factgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.surface5d342-factcell {
  border: 1px solid var(--surface5d342-hair-soft);
  border-radius: var(--surface5d342-r);
  background: var(--surface5d342-panel-up);
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--surface5d342-mist);
}

.surface5d342-factcell strong {
  display: block;
  color: var(--surface5d342-snow);
  font-family: var(--surface5d342-font-head);
  font-size: 13px;
  margin-bottom: 2px;
}

@media (max-width: 359px) {
  .surface5d342-factgrid {
    grid-template-columns: 1fr;
  }
}
