/* ============================================================
   Video Server Switcher Player — CSS
   Zid had l-code f: Appearance > Customize > Additional CSS
   wla f style.css dyal l-child theme
   ============================================================ */

.vsp-wrap {
  --vsp-bg: #0b0b0d;
  --vsp-bar-bg: #17171a;
  --vsp-accent: #b3141f;
  --vsp-accent-hover: #d4181f;
  --vsp-text: #e8e8ea;
  --vsp-text-dim: #9a9aa0;
  --vsp-border: #232326;
  max-width: 960px;
  margin: 0 auto;
  background: var(--vsp-bg);
  border-radius: 6px;
  overflow: hidden;
  font-family: -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.vsp-tabs {
  display: flex;
  flex-wrap: wrap;
  background: var(--vsp-bar-bg);
  border-bottom: 1px solid var(--vsp-border);
  padding: 0 4px;
}

.vsp-tab {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--vsp-text-dim);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
  border-radius: 4px 4px 0 0;
}

.vsp-tab:hover {
  color: var(--vsp-text);
  background: rgba(255,255,255,.04);
}

.vsp-tab.is-active {
  background: var(--vsp-accent);
  color: #fff;
}

.vsp-tab:focus-visible {
  outline: 2px solid var(--vsp-accent-hover);
  outline-offset: -2px;
}

.vsp-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vsp-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsp-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vsp-text-dim);
  font-size: 14px;
  gap: 8px;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.vsp-placeholder svg {
  width: 46px;
  height: 46px;
  opacity: .5;
}

@media (max-width: 520px) {
  .vsp-tab { padding: 11px 12px; font-size: 13px; }
}