/* ==========================================================================
   zonChess — Temporary Site (interim build)
   One stylesheet for the whole interim portal. Dark premium tournament look:
   navy base, cyan signal, gold for celebration moments.
   ========================================================================== */

:root {
  --ink-900: #040b16;
  --ink-850: #07111f;
  --ink-800: #0b1a2d;
  --ink-700: #12263f;
  --ink-600: #1b3555;

  --line: rgba(148, 197, 255, 0.14);
  --line-strong: rgba(148, 197, 255, 0.28);

  --text: #e8f1fb;
  --text-soft: #a8c0d8;
  --text-dim: #7d94ad;

  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --blue: #38bdf8;
  --blue-deep: #0284c7;
  --gold: #f5c451;
  --gold-deep: #b98518;
  --green: #34d399;
  --violet: #a78bfa;
  --rose: #fb7185;

  --font-display: "Orbitron", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 24px 60px -30px rgba(34, 211, 238, 0.35);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(34, 211, 238, 0.11), transparent 58%),
    radial-gradient(950px 520px at 92% 2%, rgba(56, 189, 248, 0.09), transparent 55%),
    radial-gradient(800px 500px at 50% 108%, rgba(245, 196, 81, 0.06), transparent 60%),
    var(--ink-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cyan); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1rem; }

::selection { background: rgba(34, 211, 238, .3); }

.shell { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

/* --------------------------------------------------------------- skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cyan); color: var(--ink-900); padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ interim flag */
.interim-bar {
  background: linear-gradient(90deg, rgba(245, 196, 81, .16), rgba(34, 211, 238, .14));
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: var(--text-soft);
}
.interim-bar__inner {
  display: flex; gap: .75rem; align-items: center; justify-content: center;
  flex-wrap: wrap; padding: .55rem 0; text-align: center;
}
.interim-bar b { color: var(--gold); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(4, 11, 22, .82);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.1rem;
  padding: .7rem 0; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--font-display); font-size: 1.06rem; letter-spacing: .01em; }
.brand small { font-size: .58rem; letter-spacing: .19em; color: var(--text-dim); font-weight: 600; }

.nav { display: flex; gap: .2rem; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--text-soft); font-size: .88rem; font-weight: 600;
  padding: .45rem .68rem; border-radius: var(--radius-sm); transition: all .18s ease;
}
.nav a:hover { color: var(--text); background: rgba(148, 197, 255, .08); }
.nav a[aria-current="page"] { color: var(--cyan); background: rgba(34, 211, 238, .1); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none; background: rgba(148, 197, 255, .09); border: 1px solid var(--line);
  color: var(--text); border-radius: var(--radius-sm); padding: .45rem .7rem;
  font-size: 1.05rem; cursor: pointer; line-height: 1;
  min-width: 44px; min-height: 44px;
}

@media (max-width: 520px) {
  /* The tagline wraps to two lines and crowds the burger on narrow phones. */
  .site-header .brand small { display: none; }
  .site-header .brand strong { font-size: 1.15rem; }
}

@media (max-width: 940px) {
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0;
    background: #050e1a; border-bottom: 1px solid var(--line);
    padding: .5rem 1.2rem 1rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .68rem .4rem; border-bottom: 1px solid rgba(148, 197, 255, .07); border-radius: 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions .btn { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.25rem;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue-deep));
  color: #041018; box-shadow: 0 12px 30px -14px rgba(34, 211, 238, .9);
}
.btn--primary:hover { color: #041018; box-shadow: 0 16px 38px -14px rgba(34, 211, 238, 1); }
.btn--ghost { background: rgba(148, 197, 255, .07); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(148, 197, 255, .13); color: var(--text); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1b1200; }
.btn--gold:hover { color: #1b1200; }
.btn--sm { padding: .48rem .9rem; min-height: 36px; font-size: .82rem; }

/* ------------------------------------------------------------------ chips */
.chip {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); background: rgba(148, 197, 255, .07); color: var(--text-soft);
}
.chip--live { color: var(--cyan); border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .1); }
.chip--new { color: var(--gold); border-color: rgba(245, 196, 81, .4); background: rgba(245, 196, 81, .1); }
.chip--done { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); }
.chip--soon { color: var(--violet); border-color: rgba(167, 139, 250, .35); background: rgba(167, 139, 250, .1); }

.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.chip--live i { animation: breathe 2.6s ease-in-out infinite; }

@keyframes breathe {
  0%, 100% { opacity: .35; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
  50% { opacity: 1; box-shadow: 0 0 0 4px rgba(34, 211, 238, .16); }
}
@media (prefers-reduced-motion: reduce) {
  .chip--live i { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.section--panel { background: rgba(7, 17, 31, .55); border-block: 1px solid var(--line); }

.kicker {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin: 0 0 .7rem;
}
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head p.lead { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 0; }

.lead { color: var(--text-soft); font-size: 1.08rem; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(148, 197, 255, .04) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(148, 197, 255, .04) 0 1px, transparent 1px 74px);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { margin-bottom: .7rem; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--cyan), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 60ch; font-size: clamp(1.02rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-signals { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }

/* ------------------------------------------------------------------ cards */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 214px), 1fr)); }

.card {
  background: linear-gradient(160deg, rgba(18, 38, 63, .72), rgba(7, 17, 31, .82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-soft); font-size: .94rem; margin-bottom: 0; }
.card p + p { margin-top: .6rem; }
.card__index {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  color: var(--cyan); letter-spacing: .16em; display: block; margin-bottom: .55rem;
}
.card__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 1.15rem; margin-bottom: .85rem;
  background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .28); color: var(--cyan);
}
.card--gold .card__icon { background: rgba(245, 196, 81, .12); border-color: rgba(245, 196, 81, .3); color: var(--gold); }
.card--violet .card__icon { background: rgba(167, 139, 250, .12); border-color: rgba(167, 139, 250, .3); color: var(--violet); }
.card--green .card__icon { background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .3); color: var(--green); }

.card--link { display: flex; flex-direction: column; color: inherit; }
.card--link:hover { color: inherit; }
.card__more { display: inline-block; margin-top: .8rem; font-weight: 700; font-size: .86rem; color: var(--cyan); }
/* link cards in one row end on the same line */
.card--link .card__more { margin-top: auto; padding-top: .8rem; align-self: flex-start; }
@media (min-width: 900px) { #september .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* product cards on the hub */
.product-card {
  display: grid; gap: 1.2rem; align-items: start;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(18, 38, 63, .8), rgba(5, 13, 24, .9));
  padding: 1.5rem; overflow: hidden;
}
.product-card__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.product-card__media img { width: 100%; }
.product-card ul { margin: .9rem 0 1.1rem; padding-left: 1.1rem; color: var(--text-soft); font-size: .93rem; }
.product-card li { margin-bottom: .35rem; }
@media (min-width: 860px) {
  .product-card { grid-template-columns: 1.05fr 1fr; gap: 1.8rem; padding: 1.8rem; }
  .product-card--flip .product-card__media { order: -1; }
}

/* ------------------------------------------------------------- stat strip */
.stats { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
  background: rgba(7, 17, 31, .6);
}
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--cyan); line-height: 1.1; }
.stat.stat--gold b { color: var(--gold); }
.stat span { font-size: .84rem; color: var(--text-soft); }

/* -------------------------------------------------------------- galleries */
.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(7, 17, 31, .7);
}
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { padding: .8rem .95rem; font-size: .86rem; color: var(--text-soft); }
.shot figcaption b { display: block; color: var(--text); font-size: .93rem; margin-bottom: .12rem; }

.note {
  font-size: .82rem; color: var(--text-dim); margin-top: 1rem;
}

/* ------------------------------------------------------------ before/after */
.ba { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ba__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.ba__col--before { background: rgba(251, 113, 133, .05); border-color: rgba(251, 113, 133, .22); }
.ba__col--after { background: rgba(34, 211, 238, .05); border-color: rgba(34, 211, 238, .25); }
.ba__col h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.ba__col--before h3 { color: var(--rose); }
.ba__col--after h3 { color: var(--cyan); }
.ba__col ul { margin: 0; padding-left: 1.15rem; color: var(--text-soft); font-size: .94rem; }
.ba__col li { margin-bottom: .45rem; }

/* --------------------------------------------------------------- timeline */
.timeline { position: relative; display: grid; gap: 1.1rem; }
.release {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 38, 63, .55), rgba(7, 17, 31, .8));
  padding: 1.4rem 1.4rem 1.2rem;
}
.release--head { border-color: rgba(245, 196, 81, .3); box-shadow: 0 0 0 1px rgba(245, 196, 81, .08); }
.release__top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.release__ver { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.release__date { font-size: .8rem; color: var(--text-dim); margin-left: auto; }
.release__sum { color: var(--text-soft); font-size: .97rem; margin-bottom: .9rem; }
.release ul { margin: 0; padding-left: 1.15rem; color: var(--text-soft); font-size: .93rem; }
.release li { margin-bottom: .5rem; }
.release li b { color: var(--text); }

/* --------------------------------------------------------------- roadmap */
.lane { display: grid; gap: .9rem; }
.lane__item {
  display: grid; gap: .45rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-left: 3px solid var(--line-strong);
  border-radius: var(--radius-sm); background: rgba(7, 17, 31, .55);
}
.lane__item[data-state="done"] { border-left-color: var(--green); }
.lane__item[data-state="now"] { border-left-color: var(--cyan); }
.lane__item[data-state="next"] { border-left-color: var(--blue); }
.lane__item[data-state="later"] { border-left-color: var(--violet); }
.lane__item[data-state="parked"] { border-left-color: var(--text-dim); }
.lane__item h3 { font-size: 1.02rem; margin: 0; }
.lane__item p { margin: 0; color: var(--text-soft); font-size: .92rem; }

/* ---------------------------------------------------------------- pricing */
.pricing {
  border: 1px solid rgba(245, 196, 81, .3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 50% -20%, rgba(245, 196, 81, .12), transparent 65%),
    linear-gradient(160deg, rgba(18, 38, 63, .75), rgba(5, 13, 24, .9));
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.pricing__badge {
  font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: .18em; text-transform: uppercase;
  background: linear-gradient(120deg, var(--gold), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: .6rem 0 .3rem;
}
.pricing__note { color: var(--text-soft); max-width: 58ch; margin-inline: auto; }
.pricing__grid { display: grid; gap: .9rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); text-align: left; }
.pricing__cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem; background: rgba(7, 17, 31, .6); }
.pricing__cell b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--gold); margin-bottom: .3rem; }
.pricing__cell span { font-size: .88rem; color: var(--text-soft); }

