:root {
  color-scheme: dark;
  --bg: #030305;
  --shell: #07070a;
  --surface: #0c0b10;
  --surface-raised: #121117;
  --line: rgba(230, 230, 242, 0.11);
  --line-strong: rgba(230, 230, 242, 0.18);
  --text: #f4f3f7;
  --muted: #8e8b98;
  --faint: #5f5c68;
  --violet: #8d5cff;
  --violet-bright: #ad8bff;
  --ice: #a9cfff;
  --magenta: #e16fb8;
  --success: #9ee5cd;
  --button-panel: #0d0a13;
  --button-panel-raised: #181022;
  --button-edge: rgba(185, 145, 255, 0.68);
  --button-edge-soft: rgba(185, 145, 255, 0.24);
  --button-glow: rgba(126, 61, 235, 0.28);
  --nav-height: 64px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #010102;
}

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--text);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

.app-shell {
  --header-progress: 0;
  --header-brand-height: 72px;
  --header-logo-opacity: 1;
  --header-logo-offset: 0px;
  --header-logo-scale: 1;
  --header-bottom-padding: 12px;
  --header-status-gap: 11px;
  --header-search-gap: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 448px);
  height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(72, 42, 118, 0.09), transparent 18%),
    var(--shell);
}

.app-header {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  padding: max(8px, env(safe-area-inset-top)) 18px var(--header-bottom-padding);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.91);
  backdrop-filter: blur(22px) saturate(130%);
  transition: border-color 180ms ease;
}

.status-row,
.brand-row,
.section-heading,
.timeline-row,
.playback-meta,
.artist-profile {
  display: flex;
  align-items: center;
}

.status-row {
  justify-content: space-between;
  min-height: 17px;
  margin-bottom: var(--header-status-gap);
  color: #d8d7de;
  font-size: 10px;
  font-weight: 700;
}

.status-icons {
  display: flex;
  gap: 7px;
  align-items: center;
}

.status-icons svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.signal {
  display: flex;
  align-items: end;
  gap: 1.5px;
  height: 10px;
}

.signal i {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: currentColor;
}

.signal i:nth-child(1) { height: 3px; }
.signal i:nth-child(2) { height: 5px; }
.signal i:nth-child(3) { height: 7px; }
.signal i:nth-child(4) { height: 9px; }

