/* ==========================================================================
   Game Zone Mobile - base stylesheet
   File    : css/tokens-dynamic-32b12d.css
   Canvas  : 320-430px mobile-first, dark teal "arcade terminal" direction
   Prefix  : surface32b12-  (tokens, layout, components)
   Palette : #004D40 / #80CBC4 / #333333 / #00CED1 / #F4A460 / #F5F5F5
   Type    : monospace accents + regular sans body
   Motion  : key CTA press feedback only, no decorative loops
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --surface32b12-c-deep:        #004D40;
  --surface32b12-c-deeper:      #00352C;
  --surface32b12-c-panel:       #015046;
  --surface32b12-c-panel-2:     #025A4F;
  --surface32b12-c-mist:        #80CBC4;
  --surface32b12-c-cyan:        #00CED1;
  --surface32b12-c-sand:        #F4A460;
  --surface32b12-c-paper:       #F5F5F5;
  --surface32b12-c-ink:         #333333;
  --surface32b12-c-line:        rgba(128, 203, 196, 0.20);
  --surface32b12-c-line-strong: rgba(0, 206, 209, 0.60);
  --surface32b12-c-veil:        rgba(0, 30, 25, 0.66);

  --surface32b12-font-body: system-ui, -apple-system, "Segoe UI", Roboto,
                            "Helvetica Neue", Arial, sans-serif;
  --surface32b12-font-mono: ui-monospace, "Cascadia Mono", "Roboto Mono",
                            Consolas, "Courier New", monospace;

  --surface32b12-r-card: 12px;
  --surface32b12-r-chip: 8px;
  --surface32b12-r-btn:  7px;

  --surface32b12-top-h:  64px;
  --surface32b12-dock-h: 78px;
}

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

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

body {
  margin: 0;
  font-family: var(--surface32b12-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--surface32b12-c-paper);
  background:
    radial-gradient(120% 60% at 50% 0%, #006154 0%, var(--surface32b12-c-deep) 46%, var(--surface32b12-c-deeper) 100%)
    var(--surface32b12-c-deeper);
  min-height: 100vh;
}

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

a { color: var(--surface32b12-c-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--surface32b12-c-sand);
  outline-offset: 2px;
  border-radius: 4px;
}

.surface32b12-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 99;
  background: var(--surface32b12-c-paper);
  color: var(--surface32b12-c-ink);
  padding: 8px 14px;
  border-radius: 0 0 var(--surface32b12-r-btn) 0;
  font-family: var(--surface32b12-font-mono);
  font-size: 12px;
}
.surface32b12-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Phone canvas shell (desktop keeps the centered mobile canvas)
   -------------------------------------------------------------------------- */
.surface32b12-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: clip;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

.surface32b12-main {
  padding: 0 12px calc(var(--surface32b12-dock-h) + 26px);
}

/* --------------------------------------------------------------------------
   4. Top bar - edge-aligned functional header
   -------------------------------------------------------------------------- */
.surface32b12-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--surface32b12-top-h);
  padding: 0 10px;
  background: rgba(0, 53, 44, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface32b12-c-line);
}

.surface32b12-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  color: var(--surface32b12-c-paper);
}

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

.surface32b12-brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  border: 1px solid var(--surface32b12-c-line-strong);
  object-fit: cover;
  background: var(--surface32b12-c-deeper);
}

.surface32b12-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.surface32b12-brand-line1 {
  font-family: var(--surface32b12-font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.surface32b12-brand-line2 {
  font-family: var(--surface32b12-font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface32b12-c-mist);
}

.surface32b12-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Compact edge CTAs - Register filled, Login outlined, sizes staggered */
.surface32b12-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--surface32b12-font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--surface32b12-r-btn);
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.15s ease,
              border-color 0.15s ease;
  text-decoration: none;
}

.surface32b12-btn:active { transform: translateY(1px) scale(0.97); }
.surface32b12-btn:hover  { text-decoration: none; }

.surface32b12-btn--login {
  min-height: 44px;
  padding: 0 10px;
  font-size: 10.5px;
  color: var(--surface32b12-c-mist);
  border: 1px solid var(--surface32b12-c-line-strong);
  background: rgba(0, 206, 209, 0.06);
}

