/* ── Create Event — Right Form: Sections & Components ───────────────────── */

/* ── Validation ── */
.input-event-name.error-field {
  border-bottom: 1px solid rgba(255,255,255,0.42);
}
.venue-row.error-field {
  border-bottom-color: rgba(255,255,255,0.42) !important;
}
.date-pill.error-field {
  border-color: rgba(255,255,255,0.42) !important;
  color: rgba(237,238,245,0.60);
}
.field-error-msg {
  display: block;
  font: 400 12px/1.4 'DM Sans', sans-serif;
  color: rgba(237,238,245,0.50);
  letter-spacing: 0.01em;
  margin-top: 6px;
  padding-bottom: 2px;
}
.publish-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--bg-raised, #1D1D28);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(237,238,245,0.80);
  font: 400 13px/1.4 'DM Sans', sans-serif;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 9999;
}
.publish-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 700px) {
  .publish-toast {
    bottom: auto;
    top: 20px;
    max-width: calc(100vw - 32px);
    white-space: normal;
    text-align: center;
  }
}

/* ── Sections ── */
.form-section { margin-bottom: 20px; }
.form-section + .form-section {
  padding-top: 24px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s;
}
@media (hover: hover) {
  .section-header:hover { background: var(--bg-hover); border-radius: 6px; }
  .section-header:hover .section-chevron { color: rgba(255,255,255,0.76); }
}

.section-title {
  font: 700 15px/1 'DM Sans', sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}

.section-chevron {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.42);
  transition: transform 0.2s ease, color 0.15s;
  flex-shrink: 0;
}
.form-section.collapsed .section-chevron { transform: rotate(-90deg); }

.section-body {
  overflow: hidden;
  will-change: max-height;
  transition: max-height 0.22s ease, opacity 0.18s ease;
}
.section-body.collapsed { max-height: 0 !important; opacity: 0; pointer-events: none; }

/* ── Bare inputs (no label, placeholder-as-label) ── */
.input-event-name {
  width: 100%;
  border: none;
  background: transparent;
  font: 700 22px/1.2 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  padding: 0 0 6px;
  outline: none;
  margin-bottom: 0;
}
.input-event-name:focus { outline: none; }
.input-event-name::placeholder { color: rgba(255,255,255,0.22); }

.bare-textarea {
  width: 100%;
  border: none;
  background: transparent;
  font: 400 16px/1.6 'DM Sans', sans-serif;
  color: var(--text-primary);
  outline: none;
  resize: none;
  padding: 0;
  min-height: 80px;
}
.bare-textarea::placeholder { color: rgba(255,255,255,0.42); }

