:root {
  --sky: #8ed1f0;
  --card: #ffffff;
  --ink: #111111;
  --muted: #5c6670;
  --flamingo: #f0508c;
  --sun: #f8d568;
  --palm: #5aa845;
  --line: #e6eef3;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 16px;
  background: var(--sky);
  color: var(--ink);
  font-family: 'Avenir Next', Montserrat, 'Segoe UI', system-ui, sans-serif;
}

.card {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  background: var(--card);
  border-radius: 6px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2 {
  margin: 24px 0 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--flamingo);
}

button {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--flamingo);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button.quiet {
  padding: 6px 12px;
  background: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.problem {
  padding: 10px 14px;
  border-radius: 6px;
  background: #fde8ef;
  color: #a3123f;
  overflow-wrap: anywhere;
}

.now {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 6px;
  background: var(--sun);
}

.now img {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  object-fit: cover;
  flex: none;
}

.now-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.now-text h2 {
  margin: 0;
  color: var(--ink);
}

.now-text strong {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.1;
}

.progress {
  height: 6px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.progress div {
  height: 100%;
  background: var(--ink);
  transition: width 2s linear;
}

.songs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.song {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.song img {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
  flex: none;
}

.position {
  width: 24px;
  text-align: right;
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.song-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.song-text strong,
.song-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-text span {
  color: var(--muted);
  font-size: 14px;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--palm);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

footer {
  margin-top: 24px;
  text-align: right;
}

@media (max-width: 520px) {
  .now {
    flex-direction: column;
    align-items: flex-start;
  }
}
