@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #070b16;
  --panel: rgba(15, 23, 42, .78);
  --line: rgba(148, 163, 184, .16);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #a78bfa;
  --magenta: #c026d3;
  --green: #34d399;
  --pink: #fb7185;
  --amber: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { max-width: 100%; overflow-x: clip; }

body {
  min-height: 100vh;
  font-family: Outfit, Inter, Arial, sans-serif;
  letter-spacing: -.01em;
  background:
    linear-gradient(180deg, rgba(7,11,22,.72), rgba(7,11,22,.88)),
    url("brand/hero.jpg") center/cover no-repeat fixed;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 16px 18px 0;
  background: transparent;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(9, 11, 25, .82), rgba(22, 18, 47, .72)),
    radial-gradient(circle at 20% 10%, rgba(110, 86, 255, .20), transparent 38%),
    radial-gradient(circle at 80% 0%, rgba(0, 225, 255, .12), transparent 34%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 22px 60px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  height: 77px;
  width: 77px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(34,211,238,.40));
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 28px rgba(34,211,238,.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: lowercase;
}

.brand-text small {
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-center a {
  position: relative;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.nav-center a:hover,
.nav-center a.active { color: #fff; }

.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #22d3ee;
  box-shadow: 0 0 16px rgba(34,211,238,.85);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.user-chip img,
.user-fallback {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
}

.user-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.35), rgba(167,139,250,.35));
  color: #e0faff;
  font-size: 11px;
  font-weight: 900;
}

.user-chip span {
  font-size: 13px;
  font-weight: 800;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cta,
.btn {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.header-cta,
.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, #22d3ee, #c026d3);
  box-shadow:
    0 0 24px rgba(34,211,238,.30),
    0 10px 30px rgba(192,38,211,.22);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.72);
  border: 0;
  min-height: 42px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.btn-block { width: 100%; height: 52px; }

.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

.auth-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 16px 80px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.auth-layout > section:first-child {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(7,11,22,.05) 20%, rgba(7,11,22,.82)),
    url("brand/hero.jpg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
}

.eyebrow {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.hero-title {
  margin-top: 14px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .84;
  letter-spacing: -.082em;
  font-weight: 950;
  max-width: 640px;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 560px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}

.stat-strip {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill,
.story-card {
  border-radius: 22px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(34,211,238,.18), transparent 42%),
    linear-gradient(180deg, rgba(2,6,23,.68), rgba(2,6,23,.38));
  border: 1px solid rgba(103,232,249,.18);
  min-width: 140px;
}

.story-card strong,
.stat-pill strong {
  display: block;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
}

.story-card span,
.stat-pill span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.auth-card {
  border-radius: 32px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.16), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.82));
  border: 1px solid rgba(226,232,240,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  backdrop-filter: blur(16px);
}

.auth-card h2 {
  font-size: 28px;
  letter-spacing: -.05em;
  font-weight: 950;
}

.auth-card p.lead {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(255,255,255,.06);
}

.auth-tabs button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.auth-tabs button.active {
  background: rgba(34,211,238,.12);
  color: #fff;
  border: 1px solid rgba(34,211,238,.22);
}

.field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(2,6,23,.74);
  border: 1px solid rgba(148,163,184,.22);
  color: #e2e8f0;
  font-size: 15px;
  font-family: inherit;
}

textarea.field {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 90px;
}

.field:focus {
  outline: none;
  border-color: rgba(34,211,238,.75);
  box-shadow: 0 0 0 4px rgba(34,211,238,.10);
}

.form-stack { display: grid; gap: 12px; margin-top: 8px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.08);
}

