/* ==========================================================================
   melbetzambia.click — base visuals
   Mobile-first canvas (320-430px), centred phone frame on wide screens.
   Palette: #0A0A0A deep / #FFB347 amber / #BF360C ember
   Voice: monospace accents + regular body, low-radius sections,
   floating-layer game cards, sliding focus indicators.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --c5d40e-bg: #0a0a0a;
  --c5d40e-deep: #050505;
  --c5d40e-panel: #14110d;
  --c5d40e-panel-2: #191510;
  --c5d40e-ink: #f7f1e3;
  --c5d40e-muted: #a99d8b;
  --c5d40e-amber: #ffb347;
  --c5d40e-amber-dim: rgba(255, 179, 71, 0.55);
  --c5d40e-ember: #bf360c;
  --c5d40e-ember-wash: rgba(191, 54, 12, 0.16);
  --c5d40e-line: rgba(255, 179, 71, 0.18);
  --c5d40e-hair: rgba(247, 241, 227, 0.09);
  --c5d40e-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas,
    "Liberation Mono", Menlo, monospace;
  --c5d40e-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --c5d40e-r: 4px;
  --c5d40e-r2: 8px;
  --c5d40e-top-h: 60px;
  --c5d40e-dock-h: 78px;
  --c5d40e-gutter: 14px;
}

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

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

body {
  margin: 0;
  background: var(--c5d40e-deep);
  color: var(--c5d40e-ink);
  font-family: var(--c5d40e-sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--c5d40e-amber);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--c5d40e-amber);
  outline-offset: 2px;
}

::selection {
  background: var(--c5d40e-amber);
  color: #1a1206;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 0.85em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- phone canvas ---------- */
.c5d40e-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c5d40e-bg);
  background-image: linear-gradient(
      180deg,
      rgba(191, 54, 12, 0.1) 0%,
      rgba(10, 10, 10, 0) 220px
    ),
    radial-gradient(
      120% 90px at 50% 0px,
      rgba(255, 179, 71, 0.09),
      rgba(10, 10, 10, 0) 70%
    );
  overflow-x: hidden;
}

@media (min-width: 520px) {
  .c5d40e-shell {
    box-shadow: 0 0 0 1px var(--c5d40e-hair), 0 0 60px rgba(191, 54, 12, 0.14);
  }
}

.c5d40e-main {
  padding: calc(var(--c5d40e-top-h) + 12px) var(--c5d40e-gutter)
    calc(var(--c5d40e-dock-h) + 26px);
}

section {
  scroll-margin-top: calc(var(--c5d40e-top-h) + 14px);
}

/* ---------- skip link ---------- */
.c5d40e-skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 90;
  transform: translateY(-220%);
  pointer-events: none;
  background: var(--c5d40e-amber);
  color: #1a1206;
  font-family: var(--c5d40e-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: var(--c5d40e-r);
  transition: transform 0.2s ease;
}

.c5d40e-skip:focus {
  top: calc(var(--c5d40e-top-h) + 6px);
  transform: translateY(0);
  pointer-events: auto;
  text-decoration: none;
}

/* ==========================================================================
   Top action bar — logo-led, register/login on the right
   ========================================================================== */
.c5d40e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: var(--c5d40e-top-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c5d40e-line);
}

.c5d40e-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--c5d40e-ink);
}

.c5d40e-brand:hover,
.c5d40e-brand:focus-visible {
  text-decoration: none;
}

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

.c5d40e-brand b {
  font-family: var(--c5d40e-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c5d40e-amber);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c5d40e-topacts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact icon+text CTAs */
.c5d40e-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--c5d40e-r);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

.c5d40e-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.c5d40e-cta:active {
  transform: scale(0.96);
}

.c5d40e-cta--join {
  background: var(--c5d40e-amber);
  border-color: var(--c5d40e-amber);
  color: #1a1206;
}

