/* =====================================================================
   tk57.click — shared stylesheet for the mobile-first game catalog
   Namespace: every class and custom property starts with surface841fc-
   Palette anchors: #AD1457 / #F8F9FA / #333333 / #4169E1
   Canvas: 320-430px phone frame, centered on wider screens
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
--------------------------------------------------------------------- */
:root {
  --surface841fc-magenta: #ad1457;
  --surface841fc-paper: #f8f9fa;
  --surface841fc-charcoal: #333333;
  --surface841fc-royal: #4169e1;

  --surface841fc-void: #202024;
  --surface841fc-canvas: #2a2a2f;
  --surface841fc-panel: #333338;
  --surface841fc-panel-2: #3c3c43;
  --surface841fc-panel-3: #46464e;

  --surface841fc-hair: rgba(248, 249, 250, 0.14);
  --surface841fc-hair-strong: rgba(248, 249, 250, 0.28);
  --surface841fc-mist: rgba(248, 249, 250, 0.62);
  --surface841fc-soft: rgba(248, 249, 250, 0.86);

  --surface841fc-royal-dim: rgba(65, 105, 225, 0.20);
  --surface841fc-magenta-dim: rgba(173, 20, 87, 0.26);
  --surface841fc-flare: linear-gradient(118deg, #ad1457 0%, #7c205f 48%, #4169e1 100%);
  --surface841fc-spark: linear-gradient(180deg, #c2185b 0%, #ad1457 100%);
  --surface841fc-tide: linear-gradient(180deg, #4169e1 0%, #2d4bb0 100%);

  --surface841fc-r-s: 8px;
  --surface841fc-r-m: 14px;
  --surface841fc-r-l: 22px;
  --surface841fc-tap: 44px;
  --surface841fc-gap: 10px;
  --surface841fc-gutter: 12px;

  /* Humanist serif headings paired with a plain sans body */
  --surface841fc-head: "Noto Serif Bengali", "Hind Siliguri", "Shonar Bangla", Georgia, serif;
  --surface841fc-body: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;

  --surface841fc-press: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  --surface841fc-topbar-h: 62px;
  --surface841fc-dock-h: 62px;
}

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

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

body {
  margin: 0;
  background: #17171a;
  color: var(--surface841fc-paper);
  font-family: var(--surface841fc-body);
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}

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

a {
  color: var(--surface841fc-paper);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

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

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

::selection {
  background: var(--surface841fc-magenta);
  color: var(--surface841fc-paper);
}

/* ---------------------------------------------------------------------
   3. Phone canvas — content stays inside a 430px frame on any screen
--------------------------------------------------------------------- */
.surface841fc-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 420px at 85% -8%, rgba(65, 105, 225, 0.22), transparent 62%),
    radial-gradient(900px 380px at -12% 12%, rgba(173, 20, 87, 0.16), transparent 58%),
    var(--surface841fc-void);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

@media (min-width: 431px) {
  body {
    padding-block: 0;
  }

  .surface841fc-shell {
    border-inline: 1px solid var(--surface841fc-hair);
  }
}

.surface841fc-main {
  padding-top: calc(var(--surface841fc-topbar-h) + 12px);
  /* Keep the last rows clear of the fixed dock */
  padding-bottom: calc(var(--surface841fc-dock-h) + 34px + env(safe-area-inset-bottom, 0px));
}

.surface841fc-wrap {
  padding-inline: var(--surface841fc-gutter);
}

/* ---------------------------------------------------------------------
   4. Asymmetric brand header
   Left: logo plate + wordmark. Right: tiered Register / Login / menu.
--------------------------------------------------------------------- */
.surface841fc-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  min-height: var(--surface841fc-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--surface841fc-gutter) 8px 8px;
  background: linear-gradient(180deg, rgba(32, 32, 36, 0.97), rgba(32, 32, 36, 0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface841fc-hair);
}

/* Brand block deliberately off-axis: tilted plate, offset baseline */
.surface841fc-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  padding-block: 4px;
}

.surface841fc-brand-plate {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px 14px 14px 4px;
  padding: 3px;
  background: var(--surface841fc-flare);
  transform: rotate(-4deg);
  transition: var(--surface841fc-press);
}

.surface841fc-brand:active .surface841fc-brand-plate {
  transform: rotate(-4deg) scale(0.94);
}

.surface841fc-brand-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px 11px 11px 3px;
  border: 1px solid rgba(248, 249, 250, 0.22);
  background: var(--surface841fc-charcoal);
}

.surface841fc-brand-name {
  font-family: var(--surface841fc-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

/* Action zone: oversized primary, smaller ghost, square menu key */
.surface841fc-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.surface841fc-btn-main {
  min-height: 40px;
  padding: 7px 16px;
  border-radius: 999px 999px 999px 10px;
  background: var(--surface841fc-spark);
  color: var(--surface841fc-paper);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 5px 16px rgba(173, 20, 87, 0.45), inset 0 1px 0 rgba(248, 249, 250, 0.28);
  transition: var(--surface841fc-press);
}

.surface841fc-btn-ghost {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--surface841fc-hair-strong);
  background: rgba(248, 249, 250, 0.05);
  color: var(--surface841fc-soft);
  font-size: 12.5px;
  font-weight: 600;
  transition: var(--surface841fc-press);
}

.surface841fc-btn-main:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 8px rgba(173, 20, 87, 0.4);
}

.surface841fc-btn-ghost:active {
  transform: translateY(1px);
  background: var(--surface841fc-royal-dim);
}

.surface841fc-menu-key {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--surface841fc-hair);
  background: var(--surface841fc-panel);
  display: grid;
  place-content: center;
  gap: 4px;
  transition: var(--surface841fc-press);
}