.battery {
  position: relative;
  display: block;
  width: 20px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.battery::after {
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  content: "";
}

.battery i {
  display: block;
  width: 72%;
  height: 100%;
  background: currentColor;
}

.brand-row {
  position: relative;
  height: var(--header-brand-height);
  min-height: var(--header-brand-height);
  overflow: hidden;
  justify-content: center;
  opacity: var(--header-logo-opacity);
  transform-origin: 50% 0;
  transform: translateY(var(--header-logo-offset)) scale(var(--header-logo-scale));
}

.brand-lockup {
  display: grid;
  width: min(210px, 54vw);
  min-height: 72px;
  place-items: center;
}

.wordmark {
  --wordmark-x: 0px;
  display: block;
  width: 100%;
  max-height: 72px;
  height: auto;
  mix-blend-mode: screen;
  object-fit: contain;
  transform: translateX(var(--wordmark-x));
  transform-origin: center;
  transition: opacity 140ms ease;
}

.wordmark-electronic {
  --wordmark-x: -4px;
  width: min(230px, 58vw);
}

.wordmark.logo-switching {
  animation: wordmark-lock-in 380ms cubic-bezier(0.22, 0.82, 0.28, 1);
}

@keyframes wordmark-lock-in {
  0% {
    opacity: 0.58;
    transform: translateX(calc(var(--wordmark-x) - 6px)) rotate(-0.7deg) scale(0.985);
  }
  26% {
    opacity: 1;
    transform: translateX(calc(var(--wordmark-x) + 4px)) rotate(0.55deg) scale(1.012);
  }
  51% {
    transform: translateX(calc(var(--wordmark-x) - 2px)) rotate(-0.3deg) scale(1);
  }
  73% {
    transform: translateX(calc(var(--wordmark-x) + 1px)) rotate(0.12deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(var(--wordmark-x)) rotate(0) scale(1);
  }
}

.rarity-badge {
  border: 1px solid rgba(173, 139, 255, 0.35);
  border-radius: 3px;
  color: #bda8ef;
  background: rgba(104, 69, 170, 0.09);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.key-balance,
.header-notifications {
  position: absolute;
  top: 1px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c8c5cf;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.key-balance:active,
.header-notifications:active,
.header-notifications:focus-visible {
  border-color: rgba(173, 139, 255, 0.48);
  color: #eee7ff;
  background: rgba(141, 92, 255, 0.1);
}

.key-balance {
  right: 0;
  gap: 5px;
  min-width: 48px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
}

.header-notifications {
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  padding: 0;
  justify-content: center;
}

.header-notifications > svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.header-notifications.has-unread {
  color: #ddd4ef;
}

.header-notifications > span {
  position: absolute;
  top: -3px;
  right: -4px;
  display: grid;
  min-width: 12px;
  height: 12px;
  padding: 0 2px;
  place-items: center;
  border: 1px solid #09080c;
  border-radius: 8px;
  color: #fff;
  background: #7a32dd;
  box-shadow: 0 0 9px rgba(146, 75, 255, 0.65);
  font-size: 6px;
  font-weight: 850;
  line-height: 1;
}

.app-shell.header-condensed .brand-row {
  pointer-events: none;
}

.key-balance svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--violet-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.main-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(var(--nav-height) + max(14px, env(safe-area-inset-bottom)));
  scrollbar-width: none;
  overscroll-behavior-y: contain;
}

.main-scroll::-webkit-scrollbar {
  display: none;
}

.track-strip {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 84px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.track-art {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 1px solid rgba(214, 206, 230, 0.13);
  border-radius: 4px;
  padding: 0;
  background: #111016;
  cursor: zoom-in;
}

.track-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artwork-expand {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #fff;
  background: rgba(3, 3, 5, 0.68);
  opacity: 0;
  transition: opacity 140ms ease;
}

.track-art:hover .artwork-expand,
.track-art:focus-visible .artwork-expand {
  opacity: 1;
}

.artwork-expand svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.track-copy h1,
.section-heading h2,
.artist-profile h2 {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-copy h1 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.track-copy > p:last-child {
  overflow: hidden;
  margin: 4px 0 0;
  color: #aaa7b2;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-artists {
  display: flex;
  min-width: 0;
  margin-top: 5px;
  align-items: center;
  gap: 4px;
}

.artist-link {
  display: inline-flex;
  min-width: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
  border: 0;
  color: #aaa7b2;
  background: transparent;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
}

.artist-link > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-link:hover,
.artist-link:focus-visible {
  color: #eeeaf5;
}

.artist-separator {
  color: #55515c;
  font-size: 8px;
}

.mini-artist-avatar {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(220, 214, 232, 0.18);
  border-radius: 50%;
  background: #09080c;
}

.mini-artist-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.monogram-avatar {
  display: grid;
  place-items: center;
  color: #c4b7e4;
  background: #17121f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #c9c7d0;
  background: var(--surface);
  cursor: pointer;
}

.icon-button:active {
  border-color: rgba(173, 139, 255, 0.4);
  color: #fff;
  background: rgba(141, 92, 255, 0.13);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.player-section {
  padding-top: 16px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  justify-content: space-between;
  padding: 0 18px;
}

.section-heading h2,
.artist-profile h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.rarity-badge {
  padding: 5px 7px;
}

.player-viewport {
  position: relative;
  width: 100%;
  height: clamp(290px, 43svh, 372px);
  min-height: 290px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.player-viewport:active {
  cursor: grabbing;
}

.player-viewport::before {
  position: absolute;
  z-index: 0;
  right: 8%;
  bottom: 30px;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 177, 205, 0.17), transparent);
  content: "";
}

.player-viewport::after {
  position: absolute;
  z-index: 0;
  right: 21%;
  bottom: 24px;
  left: 21%;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  filter: blur(9px);
  content: "";
  pointer-events: none;
}

#boomboxCanvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 1;
  transition: opacity 220ms ease;
}

.player-viewport.model-loading #boomboxCanvas {
  opacity: 0;
}

.model-poster {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: 96%;
  height: 92%;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 240ms ease;
}

.model-poster.hidden {
  opacity: 0;
}

.player-viewport.inspection-view .model-poster {
  visibility: hidden;
  opacity: 0;
}

.reset-player-view {
  position: absolute;
  z-index: 5;
  right: auto;
  bottom: 6px;
  left: 50%;
  display: grid;
  width: 23px;
  height: 23px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(156, 105, 255, 0.42);
  border-radius: 50%;
  color: #c9b4ff;
  background: rgba(8, 6, 13, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 9px rgba(100, 44, 213, 0.12);
  cursor: pointer;
  transform: translateX(-50%);
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease, opacity 180ms ease;
}

.reset-player-view[hidden] {
  display: none;
}

.reset-player-view:hover,
.reset-player-view:focus-visible {
  border-color: rgba(190, 151, 255, 0.78);
  color: #f0e8ff;
  background: rgba(21, 13, 34, 0.94);
}

.reset-player-view:active {
  transform: translateX(-50%) scale(0.94);
}

.reset-player-view svg {
  width: 12px;
  height: 12px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.reset-player-view circle {
  fill: currentColor;
  stroke: none;
}

.player-viewport.model-loading .reset-player-view {
  opacity: 0;
  pointer-events: none;
}

.model-status {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a9a6b0;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.model-status.hidden {
  opacity: 0;
}

.model-status.error {
  color: #f09bbf;
}

.volume-readout {
  position: absolute;
  z-index: 5;
  top: 40%;
  right: 14px;
  display: grid;
  grid-template-columns: auto auto 4px;
  min-width: 74px;
  padding: 7px 8px;
  align-items: end;
  gap: 7px;
  border: 1px solid rgba(184, 151, 255, 0.28);
  border-radius: 4px;
  color: #b8a4e8;
  background: rgba(5, 4, 9, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.48), inset 0 0 18px rgba(78, 27, 162, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  pointer-events: none;
}

.volume-readout[hidden] {
  display: none;
}

.volume-readout span {
  padding-bottom: 1px;
  font-size: 7px;
  font-weight: 800;
}

.volume-readout strong {
  min-width: 21px;
  color: #eee8ff;
  font-size: 12px;
  line-height: 1;
  text-align: right;
}

.volume-readout > i {
  position: relative;
  display: block;
  width: 4px;
  height: 27px;
  overflow: hidden;
  background: #17121f;
}

.volume-readout > i > b {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 80%;
  background: #7b32ed;
  box-shadow: 0 0 8px rgba(144, 76, 255, 0.85);
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 12px rgba(173, 139, 255, 0.8);
  animation: status-pulse 1.2s ease-in-out infinite;
}

.unit-stamp {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 8px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 700;
  pointer-events: none;
}

.unit-stamp span:last-child {
  color: #9692a0;
}

.timeline-row {
  gap: 10px;
  padding: 0 18px 8px;
  color: #77737f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.timeline-row span {
  width: 29px;
  flex: 0 0 29px;
}

.timeline-row span:last-child {
  text-align: right;
}

#seekBar {
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

#seekBar::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--violet-bright) var(--seek-progress, 0%), #282630 var(--seek-progress, 0%));
}

#seekBar::-moz-range-track {
  height: 2px;
  border-radius: 1px;
  background: #282630;
}

#seekBar::-moz-range-progress {
  height: 2px;
  background: var(--violet-bright);
}

#seekBar::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: #e8e3f3;
  box-shadow: 0 0 8px rgba(173, 139, 255, 0.6);
}

#seekBar::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #e8e3f3;
}

.playback-meta {
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px 14px;
  color: #75717d;
  font-size: 8px;
  font-weight: 700;
}

.playback-meta span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playback-meta span:last-child {
  flex: 0 0 auto;
  color: #9b91ad;
}

.track-queue-button.is-open,
.mini-queue-button.is-open {
  border-color: rgba(173, 139, 255, 0.54);
  color: #d8c9ff;
  background: rgba(88, 42, 170, 0.2);
}

.artist-section {
  padding: 18px;
  background: rgba(255, 255, 255, 0.012);
}

.artist-roster {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.artist-profile {
  position: relative;
  width: 100%;
  min-width: 0;
  gap: 11px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.artist-profile:last-child {
  border-bottom: 0;
}

.artist-profile > span:nth-child(2) {
  min-width: 0;
}

.artist-profile strong,
.artist-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-profile strong {
  font-size: 12px;
  font-weight: 700;
}

.artist-profile small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.artist-profile > svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  fill: none;
  stroke: #625e69;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.artist-avatar {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  border: 1px solid rgba(214, 206, 230, 0.17);
  border-radius: 50%;
  background: #111016;
}

.artist-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mask-avatar {
  background: #050506;
}

.mask-avatar img {
  filter: none;
  transform: none;
  transform-origin: center;
}

.artist-avatar.monogram-avatar {
  display: grid;
  padding: 0;
  place-items: center;
  color: #ded3fa;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  border-bottom: 1px solid var(--line);
}

.credits-grid > div {
  min-width: 0;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.credits-grid > div:first-child {
  grid-column: 1 / -1;
  padding-right: 0;
  padding-left: 0;
  border-right: 0;
}

.credits-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.credits-grid > div:nth-child(2) {
  padding-left: 0;
}

.credits-grid span,
.credits-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lyrics-section,
.about-section {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.lyrics-section {
  min-height: 0;
  overflow-anchor: none;
}

.lyrics-summary {
  min-height: 38px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.lyrics-summary::-webkit-details-marker {
  display: none;
}

.lyrics-summary-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.lyrics-summary-meta .annotation-status {
  padding-bottom: 0;
}

.lyrics-summary-meta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8f869c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.lyrics-section[open] .lyrics-summary-meta svg {
  transform: rotate(180deg);
}

.about-section {
  min-height: 0;
  overflow-anchor: none;
  background: rgba(255, 255, 255, 0.012);
}

.about-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
}

.about-summary::-webkit-details-marker {
  display: none;
}

.about-summary > span,
.about-summary small,
.about-summary strong {
  display: block;
}

.about-summary > span {
  flex: 1 1 auto;
  min-width: 0;
}

.about-summary strong {
  margin-top: 3px;
  font-size: 17px;
  line-height: 1.2;
}

.about-preview {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  overflow: hidden;
  color: #908b98;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-section[open] .about-preview {
  display: none;
}

.about-summary > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8f869c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.about-section[open] .about-summary > svg {
  transform: rotate(180deg);
}

.about-section-content {
  padding-top: 1px;
}

.content-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.content-heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.annotation-status {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: #777280;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 700;
}

.artist-bio p {
  margin: 16px 0 0;
  color: #aaa6b2;
  font-size: 12px;
  line-height: 1.65;
}

.artist-tagline {
  margin: 16px 0 0;
  color: #d8caff;
  font-size: 13px;
  font-weight: 700;
}

.artist-bio p {
  margin-top: 12px;
}

.artist-bio em {
  color: #d3ceda;
}

.artist-linkout {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 16px;
  color: #bda8ef;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.artist-linkout:hover,
.artist-linkout:focus-visible {
  color: #ede6ff;
}

.artist-linkout svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lyrics-copy {
  margin-top: 18px;
}

.lyric-block {
  padding: 0 0 20px;
}

.lyric-block h3 {
  margin: 0 0 9px;
  color: #817b89;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.lyric-block p {
  margin: 0 0 12px;
  color: #d0ccd6;
  font-size: 13px;
  line-height: 1.72;
}

.lyric-block p:last-child {
  margin-bottom: 0;
}

.lyric-block p span {
  color: #85808d;
}

.lyric-block .lyric-refrain {
  color: #bda8ef;
  font-weight: 700;
}

.annotated-lyric {
  padding: 0;
  border: 0;
  color: #bda8ef;
  background: transparent;
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(173, 139, 255, 0.8);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.annotation-couplet {
  display: inline-block;
  line-height: inherit;
  text-align: left;
}

.annotated-lyric sup {
  margin-left: 2px;
  color: var(--violet-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
}

.annotation-note {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  margin: -7px 0 22px;
  padding: 10px 0 10px 10px;
  border-left: 2px solid #5a23d6;
  background: rgba(90, 35, 214, 0.06);
}

.annotation-note[hidden] {
  display: none;
}

.annotation-note > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #e7dcff;
  background: #381273;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.annotation-note p {
  margin: 0;
  color: #a9a4af;
  font-size: 10px;
  line-height: 1.55;
}

.annotation-note strong {
  color: #dcd5e8;
}

.artwork-dialog {
  width: min(92vw, 560px);
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(232, 228, 242, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: #08070b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.82);
}

.artwork-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.artwork-dialog-frame {
  position: relative;
}

.artwork-dialog-frame > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 3, 5, 0.72);
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.artwork-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px 15px;
}

.artwork-caption strong {
  font-size: 14px;
}

.artwork-caption span {
  color: var(--muted);
  font-size: 11px;
}

.credits-grid span {
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 7px;
  font-weight: 800;
}

.credits-grid strong {
  color: #bebbc5;
  font-size: 9px;
  font-weight: 650;
}

.bottom-nav {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 5px 4px max(5px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong);
  background: rgba(7, 7, 10, 0.94);
  backdrop-filter: blur(24px) saturate(135%);
}

.nav-item {
  --nav-icon-scale: 1;
  --nav-icon-shift-y: 0px;
  display: grid;
  grid-template-rows: 28px 11px;
  min-width: 0;
  min-height: 52px;
  padding: 2px 1px;
  align-content: start;
  justify-items: center;
  row-gap: 2px;
  border: 0;
  color: #686570;
  background: transparent;
  font-size: 7.5px;
  font-weight: 650;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.nav-item svg {
  width: 28px;
  height: 28px;
  align-self: center;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  transform: translateY(var(--nav-icon-shift-y)) scale(var(--nav-icon-scale));
  transform-origin: 50% 50%;
}

.nav-item > span {
  align-self: start;
  line-height: 10px;
}

.nav-item[data-route="play"] {
  --nav-icon-scale: 0.82;
}

.nav-item[data-route="library"] {
  --nav-icon-scale: 1.04;
  --nav-icon-shift-y: -1.3px;
}

.nav-item[data-route="collection"] {
  --nav-icon-scale: 0.99;
  --nav-icon-shift-y: -0.25px;
}

.nav-item[data-route="live"] {
  --nav-icon-scale: 0.78;
  --nav-icon-shift-y: 1.6px;
}

.nav-item[data-route="account"] {
  --nav-icon-scale: 0.99;
  --nav-icon-shift-y: -1.25px;
}

.nav-item .nav-icon-panel {
  fill: rgba(255, 255, 255, 0.018);
}

.nav-item .nav-icon-fill {
  fill: currentColor;
  stroke: currentColor;
}

.nav-item .nav-icon-disc,
.nav-item .nav-icon-gem,
.nav-item .nav-icon-head {
  fill: rgba(169, 207, 255, 0.045);
}

.nav-item .nav-icon-hole {
  fill: currentColor;
  stroke: none;
}

.nav-item .nav-icon-accent,
.nav-item .nav-icon-signal {
  opacity: 0.72;
}

.nav-item .vinyl-disc {
  fill: rgba(169, 207, 255, 0.06);
}

.nav-item .library-turntable {
  fill: rgba(7, 7, 10, 0.92);
}

.nav-item .library-groove,
.nav-item .library-tonearm-pivot,
.nav-item .library-tonearm {
  fill: none;
  stroke: currentColor;
}

.nav-item .library-groove {
  opacity: 0.48;
  stroke-width: 0.85;
}

.nav-item .library-tonearm-pivot {
  fill: rgba(7, 7, 10, 0.96);
  stroke-width: 1.15;
}

.nav-item .library-tonearm {
  stroke-width: 1.25;
}

.nav-item .library-stack {
  opacity: 0.64;
}

.nav-item .play-triangle,
.nav-item .mic-spark {
  fill: currentColor;
  stroke: currentColor;
}

.nav-item.active {
  color: #ece8f4;
}

.nav-item.active svg {
  color: var(--violet-bright);
  filter: drop-shadow(0 0 7px rgba(141, 92, 255, 0.42));
}

.nav-item.active .nav-icon-panel,
.nav-item.active .nav-icon-disc,
.nav-item.active .nav-icon-gem,
.nav-item.active .nav-icon-head {
  fill: rgba(141, 92, 255, 0.14);
}

.nav-item:active {
  color: #fff;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* Demo journey dialogs */
.playlist-detail-dialog {
  width: min(calc(100% - 20px), 430px);
  max-width: 430px;
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.82);
}

.playlist-detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(9px);
}

.playlist-detail-frame {
  position: relative;
  padding: 48px 18px max(18px, env(safe-area-inset-bottom));
}

.playlist-detail-close {
  top: 9px;
  right: 9px;
}

.playlist-detail-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.playlist-detail-heading > span:last-child,
.playlist-detail-heading small,
.playlist-detail-heading em {
  display: block;
}

.playlist-detail-heading small {
  color: var(--violet-bright);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1px;
}

.playlist-detail-heading h2 {
  margin: 3px 0;
  font-size: 19px;
}

.playlist-detail-heading em,
.playlist-detail-description,
.playlist-detail-note {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  line-height: 1.5;
}

.playlist-detail-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(184, 140, 255, 0.46);
  border-radius: 5px;
  color: #efe7ff;
  background: linear-gradient(145deg, #6331b5, #17101f 62%);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 18px rgba(130, 71, 222, 0.28);
  font-size: 14px;
  font-weight: 900;
}

.playlist-detail-description {
  margin: 15px 0 10px;
  color: #c5bdcd;
}

.playlist-detail-tools {
  display: flex;
  margin: 0 0 12px;
  gap: 8px;
}

.playlist-detail-tools button {
  min-height: 34px;
  padding: 0 14px;
}

.playlist-detail-editor {
  display: grid;
  margin: 12px 0 14px;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(20, 14, 29, 0.72);
}

.playlist-detail-artwork-editor {
  margin-top: 0;
}

.playlist-detail-editor > label,
.playlist-collaborator-editor label {
  display: grid;
  gap: 5px;
  color: #918a9a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.playlist-detail-editor input,
.playlist-detail-editor textarea,
.playlist-detail-editor select {
  width: 100%;
  border: 1px solid #312c38;
  border-radius: 4px;
  color: var(--text);
  background: #0c0a10;
  font: inherit;
  font-size: 9px;
}

.playlist-detail-editor input,
.playlist-detail-editor select {
  min-height: 36px;
  padding: 0 10px;
}

.playlist-detail-editor textarea {
  min-height: 64px;
  padding: 9px 10px;
  resize: vertical;
}

.playlist-collaborator-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.playlist-collaborator-editor button {
  min-height: 36px;
}

.playlist-collaborator-list {
  display: grid;
  gap: 5px;
}

.playlist-collaborator-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(149, 108, 216, 0.22);
  border-radius: 4px;
  color: #c7bbd3;
  background: rgba(74, 43, 111, 0.12);
  font-size: 7px;
}

.playlist-collaborator-chip em {
  color: var(--muted);
  font-style: normal;
}

.playlist-collaborator-chip button {
  border: 0;
  color: #c8a9f9;
  background: transparent;
  cursor: pointer;
}

.playlist-detail-editor-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
}

.playlist-detail-editor-actions button {
  min-height: 36px;
}

.playlist-delete-button {
  justify-self: start;
  border: 0;
  color: #e08b9a;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.playlist-detail-list {
  border-top: 1px solid var(--line);
}

.playlist-detail-track-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.playlist-detail-track {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 58px;
  padding: 8px 0;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.playlist-detail-track-row > .playlist-detail-track:only-child {
  grid-column: 1 / -1;
}

.playlist-track-actions {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  gap: 2px;
}

.playlist-track-actions button {
  width: 24px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #8d829b;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.playlist-track-actions button:disabled {
  opacity: 0.22;
  cursor: default;
}

.playlist-track-actions button:last-child {
  color: #cc8292;
}

.playlist-detail-track:hover,
.playlist-detail-track:focus-visible {
  background: rgba(119, 69, 190, 0.1);
}

.playlist-detail-track img {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  object-fit: cover;
}

.playlist-detail-track strong,
.playlist-detail-track small {
  display: block;
}

.playlist-detail-track strong {
  font-size: 9px;
}

.playlist-detail-track small,
.playlist-detail-track em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.playlist-detail-note {
  margin: 10px 0 0;
}

.playlist-detail-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 9px;
  margin-top: 16px;
}

.playlist-detail-actions button {
  min-height: 42px;
}

.account-detail-frame {
  min-height: 250px;
}

.account-detail-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  margin-top: 10px;
  padding: 14px 0;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-detail-summary > span:last-child,
.account-detail-summary strong,
.account-detail-summary small {
  display: block;
}

.account-detail-summary strong {
  font-size: 10px;
}

.account-detail-summary small,
.account-detail-frame > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.account-detail-frame > p {
  margin: 14px 0 0;
}

.live-action-status {
  margin: 0;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(174, 132, 255, 0.25);
  color: #d7c9f5;
  background: rgba(53, 27, 84, 0.22);
  font-size: 8px;
  line-height: 1.45;
}

@media (min-width: 520px) {
  body {
    display: grid;
    padding: 16px;
    place-items: center;
    background:
      linear-gradient(115deg, rgba(55, 34, 86, 0.16), transparent 34%),
      linear-gradient(295deg, rgba(53, 73, 95, 0.1), transparent 35%),
      #010102;
  }

  .app-shell {
    height: min(930px, calc(100svh - 32px));
    border: 1px solid rgba(230, 230, 242, 0.12);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  }
}

@media (max-width: 380px) {
  .app-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .track-strip {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .track-art {
    width: 54px;
    height: 54px;
  }

  .section-heading,
  .timeline-row,
  .playback-meta {
    padding-right: 14px;
    padding-left: 14px;
  }

  .player-viewport {
    height: 290px;
  }

  .artist-section,
  .lyrics-section,
  .about-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .credits-grid span {
    font-size: 6px;
  }

  .credits-grid strong {
    font-size: 8px;
  }

  .nav-item {
    font-size: 7px;
  }
}

/* Shared app architecture */
.app-shell {
  --mini-player-height: 58px;
}

.global-search {
  position: relative;
  display: flex;
  height: 34px;
  margin-top: var(--header-search-gap);
  align-items: center;
  border: 1px solid rgba(230, 230, 242, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 150ms ease, background 150ms ease;
}

.global-search:focus-within {
  border-color: rgba(169, 207, 255, 0.42);
  background: rgba(169, 207, 255, 0.055);
}

.global-search > svg {
  width: 15px;
  height: 15px;
  margin-left: 11px;
  flex: 0 0 15px;
  fill: none;
  stroke: #8f8b98;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.global-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 34px 0 8px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0;
}

.global-search input::placeholder {
  color: #777380;
}

.global-search input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  position: absolute;
  right: 3px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #8f8b98;
  background: transparent;
  cursor: pointer;
}

.search-clear svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.app-page[hidden],
.page-panel[hidden],
.search-results[hidden],
.discovery-default[hidden] {
  display: none;
}

[hidden] {
  display: none !important;
}

.app-page {
  overflow-anchor: none;
  scroll-behavior: auto;
}

.app-shell:not([data-route="play"]) .main-scroll {
  padding-bottom: calc(var(--nav-height) + var(--mini-player-height) + max(18px, env(safe-area-inset-bottom)));
}

.track-strip {
  grid-template-columns: 60px minmax(0, 1fr) 32px 34px;
}

.current-track-action-trigger {
  align-self: center;
  color: #97909e;
}

.track-queue-button {
  position: relative;
  z-index: 3;
  width: 34px;
  height: 34px;
  align-self: center;
  border-color: rgba(173, 139, 255, 0.24);
  background: rgba(88, 42, 170, 0.08);
  pointer-events: auto;
}

.queue-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  place-items: center;
  border: 1px solid #08070a;
  border-radius: 8px;
  color: #f2edff;
  background: #5d2ac4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  font-weight: 850;
}

.page-intro {
  padding: 24px 18px 16px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1,
.page-title-row h1,
.account-profile h1,
.artist-landing-copy h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.page-title-row {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.segmented-control {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  min-height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.segmented-control button {
  position: relative;
  min-width: 0;
  padding: 0 6px;
  border: 0;
  color: #716d79;
  background: transparent;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.segmented-control button::after {
  position: absolute;
  right: 20%;
  bottom: -1px;
  left: 20%;
  height: 2px;
  background: transparent;
  content: "";
}

.segmented-control button.active {
  color: #eeeaf6;
}

.segmented-control button.active::after {
  background: var(--violet-bright);
  box-shadow: 0 0 10px rgba(141, 92, 255, 0.5);
}

.page-panel {
  padding: 18px;
}

.section-bar {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.section-bar h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.section-bar > span,
.section-bar > button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #77727f;
  background: transparent;
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-bar > button {
  color: #a895d4;
  cursor: pointer;
}

.primary-action,
.secondary-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 110ms ease, border-color 150ms ease, color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.primary-action::before,
.secondary-action::before {
  position: absolute;
  z-index: 0;
  inset: 3px;
  border: 1px solid rgba(225, 209, 255, 0.12);
  border-radius: 3px;
  content: "";
  pointer-events: none;
}

.primary-action::after,
.secondary-action::after {
  position: absolute;
  z-index: 1;
  top: 1px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 214, 255, 0.72), transparent);
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.primary-action {
  border: 1px solid var(--button-edge);
  color: #f6f1ff;
  background:
    radial-gradient(circle at 50% -35%, rgba(190, 146, 255, 0.32), transparent 56%),
    linear-gradient(180deg, #321852, #1b0e2e 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 16px rgba(4, 1, 9, 0.42),
    0 0 0 1px rgba(113, 64, 190, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.32),
    0 0 13px var(--button-glow);
}

.primary-action::before {
  border-color: rgba(205, 174, 255, 0.38);
  box-shadow: inset 0 0 9px rgba(126, 61, 235, 0.12);
}

.secondary-action {
  border: 1px solid rgba(173, 139, 255, 0.24);
  color: #d5d0dd;
  background:
    radial-gradient(circle at 50% -45%, rgba(141, 92, 255, 0.11), transparent 58%),
    linear-gradient(180deg, #111018, #09080d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -6px 12px rgba(0, 0, 0, 0.38),
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.primary-action[aria-pressed="true"]:not(:disabled) {
  border-color: rgba(201, 167, 255, 0.9);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -8px 16px rgba(4, 1, 9, 0.42),
    0 0 0 2px rgba(141, 92, 255, 0.16),
    0 0 20px rgba(126, 61, 235, 0.34);
}

.primary-action:active:not(:disabled),
.secondary-action:active:not(:disabled) {
  transform: translateY(2px) scale(0.988);
  box-shadow:
    inset 0 5px 12px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(141, 92, 255, 0.18),
    0 0 9px rgba(115, 57, 230, 0.18);
}

.primary-action:disabled,
.secondary-action:disabled {
  border-color: rgba(173, 139, 255, 0.14);
  color: #77717f;
  background: linear-gradient(180deg, #17141c, #0d0b11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.primary-action:disabled::after,
.secondary-action:disabled::after {
  opacity: 0.12;
}

/* Library */
.library-filter {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 28px;
  min-height: 42px;
  margin: 12px 15px 2px;
  padding: 0 8px 0 11px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(12, 10, 16, 0.72);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.library-filter:focus-within {
  border-color: rgba(175, 126, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(137, 75, 255, 0.09);
}

.library-filter > svg,
.library-filter-clear svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #817a8d;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.library-filter input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 10px;
}

.library-filter input::placeholder {
  color: #77717f;
}

.library-filter input::-webkit-search-cancel-button {
  display: none;
}

.library-filter-clear {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.library-filter-clear:active,
.library-filter-clear:focus-visible {
  background: rgba(141, 92, 255, 0.12);
}

.library-filter-empty {
  margin: 12px 15px 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.library-list {
  border-top: 1px solid var(--line);
}

.saved-track-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}

.saved-track-main {
  min-width: 0;
  border-bottom: 0;
}

.saved-track-action-trigger {
  height: 48px;
}

.library-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 16px;
  width: 100%;
  min-height: 66px;
  padding: 9px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.library-row > span:nth-child(2),
.queue-row > span:nth-child(3),
.search-result > span:nth-child(2),
.broadcast-row > span:nth-child(2),
.show-row > span:nth-child(2) {
  min-width: 0;
}

.library-row strong,
.library-row small,
.queue-row strong,
.queue-row small,
.search-result strong,
.search-result small,
.broadcast-row strong,
.broadcast-row small,
.show-row strong,
.show-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-row strong {
  font-size: 11px;
}

.library-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.library-row > svg,
.show-row > svg,
.release-row > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #5e5a66;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.playlist-cover,
.library-artist-avatar {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0a0f;
}

.playlist-cover > img,
.library-artist-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.playlist-cover-grid > img {
  height: 100%;
  object-fit: cover;
}

.library-artist-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.library-artist-avatar.mask-avatar img {
  object-fit: contain;
}

.library-artist-avatar.monogram-avatar {
  color: #d8ccf4;
  font-size: 12px;
}

.library-subhead {
  margin-top: 22px;
}

.library-empty {
  margin: 22px 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.user-playlist-cover {
  display: grid;
  place-items: center;
  color: #f2edf9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 850;
}

.playlist-tone-1 { background: linear-gradient(135deg, #6d35c8 0 48%, #17111f 48%); }
.playlist-tone-2 { background: linear-gradient(135deg, #b94a68 0 42%, #123e4a 42%); }
.playlist-tone-3 { background: linear-gradient(135deg, #b68a3a 0 45%, #32205c 45%); }
.playlist-tone-4 { background: linear-gradient(135deg, #315fbd 0 46%, #802e70 46%); }

.playlist-library-status {
  margin: 10px 0 0;
  color: var(--success);
  font-size: 8px;
  line-height: 1.45;
}

/* Playlist creation */
.playlist-create-dialog {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 20px), 450px);
  max-width: 450px;
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.82);
}

.playlist-create-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(9px);
}

.playlist-create-frame {
  position: relative;
  padding: 44px 18px max(18px, env(safe-area-inset-bottom));
}

.playlist-create-close {
  top: 9px;
  right: 9px;
}

.playlist-create-menu h2,
.playlist-create-form h2 {
  margin: 4px 0 12px;
  font-size: 18px;
}

.playlist-create-option {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 14px;
  width: 100%;
  min-height: 64px;
  padding: 10px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-top: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.playlist-create-option:last-child {
  border-bottom: 1px solid var(--line);
}

.playlist-create-option-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.28);
  border-radius: 5px;
  color: #c8b4f6;
  background: rgba(98, 49, 180, 0.12);
}

.playlist-create-option-icon svg,
.playlist-create-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.playlist-create-option strong,
.playlist-create-option small {
  display: block;
}

.playlist-create-option strong {
  font-size: 10px;
}

.playlist-create-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.playlist-create-form {
  position: relative;
  padding-top: 2px;
}

.playlist-create-back {
  display: grid;
  width: 30px;
  height: 30px;
  margin: -4px 0 10px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #c8c2d0;
  background: transparent;
  cursor: pointer;
}

.playlist-create-form > label {
  display: block;
  margin-top: 12px;
}

.playlist-create-form > label > span {
  display: flex;
  margin-bottom: 6px;
  justify-content: space-between;
  color: #97909e;
  font-size: 7px;
  font-weight: 750;
}

.playlist-create-form > label > span i {
  color: #68626e;
  font-style: normal;
  font-weight: 500;
}

.playlist-artwork-editor {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}

.playlist-artwork-preview {
  display: grid;
  width: 54px;
  height: 54px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(184, 140, 255, 0.38);
  border-radius: 4px;
  color: #efe7ff;
  background-position: center;
  background-size: cover;
  font-size: 12px;
  font-weight: 900;
}

.playlist-artwork-preview.has-image,
.playlist-detail-mark.has-image,
.user-playlist-cover.has-image,
.track-playlist-mark.has-image {
  color: transparent;
  background-position: center;
  background-size: cover;
}

.playlist-artwork-copy strong,
.playlist-artwork-copy small {
  display: block;
}

.playlist-artwork-copy strong {
  font-size: 9px;
}

.playlist-artwork-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.playlist-artwork-actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.playlist-artwork-actions label {
  display: grid;
  min-height: 32px;
  padding: 0 11px;
  place-items: center;
  cursor: pointer;
}

.playlist-artwork-actions button {
  padding: 0;
  border: 0;
  color: #a99cb8;
  background: transparent;
  font-size: 7px;
  cursor: pointer;
}

.playlist-create-form input,
.playlist-create-form textarea,
.playlist-create-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: 0;
  color: var(--text);
  background: #111016;
  font: inherit;
  font-size: 9px;
}

.playlist-create-form textarea {
  min-height: 76px;
  resize: none;
}

.playlist-create-form input:focus,
.playlist-create-form textarea:focus,
.playlist-create-form select:focus {
  border-color: rgba(173, 139, 255, 0.62);
  box-shadow: 0 0 0 2px rgba(104, 54, 190, 0.12);
}

.playlist-collaborative-note {
  margin: 11px 0 0;
  color: #8f83a6;
  font-size: 7px;
  line-height: 1.5;
}

.playlist-create-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.playlist-create-actions button {
  width: 100%;
  min-height: 40px;
}

/* Track actions */
.track-action-dialog {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 24px), 448px);
  max-width: 448px;
  max-height: min(calc(100svh - 32px), 650px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.82);
}

.track-action-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.track-action-frame {
  position: relative;
  padding: 42px 18px 18px;
}

.track-action-grabber {
  display: none;
}

.track-action-close {
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
}

.track-action-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 72px;
  padding: 8px 42px 12px 0;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.track-action-heading img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

.track-action-heading small,
.track-action-heading h2,
.track-action-heading em {
  display: block;
}

.track-action-heading small {
  color: #9585bb;
  font-size: 6px;
  font-weight: 850;
}

.track-action-heading h2 {
  margin: 4px 0 0;
  font-size: 15px;
}

.track-action-heading em {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-action-list > button,
.track-playlist-create,
.track-playlist-list > button {
  display: grid;
  width: 100%;
  min-height: 58px;
  padding: 8px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.track-action-list > button {
  grid-template-columns: 40px minmax(0, 1fr) 14px;
}

.track-action-list > button:not(:last-child) {
  grid-template-columns: 40px minmax(0, 1fr);
}

.track-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.26);
  border-radius: 5px;
  color: #c9b5f5;
  background: rgba(98, 49, 180, 0.1);
}

.track-action-icon svg,
.track-playlist-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.track-action-list > button.is-active .track-action-icon {
  border-color: rgba(173, 139, 255, 0.48);
  color: #efe8ff;
  background: rgba(98, 49, 180, 0.22);
  box-shadow: inset 0 0 12px rgba(141, 92, 255, 0.12);
}

.track-action-list > button:disabled {
  cursor: default;
  opacity: 0.62;
}

.track-action-list strong,
.track-action-list small,
.track-playlist-create strong,
.track-playlist-create small,
.track-playlist-list strong,
.track-playlist-list small {
  display: block;
}

.track-action-list strong,
.track-playlist-create strong,
.track-playlist-list strong {
  font-size: 10px;
}

.track-action-list small,
.track-playlist-create small,
.track-playlist-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.track-playlist-panel {
  position: relative;
  padding-top: 2px;
}

.track-playlist-back {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #c8c2d0;
  background: transparent;
  cursor: pointer;
}

.track-playlist-heading h2 {
  margin: 4px 0 10px;
  font-size: 16px;
}

.track-playlist-list {
  border-top: 1px solid var(--line);
}

.track-playlist-list > button {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.track-playlist-list > button:disabled {
  cursor: default;
  opacity: 0.6;
}

.track-playlist-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.28);
  border-radius: 4px;
  color: #ddcffb;
  background: linear-gradient(135deg, #452078, #111018);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 850;
}

.track-playlist-list em {
  color: #a78bdf;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
}

.track-playlist-create {
  grid-template-columns: 40px minmax(0, 1fr);
  margin-top: 5px;
  border-top: 1px solid var(--line);
}

.track-action-status {
  margin: 10px 0 0;
  padding: 9px 10px;
  border-left: 2px solid #8d5cff;
  color: #d5c4f5;
  background: rgba(141, 92, 255, 0.08);
  font-size: 7px;
  line-height: 1.45;
}

.album-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.album-tile {
  position: relative;
  min-width: 0;
}

.saved-release-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(200, 170, 255, 0.34);
  border-radius: 50%;
  color: #d7c1ff;
  background: rgba(5, 4, 10, 0.82);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.saved-release-remove svg {
  width: 13px;
  height: 13px;
  fill: rgba(165, 112, 255, 0.28);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.album-art-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.album-art-button img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.album-art-button .artwork-expand,
.search-art-button .artwork-expand {
  opacity: 0.82;
}

.album-art-button:hover .artwork-expand,
.album-art-button:focus-visible .artwork-expand,
.search-art-button:hover .artwork-expand,
.search-art-button:focus-visible .artwork-expand {
  opacity: 1;
}

.album-tile-meta {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.album-tile-meta strong,
.album-tile-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-tile-meta strong {
  margin-top: 8px;
  font-size: 10px;
}

.album-tile-meta span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

/* Collection */
.collection-count,
.live-status {
  flex: 0 0 auto;
  color: #a995d9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
}

.collection-view-toolbar {
  display: flex;
  min-height: 30px;
  margin-top: 12px;
  justify-content: space-between;
  align-items: center;
}

.collection-view-toolbar > span {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.collection-view-toggle {
  display: grid;
  grid-template-columns: repeat(2, 30px);
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #09080c;
}

.collection-view-toggle button {
  display: grid;
  width: 30px;
  height: 26px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 3px;
  color: #736d7b;
  background: transparent;
  cursor: pointer;
}

.collection-view-toggle button.active {
  color: #d8c7ff;
  background: rgba(104, 55, 186, 0.28);
  box-shadow: inset 0 0 0 1px rgba(179, 135, 255, 0.22), 0 0 10px rgba(115, 57, 213, 0.12);
}

.collection-view-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.collectible-feature {
  border-bottom: 1px solid var(--line);
}

.collectible-stage {
  position: relative;
  display: grid;
  height: 220px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(169, 207, 255, 0.035), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(121, 70, 209, 0.13), transparent 46%),
    #06060a;
}

.collectible-stage::after {
  position: absolute;
  right: 18%;
  bottom: 23px;
  left: 18%;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  filter: blur(5px);
  content: "";
}

.collectible-stage > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 112%;
  height: 92%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 180ms ease;
}

.collectible-stage.awaiting-runtime-poster > img {
  opacity: 0;
}

.prototype-player-stage > img {
  width: 100%;
  height: 84%;
}

.bxm-player-stage > img {
  width: 98%;
  height: 90%;
}

.upocket-player-stage > img {
  width: 100%;
  height: 100%;
}

.secondary-player-feature {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.owned-chip.is-owned {
  color: #918b9d;
  background: rgba(22, 20, 27, 0.72);
}

.edition-chip,
.owned-chip {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 6px;
  border-radius: 3px;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
}

.edition-chip {
  left: 10px;
  border: 1px solid rgba(173, 139, 255, 0.3);
  color: #cbb8f8;
  background: rgba(63, 27, 128, 0.32);
}

.owned-chip {
  right: 10px;
  border: 1px solid rgba(158, 229, 205, 0.26);
  color: var(--success);
  background: rgba(38, 92, 74, 0.22);
}

.collectible-copy {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0 16px;
  align-items: center;
}

.collectible-copy > div {
  min-width: 0;
}

.collectible-actions {
  display: grid;
  flex: 0 0 146px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.collectible-actions button {
  min-width: 0;
  padding: 8px 7px;
  font-size: 7px;
  white-space: nowrap;
}

.collectible-copy h2 {
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collectible-copy > div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

/* Compact mode keeps the showcase layout available while making large archives scannable. */
#collectionPage.is-compact [data-panel-group="collection"][data-panel="players"].is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}

#collectionPage.is-compact .collectible-feature {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.01);
}

#collectionPage.is-compact .secondary-player-feature {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

#collectionPage.is-compact .collectible-stage {
  height: 132px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

#collectionPage.is-compact .collectible-stage > img {
  width: 108%;
  height: 88%;
}

#collectionPage.is-compact .collectible-copy {
  display: block;
  padding: 10px;
}

#collectionPage.is-compact .collectible-copy h2 {
  font-size: 11px;
}

#collectionPage.is-compact .collectible-copy > div > span {
  min-height: 22px;
  font-size: 6px;
  line-height: 1.45;
  white-space: normal;
}

#collectionPage.is-compact .collectible-actions {
  width: 100%;
  margin-top: 9px;
}

#collectionPage.is-compact .collectible-actions button {
  padding: 7px 4px;
  font-size: 6px;
}

#collectionPage.is-compact .collection-stats,
#collectionPage.is-compact [data-panel="players"] > .section-bar,
#collectionPage.is-compact [data-panel="players"] > .collectible-grid {
  grid-column: 1 / -1;
}

#collectionPage.is-compact [data-panel-group="collection"][data-panel="logos"].is-active,
#collectionPage.is-compact [data-panel-group="collection"][data-panel="tickets"].is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#collectionPage.is-compact [data-panel="logos"] > .section-bar,
#collectionPage.is-compact [data-panel="logos"] > .logo-achievement-status,
#collectionPage.is-compact [data-panel="tickets"] > .section-bar,
#collectionPage.is-compact [data-panel="tickets"] > .ticket-archive-note {
  grid-column: 1 / -1;
}

#collectionPage.is-compact .logo-collectible {
  grid-template-columns: 58px minmax(0, 1fr);
  min-width: 0;
  min-height: 66px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.01);
}

#collectionPage.is-compact .logo-collectible > img,
#collectionPage.is-compact .logo-collectible > .locked-logo {
  width: 58px;
  height: 38px;
}

#collectionPage.is-compact .logo-collectible small,
#collectionPage.is-compact .logo-collectible > em {
  display: none;
}

#collectionPage.is-compact .logo-collectible strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#collectionPage.is-compact .logo-progress-track {
  margin-top: 6px;
}

#collectionPage.is-compact .ticket-archive-row {
  grid-template-columns: 58px minmax(0, 1fr);
  min-width: 0;
  min-height: 68px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.01);
}

#collectionPage.is-compact .ticket-stub {
  width: 58px;
  height: 48px;
  padding: 5px 7px;
}

#collectionPage.is-compact .ticket-stub strong {
  font-size: 13px;
}

#collectionPage.is-compact .ticket-archive-copy strong {
  font-size: 8px;
}

#collectionPage.is-compact .ticket-archive-copy em,
#collectionPage.is-compact .ticket-archive-action {
  display: none;
}

/* Collection player viewer */
.collection-player-dialog {
  width: min(calc(100% - 20px), 480px);
  max-width: 480px;
  max-height: calc(100svh - 20px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #07070a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.82);
}

.collection-player-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.collection-player-frame {
  position: relative;
  padding: 48px 0 0;
}

.collection-player-close {
  z-index: 4;
  top: 10px;
  right: 10px;
}

.collection-player-heading {
  padding: 0 18px 10px;
}

.collection-player-heading h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.collection-player-heading > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.collection-player-mount .player-viewport {
  height: clamp(280px, 40svh, 360px);
  min-height: 280px;
}

.collection-player-skins {
  padding: 28px 18px 15px;
  border-top: 1px solid var(--line);
}

.collection-player-skins-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.collection-player-skins-heading span,
.collection-player-skins-heading em {
  color: #7f7988;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.collection-player-skin-options {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.collection-player-skin-options.is-scrollable {
  max-height: 276px;
  padding-right: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(149, 105, 255, 0.72) rgba(255, 255, 255, 0.055);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.collection-player-skin-options.is-scrollable::-webkit-scrollbar {
  width: 7px;
}

.collection-player-skin-options.is-scrollable::-webkit-scrollbar-track {
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
}

.collection-player-skin-options.is-scrollable::-webkit-scrollbar-thumb {
  border: 1px solid rgba(7, 7, 10, 0.72);
  border-radius: 99px;
  background: linear-gradient(180deg, #ae82ff, #6234bd);
}

.collection-player-skin-options:focus-visible {
  outline: 1px solid rgba(181, 143, 255, 0.62);
  outline-offset: 4px;
}

.collection-player-skin-option {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 48px;
  padding: 6px 9px;
  align-items: center;
  gap: 9px;
  border: 1px solid #26232d;
  border-radius: 5px;
  color: var(--text);
  background: #0c0b10;
  text-align: left;
  cursor: pointer;
  transition: transform 110ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.collection-player-skin-option .skin-swatch {
  width: 34px;
  height: 34px;
}

.collection-player-skin-option strong {
  display: block;
}

.collection-player-skin-option strong {
  font-size: 9px;
}

.collection-player-skin-option em {
  color: #827990;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.collection-player-skin-option.selected {
  border-color: rgba(190, 151, 255, 0.74);
  background:
    radial-gradient(circle at 20% 0%, rgba(141, 92, 255, 0.18), transparent 48%),
    #100b18;
  box-shadow:
    inset 0 0 0 2px rgba(151, 105, 255, 0.14),
    inset 3px 0 0 var(--violet-bright),
    0 0 14px rgba(103, 49, 196, 0.16);
}

.collection-player-skin-option:active {
  transform: translateY(1px) scale(0.994);
}

.collection-player-skin-option.selected em {
  color: #c2a8ff;
}

.collection-player-provenance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.collection-player-provenance > div {
  min-width: 0;
  padding: 12px 6px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.collection-player-provenance > div:last-child {
  border-right: 0;
}

.collection-player-provenance span,
.collection-player-provenance strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-player-provenance span {
  color: #736d7a;
  font-size: 5px;
  font-weight: 850;
}

.collection-player-provenance strong {
  margin-top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
}

.collection-player-actions {
  position: relative;
  z-index: 5;
  display: flex;
  height: 0;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}

.collection-player-actions button {
  position: absolute;
  top: 23px;
  left: 50%;
  min-width: 122px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  box-shadow:
    0 9px 24px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(176, 135, 255, 0.16);
}

.collection-player-actions button:active:not(:disabled) {
  transform: translate(-50%, calc(-50% + 2px)) scale(0.988);
}

[data-equip-player]:disabled {
  cursor: default;
  opacity: 0.58;
}

.collection-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -18px 18px;
  border-bottom: 1px solid var(--line);
}

.collection-stats > div {
  padding: 13px 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.collection-stats > div:last-child {
  border-right: 0;
}

.collection-stats strong,
.collection-stats span {
  display: block;
}

.collection-stats strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.collection-stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.collectible-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 11px;
}

.collectible-tile {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.collectible-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #07070a;
}

.collectible-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collectible-tile.locked .collectible-image img {
  filter: saturate(0.18) brightness(0.42) contrast(1.12);
}

.lock-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(230, 230, 242, 0.18);
  border-radius: 50%;
  color: #b6afc3;
  background: rgba(3, 3, 5, 0.72);
  transform: translate(-50%, -50%);
}

.lock-mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.collectible-tile > strong,
.collectible-tile > span:last-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collectible-tile > strong {
  margin-top: 7px;
  font-size: 9px;
}

.collectible-tile > span:last-child {
  margin-top: 3px;
  color: #77727f;
  font-size: 7px;
}

.skin-row,
.logo-collectible {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 67px;
  padding: 9px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.logo-collectible {
  grid-template-columns: 88px minmax(0, 1fr) auto;
  min-height: 62px;
}

.skin-swatch {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.skin-material-swatch {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(137deg, transparent 0 34%, color-mix(in srgb, var(--swatch-highlight) 88%, white) 35% 38%, var(--swatch-accent) 39% 50%, transparent 51% 57%, color-mix(in srgb, var(--swatch-metal) 75%, white) 58% 61%, transparent 62%),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--swatch-highlight) 70%, transparent) 0 3%, transparent 21%),
    linear-gradient(145deg, var(--swatch-base) 0 44%, var(--swatch-metal) 72%, var(--swatch-base) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 14px color-mix(in srgb, var(--swatch-accent) 25%, transparent),
    0 0 8px color-mix(in srgb, var(--swatch-accent) 12%, transparent);
}

.skin-material-swatch::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.22) 32%, transparent 45%);
  content: "";
  opacity: 0.42;
  transform: translateX(-18%);
}

.skin-row strong,
.skin-row small,
.logo-collectible strong,
.logo-collectible small {
  display: block;
}

.skin-row strong,
.logo-collectible strong {
  font-size: 10px;
}

.skin-row small,
.logo-collectible small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.skin-row em,
.logo-collectible em {
  color: #9b89c3;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.logo-collectible:not(.locked):active {
  background: rgba(140, 91, 238, 0.07);
}

.logo-collectible.equipped em {
  color: #c8aaff;
  text-shadow: 0 0 10px rgba(151, 89, 255, 0.5);
}

.logo-collectible > img,
.locked-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #030305;
}

