:root {
  --navy: #1f2a44;
  --navy-2: #2a3758;
  --cream: #f5ecd7;
  --gold: #e0b75e;
  --gold-dark: #b88f3a;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  background: radial-gradient(circle at 50% 0%, #34436b 0%, var(--navy) 60%);
  background-color: var(--navy);
  color: var(--cream);
  -webkit-tap-highlight-color: transparent;
}

.radio {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
}

header { text-align: center; margin-bottom: 24px; }
.cross { font-size: 2.6rem; color: var(--gold); line-height: 1; }
h1 { font-size: 2.2rem; margin: 8px 0 4px; letter-spacing: .02em; }
.tagline { margin: 0; opacity: .8; font-style: italic; }

.player {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(224,183,94,.35);
  border-radius: 20px;
  padding: 22px 20px 26px;
  text-align: center;
}
.now-label { margin: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.now-title { margin: 8px 0 18px; font-size: 1.5rem; font-weight: normal; min-height: 1.9rem; }

.progress input[type=range] {
  width: 100%;
  accent-color: var(--gold);
  height: 24px;
}
.times { display: flex; justify-content: space-between; font-size: .8rem; opacity: .7; font-family: system-ui, sans-serif; }

.controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 14px; }
.controls button {
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
}
.controls svg { fill: currentColor; }
.controls .big {
  width: 84px; height: 84px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.controls .big svg { width: 44px; height: 44px; }
.controls .big:active { background: var(--gold-dark); }
.controls .small {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.08);
  color: var(--cream);
}
.controls .small svg { width: 26px; height: 26px; }

.songs { margin-top: 28px; }
.songs h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0 0 10px; }
.songs ol { list-style: none; margin: 0; padding: 0; }
.songs li button {
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 1.1rem;
  color: var(--cream);
  background: rgba(255,255,255,.05);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
}
.songs li button .num { color: var(--gold); width: 1.4em; font-family: system-ui, sans-serif; font-size: .95rem; }
.songs li button.playing { border-color: var(--gold); background: rgba(224,183,94,.14); }
.songs li button.playing .num::before { content: "\266A"; }
.songs li button.playing .num span { display: none; }
.hint { font-size: .9rem; opacity: .7; margin: 6px 2px 0; }

.install { margin-top: 24px; text-align: center; }
.install button {
  font: inherit;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}
.ios-hint { margin-top: 24px; text-align: center; font-size: .95rem; opacity: .85; }
