:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --ink: #171815;
  --muted: #686a61;
  --card: #fffdf7;
  --line: #dbd7ca;
  --green: #1ed760;
  --coral: #e86445;
  --shadow: 0 24px 70px rgba(23, 24, 21, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(30, 215, 96, 0.18), transparent 36%),
    linear-gradient(320deg, rgba(232, 100, 69, 0.14), transparent 34%),
    var(--paper);
}

.shell {
  width: min(100%, 980px);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  margin: 0 auto;
}

.player {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(23, 24, 21, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.art-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #e5dfd1;
}

.art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.state-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--card);
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 6px 16px rgba(23, 24, 21, 0.18);
}

.state-dot.playing {
  background: var(--green);
}

.state-dot.paused {
  background: var(--coral);
}

.details {
  min-width: 0;
}

.eyebrow {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  min-height: 86px;
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.artist {
  min-height: 30px;
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfdbcf;
}

.progress div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 280ms ease;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .shell {
    place-items: start center;
    padding: 18px;
  }

  .player {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  h1 {
    min-height: 70px;
    font-size: 32px;
  }

  .artist {
    font-size: 16px;
  }
}