/* ── Row field (icon + input) ── */
.row-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: background 0.12s;
}
.row-field:hover {
  background: var(--bg-hover);
  border-radius: 6px;
}
.row-field-icon {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.50);
  flex-shrink: 0;
}
.row-input {
  flex: 1;
  height: 40px;
  border: none;
  background: transparent;
  font: 400 16px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.row-input::placeholder { color: rgba(255,255,255,0.50); }
.row-input[type="datetime-local"] { color-scheme: dark; }

/* ── Venue search ── */
.venue-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  cursor: text;
  transition: border-color 0.15s;
  min-height: 44px;
}
.venue-row.active { border-bottom-color: var(--border-focus) !important; }
.venue-row.has-venue { cursor: default; }
.venue-placeholder {
  font: 400 16px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.42);
  flex: 1;
}
.venue-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font: 400 16px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  outline: none;
  padding: 0;
}
.venue-filled {
  font: 500 16px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  flex: 1;
}
.venue-clear {
  background: none;
  border: none;
  cursor: pointer;
  font: 400 12px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.56);
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.venue-clear:hover { color: #C0392B; background: rgba(192,57,43,0.07); }

/* Map placeholder */
.map-placeholder {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.map-placeholder:hover { background: transparent; }
.map-address-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Venue suggestions dropdown ── */
.venue-search-outer { position: relative; }
.venue-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bg-raised);
  border: 1px solid var(--border-input);
  border-radius: 10px;
  overflow: hidden;
  display: none;
  z-index: 400;
  box-shadow: 0 12px 32px rgba(0,0,0,0.65);
}
.venue-suggestions.open { display: block; }
.venue-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.1s;
  border-bottom: 1px solid var(--border);
}
.venue-suggestion:last-child { border-bottom: none; }
.venue-suggestion:hover { background: var(--bg-hover-md); }
.venue-suggestion-main {
  font: 500 13px/1.2 'DM Sans', sans-serif;
  color: var(--text-primary);
}
.venue-suggestion-sub {
  font: 400 11px/1 'DM Sans', sans-serif;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ── Toggle ── */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.17);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  left: 3px; top: 3px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch input:checked + .toggle-slider { background: #2DB874; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(16px); }

/* ── Section header right side (genres, tickets, etc.) ── */
.section-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.section-summary {
  font: 400 12px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

/* ── Selected genres summary line (below section header) ── */
.genres-selected-line {
  font: 400 12px/1.5 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1px;
  padding: 0 0 14px;
  min-height: 0;
  word-break: break-word;
}

/* ── Genre chips ── */
.genre-category { margin-bottom: 16px; }
.genre-category:last-child { margin-bottom: 0; }
.genre-category-label {
  font: 600 10px/1 'DM Sans', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 8px;
  display: block;
}
.genre-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.genre-chip {
  padding: 5px 12px;
  border-radius: 20px;
  font: 400 12px/1 'DM Sans', sans-serif;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--bg-card);
  color: rgba(255,255,255,0.76);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s, border-color 0.12s, color 0.12s, transform 0.12s, box-shadow 0.12s;
  user-select: none;
}
@media (hover: hover) {
  .genre-chip:hover { border-color: rgba(255,255,255,0.20); color: var(--text-primary); }
}
.genre-chip.selected {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0C0C12;
  font-weight: 500;
}

/* ── Vibin Tags ── */
.vibin-tags-hint {
  font: 400 11px/1.4 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.36);
  margin: 0 0 12px;
}
#vibinTagsChips.vibin-tags-maxed .genre-chip:not(.selected) {
  opacity: 0.30;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Lineup rows ── */
.lineup-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.lineup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.remove-lineup-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: 400 12px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.42);
  padding: 4px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.remove-lineup-btn:hover { color: #C0392B; background: rgba(192,57,43,0.07); }

/* ── Add button ── */
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.68);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.btn-add:hover { color: var(--text-primary); }
.btn-add svg { width: 14px; height: 14px; }

/* ── Ticket tiers ── */
.ticket-tiers { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.tier-row {
  display: grid;
  grid-template-columns: 20px 1fr 56px 80px 72px 28px;
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background 0.12s;
}
.tier-row:hover { background: rgba(255,255,255,0.05); }
.tier-row:hover .tier-drag { color: rgba(255,255,255,0.50); }
.tier-drag {
  font-size: 13px;
  color: rgba(255,255,255,0.22);
  cursor: grab;
  text-align: center;
  line-height: 1;
}
.tier-input {
  height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  background: var(--bg-card);
  font: 400 13px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  padding: 0 10px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.tier-input::placeholder { color: rgba(255,255,255,0.42); }
.tier-input:focus {
  outline: none;
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06) !important;
}
.tier-price-wrap { position: relative; }
.tier-price-prefix {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 11px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.56);
  pointer-events: none;
}
.tier-price-wrap .tier-input { padding-left: 38px; }

/* CCY input — centered, uppercase, clearly secondary */
.tier-ccy-input {
  text-align: center;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.60) !important;
  padding: 0 4px !important;
}
.tier-ccy-input::placeholder { color: rgba(255,255,255,0.28); }

/* Tabular nums on price + qty for proper column alignment */
.tier-price-input,
.tier-qty-input { font-variant-numeric: tabular-nums; }
.tier-delete {
  width: 28px; height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background 0.15s;
  color: rgba(255,255,255,0.42);
}
.tier-delete:hover { background: rgba(192,57,43,0.07); color: rgba(192,57,43,0.60); }
.tier-row-header {
  display: grid;
  grid-template-columns: 20px 1fr 56px 80px 72px 28px;
  gap: 10px;
  padding: 0 4px 6px;
}
.tier-col-label {
  font: 500 10px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.price-summary {
  font: 400 12px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.62);
  text-align: right;
  margin-top: 10px;
}
.ticket-paid-section { transition: opacity 0.2s; }
.ticket-paid-section.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
}

