:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #19202a;
  --muted: #667085;
  --line: #d9dee7;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --warn: #b42318;
  --gold: #b7791f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: #111827;
  color: white;
}

.brand {
  color: white;
  font-weight: 750;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar nav a {
  color: #e5e7eb;
  font-size: 14px;
}

.page {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 48px;
}

.narrow {
  width: min(520px, 100%);
  margin: 54px auto;
}

.page-head,
.guest-head,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

h1 {
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 42px);
}

h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

h3 {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font-size: 15px;
}

.muted {
  color: var(--muted);
}

.notice,
.alert {
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #bee3dc;
  background: #ecfdf5;
  color: #064e3b;
}

.alert {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.panel {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.dj-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #164e63;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92)),
    #111827;
  color: white;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.deck-main {
  min-width: 0;
}

.deck-label {
  margin-bottom: 6px;
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dj-hero h2 {
  margin-bottom: 4px;
  color: white;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.12;
}

.deck-next {
  color: #cbd5e1;
}

#audio-visualizer {
  display: block;
  width: 100%;
  height: 150px;
  margin: 14px 0;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  background: #0f172a;
}

.deck-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.big-action {
  min-height: 48px;
  padding: 10px 18px;
  border-color: #14b8a6;
  background: #14b8a6;
  color: #042f2e;
  font-weight: 850;
}

.big-action:hover {
  background: #2dd4bf;
}

.deck-controls .ghost,
.js-toggle-autoplay {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.js-toggle-autoplay.active,
.js-toggle-volume.active {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #1f1300;
}

.deck-side {
  display: grid;
  gap: 12px;
}

.mini-panel {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-panel span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
}

.mini-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.qr-mini .qr {
  width: 150px;
  padding: 6px;
  border-radius: 6px;
  background: white;
}

.grid {
  display: grid;
  gap: 18px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three {
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.metrics > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.metric {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

button.ghost,
.button.ghost,
.chip.ghost {
  background: white;
  color: var(--accent);
}

button.danger,
.button.danger {
  border-color: var(--warn);
  background: var(--warn);
}

.small {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c8d0dc;
  border-radius: 7px;
  background: white;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.form-grid {
  display: grid;
  gap: 12px;
}

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

.settings-grid button {
  grid-column: 1 / -1;
}

.inline-form,
.searchbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form input,
.searchbar input {
  flex: 1 1 240px;
}

.searchbar select {
  flex: 1 1 160px;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
}

.checkline input {
  width: auto;
  min-height: auto;
}

.compact {
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.path {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 13px;
  font-weight: 700;
}

.actions,
.export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr {
  width: min(240px, 100%);
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.candidate,
.song-result,
.request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.candidate:first-of-type,
.song-result:first-of-type,
.request-row:first-of-type {
  border-top: 0;
}

.candidate span,
.song-result span,
.request-row span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.candidate details {
  grid-column: 1 / -1;
}

.candidate pre {
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  border-radius: 7px;
  background: #101828;
  color: #e5e7eb;
  font-size: 12px;
}

.score {
  min-width: 68px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #fff7ed;
  color: var(--gold);
  font-weight: 800;
  text-align: center;
}

.audio-player {
  width: 100%;
  margin: 4px 0 14px;
  accent-color: var(--accent);
}

.dj-console {
  border-color: #99d6ce;
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.08);
}

.dj-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.dj-searchbar input[type="search"] {
  min-height: 48px;
  font-size: 17px;
}

.dj-favorites-toggle {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}

.rating-help {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  border-radius: 7px;
  background: #fffbeb;
  color: #78350f;
  font-size: 14px;
}

.song-search-results {
  display: grid;
  gap: 10px;
}

.style-board-panel {
  overflow: hidden;
}

.style-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.style-column {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.style-column h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 16px;
}

.style-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #e5e7eb;
}

.style-song:first-of-type {
  border-top: 0;
}

.style-song.active-flow {
  margin: 6px -6px;
  padding: 9px 6px;
  border-radius: 7px;
  background: #fff7ed;
}

.style-song strong,
.style-song span {
  display: block;
}

.style-song strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-song span {
  color: var(--muted);
  font-size: 12px;
}

.style-score {
  min-width: 44px;
  padding: 5px 6px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  text-align: center;
}

.style-song button {
  grid-column: 1 / -1;
}

.song-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.song-pick strong {
  display: block;
}

.song-pick span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.song-pick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.star-button {
  min-width: 40px;
  padding-inline: 10px;
  border-color: #d0d5dd;
  background: white;
  color: #667085;
  font-size: 18px;
  line-height: 1;
}

.star-button.active {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #b45309;
}

.mini {
  width: 110px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  border-radius: 999px;
}

.guest-profile-panel {
  padding: 14px;
}

.compact-profile {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 140px) auto;
  align-items: end;
}

.today-style-panel {
  border-color: #0f766e;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 58%);
}

.today-style-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.today-substyles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.today-substyle-family {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.today-substyle-family h3 {
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.today-style-button {
  display: grid;
  width: 100%;
  min-height: 108px;
  gap: 8px;
  align-content: space-between;
  justify-items: start;
  border: 1px solid #d0d5dd;
  border-top-width: 5px;
  background: white;
  color: #1d2939;
  text-align: left;
}

.today-style-button.active {
  border-color: #0f766e;
  background: #0f766e;
  color: white;
}

.today-style-name {
  overflow: hidden;
  font-size: 19px;
  font-weight: 880;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-style-count {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.today-style-button.active .today-style-count {
  color: rgba(255, 255, 255, 0.82);
}

.today-style-state {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

.today-style-button.active .today-style-state {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.guest-search-panel {
  position: relative;
  z-index: 1;
  border-color: #c8d0dc;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.guest-search-panel input[type="search"] {
  min-height: 56px;
  font-size: 18px;
  font-weight: 720;
}

.guest-search-box {
  position: relative;
  z-index: 4;
}

.guest-live-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
}

.guest-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: 320px;
  overflow: auto;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  z-index: 10;
}

.guest-suggestions.open {
  display: grid;
}

.guest-suggestion {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 48px;
  gap: 9px;
  align-items: center;
  justify-items: stretch;
  padding: 7px 10px;
  border-color: transparent;
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  text-align: left;
}

.guest-suggestion:hover,
.guest-suggestion:focus-visible {
  border-color: #0f766e;
  background: #f0fdfa;
}

.guest-suggestion-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.guest-suggestion-main {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.guest-suggestion-main strong,
.guest-suggestion-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-suggestion-main strong {
  color: #1d2939;
  font-size: 14px;
}

.guest-suggestion-main small {
  color: #667085;
  font-size: 12px;
}

.guest-suggestion-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 138, 42, 0.35);
  border-radius: 999px;
  background: rgba(255, 138, 42, 0.12);
  color: #9a3412;
  font-size: 11px;
  font-weight: 900;
}

.guest-live-results.loading {
  opacity: 0.68;
}

.guest-live-results-inline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.guest-style-hot-lists {
  margin-top: 18px;
}

.live-mix-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.live-mix-card {
  --style-accent: var(--accent);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--style-accent) 36%, transparent);
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 13%, transparent), rgba(255, 255, 255, 0.04));
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.live-mix-card:hover,
.live-mix-card:focus-visible {
  border-color: color-mix(in srgb, var(--style-accent) 62%, white 8%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 22%, transparent), rgba(255, 255, 255, 0.06));
}

.live-mix-card span {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-mix-card strong {
  color: color-mix(in srgb, var(--style-accent) 76%, white 18%);
  font-size: 22px;
  line-height: 1;
}

.live-mix-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.fasi-preview-card {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(33, 212, 196, 0.22);
  border-radius: 8px;
  background: rgba(16, 23, 38, 0.66);
}

.fasi-preview-card h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 17px;
}

.fasi-preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.style-hot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.style-hot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.style-hot-tab {
  min-height: 38px;
  padding: 7px 11px;
  border-color: #c8d0dc;
  background: white;
  color: #344054;
  font-weight: 850;
}

.style-hot-tab.active {
  border-color: #0f766e;
  background: #0f766e;
  color: white;
}

.style-hot-panels {
  display: grid;
}

.style-hot-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.style-hot-list h3 {
  margin: 0;
  color: #344054;
  font-size: 15px;
}

.style-hot-song {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.style-hot-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.heat-pill {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412 !important;
  font-weight: 850;
}

.style-hot-like {
  min-width: 92px;
}

.guest-song-card.selected {
  border-color: #14b8a6;
  background: #f0fdfa;
}

.selection-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin-bottom: 5px;
}

.selection-badges:empty {
  display: none;
}

.selection-badges span {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: #0f766e;
  color: white;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.my-list-panel {
  border-color: #fed7aa;
  background: #fffaf5;
}

.guest-my-list {
  display: grid;
  gap: 8px;
}

.my-song-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: white;
}

.compact-actions {
  grid-template-columns: repeat(3, minmax(76px, 1fr));
}

.compact-head {
  margin-bottom: 12px;
}

.compact-head h2 {
  margin-bottom: 2px;
}

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

.style-family {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid #d9dee7;
  border-top: 5px solid #344054;
  border-radius: 8px;
  background: #fbfcfe;
}

.style-family-bachata {
  border-top-color: #db2777;
}

.style-family-salsa {
  border-top-color: #dc2626;
}

.style-family-kizomba {
  border-top-color: #7c3aed;
}

.style-family-zouk {
  border-top-color: #2563eb;
}

.style-family-latin {
  border-top-color: #d97706;
}

.style-family.selected {
  border-color: #14b8a6;
  border-top-color: #0f766e;
  background: #ecfdf5;
}

.style-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 86px;
  gap: 7px 10px;
  align-items: center;
  border-color: #344054;
  background: #344054;
  color: white;
  font-size: 16px;
  text-align: left;
}

.style-name {
  overflow: hidden;
  font-size: 20px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-meta {
  display: grid;
  justify-items: center;
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.style-meta strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  line-height: 1;
}

.style-preset,
.style-state {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.style-state {
  justify-self: end;
  background: #f8fafc;
  color: #344054;
}

.style-chip.active {
  border-color: #0f766e;
  background: #0f766e;
}

.substyle-group {
  display: grid;
  gap: 8px;
}

.substyle-title {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.substyle-chip {
  display: inline-flex;
  gap: 7px;
  min-height: 32px;
  padding: 5px 10px;
  border-color: #d0d5dd;
  background: white;
  color: #344054;
}

.substyle-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.substyle-count {
  display: inline-flex;
  min-width: 22px;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
}

.substyle-chip.active {
  border-color: #b7791f;
  background: #fffbeb;
  color: #78350f;
}

.guest-top-grid h2 {
  margin-bottom: 10px;
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #c8d0dc;
  border-radius: 999px;
  background: white;
  color: #344054;
  font-weight: 800;
}

.preview-tab:hover {
  text-decoration: none;
}

.preview-tab.active {
  border-color: #0f766e;
  background: #0f766e;
  color: white;
}

.preview-tab span {
  display: inline-flex;
  min-width: 24px;
  justify-content: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
}

.preview-tab.active span {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

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

.mini-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fbfcfe;
}

.playlist-preview-song {
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.preview-rank {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857 !important;
  font-weight: 850;
}

.preview-signal {
  margin-top: 3px;
}

.mini-song strong,
.mini-song span {
  display: block;
}

.mini-song strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-song span {
  color: var(--muted);
  font-size: 13px;
}

.pill-count {
  min-width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412 !important;
  font-weight: 800;
}

.guest-song-card {
  gap: 14px;
}

.song-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.song-counts span {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.vote-button,
.wish-button {
  min-width: 88px;
  min-height: 38px;
  gap: 7px;
  border-color: #d0d5dd;
  background: white;
  color: #344054;
}

.vote-button span,
.wish-button span {
  display: inline-flex;
  min-width: 22px;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 12px;
}

.vote-button.active {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #064e3b;
}

.vote-button.down.active {
  border-color: #b42318;
  background: #fef2f2;
  color: #991b1b;
}

.wish-button {
  border-color: #0f766e;
  background: #0f766e;
  color: white;
}

.wish-button.active {
  border-color: #b7791f;
  background: #fffbeb;
  color: #78350f;
}

.song-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.fire-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 4px;
  max-width: 260px;
}

.fire {
  min-height: 38px;
  gap: 7px;
  padding: 6px 9px;
  border-color: #f59e0b;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
}

.fire.active {
  border-color: #b7791f;
  background: #f59e0b;
  color: #111827;
}

.external-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
}

.privacy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .topbar,
  .page-head,
  .guest-head,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .two,
  .three,
  .today-style-grid,
  .today-substyles,
  .style-hot-grid,
  .style-grid,
  .dj-hero,
  .metrics {
    grid-template-columns: 1fr;
  }

  .compact-profile {
    grid-template-columns: 1fr;
  }

  .today-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-substyles {
    grid-template-columns: 1fr;
  }

  .today-style-button {
    min-height: 92px;
  }

  .guest-search-panel {
    position: static;
  }

  .guest-live-search {
    grid-template-columns: 1fr;
  }

  .style-chip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .preview-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-tab {
    justify-content: space-between;
  }

  .candidate,
  .song-result,
  .my-song-card,
  .request-row,
  .playlist-preview-song,
  .style-hot-song {
    grid-template-columns: 1fr;
  }

  .style-hot-actions {
    justify-items: stretch;
  }

  .song-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
  }

  .song-actions form,
  .song-actions button {
    width: 100%;
  }

  .song-actions .fire-row {
    grid-column: 1 / -1;
  }

  .dj-searchbar,
  .song-pick {
    grid-template-columns: 1fr;
  }

  .song-pick-actions {
    justify-content: stretch;
  }

  .song-pick-actions button {
    flex: 1 1 auto;
  }

  .fire-row {
    justify-content: start;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .style-board {
    grid-template-columns: 1fr;
  }
}

/* DJ AlgoRitmo guest app */
body.guest-app {
  --bg: #050814;
  --surface: #101726;
  --surface-soft: #162033;
  --text: #f8fafc;
  --muted: #a8b3c5;
  --primary: #21d4c4;
  --accent-fire: #ff8a2a;
  --accent-bachata: #f04f9a;
  --accent-salsa: #ff6b35;
  --accent-kizomba: #23d6c7;
  --accent-zouk: #9b6cff;
  --accent-latin: #f7b84b;
  --border: rgba(148, 163, 184, 0.22);
  --success: #31d477;
  --warning: #f7b84b;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% -10%, rgba(33, 212, 196, 0.18), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(240, 79, 154, 0.15), transparent 28%),
    linear-gradient(180deg, #050814 0%, #09111f 56%, #050814 100%);
  color: var(--text);
  color-scheme: dark;
}

.guest-app a {
  color: var(--primary);
}

.guest-app button,
.guest-app .button {
  min-height: 44px;
  border-color: rgba(33, 212, 196, 0.42);
  background: rgba(33, 212, 196, 0.16);
  color: var(--text);
  border-radius: 8px;
}

.guest-app button:hover,
.guest-app .button:hover {
  background: rgba(33, 212, 196, 0.25);
}

.guest-app button:focus-visible,
.guest-app a:focus-visible,
.guest-app input:focus-visible,
.guest-app textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.guest-app input,
.guest-app textarea {
  min-height: 48px;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(8, 13, 26, 0.82);
  color: var(--text);
}

.guest-app label {
  color: var(--text);
}

.guest-app input::placeholder,
.guest-app textarea::placeholder {
  color: #7e8aa0;
}

.guest-app .muted {
  color: var(--muted);
}

.guest-app .guest-page {
  width: min(1040px, calc(100% - 24px));
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 18px) 0 calc(env(safe-area-inset-bottom) + 104px);
}

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

.guest-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(33, 212, 196, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 22, 39, 0.96), rgba(12, 18, 33, 0.72)),
    var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

.compact-guest-hero {
  min-height: 112px;
}

.guest-brand-mark {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 54px;
  min-width: 54px;
  height: 64px;
  color: var(--primary);
}

.guest-brand-mark span {
  display: block;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), #0b8f85);
  box-shadow: 0 0 18px rgba(33, 212, 196, 0.42);
}

.guest-brand-mark span:nth-child(1) { height: 30px; }
.guest-brand-mark span:nth-child(2) { height: 50px; }
.guest-brand-mark span:nth-child(3) { height: 64px; }
.guest-brand-mark span:nth-child(4) { height: 42px; }

.event-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guest-hero h1 {
  margin: 0;
  font-size: clamp(32px, 8vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.guest-claim {
  margin: 8px 0 12px;
  color: var(--primary);
  font-size: clamp(15px, 4vw, 20px);
  font-weight: 760;
}

.live-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(49, 212, 119, 0.34);
  border-radius: 999px;
  background: rgba(49, 212, 119, 0.12);
  color: #7cf3a4;
  font-weight: 850;
}

.live-chip span {
  color: var(--success);
}

.guest-live-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.guest-language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.guest-language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
}

.guest-language-switcher a.active {
  border-color: rgba(33, 212, 196, 0.48);
  background: rgba(33, 212, 196, 0.13);
  color: var(--primary);
}

.guest-screen {
  scroll-margin-top: 18px;
  margin: 22px 0;
}

.guest-screen[hidden] {
  display: none !important;
}

.guest-locked-screen {
  display: grid;
  min-height: 46vh;
  place-items: center;
}

.guest-locked-card {
  width: min(100%, 520px);
  padding: 22px;
  border: 1px solid rgba(33, 212, 196, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(33, 212, 196, 0.12), rgba(255, 87, 145, 0.08)),
    rgba(10, 15, 27, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.locked-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-locked-card h2 {
  margin: 0 0 8px;
  color: var(--text);
}

.guest-locked-card p {
  margin: 0;
  color: var(--muted);
}

.locked-status,
.guest-warmup-banner {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 184, 77, 0.28);
  border-radius: 8px;
  background: rgba(255, 184, 77, 0.09);
  color: var(--text);
}

.locked-status span,
.guest-warmup-banner span {
  color: var(--muted);
  font-size: 13px;
}

.guest-warmup-banner {
  width: min(100%, 960px);
  margin: 0 auto 14px;
}

.screen-copy {
  margin-bottom: 14px;
}

.screen-copy h2 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.1;
}

.screen-copy p {
  margin: 0;
  color: var(--muted);
}

.guest-vote-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(33, 212, 196, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(33, 212, 196, 0.12), rgba(255, 138, 42, 0.08)),
    rgba(16, 23, 38, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.guest-vote-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.guest-vote-kicker,
.guest-link-pill span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-vote-copy strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
}

.guest-vote-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guest-link-pill {
  display: grid;
  gap: 3px;
  justify-items: end;
  max-width: 280px;
  padding: 9px 11px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.guest-link-pill code {
  overflow: hidden;
  max-width: 100%;
  color: #e6eef8;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-search-box {
  position: relative;
  z-index: 6;
}

.guest-app .guest-live-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: stretch;
}

.guest-app .guest-live-search input[type="search"] {
  min-height: 56px;
  border-color: rgba(33, 212, 196, 0.32);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.96);
  font-size: 16px;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(33, 212, 196, 0.04), 0 12px 32px rgba(0, 0, 0, 0.28);
}

.guest-app .guest-live-search .ghost {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.guest-app .guest-suggestions {
  border-color: rgba(33, 212, 196, 0.24);
  background: rgba(12, 18, 32, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}

.guest-app .guest-suggestion {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.guest-app .guest-suggestion:hover,
.guest-app .guest-suggestion:focus-visible {
  border-color: var(--primary);
  background: rgba(33, 212, 196, 0.12);
}

.guest-app .guest-suggestion-kind {
  background: rgba(155, 108, 255, 0.18);
  color: #cab8ff;
}

.guest-app .guest-suggestion-main strong {
  color: var(--text);
}

.guest-app .guest-suggestion-main small {
  color: var(--muted);
}

.guest-app .guest-suggestion-action {
  color: #ffd3ab;
}

.guest-live-results-inline,
.guest-my-list,
.mini-song-list,
.style-accordion-list {
  display: grid;
  gap: 10px;
}

.guest-song-card,
.guest-app .mini-song,
.guest-app .my-song-card,
.guest-app .request-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 23, 38, 0.84);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.guest-song-card.selected,
.guest-app .my-song-card.selected {
  border-color: rgba(33, 212, 196, 0.48);
  background: linear-gradient(135deg, rgba(33, 212, 196, 0.13), rgba(16, 23, 38, 0.92));
}

.guest-song-card.saving {
  border-color: rgba(255, 184, 75, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 184, 75, 0.14), 0 10px 28px rgba(0, 0, 0, 0.18);
}

.song-cover {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 212, 196, 0.22), rgba(155, 108, 255, 0.2));
  color: var(--primary);
  font-weight: 900;
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-cover span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.small-cover {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
}

.guest-song-main {
  min-width: 0;
}

.guest-song-main strong,
.guest-app .mini-song strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-song-main > span,
.guest-app .mini-song span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

.selection-badges:empty {
  display: none;
}

.selection-badges span {
  display: inline-flex;
  padding: 2px 7px;
  border: 1px solid rgba(33, 212, 196, 0.26);
  border-radius: 999px;
  background: rgba(33, 212, 196, 0.14);
  color: #9af8ef;
  font-size: 10px;
  font-weight: 850;
  text-transform: none;
}

.song-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.song-counts span {
  display: inline-flex;
  padding: 2px 7px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d6deeb;
  font-size: 11px;
  font-weight: 750;
}

.public-signals span {
  border-color: rgba(255, 138, 42, 0.18);
  background: rgba(255, 138, 42, 0.1);
  color: #ffd3ab;
}

.song-status-line {
  margin: 6px 0 0;
  color: #8df2b1;
  font-size: 12px;
}

.guest-app .song-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.guest-app .song-actions form {
  display: contents;
}

.guest-app .vote-button,
.guest-app .wish-button,
.guest-app .fire,
.guest-app .dislike-button {
  min-width: 86px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.guest-app .vote-button:active,
.guest-app .wish-button:active,
.guest-app .fire:active,
.guest-app .dislike-button:active {
  transform: scale(0.97);
}

.guest-app .song-actions button.saving {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: saturate(1.08);
}

.guest-app .vote-button {
  border-color: rgba(33, 212, 196, 0.34);
  background: rgba(33, 212, 196, 0.11);
  color: #bdfcf6;
}

.guest-app .vote-button.active {
  border-color: rgba(49, 212, 119, 0.54);
  background: rgba(49, 212, 119, 0.18);
  color: #8df2b1;
}

.guest-app .wish-button,
.guest-app .fire {
  border-color: rgba(255, 138, 42, 0.48);
  background: rgba(255, 138, 42, 0.15);
  color: #ffd3ab;
  min-width: 112px;
}

.guest-app .wish-button.active,
.guest-app .fire.active {
  border-color: rgba(255, 184, 75, 0.72);
  background: rgba(255, 184, 75, 0.23);
  color: #ffe2ab;
}

.guest-app .dislike-button {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
}

.guest-app .dislike-button.active {
  border-color: rgba(240, 79, 154, 0.52);
  background: rgba(240, 79, 154, 0.16);
  color: #ffd1e7;
}

.external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
}

.missing-song-box,
.guest-success,
.history-teaser,
.privacy-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(16, 23, 38, 0.66);
}

.missing-song-box h3,
.history-teaser h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.missing-song-box p,
.history-teaser p,
.privacy-panel p {
  margin: 0;
  color: var(--muted);
}

.compact-missing-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.compact-missing-form label:nth-of-type(4),
.compact-missing-form button {
  grid-column: 1 / -1;
}

.guest-success {
  border-color: rgba(49, 212, 119, 0.32);
  background: rgba(49, 212, 119, 0.12);
  color: #9df5bb;
  font-weight: 760;
}

.quick-area {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.quick-row h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.popular-chips,
.style-hot-tabs,
.my-list-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popular-chips a,
.style-hot-tab,
.my-list-tabs a {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.popular-chips a:hover,
.my-list-tabs a:hover {
  border-color: var(--primary);
  text-decoration: none;
}

.style-hot-tab.active {
  border-color: rgba(33, 212, 196, 0.58);
  background: rgba(33, 212, 196, 0.18);
  color: #bdfcf6;
}

.quick-head p,
.style-help {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.quick-style-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.quick-style-card {
  --style-accent: var(--primary);
  display: grid;
  width: 100%;
  min-height: 96px;
  align-content: space-between;
  justify-items: start;
  gap: 8px;
  padding: 12px;
  border-color: color-mix(in srgb, var(--style-accent) 45%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 16%, transparent), rgba(16, 23, 38, 0.9));
  text-align: left;
}

.quick-style-card.active {
  border-color: color-mix(in srgb, var(--style-accent) 72%, white 10%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 28%, transparent), rgba(16, 23, 38, 0.96));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--style-accent) 18%, transparent);
}

.quick-style-name {
  font-size: 17px;
  font-weight: 900;
}

.quick-style-count,
.quick-style-state {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-style-state {
  color: var(--text);
}

.style-family-bachata { --style-accent: var(--accent-bachata); }
.style-family-salsa { --style-accent: var(--accent-salsa); }
.style-family-kizomba { --style-accent: var(--accent-kizomba); }
.style-family-zouk { --style-accent: var(--accent-zouk); }
.style-family-latin { --style-accent: var(--accent-latin); }

.style-accordion-card {
  --style-accent: var(--primary);
  border: 1px solid color-mix(in srgb, var(--style-accent) 34%, transparent);
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 9%, transparent), rgba(16, 23, 38, 0.88));
  overflow: hidden;
}

.style-accordion-card.selected {
  border-color: color-mix(in srgb, var(--style-accent) 58%, white 8%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 42%, rgba(16, 23, 38, 0.95)), color-mix(in srgb, var(--style-accent) 18%, rgba(8, 13, 24, 0.95)));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--style-accent) 24%, transparent), 0 16px 34px rgba(0, 0, 0, 0.26);
}

