/* Gaze Gym Channel: built to be read from across a gym floor. Everything in vh, so every screen keeps
   the same proportions. Nothing below 3.6vh except the source line (3vh). Colors match the Gaze Player. */
:root {
  --bg: linear-gradient(150deg, #080f1e 0%, #0b1830 60%, #060e1a 100%);
  --accent: #71def9;
  --text: #f3f4f6;
  --soft: #e5e7eb;
  --muted: #b6c0cc;
  --line: rgba(148, 163, 184, 0.2);
  --good: #4aba82;
  --bad: #f87171;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; cursor: none; }
body { font-family: 'Fira Sans', 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; }
#stage { position: fixed; inset: 0; background: #000; }

.vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000;
  opacity: 0; transition: opacity 0.45s ease; }
.vid.on { opacity: 1; }

.card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4.4vh 4vw 4vh;
  background: var(--bg); opacity: 0; transition: opacity 0.45s ease; }
.card.on { opacity: 1; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0.7vh;
  background: linear-gradient(90deg, var(--accent), rgba(113, 222, 249, 0.1) 70%, transparent); }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 2vw; flex-shrink: 0; }
.kicker { color: var(--accent); font-size: 4.2vh; font-weight: 800; letter-spacing: 0.08em; }
.right { color: var(--muted); font-size: 3.6vh; font-weight: 700; white-space: nowrap; letter-spacing: 0.04em; }
.body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }

.q { font-size: 6.4vh; font-weight: 800; line-height: 1.2; }
.q.long { font-size: 5.6vh; }
.bar { height: 1vh; background: var(--line); border-radius: 1vh; overflow: hidden; margin-top: 3.4vh; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.reveal { margin-top: 3.6vh; opacity: 0; transform: translateY(1.5vh); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.on { opacity: 1; transform: none; }
.answer { color: var(--accent); font-size: 7.6vh; font-weight: 900; line-height: 1.15; }
.answer.mid { font-size: 6vh; }
.answer.long { font-size: 5.2vh; }
.note { font-size: 4.4vh; font-weight: 600; line-height: 1.25; margin-top: 2vh; color: var(--soft); }
.badge { display: inline-block; color: #06121f; font-size: 5.6vh; font-weight: 900; letter-spacing: 0.06em;
  padding: 0.6vh 2vw; border-radius: 1.2vh; }
.badge.good { background: var(--good); }
.badge.bad { background: var(--bad); }
.why { font-size: 4.8vh; font-weight: 600; line-height: 1.25; margin-top: 2.2vh; color: var(--soft); }

.rows { margin-top: 1vh; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 2vw; border-bottom: 1px solid var(--line); height: 13vh; }
.rows.r5 .row { height: 10.6vh; }
.rows.r6 .row { height: 9vh; }
.rows.r7 .row { height: 8.2vh; }
.row .l { font-size: 5vh; font-weight: 600; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.row .v { font-size: 5.6vh; font-weight: 900; color: var(--accent); white-space: nowrap; }
.tnote { font-size: 3.6vh; color: #cbd5e1; margin-top: 2vh; }
.src { font-size: 3vh; color: var(--muted); margin-top: 1.4vh; }

#logo { position: absolute; top: 3.6vh; right: 3vw; max-height: 9vh; max-width: 16vw; object-fit: contain; z-index: 5;
  opacity: 0; transition: opacity 0.45s ease; }
#logo.on { opacity: 1; }
/* shot=1: stills for review pages (no fades; reveal=1 shows the answer at once) */
.shot *, .shot *::before { transition: none !important; }
.revealed .reveal { opacity: 1; transform: none; }
.revealed .bar i { transform: scaleX(1) !important; }

#debug { position: absolute; left: 1vw; bottom: 1vh; z-index: 9; font: 600 2.4vh/1.3 'Fira Sans', sans-serif;
  color: #fff; background: rgba(0, 0, 0, 0.6); padding: 0.4vh 0.8vw; border-radius: 0.6vh; }