.surface841fc-menu-key span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--surface841fc-paper);
  transition: var(--surface841fc-press);
}

.surface841fc-menu-key span:nth-child(2) {
  width: 11px;
  justify-self: start;
  background: var(--surface841fc-magenta);
}

.surface841fc-menu-key:active {
  transform: scale(0.92);
}

.surface841fc-menu-key[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.surface841fc-menu-key[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.surface841fc-menu-key[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------------------------------------------------------
   5. Sectioned drawer menu (slides over the canvas)
--------------------------------------------------------------------- */
.surface841fc-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  width: 100%;
  max-width: 430px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(65, 105, 225, 0.2), transparent 60%),
    rgba(23, 23, 26, 0.985);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.surface841fc-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.surface841fc-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(var(--surface841fc-topbar-h) + 14px) var(--surface841fc-gutter) 12px;
  border-bottom: 1px solid var(--surface841fc-hair);
}

.surface841fc-drawer-title {
  font-family: var(--surface841fc-head);
  font-size: 18px;
  font-weight: 700;
}

.surface841fc-drawer-title em {
  font-style: normal;
  color: #e0568f;
}

.surface841fc-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--surface841fc-hair-strong);
  background: var(--surface841fc-panel);
  color: var(--surface841fc-paper);
  font-size: 17px;
  line-height: 1;
  transition: var(--surface841fc-press);
}

.surface841fc-drawer-close:active {
  transform: rotate(90deg);
}

.surface841fc-drawer-body {
  overflow-y: auto;
  padding: 14px var(--surface841fc-gutter) 20px;
}

/* Each menu zone: label rail + link stack */
.surface841fc-drawer-zone {
  margin-bottom: 18px;
}

.surface841fc-drawer-zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--surface841fc-mist);
  padding-left: 14px;
  position: relative;
  margin-bottom: 8px;
}

.surface841fc-drawer-zone-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--surface841fc-flare);
}

.surface841fc-drawer-links {
  display: grid;
  gap: 7px;
}

