/* ============================================================
   UEFA Nations League - uefanationsleague.click
   Mobile-first canvas stylesheet (320-430px phone frame)
   Palette: #98FB98 | #3A3A3A | #8FBC8F | #9AFF9A | #999999
   Design tone: mono accents + square catalog tiles + rounded
   action buttons + square-corner high-contrast CTAs.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --surface7a0e3-bg: #3a3a3a;            /* page background (dark base) */
  --surface7a0e3-bg-deep: #2b2b2b;       /* chrome: dock, drawer, footer */
  --surface7a0e3-panel: #303030;         /* tiles, cards, panels */
  --surface7a0e3-mint: #98fb98;          /* primary light tone */
  --surface7a0e3-glow: #9aff9a;          /* highlight tone */
  --surface7a0e3-sage: #8fbc8f;          /* mid green, borders/kickers */
  --surface7a0e3-ash: #999999;           /* muted gray text */
  --surface7a0e3-on-mint: #1e2b1e;       /* ink used on mint fills */
  --surface7a0e3-line: rgba(143, 188, 143, 0.30);
  --surface7a0e3-line-soft: rgba(153, 153, 153, 0.22);
  --surface7a0e3-font-mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", Consolas, "Courier New", monospace;
  --surface7a0e3-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --surface7a0e3-shell-max: 430px;
  --surface7a0e3-dock-h: 66px;
  --surface7a0e3-top-h: 92px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--surface7a0e3-font-body);
  background: #1f1f1f;
  color: var(--surface7a0e3-mint);
  line-height: 1.62;
  font-size: 15px;
  min-height: 100vh;
}

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

a { color: var(--surface7a0e3-glow); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--surface7a0e3-glow);
  outline-offset: 2px;
}

/* ---------- phone shell (wide screens keep the canvas centered) ---------- */
.surface7a0e3-shell {
  position: relative;
  width: 100%;
  max-width: var(--surface7a0e3-shell-max); /* 430px canvas */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface7a0e3-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

/* asymmetric top chrome ------------------------------------- */
.surface7a0e3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surface7a0e3-shell-max);
  z-index: 60;
  background: linear-gradient(103deg, var(--surface7a0e3-bg-deep) 0 62%, rgba(143, 188, 143, 0.10) 62% 100%);
  border-bottom: 1px solid var(--surface7a0e3-line);
}

.surface7a0e3-brandRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px 6px;
}

.surface7a0e3-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.surface7a0e3-logoTile {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-panel);
  padding: 3px;
}

.surface7a0e3-brandName {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--surface7a0e3-glow);
  text-transform: uppercase;
}

.surface7a0e3-brandName small {
  display: block;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--surface7a0e3-sage);
}

.surface7a0e3-menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-panel);
  color: var(--surface7a0e3-mint);
  border-radius: 999px; /* round utility button */
}

.surface7a0e3-menuBtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.surface7a0e3-menuBtn span::before,
.surface7a0e3-menuBtn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.surface7a0e3-menuBtn span::before { top: -6px; }
.surface7a0e3-menuBtn span::after { top: 6px; }

.surface7a0e3-menuBtn[aria-expanded="true"] {
  border-color: var(--surface7a0e3-mint);
  color: var(--surface7a0e3-glow);
}

/* action row sits outside the brand zone (asymmetric header) */
.surface7a0e3-actionRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 10px;
}

.surface7a0e3-btnPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;                       /* round buttons */
  font-family: var(--surface7a0e3-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease; /* key CTA feedback */
}

.surface7a0e3-btnPill:hover { text-decoration: none; }

.surface7a0e3-btnRegister {
  background: var(--surface7a0e3-glow);
  color: var(--surface7a0e3-on-mint);
  box-shadow: 0 3px 0 rgba(143, 188, 143, 0.45);
}

.surface7a0e3-btnRegister:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(143, 188, 143, 0.45); }

.surface7a0e3-btnLogin {
  background: transparent;
  color: var(--surface7a0e3-mint);
  border: 1px solid var(--surface7a0e3-sage);
}

