@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-700.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-600.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Mono';
  src: url('assets/fonts/JetBrainsMono-500.ttf') format('truetype');
  font-weight: 500;
}

:root {
  --bg: #0b0b0d;
  --panel: #141416;
  --accent: #ff4096;
  --text: #ffffff;
  --muted: #9a9a9f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100%;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cover {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--panel);
  display: block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.play:active { transform: scale(0.97); }

.volume {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  flex: 1 1 160px;
}

.volume input { width: 100%; accent-color: var(--accent); }

.quality {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.skip {
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #2a2a2e;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.skip:active { background: #1d1d21; }

.status {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #c8c8ce;
  background: #16161a;
  border: 1px solid #26262b;
  border-radius: 12px;
  padding: 10px 12px;
}

.linkish {
  border: none;
  background: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