.logo-collectible > img,
.logo-collectible > .locked-logo {
  width: 88px;
  height: 46px;
}

.logo-collectible > img[src*="electronic"] {
  padding: 5px 2px;
}

.locked-logo {
  display: grid;
  place-items: center;
  color: #39343f;
  font-size: 9px;
  font-weight: 900;
}

.logo-achievement-heading {
  margin-top: 22px;
}

.logo-progress-card {
  cursor: pointer;
}

.logo-progress-card:active {
  background: rgba(140, 91, 238, 0.05);
}

.hidden-logo-mark {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-style: dashed;
  color: #746984;
  background: #08070b;
}

.hidden-logo-mark::before,
.hidden-logo-mark::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hidden-logo-mark::before {
  inset: 7px;
  border: 1px solid rgba(173, 139, 255, 0.09);
}

.hidden-logo-mark::after {
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 1px;
  background: rgba(173, 139, 255, 0.24);
}

.hidden-logo-mark b,
.hidden-logo-mark i {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.hidden-logo-mark b {
  color: #8b7e9e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  line-height: 1;
}

.hidden-logo-mark i {
  color: #554d61;
  font-size: 5px;
  letter-spacing: 0;
}

.logo-progress-copy {
  min-width: 0;
}

.logo-progress-track {
  display: block;
  width: min(150px, 100%);
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: #1c1822;
}

.logo-progress-track > i {
  display: block;
  width: var(--logo-progress);
  height: 100%;
  border-radius: inherit;
  background: #8d5cff;
  box-shadow: 0 0 8px rgba(141, 92, 255, 0.5);
}

.logo-progress-card > em {
  min-width: 42px;
  color: #766b86;
  text-align: right;
}

.logo-achievement-status {
  margin: 10px 0 0;
  color: #a99db9;
  font-size: 7px;
}

.logo-market-heading {
  margin-top: 22px;
}

/* Collectibles marketplace */
.marketplace-panel {
  padding-bottom: 28px;
}

.market-heading {
  display: flex;
  min-height: 50px;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.market-heading h2 {
  margin: 2px 0 0;
  font-size: 18px;
  letter-spacing: 0;
}

.market-wallet {
  min-width: 78px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: right;
  cursor: pointer;
}

.market-wallet span,
.market-wallet strong {
  display: block;
}

.market-wallet > span {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.market-wallet strong {
  margin-top: 4px;
  color: #d6c8f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.market-wallet strong span {
  display: inline;
}

.market-wallet > small {
  display: block;
  margin-top: 4px;
  color: #806da3;
  font-size: 5px;
  font-weight: 850;
}

.market-wallet:active strong,
.market-wallet:active > small {
  color: #c9b1ff;
}

.market-metrics {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin: 14px -18px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-metrics > div {
  min-width: 0;
  padding: 10px 8px;
  border-right: 1px solid var(--line);
}

.market-metrics > div:first-child {
  padding-left: 18px;
}

.market-metrics > div:last-child {
  padding-right: 18px;
  border-right: 0;
}

.market-metrics span,
.market-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-metrics span {
  color: var(--faint);
  font-size: 6px;
  font-weight: 800;
}

.market-metrics strong {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.market-feature {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 204, 127, 0.25);
  border-radius: 6px;
  background: #07070a;
  text-align: left;
  cursor: pointer;
}

.market-feature:active,
.market-row:active {
  border-color: rgba(173, 139, 255, 0.52);
  background: rgba(141, 92, 255, 0.045);
}

.market-feature-visual {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(115, 72, 181, 0.18), transparent 47%),
    #030305;
}

.market-feature-visual::after {
  position: absolute;
  right: 18%;
  bottom: 14px;
  left: 18%;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.86);
  filter: blur(5px);
  content: "";
}

.market-feature-visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-rarity,
.market-serial {
  position: absolute;
  z-index: 2;
  top: 10px;
  min-height: 24px;
  padding: 5px 7px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(12px);
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.market-rarity {
  left: 10px;
}

.market-rarity b {
  margin-right: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.market-serial {
  right: 10px;
  color: #c7c2cd;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rarity-singular {
  color: #f1cc7f;
}

.rarity-legendary {
  color: #bd98ff;
}

.rarity-rare {
  color: var(--ice);
}

.market-feature-info {
  display: flex;
  min-width: 0;
  padding: 12px 13px 10px;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.market-feature-info > span:first-child {
  min-width: 0;
}

.market-feature-info small,
.market-feature-info strong,
.market-feature-info em {
  display: block;
}

.market-feature-info small {
  color: #d9bc7d;
  font-size: 6px;
  font-weight: 850;
}

.market-feature-info > span:first-child > strong {
  overflow: hidden;
  margin-top: 4px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-feature-info > span:first-child > em {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-feature-quote {
  flex: 0 0 auto;
  text-align: right;
}

.market-feature-quote strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.market-feature-quote strong i,
.market-row-quote strong i {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.market-feature-quote > em {
  margin-top: 4px;
  font-size: 7px;
}

.market-up {
  color: var(--success) !important;
}

.market-down {
  color: #ee8eaa !important;
}

.market-feature-chart {
  display: block;
  padding: 0 13px 10px;
}

.market-feature-chart svg,
.market-dialog-chart svg {
  display: block;
  width: 100%;
  height: 72px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: rgba(230, 230, 242, 0.07);
  stroke-width: 1;
}

.chart-area {
  fill: rgba(141, 92, 255, 0.08);
  stroke: none;
}

.singular-area {
  fill: rgba(241, 204, 127, 0.07);
}

.chart-line {
  fill: none;
  stroke: var(--violet-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.singular-line {
  stroke: #f1cc7f;
}

.legendary-line {
  stroke: #bd98ff;
}

.rare-line {
  stroke: var(--ice);
}

.down-line {
  stroke: #ee8eaa;
}

.market-feature-chart > span,
.market-dialog-chart > span {
  display: flex;
  margin-top: 4px;
  justify-content: space-between;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
}

.rarity-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rarity-ledger > span {
  display: flex;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.rarity-ledger > span:last-child {
  border-right: 0;
}

.rarity-ledger b,
.rarity-ledger small {
  display: block;
}

.rarity-ledger b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.rarity-ledger small {
  margin-top: 3px;
  color: currentColor;
  font-size: 5px;
  font-weight: 850;
}

.market-section-bar button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #77727f;
  background: transparent;
}

.market-section-bar svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.market-list {
  border-top: 1px solid var(--line);
}

.market-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 76px;
  width: 100%;
  min-height: 76px;
  padding: 8px 0;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.market-thumb {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #050507;
}

.market-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-thumb.player-thumb img {
  object-fit: contain;
  transform: scale(1.18);
}

.market-thumb.logo-thumb img {
  padding: 5px;
  object-fit: contain;
}

.market-thumb > i {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.market-row-copy {
  min-width: 0;
}

.market-row-copy small,
.market-row-copy strong,
.market-row-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-row-copy small {
  color: #82758f;
  font-size: 5px;
  font-weight: 850;
}

.market-row-copy strong {
  margin-top: 5px;
  font-size: 9px;
}

.market-row-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  font-style: normal;
}

.market-row-quote {
  min-width: 0;
  text-align: right;
}

.market-row-quote strong,
.market-row-quote em {
  display: block;
}

.market-row-quote strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.market-row-quote em {
  margin-top: 2px;
  font-size: 6px;
  font-style: normal;
}

.market-row-quote svg {
  display: block;
  width: 76px;
  height: 26px;
  margin-top: 1px;
  overflow: visible;
}

/* Marketplace detail */
.market-dialog {
  width: min(calc(100% - 28px), 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.market-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(9px);
}

.market-dialog-frame {
  position: relative;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.market-dialog-close {
  z-index: 4;
  top: 10px;
  right: 10px;
  background: rgba(3, 3, 5, 0.72);
  backdrop-filter: blur(12px);
}

.market-dialog-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 52%, rgba(141, 92, 255, 0.16), transparent 48%),
    #030305;
}

.market-dialog-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-dialog-visual.contain-asset > img {
  padding: 14px;
  object-fit: contain;
}

.market-dialog-title {
  display: flex;
  padding: 14px 16px 12px;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.market-dialog-title > div:first-child {
  min-width: 0;
}

.market-dialog-title h2 {
  overflow: hidden;
  margin: 3px 0 0;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-dialog-title > div:first-child > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
}

.market-owner {
  flex: 0 0 auto;
  text-align: right;
}

.market-owner span,
.market-owner strong {
  display: block;
}

.market-owner span {
  color: var(--faint);
  font-size: 5px;
}

.market-owner strong {
  margin-top: 4px;
  color: #b8a5df;
  font-size: 7px;
}

.market-dialog-price {
  display: flex;
  padding: 11px 16px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-dialog-price span,
.market-dialog-price strong {
  display: block;
}

.market-dialog-price span {
  color: var(--faint);
  font-size: 6px;
  font-weight: 800;
}

.market-dialog-price strong {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.market-dialog-price > em {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.market-dialog-chart {
  padding: 12px 16px 10px;
}

.market-dialog-chart svg {
  height: 92px;
}

.market-provenance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-provenance > div {
  min-width: 0;
  padding: 10px 5px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.market-provenance > div:last-child {
  border-right: 0;
}

.market-provenance span,
.market-provenance strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-provenance span {
  color: var(--faint);
  font-size: 5px;
  font-weight: 800;
}

.market-provenance strong {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.market-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 14px 16px 0;
}

.market-dialog-actions.purchase-mode .market-buy,
.market-dialog-actions.purchase-mode .market-bid {
  grid-column: auto;
}

.market-dialog-actions .primary-action,
.market-dialog-actions .secondary-action {
  width: 100%;
  min-height: 40px;
}

.market-buy:disabled {
  color: #716a79;
  background: #28242d;
  cursor: not-allowed;
}

.market-buy.needs-keys {
  border: 1px solid rgba(173, 139, 255, 0.34);
  color: #d8c7ff;
  background: rgba(141, 92, 255, 0.11);
}

.market-action-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
  margin: 12px 16px 0;
  padding: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
}

.market-action-form > div:first-child {
  grid-column: 1 / -1;
}

.market-action-form label {
  display: block;
  margin-top: 3px;
  color: #c7c2cd;
  font-size: 8px;
}

.market-action-input {
  display: flex;
  min-width: 0;
  height: 36px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #060609;
}

.market-action-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 10px;
}

.market-action-input span {
  padding-right: 8px;
  color: var(--muted);
  font-size: 7px;
}

.market-action-form .secondary-action {
  min-height: 36px;
  padding: 0 8px;
}

.market-action-form .secondary-action:disabled {
  color: #696370;
  background: #1a181e;
  cursor: not-allowed;
}

.market-action-warning {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 10px;
  align-items: start;
  gap: 9px;
  border: 1px solid rgba(231, 173, 104, 0.28);
  border-left: 2px solid #d9954f;
  color: #b9b0a8;
  background: rgba(137, 75, 27, 0.1);
  font-size: 7px;
  line-height: 1.5;
  cursor: pointer;
}

.market-action-warning input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #8d5ce8;
}

.market-action-warning strong {
  display: block;
  margin-bottom: 3px;
  color: #e3b477;
  font-size: 6px;
}

.market-action-status {
  margin: 11px 16px 0;
  padding: 9px 10px;
  border: 1px solid rgba(158, 229, 205, 0.22);
  border-radius: 4px;
  color: var(--success);
  background: rgba(48, 111, 89, 0.1);
  font-size: 8px;
  line-height: 1.45;
}

.market-purchase-prompt {
  margin: 12px 16px 0;
  padding: 9px 10px;
  border-left: 2px solid #8f5ce8;
  color: #b8b0c1;
  background: rgba(117, 70, 196, 0.08);
  font-size: 8px;
  line-height: 1.5;
}

/* Ticket archive */
.ticket-archive-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 84px;
  padding: 10px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ticket-stub {
  position: relative;
  display: grid;
  width: 82px;
  height: 60px;
  padding: 7px 9px;
  overflow: hidden;
  align-content: center;
  border: 1px solid rgba(173, 139, 255, 0.32);
  color: #eee7ff;
  background:
    linear-gradient(120deg, rgba(118, 59, 211, 0.32), transparent 56%),
    #14101c;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 94% 50%, 100% 62%, 100% 100%, 0 100%, 0 62%, 6% 50%, 0 38%);
}

.ticket-stub i,
.ticket-stub small,
.ticket-stub em {
  display: block;
  font-style: normal;
}

.ticket-stub i {
  color: #a78bd7;
  font-size: 5px;
  font-weight: 850;
}

.ticket-stub strong {
  margin-top: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  line-height: 1;
}

.ticket-stub small {
  margin-top: 2px;
  color: #a7a0ae;
  font-size: 5px;
}

.ticket-stub em {
  position: absolute;
  right: 7px;
  bottom: 7px;
  color: #c7b4ef;
  font-size: 5px;
  font-weight: 850;
}

.used-ticket .ticket-stub,
.streamed-ticket .ticket-stub {
  border-color: rgba(230, 230, 242, 0.15);
  color: #c7c2cd;
  background:
    linear-gradient(120deg, rgba(110, 99, 126, 0.16), transparent 58%),
    #111015;
}

.used-ticket .ticket-stub::after,
.streamed-ticket .ticket-stub::after {
  position: absolute;
  top: 11px;
  right: 7px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(158, 229, 205, 0.35);
  border-radius: 50%;
  color: rgba(158, 229, 205, 0.65);
  content: "✓";
  font-size: 9px;
  line-height: 14px;
  text-align: center;
  transform: rotate(-12deg);
}

.ticket-archive-copy {
  min-width: 0;
}

.ticket-archive-copy small,
.ticket-archive-copy strong,
.ticket-archive-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-archive-copy small {
  color: #9380b5;
  font-size: 6px;
  font-weight: 850;
}

.ticket-archive-copy strong {
  margin-top: 5px;
  font-size: 10px;
}

.ticket-archive-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.ticket-archive-action {
  min-width: 58px;
  color: #c5aff0;
  font-size: 7px;
  font-weight: 800;
  text-align: right;
}

.ticket-memory-heading {
  margin-top: 24px;
}

.ticket-archive-note {
  margin: 14px 0 0;
  color: #716c79;
  font-size: 7px;
  line-height: 1.55;
}

/* Ticket viewer */
.ticket-dialog {
  width: min(calc(100% - 28px), 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.ticket-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(9px);
}

.ticket-dialog-frame {
  position: relative;
  padding: 48px 18px max(18px, env(safe-area-inset-bottom));
}

.ticket-dialog-close {
  z-index: 2;
  top: 10px;
  right: 10px;
}

.digital-ticket {
  overflow: hidden;
  border: 1px solid rgba(173, 139, 255, 0.38);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(111, 54, 204, 0.25), transparent 43%),
    linear-gradient(315deg, rgba(169, 207, 255, 0.08), transparent 42%),
    #121018;
  box-shadow: inset 0 0 32px rgba(141, 92, 255, 0.08);
}

.digital-ticket.is-archived {
  border-color: rgba(230, 230, 242, 0.2);
  filter: saturate(0.7);
}

.digital-ticket-top,
.digital-ticket-main,
.digital-ticket-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.digital-ticket-top {
  min-height: 52px;
  padding: 10px 13px;
  border-bottom: 1px dashed rgba(230, 230, 242, 0.19);
}

.digital-ticket-top small,
.digital-ticket-top strong,
.digital-ticket-top em {
  display: block;
}

.digital-ticket-top small {
  color: #a08cbf;
  font-size: 6px;
  font-weight: 850;
}

.digital-ticket-top strong {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.digital-ticket-top em {
  padding: 4px 6px;
  border: 1px solid rgba(158, 229, 205, 0.28);
  border-radius: 3px;
  color: var(--success);
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.digital-ticket.is-archived .digital-ticket-top em {
  border-color: rgba(230, 230, 242, 0.17);
  color: #aaa5b0;
}

.digital-ticket-main {
  min-height: 128px;
  padding: 16px 13px;
  justify-content: flex-start;
  gap: 15px;
}

.digital-ticket-date {
  width: 62px;
  flex: 0 0 62px;
  text-align: center;
}

.digital-ticket-date strong,
.digital-ticket-date small,
.digital-ticket-title small,
.digital-ticket-title strong,
.digital-ticket-title em {
  display: block;
}

.digital-ticket-date strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 35px;
  line-height: 1;
}

.digital-ticket-date small {
  margin-top: 5px;
  color: #aaa3b1;
  font-size: 7px;
  font-weight: 750;
}

.digital-ticket-title {
  min-width: 0;
  padding-left: 15px;
  border-left: 1px solid var(--line-strong);
}

.digital-ticket-title small {
  color: #aa91da;
  font-size: 6px;
  font-weight: 850;
}

.digital-ticket-title strong {
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.15;
}

.digital-ticket-title em {
  margin-top: 7px;
  color: #a5a0ab;
  font-size: 8px;
  font-style: normal;
  line-height: 1.4;
}

.digital-ticket-code {
  min-height: 58px;
  padding: 10px 13px;
  gap: 12px;
  border-top: 1px dashed rgba(230, 230, 242, 0.19);
  background: rgba(0, 0, 0, 0.16);
}

.ticket-barcode {
  width: 154px;
  height: 30px;
  background: repeating-linear-gradient(90deg, #d8d2df 0 1px, transparent 1px 3px, #d8d2df 3px 5px, transparent 5px 8px, #d8d2df 8px 9px, transparent 9px 12px);
  opacity: 0.74;
}

.digital-ticket-code > span:last-child {
  min-width: 0;
  text-align: right;
}

.digital-ticket-code small,
.digital-ticket-code strong {
  display: block;
}

.digital-ticket-code small {
  color: #77717e;
  font-size: 5px;
}

.digital-ticket-code strong {
  margin-top: 4px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticket-detail-grid > div {
  min-width: 0;
  padding: 11px 6px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.ticket-detail-grid > div:last-child {
  border-right: 0;
}

.ticket-detail-grid span,
.ticket-detail-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-detail-grid span {
  color: #706b77;
  font-size: 5px;
  font-weight: 850;
}

.ticket-detail-grid strong {
  margin-top: 5px;
  font-size: 7px;
}

.ticket-attendance,
.ticket-action-status {
  margin: 12px 0 0;
  color: #8d8794;
  font-size: 8px;
  line-height: 1.5;
}

.ticket-action-status {
  color: var(--success);
}

.ticket-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.ticket-dialog-actions.purchase-mode {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ticket-dialog-actions button {
  width: 100%;
  min-height: 40px;
}

.ticket-dialog-actions .primary-action:disabled {
  border-color: rgba(230, 230, 242, 0.14);
  color: #817b88;
  background: #242129;
  cursor: default;
}

/* Live */
.live-status {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #e391b9;
}

.live-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e16f9d;
  box-shadow: 0 0 8px rgba(225, 111, 157, 0.65);
}

.live-feature {
  position: relative;
  display: block;
  width: 100%;
  height: 244px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050506;
  text-align: left;
  cursor: pointer;
}

.live-feature::after {
  position: absolute;
  inset: 32% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2, 2, 3, 0.95));
  content: "";
}

.live-feature > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-pill,
.ticket-price,
.live-feature-copy {
  position: absolute;
  z-index: 1;
}

.live-pill {
  top: 10px;
  left: 10px;
  padding: 5px 6px;
  border: 1px solid rgba(225, 111, 157, 0.4);
  border-radius: 3px;
  color: #ffbed9;
  background: rgba(55, 13, 35, 0.7);
  font-size: 7px;
  font-weight: 850;
}

.live-feature-copy {
  right: 62px;
  bottom: 14px;
  left: 14px;
}

.live-feature-copy small,
.live-feature-copy strong,
.live-feature-copy em {
  display: block;
}

.live-feature-copy small {
  color: #ba8fe9;
  font-size: 7px;
  font-weight: 800;
}

.live-feature-copy strong {
  margin-top: 5px;
  font-size: 15px;
}

.live-feature-copy em {
  margin-top: 5px;
  color: #b8b2c0;
  font-size: 8px;
  font-style: normal;
}

.ticket-price {
  right: 14px;
  bottom: 16px;
  color: #c6dfff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
}

.live-feature + .section-bar {
  margin-top: 22px;
}

.broadcast-row,
.show-row,
.radio-row {
  display: grid;
  width: 100%;
  min-height: 65px;
  padding: 8px 0;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.broadcast-row {
  grid-template-columns: 43px minmax(0, 1fr) auto;
}

.show-row {
  grid-template-columns: 43px minmax(0, 1fr) 14px;
}

.broadcast-date,
.show-date {
  display: grid;
  width: 40px;
  height: 44px;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.broadcast-date strong,
.show-date strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.broadcast-date small,
.show-date small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 6px;
}

.broadcast-row strong,
.show-row strong {
  font-size: 10px;
}

.broadcast-row small,
.show-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.access-badge {
  padding: 4px 5px;
  border: 1px solid rgba(169, 207, 255, 0.2);
  border-radius: 3px;
  color: #a9cfff;
  font-size: 7px;
  font-weight: 800;
}

.access-badge.owned-access {
  display: inline-flex;
  min-height: 28px;
  padding: 0 8px;
  align-items: center;
  border-color: rgba(173, 139, 255, 0.34);
  color: #ded2fb;
  background: rgba(91, 43, 171, 0.16);
  white-space: nowrap;
}

.location-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
}

.location-row + .section-bar {
  margin-top: 22px;
}

.location-row > svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ice);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.location-row small,
.location-row strong {
  display: block;
}

.location-row small {
  color: var(--muted);
  font-size: 6px;
}

.location-row strong {
  margin-top: 3px;
  font-size: 10px;
}

.location-row button,
.remind-button {
  padding: 0;
  border: 0;
  color: #b5a0e2;
  background: transparent;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.radio-on-air {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 44px;
  gap: 12px;
  min-height: 102px;
  padding: 14px;
  align-items: center;
  border: 1px solid rgba(173, 139, 255, 0.18);
  border-radius: 6px;
  background: linear-gradient(120deg, rgba(95, 43, 172, 0.15), rgba(169, 207, 255, 0.035));
}

.radio-on-air + .section-bar {
  margin-top: 22px;
}

.radio-on-air h2 {
  margin: 0;
  font-size: 13px;
}

.radio-on-air div > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.broadcast-beacon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
}

.broadcast-beacon::before,
.broadcast-beacon::after,
.broadcast-beacon b,
.broadcast-beacon i {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.broadcast-beacon::before {
  inset: 4px;
  border: 1px solid rgba(173, 139, 255, 0.25);
}

.broadcast-beacon::after {
  inset: 11px;
  border: 1px solid rgba(169, 207, 255, 0.34);
}

.broadcast-beacon b {
  inset: 18px;
  border: 1px solid rgba(225, 111, 184, 0.55);
}

.broadcast-beacon i {
  top: 24px;
  left: 24px;
  width: 6px;
  height: 6px;
  background: var(--violet-bright);
  box-shadow: 0 0 12px rgba(173, 139, 255, 0.9);
}

.round-play {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.42);
  border-radius: 50%;
  color: #e9e0ff;
  background: #111017;
  cursor: pointer;
}

.round-play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1;
}

.radio-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.radio-station-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.25);
  border-radius: 50%;
  color: #d5c1ff;
  background: #171020;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
}

.radio-row strong,
.radio-row small {
  display: block;
}

.radio-row strong {
  font-size: 10px;
}

.radio-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

/* Account */
.account-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 24px 18px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.account-avatar-large {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.42);
  border-radius: 50%;
  color: #e6ddfa;
  background: linear-gradient(145deg, #251435, #0b0910 65%);
  cursor: pointer;
}

.account-avatar-large > svg {
  width: 42px;
  height: 42px;
  fill: rgba(173, 139, 255, 0.09);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.account-avatar-glyph .nav-icon-fill {
  fill: currentColor;
  stroke: currentColor;
}

.account-avatar-glyph .nav-icon-head,
.account-avatar-glyph .nav-icon-panel {
  fill: rgba(141, 92, 255, 0.14);
}

.account-avatar-large.has-image {
  background-position: center;
  background-size: cover;
}

.account-avatar-large.has-image > svg {
  opacity: 0;
}

.account-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -1px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 2px solid #08070b;
  border-radius: 50%;
  color: #f0eaff;
  background: #6531c8;
}

.account-avatar-edit svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.account-profile-copy {
  min-width: 0;
}

.account-profile h1 {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-copy > span,
.account-profile-copy > small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-copy > span b {
  color: #bab4c5;
  font-weight: 700;
}

.account-profile-copy > small {
  color: #6e6976;
  font-size: 7px;
}

.account-profile-edit {
  display: inline-flex;
  min-height: 34px;
  padding: 0 9px;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: #cbc6d3;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
}

.account-profile-edit svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.account-balance {
  display: flex;
  min-height: 76px;
  padding: 14px 18px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(169, 207, 255, 0.025);
}

.account-balance span,
.account-balance strong {
  display: block;
}

.account-balance-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.account-balance-actions .primary-action,
.account-balance-actions .secondary-action {
  min-height: 34px;
  padding: 0 11px;
}

.account-balance span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
}

.account-balance strong {
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

.account-section {
  padding: 18px 18px 4px;
  border-bottom: 1px solid var(--line);
}

.account-section-heading {
  display: flex;
  min-height: 21px;
  justify-content: space-between;
  align-items: center;
}

.account-section-heading p {
  margin: 0;
}

.account-section-heading > span {
  color: var(--success);
  font-size: 6px;
  font-weight: 850;
}

.account-section-heading > span.is-free {
  color: var(--muted);
}

.membership-pass {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 72px;
  margin: 8px 0 4px;
  padding: 12px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(173, 139, 255, 0.22);
  border-radius: 6px;
  background: linear-gradient(110deg, rgba(91, 43, 171, 0.16), rgba(169, 207, 255, 0.035) 70%, transparent);
}

.membership-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.45);
  border-radius: 6px;
  color: #e8dcff;
  background: #1b0f2c;
  box-shadow: inset 0 0 16px rgba(141, 92, 255, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 850;
}

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

.membership-copy small,
.membership-copy strong,
.membership-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.membership-copy small {
  color: #a38cca;
  font-size: 6px;
  font-weight: 850;
}

.membership-copy strong {
  margin-top: 4px;
  font-size: 11px;
}

.membership-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.account-setting-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 62px;
  padding: 10px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.account-section .account-setting-row:last-child {
  border-bottom: 0;
}

.account-setting-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #9b8ab9;
}

.account-setting-icon svg,
.account-chevron {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.account-chevron {
  width: 14px;
  height: 14px;
  color: #57535e;
}

.account-setting-copy {
  min-width: 0;
}

.account-setting-copy strong,
.account-setting-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-setting-copy strong {
  font-size: 10px;
  font-weight: 700;
}

.account-setting-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.account-select {
  width: 88px;
  height: 32px;
  padding: 0 24px 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #d8d1e3;
  background: #0c0b10;
  font-size: 8px;
  cursor: pointer;
}

.account-switch {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
}

.account-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.account-switch i {
  position: absolute;
  inset: 0;
  border: 1px solid #38343f;
  border-radius: 11px;
  background: #17151c;
  transition: border-color 140ms ease, background 140ms ease;
}

.account-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #77727f;
  content: "";
  transition: background 140ms ease, transform 140ms ease;
}

.account-switch input:checked + i {
  border-color: rgba(173, 139, 255, 0.55);
  background: #4f25a4;
}

.account-switch input:checked + i::after {
  background: #f0eaff;
  transform: translateX(16px);
}

.account-switch input:focus-visible + i {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

.account-support .account-setting-row {
  grid-template-columns: minmax(0, 1fr) 14px;
  min-height: 56px;
}

.account-sign-out,
.account-cancel-plan {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #c885a3;
  background: transparent;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.account-sign-out {
  width: 100%;
  text-align: left;
}

.account-status {
  position: fixed;
  z-index: 29;
  right: max(18px, calc((100vw - 448px) / 2 + 18px));
  bottom: calc(var(--nav-height) + max(12px, env(safe-area-inset-bottom)));
  left: max(18px, calc((100vw - 448px) / 2 + 18px));
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(173, 139, 255, 0.28);
  border-radius: 5px;
  color: #d7c9f5;
  background: rgba(18, 13, 26, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
  font-size: 8px;
  text-align: center;
  backdrop-filter: blur(14px);
}

/* Account dialogs */
.account-dialog {
  width: min(calc(100% - 28px), 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.account-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(9px);
}

/* Key wallet */
.key-store-dialog {
  width: min(calc(100% - 28px), 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.key-store-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(9px);
}

.key-store-frame {
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
}

.key-store-heading {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  align-items: start;
}

.key-store-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.key-store-close {
  position: static;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.key-wallet-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 66px;
  margin-top: 12px;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.key-wallet-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.34);
  border-radius: 50%;
  color: #c6a8ff;
  background: rgba(141, 92, 255, 0.09);
  box-shadow: inset 0 0 16px rgba(141, 92, 255, 0.13);
}

.key-wallet-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.key-wallet-summary small,
.key-wallet-summary strong {
  display: block;
}

.key-wallet-summary small {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.key-wallet-summary strong {
  margin-top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

.key-bundle-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.key-bundle-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 58px;
  padding: 9px 10px 9px 12px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.key-bundle-option::after {
  position: absolute;
  inset: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.key-bundle-option::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  background: transparent;
  box-shadow: none;
  content: "";
}

.key-bundle-option.selected {
  background:
    radial-gradient(circle at 88% 0%, rgba(141, 92, 255, 0.17), transparent 46%),
    rgba(68, 34, 111, 0.13);
  box-shadow: inset 0 0 0 1px rgba(173, 139, 255, 0.2), 0 0 13px rgba(103, 49, 196, 0.12);
}

.key-bundle-option.selected::before {
  background: #9b6dff;
  box-shadow: 0 0 9px rgba(141, 92, 255, 0.65);
}

.key-bundle-option.selected::after {
  border-color: rgba(194, 158, 255, 0.3);
}

.key-bundle-amount strong,
.key-bundle-amount small {
  display: block;
}

.key-bundle-amount strong {
  font-size: 11px;
}

.key-bundle-amount small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.key-bundle-price {
  color: #c9c3d1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 750;
}

.key-bundle-option.selected .key-bundle-price {
  color: #cbb5ff;
}

.key-store-payment {
  display: flex;
  min-height: 64px;
  margin-top: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.key-store-payment small,
.key-store-payment strong {
  display: block;
}

.key-store-payment small {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.key-store-payment strong {
  margin-top: 5px;
  font-size: 9px;
}

.key-store-status {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-left: 2px solid #9b6dff;
  color: #cbbce8;
  background: rgba(141, 92, 255, 0.07);
  font-size: 7px;
  line-height: 1.45;
}

.key-purchase-button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
}

.key-store-disclosure {
  margin: 9px 0 0;
  color: #67616e;
  font-size: 6px;
  line-height: 1.45;
  text-align: center;
}

/* Key purchase history */
.key-history-dialog {
  width: min(calc(100% - 28px), 440px);
  max-width: 440px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.key-history-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(9px);
}

.key-history-frame {
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
}

.key-history-heading {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  align-items: start;
}

.key-history-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.key-history-close {
  position: static;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.key-history-balance {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 66px;
  margin-top: 12px;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.key-history-balance small,
.key-history-balance strong {
  display: block;
}

.key-history-balance small {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.key-history-balance strong {
  margin-top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

.key-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.key-history-summary > div {
  display: flex;
  min-width: 0;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.key-history-summary > div:first-child {
  padding-left: 0;
}

.key-history-summary > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.key-history-summary span {
  color: var(--faint);
  font-size: 6px;
  font-weight: 850;
}

.key-history-summary strong {
  margin-top: 5px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-history-list {
  max-height: min(390px, 46svh);
  overflow-y: auto;
  scrollbar-width: thin;
}

.key-history-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 11px 0;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.key-history-row-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.34);
  border-radius: 50%;
  color: #c7abff;
  background: rgba(141, 92, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}

.key-history-row.outgoing .key-history-row-mark {
  border-color: rgba(255, 255, 255, 0.18);
  color: #99929f;
  background: rgba(255, 255, 255, 0.035);
}

.key-history-row-copy,
.key-history-row-value {
  display: block;
  min-width: 0;
}

.key-history-row-copy strong,
.key-history-row-copy span,
.key-history-row-copy small,
.key-history-row-value strong,
.key-history-row-value span,
.key-history-row-value small {
  display: block;
}

.key-history-row-copy strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-history-row-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.35;
}

.key-history-row-copy small {
  margin-top: 4px;
  color: #5f5966;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
}

.key-history-row-value {
  text-align: right;
}

.key-history-row-value strong {
  color: #cbb5ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.key-history-row.outgoing .key-history-row-value strong {
  color: #b1aab8;
}

.key-history-row-value span {
  margin-top: 5px;
  color: #d5d0db;
  font-size: 7px;
}

.key-history-row-value small {
  margin-top: 4px;
  color: #67616e;
  font-size: 6px;
}

.key-history-empty {
  margin: 0;
  padding: 30px 10px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.key-history-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  margin-top: 16px;
  gap: 8px;
}

.key-history-actions button {
  min-height: 40px;
}

/* Shared checkout */
.payment-dialog {
  width: min(calc(100% - 28px), 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #09080c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

.payment-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.payment-dialog-frame {
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
}

.payment-dialog-heading {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  align-items: start;
}

.payment-dialog-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.payment-dialog-close {
  position: static;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.payment-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 76px;
  margin-top: 14px;
  padding: 11px 0;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-summary-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.38);
  border-radius: 50%;
  color: #d7c2ff;
  background: rgba(141, 92, 255, 0.1);
  box-shadow: inset 0 0 16px rgba(141, 92, 255, 0.15);
  font-size: 8px;
  font-weight: 900;
}

.payment-summary-copy {
  min-width: 0;
}

.payment-summary-copy small,
.payment-summary-copy strong,
.payment-summary-copy em {
  display: block;
}

.payment-summary-copy small {
  color: #82758f;
  font-size: 6px;
  font-weight: 850;
}

.payment-summary-copy strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-summary-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.payment-summary > b {
  color: #e0d5f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.payment-method-list {
  margin: 15px 0 0;
  padding: 0;
  border: 0;
}

.payment-method-list legend {
  width: 100%;
  margin-bottom: 7px;
  color: #82758f;
  font-size: 6px;
  font-weight: 850;
}

.payment-method-option {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  min-height: 53px;
  padding: 7px 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.payment-method-option:first-of-type {
  border-top-color: var(--line);
}

.payment-method-option.selected {
  border-color: rgba(186, 147, 255, 0.48);
  background:
    radial-gradient(circle at 88% 0%, rgba(141, 92, 255, 0.16), transparent 48%),
    rgba(68, 34, 111, 0.13);
  box-shadow: inset 0 0 0 2px rgba(151, 105, 255, 0.1), 0 0 12px rgba(103, 49, 196, 0.12);
}

.payment-method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-option > span:nth-of-type(2) strong,
.payment-method-option > span:nth-of-type(2) small {
  display: block;
}

.payment-method-option > span:nth-of-type(2) strong {
  font-size: 9px;
}

.payment-method-option > span:nth-of-type(2) small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 6px;
}

.payment-method-option > i {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border: 1px solid #514a5b;
  border-radius: 50%;
}

.payment-method-option.selected > i {
  border-color: #a67cff;
  background: #7d4dde;
  box-shadow: inset 0 0 0 3px #130d1d, 0 0 8px rgba(141, 92, 255, 0.45);
}

.payment-method-option:focus-within {
  outline: 2px solid var(--ice);
  outline-offset: -2px;
}

.payment-provider-mark {
  display: grid;
  width: 36px;
  height: 27px;
  place-items: center;
  border: 1px solid #39343f;
  border-radius: 4px;
  background: #111016;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.payment-provider-card {
  color: #bba6ff;
  font-style: italic;
}

.payment-provider-new svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #b7afc2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.payment-provider-paypal {
  color: #56a6ff;
  font-family: ui-serif, Georgia, serif;
  font-size: 15px;
  font-style: italic;
}

.payment-provider-apple {
  color: #f5f3f8;
  font-size: 13px;
}

.payment-provider-google {
  color: #8ab4f8;
  border-color: rgba(138, 180, 248, 0.3);
  font-size: 13px;
}

.payment-card-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0d0c11;
}

.payment-card-wide {
  grid-column: 1 / -1;
}

.payment-card-editor label > span {
  display: block;
  margin-bottom: 6px;
  color: #77727f;
  font-size: 7px;
  font-weight: 750;
}

.payment-card-editor input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  color: var(--text);
  background: #09080c;
  font: inherit;
  font-size: 10px;
}

.payment-card-editor input:focus {
  border-color: rgba(169, 207, 255, 0.46);
}

.payment-disclosure {
  margin: 11px 0 0;
  color: #716a7a;
  font-size: 6px;
  line-height: 1.45;
  text-align: center;
}

.payment-confirm-button {
  width: 100%;
  min-height: 42px;
  margin-top: 11px;
}

.account-dialog-frame {
  padding: 18px 18px max(18px, env(safe-area-inset-bottom));
}

.account-dialog-heading {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  align-items: start;
}

.account-dialog-heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.account-dialog-close {
  position: static;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.account-avatar-editor {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 70px;
  margin-top: 14px;
  padding: 10px 0;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-avatar-editor > span:nth-child(2) {
  min-width: 0;
}

.account-avatar-editor strong,
.account-avatar-editor small {
  display: block;
}

.account-avatar-editor strong {
  font-size: 10px;
}

.account-avatar-editor small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.account-avatar-preview {
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(173, 139, 255, 0.34);
  border-radius: 50%;
  color: #d9caf9;
  background: #171020 center / cover no-repeat;
}

.account-avatar-preview svg {
  width: 32px;
  height: 32px;
  fill: rgba(173, 139, 255, 0.08);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.account-avatar-preview.has-image svg {
  display: none;
}

.account-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  margin-top: 18px;
}

.account-field-grid label,
.account-dialog-select,
.billing-payment-editor label {
  min-width: 0;
}

.account-field-grid label > span:first-child,
.account-dialog-select > span,
.billing-payment-editor label > span {
  display: block;
  margin-bottom: 6px;
  color: #77727f;
  font-size: 7px;
  font-weight: 750;
}

.account-field-wide {
  grid-column: 1 / -1;
}

.account-field-grid input,
.account-field-grid textarea,
.account-dialog-select select,
.billing-payment-editor input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  color: var(--text);
  background: #0e0d12;
  font: inherit;
  font-size: 10px;
}

.account-field-grid input,
.account-dialog-select select,
.billing-payment-editor input {
  height: 38px;
  padding: 0 10px;
}

.account-field-grid textarea {
  min-height: 72px;
  padding: 10px;
  resize: vertical;
}

.account-field-grid input:focus,
.account-field-grid textarea:focus,
.account-dialog-select select:focus,
.billing-payment-editor input:focus {
  border-color: rgba(169, 207, 255, 0.46);
}

.account-prefixed-input {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0e0d12;
}

.account-prefixed-input i {
  color: #77727f;
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.account-prefixed-input input {
  height: 36px;
  border: 0;
  background: transparent;
}

.account-dialog-actions {
  display: flex;
  min-height: 48px;
  margin-top: 18px;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.account-cancel-plan {
  margin-right: auto;
}

.billing-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  margin-top: 16px;
  padding: 12px 0;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.billing-summary small,
.billing-summary strong,
.billing-summary em {
  display: block;
}

.billing-summary small,
.billing-payment span {
  color: #82758f;
  font-size: 6px;
  font-weight: 850;
}

.billing-summary strong {
  margin-top: 4px;
  font-size: 11px;
}

.billing-summary em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.account-dialog-select {
  display: block;
  margin-top: 15px;
}

.billing-payment {
  display: flex;
  min-height: 72px;
  margin-top: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.billing-payment strong,
.billing-payment small {
  display: block;
}

.billing-payment strong {
  margin-top: 5px;
  font-size: 10px;
}

.billing-payment small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.billing-payment-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 72px;
  gap: 8px;
  margin-top: 14px;
}

/* Discovery and search */
.search-intro h1 {
  margin: 0;
  font-size: 21px;
}

.discovery-band {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

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

.genre-grid button {
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #d2ced8;
  background:
    linear-gradient(120deg, rgba(142, 92, 255, 0.09), transparent 60%),
    #0b0a0f;
  font-size: 10px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.genre-grid button:nth-child(2) {
  background: linear-gradient(120deg, rgba(169, 207, 255, 0.09), transparent 60%), #0b0a0f;
}

.genre-grid button:nth-child(3) {
  background: linear-gradient(120deg, rgba(225, 111, 184, 0.08), transparent 60%), #0b0a0f;
}

.genre-grid button:nth-child(4) {
  background: linear-gradient(120deg, rgba(158, 229, 205, 0.07), transparent 60%), #0b0a0f;
}

.discovery-live-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 58px;
  padding: 0;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.broadcast-beacon.compact {
  width: 40px;
  height: 40px;
}

.broadcast-beacon.compact::before { inset: 2px; }
.broadcast-beacon.compact::after { inset: 8px; }
.broadcast-beacon.compact b { inset: 14px; }
.broadcast-beacon.compact i { top: 17px; left: 17px; }

.discovery-live-row strong,
.discovery-live-row small {
  display: block;
}

.discovery-live-row strong {
  font-size: 10px;
}

.discovery-live-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.discovery-live-row em {
  color: #e391b9;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.search-results {
  padding: 18px;
}

.search-result-list {
  border-top: 1px solid var(--line);
}

.search-result {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 64px;
  padding: 8px 0;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-result-track {
  grid-template-columns: 46px minmax(0, 1fr);
  cursor: default;
}

.search-result-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-result-main > span {
  min-width: 0;
}

.search-result-art {
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b0a0f;
}

.search-art-button {
  position: relative;
  padding: 0;
  cursor: zoom-in;
}

.search-result-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-art.mask-avatar {
  border-radius: 50%;
}

.search-result-art.mask-avatar > img {
  object-fit: contain;
}

.search-result-art.player-result > img {
  width: 125%;
  object-fit: contain;
}

.search-result-art.radio-result svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--violet-bright);
  stroke-linecap: round;
  stroke-width: 1.4;
}

.search-result-art.search-result-monogram {
  border-color: #4a3268;
  background:
    radial-gradient(circle at 32% 22%, rgb(158 92 255 / 22%), transparent 48%),
    linear-gradient(145deg, #171021, #08070c);
  color: #d7b8ff;
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.search-result strong {
  font-size: 10px;
}

.search-result small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.search-result em {
  color: #817a8a;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.search-empty {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* Artist landing */
.artist-landing-hero {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #050506;
}

.artist-landing-hero.no-hero {
  height: 190px;
  border-bottom: 1px solid var(--line);
  background: #0a090d;
}

.artist-landing-hero.no-hero .artist-hero-shade {
  display: none;
}

.artist-landing-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.artist-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 5, 0.05) 26%, rgba(3, 3, 5, 0.94) 94%);
}

.artist-back {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 3, 5, 0.64);
  cursor: pointer;
}

.artist-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.artist-landing-copy {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.artist-landing-avatar {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #050506;
}

.artist-landing-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artist-landing-copy > span:last-child {
  display: block;
  margin-top: 7px;
  color: #c0bbc7;
  font-size: 8px;
}

.artist-actions {
  display: flex;
  min-height: 66px;
  padding: 13px 18px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.artist-backing {
  padding: 18px;
  overflow-anchor: none;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(141, 92, 255, 0.065), transparent 62%),
    rgba(255, 255, 255, 0.008);
}

.artist-backing-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.artist-backing-heading h2 {
  margin: 3px 0 0;
  font-size: 15px;
  letter-spacing: 0;
}

.backing-info-button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #9891a1;
  background: transparent;
  cursor: pointer;
}

.backing-info-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.backing-info-button[aria-expanded="true"] {
  color: var(--violet-bright);
}

.artist-backing-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.backing-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.backing-amounts button {
  position: relative;
  min-width: 0;
  height: 35px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #98939e;
  background: #09090c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 110ms ease, border-color 150ms ease, color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.backing-amounts button.active {
  border-color: rgba(199, 163, 255, 0.88);
  color: #d6bcff;
  background:
    radial-gradient(circle at 50% -30%, rgba(188, 143, 255, 0.32), transparent 60%),
    linear-gradient(180deg, #28143f, #140b20);
  box-shadow:
    inset 0 0 0 3px rgba(151, 105, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 0 16px rgba(126, 61, 235, 0.24);
}

.backing-amounts button:active {
  transform: scale(0.985);
}

.artist-actions .primary-action:active:not(:disabled) {
  transform: scale(0.988);
}

.custom-backing {
  display: flex;
  width: 100%;
  height: 38px;
  margin-top: 9px;
  align-items: center;
  border: 1px solid rgba(173, 139, 255, 0.34);
  border-radius: 4px;
  background: #07070a;
}

.custom-backing > span {
  padding-left: 11px;
  color: #bda8ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.custom-backing input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 5px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 10px;
}

.custom-backing input::placeholder {
  color: #625e68;
}

.back-artist-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
}

.back-artist-button:disabled {
  color: #716a79;
  background: #28242d;
  cursor: not-allowed;
}

.backing-info {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  margin-top: 11px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}

.backing-info strong {
  color: var(--success);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
}

.backing-info p {
  margin: 0;
  color: #aaa5af;
  font-size: 8px;
  line-height: 1.5;
}

.backing-status {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(158, 229, 205, 0.2);
  border-radius: 4px;
  color: var(--success);
  background: rgba(48, 111, 89, 0.09);
  font-size: 8px;
  line-height: 1.45;
}

.backing-status > span {
  display: block;
}

.backing-status.unavailable {
  border-color: rgba(173, 139, 255, 0.25);
  color: #cfc1ef;
  background: rgba(91, 43, 171, 0.11);
}

.backing-nudge-button {
  min-height: 28px;
  margin-top: 9px;
  padding: 0 10px;
  border: 1px solid rgba(173, 139, 255, 0.38);
  border-radius: 4px;
  color: #eee7ff;
  background: rgba(105, 55, 199, 0.2);
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.backing-nudge-button:active {
  transform: translateY(1px);
}

.backing-nudge-button:disabled {
  color: #8f879a;
  border-color: rgba(196, 188, 214, 0.16);
  background: rgba(255, 255, 255, 0.025);
  cursor: default;
}

.artist-popular,
.artist-release,
.artist-videos,
.artist-live,
.artist-drops,
.artist-merch,
.artist-landing-about {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.track-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  width: 100%;
  min-height: 58px;
  padding: 0;
  align-items: center;
  gap: 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.track-row-main {
  display: grid;
  grid-template-columns: 16px 42px minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 8px 0;
  align-items: center;
  gap: 9px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.track-row-main > span:first-child,
.track-row-main > em {
  color: #746f7a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  font-style: normal;
}

.track-row-main img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
}

.track-row-main strong,
.track-row-main small {
  display: block;
}

.track-row-main strong {
  font-size: 10px;
}

.track-row-main small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.track-action-trigger {
  display: grid;
  width: 32px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 4px;
  color: #85808d;
  background: transparent;
  cursor: pointer;
}

.track-action-trigger:active,
.track-action-trigger:focus-visible {
  color: #d8c9f7;
  background: rgba(141, 92, 255, 0.09);
}

.track-action-trigger svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.release-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  width: 100%;
  padding: 0;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  text-align: left;
}

.release-row-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  padding: 0;
  align-items: center;
  gap: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.release-row-main > img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.release-row-main strong,
.release-row-main small,
.release-row-main em {
  display: block;
}

.release-row-main strong {
  font-size: 11px;
}

.release-row-main small,
.release-row-main em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

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

.artist-video-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.artist-video-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #050506;
}

.artist-video-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 3, 5, 0.64));
  content: "";
}

.artist-video-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-video-art i {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(51, 18, 105, 0.82);
  backdrop-filter: blur(8px);
}

.artist-video-art svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.artist-video-card > strong,
.artist-video-card > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-video-card > strong {
  margin-top: 8px;
  font-size: 9px;
}

.artist-video-card > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.artist-live-feature,
.artist-show-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.artist-live-feature {
  padding: 12px;
  border: 1px solid rgba(173, 139, 255, 0.2);
  border-radius: 6px;
  background: rgba(92, 44, 174, 0.08);
}

.artist-show-row {
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.live-date-block {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(225, 111, 184, 0.3);
  border-radius: 4px;
  color: #efc1df;
  background: rgba(126, 38, 98, 0.12);
}

.live-date-block.muted {
  border-color: var(--line);
  color: #aaa4b0;
  background: #0b0a0e;
}

.live-date-block span,
.live-date-block strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1;
}

.live-date-block span {
  font-size: 6px;
}

.live-date-block strong {
  margin-top: 4px;
  font-size: 9px;
}

.artist-live h3,
.artist-show-row h3 {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-live-feature > div:nth-child(2) > span,
.artist-show-row > div:nth-child(2) > span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reminder-button {
  min-width: 72px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #cbc5d1;
  background: #0b0a0e;
  font-size: 7px;
  font-weight: 750;
  cursor: pointer;
}

.reminder-button.active,
.reminder-icon.active {
  border-color: rgba(158, 229, 205, 0.32);
  color: var(--success);
  background: rgba(48, 111, 89, 0.1);
}

.reminder-icon {
  width: 34px;
  height: 34px;
}

.reminder-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.artist-drop-feature {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 16px;
  width: 100%;
  min-width: 0;
  padding: 0;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(173, 139, 255, 0.22);
  border-radius: 6px;
  background: #09080c;
  text-align: left;
  cursor: pointer;
}

.artist-drop-visual {
  position: relative;
  display: block;
  width: 118px;
  height: 88px;
  overflow: hidden;
  background: #030304;
}

.artist-drop-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artist-drop-visual i {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 4px 6px;
  border: 1px solid rgba(231, 187, 92, 0.42);
  border-radius: 3px;
  color: #f0ce83;
  background: rgba(5, 4, 6, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.artist-drop-feature > span:nth-child(2) {
  min-width: 0;
}

.artist-drop-feature small,
.artist-drop-feature strong,
.artist-drop-feature em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-drop-feature small {
  color: #988cab;
  font-size: 6px;
}

.artist-drop-feature strong {
  margin-top: 6px;
  font-size: 11px;
}

.artist-drop-feature em {
  margin-top: 5px;
  color: #e4c783;
  font-size: 7px;
  font-style: normal;
}

.artist-drop-feature > svg {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  fill: none;
  stroke: #77717e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.merch-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #09090c;
}

.merch-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: #ddd5ef;
  background: #060608;
  cursor: zoom-in;
}

.merch-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.merch-art:hover img,
.merch-art:focus-visible img {
  transform: scale(1.025);
}

.merch-art:focus-visible {
  outline: 1px solid var(--violet-bright);
  outline-offset: -2px;
}

.merch-zoom-icon {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(190, 166, 255, 0.38);
  border-radius: 4px;
  background: rgba(5, 4, 8, 0.78);
  backdrop-filter: blur(8px);
}

.merch-zoom-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.mask-merch img {
  padding: 20%;
  object-fit: contain;
  filter: invert(1);
}

.merch-card > strong,
.merch-card > span {
  display: block;
  padding: 0 9px;
}

.merch-card > strong {
  margin-top: 9px;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.merch-card > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.merch-card > button[data-merch-item] {
  width: calc(100% - 18px);
  height: 30px;
  margin: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #d7d2dc;
  background: #100e15;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.merch-card > button[data-merch-item].added {
  border-color: rgba(158, 229, 205, 0.3);
  color: var(--success);
  background: rgba(48, 111, 89, 0.1);
}

.merch-status {
  margin: 10px 0 0;
  color: var(--success);
  font-size: 7px;
}

.artist-landing-about h2 {
  margin: 0;
  font-size: 15px;
}

.artist-landing-about p {
  margin: 12px 0 0;
  color: #aaa6b2;
  font-size: 10px;
  line-height: 1.65;
}

.artist-landing-about .artist-about-quote {
  color: #d8ccf4;
  font-size: 11px;
  font-weight: 700;
}

.artist-bio-track-link {
  display: inline-flex;
  padding: 0;
  align-items: center;
  gap: 4px;
  border: 0;
  color: #c7adff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(171, 123, 255, 0.52);
  text-underline-offset: 3px;
  cursor: pointer;
}

.artist-bio-track-link:hover,
.artist-bio-track-link:focus-visible {
  color: #f0e9ff;
  text-decoration-color: currentColor;
}

.artist-bio-track-link svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.artist-about-body p {
  margin-top: 11px;
}

.artist-landing-about > span {
  display: block;
  margin-top: 12px;
  color: #c6b4ee;
  font-size: 9px;
  font-weight: 700;
}

.track-context-notice > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

/* Artist visual sessions */
.artist-video-dialog {
  width: min(92vw, 420px);
  max-width: 420px;
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #08070a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.8);
}

.artist-video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(9px);
}

.artist-video-frame {
  position: relative;
  padding-bottom: 16px;
}

.artist-video-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(4, 3, 6, 0.72);
  backdrop-filter: blur(8px);
}

.artist-video-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #020203;
}

.artist-video-stage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 5, 0.03), rgba(3, 2, 5, 0.7));
  content: "";
}

.artist-video-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.72);
}

.video-equalizer {
  position: absolute;
  z-index: 1;
  right: 9%;
  bottom: 13%;
  left: 9%;
  display: flex;
  height: 30%;
  justify-content: center;
  align-items: end;
  gap: 4px;
}

.video-equalizer i {
  width: 5px;
  height: 12%;
  border-radius: 2px 2px 0 0;
  background: #9e6dff;
  box-shadow: 0 0 10px rgba(154, 98, 255, 0.72);
  transform-origin: bottom;
}

.artist-video-stage.is-playing .video-equalizer i {
  animation: video-eq 760ms ease-in-out infinite alternate;
}

.artist-video-stage.is-playing .video-equalizer i:nth-child(2n) { animation-duration: 520ms; }
.artist-video-stage.is-playing .video-equalizer i:nth-child(3n) { animation-duration: 880ms; }
.artist-video-stage.is-playing .video-equalizer i:nth-child(4n) { animation-duration: 630ms; }

@keyframes video-eq {
  from { height: 12%; opacity: 0.55; }
  to { height: 94%; opacity: 1; }
}

.artist-video-caption {
  padding: 16px 16px 8px;
}

.artist-video-caption h2 {
  margin: 5px 0 0;
  font-size: 17px;
}

.artist-video-caption > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

#artistVideoAudio {
  display: block;
  width: calc(100% - 32px);
  height: 34px;
  margin: 6px 16px 0;
}

/* Account expansion: access, inbox, downloads, creator tools, orders, and privacy */
.account-notification-icon {
  position: relative;
}

.account-notification-icon > i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid #0d0b12;
  border-radius: 50%;
  background: #a56cff;
  box-shadow: 0 0 7px rgba(165, 108, 255, 0.8);
}

.product-dialog {
  width: min(calc(100% - 20px), 430px);
  max-width: 430px;
  max-height: calc(100svh - 20px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: #08070a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.82);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.product-dialog-frame {
  position: relative;
  min-height: 100%;
  padding: 18px;
}

.product-dialog-close {
  top: 12px;
  right: 12px;
}

.product-dialog-heading,
.product-screen-heading {
  padding-right: 44px;
}

.product-dialog-heading h2,
.product-screen-heading h2,
.auth-brand h2 {
  margin: 4px 0 0;
  font-size: 19px;
}

.product-dialog-heading > div > p,
.product-screen-heading > p {
  margin-bottom: 0;
}

.product-screen-heading > span,
.auth-brand > span {
  display: block;
  margin-top: 8px;
  color: #96919f;
  font-size: 9px;
  line-height: 1.55;
}

.product-dialog-actions {
  display: flex;
  margin-top: 18px;
  justify-content: flex-end;
  gap: 8px;
}

.product-dialog-actions button {
  min-width: 92px;
}

.product-dialog-note {
  margin: 16px 0 0;
  color: #5f5a68;
  font-size: 6px;
  line-height: 1.45;
  text-align: center;
}

#notificationCenterDialog {
  width: min(calc(100% - 32px), 380px);
  max-width: 380px;
  max-height: min(470px, calc(100svh - 48px));
  overflow: hidden;
}

#notificationCenterDialog .product-dialog-frame {
  padding: 14px;
}

#notificationCenterDialog .product-dialog-close {
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
}

#notificationCenterDialog .product-dialog-heading h2 {
  font-size: 17px;
}

#notificationCenterDialog .product-segmented {
  margin: 12px 0 8px;
}

#notificationCenterDialog .product-segmented button {
  min-height: 26px;
}

#notificationCenterDialog .notification-list {
  max-height: min(260px, calc(100svh - 190px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

#notificationCenterDialog .notification-row {
  grid-template-columns: 32px minmax(0, 1fr) 7px;
  min-height: 62px;
  padding: 8px 3px;
  gap: 8px;
}

#notificationCenterDialog .notification-row > img,
#notificationCenterDialog .notification-mark {
  width: 32px;
  height: 32px;
}

#notificationCenterDialog .notification-row strong {
  margin-top: 4px;
  font-size: 8px;
}

#notificationCenterDialog .notification-row em {
  margin-top: 3px;
  font-size: 6.5px;
}

#notificationCenterDialog .product-dialog-actions {
  margin-top: 12px;
}

.notification-preferences {
  margin-top: 12px;
}

.notification-preferences > p:first-child {
  margin: 0 0 8px;
  color: #8b8591;
  font-size: 7px;
  line-height: 1.5;
}

.notification-preferences > label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 50px;
  padding: 8px 2px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.notification-preferences > label strong,
.notification-preferences > label small {
  display: block;
}

.notification-preferences > label strong {
  font-size: 8px;
}

.notification-preferences > label small {
  margin-top: 4px;
  color: #77717f;
  font-size: 6.5px;
}

.notification-preference-status,
.order-detail-note,
.support-status,
.orders-empty {
  margin: 12px 0 0;
  color: #a992cf;
  font-size: 7px;
  line-height: 1.45;
}

.product-back-button {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 0 14px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #c8c2d1;
  background: #0d0b11;
  cursor: pointer;
}

.product-back-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-dialog-frame {
  padding: 22px 22px 18px;
}

.auth-brand {
  padding: 8px 24px 15px;
  text-align: center;
}

.auth-brand img {
  display: block;
  width: min(190px, 64vw);
  height: 78px;
  margin: 0 auto 5px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.auth-brand .eyebrow {
  color: #9e83d4;
}

.auth-provider-list {
  display: grid;
  gap: 8px;
}

.auth-provider-list button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  min-height: 42px;
  padding: 0 10px;
  align-items: center;
  border: 1px solid rgba(219, 213, 230, 0.18);
  border-radius: 5px;
  color: #eeeaf2;
  background: #111015;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.auth-provider-list button::after {
  content: "";
}

.auth-provider-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #07070a;
  background: #f3f2f5;
  font-size: 11px;
  font-weight: 900;
}

.google-mark {
  color: #4285f4;
  background: #fff;
  font-family: Arial, sans-serif;
}

.auth-divider {
  display: flex;
  margin: 14px 0;
  align-items: center;
  gap: 10px;
  color: #68636f;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1 1 auto;
  background: var(--line);
  content: "";
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form > label:not(.auth-terms) > span {
  display: block;
  margin-bottom: 5px;
  color: #8f8999;
  font-size: 7px;
  font-weight: 800;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #f1eef4;
  background: #0e0d12;
  font-size: 9px;
}

.auth-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.auth-form-meta label,
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #817b88;
  font-size: 7px;
  line-height: 1.45;
}

.auth-form-meta button,
.auth-switch button,
.auth-resend {
  padding: 0;
  border: 0;
  color: #b79ae9;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  min-height: 42px;
}

.auth-switch {
  margin: 15px 0 0;
  color: #817b88;
  font-size: 8px;
  text-align: center;
}

.auth-screen > .product-screen-heading {
  margin-bottom: 18px;
}

.auth-code-input {
  letter-spacing: 0.36em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px !important;
  text-align: center;
}

.auth-resend {
  min-height: 28px;
}

.onboarding-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 4px 0 24px;
}

.onboarding-progress i {
  height: 3px;
  border-radius: 3px;
  background: #6532b7;
  box-shadow: 0 0 7px rgba(122, 66, 220, 0.38);
}

.onboarding-genres {
  display: flex;
  margin: 15px 0 18px;
  flex-wrap: wrap;
  gap: 7px;
}

.onboarding-genres button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: #9a95a3;
  background: #0d0c10;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.onboarding-genres button[aria-pressed="true"] {
  border-color: rgba(180, 139, 255, 0.62);
  color: #e7dcff;
  background: rgba(93, 42, 171, 0.25);
  box-shadow: inset 0 0 12px rgba(141, 92, 255, 0.08);
}

.onboarding-setting {
  display: flex;
  min-height: 58px;
  padding: 10px 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.onboarding-setting strong,
.onboarding-setting small {
  display: block;
}

.onboarding-setting strong {
  font-size: 9px;
}

.onboarding-setting small {
  margin-top: 4px;
  color: #77717f;
  font-size: 7px;
}

.product-segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 16px 0 10px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0b0a0e;
}

.product-segmented button {
  min-height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 3px;
  color: #716c78;
  background: transparent;
  font-size: 7px;
  font-weight: 850;
  cursor: pointer;
}

.product-segmented button.active {
  color: #e9e4ef;
  background: #17131f;
  box-shadow: inset 0 0 0 1px rgba(178, 142, 240, 0.14);
}

.product-segmented button span {
  display: inline-grid;
  min-width: 14px;
  height: 14px;
  margin-left: 3px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #7540d0;
  font-size: 6px;
}

.notification-list,
.download-list,
.orders-list,
.workspace-menu,
.privacy-menu {
  border-top: 1px solid var(--line);
}

.notification-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 8px;
  width: 100%;
  min-height: 76px;
  padding: 10px 4px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.notification-row.unread {
  background: linear-gradient(90deg, rgba(117, 64, 208, 0.08), transparent 72%);
}

.notification-row > img,
.notification-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  object-fit: cover;
  color: #d7c4ff;
  background: #121018;
  font-size: 9px;
  font-weight: 900;
}

