/* ==========================================================================
   oklv-app-login.click - visuals-dynamic-b8d522.css
   Mobile-first portal skin for a 320-430px phone canvas.
   Class prefix: surface52216-  (CSS custom properties share the prefix)
   Palette: #C71585 / #FF4500 / #1C2833 / #F0F0F0
   Direction: tech headings + open body text, near-square "tool" corners,
   mixed large/small game tiles, fact-first info rhythm, light press
   feedback, full-width primary CTAs.
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------- */
:root {
  --surface52216-bg: #141b21;
  --surface52216-canvas: #1c2833;
  --surface52216-panel: #22303d;
  --surface52216-panel-2: #29394a;
  --surface52216-ink: #f0f0f0;
  --surface52216-soft: #c9d4dd;
  --surface52216-muted: #93a5b3;
  --surface52216-accent: #c71585;
  --surface52216-accent-2: #ff4500;
  --surface52216-line: rgba(240, 240, 240, 0.12);
  --surface52216-radius: 3px;
  --surface52216-font-head: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, -apple-system, sans-serif;
  --surface52216-font-body: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  --surface52216-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --surface52216-bnav-h: 64px;
  --surface52216-topgap: env(safe-area-inset-top, 0px);
  --surface52216-botgap: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  background: var(--surface52216-bg);
  color: var(--surface52216-ink);
  font-family: var(--surface52216-font-body);
  font-size: 15px;
  line-height: 1.7;
}

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

button { font: inherit; color: inherit; }

a { color: var(--surface52216-accent-2); }

:focus-visible {
  outline: 2px solid var(--surface52216-accent-2);
  outline-offset: 2px;
}

::selection { background: rgba(199, 21, 133, 0.55); color: #fff; }

/* ---------- Phone canvas --------------------------------------------- */
.surface52216-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface52216-canvas);
  border-left: 1px solid var(--surface52216-line);
  border-right: 1px solid var(--surface52216-line);
  overflow-x: clip;
}

/* Skip link: invisible until focused */
.surface52216-skip {
  position: absolute;
  top: -60px;
  left: 8px;
  z-index: 120;
  background: var(--surface52216-accent-2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--surface52216-radius);
  text-decoration: none;
  transition: top 0.15s ease;
}

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

/* ---------- Fixed top bar: centered identity + action row ------------- */
.surface52216-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: var(--surface52216-topgap);
  background: rgba(28, 40, 51, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface52216-line);
}

.surface52216-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--surface52216-accent), var(--surface52216-accent-2));
  opacity: 0.75;
}

.surface52216-idbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 14px 7px;
}

.surface52216-idlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.surface52216-logo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--surface52216-line);
  background: #101820;
  object-fit: cover;
}

.surface52216-brandname {
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
}

.surface52216-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 50px;
  gap: 8px;
  padding: 0 12px 10px;
}

.surface52216-btn {
  min-height: 44px;
  border-radius: var(--surface52216-radius);
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease, border-color 0.18s ease;
}

.surface52216-btn--register {
  background: linear-gradient(135deg, var(--surface52216-accent) 0%, #8f0f61 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(199, 21, 133, 0.28);
}

.surface52216-btn--register:active {
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(199, 21, 133, 0.3);
}

.surface52216-btn--login {
  background: rgba(240, 240, 240, 0.04);
  border-color: rgba(240, 240, 240, 0.3);
  color: var(--surface52216-ink);
}

.surface52216-btn--login:active {
  transform: translateY(1px);
  border-color: rgba(240, 240, 240, 0.5);
}

.surface52216-menubtn {
  height: 44px;
  background: var(--surface52216-panel);
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.surface52216-menubtn:active {
  background: var(--surface52216-panel-2);
  border-color: rgba(199, 21, 133, 0.55);
}

.surface52216-menubtn i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--surface52216-ink);
  border-radius: 1px;
}

/* ---------- Sectioned menu sheet -------------------------------------- */
.surface52216-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  z-index: 80;
  background: rgba(18, 25, 32, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  display: none;
  padding-bottom: 28px;
}

.surface52216-menu.surface52216-open { display: block; }

.surface52216-menu-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(18, 25, 32, 0.98);
  border-bottom: 1px solid var(--surface52216-line);
}

