/* ── NEA Global Radio Player ── */

.nea-gr {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.nea-gr.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Bar ── */
.nea-gr-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  height: 60px;
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Track info ── */
.nea-gr-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

.nea-gr-artist {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nea-gr-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

/* ── Controls ── */
.nea-gr-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.nea-gr-controls button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.nea-gr-controls button:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.nea-gr-btn-play {
  width: 38px !important;
  height: 38px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.nea-gr-btn-play:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ── Progress bar ── */
.nea-gr-progress {
  flex: 1;
  max-width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: height 0.15s ease;
}

.nea-gr-progress:hover {
  height: 3px;
}

.nea-gr-progress-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
  transition: width 0.25s linear, background 0.15s ease;
}

.nea-gr-progress:hover .nea-gr-progress-fill {
  background: rgba(255, 255, 255, 0.85);
}

/* ── Time ── */
.nea-gr-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 80px;
  text-align: center;
}

/* ── Close ── */
.nea-gr-btn-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  font-size: 13px;
  line-height: 1;
  padding: 0;
}

.nea-gr-btn-close:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Icons ── */
.nea-gr-icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.nea-gr-icon-loading {
  animation: neaGrSpin 0.9s linear infinite;
}

@keyframes neaGrSpin {
  to { transform: rotate(360deg); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .nea-gr-bar {
    padding: 0 16px;
    gap: 12px;
    height: 56px;
  }

  .nea-gr-progress,
  .nea-gr-time {
    display: none;
  }
}
