:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --surface: #141420;
  --line: #ffffff15;
  --text: #f0f0f5;
  --muted: #a3a3ba;
  --accent: #b78aff;
  --pink: #ec4899;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0, #a855f715, transparent 45%), var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
main {
  max-width: 1140px;
  margin: auto;
  padding: calc(var(--site-nav-height, 64px) + 34px) 24px 90px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -2px;
  line-height: 1.07;
  margin: 16px 0;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
p {
  color: var(--muted);
  line-height: 1.65;
}
.hero {
  max-width: 780px;
  margin-bottom: 32px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 21px;
  background: #ffffff08;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  background: #ffffff12;
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(110deg, #a855f7, #ec4899);
  border-color: transparent;
  color: white;
}
.button.small {
  padding: 9px 13px;
  font-size: 12px;
}
.button.danger {
  color: #ff9aaf;
}
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  margin-bottom: 24px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.6fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
input,
select {
  background: #0d0d16;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  padding: 12px;
  color: var(--text);
  width: 100%;
  min-width: 0;
}
input:focus,
select:focus {
  border-color: var(--accent);
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.look {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d16;
}
.look img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  cursor: zoom-in;
  background: #1a1a2e;
}
.look-body {
  padding: 14px;
}
.look-body input {
  margin: 0 0 9px;
}
.look-body .row {
  gap: 8px;
}
.look .label {
  font-size: 14px;
  font-weight: 600;
}
.look .hint {
  margin: 8px 0;
}
.placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #a855f710, #ec489910);
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
}
.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 7px;
  background: #a855f714;
  color: #c9a6ff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.mashup-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.mini-grid {
  display: flex;
  height: 190px;
  background: #1a1a2e;
}
.mini-grid img {
  width: 50%;
  object-fit: cover;
}
.card-body {
  padding: 22px;
}
.card-body h2 {
  margin: 14px 0;
  font-size: 21px;
}
.empty {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed #ffffff20;
  border-radius: 22px;
  color: var(--muted);
}
.upload {
  position: relative;
  overflow: hidden;
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sources .panel {
  margin: 0;
}
.source-fields {
  display: grid;
  gap: 12px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 850px;
  margin: 24px auto;
}
.vote-look {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.vote-look img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.vote-body {
  padding: 18px;
}
.vote-body .button {
  width: 100%;
  margin-top: 14px;
}
.voting {
  text-align: center;
}
.progress {
  height: 5px;
  background: #ffffff10;
  border-radius: 5px;
  overflow: hidden;
  max-width: 400px;
  margin: 24px auto;
}
.progress > div {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #ec4899);
}
.score {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 12px 0 0;
}
.bar {
  background: #ffffff10;
  height: 5px;
  border-radius: 4px;
  margin-top: 12px;
}
.bar > div {
  background: var(--accent);
  height: 100%;
  border-radius: 4px;
}
.share {
  max-width: 560px;
}
.share input {
  font-size: 12px;
  flex: 1;
  min-width: 160px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.sticky-actions {
  position: sticky;
  bottom: 16px;
  background: #191925f5;
  backdrop-filter: blur(15px);
  border: 1px solid #ffffff25;
  border-radius: 16px;
  padding: 16px;
  z-index: 3;
  margin-top: 25px;
}
.status {
  color: var(--muted);
  font-size: 12px;
}
.error {
  color: #ff9aaf;
}
.library {
  max-height: 470px;
  overflow: auto;
}
.library .grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
.library .button {
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #30243f;
  border: 1px solid #b78aff50;
  border-radius: 12px;
  padding: 15px 24px;
  z-index: 50;
  max-width: min(600px, 92vw);
  box-shadow: 0 10px 40px #0008;
}
dialog {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  max-width: 94vw;
  max-height: 94vh;
}
dialog::backdrop {
  background: #000c;
}
dialog img {
  display: block;
  max-width: 85vw;
  max-height: 77vh;
  object-fit: contain;
  margin-top: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}
.stats {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 700px) {
  main {
    padding: calc(var(--site-nav-height, 64px) + 20px) 16px 70px;
  }
  .fields,
  .sources {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .pair {
    gap: 12px;
  }
  .vote-body {
    padding: 12px;
  }
  .vote-body .button {
    padding: 12px 5px;
    font-size: 12px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .sticky-actions {
    bottom: 8px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .look-body {
    padding: 10px;
  }
  .hint {
    font-size: 11px;
  }
}

/* ── Quick-create picker ─────────────────────────────────────────── */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab:hover {
  color: var(--text);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.35);
}
.tab.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.14));
  border-color: rgba(168, 85, 247, 0.65);
  color: #fff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.16);
}
.tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.catalog-persona,
.catalog-credits {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-persona .select-input {
  width: auto;
  min-width: 160px;
  padding: 8px 12px;
  font-size: 13px;
}
.persona-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.persona-mismatch-note {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.persona-form-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
.persona-form-fields .text-input {
  flex: 1;
  min-width: 180px;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cat-pill:hover {
  border-color: rgba(168, 85, 247, 0.75);
  color: var(--text);
  background: rgba(168, 85, 247, 0.1);
}
.cat-pill.active {
  border-color: #a855f7;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.14));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.2);
}
.cat-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.free-badge {
  color: #86efac;
}
.look-placeholder {
  display: grid;
  place-content: center;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #a855f710, #ec489910);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}
.prep-failed {
  border-color: rgba(255, 154, 175, 0.35);
}
.prep-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1a2e;
}
.prep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
  filter: saturate(0.7);
}
.prep-spinner-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 15, 0.35);
}
.prep-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.25);
  border-top-color: #a855f7;
  animation: prepSpin 0.8s linear infinite;
}
@keyframes prepSpin {
  to {
    transform: rotate(360deg);
  }
}
.look.pick {
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.look.pick:hover {
  border-color: #3a3a55;
}
.look.pick.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(139, 139, 245, 0.25);
}
.look.pick[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.look.pick img {
  cursor: pointer;
}
.check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* ── Top-to-bottom ranked leaderboard & visual pick ledger ───────── */

.rank-section {
  margin-bottom: 24px;
}
.rank-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-row {
  display: grid;
  grid-template-columns: 58px 74px minmax(0, 1fr) 128px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rank-row:hover {
  border-color: rgba(183, 138, 255, 0.28);
}
.rank-row.is-top {
  grid-template-columns: 68px 92px minmax(0, 1fr) 136px;
  padding: 18px 20px;
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(125deg, rgba(168, 85, 247, 0.14), rgba(236, 72, 153, 0.08) 55%, var(--surface));
  box-shadow: 0 12px 34px rgba(168, 85, 247, 0.14);
}
.rank-num {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rank-row.is-top .rank-num {
  color: #fde68a;
  font-size: 17px;
}
.rank-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rank-row.is-top .rank-photo img {
  border-color: rgba(183, 138, 255, 0.45);
}
.rank-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rank-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.rank-title-row .label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.rank-row.is-top .rank-title-row .label {
  font-size: 17px;
}
.rank-crown-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #fde68a;
  font-size: 11px;
  font-weight: 600;
}
.rank-record {
  margin: 0;
}
.rank-beat {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.rank-beat-thumbs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.rank-beat-more {
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 2px 6px;
  font-variant-numeric: tabular-nums;
}
.rank-try-btn {
  align-self: flex-start;
  margin-top: 4px;
}
.rank-score-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.rank-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.rank-score strong {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1;
}
.rank-row.is-top .rank-score strong {
  font-size: 30px;
}
.rank-score-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.rank-score-empty {
  font-size: 18px;
  color: var(--muted);
}
.rank-bar {
  width: 100%;
  margin-top: 0;
  height: 6px;
}
.rank-row.is-top .rank-bar > div {
  background: linear-gradient(90deg, #a855f7, #ec4899);
}

.inline-look-thumb {
  width: 30px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1a2e;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  cursor: zoom-in;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.inline-look-thumb:hover {
  transform: scale(1.08);
  border-color: var(--accent);
}

.ledger-panel {
  padding: 18px 22px;
}
.ledger-details summary {
  margin-bottom: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ledger-details summary::-webkit-details-marker {
  display: none;
}
.ledger-summary-title {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ledger-summary-title::before {
  content: '▸';
  font-size: 12px;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.ledger-details[open] .ledger-summary-title::before {
  transform: rotate(90deg);
}
.ledger-sentence {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ledger-date {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .rank-row,
  .rank-row.is-top {
    grid-template-columns: 52px 60px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
  }
  .rank-score-col {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .rank-bar {
    flex: 1;
    max-width: 180px;
  }
}

/* ── Vote ledger ─────────────────────────────────────────────────── */

.ledger {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.ledger-row:last-child {
  border-bottom: 0;
}
.ledger-row .label {
  font-size: 14px;
  font-weight: 600;
}

/* ── A voter's own run ───────────────────────────────────────────── */

.my-champion {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: #12122a;
}
.my-champion img {
  width: 96px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  background: #1a1a2e;
}
.my-champion .look-body {
  padding: 0;
}
.picks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.pick-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pick-row:last-child {
  border-bottom: 0;
}
.pick-step {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1c1c2e;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.pick-row img {
  width: 56px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  background: #1a1a2e;
}
.pick-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pick-body .label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Round cues & dress-switching animations ─────────────────────── */

@keyframes pairCardIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes roundBannerIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes stagePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 138, 255, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(183, 138, 255, 0);
  }
}
@keyframes progressSlide {
  from {
    width: var(--from, 0%);
  }
}
.progress > div {
  animation: progressSlide 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tag.stage-change {
  border-color: var(--accent);
  color: #fff;
  animation: stagePulse 520ms ease-out;
}
.round-banner {
  display: inline-block;
  margin: 14px auto 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(183, 138, 255, 0.45);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  animation: roundBannerIn 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.option-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.vote-look {
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.pair.pair-enter .vote-look {
  animation: pairCardIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pair.pair-enter .vote-look:nth-child(2) {
  animation-delay: 40ms;
}
.vote-look.is-picked {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(183, 138, 255, 0.35), 0 14px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px) scale(1.012);
}
.pair.has-pick .vote-look:not(.is-picked) {
  opacity: 0.42;
  transform: scale(0.975);
}
.vote-tools {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

/* ── Subscription credit cards in mashup picker ── */
.credit-packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.credit-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.credit-pack.popular {
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.16);
}
.credit-pack-badge {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.credit-pack-credits {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 700;
}
.credit-pack.popular .credit-pack-credits {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(236, 72, 153, 0.24));
  border-color: rgba(236, 72, 153, 0.45);
  color: #fff;
}
.credit-pack .button {
  margin-top: auto;
  width: 100%;
}
.entitlement-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(183, 138, 255, 0.35);
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
  margin-bottom: 18px;
}
.entitlement-banner.locked {
  border-color: rgba(236, 72, 153, 0.5);
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.14), rgba(168, 85, 247, 0.1));
}
.entitlement-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.entitlement-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.entitlement-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.subpanel {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0d0d16;
  margin-bottom: 18px;
}
.subpanel h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
@media (max-width: 600px) {
  .credit-packs {
    grid-template-columns: 1fr;
  }
  .cat-pill {
    padding: 7px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress > div,
  .tag.stage-change,
  .round-banner,
  .pair.pair-enter .vote-look {
    animation: none;
  }
  .prep-spinner {
    animation-duration: 3s;
  }
  .vote-look,
  .cat-pill,
  .tab,
  .rank-row,
  .inline-look-thumb,
  .ledger-summary-title::before {
    transition: none;
  }
}