.style-accordion-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: stretch;
  padding: 10px;
}

.style-accordion-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  width: 100%;
  gap: 10px;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
}

.style-accordion-main.active {
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--style-accent) 42%, rgba(255, 255, 255, 0.04)), color-mix(in srgb, var(--style-accent) 18%, transparent));
}

.style-accordion-main:hover {
  background: rgba(255, 255, 255, 0.04);
}

.style-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--style-accent) 20%, transparent);
  color: color-mix(in srgb, var(--style-accent) 82%, white 12%);
  font-size: 13px;
  font-weight: 950;
}

.style-title-block {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.style-title-block strong {
  color: var(--text);
  font-size: 17px;
}

.style-title-block small {
  color: var(--muted);
  font-size: 12px;
}

.style-state {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.style-accordion-main.active .style-state {
  background: color-mix(in srgb, var(--style-accent) 74%, rgba(8, 13, 24, 0.36));
  color: #fff;
}

.style-accordion-toggle {
  min-width: 44px;
  padding: 0;
  border-color: color-mix(in srgb, var(--style-accent) 34%, transparent);
  background: rgba(255, 255, 255, 0.04);
  color: color-mix(in srgb, var(--style-accent) 76%, white 18%);
  font-size: 22px;
}

.style-accordion-panel {
  padding: 0 12px 12px 66px;
}

.substyle-title {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.substyle-chip {
  display: inline-flex;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.substyle-chip.active {
  border-color: color-mix(in srgb, var(--style-accent) 76%, white 8%);
  background: color-mix(in srgb, var(--style-accent) 32%, rgba(255, 255, 255, 0.04));
  color: #fff;
}

.disabled-chip {
  opacity: 0.54;
}

.substyle-count {
  display: inline-flex;
  min-width: 22px;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.style-help {
  margin: 12px 0 0;
}

.style-hot-list h3 {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 17px;
}

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

.preview-rank {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 184, 75, 0.18);
  color: #ffe2ab !important;
  font-size: 12px;
  font-weight: 900;
}

.preview-signal {
  margin-top: 3px;
  color: #ffd3ab !important;
}

.style-hot-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.heat-pill {
  width: max-content;
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 42, 0.34);
  border-radius: 999px;
  background: rgba(255, 138, 42, 0.16);
  color: #ffd3ab !important;
  font-weight: 900;
}

.trend-more-button {
  width: 100%;
  margin-top: 10px;
}

.my-list-tabs {
  margin-bottom: 12px;
}

.my-list-anchors {
  position: relative;
}

.history-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-row {
  grid-template-columns: 54px 38px minmax(0, 1fr);
}

.history-row time {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.guest-list-heading {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 17px;
}

.guest-app .alert {
  border-color: rgba(255, 138, 42, 0.38);
  background: rgba(255, 138, 42, 0.12);
  color: #ffd3ab;
}

.privacy-panel {
  margin-bottom: 8px;
  font-size: 13px;
}

.privacy-panel details {
  margin-top: 8px;
  color: var(--muted);
}

.privacy-panel summary {
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
}

.guest-bottom-nav {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: 0;
  left: max(12px, env(safe-area-inset-left));
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(680px, calc(100% - 24px));
  margin: 0 auto;
  padding: 8px 8px calc(env(safe-area-inset-bottom) + 8px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(8, 13, 26, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.42);
}

.guest-bottom-nav a {
  display: grid;
  gap: 3px;
  justify-items: center;
  min-height: 54px;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.guest-bottom-nav a:hover {
  text-decoration: none;
}

.guest-bottom-nav a span {
  font-size: 19px;
  line-height: 1;
}

.guest-bottom-nav a strong {
  overflow: hidden;
  max-width: 100%;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-bottom-nav a.active {
  border-color: rgba(33, 212, 196, 0.34);
  background: rgba(33, 212, 196, 0.12);
  color: var(--primary);
}

.guest-action-toast {
  position: fixed;
  right: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 88px);
  z-index: 120;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid rgba(49, 212, 119, 0.38);
  border-radius: 999px;
  background: rgba(8, 13, 26, 0.94);
  color: #9df5bb;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 12px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.guest-action-toast[data-kind="error"] {
  border-color: rgba(240, 79, 154, 0.44);
  color: #ffd1e7;
}

.guest-action-toast.visible {
  opacity: 1;
  transform: translate(50%, 0);
}

@media (min-width: 821px) {
  .guest-app .guest-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-screen {
    width: min(820px, 100%);
    justify-self: center;
  }

  .guest-hero,
  .privacy-panel {
    width: min(820px, 100%);
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .guest-app .guest-page {
    width: min(100% - 20px, 720px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 96px);
  }

  .guest-hero {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 138px;
    padding: 14px;
  }

  .guest-brand-mark {
    width: 42px;
    min-width: 42px;
    height: 52px;
  }

  .guest-app .guest-live-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-vote-console {
    grid-template-columns: 1fr;
  }

  .guest-link-pill {
    justify-items: start;
    max-width: none;
    border-radius: 10px;
  }

  .guest-app .guest-live-search button,
  .guest-app .guest-live-search .button {
    width: 100%;
  }

  .guest-suggestion,
  .guest-app .guest-suggestion {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .guest-suggestion-action {
    grid-column: 2;
    justify-self: start;
  }

  .quick-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-mix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-style-grid form:last-child {
    grid-column: 1 / -1;
  }

  .compact-missing-form {
    grid-template-columns: 1fr;
  }

  .compact-missing-form label:nth-of-type(4),
  .compact-missing-form button {
    grid-column: auto;
  }

  .guest-song-card,
  .guest-app .mini-song,
  .guest-app .my-song-card,
  .guest-app .request-row,
  .style-hot-song {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .guest-app .guest-song-card {
    padding: 8px;
  }

  .history-row {
    grid-template-columns: 48px 38px minmax(0, 1fr);
  }

  .style-hot-song {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .style-hot-song .preview-rank {
    grid-column: 1;
    grid-row: 1;
  }

  .style-hot-song .small-cover {
    display: none;
  }

  .guest-app .song-actions,
  .style-hot-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
  }

  .style-hot-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
  }

  .guest-app .song-actions button,
  .style-hot-actions button {
    width: auto;
    min-width: 0;
  }

  .style-hot-actions .heat-pill {
    padding: 4px 7px;
    font-size: 12px;
  }

  .style-hot-actions .vote-button,
  .style-hot-actions .wish-button {
    min-width: 82px;
    min-height: 34px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .style-accordion-top {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .style-accordion-main {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .style-accordion-main .style-state {
    grid-column: 2;
    justify-self: start;
  }

  .style-accordion-panel {
    padding-left: 12px;
  }

  .history-teaser {
    align-items: stretch;
    flex-direction: column;
  }
}

@supports not (color: color-mix(in srgb, white, black)) {
  .quick-style-card,
  .style-accordion-card {
    border-color: rgba(33, 212, 196, 0.34);
  }
}
