/* v20 in play: the live strip at the top (who you are, the headline question, the deadline), the pressure ticker,
   the camera flash and the rubber stamp on the tap, the caption-letter markers, then the real footage as the photo. */
.hud { position: absolute; inset: 0; pointer-events: none; display: none; }
body[data-phase="play"] .hud, body[data-phase="reveal"] .hud { display: block; }
.stage > .hud__red, .hud__red { position: absolute; inset: 0; z-index: 2; opacity: 0; will-change: opacity;
  background: radial-gradient(130% 90% at 50% 55%, rgba(200, 16, 46, 0) 45%, rgba(200, 16, 46, .55) 100%); }
.stage > .pt-paths { z-index: 3; }
.stage > .pt-marks { z-index: 4; }
.stage > .pt-clip { z-index: 9; }
.stage.is-placing .pt-mk { visibility: hidden; }

/* ---- the strip: a torn slip of today's paper over the pitch ---- */
.strip { position: absolute; left: 0; right: 0; top: 0; z-index: 6; background: var(--paper); color: var(--ink);
  padding: calc(var(--sat) + 10px) calc(14px + var(--sar)) 10px calc(14px + var(--sal)); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transform: translateY(-110%); transition: transform .45s var(--ease); }
body[data-phase="play"] .strip, body[data-phase="reveal"] .strip { transform: none; }
.strip::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 7px;
  background: linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 12px 7px repeat-x, linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 12px 7px repeat-x; }