.surface7a0e3-btnLogin:active { transform: translateY(1px); }

.surface7a0e3-actionHint {
  margin-left: auto;
  font-family: var(--surface7a0e3-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--surface7a0e3-ash);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.5;
}

/* stacked overlay menu --------------------------------------- */
.surface7a0e3-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateX(102%);
  width: 100%;
  max-width: var(--surface7a0e3-shell-max);
  z-index: 90;
  background: rgba(43, 43, 43, 0.985);
  border-left: 1px solid var(--surface7a0e3-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease;
  visibility: hidden;
}

.surface7a0e3-drawer[data-open="true"] {
  transform: translateX(-50%) translateX(0);
  visibility: visible;
}

.surface7a0e3-drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--surface7a0e3-line-soft);
}

.surface7a0e3-drawerTitle {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--surface7a0e3-sage);
  text-transform: uppercase;
}

.surface7a0e3-drawerClose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface7a0e3-line);
  border-radius: 999px;
  color: var(--surface7a0e3-mint);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 16px;
}

.surface7a0e3-drawerList {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 0 24px;
}

.surface7a0e3-drawerList a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 52px;
  padding: 8px 18px;
  color: var(--surface7a0e3-mint);
  border-bottom: 1px solid var(--surface7a0e3-line-soft);
  position: relative;
}

.surface7a0e3-drawerList a:hover { text-decoration: none; background: rgba(143, 188, 143, 0.08); }

/* active state = underline marker */
.surface7a0e3-drawerList a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 4px;
  width: 34px;
  height: 2px;
  background: var(--surface7a0e3-glow);
}

.surface7a0e3-drawerIndex {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10px;
  color: var(--surface7a0e3-sage);
  letter-spacing: 0.1em;
}

.surface7a0e3-drawerLabel {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* micro-interaction: descriptor labels reveal on open */
.surface7a0e3-drawerTag {
  display: block;
  font-family: var(--surface7a0e3-font-body);
  font-size: 11px;
  color: var(--surface7a0e3-ash);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.surface7a0e3-drawer[data-open="true"] .surface7a0e3-drawerTag {
  opacity: 1;
  transform: translateY(0);
}

.surface7a0e3-drawerFoot {
  padding: 12px 18px 18px;
  border-top: 1px solid var(--surface7a0e3-line-soft);
  font-size: 11px;
  color: var(--surface7a0e3-ash);
}

/* ---------- main flow ---------- */
.surface7a0e3-main {
  padding-top: calc(var(--surface7a0e3-top-h) + 6px);
  padding-bottom: calc(var(--surface7a0e3-dock-h) + 26px); /* keep content clear of the dock */
  padding-left: 14px;
  padding-right: 14px;
}

/* hero -------------------------------------------------------- */
.surface7a0e3-hero {
  padding: 14px 0 4px;
  border-bottom: 1px dashed var(--surface7a0e3-line-soft);
  margin-bottom: 14px;
}

.surface7a0e3-kicker {
  display: inline-block;
  font-family: var(--surface7a0e3-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--surface7a0e3-sage);
  border: 1px solid var(--surface7a0e3-line);
  padding: 3px 8px;
  margin-bottom: 10px;
}

.surface7a0e3-hero h1 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--surface7a0e3-glow);
  margin-bottom: 10px;
}

.surface7a0e3-lede {
  color: #d6ecd9;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.surface7a0e3-ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 12px;
}

/* square-corner, high-contrast CTA */
.surface7a0e3-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  background: var(--surface7a0e3-mint);
  color: var(--surface7a0e3-on-mint);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;                 /* square CTA corners */
  box-shadow: 4px 4px 0 rgba(154, 255, 154, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.surface7a0e3-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(154, 255, 154, 0.22);
}

.surface7a0e3-cta:hover { text-decoration: none; color: var(--surface7a0e3-on-mint); }

