/* ==========================================================================
   RÁDIO CIDADE MARITUBA - ESTILOS MOBILE OFICIAIS
   Design Limpo, Moderno, Dinâmico e 100% Responsivo
   Transições Otimizadas para Aceleração por Hardware (60/120 FPS Ultra Suave)
   ========================================================================== */

:root {
  --primary: #0272f2;
  --primary-hover: #005ec4;
  --primary-glow: rgba(2, 114, 242, 0.35);
  --primary-light: #e0effe;
  --dark-blue: #0b2545;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-gradient: linear-gradient(180deg, #f0f7ff 0%, #ffffff 40%, #f4f8fc 100%);
  --card-bg: #ffffff;
  --card-border: rgba(2, 114, 242, 0.08);
  --card-shadow: 0 10px 30px -5px rgba(2, 114, 242, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --red-live: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.5);
  --green-online: #10b981;
  --green-bg: #ecfdf5;
  --radius-card: 28px;
  --radius-pill: 9999px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cor-topo: #0f172a;
  --cor-banda: #0272f2;
  --cor-musica: #0f172a;
  --cor-equalizador: #f1f5f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #f1f5f9;
  font-family: var(--font-main);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
   CONTAINER DO APLICATIVO EXCLUSIVO MOBILE
   Centralizado, 100% responsivo
   ======================================================== */
.mobile-app-wrapper {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg-gradient);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.07);
  overflow-x: hidden;
}

/* Camada dedicada de Wallpaper com Transparência Suave */
.app-wallpaper-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.app-header,
.status-bar,
.main-content,
.app-footer {
  position: relative;
  z-index: 2;
}

.mobile-app-wrapper[data-custom-wallpaper] {
  background-color: #090e17 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

.mobile-app-wrapper[data-custom-wallpaper] .album-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-app-wrapper[data-custom-wallpaper] .equalizer-card-area {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mobile-app-wrapper[data-custom-wallpaper] .radio-title-main {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ========================================================
   TOPO / HEADER
   ======================================================== */
.app-header {
  padding: 12px 16px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 20;
}

.btn-hamburger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  cursor: pointer;
  pointer-events: auto !important;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s ease-out, 
              border-color 0.3s ease-out, 
              box-shadow 0.3s ease-out;
  flex-shrink: 0;
  position: relative;
  z-index: 25;
  padding: 0;
  outline: none;
  will-change: transform, box-shadow;
}

.btn-hamburger span {
  display: block;
  width: 19px;
  height: 2.2px;
  background: #0f172a;
  border-radius: 4px;
  transition: background-color 0.3s ease-out, width 0.3s ease-out, margin 0.3s ease-out;
}

.btn-hamburger .bar-top { width: 19px; }
.btn-hamburger .bar-mid { width: 14px; align-self: flex-start; margin-left: 11px; }
.btn-hamburger .bar-bot { width: 19px; }

.btn-hamburger:hover {
  background: #f8fafc;
  border-color: rgba(2, 114, 242, 0.6);
  box-shadow: 0 10px 15px -3px rgba(2, 114, 242, 0.25), 0 4px 6px -4px rgba(2, 114, 242, 0.18);
  transform: translateY(-1px);
}

.btn-hamburger:hover span {
  background: #0272f2;
}

.btn-hamburger:hover .bar-mid {
  width: 19px;
  margin-left: 0;
}

.btn-hamburger:active {
  transform: scale(0.92);
  background: #eff6ff;
  border-color: #0272f2;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.radio-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0272f2, #0052b3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 114, 242, 0.25);
}

.radio-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.radio-title-main {
  font-size: 14px;
  font-weight: 800;
  color: var(--cor-topo, #ffffff);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.radio-slogan-sub {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Red Live Badge */
.badge-no-ar {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--red-glow);
  flex-shrink: 0;
  animation: pulse-live 2.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 4px 14px var(--red-glow); }
  50% { box-shadow: 0 4px 22px rgba(239, 68, 68, 0.75); }
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.live-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.live-wave-bars span {
  width: 2px;
  background: #ffffff;
  border-radius: 1px;
  animation: wave 1s ease-in-out infinite alternate;
}

.live-wave-bars span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.live-wave-bars span:nth-child(2) { height: 9px; animation-delay: 0.3s; }
.live-wave-bars span:nth-child(3) { height: 6px; animation-delay: 0.2s; }

@keyframes wave {
  0% { height: 3px; }
  100% { height: 10px; }
}

/* ========================================================
   STATUS & OUVINTES BAR
   ======================================================== */
.status-bar {
  padding: 4px 16px 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green-online);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-online);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.pill-listeners {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* ========================================================
   CENTRO DO APP: CAPA E DETALHES
   ======================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px 10px 16px;
  width: 100%;
}

.album-card {
  width: 100%;
  max-width: 320px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  position: relative;
  transition: transform 0.3s ease;
}

.vinyl-wrapper {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1e293b 0%, #0f172a 45%, #020617 80%);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s ease;
  will-change: transform;
}

.spinning {
  animation: spin-vinyl 14s linear infinite;
}

@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-grooves {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 
    inset 0 0 0 8px rgba(255, 255, 255, 0.03),
    inset 0 0 0 16px rgba(255, 255, 255, 0.02),
    inset 0 0 0 26px rgba(255, 255, 255, 0.03),
    inset 0 0 0 38px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.vinyl-center {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #0272f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #0f172a, 0 0 12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-station-info {
  text-align: center;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
}

.card-radio-nome {
  font-size: 15px;
  font-weight: 800;
  color: #0b2545;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
  margin-bottom: 2px;
}

.card-radio-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.track-details {
  margin: 18px 0 16px 0;
  text-align: center;
  width: 100%;
  padding: 0 16px;
}

.track-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--cor-musica, var(--text-dark));
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.3px;
}

.artist-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-banda, #0272f2);
  letter-spacing: -0.1px;
}

