/* ============================================================
   steamin reels - display-compact-25e243.css
   Mobile-first styles for a 320-430px phone canvas.
   Class prefix: surface5e243-  |  Design: dark sectioned panels,
   low corner radius, square high-contrast CTAs, state-color motion.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --surface5e243-ink-bg: #1b1b1b;          /* page backdrop outside canvas */
  --surface5e243-canvas: #2c2c2c;          /* phone canvas base */
  --surface5e243-panel: #242424;           /* raised panel */
  --surface5e243-panel-deep: #1f1f1f;      /* sunken panel */
  --surface5e243-text: #e9fff8;            /* primary light text */
  --surface5e243-text-soft: #b9d6cd;       /* secondary text */
  --surface5e243-text-faint: #8aa79f;      /* tertiary text */
  --surface5e243-teal: #40e0d0;            /* brand accent 1 */
  --surface5e243-mint: #00fa9a;            /* brand accent 2 (CTA fill) */
  --surface5e243-cyan: #00e5ff;            /* brand accent 3 (links/focus) */
  --surface5e243-spring: #00ff7f;          /* brand accent 4 (marks) */
  --surface5e243-warm: #ffd166;            /* hot badge */
  --surface5e243-line: rgba(64, 224, 208, 0.24);
  --surface5e243-line-soft: rgba(64, 224, 208, 0.13);
  --surface5e243-radius: 3px;              /* low corner radius system */
  --surface5e243-font-head: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
  --surface5e243-font-body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --surface5e243-nav-h: 58px;              /* header brand row height */
  --surface5e243-strip-h: 46px;            /* header action strip height */
  --surface5e243-bottomnav-h: 62px;        /* mobile bottom nav height */
}

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

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

body {
  font-family: var(--surface5e243-font-body);
  background: var(--surface5e243-ink-bg);
  color: var(--surface5e243-text);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--surface5e243-cyan); text-decoration: none; }
a:hover { color: var(--surface5e243-spring); }

ul, ol { list-style-position: inside; }

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

:focus-visible {
  outline: 2px solid var(--surface5e243-cyan);
  outline-offset: 2px;
}

/* screen-reader only helper */
.surface5e243-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- phone canvas shell ---------- */
.surface5e243-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background: var(--surface5e243-canvas);
  min-height: 100vh;
  border-left: 1px solid var(--surface5e243-line-soft);
  border-right: 1px solid var(--surface5e243-line-soft);
  overflow: hidden;
}

/* content flow under fixed header + above fixed bottom nav */
.surface5e243-main {
  padding-top: calc(var(--surface5e243-nav-h) + var(--surface5e243-strip-h));
  padding-bottom: calc(var(--surface5e243-bottomnav-h) + 26px + env(safe-area-inset-bottom));
  padding-left: 12px;
  padding-right: 12px;
}

/* ---------- fixed header ---------- */
.surface5e243-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(31, 31, 31, 0.97);
  border-bottom: 1px solid var(--surface5e243-line);
}

/* asymmetric brand row: wide brand block left, compact menu control right */
.surface5e243-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--surface5e243-nav-h);
  padding: 8px 12px 6px;
}

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

.surface5e243-brand img {
  width: 38px; height: 38px;
  object-fit: contain;
  border: 1px solid var(--surface5e243-line);
  border-radius: var(--surface5e243-radius);
  background: var(--surface5e243-panel);
  flex: 0 0 auto;
}