.surface7a0e3-ctaGhost {
  background: transparent;
  color: var(--surface7a0e3-mint);
  border: 1px solid var(--surface7a0e3-sage);
  box-shadow: none;
}

.surface7a0e3-ctaGhost:active { transform: translate(1px, 1px); }

.surface7a0e3-heroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--surface7a0e3-ash);
  text-transform: uppercase;
}

/* carousel ---------------------------------------------------- */
.surface7a0e3-carousel {
  position: relative;
  margin: 6px 0 16px;
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-bg-deep);
  overflow: hidden;
}

.surface7a0e3-track {
  position: relative;
  aspect-ratio: 2 / 1;
}

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

.surface7a0e3-slide[data-active="true"] { opacity: 1; z-index: 2; }

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

.surface7a0e3-slideCap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0) 0%, rgba(30, 43, 30, 0.92) 78%);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--surface7a0e3-glow);
  text-transform: uppercase;
}

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

.surface7a0e3-dot {
  width: 12px;
  height: 12px;
  border: 1px solid var(--surface7a0e3-glow);
  border-radius: 999px;
  background: transparent;
  padding: 0;
}

.surface7a0e3-dot[data-active="true"] { background: var(--surface7a0e3-glow); }

/* sections ---------------------------------------------------- */
.surface7a0e3-section {
  margin: 0 0 26px;
}

.surface7a0e3-sectionHead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid var(--surface7a0e3-line);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.surface7a0e3-sectionHead h2 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--surface7a0e3-glow);
  letter-spacing: 0.01em;
}

.surface7a0e3-count {
  margin-left: auto;
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10px;
  color: var(--surface7a0e3-sage);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.surface7a0e3-lead {
  font-size: 13.5px;
  color: #d6ecd9;
  margin-bottom: 12px;
}

.surface7a0e3-lead a { text-decoration: underline; }

/* game grid: compact square-tile catalog ---------------------- */
.surface7a0e3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columns at 320px */
  gap: 8px;
}

.surface7a0e3-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface7a0e3-panel);
  border: 1px solid var(--surface7a0e3-line-soft);
  border-radius: 2px;                 /* square card form */
  padding: 5px 5px 6px;
  cursor: pointer;
  text-align: center;
}

.surface7a0e3-tile:hover { text-decoration: none; border-color: var(--surface7a0e3-sage); }

.surface7a0e3-tile:active { border-color: var(--surface7a0e3-glow); }

.surface7a0e3-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #242424;
  border-radius: 0;
}

.surface7a0e3-tileName {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
  color: var(--surface7a0e3-mint);
  margin-top: 5px;
  min-height: 27px;
  overflow-wrap: anywhere;
}

/* editorial blocks -------------------------------------------- */
.surface7a0e3-prose p {
  font-size: 14px;
  color: #d6ecd9;
  margin-bottom: 12px;
}

.surface7a0e3-prose h3 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13.5px;
  color: var(--surface7a0e3-glow);
  margin: 16px 0 6px;
}

.surface7a0e3-note {
  border-left: 3px solid var(--surface7a0e3-sage);
  background: rgba(143, 188, 143, 0.08);
  padding: 10px 12px;
  font-size: 13px;
  color: #cfe8d2;
  margin: 12px 0;
}

/* steps list (mono numerals, single column) */
.surface7a0e3-steps { counter-reset: surface7a0e3step; }

.surface7a0e3-steps li {
  counter-increment: surface7a0e3step;
  position: relative;
  padding: 8px 0 8px 44px;
  border-bottom: 1px solid var(--surface7a0e3-line-soft);
  font-size: 13.5px;
  color: #d6ecd9;
}

.surface7a0e3-steps li::before {
  content: counter(surface7a0e3step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-panel);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 11px;
  color: var(--surface7a0e3-glow);
}

.surface7a0e3-steps strong { color: var(--surface7a0e3-glow); font-weight: 700; }

/* comparison / selection table */
.surface7a0e3-pickGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
}

