:root {
  --page-zoom: .85;
  --ink: #050405;
  --accent: #dc1226;
  --frost: #e9eef5;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --bass: 0;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html {
  zoom: var(--page-zoom);
  overflow: hidden auto;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* {
  box-sizing: border-box;
  cursor: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon-defs {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.ui-icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon .fill,
.player-icon .fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- cursor ---------- */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  pointer-events: none;
  opacity: 0;
  background: url("../img/cursor.png") center / contain no-repeat;
  filter: drop-shadow(0 0 .6px rgba(255, 255, 255, .75)) drop-shadow(0 0 1.5px rgba(255, 255, 255, .25));
  will-change: transform;
  transition: opacity .2s ease;
}

.custom-cursor.is-visible {
  opacity: 1;
}

@media (pointer: coarse) {
  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none;
  }
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--ink);
  -webkit-user-select: none;
  user-select: none;
}

body {
  color: var(--frost);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- keyframes ---------- */

@keyframes grainShift {
  0% { transform: translate3d(-1.5%, -1%, 0); }
  100% { transform: translate3d(1.5%, 1%, 0); }
}

@keyframes snowFall {
  from { transform: translate3d(0, -4vh, 0); }
  to { transform: translate3d(var(--drift), 108vh, 0); }
}

@keyframes cdDrop {
  from { opacity: 0; scale: .82; filter: blur(8px); }
  to { opacity: 1; scale: 1; filter: blur(0); }
}

@keyframes cleanReveal {
  from { opacity: 0; translate: 0 15px; filter: blur(5px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

@keyframes cleanRevealLeft {
  from { opacity: 0; translate: -12px 0; filter: blur(4px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

@keyframes entryExit {
  from { opacity: 1; translate: 0 0; filter: blur(0); }
  to { opacity: 0; translate: 0 -12px; filter: blur(8px); }
}

@keyframes entryBreath {
  0%, 100% { opacity: .82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes ringIn {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 20, 44, .55); }
  50% { box-shadow: 0 0 0 5px rgba(224, 20, 44, 0); }
}

/* ---------- scene + ambient layers ---------- */

.scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  grid-template-areas: "disc profile";
  gap: clamp(26px, 5vw, 98px);
  align-items: start;
  padding: clamp(76px, 10vh, 120px) clamp(28px, 6vw, 130px) 170px;
  min-height: 100svh;
  isolation: isolate;
  background: #030303;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .07;
  background:
    repeating-radial-gradient(circle at 31% 37%, transparent 0 1px, rgba(255, 255, 255, .08) 1px 2px, transparent 2px 4px),
    repeating-linear-gradient(121deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 5px);
  background-size: 19px 21px, 13px 17px;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: grainShift 9s steps(8) infinite alternate;
}

.bg-canvas {
  position: fixed;
  inset: -34px;
  z-index: -3;
  width: calc(100% + 68px);
  height: calc(100% + 68px);
  pointer-events: none;
  filter: blur(80px) brightness(.34) saturate(.75);
  transition: filter 1.35s var(--ease-out);
}

.entered .bg-canvas {
  filter: blur(80px) brightness(.66) saturate(1.02);
}

.background-edits {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.background-edits video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: brightness(.78) saturate(.76) contrast(.92);
  transition: opacity .65s ease;
}

.entered .background-edits video.is-active { opacity: .53; }

.entered .background-edits::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #08050c12 20%, #08050c62 76%, #08050c9e),
    radial-gradient(ellipse at 49% 42%, transparent 30%, #04030996 100%);
}

.scene::before {
  content: "";
  position: fixed;
  inset: -18px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(115% 95% at 68% 30%, rgba(0, 0, 0, 0), rgba(1, 2, 4, .34) 72%, rgba(0, 1, 3, .55) 100%),
    linear-gradient(rgba(1, 2, 4, .2), rgba(0, 1, 3, .42));
}

.entered.scene::before {
  background:
    radial-gradient(115% 95% at 68% 30%, rgba(0, 0, 0, 0), rgba(1, 2, 4, .22) 70%, rgba(0, 1, 3, .5) 100%),
    linear-gradient(rgba(1, 2, 4, .12), rgba(0, 1, 3, .32));
}

.pointer-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--pointer-x) var(--pointer-y), rgba(196, 18, 38, calc(.12 + var(--bass) * .1)), transparent 70%);
}

.snowfall {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: .72;
}

.snowflake {
  position: absolute;
  top: -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 6px rgba(255, 255, 255, .18);
  animation: snowFall linear infinite;
  will-change: transform;
}

/* ---------- music player ---------- */

.music-player {
  position: fixed;
  bottom: 24px;
  left: 26px;
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 120px);
  grid-template-areas:
    "meta controls eq"
    "progress progress progress"
    "status status status";
  align-items: center;
  gap: 8px 20px;
  width: clamp(440px, 41vw, 600px);
  padding: 15px 18px 10px;
  transform: translateY(16px);
  opacity: 0;
  transition: opacity .8s ease .3s, transform .9s var(--ease-out) .3s;
}

.entered .music-player {
  transform: translateY(0);
  opacity: 1;
}

.music-player > * {
  position: relative;
  z-index: 1;
}

.track-line {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.track-title {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .97);
  text-align: left;
}

.track-title-text {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .85), 0 0 30px rgba(0, 0, 0, .5);
}

.track-title-icon {
  width: 17px;
  height: 17px;
  opacity: .55;
  transform: rotate(180deg);
  transition: transform .3s var(--ease-out), opacity .2s ease;
}

.track-title:hover .track-title-icon,
.track-title:focus-visible .track-title-icon { opacity: 1; }
.track-title[aria-expanded="true"] .track-title-icon { transform: rotate(0deg); opacity: 1; }

.track-title:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 4px;
  border-radius: 4px;
}