.surface32b12-btn--register {
  min-height: 44px;
  padding: 0 14px;
  font-size: 11.5px;
  color: #062B24;
  background: linear-gradient(180deg, #17E5E8 0%, var(--surface32b12-c-cyan) 100%);
  border: 1px solid rgba(245, 245, 245, 0.35);
  box-shadow: 0 3px 10px rgba(0, 206, 209, 0.35);
}

.surface32b12-menu-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-btn);
  background: rgba(128, 203, 196, 0.08);
  color: var(--surface32b12-c-paper);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.surface32b12-menu-btn[aria-expanded="true"] {
  border-color: var(--surface32b12-c-line-strong);
  color: var(--surface32b12-c-cyan);
}

/* --------------------------------------------------------------------------
   5. Layered dropdown menu
   -------------------------------------------------------------------------- */
.surface32b12-drop {
  position: fixed;
  top: var(--surface32b12-top-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  background: rgba(1, 60, 51, 0.98);
  border-bottom: 1px solid var(--surface32b12-c-line-strong);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  padding: 10px 12px 14px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.surface32b12-drop.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.surface32b12-drop-group { margin-top: 10px; }
.surface32b12-drop-group:first-child { margin-top: 0; }

.surface32b12-drop-label {
  margin: 0 0 6px;
  font-family: var(--surface32b12-font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
}

.surface32b12-drop-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.surface32b12-drop-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12.5px;
  color: var(--surface32b12-c-paper);
  background: rgba(128, 203, 196, 0.07);
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-chip);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.surface32b12-drop-link:hover { text-decoration: none; color: var(--surface32b12-c-cyan); }
.surface32b12-drop-link.is-on {
  color: var(--surface32b12-c-cyan);
  border-color: var(--surface32b12-c-line-strong);
  background: rgba(0, 206, 209, 0.10);
}

.surface32b12-drop-link--wide { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.surface32b12-hero {
  position: relative;
  margin-top: calc(var(--surface32b12-top-h) + 12px);
  border-radius: var(--surface32b12-r-card);
  overflow: hidden;
  border: 1px solid var(--surface32b12-c-line);
  background: var(--surface32b12-c-deeper);
  aspect-ratio: 16 / 9;
}

.surface32b12-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.surface32b12-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.surface32b12-hero-slide.is-live { opacity: 1; z-index: 2; }

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

.surface32b12-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(0, 30, 25, 0) 0%, var(--surface32b12-c-veil) 78%);
  color: var(--surface32b12-c-paper);
}

.surface32b12-hero-kicker {
  display: block;
  font-family: var(--surface32b12-font-mono);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
}

.surface32b12-hero-title {
  display: block;
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.surface32b12-hero-cta {
  flex: 0 0 auto;
  font-family: var(--surface32b12-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #062B24;
  background: var(--surface32b12-c-cyan);
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

.surface32b12-hero-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  display: flex;
  gap: 5px;
}

.surface32b12-hero-dot {
  width: 22px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(128, 203, 196, 0.55);
  background: rgba(0, 30, 25, 0.45);
  cursor: pointer;
}

.surface32b12-hero-dot.is-live {
  background: var(--surface32b12-c-cyan);
  border-color: var(--surface32b12-c-cyan);
}

/* --------------------------------------------------------------------------
   7. Page heading, lead block + category chips
   -------------------------------------------------------------------------- */
.surface32b12-page-h1 {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.surface32b12-lead {
  margin: 14px 0 0;
  padding: 12px;
  border-left: 3px solid var(--surface32b12-c-sand);
  background: rgba(128, 203, 196, 0.07);
  border-radius: 0 var(--surface32b12-r-card) var(--surface32b12-r-card) 0;
  font-size: 13px;
}

.surface32b12-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.surface32b12-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  font-family: var(--surface32b12-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--surface32b12-c-paper);
  background: rgba(128, 203, 196, 0.08);
  border: 1px solid var(--surface32b12-c-line);
  border-radius: 999px;
}

.surface32b12-chip:hover { text-decoration: none; border-color: var(--surface32b12-c-line-strong); }

.surface32b12-chip-n {
  font-size: 9px;
  color: var(--surface32b12-c-sand);
}

/* --------------------------------------------------------------------------
   8. Game shelves
   -------------------------------------------------------------------------- */
.surface32b12-sec { margin-top: 22px; }

.surface32b12-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dashed var(--surface32b12-c-line);
  padding-bottom: 7px;
}

.surface32b12-sec-idx {
  font-family: var(--surface32b12-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #062B24;
  background: var(--surface32b12-c-sand);
  border-radius: 5px;
  padding: 1px 6px;
}

.surface32b12-sec-title {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.surface32b12-sec-note {
  margin: 8px 0 10px;
  font-size: 12.5px;
  color: var(--surface32b12-c-mist);
}

.surface32b12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 375px) {
  .surface32b12-grid { grid-template-columns: repeat(5, 1fr); }
}

.surface32b12-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px;
  background: rgba(245, 245, 245, 0.045);
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-card);
  color: var(--surface32b12-c-paper);
  transition: border-color 0.15s ease;
}

.surface32b12-tile:hover { text-decoration: none; border-color: var(--surface32b12-c-line-strong); }
.surface32b12-tile:active { transform: scale(0.97); }

.surface32b12-tile-art {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface32b12-c-deeper);
}