.notification-row small,
.notification-row strong,
.notification-row em {
  display: block;
}

.notification-row small {
  color: #896bbd;
  font-size: 6px;
  font-weight: 850;
}

.notification-row strong {
  margin-top: 5px;
  font-size: 9px;
}

.notification-row em {
  margin-top: 4px;
  color: #77727f;
  font-size: 7px;
  font-style: normal;
  line-height: 1.4;
}

.notification-row > b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b5cff;
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.72);
}

.live-notification-mark i {
  width: 8px;
  height: 8px;
  border: 2px solid #e56eaf;
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(229, 110, 175, 0.72);
}

.download-storage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 14px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0c0b0f;
}

.download-storage small,
.download-storage strong,
.download-storage em {
  display: block;
}

.download-storage small,
.download-settings-summary small,
.product-list-heading {
  color: #77717f;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.download-storage strong {
  margin-top: 5px;
  font-size: 10px;
}

.download-storage em {
  color: #8a8490;
  font-size: 7px;
  font-style: normal;
}

.download-storage > i {
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: #211e27;
}

.download-storage > i > b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7540d0, #b28aff);
  box-shadow: 0 0 8px rgba(152, 93, 255, 0.48);
}

.download-settings-summary,
.workspace-status-strip,
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 10px 0 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.download-settings-summary > span,
.workspace-status-strip > div,
.order-detail-grid > div {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid var(--line);
}

