* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #1DB954;
  --green-hover: #1ed760;
  --bg: #000;
  --bg2: #121212;
  --bg3: #181818;
  --bg4: #242424;
  --bg5: #2a2a2a;
  --text: #fff;
  --muted: #a7a7a7;
  --radius: 8px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  height: calc(100vh / 1.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  zoom: 1.35;
}

/* ── LAYOUT ── */
.app {
  display: flex;
  flex: 1;
  gap: 8px;
  padding: 8px;
  overflow: hidden;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 240px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 16px 8px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo svg { width: 28px; height: 28px; }

.nav-section { margin-bottom: 8px; }
.nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 8px 12px 4px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  transition: color .15s, background .15s;
}
.nav-item:hover { background: var(--bg4); color: var(--text); }
.nav-item.active { background: var(--bg4); color: var(--text); }
.nav-item.city-item.active { color: var(--green); }
.nav-item.city-item:hover { color: var(--green); }
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.new-badge {
  background: var(--green);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── MAIN ── */
.main {
  flex: 1;
  background: var(--bg2);
  border-radius: var(--radius);
  overflow-y: auto;
  position: relative;
}
.main::-webkit-scrollbar { width: 8px; }
.main::-webkit-scrollbar-track { background: transparent; }
.main::-webkit-scrollbar-thumb { background: var(--bg5); border-radius: 4px; }

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.92);
  backdrop-filter: blur(20px);
  z-index: 50;
  padding: 16px 24px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-nav { display: flex; gap: 4px; }
.topbar-btn {
  background: rgba(0,0,0,.6);
  border: none;
  color: var(--text);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.topbar-btn:hover { background: var(--bg5); }

.tab-row {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}
.tab {
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg4);
  color: var(--text);
  transition: background .15s;
}
.tab:hover { background: var(--bg5); }
.tab.active { background: var(--text); color: #000; }

/* ── PAGES ── */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page { display: none; padding: 0 24px 80px; }
.page.visible { display: block; animation: pageIn 0.18s ease; }

/* ── HERO GRADIENT ── */
.hero-gradient {
  height: 260px;
  background: linear-gradient(to bottom, #1a3a2a, var(--bg2));
  margin: 0 -24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
  max-width: 480px;
  line-height: 1.5;
}

/* ── LOCATION BAR ── */
.location-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 12px 16px;
  background: var(--bg4);
  border-radius: 8px;
}
.location-city { font-weight: 700; font-size: 15px; }
.location-sub { color: var(--muted); font-size: 12px; }
.location-change {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--bg5);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
}
.location-change:hover { border-color: var(--text); }

