:root { color-scheme: light; background: #faf9f5; color: #20211d; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: system-ui, sans-serif; }
.gallery { position: relative; min-height: 480px; height: 100svh; overflow: hidden; isolation: isolate; }
.artwork { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: arrive 1.1s ease-out both; }
.brand { position: absolute; top: max(28px, env(safe-area-inset-top)); left: max(36px, env(safe-area-inset-left)); display: block; width: clamp(156px, 13vw, 216px); line-height: 0; border-radius: 8px; transition: transform 180ms ease; }
.brand img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 10px rgb(250 249 245 / 38%)); }
.brand:hover { transform: rotate(-2deg); }
.socials { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border: 1px solid rgb(255 255 255 / 48%); border-radius: 999px; background: rgb(250 249 245 / 84%); backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgb(32 33 29 / 8%); }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; color: #20211d; border-radius: 50%; transition: background 180ms ease, transform 180ms ease; }
.socials a:hover { background: rgb(255 255 255 / 72%); transform: translateY(-2px); }
.radio { position: relative; }
.radio summary { list-style: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.radio summary::-webkit-details-marker { display: none; }
.radio summary:hover, .radio[open] summary { background: rgb(255 255 255 / 72%); }
.radio summary:focus-visible, .radio-panel button:focus-visible, .radio-panel input:focus-visible { outline: 3px solid #20211d; outline-offset: 3px; }
.radio.playing summary::after { content: ''; position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fa542b; }
.radio-panel { position: absolute; width: 282px; bottom: 68px; right: -7px; padding: 20px; border: 1px solid rgb(32 33 29 / 12%); border-radius: 18px; background: #faf9f5; box-shadow: 0 10px 36px rgb(32 33 29 / 18%); }
.radio-panel h2 { font-size: 17px; margin: 0 0 6px; }
.radio-panel p { font-size: 13px; line-height: 1.5; margin: 0 0 16px; }
.radio-panel button { display: block; width: 100%; min-height: 44px; border: 0; border-radius: 10px; background: #20211d; color: #faf9f5; padding: 10px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.radio-panel label { display: block; margin: 16px 0 3px; font-size: 13px; }
.radio-panel input { display: block; width: 100%; min-height: 28px; accent-color: #fa542b; }
.radio-panel .station-id { margin: 12px 0; color: #20211d; background: #ecebe4; }
.radio-panel small { display: block; font-size: 11px; line-height: 1.5; color: #5d6055; }
.radio-panel .radio-status { margin: 12px 0 0; color: #a33a16; }
a:focus-visible { outline: 3px solid #20211d; outline-offset: 5px; }
.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; }
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  .brand { width: 168px; top: max(28px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); }
  .brand:hover { transform: translateX(-50%) rotate(-2deg); }
  .socials { bottom: max(24px, env(safe-area-inset-bottom)); }
  .radio-panel { position: fixed; right: auto; left: 50%; bottom: 74px; transform: translateX(-50%); width: min(282px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  .artwork { animation: none; }
  .brand, .socials a { transition: none; }
}