.surface52216-menu-title {
  margin: 0;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.surface52216-menu-close {
  min-width: 44px;
  min-height: 44px;
  margin: -6px -8px -6px 0;
  padding: 0;
  background: var(--surface52216-panel);
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  font-family: var(--surface52216-font-mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.surface52216-menu-close:active { border-color: var(--surface52216-accent-2); }

.surface52216-menu-sec { padding: 16px 16px 2px; }

.surface52216-menu-sec-title {
  margin: 0 0 10px;
  font-family: var(--surface52216-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surface52216-accent-2);
  border-left: 3px solid var(--surface52216-accent);
  padding-left: 9px;
  line-height: 1.5;
}

.surface52216-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.surface52216-menu-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 11px;
  background: var(--surface52216-panel);
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  color: var(--surface52216-soft);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.surface52216-menu-links a:active {
  background: var(--surface52216-panel-2);
  color: var(--surface52216-ink);
}

/* Current page: top indicator line */
.surface52216-menu-links a.surface52216-here {
  border-color: rgba(199, 21, 133, 0.55);
  color: var(--surface52216-ink);
}

.surface52216-menu-links a.surface52216-here::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--surface52216-accent), var(--surface52216-accent-2));
}

.surface52216-menu-cta {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px 0;
  min-height: 48px;
  background: linear-gradient(135deg, var(--surface52216-accent-2) 0%, #d33a00 100%);
  border: 0;
  border-radius: var(--surface52216-radius);
  color: #fff;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.25);
  transition: filter 0.18s ease, transform 0.08s ease;
}

.surface52216-menu-cta:active {
  transform: translateY(1px);
  filter: brightness(1.15);
}

/* ---------- Main flow -------------------------------------------------- */
.surface52216-main { padding-bottom: 6px; }

.surface52216-hero { padding: 16px 14px 2px; }

.surface52216-hero-title {
  margin: 0 0 8px;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

/* Tech accent tick under the headline */
.surface52216-hero-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 9px;
  background: linear-gradient(90deg, var(--surface52216-accent-2), var(--surface52216-accent));
}

.surface52216-hero-lede {
  margin: 0;
  font-size: 14px;
  color: var(--surface52216-soft);
}

/* ---------- Carousel --------------------------------------------------- */
.surface52216-carousel {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  overflow: hidden;
  background: var(--surface52216-panel);
}

.surface52216-slidewrap {
  position: relative;
  aspect-ratio: 430 / 190;
  overflow: hidden;
}

.surface52216-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--surface52216-panel);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.surface52216-slide.surface52216-on {
  opacity: 1;
  visibility: visible;
}

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

.surface52216-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 76px 10px 12px;
  background: linear-gradient(180deg, rgba(20, 27, 33, 0) 0%, rgba(20, 27, 33, 0.92) 78%);
  color: var(--surface52216-ink);
  font-family: var(--surface52216-font-head);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  line-height: 1.55;
}

.surface52216-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.surface52216-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(240, 240, 240, 0.55);
  border-radius: 2px;
  background: rgba(20, 27, 33, 0.55);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.surface52216-dot.surface52216-on {
  background: var(--surface52216-accent-2);
  border-color: var(--surface52216-accent-2);
  box-shadow: 0 0 8px rgba(255, 69, 0, 0.6);
}

/* ---------- Fact strip (fact-first rhythm) ------------------------------ */
.surface52216-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.surface52216-fact {
  padding: 9px 6px 8px;
  background: var(--surface52216-panel);
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  text-align: center;
}

.surface52216-fact b {
  display: block;
  font-family: var(--surface52216-font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--surface52216-accent-2);
}

.surface52216-fact span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--surface52216-muted);
}

/* ---------- Intro prose -------------------------------------------------- */
.surface52216-prose { padding: 12px 14px 2px; }

.surface52216-prose p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--surface52216-soft);
}

.surface52216-prose a { overflow-wrap: anywhere; }

/* ---------- Game sections ------------------------------------------------ */
.surface52216-sec { padding: 18px 14px 4px; }

.surface52216-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 6px;
}

.surface52216-sec-idx {
  flex: none;
  margin-top: 4px;
  font-family: var(--surface52216-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--surface52216-accent-2);
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: 2px;
  padding: 2px 5px;
  line-height: 1.4;
}