.surface841fc-drawer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 12px;
  border-radius: var(--surface841fc-r-m);
  border: 1px solid var(--surface841fc-hair);
  background: linear-gradient(90deg, var(--surface841fc-panel), rgba(51, 51, 56, 0.55));
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: var(--surface841fc-press);
}

/* Sliding indicator: a highlight rail that eases in from the left */
.surface841fc-drawer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 3px;
  background: var(--surface841fc-spark);
  transform: scaleY(0);
  transition: transform 0.22s ease;
}

.surface841fc-drawer-links a:active {
  transform: translateX(3px);
  border-color: var(--surface841fc-magenta);
}

.surface841fc-drawer-links a:active::before,
.surface841fc-drawer-links a:hover::before {
  transform: scaleY(1);
}

.surface841fc-drawer-links a span {
  font-size: 11px;
  color: var(--surface841fc-mist);
  margin-left: auto;
  font-weight: 500;
}

.surface841fc-drawer-foot {
  padding: 12px var(--surface841fc-gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--surface841fc-hair);
  display: flex;
  gap: 8px;
}

.surface841fc-drawer-foot .surface841fc-btn-main {
  flex: 1.4;
}

.surface841fc-drawer-foot .surface841fc-btn-ghost {
  flex: 1;
}

/* ---------------------------------------------------------------------
   6. Page lead (H1 zone)
--------------------------------------------------------------------- */
.surface841fc-lead {
  padding: 4px var(--surface841fc-gutter) 14px;
}

.surface841fc-lead h1 {
  font-family: var(--surface841fc-head);
  font-size: 24.5px;
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.surface841fc-lead h1 mark {
  background: var(--surface841fc-magenta-dim);
  color: #ff7fae;
  padding: 0 6px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.surface841fc-lead-text {
  margin-top: 9px;
  color: var(--surface841fc-soft);
  font-size: 14px;
}

.surface841fc-lead-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
  padding: 0;
}

.surface841fc-lead-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--surface841fc-soft);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--surface841fc-hair);
  background: rgba(248, 249, 250, 0.04);
}

.surface841fc-lead-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface841fc-royal);
}

/* ---------------------------------------------------------------------
   7. Promo carousel — three local banners, swipe + auto advance
--------------------------------------------------------------------- */
.surface841fc-hero {
  position: relative;
  margin: 2px var(--surface841fc-gutter) 16px;
  border-radius: var(--surface841fc-r-l);
  overflow: hidden;
  border: 1px solid var(--surface841fc-hair-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.surface841fc-hero-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
  touch-action: pan-y;
}

.surface841fc-hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface841fc-charcoal);
}

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

.surface841fc-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 26, 0) 34%, rgba(23, 23, 26, 0.88) 100%);
}

.surface841fc-hero-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.surface841fc-hero-cap strong {
  font-family: var(--surface841fc-head);
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  flex: 1;
}

.surface841fc-hero-cap .surface841fc-btn-main {
  padding: 7px 13px;
  font-size: 12.5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Dots with one sliding pill */
.surface841fc-hero-dots {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(23, 23, 26, 0.55);
  border: 1px solid rgba(248, 249, 250, 0.16);
}

.surface841fc-hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(248, 249, 250, 0.4);
  transition: width 0.28s ease, background-color 0.28s ease;
}

.surface841fc-hero-dots button.is-on {
  width: 20px;
  background: var(--surface841fc-spark);
}

/* Pause / play control pinned to the opposite corner */
.surface841fc-hero-pause {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-content: center;
  color: var(--surface841fc-paper);
  font-size: 12px;
  letter-spacing: 2px;
  background: rgba(23, 23, 26, 0.55);
  border: 1px solid rgba(248, 249, 250, 0.16);
  transition: var(--surface841fc-press);
}

.surface841fc-hero-pause:active {
  transform: scale(0.9);
  background: var(--surface841fc-magenta-dim);
}

