/* 2hives — plain CSS, no framework. Phase-state colours are shared by the lane, badges and legend. */
* { box-sizing: border-box; }
a { color: var(--accent-ink, var(--accent)); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: .3em 0; } h2 { font-size: 1.2rem; margin: 0 0 .6em; } h3 { margin: 0 0 .3em; }
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.narrow { max-width: 560px; margin: 32px auto; }
.muted, .help { color: var(--muted); } .help { font-size: .9rem; margin: 6px 0 10px; } .small { font-size: .85rem; }
.notice { background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.hero { padding: 16px 0 4px; } .lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* controls */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; background: var(--accent-fill); color: var(--accent-text);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.ghost, label.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
button.link { background: none; color: var(--muted); text-decoration: underline; font-weight: 400; padding: 8px; }
button.big { font-size: 1.1rem; padding: 12px 28px; }
button.icon { min-width: 44px; padding: 0; background: transparent; color: var(--text); border-color: var(--line); }
button.icon.del { color: var(--muted); } button.icon.play.playing { background: var(--accent-fill); color: var(--accent-text); }
input[type=text], select, textarea { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; }
textarea { resize: vertical; min-height: 2.6em; line-height: 1.4; }
input[aria-invalid=true] { border-color: var(--error); background: var(--error-bg); }
label { display: block; font-weight: 600; font-size: .9rem; } label > select, label > input { margin-top: 4px; font-weight: 400; }
input[type=range] { width: 100%; accent-color: var(--accent); min-height: 44px; }
.control-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tools { display: flex; align-items: center; gap: 12px; } .status.error { color: var(--error); }

/* gallery */
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery .card { margin: 0; display: flex; flex-direction: column; gap: 6px; } .gallery .button { align-self: flex-start; margin-top: auto; }
.list { padding-left: 1.2em; }

/* phase states */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .82rem;
  font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-state { font-weight: 400; }
.badge.state-delta { color: var(--delta); background: var(--delta-bg); } .badge.state-theta { color: var(--theta); background: var(--theta-bg); }
.badge.state-alpha { color: var(--alpha); background: var(--alpha-bg); } .badge.state-beta { color: var(--beta); background: var(--beta-bg); }

/* phase lane */
.lane-wrap { margin: 0; } .lane { display: block; overflow: visible; }
.seg rect { stroke: var(--surface); stroke-width: 2; }
.seg.state-delta rect { fill: var(--delta); } .seg.state-theta rect { fill: var(--theta); }
.seg.state-alpha rect { fill: var(--alpha); } .seg.state-beta rect { fill: var(--beta); }
.seg text { fill: #fff; font-size: 12px; pointer-events: none; } .seg .seg-name { font-weight: 700; } .seg .seg-state { opacity: .9; }
@media (prefers-color-scheme: dark) { .seg text { fill: #0f0d16; } }
.marker { stroke: var(--muted); stroke-width: 2; } .marker.bad { stroke: var(--error); stroke-width: 3; }
.lane-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.lane-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* line table */
.table-wrap { overflow-x: auto; }
table.lines { width: 100%; border-collapse: collapse; }
.lines th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 6px; border-bottom: 1px solid var(--line); }
.lines td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines .c-time { width: 84px; } .lines .c-time input { text-align: center; font-variant-numeric: tabular-nums; }
.lines .c-phase { width: 1%; } .lines .c-dur { width: 70px; white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 16px; }
.lines .c-warn { width: 22%; font-size: .85rem; } .lines .c-play, .lines .c-del { width: 52px; }
.lines .c-phase { padding-top: 14px; }
tr.has-error td { background: var(--error-bg); } tr.has-warn .c-warn { color: var(--warn); }
.issue { margin: 4px 0; } .issue.error { color: var(--error); font-weight: 600; } .issue.warn { color: var(--warn); } .issue.note { color: var(--muted); }
.ok { color: var(--ok); font-weight: 700; display: inline-block; padding-top: 8px; }
.blocking { border-left: 4px solid var(--error); padding: 4px 12px; margin-top: 12px; background: var(--error-bg); border-radius: 4px; }
.blocking ul { margin: 4px 0; padding-left: 1.2em; }
.preview-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; } .preview-form input { width: 6em; }

@media (max-width: 760px) {
  .lines thead { display: none; }
  .lines tr { display: grid; grid-template-columns: 84px 1fr 48px 48px; grid-template-areas:
    "time phase play del" "text text text text" "dur warn warn warn"; gap: 6px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .lines td { border: 0; padding: 0; width: auto !important; }
  .lines .c-time { grid-area: time; } .lines .c-phase { grid-area: phase; padding-top: 10px; } .lines .c-play { grid-area: play; }
  .lines .c-del { grid-area: del; } .lines .c-text { grid-area: text; } .lines .c-dur { grid-area: dur; padding-top: 4px; }
  .lines .c-warn { grid-area: warn; } tr.has-error { background: var(--error-bg); border-radius: 8px; padding: 10px 6px; }
  tr.has-error td { background: none; }
}

/* player */
.player { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-top: 12px; background: var(--bg); }
.player-main { display: flex; align-items: center; gap: 12px; }
.player .pp { width: 64px; height: 64px; border-radius: 50%; font-size: 1.6rem; flex: none; }
.player-info { flex: 1; min-width: 0; } .player-title { font-weight: 600; overflow-wrap: anywhere; }
.player-chapter { font-size: .9rem; color: var(--muted); } .player-time { font-variant-numeric: tabular-nums; font-size: .85rem; }
.player audio { width: 100%; margin-top: 10px; }
.chapters { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.chapters:empty { display: none; }
.chapters button { min-height: 36px; padding: 4px 12px; font-size: .85rem; background: transparent; color: var(--text); border-color: var(--line); }
.chapters button[aria-current=true] { border-color: var(--accent); color: var(--accent-ink); }
.hp-check { max-width: 460px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.hp-check::backdrop { background: rgb(0 0 0 / .5); }
.hp-check .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.safety-list { padding-left: 1.2em; margin: .5em 0 1em; }
.safety-ack { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 1em; }
.hp-ears { display: flex; gap: 12px; } .hp-ears span { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.hp-ears span.on { background: var(--accent-fill); color: var(--accent-text); border-color: var(--accent-fill); }

@media (prefers-reduced-motion: no-preference) { button { transition: background-color .15s, opacity .15s; } }

/* accounts, checkout, library (M4/M5) */
.stack { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.stack button, .stack .button { align-self: flex-start; }
input[type=email] { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; min-height: 44px; }
.form-error { background: var(--error-bg); color: var(--error); border-radius: 8px; padding: 8px 12px; }
.or { margin: 12px 0 4px; }
.footer-links a { color: var(--muted); }
.tier-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
a.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
button.danger { background: var(--error); color: var(--on-error, #fff); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; }
.safety-box { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--bg); }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 4px; width: 20px; height: 20px; }
tr.personal textarea { border-color: var(--accent); }
textarea[readonly], input[readonly] { opacity: .75; }
.hint { color: var(--muted); margin: 4px 0 0; }
.narrow.wide { max-width: 720px; }
.prose li { margin: 6px 0; }
progress { width: 100%; height: 10px; }
code.copy { word-break: break-all; }
.downloads { font-size: .95rem; }
td.c-move { white-space: nowrap; width: 1%; }
td.c-move .drag { cursor: grab; touch-action: none; user-select: none; padding: 10px 6px; font-size: 1.1rem; color: var(--muted); }
td.c-move button.icon { min-width: 32px; min-height: 32px; }
tr.dragging { opacity: .6; outline: 2px dashed var(--accent); }
.sessions { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.session { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.session:last-child { border-bottom: 0; }
.session .s-n { width: 2em; height: 2em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); font-weight: 600; flex: none; }
.session .s-name { flex: 1; }
.session.locked .s-name { color: var(--muted); }
.badge-free { background: var(--alpha-bg); color: var(--alpha); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.badge-ok { color: var(--ok); font-weight: 600; }
.course-list { list-style: none; padding: 0; margin: 4px 0; font-size: .92rem; }
.course-list li { padding: 2px 0; }
/* prompt + read-only script + job progress */
#prompt { min-height: 7em; }
.line-text { margin: 0; white-space: pre-wrap; }
tr.fixed .line-text { color: var(--text); }
.job { margin: 8px 0; }
.job-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.job-fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }
.job-text { margin: 4px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
td.c-play .job { min-width: 120px; }
.audio-settings { margin-top: 12px; } .audio-settings summary { cursor: pointer; margin-bottom: 8px; }
.journeys { list-style: none; padding: 0; display: grid; gap: 16px; }
.journey details.stage { border-top: 1px solid var(--line); padding: 8px 0; }
.journey details.stage summary { cursor: pointer; }
tr.changed td { background: var(--alpha-bg); transition: background 1s ease; }
.name-grid { align-items: end; margin-bottom: 10px; }
.name-actions { display: flex; align-items: flex-end; }
/* artwork */
picture img { display: block; max-width: 100%; height: auto; }
.art-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.art-hero img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); }
.art-stage img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 8px; margin: 8px 0; }
.art-thumb { display: inline-block; vertical-align: middle; margin-right: 8px; }
.art-thumb img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.journeys .journey { max-width: 100%; }
/* navigation */

.back-link { margin: 4px 0 0; } .back-link a { display: inline-flex; align-items: center; min-height: 44px; }
/* session rows (gallery, journey pages) */
.srows { list-style: none; padding: 0; margin: 4px 0; }
.srow { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 12px; padding: 13px 8px;
  border-bottom: 1px solid var(--line); border-radius: 6px; }
.srow:last-child { border-bottom: 0; }
.srow:hover { background: var(--bg); }
.srow-n { color: var(--muted); font-size: .85rem; text-align: right; }
.srow-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.srow-title { font-weight: 600; }
.srow-meta { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-size: .8rem; }
.pill-free { color: var(--accent-ink); border-color: var(--brand); }
.pill-ok { color: var(--ok); border-color: var(--ok); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-width: 6.5rem; min-height: 44px;
  padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--brand); color: var(--accent-ink); background: transparent;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-outline:hover { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.btn-outline:disabled { opacity: .5; cursor: not-allowed; background: transparent; color: var(--muted); border-color: var(--line); }
.srow.is-locked .srow-title { color: var(--muted); }
@media (max-width: 560px) {
  .srow { grid-template-columns: 1.5rem 1fr; }
  .srow-action { grid-column: 1 / -1; } .srow-action .btn-outline { width: 100%; }
}

/* ---- UI review 2026-10-11: buttons, home, journey page, editor steps ---- */
h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.19rem; }
.measure, .lead { max-width: 68ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border-radius: 10px; font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--accent); }
/* filled teal carries text, so it uses the deep fill (white 7.19:1 light, navy 8.07:1 dark); --accent stays decorative */
.btn-primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); }
.btn-primary:active { background: var(--accent-fill-active); border-color: var(--accent-fill-active); }
.btn-primary:disabled { background: var(--accent-fill); border-color: var(--accent-fill); }
.btn-outline { background: transparent; color: var(--accent-ink); }
.btn-text { color: var(--accent-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.btn-big { font-size: 1.05rem; padding: 12px 24px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.home-hero { padding: 24px 0 8px; }
.how { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); counter-reset: how; }
.how li { counter-increment: how; } .how li::before { content: counter(how) ". "; color: var(--accent-ink); font-weight: 700; }
.jgrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; grid-auto-flow: row dense; }
.jcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.jcard-wide { grid-column: 1 / -1; }
.jcard-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
a.jcard-link:hover .jcard-name { color: var(--accent-ink); }
.jcard-art-link { display: block; } .jcard-name-link { color: inherit; text-decoration: none; } .jcard-name-link:hover, .jcard-art-link:hover + .jcard-body .jcard-name-link { color: var(--accent-ink); }
.jcard-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jcard-wide .jcard-art img { aspect-ratio: 21 / 8; }
.jcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px; }
.jcard-own .jcard-body { padding: 16px 20px 20px; }
.jcard-name { font-size: 1.19rem; font-weight: 700; } .jcard-promise { color: var(--muted); }
.jcard.is-soon { opacity: .8; }
.jhero { position: relative; border-radius: 12px; overflow: hidden; margin: 8px 0 16px; }
.jhero.has-art .jhero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  background: linear-gradient(transparent, rgba(8, 12, 22, .82)); color: #fff; }
.jhero.has-art .lead { color: #e9eef4; }
.jhero-art img { width: 100%; height: clamp(200px, 32vw, 360px); object-fit: cover; }
.cta { margin: 8px 0 20px; } .price-line { margin: 8px 0 0; }
.progress-card { margin: 0 0 16px; } .progress-card progress { width: 100%; height: 8px; accent-color: var(--accent); }
.stages .stage { padding: 0; } .stage > summary { cursor: pointer; padding: 16px 20px; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.stage > summary::-webkit-details-marker { display: none; }
.stage-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.stage-name { font-weight: 700; font-size: 1.1rem; }
.stage .art-stage, .stage .stage-buy, .stage .srows { margin: 0 20px 12px; display: block; }
.icon { vertical-align: middle; flex: none; }
.srows { list-style: none; padding: 0; }
.srow { display: block; padding: 0; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow-link { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 13px 8px 13px 12px;
  color: inherit; text-decoration: none; border-radius: 8px; min-height: 44px; }
a.srow-link:hover { background: var(--bg); }
.srow.is-locked .srow-title { color: var(--muted); }
.srow-title { font-weight: 600; }
.srow-meta { color: var(--muted); font-size: .85rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pill-next { color: var(--accent-ink); border-color: var(--accent); }
.srow-why { font-size: .85rem; }
.need { margin-top: 24px; }
.step h2 { display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-flex; width: 1.8em; height: 1.8em; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--accent-fill); color: var(--accent-text); font-size: .8em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip { background: transparent; color: var(--accent-ink); border: 1px solid var(--line); border-radius: 999px; min-height: 36px;
  padding: 4px 12px; font-weight: 500; font-size: .9rem; }
.script-view { margin-top: 16px; } .script-view > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; }
@media (max-width: 560px) {
  .srow-link { grid-template-columns: 36px 1fr; } .srow-meta { grid-column: 2; justify-content: flex-start; }
  .jhero.has-art .jhero-text { padding: 16px; } h1 { font-size: 1.6rem; }
}
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.copy-input { flex: 1 1 260px; min-height: 44px; }
/* research */
.research-home { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: center; margin: 24px 0; }
.research-home ul { padding-left: 1.2em; } .research-home li { margin: 6px 0; max-width: 68ch; }
.research-fig { margin: 0; } .research-fig img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
@media (max-width: 760px) { .research-home { grid-template-columns: 1fr; } }
.article { max-width: 820px; margin: 16px auto; padding: 24px clamp(16px, 4vw, 40px); }
.article img { max-width: 100%; height: auto; border-radius: 8px; background: #fff; }
.article table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.article th { background: var(--bg); }
.article blockquote { margin: 0; padding: 8px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.article h2, .article h3 { scroll-margin-top: 16px; }
.about-hero img { width: 100%; height: clamp(180px, 30vw, 300px); object-fit: cover; border-radius: 12px; background: #0c111d; margin: 8px 0 4px; display: block; }
.about .mission-h { margin-top: 20px; }
.support { margin: 20px 0; } .support-list { padding-left: 1.2rem; } .support-list li { margin: 4px 0; }
.support { margin: 20px 0; } .support-list { padding-left: 1.2rem; } .support-list li { margin: 4px 0; }
.note-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.toc { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; font-size: .88rem; }
.toc ol { list-style: none; padding: 0; margin: 8px 0 0; } .toc li { margin: 4px 0; } .toc .toc-3 { padding-left: 12px; }
@media (max-width: 900px) { .note-layout { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }
.lib-item.pinned { border-color: var(--accent); }
#speed-fit.error { color: var(--error); }
.fit-msg { margin: 8px 0 4px; }

/* line ▶: the per-line progress sits inside the cell, out of the flow, so nothing above moves */
td.c-play { position: relative; }
td.c-play .job { position: absolute; left: 0; right: 0; top: 100%; margin: 0; min-width: 140px; z-index: 2;
  background: var(--surface); padding: 4px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
button.play[aria-busy="true"] { opacity: .6; }

/* the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }
@media (max-width: 560px) {
  .jhero.has-art .jhero-text { position: static; background: none; color: var(--text); padding: 16px 0 0; }
  .jhero.has-art .lead { color: var(--muted); }
  .jhero { border-radius: 0; overflow: visible; }
  .jhero-art img { border-radius: 12px; height: 180px; }
}

/* text over journey art keeps the hero's fixed light colour in both themes */
@media (min-width: 561px) {
  .jhero.has-art .jhero-text h1, .jhero.has-art .jhero-text .lead { color: #f6f3ec; }
}

/* Cookie consent banner (gads.py / static/gads.js) */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 640px; margin: 0 auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1 1 280px; font-size: .92rem; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-cookies { margin: 0; }

/* Course science section (science.py, _science.html) */
.science h3 { margin-top: 1.4em; }
.science-facts li { margin: 4px 0; }
.science-session { border-top: 1px solid var(--line); padding: 10px 0; }
.science-session > summary { cursor: pointer; }
.science-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.science-table th, .science-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.science-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.science-fig { margin: 16px 0; }
.science-fig img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.evidence-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 20px 0; background: var(--bg); }
.evidence-box cite { font-style: normal; color: var(--muted); }
.refs li { margin: 6px 0; }
.science-head { margin: 8px 0 0; }

/* Language menu, header top-right (web_i18n.head: switcher) */
.site-header-inner { justify-content: flex-start; }
.site-header-inner > .brand { margin-right: auto; }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: .9rem; color: var(--text); }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 200px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0, 0, 0, .16); }
.lang-list a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-list a:hover { background: var(--surface-2, var(--bg)); }
.lang-list a[aria-current] { font-weight: 600; }
.lang-code { font-weight: 600; font-size: .78rem; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 600px) { .lang-menu .lang-name { display: none; } }

/* Session rows: names are headings (SEO audit P1-7) */
.srow-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
h3.srow-title { font-size: 1rem; line-height: 1.35; margin: 0; font-family: inherit; }
.srow-summary { font-weight: 400; }

/* ---------- guide personas ("Your guide", course "Recommended guide") ---------- */
.guide-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.guide-card { position: relative; display: flex; }
.guide-pick { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 12px 10px 14px; background: var(--surface); color: inherit; border: 1px solid var(--line);
  border-radius: var(--radius-card, 14px); cursor: pointer; min-height: 44px; font: inherit; }
.guide-pick:hover { border-color: var(--accent); }
.guide-pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.guide-pick img { width: 72px; height: 72px; border-radius: 50%; display: block; }
.guide-name { font-weight: 600; }
.guide-tagline { line-height: 1.3; }
.guide-best { margin-top: 4px; background: var(--accent-soft, #dcebe4); color: var(--accent-ink, #2f6656); }
.guide-sample { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; min-height: 36px; padding: 0;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.advanced-voice { grid-column: 1 / -1; }
.advanced-voice > summary { cursor: pointer; margin-bottom: 6px; }
.guide-rec { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.guide-rec img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.guide-rec p { margin: 0; flex: 1 1 200px; }
.guide-rec audio { max-width: 100%; height: 36px; }
@media (max-width: 420px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 5 hours free (freehours.py) */
.hours-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; margin-right: 8px; border-radius: 999px;
  background: var(--accent-soft, var(--surface)); color: var(--text); border: 1px solid var(--line); font-size: .82rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .hours-pill { font-size: .74rem; padding: 0 8px; } }
/* Header pill (2026-10-13, Gergo: overlapped the nav in Spanish): it may shrink with an ellipsis instead of
   covering the nav, and the scripts count lives in the tooltip (flex trimmed its leading space anyway). */
.site-header-inner .hours-pill { flex: 0 1 auto; min-width: 0; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; display: inline-block;
  line-height: 32px; }
.site-header-inner .hours-scripts { display: none; }
.site-nav { min-width: 0; }
.hours-option { margin-bottom: 12px; }
/* /account "Hear my name" (account.js) */
.hear-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hear-name-row select { flex: 1 1 12rem; min-width: 0; width: auto; }
.spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  border-top-color: var(--accent); animation: twh-spin .8s linear infinite; }
.spinner[hidden] { display: none; }
@keyframes twh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
/* ---- pricing v2 (pricing.html, _buy.html) ---- */
.plan-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 20px 0; }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan h2 { margin: 0; }
.plan-price { font-size: 1.5rem; font-weight: 600; margin: 0; }
.plan-list { padding-left: 1.1em; margin: 4px 0 8px; flex: 1; }
.plan-plus { border-color: var(--accent); }
.plan-buy { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-table td { text-align: center; }
.buy-course { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0; background: var(--surface); }
.buy-course .buy-head { margin: 0 0 8px; }
.buy-course .plus-line, .buy-course .single-line { margin: 8px 0 0; }

/* ==================================================================================================
   Mobile (2026-10-11, Gergo's iPhone reports; gate: tools/mobile_check.py, qgate ux.mobile).
   Keep phone fixes here, at the end, so they win over the component rules above and in brand.css.
   ================================================================================================== */

/* Flex/grid children may shrink below their content; long words wrap without squeezing the column.
   (overflow-wrap: anywhere also lowers an item's min-content to one character, which is what let the
   player title collapse to one letter a line in Safari — break-word wraps the same, sizes normally.) */
.player-info, .srow-text, .srow-main, .guide-pick, .guide-card, .keep-options, .keep-options > form,
.actions > *, .preview-form > label, .plan, .buy-course, .stage-head, .site-header-inner > * { min-width: 0; }
.player-title, .guide-tagline, .guide-name, .srow-title, .srow-summary, .line-text, .card, .notice,
.article, .jcard-body, .stage > summary, .buy-course, .evidence-box { overflow-wrap: break-word; }
.article code, .article a, .toc a, code.copy { overflow-wrap: anywhere; }

/* player: play button + title block on one row */
.player-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.player-info { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.player-info .player-title { flex: 1 1 100%; }
.player-time { white-space: nowrap; }
.player-chapter:empty { display: none; }

/* line table, guide cards, header: shared fixes at every width */
.guide-pick { padding-bottom: 56px; }                    /* room for the ▶ in the corner */
.guide-sample { top: auto; bottom: 6px; right: 6px; width: 44px; height: 44px; min-height: 44px; }
.guide-best { white-space: normal; text-align: center; }
.site-header-inner > .brand { flex: none; min-height: 44px; }
.lang-menu > summary { min-width: 44px; justify-content: center; }
.lang-list a { min-height: 44px; }
.lang-list { max-width: calc(100vw - 2 * var(--gutter, 16px)); }
main details > summary { min-height: 44px; padding-block: 10px; box-sizing: border-box; }
label.check { display: block; position: relative; padding-left: 30px; }        /* text and links flow as one paragraph */
label.check input { position: absolute; left: 0; top: 0; margin: 2px 0 0; }
.note-layout { grid-template-columns: 260px minmax(0, 1fr); }
.note-layout > .article { width: 100%; min-width: 0; }   /* auto margins made it size to its widest table */
.srow-link { grid-template-columns: 36px minmax(0, 1fr) auto; }

/* a text-style button (e.g. "or just this session — A$15") must not pick up the filled base button look:
   the base button rule gave it the deep-teal fill under teal text, i.e. invisible */
button.btn-text { background: transparent; border-color: transparent; color: var(--accent-ink); min-height: 44px; }
.guide-best { line-height: 1.25; padding: 3px 8px; height: auto; min-height: 22px; }

/* safe areas (iPhone notch / home bar; non-zero only with viewport-fit=cover, harmless otherwise) */
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.site-footer { padding-bottom: calc(var(--space-6, 24px) + env(safe-area-inset-bottom, 0px)); }
.consent-banner { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 900px) { .note-layout { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 760px) {
  /* iOS zooms the page when a focused field's text is under 16 px */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px; }

  /* editor line table -> one card per line: time + phase (+ ▶) / text, full width / spoken + check */
  .script-view .table-wrap { overflow: visible; }
  table.lines:has(#rows), table.lines:has(#rows) > tbody { display: block; width: 100%; }
  #rows > tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;
    grid-template-areas: "time phase play del" "text text text text" "dur warn warn warn"; gap: 6px 10px; padding: 12px 0; }
  #rows > tr > td { min-width: 0; padding: 0; }
  #rows .c-time { font-variant-numeric: tabular-nums; font-weight: 600; }
  #rows .c-phase, #rows .c-dur { padding-top: 0; }
  #rows .c-phase .badge { white-space: normal; height: auto; min-height: 24px; line-height: 1.2; }
  #rows .c-text { align-self: start; }
  #rows .line-text { overflow-wrap: anywhere; }       /* a full-width cell: long words may break anywhere */
  #rows .c-play { justify-self: end; }
  #rows .c-play button { width: 44px; }
  #rows .c-warn .ok { padding-top: 0; }
  #rows .c-move { grid-area: del; }

  /* course science: each phase row becomes a small labelled card instead of a sideways-scrolling table */
  .science-session .table-wrap { overflow: visible; }
  .science-session .science-table, .science-session .science-table tbody { display: block; width: 100%; }
  .science-session .science-table thead { display: none; }
  .science-session .science-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2px 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line); }
  .science-session .science-table th[scope=row] { grid-column: 1 / -1; border: 0; padding: 0 0 4px; font-size: 1rem; }
  .science-session .science-table td { display: contents; }
  .science-session .science-table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; }
  /* display: contents drops the cell box, so the value is the text node itself: give it the second column */

  /* pricing comparison: the table scrolls inside its own box, the feature column stays put */
  .card .table-wrap:has(> .compare-table) { overflow: visible; }
  .compare-table { display: block; max-width: 100%; overflow-x: auto; font-size: .85rem; }
  .compare-table th, .compare-table td { min-width: 5.5em; }
  .compare-table tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 8.5em; background: var(--surface);
    box-shadow: 1px 0 0 var(--line); }

  /* research note / legal tables (.prose): a wide data table scrolls inside its own box, cells keep a readable width */
  .prose .table-wrap { overflow: visible; }
  .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose table { font-size: .85rem; }
  .prose th, .prose td { min-width: 5.5em; padding-inline: 4px; }
  .prose tr:not(:has(> :nth-child(4))) > :not(:nth-child(2)) { width: 30%; }  /* 3 columns: WebKit ignores min-width on cells */
  .prose tr:has(> :nth-child(5)) > * { min-width: 7.5em; }      /* wide tables scroll anyway: keep cells readable */
}

@media (max-width: 1280px) {
  /* signed-in header: logo, nav, language and menu stay on the first row; the free-hours pill wraps under
     (1280 px, not 900: localized nav labels are longer than the English ones) */
  .site-header-inner { flex-wrap: wrap; row-gap: 0; }
  .site-header-inner .hours-pill { order: 10; flex: 1 1 100%; justify-content: center; margin: 0 0 8px; max-width: none;
    white-space: normal; text-align: center; line-height: 1.25; padding: 4px 10px; min-height: 44px; overflow: visible; }
}

@media (max-width: 560px) {
  /* buttons wrap their label instead of spilling out of the box; calls to action stack at one width */
  .btn, button, .button, .btn-outline { white-space: normal; text-wrap: balance; text-align: center; max-width: 100%; }
  .card .actions > .btn, .card .actions > form, .keep-options > form, .keep-options .btn:not(.btn-text),
  .preview-form > .btn, .tier-buttons > .btn, .plan-buy > form, .plan-buy .btn, .plan > .btn, .buy-course form,
  .buy-course .btn, .cta .btn, .stack > .btn, .stack > button, .name-actions, .name-actions > button { width: 100%; }
  .keep-options { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .buy-course form.inline { display: block; }
  .preview-form > label { flex: 1 1 100%; }
  .card, .buy-course { padding-left: 16px; padding-right: 16px; }
  .chips .chip { min-height: 44px; }
  .footer-links a, .lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .footer-links { align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs ol { row-gap: 0; }
  .chapters button { min-height: 44px; }
  .site-header-inner { gap: 8px; }
  .player .pp { width: 56px; height: 56px; }
  .player-main { grid-template-columns: auto minmax(0, 1fr); }
  .srow-link { grid-template-columns: 36px minmax(0, 1fr); } .srow-meta { white-space: normal; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) { .guide-grid { grid-template-columns: minmax(0, 1fr); } }
form.start-form { display: inline; }

/* Home: "5 hours free play!" above the fold (freehours.enabled) */
.free-hours-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px;
  padding: 16px 18px; border-radius: var(--radius); background: var(--accent-fill, #20624f); color: var(--on-accent, #fff); }
.free-hours-badge { margin: 0; font-family: 'Outfit', var(--font-display, inherit); font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.free-hours-sub { margin: 0; font-size: 1.05rem; flex: 1 1 220px; }
.free-hours-left { margin: 0; opacity: .95; }
/* Links inside the banner take the banner's text colour (a green link on green was 1.13:1 in dark mode). */
.free-hours-hero a:not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.free-hours-hero .free-hours-cta { background: var(--on-accent, #fff); color: var(--accent-fill, #20624f); border-color: transparent; }
.free-hours-hero .free-hours-cta:hover { background: #f4f1ea; color: #1f4d40; }

/* Home polish (mobile review 2026-10-11) */
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.jcard-art { background: linear-gradient(135deg, #1b2a3a 0%, #20624f 100%); }   /* never black while the art loads */
.footer-vision { margin: 0; font-size: .92rem; color: var(--muted); }
.about .vision { font-size: 1.15rem; }
.pill-plus { color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* Mindful breaks collection (mindful.py) */
.collection-link { margin: 8px 0 0; }
.need a { white-space: nowrap; }

/* /live channel (livechannel.py) */
.live-player { margin: 12px 0 16px; }
.live-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b2a3a 0%, #20624f 100%); cursor: pointer; }
.live-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(15, 20, 32, .72); color: #fff; font-size: 30px; }
.live-play-label { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(15, 20, 32, .72); color: #fff; font-weight: 600; }
.live-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d8473b; vertical-align: middle; }
/* the 24/7 live stream as the first journey card (gallery.html, livechannel.card) */
.jcard-live .jcard-art { position: relative; display: block; }
.jcard-live .jcard-art img { display: block; }
/* LIVE red: a token (both themes) dark enough for white text at >= 4.5:1 (#d8473b was 4.3). */
:root { --live-fill: #c0392b; --on-live: #fff; }
.live-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px; background: var(--live-fill); color: var(--on-live);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
/* group live sessions as "together" journey cards (gallery.html, groups.cards) */
.jcard-together .jcard-art { position: relative; display: block; }
.together-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(15, 20, 32, .78);
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.jcard-together.is-live .together-badge { background: var(--live-fill); color: var(--on-live); }
.together-countdown { font-weight: 600; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.live-countdown-big { text-align: center; font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 700; font-variant-numeric: tabular-nums; margin: 8px 0 16px; }
@media (prefers-reduced-motion: no-preference) {
  .jcard-together.is-live .together-badge, .jcard-live .live-badge { animation: twh-pulse 2.4s ease-in-out infinite; }
}
@keyframes twh-pulse { 50% { opacity: .72; } }
/* the interactive 1:1 session card (gallery.html, interactive.card_info) */
.jcard-talk-art { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #20624f 0%, #1b2a3a 100%); }
.talk-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(15, 20, 32, .78); color: #fff;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.together-fav { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(15, 20, 32, .78); color: #f5c542; font-weight: 700; }
.jcard-together.is-night { opacity: .78; }
.together-night { color: var(--muted); }
.together-rows { list-style: none; padding: 0; display: grid; gap: 12px; }
.together-row { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.together-row.is-night { opacity: .72; }
.together-row .row-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.together-filters { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 8px 0 16px; }
.fav-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; color: inherit; font: inherit; }
.fav-btn[aria-pressed="true"] { color: #b8860b; border-color: #e0b84a; }
/* the private practice log (practice.py, practice.js) */
.practice-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.practice-list li { border-top: 1px solid var(--line); padding-top: 10px; }
.practice-note { white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0; }
.practice-ask { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.practice-ask .feel { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.practice-ask .feel button[aria-pressed="true"] { border-color: var(--accent, #20624f); font-weight: 600; }
.practice-ask textarea { width: 100%; }
/* the Together hub's segmented tabs (together.html; links, so they work without JS) */
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; margin: 8px 0 16px; }
.seg-item { padding: 6px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; color: inherit; text-decoration: none; }
.seg-item.is-current { background: var(--surface); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg-item:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Own progress / seek bar (player.js): the native <audio controls> bar is removed once this works,
   because iOS Safari renders it unreliably inside the sticky course player. */
.seek { margin-top: 6px; }
.seek[hidden] { display: none; }
.seek-box { position: relative; height: 44px; }
.seek-rail { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--line); overflow: hidden; pointer-events: none; }
.seek-buf, .seek-played { position: absolute; left: 0; top: 0; bottom: 0; display: block; width: 0; }
.seek-buf { background: var(--muted); opacity: .35; }
.seek-played { background: var(--accent-fill, var(--accent)); }
.seek-ticks { position: absolute; inset: 0; }
.seek-ticks i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--bg); }
.seek-input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0;
  background: none; border: 0; box-shadow: none; border-radius: 0; touch-action: none; cursor: pointer; }
.seek-input[aria-disabled=true] { cursor: default; opacity: .5; pointer-events: none; }
.seek-input::-webkit-slider-runnable-track { height: 44px; background: none; border: 0; box-shadow: none; }
.seek-input::-moz-range-track { height: 44px; background: transparent; border: 0; }
.seek-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: 12px; border-radius: 50%;
  background: var(--accent-fill, var(--accent)); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent-fill, var(--accent)); }
.seek-input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent-fill, var(--accent)); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent-fill, var(--accent)); }
.seek-input::-webkit-slider-container { background: none; border: 0; box-shadow: none; }
.seek-input:focus-visible { outline: none; }
.seek-input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.seek-input:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.seek-times { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -4px; }
/* the time also shows under the title in the no-bar fallback only */
.player:has(.seek:not([hidden])) .player-time { display: none; }
.player audio { width: 100%; margin-top: 10px; }
.player audio:not([controls]) { display: none; }

/* player mixer (static/player.js Mixer): a "Mix" button under the seek bar; the panel sits under the
   player on wide screens and is a bottom sheet on phones. Colours from the theme tokens only. */
.player-tools { display: flex; justify-content: flex-end; margin-top: 4px; }
.player-tools[hidden], .mixer[hidden], .mixer-controls[hidden], [data-mix-vol-row][hidden] { display: none; }
.mix-toggle { min-height: 44px; }
.player.mixed .mix-toggle::after { content: " •"; color: var(--accent-ink, var(--accent)); }
.mixer { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.mixer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mixer-head h3 { margin: 0; font-size: 1rem; }
.mixer-status { margin: 6px 0; color: var(--muted); } .mixer-status:empty { display: none; }
.mixer-row { display: block; margin-top: 10px; }
.mixer-label { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.mixer-label output { font-weight: 400; font-variant-numeric: tabular-nums; color: var(--muted); }
.mixer-ends { display: flex; justify-content: space-between; margin-top: -6px; }
.mixer .actions { margin-top: 8px; }
@media (max-width: 640px) {
  .player.mixing-open .mixer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0;
    border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; max-height: 70vh; overflow-y: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
}

/* ---- comparison pages (/compare, web_compare.py): tokens only, so light and dark both follow brand.css ---- */
.cmp .cmp-notaff { margin: 8px 0 16px; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0 16px; background: var(--surface); }
.cmp-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cmp-wrap .cmp-table { display: table; overflow: visible; max-width: none; border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; font-size: .88rem; }   /* .prose table (mobile) would make the table itself the scroller */
.cmp .cmp-table th, .cmp .cmp-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface); min-width: 150px; }
.cmp .cmp-table thead th { font-size: .78rem; letter-spacing: .03em; color: var(--muted); background: var(--surface-2); position: sticky; top: 0; }
.cmp .cmp-table tbody th[scope=row] { position: sticky; left: 0; z-index: 1; min-width: 120px; max-width: 140px; background: var(--surface-2); color: var(--text); font-weight: 600; border-right: 1px solid var(--line); }
.cmp .cmp-table thead th:first-child { position: sticky; left: 0; z-index: 2; min-width: 120px; }
.cmp .cmp-table tr:last-child th, .cmp .cmp-table tr:last-child td { border-bottom: 0; }
.cmp .cmp-table .cmp-me, .cmp .cmp-table tr.cmp-me th, .cmp .cmp-table tr.cmp-me td { background: var(--accent-soft); }
.cmp .cmp-table thead th.cmp-me { color: var(--text); }
.cmp-maker { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.cmp-meta { display: inline-block; margin-top: 4px; font-size: .75rem; color: var(--muted); }
.cmp-meta a { color: var(--muted); text-decoration: underline; }
.cmp-wrap .cmp-hubtable { min-width: 1500px; }
.cmp-hubtable td.cmp-srcs { min-width: 200px; }
.cmp-swipe { margin: 4px 0 0; }
@media (min-width: 900px) { .cmp-swipe { display: none; } }
.cmp-prefer h3 { margin: 16px 0 4px; font-size: 1.05rem; }
.cmp-prefer ul, .cmp-links { margin-top: 4px; }
.cmp-links { padding-left: 1.1em; }
.cmp-links li { margin: 8px 0; }
.cmp-together { border-left: 3px solid var(--accent); padding: 2px 0 2px 14px; margin: 16px 0; }
@media (max-width: 560px) { .cmp.article { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 560px) {
  .cmp .cmp-table tbody th[scope=row], .cmp .cmp-table thead th:first-child { min-width: 106px; max-width: 110px; font-size: .74rem; padding-left: 8px; padding-right: 4px; overflow-wrap: normal; }
  .cmp .cmp-table th, .cmp .cmp-table td { min-width: 140px; }
}

/* Korean: break between words (spaces), not inside them; long Latin names and URLs still wrap */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
/* Hindi: Devanagari headline strokes and matras need more line height than Latin; Noto Sans Devanagari comes from brand.css */
html:lang(hi) { --leading-body: 1.75; --leading-tight: 1.4; }
html:lang(hi) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4) { letter-spacing: 0; }
.mixer input[type=range]:disabled, .mixer button:disabled { opacity: .45; cursor: not-allowed; }
.mixer.mix-waiting .mixer-ends { opacity: .6; }

/* single-program cards: the journey card shell, with the phase lane overlaid on the art (gallery.html) */
.jcard-media { position: relative; display: block; }
.jcard-media .jcard-art, .jcard-media .jcard-art img { display: block; }
.jcard-art-fallback { aspect-ratio: 16 / 9; width: 100%; background: linear-gradient(135deg, #20624f 0%, #1b2a3a 100%); }
.jcard-phases { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(8, 12, 20, .82) 0%, rgba(8, 12, 20, .55) 55%, rgba(8, 12, 20, 0) 100%); pointer-events: none; }
.jphase { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  line-height: 1.5; white-space: nowrap; color: #fff; background: rgba(8, 12, 20, .78); border: 1px solid rgba(255, 255, 255, .35); }
.jphase .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.jphase.state-delta .dot { background: #9db4ff; } .jphase.state-theta .dot { background: #c3a6ff; }
.jphase.state-alpha .dot { background: #6fe0c0; } .jphase.state-beta .dot { background: #ffd27a; }
a.jcard-link:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }

/* ---- button colour contract (2026-10-13) ----
   Every button class names its text colour for every state, from tokens, so no global `a { color }` / :visited / :hover rule and
   no theme token mix can leak a link colour onto a button. Filled = --on-accent on --accent-fill (white 7.19:1 light,
   navy 8.07:1 dark); outline/text = --accent-ink on the page; ghost = --text. Disabled controls keep
   readable text (opacity alone halves the contrast, so the player's disabled play button swaps to a flat surface instead). */
a:is(.btn-primary, .button:not(.ghost), .btn:not(.btn-outline, .btn-secondary, .btn-text, .btn-tertiary, .btn-quiet, .ghost, .btn-icon)):is(:link, :visited, :hover, :focus, :focus-visible, :active) {
  color: var(--on-accent); text-decoration: none; }
a.button:not(.ghost):hover { background: var(--accent-fill-hover); }
a.button:not(.ghost):active { background: var(--accent-fill-active); }
a:is(.btn-outline, .btn-secondary, .btn-text, .btn-tertiary):is(:link, :visited, :focus, :focus-visible, :active) { color: var(--accent-ink); }
a.btn-outline:hover { color: var(--on-accent); }
a:is(.btn-secondary, .btn-text, .btn-tertiary):hover { color: var(--accent-ink); }
a:is(.btn-quiet, .ghost):is(:link, :visited, :hover, :focus, :focus-visible, :active) { color: var(--text); }
a.button.ghost:hover, a.btn.ghost:hover { background: var(--surface-2); }
.player .pp:disabled { opacity: 1; background: var(--surface-2); color: var(--muted); border-color: var(--line); }
/* one-off: the inverted CTA on the free-hours hero keeps its own pair (kept above the contract's specificity) */
a.btn.free-hours-cta:is(:link, :visited, :focus, :focus-visible, :active) { color: var(--accent-fill, #20624f); }
a.btn.free-hours-cta:hover { color: #1f4d40; }

/* Offer view (freehours.offer_view): once the free hours are over Plus leads the box; the ending line is quiet. */
.plus-first .ways-list { display: flex; flex-direction: column; }
.plus-first .way-plus { order: -1; border-color: var(--accent, currentColor); font-weight: 600; }
.ending-line { margin: 0 0 12px; }

/* mixer sheet: a drag handle and a minimise chevron (swipe down / Esc) */
.mixer-grab { display: none; justify-content: center; padding: 2px 0 8px; touch-action: none; }
.mixer-grab i { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.mixer-head { touch-action: pan-x; }
.mixer-min { min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 1.4rem; line-height: 1; }
@media (max-width: 640px) { .player.mixing-open .mixer-grab { display: flex; } .player.mixing-open .mixer { transition: transform .15s ease-out; } }

/* docked course player (.jplayer): mini mode, a slim bar (static/player.js MiniBar) */
.player { position: relative; }
.mini-toggle { position: absolute; top: 6px; right: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 1.3rem; line-height: 1; z-index: 1; }
.mini-toggle[hidden], .player-art[hidden], .mini-progress[hidden] { display: none; }
.jplayer .player:not(.mini) .player-main { padding-right: 52px; }
.player.mini { padding: 8px 56px 8px 8px; cursor: pointer; }
.player.mini .player-main { grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; min-height: 40px; }
.player.mini .player-art { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.player.mini .pp { width: 40px; height: 40px; font-size: 1rem; }
.player.mini .player-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.player.mini .player-time, .player.mini .player-chapter, .player.mini .seek,
.player.mini .player-tools, .player.mini .mixer, .player.mini .chapters { display: none !important; }
.player.mini .mini-toggle { top: 50%; margin-top: -22px; }
.mini-progress { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent-fill, var(--accent)); border-top-left-radius: var(--radius); pointer-events: none; }
@media (max-width: 640px) {
  .jplayer .player.mini { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  body:has(.jplayer:not([hidden]) .player.mini) main { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .jplayer .player.mixing-open .mixer { position: static; box-shadow: none; max-height: 55vh; overflow-y: auto; border-radius: var(--radius);
    padding: 12px; border-bottom: 1px solid var(--line); }
}

/* ---- theme toggle: sun / moon (theme.js, _theme_switch.html) ---- */
.theme-toggle { min-height: 44px; padding: 8px 14px; gap: 8px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  color: var(--text); font-size: .9rem; font-weight: 500; }
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-toggle .i-moon { display: none; }                                 /* the icon shows the look you have now */
html[data-theme-eff="dark"] .theme-toggle .i-moon { display: inline; }
html[data-theme-eff="dark"] .theme-toggle .i-sun { display: none; }
.nav-menu > nav .theme-toggle { margin: var(--space-2) var(--space-2) var(--space-1); align-self: flex-start; }
.site-footer .theme-toggle-footer { justify-self: start; }
@media (max-width: 680px) { .theme-toggle-footer { display: none; } }

/* the seek bar in the session's phase colours (player.js phaseSegments): the same band tokens as the phase
   chips and badges. Unplayed: a thin band; played: the full rail height on top (clip-path), so both keep
   the token's full contrast against the track and are told apart by thickness. */
.seek.has-phases .seek-rail { height: 10px; margin-top: -5px; }
.seek.has-phases .seek-played, .seek.has-phases .seek-buf { display: none; }
.seek-phases { position: absolute; inset: 0; pointer-events: none; }
.seek-phases i, .mini-progress i { position: absolute; top: 0; bottom: 0; display: block; }
.seek-phases:not(.played) i { top: 30%; bottom: 30%; }
.band-delta { background: var(--delta); } .band-theta { background: var(--theta); }
.band-alpha { background: var(--alpha); } .band-beta { background: var(--beta); } .band-gamma { background: var(--gamma); }
.seek-tip { position: absolute; bottom: calc(100% - 4px); left: 0; padding: 2px 8px; border-radius: 6px; white-space: nowrap;
  font-size: .8rem; background: var(--surface); color: var(--text); border: 1px solid var(--line); pointer-events: none; z-index: 2; }
.seek-tip[hidden] { display: none; }
.mini-progress.has-phases { background: none; }

.jcard-phases { max-height: 5.4em; overflow: hidden; }   /* breaks have 6-8 phases: two rows at most */

/* the docked player's × (player.js closeDock): top-right of the full player, the right end of the mini bar */
.player-close { position: absolute; top: 6px; right: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; font-size: 1.5rem; line-height: 1; z-index: 1; }
.player-close[hidden] { display: none; }
.jplayer .player .mini-toggle { right: 54px; }
.jplayer .player:not(.mini) .player-main { padding-right: 100px; }
.player.mini { padding-right: 104px; }
.player.mini .player-close { top: 50%; margin-top: -22px; }

/* Moving art (Gergo 2026-10-13: "clearly"). artmotion.js adds .is-moving to on-screen card art; the journey hero
   always moves. Transform only (GPU-composited), the frame clips it, overlays (phase chips, labels) stay still.
   Cycle 22-30 s, zoom to 1.10, drift about 3 %, alternating. Reduced motion and a hidden tab stop it. */
picture.jcard-art, picture.jhero-art { display: block; overflow: hidden; }
picture.jcard-art img, picture.jhero-art img { transform-origin: 50% 55%; will-change: transform; }
@keyframes twh-drift {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(var(--twh-drift-x, 3%), -1.5%, 0); }
}
picture.jcard-art.is-moving img {
  animation: twh-drift var(--twh-drift-t, 26s) ease-in-out var(--twh-drift-d, 0s) infinite alternate;
}
picture.jhero-art img { animation: twh-drift 24s ease-in-out infinite alternate; }
html.art-paused picture.jcard-art img, html.art-paused picture.jhero-art img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  picture.jcard-art img, picture.jhero-art img { animation: none !important; transform: none !important; }
}
/* Account -> Your name: "Record how you say it" (account.js) */
.name-rec { margin: 8px 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; }
.name-rec p { margin: 0 0 6px; }
.name-rec-consent { display: flex; gap: 8px; align-items: flex-start; }
.name-rec-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; }
.name-rec-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* progressive playback (TWH_PROGRESSIVE): the part of the session not prepared yet, shaded */
.seek-pending { position: absolute; top: 0; bottom: 0; right: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--surface) 0 4px, transparent 4px 8px); opacity: .85; }
.seek-pending[hidden] { display: none; }
/* journey settings: unsaved changes are visible (journey_edit.js dirty()) */
[data-jedit-save].dirty { box-shadow: 0 0 0 3px var(--accent); font-weight: 700; }

/* Cookie banner on phones (UX review 8.2, 2026-10-13): compact, and the page keeps room below its last line
   (and the first Play button) while the banner is shown. */
@media (max-width: 600px) {
  .consent-banner { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 10px 12px; gap: 8px; }
  .consent-banner p { flex: 1 1 100%; font-size: .78rem; line-height: 1.3; }
  .consent-actions { flex: 1 1 100%; flex-wrap: nowrap; }
  .consent-actions .btn { flex: 1 1 0; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  body:has(.consent-banner:not([hidden])) { padding-bottom: calc(246px + env(safe-area-inset-bottom, 0px)); }
}
/* the range's default side margins pushed it 4 px past its label at phone width (mobile_check, 2026-10-13) */
.control-grid > label { min-width: 0; }
.control-grid input[type=range] { margin-left: 0; margin-right: 0; box-sizing: border-box; }

/* Bottom bar (funnel review, 2026-10-13): the four main places under the thumb on a phone and in the installed
   app. The mini player sits above it; safe-area insets; 44 px+ targets. */
.bottom-bar { display: none; }
@media (max-width: 560px), (display-mode: standalone) and (max-width: 900px) {
  .bottom-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; background: var(--surface);
    border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .bottom-bar a { flex: 1 1 0; min-width: 0; min-height: 56px; display: flex; align-items: center; justify-content: center;
    padding: 0 4px; font-size: .85rem; text-align: center; text-decoration: none; color: var(--text); }
  .bottom-bar a[aria-current="page"] { color: var(--accent-ink); font-weight: 700; box-shadow: inset 0 3px 0 var(--accent-ink); }
  .bottom-bar a:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  body .jplayer { bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  body .jplayer .player, body .jplayer .player.mini { padding-bottom: 10px; }
  body .consent-banner { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body .pwa-prompt { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* The optional session intro (player.js Intro, TWH_INTRO): its own chapter; the session's seek bar waits. */
.player.intro-on [data-seek], .player.intro-on [data-chapter] { display: none; }
.player-intro { margin: .5rem 0; }
.player-intro .intro-seek { width: 100%; }
.player-intro .intro-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .25rem 0 0; }
.intro-toast { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; padding: .4rem .6rem;
  border-radius: 8px; background: var(--surface-2, rgba(127,127,127,.12)); }
.intro-note { margin: .4rem 0 0; }
.intro-replay { margin: .25rem 0 0; }
.player-intro [data-intro-skip][disabled] { opacity: 1; cursor: default; }

/* The one player in live mode (player.js LiveMode, TWH_ONE_PLAYER): the live controls in one row, the recorded
   session's seek bar steps aside, and the in-place consent sheet looks like the site's dialogs. */
.player-live .live-controls { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin: .25rem 0; }
.player-live .live-controls .live-save { margin: 0; }
.player-live .live-typed { display: flex; gap: .5rem; align-items: center; margin: .5rem 0; }
.player-live .live-typed input { flex: 1 1 auto; min-width: 0; }
.player-live .live-talk { display: flex; flex-wrap: wrap; gap: .5rem; }
.player.live-on [data-seek], .player.live-on [data-chapter], .player.live-on [data-mix-tools] { display: none; }
dialog.live-consent { border: none; border-radius: 16px; padding: 1.25rem 1.25rem 1rem; max-width: min(34rem, calc(100vw - 32px));
  background: var(--surface, #fff); color: var(--ink, inherit); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
dialog.live-consent::backdrop { background: rgba(0, 0, 0, .35); }
dialog.live-consent ul.consent { list-style: none; padding: 0; margin: .75rem 0; }
dialog.live-consent ul.consent li { margin: .4rem 0; }
dialog.live-consent .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.mixer-ambience { border: none; padding: 0; margin: .75rem 0 0; }
.mixer-ambience > legend { padding: 0; margin-bottom: .25rem; font-weight: 600; }
.adm-alert{color:#b3261e}
.mixer-ambience .amb-choice { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .25rem 0 .5rem; }
.mixer-ambience .amb-choice label { display: inline-flex; align-items: center; gap: .3rem; }

/* Audio interruptions (player.js CtxGuard / TapControl; the live mic) and the iOS home-screen tip. */
.audio-tap { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.audio-tap[hidden], .pwa-tip[hidden] { display: none; }
.battery-help { margin: .25rem 0 0; }
.battery-help:has(> [hidden]) { display: none; }
.pwa-tip { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0; }
.live-screen { margin: 0 0 .4rem; }
