.dial-box {
  background: #0d0b09;
  border: 1px solid #3a2e22;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.freq-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.freq-readout {
  font-size: 2rem;
  font-weight: 700;
  color: #ffb84d;
}

.freq-unit {
  font-size: 0.9rem;
  color: #b59e7a;
}

.status {
  font-size: 0.8rem;
  color: #8f8474;
}

.status.locked {
  color: #5cd67d;
}

.station-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.station-name {
  font-size: 1rem;
  min-height: 1.4em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.share-btn,
.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1.2;
  color: #c7b698;
  background: #231d17;
  border: 1px solid #4f3f2f;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.share-btn:hover:not(:disabled),
.fav-btn:hover:not(:disabled) {
  border-color: #d9a441;
  color: #ffb84d;
  background: #2e251b;
}

.share-btn:active:not(:disabled),
.fav-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.share-btn.is-copied {
  color: #5cd67d;
  border-color: #4a8f5c;
  background: #1f2b22;
}

.share-btn:disabled,
.fav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.fav-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.fav-btn.is-fav {
  color: #141210;
  border-color: #ffb84d;
  background: #d9a441;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.35);
}

.fav-btn.is-fav:hover:not(:disabled) {
  color: #141210;
  background: #e5b24f;
}

.fav-btn.is-fav .fav-icon {
  fill: currentColor;
  stroke: currentColor;
}

.station-cat {
  font-size: 0.8rem;
  color: #9b8c78;
  min-height: 1.2em;
}

.now-playing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.35rem;
  min-height: 1.4em;
}

.now-playing {
  font-size: 0.82rem;
  color: #e6c27a;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-song-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  color: #e6c27a;
  border-color: #6b522c;
}

.save-song-btn.is-saved {
  background: #2f2a1b;
  color: #5cd67d;
  border-color: #4a8f5c;
}

.tuner-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.fav-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #2f261d;
}

.fav-nav button {
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}

.fav-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.fav-nav button:disabled:hover {
  background: #2e261f;
}

.fav-count {
  font-size: 0.78rem;
  color: #b59e7a;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .dial-box {
    padding: 0.85rem;
  }

  .freq-readout {
    font-size: 1.7rem;
  }

  .tuner-controls {
    gap: 0.4rem;
  }

  .tuner-controls button {
    min-height: 38px;
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .now-playing-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .fav-nav {
    gap: 0.35rem;
  }

  .fav-nav button {
    padding: 0.35rem 0.5rem;
    font-size: 0.74rem;
    min-height: 36px;
  }

  .fav-count {
    font-size: 0.72rem;
  }
}