.surface5e243-brand-name {
  font-family: var(--surface5e243-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--surface5e243-teal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* menu control with lightweight activation mark */
.surface5e243-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--surface5e243-line);
  border-radius: var(--surface5e243-radius);
  color: var(--surface5e243-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.surface5e243-menu-btn:hover { color: var(--surface5e243-mint); border-color: var(--surface5e243-mint); }
.surface5e243-menu-btn .surface5e243-menu-glyph {
  display: inline-block;
  width: 16px; height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.surface5e243-menu-btn .surface5e243-menu-glyph::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 3px;
  border-top: 2px solid currentColor;
}
.surface5e243-menu-btn[aria-expanded="true"] {
  color: var(--surface5e243-spring);
  border-color: var(--surface5e243-spring);
}

/* action strip: Register / Login full-width split */
.surface5e243-actionstrip {
  display: flex;
  gap: 8px;
  min-height: var(--surface5e243-strip-h);
  padding: 0 12px 8px;
}

.surface5e243-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--surface5e243-radius);   /* square-corner CTA */
  font-family: var(--surface5e243-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
  border: 1px solid transparent;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.surface5e243-btn-register {
  flex: 1 1 58%;
  background: var(--surface5e243-mint);
  border-color: var(--surface5e243-mint);
  color: #062018;
}
.surface5e243-btn-register:hover {
  background: var(--surface5e243-spring);
  border-color: var(--surface5e243-spring);
  color: #062018;
}

.surface5e243-btn-login {
  flex: 1 1 42%;
  background: transparent;
  border-color: var(--surface5e243-cyan);
  color: var(--surface5e243-cyan);
}
.surface5e243-btn-login:hover {
  border-color: var(--surface5e243-spring);
  color: var(--surface5e243-spring);
}

/* ---------- sectioned drop menu ---------- */
.surface5e243-menu {
  position: fixed;
  top: calc(var(--surface5e243-nav-h) + var(--surface5e243-strip-h));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--surface5e243-nav-h) - var(--surface5e243-strip-h) - var(--surface5e243-bottomnav-h));
  overflow-y: auto;
  z-index: 55;
  background: var(--surface5e243-panel-deep);
  border-bottom: 2px solid var(--surface5e243-teal);
  padding: 6px 12px 18px;
  display: none;
}
.surface5e243-menu.surface5e243-menu-open { display: block; }

.surface5e243-menu-part {
  border-top: 1px solid var(--surface5e243-line-soft);
  padding: 10px 0 6px;
}
.surface5e243-menu-part:first-child { border-top: 0; }

.surface5e243-menu-partlabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--surface5e243-text-faint);
  padding: 2px 0 6px;
}

.surface5e243-menu-part a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-left: 3px solid transparent;
  color: var(--surface5e243-text);
  font-size: 14px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.surface5e243-menu-part a:hover {
  color: var(--surface5e243-mint);
  border-left-color: var(--surface5e243-mint);
}
.surface5e243-menu-part a.surface5e243-menu-current {
  color: var(--surface5e243-teal);
  border-left-color: var(--surface5e243-teal);
}
.surface5e243-menu-part a::after {
  content: "";
  width: 6px; height: 6px;
  border-top: 1px solid var(--surface5e243-line);
  border-right: 1px solid var(--surface5e243-line);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ---------- hero heading strip ---------- */
.surface5e243-hero {
  padding: 16px 2px 6px;
}

.surface5e243-hero h1 {
  font-family: var(--surface5e243-font-head);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--surface5e243-text);
  letter-spacing: 0.2px;
}
.surface5e243-hero h1 .surface5e243-hero-key {
  color: var(--surface5e243-teal);
}

.surface5e243-hero-lead {
  margin-top: 8px;
  color: var(--surface5e243-text-soft);
  font-size: 13.5px;
}

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

.surface5e243-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.surface5e243-carousel-slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
}

.surface5e243-carousel-slide img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.surface5e243-carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.surface5e243-carousel-dot {
  width: 22px; height: 6px;
  border: 1px solid var(--surface5e243-teal);
  background: rgba(31, 31, 31, 0.55);
  transition: background-color 0.18s ease;
}
.surface5e243-carousel-dot:hover { background: rgba(64, 224, 208, 0.4); }
.surface5e243-carousel-dot.surface5e243-carousel-dot-on {
  background: var(--surface5e243-teal);
}

/* ---------- category jump chips ---------- */
.surface5e243-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 4px;
  scrollbar-width: none;
}
.surface5e243-chips::-webkit-scrollbar { display: none; }