.c5d40e-cta--join:hover,
.c5d40e-cta--join:focus-visible {
  background: #ffc670;
  text-decoration: none;
}

.c5d40e-cta--login {
  background: transparent;
  border-color: var(--c5d40e-amber-dim);
  color: var(--c5d40e-amber);
}

.c5d40e-cta--login:hover,
.c5d40e-cta--login:focus-visible {
  border-color: var(--c5d40e-amber);
  background: rgba(255, 179, 71, 0.08);
  text-decoration: none;
}

/* burger — icon state morph */
.c5d40e-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r);
}

.c5d40e-burger:hover {
  border-color: var(--c5d40e-amber-dim);
}

.c5d40e-bwrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c5d40e-bl {
  width: 17px;
  height: 2px;
  background: var(--c5d40e-ink);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.c5d40e-topbar.is-open .c5d40e-bl:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.c5d40e-topbar.is-open .c5d40e-bl:nth-child(2) {
  opacity: 0;
}

.c5d40e-topbar.is-open .c5d40e-bl:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 358px) {
  .c5d40e-cta--login span {
    display: none;
  }

  .c5d40e-cta--login {
    padding: 0 10px;
  }
}

/* ==========================================================================
   Expandable menu panel — indexed rows, sliding top indicator
   ========================================================================== */
.c5d40e-menuanchor {
  position: fixed;
  top: var(--c5d40e-top-h);
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  z-index: 65;
  display: none;
}

.c5d40e-menuanchor.is-open {
  display: block;
}

.c5d40e-menu {
  max-height: calc(100vh - var(--c5d40e-top-h) - var(--c5d40e-dock-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(12, 10, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c5d40e-line);
  padding: 10px 14px 18px;
  animation: c5d40e-menudrop 0.22s ease both;
}

@keyframes c5d40e-menudrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c5d40e-mgroup {
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c5d40e-muted);
  padding: 14px 4px 6px;
  border-bottom: 1px dashed var(--c5d40e-hair);
  margin-bottom: 4px;
}

.c5d40e-mrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 8px;
  color: var(--c5d40e-ink);
  border-radius: var(--c5d40e-r);
  overflow: hidden;
}

.c5d40e-mrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--c5d40e-amber), var(--c5d40e-ember));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.c5d40e-mrow:hover,
.c5d40e-mrow:focus-visible,
.c5d40e-mrow.is-here {
  background: rgba(255, 179, 71, 0.06);
  text-decoration: none;
}

.c5d40e-mrow:hover::before,
.c5d40e-mrow:focus-visible::before,
.c5d40e-mrow.is-here::before {
  transform: scaleX(1);
}

.c5d40e-mnum {
  font-family: var(--c5d40e-mono);
  font-size: 10px;
  color: var(--c5d40e-amber);
  border: 1px solid var(--c5d40e-line);
  border-radius: 3px;
  padding: 2px 4px;
  flex: 0 0 auto;
}

.c5d40e-mlabel {
  font-size: 13.5px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.c5d40e-mgo {
  font-family: var(--c5d40e-mono);
  color: var(--c5d40e-muted);
  font-size: 12px;
}

.c5d40e-mrow.is-here .c5d40e-mlabel {
  color: var(--c5d40e-amber);
}

/* ==========================================================================
   Hero — heading, intro, CTA pair, metric strip
   ========================================================================== */
.c5d40e-hero {
  padding-top: 6px;
}

.c5d40e-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
  border: 1px solid var(--c5d40e-line);
  border-radius: 3px;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.c5d40e-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--c5d40e-ember);
  font-style: normal;
}

.c5d40e-hero h1 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.c5d40e-hero h1 em {
  font-style: normal;
  color: var(--c5d40e-amber);
}

.c5d40e-lede {
  margin-top: 10px;
  color: var(--c5d40e-muted);
  font-size: 14px;
}

.c5d40e-lede strong {
  color: var(--c5d40e-ink);
  font-weight: 600;
}