.surface7a0e3-pick {
  border: 1px solid var(--surface7a0e3-line-soft);
  border-radius: 2px;
  background: var(--surface7a0e3-panel);
  padding: 10px;
}

.surface7a0e3-pick dt {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface7a0e3-glow);
  margin-bottom: 4px;
}

.surface7a0e3-pick dd {
  font-size: 12.5px;
  color: #cfe8d2;
  line-height: 1.5;
}

/* FAQ: open blocks, always-visible answers */
.surface7a0e3-faq { border-top: 1px solid var(--surface7a0e3-line-soft); }

.surface7a0e3-faq h3 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13px;
  line-height: 1.45;
  color: var(--surface7a0e3-glow);
  padding: 10px 0 4px;
}

.surface7a0e3-faq p {
  font-size: 13.5px;
  color: #d6ecd9;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface7a0e3-line-soft);
  margin-bottom: 2px;
}

/* checklist with square outline markers */
.surface7a0e3-checklist li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-size: 13.5px;
  color: #d6ecd9;
  border-bottom: 1px dashed var(--surface7a0e3-line-soft);
}

.surface7a0e3-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--surface7a0e3-sage);
  background: rgba(143, 188, 143, 0.10);
}

/* step recap strip */
.surface7a0e3-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.surface7a0e3-recap span {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--surface7a0e3-glow);
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-panel);
  padding: 6px 10px;
  border-radius: 2px;
}

/* ---------- extended homepage footer ---------- */
.surface7a0e3-extFooter {
  margin: 30px 0 0;
  border-top: 2px solid var(--surface7a0e3-sage);
  background: var(--surface7a0e3-bg-deep);
  margin-left: -14px;
  margin-right: -14px;
  padding: 18px 14px 6px;
}

.surface7a0e3-extBlock { margin-bottom: 20px; }

.surface7a0e3-extTitle {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface7a0e3-sage);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--surface7a0e3-line-soft);
}

/* two-column page directory */
.surface7a0e3-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.surface7a0e3-directory a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--surface7a0e3-line-soft);
  border-radius: 2px;
  background: var(--surface7a0e3-panel);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--surface7a0e3-mint);
}

.surface7a0e3-directory a:hover {
  text-decoration: none;
  border-color: var(--surface7a0e3-sage);
  color: var(--surface7a0e3-glow);
}

.surface7a0e3-dirIcon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface7a0e3-line);
  color: var(--surface7a0e3-glow);
}

.surface7a0e3-dirIcon svg { width: 12px; height: 12px; }

/* brand blurb */
.surface7a0e3-brandBlurb {
  font-size: 13px;
  color: #cfe8d2;
}

/* promotion entries: icon + text labels */
.surface7a0e3-promoList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.surface7a0e3-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid var(--surface7a0e3-sage);
  border-radius: 0;                    /* square promo buttons */
  color: var(--surface7a0e3-mint);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}

.surface7a0e3-promo:hover { text-decoration: none; background: rgba(154, 255, 154, 0.10); }

.surface7a0e3-promo:active { background: rgba(154, 255, 154, 0.20); }

.surface7a0e3-promoIcon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface7a0e3-line);
  color: var(--surface7a0e3-glow);
}

.surface7a0e3-promoIcon svg { width: 14px; height: 14px; }

/* conditional disclaimer note */
.surface7a0e3-disclaimer {
  border: 1px dashed var(--surface7a0e3-line);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--surface7a0e3-ash);
  background: rgba(153, 153, 153, 0.06);
}

/* ---------- common footer ---------- */
.surface7a0e3-footer {
  border-top: 1px solid var(--surface7a0e3-line-soft);
  background: var(--surface7a0e3-bg-deep);
  margin: 0 -14px;
  padding: 12px 14px 10px;
  text-align: center;
}

.surface7a0e3-copy {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--surface7a0e3-ash);
  text-transform: uppercase;
}

