@font-face{font-family:Countdown;src:url('assets/countdown.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap}
/* Timer font: put the font file in assets/ as timer-font.woff2, .woff, .ttf or .otf */
@font-face{font-family:TimerFont;src:url('assets/timer-font.woff2') format('woff2'),url('assets/timer-font.woff') format('woff'),url('assets/timer-font.ttf') format('truetype'),url('assets/timer-font.otf') format('opentype');font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;background:#1b5bbd;color:#fff;--yellow:#ffe01b;--muted:#e3edfb;--clock-size:clamp(4rem,min(15vw,24vh),14rem)}
*{box-sizing:border-box}
.release-confetti{position:fixed;inset:0;width:100%;height:100%;z-index:10;pointer-events:none}
body{margin:0;min-width:280px;min-height:100svh;-webkit-font-smoothing:antialiased}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:6px}
[hidden]{display:none!important}
.page{min-height:100svh;position:relative;display:grid;grid-template-rows:1fr;overflow:hidden}

/* Sky */
.atmosphere{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#1b5bbd 0%,#3a82d4 45%,#79b3e6 80%,#a9d0f0 100%)}
#sky{position:absolute;inset:0;width:100%;height:100%}
.vignette{position:absolute;inset:0;background:linear-gradient(0deg,#0b2d6a3d,transparent 24%,transparent 78%,#0b2d6a2e)}

/* Countdown */
main{display:grid;place-items:center;padding:0 16px 20px;min-width:0;z-index:1}
.countdown-layout{grid-template-columns:minmax(0,1fr);padding:24px clamp(16px,2.5vw,48px) 32px}
.countdown-stage{width:100%;min-width:0;max-width:1300px;text-align:center;padding:0 0 16px;display:flex;align-items:center;flex-direction:column;container-type:inline-size}
.episode-heading{display:flex;justify-content:center;align-items:center;gap:22px;margin-bottom:16px;width:100%}
h1{font-size:clamp(16px,2.2vw,23px);line-height:1.3;letter-spacing:.3em;font-weight:500;margin:0;padding-left:.3em;color:#fff;text-shadow:0 1px 4px #0a2a6066}
.hairline{height:1px;width:40px;background:linear-gradient(90deg,transparent,#ffffffb3)}
.hairline:last-child{transform:rotate(180deg)}
.clock-container{width:100%;display:flex;justify-content:center;padding:0 60px;margin:0 0 30px}
.clock{font-family:TimerFont,Countdown,'Arial Narrow',Arial,sans-serif;font-size:var(--clock-size);font-weight:300;line-height:1;display:flex;align-items:flex-start;position:relative;font-variant-numeric:tabular-nums;font-feature-settings:'tnum';white-space:nowrap;color:var(--yellow);text-shadow:0 2px 4px #0a2a6059,0 0 40px #0a2a6040;letter-spacing:-.015em}
.countdown-stage .clock{font-size:clamp(3rem,min(15cqi,25vh),15rem)}
.time-group{display:flex;flex-direction:column;align-items:center;gap:17px}
.number{display:block;min-width:.98em}
.digit{display:inline-block;width:var(--digit-w,auto);text-align:center}
.colon{padding:0 .055em;color:#fff1a6;opacity:.85;transform:translateY(-.055em);font-weight:300}
.unit{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.3;font-weight:400;letter-spacing:.22em;padding-left:.22em;color:var(--muted);text-shadow:0 1px 3px #0a2a6080}
.milliseconds{position:absolute;left:100%;bottom:calc(36px + .085em);padding-left:.4em;display:flex;align-items:flex-start;flex-direction:column;gap:7px;font-size:clamp(12px,1.8vw,24px);font-weight:300;line-height:1.2;letter-spacing:0;color:var(--yellow);min-width:2.6em;text-align:left}
.release-line{margin:-6px 0 26px;color:#ffffffe0;font-size:13px;line-height:1.6;letter-spacing:.06em;text-shadow:0 1px 3px #0a2a6080}
.audio-message{font-size:13px;line-height:1.5;color:#fff;text-shadow:0 1px 3px #0a2a6080;max-width:340px;margin:20px auto 0}
.streaming{margin:10px 0 28px}
.live-caption{font-size:12px;letter-spacing:.24em;color:#fff;text-shadow:0 1px 3px #0a2a6080}
.streaming p{font-family:Countdown,'Arial Narrow',Arial,sans-serif;font-size:clamp(46px,9.4vw,128px);font-weight:300;letter-spacing:.035em;line-height:1.1;margin:19px 0 0;color:var(--yellow);text-shadow:0 2px 4px #0a2a6059,0 0 40px #0a2a6040}
.mobile-break{display:none}

/* Buttons */
.countdown-actions{display:flex;flex-direction:column;align-items:center;gap:12px}
.sound-toggle,.schedule-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 19px;border:1px solid #ffffff4d;border-radius:100px;background:#0b2a5c4d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#eef4ff;font:500 12px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-decoration:none;cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.sound-toggle:hover,.schedule-button:hover{color:#fff;border-color:#ffe01b99;background:#0b2a5c73}
.sound-toggle[aria-pressed=true]{color:var(--yellow);border-color:#ffe01b99}
.speaker{width:17px;height:17px;flex:none}
.sound-waves{display:none}
.sound-toggle[aria-pressed=true] .sound-waves{display:initial}
.sound-toggle[aria-pressed=true] .sound-slash{display:none}

/* Footer */
footer{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px 24px 28px;z-index:1}
footer p{margin:0;color:#ffffffcc;font-size:14px;line-height:1.5;letter-spacing:.06em;text-shadow:0 1px 3px #0a2a6080}
footer p span{color:#fff}
.footer-line{width:24px;height:1px;background:#ffffff66}

/* Loading screen */
.loading-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:linear-gradient(180deg,#1b5bbd,#3a82d4);transition:opacity .65s,visibility .65s}
.loading-screen.loaded{opacity:0;visibility:hidden;pointer-events:none}
.loading-content{display:flex;flex-direction:column;align-items:center;text-align:center}
.loading-orbit{width:62px;height:62px;position:relative;border:1px solid #ffffff38;border-radius:50%;margin-bottom:36px;animation:loading-spin 2s linear infinite}
.loading-orbit span{position:absolute;top:-4px;left:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 18px #ffe01b,0 0 35px #ffe01b77}
.loading-title{font-size:18px;letter-spacing:.3em;padding-left:.3em;color:#fff}
.loading-caption{margin-top:16px;font-size:12px;color:#d9e6fa;letter-spacing:.07em}
.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}
.no-script{position:relative;text-align:center;padding:20px;color:#fff}

/* Schedule page */
.schedule-page .page{grid-template-rows:auto 1fr}
.masthead{display:flex;align-items:center;justify-content:center;padding:28px 40px 0;gap:20px;z-index:1}
.wordmark{display:flex;flex-direction:column;gap:8px;color:#fff;text-decoration:none;font-size:19px;font-weight:600;letter-spacing:.32em;line-height:1.1;text-shadow:0 1px 4px #0a2a6066}
.wordmark-caption{font-size:12px;letter-spacing:.2em;color:var(--muted);font-weight:400}
.back-link{white-space:nowrap}
.schedule-main{padding:40px 28px 50px}
.schedule-stage{width:100%;max-width:1160px;text-align:center}
.schedule-stage>.episode-heading{margin-bottom:38px}
.schedule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.schedule-card{min-width:0;padding:30px 16px 27px;border:1px solid #ffffff2e;border-radius:8px;background:linear-gradient(145deg,#0f2b5ccc,#08193ad9);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.schedule-card h2{margin:0 0 20px;color:#fff;font-size:15px;font-weight:500;letter-spacing:.18em}
.episode-date{display:block;color:#e2eaf7;font-size:14px;line-height:1.7}
.date-short{display:none}
.episode-release-time{margin:4px 0 0;color:#a9b8d1;font-size:12px;line-height:1.6}
.episode-status{display:grid;place-items:center;min-height:77px;margin-top:22px;padding-top:20px;border-top:1px solid #ffffff1c}
.mini-clock{display:flex;justify-content:center;align-items:flex-start;gap:5px;color:var(--yellow);font-family:Countdown,"Arial Narrow",Arial,sans-serif;font-weight:300;font-variant-numeric:tabular-nums}
.mini-group{display:flex;flex-direction:column;align-items:center;gap:7px}
.mini-number{font-size:34px;font-weight:300;line-height:1}
.mini-colon{color:#fff1a6;font-size:29px;line-height:1;opacity:.75}
.mini-label{color:#a9b8d1;font-family:Arial,Helvetica,sans-serif;font-size:10px;letter-spacing:.12em;line-height:1.4}
.streaming-now{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;color:var(--yellow);font-size:12px;font-weight:500;letter-spacing:.09em;line-height:1.6}
.streaming-now::before{content:"";width:5px;height:5px;flex-shrink:0;border-radius:50%;background:var(--yellow);box-shadow:0 0 10px #ffe01b80}
.status-text{margin:0;color:#a9b8d1;font-size:12px;letter-spacing:.09em}
.schedule-note{margin:24px 0 0;color:#ffffffd9;font-size:12px;line-height:1.7;text-shadow:0 1px 3px #0a2a6080}

@keyframes loading-spin{to{transform:rotate(360deg)}}

@media(max-width:800px){
  .schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .schedule-stage{max-width:620px}
}
@media(max-width:699px){
  .countdown-layout{padding:12px 12px 35px}
}
@media(max-width:650px){
  .clock-container{padding:0 34px;margin-bottom:26px}
  .countdown-stage .clock{font-size:clamp(2.4rem,15cqi,7rem)}
  .time-group{gap:13px}
  .unit{font-size:10px;letter-spacing:.08em;padding-left:.08em}
  .milliseconds{bottom:27px;padding-left:.25em}
  .episode-heading{margin-bottom:20px;gap:16px}
  .hairline{width:29px}
  .streaming{margin:7px 0 25px}
  .streaming p{font-size:clamp(52px,15vw,95px)}
  .mobile-break{display:block}
  .masthead{padding:25px 20px}
  .wordmark{font-size:14px;gap:7px;letter-spacing:.26em}
  .wordmark-caption{font-size:10px;letter-spacing:.16em}
  .sound-toggle,.schedule-button{font-size:11px}
  .schedule-main{padding:30px 16px 35px}
  .schedule-stage>.episode-heading{gap:12px;margin-bottom:28px}
  .schedule-stage h1{font-size:17px;letter-spacing:.14em}
  .schedule-stage .hairline{width:22px;flex-shrink:0}
  .schedule-card{padding:25px 10px 22px}
  .schedule-card h2{font-size:12px;letter-spacing:.13em}
  .episode-date{font-size:12px}
  .date-long{display:none}
  .date-short{display:inline}
  .mini-clock{gap:3px}
  .mini-number{font-size:25px}
  .mini-colon{font-size:21px}
  .mini-label{font-size:8px;letter-spacing:.06em}
  .streaming-now{font-size:11px;letter-spacing:.04em;gap:6px}
}
@media(max-width:420px){
  .unit{font-size:0;letter-spacing:0;padding-left:0}
  .unit::after{content:attr(data-short);font-size:10px;letter-spacing:.1em}
}
@media(max-height:650px) and (min-width:651px){
  .episode-heading{margin-bottom:12px}
  h1{font-size:16px}
  .countdown-stage .clock{font-size:min(11vw,130px)}
  .clock-container{margin-bottom:20px}
}
@media(max-width:374px){
  .schedule-grid{grid-template-columns:1fr}
  .mini-number{font-size:32px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