.download-settings-summary > span:last-child,
.workspace-status-strip > div:last-child,
.order-detail-grid > div:nth-child(2n) {
  border-right: 0;
}

.download-settings-summary strong,
.workspace-status-strip strong,
.order-detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 8px;
}

.product-list-heading {
  display: flex;
  margin-bottom: 7px;
  justify-content: space-between;
}

.product-list-heading em {
  font-style: normal;
}

.download-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 9px 0;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.download-row > img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.download-row strong,
.download-row small,
.download-row em {
  display: block;
}

.download-row strong {
  font-size: 9px;
}

.download-row small,
.download-row em {
  margin-top: 4px;
  color: #77717f;
  font-size: 7px;
  font-style: normal;
}

.download-row em {
  color: #8abca9;
}

.download-row > button {
  display: grid;
  min-width: 54px;
  height: 34px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid rgba(164, 122, 229, 0.26);
  border-radius: 4px;
  color: #bca6de;
  background: rgba(67, 38, 104, 0.12);
  font-size: 6px;
  font-weight: 850;
  cursor: pointer;
}

.download-row > button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.download-manager-status {
  margin: 10px 0 0;
  color: #bba8d4;
  font-size: 7px;
  line-height: 1.5;
}

.merch-bag-button {
  width: 100%;
  margin-top: 10px;
}

