:root {
  --background: #0e0b14;
  --surface: #17121f;
  --border: #3a3245;
  --rule: #2a2333;
  --text: #f3eef8;
  --text-2: #cfc8da;
  --label: #b6aec2;
  --placeholder: #8c8499;
  --pink: #ff4fa3;
  --pink-hover: #ff6fb5;
  --purple: #8b5cff;
  --purple-light: #b79bff;
  --indigo: #4f46e5;
  --error: #ff8a8a;
  --success: #8ee9bb;
  --page-pad: clamp(24px, 6vw, 96px);
  --nav-height: 72px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
}

[hidden] { display: none !important; }

a { color: inherit; }

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

h1,
h2,
h3,
p { margin-top: 0; }

.section-shell {
  width: min(1440px, 100%);
  margin-inline: auto;
}

.eyebrow,
.field-label,
.hero-note,
.form-note,
.playlist-kicker,
.fine-print,
.venue-row legend,
.venue-selection-meta,
.venue-suggestion span,
.no-match-copy,
.lineup-heading p,
.show-date,
.how-steps > li > span,
.venues-heading > span:last-child {
  font: 400 11px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--purple-light);
}

.wordmark {
  color: var(--pink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}

.site-nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-nav .wordmark { font-size: 23px; }

/* Hero */

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 128px var(--page-pad) 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero-nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: var(--page-pad);
  right: var(--page-pad);
}

#soundbar {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.hero-copy {
  width: min(1110px, 100%);
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero-copy a { pointer-events: auto; }

.hero h1 {
  max-width: 1100px;
  margin-bottom: 0;
  font: 500 clamp(60px, 7.7vw, 118px)/.94 "Instrument Sans", sans-serif;
  letter-spacing: -.052em;
}

.hero .lede {
  max-width: 610px;
  margin: 34px 0 30px;
  color: var(--text-2);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.5;
}

.hero-cta,
.secondary-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 0 20px;
  color: var(--background);
  background: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-cta:hover,
.secondary-cta:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
}

.hero-cta span,
.secondary-cta span { font-size: 22px; }

.hero-note {
  margin: 13px 0 0;
  color: var(--label);
}

/* Builder */

.builder-section,
.how-section,
.result-section {
  padding: clamp(88px, 10vw, 150px) var(--page-pad);
  border-bottom: 1px solid var(--rule);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(64px, 9vw, 150px);
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 64px;
}

.section-heading h2,
.result-heading h2,
.how-intro h2 {
  margin-bottom: 28px;
  font: 500 clamp(50px, 6vw, 86px)/.96 "Instrument Sans", sans-serif;
  letter-spacing: -.044em;
}

.section-heading > p:last-child,
.how-intro > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.builder-panel {
  padding: clamp(22px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
}

.field-group { margin-bottom: 38px; }

.field-label {
  display: block;
  margin: 0 0 9px;
  color: var(--label);
}

.text-input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: var(--text);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  transition: border-color 150ms ease;
}

.text-input::placeholder { color: var(--placeholder); }

.text-input:focus { border-color: var(--purple); }

.text-input[aria-invalid="true"] { border-color: var(--error); }

.playlist-name-input {
  min-height: 60px;
  font-size: 19px;
  font-weight: 700;
}

.venues-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 11px;
}

.venues-heading .field-label { margin: 0; }

.venues-heading > span:last-child { color: var(--label); }

.venue-row {
  min-width: 0;
  position: relative;
  margin: 0 0 14px;
  padding: 22px;
  background: var(--background);
  border: 1px solid var(--border);
}

.venue-row legend {
  padding: 0 7px;
  color: var(--purple-light);
}

.remove-venue {
  width: 48px;
  height: 48px;
  position: absolute;
  top: -12px;
  right: 4px;
  padding: 0;
  color: var(--label);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.remove-venue:hover { color: var(--pink); }

.venue-search-wrap { position: relative; }

.venue-suggestions {
  width: 100%;
  max-height: 278px;
  position: absolute;
  z-index: 10;
  top: calc(100% - 1px);
  left: 0;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--purple);
}

.venue-suggestion {
  width: 100%;
  min-height: 58px;
  display: block;
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  cursor: pointer;
}

.venue-suggestion:last-child { border-bottom: 0; }

.venue-suggestion:hover,
.venue-suggestion.is-active {
  color: var(--background);
  background: var(--pink);
}

.venue-suggestion strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.venue-suggestion span { color: currentColor; opacity: .78; }

.venue-empty {
  margin: 0;
  padding: 15px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.venue-selection-meta {
  margin: 9px 0 0;
  color: var(--success);
}

.manual-url-wrap {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
}

.no-match-copy {
  margin-bottom: 15px;
  color: var(--text-2);
  text-transform: none;
  letter-spacing: .02em;
}

.field-error {
  margin: 8px 0 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.4;
}

.field-error::before { content: "⚠ "; }

.add-venue-button {
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.add-venue-button:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--pink);
}