.track-count {
  color: rgba(255, 255, 255, .5);
  font-size: 12.5px;
  letter-spacing: .02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}

.player-controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.player-control {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  background: transparent;
  transition: transform .25s var(--ease-out), color .2s ease, background .2s ease;
}

.player-control:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transform: scale(1.08);
}

.player-control.primary {
  width: 42px;
  height: 42px;
  color: #0c0d10;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.player-control.primary:hover {
  transform: scale(1.06);
  background: #fff;
  color: #0c0d10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .42);
}

.player-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-control.primary .player-icon {
  width: 16px;
  height: 16px;
}

.icon-pause { display: none; }
.is-playing .icon-play { display: none; }
.is-playing .icon-pause { display: block; }

.player-control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 2px;
}

.progress {
  grid-area: progress;
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: 18px;
  margin: 3px 0 -8px;
  padding: 0;
  appearance: none;
  background: transparent;
  outline: none;
}

.progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff var(--played, 0%), rgba(255, 255, 255, .3) var(--played, 0%));
}

.progress::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -2.5px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

.progress:hover::-webkit-slider-thumb,
.progress:focus-visible::-webkit-slider-thumb,
.progress:active::-webkit-slider-thumb { opacity: .9; }

.progress::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.progress::-moz-range-progress { height: 4px; border-radius: 999px; background: #fff; }
.progress::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; }

.track-status {
  grid-area: status;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: rgba(255, 255, 255, .5);
  font: 12.5px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.track-status .remaining { justify-self: end; }

.music-player .track-line,
.music-player .player-controls,
.music-player .progress,
.music-player .track-status,
.music-player .eq {
  opacity: 0;
}

.entered .music-player .track-line { animation: cleanRevealLeft .65s .5s var(--ease-out) both; }
.entered .music-player .player-controls { animation: cleanReveal .62s .56s var(--ease-out) both; }
.entered .music-player .eq { animation: cleanReveal .62s .6s var(--ease-out) both; }
.entered .music-player .progress { animation: cleanRevealLeft .7s .62s var(--ease-out) both; }
.entered .music-player .track-status { animation: cleanReveal .55s .7s var(--ease-out) both; }

/* the song list that opens above the player */
.queue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 6;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(14, 13, 17, .92), rgba(8, 8, 10, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 22px 60px rgba(0, 0, 0, .55);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transform-origin: bottom left;
  animation: queueIn .3s var(--ease-out) both;
}

.queue[hidden] { display: none; }

@keyframes queueIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.queue-heading {
  margin: 2px 8px 8px;
  color: rgba(255, 255, 255, .5);
  font-size: 12.5px;
}

.queue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  text-align: left;
  transition: background .18s ease, color .18s ease;
}

.queue-item:hover,
.queue-item:focus-visible {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  outline: none;
}

.queue-item[aria-current="true"] { color: #fff; }

.queue-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.queue-item[aria-current="true"] img {
  box-shadow: 0 0 0 1.5px #fff, 0 0 16px rgba(220, 18, 38, .45);
}

.queue-title {
  overflow: hidden;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-state {
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
}

.queue-item[aria-current="true"] .queue-state { color: #ff5a6c; }

/* ---------- CD ---------- */

.cd-wrap {
  grid-area: disc;
  position: sticky;
  top: clamp(96px, 15vh, 170px);
  z-index: 6;
  justify-self: center;
  align-self: start;
  /* 100vh is scaled by the page zoom, so divide it back out to get the real viewport height.
     232px leaves room for the "in the background now" button and the music player below the disc. */
  width: min(100%, 700px, calc((100vh / var(--page-zoom) - clamp(96px, 15vh, 170px) - 232px) / 1.065));
  aspect-ratio: 1;
  transform: translate3d(-18px, 14px, 0);
  opacity: 0;
  scale: 1;
  pointer-events: auto;
  transition: opacity .9s ease .45s, transform 1s var(--ease-out) .45s, scale .5s var(--ease-out);
}

.playing .cd-wrap:hover { scale: 1.04; }

.cd-wrap:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 8px;
  border-radius: 50%;
}

.entered .cd-wrap {
  transform: none;
  opacity: 1;
  animation: cdDrop .9s .5s var(--ease-out) both;
}

.cd-glow {
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(220, 18, 38, .62) 62%, rgba(220, 18, 38, 0) 100%);
  filter: blur(26px);
  opacity: calc(var(--bass) * .9);
  transform: scale(calc(1 + var(--bass) * .14));
  pointer-events: none;
}

.cd-ring {
  position: absolute;
  inset: -6.5%;
  width: 113%;
  height: 113%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.entered .cd-ring { animation: ringIn 1.2s 1.1s var(--ease-out) both; }

.cd-ring text {
  fill: rgba(255, 255, 255, .5);
  font: 600 3.4px Arial, Helvetica, sans-serif;
  letter-spacing: .32px;
  text-transform: lowercase;
}

.cd-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #0c0d11;
  box-shadow: 0 46px 90px rgba(0, 0, 0, .5), 0 14px 34px rgba(0, 0, 0, .4);
  will-change: transform;
  -webkit-mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 0 2.75%, #000 3%);
  mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 0 2.75%, #000 3%);
}

.cd-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.12) brightness(.68);
  transition: opacity .35s ease;
}

.cd-artwork.is-swapping { opacity: .15; }

.cd-tone {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 50%, transparent 0 26%, rgba(0, 0, 0, .18) 54%, rgba(0, 0, 0, .42) 76%, rgba(0, 0, 0, .62) 97%);
}

