/* ==========================================================================
   Radio Irmandade Roots — Refatoracao Visual de Elite (UI/UX)
   Paleta: --bg (#070b08), --s1 (#0d150f), --s2 (#132016), --s3 (#1a2b1e)
           --gold (#f2b230), --red (#e5412d), --grn (#2fb85a)
   Principio: ZERO BORDAS decorativas. Separacao por tom e sombras suaves.
   Desktop assimetrico de largura total; Coluna unica abaixo de 900px.
   Fonte: Outfit (Google Fonts).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg: #06100b;
  --s1: #091a12;
  --s2: #0e2419;
  --s3: #143022;
  --gold: #f2b230;
  --gold2: #c98f12;
  --tx: #f3efe3;
  --tx2: #c9d0c4;
  --mu: #8a9a8c;
  --red: #e5412d;
  --grn: #2fb85a;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--s3) var(--bg);
}

/* Barra de Rolagem de Elite Visivel (Sound System Dark Roots) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #06100b;
}

::-webkit-scrollbar-thumb {
  background: #1e3323;
  border-radius: 999px;
  border: 2px solid #06100b;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

#pg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 3px !important;
  width: 0%;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(90deg, var(--grn), var(--gold), var(--red)) !important;
  z-index: 99999 !important;
  pointer-events: none !important;
  transition: width 0.1s linear, opacity 0.25s ease !important;
  box-shadow: 0 0 10px rgba(47, 184, 90, 0.7), 0 0 4px rgba(242, 178, 48, 0.5) !important;
}

body.playing #pg,
body.tab-history-active #pg {
  opacity: 1 !important;
  visibility: visible !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

body {
  background: #06100b;
  color: var(--tx);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
input,
select,
textarea {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: inherit;
  background: none;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ==========================================================================
   Header de Largura Total Sticky (Marca | Abas | Status)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: clamp(8px, 1.3vh, 14px) clamp(16px, 3.5vw, 48px);
  width: 100%;
  flex-shrink: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: none;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efeito Glassmorphism da Navbar com Scroll Exclusivo da Seção História */
body.tab-history-active header.scrolled {
  background: rgba(7, 11, 8, 0.78) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gold);
  font-size: 17px;
  text-decoration: none;
}

.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(var(--grn), var(--gold), var(--red), var(--grn));
  display: grid;
  place-items: center;
  padding: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.brand .logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--s1);
  display: block;
}

nav.desktop-nav,
nav.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--s1);
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

nav.desktop-nav button,
nav.tab-nav button {
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mu);
  transition: background .2s, color .2s;
}

nav.desktop-nav button[aria-selected="true"],
nav.desktop-nav button.active,
nav.tab-nav button[aria-selected="true"],
nav.tab-nav button.active {
  background: var(--gold);
  color: #1a1202;
}

nav.desktop-nav button:hover:not([aria-selected="true"]):not(.active),
nav.tab-nav button:hover:not([aria-selected="true"]):not(.active) {
  color: var(--tx);
}

.status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--mu);
  background: var(--s1);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Ponto de status do header: Vermelho quando parado/pausado; VERDE quando tocando */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7);
  animation: pulse-red 1.8s infinite ease-in-out;
  transition: background .3s, box-shadow .3s;
  flex-shrink: 0;
}

body.playing .status .dot,
body.playing .live-dot,
body.playing .row.on .live-dot,
.status.playing .dot,
.status.is-playing .dot,
.live-dot.is-playing,
.dot.is-playing {
  background: var(--grn) !important;
  box-shadow: 0 0 0 0 rgba(47, 184, 90, 0.8) !important;
  animation: pulse-green 1.8s infinite ease-in-out !important;
}

.status.live {
  color: var(--tx);
}

/* Ponto da musica em reproducao na fila: Vermelho quando parado/pausado; VERDE quando tocando */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7);
  animation: pulse-red 1.8s infinite ease-in-out;
  transition: background .3s, box-shadow .3s;
  flex-shrink: 0;
}

.live-dot-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(47, 184, 90, 0.8);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(47, 184, 90, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(47, 184, 90, 0);
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(229, 65, 45, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 65, 45, 0);
  }
}

/* ==========================================================================
   Main & Estrutura de Abas
   ========================================================================== */
main {
  flex: 1;
  padding: 64px clamp(16px, 3.5vw, 48px) 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-height: 0;
}

section[hidden],
.tab-view[hidden] {
  display: none !important;
}

/* ==========================================================================
   Aba 1: RÁDIO (Layout Assimétrico Desktop - Sem Barra de Rolagem)
   ========================================================================== */
.radio {
  display: grid;
  grid-template-columns: minmax(320px, 5.2fr) 6.8fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: stretch;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
}

/* Coluna Esquerda: Tocador de Vinil */
.deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
  width: 100%;
  padding: 2px 0;
}

/* -------------------------------------------------------------
   BASE METALICA DO TOCA-DISCOS (Chassis Retangular Escuro Anodizado - Technics SL-1200)
   ------------------------------------------------------------- */
.vinyl-wrap.technics-deck-wrap,
.vinyl-wrap {
  position: relative;
  width: min(92%, 364px);
  height: min(78vh, 316px);
  max-width: 364px;
  max-height: 316px;
  margin: 18px auto 0;
  background: linear-gradient(155deg, #0e1713 0%, #07100c 50%, #050b08 100%);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.32),
    0 0 36px rgba(255, 255, 255, 0.14),
    0 20px 50px rgba(0, 0, 0, 0.95),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.32),
    inset 0 -2px 6px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: auto;
}

/* Oculta controles legados do turntable */
.technics-adapter-45,
.technics-power-strobe-unit,
.technics-speed-selector-3345 {
  display: none !important;
}

/* -------------------------------------------------------------
   CONTROLES DECORATIVOS DO EQUIPAMENTO (ALTA FIDELIDADE)
   ------------------------------------------------------------- */

/* 1. Botao circular superior esquerdo (Adaptador 45 RPM torneado com rebite) */
.technics-knob-top-left {
  display: block;
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  z-index: 12;
  pointer-events: none;
}

/* Cavidade / Rebaixo escuro usinado com reflexo da luz verde do prato */
.knob-tl-housing {
  position: absolute;
  top: 6px;
  left: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #050806 0%, #0a0e0c 60%, #151c18 100%);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.95),
    inset 0 0 10px rgba(0, 0, 0, 0.95),
    inset -2px -2px 6px rgba(0, 200, 117, 0.28),
    0 1px 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anel chanfrado de aluminio torneado com gradiente reflexivo */
.knob-tl-bezel {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 135deg, #f8fafc 0%, #cbd5e1 18%, #475569 35%, #94a3b8 50%, #ffffff 68%, #64748b 85%, #f8fafc 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.85),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.9),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.7);
  border: 0.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sulco circular intermediario escuro */
.knob-tl-groove {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nucleo central rebaixado em cone com sombreado torneado */
.knob-tl-cone {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #e2e8f0 0%, #64748b 20%, #1e293b 55%, #090d10 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ponto central usinado em aluminio polido brilhante */
.knob-tl-apex {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.95);
}

/* Parafuso/rebite metalico nordeste (~1:30) rente a borda da cavidade */
.knob-tl-stud {
  position: absolute;
  top: 7px;
  left: 35px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cbd5e1 35%, #64748b 70%, #1e293b 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0.5px 0.5px rgba(255, 255, 255, 0.8);
  border: 0.5px solid rgba(0, 0, 0, 0.6);
}

/* 2. Controle rotativo inferior esquerdo (Dial de ligar + LED indicador + seletor 33/45 RPM) */
.technics-control-bottom-left {
  display: block;
  position: absolute;
  bottom: 22px;
  left: 22px;
  width: 62px;
  height: 42px;
  z-index: 12;
  pointer-events: none;
}

/* Arco fino superior de escala angular */
.control-bl-arc {
  position: absolute;
  top: -6px;
  left: 10px;
  width: 22px;
  height: 10px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

/* Traco (tick) indicador central vermelho/laranja */
.control-bl-arc-tick {
  position: absolute;
  top: -2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 3.5px;
  background: #f04432;
  border-radius: 0.5px;
  box-shadow: 0 0 3px #f04432;
}

/* LED indicador vermelho/laranja luminoso com halo */
.control-bl-led {
  position: absolute;
  bottom: 31px;
  left: 35px;
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffffff 0%, #ff8566 30%, #ff3818 70%, #cc1e00 100%);
  box-shadow: 0 0 4px #ff3818,
    0 0 10px rgba(255, 56, 24, 0.9),
    0 0 20px rgba(255, 40, 0, 0.5);
}

/* Botao rotativo com anel cromado usinado */
.control-bl-dial {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #94a3b8 0%, #ffffff 25%, #475569 50%, #ffffff 75%, #94a3b8 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.85),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 0, 0, 0.8);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Face interna do botao preto escovado */
.control-bl-dial-face {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1c2024 0%, #0d0f11 70%, #050607 100%);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.95);
  position: relative;
}

/* Marcador vertical de indice branco */
.control-bl-dial-line {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 10px;
  background: #ffffff;
  border-radius: 1px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
}

/* Placa em baixo relevo com seletor 33/45 RPM */
.control-bl-speed-plate {
  position: absolute;
  bottom: 2px;
  left: 37px;
  width: 21px;
  height: 27px;
  border-radius: 4px;
  background: linear-gradient(145deg, #0f1315, #080a0b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.control-bl-speed-plate .speed-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Outfit', 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

/* Prato Technics SL-1200 */
.vinyl {
  width: 240px;
  height: 240px;
  min-width: 240px;
  max-width: 240px;
  min-height: 240px;
  max-height: 240px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: #090a0c;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 0 4px #18181b, 0 0 0 8px rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  animation: spin 1.8s linear infinite;
  /* Velocidade canônica Technics SL-1200 em 33 1/3 RPM */
  animation-play-state: paused !important;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body.playing .vinyl,
.deck.playing .vinyl,
.vinyl.is-spinning,
#vinyl-record.is-spinning,
body.playing #vinyl-record {
  animation-play-state: running !important;
}

body:not(.playing) .vinyl,
body:not(.playing) #vinyl-record,
.vinyl:not(.is-spinning),
#vinyl-record:not(.is-spinning) {
  animation-play-state: paused !important;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg) translateZ(0);
    transform: rotate(0deg) translateZ(0);
  }

  100% {
    -webkit-transform: rotate(360deg) translateZ(0);
    transform: rotate(360deg) translateZ(0);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg) translateZ(0);
    transform: rotate(0deg) translateZ(0);
  }

  100% {
    -webkit-transform: rotate(360deg) translateZ(0);
    transform: rotate(360deg) translateZ(0);
  }
}

/* Aro de Aluminio e Pontos Estroboscopicos */
.technics-strobe-rim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Sulcos e Textura de Vinil */
.vinyl-groove-overlay {
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #0c0d10 0px, #0c0d10 1.5px, #17181c 2px, #0a0a0c 3px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 3;
}

.vinyl-anisotropic-cone {
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  background: conic-gradient(from 25deg,
      transparent 0deg,
      rgba(255, 255, 255, 0.05) 30deg,
      transparent 65deg,
      transparent 180deg,
      rgba(255, 255, 255, 0.05) 210deg,
      transparent 245deg);
  pointer-events: none;
  z-index: 4;
}

/* Selo Central Reggae Vibrante (Irmandade Roots) */
.label.technics-roots-label {
  position: relative;
  width: 35% !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
  padding: 3px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.95) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 6 !important;
}

/* Selo Central do Vinil - Cores da Bandeira da Jamaica (Verde, Ouro e Preto) */
.label-reggae-tricolor,
.label-jamaica-flag {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 45deg,
      #009b3a 0deg 70deg,
      #fed100 70deg 90deg,
      #090a0c 90deg 160deg,
      #fed100 160deg 180deg,
      #009b3a 180deg 250deg,
      #fed100 250deg 270deg,
      #090a0c 270deg 340deg,
      #fed100 340deg 360deg);
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.8);
}

.label-core-disk {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}

.label-lion-svg {
  width: 42%;
  height: 42%;
  fill: #fed100;
  opacity: 0.96;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.85));
}

.label-curved-text-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Fuso Metalico Central Cromado (Spindle 3D) */
.label-spindle-hub {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cbd5e1 45%, #64748b 80%, #334155 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.spindle-center-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #090a0c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Oculta os componentes CSS antigos do braco legado */
.arm .arm-tube-highlight,
.arm .tonearm-counterweight-top,
.arm .arm-headshell-cartridge,
.arm::before {
  display: none !important;
}

/* Braco Mecanico de Leitura S-Shape de Alta Fidelidade (Technics SL-1200) */
.arm {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 85px;
  height: 185px;
  background: transparent;
  border: none;
  box-shadow: none;
  transform-origin: 56px 38px;
  /* Centro exato do eixo giratorio */
  transform: rotate(-14deg);
  /* Repouso no suporte quando pausado (fora do prato a direita) */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 15;
  pointer-events: none;
  will-change: transform;
}

.arm .tonearm-s-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.arm.is-playing {
  transition: transform 0.25s linear;
}

/* Microinteracao: Vibracao Suave da Agulha nos Sulcos */
.arm.is-playing .tonearm-headshell-group {
  animation: rumble-s-needle 0.12s linear infinite;
  will-change: transform;
}

@keyframes rumble-s-needle {

  0%,
  100% {
    transform: translate(24px, 158px) rotate(26deg) translateY(0);
  }

  50% {
    transform: translate(24px, 158px) rotate(26deg) translateY(0.35px);
  }
}

/* Suporte de Repouso Fixo do Braco Technics SL-1200 (Arm Rest - 100% Imovel na Base do Chassi) */
.technics-arm-rest-fixed {
  position: absolute !important;
  top: 104px !important;
  right: 18px !important;
  width: 16px !important;
  height: 28px !important;
  z-index: 12 !important;
  pointer-events: none !important;
}

.technics-arm-rest-fixed svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.np {
  text-align: center;
  max-width: 100%;
  padding: 0 8px;
}

.np h1 {
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}

.np p {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .15em;
  font-size: 11.5px;
  margin-top: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}

.track-title-group {
  display: block;
  text-align: center;
}

.track-eq-indicator {
  display: none;
}

.track-artist-row {
  display: block;
  text-align: center;
  position: relative;
}

.track-favorite-btn {
  display: none;
}

/* Controles de Reproducao */
.controls {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}

.ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mu);
  background: var(--s1);
  transition: background .2s, color .2s, transform .15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.ic:hover {
  color: var(--tx);
  background: var(--s2);
  transform: scale(1.05);
}

.ic[aria-pressed="true"],
.ic.is-active {
  color: var(--gold);
  background: var(--s2);
}

.ic svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1202;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(242, 178, 48, 0.35);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}

.play:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(242, 178, 48, 0.5);
}

.play:active {
  transform: scale(.95);
}

.play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hidden {
  display: none !important;
}

/* Volume Integrado */
.vol {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--s1);
  padding: 0 12px 0 4px;
  border-radius: 999px;
  height: 38px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.vol .mute-btn {
  background: none;
  box-shadow: none;
  width: 30px;
  height: 30px;
}

.vol .mute-btn.is-muted svg {
  color: var(--red);
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: var(--s3);
  height: 4px;
  border-radius: 4px;
  width: 72px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: transform .1s;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
}

/* Botao de Vinheta (Ducking) */
.jingle-btn svg {
  width: 19px;
  height: 19px;
}

.jingle-banner {
  display: none !important;
}

/* Coluna Direita: Visualizador e Fila */
.side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
  justify-content: stretch;
  min-height: 0;
}

.sp {
  width: min(780px, 100%);
  background: radial-gradient(500px 160px at 50% 100%, #f2b23014, transparent 70%), var(--bg);
  border-radius: 20px;
  padding: 12px 18px 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  box-sizing: border-box;
}

.sp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sp-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mu);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.sp-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mu);
  display: inline-block;
}

.on .sp-live {
  color: var(--tx);
}

.on .sp-live i,
.sp-live.on i,
body.playing .sp-live i {
  background: var(--grn) !important;
  animation: p-green 1.6s infinite !important;
}

body:not(.playing) .sp-live:not(.on) i,
.sp-live:not(.on) i {
  background: var(--red) !important;
  box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7) !important;
  animation: none !important;
}

@keyframes p-green {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 184, 90, 0.8);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(47, 184, 90, 0);
  }
}

.sp-hq {
  background: #2fb85a22;
  color: var(--grn);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 184, 90, 0.3);
}

canvas#cv {
  display: block;
  width: 100%;
  height: 100px;
}

.sp-times {
  display: flex;
  justify-content: space-between;
  color: var(--mu);
  font-size: 12px;
  letter-spacing: .1em;
  margin-top: 6px;
}

@media(prefers-reduced-motion:reduce) {
  .on .sp-live i {
    animation: none;
  }
}

.viz {
  background: var(--s1);
  border-radius: 18px;
  padding: 8px 16px 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

canvas#visualizer-canvas {
  width: 100%;
  height: 48px;
  display: block;
  border-radius: 8px;
}

.times {
  display: flex;
  justify-content: space-between;
  color: var(--mu);
  font-size: 11px;
  letter-spacing: .08em;
  margin-top: 3px;
  font-weight: 600;
}

.bar {
  height: 4px;
  background: var(--s3);
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}

.bar b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.3s linear;
}

/* Fila de Reproducao NA FREQUENCIA e Historico JA TOCADAS (Mostra as 10 Faixas) */
.queue {
  background: var(--s1);
  border-radius: 18px;
  padding: 10px 14px 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.queue-header-nav {
  padding: 0 4px 6px;
  flex-shrink: 0;
}

.queue-tabs {
  display: flex;
  gap: 4px;
  background: var(--s2);
  padding: 3px;
  border-radius: 999px;
}

.queue-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--mu);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.queue-tab-btn:hover {
  color: var(--tx);
}

.queue-tab-btn.active {
  background: var(--s1);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.queue-tab-btn .q-badge {
  background: rgba(242, 178, 48, 0.15);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.queue-tab-btn:not(.active) .q-badge {
  background: var(--s3);
  color: var(--mu);
}

.tab-content-queue {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tab-content-queue[hidden] {
  display: none !important;
}

.time-ago {
  color: var(--mu);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.queue-empty-state {
  text-align: center;
  padding: 20px 16px;
  color: var(--mu);
  font-size: 12px;
  line-height: 1.5;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.queue-list::-webkit-scrollbar {
  width: 4px;
}

.queue-list::-webkit-scrollbar-thumb {
  background: var(--s3);
  border-radius: 4px;
}

.row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background .15s;
  cursor: pointer;
  background: none;
  min-width: 0;
  height: 27px;
  flex-shrink: 0;
}

.row:hover {
  background: var(--s2);
}

.history-row:hover .history-play-icon {
  color: var(--gold);
  transform: scale(1.15);
}

.history-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, color .15s ease;
  color: var(--mu);
}

.row .n {
  color: var(--mu);
  font-size: 10.2px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* Alinhamento estrito em linha unica: musica - cantor (banda) */
.track-line {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  width: 100%;
  gap: 0;
}

.t-artist {
  font-weight: 600;
  font-size: 11.7px;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  max-width: 62%;
}

.row.on .t-artist {
  color: var(--gold);
}

.t-sep {
  color: var(--mu);
  font-size: 11.7px;
  font-weight: 500;
  white-space: pre;
  flex-shrink: 0;
}

.t-name {
  color: var(--tx2);
  font-size: 11.2px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

.row.on .t-name {
  color: rgba(242, 178, 48, 0.88);
}

/* ==========================================================================
   Painel LED Marquee de Bordoes dos DJs do Maranhao (Somente Desktop)
   Estilo: Fita LED Branco Brilhante Neon (Pedra DJ Sound System)
   ========================================================================== */
.desktop-only-marquee {
  display: none !important;
}

.mobile-only-marquee {
  display: none !important;
}

@media (min-width: 769px) {
  .desktop-only-marquee {
    display: block !important;
    margin-top: 8px;
    flex-shrink: 0;
  }
}

.dj-marquee-container {
  width: 100%;
  cursor: default;
}

.dj-marquee-led-frame {
  background: rgba(5, 10, 6, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-height: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dj-marquee-container.is-active .dj-marquee-led-frame {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 255, 255, 0.08);
}

.dj-marquee-led-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #ffb91f;
  box-shadow: 0 0 6px #ffb91f, 0 0 10px rgba(0, 217, 139, 0.7);
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dj-marquee-container.is-active .dj-marquee-led-dot {
  opacity: 1;
  animation: dj-led-pulse 1.6s infinite ease-in-out;
}

@keyframes dj-led-pulse {

  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
    box-shadow: 0 0 6px #ffb91f, 0 0 10px rgba(0, 217, 139, 0.6);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 9px #ffd34a, 0 0 16px rgba(255, 185, 31, 0.95);
  }
}

.dj-marquee-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dj-marquee-content {
  display: inline-block;
  white-space: nowrap;
  color: #ffb91f;
  font-family: 'Outfit', sans-serif;
  font-size: 12.8px;
  /* +1pt de aumento solicitado */
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 185, 31, 0.9), 0 0 16px rgba(255, 185, 31, 0.5), 0 0 24px rgba(0, 217, 139, 0.35);
  will-change: transform, opacity;
  opacity: 0;
  user-select: none;
}


.row b {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row small {
  color: var(--mu);
  margin-left: 8px;
  font-size: 13px;
  font-weight: 400;
}

.row.on {
  background: linear-gradient(90deg, rgba(242, 178, 48, 0.17), rgba(242, 178, 48, 0.03));
}

.row.on b {
  color: var(--gold);
}

.tag {
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 4px;
  color: #fff;
  display: inline-block;
}

.eq-anim {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
  margin-left: 8px;
}

.eq-anim i {
  width: 3px;
  background: var(--gold);
  height: 30%;
  animation: bar-beat 0.9s infinite alternate paused;
  border-radius: 1px;
}

body.playing .eq-anim i,
.deck.playing .eq-anim i {
  animation-play-state: running;
}

.eq-anim i:nth-child(2) {
  animation-delay: .3s;
}

.eq-anim i:nth-child(3) {
  animation-delay: .6s;
}

@keyframes bar-beat {
  to {
    height: 100%;
  }
}

/* ==========================================================================
   Aba 2: EQUALIZADOR (Bandas Verticais + Presets)
   ========================================================================== */
.panel {
  max-width: 1100px;
  margin: 24px auto;
  display: grid;
  gap: 20px;
  width: 100%;
}

.panel h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--gold);
}

.eq-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.save-eq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--s1);
  color: var(--gold);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all .2s ease-out;
  cursor: pointer;
}

.save-eq-btn:hover {
  background: var(--s2);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.save-eq-btn:active {
  transform: translateY(0);
}

.save-eq-btn.saved {
  background: var(--grn);
  color: #070b08;
  box-shadow: 0 0 14px rgba(47, 184, 90, 0.6);
}

.chip {
  background: var(--s1);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--tx);
  transition: background .2s, color .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.chip:hover,
.chip.active,
.chip.on {
  background: var(--gold);
  color: #1a1202;
}

.bands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: var(--s1);
  padding: 32px 24px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--mu);
  font-size: 13px;
}

.band span.band-val {
  font-weight: 600;
  color: var(--tx);
  font-size: 13px;
  min-width: 48px;
  text-align: center;
}

.band input {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 5px;
  height: 160px;
  -webkit-appearance: none;
  background: var(--s3);
  border-radius: 5px;
}

.band input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: transform .1s;
}

.band input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.band input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
}

.band span.band-freq {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .05em;
}

/* ==========================================================================
   Aba 3: HISTÓRIA DO REGGAE NO MARANHÃO (irmandade-roots-historia.html)
   ========================================================================== */
#tab-history {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#tab-history .hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 5vw, 96px);
  align-items: end;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 56px) 36px;
}

#tab-history .tag {
  display: inline-block;
  background: var(--s2);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

#tab-history h1.history-main-title {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
}

#tab-history h1.history-main-title em {
  font-style: normal;
  color: var(--gold);
}

#tab-history .lead {
  color: var(--tx2);
  font-size: clamp(15px, 1.25vw, 18px);
  max-width: 48ch;
  line-height: 1.6;
}

#tab-history .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

#tab-history .stats div {
  background: var(--s1);
  border-radius: 16px;
  padding: 14px;
}

#tab-history .stats b {
  display: block;
  font-size: 22px;
  color: var(--gold);
  line-height: 1.1;
}

#tab-history .stats span {
  font-size: 11px;
  color: var(--mu);
  letter-spacing: .06em;
}

#tab-history .wrap {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: 0 clamp(16px, 4vw, 56px) 60px;
}

#tab-history .idx {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

#tab-history .idx small {
  color: var(--mu);
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 8px;
}

#tab-history .idx a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--mu);
  transition: .2s;
  text-decoration: none;
}

#tab-history .idx a:hover {
  color: var(--tx);
  background: var(--s1);
}

#tab-history .idx a.on {
  background: var(--s2);
  color: var(--gold);
  font-weight: 600;
}

#tab-history .eixo {
  display: grid;
  grid-template-columns: minmax(220px, 3fr) 7fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 48px 0;
  background: linear-gradient(var(--s3), var(--s3)) top / 100% 1px no-repeat;
  scroll-margin-top: 85px;
}

#tab-history .eixo:first-child {
  background: none;
  padding-top: 8px;
}

#tab-history .eh {
  align-self: start;
  position: sticky;
  top: 90px;
}

#tab-history .badge {
  display: inline-block;
  background: var(--gold);
  color: #1a1202;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 3px 10px;
  border-radius: 6px;
}

#tab-history h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  margin: 12px 0 8px;
  color: var(--tx);
}

#tab-history .sub {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

#tab-history .eb>*+* {
  margin-top: 18px;
}

#tab-history .eb p,
#tab-history .eb li {
  color: var(--tx2);
  font-size: 16px;
  max-width: 72ch;
  line-height: 1.7;
}

#tab-history .eb strong {
  color: var(--tx);
  font-weight: 600;
}

#tab-history .eb ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

#tab-history .eb li {
  background: var(--s1);
  border-radius: 16px;
  padding: 16px 20px;
}

#tab-history .eb li strong:first-child {
  color: var(--gold);
}

#tab-history .tw {
  overflow-x: auto;
  background: var(--s1);
  border-radius: 20px;
  padding: 8px;
}

#tab-history table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
}

#tab-history th {
  text-align: left;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  padding: 12px 16px;
}

#tab-history td {
  padding: 14px 16px;
  color: var(--tx2);
  vertical-align: top;
}

#tab-history tbody tr:nth-child(odd) {
  background: var(--s2);
}

#tab-history tbody tr td:first-child {
  color: var(--tx);
  font-weight: 600;
  border-radius: 12px 0 0 12px;
}

#tab-history tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
}

#tab-history .gl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

#tab-history .gl div {
  background: var(--s1);
  border-radius: 18px;
  padding: 18px 20px;
}

#tab-history .gl b {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

#tab-history .gl span {
  color: var(--tx2);
  font-size: 14px;
  line-height: 1.5;
  display: block;
}

@media (max-width: 1000px) {

  #tab-history .hero,
  #tab-history .wrap,
  #tab-history .eixo {
    grid-template-columns: 1fr;
  }

  #tab-history .idx {
    display: none;
  }

  #tab-history .eh {
    position: static;
  }

  #tab-history .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {

  #tab-history .eb p,
  #tab-history .eb li {
    font-size: 15px;
  }

  #tab-history table {
    min-width: 0;
  }

  #tab-history thead {
    display: none;
  }

  #tab-history table,
  #tab-history tbody,
  #tab-history tr,
  #tab-history td {
    display: block;
  }

  #tab-history tr {
    margin-bottom: 10px;
    border-radius: 14px;
    padding: 6px 0;
  }

  #tab-history td {
    padding: 6px 16px;
  }

  #tab-history td::before {
    content: attr(data-l);
    display: block;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .14em;
    font-weight: 800;
  }

  #tab-history tbody tr td:first-child,
  #tab-history tbody tr td:last-child {
    border-radius: 0;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  text-align: center;
  padding: clamp(6px, 1vh, 10px) 16px clamp(6px, 1vh, 12px);
  color: var(--mu);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 600;
  flex-shrink: 0;
}

.flag {
  display: flex;
  width: 90px;
  height: 3px;
  margin: 4px auto 0;
  border-radius: 3px;
  overflow: hidden;
}

.flag i {
  flex: 1;
}

/* ==========================================================================
   Responsividade & Modo Mobile (Referências: Spotify & YouTube Music)
   ========================================================================== */

/* Em telas desktop (acima de 768px), esconde elementos dedicados mobile */
@media (min-width: 769px) {

  .mobile-bottom-nav,
  .mobile-secondary-row,
  .mobile-vol-label,
  .mobile-waveform-card,
  .mobile-spectrum-signature,
  .mobile-screen-footer,
  .bottom-sheet,
  .sheet-backdrop {
    display: none !important;
  }

  .desktop-only-controls {
    display: flex !important;
    margin-bottom: 24px !important;
  }

  .desktop-footer {
    display: block !important;
  }

  .desktop-only-text {
    display: inline !important;
  }
}

/* Atalho 'Voltar a tela inicial': oculto por padrao (desktop e aba Radio) */
.mobile-back-home-btn {
  display: none;
}

/* Botao Menu Hamburguer Mobile: oculto por padrao no desktop */
.mobile-header-menu-btn {
  display: none;
}

/* Em telas mobile (768px e abaixo) */
@media (max-width: 768px) {

  /* Fundo Oficial Sound System em Efeito Degrade Suave Continuo (Sem Repeticao e Sem Destoar na Base) */
  html,
  body {
    background: #06100b !important;
    background-color: #06100b !important;
    background-image:
      radial-gradient(ellipse 120% 48% at 50% 10%, rgba(47, 184, 90, 0.2) 0%, rgba(20, 60, 38, 0.1) 42%, transparent 75%),
      linear-gradient(180deg, #102e1f 0%, #091a11 35%, #06100b 70%, #040906 100%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-size: 100% 100% !important;
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
    min-height: 100lvh !important;
    min-height: 100dvh !important;
    height: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
    touch-action: pan-x pan-y;
    padding: 0 !important;
    margin: 0 !important;
  }

  body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
    min-height: 100dvh !important;
    height: 100% !important;
    height: 100dvh !important;
  }

  .app-desktop-container,
  .app-workspace {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  body.tab-preamp-active,
  body.tab-history-active {
    height: auto !important;
    overflow-y: auto !important;
  }

  body.tab-preamp-active .app-desktop-container,
  body.tab-preamp-active .app-workspace,
  body.tab-history-active .app-desktop-container,
  body.tab-history-active .app-workspace {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: visible !important;
  }

  /* 1. TOPO DA TELA (Status e Limpeza Visual: NO AR a Esquerda + Logo Centralizada 92px Descida 1 Linha + Menu Hamburguer Dourado a Direita) */
  header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 22px 16px 2px !important;
    margin-bottom: 30px !important;
    /* Respiro pós logo calibrado (+1 linha adicional pós logo) */
    min-height: 104px !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 20 !important;
    flex-shrink: 0 !important;
  }

  /* Botao Menu Hamburguer Mobile (Canto Superior Direito - Cor Dourada Roots) */
  .mobile-header-menu-btn {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-top: 14px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    background: rgba(10, 24, 16, 0.85) !important;
    border: 1.5px solid rgba(242, 178, 48, 0.6) !important;
    color: #f2b230 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(242, 178, 48, 0.25) !important;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease !important;
    z-index: 25 !important;
  }

  .mobile-header-menu-btn:active {
    transform: scale(0.92) !important;
    background: rgba(242, 178, 48, 0.25) !important;
    border-color: #f2b230 !important;
  }

  .mobile-header-menu-btn svg {
    width: 22px !important;
    height: 22px !important;
    fill: #f2b230 !important;
  }

  body.tab-preamp-active .mobile-header-menu-btn,
  body.tab-history-active .mobile-header-menu-btn {
    display: none !important;
  }

  /* Medalha Circular da Logo Oficial Centralizada no Topo Mobile (Tamanho Original 92px Preservado) */
  header .brand {
    order: 2 !important;
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: calc(50% + 8px) !important;
    transform: translate(-50%, -50%) !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
  }

  header .brand span {
    display: none !important;
  }

  header .brand .logo {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;
    background: conic-gradient(#2fb85a, #f2b230, #e5412d, #2fb85a) !important;
    padding: 4px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8), 0 0 20px rgba(242, 178, 48, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  header .brand .logo picture,
  header .brand .logo img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.tab-preamp-active header .brand,
  body.tab-history-active header .brand {
    display: none !important;
  }

  /* Remove navbar do topo no mobile */
  header nav.desktop-nav {
    display: none !important;
  }

  /* Remove botao de curadoria do topo no mobile */
  .curadoria-badge-link {
    display: none !important;
  }

  /* Heuristicas de Nielsen (#3 Controle e liberdade, #4 Consistencia, #6 Reconhecimento, #7 Eficiencia):
     saida visivel de 1 toque em Equalizador e Historia, no canto superior esquerdo (padrao de 'voltar'),
     com alvo de toque minimo de 44px e mesmo vocabulario visual dos chips dourados do app. */
  body.tab-preamp-active .mobile-back-home-btn,
  body.tab-history-active .mobile-back-home-btn {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-right: auto !important;
    margin-top: 10px !important;
    min-height: 40px !important;
    padding: 0 14px 0 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(242, 178, 48, 0.4) !important;
    border-radius: 999px !important;
    color: var(--gold) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease !important;
  }

  .mobile-back-home-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
  }

  body.tab-preamp-active .mobile-back-home-btn:active,
  body.tab-history-active .mobile-back-home-btn:active {
    background: rgba(242, 178, 48, 0.2) !important;
    border-color: var(--gold) !important;
    transform: scale(0.97) !important;
  }

  body.tab-preamp-active .mobile-back-home-btn:focus-visible,
  body.tab-history-active .mobile-back-home-btn:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 3px !important;
  }

  /* Cabecalho fixo apenas nas abas secundarias: o botao segue acessivel durante a rolagem longa da Historia */
  body.tab-preamp-active header,
  body.tab-history-active header {
    position: sticky !important;
    top: 0 !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
    background: linear-gradient(180deg, rgba(7, 11, 8, 0.96) 0%, rgba(7, 11, 8, 0.85) 70%, rgba(7, 11, 8, 0) 100%) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-back-home-btn {
      transition: none !important;
    }
  }

  /* Oculta sufixo AO VIVO para exibir estritamente NO AR */
  .desktop-only-text {
    display: none !important;
  }

  /* Indicador de Transmissao: Realocado para o Canto Superior Esquerdo com Badge e LED Pulsante */
  #live-indicator {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: rgba(10, 24, 16, 0.75) !important;
    border: 1px solid rgba(47, 184, 90, 0.35) !important;
    border-radius: 20px !important;
    padding: 6px 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
    z-index: 25 !important;
    margin-right: auto !important;
    margin-top: 14px !important;
  }

  body.tab-preamp-active #live-indicator,
  body.tab-history-active #live-indicator {
    display: none !important;
  }

  #live-indicator .dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--grn) !important;
    box-shadow: 0 0 10px rgba(47, 184, 90, 0.95), 0 0 4px #2fb85a !important;
    animation: pulse-green 1.8s infinite ease-in-out !important;
  }

  #live-indicator .status-text {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    color: #e2ede5 !important;
    text-transform: uppercase !important;
    font-family: 'Outfit', sans-serif !important;
  }

  /* 2. Main e Layout do Player Central (Flexivel com Ancoragem de Rodape) */
  main {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 16px !important;
    justify-content: flex-start !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.tab-preamp-active main,
  body.tab-history-active main {
    padding: 8px 16px 40px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
  }

  .radio {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    gap: 0 !important;
  }

  /* Coluna Direita (Fila/Visualizador desktop) oculta no miolo mobile; vive na bottom sheet */
  .side {
    display: none !important;
  }

  .desktop-only-controls {
    display: none !important;
  }

  .desktop-footer {
    display: none !important;
  }

  .deck-side-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .deck {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 0 clamp(40px, calc(env(safe-area-inset-bottom, 0px) + 34px), 52px) 0 !important;
    box-sizing: border-box !important;
  }

  /* Letreiro Digital Mobile (Bordoes dos DJs do Maranhao) - Bordas Infinitas */
  .mobile-only-marquee {
    display: block !important;
    width: calc(100% + 32px) !important;
    max-width: none !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    margin-top: 2px !important;
    margin-bottom: 10px !important;
    /* Respiro pos letreiro calibrado (-1 linha, total 10px) */
    box-sizing: border-box !important;
    align-self: stretch !important;
    transform: none !important;
    flex-shrink: 0 !important;
  }

  .mobile-only-marquee .dj-marquee-led-frame {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: 6px 16px !important;
    /* Aumento em 0.5 (de 4px para 6px) no espaco interno inferior e superior */
    min-height: 32px !important;
    box-shadow: none !important;
    /* Removidas bordas e sombras que causavam sensacao de barra 3D */
    box-sizing: border-box !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
  }

  .mobile-only-marquee .dj-marquee-led-dot {
    width: 5px !important;
    height: 5px !important;
  }

  .mobile-only-marquee .dj-marquee-viewport {
    height: 22px !important;
    height: 25px !important;
  }

  .mobile-only-marquee .dj-marquee-content {
    font-size: clamp(10.8px, 3.1vw, 12.3px) !important;
    /* +1pt de aumento solicitado */
    font-size: clamp(12.1px, 3.5vw, 13.6px) !important;
    /* Aumento de +1pt na tipografia das frases */
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }

  /* 2. BASE METALICA DO TOCA-DISCOS (Chassis Retangular Escuro Anodizado - Espacamento Lateral Rigorosamente Simetrico) */
  .vinyl-wrap.technics-deck-wrap,
  .vinyl-wrap {
    position: relative !important;
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: calc(100vw - 32px) !important;
    height: clamp(285px, calc(min(calc(100vw - 32px), 360px) * 0.86), 312px) !important;
    margin: 10px auto 4px !important;
    box-sizing: border-box !important;
    background: linear-gradient(155deg, #0e1713 0%, #07100c 50%, #050b08 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 22px !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.32),
      0 0 36px rgba(255, 255, 255, 0.14),
      0 14px 42px rgba(0, 0, 0, 0.9),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.32),
      inset 0 -2px 6px rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .technics-arm-rest-fixed {
    top: 104px !important;
    right: 18px !important;
    width: 16px !important;
    height: 28px !important;
  }

  /* Disco de Vinil Centralizado sobre o Prato (Dentro do Chassi) */
  .vinyl,
  #vinyl-record {
    width: calc(min(60vw, 215px) + 8pt) !important;
    height: calc(min(60vw, 215px) + 8pt) !important;
    border-radius: 50% !important;
    background: #090a0c !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 0 4px #18181b, 0 0 0 7px rgba(0, 0, 0, 0.7) !important;
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    animation: spin 1.8s linear infinite !important;
    -webkit-animation: spin 1.8s linear infinite !important;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  body.playing .vinyl,
  .deck.playing .vinyl,
  .vinyl.is-spinning,
  #vinyl-record.is-spinning,
  body.playing #vinyl-record {
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
  }

  body:not(.playing):not(.is-playing) .vinyl:not(.is-spinning),
  body:not(.playing):not(.is-playing) #vinyl-record:not(.is-spinning) {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
  }

  .label,
  .label.technics-roots-label {
    width: 37% !important;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
    padding: 2.5px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.95) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 6 !important;
  }

  /* Oculta controles legados do turntable no mobile */
  .technics-adapter-45,
  .technics-power-strobe-unit,
  .technics-speed-selector-3345 {
    display: none !important;
  }

  /* -------------------------------------------------------------
     CONTROLES DECORATIVOS DO EQUIPAMENTO MOBILE (ALTA FIDELIDADE)
     ------------------------------------------------------------- */

  /* 1. Botao circular superior esquerdo (Adaptador 45 RPM torneado a ~10px do prato) */
  /* 1. Botao circular superior esquerdo (Adaptador 45 RPM torneado com espacamento simetrico) */
  .technics-knob-top-left {
    display: block !important;
    position: absolute !important;
    top: 22px !important;
    left: 38px !important;
    top: 16px !important;
    left: 16px !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 12 !important;
    pointer-events: none !important;
  }

  /* Cavidade / Rebaixo escuro usinado com reflexo da luz verde do prato */
  .knob-tl-housing {
    position: absolute !important;
    top: 6px !important;
    left: 2px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 45% 45%, #050806 0%, #0a0e0c 60%, #151c18 100%) !important;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.95),
      inset 0 0 10px rgba(0, 0, 0, 0.95),
      inset -2px -2px 6px rgba(0, 200, 117, 0.28),
      0 1px 1px rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Anel chanfrado de aluminio torneado com gradiente reflexivo */
  .knob-tl-bezel {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: conic-gradient(from 135deg, #f8fafc 0%, #cbd5e1 18%, #475569 35%, #94a3b8 50%, #ffffff 68%, #64748b 85%, #f8fafc 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.85),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.9),
      inset 0 -1.5px 2px rgba(0, 0, 0, 0.7) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Sulco circular intermediario escuro */
  .knob-tl-groove {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 1px solid #111827 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Cone central afundado (sunken cone) */
  .knob-tl-cone {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 45% 45%, #e2e8f0 0%, #64748b 20%, #1e293b 55%, #090d10 100%) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Ponto de luz no centro do cone (apex) */
  .knob-tl-apex {
    width: 2.5px !important;
    height: 2.5px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.95) !important;
  }

  /* Parafuso / rebite metalico no quadrante nordeste */
  .knob-tl-stud {
    position: absolute !important;
    top: 7px !important;
    left: 35px !important;
    width: 4.5px !important;
    height: 4.5px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cbd5e1 35%, #64748b 70%, #1e293b 100%) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0.5px 0.5px rgba(255, 255, 255, 0.8) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.6) !important;
  }

  /* 2. Controle inferior esquerdo (Botao rotativo, arco graduado, LED brilhante e placa 33/45 RPM a ~10px do prato) */
  /* 2. Controle inferior esquerdo (Botao rotativo, arco graduado, LED brilhante e placa 33/45 RPM com espacamento simetrico) */
  .technics-control-bottom-left {
    display: block !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 36px !important;
    bottom: 16px !important;
    left: 16px !important;
    width: 62px !important;
    height: 52px !important;
    z-index: 12 !important;
    pointer-events: none !important;
  }

  /* Arco superior curvado de graduacao */
  .control-bl-arc {
    position: absolute !important;
    bottom: 39px !important;
    left: 7px !important;
    width: 24px !important;
    height: 9px !important;
    border-top: 1.5px solid rgba(203, 213, 225, 0.75) !important;
    border-radius: 50% 50% 0 0 !important;
    display: flex !important;
    justify-content: center !important;
    pointer-events: none !important;
  }

  /* Traco (tick) indicador central vermelho/laranja */
  .control-bl-arc-tick {
    position: absolute !important;
    top: -2.5px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 1.5px !important;
    height: 3.5px !important;
    background: #f04432 !important;
    border-radius: 0.5px !important;
    box-shadow: 0 0 3px #f04432 !important;
  }

  /* LED indicador vermelho/laranja luminoso com halo */
  .control-bl-led {
    position: absolute !important;
    bottom: 31px !important;
    left: 35px !important;
    width: 5.5px !important;
    height: 5.5px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 40% 40%, #ffffff 0%, #ff8566 30%, #ff3818 70%, #cc1e00 100%) !important;
    box-shadow: 0 0 4px #ff3818,
      0 0 10px rgba(255, 56, 24, 0.9),
      0 0 20px rgba(255, 40, 0, 0.5) !important;
  }

  /* Botao rotativo com anel cromado usinado */
  .control-bl-dial {
    position: absolute !important;
    bottom: 2px !important;
    left: 2px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: conic-gradient(from 180deg, #94a3b8 0%, #ffffff 25%, #475569 50%, #ffffff 75%, #94a3b8 100%) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.85),
      inset 0 1px 1.5px rgba(255, 255, 255, 0.9),
      inset 0 -1px 2px rgba(0, 0, 0, 0.8) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Face interna do botao preto escovado */
  .control-bl-dial-face {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 50% 50%, #1c2024 0%, #0d0f11 70%, #050607 100%) !important;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.95) !important;
    position: relative !important;
  }

  /* Marcador vertical de indice branco */
  .control-bl-dial-line {
    position: absolute !important;
    top: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 1.5px !important;
    height: 10px !important;
    background: #ffffff !important;
    border-radius: 1px !important;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.8) !important;
  }

  /* Placa em baixo relevo com seletor 33/45 RPM */
  .control-bl-speed-plate {
    position: absolute !important;
    bottom: 2px !important;
    left: 37px !important;
    width: 21px !important;
    height: 27px !important;
    border-radius: 4px !important;
    background: linear-gradient(145deg, #0f1315, #080a0b) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
  }

  .control-bl-speed-plate .speed-num {
    font-family: -apple-system, BlinkMacSystemFont, 'Outfit', 'Inter', sans-serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.05em !important;
  }

  /* Oculta os componentes CSS antigos do braco desktop no mobile */
  .arm .arm-tube-highlight,
  .arm .tonearm-counterweight-top,
  .arm .arm-headshell-cartridge,
  .arm::before {
    display: none !important;
  }

  /* Braco Mecanico de Leitura S-Shape de Alta Fidelidade (Technics SL-1200) */
  .arm {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    right: 16px !important;
    width: 85px !important;
    height: 185px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform-origin: 56px 38px !important;
    /* Centro exato do eixo giratorio */
    transform: rotate(-14deg);
    /* Repouso no suporte quando pausado (fora do prato a direita) */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 15 !important;
    pointer-events: none !important;
    will-change: transform !important;
  }

  .arm .tonearm-s-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  .arm.is-playing {
    transition: transform 0.25s linear !important;
  }

  /* Microinteracao: Vibracao Suave da Agulha nos Sulcos */
  .arm.is-playing .tonearm-headshell-group {
    animation: rumble-s-needle 0.12s linear infinite !important;
    will-change: transform !important;
  }

  @keyframes rumble-s-needle {

    0%,
    100% {
      transform: translate(24px, 158px) rotate(26deg) translateY(0);
    }

    50% {
      transform: translate(24px, 158px) rotate(26deg) translateY(0.35px);
    }
  }

  /* 3. INFORMACOES DA FAIXA E CONTROLES SECUNDARIOS */
  .np {
    width: 100% !important;
    margin-top: clamp(10px, 1.8vh, 16px) !important;
    padding: 4px 16px 0 !important;
    text-align: center !important;
  }

  .np h1 {
    font-size: clamp(20px, 5.5vw, 24px) !important;
    font-weight: 700 !important;
    color: #f0f4f1 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .np p {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(242, 178, 48, 0.95) !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-top: 4px !important;
  }

  .track-artist-row {
    margin-bottom: clamp(10px, 1.6vh, 14px) !important; /* Espacamento equilibrado e simetrico */
  }

  /* Linha de Controle Rapido (Volume Minimalista com Thumb Amarelo Neon - Sem Shuffle no Mobile) */
  .mobile-secondary-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto clamp(12px, 1.8vh, 16px) !important; /* Espacamento simetrico entre cantor e volume */
  }

  .mobile-vol-label {
    display: block !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: rgba(148, 163, 152, 0.8) !important;
    line-height: 1 !important;
    text-align: center !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  .mobile-ic-shuffle {
    display: none !important;
  }

  .mobile-ic-shuffle svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
  }

  .mobile-ic-shuffle.is-active,
  .mobile-ic-shuffle[aria-pressed="true"] {
    color: var(--gold) !important;
    filter: drop-shadow(0 0 6px rgba(242, 178, 48, 0.6)) !important;
  }

  .mobile-vol-slider-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .mobile-vol-icon-min,
  .mobile-vol-icon-max {
    width: 15px !important;
    height: 15px !important;
    fill: #7f8c81 !important;
    flex-shrink: 0 !important;
  }

  #mobile-volume-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border-radius: 2px !important;
    outline: none !important;
    cursor: pointer !important;
  }

  #mobile-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #f2b230 !important;
    box-shadow: 0 0 10px rgba(242, 178, 48, 0.9), 0 0 2px #fff !important;
    cursor: pointer !important;
    transition: transform .1s !important;
  }

  #mobile-volume-slider::-moz-range-thumb {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #f2b230 !important;
    box-shadow: 0 0 10px rgba(242, 178, 48, 0.9) !important;
    cursor: pointer !important;
    border: none !important;
  }

  /* Rodape do Miolo: Card Visualizador Spectrum Reggae Mobile (Fiel ao Padrao Desktop em Alta Fidelidade) */
  /* Rodape do Miolo: Card Visualizador Spectrum Reggae Mobile (Alinhamento e Margens Rigorosamente Simetricos) */
  .mobile-waveform-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: clamp(4px, 1vh, 8px) auto 0 !important;
    background: #06100b !important;
    background: radial-gradient(ellipse 120% 80% at 50% 100%, rgba(47, 184, 90, 0.08) 0%, #06100b 80%) !important;
    border: 1px solid rgba(7, 91, 60, 0.45) !important;
    border-radius: 14px !important;
    padding: 8px 12px 6px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  canvas#mobile-waveform-canvas {
    width: 100% !important;
    height: 52px !important;
    display: block !important;
    border-radius: 4px !important;
  }

  .mobile-sp-times {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    color: var(--mu) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Outfit', 'Inter', monospace, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    margin-top: 3px !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }

  .mobile-sp-times span {
    display: inline-block !important;
  }

  /* Blindagem da barra/assinatura inferior mobile em qualquer aparelho (iPhone com Dynamic Island/Home Bar, Android, simuladores) - Padrao Oficial TM Santa Barbara */
  .mobile-spectrum-signature {
    position: fixed !important;
    bottom: clamp(14px, calc(env(safe-area-inset-bottom, 0px) + 12px), 20px) !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding-top: 4px !important;
    padding-bottom: 2px !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    z-index: 30 !important;
    background: transparent !important;
    pointer-events: none !important;
  }

  .mobile-spectrum-signature .footer-rasta-line {
    display: block !important;
    width: 20px !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, #2fb85a, #f2b230, #e5412d) !important;
    border-radius: 2px !important;
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
  }

  .mobile-spectrum-signature .mobile-sig-text {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    color: var(--mu) !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  /* 4. BOTTOM TAB BAR FIXA: Removida definitivamente (Play/Pause no toca-discos e Menu no topo) */
  .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }

  .mobile-nav-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    min-height: 56px !important;
  }

  .mobile-nav-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-nav-col.side-left,
  .mobile-nav-col.side-right {
    flex: 1 !important;
  }

  .mobile-nav-col.side-left {
    justify-content: flex-start !important;
    padding-left: 6px !important;
  }

  .mobile-nav-col.side-right {
    justify-content: flex-end !important;
    padding-right: 6px !important;
  }

  .mobile-nav-col.center-playback {
    flex: 0 0 auto !important;
    justify-content: center !important;
  }

  .mobile-action-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: none !important;
    border: none !important;
    color: #8fa091 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform .12s ease, color .18s ease !important;
  }

  .mobile-action-btn:active {
    transform: scale(0.92) !important;
  }

  .mobile-action-circle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(242, 178, 48, 0.08) !important;
    border: 1px solid rgba(242, 178, 48, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
  }

  .mobile-action-circle svg {
    width: 22px !important;
    height: 22px !important;
    fill: var(--gold, #f2b230) !important;
    color: var(--gold, #f2b230) !important;
    filter: drop-shadow(0 0 6px rgba(242, 178, 48, 0.45)) !important;
    transition: all 0.2s ease !important;
  }

  .mobile-action-btn:hover .mobile-action-circle,
  .mobile-action-btn:focus .mobile-action-circle {
    background: rgba(242, 178, 48, 0.18) !important;
    border-color: var(--gold, #f2b230) !important;
    transform: scale(1.05) !important;
  }

  .mobile-action-btn:hover .mobile-action-circle svg,
  .mobile-action-btn:focus .mobile-action-circle svg {
    fill: #ffffff !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(242, 178, 48, 0.8)) !important;
  }

  .mobile-action-btn span {
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #8fa091 !important;
    letter-spacing: 0.04em !important;
    font-family: 'Outfit', sans-serif !important;
    transition: color 0.18s ease !important;
  }

  .mobile-action-btn:hover span,
  .mobile-action-btn:focus span {
    color: #e2ede4 !important;
  }

  /* Botão Play/Pause Prominente Central (Amarelo / Dourado Neon Oficial) */
  .mobile-nav-btn.play-prominent {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 12px !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-nav-btn.play-prominent .mobile-play-circle {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: var(--gold, #f2b230) !important;
    box-shadow: 0 4px 22px rgba(242, 178, 48, 0.55), 0 0 12px rgba(242, 178, 48, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease !important;
  }

  .mobile-nav-btn.play-prominent:hover .mobile-play-circle {
    transform: scale(1.04) !important;
    background: #ffbe3d !important;
    box-shadow: 0 6px 26px rgba(242, 178, 48, 0.7), 0 0 16px rgba(242, 178, 48, 0.45) !important;
  }

  .mobile-nav-btn.play-prominent:active .mobile-play-circle {
    transform: scale(0.94) !important;
  }

  .mobile-nav-btn.play-prominent .mobile-play-circle svg {
    width: 26px !important;
    height: 26px !important;
    fill: #0c150e !important;
  }

  .mobile-nav-btn.play-prominent span {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #b5c2b6 !important;
    letter-spacing: 0.05em !important;
    font-family: 'Outfit', sans-serif !important;
    margin-top: 2px !important;
  }

  /* 6. ASSINATURA DE RODAPÉ (Na base da Tab Bar) */
  .mobile-signature span {
    display: none !important;
  }

  .mobile-signature {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin-top: 6px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #58655a !important;
    letter-spacing: 0.15em !important;
    text-align: center !important;
  }

  .mobile-signature .flag {
    display: flex !important;
    width: 88px !important;
    height: 2.5px !important;
    border-radius: 2px !important;
    overflow: hidden !important;
  }

  .mobile-signature .flag i {
    flex: 1 !important;
  }

  /* 5. GAVETA BOTTOM SHEET (Menu Completo Mobile) */
  .sheet-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 150 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .sheet-backdrop.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .bottom-sheet {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 84vh !important;
    background: #06100b !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9) !important;
    z-index: 160 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1) !important;
  }

  .bottom-sheet.open {
    transform: translateY(0) !important;
  }

  .sheet-drag-handle {
    width: 38px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    margin: 10px auto 4px !important;
  }

  .sheet-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 16px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .sheet-header-left {
    display: flex !important;
    align-items: center !important;
  }

  .sheet-header-left,
  .sheet-home-btn,
  .sheet-return-home-bar,
  .sheet-return-home-action {
    display: none !important;
  }

  .sheet-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #8a958b !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .sheet-close-btn {
    background: none !important;
    border: none !important;
    color: #8a958b !important;
    padding: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sheet-close-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
  }

  .bottom-sheet-nav {
    display: flex !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(0, 0, 0, 0.2) !important;
  }

  .sheet-tab-btn {
    flex: 1 !important;
    padding: 8px 10px !important;
    background: var(--s1) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 999px !important;
    color: var(--mu) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
  }

  .sheet-tab-btn.active {
    background: var(--gold) !important;
    color: #1a1202 !important;
    border-color: var(--gold) !important;
  }

  .sheet-body {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 16px 24px !important;
  }

  .sheet-panel[hidden] {
    display: none !important;
  }

  .sheet-panel.active {
    display: block !important;
  }

  .sheet-panel-notice {
    padding: 24px 16px !important;
    text-align: center !important;
  }

  .sheet-panel-notice h4 {
    font-size: 16px !important;
    color: var(--gold) !important;
    margin-bottom: 8px !important;
  }

  .sheet-panel-notice p {
    font-size: 13px !important;
    color: var(--mu) !important;
    margin-bottom: 18px !important;
  }

  .sheet-action-btn {
    padding: 10px 22px !important;
    background: var(--gold) !important;
    color: #1a1202 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    box-shadow: 0 4px 14px rgba(242, 178, 48, 0.3) !important;
  }

  /* Footer de Telas Mobile: Desenvolvido por Autonomous IA (Apenas Telas Mobile) */
  .mobile-screen-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 24px 12px 32px !important;
    margin: 16px auto 0 !important;
    box-sizing: border-box !important;
  }

  .mobile-screen-footer .mobile-credit-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    color: var(--mu, #8a9a8c) !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(4, 10, 7, 0.75) !important;
    border: 1px solid rgba(7, 91, 60, 0.45) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  .mobile-screen-footer .mobile-credit-box:hover,
  .mobile-screen-footer .mobile-credit-box:active {
    background: rgba(7, 91, 60, 0.3) !important;
    border-color: rgba(0, 217, 139, 0.5) !important;
    box-shadow: 0 0 12px rgba(0, 217, 139, 0.25) !important;
  }

  .mobile-screen-footer .credit-lead {
    font-weight: 500 !important;
    color: #738078 !important;
  }

  .mobile-screen-footer .autonomous-brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #00d98b !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
  }

  .mobile-screen-footer .autonomous-brand-link .brand-name {
    letter-spacing: 0.02em !important;
    border-bottom: 1px dotted rgba(0, 217, 139, 0.7) !important;
    transition: border-color 0.2s ease !important;
  }

  .mobile-screen-footer .autonomous-brand-link .external-icon {
    width: 12px !important;
    height: 12px !important;
    color: #ffd34a !important;
    stroke: currentColor !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
    display: inline-block !important;
  }

  .mobile-screen-footer .autonomous-brand-link:hover,
  .mobile-screen-footer .autonomous-brand-link:active {
    color: #ffd34a !important;
    text-shadow: 0 0 10px rgba(255, 211, 74, 0.6) !important;
  }

  .mobile-screen-footer .autonomous-brand-link:hover .brand-name,
  .mobile-screen-footer .autonomous-brand-link:active .brand-name {
    border-color: #ffd34a !important;
  }

  .mobile-screen-footer .autonomous-brand-link:hover .external-icon,
  .mobile-screen-footer .autonomous-brand-link:active .external-icon {
    transform: translate(2px, -2px) scale(1.15) !important;
    color: #ffd34a !important;
  }
}

/* ==========================================================================
   CALIBRAGEM HARMÔNICA VERTICAL: IPHONE SÉRIE 15 EM DIANTE E TELAS ALTAS (780px+)
   Distribui o palco de forma fluida sem alterar a identidade, sem barras de rolagem
   e mantendo o iPhone SE / aparelhos compactos 100% seguros e intactos.
   ========================================================================== */
@media (max-width: 768px) and (min-height: 780px) {
  header {
    margin-bottom: clamp(20px, 3vh, 30px) !important;
  }

  .mobile-only-marquee {
    margin-bottom: clamp(12px, 2vh, 18px) !important;
  }

  .vinyl-wrap.technics-deck-wrap,
  .vinyl-wrap {
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: calc(100vw - 32px) !important;
    height: clamp(295px, calc(min(calc(100vw - 32px), 360px) * 0.87), 324px) !important;
    margin: 10px auto clamp(4px, 0.8vh, 8px) !important;
    box-sizing: border-box !important;
  }

  .track-artist-row {
    margin-bottom: clamp(10px, 1.6vh, 14px) !important;
  }

  .mobile-secondary-row {
    margin: 0 auto clamp(12px, 1.8vh, 16px) !important;
  }

  .desktop-volume-row {
    display: none !important;
  }

  .mobile-waveform-card {
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: clamp(4px, 1vh, 8px) auto 0 !important;
    padding: 10px 14px 8px !important;
    box-sizing: border-box !important;
  }

  .mobile-waveform-card canvas#mobile-waveform-canvas {
    height: 52px !important;
  }

  .mobile-spectrum-signature {
    bottom: clamp(14px, calc(env(safe-area-inset-bottom, 0px) + 12px), 20px) !important;
    padding-bottom: 2px !important;
  }
}



@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Bloqueio estrito de rolagem no desktop exclusivamente na Aba Radio (Garante tela cheia sem cortes e sem scrollbar) */
@media (min-width: 901px) {
  body.tab-player-active {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }

  body.tab-player-active main {
    overflow: hidden;
    height: calc(100vh - 72px);
  }
}

/* Quando estiver nas Abas Historia ou Equalizador: rolagem suave com barra de rolagem ativa */
body:not(.tab-player-active),
body.tab-history-active,
body.tab-preamp-active {
  overflow-y: auto !important;
  min-height: 100vh !important;
  height: auto !important;
}

body:not(.tab-player-active) main,
body.tab-history-active main,
body.tab-preamp-active main {
  overflow: visible !important;
  min-height: calc(100vh - 80px) !important;
  height: auto !important;
}

/* ==========================================================================
   REFATORACAO PIXEL-PERFECT DESKTOP (Widescreen 1824x821)
   Padrao: Sidebar lateral fixa, Topbar com Busca, Banner LED no Topo,
   Player Central com Vinil e Braco Fonocaptor Realista, Card de Fila com Abas
   ========================================================================== */

/* Padrao mobile: ocultar componentes exclusivos de desktop */
.app-sidebar.desktop-only-sidebar,
.sidebar-separator-glow.desktop-only-glow,
.desktop-topbar,
.desktop-collectors-header,
.desktop-collectors-title,
.collectors-lion-icon,
.sidebar-media-stage,
.sidebar-logo-card,
.now-playing-badge,
.track-meta-pill,
.desktop-volume-row,
.desktop-footer-signature,
.viz-card-header,
.queue-order-dropdown,
.mobile-spectrum-signature {
  display: none;
}

@media (min-width: 992px) {

  /* Em modo desktop (com sidebar lateral fixa), ocultar o header horizontal em todas as abas */
  header,
  body.tab-player-active header,
  body.tab-preamp-active header,
  body.tab-history-active header {
    display: none !important;
  }

  body.tab-player-active,
  body.tab-preamp-active,
  body.tab-history-active {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
  }

  .mobile-bottom-nav,
  .bottom-sheet,
  .sheet-backdrop,
  .mobile-secondary-row,
  .mobile-waveform-card,
  .mobile-spectrum-signature,
  .mobile-screen-footer,
  .desktop-footer {
    display: none !important;
  }

  .app-desktop-container {
    display: flex !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    background: #06100b !important;
    position: relative;
  }

  /* ==========================================================================
     Sidebar Esquerda Refatorada (Design de Elite Sound System)
     ========================================================================== */
  :root {
    --w: 288px;
    --rail: 84px;
  }

  .app-sidebar.desktop-only-sidebar.sb,
  .sb {
    width: var(--w, 288px) !important;
    min-width: var(--w, 288px) !important;
    max-width: var(--w, 288px) !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px 14px 10px !important;
    background: #06100b !important;
    transition: width .28s cubic-bezier(.4, 0, .2, 1), min-width .28s cubic-bezier(.4, 0, .2, 1), max-width .28s cubic-bezier(.4, 0, .2, 1) !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    z-index: 40 !important;
    border-right: 1px solid rgba(7, 91, 60, 0.25) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .sb::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .rail .sb,
  .app-desktop-container.rail .sb,
  body.rail .sb {
    width: var(--rail, 84px) !important;
    min-width: var(--rail, 84px) !important;
    max-width: var(--rail, 84px) !important;
    padding: 20px 10px 16px !important;
  }

  .top {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    padding: 0 4px !important;
    flex-shrink: 0 !important;
    margin-bottom: 8px !important;
  }

  .sb .logo {
    flex: none !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: conic-gradient(#2fb85a, #f2b230, #e5412d, #2fb85a) !important;
    display: grid !important;
    place-items: center !important;
    padding: 3px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  }

  .sb .logo picture,
  .sb .logo img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .bn {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .bn b {
    display: block !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: .07em !important;
    color: var(--gold) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .bn small {
    display: block !important;
    font-size: 9.5px !important;
    letter-spacing: .22em !important;
    color: var(--mu) !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
  }

  .lb,
  .sec {
    white-space: nowrap !important;
    transition: opacity .15s ease !important;
    margin-top: 4px !important;
  }

  .sec {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .22em !important;
    color: var(--mu) !important;
    padding: 0 14px !important;
    margin-bottom: 6px !important;
  }

  .sb nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .it {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    color: var(--mu) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: .06em !important;
    transition: background .2s ease, color .2s ease !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .it svg {
    flex: none !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .it:hover {
    background: var(--s2) !important;
    color: var(--tx) !important;
  }

  .it[aria-current=page],
  .it.active {
    background: linear-gradient(90deg, rgba(242, 178, 48, 0.15), rgba(242, 178, 48, 0.03)) !important;
    color: var(--gold) !important;
  }

  .it[aria-current=page]::before,
  .it.active::before {
    content: "" !important;
    position: absolute !important;
    left: -16px !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 5px !important;
    border-radius: 0 5px 5px 0 !important;
    background: var(--gold) !important;
  }

  .grow {
    flex: 1 !important;
    min-height: 8px !important;
  }

  /* Mini Player Integrado */
  .mini {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: var(--s2) !important;
    border-radius: 20px !important;
    padding: 12px !important;
    border: 1px solid rgba(7, 91, 60, 0.25) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mp {
    flex: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--gold) !important;
    color: #1a1202 !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 6px 20px rgba(242, 178, 48, 0.28) !important;
    transition: transform .15s ease, background .2s ease !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  .mp:hover {
    transform: scale(1.07) !important;
  }

  .mp svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
  }

  .mt {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .mt small {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    color: var(--red) !important;
    transition: color 0.3s ease !important;
  }

  .mt small i {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: var(--red) !important;
    display: inline-block !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
  }

  body.playing .mt small,
  .mt small.playing {
    color: var(--grn) !important;
  }

  body.playing .mt small i,
  .mt small.playing i {
    background: var(--grn) !important;
    box-shadow: 0 0 0 0 rgba(47, 184, 90, 0.8) !important;
    animation: p-green-mini 1.6s infinite !important;
  }

  body:not(.playing) .mt small i {
    animation: none !important;
  }

  .mt b {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: var(--tx) !important;
    margin-top: 2px !important;
  }

  /* Card Cultural com Leao */
  .quote {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: var(--s1) !important;
    border-radius: 20px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(7, 91, 60, 0.3) !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
    flex-shrink: 0 !important;
    width: 100% !important;
  }

  .lion {
    flex: none !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(47, 184, 90, 0.2), rgba(242, 178, 48, 0.2), rgba(229, 65, 45, 0.2)) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
  }

  .lion picture,
  .lion img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
  }

  .quote p {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    color: var(--tx) !important;
    margin: 0 !important;
  }

  .quote p strong {
    color: var(--gold) !important;
    font-weight: 600 !important;
    display: block !important;
  }

  .flag {
    display: flex !important;
    height: 3px !important;
    width: 56px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    margin-top: 8px !important;
  }

  .flag i {
    flex: 1 !important;
  }

  /* Card Artistico Radiola Sound System */
  .photo.sidebar-radiola-card,
  .photo,
  .sidebar-radiola-card {
    position: relative !important;
    height: 120px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: radial-gradient(120px 80px at 30% 20%, rgba(242, 178, 48, 0.2), transparent), linear-gradient(160deg, #16301d, #0b130d) !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(7, 91, 60, 0.3) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55) !important;
  }

  .photo img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 5, 0.93)) !important;
  }

  .cap {
    position: absolute !important;
    left: 14px !important;
    bottom: 12px !important;
    z-index: 1 !important;
  }

  .cap b {
    display: block !important;
    font-size: 11.5px !important;
    letter-spacing: .14em !important;
    font-weight: 800 !important;
    color: var(--gold) !important;
  }

  .cap small {
    font-size: 10px !important;
    letter-spacing: .12em !important;
    color: var(--mu) !important;
  }

  @media (max-height: 750px) {
    .photo {
      display: none !important;
    }
  }

  /* Feixe Divisor Horizontal antes do Recolher */
  .sidebar-bottom-glow {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(7, 91, 60, 0.5), rgba(242, 178, 48, 0.4), rgba(7, 91, 60, 0.5), transparent) !important;
    margin: 2px 4px !important;
    flex-shrink: 0 !important;
  }

  /* Botao de Recolher/Expandir */
  .tg {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    color: var(--mu) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: background .2s ease, color .2s ease !important;
    width: 100% !important;
    text-align: left !important;
    flex-shrink: 0 !important;
  }

  .tg:hover {
    background: var(--s2) !important;
    color: var(--tx) !important;
  }

  .tg svg {
    flex: none !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1) !important;
  }

  .credit.sidebar-credit-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 11px !important;
    color: var(--mu, #8a9a8c) !important;
    padding: 5px 8px !important;
    margin-top: auto !important;
    border-radius: 10px !important;
    background: rgba(4, 10, 7, 0.6) !important;
    border: 1px solid rgba(7, 91, 60, 0.3) !important;
    white-space: nowrap !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  .credit.sidebar-credit-box:hover {
    background: rgba(7, 91, 60, 0.25) !important;
    border-color: rgba(0, 217, 139, 0.5) !important;
    box-shadow: 0 0 12px rgba(0, 217, 139, 0.2) !important;
  }

  .credit-lead {
    font-weight: 500 !important;
    color: #738078 !important;
  }

  .autonomous-brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #00d98b !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease !important;
  }

  .autonomous-brand-link .brand-name {
    letter-spacing: 0.02em !important;
    border-bottom: 1px dotted rgba(0, 217, 139, 0.6) !important;
    transition: border-color 0.2s ease !important;
  }

  .autonomous-brand-link .external-icon {
    width: 12px !important;
    height: 12px !important;
    color: #ffd34a !important;
    stroke: currentColor !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
    display: inline-block !important;
  }

  .autonomous-brand-link:hover {
    color: #ffd34a !important;
    text-shadow: 0 0 10px rgba(255, 211, 74, 0.6) !important;
  }

  .autonomous-brand-link:hover .brand-name {
    border-color: #ffd34a !important;
  }

  .autonomous-brand-link:hover .external-icon {
    transform: translate(2px, -2px) scale(1.15) !important;
    color: #ffd34a !important;
  }

  /* Modo Compacto (Rail) */
  .rail .sb,
  .app-desktop-container.rail .sb,
  body.rail .sb {
    width: var(--rail, 84px) !important;
    min-width: var(--rail, 84px) !important;
    max-width: var(--rail, 84px) !important;
    padding: 20px 10px 16px !important;
  }

  .rail .lb,
  .rail .sec,
  .rail .bn,
  .rail .quote,
  .rail .photo,
  .rail .mt,
  .rail .credit,
  .rail .sidebar-bottom-glow,
  .app-desktop-container.rail .lb,
  .app-desktop-container.rail .sec,
  .app-desktop-container.rail .bn,
  .app-desktop-container.rail .quote,
  .app-desktop-container.rail .photo,
  .app-desktop-container.rail .mt,
  .app-desktop-container.rail .credit,
  .app-desktop-container.rail .sidebar-bottom-glow {
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: none !important;
  }

  .rail .top,
  .app-desktop-container.rail .top {
    justify-content: center !important;
    padding: 0 !important;
  }

  .rail .it,
  .rail .tg,
  .app-desktop-container.rail .it,
  .app-desktop-container.rail .tg {
    justify-content: center !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .rail .it[aria-current=page]::before,
  .rail .it.active::before,
  .app-desktop-container.rail .it[aria-current=page]::before,
  .app-desktop-container.rail .it.active::before {
    left: -10px !important;
  }

  .rail .mini,
  .app-desktop-container.rail .mini {
    justify-content: center !important;
    padding: 6px 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .rail .tg svg,
  .app-desktop-container.rail .tg svg {
    transform: rotate(180deg) !important;
  }

  /* Feixe Divisor Luminoso Vertical */
  .sidebar-separator-glow.desktop-only-glow {
    display: block !important;
    width: 2px !important;
    height: 100vh !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 217, 139, 0.7) 30%, rgba(255, 185, 31, 0.5) 70%, transparent 100%) !important;
    box-shadow: 0 0 12px rgba(0, 217, 139, 0.6), 0 0 24px rgba(0, 217, 139, 0.3) !important;
    flex-shrink: 0 !important;
  }

  /* Workspace Principal Desktop */
  .app-workspace {
    flex: 1 !important;
    min-width: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 18px 6px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .app-workspace main {
    flex: 1 !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* SOBRESCREVE A GRID ANTIGA DA SECTION .radio NO DESKTOP */
  #tab-player.radio {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 6px !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Topbar Desktop: Busca a esquerda + Letreiro LED a direita (Alinhado milimetricamente ao Grid Central) */
  .desktop-topbar {
    display: grid !important;
    grid-template-columns: 430px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .desktop-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #040a07 !important;
    border: 1px solid #075b3c !important;
    border-radius: 14px !important;
    padding: 8px 16px !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  .desktop-search-box:focus-within {
    border-color: #00d98b !important;
    box-shadow: 0 0 12px rgba(0, 217, 139, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }

  .desktop-search-box .search-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #738078 !important;
    flex-shrink: 0 !important;
  }

  .desktop-search-box input {
    background: none !important;
    border: none !important;
    color: #f4f6f4 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    width: 100% !important;
    outline: none !important;
  }

  .desktop-search-box input::placeholder {
    color: #738078 !important;
  }

  .desktop-search-box .search-clear-btn {
    background: transparent !important;
    border: none !important;
    color: #738078 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    display: none;
    transition: color 0.2s ease !important;
  }

  .desktop-search-box .search-clear-btn:hover {
    color: #ffd34a !important;
  }

  .search-drive-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    background: rgba(0, 217, 139, 0.15) !important;
    color: #00d98b !important;
    border: 1px solid rgba(0, 217, 139, 0.35) !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .row.search-result-row {
    cursor: pointer !important;
  }

  .desktop-topbar .dj-marquee-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: 38px !important;
    min-width: 0 !important;
  }

  .desktop-topbar .dj-marquee-led-frame {
    background: rgba(4, 10, 7, 0.95) !important;
    border: 1px solid rgba(7, 91, 60, 0.5) !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 217, 139, 0.12) !important;
  }

  /* Grid Central: Coluna Deck (430px) | Coluna Side (1fr) */
  .deck-side-grid {
    display: grid !important;
    grid-template-columns: 430px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
    flex: 1 !important;
    min-height: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Card Esquerdo do Tocador (Deck) */
  .deck {
    background: #06100b !important;
    border: 1px solid rgba(7, 91, 60, 0.35) !important;
    border-radius: 20px !important;
    padding: 12px 18px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  /* Badge TOCANDO AGORA */
  .now-playing-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    align-self: flex-start !important;
    color: #00d98b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    margin-top: 6px !important;
    margin-left: 2px !important;
    margin-bottom: 2px !important;
  }

  .now-playing-badge .eq-icon-live {
    display: flex !important;
    align-items: flex-end !important;
    gap: 3px !important;
    height: 16px !important;
    padding-bottom: 1px !important;
  }

  .now-playing-badge .eq-icon-live i {
    width: 3px !important;
    height: 16px !important;
    background: #00d98b !important;
    border-radius: 2px !important;
    transform-origin: bottom !important;
    transform: scaleY(0.35);
    will-change: transform !important;
    box-shadow: 0 0 6px rgba(0, 217, 139, 0.45) !important;
    transition: transform 0.12s ease-out;
  }

  body.playing .now-playing-badge .eq-icon-live i,
  .deck.playing .now-playing-badge .eq-icon-live i {
    transition: none !important;
    box-shadow: 0 0 8px rgba(0, 217, 139, 0.7) !important;
  }

  /* Toca-Discos Desktop Technics SL-1200 de Alta Fidelidade (Identico ao Mobile) */
  .vinyl-wrap.technics-deck-wrap,
  .vinyl-wrap {
    position: relative !important;
    width: min(92%, 364px) !important;
    height: min(78vh, 316px) !important;
    max-width: 364px !important;
    max-height: 316px !important;
    margin: 10px auto 0 !important;
    background: linear-gradient(155deg, #0e1713 0%, #07100c 50%, #050b08 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 22px !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.32),
      0 0 36px rgba(255, 255, 255, 0.14),
      0 20px 50px rgba(0, 0, 0, 0.95),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.32),
      inset 0 -2px 6px rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    aspect-ratio: auto !important;
  }

  .vinyl-wrap::before {
    display: none !important;
  }

  .vinyl,
  #vinyl-record {
    width: 240px !important;
    height: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: #090a0c !important;
    box-shadow: 0 0 0 5px rgba(13, 20, 16, 0.95),
      0 0 0 6.5px rgba(255, 255, 255, 0.08),
      0 16px 50px rgba(0, 0, 0, 0.95),
      0 0 0 3px #18181b !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    animation: spin 1.8s linear infinite !important;
    animation-play-state: paused;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    flex-shrink: 0 !important;
  }

  body.playing .vinyl,
  .deck.playing .vinyl,
  .vinyl.is-spinning,
  #vinyl-record.is-spinning,
  body.playing #vinyl-record {
    animation-play-state: running !important;
  }

  body:not(.playing):not(.is-playing) .vinyl:not(.is-spinning),
  body:not(.playing):not(.is-playing) #vinyl-record:not(.is-spinning) {
    animation-play-state: paused !important;
  }

  .label,
  .label.technics-roots-label {
    width: 37% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.95) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 6 !important;
    padding: 2.5px !important;
  }

  /* Controles decorativos desktop calibrados nas laterais com folga harmoniosa */
  .technics-knob-top-left {
    display: block !important;
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 12 !important;
    pointer-events: none !important;
  }

  .technics-control-bottom-left {
    display: block !important;
    position: absolute !important;
    bottom: 22px !important;
    left: 22px !important;
    width: 62px !important;
    height: 42px !important;
    z-index: 12 !important;
    pointer-events: none !important;
  }

  /* Oculta componentes legados do braco */
  .arm .arm-tube-highlight,
  .arm .tonearm-counterweight-top,
  .arm .arm-headshell-cartridge,
  .arm::before,
  .arm::after {
    display: none !important;
  }

  /* Braco Mecanico de Leitura S-Shape de Alta Fidelidade Technics */
  .arm {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 85px !important;
    height: 185px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform-origin: 56px 38px !important;
    transform: rotate(-14deg);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 15 !important;
    pointer-events: none !important;
    will-change: transform !important;
  }

  .arm .tonearm-s-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  .arm.is-playing {
    transition: transform 0.25s linear !important;
  }

  .arm.is-playing .tonearm-headshell-group {
    animation: rumble-s-needle 0.12s linear infinite !important;
    will-change: transform !important;
  }

  /* Identificacao da Faixa Desktop em Duas Linhas Empilhadas: Linha 1 = Nome da Musica, Linha 2 = Cantor / Banda */
  .np {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 10px auto 4px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    min-height: 42px !important;
    line-height: 1.25 !important;
    z-index: 10 !important;
  }

  /* Linha 1: Nome da Musica (Destaque Principal) */
  .track-title-group {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  .track-eq-indicator {
    display: none !important;
  }

  #track-title {
    color: #f4f6f4 !important;
    font-size: clamp(14px, 1.7vh, 17px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  /* Linha 2: Nome do Cantor / Banda */
  .track-artist-row {
    order: 2 !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  #track-artist {
    color: #ffb91f !important;
    font-size: clamp(12px, 1.4vh, 13.5px) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  .track-artist-row::after {
    display: none !important;
    content: none !important;
  }

  /* Ocultacao do botao de favoritar (coracao) no modo desktop - preservado para roadmap/backlog futuro */
  .track-favorite-btn {
    display: none !important;
  }

  .track-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: clamp(11px, 1.4vh, 13px);
    color: #94a3b8;
    font-weight: 500;
  }

  .track-year-badge {
    background: rgba(254, 209, 0, 0.15);
    color: #fed100;
    border: 1px solid rgba(254, 209, 0, 0.35);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 700;
  }

  /* Pill de Metadados da Faixa */
  .track-meta-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(7, 20, 14, 0.85) !important;
    border: 1px solid rgba(7, 91, 60, 0.45) !important;
    border-radius: 999px !important;
    padding: 3px 12px !important;
    margin-top: 2px !important;
    color: #a8b5ac !important;
    font-size: 11px !important;
  }

  .track-meta-pill .pill-wave {
    width: 12px !important;
    height: 12px !important;
    stroke: #00d98b !important;
  }

  .track-meta-pill .pill-bullet {
    color: #738078 !important;
  }

  /* Controles Desktop Centralizados */
  .controls.desktop-only-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  .controls button.ic {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(7, 20, 14, 0.7) !important;
    border: 1px solid rgba(7, 91, 60, 0.3) !important;
    color: #f4f6f4 !important;
    display: grid !important;
    place-items: center !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
  }

  .controls button.ic:hover {
    background: rgba(9, 26, 18, 0.95) !important;
    border-color: rgba(0, 217, 139, 0.4) !important;
    transform: translateY(-1px) !important;
  }

  .controls button.ic svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
  }

  .controls button.ic[aria-pressed="true"],
  .controls button.ic.is-active {
    color: #ffb91f !important;
    border-color: #ffb91f !important;
    background: rgba(255, 185, 31, 0.15) !important;
    box-shadow: 0 0 12px rgba(255, 185, 31, 0.35) !important;
  }

  /* Botao Play Ambar Solido Central (Reduzido pela metade para 36px no Desktop) */
  .controls button.play.play-btn-primary {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background: #ffb91f !important;
    border: none !important;
    color: #040a07 !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 3px 12px rgba(255, 185, 31, 0.45) !important;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .controls button.play.play-btn-primary:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 4px 16px rgba(255, 185, 31, 0.6) !important;
  }

  .controls button.play.play-btn-primary svg {
    width: 16px !important;
    height: 16px !important;
    fill: #040a07 !important;
  }

  /* Linha de Volume Horizontal Desktop */
  .desktop-volume-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    width: 84% !important;
    max-width: 320px !important;
    margin: 8px auto 0 !important;
  }

  .desktop-vol-controls-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .desktop-vol-label {
    display: block !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: rgba(148, 163, 152, 0.8) !important;
    line-height: 1 !important;
    text-align: center !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  .vol-speaker-btn {
    color: #a8b5ac !important;
    display: grid !important;
    place-items: center !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
  }

  .vol-speaker-btn:hover {
    color: #f4f6f4 !important;
  }

  .vol-speaker-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
  }

  .vol-slider-track {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  .vol-slider-track input[type="range"] {
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 4px !important;
    background: #18281e !important;
    border-radius: 2px !important;
    outline: none !important;
    cursor: pointer !important;
  }

  .vol-slider-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #ffb91f !important;
    box-shadow: 0 0 6px rgba(255, 185, 31, 0.8) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
  }

  .vol-pct-text {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #738078 !important;
    min-width: 30px !important;
    text-align: right !important;
  }

  /* Coluna Direita (Side) */
  .side {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  /* Card 1: Visualizador Spectrum Reggae (44 Barras) */
  .sp {
    width: 100% !important;
    background: #06100b !important;
    border: 1px solid rgba(7, 91, 60, 0.4) !important;
    border-radius: 20px !important;
    padding: 12px 18px 10px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    height: clamp(140px, 24vh, 185px) !important;
  }

  .sp-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 4px !important;
  }

  .sp-live {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--mu) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
  }

  .sp-live i {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--mu) !important;
    display: inline-block !important;
    transition: background 0.3s ease !important;
  }

  .on .sp-live {
    color: var(--tx) !important;
  }

  .on .sp-live i,
  .sp-live.on i,
  body.playing .sp-live i {
    background: var(--grn) !important;
    animation: p-green 1.6s infinite !important;
  }

  body:not(.playing) .sp-live:not(.on) i,
  .sp-live:not(.on) i {
    background: var(--red) !important;
    box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7) !important;
    animation: none !important;
  }

  .sp-hq {
    background: #2fb85a22 !important;
    color: var(--grn) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    padding: 3px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(47, 184, 90, 0.3) !important;
  }

  .sp canvas#cv {
    display: block !important;
    width: 100% !important;
    height: clamp(80px, 14vh, 120px) !important;
    border-radius: 6px !important;
  }

  .sp-times {
    display: flex !important;
    justify-content: space-between !important;
    color: var(--mu) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    margin-top: 4px !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .on .sp-live i {
      animation: none !important;
    }
  }

  /* Card 2: Playlist & Historico */
  .queue.queue-card {
    background: #06100b !important;
    border: 1px solid rgba(7, 91, 60, 0.4) !important;
    border-radius: 18px !important;
    padding: 14px 18px 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .queue-header-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(7, 91, 60, 0.25) !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .queue-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .queue-tabs {
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .queue-tab-btn {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #738078 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    padding: 2px 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .queue-tab-btn:hover {
    color: #f4f6f4 !important;
  }

  .queue-tab-btn.active {
    color: #f4f6f4 !important;
    font-weight: 700 !important;
  }

  .queue-tab-btn .q-tab-ic {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
  }

  .q-badge-counter {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00d98b !important;
    background: rgba(4, 10, 7, 0.7) !important;
    border: 1px solid rgba(0, 217, 139, 0.35) !important;
    border-radius: 999px !important;
    padding: 2px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 6px !important;
  }

  .queue-nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
  }

  .queue-nav-right .sp-live {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: var(--mu) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    transition: color 0.3s ease !important;
  }

  .queue-nav-right .sp-live.on,
  body.playing .queue-nav-right .sp-live {
    color: var(--tx) !important;
  }

  .queue-nav-right .sp-live i {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--red) !important;
    display: inline-block !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
  }

  .queue-nav-right .sp-live.on i,
  body.playing .queue-nav-right .sp-live i,
  .sp-live.on i,
  body.playing .sp-live i {
    background: var(--grn) !important;
    box-shadow: 0 0 0 0 rgba(47, 184, 90, 0.8) !important;
    animation: p-green 1.6s infinite !important;
  }

  body:not(.playing) .queue-nav-right .sp-live:not(.on) i,
  .queue-nav-right .sp-live:not(.on) i,
  body:not(.playing) .sp-live:not(.on) i,
  .sp-live:not(.on) i {
    background: var(--red) !important;
    box-shadow: 0 0 0 0 rgba(229, 65, 45, 0.7) !important;
    animation: none !important;
  }

  .queue-nav-right .sp-hq {
    background: #2fb85a22 !important;
    color: var(--grn) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    padding: 3px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(47, 184, 90, 0.3) !important;
  }

  /* Linhas da Fila / Tabela - Scrollbar invisivel para interface fluida de elite */
  .queue-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding-right: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .queue-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .queue-list .row {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) auto !important;
    align-items: center !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    color: #a8b5ac !important;
    font-size: 11.5px !important;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    width: 100% !important;
    text-align: left !important;
    min-height: 24px !important;
    height: 24px !important;
    box-sizing: border-box !important;
  }

  .queue-list .row .t-artist {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    font-size: 11.8px !important;
    font-weight: 600 !important;
    color: #d2ddd5 !important;
  }

  .queue-list .row .t-sep {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    font-size: 11.5px !important;
    color: rgba(242, 178, 48, 0.6) !important;
  }

  .queue-list .row .t-name {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: #a8b5ac !important;
  }

  .queue-list .row .n {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    width: 22px !important;
    color: #738078 !important;
  }

  .queue-list .row .time-ago {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
    font-size: 9.5px !important;
  }

  .queue-list .row:hover {
    background: rgba(9, 26, 18, 0.7) !important;
    color: #f4f6f4 !important;
  }

  /* Faixa Ativa Destacada: selecao (sombreamento e bordas) diretamente sobre a musica */
  .queue-list .row.on,
  .queue-list .row.active-playing-track {
    background: #091a12 !important;
    border: 1px solid rgba(0, 217, 139, 0.45) !important;
    box-shadow: 0 0 12px rgba(0, 217, 139, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    color: #f4f6f4 !important;
  }

  .queue-list .row.on .t-artist,
  .queue-list .row.active-playing-track .t-artist {
    color: #f4f6f4 !important;
    font-weight: 600 !important;
  }

  .queue-list .row.on .t-name,
  .queue-list .row.active-playing-track .t-name {
    color: #ffd34a !important;
    font-weight: 600 !important;
    font-size: 11.8px !important;
  }

  .queue-list .row.on .t-sep,
  .queue-list .row.active-playing-track .t-sep {
    color: #ffd34a !important;
  }

  /* Rodape Desktop Signature */
  .desktop-footer-signature {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  .footer-rasta-line {
    height: 2px;
    width: 60px;
    border-radius: 1px;
  }

  .footer-rasta-line.left {
    background: linear-gradient(90deg, transparent 0%, #00d98b 50%, #ffd34a 100%);
  }

  .footer-rasta-line.right {
    background: linear-gradient(90deg, #ffd34a 0%, #ff493b 50%, transparent 100%);
  }

  .footer-sig-text {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #738078;
  }

  /* ==========================================================================
     Equalizador e Historia no Desktop: Area Ampla e Sem Navbar Superior
     ========================================================================== */
  #tab-preamp.panel {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    padding: 16px 28px 24px !important;
    background: #06100b !important;
  }

  #tab-history {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    padding: 16px 28px 24px !important;
    background: #06100b !important;
  }
}


/* ==========================================================================
   MODO RÁDIO AUTOMÁTICA 24H & PAINEL DE CURADORIA ADMINISTRATIVO
   ========================================================================== */

/* Banner de Topo do Painel Administrativo */
.admin-top-banner {
  background: linear-gradient(90deg, #143022 0%, #0e2419 50%, #143022 100%);
  border-bottom: 1px solid rgba(242, 178, 48, 0.35);
  padding: 8px 16px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.admin-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-badge-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold, #f2b230);
  background: rgba(242, 178, 48, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(242, 178, 48, 0.3);
  letter-spacing: 0.5px;
}

.admin-banner-desc {
  font-size: 12px;
  color: var(--tx2, #c9d0c4);
  flex: 1;
}

.admin-exit-btn {
  font-size: 12px;
  font-weight: 600;
  color: #06100b;
  background: var(--gold, #f2b230);
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-exit-btn:hover {
  background: #ffc44d;
  box-shadow: 0 0 10px rgba(242, 178, 48, 0.5);
}

/* Link Curadoria no Header da Rádio */
.curadoria-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 178, 48, 0.08);
  border: 1px solid rgba(242, 178, 48, 0.2);
  color: var(--gold, #f2b230);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 12px;
}

.curadoria-badge-link:hover {
  background: rgba(242, 178, 48, 0.18);
  border-color: var(--gold, #f2b230);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .curadoria-badge-link {
    display: none !important;
  }
}

/* Pill de Transmissão Contínua 24h */
.radio-live-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(47, 184, 90, 0.08);
  border: 1px solid rgba(47, 184, 90, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  backdrop-filter: blur(8px);
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grn, #2fb85a);
  box-shadow: 0 0 10px var(--grn, #2fb85a);
  animation: pulse-radio 2s infinite ease-in-out;
}

@keyframes pulse-radio {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 14px var(--grn, #2fb85a);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.live-pill-text {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--grn, #2fb85a);
  text-transform: uppercase;
}

/* REGRAS ESPECÍFICAS DO MODO RÁDIO PÚBLICA 24H:
   Oculta controles de pular/voltar/shuffle/repeat que não pertencem ao ouvinte de rádio FM/Streaming */
body.radio-public-mode #prev-btn,
body.radio-public-mode #next-btn,
body.radio-public-mode #mobile-prev-btn,
body.radio-public-mode #mobile-next-btn,
body.radio-public-mode #shuffle-btn,
body.radio-public-mode #mobile-shuffle-btn,
body.radio-public-mode #repeat-btn {
  display: none !important;
}

/* No modo rádio pública, centraliza e agiganta o botão Play/Pause */
body.radio-public-mode .controls.desktop-only-controls {
  display: none !important;
}

body.radio-public-mode .controls #play-btn {
  width: 72px !important;
  height: 72px !important;
  background: var(--gold, #f2b230) !important;
  box-shadow: 0 6px 24px rgba(242, 178, 48, 0.45) !important;
}

body.radio-public-mode .controls #play-btn:hover {
  transform: scale(1.06);
  background: #ffbe3d !important;
  box-shadow: 0 8px 32px rgba(242, 178, 48, 0.65) !important;
}

body.radio-public-mode .controls #play-btn svg {
  fill: #0c150e !important;
  width: 32px !important;
  height: 32px !important;
}

/* A fila no modo público atua como programação informativa */
body.radio-public-mode .queue-item {
  cursor: default !important;
}

body.radio-public-mode .queue-item:hover {
  background: transparent !important;
}


/* Topbar Desktop Rádio 24h: Grade 2 Colunas (Letreiro LED sobre o Deck | Titulo Oficial sobre a Fila) */
@media (min-width: 992px) {

  /* Reducao pela metade do botao Play no modo desktop (de 72px para 36px) */
  body.radio-public-mode .controls #play-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    box-shadow: 0 3px 12px rgba(242, 178, 48, 0.45) !important;
    flex-shrink: 0 !important;
  }

  body.radio-public-mode .controls #play-btn:hover {
    box-shadow: 0 4px 16px rgba(242, 178, 48, 0.65) !important;
  }

  body.radio-public-mode .controls #play-btn svg {
    width: 16px !important;
    height: 16px !important;
  }

  .app-desktop-container::before {
    display: none !important;
    content: none !important;
  }

  .sidebar-media-stage {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .rail .sidebar-media-stage,
  body.rail .sidebar-media-stage {
    display: none !important;
  }

  .sidebar-logo-card {
    display: block !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: min(200px, calc(100vh - 360px)) !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(7, 91, 60, 0.45) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .sidebar-logo-card:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 217, 139, 0.25) !important;
  }

  .sidebar-logo-card picture,
  .sidebar-logo-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 15px !important;
    display: block !important;
  }

  .rail .sidebar-logo-card,
  body.rail .sidebar-logo-card {
    display: none !important;
  }

  .desktop-topbar.radio-24h-topbar {
    display: grid !important;
    grid-template-columns: 430px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .desktop-topbar.radio-24h-topbar .dj-marquee-container {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 !important;
    height: 38px !important;
  }

  .desktop-topbar.radio-24h-topbar .dj-marquee-led-frame {
    padding: 8px 16px;
    height: 100%;
    min-height: 38px;
    box-sizing: border-box;
    background: rgba(5, 10, 6, 0.92);
    border: 1px solid rgba(47, 184, 90, 0.25);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 16px rgba(47, 184, 90, 0.12);
  }

  .desktop-collectors-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 38px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .desktop-collectors-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffd34a !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 0 16px rgba(255, 211, 74, 0.25) !important;
    white-space: nowrap !important;
    height: 38px !important;
    text-align: center !important;
    flex: 1 !important;
    box-sizing: border-box !important;
  }

  .collectors-lion-icon {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    filter: drop-shadow(0 0 8px rgba(242, 178, 48, 0.5)) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease !important;
    pointer-events: auto !important;
    user-select: none !important;
  }

  .collectors-lion-icon:hover {
    transform: scale(1.15) !important;
    filter: drop-shadow(0 0 14px rgba(242, 178, 48, 0.85)) !important;
  }

  .collectors-lion-icon:hover {
    transform: scale(1.12) !important;
    filter: drop-shadow(0 0 14px rgba(242, 178, 48, 0.8)) !important;
  }
}