.surface52216-sec-title {
  flex: 1;
  margin: 0;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.55;
  border-left: 3px solid var(--surface52216-accent);
  padding-left: 10px;
  overflow-wrap: anywhere;
}

.surface52216-sec-note {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--surface52216-muted);
}

.surface52216-sec-note a { color: var(--surface52216-accent-2); }

/* Mixed tile grid: 4 columns at 320px, 5 columns from 400px */
.surface52216-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 10px;
}

.surface52216-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  background: var(--surface52216-panel);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.surface52216-cell:active {
  transform: translateY(1px);
  background: var(--surface52216-panel-2);
  border-color: rgba(199, 21, 133, 0.55);
}

.surface52216-cell-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #101820;
}

.surface52216-cell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 5px 4px 6px;
  font-family: var(--surface52216-font-head);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1.45;
}

/* Featured tile: spans two tracks, slightly larger type */
.surface52216-cell--wide { grid-column: span 2; }

.surface52216-cell--wide .surface52216-cell-name { font-size: 12.5px; }

.surface52216-cell-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2px 6px;
  background: var(--surface52216-accent-2);
  color: #fff;
  font-family: var(--surface52216-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.6;
}

/* ---------- Content modules ---------------------------------------------- */
.surface52216-mod {
  margin: 18px 14px 0;
  padding: 14px 14px 16px;
  background: var(--surface52216-panel);
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
}

.surface52216-mod-title {
  margin: 0 0 8px;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  border-left: 3px solid var(--surface52216-accent);
  padding-left: 10px;
  overflow-wrap: anywhere;
}

.surface52216-mod p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--surface52216-soft);
}

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

/* Expandable fact list (summary first, details on demand) */
.surface52216-factlist { margin: 6px 0 0; }

.surface52216-factlist details {
  margin-bottom: 8px;
  border: 1px solid var(--surface52216-line);
  border-radius: var(--surface52216-radius);
  background: rgba(16, 23, 29, 0.45);
}

.surface52216-factlist details:last-child { margin-bottom: 0; }

.surface52216-factlist summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.surface52216-factlist summary::-webkit-details-marker { display: none; }

.surface52216-factlist summary::after {
  content: "+";
  flex: none;
  font-family: var(--surface52216-font-mono);
  font-size: 17px;
  color: var(--surface52216-accent-2);
}

.surface52216-factlist details[open] summary::after { content: "\2212"; }

.surface52216-fact-body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--surface52216-soft);
}

.surface52216-fact-body a { overflow-wrap: anywhere; }

/* Promotion cards + full-width CTAs */
.surface52216-promo {
  margin-top: 12px;
  padding: 12px 12px 14px;
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: var(--surface52216-radius);
  background: linear-gradient(160deg, rgba(199, 21, 133, 0.14) 0%, rgba(255, 69, 0, 0.08) 100%);
}

.surface52216-promo-title {
  margin: 0 0 4px;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 14.5px;
}

.surface52216-promo p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--surface52216-soft);
}

.surface52216-cta {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--surface52216-radius);
  background: linear-gradient(135deg, var(--surface52216-accent-2) 0%, #d63a00 100%);
  color: #fff;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(255, 69, 0, 0.22);
  transition: filter 0.18s ease, transform 0.08s ease;
}

.surface52216-cta--magenta {
  background: linear-gradient(135deg, var(--surface52216-accent) 0%, #8f0f61 100%);
  box-shadow: 0 3px 12px rgba(199, 21, 133, 0.26);
}

.surface52216-cta:active {
  transform: translateY(1px);
  filter: brightness(1.16);
}

/* Numbered steps (leading-zero mono counters) */
.surface52216-steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: surface52216step;
}

.surface52216-steps li {
  position: relative;
  counter-increment: surface52216step;
  padding: 0 0 11px 38px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--surface52216-soft);
}

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

.surface52216-steps li::before {
  content: counter(surface52216step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  min-width: 26px;
  padding: 2px 4px;
  font-family: var(--surface52216-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--surface52216-accent-2);
  border: 1px solid rgba(255, 69, 0, 0.38);
  border-radius: 2px;
  text-align: center;
  line-height: 1.5;
}

/* Compact recap list */
.surface52216-recap {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.surface52216-recap li {
  position: relative;
  padding: 7px 0 7px 14px;
  border-bottom: 1px dashed rgba(240, 240, 240, 0.14);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--surface52216-soft);
}

.surface52216-recap li:last-child { border-bottom: 0; }

.surface52216-recap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--surface52216-accent);
}

