:root {
  --midnight: #100b35;
  --midnight-deep: #080621;
  --indigo: #21175a;
  --panel: #171044;
  --panel-light: #241a5f;
  --cream: #fff4c9;
  --paper: #fffaf0;
  --white: #ffffff;
  --ink: #17112d;
  --muted: #77718a;
  --muted-light: #bbb5d0;
  --cherry: #ff3d63;
  --cherry-dark: #d91f48;
  --cyan: #2ee9df;
  --yellow: #ffd43b;
  --lavender: #bfa7ff;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #e9e2d5;
  --shadow: 0 24px 70px rgba(5, 3, 24, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --font-display: "Bungee", "Arial Black", sans-serif;
  --font-body: "Manrope", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 6, 33, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.4px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--cream);
  border-radius: 50% 50% 46% 46%;
  box-shadow: inset 0 0 0 3px var(--cherry), 0 0 14px rgba(255, 61, 99, 0.5);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-mark::before {
  width: 19px;
  height: 19px;
  border: 2px solid var(--cyan);
}

.brand-mark::after {
  width: 6px;
  height: 6px;
  background: var(--cream);
}

.view-switch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.view-button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-light);
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 800;
}

.view-button:hover {
  color: var(--white);
}

.view-button.is-active {
  background: var(--cream);
  color: var(--midnight);
}

.icon-button {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.icon-button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.icon-button svg {
  width: 100%;
  fill: currentColor;
}

.show-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 42px 30px;
  color: var(--white);
}

#guest-view {
  background:
    radial-gradient(circle at 14% 12%, rgba(68, 50, 166, 0.5), transparent 26%),
    linear-gradient(var(--midnight) 0 650px, var(--paper) 650px);
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.3;
  text-transform: uppercase;
}

.show-strip .eyebrow,
.now-playing-copy .eyebrow,
.artist-hero > div > .eyebrow {
  color: var(--cyan);
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cherry);
  box-shadow: 0 0 0 4px rgba(255, 61, 99, 0.16), 0 0 12px var(--cherry);
}

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

.show-strip h1,
.artist-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.06;
}

.show-meta {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 700;
}

.now-playing-wrap {
  position: relative;
}

.jukebox-arch {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  padding: 35px 42px 30px;
  border: 2px solid var(--cream);
  border-bottom: 8px solid var(--cherry-dark);
  border-radius: 125px 125px 24px 24px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(135deg, #2c1a6a, #160f45 58%, #0c092b);
  box-shadow:
    inset 0 0 0 6px rgba(255, 61, 99, 0.75),
    inset 0 0 0 9px var(--yellow),
    var(--shadow);
  color: var(--white);
}

.arch-lights {
  position: absolute;
  inset: 12px 27px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.arch-lights span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.arch-lights span:nth-child(3n + 2) {
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.arch-lights span:nth-child(3n + 3) {
  background: var(--cherry);
  box-shadow: 0 0 10px var(--cherry);
}

.record-player {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
}

.record {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 4px, rgba(255, 255, 255, 0.06) 5px 6px),
    #080810;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.38);
  animation: spin 9s linear infinite;
}

.record::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 10px solid var(--cherry);
  border-radius: 50%;
  background: var(--cream);
}

.record-label {
  position: relative;
  z-index: 1;
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 7px;
}

.tonearm {
  position: absolute;
  top: 20px;
  right: 4px;
  z-index: 2;
  width: 7px;
  height: 82px;
  border-radius: 8px;
  background: linear-gradient(90deg, #cdd3dc, #686b78);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transform: rotate(22deg);
  transform-origin: top;
}

.tonearm::before,
.tonearm::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: #d6d8df;
  transform: translateX(-50%);
}

.tonearm::before {
  top: -8px;
  width: 20px;
  height: 20px;
}

.tonearm::after {
  bottom: -6px;
  width: 13px;
  height: 17px;
  border-radius: 4px;
}

.now-playing-copy {
  padding-left: 28px;
}

.now-playing-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.now-playing-copy > p:not(.eyebrow) {
  margin: 8px 0 18px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
}

.equalizer {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 18px;
}

.equalizer span {
  width: 4px;
  height: 7px;
  border-radius: 4px;
  background: var(--cyan);
  animation: bounce 900ms ease-in-out infinite alternate;
}

.equalizer span:nth-child(2) { animation-delay: -300ms; }
.equalizer span:nth-child(3) { animation-delay: -700ms; }
.equalizer span:nth-child(4) { animation-delay: -150ms; }
.equalizer span:nth-child(5) { animation-delay: -500ms; }

.up-next-note {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 3px;
  padding: 12px 0 12px 26px;
  border-left: 1px solid var(--line-dark);
}

.up-next-note span {
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.up-next-note strong {
  max-width: 180px;
  font-size: 17px;
  text-align: right;
}

.guest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 28px;
  padding-block: 60px 90px;
}

.song-browser,
.queue-panel,
.artist-repertoire,
.settings-card {
  min-width: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.song-browser,
.artist-repertoire {
  padding: 30px;
}

.section-heading,
.queue-heading,
.mini-card-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading .eyebrow,
.queue-heading .eyebrow,
.settings-card .eyebrow,
.artist-repertoire .eyebrow {
  color: var(--cherry-dark);
}

.section-heading h2,
.queue-heading h2,
.settings-card h2,
.artist-repertoire h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.12;
}

.section-count,
.queue-count {
  flex: none;
  margin: 0 0 3px;
  border-radius: 999px;
  background: #f0ebff;
  color: #513b96;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-block: 25px 16px;
  border: 1px solid #dcd5c9;
  border-radius: 13px;
  background: var(--paper);
  padding: 0 14px;
}

.search-box:focus-within {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(46, 233, 223, 0.25);
}

.search-box svg {
  width: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 2;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-box input::placeholder {
  color: #918a9e;
}

.search-box kbd {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #d7d0c5;
  border-radius: 5px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 23px;
  padding: 2px 2px 5px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: none;
  border: 1px solid #ddd6ca;
  border-radius: 999px;
  background: transparent;
  color: #5c5668;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
}

.filter-button:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.filter-button.is-active {
  border-color: var(--midnight);
  background: var(--midnight);
  color: var(--white);
}

.song-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.song-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 10px;
  text-align: left;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.song-card:hover {
  border-color: var(--lavender);
  box-shadow: 0 8px 24px rgba(33, 23, 90, 0.08);
  transform: translateY(-2px);
}

.song-card.is-queued {
  background: #f7f4ef;
  color: #8a8492;
}

.album-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--tile-color, var(--indigo));
  color: var(--tile-ink, var(--cream));
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.4px;
}

