:root {
  color-scheme: dark;
  --bg: #070405;
  --text: #f6eeee;
  --muted: #a89898;
  --red: #8a141c;
  --red-hot: #d42230;
  --display: "Oswald", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(90, 12, 18, 0.45), transparent 65%),
    #030203;
  color: var(--text);
  font-family: var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(138, 20, 28, 0.22), transparent 46%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 8px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top span {
  color: #ff858c;
}

.top a:last-child,
.top button {
  justify-self: end;
  color: var(--muted);
}

.top button {
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--muted);
  cursor: pointer;
  justify-self: start;
  text-align: left;
}

.poster {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 0 16px 40px;
}

body.is-open .poster {
  display: none;
}

.sleeve {
  width: min(360px, 78vw);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sleeve img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.cover-label {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ff858c;
}

.cover-album {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.album-views {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.release .album-views {
  margin: 10px 0 0;
}

.invite {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.release[hidden],
body:not(.is-open) .release {
  display: none !important;
}

.release {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 48px;
}

.cover {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.kicker {
  margin: 22px 0 6px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff858c;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 14vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.9;
}

.tag {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tracks li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.play {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #d4212d, #6a1016);
  color: #fff4f4;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.play[aria-pressed="true"] {
  background: #2a1214;
  box-shadow: inset 0 0 0 1px rgba(255, 133, 140, 0.45);
  color: #ff858c;
}

.tracks audio {
  display: none;
  grid-column: 1 / -1;
  width: 100%;
  height: 36px;
  margin-top: 4px;
}

.tracks li.is-playing audio {
  display: block;
}

.cycle {
  margin: 28px 0 8px;
  letter-spacing: 0.12em;
  color: #d4af6a;
}

.tracks-rois {
  padding: 4px 12px 8px;
  border: 1px solid rgba(212, 175, 106, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(80, 48, 12, 0.22), rgba(12, 8, 6, 0.18));
}

.tracks-rois li {
  border-bottom-color: rgba(212, 175, 106, 0.14);
}

.tracks-rois .num {
  color: #d4af6a;
}

.tracks-rois .play {
  background: linear-gradient(145deg, #c4a056, #6e4e1e);
  color: #fff6e4;
  box-shadow: 0 8px 20px rgba(80, 48, 12, 0.28);
}

.tracks-rois .play[aria-pressed="true"] {
  background: #24180c;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 106, 0.5);
  color: #d4af6a;
}

.num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--red-hot);
}

.name {
  font-weight: 700;
  font-size: 16px;
}

.tag-extrait {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(201, 31, 44, 0.18);
  color: #ff858c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.more {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.compte-form {
  margin-top: 8px;
}

.cta {
  display: flex;
  min-height: 48px;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #d4212d, #6a1016);
  color: #fff4f4;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(120, 16, 22, 0.35);
}

.don {
  display: flex;
  min-height: 48px;
  min-width: 160px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 133, 140, 0.55);
  background: rgba(42, 10, 14, 0.72);
  color: #ff858c;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.release .don {
  margin-top: 28px;
}

.comments {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comments-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.auth-box {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.account-btn {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.auth-box .account-btn:first-child {
  background: linear-gradient(145deg, #d4212d, #6a1016);
  box-shadow: 0 10px 28px rgba(120, 16, 22, 0.35);
  color: #fff4f4;
}

.auth-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.auth-user button,
.comment-form button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #2a1214;
  color: #ff858c;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.comment-form[hidden] {
  display: none !important;
}

.comment-form textarea,
.compte-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(12, 6, 8, 0.7);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.comment-form button[type="submit"] {
  min-height: 44px;
  background: linear-gradient(145deg, #d4212d, #6a1016);
  color: #fff4f4;
}

.comments-error {
  color: #ff858c;
  font-size: 13px;
}

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

.comment-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
}

.comment-meta img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.fb-tag {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.18);
  color: #8ab4ff;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comment-body {
  margin: 0;
  color: #e8dcdc;
  font-size: 14px;
  line-height: 1.45;
}

.comment-empty {
  color: var(--muted);
  font-size: 14px;
}