.surface5e243-chip {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--surface5e243-line);
  border-radius: var(--surface5e243-radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--surface5e243-text-soft);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.surface5e243-chip:hover { color: var(--surface5e243-spring); border-color: var(--surface5e243-spring); }

/* ---------- generic sectioned panel ---------- */
.surface5e243-section {
  margin-top: 22px;
  border: 1px solid var(--surface5e243-line-soft);
  border-radius: var(--surface5e243-radius);
  background: var(--surface5e243-panel);
  padding: 14px 12px 16px;
}

.surface5e243-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--surface5e243-line-soft);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.surface5e243-section-head h2 {
  font-family: var(--surface5e243-font-head);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--surface5e243-teal);
}

.surface5e243-countchip {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--surface5e243-warm);
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: var(--surface5e243-radius);
  padding: 2px 7px;
}

.surface5e243-section p {
  color: var(--surface5e243-text-soft);
  font-size: 13.5px;
  margin-bottom: 10px;
}
.surface5e243-section p:last-child { margin-bottom: 0; }

/* ---------- game grid: pure image card + short name ---------- */
.surface5e243-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.surface5e243-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--surface5e243-line-soft);
  border-radius: var(--surface5e243-radius);
  background: var(--surface5e243-panel-deep);
  padding: 5px 5px 7px;
  text-align: center;
  color: var(--surface5e243-text-soft);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.surface5e243-gcard:hover {
  color: var(--surface5e243-spring);
  border-color: var(--surface5e243-mint);
}

.surface5e243-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.surface5e243-gcard-name {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

/* contextual related-page line under each game category */
.surface5e243-related {
  margin-top: 12px;
  border-top: 1px dashed var(--surface5e243-line-soft);
  padding-top: 9px;
  font-size: 12.5px;
  color: var(--surface5e243-text-faint);
}
.surface5e243-related a { font-weight: 600; }

/* ---------- feature rows (scannable compare) ---------- */
.surface5e243-featrow {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  border-top: 1px solid var(--surface5e243-line-soft);
  padding: 9px 0;
}
.surface5e243-featrow:first-of-type { border-top: 0; padding-top: 2px; }

.surface5e243-featrow dt {
  font-family: var(--surface5e243-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--surface5e243-spring);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.surface5e243-featrow dd {
  font-size: 13px;
  color: var(--surface5e243-text-soft);
}

/* ---------- testimonials ---------- */
.surface5e243-quote {
  border-left: 3px solid var(--surface5e243-cyan);
  background: var(--surface5e243-panel-deep);
  border-radius: 0 var(--surface5e243-radius) var(--surface5e243-radius) 0;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.surface5e243-quote:last-child { margin-bottom: 0; }

.surface5e243-quote p {
  font-size: 13px;
  color: var(--surface5e243-text);
  font-style: italic;
}

.surface5e243-quote footer {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--surface5e243-teal);
  text-transform: uppercase;
}

/* ---------- highlight blocks ---------- */
.surface5e243-hl {
  border: 1px solid var(--surface5e243-line-soft);
  border-radius: var(--surface5e243-radius);
  padding: 10px 11px;
  margin-bottom: 9px;
  background: var(--surface5e243-panel-deep);
}
.surface5e243-hl:last-child { margin-bottom: 0; }

.surface5e243-hl h3 {
  font-family: var(--surface5e243-font-head);
  font-size: 14px;
  color: var(--surface5e243-mint);
  margin-bottom: 4px;
}
.surface5e243-hl p { font-size: 13px; margin: 0; }

/* ---------- tricks ordered list ---------- */
.surface5e243-tricks {
  list-style: none;
  counter-reset: surface5e243-trick;
}
.surface5e243-tricks li {
  counter-increment: surface5e243-trick;
  position: relative;
  padding: 8px 0 8px 34px;
  border-top: 1px solid var(--surface5e243-line-soft);
  font-size: 13px;
  color: var(--surface5e243-text-soft);
}
.surface5e243-tricks li:first-child { border-top: 0; }
.surface5e243-tricks li::before {
  content: counter(surface5e243-trick, decimal-leading-zero);
  position: absolute;
  left: 0; top: 9px;
  font-family: var(--surface5e243-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--surface5e243-cyan);
  border-bottom: 2px solid var(--surface5e243-cyan);
  padding-bottom: 1px;
}

/* ---------- comparison table ---------- */
.surface5e243-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.surface5e243-compare th,
.surface5e243-compare td {
  border: 1px solid var(--surface5e243-line-soft);
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
}
.surface5e243-compare th {
  font-family: var(--surface5e243-font-head);
  font-size: 11.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--surface5e243-teal);
  background: var(--surface5e243-panel-deep);
}
.surface5e243-compare td { color: var(--surface5e243-text-soft); }
.surface5e243-compare td:first-child {
  color: var(--surface5e243-text);
  font-weight: 600;
  width: 34%;
}

/* ---------- use case scenario rows ---------- */
.surface5e243-case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-top: 1px solid var(--surface5e243-line-soft);
  padding: 10px 0;
}
.surface5e243-case:first-of-type { border-top: 0; }
.surface5e243-case-tag {
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--surface5e243-canvas);
  background: var(--surface5e243-teal);
  border-radius: var(--surface5e243-radius);
  padding: 2px 7px;
}
.surface5e243-case p { margin: 0; }

