:root {
  color-scheme:dark;
  --bg:#0c141b;
  --panel:#121e28;
  --line:#2b3b47;
  --text:#eaf0f3;
  --muted:#9db0bd;
  --accent:#a3e2be;
  --amber:#efc88b;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a {
  color:var(--accent);
  text-underline-offset:4px;
}
button,input {
  font:inherit;
}
button,.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:40px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#1a2a36;
  color:var(--text);
  padding:8px 13px;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s;
}
button:hover,.button:hover {
  background:#2a3f4e;
}
button:disabled {
  opacity:.45;
  cursor:default;
}
button.primary {
  background:var(--accent);
  border-color:var(--accent);
  color:#10291e;
  font-weight:700;
}
button.primary:hover {
  background:#c0f4d7;
}
button[aria-pressed=true] {
  border-color:var(--accent);
  color:var(--accent);
}
:focus-visible {
  outline:3px solid var(--amber);
  outline-offset:4px;
}
input[type=text],input[type=search] {
  min-width:0;
  width:100%;
  border:1px solid var(--line);
  border-radius:7px;
  padding:10px 12px;
  background:#0e1820;
  color:var(--text);
}
input[type=range] {
  min-width:50px;
  accent-color:var(--accent);
  cursor:pointer;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-size:clamp(28px,3.5vw,43px);
  line-height:1.2;
  letter-spacing:-1.4px;
  font-weight:650;
}
h2 {
  font-size:21px;
  letter-spacing:-.5px;
  font-weight:600;
}
h3 {
  font-size:15px;
  font-weight:600;
}
.muted,.panel-note {
  color:var(--muted);
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--accent);
  margin-bottom:7px;
}
.site-header {
  min-height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  max-width:1600px;
  padding:20px 4%;
  margin:auto;
  border-bottom:1px solid var(--line);
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  font-size:19px;
  font-weight:750;
  letter-spacing:1.5px;
  line-height:1.25;
}
.brand small {
  display:block;
  color:var(--muted);
  font-size:9px;
  letter-spacing:2.5px;
  margin-top:7px;
}
.brand-light {
  font-weight:400;
}
.brand-mark {
  display:grid;
  place-items:center;
  background:#203c35;
  border:1px solid #466a58;
  border-radius:11px;
  width:44px;
  height:44px;
  font-size:26px;
  color:var(--accent);
}
nav {
  display:flex;
  gap:30px;
}
nav a {
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
}
nav a:hover {
  color:var(--text);
}
.clock {
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.clock time {
  font-size:19px;
  letter-spacing:2px;
}
.clock>span {
  display:block;
  font-size:9px;
  color:var(--muted);
  letter-spacing:1px;
}
.container {
  max-width:1500px;
  margin:auto;
  padding:38px 4%;
}
.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:32px;
}
.intro>div>p:last-child {
  color:var(--muted);
  margin-top:12px;
}
.subtle {
  background:transparent;
  font-size:12px;
  white-space:nowrap;
}
.dashboard {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.panel {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  padding:24px;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:22px;
}
.section-heading .eyebrow {
  font-size:9px;
}
.badge {
  font-size:10px;
  font-weight:650;
  border:1px solid var(--line);
  border-radius:30px;
  padding:4px 9px;
  white-space:nowrap;
  color:var(--muted);
}
.master-controls {
  padding:14px;
  background:#0e1820;
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:18px;
}
.button-row {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.volume-control {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  font-size:11px;
  color:var(--muted);
}
.volume-control input {
  flex:1;
  width:100%;
}
.volume-control label {
  white-space:nowrap;
}
.volume-control output {
  width:36px;
  text-align:right;
  flex-shrink:0;
  font-variant-numeric:tabular-nums;
}
.filter-row {
  display:flex;
  gap:10px;
  margin-bottom:16px;
}
.search {
  flex:1;
}
.filter-row button {
  font-size:11px;
}
.streams {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.stream {
  border:1px solid var(--line);
  border-radius:9px;
  padding:15px;
  background:#15232e;
  min-width:0;
}
.stream[data-status=playing] {
  border-color:#70ad8b;
  background:#162c29;
}
.stream[data-status=error] {
  border-color:#be8066;
}
.stream-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-bottom:8px;
}
.group {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color:var(--muted);
}
.favorite {
  padding:0;
  min-height:28px;
  width:28px;
  background:transparent;
  border-color:transparent;
  font-size:18px;
}
.stream h3 {
  font-size:17px;
}
.stream-description {
  font-size:11px;
  color:var(--muted);
  margin:3px 0 12px;
}
.stream-actions {
  display:flex;
  align-items:center;
  gap:6px;
}
.stream-actions button {
  font-size:11px;
  min-height:34px;
  padding:5px 10px;
}
.stream-state {
  font-size:10px;
  color:var(--muted);
  margin:10px 0 0;
  min-height:16px;
}
.stream[data-status=playing] .stream-state {
  color:var(--accent);
}
.stream[data-status=error] .stream-state {
  color:#ffbd9e;
}
.stream .volume-control {
  gap:6px;
  margin-top:12px;
}
.stream .volume-control label {
  font-size:10px;
}
.mix-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:20px;
}
.mix-row strong {
  font-size:12px;
}
.mix-row p {
  font-size:10px;
  color:var(--muted);
  margin-top:4px;
}
.mix-row button {
  font-size:11px;
  white-space:nowrap;
}
.panel-note {
  font-size:11px;
  margin-top:15px;
  line-height:1.6;
}
.compact {
  font-size:11px;
  min-height:32px;
  padding:5px 10px;
}
.weather-status {
  color:var(--muted);
  font-size:11px;
}
.weather-status.warning {
  color:var(--amber);
}
.weather-summary {
  display:flex;
  align-items:center;
  gap:22px;
  margin:20px 0 25px;
}
.weather-summary strong {
  font-size:50px;
  line-height:1;
  letter-spacing:-2px;
  font-weight:500;
}
.weather-summary>span {
  color:var(--muted);
  font-size:13px;
}
.weather-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:0 0 24px;
}
.weather-grid div {
  border-left:2px solid var(--line);
  padding-left:14px;
}
.weather-grid dt {
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
}
.weather-grid dd {
  margin:4px 0 0;
  font-size:17px;
}
.metar {
  border-top:1px solid var(--line);
  padding-top:16px;
}
.metar summary {
  font-size:11px;
  color:var(--muted);
  cursor:pointer;
}
.metar p {
  font:12px/1.7 ui-monospace,Consolas,monospace;
  overflow-wrap:anywhere;
  background:#0e1820;
  border-radius:6px;
  padding:12px;
  margin-top:10px;
}
.weather-footer {
  border-top:1px solid var(--line);
  margin-top:18px;
  padding-top:14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted);
}
.traffic-panel {
  padding-bottom:16px;
  grid-column:1;
  grid-row:2;
}
.text-link {
  font-size:12px;
  white-space:nowrap;
}
.map-container {
  position:relative;
  height:460px;
  background:#0c181e;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
}
.map-placeholder {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:24px;
  background:radial-gradient(ellipse at 50% 45%,#25443c66,transparent 60%),linear-gradient(#28413c22 1px,transparent 1px),linear-gradient(90deg,#28413c22 1px,transparent 1px);
  background-size:auto,40px 40px,40px 40px;
}
.radar {
  width:130px;
  height:130px;
  border:1px solid #54847277;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  margin-bottom:22px;
  background:repeating-radial-gradient(circle,transparent 0,transparent 20px,#54847255 21px,transparent 22px);
}
.radar:before,.radar:after {
  content:"";
  position:absolute;
  background:#54847255;
}
.radar:before {
  width:1px;
  height:100%;
}
.radar:after {
  height:1px;
  width:100%;
}
.radar span {
  z-index:1;
  background:#153029;
  padding:4px 8px;
  color:var(--accent);
  font:11px ui-monospace,monospace;
  letter-spacing:2px;
}
.map-placeholder h3 {
  font-size:21px;
  font-weight:500;
}
.map-placeholder p {
  color:var(--muted);
  margin:8px 0 18px;
}
.map-placeholder small {
  font-size:10px;
  color:var(--muted);
  margin-top:14px;
}
.map-container iframe {
  width:100%;
  height:100%;
  border:0;
  background:#0c181e;
}
.map-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:10px;
  color:var(--muted);
  margin-top:12px;
}
.guide-panel {
  grid-column:2;
  grid-row:2;
}
.guide-list {
  list-style:none;
  margin:0;
  padding:0;
}
.guide-list li {
  display:flex;
  gap:16px;
  margin-bottom:24px;
}
.guide-list li>span {
  font:11px ui-monospace,monospace;
  color:var(--accent);
  padding-top:3px;
}
.guide-list p {
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}
.text-button {
  color:var(--accent);
  padding:8px 0 0;
  min-height:30px;
  border:0;
  background:transparent;
  font-size:11px;
}
.text-button:hover {
  background:transparent;
  text-decoration:underline;
}
.settings-panel {
  margin-top:22px;
}
.settings-panel>summary {
  cursor:pointer;
  font-size:13px;
  font-weight:600;
}
.settings-panel>summary span {
  font-size:11px;
  color:var(--muted);
  font-weight:400;
  margin-left:16px;
}
.settings-panel form {
  margin-top:18px;
}
.settings-panel label {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
}
.server-row {
  display:flex;
  gap:10px;
}
.server-row button {
  white-space:nowrap;
}
.settings-panel code {
  color:var(--accent);
}
#server-message {
  font-size:12px;
  margin-top:10px;
  color:var(--amber);
}
.notice {
  padding:12px 18px;
  border:1px solid #856d46;
  background:#332b20;
  border-radius:7px;
  margin-bottom:20px;
  color:var(--amber);
}
.site-footer {
  max-width:1500px;
  margin:auto;
  padding:0 4% 25px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:10px;
}
.site-footer>span {
  letter-spacing:1px;
  color:var(--text);
}
.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link:focus {
  position:absolute;
  z-index:2;
  background:var(--bg);
  padding:12px;
}
[hidden] {
  display:none!important;
}
@media(min-width:1150px) {
  .radio-panel {
    grid-row:1/3;
  }
  .weather-panel {
    grid-column:2;
    grid-row:1;
  }
  .guide-panel {
    grid-column:1/-1;
    grid-row:3;
  }
  .traffic-panel {
    grid-column:2;
    grid-row:2;
  }
  .map-container {
    height:380px;
  }
  .guide-list {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:26px;
  }
  .guide-list li {
    margin-bottom:0;
  }
}
@media(max-width:850px) {
  .site-header {
    gap:18px;
    flex-wrap:wrap;
  }
  .clock {
    margin-left:auto;
  }
  nav {
    order:3;
    width:100%;
    border-top:1px solid var(--line);
    padding-top:14px;
  }
  .dashboard {
    grid-template-columns:1fr;
  }
  .radio-panel,.weather-panel,.traffic-panel,.guide-panel {
    grid-column:1;
    grid-row:auto;
  }
  .intro {
    align-items:flex-start;
  }
  .intro .button {
    display:none;
  }
  .panel {
    padding:20px;
  }
  .map-container {
    height:440px;
  }
  .site-footer {
    flex-direction:column;
    gap:8px;
  }
  .container {
    padding-top:28px;
  }
}
@media(max-width:450px) {
  .brand {
    font-size:15px;
  }
  .brand-mark {
    width:36px;
    height:36px;
  }
  .clock time {
    font-size:15px;
  }
  .clock>span {
    font-size:8px;
  }
  .streams {
    grid-template-columns:1fr;
  }
  .mix-row {
    align-items:flex-start;
    flex-direction:column;
  }
  .server-row {
    flex-wrap:wrap;
  }
  .server-row input {
    flex-basis:100%;
  }
  .section-heading {
    align-items:flex-start;
  }
  h2 {
    font-size:18px;
  }
  .weather-summary strong {
    font-size:44px;
  }
  .settings-panel>summary span {
    display:block;
    margin-left:18px;
  }
  .map-placeholder h3 {
    font-size:18px;
  }
  .map-footer {
    align-items:flex-start;
    flex-direction:column;
  }
  .map-placeholder p {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    transition:none!important;
  }
}