@media (min-width: 900px) { .strip { padding-left: max(24px, calc((100% - 1240px) / 2)); padding-right: max(24px, calc((100% - 1240px) / 2)); } .strip .deadline { width: 96px; } .strip .deadline b { font-size: 34px; } }
.strip__kick { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.live { background: var(--red); color: #fff; padding: 4px 6px 2px; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 5px; }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.strip__row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.strip__head { flex: 1; min-width: 0; font: 700 clamp(26px, 7.4vw, 44px)/1 var(--head); letter-spacing: -.01em; }
.strip__head.is-who { font-style: italic; font-weight: 400; }
.strip__head.is-print { animation: print .38s var(--ease) both; }
@keyframes print { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.strip__deck { margin-top: 5px; font: italic 15px/1.25 var(--body); color: var(--ink-2); }
.deadline { flex: none; width: 82px; border: 2px solid var(--ink); text-align: center; padding: 4px 2px 2px; display: grid; gap: 1px; opacity: .35; transition: opacity .3s, background .2s, color .2s; }
.hud.is-choosing .deadline { opacity: 1; }
.deadline small { font: 700 10px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.deadline b { font: 700 28px/1 var(--cond); font-variant-numeric: tabular-nums; }
.deadline.is-low { background: var(--red); border-color: var(--red); color: #fff; animation: tremble .25s linear infinite; }
@keyframes tremble { 50% { transform: translateX(1px) rotate(.6deg); } }
.strip__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--paper-3); }
.strip__rule i { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; will-change: transform; }
.strip__rule i.is-low { background: var(--red); }
.hud.is-answered .deadline { opacity: .35; }

/* ---- pressure: the breaking ticker + side tabs when he is off screen ---- */
.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: stretch; background: var(--paper); color: var(--ink);
  padding-bottom: var(--sab); transform: translateY(110%); transition: transform .35s var(--ease); font: 700 17px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.ticker b { background: var(--red); color: #fff; padding: 14px 10px 11px; letter-spacing: .14em; }
.ticker span { padding: 14px 12px 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud.is-press.is-choosing .ticker { transform: none; }
.threat { position: absolute; top: 46%; z-index: 6; background: var(--red); color: #fff; padding: 10px 10px 8px; opacity: 0; transition: opacity .2s;
  font: 700 14px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.threat--l { left: 0; } .threat--l::before { content: '\2190  '; }
.threat--r { right: 0; } .threat--r::after { content: '  \2192'; }
.threat--b { top: auto; bottom: calc(var(--sab) + 60px); left: 50%; transform: translateX(-50%); } .threat--b::before { content: '\2193  '; }
.threat.is-on { opacity: 1; }

/* ---- the tap: a press-camera flash and a rubber stamp ---- */
.hud__flash { position: absolute; inset: 0; z-index: 8; background: #fff; opacity: 0; will-change: opacity; }
.hud__flash.is-on { animation: flash .42s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .9; } 100% { opacity: 0; } }
.stamp { position: absolute; left: 50%; top: 56%; z-index: 7; opacity: 0; transform: translate(-50%, -50%) rotate(-9deg); }
.stamp span { display: block; padding: 12px 18px 8px; border: 5px solid currentColor; outline: 2px solid currentColor; outline-offset: 4px; background: rgba(242, 236, 223, .9);
  font: 700 clamp(34px, 10vw, 60px)/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.stamp.is-good { color: var(--green); } .stamp.is-miss { color: var(--red); } .stamp.is-late { color: var(--ink-2); }
.stamp.is-on { animation: stamp .34s cubic-bezier(.5, 0, .7, 1.4) .12s both; }
@keyframes stamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-16deg) scale(2.2); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); } }

/* ---- markers: the caption letters newspapers print on photos ---- */
.v20-mk { position: relative; display: grid; place-items: center; width: 60px; height: 60px; }
.v20-mk__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #ffd60a; will-change: transform, opacity; animation: ring 1.3s ease-out infinite; animation-delay: calc(var(--i, 0) * 160ms); }
@keyframes ring { from { transform: scale(.8); opacity: .95; } to { transform: scale(1.45); opacity: 0; } }
.v20-mk__dot { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 0 0 0 3px #ffd60a, 0 6px 16px rgba(0, 0, 0, .45); font: 700 25px/1 var(--head); padding-top: 2px; }
.v20-mk__tag { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 132px; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 4px 7px 3px; font: 600 12px/1.15 var(--cond); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.pt-mk[data-al="l"] .v20-mk__tag { left: -4px; transform: none; text-align: left; }
.pt-mk[data-al="r"] .v20-mk__tag { left: auto; right: -4px; transform: none; text-align: right; }
.stage.is-scan.pt-choosing .v20-mk__tag { display: none; }
.pt-mk:hover .v20-mk__dot { background: #fff; }
.pt-mk.is-pro .v20-mk__dot { background: var(--green); color: #fff; border-color: #fff; box-shadow: 0 0 0 4px var(--green), 0 6px 16px rgba(0, 0, 0, .45); }
.pt-mk.is-mine .v20-mk__dot { background: var(--red); color: #fff; border-color: #fff; box-shadow: 0 0 0 4px var(--red), 0 6px 16px rgba(0, 0, 0, .45); }
.pt-mk.is-pro .v20-mk__tag { background: var(--green); }
.pt-mk.is-mine .v20-mk__tag { background: var(--red); }
.pt-answered .v20-mk__ring { animation: none; opacity: 0; }
.pt-mk[data-edge="l"]::before { border-right-color: #ffd60a; } .pt-mk[data-edge="r"]::before { border-left-color: #ffd60a; }

/* ================= the reveal: the real footage printed as the story's photo ================= */
#stage.v20-reveal { visibility: hidden; z-index: 20; pointer-events: none; }
#stage.v20-reveal > .pt-clip { visibility: visible; object-fit: cover; background: #111; transition: opacity .35s; }
.page.is-reveal { overflow: hidden; }
.rv { max-width: 1280px; display: flex; flex-direction: column; gap: 12px; min-height: 100vh; min-height: 100dvh; }
.rv__photo { display: grid; gap: 6px; }
.rv__slot { aspect-ratio: 16 / 9; width: 100%; background: #111; border: 1px solid var(--ink); }
.rv__photo figcaption { font: italic 13px/1.3 var(--body); color: var(--ink-3); border-bottom: 1px solid var(--hair); padding-bottom: 6px; }
.rv__photo figcaption b { font: 700 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-style: normal; }
.rv__story { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rv__head { font: 700 clamp(30px, 8.4vw, 52px)/1 var(--head); letter-spacing: -.015em; }
.rv__head em { display: block; font-weight: 400; font-size: .7em; line-height: 1.1; margin-top: 4px; color: var(--ink-2); }
.rv__times { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rv__times > div { padding: 8px 8px 6px; display: grid; gap: 2px; align-content: start; }
.rv__times > div + div { border-left: 1px solid var(--hair); }
.rv__times small { font: 700 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rv__times b { font: 700 36px/1 var(--cond); font-variant-numeric: tabular-nums; }
.rv__times span { font: 14px/1.25 var(--body); color: var(--ink-2); }
.rv__times .is-good b, .rv__times .is-pro b { color: var(--green); }
.rv__times .is-miss b { color: var(--red); }
.rv__time { font: 600 15px/1.3 var(--body); }
.rv__saw { font: 15px/1.4 var(--body); color: var(--ink-2); }
.rv__saw b { font-family: var(--head); color: var(--ink); }
.rv__run { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--hair); padding-top: 10px; }
.rv__run small { font: 700 12px/1.1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rv__run p { display: flex; gap: 5px; }
.rv__run i { width: 30px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--ink-3); font: 700 15px/1 var(--cond); font-style: normal; color: var(--ink-3); background: var(--paper); }
.rv__run i.is-good { background: var(--green); border-color: var(--green); color: #fff; }
.rv__run i.is-miss { background: var(--red); border-color: var(--red); color: #fff; }
.rv__run i.is-now { animation: thump .42s .5s var(--snap) both; }
.rv__story .cta { margin-top: 4px; }
@media (min-width: 900px) {
  .rv { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .rv__story { flex: none; }
  .rv__story .cta { margin-top: 10px; }
  .rv__run { margin-top: 6px; }
}
