/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; }
a { text-decoration: none; color: inherit; }

/* ─── CSS Variables (§2.1 + CLAUDE.md overrides) ────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:    #07071A;
  --bg-secondary:  #141527;
  --bg-elevated:   #1C1E35;

  /* Accents */
  --accent-gold:   #F4A140;
  --accent-teal:   #13CDCB;

  /* Text */
  --text-primary:  #FFFFFF;
  --text-secondary:#8B8FA8;

  /* Borders */
  --border:        rgba(255, 255, 255, 0.08);

  /* Semantic */
  --like-red:      #E8435A;

  /* Navbar / bottom — NOT shared with bg-primary/secondary (Figma override) */
  --navbar-bg:     #080818;
  --bottom-bg:     #030410;

  /* Tier colors (§2.2) */
  --tier-1: #13CDCB;
  --tier-2: #FEAC68;
  --tier-3: #0170FE;
  --tier-4: #6FFEA8;
  --tier-5: #A839FE;
  --tier-6: #A5DEFE;
  --tier-7: #A4995C;
  --tier-8: #FDFE01;
  --tier-9: #02C458;
  --tier-10:#D40603;

  /* Typography */
  --font-thai: 'Noto Sans Thai', sans-serif;
  --font-latin: 'Noto Sans Thai', sans-serif;

  /* Layout */
  --navbar-h:    56px;
  --bottom-h:    64px;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-thai);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ─── Shooting stars ────────────────────────────────────────────────────── */
#shooting-stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.shooting-star {
  position: absolute;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  opacity: 0;
  animation: shoot var(--dur, 5s) var(--delay, 0s) infinite ease-in;
}

@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0) rotate(var(--ang, -30deg)); }
  3%   { opacity: 1; }
  25%  { opacity: 0; transform: translate(var(--dx, 300px), var(--dy, 150px)) rotate(var(--ang, -30deg)); }
  100% { opacity: 0; transform: translate(var(--dx, 300px), var(--dy, 150px)) rotate(var(--ang, -30deg)); }
}

/* ─── Zone tooltip ───────────────────────────────────────────────────────── */
.zone-tooltip {
  position: fixed;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-thai);
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.1s;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.zone-tooltip.visible { opacity: 1; }

/* ─── Starfield background ───────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* 18 white star dots via box-shadow */
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    120px  80px 0 rgba(255,255,255,0.7),
    340px  45px 0 rgba(255,255,255,0.5),
    580px 130px 0 rgba(255,255,255,0.8),
    760px  30px 0 rgba(255,255,255,0.6),
    980px  90px 0 rgba(255,255,255,0.4),
    1200px 60px 0 rgba(255,255,255,0.7),
    1360px 110px 0 rgba(255,255,255,0.5),
     60px 280px 0 rgba(255,255,255,0.4),
    230px 400px 0 rgba(255,255,255,0.6),
    510px 350px 0 rgba(255,255,255,0.5),
    820px 460px 0 rgba(255,255,255,0.3),
    1100px 320px 0 rgba(255,255,255,0.6),
    1300px 430px 0 rgba(255,255,255,0.4),
     90px 620px 0 rgba(255,255,255,0.5),
    450px 700px 0 rgba(255,255,255,0.7),
    900px 550px 0 rgba(255,255,255,0.4),
    1180px 680px 0 rgba(255,255,255,0.6),
    680px 200px 0 rgba(255,255,255,0.5);
}

/* Blurred radial gradient behind seat map (~600px, purple/navy, ~15% opacity) */
body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 40, 160, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* All content above pseudo-elements */
#navbar, #page-layout, #bottom-bar { position: relative; z-index: 1; }

/* ─── Page Layout wrapper ────────────────────────────────────────────────── */
#page-layout {
  display: flex;
  flex-direction: column;
}

/* Desktop: fixed viewport — no page-level scroll, only inner columns scroll */
@media (min-width: 1024px) {
  #page-layout {
    position: fixed;
    top: var(--navbar-h);
    bottom: var(--bottom-h);
    left: 0;
    right: 0;
    overflow: hidden;
  }
}

/* ─── [A] Sticky Top Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-h);
  background: var(--navbar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 100;
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 32px;
  gap: 12px;
}

.navbar-hashtag {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
  color: var(--accent-gold);
  white-space: nowrap;
}

.navbar-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.navbar-event-name {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-spacer { flex: 1; }

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 34px;
  background: var(--accent-gold);
  color: #000;
  font-family: var(--font-thai);
  font-size: 13px;
  font-weight: 700;
  border-radius: 17px;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.btn-buy:hover { opacity: 0.85; }

/* ─── [B] Hero Section ───────────────────────────────────────────────────── */
#hero {
  padding: 8px 32px 0;
  margin-top: var(--navbar-h); /* mobile: push below fixed navbar */
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  #hero { margin-top: 0; } /* desktop: #page-layout already starts at navbar-h */
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 12px;
}