.c5d40e-ctarow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 4px;
}

.c5d40e-bigcta {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--c5d40e-r);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.c5d40e-bigcta svg {
  width: 15px;
  height: 15px;
}

.c5d40e-bigcta:active {
  transform: scale(0.97);
}

.c5d40e-bigcta--fill {
  background: var(--c5d40e-amber);
  color: #1a1206;
}

.c5d40e-bigcta--fill:hover,
.c5d40e-bigcta--fill:focus-visible {
  background: #ffc670;
  text-decoration: none;
}

.c5d40e-bigcta--ember {
  background: var(--c5d40e-ember);
  color: #ffe9cf;
  border: 1px solid rgba(255, 179, 71, 0.35);
}

.c5d40e-bigcta--ember:hover,
.c5d40e-bigcta--ember:focus-visible {
  background: #d64210;
  text-decoration: none;
}

/* metric strip — compact figure + label rhythm */
.c5d40e-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.c5d40e-metric {
  border: 1px solid var(--c5d40e-hair);
  border-top: 2px solid var(--c5d40e-ember);
  border-radius: var(--c5d40e-r);
  background: var(--c5d40e-panel);
  padding: 8px 4px 7px;
  text-align: center;
  min-width: 0;
}

.c5d40e-mv {
  font-family: var(--c5d40e-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c5d40e-amber);
  display: block;
  line-height: 1.1;
}

.c5d40e-ml {
  display: block;
  font-family: var(--c5d40e-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c5d40e-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.c5d40e-mnote {
  margin-top: 8px;
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--c5d40e-muted);
}

.c5d40e-mnote b {
  color: var(--c5d40e-amber);
  font-weight: 700;
}

/* ==========================================================================
   Promo carousel — sliding track + sliding progress thumb
   ========================================================================== */
.c5d40e-carousel {
  margin: 18px 0 4px;
}

.c5d40e-cviewport {
  position: relative;
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r2);
  overflow: hidden;
  background: var(--c5d40e-panel);
}

.c5d40e-ctrack {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.c5d40e-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #111;
  text-align: left;
}

.c5d40e-slide img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.c5d40e-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.92));
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--c5d40e-ink);
}

.c5d40e-slidecap small {
  font-family: var(--c5d40e-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
}

.c5d40e-cfoot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.c5d40e-dots {
  display: flex;
  gap: 6px;
}

.c5d40e-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}

.c5d40e-dot::after {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--c5d40e-hair);
  transition: background-color 0.2s ease;
}

.c5d40e-dot.is-on::after {
  background: var(--c5d40e-amber);
}

.c5d40e-prog {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--c5d40e-hair);
  overflow: hidden;
}

.c5d40e-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.3333%;
  background: linear-gradient(90deg, var(--c5d40e-amber), var(--c5d40e-ember));
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
}

/* ==========================================================================
   Category jump strip — horizontal chips
   ========================================================================== */
.c5d40e-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin-top: 14px;
  scrollbar-width: none;
}

.c5d40e-catstrip::-webkit-scrollbar {
  display: none;
}

.c5d40e-catchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
  background: var(--c5d40e-panel);
  font-family: var(--c5d40e-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--c5d40e-ink);
  white-space: nowrap;
}

.c5d40e-catchip:hover,
.c5d40e-catchip:focus-visible {
  border-color: var(--c5d40e-amber);
  color: var(--c5d40e-amber);
  text-decoration: none;
}

.c5d40e-catchip b {
  color: var(--c5d40e-amber);
  font-weight: 700;
}

/* ==========================================================================
   Section heads + shelf ledger
   ========================================================================== */
.c5d40e-sechead {
  border-top: 1px solid var(--c5d40e-line);
  margin-top: 28px;
  padding-top: 10px;
}

.c5d40e-seckicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
}