/* ------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: .7rem; }
details.qa {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(7, 17, 31, .6); padding: 0 1.2rem;
}
details.qa[open] { border-color: var(--line-strong); }
details.qa summary {
  cursor: pointer; padding: 1.05rem 0; font-weight: 700; font-size: .99rem;
  list-style: none; display: flex; gap: .8rem; align-items: flex-start;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; content: "+" / ""; margin-left: auto; color: var(--cyan); font-size: 1.3rem; line-height: 1; flex-shrink: 0;
}
details.qa[open] summary::after { content: "−"; content: "−" / ""; }
details.qa p { color: var(--text-soft); font-size: .94rem; padding-bottom: .4rem; }
details.qa p:last-child { margin-bottom: 1rem; }

/* ------------------------------------------------------------------- CTA */
.cta {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(34, 211, 238, .16), transparent 65%),
    linear-gradient(160deg, rgba(18, 38, 63, .8), rgba(5, 13, 24, .92));
  padding: clamp(1.8rem, 5vw, 3rem); text-align: center;
}
.cta h2 { margin-bottom: .6rem; }
.cta p { color: var(--text-soft); max-width: 58ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

/* ------------------------------------------------------------------- blog */
.post-list { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 38, 63, .6), rgba(7, 17, 31, .85));
  transition: transform .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--line-strong); color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.post-card h3 { font-size: 1.08rem; margin: 0; }
.post-card p { font-size: .9rem; color: var(--text-soft); margin: 0; }
.post-card__read { margin-top: auto; padding-top: .6rem; font-size: .85rem; font-weight: 700; color: var(--cyan); }

/* article */
.article { max-width: 74ch; margin-inline: auto; }
.article__meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: .8rem; }
.article h2 { margin-top: 2.4rem; }
.article h3 { margin-top: 1.8rem; }
.article p, .article li { color: var(--text-soft); font-size: 1.02rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .55rem; }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.article figcaption { font-size: .82rem; color: var(--text-dim); margin-top: .6rem; text-align: center; }
.article blockquote {
  margin: 1.8rem 0; padding: 1rem 1.3rem; border-left: 3px solid var(--cyan);
  background: rgba(34, 211, 238, .06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-size: 1.03rem;
}
.article blockquote p:last-child { margin-bottom: 0; }
.article__back { display: inline-block; margin-bottom: 1.4rem; font-size: .88rem; font-weight: 700; }

/* ----------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 520px; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-display); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); background: rgba(34, 211, 238, .05); }
td { color: var(--text-soft); }
tr:last-child td { border-bottom: none; }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 11, 22, .8); padding: 3rem 0 2rem; margin-top: 3rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.site-footer nav { display: flex; flex-direction: column; gap: .45rem; }
.site-footer nav strong { font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: .3rem; }
.site-footer nav a { color: var(--text-dim); font-size: .89rem; }
.site-footer nav a:hover { color: var(--cyan); }
.site-footer__about p { font-size: .85rem; color: var(--text-dim); max-width: 34ch; }
.site-footer__legal {
  margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-size: .79rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
}

/* -------------------------------------------------------------- utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--text-dim); }
.small { font-size: .85rem; }

/* --------------------------------------------- podium character line-up */
/* Source art has opaque backgrounds and inconsistent intrinsic sizes, so each
   slot is a fixed-height frame with contain-fitting art. Varying frame heights
   plus align-items:end produce the podium silhouette without transforms. */
.podium-line {
  display: grid; gap: .7rem; margin: 2.2rem 0 1.4rem;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
}
.podium-line figure { margin: 0; text-align: center; }
.podium-line .podium-line__frame {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(4, 11, 22, .6); overflow: hidden;
  display: grid; place-items: center; height: 130px;
}
.podium-line img { width: 100%; height: 100%; object-fit: contain; }
.podium-line figure[data-place="1"] .podium-line__frame { height: 190px; border-color: rgba(245, 196, 81, .45); }
.podium-line figure[data-place="2"] .podium-line__frame,
.podium-line figure[data-place="3"] .podium-line__frame { height: 160px; }
.podium-line figcaption { margin-top: .55rem; font-size: .78rem; color: var(--text-dim); line-height: 1.35; }
.podium-line b {
  display: block; font-family: var(--font-display); font-size: .9rem; color: var(--text-soft);
}
.podium-line figure[data-place="1"] b { color: var(--gold); }
@media (max-width: 620px) {
  .podium-line { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .podium-line .podium-line__frame,
  .podium-line figure[data-place="1"] .podium-line__frame,
  .podium-line figure[data-place="2"] .podium-line__frame,
  .podium-line figure[data-place="3"] .podium-line__frame { height: 110px; }
}

/* ======================================================= September 2026 update */
.chip--dev { color: var(--rose); border-color: rgba(251, 113, 133, .38); background: rgba(251, 113, 133, .1); }

/* Waitlist / early-trial banner */
.early {
  display: grid; gap: 1.2rem; align-items: center;
  border: 1px solid rgba(52, 211, 153, .35); border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(52, 211, 153, .14), transparent 70%),
    radial-gradient(520px 220px at 100% 100%, rgba(34, 211, 238, .12), transparent 70%),
    linear-gradient(160deg, rgba(18, 38, 63, .8), rgba(5, 13, 24, .92));
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.early h2 { margin: .4rem 0 .6rem; }
.early p { color: var(--text-soft); margin: 0 0 .6rem; }
.early__steps { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: early; }
.early__steps li {
  counter-increment: early; position: relative; padding: .85rem 1rem .85rem 3.1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .6);
  color: var(--text-soft); font-size: .92rem;
}
.early__steps li::before {
  content: counter(early); position: absolute; left: .9rem; top: .8rem;
  width: 1.55rem; height: 1.55rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(52, 211, 153, .18); color: var(--green); font-weight: 800; font-size: .85rem;
}
.early__steps b { color: var(--text); }
@media (min-width: 900px) { .early { grid-template-columns: 1.1fr 1fr; gap: 2rem; } }

/* Full-frame screenshots (no cropping) */
.shots--full .shot img, .shot--full img { aspect-ratio: auto; object-fit: contain; background: #03080f; }
.shots--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.shot--tall img { aspect-ratio: auto; max-height: 720px; object-fit: contain; background: #03080f; }
.shot__tag {
  display: inline-block; margin-bottom: .35rem; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan);
}
.shot__tag--dev { color: var(--rose); }

/* Feature list with ticks */
.ticks { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .45rem; }
.ticks li { position: relative; padding-left: 1.5rem; color: var(--text-soft); font-size: .93rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.ticks li b { color: var(--text); }

/* Dev-preview panel */
.devpanel {
  border: 1px dashed rgba(251, 113, 133, .4); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(40, 18, 38, .35), rgba(5, 13, 24, .85));
  padding: clamp(1.3rem, 3.5vw, 2rem);
}

/* Mecha teaser + page */
.mecha-teaser {
  display: grid; gap: 1.4rem; align-items: center; overflow: hidden;
  border: 1px solid rgba(167, 139, 250, .35); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 85% 50%, rgba(167, 139, 250, .18), transparent 70%),
    linear-gradient(160deg, rgba(18, 38, 63, .8), rgba(5, 13, 24, .95));
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.mecha-teaser__cast { display: flex; justify-content: center; align-items: flex-end; gap: .2rem; }
.mecha-teaser__cast img { width: 17%; max-height: 210px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.mecha-teaser__cast img:nth-child(3) { width: 22%; max-height: 250px; }
@media (min-width: 860px) { .mecha-teaser { grid-template-columns: 1fr 1.1fr; } }

.mecha-hero { position: relative; overflow: hidden; min-height: min(82vh, 760px); display: flex; align-items: flex-end; }
.mecha-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mecha-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 11, 22, .25) 0%, rgba(4, 11, 22, .55) 55%, var(--ink-900) 100%);
}
.mecha-hero .shell { position: relative; z-index: 1; padding-block: 3rem 3.5rem; }
.mecha-hero h1 { max-width: 16ch; }
.mecha-hero .lead { max-width: 60ch; }
.mecha-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.mecha-card {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(240px 200px at 50% 30%, rgba(167, 139, 250, .16), transparent 70%), rgba(7, 17, 31, .75);
  transition: transform .2s ease, border-color .2s ease;
}
.mecha-card:hover { transform: translateY(-3px); border-color: rgba(167, 139, 250, .45); }
.mecha-card img { width: 100%; height: 240px; object-fit: contain; padding: 1rem .6rem 0; }
.mecha-card figcaption { padding: .7rem .9rem 1rem; font-size: .86rem; color: var(--text-soft); }
.mecha-card figcaption b { display: block; font-family: var(--font-display); color: var(--text); letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) { .mecha-card { transition: none; } .mecha-card:hover { transform: none; } }

