:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --surface: rgba(24, 24, 29, 0.84);
  --surface-solid: #18181d;
  --line: rgba(248, 245, 234, 0.14);
  --line-strong: rgba(248, 245, 234, 0.28);
  --ink: #f8f5ea;
  --muted: #aaa7a0;
  --acid: #f2ff68;
  --coral: #ff6a5f;
  --violet: #a676ff;
  --mint: #69dfcf;
  --orange: #ff9b4b;
  --danger: #ff8178;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(162, 92, 255, 0.12), transparent 31rem),
    radial-gradient(circle at 84% 36%, rgba(255, 103, 92, 0.09), transparent 28rem),
    var(--bg);
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.08;
  pointer-events: none;
}

.ambient-one {
  top: -15rem;
  right: -6rem;
  background: var(--acid);
}

.ambient-two {
  bottom: -12rem;
  left: -10rem;
  background: var(--violet);
}

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 20% 30%, transparent 0, #fff 0.7px, transparent 1.2px, transparent 4px);
  background-size: 9px 9px;
  mix-blend-mode: soft-light;
}

.site-header,
main,
.site-footer {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-width: 2;
}

.brand-mark circle:last-child {
  fill: var(--coral);
  stroke: none;
}

.location-tools {
  display: flex;
  gap: 15px;
  align-items: center;
}

.location-chip {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d5cc;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.location-chip.is-error {
  border-color: rgba(255, 129, 120, 0.34);
}

.location-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(242, 255, 104, 0.5);
  animation: pulse 1.8s infinite;
}

.location-chip.is-ready .location-pulse {
  animation: none;
}

.location-chip.is-error .location-pulse {
  background: var(--danger);
  animation: none;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(242, 255, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 255, 104, 0); }
}

.text-button,
.site-footer button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
}

.text-button:hover,
.site-footer button:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.text-button:disabled {
  cursor: wait;
  opacity: 0.45;
}

main {
  padding: 72px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  grid-template-areas:
    "eyebrow search"
    "title search"
    "copy search";
  column-gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(62px, 8vw, 112px);
}

.eyebrow {
  grid-area: eyebrow;
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  color: var(--acid);
  letter-spacing: 0;
}

.hero h1 {
  grid-area: title;
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7.9rem);
  font-weight: 780;
  letter-spacing: -0.072em;
  line-height: 0.84;
}

.hero h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-copy {
  grid-area: copy;
  max-width: 630px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.search-form {
  grid-area: search;
  align-self: end;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 24, 29, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 720;
}

.search-control {
  display: flex;
  overflow: hidden;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #101013;
}

.search-control:focus-within {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(242, 255, 104, 0.1);
}

.search-control input {
  min-width: 0;
  flex: 1;
  padding: 0 15px;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 0.91rem;
}

.search-control input::placeholder {
  color: #77756f;
}

.search-control button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 5px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #111214;
  background: var(--acid);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 780;
}

.search-control button:hover {
  background: #f7ff9e;
}

.search-control button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.search-control button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.search-form > p {
  margin: 11px 2px 0;
  color: #85827c;
  font-size: 0.71rem;
  line-height: 1.45;
}