.google-btn {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #111827;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.google-btn svg { width: 18px; height: 18px; }

.form-msg {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fb7185;
}

.form-msg.ok { color: #34d399; }

.hint {
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.dash-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 22px;
}

.dash-head h1 {
  margin-top: 6px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 950;
}

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

.header-inner { grid-template-columns: auto 1fr auto; }
.dash-head { border-left: 1px solid rgba(255,255,255,.18); padding-left: 22px; }
.dash-head h1 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.nav-center { display: none; }
.panel {
  background: rgba(4,8,20,.42);
  border: 1px solid rgba(34,211,238,.28);
  backdrop-filter: blur(6px);
}
.section-title { font-size: 28px; }
.event-card { background: rgba(2,6,23,.28); border-color: rgba(255,255,255,.06); }
.panel-pink .event-date { background: rgba(251,113,133,.16); color: #fecdd3; border-color: rgba(251,113,133,.4); }
.stats-grid { gap: 14px; margin-top: 18px; }
.radar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(7,11,22,.62);
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 18px;
  flex: 0 0 auto;
}
.radar-card { color: #22d3ee; }
.radar-card.pink { color: #fb7185; }
.radar-card.violet { color: #a78bfa; }
.radar-card.green { color: #34d399; }
.radar-card b { margin: 0; font-size: 32px; color: #fff; }
.radar-card small, .radar-card em { display: block; color: #cbd5e1; font-style: normal; text-transform: none; letter-spacing: 0; }
.radar-card em { color: #64748b; font-size: 12px; font-weight: 600; }

.radar-card.pink { border-color: rgba(251,113,133,.5); box-shadow: 0 0 24px rgba(251,113,133,.12); }
.radar-card.violet { border-color: rgba(167,139,250,.5); box-shadow: 0 0 24px rgba(167,139,250,.12); }
.radar-card.green { border-color: rgba(52,211,153,.5); box-shadow: 0 0 24px rgba(52,211,153,.12); }

.radar-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.radar-card b {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  letter-spacing: -.05em;
  font-weight: 950;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.dash-main, .dash-side { display: grid; gap: 18px; }
.panel {
  margin-top: 0;
  padding: 22px;
  border-radius: 28px;
  background: rgba(7,11,22,.55);
  border: 1px solid rgba(34,211,238,.22);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}
.panel-cyan { border-color: rgba(34,211,238,.35); }
.panel-pink { border-color: rgba(251,113,133,.40); background: rgba(40,12,24,.45); }
.panel-violet { border-color: rgba(167,139,250,.40); background: rgba(24,16,48,.45); }
.head-actions { display: flex; gap: 12px; align-items: center; }
.btn-share, .btn-add {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.btn-share {
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.btn-add {
  color: #041018;
  background: linear-gradient(135deg, #22d3ee, #c026d3);
  border: 0;
  box-shadow: 0 8px 22px rgba(34,211,238,.25);
}
.days-col small { color: rgba(2,6,23,.62); font-weight: 700; }
.days-col small:first-child { margin: 0 0 1px; letter-spacing: .12em; }
.section { margin-top: 36px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  margin-top: 4px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.06em;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.artist-card { min-height: 148px; padding: 20px; }
.artist-row { align-items: center; gap: 14px; }
.seen-seal { margin-left: auto; align-self: flex-start; }
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}
.venue-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 24px;
  padding: 12px;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.90), rgba(15,23,42,.68));
  border: 1px solid rgba(52,211,153,.22);
}
.venue-photo {
  width: 148px;
  height: 108px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.venue-body { min-width: 0; }
.venue-card h3 { font-size: 18px; letter-spacing: -.04em; margin: 0; }
.venue-card .meta { margin-top: 4px; }
.venue-card .seen-seal { margin-top: 8px; }
.panel-green { border-color: rgba(52,211,153,.40); background: rgba(8,32,24,.45); }
.event-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.event-card,
.artist-card,
.empty-card {
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(52,211,153,.10), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,.90), rgba(15,23,42,.68));
  border: 1px solid rgba(226,232,240,.11);
}

.artist-card {
  background:
    radial-gradient(circle at 15% 0%, rgba(167,139,250,.14), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,.90), rgba(15,23,42,.68));
}

.event-card { display: flex; flex-direction: column; align-items: stretch; }
.card-actions { margin-top: 4px; }
.seen-seal {
  margin-left: auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(52,211,153,.16);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 900;
}
.event-top { display: flex; justify-content: space-between; gap: 12px; flex: 1; min-width: 0; align-items: center; }
.days-col { margin-left: auto; }

.event-date {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(34,211,238,.16);
  color: #67e8f9;
  border: 1px solid rgba(34,211,238,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.days-col {
  width: 72px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22d3ee, #67e8f9);
  color: #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}
.days-col b { font-size: 24px; font-weight: 950; }
.days-col small { margin-top: 3px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.event-card h3,
.artist-card h3 {
  font-size: 20px;
  letter-spacing: -.04em;
  font-weight: 950;
}

.meta { margin-top: 6px; color: #94a3b8; font-size: 13px; }
.artists-line { margin-top: 12px; color: #cffafe; font-size: 13px; font-weight: 800; }

.badge {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.20);
  color: #cffafe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.badge.pink {
  background: rgba(251,113,133,.10);
  border-color: rgba(251,113,133,.24);
  color: #fecdd3;
}

.upcoming-board, .upcoming-list { display: none !important; }
.upcoming-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 22px;
  background: rgba(15,23,42,.72);
  border: 1px solid rgba(226,232,240,.10);
}
.days-badge {
  width: 76px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #22d3ee, #67e8f9);
  color: #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.days-badge b { font-size: 28px; font-weight: 950; letter-spacing: -.04em; }
.days-badge small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.upcoming-copy strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.upcoming-copy span { display: block; margin-top: 4px; color: #94a3b8; font-size: 13px; }
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
#storyModal .modal {
  width: min(440px, 100%);
  max-height: 92vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.story-frame {
  display: flex;
  justify-content: center;
  min-height: 0;
  margin: 0 0 14px;
  max-width: 100%;
}
.story-preview {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 24px;
  background: #070b16;
  display: block;
}
.story-caption {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(2,6,23,.45);
  border: 1px solid rgba(255,255,255,.06);
}
.story-caption small {
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.story-caption p { margin: 8px 0 10px; color: #e2e8f0; font-size: 14px; line-height: 1.45; }
.review-list { display: grid; gap: 12px; margin-top: 8px; }
.review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(2,6,23,.45);
  border: 1px solid rgba(255,255,255,.06);
}
.review-row .stars { margin-top: 0; flex-wrap: wrap; justify-content: flex-end; }
.review-row strong { font-size: 15px; }
.show-score { margin-top: 12px; color: #fbbf24; font-size: 13px; font-weight: 800; }
.stars {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}

.stars button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(245,158,11,.08);
  color: #64748b;
  cursor: pointer;
  font-weight: 900;
}

.stars button.skip-rate {
  width: auto;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0;
}
.stars button.skip-rate.on {
  background: rgba(148,163,184,.22);
  color: #e2e8f0;
}
.stars button.on {
  background: rgba(245,158,11,.22);
  color: #fbbf24;
}

.artist-picker { position: relative; }
.suggest {
  display: none;
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,.28);
  background: #0b1224;
  position: relative;
  z-index: 5;
}
.suggest.open { display: block; }
.suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: #e2e8f0;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
}
.suggest button:hover { background: rgba(34,211,238,.08); }
.suggest button b,
.suggest button span { display: block; }
.suggest button span { display: block; margin-top: 3px; color: #94a3b8; font-size: 12px; }
.suggest .web { color: #67e8f9; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.22);
  color: #cffafe;
  font-size: 12px;
  font-weight: 800;
}
.chip button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.artist-board { margin-top: 18px; }
.artist-filters { display: flex; gap: 8px; }
.filter-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(167,139,250,.35);
  background: transparent;
  color: #e2e8f0;
  font-weight: 800;
  cursor: pointer;
}
.filter-btn.active { background: rgba(167,139,250,.22); color: #fff; }
.artist-search { margin: 0 0 14px; }
.artist-detail .meta { margin-bottom: 4px; }
.score-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(148,163,184,.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.score-pill.mine { background: rgba(34,211,238,.12); color: #cffafe; }
.artist-thumb, .artist-fallback {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
}
.artist-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(167,139,250,.28));
  color: #e0faff;
  font-weight: 950;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.76);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.modal-backdrop.active { display: flex; }

.modal {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.20), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.92));
  border: 1px solid rgba(226,232,240,.14);
  box-shadow: 0 30px 100px rgba(0,0,0,.50);
  padding: 26px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.hidden { display: none !important; }

@media (max-width: 920px) {
  .auth-layout,
  .header-inner {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .radar-card { padding: 10px 8px; border-radius: 16px; }
  .radar-card small { font-size: 9px; letter-spacing: .04em; }
  .radar-card b { font-size: 22px; margin-top: 4px; }
  .dash-grid { grid-template-columns: 1fr; }
  .panel { padding: 16px; margin-top: 0; }
  .section-head { align-items: center; }
  .section-head .btn { flex: 0 0 auto; }
  .upcoming-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 8px 10px; border-radius: 16px; }
  .days-badge { width: 52px; height: 46px; border-radius: 12px; }
  .days-badge b { font-size: 18px; }
  .days-badge small { font-size: 8px; margin-top: 1px; }
  .upcoming-copy strong { font-size: 14px; }
  .upcoming-copy span { font-size: 11px; margin-top: 2px; }
  .share-bar { flex-wrap: wrap; }
  .share-bar .btn { width: 100%; }
  .site-header, .header-inner, .shell, .modal { max-width: 100%; }
  img, svg, video, canvas { max-width: 100%; }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 12px;
    padding: 10px 12px;
    overflow: hidden;
  }
  .brand { min-width: 0; }
  .nav-center {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-center a { font-size: 12px; }
  .header-actions { gap: 6px; min-width: 0; }
  .user-chip span { display: none; }
  .header-cta, .btn-ghost { padding: 0 10px; font-size: 12px; }
  .event-grid, .artist-grid { grid-template-columns: 1fr; }
  body { background-attachment: scroll; }
  #storyModal.modal-backdrop { padding: 8px; align-items: end; }
  #storyModal .modal {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    padding: 16px;
    border-radius: 24px;
    overflow-x: hidden;
  }
  #storyModal .modal-top { align-items: flex-start; gap: 8px; }
  #storyModal .modal-top > div { min-width: 0; }
  #storyModal .section-title {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .story-preview { width: min(100%, 220px); }
  .story-caption p { overflow-wrap: anywhere; }
  .review-row { flex-direction: column; align-items: stretch; }
  .review-row .stars { justify-content: flex-start; }
}