/* ---------------------------------------------------------------------
   8. Category quick strip
--------------------------------------------------------------------- */
.surface841fc-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px var(--surface841fc-gutter) 14px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.surface841fc-chips::-webkit-scrollbar {
  display: none;
}

.surface841fc-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 12px 12px 12px 3px;
  border: 1px solid var(--surface841fc-hair);
  background: var(--surface841fc-panel);
  font-size: 13px;
  font-weight: 700;
  scroll-snap-align: start;
  transition: var(--surface841fc-press);
}

.surface841fc-chip svg {
  width: 16px;
  height: 16px;
}

.surface841fc-chip.is-on {
  border-color: var(--surface841fc-magenta);
  background: var(--surface841fc-magenta-dim);
  transform: translateY(-2px);
}

.surface841fc-chip:active {
  transform: scale(0.95);
}

/* ---------------------------------------------------------------------
   9. Section heads — offset index plate + serif question line
--------------------------------------------------------------------- */
.surface841fc-sec {
  scroll-margin-top: calc(var(--surface841fc-topbar-h) + 10px);
  margin-bottom: 26px;
}

.surface841fc-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 var(--surface841fc-gutter) 8px;
}

.surface841fc-sec-index {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
  font-family: var(--surface841fc-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--surface841fc-paper);
  border-radius: 10px 10px 10px 2px;
  background: var(--surface841fc-tide);
  box-shadow: 3px 3px 0 var(--surface841fc-magenta);
}

.surface841fc-sec-head h2 {
  font-family: var(--surface841fc-head);
  font-size: 18.5px;
  line-height: 1.4;
  font-weight: 700;
  padding-top: 1px;
}

.surface841fc-sec-note {
  margin: 0 var(--surface841fc-gutter) 12px;
  color: var(--surface841fc-soft);
  font-size: 13.5px;
  border-left: 3px solid var(--surface841fc-royal);
  padding-left: 10px;
}

.surface841fc-sec-note a {
  color: #9db6ff;
  border-bottom: 1px dashed rgba(157, 182, 255, 0.55);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   10. Game grid — compact square catalog tiles
--------------------------------------------------------------------- */
.surface841fc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
  padding: 0 var(--surface841fc-gutter);
}

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

.surface841fc-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  border-radius: var(--surface841fc-r-m);
  transition: var(--surface841fc-press);
  -webkit-tap-highlight-color: transparent;
}

.surface841fc-tile:active {
  transform: scale(0.93);
}

.surface841fc-tile-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--surface841fc-r-m);
  overflow: hidden;
  border: 1px solid var(--surface841fc-hair);
  background: var(--surface841fc-panel);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34);
}

.surface841fc-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.surface841fc-tile:active .surface841fc-tile-img img {
  transform: scale(1.08);
}

.surface841fc-tile-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(248, 249, 250, 0.14), transparent 42%);
  pointer-events: none;
}

.surface841fc-tile.hot .surface841fc-tile-img {
  border-color: rgba(224, 86, 143, 0.55);
}

.surface841fc-tile.hot .surface841fc-tile-img::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c8a;
  box-shadow: 0 0 8px #ff5c8a;
}

.surface841fc-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--surface841fc-soft);
  min-height: 30px;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------
   11. Winners ticker — horizontal snap cards
--------------------------------------------------------------------- */
.surface841fc-wins {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 3px var(--surface841fc-gutter) 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.surface841fc-wins::-webkit-scrollbar {
  display: none;
}

.surface841fc-win {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--surface841fc-r-m);
  border: 1px solid var(--surface841fc-hair);
  background: linear-gradient(135deg, var(--surface841fc-panel), rgba(65, 105, 225, 0.12));
}

.surface841fc-win-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  grid-row: span 2;
  border: 1px solid var(--surface841fc-hair-strong);
}

