/* tapwod's landing page, in the tapwod design system (ADR-0019): baby blue
   as a fill with black on it, primary-strong for links, the system font.
   Light only, in every system theme: the baby blue hero is the brand. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #000000;
  --text-2: #5f5f5f;
  --strong: #1a6b9e;
  --surface: #ffffff;
  --outline: #e2e2e2;
  --panel: #e9f6fd;
  --primary: #89cff0;
  --hero-bg: #89cff0;
  --hero-text: #000000;
  --icon-bg: #000000;
  --icon-fg: #89cff0;
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --input-bg: #ffffff;
  --input-text: #000000;
  --band: #000000;
  --band-text: #ffffff;
  --band-accent: #89cff0;
  --band-card: #1c1c1c;
  --error: #8a1c14;
  --error-on-hero: #8a1c14;
  --focus: #1a6b9e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.on-hero :focus-visible { outline-color: var(--hero-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 16px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-text); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--hero-bg); color: var(--hero-text); }
.top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.icon { display: flex; align-items: center; justify-content: center; background: var(--icon-bg); flex-shrink: 0; }
.icon svg { fill: var(--icon-fg); }
.icon-s { width: 36px; height: 36px; border-radius: 9px; }
.icon-s svg { width: 30px; height: 30px; }
.icon-l { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18); }
.icon-l svg { width: 72px; height: 72px; }
.nav { display: flex; gap: 28px; font-size: 16px; font-weight: 500; }
.nav a, .lang { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { min-width: 44px; justify-content: center; font-size: 15px; font-weight: 600; }
.pill {
  height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 88px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.eyebrow {
  align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid currentColor; font-size: 15px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.h1 { font-size: 96px; line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; }
.h2 { font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.sub { font-size: 21px; line-height: 1.45; max-width: 30em; }
.note { font-size: 14px; line-height: 20px; font-weight: 500; opacity: 0.8; }

.phone {
  width: 300px; aspect-ratio: 640 / 1391; border-radius: 48px; padding: 10px; background: #0b0b0b;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22); flex-shrink: 0;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.hero-art { display: flex; justify-content: center; position: relative; }
.hero-art .phone { transform: rotate(4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }
.float-chip {
  position: absolute; left: 0; bottom: 64px; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  font-size: 15px; font-weight: 600; transform: rotate(-3deg);
}
.float-chip svg { stroke: var(--strong); flex-shrink: 0; }

/* App Store badge: Apple's artwork, unmodified, with clear space of a quarter of its height. */
.store-badge { align-self: flex-start; display: inline-flex; margin: 0 0 4px; border-radius: 9px; }
.store-badge img { display: block; width: auto; height: 56px; }
.end .store-badge, .dl .store-badge { align-self: center; }
.android-line { margin-top: 16px; font-size: 15px; line-height: 20px; font-weight: 600; }

/* Sign-up form, for Android until Google Play */
.signup { display: flex; flex-direction: column; gap: 8px; max-width: 520px; width: 100%; }
.signup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input[type="email"] {
  flex: 1000 1 10em; min-width: 0; height: 56px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--hero-text);
  background: var(--input-bg); color: var(--input-text); font: inherit; font-size: 17px;
}
.signup input[type="email"]::placeholder { color: #767676; }
.signup input[aria-invalid="true"] { border-color: var(--error-on-hero); }
/* The input takes the row's spare space; a button that wraps fills its own line. */
.signup button {
  flex: 1 0 auto; height: 56px; padding: 0 28px; border-radius: 999px; border: none; background: var(--btn-bg); color: var(--btn-text);
  font: inherit; font-size: 17px; font-weight: 700; white-space: nowrap; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.signup button:active { transform: scale(0.98); }
.signup button[disabled] { cursor: progress; opacity: 0.85; }
.spinner { width: 18px; height: 18px; border-radius: 9px; border: 2.5px solid currentColor; border-top-color: transparent; opacity: 0.8; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; align-items: center; gap: 6px; padding: 0 8px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--error-on-hero); }
.form-msg.show { display: flex; }
.form-msg svg { flex-shrink: 0; stroke: currentColor; }
.done-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 24px; background: var(--surface);
  color: var(--text); max-width: 520px; width: 100%; text-align: left;
}
.done-card[hidden] { display: none; }
.done-badge { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; background: var(--btn-bg); display: flex; align-items: center; justify-content: center; }
.done-badge svg { stroke: var(--primary); }
.done-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.done-body { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 4px; }
.link-btn {
  margin-top: 4px; min-height: 44px; padding: 0; border: none; background: none; font: inherit; font-size: 15px;
  font-weight: 600; color: var(--strong); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* Fits strip */
.fits { border-bottom: 1px solid var(--outline); }
.fits .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.fits-label { font-size: 15px; font-weight: 600; color: var(--text-2); margin-right: 6px; }
.chips { display: contents; list-style: none; }
.chip { height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--outline); font-size: 15px; font-weight: 500; }

