/**
 * PROJETO IBMA — SISTEMA DE DESIGN EXCLUSIVO PARA CELULAR
 * Cores Oficiais:
 * Verde-petróleo: #183F36
 * Preto: #111111
 * Branco acinzentado: #F5F6F3
 * Dourado suave: #D5B779
 * Branco: #FFFFFF
 */

:root {
  --color-primary: #183F36;
  --color-primary-dark: #0f2b25;
  --color-primary-light: #24584b;
  --color-primary-soft: rgba(24, 63, 54, 0.08);
  --color-text-main: #111111;
  --color-text-muted: #666666;
  --color-bg-body: #F5F6F3;
  --color-gold: #D5B779;
  --color-gold-dark: #b89b5c;
  --color-gold-soft: rgba(213, 183, 121, 0.15);
  --color-card: #FFFFFF;
  --color-border: #E5E7EB;
  --color-danger: #DC2626;
  --color-success: #16A34A;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bottom-bar-height: 64px;
  --mini-player-height: 60px;
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container Mobile-First Centralizado */
.app-wrapper {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--color-bg-body);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
}

/* Container Superior Fixo (Player no Topo + Header com Logo) */
.top-fixed-bar-container {
  position: sticky;
  top: 0;
  z-index: 45;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Barra do Player da Rádio no Topo (Fixa, acima do menu onde tem a logo) */
.top-radio-player {
  background: linear-gradient(90deg, #183F36 0%, #153b32 60%, #1c4b40 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  padding-top: max(8px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(213, 183, 121, 0.35);
  gap: 10px;
}

.top-radio-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.top-radio-cover {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--color-primary);
  border: 1.5px solid var(--color-gold);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Equalizador animado exclusivo do topo */
.top-equalizer {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(213, 183, 121, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px 7px 4px;
  flex-shrink: 0;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.top-eq-bar {
  width: 3px;
  height: 6px;
  background: linear-gradient(180deg, #E5A93C 0%, #D5B779 100%);
  border-radius: 2px;
  transition: height 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

/* Alturas de repouso (música pausada) */
.top-equalizer .top-eq-bar:nth-child(1) { height: 6px; }
.top-equalizer .top-eq-bar:nth-child(2) { height: 10px; }
.top-equalizer .top-eq-bar:nth-child(3) { height: 14px; }
.top-equalizer .top-eq-bar:nth-child(4) { height: 9px; }
.top-equalizer .top-eq-bar:nth-child(5) { height: 5px; }

/* Animação rítmica do equalizador quando a rádio está tocando */
.top-equalizer.playing {
  border-color: rgba(229, 169, 60, 0.85);
  box-shadow: 0 0 10px rgba(229, 169, 60, 0.35), inset 0 1px 3px rgba(0,0,0,0.2);
}

.top-equalizer.playing .top-eq-bar {
  opacity: 1;
}

.top-equalizer.playing .top-eq-bar:nth-child(1) {
  animation: eq-bounce-1 0.75s ease-in-out infinite alternate;
}
.top-equalizer.playing .top-eq-bar:nth-child(2) {
  animation: eq-bounce-2 0.62s ease-in-out infinite alternate 0.12s;
}
.top-equalizer.playing .top-eq-bar:nth-child(3) {
  animation: eq-bounce-3 0.82s ease-in-out infinite alternate 0.22s;
}
.top-equalizer.playing .top-eq-bar:nth-child(4) {
  animation: eq-bounce-4 0.58s ease-in-out infinite alternate 0.08s;
}
.top-equalizer.playing .top-eq-bar:nth-child(5) {
  animation: eq-bounce-5 0.72s ease-in-out infinite alternate 0.18s;
}

@keyframes eq-bounce-1 {
  0% { height: 4px; }
  50% { height: 18px; }
  100% { height: 8px; }
}
@keyframes eq-bounce-2 {
  0% { height: 16px; }
  40% { height: 6px; }
  100% { height: 23px; }
}
@keyframes eq-bounce-3 {
  0% { height: 8px; }
  60% { height: 24px; }
  100% { height: 12px; }
}
@keyframes eq-bounce-4 {
  0% { height: 21px; }
  35% { height: 7px; }
  100% { height: 18px; }
}
@keyframes eq-bounce-5 {
  0% { height: 5px; }
  50% { height: 15px; }
  100% { height: 6px; }
}

.top-radio-info {
  flex: 1;
  min-width: 0;
}

.top-radio-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.top-radio-track {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.top-radio-artist {
  font-size: 10.5px;
  color: var(--color-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.top-radio-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-play-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #111111;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.btn-play-top:active {
  transform: scale(0.92);
  background: var(--color-gold-dark);
}

/* Cabeçalho com a Logo IBMA */
.app-header {
  border-bottom: 1px solid var(--color-border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-icon,
.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn {
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.header-btn:hover, .header-btn:active {
  background-color: var(--color-primary-soft);
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Conteúdo Principal */
.main-content {
  flex: 1;
  padding: 16px;
  padding-bottom: calc(var(--bottom-bar-height) + 20px + env(safe-area-inset-bottom));
}

/* Menu Hambúrguer Drawer */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #ffffff;
  z-index: 51;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.menu-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
}

.drawer-section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 12px 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.drawer-link svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.drawer-link:hover, .drawer-link:active, .drawer-link.active {
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
}

/* Barra de Navegação Inferior (Bottom Bar) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding-top: 6px;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 45;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #777777;
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.15s ease;
  position: relative;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: stroke 0.2s ease;
}

.nav-item.active {
  color: var(--color-primary);
}

.nav-item.active svg {
  stroke: var(--color-primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

.nav-publish-btn {
  background: var(--color-primary);
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(24, 63, 54, 0.35);
  margin-top: -12px;
  border: 3px solid #ffffff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-publish-btn:hover, .nav-publish-btn:active {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.nav-publish-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}

/* Player Flutuante da Rádio IBMA (Mini Player) */
.radio-mini-player {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--mini-player-height);
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  z-index: 44;
}

.mini-cover {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--color-primary);
  border: 1px solid var(--color-gold);
  flex-shrink: 0;
  cursor: pointer;
}

.mini-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.mini-track {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.mini-artist {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-play-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-play-mini:active {
  transform: scale(0.92);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-danger);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-danger);
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* Modal Player Expandido */
.player-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-modal.open {
  opacity: 1;
  visibility: visible;
}

.player-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 380px;
  border-radius: 28px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(213, 183, 121, 0.3);
  position: relative;
}

.player-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f1f1;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
}

.expanded-cover-wrapper {
  width: 220px;
  height: 220px;
  margin: 12px auto 20px;
  position: relative;
}

.expanded-cover {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(24, 63, 54, 0.25);
  border: 2px solid var(--color-gold);
}

.expanded-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.expanded-artist {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.audio-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  margin-bottom: 16px;
}

.audio-bar {
  width: 3px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-bars.playing .audio-bar:nth-child(1) { animation: sound-wave 0.8s infinite alternate 0.1s; }
.audio-bars.playing .audio-bar:nth-child(2) { animation: sound-wave 0.9s infinite alternate 0.3s; }
.audio-bars.playing .audio-bar:nth-child(3) { animation: sound-wave 0.7s infinite alternate 0.2s; }
.audio-bars.playing .audio-bar:nth-child(4) { animation: sound-wave 1.1s infinite alternate 0.4s; }
.audio-bars.playing .audio-bar:nth-child(5) { animation: sound-wave 0.8s infinite alternate 0.15s; }

@keyframes sound-wave {
  0% { height: 4px; }
  100% { height: 22px; background: var(--color-gold); }
}

.volume-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.volume-slider-row input[type=range] {
  flex: 1;
  accent-color: var(--color-primary);
}

/* Cartões (Cards) & Componentes */
.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.card-official-banner {
  border-left: 4px solid var(--color-gold);
  background: linear-gradient(135deg, #ffffff 0%, #FAF8F4 100%);
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--color-gold-soft);
}

.user-meta-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-main);
  line-height: 1.2;
}

.user-meta-role {
  font-size: 11px;
  color: var(--color-text-muted);
}

.tag-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.tag-badge-gold {
  background: var(--color-gold-soft);
  color: #8C6D23;
  border: 1px solid rgba(213, 183, 121, 0.4);
}

.tag-badge-primary {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.post-text {
  font-size: 14.5px;
  color: #222222;
  line-height: 1.55;
  margin-bottom: 12px;
  word-break: break-word;
}

.post-image-preview {
  width: 100%;
  max-height: 380px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 12px;
}

.post-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  margin-top: 6px;
}

.reaction-btn-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-react {
  background: #f8f9f8;
  border: 1px solid #eee;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #444;
  transition: all 0.15s ease;
}

.btn-react:active, .btn-react.active {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Formulários */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--color-text-main);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover, .btn-primary:active {
  background: var(--color-primary-dark);
}

.btn-gold {
  background: var(--color-gold);
  color: #111111;
}

.btn-gold:hover, .btn-gold:active {
  background: var(--color-gold-dark);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-main);
}

.btn-outline:active {
  background: var(--color-bg-body);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

.btn-full {
  width: 100%;
}

/* Mensagens Flash */
.flash-messages-container {
  margin-bottom: 14px;
}

.flash-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
}

.flash-success {
  background: #DCFCE7;
  color: #166534;
  border-left: 4px solid var(--color-success);
}

.flash-error {
  background: #FEE2E2;
  color: #991B1B;
  border-left: 4px solid var(--color-danger);
}

.flash-warning {
  background: #FEF3C7;
  color: #92400E;
  border-left: 4px solid var(--color-gold);
}

.flash-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 0 4px;
}

/* Atalhos Rápidos da Home */
.quick-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 6px;
  padding: 10px 4px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shortcut-item:active {
  transform: scale(0.96);
}

.shortcut-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcut-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-main);
  text-align: center;
}

/* Músicas & Louvor */
.song-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}

.key-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 30px;
  text-align: center;
}

.song-meta-col {
  flex: 1;
  margin-left: 10px;
  min-width: 0;
}

.song-title {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Visualizador de Cifra / Letra */
.cifra-viewer {
  font-family: "Courier New", Courier, monospace;
  background: #111;
  color: #eee;
  padding: 16px;
  border-radius: var(--radius-md);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.cifra-viewer .chord {
  color: var(--color-gold);
  font-weight: bold;
}

/* Estados Vazios */
.empty-state {
  text-align: center;
  padding: 36px 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}

.empty-state svg {
  color: var(--color-gold-dark);
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 280px;
  margin: 0 auto 16px;
}

/* Animação do Indicador de Carregamento da Rádio */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-play-top svg,
#btnPlayMainPage svg,
#btnPlayModal svg {
  transition: transform 0.15s ease;
}