.add-venue-button:disabled { opacity: .42; cursor: not-allowed; }

.add-venue-button span { margin-right: 7px; color: var(--pink); font-size: 20px; }

.build-status {
  min-height: 48px;
  padding: 13px 0 8px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.build-status.is-error { color: var(--error); }
.build-status.is-success { color: var(--success); }

.build-button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  color: var(--background);
  background: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.build-button:hover:not(:disabled) { background: var(--pink-hover); }
.build-button:disabled { cursor: wait; }

.button-arrow { display: inline-block; font-size: 22px; }

.build-button.is-building .button-arrow { animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  margin: 12px 0 0;
  color: var(--placeholder);
  font-size: 9px;
  text-align: center;
}

/* Result */

.result-section { background: #120e19; }

.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 55px;
}

.result-heading h2 { margin-bottom: 0; }

.text-button {
  min-height: 48px;
  padding: 0 2px;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
}

.text-button:hover { color: var(--pink); border-color: var(--pink); }
.text-button span { margin-left: 8px; }

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  gap: 22px;
}

.result-summary {
  min-height: 352px;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(250px, 1.2fr);
  border: 1px solid var(--border);
  background: var(--surface);
}

.playlist-mark {
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  background: var(--pink);
  border-right: 1px solid var(--border);
}

.playlist-mark::before {
  content: "";
  width: 140px;
  height: 140px;
  position: absolute;
  bottom: -70px;
  right: -70px;
  background: var(--purple);
  border: 1px solid var(--background);
  border-radius: 50%;
}

.playlist-mark span {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--background);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.playlist-mark i {
  width: 3px;
  height: 80px;
  display: block;
  background: var(--background);
  border-radius: 10px;
}

.playlist-mark i:nth-of-type(1),
.playlist-mark i:nth-of-type(5) { height: 32px; }
.playlist-mark i:nth-of-type(2),
.playlist-mark i:nth-of-type(4) { height: 55px; }

.result-copy {
  align-self: center;
  padding: clamp(24px, 3vw, 42px);
}

.playlist-kicker { margin-bottom: 11px; color: var(--purple-light); }

.result-copy h3 {
  margin-bottom: 14px;
  font: 500 clamp(30px, 3.5vw, 52px)/1 "Instrument Sans", sans-serif;
  letter-spacing: -.04em;
}

.result-meta {
  margin-bottom: 25px;
  color: var(--text-2);
  line-height: 1.5;
}

.spotify-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  color: var(--background);
  background: var(--text);
  border: 1px solid var(--text);
  text-decoration: none;
  font-weight: 700;
}

.spotify-button:hover { color: var(--text); background: transparent; }
.spotify-mark { color: #1ed760; font-size: 20px; line-height: 0; }

.spotify-embed-wrap {
  min-height: 352px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.spotify-embed-wrap iframe {
  width: 100%;
  min-height: 334px;
  display: block;
  border: 0;
}

.lineup-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin: 88px 0 22px;
}

.lineup-heading h3 {
  margin: 0;
  font: 500 clamp(36px, 4.8vw, 68px)/1 "Instrument Sans", sans-serif;
  letter-spacing: -.04em;
}

.lineup-heading p { margin: 0; color: var(--label); }

.shows-grid { border-top: 1px solid var(--border); }

.show-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: 105px minmax(220px, 1fr) minmax(140px, .5fr) 28px;
  gap: 24px;
  align-items: center;
  padding: 15px 8px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: padding 150ms ease, background-color 150ms ease;
}

a.show-row:hover {
  padding-inline: 16px;
  background: var(--surface);
}

.show-date {
  white-space: pre-line;
  color: var(--purple-light);
  letter-spacing: .04em;
}

.show-title {
  font: 500 clamp(18px, 2vw, 27px)/1.1 "Instrument Sans", sans-serif;
  letter-spacing: -.02em;
}

.show-venue { color: var(--text-2); line-height: 1.35; }
.show-arrow { color: var(--pink); font-size: 20px; }

/* How it works */

.how-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 72px;
}

.how-intro .eyebrow { grid-column: 1 / -1; }
.how-intro h2 { margin: 0; }