/* Screenshot lightbox */
img.is-zoomable { cursor: zoom-in; }
/* the figure clips anything drawn outside the image, so the focus ring sits inside it */
img.is-zoomable:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
dialog.lightbox {
  padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #03080f; max-width: min(96vw, 1800px); max-height: 94vh; overflow: hidden;
}
dialog.lightbox::backdrop { background: rgba(2, 6, 12, .86); }
dialog.lightbox img { display: block; max-width: min(96vw, 1800px); max-height: 94vh; width: auto; height: auto; cursor: zoom-out; }
.lightbox__close {
  position: absolute; top: .5rem; right: .5rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(4, 11, 22, .8); color: var(--text); font-size: 1.3rem; cursor: pointer;
}
/* the close button sits in the corner of the screen, not on top of the capture */
dialog.lightbox .lightbox__close { position: fixed; top: .6rem; right: .6rem; z-index: 2; }
@media (max-width: 700px) {
  /* phones: a wide capture keeps a readable height and pans sideways instead of shrinking to the screen width
     (site.js adds lightbox--wide for landscape images) */
  dialog.lightbox--wide { max-width: 100vw; overflow: auto; -webkit-overflow-scrolling: touch; }
  dialog.lightbox--wide img { max-width: none; width: auto; height: min(62vh, 440px); }
}

/* Field test videos + developer note */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .7); overflow: hidden; }
.video-card .video-embed { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.video-card__body { padding: .85rem 1rem 1rem; font-size: .88rem; color: var(--text-soft); }
.video-card__body b { display: block; color: var(--text); font-size: .95rem; margin-bottom: .15rem; }
.honest-note {
  border-left: 3px solid var(--gold); border-radius: var(--radius-sm);
  background: rgba(245, 196, 81, .06); padding: 1rem 1.2rem; margin-top: 1.2rem;
  color: var(--text-soft); font-size: .93rem;
}
.honest-note b { color: var(--gold); }
.versions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 0; }
.letter {
  position: relative; border: 1px solid rgba(245, 196, 81, .3); border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(245, 196, 81, .1), transparent 70%),
    linear-gradient(160deg, rgba(18, 38, 63, .8), rgba(5, 13, 24, .94));
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
.letter h2 { margin: .5rem 0 1rem; }
.letter p { color: var(--text-soft); max-width: 68ch; }
.letter p strong { color: var(--text); }
.letter__sign { margin-top: 1.4rem; font-family: var(--font-display); color: var(--gold); letter-spacing: .06em; }
.expect { display: grid; gap: .8rem; margin-top: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.expect div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: rgba(7, 17, 31, .55); font-size: .9rem; color: var(--text-soft); }
.expect b { display: block; color: var(--text); margin-bottom: .25rem; }

/* ============================================ Compact layout (tabs, subnav, strips) */
html { scroll-padding-top: 128px; }
.section--compact { padding: clamp(2.4rem, 5vw, 3.8rem) 0; }

/* Split hero: copy left, visual right */
.hero__split { display: grid; gap: 2rem; align-items: center; }
.hero__visual { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero__visual img { width: 100%; display: block; }
@media (min-width: 980px) { .hero__split { grid-template-columns: 1.05fr .95fr; } }

/* Sticky in-page navigation */
.subnav {
  position: sticky; top: 64px; z-index: 50;
  background: rgba(4, 11, 22, .9); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.subnav__inner { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .55rem 0; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: 0 0 auto; padding: .42rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--text-soft); border: 1px solid transparent; white-space: nowrap;
}
.subnav a:hover { color: var(--text); border-color: var(--line); }
.subnav a.is-active { color: var(--cyan); border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); }
.subnav a:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }

/* Tabs (progressive: without JS every panel shows, stacked) */
.tabs__list {
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .35rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.tabs__list [role="tab"] {
  flex: 0 0 auto; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 700; color: var(--text-soft);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.tabs__list [role="tab"]:hover { color: var(--text); border-color: var(--line-strong); }
.tabs__list [role="tab"][aria-selected="true"] { color: #031018; background: linear-gradient(120deg, var(--cyan), var(--blue)); border-color: transparent; }
.tabs__list [role="tab"] small { font-weight: 600; opacity: .75; margin-left: .3rem; }
/* the list is a scroll container and would clip an outer ring, so the focus ring is drawn inside the pill */
.tabs__list [role="tab"]:focus-visible { outline: 2px solid var(--text); outline-offset: -4px; }
/* more tabs than fit (phones): fade the right edge until the list is scrolled to its end (class set by site.js) */
.tabs__list.has-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
/* Without JavaScript every panel shows, stacked: the dead tab buttons go and each panel shows its own title instead. */
.tabs__title { display: none; font-size: 1.05rem; margin: 0 0 .7rem; }
@media (scripting: none) {
  .tabs__list { display: none; }
  .tabs__title { display: block; }
}
.tabs__panel + .tabs__panel { margin-top: 1.4rem; }
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: var(--radius); }
.tabs__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .tabs.is-ready .tabs__panel:not([hidden]) { animation: tabIn .25s ease; }
  @keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Feature panel: text + image */
.feature { display: grid; gap: 1.4rem; align-items: start; }
.feature__media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #03080f; }
.feature__media img { width: 100%; display: block; }
.feature__media figcaption { padding: .6rem .9rem; font-size: .8rem; color: var(--text-dim); border-top: 1px solid var(--line); }
.feature h3 { font-size: 1.35rem; margin: .2rem 0 .6rem; }
.feature p { color: var(--text-soft); }
@media (min-width: 900px) { .feature { grid-template-columns: .8fr 1.2fr; gap: 2rem; } .feature--wide-media { grid-template-columns: .7fr 1.3fr; } }

/* Horizontal, swipeable strip of shots */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 32%); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin;
}
.strip > * { scroll-snap-align: start; }
.strip--wide { grid-auto-columns: minmax(280px, 48%); }
.strip .shot img { aspect-ratio: 4 / 3; object-fit: cover; background: #03080f; }
.strip--contain .shot img { object-fit: contain; }
@media (max-width: 700px) { .strip, .strip--wide { grid-auto-columns: 82%; } }
.strip-hint { font-size: .84rem; color: var(--text-soft); margin-top: .3rem; }

/* Compact cards */
.grid--4c { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card--compact { padding: 1.1rem 1.15rem; }
.card--compact h3, .card--compact h4 { font-size: 1rem; margin-bottom: .35rem; }
.card--compact p { font-size: .9rem; margin: 0; }

/* Field-test timeline tabs */
.fieldtag { display: inline-flex; gap: .45rem; align-items: center; font-size: .78rem; color: var(--text-dim); margin-bottom: .4rem; }
.fieldtag b { color: var(--gold); font-weight: 700; }
.subnav__inner { position: relative; }

/* Hidden post-credit link */
a.mecha-card-link { display: block; color: inherit; }
a.mecha-card-link .mecha-card { height: 100%; }
.secret-step { text-align: center; margin: 0; padding: 0 0 2.2rem; font-size: .72rem; letter-spacing: .08em; }
.secret-step a { color: rgba(125, 148, 173, .28); }
.secret-step a:hover, .secret-step a:focus-visible { color: var(--violet); }
.strip > figure, .feature__media, .hero__visual, .tabs__panel > figure, figure.shot { margin: 0; }

/* ============================================ Unified header (24 Sep 2026) */
/* Same height, same links, same button on every page; the scrollbar gutter
   is reserved so switching between long and short pages never shifts it. */
html { scrollbar-gutter: stable; scroll-padding-top: 140px; }
.announce {
  background: linear-gradient(90deg, rgba(245, 196, 81, .12), rgba(34, 211, 238, .1));
  border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--text-soft);
}
.announce__inner { display: flex; align-items: center; justify-content: center; gap: .7rem; height: 36px; white-space: nowrap; overflow: hidden; }
.announce__tag {
  font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(245, 196, 81, .35); border-radius: 999px; padding: .08rem .5rem;
}
.announce__text { overflow: hidden; text-overflow: ellipsis; }
.announce__link { font-weight: 700; color: var(--cyan); flex-shrink: 0; padding-block: .45rem; }
/* hide the sentence before it would be cut by the ellipsis (the Malay one is longer) */
@media (max-width: 1000px) { .announce__text { display: none; } }
@media (max-width: 1100px) { html[lang="ms"] .announce__text { display: none; } }

.site-header { background: rgba(4, 11, 22, .88); }
.site-header__inner { height: 72px; min-height: 0; padding: 0; gap: 1.4rem; }
.brand img, .site-header .brand img { width: auto; height: 54px; border-radius: 0; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); }
.brand--footer img { height: 96px !important; width: auto !important; border-radius: 0 !important; }
.nav { flex-wrap: nowrap; gap: .15rem; }
.nav a { position: relative; white-space: nowrap; padding: .5rem .75rem; border-radius: 8px; }
.nav a[aria-current="page"] { background: transparent; color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -.9rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.header-actions .btn { width: 148px; }
.subnav { top: 72px; }
@media (max-width: 1120px) {
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0;
    background: #050e1a; border-bottom: 1px solid var(--line);
    padding: .5rem 1.2rem 1rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .72rem .4rem; border-bottom: 1px solid rgba(148, 197, 255, .07); border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--cyan); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; order: 2; }
  .header-actions { order: 1; margin-left: auto; }
  .header-actions .btn { display: inline-flex; }
}
@media (max-width: 520px) {
  .site-header__inner { height: 64px; }
  .brand img, .site-header .brand img { height: 46px; }
  .subnav { top: 64px; }
  .header-actions .btn { width: auto; padding-inline: .8rem; }
}

