/* ==========================================================================
   Radio Playlist — shared base (variables, reset, toast)
   Used by both style-pc.css and style-m.css
   ========================================================================== */

:root {
  --bg-base: #0b0b0d;
  --bg-surface: #161618;
  --bg-surface-hover: #212124;
  --bg-elevated: #1c1c1f;
  --accent: #1db954;
  --accent-hover: #1ed760;
  --text-primary: #ffffff;
  --text-secondary: #a7a7a7;
  --text-muted: #6a6a6d;
  --border: #2a2a2d;
  --radius: 10px;
  --player-height: 88px;
  --sidebar-width: 240px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: var(--text-primary); border: none; cursor: pointer;
}

/* ---------- Toast (shared) ---------- */
.toast {
  position: fixed;
  bottom: calc(var(--player-height) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: 88vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Device switch link (shared) ---------- */
.device-switch {
  font-size: 12px;
  color: var(--text-muted);
}
.device-switch a { color: var(--text-secondary); text-decoration: underline; }
.device-switch a:hover { color: var(--text-primary); }