/* Player Dock */
.player-dock-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: 28px;
  padding: 14px 18px 12px 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.player-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 280px;
}

.ctrl-btn-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, background-color 0.15s ease;
  will-change: transform;
}

.ctrl-btn-round:active {
  transform: scale(0.92);
  background: #f8fafc;
}

.btn-play-hero {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0272f2 0%, #0059c2 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px var(--primary-glow);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
  will-change: transform;
}

.btn-play-hero:active {
  transform: scale(0.93);
}

.btn-play-hero svg {
  width: 28px;
  height: 28px;
}

.btn-play-hero.is-playing {
  box-shadow: 0 10px 28px rgba(2, 114, 242, 0.55);
}

.spinner-loader {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.equalizer-card-area {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35);
}

.eq-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.dot-eq {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.eq-title-main { color: var(--cor-equalizador, #f1f5f9); }
.eq-title-sub { color: #38bdf8; font-weight: 800; }

.visualizer-spectrum {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  height: 36px;
  width: 100%;
  padding: 4px 6px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.spec-bar {
  flex: 1;
  max-width: 6px;
  min-width: 3px;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
  border-radius: 3px 3px 1px 1px;
  height: 3px;
  min-height: 3px;
}

.spec-bar.peak-high {
  background: linear-gradient(180deg, #4ade80 0%, #38bdf8 45%, #0284c7 100%);
  box-shadow: 0 -2px 6px rgba(74, 222, 128, 0.4);
}

/* ========================================================
   RODAPÉ FIXO (Ícones vs Banner de Anunciante 2208 x 480 px)
   Estrutura Oficial Restaurada para Slider Perfeito
   ======================================================== */
.app-footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  z-index: 30;
  line-height: 0;
}

/* Wrapper do Carrossel de Banners 2208 x 480 px */
.footer-banner-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000000;
  line-height: 0;
  user-select: none;
  touch-action: pan-y;
}

.banner-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  line-height: 0;
}

.footer-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
}

.footer-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2208 / 480;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Indicadores de slides (dots) */
.banner-dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-dot.active {
  background: #ffffff;
  width: 14px;
  border-radius: 4px;
}

/* Ícones de Navegação quando não há banner */
.footer-nav-icons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  width: 100%;
  background: #ffffff;
  line-height: normal;
}

.nav-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 12px;
  transition: color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  will-change: transform;
}

