:root {
  color-scheme: dark;
  --bg: #101012;
  --text: #f5f1ec;
  --muted: #b0ada9;
  --accent: #f9774e;
  --line: #ffffff18;
  --download-height: 81px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); min-width: 280px; padding-bottom: calc(var(--download-height) + env(safe-area-inset-bottom)); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { cursor: wait; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.ambient { position: absolute; pointer-events: none; z-index: -1; top: 0; right: 0; width: 100%; height: 800px; background: radial-gradient(ellipse at 15% 38%, #c7602412, transparent 55%); }
.shell { max-width: 1280px; margin: auto; padding: 0 72px; min-height: calc(100vh - var(--download-height) - env(safe-area-inset-bottom)); min-height: calc(100svh - var(--download-height) - env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.brand-accent { color: var(--accent); }
main { flex: 1; padding-top: 52px; display: flex; align-items: center; }
.station { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); gap: 74px; padding: 0 0 24px; align-items: center; }
.artwork-wrap { min-width: 0; }
.artwork { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #242428; display: grid; place-items: center; }
.artwork > img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 40% 30%, #45443c, #282827 65%); color: var(--accent); }
.fallback svg { width: 65%; stroke: currentColor; stroke-width: 1; }
.fallback svg circle { opacity: .2; }
.fallback svg path { stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; font-weight: 700; letter-spacing: -.6px; margin: 0 0 10px; overflow-wrap: anywhere; }
.subtitle { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.player { position: absolute; right: 18px; bottom: 18px; z-index: 2; }
.play-button { width: 64px; height: 64px; border: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #1b1410; box-shadow: 0 4px 18px #0004; transition: transform .2s, background .2s; }
.play-button:hover { transform: scale(1.04); background: #ff926e; }
.play-button svg { width: 32px; height: 32px; }
.spinner { display: none; width: 27px; height: 27px; border: 2px solid #20140d44; border-top-color: #20140d; border-radius: 50%; animation: spin 1s linear infinite; }
body[data-state="loading"] .spinner { display: block; }
body[data-state="loading"] #play-icon { display: none; }
.notice { padding: 14px 16px; border-left: 2px solid var(--accent); background: #f9774e09; margin: 24px 0 0; color: #e3beb0; font-size: 13px; line-height: 1.8; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 8px 0; font-size: 10px; color: #999691; border-top: 1px solid var(--line); }
footer a { min-height: 44px; display: flex; align-items: center; }
footer a:hover { color: var(--text); }
.download-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; background: #1a1a1def; border-top: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding-bottom: env(safe-area-inset-bottom); }
.download-content { max-width: 1280px; margin: auto; padding: 18px 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.download-brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.download-brand img { border-radius: 11px; }
.download-button { display: flex; align-items: center; min-height: 44px; }
.download-button img { display: block; height: 44px; width: auto; }
.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; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  :root { --download-height: 77px; }
  .shell { padding: 0 40px; }
  .station { gap: 40px; }
  .download-content { padding: 16px 40px; }
}
@media (max-width: 700px) {
  :root { --download-height: 69px; }
  .shell { padding: 0 24px; }
  main { padding-top: 12px; }
  .station { grid-template-columns: 1fr; gap: 20px; padding-top: 4px; max-width: 420px; margin: 0 auto; }
  .artwork-wrap { width: 100%; margin: auto; }
  .station-info { padding: 0 1px; }
  h1 { font-size: 28px; line-height: 1.25; margin-bottom: 8px; letter-spacing: -.3px; }
  .subtitle { font-size: 14px; line-height: 1.5; }
  footer { font-size: 9px; line-height: 1.7; }
  .download-content { padding: 12px 24px; gap: 12px; }
  .download-brand { font-size: 17px; }
  .download-brand img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } }
