:root {
  color-scheme: dark;
  --bg: #090a0f;
  --panel: rgba(19, 20, 29, .82);
  --panel-strong: #151722;
  --text: #f8f5ef;
  --muted: #9b9ca8;
  --accent: #ffb44a;
  --line: rgba(255,255,255,.09);
  font-family: Inter, "Noto Sans Hebrew", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34rem),
    radial-gradient(circle at 5% 70%, rgba(92, 63, 176, .18), transparent 30rem),
    var(--bg);
}
button, input { font: inherit; }
button { color: inherit; }
.radio-shell { width: min(1180px, 100%); margin: 0 auto; padding: 28px clamp(18px, 4vw, 56px) 34px; }
.brand-row { display: flex; align-items: center; gap: 15px; min-height: 60px; }
.brand-row > div { min-width: 0; }
.brand-row h1 { margin: 1px 0 0; font-size: clamp(1.25rem, 3vw, 1.65rem); letter-spacing: .16em; direction: ltr; }
.brand-row h1 span { color: var(--accent); }
.brand-row .icon-button { margin-inline-start: auto; }
.eyebrow { margin: 0; color: var(--muted); font-size: .64rem; letter-spacing: .22em; direction: ltr; text-align: left; }
.brand-mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); }
.brand-mark i { display: block; width: 3px; border-radius: 3px; background: var(--accent); animation: bars 1.2s ease-in-out infinite alternate; }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 23px; animation-delay: -.4s; }
.brand-mark i:nth-child(3) { height: 17px; animation-delay: -.7s; }
.brand-mark i:nth-child(4) { height: 8px; animation-delay: -.2s; }
@keyframes bars { to { transform: scaleY(.55); opacity: .55; } }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading p { margin: 0; font-weight: 750; }
.section-heading span { color: var(--muted); font-size: .82rem; }
.channel-section { margin-top: 30px; }
.channels { display: flex; gap: 10px; overflow-x: auto; padding: 14px 1px 7px; scrollbar-width: none; }
.channels::-webkit-scrollbar { display: none; }
.channel {
  flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  background: rgba(255,255,255,.035); cursor: pointer; transition: .18s ease; min-width: 90px;
}
.channel:hover, .channel:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); outline: none; }
.channel.active { background: var(--accent); color: #14100b; border-color: transparent; font-weight: 800; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 20%, transparent); }

.stage {
  position: relative; display: grid; grid-template-columns: minmax(240px, .88fr) minmax(300px, 1.12fr);
  gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: 26px; padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line); border-radius: 34px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: 0 34px 90px rgba(0,0,0,.35);
}
.ambient { position: absolute; inset: -25%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%); filter: blur(35px); pointer-events: none; }
.cover-wrap { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 25px; overflow: hidden; background: #11121a; box-shadow: 0 30px 60px rgba(0,0,0,.42); }
.cover-wrap img, .cover-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--accent) 35%, #30263d), #11131d 58%); }
.cover-placeholder strong { font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: -.08em; direction: ltr; z-index: 1; text-shadow: 0 12px 35px rgba(0,0,0,.35); }
.orbit { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.035), 0 0 0 52px rgba(255,255,255,.025); animation: spin 14s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); top: 7%; left: 17%; box-shadow: 0 0 20px var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.on-air { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 7px 10px; border-radius: 999px; background: rgba(10,10,14,.78); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 800; }
.on-air span { display: inline-block; width: 7px; height: 7px; margin-inline-end: 5px; border-radius: 50%; background: #ff4a56; box-shadow: 0 0 10px #ff4a56; }

.track-panel { position: relative; z-index: 1; min-width: 0; }
.track-kind { color: var(--accent); font-size: .72rem; letter-spacing: .14em; font-weight: 850; margin: 0 0 12px; }
.track-panel h2 { margin: 0; font-size: clamp(2rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.artist { margin: 12px 0 28px; color: var(--muted); font-size: 1rem; }
.timeline { display: grid; grid-template-columns: 42px 1fr 42px; gap: 9px; align-items: center; direction: ltr; color: var(--muted); font-size: .75rem; }
input[type=range] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.transport { display: grid; grid-template-columns: 44px 52px 76px 52px minmax(60px, 120px); gap: 10px; align-items: center; margin-top: 22px; direction: ltr; }
.icon-button, .play-button {
  border: 1px solid var(--line); background: rgba(255,255,255,.045); cursor: pointer;
  display: grid; place-items: center; transition: .18s ease;
}
.icon-button { width: 44px; height: 44px; border-radius: 50%; }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.transport-skip { width: 52px; height: 52px; }
.transport-skip svg { fill: currentColor; stroke: none; }
.play-button { width: 76px; height: 76px; border: none; border-radius: 50%; background: var(--accent); color: #15100a; box-shadow: 0 15px 40px color-mix(in srgb, var(--accent) 26%, transparent); }
.play-button svg { width: 28px; fill: currentColor; }
.play-button .pause-icon { display: none; }
.play-button.playing .play-icon { display: none; }
.play-button.playing .pause-icon { display: block; }
.icon-button:hover, .play-button:hover, .icon-button:focus-visible, .play-button:focus-visible { transform: scale(1.06); outline: 2px solid color-mix(in srgb, var(--accent) 65%, white); outline-offset: 3px; }
.volume-slider { direction: ltr; }
.autoplay-note { color: var(--muted); font-size: .78rem; margin: 18px 0 0; }

.lyrics-card { margin-top: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); padding: 22px 24px; }
.lyrics-card button { color: var(--accent); border: 0; background: none; cursor: pointer; }
.lyrics { max-height: 155px; overflow: hidden; margin-top: 17px; color: #c8c7ce; line-height: 2.05; white-space: pre-wrap; transition: max-height .3s ease; }
.lyrics.expanded { max-height: 65vh; overflow-y: auto; }
.lyrics p { margin: 0; }
.lyrics .word { border-radius: 5px; transition: .12s ease; }
.lyrics .word.active { color: #111; background: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.catalog-card { margin-top: 26px; border-block: 1px solid var(--line); padding-block: 26px; }
.catalog-heading > div { min-width: 0; }
.catalog-heading > div > span { display: block; margin-top: 4px; }
.catalog-heading > strong { color: var(--accent); font-size: .78rem; }
.catalog { display: grid; gap: 34px; margin-top: 24px; }
.catalog-empty { margin: 0; color: var(--muted); }
.catalog-group > header { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.catalog-group h3 { margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.7rem); }
.catalog-group > header span { color: var(--muted); font-size: .75rem; }
.catalog-list { border-top: 1px solid var(--line); }
.catalog-song { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--line); transition: background-color .18s ease, border-color .18s ease; }
.catalog-song.active { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 58%); }
.catalog-number { color: var(--muted); font: 750 .72rem ui-monospace, monospace; text-align: center; direction: ltr; }
.catalog-copy { min-width: 0; padding-block: 13px; }
.catalog-copy h4 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.catalog-copy p { margin: 5px 0 0; color: var(--muted); font-size: .74rem; direction: ltr; text-align: right; unicode-bidi: plaintext; }
.catalog-play { min-width: 72px; min-height: 38px; margin-inline-end: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); cursor: pointer; font-weight: 760; transition: .18s ease; }
.catalog-play:hover, .catalog-play:focus-visible, .catalog-song.active .catalog-play { color: #15100a; background: var(--accent); border-color: transparent; outline: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .73rem; padding: 20px 4px 0; }
footer a { color: inherit; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .radio-shell { padding-top: 18px; }
  .brand-row { gap: 8px; }
  .brand-row h1 { font-size: 1rem; letter-spacing: .1em; white-space: nowrap; }
  .eyebrow { font-size: .55rem; letter-spacing: .15em; }
  .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
  .stage { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); border-radius: 26px; padding: 20px; gap: 28px; }
  .cover-wrap { width: 100%; max-width: 430px; min-width: 0; margin: 0 auto; }
  .track-panel { width: 100%; min-width: 0; }
  .track-panel h2 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2rem, 11vw, 3.3rem); }
  .transport { grid-template-columns: 42px 46px 68px 46px 1fr; gap: 6px; }
  .transport-skip { width: 46px; height: 46px; }
  .play-button { width: 68px; height: 68px; }
  .catalog-song { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; }
  .catalog-play { min-width: 58px; padding-inline: 10px; }
  .catalog-copy p { font-size: .68rem; }
  .brand-row { position: sticky; top: 0; z-index: 10; padding: 8px 0; backdrop-filter: blur(18px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