.nav-tab-item:active {
  transform: scale(0.95);
}

.nav-tab-item.active,
.nav-tab-item:hover {
  color: var(--primary);
}

.nav-tab-icon-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.nav-tab-item.active .nav-tab-icon-box {
  background: var(--primary-light);
  color: var(--primary);
}

/* ========================================================
   MENU HAMBURGUER (DRAWER LATERAL ULTRA SUAVE - 60 FPS)
   Sem blur pesado, aceleração por GPU pura (transform3d)
   ======================================================== */
.drawer-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.55) !important;
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Transição otimizada para GPU sem reflow */
  transition: opacity 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s linear !important;
  display: flex !important;
  justify-content: flex-start !important;
  will-change: opacity;
}

.drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.drawer-panel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: min(84vw, 320px) !important;
  max-width: 320px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  z-index: 100000 !important;
  box-shadow: 10px 0 35px rgba(2, 28, 64, 0.22) !important;
  /* Aceleração por Hardware 3D para deslize manteiga ultra suave */
  transform: translate3d(-102%, 0, 0) !important;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  will-change: transform;
  contain: paint layout;
}

@media (min-width: 441px) {
  .drawer-panel {
    left: calc(50% - 220px) !important;
  }
}

.drawer-backdrop.open .drawer-panel {
  transform: translate3d(0, 0, 0) !important;
}

.drawer-header {
  position: relative;
  background: linear-gradient(135deg, #0056c6 0%, #0272f2 100%);
  color: #ffffff;
  padding: 20px 16px 16px 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.drawer-header-bg {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.drawer-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-header-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3.5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.drawer-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
  padding: 0;
  will-change: transform;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.drawer-close-btn:active {
  transform: scale(0.92);
}

.drawer-brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  padding: 2.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.drawer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

.drawer-brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.drawer-station-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-station-slogan {
  font-size: 9.5px;
  font-weight: 600;
  color: #bfdbfe;
  letter-spacing: 0.3px;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Corpo / Navegação do Menu */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 10px 12px 10px;
}

.drawer-section-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 8px 10px 4px 10px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}

/* Itens de clique do Drawer: sem transições pesadas de 'all', apenas background e active */
.drawer-nav-item,
.drawer-nav-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8.5px 10px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background-color 0.12s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent !important;
}

.drawer-nav-item:hover,
.drawer-nav-link:hover {
  background: #f8fafc !important;
}

.drawer-nav-item:active,
.drawer-nav-link:active {
  background: #f1f5f9 !important;
}

.drawer-item-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.drawer-item-icon.icon-blue {
  background: #eff6ff !important;
  color: #0272f2 !important;
}

.drawer-item-icon.icon-indigo {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}

.drawer-item-icon.icon-amber {
  background: #fff7ed !important;
  color: #ea580c !important;
}

.drawer-item-icon.icon-rose {
  background: #fff1f2 !important;
  color: #e11d48 !important;
}

.drawer-item-icon.icon-emerald {
  background: #ecfdf5 !important;
  color: #10b981 !important;
}

.drawer-item-icon.icon-gold {
  background: #fefce8 !important;
  color: #ca8a04 !important;
}

.drawer-item-icon.icon-teal {
  background: #f0fdfa !important;
  color: #0d9488 !important;
}

.drawer-item-icon.icon-purple {
  background: #f3e8ff !important;
  color: #9333ea !important;
}

.drawer-badge-pill.pill-purple {
  background: #f3e8ff !important;
  color: #7e22ce !important;
}

.drawer-item-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.drawer-item-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}

.drawer-nav-item:hover .drawer-item-title,
.drawer-nav-link:hover .drawer-item-title {
  color: #0272f2 !important;
}