.album-tile::before,
.album-tile::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.album-tile::before {
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  opacity: 0.35;
}

.album-tile::after {
  right: -8px;
  bottom: -9px;
  width: 27px;
  height: 27px;
  background: currentColor;
  opacity: 0.18;
}

.album-tile span {
  position: relative;
  z-index: 1;
}

.song-info {
  min-width: 0;
}

.song-info strong,
.queue-item-copy strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-info span,
.queue-item-copy span {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-action {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d9d1c5;
  border-radius: 50%;
  background: transparent;
  color: var(--midnight);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.song-card:hover .request-action {
  border-color: var(--cherry);
  background: var(--cherry);
  color: var(--white);
}

.song-card.is-queued .request-action {
  border-color: #d7d0c4;
  color: #aaa4ae;
  font-size: 12px;
}

.empty-state {
  padding: 54px 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state > span {
  font-size: 36px;
  color: var(--lavender);
}

.empty-state h3 {
  margin: 8px 0 5px;
  color: var(--ink);
}

.empty-state p {
  margin-bottom: 8px;
}

.queue-panel {
  position: sticky;
  top: 100px;
  align-self: start;
  overflow: hidden;
  padding: 28px;
}

.queue-helper {
  margin: 17px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.queue-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.queue-item {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 63px;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  padding: 9px 9px 9px 10px;
}

.queue-position {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0ebff;
  color: #503b93;
  font-size: 10px;
  font-weight: 900;
}

.queue-item.is-bumped {
  border-color: #f1bd22;
  background: #fffae9;
}

.queue-item.is-bumped .queue-position {
  background: var(--yellow);
  color: var(--ink);
}

.bumped-tag {
  display: inline-block !important;
  width: fit-content;
  margin-top: 5px !important;
  border-radius: 4px;
  background: var(--yellow);
  color: #544000 !important;
  padding: 2px 5px;
  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.bump-button {
  border: 1px solid #e0d8cc;
  border-radius: 8px;
  background: transparent;
  color: var(--cherry-dark);
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.bump-button:hover {
  border-color: var(--cherry);
  background: #fff0f3;
}

.queue-empty {
  border: 1px dashed #d9d2c8;
  border-radius: 13px;
  padding: 28px 20px;
  color: var(--muted);
  text-align: center;
}

.queue-empty span {
  color: var(--cherry);
  font-size: 28px;
}

.queue-empty p {
  margin: 5px 0 0;
}

.direct-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 24px -28px -28px;
  border-top: 1px solid var(--line-light);
  background: var(--paper);
  padding: 18px 22px;
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffe5eb;
  color: var(--cherry-dark);
}

.direct-tip strong,
.direct-tip span {
  display: block;
}

.direct-tip strong {
  font-size: 11px;
}

.direct-tip span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.mini-button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--cherry-dark);
  font-size: 10px;
  font-weight: 900;
}

.mini-button {
  border: 1px solid #dacfc2;
  border-radius: 8px;
  background: var(--white);
  padding: 7px 10px;
}

.mini-button:hover,
.text-button:hover {
  color: var(--indigo);
}

/* Artist view */

#artist-view {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(circle at 85% 0%, rgba(46, 233, 223, 0.12), transparent 25%),
    linear-gradient(var(--midnight) 0 355px, var(--paper) 355px);
}

.artist-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-block: 55px 48px;
  color: var(--white);
}

.artist-hero > div > p:last-child {
  max-width: 610px;
  margin: 15px 0 0;
  color: var(--muted-light);
}

.gig-live-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-width: 335px;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  padding: 13px;
}