.surface32b12-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.surface32b12-tile-name {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mixed sizing: every shelf opens with one wide feature tile */
.surface32b12-tile--xl {
  grid-column: span 2;
  padding: 8px;
  background: linear-gradient(180deg, rgba(0, 206, 209, 0.14) 0%, rgba(245, 245, 245, 0.04) 100%);
  border-color: var(--surface32b12-c-line-strong);
}

.surface32b12-tile-tag {
  font-family: var(--surface32b12-font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Editorial modules after the shelves
   -------------------------------------------------------------------------- */
.surface32b12-mod { margin-top: 26px; }

.surface32b12-mod-title {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.3;
}

.surface32b12-mod-p {
  margin: 0 0 10px;
  font-size: 13px;
}

.surface32b12-mod-p strong { color: var(--surface32b12-c-paper); }

/* Category highlights: compact two-up cards */
.surface32b12-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.surface32b12-duo-card {
  padding: 10px;
  background: rgba(128, 203, 196, 0.06);
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-card);
}

.surface32b12-duo-kicker {
  display: block;
  font-family: var(--surface32b12-font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
  margin-bottom: 4px;
}

.surface32b12-duo-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.surface32b12-duo-text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--surface32b12-c-mist);
}

/* RTP analysis: keyed rows with monospace figures */
.surface32b12-rtp {
  margin-top: 12px;
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-card);
  overflow: hidden;
}

.surface32b12-rtp-row {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(0, 30, 25, 0.30);
}

.surface32b12-rtp-row + .surface32b12-rtp-row { border-top: 1px solid var(--surface32b12-c-line); }

.surface32b12-rtp-key {
  flex: 0 0 84px;
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--surface32b12-c-cyan);
  line-height: 1.45;
}

.surface32b12-rtp-val {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--surface32b12-c-paper);
}

/* Direct answer panel */
.surface32b12-answer {
  border-left: 3px solid var(--surface32b12-c-cyan);
  background: rgba(0, 206, 209, 0.07);
  border-radius: 0 var(--surface32b12-r-card) var(--surface32b12-r-card) 0;
  padding: 12px;
}

.surface32b12-answer-tag {
  font-family: var(--surface32b12-font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--surface32b12-c-cyan);
}

.surface32b12-answer .surface32b12-mod-p { margin-bottom: 8px; }
.surface32b12-answer .surface32b12-mod-p:last-child { margin-bottom: 0; }

/* Step summary: compact numbered list */
.surface32b12-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: surface32b12-step;
}

.surface32b12-steps li {
  counter-increment: surface32b12-step;
  position: relative;
  padding: 9px 10px 9px 40px;
  font-size: 12.5px;
  line-height: 1.55;
}