.merch-bag-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.merch-bag-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.merch-bag-row strong,
.merch-bag-row small {
  display: block;
}

.merch-bag-row strong {
  font-size: 9px;
}

.merch-bag-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.merch-bag-row > em {
  color: #d5c8df;
  font-size: 8px;
  font-style: normal;
}

.merch-bag-row > button {
  border: 0;
  color: #d58b99;
  background: transparent;
  font-size: 7px;
  cursor: pointer;
}

.merch-bag-total {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 12px;
  align-items: end;
  gap: 16px;
}

.merch-bag-total small,
.merch-bag-total strong {
  display: block;
}

.merch-bag-total small {
  color: var(--muted);
  font-size: 6px;
}

.merch-bag-total strong {
  margin-top: 3px;
  font-size: 16px;
}

.merch-bag-total > em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
  line-height: 1.45;
}

.download-row > button svg,
.workspace-menu svg,
.order-row > svg,
.privacy-menu svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.workspace-artist-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  min-height: 76px;
  margin-top: 18px;
  padding: 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(166, 126, 240, 0.22);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(65, 31, 105, 0.2), rgba(8, 7, 10, 0.8));
}

.workspace-artist-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
  background: #050506;
}

.workspace-artist-card small,
.workspace-artist-card strong,
.workspace-artist-card em {
  display: block;
}