.gig-live-card strong,
.gig-live-card span {
  display: block;
}

.gig-live-card strong {
  font-size: 11px;
}

.gig-live-card div span {
  color: var(--muted-light);
  font-size: 9px;
}

.gig-live-card .mini-button {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--cyan);
}

.artist-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 10, 52, 0.11);
}

.artist-stats article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 22px 25px;
}

.artist-stats article + article {
  border-left: 1px solid var(--line-light);
}

.artist-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.artist-stats strong {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
}

.artist-stats small {
  color: var(--muted);
  font-size: 10px;
}

.artist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  padding-block: 34px 90px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--cherry);
  color: var(--white);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(217, 31, 72, 0.2);
}

.primary-button:hover {
  background: var(--cherry-dark);
}

.primary-button span {
  font-size: 18px;
  line-height: 0.8;
}

.section-intro {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.artist-song-list {
  display: grid;
  gap: 8px;
}

.artist-song-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  padding: 9px 12px;
}

.artist-song-row .album-tile {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.genre-label {
  border-radius: 999px;
  background: #f2edf9;
  color: #654e89;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle-track {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: #cbc5bd;
  transition: background 160ms ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease;
}

.toggle input:checked + .toggle-track {
  background: var(--indigo);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(15px);
}

.toggle input:focus-visible + .toggle-track {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.artist-settings {
  display: grid;
  align-content: start;
  gap: 18px;
}

.settings-card {
  padding: 27px;
}

.settings-card form {
  display: grid;
  gap: 15px;
  margin-top: 23px;
}

.settings-card label,
.modal-card label,
.modal-card legend {
  display: grid;
  gap: 7px;
  color: #514a5f;
  font-size: 10px;
  font-weight: 900;
}

.settings-card input,
.modal-card input,
.modal-card select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #dcd4c9;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 11px;
  font-size: 12px;
}

.money-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dcd4c9;
  border-radius: 9px;
  background: var(--paper);
}

.money-input > span {
  padding-left: 11px;
  color: var(--muted);
  font-size: 12px;
}

.money-input input {
  border: 0;
}

.full-button {
  width: 100%;
}

.compact-queue-card h3 {
  margin: 0;
  font-size: 15px;
}

#artist-queue-preview {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.preview-queue-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
}

.preview-queue-row span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0ebff;
  color: #513b96;
  font-size: 8px;
}

footer {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 20px max(20px, calc((100vw - 1180px) / 2));
  background: var(--midnight-deep);
  color: var(--muted-light);
  font-size: 10px;
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
}

.prototype-note {
  margin-left: auto;
}

/* Dialogs */

