:root{
  --bg0:#070914;
  --bg1:#090b18;

  --text: rgba(255,255,255,0.96);
  --muted: rgba(255,255,255,0.66);

  --c1: rgba(120,255,245,0.95);  /* cyan */
  --c2: rgba(170,120,255,0.92);  /* violet */
  --c3: rgba(255,110,200,0.70);  /* pink */

  --ok: rgba(90,255,175,0.95);
  --bad: rgba(255,110,140,0.95);

  --r: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* Background system */
.bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* soft moving neon beams */
.bg::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    linear-gradient(115deg, transparent 0%, rgba(120,255,245,0.10) 35%, transparent 55%),
    linear-gradient(295deg, transparent 0%, rgba(170,120,255,0.10) 38%, transparent 58%),
    linear-gradient(165deg, transparent 0%, rgba(255,110,200,0.07) 40%, transparent 62%);
  filter: blur(18px);
  opacity: 0.85;
  animation: beams 14s ease-in-out infinite;
  transform: rotate(0.001deg);
}

@keyframes beams{
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.02); }
  50%  { transform: translate3d(3%,  2%, 0) scale(1.05); }
  100% { transform: translate3d(-3%, -2%, 0) scale(1.02); }
}

.bg__glow{
  position:absolute;
  inset:-25%;
  background:
    radial-gradient(1200px 800px at 22% 18%, rgba(120,255,245,0.22), transparent 60%),
    radial-gradient(1100px 820px at 78% 28%, rgba(170,120,255,0.22), transparent 55%),
    radial-gradient(900px 700px at 55% 85%, rgba(255,110,200,0.14), transparent 55%),
    radial-gradient(900px 600px at 45% 55%, rgba(255,255,255,0.04), transparent 55%);
  filter: blur(26px);
  opacity: 1;
}

.bg__grid{
  position:absolute;
  inset:0;
  opacity: 0.22;
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(
      to right,
      rgba(120,255,245,0.16) 0px,
      rgba(120,255,245,0.16) 1px,
      transparent 1px,
      transparent 70px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(170,120,255,0.14) 0px,
      rgba(170,120,255,0.14) 1px,
      transparent 1px,
      transparent 70px
    );
  transform-origin: center bottom;
  transform: perspective(980px) rotateX(64deg) translateY(23vh) scale(1.15);
  filter: blur(0.25px);
}

.bg__vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 85%, rgba(0,0,0,0.0), rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.30) 75%),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(0,0,0,0.32) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      transparent 2px,
      transparent 5px
    );
  opacity: 0.9;
}

.wrap{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 2;
  isolation: isolate;
}

/* Main panel */
.panel{
  width: min(520px, 92vw);
  border-radius: var(--r);
  position: relative;
  z-index: 5;
  overflow: hidden;

  background: linear-gradient(180deg, rgba(18, 24, 46, 0.86), rgba(12, 16, 32, 0.80));
  border: 1px solid rgba(120,255,245,0.20);

  box-shadow:
    0 28px 90px rgba(0,0,0,0.55),
    0 0 44px rgba(120,255,245,0.10),
    0 0 90px rgba(170,120,255,0.07),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(16px);
  padding: 18px 18px 14px;
}

.panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--r) + 2px);
  background: linear-gradient(90deg, rgba(120,255,245,0.65), rgba(170,120,255,0.55), rgba(255,110,200,0.38));
  filter: blur(22px);
  opacity: 0.55;
  pointer-events:none;
}

.panel__frame{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 1;
}

/* HUD corners */
.corner{
  position:absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(120,255,245,0.32);
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(120,255,245,0.18));
}
.corner--tl{ top: 10px; left: 10px; border-right:none; border-bottom:none; border-top-left-radius: 10px; }
.corner--tr{ top: 10px; right: 10px; border-left:none; border-bottom:none; border-top-right-radius: 10px; }
.corner--bl{ bottom: 10px; left: 10px; border-right:none; border-top:none; border-bottom-left-radius: 10px; }
.corner--br{ bottom: 10px; right: 10px; border-left:none; border-top:none; border-bottom-right-radius: 10px; }

/* Subtle moving scan lines inside panel */
.scan{
  position:absolute;
  left:-20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  opacity: 0.35;
  transform: rotate(-10deg);
}
.scan--a{ top: 26%; animation: scan 6.5s linear infinite; }
.scan--b{ top: 62%; animation: scan 8.2s linear infinite; opacity: 0.24; }

@keyframes scan{
  from { transform: translateX(-20%) rotate(-10deg); }
  to   { transform: translateX(20%) rotate(-10deg); }
}

/* Header */
.top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand__title{
  font-weight: 900;
  letter-spacing: 0.9px;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
}

.brand__accent{
  background: linear-gradient(90deg, rgba(120,255,245,1), rgba(170,120,255,1));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: 0 0 18px rgba(120,255,245,0.18);
}