.workspace-artist-card small {
  color: #a184d4;
  font-size: 6px;
  font-weight: 850;
}

.workspace-artist-card strong {
  margin-top: 4px;
  font-size: 11px;
}

.workspace-artist-card em {
  margin-top: 4px;
  color: #7c7684;
  font-size: 7px;
  font-style: normal;
}

.workspace-artist-card button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #bcb4c7;
  background: #111016;
  font-size: 7px;
  font-weight: 800;
}

.workspace-status-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workspace-status-strip span,
.order-detail-grid span {
  color: #706b77;
  font-size: 6px;
  font-weight: 850;
}

.workspace-menu > button,
.privacy-menu > button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 14px;
  width: 100%;
  min-height: 64px;
  padding: 9px 2px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.workspace-menu-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(167, 127, 241, 0.22);
  border-radius: 5px;
  color: #cfb5ff;
  background: #121018;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
}

.workspace-menu strong,
.workspace-menu small,
.privacy-menu strong,
.privacy-menu small {
  display: block;
}

.workspace-menu strong,
.privacy-menu strong {
  font-size: 9px;
}

.workspace-menu small,
.privacy-menu small {
  margin-top: 4px;
  color: #77717e;
  font-size: 7px;
  line-height: 1.35;
}

.workspace-menu em,
.privacy-menu em {
  color: #8d7ca9;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.workspace-preview-status {
  margin: 12px 0 0;
  color: #77717f;
  font-size: 7px;
  line-height: 1.5;
}

.workspace-detail {
  margin-top: 16px;
}

.workspace-detail > .product-back-button {
  margin-bottom: 12px;
}

.workspace-screen > h3,
.workspace-screen-heading h3 {
  margin: 4px 0 14px;
  font-size: 17px;
}

.workspace-form,
.workspace-team-invite {
  display: grid;
  gap: 11px;
}

.workspace-form label,
.workspace-team-invite label {
  display: grid;
  gap: 5px;
  color: #8b8493;
  font-size: 7px;
  font-weight: 800;
}

.workspace-form input,
.workspace-form select,
.workspace-form textarea,
.workspace-team-invite input,
.workspace-team-invite select,
.workspace-screen-heading select {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: 0;
  color: #e8e4ed;
  background: #0c0b10;
  font-size: 8px;
}

.workspace-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.workspace-form input:focus,
.workspace-form select:focus,
.workspace-form textarea:focus,
.workspace-team-invite input:focus,
.workspace-team-invite select:focus {
  border-color: rgba(175, 132, 255, 0.58);
  box-shadow: 0 0 0 2px rgba(126, 61, 235, 0.12);
}

.workspace-attestation {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  line-height: 1.45;
}

.workspace-attestation input {
  width: 14px;
  min-height: 14px;
  margin: 1px 0 0;
  padding: 0;
}

.workspace-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.workspace-screen-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.workspace-screen-heading select {
  width: auto;
  min-width: 104px;
}

.workspace-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.workspace-metric-grid > div {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(72, 38, 114, 0.16), #0b0a0e 66%);
}

.workspace-metric-grid span,
.workspace-metric-grid strong,
.workspace-metric-grid em {
  display: block;
}

.workspace-metric-grid span {
  color: #77717f;
  font-size: 6px;
  font-weight: 850;
}

.workspace-metric-grid strong {
  margin-top: 7px;
  font-size: 16px;
}

.workspace-metric-grid em {
  margin-top: 5px;
  color: #8bd5b5;
  font-size: 7px;
  font-style: normal;
}

.workspace-breakdown {
  display: grid;
  margin-top: 13px;
  border-top: 1px solid var(--line);
}

.workspace-breakdown > span {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 30px;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.workspace-breakdown strong,
.workspace-breakdown em {
  font-size: 7px;
  font-style: normal;
}

.workspace-breakdown i {
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #211d28;
}

.workspace-breakdown i::before {
  display: block;
  width: var(--workspace-bar);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, #7440c9, #ae7eff);
}

.workspace-data-note {
  margin: 13px 0 0;
  color: #77717f;
  font-size: 7px;
  line-height: 1.55;
}

.workspace-team-list {
  margin-bottom: 14px;
  border-top: 1px solid var(--line);
}

.workspace-team-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 56px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.workspace-team-row > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(167, 127, 241, 0.22);
  border-radius: 50%;
  color: #d7c4ff;
  background: #121018;
  font-size: 7px;
  font-weight: 900;
}

.workspace-team-row strong,
.workspace-team-row small {
  display: block;
}

.workspace-team-row strong {
  font-size: 8px;
}

.workspace-team-row small {
  margin-top: 3px;
  color: #77717f;
  font-size: 6px;
  text-transform: capitalize;
}

.workspace-team-row button {
  border: 0;
  color: #c296dd;
  background: transparent;
  font-size: 6px;
  cursor: pointer;
}

.workspace-team-row button:disabled {
  color: #5f5967;
  cursor: default;
}

.workspace-team-invite {
  grid-template-columns: minmax(0, 1fr) 110px;
}

.workspace-team-invite button {
  grid-column: 1 / -1;
}

.workspace-statement-card {
  display: flex;
  min-height: 72px;
  padding: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0c0b0f;
}

.workspace-statement-card small,
.workspace-statement-card strong {
  display: block;
}

.workspace-statement-card small {
  color: #77717f;
  font-size: 6px;
}

.workspace-statement-card strong {
  margin-top: 5px;
  font-size: 9px;
}

.workspace-statement-card em {
  color: #8d7ca9;
  font-size: 7px;
  font-style: normal;
}

.workspace-preview-status[data-tone="success"] {
  color: #8bd5b5;
}

.workspace-preview-status[data-tone="error"] {
  color: #e493a7;
}

.order-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 14px;
  width: 100%;
  min-height: 70px;
  padding: 9px 2px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.order-row > img,
.order-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  object-fit: cover;
  color: #d8c7f7;
  background: #121018;
  font-size: 8px;
  font-weight: 900;
}

.order-row small,
.order-row strong,
.order-row em {
  display: block;
}

.order-row small {
  color: #807291;
  font-size: 6px;
  font-weight: 850;
}

.order-row strong {
  margin-top: 5px;
  font-size: 9px;
}

.order-row em {
  margin-top: 4px;
  color: #77717e;
  font-size: 7px;
  font-style: normal;
}

.order-row > b {
  font-size: 8px;
}

.order-detail {
  position: relative;
  padding-top: 4px;
}

.order-detail h3 {
  margin: 5px 0 0;
  font-size: 18px;
}

.order-detail-status {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 6px;
  border: 1px solid rgba(105, 192, 161, 0.28);
  border-radius: 3px;
  color: #9ed9c4;
  background: rgba(43, 101, 80, 0.13);
  font-size: 6px;
  font-weight: 850;
}

.order-detail-grid {
  margin-top: 18px;
}

.order-detail-grid > div {
  border-bottom: 1px solid var(--line);
}

.order-detail-grid > div:nth-child(n + 3) {
  border-bottom: 0;
}

.order-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.order-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-filters button {
  padding-inline: 3px;
}

.orders-empty {
  padding: 26px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.order-detail-note {
  margin: -5px 0 12px;
  color: #8bd5b5;
}

.support-context {
  display: grid;
  margin: 18px 0 14px;
  padding: 12px;
  gap: 5px;
  border: 1px solid rgba(163, 125, 232, 0.2);
  border-radius: 6px;
  background: rgba(80, 45, 132, 0.08);
}

.support-context small {
  color: #8e69ca;
  font-size: 6px;
  font-weight: 850;
}

.support-context strong {
  font-size: 10px;
}

.support-context span {
  color: #817b88;
  font-size: 7px;
  line-height: 1.45;
}

.support-field {
  display: grid;
  margin-top: 11px;
  gap: 5px;
  color: #8b8493;
  font-size: 7px;
  font-weight: 800;
}

.support-field select,
.support-field textarea {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: 0;
  color: #e8e4ed;
  background: #0c0b10;
  font: inherit;
  font-size: 8px;
}

.support-field textarea {
  resize: vertical;
  line-height: 1.55;
}

.support-field select:focus,
.support-field textarea:focus {
  border-color: rgba(175, 132, 255, 0.58);
  box-shadow: 0 0 0 2px rgba(126, 61, 235, 0.12);
}

.privacy-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  margin: 18px 0;
  padding: 12px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(163, 125, 232, 0.2);
  border-radius: 6px;
  background: rgba(80, 45, 132, 0.08);
}

.privacy-shield {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #c9aff8;
  background: #14101b;
}

.privacy-shield svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-summary strong,
.privacy-summary small {
  display: block;
}

.privacy-summary strong {
  font-size: 10px;
}

.privacy-summary small {
  margin-top: 5px;
  color: #807a87;
  font-size: 7px;
  line-height: 1.45;
}

.privacy-menu > button {
  grid-template-columns: minmax(0, 1fr) auto;
}

.privacy-danger {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(218, 91, 121, 0.2);
  border-radius: 6px;
  background: rgba(111, 25, 46, 0.08);
}

.privacy-danger strong,
.privacy-danger span {
  display: block;
}

.privacy-danger strong {
  margin-top: 7px;
  font-size: 10px;
}

.privacy-danger span {
  margin-top: 6px;
  color: #84747a;
  font-size: 7px;
  line-height: 1.5;
}

.privacy-danger button {
  min-height: 32px;
  margin-top: 11px;
  padding: 0 10px;
  border: 1px solid rgba(225, 102, 132, 0.28);
  border-radius: 4px;
  color: #dc93a5;
  background: rgba(100, 24, 42, 0.12);
  font-size: 7px;
  font-weight: 850;
  cursor: pointer;
}