.how-intro > p:last-child {
  max-width: 480px;
  align-self: end;
  padding-bottom: 7px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 44px;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.how-steps li {
  min-height: 240px;
  padding: 23px;
  border-right: 1px solid var(--border);
}

.how-steps li:first-child { padding-left: 0; }
.how-steps li:last-child { border-right: 0; }

.how-steps > li > span {
  display: block;
  margin-bottom: 62px;
  color: var(--pink);
}

.how-steps h3 {
  margin-bottom: 13px;
  font-size: 21px;
  line-height: 1.1;
}

.how-steps p {
  margin-bottom: 0;
  color: var(--text-2);
  line-height: 1.5;
}

/* Footer */

footer {
  padding: 64px var(--page-pad) 32px;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
}

.footer-mark { font-size: clamp(31px, 4vw, 55px); }

.footer-line {
  max-width: 580px;
  margin: 0;
  font: 500 clamp(29px, 3.5vw, 50px)/1.03 "Instrument Sans", sans-serif;
  letter-spacing: -.035em;
}

.fine-print {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 24px;
  color: var(--placeholder);
  border-top: 1px solid var(--rule);
  font-size: 9px;
}

@media (max-width: 1050px) {
  .builder-layout { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .builder-heading { max-width: 800px; }
  .builder-panel { width: min(760px, 100%); }
  .result-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps li:nth-child(2) { border-right: 0; }
  .how-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .how-steps li:nth-child(3) { padding-left: 0; }
}

@media (max-width: 700px) {
  :root { --page-pad: 21px; }

  .hero {
    min-height: 760px;
    align-items: start;
    padding-top: 132px;
    padding-bottom: 74px;
  }

  .hero h1 { font-size: clamp(51px, 15.5vw, 77px); line-height: .96; }
  .hero h1 br { display: none; }
  .hero .lede { margin-top: 28px; font-size: 17px; }

  .hero-cta,
  .secondary-cta { width: 100%; }

  .builder-section,
  .result-section,
  .how-section { padding-block: 82px; }

  .section-heading h2,
  .result-heading h2,
  .how-intro h2 { font-size: clamp(45px, 13vw, 66px); }

  .builder-panel { padding: 18px; }
  .venue-row { padding: 18px 14px; }

  .result-heading { align-items: start; flex-direction: column; margin-bottom: 40px; }
  .result-summary { grid-template-columns: 1fr; }
  .playlist-mark { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--border); }

  .lineup-heading { align-items: start; flex-direction: column; margin-top: 72px; }
  .show-row { grid-template-columns: 72px 1fr 24px; gap: 12px; padding-inline: 0; }
  .show-venue { grid-column: 2; font-size: 13px; }
  .show-arrow { grid-column: 3; grid-row: 1 / span 2; }

  .how-intro { grid-template-columns: 1fr; margin-bottom: 52px; }
  .how-intro .eyebrow { grid-column: 1; }
  .how-intro > p:last-child { margin-top: 25px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li,
  .how-steps li:first-child,
  .how-steps li:nth-child(3) { min-height: 0; padding: 24px 0 28px; border-right: 0; border-bottom: 1px solid var(--border); }
  .how-steps li:last-child { border-bottom: 0; }
  .how-steps > li > span { margin-bottom: 34px; }

  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .fine-print { grid-column: 1; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .build-button.is-building .button-arrow { animation: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* Screenshot-aligned page composition */

.hero {
  min-height: 100svh;
  align-items: center;
  justify-items: center;
  padding: 104px clamp(42px, 4vw, 70px) 82px;
  border-bottom: 0;
}

.hero-nav {
  left: clamp(42px, 4vw, 70px);
  right: clamp(42px, 4vw, 70px);
}

.hero-how-link {
  color: var(--text-2);
  border-bottom: 1px solid var(--label);
  font: 400 11px/1.5 "DM Mono", monospace;
  letter-spacing: .03em;
  text-decoration: none;
}

.hero-how-link:hover { color: var(--pink); border-color: var(--pink); }

.hero-copy {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
  transform: translateY(-3vh);
}

.hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(54px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero-cta {
  min-width: 242px;
  margin-top: 32px;
  justify-content: center;
  gap: 18px;
}

.hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 10px;
}

.hero-note::before {
  content: "";
  width: 11px;
  height: 11px;
  display: block;
  background: #1ed760;
  border-radius: 50%;
}

.builder-section {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: clamp(150px, 18vh, 210px) var(--page-pad) clamp(100px, 13vh, 150px);
}

.builder-layout {
  width: min(640px, 100%);
  display: block;
}

.section-heading {
  position: static;
}

.builder-heading .eyebrow {
  margin-bottom: 12px;
  color: var(--pink);
}

.section-heading h2 {
  max-width: 590px;
  margin-bottom: 15px;
  font-size: clamp(43px, 4.2vw, 58px);
  line-height: .98;
}

.section-heading > p:last-child {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.45;
}

.builder-panel {
  width: 100%;
  margin-top: 31px;
  padding: 0;
  background: transparent;
  border: 0;
}

.field-group { margin-bottom: 27px; }

.playlist-name-input {
  min-height: 50px;
  font-size: 16px;
}

.venue-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  margin-bottom: 11px;
  padding: 12px;
}

.venue-number {
  grid-column: 1;
  color: var(--label);
  font: 400 11px/1 "DM Mono", monospace;
  text-align: center;
}

.venue-search-wrap {
  grid-column: 2;
  min-width: 0;
}

.venue-search-wrap > .field-label {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.venue-row:not(:has(.remove-venue[hidden])) .venue-search-wrap { margin-right: 44px; }

.venue-fields .text-input,
.venue-row .venue-name { min-height: 48px; }

.remove-venue {
  width: 42px;
  height: 48px;
  top: 12px;
  right: 12px;
}

.manual-url-wrap,
.venue-error {
  grid-column: 1 / -1;
}

.add-venue-button {
  width: auto;
  min-height: 46px;
  padding: 0 15px;
  border-style: dashed;
}

.build-status:empty { display: none; }

.build-status:not(:empty) {
  min-height: 0;
  margin-top: 18px;
  padding: 0;
}

.build-button { margin-top: 27px; }

.build-status:not(:empty) + .build-button { margin-top: 15px; }

.form-note {
  margin-top: 12px;
  text-align: left;
}

.how-section {
  min-height: calc(100svh - 106px);
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 11vh, 125px);
}

.how-section > .section-shell { width: min(1030px, 100%); }

.how-intro {
  display: block;
  margin-bottom: 49px;
}

.how-intro .eyebrow {
  margin-bottom: 13px;
  color: var(--pink);
}

.how-intro h2 {
  max-width: 620px;
  margin-bottom: 13px;
  font-size: clamp(43px, 4.2vw, 58px);
  line-height: 1.02;
}

.how-intro > p:last-child {
  max-width: 660px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.45;
}

.how-steps {
  margin-bottom: 42px;
  border: 1px solid var(--border);
}

.how-steps li,
.how-steps li:first-child,
.how-steps li:nth-child(3) {
  min-height: 205px;
  padding: 25px 22px;
}

.how-steps li:last-child {
  color: var(--background);
  background: var(--pink);
}

.how-steps > li > span {
  margin-bottom: 12px;
  color: var(--pink);
}

.how-steps li:nth-child(2) > span { color: #e875d0; }
.how-steps li:nth-child(3) > span { color: var(--purple-light); }
.how-steps li:last-child > span { color: var(--background); }

.how-steps h3 {
  margin-bottom: 11px;
  font-size: 19px;
}

.how-steps p {
  font-size: 14px;
  line-height: 1.5;
}

.how-steps li:last-child p { color: var(--background); }

.secondary-cta {
  min-width: 194px;
  min-height: 49px;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  background: transparent;
  border-color: var(--label);
}

.secondary-cta:hover {
  color: var(--background);
  background: var(--pink);
  border-color: var(--pink);
}

footer {
  min-height: 106px;
  display: flex;
  align-items: center;
  padding: 28px clamp(42px, 4vw, 70px);
  background: var(--background);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-line {
  margin: 0;
  font: 700 13px/1.4 "Bricolage Grotesque", sans-serif;
  letter-spacing: 0;
}

.fine-print {
  margin: 0;
  padding: 0;
  color: var(--label);
  border: 0;
  font-size: 10px;
  text-align: right;
}

@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps li:nth-child(2) { border-right: 0; }
  .how-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
    align-items: center;
    padding: 104px 21px 78px;
  }

  .hero-nav { left: 21px; right: 21px; }
  .hero-copy { transform: translateY(-2vh); }
  .hero h1 { font-size: clamp(47px, 13vw, 66px); }
  .hero h1 br { display: none; }
  .hero-cta { width: auto; }

  .builder-section { padding: 125px 21px 90px; }
  .section-heading h2,
  .how-intro h2 { font-size: clamp(42px, 11vw, 56px); }
  .builder-panel { padding: 0; }
  .venue-row { padding: 11px; }

  .how-section { min-height: 0; padding: 80px 21px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li,
  .how-steps li:first-child,
  .how-steps li:nth-child(3) {
    min-height: 0;
    padding: 24px 20px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .how-steps li:last-child { border-bottom: 0; }
  .secondary-cta { width: auto; }

  footer { padding: 29px 21px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .fine-print { text-align: left; }
}

/* Playlist builder and workspace */

.sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.geo-builder { margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, rgba(139, 92, 255, .13), rgba(255, 79, 163, .07)); border: 1px solid var(--border); }
.geo-builder .field-label { margin-bottom: 4px; color: var(--purple-light); }
.geo-builder-copy { margin-bottom: 15px; color: var(--text-2); font-size: 14px; line-height: 1.45; }

.geo-controls,
.email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.geo-controls .text-input,
.email-row .text-input {
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.geo-search-wrap { min-width: 0; position: relative; }

.geo-suggestions {
  width: 100%;
  max-height: 260px;
  position: absolute;
  z-index: 20;
  top: calc(100% - 1px);
  left: 0;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--purple-light);
}

.geo-suggestion {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  text-align: left;
}

.geo-suggestion:last-child { border-bottom: 0; }
.geo-suggestion:hover,
.geo-suggestion.is-active { color: var(--background); background: var(--pink); }
.geo-suggestion span { opacity: .72; font: 400 10px/1.4 "DM Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }

.geo-button { min-height: 54px; padding: 0 18px; color: var(--background); background: var(--purple-light); border: 1px solid var(--purple-light); border-radius: 0 10px 10px 0; cursor: pointer; font-weight: 700; }
.geo-button:hover:not(:disabled) { background: var(--text); border-color: var(--text); }
.geo-button:disabled { opacity: .55; cursor: wait; }

.geo-status,
.action-status { min-height: 0; margin: 10px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.4; }
.geo-status:empty,
.action-status:empty { display: none; }

.builder-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--placeholder); font: 400 10px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.builder-divider::before,
.builder-divider::after { content: ""; height: 1px; flex: 1; background: var(--rule); }

.result-home-link { display: inline-block; margin-bottom: 54px; color: var(--pink); font-weight: 800; text-decoration: none; }

.playlist-workspace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 22px; margin-top: 22px; }
.workspace-card { min-height: 260px; padding: clamp(24px, 3vw, 38px); background: var(--surface); border: 1px solid var(--border); }
.workspace-card .eyebrow { margin-bottom: 24px; }

.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.insight-grid div { min-width: 0; padding-top: 13px; border-top: 1px solid var(--rule); }
.insight-grid strong { display: block; overflow: hidden; margin-bottom: 5px; font: 500 clamp(25px, 3vw, 40px)/1.05 "Instrument Sans", sans-serif; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.insight-grid span { color: var(--label); font: 400 10px/1.4 "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }

.workspace-action { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; text-align: left; }
.workspace-action:hover span { color: var(--pink); }
.workspace-action b { color: var(--pink); font-size: 18px; }
.workspace-action.is-active b { color: var(--success); }

.email-panel { margin-top: 20px; padding: 16px; background: var(--background); border: 1px solid var(--rule); }
.email-panel .geo-button { min-height: 54px; }

.public-section { padding: clamp(88px, 10vw, 145px) var(--page-pad); background: #120e19; border-bottom: 1px solid var(--rule); }
.public-heading { margin-bottom: 50px; }
.public-heading .eyebrow { margin-bottom: 14px; color: var(--pink); }
.public-heading h2 { margin-bottom: 0; font: 500 clamp(43px, 5vw, 72px)/.98 "Instrument Sans", sans-serif; letter-spacing: -.045em; }
.public-heading .public-cta { margin-top: 28px; }
.public-playlists-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }

.public-playlist-card { min-height: 220px; position: relative; display: flex; flex-direction: column; padding: 25px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; }
.public-playlist-card:nth-child(3n) { border-right: 0; }
.public-playlist-card:hover { background: var(--surface); }
.public-playlist-card > span { color: var(--purple-light); font: 400 10px/1.4 "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.public-playlist-card > strong { margin: auto 0 12px; font: 500 27px/1.05 "Instrument Sans", sans-serif; letter-spacing: -.025em; }
.public-playlist-card > small { color: var(--label); }
.public-playlist-card > b { position: absolute; right: 24px; bottom: 21px; color: var(--pink); font-size: 22px; }
.public-empty { grid-column: 1 / -1; margin: 0; padding: 46px 25px; color: var(--label); }

body.playlist-page > main > .hero,
body.playlist-page > main > .builder-section,
body.playlist-page > main > .public-section,
body.playlist-page > main > .how-section,
body.playlist-page > footer { display: none; }
body.playlist-page .result-section { min-height: 100svh; padding-top: 42px; }

.build-progress-panel {
  padding: clamp(26px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--border);
}

.build-progress-copy { max-width: 760px; }
.build-progress-copy .eyebrow { margin-bottom: 13px; color: var(--pink); }
.build-progress-copy h3 { margin-bottom: 12px; font: 500 clamp(34px, 4.5vw, 62px)/1 "Instrument Sans", sans-serif; letter-spacing: -.04em; }
.build-progress-copy > p:last-child { margin-bottom: 0; color: var(--text-2); font-size: 17px; line-height: 1.5; }

.build-progress-track { height: 5px; margin: 34px 0; overflow: hidden; background: var(--rule); }
.build-progress-track span { width: 0; height: 100%; display: block; background: linear-gradient(90deg, var(--pink), var(--purple-light)); transition: width 450ms ease; }
.build-progress-panel.has-failed .build-progress-track span { background: var(--error); }

.build-venue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.build-venue-card { min-height: 92px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; grid-template-rows: auto auto; gap: 3px 10px; align-content: center; padding: 16px; background: var(--background); border: 1px solid var(--border); }
.build-venue-card > span { grid-row: 1 / span 2; align-self: center; color: var(--placeholder); font: 400 10px/1 "DM Mono", monospace; }
.build-venue-card > strong { overflow: hidden; align-self: end; text-overflow: ellipsis; white-space: nowrap; }
.build-venue-card > small { color: var(--label); }
.build-venue-card > b { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--success); font-size: 17px; text-align: center; }
.build-venue-card.is-pending { opacity: .56; }
.build-venue-card.is-pending > b { color: var(--purple-light); animation: spin 1.1s linear infinite; }
.build-venue-card.has-error > b { color: var(--error); }

.build-events-preview { margin-top: 40px; }
.build-events-preview > .eyebrow { margin-bottom: 12px; }
.build-event-list { border-top: 1px solid var(--border); }
.build-event-list > div { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.build-event-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-event-list span { flex: 0 0 auto; color: var(--label); font-size: 13px; }

@media (max-width: 900px) {
  .playlist-workspace { grid-template-columns: 1fr; }
  .public-playlists-grid { grid-template-columns: repeat(2, 1fr); }
  .public-playlist-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .public-playlist-card:nth-child(2n) { border-right: 0; }
}

@media (max-width: 700px) {
  .geo-builder { padding: 16px; }
  .geo-controls,
  .email-row { grid-template-columns: 1fr; }
  .geo-controls .text-input,
  .email-row .text-input { border-right: 1px solid var(--border); border-bottom: 0; border-radius: 10px 10px 0 0; }
  .geo-button { border-radius: 0 0 10px 10px; }
  .result-home-link { margin-bottom: 38px; }
  .insight-grid { gap: 22px 18px; }
  .public-playlists-grid { grid-template-columns: 1fr; }
  .public-playlist-card,
  .public-playlist-card:nth-child(2n),
  .public-playlist-card:nth-child(3n) { min-height: 190px; border-right: 0; }
  body.playlist-page .result-section { padding-top: 28px; }
  .build-progress-panel { padding: 21px 17px; }
  .build-venue-grid { grid-template-columns: 1fr; }
  .build-event-list > div { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* Lineup playlist page */

.geo-builder { background: var(--surface); }

body.playlist-page .result-section {
  min-height: 100svh;
  padding: 0 var(--page-pad) 88px;
  background: var(--background);
}

.playlist-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.playlist-topbar {
  border-bottom: 1px solid var(--rule);
}

.playlist-topbar .text-button {
  min-height: 32px;
  border-bottom: 0;
  font-size: 14px;
}

.playlist-header {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(270px, 310px);
  gap: 30px;
  align-items: center;
  padding: 40px 0 34px;
}

.playlist-cover {
  width: 100px;
  height: 100px;
  position: relative;
  overflow: hidden;
  color: var(--background);
  background: var(--pink);
  transition: opacity 180ms ease;
}

.playlist-cover span {
  position: absolute;
  top: 14px;
  left: 13px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.06em;
}

.playlist-cover i {
  width: 68px;
  height: 68px;
  position: absolute;
  right: -30px;
  bottom: -30px;
  background: var(--purple);
  border-radius: 50%;
}

.playlist-heading-copy { min-width: 0; }

.playlist-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--pink);
  font: 400 10px/1.4 "DM Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.playlist-state > span { display: none; }
.playlist-state::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; background: currentColor; border-radius: 50%; }
.playlist-state.is-ready { color: #1ed760; }
.playlist-state.has-error { color: var(--error); }

.playlist-heading-copy h1 {
  max-width: 820px;
  margin: 0 0 10px;
  font: 500 clamp(30px, 2.65vw, 34px)/1.02 "Instrument Sans", sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.result-meta {
  margin: 0;
  color: var(--label);
  font: 400 11px/1.55 "DM Mono", monospace;
  letter-spacing: .025em;
}

.playlist-header-actions {
  min-height: 100px;
  align-self: center;
  display: grid;
  grid-template-rows: 52px 38px;
  gap: 10px;
}

.playlist-header-actions .spotify-button {
  width: 100%;
  min-height: 52px;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: #5b4bff;
  border-color: #5b4bff;
  border-radius: 10px;
}

.playlist-header-actions .spotify-button:hover { color: #fff; background: #4a3af0; border-color: #4a3af0; }
.playlist-header-actions .spotify-button[aria-disabled="true"] {
  color: #c9c3ff;
  background: #2a2560;
  border-color: #2a2560;
  pointer-events: none;
}
.playlist-header-actions .spotify-button b { font-size: 20px; }
.playlist-header-actions .external-link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #fff;
}

.playlist-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.playlist-secondary-actions button {
  min-height: 38px;
  color: #c9c3ff;
  background: transparent;
  border: 1px solid #3b3580;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.playlist-secondary-actions button:hover:not(:disabled) { color: #fff; border-color: #5b4bff; }
.playlist-secondary-actions button:disabled { color: #5a548f; cursor: default; }

.playlist-progress {
  height: 3px;
  overflow: hidden;
  background: var(--rule);
}

.playlist-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--pink), var(--purple-light));
  transition: width 450ms ease;
}

.playlist-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
  padding-top: 34px;
}

.venue-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 28px;
}

.venue-chip {
  min-height: 36px;
  display: inline-flex;
  align-items: stretch;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

button.venue-chip {
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.venue-chip.is-active {
  color: var(--background);
  background: var(--text);
  border-color: var(--text);
}

.venue-chip.has-error { border-color: color-mix(in srgb, var(--error) 60%, var(--border)); }

.venue-chip-select,
.venue-chip-remove {
  min-height: 34px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.venue-chip-select { display: flex; align-items: center; gap: 8px; padding: 0 5px 0 11px; }
.venue-chip-select span { width: 13px; display: inline-block; text-align: center; }
.venue-chip-remove { width: 32px; padding: 0; color: var(--placeholder); font-size: 17px; }
.venue-chip-remove:hover { color: var(--pink); }
.add-venue-chip { border-style: dashed; color: var(--label); }
.add-venue-chip:hover { color: var(--pink); border-color: var(--pink); }

.show-table-heading,
.show-row {
  display: grid;
  grid-template-columns: 104px minmax(190px, 1.15fr) minmax(150px, .82fr) 92px;
  gap: 18px;
  align-items: center;
}

.show-table-heading {
  min-height: 34px;
  padding: 0 5px;
  color: var(--placeholder);
  border-bottom: 1px solid var(--rule);
  font: 400 9px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.show-table-heading span:last-child { text-align: right; }

.shows-grid { border: 0; }

.show-row {
  min-height: 74px;
  padding: 14px 5px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  animation: lineup-in 350ms ease both;
}

a.show-row:hover {
  padding-inline: 10px;
  background: var(--surface);
}

.show-date {
  white-space: normal;
  color: var(--label);
  font-size: 10px;
  letter-spacing: .025em;
}

.show-title {
  color: var(--text);
  font: 700 clamp(15px, 1.35vw, 18px)/1.2 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.015em;
}

.show-venue {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 13px;
}

.show-venue i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.show-venue span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.show-tracks {
  color: var(--placeholder);
  font: 400 10px/1.25 "DM Mono", monospace;
  text-align: right;
}

.show-tracks.is-matched { color: #5ee0c1; }
.show-tracks.is-missing { color: #ffb86b; }
.show-tracks.is-matching {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.track-spinner {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 2px solid color-mix(in srgb, var(--purple-light) 28%, transparent);
  border-top-color: var(--purple-light);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

.lineup-empty {
  margin: 0;
  padding: 34px 5px;
  color: var(--placeholder);
  border-bottom: 1px solid var(--rule);
  font: 400 11px/1.5 "DM Mono", monospace;
}

.playlist-player-column { position: sticky; top: 26px; }

.playlist-player-column .spotify-embed-wrap {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--placeholder);
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font: 400 11px/1.5 "DM Mono", monospace;
  text-align: center;
}

.playlist-player-column .spotify-embed-wrap p { max-width: 240px; margin: 0; padding: 24px; }
.playlist-player-column .spotify-embed-wrap iframe { min-height: 520px; }

.playlist-utilities {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.playlist-player-column .email-panel { margin-top: 14px; }

.is-spinning { display: inline-block; animation: spin .85s linear infinite; }

@keyframes lineup-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .playlist-header { grid-template-columns: 96px minmax(0, 1fr) 250px; gap: 22px; }
  .playlist-cover { width: 96px; height: 96px; }
  .playlist-main { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .show-table-heading,
  .show-row { grid-template-columns: 92px minmax(170px, 1fr) minmax(125px, .7fr) 80px; gap: 13px; }
}

@media (max-width: 820px) {
  body.playlist-page .result-section { padding-inline: 21px; }
  .playlist-header { grid-template-columns: 82px minmax(0, 1fr); align-items: start; padding: 34px 0 28px; }
  .playlist-cover { width: 82px; height: 82px; }
  .playlist-header-actions { grid-column: 1 / -1; width: 100%; }
  .playlist-main { display: flex; flex-direction: column; }
  .playlist-player-column { width: 100%; position: static; order: -1; }
  .playlist-player-column .spotify-embed-wrap,
  .playlist-player-column .spotify-embed-wrap iframe { min-height: 352px; height: 352px; }
  .playlist-lineup { width: 100%; }
}

@media (max-width: 620px) {
  .playlist-heading-copy h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .playlist-header { grid-template-columns: 1fr; gap: 0; }
  .playlist-cover { display: none; }
  .playlist-header-actions { margin-top: 24px; }
  .result-meta { font-size: 9px; }
  .show-table-heading { display: none; }
  .show-row {
    grid-template-columns: 80px minmax(0, 1fr) 70px;
    gap: 11px;
    min-height: 86px;
  }
  .show-title { font-size: 16px; }
  .show-venue { grid-column: 2; grid-row: 2; font-size: 12px; }
  .show-tracks { grid-column: 3; grid-row: 1 / span 2; }
  .show-date { grid-row: 1 / span 2; }
  .venue-chip-row { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .show-row { animation: none; }
  .is-spinning,
  .track-spinner { animation: none; }
}

/* Compact homepage builder */

.builder-section .builder-layout { width: min(820px, 100%); }

.builder-section .builder-heading .eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
}

.builder-section .builder-heading h2 {
  max-width: none;
  margin-bottom: 17px;
  font-size: clamp(40px, 4.2vw, 52px);
  line-height: 1;
}

.builder-section .builder-heading > p:last-child {
  max-width: none;
  font-size: 16px;
}

.builder-section .builder-panel { margin-top: 42px; }

.builder-section .venues-heading {
  margin-bottom: 10px;
  font: 400 10px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.builder-venue-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.builder-venue-tile {
  height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  grid-template-rows: 22px 18px;
  column-gap: 9px;
  align-items: center;
  padding: 10px 9px 9px 15px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: opacity 180ms ease;
}

.builder-venue-tile.is-removing {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .builder-venue-tile { transition: none; }
}

.builder-venue-location {
  color: var(--placeholder);
  font: 400 11px/1.35 "DM Mono", monospace;
}

.builder-venue-tile strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-venue-location {
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.builder-venue-remove {
  width: 32px;
  height: 42px;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 0;
  color: var(--placeholder);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 18px;
}

.builder-venue-remove:hover { color: var(--pink); }

.builder-search-wrap {
  min-width: 0;
  position: relative;
  height: 64px;
  margin: 0;
}

.builder-search-wrap.is-empty { grid-column: 1 / -1; }

.builder-search-input {
  width: 100%;
  height: 64px;
  padding: 0 15px;
  color: var(--text);
  background: transparent;
  border: 1px dashed var(--purple-light);
  border-radius: 10px;
  outline: 0;
  font-size: 15px;
}

.builder-search-wrap.is-empty .builder-search-input { border-style: solid; border-color: var(--border); }
.builder-search-input::placeholder { color: var(--placeholder); }
.builder-search-input:focus { border-color: var(--purple-light); }

.builder-suggestions {
  width: max(100%, min(420px, calc(100vw - 42px)));
  max-width: calc(100vw - 42px);
  max-height: 280px;
  position: absolute;
  z-index: 30;
  top: 68px;
  left: 0;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--purple-light);
  border-radius: 10px;
}

.builder-suggestions.opens-up {
  top: auto;
  bottom: 68px;
}

.builder-suggestion {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 14px 8px 12px;
  color: var(--text);
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  cursor: pointer;
  text-align: left;
}

.builder-suggestion:last-child { border-bottom: 0; }
.builder-suggestion:hover,
.builder-suggestion.is-active { background: #2a2135; border-left-color: var(--purple-light); }

.builder-suggestion-kind {
  color: var(--purple-light);
  font: 400 9px/1.2 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.builder-suggestion-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.builder-suggestion-copy strong,
.builder-suggestion-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-suggestion-copy strong { font-size: 14px; }
.builder-suggestion-copy small { color: var(--label); font: 400 10px/1.35 "DM Mono", monospace; }

.builder-search-status,
.builder-limit {
  min-height: 0;
  margin: 9px 0 0;
  color: var(--label);
  font-size: 12px;
  line-height: 1.4;
}

.builder-search-status:empty { display: none; }

.builder-limit {
  color: var(--placeholder);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.builder-section .build-status:not(:empty) { margin-top: 15px; }

.builder-section .build-button {
  width: auto;
  min-height: 52px;
  gap: 26px;
  margin-top: 36px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
}

.result-section.is-building .playlist-cover { opacity: .35; }

.builder-section .build-status:not(:empty) + .build-button { margin-top: 16px; }

.builder-section .build-button:disabled { opacity: .7; cursor: wait; }

@media (max-width: 620px) {
  .builder-section .builder-panel { margin-top: 34px; }
  .builder-section .builder-heading h2 { font-size: clamp(36px, 11vw, 48px); }
  .builder-venue-list { grid-template-columns: 1fr; }
  .builder-suggestion { grid-template-columns: 46px minmax(0, 1fr); }
  .builder-suggestion-copy { display: block; }
  .builder-suggestion-copy strong { margin-bottom: 3px; }
}