.roulette-layout {
  display: grid;
  grid-template-columns: minmax(460px, 1.06fr) minmax(400px, 0.94fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.wheel-column {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-stage {
  position: relative;
  width: min(100%, 620px);
  padding: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045), transparent 69%);
}

.wheel-stage::before,
.wheel-stage::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.wheel-stage::before {
  inset: 4%;
  border: 1px solid rgba(242, 255, 104, 0.18);
  box-shadow: 0 0 90px rgba(242, 255, 104, 0.08);
}

.wheel-stage::after {
  inset: 17%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(42px);
}

.wheel-button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wheel-button:disabled {
  cursor: wait;
}

.wheel-button:focus-visible {
  outline-offset: 8px;
  border-radius: 50%;
}

.wheel {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 10px solid #efebdf;
  border-radius: 50%;
  background: conic-gradient(
    from -18deg,
    #ff675c 0deg 36deg,
    #9c6cff 36deg 72deg,
    #69dfcf 72deg 108deg,
    #ff9d4d 108deg 144deg,
    #d7e95e 144deg 180deg,
    #f16c91 180deg 216deg,
    #6f91ff 216deg 252deg,
    #47c995 252deg 288deg,
    #ef7a43 288deg 324deg,
    #b879e8 324deg 360deg
  );
  box-shadow:
    0 0 0 5px #111114,
    0 0 0 6px rgba(248, 245, 234, 0.28),
    0 28px 65px rgba(0, 0, 0, 0.46);
  transform: rotate(0deg);
  transition: transform var(--spin-duration, 5.4s) cubic-bezier(0.12, 0.72, 0.08, 1);
  will-change: transform;
}

.wheel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: repeating-conic-gradient(from -18deg, transparent 0deg 35.2deg, rgba(10, 10, 13, 0.68) 35.2deg 36deg);
  content: "";
  pointer-events: none;
}

.wheel-gloss {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 36% 27%, rgba(255, 255, 255, 0.32), transparent 25%),
    radial-gradient(circle, transparent 46%, rgba(4, 4, 7, 0.11) 73%, rgba(4, 4, 7, 0.45) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.wheel-slots {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
}

.wheel-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 17.5%;
  aspect-ratio: 1;
  margin: -8.75%;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #16161a;
  box-shadow: 0 6px 17px rgba(0, 0, 0, 0.32);
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.wheel-slot img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.wheel-slot-number {
  position: absolute;
  right: -5px;
  bottom: -3px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #111114;
  border-radius: 50%;
  color: #111114;
  background: var(--acid);
  font-size: 0.68rem;
  font-weight: 850;
}

.wheel-slot.is-winner {
  z-index: 3;
  border-color: var(--acid);
  box-shadow: 0 0 0 5px rgba(242, 255, 104, 0.36), 0 0 34px rgba(242, 255, 104, 0.85);
  filter: saturate(1.25) brightness(1.16);
}

.slot-0 { transform: rotate(0deg) translateY(-195%) rotate(0deg); }
.slot-1 { transform: rotate(36deg) translateY(-195%) rotate(-36deg); }
.slot-2 { transform: rotate(72deg) translateY(-195%) rotate(-72deg); }
.slot-3 { transform: rotate(108deg) translateY(-195%) rotate(-108deg); }
.slot-4 { transform: rotate(144deg) translateY(-195%) rotate(-144deg); }
.slot-5 { transform: rotate(180deg) translateY(-195%) rotate(-180deg); }
.slot-6 { transform: rotate(216deg) translateY(-195%) rotate(-216deg); }
.slot-7 { transform: rotate(252deg) translateY(-195%) rotate(-252deg); }
.slot-8 { transform: rotate(288deg) translateY(-195%) rotate(-288deg); }
.slot-9 { transform: rotate(324deg) translateY(-195%) rotate(-324deg); }

.wheel-hub {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  display: flex;
  width: 35%;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 7px solid #f0ede4;
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, 0.09), transparent 30%),
    #111114;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.47), inset 0 0 0 2px rgba(255, 255, 255, 0.09);
  transform: translate(-50%, -50%);
}

.hub-kicker,
.hub-sub {
  color: var(--muted);
  font-size: clamp(0.45rem, 1.2vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hub-main {
  margin: 2px 0 -1px;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 4.7rem);
  font-style: italic;
  line-height: 0.94;
}

.wheel-button:not(:disabled):hover .wheel-hub {
  border-color: var(--acid);
  box-shadow: 0 0 0 7px rgba(242, 255, 104, 0.13), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.wheel-stage.is-spinning .wheel-hub {
  border-color: var(--acid);
}

.wheel-pointer {
  position: absolute;
  z-index: 12;
  top: -5px;
  left: 50%;
  width: 49px;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.45));
  transform: translateX(-50%);
  transform-origin: 50% 14%;
}