.hero-poster {
  width: 160px;
  height: 199px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.hero-title {
  font-family: var(--font-latin);
  font-size: 50px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1.3;
}

.hero-meta {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Price tier chips */
.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 22px;
  border-radius: 4px;
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid;
  white-space: nowrap;
}
.price-chip:hover { --chip-bg-opacity: 0.30; }
.price-chip.chip-highlighted {
  outline: 1.5px solid var(--accent-gold);
  outline-offset: 1px;
}

/* Section divider + label */
.hero-divider {
  height: 1px;
  background: var(--border);
  margin-top: 16px;
  width: 100%;
}

.section-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.section-label {
  font-family: var(--font-thai);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-label-bar {
  width: 48px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
}

/* ─── [C] Seat Map + Zone Panel ──────────────────────────────────────────── */
#seat-section {
  display: flex;
  min-height: 420px;
  border-top: 1px solid var(--border);
}
@media (min-width: 1024px) {
  #seat-section { flex: 1; min-height: 0; overflow: hidden; }
}

.seat-col {
  flex: 1;
  overflow: auto;
  min-width: 0;
}

.seat-col-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
}

/* Seat map wrapper — centres SVG, applies scaling */
#map-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#seat-map-wrap {
  width: 100%;
  max-width: 508px;
}

#seat-map {
  width: 100%;
  height: auto;
}

@media (min-width: 1024px) {
  #map-col { overflow: hidden; }
  #seat-map-wrap { height: 100%; display: flex; align-items: center; justify-content: center; }
  #seat-map { width: auto; height: 100%; max-width: 100%; }
}

/* Zone interaction states */
.zone path, .zone rect, .zone polygon, .zone circle {
  cursor: pointer;
  transition: opacity 0.15s, filter 0.15s;
  opacity: 0.7;
}

.zone:hover path, .zone:hover rect, .zone:hover polygon, .zone:hover circle {
  opacity: 1;
}

.zone.selected path, .zone.selected rect, .zone.selected polygon, .zone.selected circle {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.8));
}

.zone.dimmed path, .zone.dimmed rect, .zone.dimmed polygon, .zone.dimmed circle {
  opacity: 0.2;
}

/* Zone panel container */
#panel-col {
  padding: 0;
  display: flex;
  flex-direction: column;
}