.c5d40e-count {
  margin-left: auto;
  font-family: var(--c5d40e-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--c5d40e-muted);
  border: 1px solid var(--c5d40e-hair);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}

.c5d40e-sechead h2 {
  font-size: 17.5px;
  font-weight: 750;
  margin: 6px 0 6px;
  letter-spacing: -0.005em;
}

.c5d40e-secintro {
  color: var(--c5d40e-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.c5d40e-secintro a {
  border-bottom: 1px dashed var(--c5d40e-amber-dim);
}

.c5d40e-secintro a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}

/* shelf ledger — compact metric rows */
.c5d40e-ledger {
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r2);
  overflow: hidden;
  margin: 12px 0 4px;
}

.c5d40e-lrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--c5d40e-hair);
  background: var(--c5d40e-panel);
}

.c5d40e-lrow:last-child {
  border-bottom: 0;
}

.c5d40e-lname {
  font-family: var(--c5d40e-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--c5d40e-amber);
  text-transform: uppercase;
  padding-top: 2px;
}

.c5d40e-ldesc {
  font-size: 12.5px;
  color: var(--c5d40e-muted);
}

.c5d40e-ldesc b {
  color: var(--c5d40e-ink);
  font-family: var(--c5d40e-mono);
  font-size: 11.5px;
}

/* ==========================================================================
   Game grids — floating-layer image cards
   ========================================================================== */
.c5d40e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

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

@media (min-width: 430px) {
  .c5d40e-grid {
    gap: 10px 8px;
  }
}

.c5d40e-game {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 5px 5px 7px;
  background: rgba(247, 241, 227, 0.035);
  border: 1px solid var(--c5d40e-hair);
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease,
    background-color 0.18s ease;
}

.c5d40e-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c5d40e-r);
  background: var(--c5d40e-panel-2);
}

.c5d40e-gname {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--c5d40e-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  min-height: 26px;
}

.c5d40e-game:hover,
.c5d40e-game:focus-visible {
  transform: translateY(-3px);
  border-color: var(--c5d40e-amber-dim);
  background: rgba(255, 179, 71, 0.07);
  text-decoration: none;
}

.c5d40e-game:hover .c5d40e-gname,
.c5d40e-game:focus-visible .c5d40e-gname {
  color: var(--c5d40e-ink);
}

/* ==========================================================================
   Content modules — varied shapes per block
   ========================================================================== */

/* numbered steps */
.c5d40e-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.c5d40e-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--c5d40e-hair);
}

.c5d40e-steps li:last-child {
  border-bottom: 0;
}

.c5d40e-stepn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--c5d40e-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c5d40e-amber);
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
  background: var(--c5d40e-panel);
}

.c5d40e-steps h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.c5d40e-steps p {
  font-size: 12.5px;
  color: var(--c5d40e-muted);
  margin: 0;
}

/* trick rows — ember rail */
.c5d40e-trick {
  border-left: 2px solid var(--c5d40e-ember);
  background: linear-gradient(90deg, var(--c5d40e-ember-wash), transparent 82%);
  padding: 9px 10px;
  margin: 10px 0;
  border-radius: 0 var(--c5d40e-r) var(--c5d40e-r) 0;
}

.c5d40e-trick h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--c5d40e-ink);
}

.c5d40e-trick h3 span {
  font-family: var(--c5d40e-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--c5d40e-amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.c5d40e-trick p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--c5d40e-muted);
}

/* play style compare cards */
.c5d40e-style {
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r2);
  background: var(--c5d40e-panel);
  padding: 11px 12px;
  margin: 9px 0;
}

