/* Shared pages. The home hero keeps its own styles. */
:root { --bg: #0c0b0a; --paper: #f4f1ea; --ink: #121212; --red: #d01212; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: #fff; }
body {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  min-height: 100vh;
}
a { color: inherit; }
button, input { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mark {
  position: absolute;
  z-index: 3;
  top: 1.15rem;
  left: 1.2rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.mark a { text-decoration: none; }
.sheet {
  width: min(42rem, calc(100% - 1.7rem));
  margin: 4.4rem auto 1.4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 1.15rem 1.2rem 1.35rem;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.42));
}
.sheet h1, .dark h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 0.7rem;
}
.sheet h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); }
.sheet h2, .dark h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 1.15rem 0 0.3rem;
}
.sheet p, .sheet li { font-size: 1rem; }
.sheet p { margin: 0.45rem 0; }
.sheet ol, .sheet ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.sheet li + li { margin-top: 0.35rem; }
.sheet a { color: var(--ink); }
.dark {
  width: min(46rem, calc(100% - 1.5rem));
  margin: 4.2rem auto 1rem;
}
.dark h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.lede { margin: 0 0 0.8rem; max-width: 36rem; }
.warn { color: #ffb4b4; margin: 0 0 0.8rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 0.8rem; }
.btn, .ghost {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  min-height: 2.7rem;
  padding: 0.45rem 0.8rem;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
}
.ghost { background: transparent; color: #fff; border: 1.5px solid #fff; }
.ghost.on { background: #fff; color: #121212; }
.kicker { margin: 0.55rem 0 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.btn:disabled, .ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.stage {
  position: relative;
  background: #000;
  min-height: 42vh;
  margin: 0.4rem 0 0.7rem;
}
.stage video, .stage img.live-off {
  width: 100%;
  height: 42vh;
  object-fit: cover;
  background: #000;
  display: block;
}
.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: #3a3a3a;
  color: #fff;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.45rem;
}
.badge.on { background: var(--red); }
.mic {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mic-track { flex: 1; height: 8px; background: #2a2a2a; }
.mic-track span { display: block; height: 100%; width: 0; background: var(--red); }
.timer {
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  margin: 0.2rem 0;
}
.phase { margin: 0; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600; }
.move-name {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.35rem 0 0.2rem;
}
.how { margin: 0 0 0.6rem; max-width: 36rem; }
.moves { list-style: none; padding: 0; margin: 0.4rem 0 1rem; }
.moves li { padding: 0.28rem 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 0.95rem; }
.moves li.on { color: #fff; font-weight: 600; }
.moves li span { display: block; color: rgba(255,255,255,.72); font-weight: 400; }
.banner {
  border: 1px solid rgba(255,255,255,.4);
  padding: 0.7rem 0.75rem;
  margin: 0 0 0.7rem;
}
.yt, .still, .typed { margin: 0.9rem 0; }
.yt input, .typed input, .account input {
  width: 100%;
  max-width: 28rem;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid #fff;
  padding: 0.4rem 0;
  border-radius: 0;
  font-size: 1rem;
}
.still img { width: min(100%, 420px); height: auto; background: #000; }
.links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin: 0.3rem 0 0.8rem; }
.links a { font-size: 0.92rem; }
.account .line { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink); padding: 0.45rem 0; }
.account .line b { font-family: "Archivo Narrow", sans-serif; font-size: 1.25rem; font-weight: 700; }
.account .k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; }
.days { list-style: none; padding: 0; margin: 0.4rem 0 0.8rem; }
.days li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.28rem 0; border-top: 1px solid rgba(18,18,18,.2); font-variant-numeric: tabular-nums; }
.pay {
  width: 100%;
  margin-top: 0.6rem;
  background: #121212;
  color: #f4f1ea;
  border: 0;
  min-height: 2.85rem;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  cursor: pointer;
}
.pay:disabled { opacity: 0.38; cursor: not-allowed; }
.note { margin: 0.45rem 0 0; }
.err { color: var(--red); font-weight: 600; min-height: 1.2em; }
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  width: min(46rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.4rem 0 2.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot a { color: #fff; }
@media (max-width: 700px) {
  .mark { left: 0.85rem; top: 0.85rem; }
  .sheet, .dark { margin-top: 3.6rem; }
}

/* Session ask and the side-by-side workout. */
.session .links { margin-top: 0; }
.session h1 { margin-bottom: 0.35rem; }
.session .lede { margin-bottom: 0.45rem; }
.ask { width: min(26rem, 100%); margin: 0.15rem 0 0.7rem; }
.ticket-q {
  color: var(--ink);
  padding: 0.85rem 1.2rem 1rem;
  background:
    radial-gradient(circle at 0 12px, transparent 8px, var(--paper) 8.5px) left top / 51% 24px repeat-y,
    radial-gradient(circle at 100% 12px, transparent 8px, var(--paper) 8.5px) right top / 51% 24px repeat-y;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.45));
}
.ticket-q .barcode {
  height: 28px;
  margin: 0.35rem 0 0.45rem;
  background: repeating-linear-gradient(
    90deg,
    #121212 0 1px, transparent 1px 3px,
    #121212 3px 5px, transparent 5px 7px,
    #121212 7px 8px, transparent 8px 11px,
    #121212 11px 14px, transparent 14px 16px,
    #121212 16px 17px, transparent 17px 19px,
    #121212 19px 22px, transparent 22px 24px
  );
}
.q-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticket-q h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 6vw, 3.15rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.75rem;
  color: var(--ink);
}
.q-plain { margin: 0 0 0.75rem; font-size: 1.05rem; color: var(--ink); }
.q-picks { display: grid; gap: 0.45rem; }
.pick {
  appearance: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  min-height: 3.35rem;
  padding: 0.4rem 0.7rem;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-align: left;
}
.pick.on, .pick:hover { background: var(--ink); color: var(--paper); }
.ticket-q .go {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  min-height: 3.2rem;
  margin-top: 0.15rem;
  font-size: 1.2rem;
}
.back {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.proof { max-width: 36rem; margin: 0.2rem 0 0.8rem; color: rgba(255,255,255,.84); }
.result {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1;
  margin: 0.15rem 0 0.2rem;
}
.motion { margin: 0 0 0.35rem; }
.clock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin: 0 0 0.35rem;
}
.clock-time { min-width: 0; }
.clock .phase { margin: 0; }
.clock .timer { font-size: clamp(1.65rem, 4vw, 2.55rem); margin: 0; line-height: 0.88; }
.clock-side { text-align: right; }
.clock-side #pose-status { margin: 0 0 0.2rem; font-weight: 600; }
.row.tight { margin: 0; justify-content: flex-end; }
.row.tight .ghost, .row.tight .btn { min-height: 2rem; padding: 0.15rem 0.55rem; }
.live[hidden] { display: none !important; }
.live { flex-direction: column; min-height: 0; }
.split {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.stage, .player {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}
.stage { margin: 0; min-height: 0; }
.stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.player #yt-slot, .player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-badge { left: auto; right: 0.7rem; }
.stage .mic {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.45rem;
  margin: 0;
  color: #fff;
}
.live .banner { margin-bottom: 0.35rem; }
main.session.is-live {
  width: min(72rem, calc(100% - 1rem));
  margin: 2.45rem auto 0;
  height: calc(100svh - 2.45rem);
  max-height: calc(100svh - 2.45rem);
  display: flex;
  flex-direction: column;
}
main.session.is-live .live { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.below { margin-top: 1.2rem; }
@media (max-width: 700px) {
  .split { grid-template-columns: 0.84fr 1.16fr; gap: 0.3rem; }
  .clock .timer { font-size: 1.6rem; }
  .pick { min-height: 3.05rem; font-size: 1.2rem; }
  main.session.is-live {
    width: calc(100% - 0.7rem);
    margin-top: 2.2rem;
    height: calc(100svh - 2.2rem);
    max-height: calc(100svh - 2.2rem);
  }
  .badge { top: 0.4rem; left: 0.4rem; }
  .yt-badge { left: auto; right: 0.4rem; }
}

/* Email step. */
.q-input {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 0.45rem 0;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.q-input::placeholder { color: rgba(18,18,18,.38); }
.q-input:focus { outline: none; border-bottom-color: var(--red); }
.q-err { color: var(--red); font-weight: 600; min-height: 1.3em; margin: 0.35rem 0 0.35rem; font-size: 0.92rem; }
.q-note { margin: -0.35rem 0 0.7rem; font-size: 0.88rem; color: rgba(18,18,18,.7); }

/* Phones: workout on top at 16:9, camera below at its own shape. */
@media (max-width: 700px) {
  main.session.is-live .split {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  main.session.is-live .player {
    order: -1;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  main.session.is-live .stage {
    flex: 0 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--cam-ar, 4 / 3);
  }
  main.session.is-live .clock { margin-bottom: 0.3rem; }
  main.session.is-live .clock .phase { font-size: 0.66rem; }
}

/* ===== Session look: photo hero, ticket, film. ===== */
main.session:not(.is-live) { width: 100%; margin: 0; }
.ask-wrap[hidden] { display: none !important; }
.s-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: 2rem;
  padding: 4rem 2.8rem 2rem;
  overflow: hidden;
}
.s-media { position: absolute; inset: 0; overflow: hidden; }
.s-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: s-ken 22s ease-in-out infinite alternate;
  transform-origin: 40% 40%;
}
@keyframes s-ken { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-1.5%); } }
.s-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,10,.9) 0%, rgba(12,11,10,.62) 34%, rgba(12,11,10,.2) 60%, rgba(12,11,10,.35) 100%),
    linear-gradient(0deg, rgba(12,11,10,1) 0%, rgba(12,11,10,0) 28%);
}
.s-copy { position: relative; z-index: 2; max-width: 34rem; }
.s-copy .links a { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.s-kicker { margin: 0.6rem 0 0.35rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; }
.session .s-copy h1 { font-size: clamp(3.1rem, 6.4vw, 6rem); line-height: 0.86; margin: 0 0 0.6rem; }
.s-copy .lede { font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 26rem; }
.s-access { margin: 0.6rem 0 0.2rem; font-weight: 600; max-width: 26rem; }
.s-access a { color: #fff; }
.s-today { margin: 0.2rem 0 0; font-size: 0.86rem; opacity: 0.8; }
.s-ticket { position: relative; z-index: 2; width: min(430px, 100%); justify-self: end; }
.session .ask { width: 100%; position: relative; margin: 0; }
.session .ticket-q { padding: 0.72rem 1.3rem 1rem; }
.t-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.t-top { display: flex; align-items: center; justify-content: space-between; min-height: 2.1rem; }
.t-kicker { margin: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; color: var(--ink); }
.stamp {
  margin: 0;
  border: 3px solid var(--red);
  color: var(--red);
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0.18rem 0.42rem 0.08rem;
  transform: rotate(-8deg);
}
.session .ticket-q h2 { margin-top: 0.05rem; padding-top: 0.55rem; border-top: 3px solid var(--ink); }
.ticket-q .barcode { margin: 0.36rem 0 0.2rem; }
.tear-out {
  position: absolute !important;
  top: 0; left: 0; width: 100%;
  z-index: 3;
  pointer-events: none;
  transform-origin: 8% 0;
  animation: s-tear-out 0.44s cubic-bezier(.55,0,.8,.3) forwards;
}
@keyframes s-tear-out {
  0% { transform: none; opacity: 1; }
  25% { transform: rotate(-2.5deg) translateY(-3px); opacity: 1; }
  100% { transform: translate(-22%, -70px) rotate(-16deg); opacity: 0; }
}
.tear-in { animation: s-tear-in 0.42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes s-tear-in {
  from { transform: translateY(16px) rotate(1deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.stubs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.45rem; min-height: 0; }
.stub {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  padding: 0.28rem 0.7rem 0.3rem 0.85rem;
  border-left: 2px dashed rgba(18,18,18,.45);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transform: rotate(-1.5deg);
  animation: s-stub 0.35s ease-out both;
}
.stub:nth-child(2) { transform: rotate(1.2deg); }
.stub span { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.stub b { font-family: "Archivo Narrow", sans-serif; font-size: 0.98rem; letter-spacing: 0.03em; }
@keyframes s-stub { from { transform: translateY(-10px) rotate(-6deg); opacity: 0; } }
.test-btn {
  appearance: none;
  margin-top: 0.85rem;
  width: 100%;
  min-height: 2.8rem;
  cursor: pointer;
  background: rgba(12,11,10,.55);
  color: #fff;
  border: 1.5px solid #fff;
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.test-btn:hover { background: #fff; color: var(--ink); }
.test-note { margin: 0.35rem 0 0; font-size: 0.8rem; opacity: 0.82; text-align: center; }
.s-film { height: 34vh; overflow: hidden; background: var(--bg); }
.s-film-track { display: flex; height: 100%; width: max-content; animation: s-film 70s linear infinite; will-change: transform; }
.s-film-set { display: flex; height: 100%; }
.s-frame { position: relative; margin: 0; height: 34vh; width: 25vh; flex: none; }
.s-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-frame span {
  position: absolute; left: 0.7rem; bottom: 0.55rem;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.65);
}
@keyframes s-film { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.session .proof { width: min(46rem, calc(100% - 1.5rem)); margin: 1rem auto 0.4rem; }
.session #ask-notes .result { margin-top: 0.6rem; }

/* Check strip under the video and camera. */
.checks { flex: none; margin-top: 0.4rem; min-width: 0; }
.checks-sum { margin: 0 0 0.25rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.checks-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
.checks-row::-webkit-scrollbar { display: none; }
.check {
  position: relative;
  flex: none;
  width: 92px;
  background: #1b1a18;
  border-top: 3px solid #555;
  font-size: 0.62rem;
  line-height: 1.2;
  padding-bottom: 0.2rem;
}
.check.yes { border-top-color: #3aa35a; }
.check.no { border-top-color: var(--red); }
.check.fail { border-top-color: #b38a00; }
.check img { width: 100%; height: 52px; object-fit: cover; display: block; }
.check span { display: block; padding: 0.12rem 0.3rem 0; white-space: nowrap; }
.check .c-seen { font-weight: 600; }
.check .c-time { opacity: 0.65; }
.checks-row.light .check { background: #e7e3da; color: var(--ink); }

/* Camera test dialog. */
.tester {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12,11,10,.82);
  backdrop-filter: blur(6px);
}
.tester[hidden] { display: none; }
.tester-card {
  width: min(30rem, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  color: var(--ink);
  padding: 0.75rem 1.2rem 1rem;
  background:
    radial-gradient(circle at 0 12px, transparent 8px, var(--paper) 8.5px) left top / 51% 24px repeat-y,
    radial-gradient(circle at 100% 12px, transparent 8px, var(--paper) 8.5px) right top / 51% 24px repeat-y;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.5));
}
.tester-card .barcode {
  height: 26px; margin: 0.35rem 0 0.3rem;
  background: repeating-linear-gradient(90deg, #121212 0 1px, transparent 1px 3px, #121212 3px 5px, transparent 5px 7px, #121212 7px 8px, transparent 8px 11px, #121212 11px 14px, transparent 14px 16px);
}
.tester-card h2 {
  font-family: "Instrument Serif", serif; font-weight: 400; color: var(--ink);
  font-size: clamp(2rem, 6vw, 2.7rem); line-height: 0.92; margin: 0.25rem 0 0.55rem;
}
.tester-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 48svh; margin: 0 auto; background: #000; overflow: hidden; }
.tester-stage video, .tester-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.tester-status { margin: 0.55rem 0 0.45rem; font-weight: 600; min-height: 2.6em; }
.tester-row { display: flex; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.tester-row .go { flex: 1; width: auto; margin: 0; }
.tester-row .back { margin: 0; }
body.testing { overflow: hidden; }

@media (max-width: 900px) {
  .s-hero { grid-template-columns: 1fr; gap: 1.2rem; padding: 3.4rem 1rem 1.4rem; align-items: start; min-height: 0; }
  .s-ticket { justify-self: stretch; width: 100%; max-width: 30rem; }
  .s-shade { background: linear-gradient(180deg, rgba(12,11,10,.55) 0%, rgba(12,11,10,.5) 30%, rgba(12,11,10,.86) 52%, rgba(12,11,10,1) 78%); }
  .s-media { bottom: auto; height: 78vh; }
  .session .s-copy h1 { font-size: clamp(2.9rem, 13vw, 4rem); }
  .s-film { height: 24vh; }
  .s-frame { height: 24vh; width: 18vh; }
}
@media (max-width: 700px) {
  main.session.is-live .checks { margin-top: 0.3rem; }
  .check { width: 80px; }
  .check img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-media img, .s-film-track { animation: none; }
  .stub { animation: none; }
}
.tester-card .go {
  background: var(--ink); color: var(--paper); min-height: 2.9rem; font-size: 1.1rem;
}
#live-notes .motion { display: none; }
@media (max-width: 700px) {
  main.session.is-live .split { flex: 0 1 auto; min-height: 0; }
}

/* TV mode: the video plays on another screen, this one shows only the camera. */
.tv-link[hidden], .tv-mini[hidden], .day-save[hidden] { display: none !important; }
.tv-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  margin: 0 0 0.8rem;
  padding: 0.6rem 0;
  border-top: 1px dashed rgba(18,18,18,.35);
  border-bottom: 1px dashed rgba(18,18,18,.35);
}
.tv-qr { line-height: 0; }
.tv-qr svg { display: block; width: 132px; height: 132px; }
.tv-qr.small svg { width: 64px; height: 64px; }
.tv-copy p { margin: 0 0 0.3rem; font-size: 0.86rem; line-height: 1.3; }
.tv-url a { color: var(--ink); font-weight: 700; word-break: break-all; }
.tv-alt { color: rgba(18,18,18,.68); }
.tv-mini {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  line-height: 1.3;
}
.tv-mini p { margin: 0; }
.tv-mini a { color: #fff; font-weight: 600; word-break: break-all; }
main.session.is-live.tv .player { display: none; }
main.session.is-live.tv .split { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
main.session.is-live.tv .stage { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
@media (max-width: 700px) {
  main.session.is-live.tv .split { flex: 1 1 auto; }
  main.session.is-live.tv .stage { aspect-ratio: auto; }
}

/* Contract save line after a staked workout. */
.day-save { margin: 0.3rem 0 0.2rem; font-size: 0.86rem; font-weight: 600; }
.day-save p { margin: 0 0 0.25rem; }
.day-save.good p { color: #7fd69a; }
.day-save.bad p { color: #ff8a80; }
.day-save .ghost { min-height: 1.9rem; padding: 0.1rem 0.6rem; }
.check .c-pose { opacity: 0.8; font-style: italic; }