/* ---------- FAQ ---------- */
.surface5e243-faq { border-top: 1px solid var(--surface5e243-line-soft); }
.surface5e243-faq-item { border-bottom: 1px solid var(--surface5e243-line-soft); }
.surface5e243-faq-item h3 {
  font-family: var(--surface5e243-font-head);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--surface5e243-text);
  padding: 10px 24px 10px 0;
  position: relative;
}
.surface5e243-faq-item h3::after {
  content: "+";
  position: absolute;
  right: 4px; top: 9px;
  color: var(--surface5e243-teal);
  font-size: 15px;
  font-weight: 700;
}
.surface5e243-faq-item[open] h3::after { content: "\2013"; }
.surface5e243-faq-item p {
  padding: 0 0 12px;
  margin: 0;
  font-size: 13px;
  color: var(--surface5e243-text-soft);
}
.surface5e243-faq-item summary {
  list-style: none;
  cursor: pointer;
}
.surface5e243-faq-item summary::-webkit-details-marker { display: none; }

/* inline text CTA used inside answers and paragraphs */
.surface5e243-inlinecta {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--surface5e243-mint);
  background: none;
  color: var(--surface5e243-cyan);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.surface5e243-inlinecta:hover {
  color: var(--surface5e243-spring);
  border-bottom-color: var(--surface5e243-spring);
}

/* full-width action button inside a section body */
.surface5e243-section > .surface5e243-btn {
  width: 100%;
  margin-top: 4px;
}

/* checklist list: tick-styled runnable checks */
.surface5e243-checklist {
  list-style: none;
}
.surface5e243-checklist li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--surface5e243-line-soft);
  font-size: 13px;
  color: var(--surface5e243-text-soft);
}
.surface5e243-checklist li:first-child { border-top: 0; }
.surface5e243-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 2px; top: 8px;
  width: 15px; height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #062018;
  background: var(--surface5e243-mint);
  border-radius: var(--surface5e243-radius);
}

/* ---------- extended footer ---------- */
.surface5e243-extfoot {
  margin-top: 26px;
  border: 1px solid var(--surface5e243-line);
  border-radius: var(--surface5e243-radius);
  background: var(--surface5e243-panel-deep);
  padding: 14px 12px 16px;
}

.surface5e243-extfoot-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--surface5e243-text-faint);
  margin: 0 0 8px;
}