/* Home hero with background video */
.home-hero { position: relative; overflow: hidden; min-height: min(86vh, 780px); display: flex; align-items: center; }
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 11, 22, .94) 0%, rgba(4, 11, 22, .78) 42%, rgba(4, 11, 22, .25) 75%, rgba(4, 11, 22, .45) 100%),
    linear-gradient(180deg, rgba(4, 11, 22, .2) 60%, var(--ink-900) 100%);
}
.home-hero__inner { position: relative; z-index: 1; padding-block: 3.2rem 4rem; }
.home-hero__copy { max-width: 640px; }
.home-hero__logo { width: min(250px, 58vw); height: auto; margin-bottom: .6rem; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7)); }
.home-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--cyan), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lead { max-width: 56ch; }
@media (max-width: 720px) {
  .home-hero::after { background: linear-gradient(180deg, rgba(4, 11, 22, .55) 0%, rgba(4, 11, 22, .88) 55%, var(--ink-900) 100%); }
}
dialog.intro-dialog { padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #000; width: min(96vw, 1100px); overflow: hidden; }
dialog.intro-dialog::backdrop { background: rgba(2, 6, 12, .9); }
dialog.intro-dialog video { display: block; width: 100%; height: auto; }
dialog.intro-dialog .lightbox__close { z-index: 2; }
.product-badge { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.product-badge img { width: 84px; height: auto; filter: drop-shadow(0 10px 22px rgba(239, 68, 68, .25)); }
.product-badge .chip { margin-top: .4rem; }
.app-family { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.2rem 0 .9rem; }
.app-family span { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem .3rem .35rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 17, 31, .6); font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.app-family img { width: 34px; height: 34px; object-fit: contain; }

/* Compact hero for inner pages */
.hero--compact { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.2rem, 3vw, 2rem); }
.hero--compact h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.tab-ico { display: inline-block; width: 20px; height: auto; vertical-align: -4px; margin-right: .45rem; border-radius: 4px; }

/* Collapsible older releases */
.release-folds { display: grid; gap: .55rem; }
details.release-fold { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(7, 17, 31, .55); }
details.release-fold[open] { border-color: var(--line-strong); }
details.release-fold summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .3rem .8rem;
  padding: .8rem 1rem;
}
details.release-fold summary::-webkit-details-marker { display: none; }
details.release-fold summary::after { content: "+"; color: var(--cyan); font-size: 1.2rem; grid-column: 4; grid-row: 1; }
details.release-fold[open] summary::after { content: "−"; }
details.release-fold .release__ver { font-size: 1rem; }
details.release-fold .release__date { margin-left: 0; grid-column: 3; justify-self: end; }
details.release-fold .release-fold__sum { grid-column: 1 / -1; font-size: .88rem; color: var(--text-soft); }
details.release-fold ul { margin: 0 1rem 1rem; padding-left: 1.1rem; color: var(--text-soft); font-size: .92rem; }
details.release-fold li { margin-bottom: .45rem; }
details.release-fold li b { color: var(--text); }

/* Roadmap board */
.board__lead { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin: .2rem 0 1rem; }
.board { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.board__col { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .5); padding: .8rem; display: grid; gap: .6rem; }
.board__title { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-body); font-size: 1rem; margin: 0 0 .1rem; }
.board__title small { color: var(--text-dim); font-weight: 700; }
.board__item { border: 1px solid var(--line); border-left: 3px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(4, 11, 22, .6); padding: .75rem .85rem; }
.board__item[data-state="done"] { border-left-color: var(--green); }
.board__item[data-state="now"] { border-left-color: var(--cyan); }
.board__item[data-state="next"] { border-left-color: var(--blue); }
.board__item[data-state="later"] { border-left-color: var(--violet); }
.board__item h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin: 0 0 .3rem; }
.board__item p { margin: 0; font-size: .86rem; color: var(--text-soft); }
.board__later { float: right; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.brand__word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; color: #eef3f9; letter-spacing: .01em; }
.brand__word b { color: inherit; }
.brand__word { background: none; }
.brand__word::first-letter { color: inherit; }
.brand__word small { font-family: var(--font-body); font-size: .56rem; letter-spacing: .2em; color: var(--text-dim); font-weight: 600; text-transform: uppercase; margin-top: .3rem; }
.site-header .brand { gap: .7rem; }
@media (max-width: 520px) { .brand__word small { display: none; } .brand__word { font-size: 1.05rem; } }
.brand__word i { font-style: normal; color: #ef4444; text-shadow: 0 0 14px rgba(239, 68, 68, .35); }
.brand .brand__word > span { display: block; }
@media (max-width: 520px) { .brand .brand__word { display: none; } }

/* Forms (shared) */
.zform { display: grid; gap: 1rem; }
  .zform__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .zform label { display: block; font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--text); margin-bottom: .38rem; }
  .zform input, .zform select, .zform textarea {
    width: 100%; padding: .7rem .85rem; font: inherit; font-size: .94rem;
    color: var(--text); background: rgba(4, 11, 22, .7);
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  }
  .zform input:focus, .zform select:focus, .zform textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .14);
  }
  .zform textarea { resize: vertical; min-height: 140px; }
  .zform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .zform__status { font-weight: 600; font-size: .92rem; margin: 0; }
  .zform__status[data-state="ok"] { color: var(--green); }
  .zform__status[data-state="error"] { color: var(--rose); }
.waitlist-card { padding: 1.7rem; border-color: rgba(34, 211, 238, .35); }

/* Blog comments (moderated, api/comments.php) */
.comments { margin-top: 2.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(7, 17, 31, .6); padding: clamp(1.2rem, 3vw, 1.8rem); }
.comments h2 { font-size: 1.35rem; }
.comments__intro, .comment-form .help { color: var(--text-soft); font-size: .92rem; }
.comments-list { display: grid; gap: .7rem; margin: 1rem 0 1.4rem; }
.comments-empty { color: var(--text-dim); font-size: .9rem; margin: 0; }
.comment-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; background: rgba(4, 11, 22, .6); }
.comment-card__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; margin-bottom: .3rem; }
.comment-card__top time { color: var(--text-dim); }
.comment-card p { margin: 0; color: var(--text-soft); font-size: .93rem; }
.comment-form h3 { font-size: 1.05rem; }
.comment-form .form-row { margin-bottom: .8rem; }
.form-msg { font-size: .9rem; margin-top: .6rem; }
.form-msg--ok { color: var(--green); }
.form-msg--err { color: var(--rose); }

/* Guide link row */
.guide-links { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: 1.2rem; font-size: .88rem; }
.guide-links span { color: var(--text-dim); font-weight: 700; margin-right: .2rem; }
.guide-links a { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; color: var(--text-soft); background: rgba(7, 17, 31, .6); }
.guide-links a:hover { color: var(--cyan); border-color: rgba(34, 211, 238, .4); }
.article .card h3, .article .board__item h3 { margin-top: 0; }
.comment-card, .comment-card p, .comments-list { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.comments-list { grid-template-columns: minmax(0, 1fr); }

/* Elements with the hidden attribute stay hidden even when a component sets display */
[hidden] { display: none !important; }

/* Malay header button is longer than the English one */
html[lang="ms"] .header-actions .btn { width: auto; }
.brand__word small { white-space: nowrap; }
/* The tagline must never run into the first nav link. The Malay nav is wider, so its tagline never fits beside it. */
html[lang="ms"] .brand__word small { display: none; }
@media (max-width: 1180px) { .brand__word small { display: none; } }
/* The logo keeps its shape on narrow phones; the long Malay button gives way instead. */
.site-header .brand { flex: 0 0 auto; }
.site-header .brand img { max-width: none; }
.header-actions { min-width: 0; }
@media (max-width: 520px) { .site-header__inner { gap: .6rem; } }
@media (max-width: 420px) { .btn { white-space: normal; } }
@media (max-width: 359px) {
  html[lang="ms"] .header-actions .btn { max-width: 8.6rem; line-height: 1.15; padding-block: .3rem; }
}

/* Credits tables */
.credits-table td { vertical-align: top; font-size: .9rem; color: var(--text-soft); }
.credits-table td:first-child { min-width: 190px; }
.credits-table td b { color: var(--text); }
.credits-table .lic { display: inline-block; white-space: nowrap; font-size: .76rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-soft); }
.tabs .tabs .tabs__list [role="tab"] { font-size: .82rem; padding: .38rem .8rem; }
@media (max-width: 640px) { .credits-table td:first-child { min-width: 140px; } }