.brand__tag{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

/* Status badge */
.status{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}

.status::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: rotate(18deg);
  opacity: 0.0;
}

body.is-online .status::before{
  opacity: 0.60;
  animation: shimmer 2.2s linear infinite;
}

@keyframes shimmer{
  from { transform: translateX(-60%) rotate(18deg); }
  to   { transform: translateX(220%) rotate(18deg); }
}

.status__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bad);
  box-shadow: 0 0 18px rgba(255,110,140,0.25);
}

.status[data-state="online"] .status__dot{
  background: var(--ok);
  box-shadow: 0 0 18px rgba(90,255,175,0.32);
}

.status__text{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,0.78);
}

/* Divider */
.divider{
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(120,255,245,0.30), rgba(170,120,255,0.28), rgba(255,110,200,0.18), transparent);
  position: relative;
  z-index: 2;
}

/* Now playing */
.now{
  position: relative;
  z-index: 2;
}

.now__label{
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.ticker{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  padding: 12px 12px;
}

.ticker::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(120,255,245,0.22), rgba(170,120,255,0.18), rgba(255,110,200,0.14));
  filter: blur(10px);
  opacity: 0.28;
  pointer-events:none;
}

.ticker__inner{
  display:inline-flex;
  align-items:center;
  gap: 18px;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 14s linear infinite;
}

.ticker__text{
  font-size: 16px;
  color: rgba(255,255,255,0.90);
  text-shadow: 0 0 14px rgba(120,255,245,0.08);
}

.ticker__sep{
  color: rgba(255,255,255,0.20);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.meta{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.meta__pill{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.16);
  border-radius: 999px;
  padding: 8px 12px;
}

.meta__pill--ghost{
  color: rgba(255,255,255,0.60);
}

/* Controls */
.controls{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  color: var(--text);
  border-radius: 16px;
  padding: 10px 15px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  user-select:none;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  position: relative;
  overflow: hidden;
}

.btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(90deg, rgba(120,255,245,0.22), rgba(170,120,255,0.18), rgba(255,110,200,0.14));
  filter: blur(12px);
  opacity: 0.0;
  pointer-events:none;
  transition: opacity 140ms ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(120,255,245,0.28);
  box-shadow: 0 0 0 3px rgba(120,255,245,0.10);
}

.btn:hover::before{ opacity: 0.38; }

.btn--ghost:hover{
  border-color: rgba(170,120,255,0.26);
  box-shadow: 0 0 0 3px rgba(170,120,255,0.10);
}

.btn__icon{
  width: 18px;
  text-align:center;
  opacity: 0.92;
}

.volume{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.16);
}

.volume__label{
  font-size: 12px;
  color: var(--muted);
}

.volume__slider{
  width: 180px;
  accent-color: rgba(120,255,245,0.92);
}