.surface841fc-win-who {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.surface841fc-win-game {
  font-size: 10.5px;
  color: var(--surface841fc-mist);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.surface841fc-win-cash {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffd27f;
  border-top: 1px dashed var(--surface841fc-hair);
  padding-top: 5px;
  margin-top: 1px;
}

.surface841fc-win-cash time {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--surface841fc-mist);
}

/* ---------------------------------------------------------------------
   12. Prose blocks (single column, question-led)
--------------------------------------------------------------------- */
.surface841fc-prose {
  padding: 0 var(--surface841fc-gutter);
}

.surface841fc-prose p {
  color: var(--surface841fc-soft);
  font-size: 14px;
  margin-bottom: 10px;
}

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

.surface841fc-prose a,
.surface841fc-terms a,
.surface841fc-voices a {
  color: #9db6ff;
  border-bottom: 1px dashed rgba(157, 182, 255, 0.55);
  font-weight: 600;
}

.surface841fc-prose strong {
  color: var(--surface841fc-paper);
}

/* ---------------------------------------------------------------------
   13. Testimonial voices — stacked quote slips
--------------------------------------------------------------------- */
.surface841fc-voices {
  display: grid;
  gap: 10px;
  padding: 0 var(--surface841fc-gutter);
}

.surface841fc-voice {
  position: relative;
  padding: 12px 13px 11px 40px;
  border-radius: var(--surface841fc-r-m);
  border: 1px solid var(--surface841fc-hair);
  background: var(--surface841fc-panel);
}

.surface841fc-voice::before {
  content: "\201C";
  position: absolute;
  left: 10px;
  top: 4px;
  font-family: var(--surface841fc-head);
  font-size: 34px;
  color: var(--surface841fc-magenta);
  line-height: 1;
}

.surface841fc-voice:nth-child(even) {
  background: linear-gradient(120deg, var(--surface841fc-panel), rgba(173, 20, 87, 0.12));
}

.surface841fc-voice p {
  font-size: 13.5px;
  color: var(--surface841fc-soft);
}

.surface841fc-voice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--surface841fc-mist);
}

.surface841fc-voice-meta strong {
  color: var(--surface841fc-paper);
  font-size: 12px;
}

.surface841fc-stars {
  letter-spacing: 2px;
  color: #ffd27f;
  font-size: 11px;
}

/* ---------------------------------------------------------------------
   14. Term sheet — compact definition rows
--------------------------------------------------------------------- */
.surface841fc-terms {
  display: grid;
  gap: 8px;
  padding: 0 var(--surface841fc-gutter);
}

.surface841fc-term {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--surface841fc-r-m);
  border: 1px solid var(--surface841fc-hair);
  background: rgba(248, 249, 250, 0.035);
}

.surface841fc-term dt {
  font-family: var(--surface841fc-head);
  font-size: 13px;
  font-weight: 700;
  color: #e0568f;
}

.surface841fc-term dt span {
  display: block;
  font-family: var(--surface841fc-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--surface841fc-mist);
  text-transform: uppercase;
}

.surface841fc-term dd {
  margin: 0;
  font-size: 13px;
  color: var(--surface841fc-soft);
}

/* ---------------------------------------------------------------------
   15. Extended footer — brand, promo shortcuts, directory, note
--------------------------------------------------------------------- */
.surface841fc-extended {
  margin-top: 8px;
  padding: 18px var(--surface841fc-gutter) 16px;
  border-top: 1px solid var(--surface841fc-hair);
  background:
    radial-gradient(420px 200px at 12% 0%, rgba(65, 105, 225, 0.16), transparent 62%),
    rgba(23, 23, 26, 0.6);
}

.surface841fc-extended-title {
  font-family: var(--surface841fc-head);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--surface841fc-paper);
  margin-bottom: 10px;
}

.surface841fc-extended-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.surface841fc-extended-lead img {
  width: 40px;
  height: 40px;
  border-radius: 12px 12px 12px 3px;
  object-fit: cover;
  border: 1px solid var(--surface841fc-hair-strong);
}