.surface32b12-steps li + li { border-top: 1px dashed var(--surface32b12-c-line); }

.surface32b12-steps li::before {
  content: counter(surface32b12-step, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 11px;
  font-family: var(--surface32b12-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--surface32b12-c-sand);
}

/* --------------------------------------------------------------------------
   10. Extended footer (compact groups: promos > brand > directory > disclaimer)
   -------------------------------------------------------------------------- */
.surface32b12-xfoot {
  margin-top: 30px;
  border-top: 1px solid var(--surface32b12-c-line-strong);
  padding-top: 14px;
}

.surface32b12-xgroup + .surface32b12-xgroup { margin-top: 16px; }

.surface32b12-xlabel {
  margin: 0 0 8px;
  font-family: var(--surface32b12-font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
}

.surface32b12-xpromos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.surface32b12-xpromo {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 9px;
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #062B24;
  background: linear-gradient(180deg, #19E8EB 0%, var(--surface32b12-c-cyan) 100%);
  border-radius: var(--surface32b12-r-btn);
}

.surface32b12-xpromo--alt {
  color: var(--surface32b12-c-paper);
  background: rgba(128, 203, 196, 0.08);
  border: 1px solid var(--surface32b12-c-line-strong);
}

.surface32b12-xpromo:hover { text-decoration: none; filter: brightness(1.06); }
.surface32b12-xpromo:active { transform: translateY(1px) scale(0.98); }

.surface32b12-xpromo-glyph {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.surface32b12-xbrand {
  margin: 0;
  font-size: 12px;
  color: var(--surface32b12-c-mist);
}

.surface32b12-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.surface32b12-xdir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--surface32b12-c-paper);
  background: rgba(128, 203, 196, 0.06);
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-chip);
}

.surface32b12-xdir a:hover {
  text-decoration: none;
  border-color: var(--surface32b12-c-line-strong);
  color: var(--surface32b12-c-cyan);
}

.surface32b12-xdisclaimer {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(128, 203, 196, 0.75);
}

/* --------------------------------------------------------------------------
   11. Legal bar (shared minimal footer)
   -------------------------------------------------------------------------- */
.surface32b12-legal {
  margin-top: 18px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--surface32b12-c-line);
  text-align: center;
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(128, 203, 196, 0.72);
}

/* --------------------------------------------------------------------------
   12. Bottom dock - outlined functional bar, five roles
   -------------------------------------------------------------------------- */
.surface32b12-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 75;
  padding: 0 8px calc(8px + env(safe-area-inset-bottom, 0px));
}

.surface32b12-dock-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 5px;
  background: rgba(0, 53, 44, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface32b12-c-line-strong);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.surface32b12-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  font-family: var(--surface32b12-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface32b12-c-mist);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 0.08s ease, color 0.15s ease,
              border-color 0.15s ease, background-color 0.15s ease;
}

.surface32b12-dock-item:active { transform: scale(0.93); }
.surface32b12-dock-item:hover  { text-decoration: none; }

.surface32b12-dock-item svg { width: 20px; height: 20px; }

.surface32b12-dock-item.is-on {
  color: var(--surface32b12-c-cyan);
  border-color: var(--surface32b12-c-line-strong);
  background: rgba(0, 206, 209, 0.12);
}

.surface32b12-dock-item--cta { color: var(--surface32b12-c-paper); }

.surface32b12-dock-item--cta .surface32b12-dock-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--surface32b12-c-sand);
}

/* --------------------------------------------------------------------------
   13. Utilities + reduced motion
   -------------------------------------------------------------------------- */
.surface32b12-nowrap { white-space: nowrap; }

