:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #101112;
  color: #f4f5f5;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #59ddb2; outline-offset: 6px; }
[hidden] { display: none !important; }
.shell { max-width: 1200px; padding: 0 40px; margin: 0 auto; }
.masthead { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #303234; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.brand strong { color: #59ddb2; }
.brand img { filter: invert(88%) sepia(30%) saturate(676%) hue-rotate(98deg); }
.edition { color: #a8abad; font-size: 13px; }
.edition span { color: #52575a; padding: 0 10px; }
.masthead-links { display: flex; align-items: center; gap: 28px; }
.channel-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; color: #d7e6e1; font-size: 13px; white-space: nowrap; }
.channel-link:hover { color: #59ddb2; }
.channel-link img { flex-shrink: 0; filter: invert(88%) sepia(30%) saturate(676%) hue-rotate(98deg); }
.programme { background: #181b1b; border: 1px solid #303836; border-radius: 6px; padding: 16px 20px; margin-bottom: 26px; }
.live-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live-name, .live-status { display: flex; align-items: center; gap: 10px; }
.live-name { font-size: 16px; color: #dfe4e3; margin: 0; }
.live-status { font-size: 12px; color: #adb2b5; margin: 8px 0 0; }
.live-name img, .live-toggle img { filter: invert(70%); flex-shrink: 0; }
.live-heading .live-channel { min-height: 40px; padding: 8px 12px; border: 1px solid #46504d; border-radius: 4px; font-size: 13px; }
.live-player-panel { margin-top: 12px; border-top: 1px solid #303836; }
.live-toggle { display: flex; align-items: center; gap: 9px; min-height: 42px; cursor: pointer; list-style: none; font-size: 13px; }
.live-toggle::-webkit-details-marker { display: none; }
.live-toggle:focus-visible { outline: 2px solid #59ddb2; outline-offset: -2px; }
.live-player-panel[open] .live-toggle img { transform: rotate(180deg); }
.eyebrow { color: #59ddb2; font-size: 11px; font-weight: 600; margin: 0 0 12px; }
.player { aspect-ratio: 16 / 9; position: relative; width: 100%; background: #17191a; border: 1px solid #34393a; overflow: hidden; border-radius: 4px; }
.player:not([data-state="configured"]) { aspect-ratio: auto; min-height: 72px; }
.waiting { display: grid; gap: 6px; padding: 19px 20px; }
.waiting-title { font-size: 15px; line-height: 1.5; margin: 0; font-weight: 550; }
.waiting-note { color: #acb1b3; font-size: 13px; margin: 0; line-height: 1.6; }
.waiting-note:empty { display: none; }
.player iframe { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; }
#twitch-player { position: absolute; inset: 0; }
.player[data-provider="Twitch"] { min-height: 302px; }
.programme-meta { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.connection { display: flex; align-items: center; gap: 9px; color: #adb2b5; margin: 0; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #c5a56c; flex-shrink: 0; }
.connection[data-state="configured"] .status-dot { background: #59ddb2; }
.connection[data-state="error"] .status-dot { background: #ea8b86; }
.watch-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: #e0e4e5; }
.watch-link:hover { color: #59ddb2; }
.watch-link img { filter: invert(85%); }
.sound-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid #466559; border-radius: 4px; background: #1a2923; color: #8aebc9; font: inherit; cursor: pointer; }
.sound-button:hover { background: #253c31; }
.sound-button img { filter: invert(88%) sepia(30%) saturate(676%) hue-rotate(98deg); }
.podcast { padding: 38px 0 30px; }
.podcast-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.podcast .eyebrow { margin-bottom: 9px; }
.podcast-subtitle { font-size: 14px; color: #b6bbbd; margin: 10px 0 0; }
.podcast-subtitle span { color: #60696c; padding: 0 7px; }
.podcast-platforms { display: flex; flex-wrap: wrap; gap: 0 20px; max-width: 100%; }
.podcast-all { font-size: 13px; min-height: 44px; }
.podcast-all img { flex-shrink: 0; }
.podcast-status { color: #a8abad; font-size: 13px; line-height: 1.8; margin: 0 0 12px; }
.podcast-player { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; background: #181f1e; border: 1px solid #334340; border-radius: 6px; }
.featured-cover { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; object-fit: cover; background: #212827; }
.featured-cover.is-placeholder { padding: 28%; background: #8bb5a8; }
.featured-episode { min-width: 0; }
.featured-episode h3 { font-size: 26px; line-height: 1.42; margin: 0 0 9px; overflow-wrap: anywhere; }
.featured-episode audio { display: block; width: min(100%, 600px); height: 44px; margin-top: 12px; }
.playback-status { margin: 8px 0 0; }
.playback-status a { color: #8de4c8; text-decoration: underline; text-underline-offset: 3px; }
.recent-title { font-size: 16px; color: #e0e4e3; margin: 26px 0 6px; }
.episode-list { margin: 0; padding: 0; list-style: none; }
.episode-list li { display: grid; grid-template-columns: 42px minmax(0,1fr) 40px; gap: 14px; align-items: center; padding: 12px 0; }
.episode-list li + li { border-top: 1px solid #2b2f30; }
.episode-play, .episode-link { display: grid; place-items: center; width: 100%; height: 42px; border-radius: 4px; }
.episode-play { grid-column: 1; border: 1px solid #34413d; background: #1a2421; cursor: pointer; }
.episode-play img { filter: invert(88%) sepia(30%) saturate(676%) hue-rotate(98deg); }
.episode-play:hover, .episode-current .episode-play { background: #263d34; border-color: #4a7967; }
.episode-link { grid-column: 3; }
.episode-link img { opacity: .65; filter: invert(85%); }
.episode-link:hover { background: #222827; }
.episode-link:hover img { opacity: 1; }
.episode-copy { grid-column: 2; min-width: 0; }
.episode-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #a8abad; font-size: 12px; line-height: 1.5; margin: 0; }
.episode-meta time { font-variant-numeric: tabular-nums; }
.episode-copy h3 { font-size: 16px; font-weight: 550; line-height: 1.5; margin: 0 0 4px; overflow-wrap: anywhere; }
footer { border-top: 1px solid #303234; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.8; color: #949b9e; }
footer p { margin: 0; }
.footer-domain { margin-left: 12px; color: #737c7f; }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 10px 16px; background: #59ddb2; color: #101112; z-index: 2; opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) {
  .shell { padding: 0 20px; }
  .masthead { min-height: 76px; gap: 12px; }
  .masthead-links { gap: 0; }
  .masthead-links .edition { display: none; }
  .channel-link { font-size: 12px; gap: 6px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand img { width: 24px; height: 24px; }
  .edition { font-size: 11px; }
  .edition span { padding: 0 3px; }
  .eyebrow { font-size: 9px; }
  .programme-meta { min-height: 60px; font-size: 12px; }
  .programme { padding: 13px 14px; }
  .podcast { padding: 24px 0; }
  .podcast-heading { align-items: flex-start; flex-direction: column; gap: 3px; margin-bottom: 10px; }
  .podcast-subtitle { font-size: 12px; }
  .podcast-subtitle span { padding: 0 3px; }
  .podcast-all { font-size: 12px; }
  .podcast-player { grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; padding: 14px; }
  .featured-episode { display: contents; }
  .featured-cover { grid-row: 1 / 4; }
  .featured-episode .eyebrow, .featured-episode h3, .featured-episode .episode-meta { grid-column: 2; }
  .featured-episode h3 { font-size: 17px; margin-bottom: 5px; }
  .featured-episode audio, .playback-status { grid-column: 1 / -1; }
  .episode-list li { grid-template-columns: 38px minmax(0, 1fr) 30px; gap: 9px; }
  .episode-meta { font-size: 11px; gap: 10px; }
  .episode-copy h3 { font-size: 14px; }
  footer { display: grid; gap: 12px; }
}
@media (max-width: 360px) {
  .shell { padding: 0 14px; }
  .edition { max-width: 65px; text-align: right; line-height: 1.8; }
}