.surface841fc-extended-lead p {
  font-size: 12.5px;
  color: var(--surface841fc-mist);
  line-height: 1.6;
}

.surface841fc-extended-lead p strong {
  display: block;
  font-family: var(--surface841fc-head);
  font-size: 15px;
  color: var(--surface841fc-paper);
}

/* Six horizontal shortcuts, icon + text */
.surface841fc-shorts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.surface841fc-short {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 74px;
  padding: 10px 6px 8px;
  border-radius: var(--surface841fc-r-m);
  border: 1px solid var(--surface841fc-hair);
  background: var(--surface841fc-panel);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  transition: var(--surface841fc-press);
}

.surface841fc-short svg {
  width: 22px;
  height: 22px;
}

.surface841fc-short:nth-child(odd) {
  border-color: rgba(173, 20, 87, 0.4);
}

.surface841fc-short:nth-child(even) {
  border-color: rgba(65, 105, 225, 0.4);
}

.surface841fc-short:active {
  transform: translateY(2px) scale(0.96);
  background: var(--surface841fc-panel-2);
}

/* Page directory */
.surface841fc-dir {
  margin-bottom: 14px;
}

.surface841fc-dir-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--surface841fc-mist);
  margin-bottom: 8px;
}

.surface841fc-dir-list {
  columns: 2;
  column-gap: 14px;
  font-size: 12.5px;
}

.surface841fc-dir-list a {
  display: inline-block;
  width: 100%;
  padding: 5px 0;
  color: var(--surface841fc-soft);
  border-bottom: 1px dotted var(--surface841fc-hair);
  break-inside: avoid;
  transition: color 0.2s ease;
}

.surface841fc-dir-list a:hover,
.surface841fc-dir-list a:active {
  color: #e0568f;
}

.surface841fc-note {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--surface841fc-r-m);
  border: 1px dashed rgba(224, 86, 143, 0.45);
  background: rgba(173, 20, 87, 0.1);
  font-size: 11.5px;
  color: var(--surface841fc-mist);
  line-height: 1.65;
}

.surface841fc-note svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

/* ---------------------------------------------------------------------
   16. Legal line + layered dock
--------------------------------------------------------------------- */
.surface841fc-legal {
  padding: 12px var(--surface841fc-gutter) 10px;
  border-top: 1px solid var(--surface841fc-hair);
  text-align: center;
  font-size: 11.5px;
  color: var(--surface841fc-mist);
}

.surface841fc-legal strong {
  color: var(--surface841fc-soft);
}

.surface841fc-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(32, 32, 36, 0.9), rgba(23, 23, 26, 0.98));
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--surface841fc-hair-strong);
}

/* Layer detail: thin gradient rail above the dock */
.surface841fc-dock::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 3px;
  background: var(--surface841fc-flare);
}

.surface841fc-dock-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: var(--surface841fc-tap);
  padding: 6px 2px 3px;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 700;
  color: var(--surface841fc-mist);
  transition: var(--surface841fc-press);
}

.surface841fc-dock-item svg {
  width: 22px;
  height: 22px;
}

/* Active role lifts slightly and gains a glow sheet */
.surface841fc-dock-item.is-here {
  color: var(--surface841fc-paper);
  transform: translateY(-5px);
  background: radial-gradient(70% 90% at 50% 100%, rgba(173, 20, 87, 0.32), transparent 70%);
}

.surface841fc-dock-item.is-here::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--surface841fc-spark);
}

.surface841fc-dock-item:active {
  transform: scale(0.9);
}

.surface841fc-dock-item.is-here:active {
  transform: translateY(-5px) scale(0.9);
}

.surface841fc-dock-item .surface841fc-dock-flag {
  position: absolute;
  top: 1px;
  right: 14%;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--surface841fc-magenta);
  color: var(--surface841fc-paper);
  font-size: 8.5px;
  font-weight: 700;
  display: grid;
  place-content: center;
  box-shadow: 0 0 10px rgba(173, 20, 87, 0.7);
}