.modal {
  width: min(430px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  padding: 0;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(6, 4, 26, 0.76);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: var(--white);
  padding: 32px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0ece6;
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
}

.modal-kicker {
  color: var(--cherry-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
}

.modal-song-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto -3px;
  border: 5px solid #f6cad3;
  border-radius: 50%;
  background: var(--cherry);
  color: var(--white);
  font-size: 27px;
}

.modal-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.modal-subtitle {
  margin: -10px 0 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.modal-card label span {
  color: var(--muted);
  font-weight: 500;
}

.modal-note {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.bump-record {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto -2px;
  border: 10px solid #17131e;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px #e5dfd4;
}

.bump-record::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.bump-record span {
  font-size: 25px;
  font-weight: 900;
}

.modal-card fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.modal-card legend {
  margin-bottom: 8px;
}

.tip-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tip-options label {
  display: block;
}

.tip-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tip-options span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid #dcd4c9;
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 900 !important;
}

.tip-options input:checked + span {
  border-color: var(--indigo);
  background: var(--indigo);
  color: var(--white) !important;
}

.tip-options input:focus-visible + span {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.payment-label {
  margin: 1px 0 -9px;
  color: #514a5f;
  font-size: 10px;
  font-weight: 900;
}

.payment-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.payment-button {
  min-height: 47px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.payment-button.venmo {
  background: #008cff;
}

.payment-button.paypal {
  background: #083b88;
  color: #fff;
}

.payment-button.paypal span {
  color: #48a9f8;
}

.center-note {
  text-align: center;
}

.qr-card {
  text-align: center;
}

.fake-qr {
  width: 210px;
  height: 210px;
  margin: 0 auto;
  border: 10px solid var(--white);
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 0 0 1px #ded6ca, 0 12px 28px rgba(24, 16, 68, 0.13);
}

.fake-qr svg {
  width: 100%;
  height: 100%;
  fill: var(--midnight);
}

.qr-url {
  font-size: 12px;
}

.toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(350px, calc(100vw - 44px));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: var(--midnight);
  color: var(--white);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  animation: toast-in 220ms ease-out;
}

.toast::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--midnight);
  font-weight: 900;
}

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

@keyframes bounce {
  to { height: 18px; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 900px) {
  .guest-layout,
  .artist-layout {
    grid-template-columns: 1fr;
  }

  .queue-panel {
    position: static;
  }

  .artist-hero {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .gig-live-card {
    width: 100%;
  }

  .jukebox-arch {
    grid-template-columns: 155px 1fr;
  }

  .record-player {
    width: 126px;
    height: 126px;
  }

  .record {
    width: 104px;
    height: 104px;
  }

  .up-next-note {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 64px;
    padding: 8px 12px;
    backdrop-filter: none;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .view-switch {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(8, 6, 33, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .view-button {
    min-height: 42px;
  }

  .show-strip {
    align-items: start;
    flex-direction: column;
    gap: 13px;
    padding-block: 27px 23px;
  }

  .show-strip h1,
  .artist-hero h1 {
    font-size: 31px;
  }

  .show-meta {
    padding: 0;
  }

  #guest-view {
    background: linear-gradient(var(--midnight) 0 500px, var(--paper) 500px);
  }

  .jukebox-arch {
    grid-template-columns: 92px 1fr;
    min-height: 180px;
    padding: 34px 25px 24px;
    border-radius: 90px 90px 20px 20px;
    box-shadow:
      inset 0 0 0 4px rgba(255, 61, 99, 0.75),
      inset 0 0 0 7px var(--yellow),
      0 20px 55px rgba(5, 3, 24, 0.28);
  }

  .arch-lights {
    inset: 10px 24px auto;
  }

  .arch-lights span:nth-child(even) {
    display: none;
  }

  .record-player {
    width: 82px;
    height: 82px;
  }

  .record {
    width: 68px;
    height: 68px;
  }

  .record::after {
    width: 18px;
    height: 18px;
    border-width: 6px;
  }

  .tonearm {
    top: 10px;
    right: 1px;
    width: 5px;
    height: 48px;
  }

  .tonearm::before {
    width: 14px;
    height: 14px;
  }

  .now-playing-copy {
    min-width: 0;
    padding-left: 10px;
  }

  .now-playing-copy h2 {
    overflow: hidden;
    font-size: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .now-playing-copy > p:not(.eyebrow) {
    margin: 5px 0 12px;
    font-size: 12px;
  }

  .guest-layout {
    gap: 15px;
    padding-block: 35px 90px;
  }

  .song-browser,
  .queue-panel,
  .artist-repertoire,
  .settings-card {
    border-radius: 19px;
  }

  .song-browser,
  .artist-repertoire,
  .queue-panel,
  .settings-card {
    padding: 20px;
  }

  .section-heading h2,
  .queue-heading h2,
  .settings-card h2,
  .artist-repertoire h2 {
    font-size: 22px;
  }

  .song-browser .section-count {
    display: none;
  }

  .song-list {
    grid-template-columns: 1fr;
  }

  .direct-tip {
    margin: 20px -20px -20px;
    padding: 16px;
  }

  .artist-hero {
    padding-block: 38px 30px;
  }

  #artist-view {
    background: linear-gradient(var(--midnight) 0 430px, var(--paper) 430px);
  }

  .gig-live-card {
    min-width: 0;
  }

  .artist-stats {
    grid-template-columns: 1fr;
    border-radius: 19px;
  }

  .artist-stats article + article {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .artist-layout {
    gap: 15px;
    padding-block: 20px 90px;
  }

  .artist-song-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .artist-song-row .genre-label {
    display: none;
  }

  footer {
    align-items: start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 88px;
  }

  .prototype-note {
    margin-left: 0;
  }

  .modal-card {
    padding: 28px 22px 22px;
  }

  .toast-region {
    right: 12px;
    bottom: 78px;
  }
}

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