@font-face {
  font-family: "Padauk Web";
  src: url("fonts/padauk-400.woff2") format("woff2");
  font-weight: 400;
  unicode-range: U+1000-109F, U+AA60-AA7F;
}
@font-face {
  font-family: "Padauk Web";
  src: url("fonts/padauk-700.woff2") format("woff2");
  font-weight: 700;
  unicode-range: U+1000-109F, U+AA60-AA7F;
}

:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --ink: #1c2420;
  --ink-soft: #5a665f;
  --line: #ddd8cc;
  --river: #0e4a40;
  --river-deep: #093028;
  --gold: #c99700;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101613;
    --surface: #1a201c;
    --ink: #eef2ee;
    --ink-soft: #a7b3aa;
    --line: #2c352f;
    --river: #2e7d6b;
    --river-deep: #2e7d6b;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Padauk Web", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.topbar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem;
  background: var(--river-deep);
  color: #fff;
}
.brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.topbar-title { opacity: .85; font-size: .95rem; }

.wrap { max-width: 600px; margin: 0 auto; padding: 1rem; display: grid; gap: 1.1rem; }

.player-card, .list-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 8px 22px -16px rgba(10, 25, 20, .35);
}

.station-row { display: flex; align-items: center; gap: .6rem; }
.station-name { margin: 0; font-size: 1.5rem; }
.live-badge {
  background: #c0392b; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 4px; letter-spacing: .08em;
}
.station-sub { color: var(--ink-soft); margin: .4rem 0 1rem; line-height: 1.7; }

.now-block { border-top: 1px solid var(--line); padding-top: .9rem; }
.now-label { color: var(--ink-soft); font-size: .85rem; }
.now-title { font-size: 1.15rem; font-weight: 700; line-height: 1.6; margin-top: .15rem; }
.now-sub { color: var(--ink-soft); line-height: 1.6; }
.now-times { color: var(--ink-soft); font-size: .85rem; margin-top: .5rem; }
.progress { height: 6px; background: var(--line); border-radius: 3px; margin-top: .3rem; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--river); }

.play-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; min-height: 56px; margin-top: 1rem;
  border: 0; border-radius: 10px; cursor: pointer;
  background: var(--river); color: #fff;
  font: inherit; font-size: 1.1rem; font-weight: 700;
}
.play-btn svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.play-btn:active { transform: scale(.99); }

.status { color: #c0392b; margin: .7rem 0 0; line-height: 1.6; }
.hint { color: var(--ink-soft); font-size: .9rem; line-height: 1.7; margin: .8rem 0 0; }

.list-title { margin: 0 0 .6rem; font-size: 1.1rem; }
.playlist { list-style: none; margin: 0; padding: 0; }
.track {
  display: flex; gap: .7rem; align-items: baseline;
  padding: .6rem .4rem; border-bottom: 1px solid var(--line);
}
.track:last-child { border-bottom: 0; }
.track-num { color: var(--ink-soft); font-size: .85rem; min-width: 1.6rem; text-align: right; }
.track-main { flex: 1; min-width: 0; }
.track-title { line-height: 1.55; }
.track-sub { color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.track-credit { color: var(--ink-soft); font-size: .75rem; line-height: 1.5; margin-top: .15rem; }
.track-dur { color: var(--ink-soft); font-size: .85rem; flex: none; }
.track.current { background: rgba(14, 74, 64, .08); border-radius: 6px; }
.track.current .track-title { font-weight: 700; }
.track-eq { display: none; }
.track.current .track-eq { display: inline-block; color: var(--river); font-size: .8rem; font-weight: 700; }

.foot { color: var(--ink-soft); font-size: .9rem; line-height: 1.8; padding: 0 .2rem 1rem; }
.foot a { color: var(--river); }
