/* 🔴 Nail Live (live/index.html): the studio is one 16:9 stage, everything in it placed in % so it scales as one picture */
.live-page { padding-bottom: 32px; }
.studio { position: relative; width: min(100%, 1280px); margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; color: #fff;
  font-family: "Nunito Sans", system-ui, sans-serif; container-type: inline-size; background: #1b1f4a; }
@media (min-width: 1300px) { .studio { margin-top: 18px; border-radius: 18px; } }
.studio-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 10%, #3b3fa8 0%, #232766 45%, #14163d 100%); }
.studio-bg .glow { position: absolute; border-radius: 50%; filter: blur(2cqw); opacity: .55; }
.studio-bg .g1 { width: 34%; height: 50%; left: 2%; top: 4%; background: #6b4dff; }
.studio-bg .g2 { width: 40%; height: 60%; right: -6%; top: 20%; background: #c2348c; opacity: .35; }
.studio-bg .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(#0f1130 0, #090a20 100%); }
.studio-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 4cqw 4cqw; mask: linear-gradient(#000 0, transparent 72%); }

.on-air { position: absolute; left: 2.2%; top: 3.4%; margin: 0; display: flex; align-items: center; gap: .6cqw; padding: .45cqw 1cqw;
  border-radius: .6cqw; background: rgba(0,0,0,.45); font: 900 1.45cqw/1 "Nunito Sans", sans-serif; letter-spacing: .08em; }
.on-air .rec { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #ff2b2b; box-shadow: 0 0 1cqw #ff2b2b; animation: rec 1.4s infinite; }
.on-air .clock { font-weight: 700; opacity: .85; letter-spacing: 0; }
.studio.off .on-air .rec { background: #888; box-shadow: none; animation: none; }
@keyframes rec { 50% { opacity: .25; } }

/* the screen */
.tv { position: absolute; right: 3%; top: 7%; width: 55%; height: 62%; padding: .7cqw; border-radius: 1.2cqw; background: #0b0c1d;
  box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.55), 0 0 0 .25cqw #3a3f8f; }
.tv-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: .7cqw; background: #101233; }
.tv-idle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6cqw; text-align: center;
  background: radial-gradient(circle at 50% 40%, #4b2a83, #191b4d 70%); }
.tv-idle img { width: 7cqw; height: auto; }
.tv-idle b { font: 800 4.2cqw/1 "Inter Tight", sans-serif; letter-spacing: .04em; }
.tv-idle span { font-size: 1.5cqw; opacity: .75; }
.tv-card { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f6f7fb; color: #15161d; animation: tv-in .45s ease-out; }
@keyframes tv-in { from { opacity: 0; transform: scale(1.03); } }
.tv-media { position: relative; flex: 1; min-height: 0; background: #000; }
.tv-media img, .tv-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tv-media .blur { object-fit: cover; filter: blur(2cqw) brightness(.6); transform: scale(1.1); }
.tv-meta { display: flex; gap: 1cqw; align-items: flex-start; padding: 1cqw 1.3cqw 1.1cqw; }
.tv-meta .av { flex: none; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; object-fit: cover; background: #dde; }
.tv-meta .who { margin: 0 0 .25cqw; font-size: 1.35cqw; font-weight: 800; }
.tv-meta .who small { font-weight: 600; color: #667; margin-left: .5cqw; }
.tv-meta .txt { margin: 0; font-size: 1.45cqw; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tv-card.text-only .tv-meta { flex: 1; align-items: center; padding: 3cqw; }
.tv-card.text-only .txt { font: 700 2.5cqw/1.3 "Inter Tight", sans-serif; -webkit-line-clamp: 7; }
.tv-card.text-only .av { width: 6cqw; height: 6cqw; }
.tv-src { position: absolute; top: 1cqw; right: 1cqw; z-index: 2; padding: .3cqw .8cqw; border-radius: 99px; background: rgba(0,0,0,.72); color: #fff;
  font: 800 1.15cqw/1.3 "Nunito Sans", sans-serif; }

/* Nail at the desk */
.anchor { position: absolute; left: 3%; bottom: 11%; width: 37%; height: auto; overflow: visible; }

/* the lower third and the ticker */
.lower { position: absolute; left: 0; right: 0; bottom: 0; }
.lower-third { display: flex; align-items: stretch; margin: 0 3% 0 2%; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.4); }
.lower-third .tag { flex: none; display: flex; align-items: center; padding: .9cqw 1.4cqw; background: #e1001e; font: 800 1.7cqw/1 "Inter Tight", sans-serif; letter-spacing: .04em; }
.lower-third .headline { flex: 1; min-width: 0; padding: .9cqw 1.4cqw; background: #fff; color: #14152a; font: 800 2.1cqw/1.15 "Inter Tight", sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker { display: flex; align-items: center; height: 3.4cqw; margin-top: .8cqw; background: #090a1d; border-top: .2cqw solid #e1001e; overflow: hidden; }
.ticker-tag { flex: none; height: 100%; display: flex; align-items: center; padding: 0 1.2cqw; background: #2a2e7a; font: 800 1.3cqw/1 "Nunito Sans", sans-serif; }
.ticker-run { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-run span { display: inline-block; padding-left: 100%; font: 700 1.4cqw/1 "Nunito Sans", sans-serif; animation: tick var(--tick, 40s) linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* sound */
.sound-on { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; display: flex; align-items: center; gap: 1cqw;
  padding: 1.4cqw 2.6cqw; border: 0; border-radius: 99px; background: #e1001e; color: #fff; font: 800 2.2cqw/1 "Inter Tight", sans-serif;
  box-shadow: 0 1cqw 3cqw rgba(0,0,0,.5); cursor: pointer; }
.sound-on:hover { background: #ff1f3d; }
.mute { position: absolute; right: 2%; top: 2.4%; z-index: 5; width: 4cqw; height: 4cqw; border: 0; border-radius: 50%; background: rgba(0,0,0,.45);
  color: #fff; font-size: 1.9cqw; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .ticker-run span { animation: none; padding-left: 0; } .on-air .rec { animation: none; } }

/* under the studio */
.live-info { max-width: 820px; margin-top: 26px; }
.live-info h1 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 800 2rem/1.1 "Inter Tight", sans-serif; }
.live-pill { padding: 3px 10px; border-radius: 99px; background: #e1001e; color: #fff; font: 800 .8rem/1.4 "Nunito Sans", sans-serif; letter-spacing: .06em; }
.live-info .now { margin: 0 0 12px; font-weight: 800; font-size: 1.1rem; }
.sources { margin: 18px 0; padding: 14px 18px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line, #e5e5ea); }
.sources h2 { margin: 0 0 8px; font-size: 1.05rem; }
.sources ol { margin: 0; padding-left: 20px; }
.sources li { margin: 4px 0; }
.sound-on[hidden], .mute[hidden] { display: none; }
