:root {
  --ink: #10202b;
  --muted: #63727d;
  --paper: #f7f3eb;
  --card: #fffdf9;
  --line: #e9e2d7;
  --lake: #0b7892;
  --lake-dark: #07536a;
  --sun: #f3a53b;
  --leaf: #16865d;
  --shadow: 0 18px 42px rgba(42, 61, 66, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap, .page-wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.nav-wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 900; letter-spacing: -.8px; font-size: 20px; display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--lake); color: white; font-size: 17px; }
.nav-links { display: flex; gap: 21px; color: #50616a; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--lake); }
.nav-radio { padding: 10px 15px; border-radius: 999px; background: var(--lake); color: white; font-size: 13px; font-weight: 800; }

.page-wrap { padding: 30px 0 130px; }
.breadcrumb { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.breadcrumb span { color: var(--lake); }

.radio-hero {
  min-height: 300px;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 34px;
  color: white;
  background: linear-gradient(120deg, #073848 0%, #0b7892 50%, #145c59 100%);
  box-shadow: var(--shadow);
}
.radio-hero::before, .radio-hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .18; }
.radio-hero::before { width: 420px; height: 420px; right: -115px; bottom: -255px; background: #e7f6e6; box-shadow: -105px -110px 0 25px #f3a53b; }
.radio-hero::after { width: 290px; height: 290px; right: 150px; top: -170px; border: 30px solid #e8f7fb; }
.hero-content { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 24px; width: 100%; }
.radio-cover { flex: 0 0 126px; width: 126px; height: 126px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f5bb59, #e77545); box-shadow: 0 13px 30px rgba(0,0,0,.28); border: 5px solid rgba(255,255,255,.22); }
.cover-art { text-align: center; font-family: Georgia, serif; color: #12323a; line-height: .85; transform: rotate(-7deg); }
.cover-art strong { display: block; font-size: 25px; }
.cover-art small { font-family: inherit; font-style: italic; font-size: 13px; }
.hero-main { flex: 1; }
.eyebrows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pill { border-radius: 999px; padding: 7px 11px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.pill.live { background: var(--sun); color: #39220b; border-color: transparent; }
.hero-main h1 { font-family: Georgia, 'Times New Roman', serif; margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -2px; }
.now-playing { margin: 9px 0 20px; font-size: 15px; font-weight: 700; color: #e7f8fb; }
.control-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.play-button { border: 0; cursor: pointer; width: 55px; height: 55px; border-radius: 50%; color: #3b250b; background: var(--sun); font-size: 20px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.play-button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.outline-button, .share-button { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 11px 16px; background: rgba(0,0,0,.13); color: white; font-weight: 800; cursor: pointer; }
.share-button { background: var(--leaf); border-color: transparent; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0 34px; }
.stat-card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 20px rgba(42,61,66,.045); }
.stat-card { padding: 19px 20px; }
.stat-card:first-child { background: #fff0dc; }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .65px; text-transform: uppercase; }
.stat-value { display: block; margin: 8px 0 3px; font: 800 30px/1 Georgia, serif; letter-spacing: -1px; }
.stat-note { font-size: 12px; color: var(--muted); font-weight: 650; }

.radio-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .9fr); gap: 22px; }
.panel { padding: 24px; }
.panel + .panel { margin-top: 22px; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.panel h2 { margin: 0; font: 800 24px Georgia, serif; letter-spacing: -.5px; }
.panel-heading small { color: var(--muted); font-weight: 700; }
.playlist-panel { margin: 22px 0; }
.playlist-options { display: flex; flex-wrap: wrap; gap: 10px; }
.playlist-option { border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; background: #f8fbfb; color: var(--ink); cursor: pointer; text-align: left; transition: .2s ease; }
.playlist-option span { display: block; font-size: 13px; font-weight: 850; }
.playlist-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
.playlist-option:hover:not(:disabled), .playlist-option.is-selected { border-color: var(--lake); background: #eaf5f4; color: var(--lake-dark); }
.playlist-option:disabled { cursor: not-allowed; opacity: .48; background: #f3f3f0; }
.chart { height: 190px; display: flex; align-items: end; gap: clamp(8px, 2vw, 18px); padding: 15px 5px 0; border-top: 1px solid var(--line); }
.bar { flex: 1; min-width: 14px; position: relative; border-radius: 8px 8px 2px 2px; background: linear-gradient(to top, var(--lake), #69c3d0); }
.bar::after { content: attr(data-day); position: absolute; top: calc(100% + 8px); width: 100%; text-align: center; color: var(--muted); font-size: 10px; font-weight: 700; }
.track { display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; padding: 13px 0; align-items: center; border-bottom: 1px solid var(--line); }
.track:last-child { border-bottom: 0; padding-bottom: 0; }
.track-index { color: var(--lake); font-weight: 900; }
.track-title { font-size: 14px; font-weight: 800; }
.track-artist, .track-time { margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 600; }
.track-time { margin: 0; white-space: nowrap; }
.about-copy { color: #4b5c65; line-height: 1.65; font-size: 14px; }
.about-copy strong { color: var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 7px 10px; border-radius: 99px; background: #eaf5f4; color: #1a736e; font-size: 11px; font-weight: 850; }
.program-card { padding: 15px; border-radius: 15px; background: #eef8f8; border-left: 4px solid var(--lake); margin-bottom: 12px; }
.program-card:last-child { margin-bottom: 0; }
.program-time { color: var(--lake-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.program-card strong { display: block; margin: 5px 0 3px; font-size: 14px; }
.program-card span { color: var(--muted); font-size: 12px; }

.bottom-player { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; padding: 12px 0; border-top: 1px solid var(--line); background: rgba(255,253,249,.96); backdrop-filter: blur(14px); box-shadow: 0 -10px 28px rgba(39,57,65,.07); }
.bottom-player-inner { width: min(1140px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; }
.mini-cover { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #f5bb59, #e77545); font-size: 19px; }
.mini-name { font-size: 14px; font-weight: 900; }
.mini-status { color: var(--muted); font-size: 12px; font-weight: 650; margin-top: 3px; }
.player-actions { display: flex; align-items: center; gap: 12px; }
.mini-play { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lake); color: white; cursor: pointer; font-size: 15px; }
.volume { width: 110px; accent-color: var(--lake); }
.prototype-note { position: fixed; z-index: 40; bottom: 80px; left: 50%; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: #102b35; color: white; border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 700; transition: .25s ease; }
.prototype-note.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .radio-hero { min-height: 430px; padding: 26px; }
  .hero-content { align-items: flex-start; flex-direction: column; }
  .radio-cover { width: 92px; height: 92px; flex-basis: 92px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .radio-layout { grid-template-columns: 1fr; }
  .bottom-player { bottom: 64px; }
  .prototype-note { bottom: 145px; }
}
@media (max-width: 520px) {
  .nav-wrap, .page-wrap, .bottom-player-inner { width: min(100% - 24px, 1140px); }
  .nav-radio { padding: 9px 11px; }
  .page-wrap { padding-top: 20px; }
  .radio-hero { border-radius: 22px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 15px; }
  .stat-value { font-size: 26px; }
  .panel { padding: 18px; border-radius: 17px; }
  .outline-button { display: none; }
  .volume { display: none; }
  .bottom-player-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
}