/* Grade de Programação Informativa Rádio 24h (Padrão Antena 1 - Faixas não executáveis pelo ouvinte) */
body.radio-public-mode .queue-list .row.info-only-row,
body.radio-public-mode .bottom-sheet .row.info-only-row {
  cursor: default !important;
  pointer-events: none !important;
}

body.radio-public-mode .queue-list .row.info-only-row:hover,
body.radio-public-mode .bottom-sheet .row.info-only-row:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

body.radio-public-mode .history-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--mu, #8a9a8c);
  text-align: center;
}



/* Ocultação dos botões de avançar e voltar no dock mobile da rádio pública 24h */
body.radio-public-mode #mobile-prev-btn,
body.radio-public-mode #mobile-next-btn,
body.radio-public-mode .radio-hidden-btn {
  display: none !important;
}


/* ==========================================================================
   Ícones Customizados: Playlist, Play Circle e Nota Musical (Padrão Oficial)
   ========================================================================== */
.q-tab-ic.playlist-note-ic {
  color: var(--gold, #f2b230) !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  margin-right: 2px !important;
}

.track-play-circle-ic {
  color: var(--grn, #2fb85a) !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 5px rgba(47, 184, 90, 0.5)) !important;
}

.track-note-single-ic {
  color: #8fa091 !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  opacity: 0.9 !important;
}

.row.active-playing-track .t-artist,
.row.active-playing-track .t-sep,
.row.active-playing-track .t-name {
  color: var(--gold, #f2b230) !important;
  font-weight: 700 !important;
}

.row.active-playing-track {
  background: rgba(242, 178, 48, 0.08) !important;
  border-radius: 8px !important;
}



/* ==========================================================================
   BOTAO MECANICO TECHNICS SL-1200: PLAY / PAUSE (HEURISTICAS DE NIELSEN)
   ========================================================================== */
.technics-start-stop-btn {
  position: absolute !important;
  bottom: 20px !important;
  right: calc(20px - 2pt) !important;
  /* Deslocado 2pt para a direita para perfeito respiro do prato */
  width: 62px !important;
  height: 41px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 25 !important;
  outline: none !important;
  display: block !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), filter 0.15s ease;
}

.technics-start-stop-btn * {
  pointer-events: none !important;
}

.technics-start-stop-btn svg:not(.start-stop-icon) {
  display: none !important;
}

/* Sem fundo preto externo e sem borda extra prata - Tecla limpa direta sobre o chassi */
.technics-start-stop-btn .start-stop-bezel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Placa do Botao em Aluminio Escovado (Tecla Solida Technics SL-1200) */
.technics-start-stop-btn .start-stop-plate {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 4px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 20%, transparent 60%, rgba(0, 0, 0, 0.22) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 3px),
    linear-gradient(175deg, #f8fafc 0%, #cbd5e1 35%, #94a3b8 70%, #64748b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45) !important;
  box-sizing: border-box !important;
  gap: 2px !important;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.12s ease, filter 0.15s ease !important;
}

/* Container do Simbolo Play / Pause */
.technics-start-stop-btn .start-stop-symbol-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 20px !important;
  margin-top: 1px !important;
}

/* Icones de Alta Precisao e Relevo */
.technics-start-stop-btn .start-stop-icon {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: #1a2228 !important;
  fill: #1a2228 !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
  transition: transform 0.12s ease, opacity 0.15s ease;
}

/* Estado Pausado / Parado: exibe Play, oculta Pause */
.technics-start-stop-btn:not(.is-playing) .icon-play,
.technics-start-stop-btn.is-paused .icon-play,
body:not(.playing) .technics-start-stop-btn .icon-play {
  display: block !important;
  transform: translateX(1px);
}

.technics-start-stop-btn:not(.is-playing) .icon-pause,
.technics-start-stop-btn.is-paused .icon-pause,
body:not(.playing) .technics-start-stop-btn .icon-pause {
  display: none !important;
}

/* Estado Em Reproducao: oculta Play, exibe Pause */
.technics-start-stop-btn.is-playing .icon-play,
body.playing .technics-start-stop-btn .icon-play {
  display: none !important;
}

.technics-start-stop-btn.is-playing .icon-pause,
body.playing .technics-start-stop-btn .icon-pause {
  display: block !important;
}

/* Micro-LED de Status */
.technics-start-stop-btn .start-stop-led {
  display: block !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #ef4444 !important;
  /* Vermelho no estado nao tocando */
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.8), inset 0 1px 1px #fff !important;
  transition: background 0.25s ease, box-shadow 0.25s ease !important;
}