/* Inline text action (text-link style promo entry) */
.surface52216-textlink {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  color: var(--surface52216-accent-2);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.surface52216-textlink:active { color: #ff7a45; }

/* ---------- Extended footer (home only) ---------------------------------- */
.surface52216-xfoot {
  margin: 24px 14px 0;
  padding-top: 16px;
  border-top: 2px solid var(--surface52216-accent);
}

.surface52216-xfoot-title {
  margin: 0 0 8px;
  font-family: var(--surface52216-font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.surface52216-xfoot p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--surface52216-soft);
}

.surface52216-xsub {
  margin: 16px 0 8px;
  font-family: var(--surface52216-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surface52216-accent-2);
}

.surface52216-xpromos { display: grid; gap: 10px; }

.surface52216-xlink {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 6px 2px;
  background: none;
  border: 0;
  border-bottom: 1px dashed rgba(240, 240, 240, 0.16);
  color: var(--surface52216-accent-2);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.surface52216-xlink::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--surface52216-accent-2);
  transform: rotate(45deg);
}

.surface52216-xlink:active { color: #ff7a45; }

.surface52216-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}

.surface52216-xdir a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240, 240, 240, 0.13);
  color: var(--surface52216-soft);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.18s ease;
}

.surface52216-xdir a:active { color: var(--surface52216-accent-2); }

.surface52216-disc {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed rgba(240, 240, 240, 0.22);
  border-radius: var(--surface52216-radius);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--surface52216-muted);
}

/* ---------- Common footer bar --------------------------------------------- */
.surface52216-foot {
  padding: 22px 14px;
  padding-bottom: calc(var(--surface52216-bnav-h) + var(--surface52216-botgap) + 22px);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--surface52216-muted);
  border-top: 1px solid var(--surface52216-line);
  margin-top: 22px;
}

/* ---------- Layered mobile bottom nav -------------------------------------- */
.surface52216-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  z-index: 70;
  background: rgba(16, 23, 29, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--surface52216-line);
  padding-bottom: var(--surface52216-botgap);
}

/* Layer 1: gradient hairline above the bar */
.surface52216-bnav::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--surface52216-accent) 0%, var(--surface52216-accent-2) 50%, var(--surface52216-accent) 100%);
}

.surface52216-bnav-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--surface52216-bnav-h);
}

.surface52216-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: var(--surface52216-muted);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

/* Containerized symbol tile (icon block) */
.surface52216-bnav-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 27px;
  padding: 2px 6px;
  background: rgba(240, 240, 240, 0.06);
  border: 1px solid rgba(240, 240, 240, 0.09);
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.surface52216-bnav-ico svg { width: 19px; height: 19px; }

.surface52216-bnav-label {
  font-family: var(--surface52216-font-head);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* Middle promo role: accent-tinted tile */
.surface52216-bnav-item--go .surface52216-bnav-ico {
  background: linear-gradient(135deg, rgba(199, 21, 133, 0.3), rgba(255, 69, 0, 0.3));
  border-color: rgba(255, 69, 0, 0.42);
}

.surface52216-bnav-item:active { color: var(--surface52216-ink); }

.surface52216-bnav-item:active .surface52216-bnav-ico {
  box-shadow: 0 0 12px rgba(255, 69, 0, 0.5);
}

/* Active page: top indicator line + restrained glow */
.surface52216-bnav-item.surface52216-active { color: var(--surface52216-ink); }

.surface52216-bnav-item.surface52216-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--surface52216-accent-2);
  box-shadow: 0 0 9px rgba(255, 69, 0, 0.75);
}

.surface52216-bnav-item.surface52216-active .surface52216-bnav-ico {
  background: rgba(199, 21, 133, 0.24);
  border-color: rgba(199, 21, 133, 0.5);
  box-shadow: 0 0 10px rgba(199, 21, 133, 0.28);
}

/* ---------- Wider phone band (still inside the 430px canvas) ---------------- */
@media (min-width: 400px) {
  .surface52216-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .surface52216-hero-title { font-size: 23px; }

  .surface52216-btn { font-size: 15.5px; }
}

