   :root { color-scheme: dark; }
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Times New Roman", Georgia, serif;
  background: #1b1a16;
  color: #e6e1d6;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* CRT grime */
body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.03),
    rgba(255,255,255,.03) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity:.15;
}
body::after {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}

/* FIXED LOGO / LANG */
.logo, .lang-switch {
  position: fixed;
  top: 14px;
  z-index: 10;
  opacity: .85;
}
.logo { left: 14px; }
.logo img { width: 56px; }
.lang-switch { right: 14px; font-size: 14px; }

/* MAIN CARD */
.card {
  width: min(720px, 94vw);
  height: calc(100svh - 16px);
  margin: 8px auto;
  padding: 14px;
  background: #2a271f;
  border: 2px solid #3a3528;

  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* HEADERS */
h1 {
  text-align: center;
  margin: 0;
  font-size: clamp(24px, 4.4vw, 32px);
  letter-spacing: 1px;
}

.sub {
  text-align: center;
  font-size: 16px;
  color: #c6c1b4;
  margin: 0;
}

/* BROADCAST BAR */
.broadcast-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lamp {
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #4a4433;
  background: #1a1812;
  color: #6f6a5c;
  letter-spacing: 1px;
}
.lamp.on {
  color: #ffe8a3;
  border-color: #b59a4a;
  box-shadow: inset 0 0 6px rgba(255,232,163,.4);
}
.lamp.mono { color: #d4d0c2; }

/* COVER */
.cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.cover-wrap img {
  max-width: 52%;
  max-height: 28svh;
  border: 2px solid #4a4433;
  background: #111;
  object-fit: contain;
}

.onair {
  position:absolute;
  top:8px;
  left:8px;
  background:#7c0000;
  color:#ffecec;
  font-size:12px;
  font-weight:bold;
  padding:3px 6px;
  letter-spacing:2px;
  border:1px solid #aa4444;
  display:none;
  animation:blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity:0; } }

/* BOXES */
.box {
  padding: 8px;
  background: #231f17;
  border: 1px solid #3a3528;
}

.label {
  font-size: 12px;
  color: #a79f8a;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.track {
  font-size: 19px;
  margin-top: 4px;
}

.album {
  font-size: 15px;
  color: #c2bca8;
}

.counter {
  font-family: "Courier New", monospace;
  font-size: 19px;
  letter-spacing: 2px;
  color: #ffe8a3;
  background: #14120d;
  padding: 4px 6px;
  border: 1px solid #4a4433;
  display: inline-block;
}

/* PLAYER */
.player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: #231f17;
  border: 1px solid #3a3528;
  flex-wrap: wrap;
}

.player button {
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #4a4433;
  background: #2e2a20;
  color: #e6e1d6;
  cursor: pointer;
}

.status {
  font-family: "Courier New", monospace;
  padding: 4px 8px;
  border: 1px solid #4a4433;
  background: #14120d;
  color: #ffe8a3;
  min-width: 84px;
  text-align: center;
}

.volume {
  display: flex;
  align-items: center;
  gap: 6px;
}
.volume input { width: 104px; }

/* LINKS */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

a.btn {
  padding: 6px 10px;
  border: 1px solid #4a4433;
  background: #2e2a20;
  color: #e6e1d6;
  text-decoration: none;
  font-size: 15px;
}

footer {
  font-size: 13px;
  text-align: center;
  color: #a79f8a;
}