@media (min-width: 430px) {
  .surface32b12-tile-name { font-size: 11px; }
  .surface32b12-hero-title { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* --------------------------------------------------------------------------
   14. Help pages - editorial rails and practical reading patterns
   -------------------------------------------------------------------------- */
.surface32b12-help-main {
  padding-top: calc(var(--surface32b12-top-h) + 18px);
}

.surface32b12-help-main > .surface32b12-help-kicker {
  margin: 0 0 8px;
}

.surface32b12-help-kicker,
.surface32b12-help-label {
  font-family: var(--surface32b12-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--surface32b12-c-sand);
}

.surface32b12-help-h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.surface32b12-help-intro {
  margin: 12px 0 0;
  color: var(--surface32b12-c-mist);
  font-size: 13.5px;
}

.surface32b12-help-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 16px 0 0;
  padding: 0 0 4px;
  scrollbar-width: none;
}

.surface32b12-help-rail::-webkit-scrollbar { display: none; }

.surface32b12-help-rail a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--surface32b12-c-line-strong);
  border-radius: 999px;
  background: rgba(0, 206, 209, 0.08);
  color: var(--surface32b12-c-paper);
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.surface32b12-help-rail a:hover { text-decoration: none; color: var(--surface32b12-c-cyan); }

.surface32b12-help-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--surface32b12-c-line);
}

.surface32b12-help-section h2 {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.3;
}

.surface32b12-help-section > p,
.surface32b12-help-section > ul,
.surface32b12-help-section > ol {
  margin-top: 0;
  font-size: 13px;
}

.surface32b12-help-section p { margin-bottom: 10px; }

.surface32b12-help-section ul,
.surface32b12-help-section ol {
  padding-left: 21px;
  margin-bottom: 10px;
}

.surface32b12-help-section li { margin: 0 0 8px; }

.surface32b12-help-section li::marker { color: var(--surface32b12-c-sand); }

.surface32b12-help-callout {
  margin: 12px 0;
  padding: 12px;
  border-left: 3px solid var(--surface32b12-c-cyan);
  background: rgba(0, 206, 209, 0.08);
  border-radius: 0 var(--surface32b12-r-card) var(--surface32b12-r-card) 0;
}

.surface32b12-help-callout p:last-child { margin-bottom: 0; }

.surface32b12-help-callout strong { color: var(--surface32b12-c-paper); }

.surface32b12-help-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 11.5px;
}

.surface32b12-help-table th,
.surface32b12-help-table td {
  padding: 8px 7px;
  border: 1px solid var(--surface32b12-c-line);
  vertical-align: top;
  text-align: left;
}

.surface32b12-help-table th {
  color: var(--surface32b12-c-cyan);
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.surface32b12-help-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 4px;
}

.surface32b12-help-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--surface32b12-r-btn);
  border: 1px solid var(--surface32b12-c-line-strong);
  background: var(--surface32b12-c-cyan);
  color: #062B24;
  font-family: var(--surface32b12-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.surface32b12-help-action--quiet {
  background: rgba(128, 203, 196, 0.08);
  color: var(--surface32b12-c-paper);
}

.surface32b12-help-action:hover { text-decoration: none; filter: brightness(1.08); }
.surface32b12-help-action:active { transform: translateY(1px) scale(0.98); }

.surface32b12-help-qa {
  margin: 10px 0 0;
  border-top: 1px dashed var(--surface32b12-c-line);
}

.surface32b12-help-qa details {
  padding: 10px 0;
  border-bottom: 1px dashed var(--surface32b12-c-line);
}

.surface32b12-help-qa summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  color: var(--surface32b12-c-paper);
  font-weight: 700;
}

.surface32b12-help-qa details p { margin: 0 0 2px; color: var(--surface32b12-c-mist); }

.surface32b12-help-score {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.surface32b12-help-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-chip);
  background: rgba(128, 203, 196, 0.05);
}

.surface32b12-help-score-row span:first-child { font-weight: 700; }
.surface32b12-help-score-row span:last-child {
  color: var(--surface32b12-c-sand);
  font-family: var(--surface32b12-font-mono);
  font-size: 10px;
}

.surface32b12-help-quote {
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid var(--surface32b12-c-line);
  border-radius: var(--surface32b12-r-card);
  color: var(--surface32b12-c-mist);
  font-size: 12px;
  font-style: italic;
}

@media (max-width: 350px) {
  .surface32b12-help-actions { grid-template-columns: 1fr; }
  .surface32b12-help-h1 { font-size: 20px; }
}