.drawer-item-subtitle {
  font-size: 10px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.drawer-item-arrow {
  color: #cbd5e1 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.drawer-badge-pill {
  font-size: 9px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 2.5px 7px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.3px !important;
}

.drawer-badge-pill.pill-pulse {
  background: #fee2e2 !important;
  color: #ef4444 !important;
}

.drawer-badge-pill.pill-gold {
  background: #fef3c7 !important;
  color: #b45309 !important;
}

.drawer-badge-pill.pill-green {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.drawer-footer {
  padding: 10px 14px 12px 14px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.drawer-whatsapp-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 12px !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.22) !important;
  transition: transform 0.15s ease !important;
  will-change: transform !important;
}

.drawer-whatsapp-btn:active {
  transform: scale(0.97) !important;
}

.drawer-bottom-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.drawer-version-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
}

.btn-admin-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.12s ease !important;
}

.btn-admin-link:hover {
  background: #eff6ff !important;
  color: #0272f2 !important;
}

/* ========================================================
   MODAIS OTIMIZADOS
   ======================================================== */
.app-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.55) !important;
  z-index: 99990 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.24s linear !important;
  will-change: opacity;
}

.app-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-sheet {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  max-height: 85dvh;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 18px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 102%, 0);
  transition: transform 0.26s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  will-change: transform;
}

.app-modal.active .modal-sheet {
  transform: translate3d(0, 0, 0);
}

.modal-handle {
  width: 36px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 12px auto;
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-close-modal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

.modal-body-content {
  overflow-y: auto;
  flex: 1;
  padding-right: 2px;
}

/* Formulários nos modais */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 114, 242, 0.15);
}

.btn-submit-action {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0272f2, #0059c2);
  color: #ffffff;
  border: none;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease;
  will-change: transform;
}

.btn-submit-action:active {
  transform: scale(0.98);
}

.schedule-card, .event-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease;
}

.schedule-card:hover, .event-card:hover {
  border-color: #cbd5e1;
}

.schedule-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.schedule-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3.5px 9px;
  border-radius: 20px;
}

.schedule-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.schedule-host {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.schedule-card.is-current-show {
  background: #f0f7ff;
  border: 1.5px solid #0272f2;
}

.schedule-card.is-current-show .schedule-time {
  background: #dbeafe;
  color: #0272f2;
  font-weight: 800;
}

.schedule-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0272f2;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.pix-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin-bottom: 14px;
}

.pix-key-val {
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 700;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 8px 0;
  word-break: break-all;
  border: 1px dashed #22c55e;
}

.toast-msg {
  position: fixed !important;
  bottom: 85px !important;
  left: 50% !important;
  transform: translate3d(-50%, 50px, 0) !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: 30px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  z-index: 100010 !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.22s ease !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  will-change: transform, opacity;
}

.toast-msg.show {
  transform: translate3d(-50%, 0, 0) !important;
  opacity: 1 !important;
}

.hidden {
  display: none !important;
}

/* ========================================================
   ESTILOS DO ESTÚDIO IA LYRIA 3 NO MODAL (DESIGN PREMIUM ULTRA-ARREDONDADO)
   ======================================================== */
.modal-sheet-ia {
  border-top: 3px solid #9333ea !important;
}

/* Seletor Pílula Suave */
.ia-model-toggle {
  display: flex !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  padding: 5px !important;
  border-radius: 9999px !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 14px !important;
}

.ia-model-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 12px !important;
  border-radius: 9999px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.ia-model-btn.active {
  background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35) !important;
  font-weight: 800 !important;
}

.ia-model-btn:not(.active):hover {
  color: #1e293b !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.ia-model-name {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.ia-model-sub {
  display: none !important;
}

/* Grid de Modelos Rápidos (Presets) */
.ia-presets-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.ia-preset-card,
.ia-preset-chip {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 10px 11px !important;
  border-radius: 16px !important;
  color: #1e293b !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.ia-preset-card:hover, .ia-preset-card:active,
.ia-preset-chip:hover, .ia-preset-chip:active {
  background: #faf5ff !important;
  border-color: #c084fc !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.12) !important;
}