/* ============================================ Viewer Mode page (Oct 2026) */
/* ============================================ Viewer Mode flow diagrams (.vflow)
   The markup was generated once and is now kept by hand, inline in chesszcam-viewer.html and ms/chesszcam-viewer.html
   (keep the two files in step).
   Key to the short helper classes used inside the inline SVG:
     paint (fill = currentColor)   k9 k8 k7 k6 = --ink-900..600, cy cyan, gd gold, gp gold-deep, gn green,
                                   vi violet, ro rose, tx text, so text-soft, dm text-dim, wp/bp white/black piece
     outlines                      ol line, oc cyan, og gold, ov violet, on green, ln thin line
     moving parts (all carry "a")  qs QR shown/scanned, sc scan line, ok "Connected", pc real pawn, cn camera cone,
                                   i2/i3 from/to square + "Move detected", pk/pk1 travelling move, i4/dq PC board,
                                   i4b overlay + stream, arc Wi-Fi arcs, i5/dp/ev/i6 viewer board, eval bar, verdict,
                                   s1-s5 halo of a numbered badge (same timing as its step card) */
.vflow {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(.9rem, 2.4vw, 1.5rem);
  background: linear-gradient(160deg, rgba(18, 38, 63, .6), rgba(5, 13, 24, .9)); box-shadow: var(--shadow);
}
.vflow__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .9rem; }
.vflow__bar > div { flex: 1 1 0; min-width: 0; }
.vflow__title { margin: 0; font-size: clamp(.95rem, 1.8vw, 1.2rem); }
.vflow__sub { margin: .2rem 0 0; color: var(--text-soft); font-size: .88rem; line-height: 1.4; }
.vflow__toggle {
  flex: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: .4rem .95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(148, 197, 255, .07);
  color: var(--text); font: 700 .82rem var(--font-body); cursor: pointer;
}
.vflow__toggle[hidden] { display: none; }
.vflow__toggle:hover { background: rgba(148, 197, 255, .13); }
.vflow__toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.vflow__toggle::before { content: ""; width: .62rem; height: .72rem; border-inline: .2rem solid currentColor; }
.vflow--paused .vflow__toggle::before { width: 0; height: 0; border: .38rem solid transparent; border-left: .62rem solid currentColor; border-right: 0; }
.vflow__play, .vflow--paused .vflow__pause { display: none; }
.vflow--paused .vflow__play { display: inline; }
.vflow__stage { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-900); }
.vflow__stage svg, .vflow-defs { fill: currentColor; color: var(--text); font: 500 13px/1 var(--font-body); }
.vflow__stage svg { display: block; width: 100%; height: auto; }
.vflow__stage .vflow__tall { display: none; }
.vflow-defs { position: absolute; width: 0; height: 0; }
.vflow__limits {
  margin: .8rem 0 0; padding: .55rem .85rem; border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(245, 196, 81, .07); color: var(--text); font-size: .9rem; font-weight: 600; line-height: 1.45;
}

/* numbered steps: the ::after frame lights up in time with the animation */
.vflow__steps { list-style: none; counter-reset: vflow; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: .8rem 0 0; padding: 0; }
.vflow__steps li {
  counter-increment: vflow; position: relative; padding: .8rem .85rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .6);
  color: var(--text-soft); font-size: .86rem; line-height: 1.45;
}
.vflow__steps li::before {
  content: counter(vflow); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-bottom: .45rem;
  border-radius: 50%; background: var(--cyan); color: var(--ink-900); font-weight: 800; font-size: .8rem;
}
.vflow__steps .vflow-g::before { background: var(--gold); }
.vflow__steps .vflow-v::before { background: var(--violet); }
.vflow__steps li::after {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--cyan); border-radius: inherit;
  background: rgba(34, 211, 238, .07); box-shadow: 0 0 0 3px rgba(34, 211, 238, .1); opacity: 0; pointer-events: none;
}
.vflow__steps b { display: block; margin-bottom: .15rem; color: var(--text); }
.vflow__note { margin: .9rem 0 0; color: var(--text-dim); font-size: .82rem; }

/* paint helpers for the inline SVG (colour = token, shapes fill with currentColor) */
.vflow-k9 { color: var(--ink-900); } .vflow-k8 { color: var(--ink-800); } .vflow-k7 { color: var(--ink-700); } .vflow-k6 { color: var(--ink-600); }
.vflow-cy { color: var(--cyan); } .vflow-gd { color: var(--gold); } .vflow-gp { color: var(--gold-deep); }
.vflow-gn { color: var(--green); } .vflow-vi { color: var(--violet); } .vflow-ro { color: var(--rose); }
.vflow-tx { color: var(--text); } .vflow-so { color: var(--text-soft); } .vflow-dm { color: var(--text-dim); }
.vflow-wp { color: var(--text); stroke: var(--ink-900); } .vflow-bp { color: var(--ink-900); stroke: var(--text-soft); }
.vflow-ol { stroke: var(--line-strong); } .vflow-oc { stroke: var(--cyan); } .vflow-og { stroke: var(--gold); }
.vflow-ov { stroke: var(--violet); } .vflow-on { stroke: var(--green); }
.vflow-ln { fill: none; stroke: var(--line-strong); }
.vflow-wall { color: var(--ink-600); stroke: var(--line-strong); }
.vflow-chip { fill-opacity: .13; stroke: currentColor; stroke-opacity: .55; }
.vflow-route { fill: none; stroke: var(--cyan); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; }
.vflow-sign { font: 700 13px var(--font-display); letter-spacing: .16em; color: var(--text-soft); }
.vflow-b { font-weight: 700; }
/* resting state = the finished story (what reduced-motion and no-script visitors see) */
.vflow-cn { opacity: .12; }
.vflow-sc, .vflow-halo { opacity: 0; }
.vflow-pk { transform: translate(var(--sx), var(--sy)); }
.vflow-pk1 { opacity: 0; }
.vflow-ev { transform-box: fill-box; transform-origin: 50% 100%; }

@media (max-width: 1119px) {
  .vflow__stage { width: 100%; max-width: 430px; margin-inline: auto; }
  .vflow__stage .vflow__wide { display: none; }
  .vflow__stage .vflow__tall { display: block; }
  .vflow__steps { grid-template-columns: 1fr; }
  .vflow__steps li { padding-left: 2.9rem; }
  .vflow__steps li::before { position: absolute; left: .8rem; top: .8rem; margin: 0; }
}
@media (min-width: 760px) and (max-width: 1119px) {
  .vflow__body { display: grid; grid-template-columns: minmax(0, 400px) 1fr; grid-template-rows: auto 1fr; gap: 0 1rem; align-items: start; }
  .vflow__stage { grid-row: 1 / 3; }
  .vflow__limits { margin-top: 0; }
}
@media (max-width: 520px) {
  /* phones: the picture uses the full screen width (the site shell has a 1.2rem gutter) */
  figure.vflow { margin-inline: -1.2rem; padding: .8rem 0; border-inline: 0; border-radius: 0; }
  .vflow__bar, .vflow__limits, .vflow__steps, .vflow__note { margin-inline: .7rem; }
  .vflow__stage { border-inline: 0; border-radius: 0; max-width: none; }
  /* hidden from sight only: the word stays in the button's accessible name */
  .vflow__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .vflow__toggle { display: none; } }

/* One 14 s loop, started by the script (class vflow--live); without it the picture rests on the finished story.
   0-20% join (QR, scan, Connected) · 20-33% the pawn moves · 33-46% the camera phone detects it
   46-68% the move travels (B: the PC also updates the vMix overlay) · 68-97% the viewer's board updates
   97-100% rewind: highlights fade and the pawn slides back, so nothing blinks at the seam. */