.cd-streak {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cd-streak.a {
  background: linear-gradient(118deg, transparent 26%, rgba(255, 255, 255, .16) 40%, rgba(122, 224, 255, .2) 44.5%, rgba(255, 140, 160, .16) 48%, rgba(160, 240, 190, .14) 51%, rgba(255, 255, 255, .1) 55%, transparent 68%);
  opacity: .9;
}

.cd-streak.b {
  background: linear-gradient(118deg, transparent 34%, rgba(190, 160, 255, .12) 41%, rgba(255, 220, 150, .1) 45%, transparent 52%);
  opacity: .8;
}

.cd-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 -6px 18px rgba(0, 0, 0, .5),
    inset 0 6px 14px rgba(255, 255, 255, .05);
  pointer-events: none;
}

.cd-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 32%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side,
      rgba(6, 7, 10, 0) 0 17.5%,
      #cfd3db 17.5% 20.5%,
      rgba(36, 39, 46, .62) 20.5% 42.5%,
      rgba(26, 28, 34, .5) 42.5% 56.5%,
      rgba(14, 15, 19, .3) 56.5% 63.5%,
      rgba(10, 10, 14, 0) 74%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* ---------- "in the background now" button ---------- */

.bg-now {
  position: fixed;
  left: 26px;
  bottom: calc(24px + var(--player-h, 112px) + 12px);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: min(460px, 40vw);
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 17px;
  background: linear-gradient(170deg, rgba(12, 12, 15, .8), rgba(6, 7, 9, .74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 40px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .6s ease, transform .7s var(--ease-out), border-color .2s ease;
}

.bg-now[hidden] { display: none; }

.entered .bg-now.is-ready {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.bg-now:hover { border-color: rgba(255, 255, 255, .2); }

.bg-now:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 3px;
}

.bg-now-thumb {
  position: relative;
  flex: none;
  width: 64px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #15131a;
}

.bg-now-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}

.bg-now-thumb::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0142c;
  animation: livePulse 2s ease-in-out infinite;
}

.bg-now-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bg-now-copy strong {
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bg-now-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  padding: 8px 12px;
  border-radius: 11px;
  background: #fff;
  color: #0c0d10;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s var(--ease-out);
}

.bg-now:hover .bg-now-action { transform: scale(1.04); }

/* ---------- profile ---------- */

.profile-column {
  grid-area: profile;
  align-self: start;
  min-width: 0;
  width: 100%;
}

.profile {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --move-x: 0px;
  --move-y: 0px;
  --shine-x: 50%;
  --shine-y: 35%;
  --avatar-size: clamp(95px, 10vw, 152px);
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: var(--avatar-size) minmax(0, 1fr);
  grid-template-areas:
    "avatar head"
    "bio bio"
    "socials socials";
  gap: clamp(15px, 2vw, 26px);
  width: 100%;
  padding: clamp(24px, 3.1vw, 45px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 33px;
  background: linear-gradient(168deg, rgba(11, 12, 15, .8), rgba(6, 7, 9, .7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 42.5px 112.5px rgba(0, 0, 0, .55);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transform: translate3d(var(--move-x), calc(14px + var(--move-y)), 0) rotate(2.3deg) perspective(1125px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  outline: none;
  transition: opacity .95s ease .62s, transform .16s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .25s ease;
}

.entered .profile {
  transform: translate3d(var(--move-x), var(--move-y), 0) rotate(2.3deg) perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  opacity: 1;
}

.profile::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04) 34%, rgba(255, 255, 255, .02) 66%, rgba(230, 30, 60, .22) 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.profile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .09), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.entered .profile::after { opacity: .6; transition: opacity 1s ease .8s; }
.entered .profile:hover::after { opacity: .92; transition-delay: 0s; }

.profile > * {
  position: relative;
  z-index: 1;
}

.avatar-wrap {
  grid-area: avatar;
  align-self: center;
  justify-self: start;
  width: var(--avatar-size);
  transform: translateZ(22.5px);
}

.avatar-ring {
  position: relative;
  width: var(--avatar-size);
  height: var(--avatar-size);
  padding: 3.75px;
  border-radius: 35px;
  background: linear-gradient(150deg, rgba(244, 92, 112, .8), rgba(122, 8, 28, .95) 52%, rgba(230, 30, 60, .55));
  box-shadow: 0 15px 40px rgba(0, 0, 0, .45), 0 0 32.5px rgba(160, 18, 38, .2);
}

.avatar {
  position: absolute;
  inset: 3.75px;
  display: block;
  width: calc(100% - 7.5px);
  height: calc(100% - 7.5px);
  border-radius: 31px;
  object-fit: cover;
  filter: saturate(.95) brightness(.9);
  transition: transform .35s var(--ease-out), filter .35s ease;
}

.avatar-wrap:hover .avatar {
  transform: scale(1.04) rotate(-1deg);
  filter: saturate(1) brightness(1);
}

.head {
  grid-area: head;
  min-width: 0;
  align-self: center;
  transform: translateZ(12px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .55);
  font: 600 12.5px/1 Arial, sans-serif;
  letter-spacing: .2em;
  text-transform: lowercase;
}

.eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e0142c;
  box-shadow: 0 0 10px #e0142c;
}

.profile h1 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 62px);
  overflow-wrap: anywhere;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: lowercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}

.bio {
  grid-area: bio;
  width: 100%;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .62);
  font: italic 400 clamp(19px, 2.2vw, 22.5px)/1.55 Arial, Helvetica, sans-serif;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
  transform: translateZ(8px);
}

.bio p { margin: 0; }
.bio p + p { margin-top: .6em; }