/* Estado Pausado / Parado: LED Vermelho Technics */
.technics-start-stop-btn:not(.is-playing) .start-stop-led,
.technics-start-stop-btn.is-paused .start-stop-led,
body:not(.playing) .technics-start-stop-btn .start-stop-led {
  background: #ef4444 !important;
  box-shadow: 0 0 6px #ef4444, 0 0 10px rgba(239, 68, 68, 0.65) !important;
  animation: startStopLedPulse 2s infinite ease-in-out !important;
}

@keyframes startStopLedPulse {

  0%,
  100% {
    opacity: 0.85;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 8px #ef4444, 0 0 14px rgba(239, 68, 68, 0.85);
  }
}

/* Estado Em Reproducao (NO AR) - LED Verde Sound System */
.technics-start-stop-btn.is-playing .start-stop-led,
body.playing .technics-start-stop-btn .start-stop-led {
  background: #00c875 !important;
  box-shadow: 0 0 6px #00c875, 0 0 12px rgba(0, 200, 117, 0.8) !important;
  animation: none !important;
}

/* Estado Pressionado / Em Reproducao: Leve afundamento realista sem encostar em borda */
.technics-start-stop-btn.is-playing .start-stop-plate,
body.playing .technics-start-stop-btn .start-stop-plate {
  transform: translateY(1.5px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* Hover: Destaque Luminoso Interativo (Affordance) */
.technics-start-stop-btn:hover .start-stop-plate {
  filter: brightness(1.08) !important;
}

.technics-start-stop-btn:hover .start-stop-bezel {
  border: none !important;
  box-shadow: none !important;
}

/* Clique / Active: Mecanismo Tatil */
.technics-start-stop-btn:active .start-stop-plate {
  transform: translateY(2.5px) scale(0.98) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

/* Calibragem em telas menores (Mobile / Tablet < 992px) */
@media (max-width: 991px) {
  .technics-start-stop-btn {
    bottom: 16px !important;
    right: 16px !important;
    width: 56px !important;
    height: 38px !important;
  }

  .technics-start-stop-btn .start-stop-icon {
    width: 16px !important;
    height: 16px !important;
  }
}