/* Footer */
.foot{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.foot__line{ font-size: 12px;
	text-align: center;}
.muted{ color: var(--muted); }

/* Online pulse */
body.is-online .panel::before{
  opacity: 0.64;
  animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe{
  0%,100%{ filter: blur(22px); }
  50%{ filter: blur(26px); }
}

/* Responsive */
@media (max-width: 480px){
  .brand__title{ font-size: 20px; }
  .volume{ width: 100%; margin-left: 0; justify-content: space-between; }
  .volume__slider{ width: 60%; }
}

/* Station selector */
.stationbar{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stationbtn{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.14);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.stationbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(120,255,245,0.26);
  box-shadow: 0 0 0 3px rgba(120,255,245,0.08);
}

.stationbtn[data-active="1"]{
  color: rgba(255,255,255,0.92);
  border-color: rgba(120,255,245,0.30);
  box-shadow: 0 0 0 3px rgba(120,255,245,0.10);
}

/* Two station layout */
.panels{
  width: min(1100px, 96vw);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1180px){
  .panels{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .panel{
    width: auto; /* override fixed width inside panel */
  }
}

/* Per-panel online pulse (instead of whole body) */
.panel.is-online::before{
  opacity: 0.64;
  animation: breathe 2.6s ease-in-out infinite;
}


/* ===== Ultra premium header ===== */
.site-header{
  text-align:center;
  margin: 6px 0 16px;
  user-select:none;
}

.site-logo{
  display:inline-flex;
  align-items: baseline;
  gap: 10px;

  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  color: rgba(255,255,255,0.95);

  /* subtle premium glow */
  text-shadow:
    0 10px 40px rgba(0,0,0,0.35),
    0 0 22px rgba(120,255,245,0.10);
}

.site-logo .logo-accent{
  font-weight: 900;
  letter-spacing: 2.2px;

  /* premium gradient */
  background: linear-gradient(90deg, rgba(120,255,245,0.95), rgba(170,120,255,0.92));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;

  text-shadow: none;
}

.site-logo .logo-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 18px rgba(120,255,245,0.14);
  transform: translateY(-4px);
}

.site-sub{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.56);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== Ultra premium footer ===== */
.site-footer{
  text-align:center;
  margin: 34px 0 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 1.2px;
}

/* mobile */
@media (max-width: 480px){
  .site-logo{ font-size: 28px; letter-spacing: 1.2px; }
  .site-sub{ letter-spacing: 2.2px; }
}
/* Premium touches */

/* header divider line */
.site-header{
  position: relative;
  padding-bottom: 18px;
}
.site-header::after{
  content:"";
  display:block;
  width: min(520px, 70vw);
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, rgba(120,255,245,0.22), rgba(170,120,255,0.18), transparent);
  opacity: 0.7;
}

/* panel hover lift */
.panel{
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.panel:hover{
  transform: translateY(-3px);
  border-color: rgba(120,255,245,0.26);
  box-shadow:
    0 32px 100px rgba(0,0,0,0.58),
    0 0 56px rgba(120,255,245,0.12),
    0 0 110px rgba(170,120,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* small station badge */
.station-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin-top: 8px;

  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.14);

  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.station-badge::before{
  content:"";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(120,255,245,0.75);
  box-shadow: 0 0 16px rgba(120,255,245,0.18);
  opacity: 0.9;
}

/* ================================
   Winamp Modern inspired reskin
   (safe overrides, no layout break)
   ================================ */

/* Background a bit calmer */
.bg__grid { opacity: 0.10; }
.bg__glow { opacity: 0.85; }

/* Panel: "metal / acrylic" body */
.panel{
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(70, 78, 96, 0.35), rgba(10, 12, 20, 0.72) 55%, rgba(8, 10, 16, 0.86)),
    radial-gradient(900px 260px at 40% 0%, rgba(255,255,255,0.08), transparent 60%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 18px 70px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.45);
}

/* Replace neon frame with Winamp-like bevel */
.panel::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), transparent 18%, transparent 82%, rgba(0,0,0,0.30)),
    linear-gradient(90deg, rgba(255,255,255,0.06), transparent 16%, transparent 84%, rgba(0,0,0,0.28));
  opacity: 1;
  filter: none;
}

/* Corners and scans: make them more "HUD-lite" */
.corner{
  border-color: rgba(255,255,255,0.16);
  filter: none;
  opacity: 0.75;
}
.scan{
  opacity: 0.18;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

/* Header typography: Winamp-ish compact */
.brand__title{
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand__accent{
  background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(180,190,210,0.88));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(0,0,0,0.35);
}

/* Little "device label" under title */
.brand__tag{
  font-size: 11px;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.52);
}

/* Status badge: metallic capsule */
.status{
  border-radius: 10px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.22)),
    rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.35);
}
.status__text{
  font-weight: 900;
  letter-spacing: 1.3px;
  color: rgba(255,255,255,0.78);
}
.status__dot{
  width: 9px;
  height: 9px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
.status[data-state="online"] .status__dot{
  box-shadow: 0 0 12px rgba(90,255,175,0.25);
}
.status[data-state="offline"] .status__dot{
  box-shadow: 0 0 12px rgba(255,110,140,0.20);
}

/* Divider: brushed metal line */
.divider{
  height: 1px;
  margin: 12px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  opacity: 0.9;
}

/* Ticker: LCD/Winamp display */
.ticker{
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.65);
  background:
    linear-gradient(180deg, rgba(30, 38, 22, 0.92), rgba(12, 16, 10, 0.92)),
    radial-gradient(500px 90px at 40% 25%, rgba(180,255,120,0.10), transparent 60%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -2px 0 rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
}

.ticker::before{ display:none; } /* kill neon blur frame */

.ticker__text{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.6px;
  color: rgba(190, 255, 150, 0.92);
  text-shadow: 0 0 10px rgba(120,255,180,0.08);
}
.ticker__sep{
  color: rgba(190, 255, 150, 0.40);
}

/* Meta pills: small plastic labels */
.meta__pill{
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Buttons: Winamp-style plastic with bevel */
.btn{
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.70);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.30)),
    rgba(30, 36, 48, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -2px 0 rgba(0,0,0,0.45),
    0 8px 18px rgba(0,0,0,0.35);
  transition: transform 100ms ease, filter 120ms ease;
}
.btn::before{ display:none; } /* remove neon blur */
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0px); filter: brightness(0.98); }

.btn--ghost{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.34)),
    rgba(20, 24, 34, 0.55);
}

