:root{font-family:Arial,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#fff;background:#101514;color-scheme:dark;--coral:#ff6254;--ink:#111510;--bubble:#fffdf4;--stroke:3px solid #111510;--shadow:4px 4px 0 #111510}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c5ff91;outline-offset:4px}button:disabled{cursor:wait;opacity:.6}button:active:not(:disabled){transform:translate(1px,1px)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#stage{position:relative;min-height:100svh;height:100svh;overflow:hidden;isolation:isolate}.ambient{position:absolute;inset:0;background:radial-gradient(ellipse at 22% 38%,#254339 0,transparent 52%),radial-gradient(ellipse at 80% 80%,#333c28 0,transparent 50%),#101a17;z-index:-4}.ambient:after{content:"";position:absolute;inset:0;opacity:.15;background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,#000 4px)}.video-layer{position:absolute;inset:0;z-index:-3}.video-layer video{position:absolute;width:100%;height:100%;object-fit:cover;opacity:0;background:#0b0f0d}.video-layer video.active{opacity:1}.shade{position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,#0007,transparent 22%,transparent 65%,#000b),linear-gradient(90deg,#0002,transparent 40%,#0002)}.topbar{position:absolute;inset:0 0 auto;padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;z-index:5}.wordmark{font-family:Georgia,serif;font-style:italic;font-weight:900;font-size:25px;letter-spacing:-1px;color:#fff;text-decoration:none;text-shadow:2px 2px #111}.wordmark span{color:#d6ffad}.wordmark i{font-style:normal;margin-left:8px;color:var(--coral)}.live-badge{position:absolute;left:50%;transform:translateX(-50%);top:24px;background:#252c27d9;border:1px solid #ffffff40;border-radius:999px;display:flex;align-items:center;gap:7px;padding:8px 13px;font-weight:800;font-size:11px;letter-spacing:.7px;white-space:nowrap;box-shadow:0 2px 12px #0003}.live-badge.on-air{background:#e34b42;border-color:#fa8e82}.live-badge.replay{background:#202820e6}.dot{width:6px;height:6px;border-radius:50%;background:#c5ff91}.on-air .dot{background:#fff;animation:pulse 1.5s infinite}.lineup{position:absolute;left:24px;top:114px;width:236px;bottom:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:#ffffff40 transparent}.section-label{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#fff;display:flex;gap:12px;align-items:center;margin:0 0 14px;text-shadow:0 1px 4px #000}.section-label>span{letter-spacing:0;font-size:10px;font-weight:500;color:#d8e6d8}.next-list{display:flex;flex-direction:column;gap:12px;padding-right:8px}.empty-lineup{font-size:13px;color:#b9c5bb;line-height:1.7;max-width:180px}.next-card{border:var(--stroke);border-radius:15px;padding:10px 12px;background:#e8f4ce;color:var(--ink);box-shadow:var(--shadow);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.next-card.generating{background:#ffe2bb}.next-card strong{font-size:10px;display:block;margin-bottom:5px;color:#516338}.next-card.generating strong{color:#8d4b20}.next-card p{margin:0}.next-card small{display:block;font-size:10px;margin-top:7px;color:#59604e}.welcome{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);text-align:center;width:min(560px,90vw);padding:28px 0;z-index:1}.eyebrow{font-size:9px;letter-spacing:3px;font-weight:700;color:#d6e5d1;margin:0 0 14px}.welcome h1{font:italic 900 clamp(52px,6.4vw,92px)/1.1 Georgia,"Times New Roman",serif;letter-spacing:-5px;margin:0 0 24px;text-shadow:3px 3px 0 #111,6px 6px 0 #111,9px 9px 0 #111;-webkit-text-stroke:2px #111;paint-order:stroke fill;white-space:nowrap}.welcome h1>span{display:inline-block;color:#d6ffad;font-family:Arial;font-style:normal;font-size:.5em;margin-left:8px;vertical-align:top;letter-spacing:0}.play-button{width:65px;height:65px;border:var(--stroke);border-radius:50%;box-shadow:var(--shadow);background:var(--coral);color:#fff;display:grid;place-items:center;margin:0 auto 23px;font-size:25px;padding-left:8px}.play-button:hover{background:#ff877c}.welcome-copy{font-size:16px;font-weight:700;line-height:1.7;margin:0;text-shadow:0 2px 8px #000}.welcome-copy span{color:#dce5dc;font-size:12px;font-weight:400}.welcome-note{font-size:10px;letter-spacing:.3px;color:#adbfae;margin-top:16px}.waiting{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);max-width:420px;text-align:center;display:flex;flex-direction:column;gap:12px;color:#fff;padding:20px;text-shadow:0 2px 12px #000}.waiting-symbol{font-size:50px;color:#d6ffad;margin-bottom:5px}.waiting.loading .waiting-symbol{animation:turn 5s linear infinite}.waiting strong{font-size:18px}.waiting>span:last-child{font-size:12px;line-height:1.7;color:#d3ded2;overflow-wrap:anywhere}.chat-panel{position:absolute;right:22px;top:95px;bottom:68px;width:330px;display:flex;flex-direction:column;z-index:3;min-height:0}.chat-heading{display:flex;align-items:center;gap:7px;padding:0 3px 13px;text-shadow:0 1px 5px #000}.tiny-star{color:#d6ffad;font-size:20px}.chat-heading strong{font-size:11px}.live-count{margin-left:auto;color:#c9d4ca;font-size:10px}.tabs{display:flex;gap:8px;margin-bottom:10px}.tabs button{flex:1;border:var(--stroke);border-radius:10px;box-shadow:3px 3px 0 #111510;background:var(--bubble);color:var(--ink);padding:9px 10px;font-size:11px;font-weight:900;letter-spacing:1px}.tabs button[aria-selected=true]{background:var(--coral)}.tabs button span{font-size:9px;letter-spacing:0;margin-left:6px;opacity:.6}.chat-view,.queue-view{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.message-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:5px 7px 12px 1px;scrollbar-width:thin;scrollbar-color:#ffffff60 transparent}.message-list:before{content:"";flex:1}.message{border:var(--stroke);box-shadow:var(--shadow);background:var(--bubble);color:var(--ink);padding:10px 12px;border-radius:16px;line-height:1.5;flex-shrink:0;overflow-wrap:anywhere}.message:nth-of-type(3n+1){background:#dceac7}.message:nth-of-type(3n+2){background:#e5ddef}.message-header{display:flex;align-items:center;gap:6px;margin-bottom:3px}.message-header strong{font-size:11px}.message-header time{font-size:9px;opacity:.5;margin-left:auto;white-space:nowrap}.message-prompt{font-size:12px;white-space:pre-wrap;margin:0}.message-meta{font-size:9px;color:#626c5d;margin-top:7px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.message-state{font-weight:800}.message[data-status=generating] .message-state{color:#b44c20}.message[data-status=ready] .message-state{color:#496b2c}.message[data-status=failed]{background:#ffe2dd}.message[data-status=failed] .message-state{color:#9e332e}.message[data-selected=true]{outline:2px solid #d6ffad;outline-offset:3px}.pick-button{margin-left:auto;background:#fff9;border:1px solid #1115;border-radius:6px;font-size:9px;color:#182210;padding:3px 7px;font-weight:700}.pick-button:hover{background:#fff}.message-error{font-size:10px;color:#9e332e;margin:6px 0 0}.chat-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#e6ede1;pointer-events:none}.chat-empty>span{font-size:33px;color:#d6ffad;margin-bottom:10px}.chat-empty strong{font-size:13px}.chat-empty p{font-size:11px;color:#bfcebf;line-height:1.8}.queue-intro{font-size:10px;line-height:1.6;color:#d4dfd0;padding:5px 2px 12px;text-shadow:0 1px 5px #000}.queue-empty{font-size:11px;color:#c9d5c6;text-align:center;padding:30px 15px}.composer{padding-top:10px;flex-shrink:0}.ideas{display:flex;gap:5px;margin-bottom:12px;overflow:auto;scrollbar-width:none}.ideas button{border:1px solid #ffffff3d;border-radius:999px;background:#152015cc;color:#ecf2e7;padding:5px 8px;font-size:9px;white-space:nowrap}.ideas button:hover{border-color:#b4db92;background:#31412d}.name-label{display:flex;align-items:center;gap:6px;font-size:9px;color:#c5d2c2;margin:0 0 7px 3px}.name-label input{width:100px;border:0;border-bottom:1px solid #ffffff35;border-radius:0;background:transparent;color:#fff;font-size:10px;padding:2px 3px}.input-row{display:flex;gap:6px;align-items:stretch}.input-row textarea{resize:none;min-width:0;flex:1;background:var(--bubble);border:var(--stroke);box-shadow:3px 3px 0 #111510;border-radius:13px;color:#182214;font-size:11px;line-height:1.5;padding:11px 12px;min-height:59px}.input-row textarea::placeholder{color:#8c9383}.send-button{flex-shrink:0;border:var(--stroke);box-shadow:3px 3px 0 #111510;border-radius:12px;background:var(--coral);color:#171d12;font-size:11px;font-weight:800;padding:10px}.send-button span{display:block;font-size:19px;line-height:1.1;margin-top:2px}.composer-note{font-size:8px;color:#aebcab;line-height:1.5;margin:8px 2px 0;text-shadow:0 1px 4px #000}.submit-error{font-size:10px;line-height:1.6;padding:9px;margin-top:10px;background:#421d1de6;border:1px solid #ffb3aa;border-radius:8px;color:#ffddd8}.submit-error button{display:block;margin-top:7px;border:1px solid #eeb8ad;background:#ffddd8;color:#501d19;border-radius:5px;padding:5px 7px;font-size:10px}.now-playing{position:absolute;left:25px;bottom:75px;max-width:min(580px,calc(100vw - 435px));text-shadow:0 1px 8px #000}.now-playing .section-label{color:#d6ffad;margin-bottom:8px}.now-prompt{font-size:15px;font-weight:600;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.now-stats{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.stat-pill{font-size:9px;background:#0c140fcc;border:1px solid #ffffff2b;border-radius:999px;padding:5px 8px;backdrop-filter:blur(8px);white-space:nowrap}.footer{position:absolute;bottom:0;left:0;right:0;min-height:50px;padding:14px 25px;display:flex;align-items:center;gap:18px;font-size:9px;color:#c1cebd;z-index:4}.footer-brand{font-size:15px;font-weight:800;letter-spacing:-.6px;color:#fff}.footer-brand b{color:#d6ffad;margin-left:3px}.worker-status{display:flex;gap:6px;align-items:center}.worker-dot{width:5px;height:5px;border-radius:50%;background:#e8ba68}.worker-dot.ready{background:#b4e08e}.worker-dot.error{background:#ff8674}.footer-note{color:#98aa94;margin-left:auto}.connection-error{position:absolute;top:71px;left:50%;transform:translateX(-50%);max-width:min(560px,92vw);background:#3f241fe8;border:1px solid #e9a58f;border-radius:9px;color:#ffe0d6;padding:10px 14px;font-size:11px;z-index:12;text-align:center}.notice{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);border:1px solid #e3efd8;background:#1a281be8;border-radius:999px;padding:10px 16px;font-size:11px;z-index:20;max-width:90vw;text-align:center}body.has-video .ambient{visibility:hidden}@keyframes pulse{50%{opacity:.4}}@keyframes turn{to{transform:rotate(360deg)}}@media(min-width:1250px){.welcome,.waiting{left:calc(50% - 35px)}.chat-panel{width:350px;right:25px}.lineup{width:250px}.welcome h1{font-size:92px}}@media(max-width:1050px) and (min-width:701px){.lineup{width:180px;left:18px}.chat-panel{width:295px;right:16px}.welcome,.waiting{left:calc(50% - 40px);width:380px}.welcome h1{font-size:65px}.now-playing{max-width:calc(100vw - 360px)}}@media(max-width:700px){#stage{height:100svh;min-height:580px}.topbar{padding:17px 15px;gap:10px}.wordmark{font-size:21px}.wordmark i{margin-left:4px}.live-badge{top:65px;left:15px;transform:none;padding:6px 10px;font-size:9px}.lineup{top:66px;left:auto;right:15px;width:180px;height:69px;bottom:auto;overflow:hidden}.lineup .section-label{font-size:8px;margin:0 0 5px}.lineup .section-label span{display:none}.next-card{font-size:9px;border-width:2px;box-shadow:2px 2px #111;border-radius:9px;padding:5px 7px;line-height:1.25}.next-card strong{font-size:8px;margin-bottom:2px}.next-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.next-card small{display:none}.empty-lineup{font-size:9px;line-height:1.4;margin-top:0}.empty-lineup br{display:none}.welcome{left:50%;top:28%;width:95vw;padding:0}.eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:9px}.welcome h1{font-size:57px;letter-spacing:-3px;margin-bottom:15px;text-shadow:2px 2px #111,4px 4px #111,6px 6px #111;-webkit-text-stroke:1px #111}.play-button{width:48px;height:48px;font-size:18px;margin-bottom:13px}.welcome-copy{font-size:12px;line-height:1.6}.welcome-copy span{font-size:10px}.welcome-note{font-size:8px;margin-top:10px}.chat-panel{right:12px;left:12px;width:auto;top:46%;bottom:47px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#14201933,#0b140dd9 35%,#0b140df0);padding:10px 2px 0}.chat-heading{padding:0 4px 8px}.chat-heading strong{font-size:10px}.tiny-star{font-size:15px}.tabs{gap:7px;margin-bottom:5px}.tabs button{padding:6px 8px;border-width:2px;box-shadow:2px 2px #111;font-size:10px;border-radius:8px}.message-list{gap:8px;padding-top:4px;padding-right:5px}.message{padding:7px 10px;border-width:2px;border-radius:13px;box-shadow:3px 3px #111}.message-prompt{font-size:11px;line-height:1.4}.message-header strong{font-size:10px}.message-meta{margin-top:4px;font-size:8px}.chat-empty>span{font-size:22px;margin-bottom:6px}.chat-empty strong{font-size:11px}.chat-empty p{font-size:9px;margin-top:6px;line-height:1.6}.composer{padding-top:7px}.ideas{margin-bottom:5px;gap:5px}.ideas button{padding:4px 7px;font-size:8px}.name-label{font-size:8px;margin-bottom:4px}.name-label input{font-size:9px;padding:0 2px}.input-row textarea{min-height:47px;max-height:65px;font-size:10px;padding:7px 10px;border-width:2px}.send-button{font-size:10px;padding:6px 10px;border-width:2px}.send-button span{font-size:15px}.composer-note{font-size:7px;margin-top:5px}.queue-intro{font-size:9px;padding-bottom:6px}.footer{padding:12px 15px;min-height:43px;gap:10px;font-size:8px}.footer-brand{font-size:13px}.footer-note{font-size:7px}.worker-status{max-width:65%;overflow:hidden;white-space:nowrap}.waiting{left:50%;top:29%;width:85vw;padding:10px;gap:7px}.waiting-symbol{font-size:35px;margin-bottom:2px}.waiting strong{font-size:14px}.waiting>span:last-child{font-size:10px}.now-playing{left:15px;bottom:auto;top:calc(46% - 85px);max-width:calc(100vw - 30px);height:76px;overflow:hidden}.now-playing .section-label{font-size:8px;margin-bottom:4px}.now-prompt{font-size:11px;line-height:1.3;-webkit-line-clamp:2}.now-stats{gap:4px;margin-top:5px}.stat-pill{font-size:7px;padding:3px 5px}.connection-error{top:105px;font-size:10px;padding:8px 11px}.notice{bottom:48px;font-size:10px}.shade{background:linear-gradient(180deg,#0005,transparent 25%,transparent 36%,#0008 76%,#000b)}}@media(max-height:700px) and (min-width:701px){.chat-panel{top:75px;bottom:50px}.chat-heading{padding-bottom:8px}.welcome{top:45%}.welcome h1{font-size:64px;margin-bottom:16px}.welcome-copy{font-size:13px}.lineup{top:100px;bottom:155px}.now-playing{bottom:65px}.now-prompt{font-size:12px;-webkit-line-clamp:2}.composer-note{font-size:7px}.ideas{margin-bottom:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
@media (max-width: 700px) {
  .video-layer {
    bottom: auto;
    height: 46%;
  }
}

/* Only the broadcast lineup grows; the chat/composer keeps its existing size. */
.lineup {
  width: 300px;
  bottom: 245px;
}
.next-card {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}
.next-card .next-status {
  margin-bottom: 8px;
  font-size: 10px;
}
.next-author {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.next-card small {
  margin-top: 9px;
  font-size: 11px;
}
.playback-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.playback-progress progress {
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 6px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #ffffff40;
  accent-color: #d6ffad;
}
.playback-progress progress::-webkit-progress-bar {
  border-radius: 99px;
  background: #ffffff40;
}
.playback-progress progress::-webkit-progress-value {
  border-radius: 99px;
  background: #d6ffad;
}
.playback-progress progress::-moz-progress-bar {
  border-radius: 99px;
  background: #d6ffad;
}
.playback-time {
  flex: none;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #f0f7e8;
}
@media (max-width: 1050px) and (min-width: 701px) {
  .lineup {
    width: 240px;
  }
}
@media (max-height: 700px) and (min-width: 701px) {
  .lineup {
    bottom: 225px;
  }
}
@media (max-width: 700px) {
  .lineup {
    width: min(222px, calc(100vw - 165px));
    height: 146px;
    bottom: auto;
  }
  .next-card {
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.4;
  }
  .next-card .next-status {
    margin-bottom: 5px;
    font-size: 8px;
  }
  .next-author {
    margin-bottom: 5px;
    font-size: 13px;
  }
  .next-card p {
    -webkit-line-clamp: 3;
  }
  .now-playing {
    top: calc(46% - 115px);
    height: 107px;
  }
  .playback-progress {
    gap: 8px;
    margin-top: 9px;
  }
  .playback-progress progress {
    height: 5px;
  }
  .playback-time {
    font-size: 9px;
  }
}

/* Keep the promotion in the chat column, leaving the video unobstructed. */
.topbar{top:0}
.official-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-style:normal;letter-spacing:normal;transform:none}
.official-brand svg{display:block;flex:none}
.live-wordmark-label{font:600 14px Arial,sans-serif;color:#d6ffad}
.lineup{top:114px}
.chat-panel{top:95px}
.composer{padding-top:12px}
#message-form,.input-row{width:100%}
.input-row textarea{height:62px;min-height:62px;max-height:62px;font-size:13px;line-height:1.5;padding:8px 12px}
.send-button{align-self:stretch;display:flex;align-items:center;gap:4px}
.send-button span{margin:0}
.playback-controls{position:absolute;left:25px;bottom:74px;width:min(580px,calc(100vw - 435px));z-index:4}
.playback-controls .playback-progress{margin-top:0}
button:disabled,input:disabled,textarea:disabled{cursor:default;opacity:.6}
@media(max-width:1100px) and (min-width:701px){.playback-controls{width:calc(100vw - 385px)}}
@media(max-width:700px){
 .topbar{top:0}
 .wordmark svg{width:106px;height:24px}
 .live-wordmark-label{font-size:11px}
 .chat-panel{top:46%;bottom:60px}
 .composer{padding-top:7px}
 .input-row textarea{height:44px;min-height:44px;max-height:44px;font-size:12px;line-height:1.4;padding:5px 9px}
 .playback-controls{left:15px;top:calc(46% - 29px);bottom:auto;width:calc(100vw - 30px)}
 .footer .official-brand svg{width:106px;height:24px}
}
@media(max-height:700px) and (min-width:701px){.chat-panel{top:75px}.lineup{top:100px}.playback-controls{bottom:65px}}
@media(max-width:700px){
 .lineup{top:100px;height:auto;max-height:clamp(0px,calc(46svh - 141px),180px);overflow-y:auto}
 .lineup .next-card:not(:first-child){display:none}
}
@media(max-width:700px) and (max-height:700px){
 #stage{min-height:0}
 .video-layer{height:33%}
 .chat-panel{top:33%}
 .playback-controls{top:calc(33% - 29px)}
 .lineup{max-height:clamp(0px,calc(33svh - 141px),180px)}
 .input-row textarea{height:36px;min-height:36px;max-height:36px}
}

/* Three portrait stories from the Live banner design. */
.promo-story {
  position: relative;
  display: block;
  flex: none;
  width: min(100%, 350px, max(90px, calc((100svh - 580px) / 1.5)));
  aspect-ratio: 4/6;
  align-self: flex-end;
  container-type: inline-size;
  margin-bottom: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition:
    background-color 0.25s,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}
.promo-story .media {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--ink);
  transition: background-color 0.25s;
}
.promo-story video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: scale 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.promo-story video.is-active {
  opacity: 1;
}
.promo-story video {
  object-fit: cover;
}
.promo-story .story-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.promo-story:has(.story-link:focus-visible) {
  outline: 3px solid #c5ff91;
  outline-offset: 3px;
}
.promo-story video.lift {
  transform-origin: 50% 100%;
  transform: scale(1.08);
}
.promo-story .dim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  background:
    linear-gradient(
      to bottom,
      rgba(17, 21, 16, 0.45) 0%,
      rgba(17, 21, 16, 0) 16%
    ),
    linear-gradient(
      to top,
      rgba(17, 21, 16, 0.86) 0%,
      rgba(17, 21, 16, 0.6) 24%,
      rgba(17, 21, 16, 0) 56%
    );
}
.promo-story .progress {
  position: absolute;
  top: 1px;
  left: 3.43%;
  right: 3.43%;
  display: flex;
  gap: 4px;
  z-index: 3;
  cursor: pointer;
}
.promo-story .progress button {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
}
.promo-story .progress button::before {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: background-color 0.25s;
}
.promo-story .progress b {
  position: absolute;
  top: calc(50% - 1.5px);
  left: 0;
  right: 0;
  border-radius: 2px;
  display: block;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: background-color 0.25s;
}
.promo-story .nav {
  border: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(17, 21, 16, 0.24);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.28);
  transition:
    background-color 0.2s,
    transform 0.15s;
}
.promo-story .nav.prev {
  left: 12px;
}
.promo-story .nav.next {
  right: 12px;
}
.promo-story .nav svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.promo-story .nav:hover {
  background: rgba(17, 21, 16, 0.38);
  transform: scale(1.08);
}
.promo-story .nav:active {
  transform: scale(0.92);
}
.promo-story.is-light .nav {
  background: rgba(17, 21, 16, 0.17);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.14);
}
.promo-story.is-light .nav:hover {
  background: rgba(17, 21, 16, 0.28);
}
.promo-story .copy {
  position: absolute;
  left: 6.85%;
  right: 6.85%;
  bottom: 3.05%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5.71cqw;
  transition: color 0.25s;
}
.promo-story .copy .title {
  display: block;
  font-size: min(24px, 6.85cqw);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.promo-story .copy .cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
  margin: 0 -2.28cqw;
  height: max(26px, 13.14cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    #ff4d38 0%,
    #ff2a17 50%,
    #ee1608 51%,
    #fa2010 100%
  );
  color: #fff;
  font-size: max(11px, 4.85cqw);
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(80, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -3px 8px rgba(150, 0, 0, 0.35),
    0 6px 18px rgba(90, 10, 0, 0.32);
}
.promo-story .copy .cta::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  height: 48%;
  border-radius: 10px 10px 5px 5px;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.06)
  );
}
.promo-story .copy .cta::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 32%;
  z-index: -1;
  transform: skewX(-22deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0)
  );
  animation: cta-shine 3.6s ease-in-out infinite;
}
@keyframes cta-shine {
  0%,
  58% {
    left: -45%;
  }
  100% {
    left: 125%;
  }
}
.promo-story.is-light .media {
  background: #fff;
}
.promo-story.is-light .dim {
  opacity: 0;
}
.promo-story.is-light .copy {
  color: var(--ink);
}
.promo-story.is-light .progress button::before {
  background: rgba(17, 21, 16, 0.14);
}
.promo-story.is-light .progress b {
  background: var(--ink);
}
.promo-story::before,
.promo-story::after {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.promo-story::before {
  inset: 0;
  padding: 3px;
  border-radius: 18px;
  background: var(--ink);
}
.promo-story::after {
  inset: 1px;
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(
      105deg,
      rgba(255, 236, 220, 0) 46%,
      rgba(255, 236, 220, 0.5) 50%,
      rgba(255, 236, 220, 0) 54%
    )
    100% 0/300% 100% no-repeat;
  animation: frame-shine 3.6s ease-in-out infinite;
}
@keyframes frame-shine {
  0%,
  58% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}
.promo-story:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.promo-story:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
  transition-duration: 0.06s;
}
.promo-story:hover .copy .cta {
  filter: brightness(1.06);
}
.promo-story:hover video {
  scale: 1.03;
}
.promo-story:not(.is-light):hover .dim {
  opacity: 0.78;
  transition-duration: 0.45s;
}
@media (prefers-reduced-motion: reduce) {
  .promo-story:hover,
  .promo-story:active {
    transform: none;
  }
  .promo-story:hover video {
    scale: none;
  }
}