.c5d40e-stylehead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.c5d40e-stylehead h3 {
  font-family: var(--c5d40e-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
  margin: 0;
}

.c5d40e-tag {
  margin-left: auto;
  font-family: var(--c5d40e-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd9ac;
  background: var(--c5d40e-ember);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}

.c5d40e-style p {
  font-size: 12.5px;
  color: var(--c5d40e-muted);
  margin: 0 0 4px;
}

.c5d40e-style p:last-child {
  margin-bottom: 0;
}

.c5d40e-style b {
  color: var(--c5d40e-ink);
  font-weight: 700;
}

/* review ledger */
.c5d40e-review {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--c5d40e-hair);
}

.c5d40e-review:last-child {
  border-bottom: 0;
}

.c5d40e-rvwho {
  font-family: var(--c5d40e-mono);
  font-size: 10.5px;
  color: var(--c5d40e-amber);
  letter-spacing: 0.04em;
  word-break: break-all;
}

.c5d40e-stars {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c5d40e-amber);
}

.c5d40e-stars i {
  font-style: normal;
  color: var(--c5d40e-hair);
}

.c5d40e-review blockquote {
  margin: 0;
  font-size: 12.5px;
  color: var(--c5d40e-muted);
  border-left: 2px solid var(--c5d40e-line);
  padding-left: 10px;
}

.c5d40e-review blockquote b {
  color: var(--c5d40e-ink);
}

/* faq — plus morphs to cross */
.c5d40e-faq details {
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r2);
  background: var(--c5d40e-panel);
  margin: 8px 0;
  overflow: hidden;
}

.c5d40e-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.c5d40e-faq summary::-webkit-details-marker {
  display: none;
}

.c5d40e-faq summary:hover {
  color: var(--c5d40e-amber);
}

.c5d40e-plus {
  margin-left: auto;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-family: var(--c5d40e-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c5d40e-amber);
  border: 1px solid var(--c5d40e-line);
  border-radius: 50%;
  transition: transform 0.22s ease;
  line-height: 1;
}

.c5d40e-faq details[open] .c5d40e-plus {
  transform: rotate(45deg);
}

.c5d40e-faq details p {
  padding: 0 12px 12px;
  margin: 0;
  font-size: 12.5px;
  color: var(--c5d40e-muted);
}

/* use-case scenario cards */
.c5d40e-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

@media (min-width: 400px) {
  .c5d40e-cases {
    grid-template-columns: 1fr 1fr;
  }
}

.c5d40e-case {
  border: 1px solid var(--c5d40e-hair);
  border-top: 2px solid var(--c5d40e-amber);
  border-radius: 0 0 var(--c5d40e-r2) var(--c5d40e-r2);
  background: var(--c5d40e-panel);
  padding: 10px 11px;
}

.c5d40e-case h3 {
  font-family: var(--c5d40e-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
  margin-bottom: 5px;
}

.c5d40e-case p {
  font-size: 12px;
  color: var(--c5d40e-muted);
  margin: 0;
}

/* ---------- module body text ---------- */
.c5d40e-mod p,
.c5d40e-mod li {
  font-size: 13px;
  color: var(--c5d40e-muted);
}

.c5d40e-mod a {
  border-bottom: 1px dashed var(--c5d40e-amber-dim);
  font-weight: 600;
}

.c5d40e-mod a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}

.c5d40e-mod a code,
.c5d40e-code {
  font-family: var(--c5d40e-mono);
  font-size: 0.95em;
  color: var(--c5d40e-amber);
}

/* ==========================================================================
   Extended footer — promo shortcuts, brand, directory, disclaimer
   ========================================================================== */
.c5d40e-xfoot {
  margin-top: 30px;
  border-top: 2px solid var(--c5d40e-ember);
  padding-top: 16px;
}

.c5d40e-xfkicker {
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c5d40e-muted);
  margin-bottom: 8px;
}