#zone-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  margin: 12px;
  overflow: hidden;
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.panel-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.panel-header-sub {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

/* Panel states */
.panel-state {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.panel-state.hidden { display: none; }

/* Panel fade transition */
.panel-state {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Idle state — Most Liked Zones */
.panel-idle-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.panel-idle-title {
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.panel-idle-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-idle-footer {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* Podium cards */
.podium-row {
  display: flex;
  gap: 8px;
}

.podium-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.podium-card.rank-1 {
  flex: 1 1 100%;
  background: rgba(255, 255, 255, 0.07);
}

.podium-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zone-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.podium-zone-code {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.podium-rank-badge {
  font-size: 14px;
  margin-left: auto;
}

.podium-meta {
  font-size: 11px;
  color: var(--text-secondary);
}

.podium-likes {
  font-size: 12px;
  color: var(--like-red);
}

/* Ranks 4–10 compact list */
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.leaderboard-row:last-child { border-bottom: none; }

.lb-rank {
  font-family: var(--font-latin);
  font-size: 12px;
  color: var(--text-secondary);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.lb-zone { font-weight: 700; font-size: 13px; flex: 1; }
.lb-price { font-size: 11px; color: var(--text-secondary); }
.lb-likes { font-size: 12px; color: var(--like-red); margin-left: auto; }

/* Active state — Zone Info Card (structure; detailed styles in Phase 4) */
.zone-card-band {
  height: 6px;
  border-radius: 4px 4px 0 0;
  margin: -16px -16px 12px;
}

.zone-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.zone-card-code {
  font-family: var(--font-latin);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.zone-card-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.zone-card-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

/* Like button */
.like-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1.5px solid rgba(255,255,255,0.1);
  cursor: pointer;
  color: var(--zone-color, var(--text-secondary));
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.like-btn:hover { background: rgba(255,255,255,0.08); }

.like-icon { display: flex; align-items: center; justify-content: center; }
.like-icon svg {
  fill: none;
  stroke: var(--zone-color, currentColor);
  transition: fill 0.15s;
}
.like-btn.liked .like-icon svg {
  fill: var(--zone-color, var(--like-red));
}

.like-btn-count {
  font-family: var(--font-thai);
  font-size: 10px;
  color: var(--zone-color, var(--like-red));
  line-height: 1;
  margin-top: -2px;
  font-weight: 600;
}

/* ─── [D] Sticky Bottom Bar ─────────────────────────────────────────────── */
#bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-h);
  background: var(--bottom-bg);
  border-top: 1px solid var(--border);
  z-index: 100;
}

.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
  gap: 0;
}

.bottom-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 16px;
}

/* Event summary */
.bottom-event {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.bottom-artist {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  color: rgba(19, 205, 203, 0.9);
  letter-spacing: 0.5px;
}

.bottom-concert-name {
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 400;
  color: rgba(234, 240, 251, 0.38);
  letter-spacing: 0.3px;
}

.bottom-details {
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 400;
  color: rgba(234, 240, 251, 0.25);
  letter-spacing: 0.2px;
}

/* Countdown label */
.bottom-countdown-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.bottom-countdown-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bottom-countdown-label span:first-child {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
}

.bottom-countdown-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Countdown digits */
.countdown-digits {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: 4px;
  gap: 0;
}

.cd-num {
  font-family: var(--font-latin);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.cd-unit {
  font-size: 9px;
  color: var(--text-secondary);
  line-height: 1;
  margin-top: 1px;
}

.cd-colon {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* CTA button (bottom bar — teal style, NOT gold) */
.btn-buy-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 44px;
  background: rgba(19, 205, 203, 0.12);
  border: 1px solid rgba(19, 205, 203, 0.4);
  border-radius: 8px;
  color: #13CDCB;
  font-family: var(--font-thai);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-buy-bottom:hover { background: rgba(19, 205, 203, 0.20); }

/* Sale info text */
.bottom-sale-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── Zone Info Card ─────────────────────────────────────────────────────── */
.zone-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-price-section,
.card-benefits-section,
.card-visibility-section { margin-top: 4px; }

.card-actions { margin-top: 4px; padding-bottom: 4px; }

.card-section-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Price section */
.price-main {
  font-family: var(--font-latin);
  font-size: 29px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 18px;
  font-weight: 400;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 4px;
}

.fee-row-protect {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

/* Level 3 multi-price rows */
.price-rows { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }

.price-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

.price-row-left { display: flex; flex-direction: column; gap: 2px; }
.price-row-price { font-size: 17px; font-weight: 700; }
.price-row-label { font-size: 11px; color: var(--text-secondary); }
.price-row-fees  { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--text-secondary); flex-shrink: 0; }
.price-row-fees-label { font-size: 10px; color: var(--text-secondary); text-align: right; }
.price-row .fee-total-val { font-size: 13px; font-weight: 700; color: var(--text-primary); }

.price-fee-note {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 4px;
  text-align: right;
}

/* Fan Benefits */
.benefit-list { display: flex; flex-direction: column; gap: 4px; }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.benefit-icon {
  font-size: 12px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit-yes .benefit-icon { color: #02C458; }
.benefit-no  .benefit-icon { color: var(--text-secondary); }
.benefit-no  .benefit-name  { color: var(--text-secondary); }

.benefit-text { display: flex; flex-direction: column; gap: 1px; }
.benefit-name { font-size: 13px; line-height: 1.3; }
.benefit-random {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
}

.benefit-tier-note {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
}

.benefit-footnote {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.4;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  border-left: 2px solid rgba(255,255,255,0.12);
}

/* Visibility section */
.visibility-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.visibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.visibility-detail {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Fee total value (larger + bolder) */
.fee-total-val {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.fee-row-protect .fee-total-val { color: var(--accent-gold); }

/* Action buttons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  font-family: var(--font-thai);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  border: none;
  white-space: nowrap;
}
.btn-card:hover { opacity: 0.8; }

.btn-view {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border: 1px solid var(--border);
  min-width: 130px;
}

.btn-save {
  background: var(--accent-gold);
  color: #000;
  min-width: 140px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-social:hover { background: rgba(255,255,255,0.15); }
.btn-social-line { color: #06C755; }
.btn-social-fb   { color: #1877F2; }
.btn-social-ig   { color: #E1306C; }
.btn-social-x    { color: #fff; }

/* Podium + leaderboard like count — use zone color via inline style */
.podium-likes {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.lb-likes {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-left: auto;
}

/* Zone card stub (Phase 3 placeholder) */
.zone-card-stub {
  padding: 8px 0;
}

/* Leaderboard section label */
.lb-section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 10px 0 6px;
}

/* Countdown concert day */
.cd-concert-day {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-teal);
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.toast.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ─── Responsive: Tablet 768–1023px ─────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 18px; }

  #seat-section {
    flex-direction: column;
  }

  .seat-col-divider { width: 100%; height: 1px; }

  #map-col { padding: 12px; }

  #panel-col { min-height: 400px; }
}

/* ─── Responsive: Mobile <768px ──────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Navbar: hashtag + button only */
  .navbar-sep,
  .navbar-event-name { display: none; }

  /* Hero: poster visible on mobile but smaller */
  .hero-poster { width: 80px; height: 100px; }
  .hero-title { font-size: 36px; }

  /* Price chips: wrap to next line on narrow screens */
  .price-chips {
    flex-wrap: wrap;
  }

  /* Bottom bar: floating card on mobile */
  #bottom-bar {
    height: auto;
    bottom: 8px;
    left: 8px;
    right: 8px;
    width: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .bottom-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 16px;
    gap: 8px;
  }
  .bottom-countdown-block { flex-wrap: wrap; gap: 8px; }
  .bottom-sep { display: none; }
  .bottom-sale-text { font-size: 11px; }

  .countdown-digits { justify-content: center; }

  /* Zone panel: stacks below map, normal flow */
  #panel-col {
    min-height: 400px;
    padding-bottom: 96px;
  }
}