.bio-link {
  color: rgba(255, 255, 255, .88);
  text-decoration: underline;
  text-decoration-color: rgba(220, 18, 38, .55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.bio-link:hover {
  color: #fff;
  text-decoration-color: rgba(220, 18, 38, .95);
}

.bio-link:focus-visible {
  outline: 2px solid #dc1226;
  outline-offset: 3px;
  border-radius: 3px;
}

.socials {
  grid-area: socials;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  transform: translateZ(8px);
}

.social {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: transform .3s var(--ease-out), color .25s ease;
}

.social:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.06);
}

.social.discord:hover { color: #7289da; }
.social.github:hover { color: #fff6fa; }
.social.spotify:hover { color: #1db954; }

.social::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -4px);
  pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--ease-out);
}

.social:hover::after,
.social:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social:focus-visible {
  outline: 2px solid #dc1226;
  outline-offset: 3px;
}

.social svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.profile .avatar-wrap,
.profile .head,
.profile .bio,
.profile .socials,
.profile .social {
  opacity: 0;
}

.entered .profile .avatar-wrap { animation: cleanReveal .78s .72s var(--ease-out) both; }
.entered .profile .head { animation: cleanRevealLeft .74s .8s var(--ease-out) both; }
.entered .profile .bio { animation: cleanRevealLeft .68s .88s var(--ease-out) both; }
.entered .profile .socials { animation: cleanReveal .7s .95s var(--ease-out) both; }
/* "backwards" so the pop-in doesn't keep holding transform and block the hover lift */
.entered .profile .social { opacity: 1; animation: socialPop .55s 1s var(--ease-out) backwards; }
.entered .profile .social:nth-child(2) { animation-delay: 1.06s; }
.entered .profile .social:nth-child(3) { animation-delay: 1.12s; }

@keyframes socialPop {
  from { opacity: 0; transform: translateY(9px) scale(.72) rotate(-5deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* ---------- volume ---------- */

.volume-dock {
  position: fixed;
  top: 20px;
  left: 22px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12.5px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12.5px;
  background: linear-gradient(170deg, rgba(10, 11, 14, .78), rgba(6, 7, 9, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 40px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  opacity: 0;
  transition: opacity .8s ease .42s;
}

.entered .volume-dock {
  opacity: 1;
  animation: cleanReveal .65s .44s var(--ease-out) both;
}

.sound-toggle {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .9);
  background: transparent;
  transition: background .2s ease, transform .25s var(--ease-out);
}

.sound-toggle:hover {
  background: rgba(255, 255, 255, .12);
  transform: scale(1.07);
}

.sound-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 2px;
}

.sound-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle.is-muted .sound-wave { opacity: .18; }

.eq {
  grid-area: eq;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
  height: 46px;
  justify-self: end;
  align-self: end;
  pointer-events: none;
}

.eq span {
  display: block;
  width: 5px;
  height: 100%;
  border-radius: 3.75px;
  background: rgba(255, 255, 255, .85);
  transform-origin: bottom;
  transform: scaleY(.12);
  will-change: transform;
}

.volume-slider {
  display: block;
  width: 175px;
  height: 14px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  outline: none;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff var(--filled, 80%), rgba(255, 255, 255, .24) var(--filled, 80%));
}

.volume-slider::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -3.5px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

.volume-slider:hover::-webkit-slider-thumb,
.volume-slider:focus-visible::-webkit-slider-thumb,
.volume-slider:active::-webkit-slider-thumb { opacity: .9; }

.volume-slider::-moz-range-track { height: 2px; border-radius: 999px; background: rgba(255, 255, 255, .24); }
.volume-slider::-moz-range-progress { height: 2px; border-radius: 999px; background: #fff; }
.volume-slider::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; }

/* ---------- entry ---------- */

.entry {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  border: 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: rgba(2, 3, 5, .52);
  transition: opacity .7s ease, visibility .7s;
}

.entry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(91, 18, 38, .14), rgba(3, 2, 3, .28) 48%, rgba(3, 2, 3, .6));
}

.entered .entry {
  visibility: visible;
  pointer-events: none;
  animation: entryExit .62s cubic-bezier(.4, 0, .2, 1) both;
}

.entry-copy {
  color: rgba(255, 255, 255, .95);
  font: 500 clamp(20px, 2.3vw, 30px)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-transform: lowercase;
  text-shadow: 0 3px 25px rgba(0, 0, 0, .7);
  animation: entryBreath 2.6s ease-in-out infinite;
}

.entry-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .38);
  font-size: 13.5px;
  letter-spacing: .02em;
}

.entry:focus-visible .entry-copy {
  outline: 2px solid rgba(255, 255, 255, .7);
  outline-offset: 10px;
}

/* ---------- shared section headings ---------- */

.section-heading {
  margin: 0 0 16px;
  padding: 0 2px 13px;
  border-bottom: 1px solid #ffffff14;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #fff7fa;
  font-size: clamp(29px, 3.25vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-shadow: 0 4px 28px #f7859d30;
}

.section-heading p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14.5px;
}

.section-heading p:empty { display: none; }