.c5d40e-xpromo {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.c5d40e-xpromo::-webkit-scrollbar {
  display: none;
}

.c5d40e-xbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
  background: rgba(255, 179, 71, 0.06);
  color: var(--c5d40e-amber);
  font-family: var(--c5d40e-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.c5d40e-xbtn svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.c5d40e-xbtn:hover,
.c5d40e-xbtn:focus-visible {
  background: rgba(255, 179, 71, 0.14);
  border-color: var(--c5d40e-amber);
  text-decoration: none;
}

.c5d40e-xbtn:active {
  transform: scale(0.97);
}

.c5d40e-xbrand {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r2);
  background: var(--c5d40e-panel);
  padding: 12px;
  margin: 6px 0 14px;
}

.c5d40e-xbrand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
}

.c5d40e-xbrand h2 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.c5d40e-xbrand p {
  font-size: 11.5px;
  color: var(--c5d40e-muted);
  margin: 0;
  line-height: 1.55;
}

.c5d40e-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin: 8px 0 12px;
}

.c5d40e-dir a {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  align-items: baseline;
  padding: 7px 4px;
  min-height: 40px;
  border-bottom: 1px dashed var(--c5d40e-hair);
  font-size: 11.5px;
  color: var(--c5d40e-muted);
  line-height: 1.4;
}

.c5d40e-dir a:hover,
.c5d40e-dir a:focus-visible {
  color: var(--c5d40e-amber);
  text-decoration: none;
  border-bottom-color: var(--c5d40e-amber-dim);
}

.c5d40e-dir i {
  font-style: normal;
  font-family: var(--c5d40e-mono);
  font-size: 9px;
  color: var(--c5d40e-amber);
  letter-spacing: 0.08em;
}

.c5d40e-xdisclaimer {
  border-left: 2px solid var(--c5d40e-ember);
  padding: 7px 0 7px 10px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--c5d40e-muted);
}

.c5d40e-xdisclaimer b {
  font-family: var(--c5d40e-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c5d40e-amber);
}

/* ==========================================================================
   Common footer + outlined dock
   ========================================================================== */
.c5d40e-foot {
  text-align: center;
  padding: 16px 0 6px;
  border-top: 1px solid var(--c5d40e-hair);
  margin-top: 6px;
}

.c5d40e-foot p {
  font-family: var(--c5d40e-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c5d40e-muted);
  margin: 0;
}

.c5d40e-foot b {
  color: var(--c5d40e-amber);
  font-weight: 700;
}

.c5d40e-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  z-index: 75;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.c5d40e-dockframe {
  margin: 9px 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 56px;
  border: 1px solid var(--c5d40e-line);
  border-radius: 12px;
  background: rgba(20, 17, 13, 0.92);
  overflow: hidden;
}

.c5d40e-dockbtn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--c5d40e-muted);
  background: transparent;
  border: 0;
  padding: 4px 2px;
}

.c5d40e-dockbtn:hover,
.c5d40e-dockbtn:focus-visible {
  color: var(--c5d40e-ink);
  text-decoration: none;
}

.c5d40e-dockbtn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.c5d40e-dockbtn span {
  font-family: var(--c5d40e-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.c5d40e-dockbtn:active svg {
  transform: scale(0.86);
}

/* active state — top indicator line + icon lift */
.c5d40e-dockbtn.is-here {
  color: var(--c5d40e-amber);
}

.c5d40e-dockbtn.is-here::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, var(--c5d40e-amber), var(--c5d40e-ember));
  border-radius: 0 0 2px 2px;
}

.c5d40e-dockbtn.is-here svg {
  transform: translateY(-1px) scale(1.08);
}

/* promo roles get the amber treatment */
.c5d40e-dockbtn--promo {
  color: var(--c5d40e-amber);
}

.c5d40e-dockbtn--promo::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 20%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c5d40e-ember);
  border: 1px solid rgba(255, 179, 71, 0.6);
}

/* ---------- motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ==========================================================================
   Help pages — safety (ledger/diag) vs download (facts/checklist)
   ========================================================================== */
.c5d40e-panswer {
  border: 1px solid var(--c5d40e-amber-dim);
  border-left: 4px solid var(--c5d40e-amber);
  background: var(--c5d40e-panel);
  padding: 14px 16px;
  border-radius: var(--c5d40e-r);
  margin-bottom: 18px;
}