.privacy-status {
  margin: 12px 0 0;
  color: #bda8ef;
  font-size: 7px;
  line-height: 1.5;
}

.privacy-delete-review h3 {
  margin: 6px 0 0;
  font-size: 17px;
}

.privacy-delete-review ul {
  margin: 15px 0;
  padding: 12px 12px 12px 28px;
  border: 1px solid rgba(218, 91, 121, 0.2);
  border-radius: 5px;
  color: #998a90;
  background: rgba(111, 25, 46, 0.08);
  font-size: 7px;
  line-height: 1.65;
}

.privacy-delete-review label > span {
  display: block;
  margin-bottom: 6px;
  color: #8f858b;
  font-size: 7px;
  font-weight: 800;
}

.privacy-delete-review input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(218, 91, 121, 0.25);
  border-radius: 4px;
  color: #f4eef0;
  background: #100b0e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.privacy-delete-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.privacy-delete-actions > button:last-child {
  border: 1px solid rgba(226, 96, 128, 0.38);
  border-radius: 4px;
  color: #e9a1b2;
  background: rgba(110, 27, 47, 0.24);
  font-size: 7px;
  font-weight: 850;
}

.privacy-delete-actions > button:last-child:disabled {
  opacity: 0.36;
}

/* Universal mini-player and navigation */
.mini-player {
  position: absolute;
  z-index: 28;
  right: 0;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 42px 42px;
  height: var(--mini-player-height);
  align-items: center;
  border-top: 1px solid var(--line-strong);
  background: rgba(10, 9, 13, 0.97);
  backdrop-filter: blur(22px) saturate(130%);
}

.mini-track-action-trigger {
  width: 36px;
  height: 42px;
}

.app-shell[data-route="play"] .mini-player {
  display: none;
}

.app-shell:not([data-route]) .mini-player {
  display: none;
}

.mini-track {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-width: 0;
  height: 100%;
  padding: 8px 6px 8px 12px;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.mini-track img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
}

.mini-track span {
  min-width: 0;
}

.mini-track strong,
.mini-track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-track strong {
  font-size: 9px;
}

.mini-track small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.mini-play-button,
.mini-queue-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #d8d3df;
  background: transparent;
  cursor: pointer;
}

.mini-play-button svg,
.mini-queue-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.mini-play-button .glyph-play,
.queue-play .glyph-play {
  fill: currentColor;
}

.glyph-pause {
  display: none;
  fill: currentColor;
  stroke: none;
}

.is-playing .glyph-play {
  display: none;
}

.is-playing .glyph-pause {
  display: block;
}

.nav-account-avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: 7px;
}

.nav-item.active .nav-account-avatar {
  border-color: var(--violet-bright);
  box-shadow: 0 0 8px rgba(141, 92, 255, 0.42);
}

.nav-item .live-core {
  fill: currentColor;
}

/* Queue drawer */
.queue-drawer {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 448px);
  max-width: none;
  max-height: min(78svh, 680px);
  margin: auto auto 0;
  padding: 10px 18px max(22px, env(safe-area-inset-bottom));
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: var(--text);
  background: #0a090d;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.72);
}

.queue-drawer::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.queue-grabber {
  width: 34px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 2px;
  background: #44404b;
}

.queue-heading-row {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  align-items: center;
}

.queue-heading-row h2 {
  margin: 0;
  font-size: 18px;
}

.queue-close {
  position: static;
  width: 30px;
  height: 30px;
}

.queue-now-playing {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}

.queue-now-playing > img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

.queue-now-playing small,
.queue-now-playing strong,
.queue-now-playing em {
  display: block;
}

.queue-now-playing small {
  color: #9b89c3;
  font-size: 6px;
  font-weight: 800;
}

.queue-now-playing strong {
  margin-top: 5px;
  font-size: 13px;
}

.queue-now-playing em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.queue-transport {
  display: grid;
  grid-template-columns: 46px 68px 46px;
  gap: 20px;
  margin: 20px 0 22px;
  justify-content: center;
  align-items: center;
}

.queue-transport button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(169, 143, 215, 0.38);
  border-radius: 50%;
  color: #f3eff9;
  background: #0d0b12;
  cursor: pointer;
}

.queue-transport .queue-play {
  width: 68px;
  height: 68px;
  border-color: rgba(173, 124, 255, 0.82);
  border-radius: 50%;
  color: #fff;
  background: #100c19;
}

.queue-transport svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.queue-transport .queue-play svg {
  width: 25px;
  height: 25px;
}

.tech-play-button,
.tech-skip-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 50%;
  background: #0d0b12;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -8px 15px rgba(0, 0, 0, 0.68),
    0 0 0 2px rgba(69, 49, 91, 0.16),
    0 7px 18px rgba(0, 0, 0, 0.48);
  transition: transform 110ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.tech-play-button::before,
.tech-skip-button::before {
  position: absolute;
  z-index: 0;
  inset: 3px;
  border: 1px solid rgba(218, 207, 238, 0.11);
  border-radius: inherit;
  background:
    radial-gradient(circle at 42% 28%, rgba(105, 86, 132, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(39, 32, 50, 0.72), rgba(13, 10, 19, 0.86));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 -7px 13px rgba(0, 0, 0, 0.52);
  content: "";
  pointer-events: none;
}

.tech-play-button::after,
.tech-skip-button::after {
  position: absolute;
  z-index: 1;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right-color: rgba(190, 158, 255, 0.27);
  border-bottom-color: rgba(190, 158, 255, 0.18);
  border-radius: inherit;
  background: transparent;
  box-shadow: inset 3px 4px 8px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.tech-play-button {
  border-color: rgba(173, 124, 255, 0.82);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(24, 7, 42, 0.74),
    0 0 0 3px rgba(119, 70, 174, 0.13),
    0 0 19px rgba(118, 55, 210, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.55);
}

.tech-play-button::before {
  border-color: rgba(216, 190, 255, 0.22);
  background:
    radial-gradient(circle at 42% 28%, rgba(165, 121, 223, 0.38), transparent 43%),
    linear-gradient(145deg, rgba(61, 42, 81, 0.88), rgba(20, 11, 31, 0.92));
}

.tech-play-button svg,
.tech-skip-button svg {
  position: relative;
  z-index: 1;
}

.tech-play-button .glyph-play {
  transform: translateX(1px);
  transform-box: fill-box;
  transform-origin: center;
}

.tech-skip-button .transport-fill {
  fill: currentColor;
  stroke: none;
}

.tech-skip-button .transport-bar {
  fill: none;
  stroke: currentColor;
}

.tech-play-button:hover,
.tech-play-button:focus-visible,
.tech-skip-button:hover,
.tech-skip-button:focus-visible {
  border-color: rgba(205, 174, 255, 0.86);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -9px 16px rgba(25, 7, 55, 0.7),
    0 0 0 3px rgba(141, 92, 255, 0.16),
    0 0 22px rgba(128, 67, 225, 0.4),
    0 7px 18px rgba(0, 0, 0, 0.52);
}

.tech-play-button:active,
.tech-skip-button:active {
  transform: translateY(2px) scale(0.975);
  box-shadow:
    inset 0 5px 12px rgba(0, 0, 0, 0.82),
    0 0 0 2px rgba(141, 92, 255, 0.2),
    0 0 11px rgba(115, 57, 230, 0.25);
}

.tech-play-button.is-playing {
  border-color: rgba(198, 159, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(24, 7, 42, 0.74),
    0 0 0 3px rgba(141, 92, 255, 0.18),
    0 0 24px rgba(141, 92, 255, 0.46),
    0 8px 20px rgba(0, 0, 0, 0.55);
}

.queue-list-heading {
  display: flex;
  min-height: 32px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.queue-list-heading span,
.queue-list-heading button {
  padding: 0;
  border: 0;
  color: #77727f;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
}

.queue-list-heading button {
  color: #a996d4;
}

.queue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  width: 100%;
  min-height: 60px;
  padding: 0;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.queue-row-actions {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  grid-template-rows: 22px 24px;
  align-content: center;
  justify-content: center;
}

.queue-move-button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  color: #756b80;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.queue-move-button:disabled {
  opacity: 0.18;
  cursor: default;
}

.queue-track-main {
  display: grid;
  grid-template-columns: 18px 42px minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 8px 0;
  align-items: center;
  gap: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.queue-track-main > span:nth-child(3) {
  min-width: 0;
}

.queue-track-main:active {
  background: rgba(141, 92, 255, 0.055);
}

.queue-row img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
}

.queue-order,
.queue-track-main > em {
  color: #726e79;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  font-style: normal;
}

.queue-row.current .queue-order,
.queue-row.current strong {
  color: #cbb8f8;
}

.queue-row strong {
  font-size: 9px;
}

.queue-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.queue-remove-button {
  display: grid;
  grid-column: 1 / -1;
  width: 44px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #68636f;
  background: transparent;
  cursor: pointer;
}

.queue-remove-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.queue-remove-button:active:not(:disabled) {
  color: #d7c6ff;
}

.queue-remove-button:disabled {
  opacity: 0.18;
  cursor: default;
}

/* Reward reveal is reusable for achievement drops, invited-user grants, and purchases. */
.reward-unlock-dialog {
  width: min(calc(100% - 24px), 430px);
  max-width: 430px;
  max-height: calc(100svh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(191, 153, 255, 0.44);
  border-radius: 10px;
  color: var(--text);
  background: #07060b;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.82), 0 0 50px rgba(112, 49, 222, 0.2);
}

.reward-unlock-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.reward-unlock-frame {
  position: relative;
  min-height: 520px;
  padding: 38px 24px 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(124, 62, 232, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(99, 46, 187, 0.08), transparent 38%),
    #07060b;
}

.reward-unlock-close {
  position: absolute;
  z-index: 5;
  top: 13px;
  right: 13px;
}

.reward-unlock-frame > .eyebrow {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #a995d9;
}

.reward-unlock-kicker {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: #f2eaff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(184, 139, 255, 0.5);
}

.reward-unlock-visual {
  position: relative;
  z-index: 2;
  display: grid;
  height: 230px;
  margin: 6px -8px 0;
  place-items: center;
}

.reward-unlock-visual > span {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(191, 153, 255, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 66, 229, 0.26), rgba(127, 66, 229, 0.04) 42%, transparent 66%);
  box-shadow: inset 0 0 45px rgba(163, 102, 255, 0.08), 0 0 42px rgba(113, 52, 220, 0.14);
}

.reward-unlock-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(114%, 390px);
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 18px rgba(141, 92, 255, 0.24));
}

.reward-unlock-frame h2 {
  position: relative;
  z-index: 2;
  margin: -2px 0 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.reward-unlock-frame > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: 10px auto 0;
  color: #a9a2b1;
  font-size: 9px;
  line-height: 1.65;
}

.reward-unlock-serial {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(191, 153, 255, 0.3);
  border-radius: 4px;
  color: #d7c4ff;
  background: rgba(78, 34, 147, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.reward-unlock-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  margin-top: 20px;
  gap: 9px;
}

.reward-unlock-burst,
.reward-unlock-burst i {
  position: absolute;
  pointer-events: none;
}

.reward-unlock-burst {
  z-index: 1;
  top: 214px;
  left: 50%;
  width: 1px;
  height: 1px;
}

.reward-unlock-burst i {
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8a8ff;
  box-shadow: 0 0 9px currentColor;
  transform: rotate(var(--reward-angle)) translateY(-18px) scale(.2);
}

/* Toggling this class lets every new acquisition replay the complete reveal. */
.reward-unlock-dialog.is-revealing .reward-unlock-visual > span {
  animation: reward-halo 1800ms ease-out both;
}

.reward-unlock-dialog.is-revealing .reward-unlock-visual img {
  animation: reward-reveal 800ms cubic-bezier(.2, .85, .24, 1.15) both;
}

.reward-unlock-dialog.is-revealing .reward-unlock-burst i {
  animation: reward-particle 1050ms cubic-bezier(.18, .7, .18, 1) both;
}

.reward-unlock-burst i:nth-child(1) { --reward-angle: 8deg; animation-delay: 80ms; }
.reward-unlock-burst i:nth-child(2) { --reward-angle: 38deg; animation-delay: 150ms; }
.reward-unlock-burst i:nth-child(3) { --reward-angle: 68deg; animation-delay: 40ms; }
.reward-unlock-burst i:nth-child(4) { --reward-angle: 98deg; animation-delay: 180ms; }
.reward-unlock-burst i:nth-child(5) { --reward-angle: 128deg; animation-delay: 100ms; }
.reward-unlock-burst i:nth-child(6) { --reward-angle: 158deg; animation-delay: 220ms; }
.reward-unlock-burst i:nth-child(7) { --reward-angle: 188deg; animation-delay: 60ms; }
.reward-unlock-burst i:nth-child(8) { --reward-angle: 218deg; animation-delay: 170ms; }
.reward-unlock-burst i:nth-child(9) { --reward-angle: 248deg; animation-delay: 20ms; }
.reward-unlock-burst i:nth-child(10) { --reward-angle: 278deg; animation-delay: 200ms; }
.reward-unlock-burst i:nth-child(11) { --reward-angle: 308deg; animation-delay: 110ms; }
.reward-unlock-burst i:nth-child(12) { --reward-angle: 338deg; animation-delay: 240ms; }

@keyframes reward-reveal {
  0% { opacity: 0; transform: translateY(28px) scale(.74); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reward-halo {
  0% { opacity: 0; transform: scale(.42) rotate(-18deg); }
  55% { opacity: 1; }
  100% { opacity: .72; transform: scale(1) rotate(0); }
}

@keyframes reward-particle {
  0% { opacity: 0; transform: rotate(var(--reward-angle)) translateY(-18px) scale(.2); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--reward-angle)) translateY(-205px) scale(1); }
}

/* Keep the full reveal and both actions visible in short preview windows. */
@media (max-height: 620px) {
  .reward-unlock-frame {
    min-height: 0;
    padding: 28px 20px 16px;
  }

  .reward-unlock-kicker {
    margin-top: 4px;
  }

  .reward-unlock-visual {
    height: 172px;
    margin-top: 0;
  }

  .reward-unlock-visual > span {
    width: 166px;
    height: 166px;
  }

  .reward-unlock-visual img {
    height: 166px;
  }

  .reward-unlock-frame h2 {
    font-size: 20px;
  }

  .reward-unlock-frame > p:not(.eyebrow) {
    margin-top: 6px;
    font-size: 8px;
  }

  .reward-unlock-serial {
    margin-top: 8px;
    padding-block: 5px;
  }

  .reward-unlock-actions {
    margin-top: 12px;
  }

  .reward-unlock-burst {
    top: 166px;
  }
}

@media (hover: hover) {
  .dialog-close:hover {
    border-color: rgba(205, 174, 255, 0.48);
    color: #fff;
    background: rgba(51, 30, 79, 0.82);
  }

  .nav-item:hover:not(.active),
  .segmented-control button:hover:not(.active) {
    color: #aaa4b2;
  }

  .segmented-control button:hover {
    background: rgba(255, 255, 255, 0.018);
  }

  .primary-action:hover:not(:disabled) {
    border-color: rgba(221, 198, 255, 0.9);
    color: #fff;
    background:
      radial-gradient(circle at 50% -35%, rgba(207, 172, 255, 0.4), transparent 58%),
      linear-gradient(180deg, #3b1b62, #211037 72%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -8px 16px rgba(4, 1, 9, 0.38),
      0 0 0 2px rgba(141, 92, 255, 0.14),
      0 0 20px rgba(126, 61, 235, 0.34);
  }

  .secondary-action:hover:not(:disabled) {
    border-color: rgba(191, 153, 255, 0.42);
    color: #f0edf4;
    background:
      radial-gradient(circle at 50% -45%, rgba(141, 92, 255, 0.16), transparent 58%),
      linear-gradient(180deg, #17121f, #0c0911);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 12px rgba(103, 49, 196, 0.12);
  }

  .library-row:hover,
  .broadcast-row:hover,
  .show-row:hover,
  .radio-row:hover,
  button.account-setting-row:hover {
    background: rgba(141, 92, 255, 0.035);
  }
}

@media (max-width: 380px) {
  [data-segment-group="collection"] button {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 8px;
  }

  .ticket-archive-row {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .ticket-stub {
    width: 74px;
  }

  .ticket-archive-action {
    min-width: 50px;
  }

  .ticket-barcode {
    width: 125px;
  }

  .global-search {
    margin-right: -2px;
    margin-left: -2px;
  }

  .track-strip {
    grid-template-columns: 54px minmax(0, 1fr) 30px 32px;
  }

  .track-queue-button {
    width: 32px;
    height: 32px;
  }

  .page-intro,
  .page-panel,
  .discovery-band,
  .search-results,
  .artist-backing,
  .artist-popular,
  .artist-release,
  .artist-videos,
  .artist-live,
  .artist-drops,
  .artist-merch,
  .artist-landing-about {
    padding-right: 14px;
    padding-left: 14px;
  }

  .artist-live-feature {
    grid-template-columns: 42px minmax(0, 1fr) 66px;
    padding: 10px;
    gap: 8px;
  }

  .live-date-block {
    width: 42px;
    height: 42px;
  }

  .reminder-button {
    min-width: 66px;
    padding: 0 6px;
  }

  .artist-drop-feature {
    grid-template-columns: 104px minmax(0, 1fr) 14px;
    gap: 9px;
  }

  .artist-drop-visual {
    width: 104px;
    height: 82px;
  }

  .segmented-control {
    padding-right: 14px;
    padding-left: 14px;
  }

  .collection-stats {
    margin-right: -14px;
    margin-left: -14px;
  }

  .artist-landing-hero {
    height: 300px;
  }

  .collectible-stage {
    height: 202px;
  }

  .account-profile {
    grid-template-columns: 58px minmax(0, 1fr) 34px;
    padding-right: 14px;
    padding-left: 14px;
    gap: 10px;
  }

  .account-avatar-large {
    width: 58px;
    height: 58px;
  }

  .account-profile-edit {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .account-profile-edit span {
    display: none;
  }

  .account-balance,
  .account-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .membership-pass {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 10px;
    gap: 9px;
  }

  .membership-mark {
    width: 36px;
    height: 36px;
  }

  .account-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-field-wide {
    grid-column: auto;
  }

  .billing-payment-editor {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .billing-payment-editor label:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 520px) {
  .queue-drawer {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 8px;
  }
}

@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;
  }
}
