@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f5f2ec; --paper: #fdfbf7; --mat: #e9e5db;
  --ink: #253c36; --muted: #737c72; --line: #253c3621;
  --accent: #ab493b; --accent-text: var(--accent);
  --control: #253c36; --on-control: #fffdf4;
  font-family: "Segoe UI", Arial, sans-serif; font-synthesis: none;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #172221; --paper: #202e2c; --mat: #293937;
  --ink: #eff1e9; --muted: #acb9b0; --line: #ffffff20;
  --accent-text: #f1ad9e; --control: #dae8dc; --on-control: #213a32;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: wait; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px; z-index: 30; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.app-shell { width: min(1400px, calc(100% - 112px)); margin: 0 auto; }
.site-header { height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 43px; height: 43px; border-radius: 7px; background: #fff; object-fit: contain; }
.brand strong { display: block; font-size: 13px; font-weight: 750; letter-spacing: .07em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.portal-link { display: flex; align-items: center; gap: 15px; margin-right: 21px; font-size: 11px; }
.portal-link .icon { width: 15px; height: 15px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-button:hover { background: var(--mat); }
.icon-button .icon { width: 18px; height: 18px; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; padding: 35px 0 30px; gap: 20px; }
.eyebrow { margin: 0 0 9px; color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .17em; line-height: 1.5; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.intro h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4.5vw, 64px); font-weight: 400; letter-spacing: -2.8px; margin: 0; line-height: 1.05; }
.intro h1 em { font-weight: 400; color: var(--accent-text); }
.intro-note { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 0 0 2px; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 32px; align-items: start; }
.player-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 13px; overflow: hidden; }
.player-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 28px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.live-badge { display: flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: .08em; font-weight: 650; }
.signal-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.channel-caption { font-size: 8px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.player-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; padding: 27px 28px; align-items: center; }
.record-sleeve { position: relative; isolation: isolate; background: var(--mat); border-radius: 5px; padding: 29px 22px 11px; width: 100%; max-width: 360px; justify-self: center; }
.record-sleeve:before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 3px, #ffffff0a 3px 4px); pointer-events: none; }
.artwork-backdrop, .studio-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; filter: blur(14px); z-index: -2; pointer-events: none; border-radius: inherit; }
.sleeve-number { position: absolute; top: 10px; left: 23px; font-size: 7px; letter-spacing: .15em; color: var(--muted); }
.artwork { position: relative; width: 100%; aspect-ratio: 1; border-radius: 4px; background: var(--paper); box-shadow: 0 8px 20px -9px #0005; overflow: hidden; }
.artwork > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.artwork[data-fallback=true] > img { object-fit: contain; padding: 12% 18% 26%; background: var(--paper); }
.cover-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 15px; pointer-events: none; background: linear-gradient(180deg, transparent 47%, rgba(10, 20, 15, var(--overlay-opacity, .84)) 100%); }
.cover-identity { display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; color: #fffdf5; }
.cover-identity > img { width: 31px; height: 31px; padding: 2px; border-radius: 4px; object-fit: contain; background: #fff; flex-shrink: 0; }
.cover-identity > div { min-width: 0; }
.cover-identity span { display: block; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-identity small { display: block; margin-top: 4px; font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
.artwork[data-fallback=true] .cover-overlay { background: none; }
.artwork[data-fallback=true] .cover-identity { color: var(--ink); text-align: center; justify-content: center; }
.artwork[data-fallback=true] .cover-identity > img { display: none; }
.artwork[data-fallback=true] .cover-identity span { font-size: 10px; }
.artwork[data-fallback=true] .cover-identity small { font-size: 8px; color: var(--muted); }
.sleeve-seal { position: absolute; top: 9px; right: -11px; width: 65px; height: 65px; border-radius: 50%; background: #d9e5d7; color: #28423a; display: flex; align-items: center; flex-direction: column; justify-content: center; font-size: 7px; letter-spacing: .08em; line-height: 1.45; transform: rotate(14deg); border: 4px double #607f613b; font-weight: 650; }
.sleeve-seal > span { font-size: 16px; line-height: 1; margin-top: 3px; }
.artwork-tag { display: flex; align-items: center; gap: 5px; padding-top: 11px; font-size: 6px; color: var(--muted); letter-spacing: .1em; min-width: 0; }
.sleeve-edition { margin-left: auto; font-size: 6px; white-space: nowrap; }
.equalizer { display: inline-flex; align-items: center; gap: 2px; height: 10px; flex-shrink: 0; }
.equalizer i { width: 2px; height: 4px; border-radius: 1px; background: var(--accent); }
.equalizer i:nth-child(2) { height: 9px; }
.equalizer i:nth-child(3) { height: 6px; }
.equalizer i:nth-child(4) { height: 8px; }
.is-playing .equalizer i { animation: equalize .8s ease-in-out infinite alternate; }
.is-playing .equalizer i:nth-child(2) { animation-delay: -.2s; }
.is-playing .equalizer i:nth-child(3) { animation-delay: -.5s; }
.is-playing .equalizer i:nth-child(4) { animation-delay: -.35s; }
@keyframes equalize { to { transform: scaleY(.25); } }
.player-info { min-width: 0; }
.now-label { color: var(--accent-text); font-size: 8px; margin-bottom: 15px; }
.player-info h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 2.65vw, 42px); font-weight: 400; line-height: 1.06; letter-spacing: -1.2px; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.artist { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.playback-controls { display: flex; align-items: center; gap: 16px; margin-top: 29px; }
.play-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--control); color: var(--on-control); box-shadow: 0 5px 14px #15372d16; transition: transform .15s; }
.play-button:hover { transform: scale(1.05); }
.play-button:active { transform: scale(.94); }
.play-button .icon { width: 30px; height: 30px; }
.play-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.play-copy strong { font-size: 12px; font-weight: 650; }
.play-copy span { max-width: 160px; font-size: 9px; line-height: 1.5; color: var(--muted); }
.volume-control { display: flex; align-items: center; gap: 8px; max-width: 240px; margin-top: 22px; }
.volume-control .icon-button { width: 30px; height: 32px; border: 0; color: var(--muted); }
.volume-control .icon { width: 17px; height: 17px; }
.volume-control input { width: 100%; min-width: 20px; margin: 0; height: 32px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; --volume: 75%; }
.volume-control input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--ink) 0 var(--volume), var(--line) var(--volume) 100%); }
.volume-control input::-moz-range-track { height: 3px; background: var(--line); }
.volume-control input::-moz-range-progress { height: 3px; background: var(--ink); }
.volume-control input::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; margin-top: -3.5px; border: 0; border-radius: 50%; background: var(--ink); }
.volume-control input::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--ink); }
.volume-control output { color: var(--muted); font-size: 9px; width: 30px; flex-shrink: 0; text-align: right; font-variant-numeric: tabular-nums; }
.status, .device-volume { min-height: 26px; margin: 10px 0 0; font-size: 9px; line-height: 1.5; color: var(--muted); }
.device-volume { min-height: 0; }
.player-bottomline { margin: 0 28px; padding: 17px 0 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 8px; }
.player-bottomline > span { display: flex; align-items: center; gap: 7px; }
.player-bottomline .icon { width: 14px; height: 14px; }
.live-edge { font-size: 7px; letter-spacing: .06em; }
.live-edge > span { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.is-playing .live-edge > span { background: #6c976d; }
.is-loading .play-button, .is-reconnecting .play-button { animation: connecting 1s ease-in-out infinite alternate; }
@keyframes connecting { to { transform: scale(.94); } }
.channel-panel { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; margin: 0; font-weight: 400; font-size: 31px; line-height: 1.1; letter-spacing: -1px; }
.section-heading h2 em { color: var(--accent-text); font-weight: 400; }
.channel-panel > .section-heading { margin: 6px 0 23px; }
.panel-radio { width: 24px; height: 24px; color: var(--muted); }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.channel-button { position: relative; min-width: 0; min-height: 124px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); padding: 15px 12px 13px; text-align: left; transition: background .15s, border-color .15s; }
.channel-button:hover { border-color: var(--ink); }
.channel-button > img { width: 37px; height: 37px; object-fit: contain; padding: 2px; background: #fff; border-radius: 6px; display: block; margin-bottom: 11px; }
.channel-button .signal-dot { position: absolute; top: 20px; right: 15px; width: 4px; height: 4px; }
.channel-button strong { display: block; font-size: 12px; font-weight: 650; }
.channel-button small { display: block; margin-top: 6px; font-size: 8px; line-height: 1.4; color: var(--muted); }
.channel-arrow { position: absolute; top: 38px; right: 12px; color: var(--muted); font-size: 15px; }
.channel-button[aria-pressed=true] { border-color: var(--control); background: var(--control); color: var(--on-control); }
.channel-button[aria-pressed=true] small, .channel-button[aria-pressed=true] .channel-arrow { color: inherit; opacity: .7; }
.connect-strip { position: relative; padding: 22px 0 0; margin-top: 23px; border-top: 1px solid var(--line); }
.connect-icon { position: absolute; right: 1px; top: 23px; width: 23px; height: 23px; color: var(--muted); }
.connect-strip h3 { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; margin: 0 30px 8px 0; letter-spacing: -.6px; }
.connect-strip p { margin: 0; font-size: 10px; line-height: 1.7; color: var(--muted); }
.request-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 44px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; font-size: 10px; font-weight: 650; }
.request-button:hover { color: var(--accent-text); }
.request-button .icon { width: 15px; height: 15px; }
.connect-strip .request-button { margin-top: 7px; width: 100%; }
.history-card { margin-top: 37px; padding-top: 29px; border-top: 1px solid var(--line); min-width: 0; }
.history-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.history-header .section-heading { gap: 25px; }
.history-header .section-heading h2 { font-size: 33px; }
.history-header .section-heading .eyebrow { font-size: 7px; }
.history-header .icon-button { width: 38px; height: 38px; }
.search-box { display: flex; align-items: center; gap: 9px; width: 270px; min-width: 0; min-height: 41px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.search-box:focus-within { border-color: var(--accent-text); }
.search-box .icon { width: 15px; height: 15px; color: var(--muted); }
.search-box input { width: 100%; min-width: 0; height: 39px; border: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: var(--muted); }
.history-info { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; padding: 18px 0 8px; }
.recent-list { list-style: none; padding: 8px 0 17px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; scroll-snap-type: x proximity; }
.track { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px 13px; align-items: center; min-width: 0; padding-right: 12px; border-right: 1px solid var(--line); scroll-snap-align: start; }
.track > img { grid-column: 1; grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 5px; background: var(--mat); object-fit: cover; }
.track-info { min-width: 0; grid-column: 2; grid-row: 1; align-self: end; }
.track-title { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { display: block; margin-top: 5px; font-size: 9px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track time { grid-column: 2; grid-row: 2; font-size: 9px; color: var(--muted); align-self: start; padding-top: 3px; font-variant-numeric: tabular-nums; }
.empty-state { grid-column: 1 / -1; padding: 20px 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.history-link { display: inline-flex; align-items: center; gap: 24px; padding: 10px 0; font-size: 10px; font-weight: 600; }
.history-link:hover { color: var(--accent-text); }
.history-link .icon { width: 14px; height: 14px; }
.site-footer { margin-top: 26px; padding: 22px 0 27px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 9px; color: var(--muted); }
.made-with { font-size: 8px; letter-spacing: .09em; }
.made-with span { padding: 0 8px; opacity: .5; }
.made-with strong { color: var(--ink); font-weight: 600; }
.mini-player { position: fixed; z-index: 20; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(460px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 9px 35px #0003; }
.mini-player > img { width: 42px; height: 42px; border-radius: 5px; object-fit: cover; }
.mini-player > div { flex: 1; min-width: 0; }
.mini-player strong, .mini-player span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player strong { font-size: 12px; }
.mini-player span { font-size: 10px; margin-top: 4px; color: var(--muted); }
.mini-play { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: var(--control); color: var(--on-control); border: 0; border-radius: 50%; }
body.has-mini-player { padding-bottom: 90px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 96px; transform: translateX(-50%); max-width: calc(100% - 28px); background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 10px; font-size: 12px; text-align: center; box-shadow: 0 8px 25px #0002; }
.share-dialog { width: min(450px, calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); color: var(--ink); }
.share-dialog::backdrop { background: #142a2566; }
.share-dialog h2 { font: 400 31px/1.1 Georgia, serif; letter-spacing: -1px; margin: 20px 0; }
.share-dialog label, .share-dialog p { font-size: 12px; color: var(--muted); }
.share-dialog input { width: 100%; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; color: var(--ink); margin-top: 8px; font-size: 12px; }
.dialog-close { margin-left: auto; display: flex; }
.no-script { padding: 24px; text-align: center; }
.no-script a { text-decoration: underline; }

@media (min-width: 1650px) {
  .player-body { padding: 34px; gap: 43px; }
  .record-sleeve { max-width: 390px; }
  .player-info h2 { font-size: 46px; }
}
@media (max-width: 1199px) {
  .app-shell { width: calc(100% - 64px); }
  .main-grid { gap: 24px; grid-template-columns: minmax(0, 1fr) 240px; }
  .player-body { gap: 22px; padding: 25px 22px; }
  .record-sleeve { padding: 26px 16px 10px; }
  .sleeve-seal { width: 55px; height: 55px; right: -8px; font-size: 6px; }
  .sleeve-edition { display: none; }
  .player-info h2 { font-size: 30px; }
  .playback-controls { gap: 12px; margin-top: 23px; }
  .play-button { width: 59px; height: 59px; }
  .play-copy strong { font-size: 11px; }
  .play-copy span { font-size: 8px; }
  .channel-button { padding: 13px 10px; min-height: 119px; }
  .channel-button small { font-size: 7px; }
  .channel-panel > .section-heading { margin-bottom: 19px; }
  .section-heading h2 { font-size: 29px; }
  .recent-list { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 1050px) {
  .main-grid { grid-template-columns: 1fr; gap: 28px; }
  .player-body { padding: 30px; gap: 38px; }
  .record-sleeve { max-width: 340px; padding: 29px 22px 11px; }
  .player-info h2 { font-size: 40px; }
  .play-button { width: 68px; height: 68px; }
  .play-copy strong { font-size: 13px; }
  .play-copy span { font-size: 10px; }
  .channel-panel { display: grid; grid-template-columns: minmax(0, 1fr) 190px; column-gap: 30px; align-items: start; }
  .channel-panel > .section-heading { grid-column: 1 / -1; margin: 0 0 18px; }
  .channels { grid-column: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .connect-strip { grid-column: 2; margin: 0; padding: 5px 0 0 23px; border-top: 0; border-left: 1px solid var(--line); align-self: stretch; }
  .connect-icon { top: 5px; }
  .connect-strip h3 { font-size: 21px; }
  .channel-button small { font-size: 8px; }
}
@media (max-width: 760px) {
  .app-shell { width: calc(100% - 40px); }
  .site-header { height: 85px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; }
  .brand img { width: 39px; height: 39px; }
  .portal-link { display: none; }
  .intro { padding: 26px 0; }
  .intro h1 { font-size: 43px; letter-spacing: -2px; }
  .intro .eyebrow { font-size: 7px; }
  .intro-note { font-size: 9px; }
  .player-body { padding: 25px; gap: 28px; }
  .player-info h2 { font-size: 34px; }
  .channel-panel { grid-template-columns: 1fr; }
  .channels { grid-column: 1; }
  .connect-strip { grid-column: 1; margin-top: 23px; padding: 18px 110px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .connect-icon { display: none; }
  .connect-strip p br { display: none; }
  .connect-strip .request-button { position: absolute; right: 0; bottom: 0; width: auto; gap: 15px; }
  .connect-strip h3 { font-size: 24px; margin-bottom: 6px; }
  .history-header { gap: 18px; }
  .search-box { width: 220px; }
  .history-header .section-heading h2 { font-size: 30px; }
  .history-header .section-heading { gap: 15px; }
}
@media (max-width: 600px) {
  .app-shell { width: calc(100% - 36px); }
  .site-header { height: 79px; margin-bottom: 20px; }
  .header-actions { gap: 7px; }
  .header-actions .icon-button { width: 38px; height: 38px; }
  .intro { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
  .player-topline { margin: 0 19px; padding: 16px 0; }
  .live-badge { font-size: 7px; letter-spacing: .04em; }
  .channel-caption { font-size: 7px; }
  .player-body { grid-template-columns: 1fr; gap: 25px; padding: 23px 24px 12px; }
  .record-sleeve { max-width: 275px; width: min(100%, 275px); padding: 25px 19px 10px; }
  .sleeve-number { top: 9px; left: 20px; }
  .sleeve-seal { width: 59px; height: 59px; top: 6px; right: -9px; }
  .sleeve-edition { display: block; }
  .player-info { width: 100%; text-align: center; }
  .now-label { font-size: 7px; margin-bottom: 11px; }
  .player-info h2 { font-size: 31px; margin-bottom: 11px; letter-spacing: -.9px; }
  .artist { font-size: 12px; }
  .playback-controls { justify-content: center; gap: 17px; margin-top: 22px; }
  .play-copy { text-align: left; }
  .play-copy strong { font-size: 14px; }
  .play-copy span { font-size: 10px; }
  .volume-control { margin: 16px auto 0; }
  .status { margin-top: 7px; min-height: 26px; font-size: 9px; }
  .player-bottomline { margin: 0 19px; padding: 14px 0 17px; font-size: 7px; }
  .live-edge { font-size: 6px; }
  .main-grid { gap: 28px; }
  .channel-panel > .section-heading { margin-bottom: 18px; }
  .channel-panel h2 { font-size: 32px; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .channel-button { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 5px 10px; align-content: center; min-height: 94px; padding: 15px 11px; }
  .channel-button > img { grid-column: 1; grid-row: 1 / 3; margin: 0; width: 38px; height: 38px; align-self: center; }
  .channel-button strong { grid-column: 2; grid-row: 1; font-size: 12px; align-self: end; }
  .channel-button small { grid-column: 2; grid-row: 2; margin: 0; font-size: 8px; }
  .channel-arrow { display: none; }
  .channel-button .signal-dot { top: 9px; right: 9px; width: 3px; height: 3px; }
  .history-card { margin-top: 28px; padding-top: 25px; }
  .history-header { flex-direction: column; align-items: stretch; gap: 17px; }
  .history-header .section-heading h2 { font-size: 32px; }
  .history-header .icon-button { width: 44px; height: 44px; }
  .search-box { width: 100%; min-height: 44px; }
  .search-box input { height: 42px; font-size: 12px; }
  .history-info { font-size: 9px; padding-top: 15px; }
  .recent-list { display: block; max-height: 365px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 0 0; }
  .track { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto; padding: 13px 0; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .track > img { width: 48px; height: 48px; grid-column: 1; grid-row: 1; }
  .track-info { grid-column: 2; grid-row: 1; align-self: center; }
  .track-title { font-size: 12px; }
  .track-artist { font-size: 10px; }
  .track time { grid-column: 3; grid-row: 1; padding-top: 3px; font-size: 9px; }
  .history-link { padding: 18px 0 0; font-size: 11px; gap: 20px; }
  .site-footer { margin-top: 23px; flex-direction: column; align-items: center; text-align: center; gap: 11px; padding: 23px 0; }
}
@media (max-width: 370px) {
  .app-shell { width: calc(100% - 24px); }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 10px; }
  .brand small { font-size: 8px; }
  .header-actions { gap: 5px; }
  .header-actions .icon-button { width: 34px; height: 34px; }
  .player-topline { margin: 0 15px; }
  .live-badge, .channel-caption { font-size: 6px; }
  .player-body { padding: 21px 20px 10px; gap: 22px; }
  .record-sleeve { max-width: 240px; padding: 24px 17px 10px; }
  .player-info h2 { font-size: 28px; }
  .play-button { width: 64px; height: 64px; }
  .channel-button { grid-template-columns: 32px minmax(0, 1fr); gap: 5px 8px; padding: 14px 9px; }
  .channel-button > img { width: 32px; height: 32px; }
  .channel-button strong { font-size: 11px; }
  .channel-button small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