/* ── Upload zones ── */
.upload-zone {
  border: 1px dashed rgba(255,255,255,0.17);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  gap: 8px;
}
.upload-zone:hover {
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
}
.upload-zone:focus-within { border-color: var(--border-hover); }
.upload-zone-sm { height: 100px; }
.uz-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uz-label { font: 500 13px/1 'DM Sans', sans-serif; color: rgba(255,255,255,0.76); }
.uz-spec { font: 400 11px/1 'DM Sans', sans-serif; color: rgba(255,255,255,0.50); }

.gallery-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.gallery-square {
  aspect-ratio: 1;
  border: 1px dashed rgba(255,255,255,0.17);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: 400 18px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.22);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  position: relative;
  overflow: hidden;
}
.gallery-square:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
}
.gallery-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.60);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background 0.12s, border-color 0.12s;
}
.gallery-remove-btn:hover {
  background: rgba(0,0,0,0.85);
  border-color: rgba(255,255,255,0.45);
}
.gallery-square[data-filled] {
  cursor: grab;
}
.gallery-square[data-filled]:active {
  cursor: grabbing;
}
.gallery-square.dragging {
  opacity: 0.28;
  transform: scale(0.94);
  border-style: dashed;
  border-color: rgba(255,255,255,0.35);
  transition: opacity 120ms ease, transform 120ms ease;
}
.gallery-square.drag-over {
  border-style: solid;
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  transform: scale(1.04);
  transition: transform 120ms ease, border-color 80ms ease;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}

.cover-note {
  font: 400 italic 12px/1.4 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.62);
  padding: 10px 0 4px;
}

/* ── Media fields (URL inputs) ── */
.media-label {
  font: 500 12px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
  display: block;
}
.media-field { margin-bottom: 20px; }
.media-field:last-child { margin-bottom: 0; }
.media-field input[type="url"] {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: var(--bg-card);
  font: 400 14px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  padding: 0 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.media-field input::placeholder { color: rgba(255,255,255,0.42); }
.media-field input:focus {
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06) !important;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Custom Select ── */
.custom-select {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  cursor: pointer;
  flex: 1;
  user-select: none;
}
.custom-select-value {
  flex: 1;
  font: 400 14px/1 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.50);
  pointer-events: none;
}
.custom-select-value.filled { color: var(--text-primary); }
.custom-select-chevron {
  width: 12px; height: 12px;
  color: rgba(255,255,255,0.50);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
}
.custom-select.open .custom-select-chevron { transform: rotate(180deg); }
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 160px;
  background: var(--bg-raised);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255,255,255,0.12);
  overflow: hidden;
  display: none;
  z-index: 200;
}
.custom-select.open .custom-select-dropdown { display: block; }
.custom-select-option {
  padding: 10px 14px;
  font: 400 13px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
}
.custom-select-option:hover { background: rgba(255,255,255,0.07); }
.custom-select-option.selected {
  font-weight: 500;
  color: #FFFFFF;
  background: rgba(255,255,255,0.14);
}

/* ── Promo method tabs ── */
.promo-tabs { display: flex; border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; overflow: hidden; }
.promo-tab {
  font: 500 10px/1 'DM Sans',sans-serif;
  padding: 4px 8px;
  border: none; background: transparent; cursor: pointer;
  color: rgba(255,255,255,0.68);
  transition: all 0.12s;
}
.promo-tab.active { background: rgba(255,255,255,0.17); color: #FFFFFF; }

/* ── Description popdown ── */
#descWrapper { margin-bottom: 32px; }
.desc-trigger-text.has-content {
  color: var(--text-primary);
  text-transform: none;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
}
.desc-open .desc-chevron { transform: rotate(90deg); }
.desc-body {
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.18s;
  max-height: 0;
  opacity: 0;
}

/* ── Genre collapsible sub-section ── */
.genre-collapse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s;
}
@media (hover: hover) {
  .genre-collapse-header:hover { background: var(--bg-hover); border-radius: 6px; }
}
.genre-collapse-title {
  font: 700 15px/1 'DM Sans', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}