/* ---------- mobile dock (outlined function bar) ---------- */
.surface7a0e3-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surface7a0e3-shell-max);
  height: calc(var(--surface7a0e3-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(43, 43, 43, 0.97);
  border-top: 1px solid var(--surface7a0e3-sage);
  backdrop-filter: blur(6px);
}

.surface7a0e3-dockItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--surface7a0e3-ash);
  font-family: var(--surface7a0e3-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 4px;
}

.surface7a0e3-dockItem:hover { text-decoration: none; color: var(--surface7a0e3-mint); }

/* containerized symbol tile */
.surface7a0e3-dockIcon {
  width: 30px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface7a0e3-line);
  border-radius: 6px;
  background: var(--surface7a0e3-panel);
  color: inherit;
}

.surface7a0e3-dockIcon svg { width: 14px; height: 14px; }

/* active marker: underline bar under the tile */
.surface7a0e3-dockItem[aria-current="page"] { color: var(--surface7a0e3-glow); }

.surface7a0e3-dockItem[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 26px;
  height: 2px;
  background: var(--surface7a0e3-glow);
}

/* label reveal micro-interaction */
.surface7a0e3-dockItem .surface7a0e3-dockLabel {
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.surface7a0e3-dockItem:hover .surface7a0e3-dockLabel,
.surface7a0e3-dockItem:focus-visible .surface7a0e3-dockLabel,
.surface7a0e3-dockItem[aria-current="page"] .surface7a0e3-dockLabel {
  opacity: 1;
  transform: translateY(-1px);
}

/* promo dock entries get the mint treatment */
.surface7a0e3-dockItem[data-role="promo"] .surface7a0e3-dockIcon {
  border-color: var(--surface7a0e3-sage);
  color: var(--surface7a0e3-glow);
}

/* ---------- breakpoints ---------- */
@media (min-width: 375px) {
  .surface7a0e3-hero h1 { font-size: 21.5px; }
  .surface7a0e3-sectionHead h2 { font-size: 16.5px; }
}

/* 5 game columns on wider phones */
@media (min-width: 384px) {
  .surface7a0e3-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 414px) {
  .surface7a0e3-brandName { font-size: 14px; }
  .surface7a0e3-promoList { gap: 10px; }
}

/* keep long clamp behavior stable when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- helpers ---------- */
.surface7a0e3-skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface7a0e3-mint);
  color: var(--surface7a0e3-on-mint);
  padding: 8px 14px;
  font-family: var(--surface7a0e3-font-mono);
  font-size: 12px;
  z-index: 200;
}

.surface7a0e3-skipLink:focus { left: 8px; top: 8px; }

/* help pages: dossier panels (about) vs numbered question rows (faqs) */
.surface7a0e3-dossier {
  margin: 0 0 22px;
  padding: 12px 12px 8px;
  border: 1px solid var(--surface7a0e3-line);
  background: var(--surface7a0e3-panel);
}

.surface7a0e3-dossier h2 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--surface7a0e3-glow);
  margin-bottom: 8px;
}

.surface7a0e3-dossier p,
.surface7a0e3-symptom p {
  font-size: 14px;
  color: #d6ecd9;
  margin-bottom: 10px;
}

.surface7a0e3-qstack { margin: 0 0 22px; }

.surface7a0e3-qitem {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--surface7a0e3-line-soft);
}

.surface7a0e3-qnum {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 12px;
  color: var(--surface7a0e3-glow);
  padding-top: 3px;
}

.surface7a0e3-qitem h3 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--surface7a0e3-glow);
  margin-bottom: 4px;
}

.surface7a0e3-qitem p {
  font-size: 13.5px;
  color: #d6ecd9;
}

.surface7a0e3-symptom {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--surface7a0e3-mint);
  background: rgba(154, 255, 154, 0.05);
}

.surface7a0e3-symptom h3 {
  font-family: var(--surface7a0e3-font-mono);
  font-size: 13px;
  color: var(--surface7a0e3-glow);
  margin-bottom: 4px;
}

.surface7a0e3-visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