.wheel-pointer svg {
  display: block;
  width: 100%;
  overflow: visible;
  fill: var(--acid);
  stroke: #111114;
  stroke-width: 3;
  stroke-linejoin: round;
}

.wheel-stage.is-spinning .wheel-pointer {
  animation: pointer-tick 130ms ease-in-out infinite alternate;
}

@keyframes pointer-tick {
  from { transform: translateX(-50%) rotate(-3deg); }
  to { transform: translateX(-50%) rotate(3deg); }
}

.wheel-hint {
  margin: 19px 0 8px;
  color: var(--muted);
  font-size: 0.79rem;
  text-align: center;
}

.status-line {
  min-height: 22px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.status-line.is-error {
  color: var(--danger);
}

.retry-button {
  min-height: 42px;
  margin-top: 13px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-solid);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.retry-button:hover {
  border-color: var(--acid);
}

.playlist-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 26px 21px;
  border-bottom: 1px solid var(--line);
}

.panel-kicker,
.winner-label {
  margin: 0 0 5px;
  color: var(--acid);
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.18em;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.icon-button:hover:not(:disabled) {
  color: #111214;
  border-color: var(--acid);
  background: var(--acid);
}

.icon-button:disabled {
  cursor: wait;
  opacity: 0.4;
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.track-list {
  margin: 0;
  padding: 8px 15px 11px;
  list-style: none;
  counter-reset: tracks;
}

.track-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 45px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 62px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(248, 245, 234, 0.075);
  border-radius: 12px;
  counter-increment: tracks;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.track-item::before {
  color: #77746d;
  content: counter(tracks, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
}

.track-item:last-child {
  border-bottom-color: transparent;
}

.track-item.is-winner {
  color: #141417;
  background: var(--acid);
  transform: translateX(-4px);
}

.track-item.is-winner::before {
  color: #141417;
  font-weight: 800;
  content: "◆";
}

.track-cover {
  width: 45px;
  height: 45px;
  border-radius: 9px;
  background: #26262b;
  object-fit: cover;
}

.track-copy {
  min-width: 0;
}

.track-title,
.track-artist {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-title {
  font-size: 0.87rem;
  font-weight: 740;
  letter-spacing: -0.015em;
}

.track-artist {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.69rem;
}

.track-item.is-winner .track-artist {
  color: rgba(20, 20, 23, 0.68);
}

.track-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #807d76;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
}

.track-meta a {
  color: #aaa79f;
  text-decoration: none;
}

.track-meta a:hover {
  text-decoration: underline;
}

.track-item.is-winner .track-meta,
.track-item.is-winner .track-meta a {
  color: #141417;
}

.track-skeleton {
  position: relative;
  overflow: hidden;
  height: 62px;
  border-bottom: 1px solid rgba(248, 245, 234, 0.06);
}

.track-skeleton::before,
.track-skeleton::after {
  position: absolute;
  top: 50%;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  content: "";
  transform: translateY(-50%);
}

.track-skeleton::before {
  left: 42px;
  width: 45px;
  height: 45px;
}

.track-skeleton::after {
  left: 101px;
  width: 46%;
  height: 12px;
  animation: skeleton 1.45s ease-in-out infinite alternate;
}

@keyframes skeleton {
  from { opacity: 0.45; transform: translateY(-50%) scaleX(0.82); transform-origin: left; }
  to { opacity: 1; transform: translateY(-50%) scaleX(1); transform-origin: left; }
}

.winner-card {
  margin: 0 15px 15px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111114;
}

.winner-empty {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  color: var(--muted);
}

.winner-empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  color: var(--acid);
}

.winner-empty p {
  margin: 0 0 5px;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.winner-empty strong {
  color: #c2bfb7;
  font-size: 0.83rem;
}

.winner-content {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.winner-content > img {
  width: 76px;
  height: 76px;
  border-radius: 13px;
  object-fit: cover;
}

.winner-details {
  min-width: 0;
}

.winner-details h3,
.winner-details > p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.winner-details h3 {
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.winner-details > p:not(.winner-label) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.winner-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.winner-links a {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 690;
  text-decoration: none;
}

.winner-links a:hover {
  text-decoration: underline;
}

.winner-content audio {
  width: 100%;
  height: 42px;
  grid-column: 1 / -1;
  margin-top: 4px;
  accent-color: var(--acid);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  color: #7f7c75;
  font-size: 0.74rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #aaa79f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.privacy-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  color: var(--ink);
  background: #18181d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.privacy-dialog::backdrop {
  background: rgba(3, 3, 5, 0.78);
  backdrop-filter: blur(8px);
}

.privacy-dialog h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.privacy-dialog > p:not(.panel-kicker) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
}

.dialog-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--acid);
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
}

.noscript {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 16px;
  border: 1px solid var(--danger);
  border-radius: 12px;
  color: #111;
  background: var(--danger);
  text-align: center;
}

.privacy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 65px 0 110px;
}

.privacy-page h1 {
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.privacy-page h2 {
  margin: 42px 0 13px;
  font-size: 1.15rem;
}

.privacy-page p,
.privacy-page li {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-page a {
  color: var(--acid);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 390px;
    column-gap: 46px;
  }

  .roulette-layout {
    grid-template-columns: minmax(400px, 0.95fr) minmax(380px, 1.05fr);
    gap: 35px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "copy" "search";
  }

  .search-form {
    width: min(100%, 620px);
    margin-top: 33px;
  }

  .roulette-layout {
    grid-template-columns: 1fr;
  }

  .wheel-column {
    position: static;
  }

  .playlist-panel {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1380px);
  }

  .site-header {
    min-height: 82px;
  }

  .location-tools {
    gap: 8px;
  }

  .location-chip {
    max-width: 49vw;
    padding-inline: 10px;
  }

  .location-chip span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .text-button {
    max-width: 72px;
    border-bottom: 0;
    line-height: 1.2;
    text-align: right;
  }

  main {
    padding-top: 50px;
  }

  .hero {
    margin-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .hero-copy {
    margin-top: 25px;
  }

  .search-form {
    padding: 19px;
  }

  .search-control button span {
    display: none;
  }

  .search-control button {
    width: 44px;
    padding: 0;
  }

  .wheel-stage {
    width: calc(100% + 10px);
    margin-left: -5px;
    padding: 22px;
  }

  .wheel {
    border-width: 7px;
  }

  .wheel-pointer {
    top: -12px;
    width: 39px;
  }

  .wheel-slot {
    border-width: 2px;
  }

  .wheel-slot-number {
    right: -6px;
    bottom: -5px;
    width: 21px;
    height: 21px;
    font-size: 0.58rem;
  }

  .wheel-hub {
    border-width: 5px;
  }

  .panel-heading {
    padding-inline: 20px;
  }

  .track-list {
    padding-inline: 9px;
  }

  .track-item {
    grid-template-columns: 25px 42px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 7px;
  }

  .track-cover {
    width: 42px;
    height: 42px;
  }

  .track-meta span {
    display: none;
  }

  .winner-card {
    margin-inline: 9px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 25px 0;
  }
}

@media (max-width: 390px) {
  .brand span {
    display: none;
  }

  .location-chip {
    max-width: 54vw;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .wheel-stage {
    padding: 15px;
  }

  .wheel-slot-number {
    width: 19px;
    height: 19px;
  }

  .track-item {
    grid-template-columns: 23px 39px minmax(0, 1fr) auto;
  }

  .track-cover {
    width: 39px;
    height: 39px;
  }

  .track-meta {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .wheel {
    transition-timing-function: ease-out;
  }
}