@media (prefers-reduced-motion: no-preference) {
  .vflow--live .vflow-a, .vflow--live .vflow__steps li::after { animation-duration: 14s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
  .vflow--live .vflow-pk, .vflow--live .vflow-pk1 { animation-timing-function: linear; }
  .vflow--paused .vflow-a, .vflow--paused .vflow__steps li::after, .vflow--off .vflow-a, .vflow--off .vflow__steps li::after { animation-play-state: paused; }
  .vflow-qs { animation-name: vflowQs; } .vflow-sc { animation-name: vflowSc; } .vflow-ok { animation-name: vflowOk; }
  .vflow-pc { animation-name: vflowPc; } .vflow-cn { animation-name: vflowCn; }
  .vflow-i2 { animation-name: vflowI2; } .vflow-i3 { animation-name: vflowI3; } .vflow-i4 { animation-name: vflowI4; }
  .vflow-i4b { animation-name: vflowI4b; } .vflow-i5 { animation-name: vflowI5; } .vflow-i6 { animation-name: vflowI6; }
  .vflow-pk { animation-name: vflowPk; } .vflow-pk1 { animation-name: vflowPk1; }
  .vflow-dp { animation-name: vflowDp; } .vflow-dq { animation-name: vflowDq; } .vflow-ev { animation-name: vflowEv; }
  .vflow-arc { animation-name: vflowArc; }
  .vflow-arc:nth-child(3) { animation-delay: .2s; } .vflow-arc:nth-child(4) { animation-delay: .4s; }
  .vflow-s1, .vflow__steps li:nth-child(1)::after { animation-name: vflowS1; }
  .vflow-s2, .vflow__steps li:nth-child(2)::after { animation-name: vflowS2; }
  .vflow-s3, .vflow__steps li:nth-child(3)::after { animation-name: vflowS3; }
  .vflow-s4, .vflow__steps li:nth-child(4)::after { animation-name: vflowS4; }
  .vflow-s5, .vflow__steps li:nth-child(5)::after { animation-name: vflowS5; }
  .vflow--b .vflow-s5, .vflow--b .vflow__steps li:nth-child(5)::after { animation-name: vflowS5b; }

  @keyframes vflowQs { 0%, 20%, 100% { opacity: 1; } 26%, 95% { opacity: .72; } }
  @keyframes vflowSc { 0%, 4% { opacity: 0; transform: none; } 6% { opacity: .9; } 13% { opacity: .9; transform: translateY(27px); } 15%, 100% { opacity: 0; transform: translateY(27px); } }
  @keyframes vflowOk { 0%, 14% { opacity: 0; } 17%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowPc { 0%, 22%, 100% { transform: translate(-18px, 22px); } 26% { transform: translate(-10px, 5px); } 30%, 97% { transform: none; } }
  @keyframes vflowCn { 0%, 33%, 46%, 100% { opacity: .08; } 36%, 42% { opacity: .3; } }
  @keyframes vflowI2 { 0%, 31% { opacity: 0; } 34%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowI3 { 0%, 36% { opacity: 0; } 39%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowI4 { 0%, 44% { opacity: 0; } 47%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowI4b { 0%, 46%, 70%, 100% { opacity: .62; } 50%, 64% { opacity: 1; } }
  @keyframes vflowI5 { 0%, 68% { opacity: 0; } 71%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowI6 { 0%, 78% { opacity: 0; } 82%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes vflowPk { 0%, 46% { opacity: 0; transform: none; } 48% { opacity: 1; } 52% { transform: translate(var(--mx), var(--my)); } 66% { opacity: 1; transform: translate(var(--dx), var(--dy)); } 69%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
  @keyframes vflowPk1 { 0%, 36% { opacity: 0; transform: none; } 38% { opacity: 1; } 41% { transform: translate(var(--mx), var(--my)); } 44.5% { opacity: 1; transform: translate(var(--dx), var(--dy)); } 46%, 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
  @keyframes vflowDp { 0%, 68%, 100% { transform: translateY(2px); } 75%, 97% { transform: none; } }
  @keyframes vflowDq { 0%, 44%, 100% { transform: translateY(2px); } 48%, 97% { transform: none; } }
  @keyframes vflowEv { 0%, 72% { transform: scaleY(.84); } 78%, 97% { transform: none; } 100% { transform: scaleY(.84); } }
  @keyframes vflowArc { 0%, 46%, 70%, 100% { opacity: .5; } 52%, 64% { opacity: 1; } }
  @keyframes vflowS1 { 0%, 22%, 100% { opacity: 0; } 1%, 20% { opacity: 1; } }
  @keyframes vflowS2 { 0%, 21%, 34%, 100% { opacity: 0; } 23%, 32% { opacity: 1; } }
  @keyframes vflowS3 { 0%, 32%, 47%, 100% { opacity: 0; } 34%, 45% { opacity: 1; } }
  @keyframes vflowS4 { 0%, 45%, 69%, 100% { opacity: 0; } 47%, 67% { opacity: 1; } }
  @keyframes vflowS5 { 0%, 67%, 100% { opacity: 0; } 69%, 98% { opacity: 1; } }
  @keyframes vflowS5b { 0%, 45%, 100% { opacity: 0; } 47%, 98% { opacity: 1; } }
}

/* Viewer Mode page: landscape phone frame, capture strips, setup lists, FAQ columns */
.vphone-fig { margin: 0; }
.vphone {
  position: relative; padding: 2.3% 2.6% 2.3% 3.4%; border-radius: 6% / 13%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, #1c2a3f, #060b13 48%, #111c2c);
  box-shadow: 0 34px 60px -32px rgba(0, 0, 0, .9), 0 0 70px -30px rgba(34, 211, 238, .35), inset 0 0 0 2px rgba(0, 0, 0, .55);
}
.vphone::before {
  content: ""; position: absolute; left: 1.25%; top: 50%; width: 1%; aspect-ratio: 1; border-radius: 50%;
  transform: translateY(-50%); background: #0d1828; box-shadow: 0 0 0 1px rgba(148, 197, 255, .22);
}
.vphone img { display: block; width: 100%; height: auto; border-radius: 3.4% / 7.4%; background: #03080f; }
.vphone-fig figcaption { margin-top: .8rem; font-size: .8rem; color: var(--text-dim); text-align: center; }
.btn--wrap { white-space: normal; }
.section-head--wide { max-width: none; }
.section-head--wide .lead { max-width: 72ch; }
/* 350px leaves a slice of the fourth card in view on desktop: the cue that the strip scrolls */
.strip--phone, .strip--overlay { grid-auto-columns: min(86%, 350px); }
.strip--phone .shot img { aspect-ratio: 844 / 390; object-fit: contain; }
.strip--overlay .shot img { aspect-ratio: 16 / 9; object-fit: contain; }
.vsetup { display: grid; gap: 1.4rem; align-items: start; }
.vsetup__media { display: grid; gap: .9rem; }
@media (min-width: 600px) and (max-width: 899px) { .vsetup__media { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 900px) {
  .vsetup { grid-template-columns: 1.4fr .6fr; gap: 2rem; }
  .feature--even { grid-template-columns: 1fr 1fr; }
}
.vuses { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: .9rem; }
@media (max-width: 700px) {
  /* phones: the six use cards become one swipe strip instead of six stacked cards */
  .vuses { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin; }
  .vuses > * { scroll-snap-align: start; }
}
.vcheck { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .55); }
.vcheck h3 { font-size: 1rem; margin-bottom: .2rem; }
.vcheck .ticks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .5rem 1.6rem; }
.ticks--limits li::before { content: "!"; color: var(--gold); }
.card p.vcaveat { margin-top: .6rem; padding-top: .55rem; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--text-dim); }
.vcaveat b { color: var(--gold); font-weight: 700; }
.faq-cols { display: grid; gap: .7rem; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; gap: .7rem 1rem; align-items: start; } }

/* Theme song card in the Studio demos section: links only, nothing plays on the page. */
.theme-song { display: flex; gap: 1rem; align-items: center; margin-top: 1.25rem; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(148, 197, 255, .05); max-width: 640px; }
.theme-song img { flex: none; width: 112px; height: 112px; border-radius: 10px; object-fit: cover; }
.theme-song h3 { margin: .1rem 0 .3rem; font-size: 1.05rem; }
.theme-song p { margin: 0 0 .4rem; }
.theme-song__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
@media (max-width: 480px) { .theme-song { flex-direction: column; align-items: flex-start; } }
/* ============================================ Creator workflow motion diagram (.cflow), 15 Oct 2026
   Used on otb-chess-creators.html and ms/otb-chess-creators.html. Without JavaScript every scene is a card in a
   grid (the whole story, readable). js/site.js adds .cflow--live: the scenes stack inside one 16:9 screen and play
   one after another (5.5 s each, slow zoom towards --fx/--fy, a highlight box at --rx/--ry/--rw/--rh, a caption),
   while the pipeline below lights the current step. Pause/Play button; reduced motion = no auto-play and no zoom,
   the pipeline steps still switch scenes. */
.cflow {
  --scene: 5.5s;
  max-width: 1060px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(.9rem, 2.4vw, 1.4rem);
  background: linear-gradient(160deg, rgba(18, 38, 63, .6), rgba(5, 13, 24, .92)); box-shadow: var(--shadow);
}
.cflow__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .9rem; }
.cflow__bar > div { flex: 1 1 0; min-width: 0; }
.cflow__title { margin: 0; font: 700 clamp(.98rem, 1.8vw, 1.2rem)/1.25 var(--font-display); }
.cflow__sub { margin: .25rem 0 0; color: var(--text-soft); font-size: .88rem; line-height: 1.45; }
.cflow__toggle {
  flex: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: .4rem .95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(148, 197, 255, .07);
  color: var(--text); font: 700 .82rem var(--font-body); cursor: pointer;
}
.cflow__toggle[hidden] { display: none; }
.cflow__toggle:hover { background: rgba(148, 197, 255, .13); }
.cflow__toggle:focus-visible, .cflow__step:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cflow__toggle::before { content: ""; width: .62rem; height: .72rem; border-inline: .2rem solid currentColor; }
.cflow--paused .cflow__toggle::before { width: 0; height: 0; border: .38rem solid transparent; border-left: .62rem solid currentColor; border-right: 0; }
.cflow__play, .cflow--paused .cflow__pause { display: none; }
.cflow--paused .cflow__play { display: inline; }

/* resting layout (no script): a grid of scene cards */
.cflow__scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cflow__scene { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #03080f; }
.cflow__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #03080f; }
.cflow__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }
.cflow__media--contain img { object-fit: contain; }
.cflow__ring { display: none; }
.cflow__caption { margin: 0; padding: .7rem .85rem .8rem; font-size: .88rem; line-height: 1.45; color: var(--text-soft); }
.cflow__caption b { display: block; color: var(--text); font-size: .95rem; }
.cflow__num {
  display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; margin-right: .45rem; border-radius: 50%;
  background: var(--cyan); color: var(--ink-900); font: 800 .78rem var(--font-body); vertical-align: .08em;
}
.cflow__tag { display: block; margin-top: .3rem; font-size: .74rem; color: var(--text-dim); }

/* the pipeline: six steps joined by a line; a pulse travels to the current one */
.cflow__steps { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; position: relative; }
.cflow__steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 1.35rem; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold)); opacity: .35; }
.cflow__steps li { position: relative; }
.cflow__step {
  position: relative; display: grid; justify-items: center; gap: .35rem; width: 100%; padding: 0 .2rem .2rem;
  border: 0; background: none; color: var(--text-soft); font: 600 .8rem/1.25 var(--font-body); text-align: center; cursor: pointer;
}
.cflow__icon {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--ink-850); color: var(--text); font-size: 1.15rem; line-height: 1;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.cflow__step:hover .cflow__icon { border-color: var(--cyan); }
.cflow__step[aria-current="step"] { color: var(--text); }
.cflow__step[aria-current="step"] .cflow__icon { border-color: var(--cyan); background: rgba(34, 211, 238, .16); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); transform: scale(1.08); }
.cflow__fill { display: block; width: 70%; height: 3px; border-radius: 3px; background: rgba(148, 197, 255, .14); overflow: hidden; }
.cflow__fill::after { content: ""; display: block; height: 100%; width: 0; background: var(--cyan); }
.cflow__step.is-done .cflow__fill::after { width: 100%; opacity: .45; }
.cflow__note { margin: .8rem 0 0; color: var(--text-dim); font-size: .8rem; }

/* playing layout (script): one 16:9 screen, scenes stacked */
.cflow--live .cflow__scenes { display: block; position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #03080f; }
.cflow--live .cflow__scene { position: absolute; inset: 0; border: 0; border-radius: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.cflow--live .cflow__scene.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.cflow--live .cflow__media { position: absolute; inset: 0; aspect-ratio: auto; }
.cflow--live .cflow__media img { transform-origin: var(--fx, 50%) var(--fy, 50%); }
.cflow--live .cflow__caption {
  position: absolute; left: clamp(.6rem, 2vw, 1.2rem); bottom: clamp(.6rem, 2vw, 1.2rem); max-width: min(30rem, 72%);
  padding: .65rem .85rem .7rem; border: 1px solid rgba(148, 197, 255, .25); border-radius: 12px;
  background: rgba(4, 11, 22, .86); backdrop-filter: blur(6px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8);
}
.cflow--live .cflow__scene--right .cflow__caption { left: auto; right: clamp(.6rem, 2vw, 1.2rem); }
.cflow--live .cflow__scene--top .cflow__caption { bottom: auto; top: clamp(.6rem, 2vw, 1.2rem); }
.cflow--live .cflow__ring {
  display: block; position: absolute; left: var(--rx); top: var(--ry); width: var(--rw); height: var(--rh);
  border: 2px solid var(--cyan); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(3, 8, 15, .28), 0 0 24px rgba(34, 211, 238, .45);
  opacity: 0; pointer-events: none;
}
.cflow--live .cflow__ring--gold { border-color: var(--gold); box-shadow: 0 0 0 9999px rgba(3, 8, 15, .28), 0 0 24px rgba(245, 196, 81, .45); }
.cflow--live .cflow__ring--violet { border-color: var(--violet); box-shadow: 0 0 0 9999px rgba(3, 8, 15, .28), 0 0 24px rgba(167, 139, 250, .45); }
.cflow--live .cflow__ring--none { box-shadow: 0 0 24px rgba(34, 211, 238, .45); }
.cflow--live .cflow__scene.is-on .cflow__ring { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .cflow--live .cflow__scene.is-on .cflow__media img { animation: cflowKen var(--scene) linear both; }
  .cflow--live .cflow__scene.is-on .cflow__ring { animation: cflowRing var(--scene) ease both; }
  .cflow--live .cflow__scene.is-on .cflow__caption { animation: cflowCaption .7s ease both .25s; }
  .cflow--live .cflow__step[aria-current="step"] .cflow__fill::after { animation: cflowFill var(--scene) linear both; }
  .cflow--paused .cflow__scene.is-on .cflow__media img, .cflow--paused .cflow__scene.is-on .cflow__ring,
  .cflow--paused .cflow__step[aria-current="step"] .cflow__fill::after, .cflow--off .cflow__scene.is-on .cflow__media img,
  .cflow--off .cflow__step[aria-current="step"] .cflow__fill::after { animation-play-state: paused; }
  @keyframes cflowKen { from { transform: scale(1.0); } to { transform: scale(var(--zoom, 1.12)); } }
  @keyframes cflowRing { 0%, 14% { opacity: 0; transform: scale(1.18); } 26%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
  @keyframes cflowCaption { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes cflowFill { from { width: 0; } to { width: 100%; } }
}
@media (prefers-reduced-motion: reduce) { .cflow__toggle { display: none; } .cflow--live .cflow__scene, .cflow--live .cflow__scene.is-on { transition: none; } }
@media (max-width: 760px) {
  .cflow__steps { grid-template-columns: repeat(3, 1fr); row-gap: .8rem; }
  .cflow__steps::before { display: none; }
  /* the caption leaves the picture on a narrow screen: the picture stays readable */
  .cflow--live .cflow__scenes { aspect-ratio: auto; display: grid; }
  .cflow--live .cflow__scene { position: relative; grid-area: 1 / 1; }
  .cflow--live .cflow__media { position: relative; aspect-ratio: 16 / 9; }
  .cflow--live .cflow__ring { display: none; }
  .cflow--live .cflow__caption { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; backdrop-filter: none; box-shadow: none; animation: none !important; }
}
@media (max-width: 520px) {
  figure.cflow { margin-inline: -1.2rem; padding: .8rem 0; border-inline: 0; border-radius: 0; }
  .cflow__bar, .cflow__steps, .cflow__note { margin-inline: .7rem; }
  .cflow--live .cflow__scenes { border-inline: 0; border-radius: 0; }
  .cflow__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ============================================ Proof from real tournaments (.proof), 15 Oct 2026 */
.proof { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.proof .shot img { aspect-ratio: 4 / 3; object-fit: cover; }
.proof__event { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin: 0 0 .9rem; }
.proof__event h3 { margin: 0; }
.proof__event .chip { font-size: .74rem; }
.proof-video { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #03080f; margin: 0; }
.proof-video video { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; background: #03080f; }
.proof-video figcaption { padding: .7rem .9rem .8rem; font-size: .85rem; color: var(--text-soft); }
.proof-video figcaption b { display: block; color: var(--text); font-size: .93rem; }
.privacy-line { font-size: .8rem; color: var(--text-dim); margin-top: .8rem; }

/* ============================================ Compare table (alternatives), 15 Oct 2026 */
.compare th, .compare td { vertical-align: top; text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 .82rem var(--font-body); letter-spacing: .02em; color: var(--text); background: rgba(148, 197, 255, .06); }
.compare tbody th { color: var(--text); font-weight: 700; width: 22%; }
.compare td { color: var(--text-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-us { background: rgba(34, 211, 238, .05); }

/* ============================================ Recording guide illustrations (.rg), 15 Oct 2026
   Inline SVG drawn with the site tokens; each figure pairs "do" with "avoid". The SVG text is real text (readable,
   translatable): keep EN and ms/ in step. */
.rg-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.rg-card { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(7, 17, 31, .62); }
.rg-card svg { display: block; width: 100%; height: auto; background: #06101d; border-bottom: 1px solid var(--line); }
.rg-card figcaption { padding: .85rem 1rem 1rem; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.rg-card figcaption h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.rg-card figcaption .ticks { margin-top: .4rem; }
.rg-num { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: .4rem; border-radius: 50%; background: var(--cyan); color: var(--ink-900); font: 800 .8rem var(--font-body); vertical-align: .1em; }
.rg-card svg text { font-family: var(--font-body); }
.rg-ok { color: var(--green); } .rg-no { color: var(--rose); } .rg-cy { color: var(--cyan); } .rg-gd { color: var(--gold); }
.ticks--avoid li::before { content: "✕"; color: var(--rose); }
.rg-hero { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #06101d; box-shadow: var(--shadow); }
.rg-hero svg { display: block; width: 100%; height: auto; }
.rg-hero figcaption { padding: .7rem 1rem; font-size: .84rem; color: var(--text-dim); border-top: 1px solid var(--line); }
.rg-check { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: rgc; }
.rg-check li { counter-increment: rgc; position: relative; padding: .8rem .9rem .85rem 2.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .6); color: var(--text-soft); font-size: .9rem; line-height: 1.45; }
.rg-check li::before { content: counter(rgc); position: absolute; left: .8rem; top: .8rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--gold); color: var(--ink-900); font: 800 .78rem var(--font-body); }
.rg-check b { display: block; color: var(--text); }
@media print {
  .announce, .site-header, .site-footer, .subnav, .cta, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .rg-card, .rg-check li { break-inside: avoid; }
}

/* ============================================ Site navigation overhaul (9 Nov 2026)
   Header mega menu, EN/BM switch, breadcrumbs and the previous/next pager.
   The markup is generated by tools-local/site_nav.py: edit its tables, not the pages. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-header .nav--mega { align-items: center; gap: .05rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav--mega .nav__link { padding: .5rem .3rem .5rem .7rem; }
.nav__item.is-current > .nav__link { color: var(--text); }
.nav__item.is-current > .nav__link::after {
  content: ""; position: absolute; left: .7rem; right: .3rem; bottom: -.9rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.nav__more {
  display: inline-grid; place-items: center; width: 24px; height: 34px; padding: 0;
  background: none; border: 0; border-radius: 6px; color: var(--text-dim); cursor: pointer;
}
.nav__more::before {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.nav__more:hover, .nav__item.is-open > .nav__more { color: var(--cyan); }
.nav__item.is-open > .nav__more::before { transform: translateY(2px) rotate(225deg); }
.nav__more:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

.nav__panel {
  position: absolute; top: calc(100% + 17px); left: -.4rem; z-index: 70;
  width: 300px; padding: .8rem; display: none; gap: .7rem;
  background: rgba(6, 15, 28, .985); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(34, 211, 238, .05);
}
.nav__panel--wide { width: 560px; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; }
.nav__item--end .nav__panel { left: auto; right: -.4rem; }
.nav__item.is-open > .nav__panel { display: grid; }
@media (hover: hover) and (min-width: 1121px) {
  .nav__item:hover > .nav__panel { display: grid; }
  .nav__item:hover > .nav__more { color: var(--cyan); }
}
.site-header .nav .nav__lead {
  display: flex; gap: .8rem; align-items: center; padding: .75rem .85rem;
  border-radius: 11px; border: 1px solid var(--line); white-space: normal;
  background: linear-gradient(135deg, rgba(34, 211, 238, .11), rgba(245, 196, 81, .05)); color: var(--text);
}
.site-header .nav .nav__lead:hover { border-color: rgba(34, 211, 238, .45); }
.site-header .nav .nav__lead[aria-current="page"]::after { display: none; }
.nav__lead img { width: 42px; height: auto; flex: none; border-radius: 9px; }
.nav__lead strong { display: block; font-family: var(--font-display); font-size: .9rem; letter-spacing: .01em; }
.nav__lead small { display: block; margin-top: .15rem; color: var(--text-soft); font-size: .8rem; font-weight: 500; line-height: 1.45; }
.nav__cols { display: grid; gap: .1rem .8rem; }
.nav__panel--wide .nav__cols { grid-template-columns: 1fr 1fr; }
.nav__col { display: flex; flex-direction: column; min-width: 0; }
.nav__label {
  margin: .25rem 0 .2rem; padding: 0 .55rem; font-family: var(--font-display); font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim);
}
.site-header .nav .nav__panel .nav__col a {
  display: block; padding: .42rem .55rem; border-radius: 8px; border: 0;
  color: var(--text-soft); font-size: .87rem; font-weight: 600; line-height: 1.35; white-space: normal;
}
.site-header .nav .nav__panel .nav__col a:hover { background: rgba(148, 197, 255, .08); color: var(--text); }
.site-header .nav .nav__panel a[aria-current="page"] { color: var(--cyan); background: rgba(34, 211, 238, .08); }
.site-header .nav .nav__panel a[aria-current="page"]::after { display: none; }
.nav__tag {
  display: inline-block; margin-left: .3rem; padding: 0 .3rem; border: 1px solid var(--line-strong); border-radius: 4px;
  font-size: .58rem; font-weight: 800; letter-spacing: .08em; color: var(--text-dim); vertical-align: 1px;
}
.site-header .nav .nav__cta {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .62rem .85rem;
  border-radius: 10px; font-size: .86rem; font-weight: 800; white-space: normal;
  color: #04131c; background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.site-header .nav .nav__cta:hover { color: #04131c; filter: brightness(1.08); }

.lang-switch {
  display: inline-grid; place-items: center; flex: none; min-width: 42px; height: 36px; padding: 0 .55rem;
  border: 1px solid var(--line-strong); border-radius: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .1em;
  color: var(--text-soft); background: rgba(148, 197, 255, .05);
}
.lang-switch:hover { color: var(--cyan); border-color: rgba(34, 211, 238, .5); }

@media (max-width: 1120px) {
  .site-header .nav--mega { max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; align-items: stretch; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(148, 197, 255, .07); }
  .site-header .nav--mega .nav__link { flex: 1; padding: .78rem .4rem; border-bottom: 0; }
  .nav__item.is-current > .nav__link { color: var(--cyan); }
  .nav__item.is-current > .nav__link::after { display: none; }
  .nav__more { width: 44px; height: 44px; }
  .nav__panel, .nav__panel--wide {
    position: static; width: 100%; padding: 0 0 .7rem; gap: .2rem;
    background: none; border: 0; box-shadow: none;
  }
  .nav__panel::before { display: none; }
  .site-header .nav .nav__lead { display: none; }
  .nav__panel--wide .nav__cols { grid-template-columns: 1fr; }
  .site-header .nav .nav__panel .nav__col a { padding: .55rem .9rem; }
  .site-header .nav .nav__cta { margin: .3rem .5rem 0; }
  .lang-switch { height: 40px; }
}
@media (max-width: 520px) {
  .lang-switch { min-width: 38px; padding: 0 .4rem; }
}

/* Breadcrumbs: a quiet line under the header on every inner page */
.crumbs-bar { border-bottom: 1px solid rgba(148, 197, 255, .07); background: rgba(4, 11, 22, .35); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; margin: 0; padding: .5rem 0; font-size: .79rem; color: var(--text-dim); }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; }
.crumbs li + li::before { content: "›"; color: var(--text-dim); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; max-width: min(60ch, 70vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs-bar + .hero, .crumbs-bar + section[class*="hero"] { padding-top: clamp(1.8rem, 4.5vw, 3.4rem); }

/* Previous / next at the end of a page */
.pager { padding: 1.6rem 0 .4rem; }
.pager__inner { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pager__link {
  display: flex; flex-direction: column; gap: .2rem; padding: .95rem 1.15rem; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .6); color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}
.pager__link:hover { border-color: rgba(34, 211, 238, .45); color: var(--text); transform: translateY(-1px); }
.pager__link small { font-family: var(--font-display); font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.pager__link span { font-weight: 700; font-size: .98rem; }
.pager__link--prev small::before { content: "\2190  "; }
.pager__link--next { grid-column: 2; text-align: right; }
.pager__link--next small::after { content: "  \2192"; }
@media (max-width: 600px) {
  .pager__inner { grid-template-columns: 1fr; }
  .pager__link--next { grid-column: auto; text-align: left; }
}
.nav__ext { margin-left: .2rem; font-size: .8em; color: var(--text-dim); }
.site-footer__legal-links a { color: var(--text-soft); }
.site-footer__legal-links a:hover { color: var(--cyan); }

/* Link lists inside cards (guides hub, product pages) */
.linklist { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; }
.linklist li { margin: 0; }
.linklist a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem .15rem;
  border-bottom: 1px solid rgba(148, 197, 255, .08); color: var(--text-soft); font-weight: 600; font-size: .94rem;
}
.linklist li:last-child a { border-bottom: 0; }
.linklist a::after { content: "\2192"; color: var(--text-dim); flex: none; }
.linklist a:hover, .linklist a:hover::after { color: var(--cyan); }
.linklist a small { color: var(--text-dim); font-weight: 500; font-size: .8rem; margin-left: auto; }
.card__brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .3rem; }
.card__brand img { width: 44px; height: auto; border-radius: 10px; flex: none; }
.card__brand h3 { margin: 0; }

/* Home: role cards, Google Play badge button, product captions */
.role-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.role-grid .card { padding: 1.15rem; }
.role-grid .card h3 { font-size: 1.05rem; }
.role-grid .card p { font-size: .9rem; }
.play-badge { display: inline-flex; flex: none; border-radius: 10px; }
.play-badge img { height: 50px; width: auto; }
.play-badge:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
figure.product-card__media { margin: 0; align-self: center; }
.product-card__media figcaption { border-top: 1px solid var(--line); background: rgba(4, 11, 22, .6); }
.product-card .card__brand img { width: 52px; }

/* Folded "older" lists (what's new sections) */
details.older { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 17, 31, .45); padding: 0 1rem; }
details.older[open] { padding-bottom: 1rem; }
details.older > summary { cursor: pointer; list-style: none; padding: .85rem 0; font-weight: 700; color: var(--text-soft); }
details.older > summary::-webkit-details-marker { display: none; }
details.older > summary::after { content: "+"; float: right; color: var(--cyan); font-size: 1.15rem; line-height: 1; }
details.older[open] > summary::after { content: "\2212"; }

/* Cards with a picture on top (setup chooser) */
.card--media { padding: 0; overflow: hidden; }
.card--media .card__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #03080f; }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card--media .card__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card--media .card__body p { font-size: .92rem; }
.card--media.card--link .card__more { margin-top: auto; }

/* Google Play box inside ChessZCam articles */
.play-cta {
  display: flex; align-items: center; gap: 1.1rem; margin: 2.2rem 0 0; padding: 1.1rem 1.2rem;
  border: 1px solid rgba(34, 211, 238, .35); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, .09), rgba(7, 17, 31, .7));
}
.play-cta__badge { flex: none; }
.play-cta__badge img { width: 168px; height: auto; }
.play-cta p { margin: 0; color: var(--text-soft); font-size: .95rem; }
.play-cta p + p { margin-top: .3rem; }
.play-cta .play-cta__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
@media (max-width: 600px) { .play-cta { flex-direction: column; align-items: flex-start; } }