/* ---------- Help-page reading tools ----------------------------------------- */
.surface52216-help-hero {
  padding-bottom: 8px;
  background: linear-gradient(145deg, rgba(199, 21, 133, 0.12), rgba(28, 40, 51, 0) 62%);
}

.surface52216-help-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 7px;
  border-left: 3px solid var(--surface52216-accent-2);
  color: var(--surface52216-accent-2);
  font-family: var(--surface52216-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.surface52216-help-lede {
  margin: 0;
  color: var(--surface52216-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.surface52216-checkband {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.surface52216-check {
  min-height: 66px;
  padding: 8px 6px;
  border: 1px solid var(--surface52216-line);
  border-top: 3px solid var(--surface52216-accent);
  background: rgba(34, 48, 61, 0.78);
  text-align: center;
}

.surface52216-check strong {
  display: block;
  color: var(--surface52216-accent-2);
  font-family: var(--surface52216-font-mono);
  font-size: 15px;
}

.surface52216-check span {
  display: block;
  color: var(--surface52216-muted);
  font-size: 11px;
  line-height: 1.5;
}

.surface52216-diagnostic {
  margin: 10px 0 0;
  border-top: 1px solid var(--surface52216-line);
}

.surface52216-diagnostic-row {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(240, 240, 240, 0.15);
}

.surface52216-diagnostic-row:last-child { border-bottom: 0; }

.surface52216-diagnostic-signal {
  color: var(--surface52216-ink);
  font-family: var(--surface52216-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.surface52216-diagnostic-action {
  color: var(--surface52216-soft);
  font-size: 13px;
  line-height: 1.75;
}

.surface52216-review-stamp {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  margin: 8px 0 13px;
  padding: 11px;
  border: 1px solid rgba(255, 69, 0, 0.38);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.13), rgba(199, 21, 133, 0.1));
}

.surface52216-review-score {
  display: grid;
  place-items: center;
  min-height: 64px;
  border: 1px solid var(--surface52216-accent-2);
  color: var(--surface52216-accent-2);
  font-family: var(--surface52216-font-mono);
  font-size: 24px;
  font-weight: 700;
}

.surface52216-review-stamp p {
  margin: 0;
  color: var(--surface52216-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.surface52216-review-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.surface52216-review-item {
  padding: 10px 11px;
  border-left: 3px solid var(--surface52216-accent-2);
  background: rgba(16, 23, 29, 0.42);
}

.surface52216-review-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--surface52216-ink);
  font-size: 13.5px;
}

.surface52216-review-item span {
  display: block;
  color: var(--surface52216-soft);
  font-size: 13px;
  line-height: 1.75;
}

.surface52216-relationship {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 6px;
  align-items: stretch;
  margin-top: 11px;
}

.surface52216-relationship-box {
  padding: 10px 8px;
  border: 1px solid var(--surface52216-line);
  background: rgba(16, 23, 29, 0.4);
  color: var(--surface52216-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.surface52216-relationship-box b {
  display: block;
  margin-bottom: 3px;
  color: var(--surface52216-accent-2);
  font-size: 13px;
}

.surface52216-relationship-arrow {
  display: grid;
  place-items: center;
  color: var(--surface52216-accent-2);
  font-family: var(--surface52216-font-mono);
  font-size: 18px;
}

.surface52216-answer {
  margin: 10px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(199, 21, 133, 0.42);
  background: rgba(199, 21, 133, 0.1);
  color: var(--surface52216-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

@media (max-width: 339px) {
  .surface52216-diagnostic-row { grid-template-columns: 38% 62%; }
  .surface52216-review-stamp { grid-template-columns: 64px 1fr; gap: 8px; }
  .surface52216-review-score { min-height: 58px; font-size: 21px; }
}

/* ---------- Motion preferences ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .surface52216-slide,
  .surface52216-cell,
  .surface52216-btn,
  .surface52216-cta,
  .surface52216-dot,
  .surface52216-bnav-ico,
  .surface52216-menu-links a {
    transition: none;
  }
}

/* ---------- Small-phone guards (320px) ---------------------------------------- */
@media (max-width: 339px) {
  .surface52216-actions { grid-template-columns: 1fr 1fr 44px; gap: 6px; }

  .surface52216-brandname { font-size: 15.5px; }

  .surface52216-facts { gap: 6px; }

  .surface52216-bnav-label { font-size: 10px; }
}