.c5d40e-panswer b {
  font-family: var(--c5d40e-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c5d40e-amber);
  display: block;
  margin-bottom: 8px;
}

.c5d40e-diag {
  display: grid;
  gap: 10px;
}

.c5d40e-drow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px;
  background: var(--c5d40e-panel-2);
  border: 1px solid var(--c5d40e-hair);
  border-radius: var(--c5d40e-r);
}

.c5d40e-drow h3 {
  font-family: var(--c5d40e-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c5d40e-amber);
}

.c5d40e-drow dl {
  margin: 0;
  display: grid;
  gap: 4px;
}

.c5d40e-drow dt {
  font-size: 11px;
  font-family: var(--c5d40e-mono);
  color: var(--c5d40e-muted);
  letter-spacing: 0.05em;
}

.c5d40e-drow dd {
  margin: 0 0 6px;
  font-size: 14px;
}

.c5d40e-preplist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.c5d40e-preplist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--c5d40e-panel);
  border: 1px dashed var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
}

.c5d40e-preplist li::before {
  content: attr(data-n);
  font-family: var(--c5d40e-mono);
  font-size: 11px;
  color: var(--c5d40e-ember);
  flex: 0 0 auto;
  margin-top: 2px;
}

.c5d40e-respbox {
  padding: 14px;
  border-radius: var(--c5d40e-r);
  background: var(--c5d40e-ember-wash);
  border: 1px solid rgba(191, 54, 12, 0.35);
}

.c5d40e-cmpgrid {
  display: grid;
  gap: 8px;
}

.c5d40e-cmpcol {
  padding: 12px;
  background: var(--c5d40e-panel);
  border-top: 3px solid var(--c5d40e-amber);
  border-radius: var(--c5d40e-r);
}

.c5d40e-cmpcol h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.c5d40e-promorail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.c5d40e-promorail .c5d40e-cta {
  flex: 1 1 calc(50% - 8px);
  min-width: 140px;
}

.c5d40e-factstrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.c5d40e-fact {
  padding: 12px 10px;
  text-align: center;
  background: var(--c5d40e-panel);
  border: 1px solid var(--c5d40e-line);
  border-radius: var(--c5d40e-r);
}

.c5d40e-fact span {
  display: block;
  font-family: var(--c5d40e-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c5d40e-amber);
}

.c5d40e-fact small {
  font-size: 11px;
  color: var(--c5d40e-muted);
  letter-spacing: 0.04em;
}

.c5d40e-gloss {
  margin: 0;
  display: grid;
  gap: 10px;
}

.c5d40e-gloss div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c5d40e-hair);
}

.c5d40e-gloss dt {
  font-family: var(--c5d40e-mono);
  font-size: 12px;
  color: var(--c5d40e-amber);
  margin-bottom: 4px;
}

.c5d40e-gloss dd {
  margin: 0;
  font-size: 14px;
}

.c5d40e-warn {
  display: grid;
  gap: 10px;
}

.c5d40e-wcard {
  padding: 12px 14px;
  border-radius: var(--c5d40e-r);
  background: rgba(191, 54, 12, 0.12);
  border: 1px solid rgba(191, 54, 12, 0.4);
}

.c5d40e-wcard h3 {
  font-size: 14px;
  color: #ffb347;
  margin-bottom: 6px;
}

.c5d40e-branch {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--c5d40e-amber-dim);
}

.c5d40e-branch li {
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--c5d40e-hair);
}

.c5d40e-branch li:last-child {
  border-bottom: none;
}

.c5d40e-dcheck {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.c5d40e-dcheck li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--c5d40e-panel-2);
  border-radius: var(--c5d40e-r);
}

.c5d40e-dcheck li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--c5d40e-amber);
  border-radius: 3px;
  margin-top: 2px;
}