.genre-collapse-chevron {
  width: 14px; height: 14px;
  color: rgba(255,255,255,0.42);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.genre-section-collapsed .genre-collapse-chevron { transform: rotate(-90deg); }
#genreBody {
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.18s;
}

/* === ENHANCED FORM INTERACTIONS === */

/* Section header click feedback */
.section-header { cursor: pointer; }
.section-header:active { background: rgba(255,255,255,0.04); transition: background 80ms ease; }

/* Input character count */
.input-char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  color: var(--text-dim, rgba(237,238,245,0.20));
  font-family: 'DM Sans', sans-serif;
  pointer-events: none;
  transition: color 200ms ease;
}
.input-char-count.near-limit { color: var(--amber); }
.input-char-count.at-limit { color: var(--red); }

/* Required field indicator */
.field-required::after {
  content: '*';
  color: var(--red);
  margin-left: 3px;
  font-size: 12px;
}

/* Field success state */
.field-success input,
.field-success textarea {
  border-color: rgba(0, 232, 125, 0.35) !important;
  background: rgba(0, 232, 125, 0.03) !important;
}

/* Field error state enhanced */
.error-field input,
.error-field textarea,
input.error-field,
textarea.error-field {
  border-color: rgba(255, 59, 59, 0.5) !important;
  background: rgba(255, 59, 59, 0.04) !important;
}

/* Floating label animation */
.input-wrap { position: relative; }
.input-label-float {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 160ms cubic-bezier(0.16,1,0.3,1);
}
.input-wrap:focus-within .input-label-float,
.input-wrap.has-value .input-label-float {
  top: 8px;
  font-size: 10px;
  color: var(--text-sec);
  transform: translateY(0);
}

/* Textarea auto-grow visual */
textarea { resize: none; overflow: hidden; }

/* Genre chip enhanced */
.genre-chip,
.vibin-tag-chip {
  transition: transform 120ms cubic-bezier(0.16,1,0.3,1),
              border-color 120ms ease,
              background 120ms ease,
              box-shadow 120ms ease;
}
@media (hover: hover) {
  .genre-chip:hover,
  .vibin-tag-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
}
.genre-chip.active,
.vibin-tag-chip.active {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.4);
}

/* Publish button glow on hover */
.publish-btn:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.08), 0 4px 16px rgba(0,0,0,0.4);
}
.publish-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* ── Who is Going block (always visible, no collapse) ── */
.wg-block {
  padding: 0 0 4px;
  border-top: 1px solid var(--border);
}

/* Summary card — mirrors AttendeesRowView */
.wg-summary-card {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  background: var(--bg-raised);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.wg-summary-text { margin-bottom: 10px; }
.wg-friends-text {
  font: 600 15px/1 'DM Sans', sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.wg-count-text {
  font: 400 12px/1 'DM Sans', sans-serif;
  color: var(--text-sec);
  letter-spacing: -0.1px;
}
.wg-avatar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wg-avatar-stack {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.wg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-raised);
  margin-right: -10px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) brightness(0.92);
}
/* Hide avatars that overflow rather than wrapping onto the pill */
.wg-avatar-stack .wg-avatar:last-child { margin-right: 0; }
.wg-view-all {
  font: 600 11px/1 'DM Sans', sans-serif;
  color: var(--text-sec);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-overlay);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hidden state placeholder */
.wg-hidden-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 0 8px;
}

/* Transition for preview/hidden swap */
.wg-preview, .wg-hidden-state {
  transition: opacity 0.2s;
}

/* ── Ticket mode pills (Free / Add tiers) ── */
.ticket-mode-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.ticket-mode-pill {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.45);
  font: 500 13px/1 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ticket-mode-pill.active {
  border-color: rgba(255,255,255,0.55);
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.ticket-mode-pill:not(.active):hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.65);
}