/* Volume: more device-like */
.volume{
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.22)),
    rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.volume__label{
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.volume__slider{
  accent-color: rgba(190,255,150,0.85);
}

/* Optional: tiny equalizer bars in the top-right of each panel */
.top{
  position: relative;
}


/* ===================================

   TV / Portal layout: 2 on top, 1 bottom

   Works even if TV browser reports small viewport

   =================================== */



/* Start 2-column earlier (TV browsers often have 960-1280 CSS px width) */

@media (min-width: 980px) {

  .panels{

    width: min(1180px, 96vw) !important;

    margin: 0 auto !important;



    display: grid !important;

    grid-template-columns: 1fr 1fr !important;

    gap: 26px !important;



    align-items: start !important;

    justify-content: center !important;

  }



  /* Make sure panels are allowed to shrink to fit 2 columns */

  .panel.wa{

    width: auto !important;

    max-width: none !important;

    min-width: 0 !important;

  }



  /* Third station centered under two */

  .panel.wa:nth-child(3){

    grid-column: 1 / span 2 !important;

    width: min(560px, 62%) !important;

    margin: 0 auto !important;

  }

}



/* Optional: if you ever add a 4th station, it will continue as a normal grid item */


.total-listeners{

  margin-top: 6px;

  font-size: 14px;

  letter-spacing: 3px;

  color: rgba(255,255,255,0.65);

  text-align: center;

  font-weight: 500;

}



#totalListeners{

  color: #8fffd4;

  font-weight: 700;

}
/* switch buttons */
.top-switch{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:15px;
}

.switch-btn{
  padding:8px 18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(0,0,0,0.25);
  color:#aaa;
  cursor:pointer;
  letter-spacing:2px;
}

.switch-btn.active{
  color:#9bffcc;
  border-color:#9bffcc;
  box-shadow:0 0 10px rgba(155,255,204,0.3);
}

/* hub container */
.hub-container{
  width:420px;
  margin:40px auto;
  padding:25px;
  border-radius:16px;
  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(14px);
  box-shadow:0 0 40px rgba(0,0,0,0.6);
  text-align:center;
}

.hub-title{
  font-size:26px;
  margin-bottom:20px;
  color:#9bffcc;
  letter-spacing:3px;
}

.hub-row{
  margin:12px 0;
  font-size:16px;
  color:#ddd;
}

.hub-row span{
  color:#888;
  margin-right:10px;
}

/* ===== Winamp-style top switch ===== */
.top-switch{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin-top: 14px;
}

.switch-btn{
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.28)),
    rgba(0,0,0,0.16);

  color: rgba(255,255,255,0.72);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;

  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -2px 0 rgba(0,0,0,0.45),
    0 10px 26px rgba(0,0,0,0.35);

  transition: transform 120ms ease, filter 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.switch-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(190,255,150,0.22);
}

.switch-btn:active{
  transform: translateY(0px);
  filter: brightness(0.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 6px 16px rgba(0,0,0,0.28);
}

/* Active tab = LCD green */
.switch-btn.active{
  border-color: rgba(190,255,150,0.30);
  color: rgba(190,255,150,0.92);

  background:
    radial-gradient(520px 90px at 35% 25%, rgba(180,255,120,0.12), transparent 60%),
    linear-gradient(180deg, rgba(30,38,22,0.92), rgba(12,16,10,0.94));

  text-shadow: 0 0 10px rgba(120,255,180,0.10);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -2px 0 rgba(0,0,0,0.55),
    0 0 0 3px rgba(190,255,150,0.06),
    0 14px 34px rgba(0,0,0,0.45);
}

/* Optional: tiny indicator dot on active */
.switch-btn.active::before{
  content:"";
  display:inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  margin-right: 10px;
  background: rgba(190,255,150,0.88);
  box-shadow: 0 0 12px rgba(120,255,180,0.16);
  transform: translateY(-1px);
}

/* ===== DC HUB card: left aligned + separators like logo line ===== */

.hub-container.hub-card{
  width: min(640px, 92vw);
  margin: 46px auto 0;
  padding: 26px 28px;
  border-radius: 18px;
  background: rgba(0,0,0,0.30);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  text-align: left;               /* <<< important */
}

.hub-title{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 36px;
  letter-spacing: 6px;
  color: rgba(190,255,150,0.92);
  text-align: center;
  margin-bottom: 18px;
}

/* key/value lines */
.hub-line{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
}

.hub-k{
  color: rgba(255,255,255,0.50);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

.hub-v{
  color: rgba(255,255,255,0.88);
  font-weight: 900;
  font-size: 18px;
}

.hub-v.mono{
  font-weight: 700;
}

/* separator lines like under logo */
.hub-sep{
  height: 1px;
  margin: 6px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  opacity: 0.9;
}

.hub-foot{
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,0.50);
  font-size: 12px;
  letter-spacing: 1px;
}

/* mobile */
@media (max-width: 520px){
  .hub-line{ grid-template-columns: 1fr; gap: 6px; }
  .hub-v{ font-size: 16px; }
  .hub-title{ font-size: 28px; letter-spacing: 5px; }
}