/* horizontal shortcut directory */
.surface5e243-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.surface5e243-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 9px;
  border: 1px solid var(--surface5e243-line-soft);
  border-radius: var(--surface5e243-radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--surface5e243-text-soft);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.surface5e243-dirlink:hover { color: var(--surface5e243-spring); border-color: var(--surface5e243-spring); }
.surface5e243-dirlink svg { flex: 0 0 auto; color: var(--surface5e243-teal); }

/* brand blurb in extended footer */
.surface5e243-extbrand {
  margin-top: 16px;
  border-top: 1px solid var(--surface5e243-line-soft);
  padding-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.surface5e243-extbrand img {
  width: 34px; height: 34px;
  object-fit: contain;
  border: 1px solid var(--surface5e243-line-soft);
  border-radius: var(--surface5e243-radius);
  background: var(--surface5e243-panel);
}
.surface5e243-extbrand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--surface5e243-text-faint);
}

/* four promotion shortcut buttons */
.surface5e243-promogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.surface5e243-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border-radius: var(--surface5e243-radius);
  font-family: var(--surface5e243-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid var(--surface5e243-mint);
  color: var(--surface5e243-mint);
  background: rgba(0, 250, 154, 0.06);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.surface5e243-promo:hover {
  color: #062018;
  background: var(--surface5e243-mint);
  border-color: var(--surface5e243-mint);
}

/* responsible entertainment note */
.surface5e243-note {
  margin-top: 14px;
  border-top: 1px solid var(--surface5e243-line-soft);
  padding-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--surface5e243-text-faint);
}

/* ---------- copyright bar ---------- */
.surface5e243-copy {
  text-align: center;
  padding: 18px 12px 6px;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: var(--surface5e243-text-faint);
  border-top: 1px solid var(--surface5e243-line-soft);
  margin-top: 10px;
}

/* ---------- fixed mobile bottom nav (brand accent band) ---------- */
.surface5e243-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--surface5e243-bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #161616;
  border-top: 2px solid var(--surface5e243-teal);
}

.surface5e243-bottomnav a,
.surface5e243-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface5e243-bottomnav-h);
  padding: 6px 2px 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--surface5e243-text-faint);
  position: relative;
  border-top: 3px solid transparent;   /* activation mark slot */
  transition: color 0.16s ease, border-color 0.16s ease;
}

.surface5e243-bottomnav svg { width: 21px; height: 21px; }

.surface5e243-bottomnav a:hover,
.surface5e243-bottomnav button:hover { color: var(--surface5e243-text); }

.surface5e243-bottomnav .surface5e243-bn-current {
  color: var(--surface5e243-teal);
  border-top-color: var(--surface5e243-spring);
}

.surface5e243-bottomnav .surface5e243-bn-promo { color: var(--surface5e243-mint); }
.surface5e243-bottomnav .surface5e243-bn-promo:hover { color: var(--surface5e243-spring); }

/* ---------- breakpoints (mobile-first, canvas 320-430px) ---------- */
@media (min-width: 360px) {
  .surface5e243-gcard-name { font-size: 11px; }
  .surface5e243-hero h1 { font-size: 25px; }
}

@media (min-width: 375px) {
  .surface5e243-main { padding-left: 14px; padding-right: 14px; }
  .surface5e243-section-head h2 { font-size: 18px; }
  .surface5e243-dirgrid,
  .surface5e243-promogrid { gap: 8px; }
  .surface5e243-compare { font-size: 13px; }
}

/* 430px: widen grid to 5 columns and relax spacing inside the phone canvas */
@media (min-width: 430px) {
  .surface5e243-main { padding-left: 16px; padding-right: 16px; }
  .surface5e243-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .surface5e243-hero h1 { font-size: 26px; }
  .surface5e243-chip { font-size: 12.5px; }
  .surface5e243-gcard-name { font-size: 11.5px; }
}

/* ---------- motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .surface5e243-carousel-track { transition: none; }
}

@media (hover: none) {
  .surface5e243-btn-register,
  .surface5e243-btn-login { min-height: 46px; }
}