.edits,
.reviews {
  position: relative;
  z-index: 4;
  margin-top: clamp(30px, 4.4vw, 64px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease .75s, transform .6s ease .75s;
  scroll-margin-top: 20px;
}

.entered .edits,
.entered .reviews {
  opacity: 1;
  transform: none;
}

/* ---------- edits ---------- */

.edits-pod {
  width: 100%;
}

.edits-fan {
  padding-top: 8px;
}

.edit-thumb {
  position: relative;
  flex: none;
  width: clamp(58px, 7.2vw, 116px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid #d7cad58c;
  border-radius: clamp(7px, .8vw, 11px);
  background: #15131a;
  box-shadow: 0 6px 14px #0009;
  transform: rotate(var(--fan, 0deg));
  transform-origin: center 140%;
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
}

.edit-thumb + .edit-thumb { margin-left: clamp(-30px, -2vw, -14px); }

.edit-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edits-pod:is(:hover, :focus-visible, [aria-expanded="true"]) .edit-thumb {
  transform: translateY(-3px) rotate(calc(var(--fan, 0deg) * 1.7));
}

.edits-hint {
  margin: 12px clamp(12px, 1.8vw, 19px) 10px;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

.edits-panel .edit-grid {
  padding: 0 clamp(10px, 1.5vw, 16px) clamp(12px, 1.6vw, 18px);
}

.edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.edit-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff1c;
  border-radius: clamp(14px, 1.7vw, 22px);
  background: #0d0b11;
  color: #fff;
  text-align: left;
  box-shadow: 0 12px 30px #0006;
  transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease-out);
}

.edit-card.is-feature {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8.2;
}

.edit-card img,
.edit-card video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-card img {
  filter: brightness(.78) saturate(.92);
  transition: transform .7s var(--ease-out), filter .35s ease;
}

.edit-card video {
  opacity: 0;
  transition: opacity .4s ease;
}

.edit-card.is-previewing video { opacity: 1; }

.edit-card:hover,
.edit-card:focus-visible {
  border-color: #ffffff3d;
  box-shadow: 0 16px 40px #0008, 0 0 0 1px #ffffff12;
}

.edit-card:hover img { transform: scale(1.04); filter: brightness(.95) saturate(1); }

.edit-card:focus-visible {
  outline: 2px solid #fbe2ef;
  outline-offset: 3px;
}

.edit-duration {
  position: absolute;
  right: clamp(9px, 1vw, 14px);
  bottom: clamp(9px, 1vw, 14px);
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .58);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.edit-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(46px, 4.4vw, 62px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0c0d10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.82);
  transition: opacity .25s ease, transform .35s var(--ease-out);
}

.edit-play .ui-icon {
  width: 40%;
  height: 40%;
  margin-left: 6%;
}

.edit-card:hover .edit-play,
.edit-card:focus-visible .edit-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.edit-live {
  position: absolute;
  top: 11px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .35s ease, transform .35s var(--ease-out);
}

.edit-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0142c;
  animation: livePulse 2s ease-in-out infinite;
}

.edit-card.is-background .edit-live {
  opacity: 1;
  transform: none;
}

@media (pointer: coarse) {
  .edit-play {
    opacity: .92;
    transform: translate(-50%, -50%) scale(.8);
  }
}

/* ---------- reviews ---------- */

.review-pods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.4vw, 18px);
  padding: 1px 0 3px;
}

.review-pod,
.pod-panel,
.review-dialog {
  --pod-ink: #ffd1dc;
  --pod-halo: #c94a714a;
  --pod-line: #f992b154;
}