/* ── TASTE CHIPS ── */
.taste-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.taste-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.taste-chip.indie      { background: rgba(120,80,200,.25); border-color: #7850c8; color: #b89ef8; }
.taste-chip.hiphop     { background: rgba(255,200,0,.15);  border-color: #f0b400; color: #f5d060; }
.taste-chip.electronic { background: rgba(0,200,255,.15);  border-color: #00c8ff; color: #80e4ff; }
.taste-chip.jazz       { background: rgba(255,80,100,.15); border-color: #ff5064; color: #ff9aa8; }
.taste-chip.rnb        { background: rgba(255,120,0,.15);  border-color: #ff7800; color: #ffb880; }
.taste-chip.pop        { background: rgba(30,215,96,.15);  border-color: var(--green); color: var(--green-hover); }

/* ── SECTION HEADERS ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title { font-size: 20px; font-weight: 800; }
.see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.see-all:hover { color: var(--text); text-decoration: underline; }

/* ── EVENT CARDS ── */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.event-card {
  background: var(--bg3);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: background .15s, transform .15s;
  position: relative;
}
.event-card:hover { background: var(--bg4); transform: translateY(-2px); }
.event-card-img-placeholder {
  width: 100%;
  aspect-ratio: 1.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
  overflow: hidden;
}
.event-card-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.event-card-play-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  background: var(--green-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.event-card-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #000;
  margin-left: 2px;
}
.event-card:hover .event-card-play-btn {
  opacity: 1;
  transform: translateY(0);
}
.event-card-body { padding: 12px 14px 14px; }
.event-card-playlist {
  font-size: 10px; font-weight: 700;
  color: var(--muted); letter-spacing: .3px;
  margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-card-date  { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: .5px; margin-bottom: 4px; }
.event-card-name  { font-weight: 700; font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card-venue { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.event-card-row   { display: flex; align-items: center; justify-content: space-between; }
.event-genre-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 12px; }
.event-price      { font-size: 13px; font-weight: 700; }
.match-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg4);
  border-top: 1px solid var(--bg5);
}
.match-strip-pct {
  font-size: 17px;
  font-weight: 900;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}
.match-strip-bar {
  flex: 1;
  height: 3px;
  background: var(--bg5);
  border-radius: 2px;
  overflow: hidden;
}
.match-strip-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
}
.match-strip-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ── MAP SECTION ── */
.map-section {
  background: var(--bg3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}
.map-body { display: flex; height: 280px; }
.map-placeholder {
  flex: 1;
  background: #1a2a1f;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,215,96,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,215,96,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform .2s;
}
.map-pin:hover { transform: scale(1.1); }
.pin-dot {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(30,215,96,.4);
}
.pin-dot span { transform: rotate(45deg); font-size: 16px; }
.pin-label {
  background: var(--bg4);
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  margin-top: 4px; white-space: nowrap;
}
.map-sidebar {
  width: 220px; padding: 12px;
  border-left: 1px solid var(--bg5);
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.map-sidebar::-webkit-scrollbar { display: none; }
.map-event-row {
  display: flex; gap: 10px; align-items: center;
  padding: 10px; border-radius: 8px; cursor: pointer;
  background: var(--bg4); transition: background .15s;
}
.map-event-row:hover { background: var(--bg5); }
.map-event-icon {
  width: 40px; height: 40px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.map-event-info  { min-width: 0; }
.map-event-name  { font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-event-sub   { color: var(--muted); font-size: 11px; }
.map-event-dist  { color: var(--green); font-size: 11px; font-weight: 700; }

/* ── VENUE SECTION ── */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.venue-card { text-align: center; cursor: pointer; transition: transform .15s; }
.venue-card:hover { transform: translateY(-2px); }
.venue-avatar {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin-bottom: 10px;
}
.venue-name { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.venue-type { color: var(--muted); font-size: 12px; }

/* ── DETAIL OVERLAY ── */
.overlay {
  display: flex; position: fixed; inset: 0;
  background: rgba(0,0,0,.75); z-index: 200;
  align-items: center; justify-content: center; padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.overlay-card {
  background: var(--bg2); border-radius: 12px;
  width: 100%; max-width: 620px;
  position: relative; max-height: 90vh; overflow-y: auto;
  transform: scale(0.96);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.overlay.open .overlay-card {
  transform: scale(1);
}
.overlay-card::-webkit-scrollbar { display: none; }
.overlay-hero {
  height: 180px; display: flex; align-items: flex-end;
  padding: 24px; position: relative;
}
.overlay-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.6); border: none; border-radius: 50%;
  color: var(--text); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.overlay-close:hover { background: var(--bg5); }
.overlay-body { padding: 20px 24px 28px; }
.overlay-title { font-size: 26px; font-weight: 900; margin-bottom: 4px; }
.overlay-sub   { color: var(--muted); margin-bottom: 16px; }
.overlay-meta  { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.overlay-meta-item  { display: flex; flex-direction: column; }
.overlay-meta-label { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.overlay-meta-value { font-weight: 700; font-size: 15px; margin-top: 2px; }
.overlay-description { color: #ccc; line-height: 1.6; font-size: 13px; margin-bottom: 20px; }
.overlay-artists       { margin-bottom: 20px; }
.overlay-artists-title { font-weight: 700; margin-bottom: 10px; }
.artist-row {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--bg4);
}
.artist-row:last-child { border-bottom: none; }
.artist-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.artist-name  { font-weight: 700; font-size: 13px; }
.artist-match { color: var(--green); font-size: 12px; font-weight: 700; }

.buy-btn {
  display: block; width: 100%; padding: 14px;
  background: var(--green); color: #000;
  font-weight: 800; font-size: 15px; border: none;
  border-radius: 30px; cursor: pointer; text-align: center;
  letter-spacing: .5px; transition: background .15s, transform .1s;
}
.buy-btn:hover { background: var(--green-hover); transform: scale(1.01); }
.share-row { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.share-btn {
  flex: 1; padding: 10px; background: var(--bg4); color: var(--text);
  font-size: 13px; font-weight: 700; border: none; border-radius: 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s;
}
.share-btn:hover { background: var(--bg5); }


/* ── RANKINGS PAGE ── */
.rankings-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--bg4);
  margin-bottom: 20px;
}
.rankings-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1040, #6a2090);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-shrink: 0;
}
.rankings-profile-info { flex: 1; }
.rankings-name { font-size: 24px; font-weight: 900; margin-bottom: 3px; }
.rankings-handle { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.rankings-stats { display: flex; align-items: center; gap: 16px; }
.rankings-stat { display: flex; flex-direction: column; gap: 1px; }
.rankings-stat-num { font-size: 15px; font-weight: 800; }
.rankings-stat-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.rankings-stat-divider { width: 1px; height: 28px; background: var(--bg5); }
.rankings-share-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1.5px solid var(--bg5);
  color: var(--text); font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 20px; cursor: pointer;
  transition: border-color .15s; white-space: nowrap;
  font-family: inherit; flex-shrink: 0;
}
.rankings-share-btn:hover { border-color: var(--text); }

.rankings-insight {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(30,215,96,.07);
  border: 1px solid rgba(30,215,96,.18);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px; color: #b3ffcc; line-height: 1.5;
  margin-bottom: 20px;
}

.rankings-tabs {
  display: flex; gap: 8px;
  margin-bottom: 8px;
}
.rankings-tab {
  padding: 6px 16px; border-radius: 20px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--bg4); color: var(--text);
  transition: background .15s; font-family: inherit;
}
.rankings-tab:hover { background: var(--bg5); }
.rankings-tab.active { background: var(--text); color: #000; }

.rankings-list { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }

.ranking-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 12px; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.ranking-item:hover { background: var(--bg4); }
.ranking-pos {
  font-size: 13px; font-weight: 700; color: var(--muted);
  width: 18px; text-align: center; flex-shrink: 0;
}
.ranking-art {
  width: 56px; height: 56px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.ranking-info { flex: 1; min-width: 0; }
.ranking-venue { font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.ranking-event { font-size: 13px; color: var(--muted); margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-meta { font-size: 11px; color: var(--muted); margin-bottom: 4px; }

.ranking-score-block {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 6px; flex-shrink: 0;
}
.ranking-score-yours { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ranking-score-num {
  font-size: 26px; font-weight: 900; line-height: 1;
}
.ranking-score-denom { font-size: 14px; color: var(--muted); font-weight: 600; }
.ranking-score-label { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.ranking-bar {
  width: 80px; height: 3px; background: var(--bg5);
  border-radius: 2px; overflow: hidden;
}
.ranking-fill { height: 100%; background: var(--green); border-radius: 2px; }
.ranking-score-community {
  display: flex; align-items: center; gap: 5px;
}
.ranking-community-avg { font-size: 12px; font-weight: 700; color: var(--muted); }
.ranking-community-label { font-size: 10px; color: var(--bg5); font-weight: 600; }

/* ── PAST EVENTS ── */
.past-events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
}
.past-event-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.past-event-item:hover { background: var(--bg4); }
.past-event-art {
  width: 52px; height: 52px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.past-event-info { flex: 1; min-width: 0; }
.past-event-name { font-weight: 700; font-size: 14px; }
.past-event-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.past-event-rating {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 5px; flex-shrink: 0;
}
.rating-score { font-size: 20px; font-weight: 900; line-height: 1; }
.rating-label { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.rating-bar { width: 72px; height: 3px; background: var(--bg5); border-radius: 2px; overflow: hidden; }
.rating-fill { height: 100%; background: var(--green); border-radius: 2px; }

/* ── TICKET CHECKOUT ── */
.checkout-overlay {
  display: flex; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 300;
  align-items: center; justify-content: center; padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease;
}
.checkout-overlay.open { opacity: 1; pointer-events: auto; }
.checkout-modal {
  background: var(--bg2); border-radius: 12px;
  width: 100%; max-width: 400px; overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.checkout-overlay.open .checkout-modal { transform: scale(1); }
.checkout-header-bg {
  padding: 24px 20px 20px;
  position: relative;
}
.checkout-close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,.4); border: none; border-radius: 50%;
  color: var(--text); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.checkout-close:hover { background: rgba(0,0,0,.65); }
.checkout-header-name { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.checkout-header-meta { font-size: 12px; color: rgba(255,255,255,.65); }
.checkout-body { padding: 20px; }
.checkout-section-label {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 10px;
}
.ticket-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid var(--bg5);
  cursor: pointer; margin-bottom: 8px;
  transition: border-color .15s, background .15s;
}
.ticket-option:hover { background: var(--bg4); }
.ticket-option.selected { border-color: var(--green); background: rgba(30,215,96,.07); }
.ticket-option-check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--bg5); flex-shrink: 0;
  transition: all .15s;
  background: transparent;
}
.ticket-option.selected .ticket-option-check {
  background: var(--green); border-color: var(--green);
}
.ticket-option-name { font-weight: 600; font-size: 14px; }
.ticket-option-price { font-weight: 800; font-size: 15px; color: var(--green); }
.ticket-option-price.free { color: var(--muted); }
.checkout-qty-row {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: 16px;
}
.checkout-qty-controls { display: flex; align-items: center; gap: 16px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--bg5); background: transparent;
  color: var(--text); font-size: 20px; font-weight: 300;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: border-color .15s;
}
.qty-btn:hover { border-color: var(--text); }
#qtyDisplay { font-size: 16px; font-weight: 700; min-width: 20px; text-align: center; }
.checkout-divider { height: 1px; background: var(--bg4); margin: 16px 0; }
.checkout-subtotal-row {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 16px; margin-bottom: 4px;
}
#subtotalDisplay { color: var(--green); }
.checkout-fees-note {
  font-size: 11px; color: var(--muted);
  text-align: center; margin: 8px 0 16px;
}
.checkout-pay-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 14px;
  background: var(--green); color: #000;
  font-weight: 800; font-size: 15px; border: none;
  border-radius: 30px; cursor: pointer;
  letter-spacing: .3px;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.checkout-pay-btn:hover { background: var(--green-hover); transform: scale(1.01); }
.checkout-confirmation {
  padding: 36px 24px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
}
.confirm-icon {
  width: 64px; height: 64px; background: var(--green);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 28px; color: #000; font-weight: 900;
  margin-bottom: 8px;
}
.confirm-title { font-size: 24px; font-weight: 900; }
.confirm-subtitle { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.confirm-detail {
  background: var(--bg4); border-radius: 8px;
  padding: 14px 16px; font-size: 13px; line-height: 1.7;
  width: 100%; margin-bottom: 8px; text-align: left;
}
.checkout-share-btn {
  background: transparent; border: 1.5px solid var(--bg5);
  color: var(--text); font-size: 14px; font-weight: 700;
  padding: 11px; border-radius: 30px; cursor: pointer;
  width: 100%; margin-top: 4px;
  transition: border-color .15s;
  font-family: inherit;
}
.checkout-share-btn:hover { border-color: var(--text); }

/* ── FRIENDS STRIP ── */
.friends-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  scrollbar-width: none;
}
.friends-strip::-webkit-scrollbar { display: none; }
.friend-card {
  background: var(--bg3);
  border-radius: 10px;
  width: 178px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.friend-card:hover { background: var(--bg4); transform: translateY(-2px); }
.friend-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
}
.friend-avatar-pill { font-size: 11px; font-weight: 700; color: var(--muted); }
.friend-status {
  font-size: 10px; font-weight: 800;
  padding: 2px 7px; border-radius: 10px;
  text-transform: uppercase; letter-spacing: .4px;
}
.friend-status.going    { background: rgba(30,215,96,.15); color: var(--green); }
.friend-status.rated    { background: rgba(255,200,0,.15); color: #f5d060; }
.friend-status.attended { background: var(--bg5); color: var(--muted); }
.friend-card-thumb {
  width: 100%; height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.friend-card-body { padding: 10px 12px 12px; }
.friend-card-event { font-weight: 700; font-size: 13px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend-card-meta  { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.friend-card-match { color: var(--green); font-size: 11px; font-weight: 700; font-style: italic; }

/* ── LOCAL SCENE ── */
.local-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
}
.local-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: 8px;
  cursor: pointer; transition: background .15s;
}
.local-item:hover { background: var(--bg4); }
.local-art {
  width: 52px; height: 52px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.local-info  { flex: 1; min-width: 0; }
.local-name  { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.local-venue { color: var(--muted); font-size: 12px; margin-bottom: 1px; }
.local-meta  { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.local-tag {
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 10px;
  background: var(--bg5); color: var(--muted);
}
.local-tag.new-act   { background: rgba(30,215,96,.12); color: var(--green); }
.local-tag.recurring { background: rgba(0,200,255,.1); color: #80e4ff; }
.local-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.local-price { font-size: 18px; font-weight: 900; color: var(--green); }
.local-price.free-price { color: var(--muted); font-size: 16px; }
.local-match { font-size: 10px; color: var(--muted); font-weight: 600; }

/* ── SCENE GUIDES ── */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.scene-card {
  border-radius: 10px; padding: 18px;
  cursor: pointer; transition: transform .15s, filter .15s;
}
.scene-card:hover { transform: translateY(-2px); filter: brightness(1.1); }
.scene-genre {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px;
}
.scene-name   { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.scene-venues { font-size: 11px; color: rgba(255,255,255,.55); margin-bottom: 10px; line-height: 1.5; }
.scene-count  {
  display: inline-block; font-size: 11px; font-weight: 700;
  background: rgba(255,255,255,.12); padding: 3px 10px;
  border-radius: 20px; color: rgba(255,255,255,.7);
}

/* ── RANKING FRIEND ANNOTATIONS ── */
.ranking-friends {
  display: flex; align-items: center; gap: 5px;
  margin-top: 6px; flex-wrap: wrap;
}
.rfriend {
  font-size: 10px; font-weight: 700;
  color: var(--muted); background: var(--bg4);
  padding: 2px 8px; border-radius: 10px;
}

/* ── FRIENDS FEED (Concert Log / Friends tab) ── */
.friends-feed { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.friends-feed-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.friends-feed-item:hover { background: var(--bg4); }
.friends-feed-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.friends-feed-info { flex: 1; min-width: 0; }
.friends-feed-name { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.friends-feed-action { font-size: 12px; color: var(--muted); line-height: 1.4; }
.friends-feed-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.friends-feed-art {
  width: 44px; height: 44px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.friends-feed-score { font-size: 22px; font-weight: 900; flex-shrink: 0; min-width: 44px; text-align: right; }

/* ── FRIEND CARD RATING (redesigned) ── */
.friend-card-rating-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--bg5);
}
.friend-card-rating-row > span:first-child,
.friend-card-rating-row > span:nth-child(2) {
  display: inline;
}
.friend-card-rating-top {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.friend-card-rating-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.friend-card-quote {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #d4d4d4;
  font-style: italic;
  line-height: 1.4;
  padding: 5px 8px;
  background: rgba(255,255,255,0.06);
  border-left: 2px solid var(--green);
  border-radius: 0 4px 4px 0;
}

/* ── VENUE CARDS (prominent 2-col design) ── */
.venue-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.venue-card-new {
  background: var(--bg3);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.venue-card-new:hover { background: var(--bg4); transform: translateY(-2px); }
.venue-card-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.venue-card-header-label {
  position: absolute;
  top: 8px; left: 10px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.venue-card-content { padding: 12px 14px 14px; }
.venue-card-name-new { font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.venue-card-type-new { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.venue-card-next {
  font-size: 11px; color: var(--green); font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.venue-follow-btn {
  display: block; width: 100%; padding: 8px;
  background: transparent; border: 1.5px solid var(--bg5);
  color: var(--text); font-size: 12px; font-weight: 700;
  border-radius: 20px; cursor: pointer; font-family: inherit;
  transition: border-color .15s, color .15s; text-align: center;
}
.venue-follow-btn:hover { border-color: var(--green); color: var(--green); }

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1DB954;
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 30px;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  z-index: 999;
}