/* Sections */
.label { font-size: 17px; font-weight: 700; color: var(--strong); margin-bottom: 12px; }
.features { padding-top: 112px; padding-bottom: 56px; }
.features .h2 { margin-bottom: 48px; max-width: 12em; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--outline); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 22px; line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; }
.card p, .muted { font-size: 16px; line-height: 1.5; color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.split + .split { padding-top: 24px; }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy .label { margin-bottom: 0; }
.lead { font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 28em; }
.stage { display: flex; justify-content: center; padding: 48px 0; border-radius: 32px; background: var(--panel); }
.ticks { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 12px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.band { background: var(--band); color: var(--band-text); }
.band .wrap { padding-top: 104px; padding-bottom: 104px; }
.band .label { color: var(--band-accent); }
.band .h2 { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--band-card); }
.step-n { width: 44px; height: 44px; border-radius: 22px; background: var(--primary); color: #000; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.step h3 { font-size: 24px; line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; }
.step p { font-size: 16px; line-height: 1.5; opacity: 0.78; }

.maker { padding-top: 112px; padding-bottom: 56px; }
.maker-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.maker-inner .label { margin-bottom: 0; }
.maker-text { font-size: 19px; line-height: 1.6; color: var(--text-2); }
.maker-text + .maker-text { margin-top: -8px; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.avatar { width: 48px; height: 48px; border-radius: 24px; background: var(--primary); color: #000; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.sign-name { font-size: 17px; font-weight: 700; }
.sign-role { font-size: 15px; color: var(--text-2); }

.faq { padding-top: 88px; padding-bottom: 104px; }
.faq .h2 { margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq details { border-radius: 20px; background: var(--surface); border: 1px solid var(--outline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; min-height: 44px; font-size: 18px; font-weight: 700; position: relative; border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--text-2); border-bottom: 2.5px solid var(--text-2); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.5; color: var(--text-2); }

.end { background: var(--hero-bg); color: var(--hero-text); }
.end .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }

.foot .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.foot-tag { font-size: 14px; color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: var(--text-2); }
.foot nav a, .foot nav span { min-height: 44px; display: flex; align-items: center; text-decoration: none; }

/* Download page */
.dl { min-height: 100vh; min-height: 100dvh; background: var(--hero-bg); color: var(--hero-text); display: flex; flex-direction: column; }
.dl-main { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 48px 16px; max-width: 520px; margin: 0 auto; width: 100%; }
.dl-name { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.dl-line { font-size: 19px; line-height: 1.45; max-width: 24em; }
.dl-platform { font-size: 16px; line-height: 1.45; font-weight: 600; }
.dl-stores { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.store-btn { height: 56px; padding: 0 28px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); display: inline-flex; align-items: center; font-weight: 700; font-size: 17px; text-decoration: none; }
.dl-foot { padding: 16px; text-align: center; font-size: 15px; }
.dl-foot a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 64px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 40px; }
  .sub { font-size: 19px; }
  .cards, .steps, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .phone { width: 260px; }
  .flip { order: -1; }
  .features { padding-top: 80px; }
  .split { padding-top: 64px; padding-bottom: 64px; }
  .band .wrap, .end .wrap { padding-top: 80px; padding-bottom: 80px; }
  .maker, .faq { padding-top: 72px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .float-chip { left: 8px; bottom: 40px; }
}
@media (max-width: 420px) {
  .top .wrap, .top-actions { gap: 8px; }
  .top .pill { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .h1 { font-size: 48px; }
  .top .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 2s; }
  .faq summary::after { transition: none; }
  .hero-art .phone, .float-chip { transform: none; }
}

/* Privacy page */
.legal article { max-width: 720px; padding: 64px 0 96px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 750; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--strong); font-weight: 600; }
.legal-updated { margin-bottom: 24px; font-size: 15px !important; }
.privacy-note a { font-weight: 700; text-underline-offset: 3px; display: inline-block; min-height: 24px; }
.end .signup-box { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.signup-box { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.done-card:focus { outline: none; }
.dl-wait { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Exercise guides and their hubs (landing/exercises.py). */
.guide { padding-top: 24px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.guide article { display: flex; flex-direction: column; gap: 48px; }
.crumbs { font-size: 15px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--strong); min-height: 44px; display: inline-flex; align-items: center; }
.guide-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.guide-intro { display: flex; flex-direction: column; gap: 20px; }
.guide-intro .chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.guide-art .loop, .ex-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 28px; background: var(--primary); }
.guide-head { display: flex; flex-direction: column; gap: 16px; max-width: 46em; }
.guide h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 18px; }
.guide h2 a { text-decoration: none; }
.guide h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 8px; }
.guide section p, .guide li { font-size: 18px; line-height: 1.55; }
.guide section p + p { margin-top: 10px; }
.guide a { color: var(--strong); }
.steps-list, .cue-list, .mistakes { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
.cue-list li::marker { color: var(--strong); }
.vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.workout-list { list-style: none; padding: 0; margin: 0; }
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 12px; border-bottom: 1px solid var(--outline); text-align: left; vertical-align: top; }
.compare thead th { font-weight: 700; }
.var { padding: 24px; border-radius: 24px; background: var(--panel); }
.faq-list details { border-top: 1px solid var(--outline); padding: 4px 0; max-width: 46em; }
.faq-list summary { min-height: 44px; display: flex; align-items: center; font-size: 18px; font-weight: 700; cursor: pointer; }
.faq-list details p { padding-bottom: 14px; color: var(--text-2); }
.guide-cta { padding: 40px; border-radius: 32px; background: var(--hero-bg); color: var(--hero-text); display: flex; flex-direction: column; gap: 16px; }
.guide-cta h2 { margin-bottom: 0; }
.ex-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex-card a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.ex-name { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; margin-top: 6px; }
.ex-meta { font-size: 14px; color: var(--text-2); }
.ex-card a:hover .ex-name { text-decoration: underline; }
@media (max-width: 900px) {
  .guide-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-art { max-width: 420px; }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .guide { gap: 40px; }
  .guide h2 { font-size: 26px; }
  .guide section p, .guide li { font-size: 17px; }
  .vars { grid-template-columns: minmax(0, 1fr); }
  .guide-cta { padding: 24px; }
}

/* The workout generator */
.gen { display: flex; flex-direction: column; gap: 32px; }
.gen-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.gen-form { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 28px; background: var(--panel); }
.gen-field { display: flex; flex-direction: column; gap: 8px; }
.gen-field label, .seg legend { font-size: 15px; font-weight: 700; padding: 0; }
.gen-field select { min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--outline); background: var(--input-bg); color: var(--input-text); font: inherit; font-size: 17px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--outline); font-size: 16px; font-weight: 600; }
.seg-opt input:checked + span { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.gen-toggles { display: flex; flex-wrap: wrap; gap: 20px; font-size: 16px; font-weight: 600; }
.gen-toggles label { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.gen-toggles input { width: 20px; height: 20px; accent-color: var(--btn-bg); }
.gen-make, .gen-start, .gp-actions button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.gen-make:active, .gen-start:active, .gp-actions button:active { transform: scale(0.98); }
.gen-out { display: flex; flex-direction: column; gap: 16px; }
.gen-out:focus, #gen-list:focus { outline: none; }
.gen-summary { font-size: 18px; font-weight: 700; }
.gen .gen-part { font-size: 17px; margin: 16px 0 8px; }
.gen-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gen-step { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; border: 1px solid var(--outline); }
.gen-step img { width: 56px; height: 56px; border-radius: 12px; background: var(--primary); flex: none; }
.gen-text { display: flex; flex-direction: column; min-width: 0; }
.gen .gen-name { font-weight: 700; font-size: 17px; text-decoration: none; color: var(--text); }
.gen-meta { font-size: 15px; color: var(--strong); }
.gen-player { position: fixed; inset: 0; z-index: 50; background: var(--hero-bg); color: var(--hero-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); text-align: center; }
.gen-player[hidden] { display: none; }
.gen-player video { width: min(78vw, 46vh, 420px); height: auto; aspect-ratio: 1; border-radius: 28px; }
.gen-player .gp-name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.gen-player .gp-cue, .gen-player .gp-next { font-size: 17px; max-width: 32em; }
.gen-player .gp-clock { font-size: 64px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.gp-actions { display: flex; gap: 10px; margin-top: 8px; }
.gp-actions button { min-width: 96px; }
body.gen-playing { overflow: hidden; }
.how-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .gen-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .gen-form { padding: 16px; } .gen-player .gp-clock { font-size: 52px; } .gen-player .gp-name { font-size: 24px; } }
.nf-links { font-size: 18px; font-weight: 600; }
.nf-links a { color: inherit; }