[data-pod="books"] { --pod-halo: #a862524a; --pod-line: #e9a18b50; }
[data-pod="tv"] { --pod-halo: #c943704d; --pod-line: #fd96ae56; }
[data-pod="games"] { --pod-halo: #6f73ba4d; --pod-line: #aeb2fd53; }
[data-pod="songs"] { --pod-halo: #a05b9b52; --pod-line: #e5a0e058; }
[data-pod="edits"] { --pod-halo: #dc12264d; --pod-line: #ff6b7c58; }

.review-pod {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: auto auto 1fr / minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: 4px 7px;
  min-width: 0;
  padding: clamp(12px, 1.6vw, 22px);
  border: 1px solid #ffffff25;
  border-radius: clamp(15px, 2vw, 25px);
  overflow: hidden;
  text-align: left;
  color: #faf6f8;
  background:
    radial-gradient(ellipse at 87% 108%, var(--pod-halo), transparent 66%),
    linear-gradient(152deg, #ffffff0c, transparent 56%),
    rgba(13, 11, 18, .56);
  box-shadow: 0 12px 30px #0005, inset 0 1px #ffffff12;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition: border-color .22s ease, box-shadow .22s ease;
}

.review-pod::before {
  content: "";
  position: absolute;
  inset: 43% -17% -86% 22%;
  z-index: -1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 9px, #fff1 10px 11px);
  opacity: .35;
  transform: rotate(-18deg);
  pointer-events: none;
}

.entered .review-pod {
  animation: pod-sway 5.8s ease-in-out infinite;
  animation-delay: var(--pod-delay);
}

@keyframes pod-sway {
  0%, 100% { transform: rotate(-.33deg); }
  50% { transform: rotate(.33deg) translateY(-1.5px); }
}

.review-pod:hover,
.review-pod:focus-visible,
.review-pod[aria-expanded="true"] {
  animation-play-state: paused;
  border-color: var(--pod-line);
  box-shadow: 0 14px 34px #0007, inset 0 1px #ffffff2b, inset 0 -24px 36px #160d162a;
}

.review-pod[aria-expanded="true"] {
  border-color: #ffb3cb94;
  box-shadow: 0 0 21px var(--pod-halo), inset 0 1px #ffffff2b;
}

.pod-label {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  font-size: clamp(1.02rem, 1.92vw, 1.55rem);
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.pod-stats {
  grid-row: 2;
  grid-column: 1 / -1;
  color: rgba(255, 238, 244, .6);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.pod-arrow {
  grid-row: 1;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: clamp(22px, 2.35vw, 33px);
  aspect-ratio: 1;
  align-self: start;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  color: var(--pod-ink);
  background: #ffffff0b;
}

.pod-arrow .ui-icon { transition: transform .28s cubic-bezier(.22, .8, .34, 1); }
.review-pod[aria-expanded="true"] .pod-arrow .ui-icon { transform: rotate(180deg); }
.pod-sort[aria-pressed="true"] .ui-icon { transform: scaleY(-1); }

.pod-artwork {
  grid-row: 3;
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  align-self: end;
  min-width: 0;
  margin-top: clamp(10px, 1vw, 16px);
  padding: 3px 3px 4px;
}

.review-cover {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex: none;
  aspect-ratio: 2 / 3;
  color: var(--pod-ink);
  background: linear-gradient(145deg, #392936, #151019);
  border: 1px solid #ffffff26;
  border-radius: 8px;
}

.review-cover[data-shape="square"] { aspect-ratio: 1; }
.review-cover span { padding: 3px; font-size: .68rem; font-weight: 700; text-align: center; }

.review-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pod-artwork .review-cover {
  --fan-angle: -9deg;
  width: clamp(29px, 4.65vw, 72px);
  height: clamp(46px, 6.2vw, 96px);
  border: 2px solid #d7cad58c;
  border-radius: clamp(6px, .8vw, 11px);
  box-shadow: 0 6px 14px #0009;
  transform: rotate(var(--fan-angle));
  transform-origin: center 80%;
  transition: transform .28s cubic-bezier(.22, .8, .3, 1);
}

.pod-artwork .review-cover + .review-cover { margin-left: clamp(-14px, -1.2vw, -8px); }
.pod-artwork .review-cover:nth-child(2) { --fan-angle: -3deg; }
.pod-artwork .review-cover:nth-child(3) { --fan-angle: 4deg; }
.pod-artwork .review-cover:nth-child(4) { --fan-angle: 10deg; }

.review-pod:is(:hover, :focus-visible) .review-cover {
  transform: translateY(-2px) rotate(calc(var(--fan-angle) * .6));
}

.review-cover .pod-overflow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: linear-gradient(#1a10247a, #0d0811d9);
  text-shadow: 0 1px 6px #000a;
  font-size: clamp(.8rem, 1.65vw, 1.24rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pod-panel {
  margin-top: 16px;
  border: 1px solid #ffffff23;
  border-radius: 22px;
  background: radial-gradient(ellipse at right top, var(--pod-halo), transparent 29rem), rgba(14, 12, 19, .78);
  box-shadow: 0 14px 40px #0006, inset 0 1px #ffffff10;
  scroll-margin-top: 8px;
  transform-origin: top center;
  animation: pod-open .38s cubic-bezier(.22, .8, .3, 1) both;
}

.pod-panel[hidden] { display: none; }

.pod-panel.is-closing {
  pointer-events: none;
  animation: pod-close .23s cubic-bezier(.45, 0, .65, .35) both;
}

@keyframes pod-open {
  from { opacity: 0; transform: translateY(-8px) scale(.985, .975); }
  to { opacity: 1; transform: none; }
}

@keyframes pod-close {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-8px) scale(.985, .975); }
}

.pod-panel-header,
.review-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.pod-panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  flex-wrap: wrap;
  padding: 10px clamp(11px, 2vw, 19px);
  border-radius: 21px 21px 0 0;
  border-bottom: 1px solid #ffffff1a;
  background: rgba(22, 17, 27, .87);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.pod-panel h3 {
  margin: 0;
  color: #fff7fa;
  font-size: clamp(1.16rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  outline: none;
}

.pod-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pod-search {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #ffffff26;
  border-radius: 11px;
  background: #ffffff09;
  color: rgba(255, 255, 255, .55);
  transition: border-color .2s ease, background .2s ease;
}

.pod-search:focus-within {
  border-color: var(--pod-line);
  background: #ffffff12;
}

.pod-search input {
  width: clamp(80px, 11vw, 150px);
  padding: 0;
  border: 0;
  background: none;
  color: #fff7fa;
  font-size: .9rem;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
}

.pod-search input::placeholder { color: rgba(255, 255, 255, .4); }
.pod-search input::-webkit-search-cancel-button { display: none; }

.pod-close,
.pod-sort,
.review-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #ffffff26;
  border-radius: 11px;
  color: #fff7fa;
  background: #ffffff09;
  font: 600 .86rem Arial, Helvetica, sans-serif;
  transition: background .2s ease, border-color .2s ease;
}

.pod-sort { color: var(--pod-ink); }

.pod-close:hover,
.pod-sort:hover,
.review-close:hover {
  border-color: var(--pod-line);
  background: var(--pod-halo);
}

.review-list {
  list-style: none;
  padding: 3px clamp(6px, 1.25vw, 14px) 8px;
  margin: 0;
}

.review-list li + li { border-top: 1px solid #ffffff12; }

.review-empty {
  margin: 0;
  padding: 26px 20px 30px;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}

.review-row {
  display: grid;
  width: 100%;
  grid-template-columns: 2ch auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(7px, 1.4vw, 15px);
  min-height: 84px;
  padding: 9px 4px;
  text-align: left;
  color: #faf6f8;
  background: transparent;
  border: 0;
  border-radius: 9px;
  transition: background .18s ease;
}

.review-row:hover { background: #ffffff0b; }

.review-rank {
  color: #b5aab6;
  font-size: .75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.review-row .review-cover {
  width: clamp(39px, 5.5vw, 57px);
  box-shadow: 0 4px 10px #0006;
}

.review-row-copy { display: grid; min-width: 0; gap: 4px; }
.review-row-copy strong { overflow-wrap: anywhere; line-height: 1.2; }
.review-meta { color: #cdc0cd; font-size: .82rem; line-height: 1.35; overflow-wrap: anywhere; }

.review-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c9b7c7;
  font: italic .8rem Arial, Helvetica, sans-serif;
}

.review-score {
  display: grid;
  place-items: center;
  min-width: 43px;
  min-height: 32px;
  padding: 4px 6px;
  border: 1px solid var(--pod-line);
  border-radius: 9px;
  color: var(--pod-ink);
  background: var(--pod-halo);
  box-shadow: inset 0 1px #ffffff0c;
  font-size: .84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.reviews :focus-visible,
.review-dialog :focus-visible {
  outline: 2px solid #fbe2ef;
  outline-offset: 3px;
}

/* ---------- review dialog ---------- */

html.dialog-open { overflow: hidden; }

.review-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  color: #f8eef3;
  background: radial-gradient(ellipse at top right, var(--pod-halo), transparent 43rem), #0d0a12f2;
}

.review-dialog::backdrop {
  background: #070509b3;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.review-dialog::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -30px;
  background: var(--review-art, none) center 35% / cover no-repeat;
  opacity: .18;
  filter: blur(34px) saturate(115%);
  pointer-events: none;
}

.review-dialog[open] { animation: fade-in .3s ease both; }
.review-dialog[open] .review-detail { animation: rise-in .42s cubic-bezier(.16, .78, .27, 1) both; }
.review-dialog[open]::backdrop { animation: fade-in .34s ease both; }

.review-dialog[open].is-closing {
  pointer-events: none;
  animation: fade-out .26s ease both;
}

.review-dialog[open].is-closing::backdrop { animation: fade-out .26s ease both; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.review-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  border-bottom: 1px solid #fff2;
  color: var(--pod-ink);
  background: rgba(21, 15, 27, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: .86rem;
}

.review-detail {
  width: min(100%, 850px);
  padding: clamp(20px, 6vw, 76px) max(20px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  margin-inline: auto;
  user-select: text;
  -webkit-user-select: text;
}

.review-detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 5vw, 44px);
  padding-bottom: clamp(20px, 5vw, 42px);
  border-bottom: 1px solid #ffffff28;
}

.review-detail-hero .review-cover {
  width: clamp(78px, 23vw, 185px);
  border-radius: clamp(10px, 1.5vw, 19px);
  box-shadow: 0 16px 44px #000a, 0 0 28px var(--pod-halo);
}

.review-detail h2 {
  margin: 0;
  color: #fff7fa;
  font-size: clamp(26px, 5.6vw, 65px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.review-detail-hero .review-meta { margin: 8px 0 12px; }
.review-detail-hero .review-score { display: inline-grid; min-width: 49px; font-size: .94rem; }

.review-body {
  margin: clamp(20px, 5vw, 36px) 0;
  max-width: 68ch;
  font: 400 clamp(17px, 2vw, 21px)/1.65 Arial, Helvetica, sans-serif;
  color: #e6dce6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-body.is-empty {
  color: rgba(230, 220, 230, .55);
  font-style: italic;
}

/* ---------- theater (edits with sound) ---------- */

.theater {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: rgba(4, 3, 6, .94);
}

.theater::backdrop {
  background: rgba(2, 2, 3, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.theater[open] { animation: fade-in .32s ease both; }
.theater[open]::backdrop { animation: fade-in .32s ease both; }
.theater[open] .theater-inner { animation: rise-in .5s cubic-bezier(.16, .78, .27, 1) both; }
.theater[open].is-closing { pointer-events: none; animation: fade-out .26s ease both; }
.theater[open].is-closing::backdrop { animation: fade-out .26s ease both; }

.theater-art {
  position: absolute;
  inset: -60px;
  z-index: -1;
  background: var(--theater-art, none) center / cover no-repeat;
  filter: blur(46px) saturate(1.15) brightness(.5);
  opacity: .6;
  transition: background-image .4s ease;
}

.theater-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(4, 3, 6, .75) 80%);
}

.theater-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 1360px);
  height: 100%;
  margin-inline: auto;
  padding: max(16px, env(safe-area-inset-top)) clamp(14px, 3vw, 40px) max(16px, env(safe-area-inset-bottom));
}

.theater-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.theater-heading { min-width: 0; }

.theater-heading h2 {
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theater-heading p:empty { display: none; }

.theater-heading p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 14.5px;
}

.theater-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #ffffff0c;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s ease, border-color .2s ease;
}

.theater-close:hover {
  background: #ffffff1a;
  border-color: #ffffff45;
}

.theater-stage {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  place-items: center;
}

.theater-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}

.theater-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.theater-bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0c0d10;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out);
}

.theater-bigplay[hidden] { display: none; }
.theater-bigplay:hover { transform: translate(-50%, -50%) scale(1.06); }

.theater-bigplay .ui-icon {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.theater-end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(4, 3, 6, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.theater-end[hidden] { display: none; }

.theater-end-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  background: #ffffff10;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s ease, transform .25s var(--ease-out);
}

.theater-end-btn:hover { background: #ffffff22; transform: translateY(-1px); }

.theater-end-btn.is-next {
  border-color: transparent;
  background: #fff;
  color: #0c0d10;
}

.theater-end-btn.is-next:hover { background: #fff; }

.theater-controls {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 14px;
  border: 1px solid #ffffff17;
  border-radius: 18px;
  background: rgba(14, 12, 19, .72);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.theater-btn {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  transition: background .2s ease, color .2s ease, transform .25s var(--ease-out);
}

.theater-btn:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.theater-btn.primary {
  width: 44px;
  height: 44px;
  background: #fff;
  color: #0c0d10;
}

.theater-btn.primary:hover { transform: scale(1.06); }

.theater-btn .icon-muted { display: none; }
.theater-btn.is-muted .icon-muted { display: block; }
.theater-btn.is-muted .icon-sound { display: none; }

.theater-time {
  flex: none;
  min-width: 4ch;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.theater-scrub {
  flex: 1 1 auto;
  min-width: 60px;
  height: 22px;
  margin: 0;
  appearance: none;
  background: transparent;
  outline: none;
}

.theater-scrub::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--played, 0%), rgba(255, 255, 255, .22) var(--played, 0%));
}

.theater-scrub::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(220, 18, 38, .35);
}

.theater-scrub::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.theater-scrub::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent); }
.theater-scrub::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }

.theater-volume {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
}

.theater-volume .volume-slider { width: 96px; }

.theater-btn:focus-visible,
.theater-close:focus-visible,
.theater-end-btn:focus-visible,
.theater-bigplay:focus-visible,
.theater-scrub:focus-visible,
.theater-volume .volume-slider:focus-visible {
  outline: 2px solid #fbe2ef;
  outline-offset: 2px;
}

.theater-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: #ffffff30 transparent;
}

.strip-item {
  position: relative;
  flex: none;
  width: clamp(116px, 11vw, 158px);
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff1c;
  border-radius: 12px;
  background: #0d0b11;
  color: #fff;
  text-align: left;
  opacity: .62;
  transition: opacity .2s ease, border-color .2s ease;
}

.strip-item:hover { opacity: .95; }

.strip-item[aria-current="true"] {
  opacity: 1;
  border-color: rgba(255, 255, 255, .85);
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-item:focus-visible {
  outline: 2px solid #fbe2ef;
  outline-offset: 2px;
}

/* ---------- smaller screens ---------- */

@media (max-width: 1100px), (max-height: 760px), (pointer: coarse) {
  :root { --page-zoom: 1; }

  html {
    height: auto;
    overflow: hidden auto;
  }

  body {
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) calc(150px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }

  /* Let the column's children sit in the page flow so the disc can go between them. */
  .profile-column { display: contents; }

  .volume-dock {
    position: relative;
    inset: auto;
    order: 0;
    align-self: center;
    width: min(100%, 600px);
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .volume-slider {
    width: clamp(90px, 26vw, 130px);
    height: 44px;
  }

  .sound-toggle {
    width: 44px;
    height: 44px;
  }

  .profile {
    order: 1;
    width: min(100%, 600px);
    grid-template-columns: clamp(78px, 22vw, 118px) minmax(0, 1fr);
    gap: clamp(12px, 4vw, 22px);
    padding: clamp(15px, 4vw, 24px);
    transform: translateY(16px);
  }

  .entered .profile { transform: none; }

  .avatar-wrap,
  .avatar-ring { width: 100%; }

  .avatar-ring {
    height: auto;
    aspect-ratio: 1;
    border-radius: 23px;
  }

  .avatar { border-radius: 19px; }

  .profile h1 {
    font-size: clamp(21px, 5.5vw, 40px);
  }

  .bio { font-size: clamp(16px, 4.5vw, 19px); }

  .socials {
    gap: 10px;
    flex-wrap: wrap;
  }

  .social {
    width: 44px;
    height: 44px;
  }

  .social::after { display: none; }

  .bg-now {
    position: relative;
    inset: auto;
    order: 2;
    width: min(100%, 600px);
    max-width: none;
  }

  .bg-now-copy { flex: 1 1 auto; }

  .cd-wrap {
    position: relative;
    inset: auto;
    order: 3;
    align-self: center;
    width: min(64vw, 340px);
    margin: 22px 0;
    transform: none;
  }

  .entered .cd-wrap { transform: none; }

  .cd-ring text { font-size: 5px; letter-spacing: .4px; }

  .edits,
  .reviews {
    width: min(100%, 600px);
  }

  .reviews { order: 4; margin-top: 10px; }
  .edits { order: 5; margin-top: 18px; }

  .music-player {
    inset: auto max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: 600px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta controls"
      "progress progress"
      "status status";
    gap: 2px 10px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: rgba(12, 11, 14, .94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  }

  .music-player .eq { display: none; }

  .track-title-text { font-size: clamp(15px, 4.1vw, 19px); }
  .track-count { font-size: 12px; }

  .player-control {
    width: 40px;
    height: 40px;
  }

  .player-control.primary {
    width: 44px;
    height: 44px;
  }

  .progress {
    height: 30px;
    margin: 0;
  }

  .bg-canvas { filter: blur(44px) brightness(.38) saturate(.8); }

  .entered .background-edits video.is-active { opacity: .43; }

  .entered .background-edits::after {
    background: linear-gradient(180deg, #08050c36, #08050c81 68%, #08050ca1);
  }

}

@media (max-width: 620px) {
  .edit-grid { gap: 9px; }
  .edit-card.is-feature { aspect-ratio: 16 / 10; }
  .bg-now-copy strong { font-size: 14px; }
  .bg-now-action { padding: 8px 10px; font-size: 0; gap: 0; }
  .bg-now-action .ui-icon { width: 18px; height: 18px; }

  .theater-inner { gap: 10px; }
  .theater-controls { flex-wrap: wrap; padding: 8px 10px; }
  .theater-scrub { order: -1; flex-basis: 100%; }
  .theater-volume .volume-slider { display: none; }
  .theater-time { margin-right: auto; }
  .theater-time#theater-time { margin-right: 0; }

  .pod-search input { width: 100%; }
  .pod-tools { width: 100%; }
  .pod-search { flex: 1 1 140px; }
}

@media (max-width: 380px) {
  .pod-label { font-size: .98rem; }
  .review-pods { gap: 8px; }
  .review-pod { padding: 10px; column-gap: 4px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .snowfall,
  .grain,
  .background-edits {
    display: none;
  }

  .scene *,
  .scene *::before,
  .scene *::after,
  .review-dialog,
  .review-dialog *,
  .theater,
  .theater * {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .entered .review-pod { animation: none; }
}