/* The story yields height to recent messages above the composer. */
@media (min-width: 1101px) and (min-height: 701px) {
  .chat-panel {
    bottom: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    column-gap: 8px;
  }
  .promo-story {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(100%, 350px, calc((100svh - 530px) / 1.5));
  }
  .chat-heading {
    grid-column: 1;
    padding-bottom: 10px;
  }
  .tabs {
    grid-column: 2;
  }
  .tabs button {
    white-space: nowrap;
  }
  .chat-view,
  .queue-view,
  .composer {
    grid-column: 1 / -1;
  }
  .footer {
    right: 390px;
  }
}

/* On phones the story and messages share a row above the full-width composer. */
@media (max-width: 700px) {
  .chat-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(
        43%,
        max(100px, calc((54svh - 180px) / 1.5))
      );
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    column-gap: 10px;
    overflow-y: auto;
  }
  .promo-story {
    grid-area: 1 / 2 / 4 / 3;
    align-self: start;
    width: 100%;
    margin: 0;
  }
  .chat-heading {
    grid-area: 1 / 1;
  }
  .tabs {
    grid-area: 2 / 1;
  }
  .chat-view,
  .queue-view {
    grid-area: 3 / 1;
    min-width: 0;
  }
  .composer {
    grid-area: 4 / 1 / 5 / 3;
  }
  .promo-story .nav {
    width: 24px;
    height: 24px;
    margin-top: -12px;
  }
  .promo-story .nav.prev {
    left: 4%;
  }
  .promo-story .nav.next {
    right: 4%;
  }
  .promo-story .copy {
    gap: 3cqw;
  }
}
@media (max-width: 700px) and (max-height: 700px) {
  .chat-panel {
    grid-template-columns: minmax(0, 1fr) min(
        43%,
        max(100px, calc((67svh - 160px) / 1.5))
      );
  }
}
/* Compact cards leave room for wrapped prompts on smaller screens. */
@media (max-width: 700px), (max-height: 640px) {
  .chat-view .message {
    padding: 4px 8px;
    line-height: 1.2;
  }
  .chat-view .message-list {
    gap: 6px;
    padding-bottom: 6px;
  }
  .chat-view .message-meta {
    margin-top: 3px;
  }
}

/* Dock chat beside the broadcast when vertical space is scarce. */
@media (orientation: landscape) and (max-height: 640px) {
  .chat-panel {
    display: grid;
    top: 65px;
    bottom: 12px;
    left: auto;
    right: 12px;
    width: min(55vw, 460px);
    padding: 0;
    grid-template-columns: minmax(0, 1fr) 90px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 4px 8px;
  }
  .promo-story { grid-area: 1 / 2 / 3 / 3; width: 100%; margin: 0; align-self: start; }
  .chat-heading { grid-area: 1 / 2; align-self: end; position: absolute; top: 138px; }
  .tabs { grid-area: 1 / 1; }
  .chat-view, .queue-view { grid-area: 2 / 1; min-width: 0; }
  .composer { grid-area: 3 / 1 / 4 / 3; padding: 0; }
  .playback-controls { left: 12px; top: auto; bottom: 55px; width: calc(42vw - 24px); }
  .video-layer { width: 43%; height: 100%; }
  .lineup { left: 12px; right: auto; max-width: calc(42vw - 24px); }
  .footer { right: 58%; }
}