/* ---------------------------------------------------------------------
   17. Light reveal motion (progressive enhancement only)
--------------------------------------------------------------------- */
.surface841fc-sec,
.surface841fc-voice,
.surface841fc-term {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.surface841fc-sec.is-in,
.surface841fc-voice.is-in,
.surface841fc-term.is-in {
  opacity: 1;
  transform: none;
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .surface841fc-sec,
  .surface841fc-voice,
  .surface841fc-term {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   18. Small-screen fine tuning (320px first)
--------------------------------------------------------------------- */
@media (max-width: 339px) {
  .surface841fc-brand-name {
    font-size: 18px;
  }

  .surface841fc-btn-main {
    padding: 7px 11px;
    font-size: 12.5px;
  }

  .surface841fc-lead h1 {
    font-size: 22px;
  }

  .surface841fc-term {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------------------------------------------------------------------
   19. Help page compositions: timeline, diagnostic board, and ledger
--------------------------------------------------------------------- */
.surface841fc-help-lead {
  padding: 8px var(--surface841fc-gutter) 16px;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.17), rgba(173, 20, 87, 0.12));
  border-bottom: 1px solid var(--surface841fc-hair);
}

.surface841fc-help-lead h1 {
  font-family: var(--surface841fc-head);
  font-size: 24px;
  line-height: 1.34;
  font-weight: 700;
}

.surface841fc-help-lead p {
  margin-top: 9px;
  color: var(--surface841fc-soft);
  font-size: 14px;
}

.surface841fc-help-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(157, 182, 255, 0.45);
  border-radius: 999px;
  color: #b9c9ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}

.surface841fc-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.surface841fc-help-actions .surface841fc-btn-main,
.surface841fc-help-actions .surface841fc-btn-ghost {
  min-height: 44px;
}

.surface841fc-help-section {
  margin: 18px 0 26px;
}

.surface841fc-help-section > h2 {
  padding: 0 var(--surface841fc-gutter) 9px;
  font-family: var(--surface841fc-head);
  font-size: 18.5px;
  line-height: 1.4;
}

.surface841fc-help-section > p {
  padding: 0 var(--surface841fc-gutter);
  color: var(--surface841fc-soft);
  font-size: 13.8px;
}

.surface841fc-step-list {
  display: grid;
  gap: 9px;
  margin: 12px var(--surface841fc-gutter) 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.surface841fc-step-list li {
  position: relative;
  min-height: 62px;
  padding: 10px 12px 10px 48px;
  border-left: 3px solid var(--surface841fc-royal);
  border-radius: 4px var(--surface841fc-r-m) var(--surface841fc-r-m) 4px;
  background: linear-gradient(90deg, rgba(65, 105, 225, .16), var(--surface841fc-panel));
  color: var(--surface841fc-soft);
  font-size: 13.4px;
}

.surface841fc-step-list li::before {
  counter-increment: help-step;
  content: counter(help-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 12px;
  display: grid;
  place-content: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--surface841fc-spark);
  color: var(--surface841fc-paper);
  font-size: 11px;
  font-weight: 800;
}

.surface841fc-step-list strong,
.surface841fc-help-section strong {
  color: var(--surface841fc-paper);
}

.surface841fc-alert {
  margin: 12px var(--surface841fc-gutter) 0;
  padding: 11px 12px;
  border: 1px dashed rgba(224, 86, 143, .58);
  border-radius: var(--surface841fc-r-m);
  background: rgba(173, 20, 87, .13);
  color: var(--surface841fc-soft);
  font-size: 13px;
}

.surface841fc-diagnostic {
  display: grid;
  gap: 8px;
  margin: 12px var(--surface841fc-gutter) 0;
}

.surface841fc-diagnostic-row {
  display: grid;
  grid-template-columns: minmax(80px, .7fr) 1.3fr;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--surface841fc-hair);
  border-radius: var(--surface841fc-r-s);
  background: var(--surface841fc-panel);
  font-size: 12.8px;
}

.surface841fc-diagnostic-row dt {
  color: #ff91b6;
  font-weight: 700;
}

.surface841fc-diagnostic-row dd {
  margin: 0;
  color: var(--surface841fc-soft);
}

.surface841fc-faq-stack {
  display: grid;
  gap: 8px;
  margin: 12px var(--surface841fc-gutter) 0;
}

.surface841fc-faq-stack details {
  border: 1px solid var(--surface841fc-hair);
  border-radius: var(--surface841fc-r-m);
  background: rgba(51, 51, 56, .82);
  overflow: hidden;
}

.surface841fc-faq-stack summary {
  min-height: 48px;
  padding: 12px 36px 12px 13px;
  color: var(--surface841fc-paper);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.surface841fc-faq-stack summary::after {
  content: "+";
  position: absolute;
  right: 13px;
  top: 9px;
  color: #ff91b6;
  font-size: 20px;
  font-weight: 400;
}

.surface841fc-faq-stack details[open] summary::after {
  content: "−";
}

.surface841fc-faq-stack details > p {
  padding: 0 13px 13px;
  color: var(--surface841fc-soft);
  font-size: 13px;
}

.surface841fc-checklist {
  display: grid;
  gap: 7px;
  margin: 12px var(--surface841fc-gutter) 0;
  padding: 0;
  list-style: none;
}

.surface841fc-checklist li {
  position: relative;
  padding: 9px 10px 9px 34px;
  border-bottom: 1px solid var(--surface841fc-hair);
  color: var(--surface841fc-soft);
  font-size: 13px;
}

.surface841fc-checklist li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface841fc-royal);
  color: var(--surface841fc-paper);
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.surface841fc-ledger {
  display: grid;
  gap: 10px;
  margin: 12px var(--surface841fc-gutter) 0;
}

.surface841fc-ledger article {
  position: relative;
  padding: 13px 13px 13px 16px;
  border: 1px solid var(--surface841fc-hair);
  border-top: 3px solid var(--surface841fc-magenta);
  border-radius: 5px var(--surface841fc-r-m) var(--surface841fc-r-m) var(--surface841fc-r-m);
  background: linear-gradient(135deg, var(--surface841fc-panel), rgba(65, 105, 225, .12));
}

.surface841fc-ledger h3 {
  margin-bottom: 4px;
  font-family: var(--surface841fc-head);
  font-size: 15px;
  color: var(--surface841fc-paper);
}

.surface841fc-ledger p {
  color: var(--surface841fc-soft);
  font-size: 13px;
}

.surface841fc-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px var(--surface841fc-gutter) 0;
}

.surface841fc-choice-grid article {
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--surface841fc-hair);
  border-radius: var(--surface841fc-r-m);
  background: var(--surface841fc-panel-2);
}

.surface841fc-choice-grid h3 {
  margin-bottom: 4px;
  color: #ff91b6;
  font-size: 13.5px;
}

.surface841fc-choice-grid p {
  color: var(--surface841fc-soft);
  font-size: 12px;
  line-height: 1.58;
}

.surface841fc-inline-promo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 11px var(--surface841fc-gutter) 0;
  padding: 8px 14px;
  border-radius: 999px 999px 999px 6px;
  background: var(--surface841fc-spark);
  color: var(--surface841fc-paper);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(173, 20, 87, .3);
}

.surface841fc-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px var(--surface841fc-gutter) 0;
}

.surface841fc-help-links a {
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--surface841fc-hair-strong);
  border-radius: 10px;
  color: #b9c9ff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 339px) {
  .surface841fc-choice-grid {
    grid-template-columns: 1fr;
  }

  .surface841fc-diagnostic-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
