:root {
  --ink: #0b1020;
  --ink-2: #121a2f;
  --panel: rgba(18, 26, 47, 0.72);
  --panel-solid: #151e35;
  --line: rgba(255, 214, 160, 0.14);
  --text: #f4efe6;
  --muted: #a9b0c2;
  --gold: #e8b86d;
  --gold-2: #f0d09a;
  --teal: #3ecfbf;
  --coral: #ff6b5a;
  --ok: #3dd68c;
  --warn: #f0b429;
  --err: #ff6b7a;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 184, 109, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(62, 207, 191, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1020 0%, #10182c 45%, #0a0f1c 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.aurora {
  pointer-events: none;
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 55vh;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(232, 184, 109, 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(62, 207, 191, 0.12), transparent 50%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.05); }
}

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.site-header, .flash-stack { position: relative; z-index: 1; }
/* Keep .page without z-index so position:fixed modals are not trapped under footer/tabs */
.page { position: relative; }

.site-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}
.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #c9893a);
  color: #1a1208;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 10px 30px rgba(232,184,109,0.35);
}
.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.nav-main a {
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-main a:hover,
.nav-main a.is-active {
  color: var(--text);
  background: rgba(232,184,109,0.12);
  color: var(--gold-2);
}
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.pill, .user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.user-chip { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4923c);
  color: #1a1208;
  box-shadow: 0 12px 28px rgba(232,184,109,0.28);
}
.btn-primary:hover { color: #1a1208; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-danger-ghost {
  border-color: rgba(255,107,122,0.35);
  color: #ff8a96;
}
.btn-danger-ghost:hover {
  border-color: rgba(255,107,122,0.55);
  color: #ffb0b8;
  background: rgba(255,107,122,0.08);
}
.table tr.is-editing td {
  background: rgba(232,184,109,0.06);
}
.btn-teal {
  background: linear-gradient(135deg, #2bb8a8, var(--teal));
  color: #04201c;
}
.btn-block { width: 100%; }
.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transform: none;
  box-shadow: none;
  white-space: nowrap;
}
.btn-sm:hover { transform: none; }
.btn-soft {
  background: rgba(232,184,109,0.12);
  border: 1px solid rgba(232,184,109,0.28);
  color: var(--gold-2);
}
.btn-soft:hover {
  background: rgba(232,184,109,0.2);
  border-color: rgba(232,184,109,0.45);
  color: #fff;
}
.btn-outline {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e8e4db;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.table .action-row {
  justify-content: flex-end;
  gap: 0.4rem;
}
.table .action-row a.btn {
  text-decoration: none;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 4rem;
}

.flash-stack {
  width: min(100% - 2rem, var(--max));
  margin: 0.5rem auto 0;
  display: grid;
  gap: 0.5rem;
}
.flash {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  animation: slideIn .45s ease;
}
.flash-success { border-color: rgba(61,214,140,.35); }
.flash-error { border-color: rgba(255,107,122,.4); }
.flash-info { border-color: rgba(62,207,191,.35); }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  min-height: min(78vh, 720px);
  padding: 2.5rem 0 1.5rem;
}
.hero.hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 1rem;
  min-height: min(72vh, 640px);
  padding: 5.5rem 1.5rem 1.75rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(11,16,32,0.2), rgba(11,16,32,0.78)),
    radial-gradient(circle at 30% 20%, rgba(232,184,109,0.28), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(62,207,191,0.2), transparent 45%),
    linear-gradient(135deg, #1a2748, #0d1324 60%, #241910);
  animation: rise .9s ease both;
}
.hero.hero-banner.has-banner {
  background-size: cover;
  background-position: center;
}
.hero.hero-banner .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin-top: auto;
}
.hero-banner-meta {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.2rem;
  max-width: 28rem;
}
.hero-banner-meta strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-copy { max-width: 36rem; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}
.hero h1 span,
#heroCityLine {
  display: block;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: rgba(230,234,244,0.88);
  font-size: 1.08rem;
  max-width: 32rem;
  margin: 0 0 1.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11,16,32,0.15), rgba(11,16,32,0.75)),
    radial-gradient(circle at 30% 20%, rgba(232,184,109,0.35), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(62,207,191,0.28), transparent 45%),
    linear-gradient(135deg, #1a2748, #0d1324 60%, #241910);
  animation: rise .9s ease both;
}
.hero-visual.has-banner {
  background-size: cover;
  background-position: center;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 60%, rgba(0,0,0,0.55)),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(255,255,255,0.03) 38px, rgba(255,255,255,0.03) 39px);
}
.hero-visual-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
}
.hero-visual-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.section { margin-top: 3rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head p { margin: 0.35rem 0 0; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.filters input, .filters select, .form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0f1628;
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color-scheme: dark;
}
.filters input, .filters select { width: auto; min-width: 140px; }
.filters > button,
.filter-controls > .btn { margin-left: auto; }
.home-banner-dot { margin-left: 0; }

/* Native select menus: dark panel + readable options (Windows/Chrome) */
select,
select.select-dark {
  appearance: none;
  -webkit-appearance: none;
  background-color: #121a2f !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  color: var(--text) !important;
}
select option,
select.select-dark option {
  background-color: #151e35;
  color: #f4efe6;
  padding: 0.65rem 0.75rem;
}
select option:checked,
select option:hover,
select option:focus {
  background-color: #2a3a5c linear-gradient(0deg, #2a3a5c 0%, #2a3a5c 100%);
  color: #ffffff;
}
select:focus {
  outline: none;
  border-color: rgba(232, 184, 109, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.15);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.event-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  color: inherit;
  animation: rise .7s ease both;
}
.event-card:nth-child(2) { animation-delay: .05s; }
.event-card:nth-child(3) { animation-delay: .1s; }
.event-card:nth-child(4) { animation-delay: .15s; }
.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,184,109,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  color: inherit;
}
.event-media {
  aspect-ratio: 16/11;
  background:
    linear-gradient(145deg, rgba(232,184,109,0.25), transparent 50%),
    linear-gradient(320deg, rgba(62,207,191,0.22), transparent 45%),
    linear-gradient(180deg, #243356, #12182b);
  position: relative;
}
.event-media.has-banner {
  background-size: cover;
  background-position: center;
}
.event-media .badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}
.tickets-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.25rem 0 2rem;
}
.tickets-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(232,184,109,0.12), transparent 42%),
    linear-gradient(320deg, rgba(62,207,191,0.1), transparent 48%),
    rgba(16, 22, 36, 0.92);
}
.tickets-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-2);
}
.tickets-hero h1 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.tickets-lead {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}
.tickets-hero-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tickets-stat {
  min-width: 76px;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
  text-align: center;
}
.tickets-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.tickets-stat span {
  color: var(--muted);
  font-size: 0.75rem;
}
.tickets-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.ticket-pass {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(14, 20, 34, 0.96);
  color: inherit;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ticket-pass:hover {
  transform: translateY(-4px);
  border-color: rgba(232,184,109,0.4);
  box-shadow: 0 20px 44px rgba(0,0,0,0.34);
  color: inherit;
}
.ticket-pass-media {
  min-height: 148px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(232,184,109,0.22), transparent 50%),
    linear-gradient(320deg, rgba(62,207,191,0.18), transparent 45%),
    linear-gradient(180deg, #243356, #12182b);
  background-size: cover;
  background-position: center;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.ticket-pass-media.has-banner { background-size: cover; background-position: center; }
.ticket-pass-status {
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.4);
}
.ticket-pass-status.is-ready {
  color: #d8efe8;
  border-color: rgba(62,207,191,0.45);
  background: rgba(62,207,191,0.16);
}
.ticket-pass-status.is-in {
  color: #f4e2bf;
  border-color: rgba(232,184,109,0.5);
  background: rgba(232,184,109,0.16);
}
.ticket-pass-status.is-refunded,
.ticket-pass-status.is-muted {
  color: #c4cad6;
  background: rgba(255,255,255,0.06);
}
.ticket-pass-media-copy h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ticket-pass-media-copy .meta {
  margin: 0;
  color: rgba(235,238,246,0.86);
}
.ticket-pass-body {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  padding: 1.05rem 1.15rem 1.15rem;
}
.ticket-pass-venue {
  margin: 0;
  font-weight: 600;
}
.ticket-pass-offer {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.ticket-pass-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.ticket-pass-metrics span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.ticket-pass-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
}
.ticket-pass-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ticket-pass-amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.ticket-pass-cta {
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 700;
}
.ticket-pass-notch {
  position: absolute;
  top: 148px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b101c;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.ticket-pass-notch-l { left: -9px; }
.ticket-pass-notch-r { right: -9px; }
.tickets-empty {
  margin-top: 1.25rem;
  padding: 2.2rem 1.4rem;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(16,22,36,0.7);
  text-align: center;
}
.tickets-empty h2 {
  margin: 0.4rem 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.tickets-empty .btn { margin-top: 1rem; }
@media (max-width: 720px) {
  .tickets-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .tickets-hero-stats .btn { width: 100%; }
  .ticket-pass-body { grid-template-columns: 1fr; }
  .ticket-pass-side {
    text-align: left;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.booking-food-block {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.booking-food-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.booking-food-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.event-body { padding: 1rem 1.05rem 1.15rem; display: grid; gap: 0.35rem; }
.event-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.meta { color: var(--muted); font-size: 0.88rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  font-weight: 700;
}
.badge {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gold-2);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 1rem; }
.panel h2, .panel h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-top: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.detail-hero {
  border-radius: 28px;
  min-height: 280px;
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11,16,32,0.2), rgba(11,16,32,0.78)),
    radial-gradient(circle at 20% 20%, rgba(232,184,109,0.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(62,207,191,0.22), transparent 40%),
    linear-gradient(135deg, #1d2a4a, #10182c);
  display: flex;
  flex-direction: column;
  justify-content: end;
  animation: rise .8s ease both;
}
.detail-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  margin: 0.4rem 0;
  line-height: 1.05;
}
.stack { display: grid; gap: 0.75rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.stat {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-size: 0.85rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.account-page {
  width: min(100%, 720px);
  margin: 0.5rem auto 2rem;
}
.account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}
.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  background: #c9a36a;
  color: #14100a;
  flex-shrink: 0;
  overflow: hidden;
}
.account-avatar.has-photo,
.account-avatar-preview.has-photo {
  background: #0b1220;
  padding: 0;
}
.account-avatar img,
.account-avatar-preview img,
.drawer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-avatar-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.16);
}
.account-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  background: #c9a36a;
  color: #14100a;
  flex-shrink: 0;
  overflow: hidden;
}
.account-avatar-fallback { line-height: 1; }
.account-avatar-controls { min-width: 0; flex: 1; }
.account-avatar-label {
  margin: 0;
  font-weight: 650;
  color: var(--text);
}
.account-avatar-controls .meta { margin: 0.2rem 0 0.55rem; }
.account-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.user-chip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}
.account-identity h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.account-identity p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  word-break: break-all;
}
.account-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.account-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1208;
  background: rgba(232,184,109,0.9);
}
.account-sep {
  color: #8b93a7;
  font-size: 0.8rem;
}
.account-sep::before {
  content: "·";
  margin-right: 0.45rem;
  color: #5c6578;
}
.account-signout {
  flex-shrink: 0;
  margin-top: 0.35rem;
  color: #a9b0c2;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.account-signout:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.35);
}
.account-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(12, 17, 28, 0.72);
  padding: 1.35rem 1.4rem 1.45rem;
}
.account-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.account-card-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.account-form {
  margin-top: 1.2rem;
}
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.account-form-span {
  grid-column: 1 / -1;
}
.account-form .form-field input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.account-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 640px) {
  .account-header {
    flex-direction: column;
  }
  .account-signout {
    align-self: flex-start;
  }
  .account-form-grid {
    grid-template-columns: 1fr;
  }
  .account-actions {
    justify-content: stretch;
  }
  .account-actions .btn {
    width: 100%;
  }
}
.analytics-filter select {
  min-width: 220px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0.55rem 0.85rem;
}
.analytics-kpis {
  margin-bottom: 1rem;
}
.analytics-charts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
.chart-card {
  margin: 0;
  min-width: 0;
}
.chart-card-wide {
  grid-column: 1 / -1;
}
.chart-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}
.chart-head .meta { margin: 0 0 0.85rem; }
.chart-wrap {
  position: relative;
  height: 240px;
}
.chart-wrap-sm { height: 240px; }
.empty-chart {
  display: grid;
  place-items: center;
  height: 180px;
  margin: 0;
}
@media (max-width: 900px) {
  .analytics-charts { grid-template-columns: 1fr; }
  .chart-card-wide { grid-column: auto; }
  .analytics-filter { width: 100%; }
  .analytics-filter select { width: 100%; }
}

.dress-block {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.dress-block ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.35rem 0;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(62,207,191,0.6);
}

.form-grid { display: grid; gap: 0.9rem; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.event-form-wrap {
  width: min(100%, 760px);
  margin: 0 auto;
}
.event-form-panel { margin-top: 0; }
.event-form-actions { margin-top: 0.35rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}
.repeat-panel-readonly .repeat-chip {
  cursor: default;
  pointer-events: none;
}
.repeat-panel {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  display: grid;
  gap: 0.85rem;
}
.repeat-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}
.repeat-panel-head .meta {
  margin: 0.2rem 0 0;
}
.repeat-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.repeat-chip {
  position: relative;
  cursor: pointer;
}
.repeat-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.repeat-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: #c5cddf;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.repeat-chip:hover span {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.repeat-chip.is-active span {
  background: rgba(232,184,109,0.16);
  border-color: rgba(232,184,109,0.45);
  color: var(--gold-2);
}
.repeat-sublabel {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b93a7;
}
.repeat-interval { margin-bottom: 0.85rem; }
.interval-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.interval-chip {
  position: relative;
  cursor: pointer;
}
.interval-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.interval-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: #c5cddf;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.interval-chip:hover span {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.interval-chip.is-active span {
  background: rgba(62,207,191,0.14);
  border-color: rgba(62,207,191,0.45);
  color: #9af0e8;
}
.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}
.weekday-chip {
  position: relative;
  cursor: pointer;
}
.weekday-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.weekday-chip span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: #a9b0c2;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.weekday-chip:hover span {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.weekday-chip.is-active span {
  background: rgba(232,184,109,0.18);
  border-color: rgba(232,184,109,0.5);
  color: var(--gold-2);
}
@media (max-width: 640px) {
  .weekday-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.date-cal {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(0,0,0,0.2);
  padding: 0.85rem;
  display: grid;
  gap: 0.75rem;
}
.date-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.date-cal-nav strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.date-cal-weekdays,
.date-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}
.date-cal-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6f788c;
  padding: 0.2rem 0;
}
.date-cal-day {
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 10px;
  min-height: 38px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.date-cal-day:hover:not(.is-blank) {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.date-cal-day.is-blank {
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.date-cal-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(62,207,191,0.45);
}
.date-cal-day.is-selected {
  background: rgba(232,184,109,0.2);
  border-color: rgba(232,184,109,0.55);
  color: var(--gold-2);
}
.date-cal-selected {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.65rem;
}
.date-cal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 0.5rem;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(232,184,109,0.35);
  background: rgba(232,184,109,0.1);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 0.3rem 0.55rem 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.date-chip:hover {
  border-color: rgba(232,184,109,0.55);
  background: rgba(232,184,109,0.18);
}
.textarea.is-hidden,
textarea.is-hidden,
textarea[hidden] {
  display: none !important;
}

.scope-fieldset {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  display: grid;
  gap: 0.55rem;
}
.scope-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b93a7;
}
.scope-option {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.scope-option:has(input:checked) {
  border-color: rgba(232,184,109,0.35);
  background: rgba(232,184,109,0.08);
}
.scope-option input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}
.scope-option strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}
.scope-option small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}
.scope-event-pick {
  margin-top: 0.25rem;
}
.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}
.ticket-option {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.ticket-option:has(input:checked), .ticket-option:hover {
  border-color: rgba(232,184,109,0.5);
  background: rgba(232,184,109,0.08);
}
.ticket-option.is-disabled,
.ticket-option:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255,255,255,0.02);
}
.ticket-option.is-disabled:hover,
.ticket-option:has(input:disabled):hover {
  border-color: var(--line);
  background: rgba(255,255,255,0.02);
}
.ticket-option input { margin-right: 0.6rem; }

.checkout-page {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.checkout-hero { margin-bottom: 1.15rem; }
.checkout-hero-media {
  min-height: 200px;
  border-radius: 24px;
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(145deg, rgba(232,184,109,0.18), transparent 48%),
    linear-gradient(320deg, rgba(62,207,191,0.14), transparent 45%),
    linear-gradient(180deg, #243356, #12182b);
  background-size: cover;
  background-position: center;
}
.checkout-hero-media h1 {
  margin: 0.3rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.checkout-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  background: rgba(14, 20, 34, 0.94);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}
.checkout-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.checkout-card-head .meta { margin: 0.3rem 0 0; }
.checkout-offer-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.checkout-offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.checkout-offer:hover {
  border-color: rgba(232,184,109,0.35);
}
.checkout-offer:has(input:checked) {
  border-color: rgba(232,184,109,0.55);
  background: rgba(232,184,109,0.08);
}
.checkout-offer input { margin-top: 0.2rem; }
.checkout-offer-body { display: grid; gap: 0.4rem; min-width: 0; }
.checkout-offer-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.checkout-offer-top strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.checkout-offer-top em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-2);
  white-space: nowrap;
}
.checkout-pay-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.checkout-slots { margin-top: 1rem; }
.checkout-slots-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.checkout-slot-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.checkout-slot {
  position: relative;
  cursor: pointer;
}
.checkout-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-slot span {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.checkout-slot:has(input:checked) span {
  border-color: rgba(232,184,109,0.55);
  background: rgba(232,184,109,0.16);
  color: #f6e7c8;
}
.checkout-slot.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.checkout-dress-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.checkout-dress-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.checkout-check { margin-top: 0.95rem; }
.checkout-qty {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.checkout-qty-label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--muted);
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--gold-2);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.qty-btn:hover:not(:disabled) {
  background: rgba(232,184,109,0.14);
  color: #f6e7c8;
}
.qty-btn:active:not(:disabled) {
  background: rgba(232,184,109,0.22);
}
.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.qty-value {
  width: 2.4rem;
  min-width: 2.4rem;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  font-size: 1rem;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-value::-webkit-outer-spin-button,
.qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.checkout-confirm .btn { margin-top: 0.85rem; }
.checkout-waitlist { margin: 0.75rem 0 0; text-align: center; }
.checkout-side {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  .checkout-pay-row { grid-template-columns: 1fr; }
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.table th, .table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.table th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }

.ops-page .page { max-width: 1100px; }
.ops-shell { width: 100%; }
.ops-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ops-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b93a7;
}
.ops-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}
.ops-result-pill {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.ops-result-pill.is-ok {
  color: #9af0c4;
  background: rgba(61,214,140,0.12);
  border-color: rgba(61,214,140,0.35);
}
.ops-result-pill.is-bad {
  color: #ffb0b8;
  background: rgba(255,107,122,0.12);
  border-color: rgba(255,107,122,0.35);
}
.ops-result-pill.is-warn {
  color: #f0d49a;
  background: rgba(232,184,109,0.14);
  border-color: rgba(232,184,109,0.4);
}
.ops-result-pill.is-scanned {
  color: var(--gold-2);
  background: rgba(232,184,109,0.16);
  border-color: rgba(232,184,109,0.45);
}
.ops-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}
.ops-side { display: grid; gap: 1rem; }
.ops-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(12, 17, 28, 0.78);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.ops-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.ops-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.ops-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(62,207,191,0.12);
  border: 1px solid rgba(62,207,191,0.25);
}
.ops-fields { margin-top: 0.25rem; }
.ops-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.85rem;
  color: #6f788c;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ops-divider::before,
.ops-divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.ops-hint ol {
  margin: 0.6rem 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}
.ops-recent-row {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ops-recent-row:last-child { border-bottom: 0; }
.ops-result {
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.ops-result.is-ok {
  background: rgba(61,214,140,0.1);
  border-color: rgba(61,214,140,0.35);
}
.ops-result.is-bad {
  background: rgba(255,107,122,0.1);
  border-color: rgba(255,107,122,0.35);
}
.ops-result.is-warn {
  background: rgba(232,184,109,0.1);
  border-color: rgba(232,184,109,0.4);
}
.ops-result.is-scanned {
  background: rgba(232,184,109,0.12);
  border-color: rgba(232,184,109,0.45);
}
.app-confirm-sheet {
  width: min(100%, 400px);
  border-color: rgba(232,184,109,0.35);
}
.app-confirm-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.app-confirm-foot .btn {
  border-radius: 999px;
  min-height: 2.75rem;
  font-weight: 700;
}
.door-review-sheet {
  width: min(100%, 420px);
  border-color: rgba(232,184,109,0.45);
}
.door-review-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.door-review-foot form { margin: 0; min-width: 0; }
.door-review-foot .btn {
  border-radius: 999px;
  min-height: 2.85rem;
  font-weight: 700;
}
.door-scanned-sheet {
  width: min(100%, 380px);
  border-color: rgba(232,184,109,0.45);
  text-align: center;
}
.door-scanned-body {
  padding: 0.35rem 1.2rem 0.85rem;
  align-items: center;
  overflow: visible;
}
.door-scanned-body .chip {
  align-self: center;
}
.door-result-code {
  margin: 0.45rem 0 0;
}
.door-result-code code {
  font-size: 1rem;
  color: var(--gold-2);
}
.door-scanned-timer {
  margin-top: 0.75rem !important;
  font-size: 0.8rem;
}
.door-scanned-foot {
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.door-scanned-foot .btn {
  min-width: 140px;
}
.door-decision-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.95rem;
}
.ops-result-label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ops-result h3 { margin: 0 0 0.35rem; }

.door-guest-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 0.85rem 0 0.75rem;
}
.door-guest-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.door-guest-filters .repeat-chip {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
}
.door-guest-list {
  display: grid;
  gap: 0.5rem;
}
.door-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.16);
}
.door-guest-row[hidden],
.door-guest-row.is-filtered-out {
  display: none !important;
}
.door-guest-row strong {
  display: block;
  font-size: 0.95rem;
}
.door-guest-row .meta { margin: 0.2rem 0 0; }
.door-guest-row code {
  font-size: 0.78rem;
  color: var(--gold-2);
}
.door-guest-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
.door-guest-row.has-incident {
  border-color: rgba(255,176,184,0.35);
  background: rgba(255,96,110,0.08);
}
.door-incident-msg {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #ffb0b8;
  max-width: 42ch;
}
@media (max-width: 640px) {
  .door-guest-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .door-guest-meta { align-items: flex-start; }
}

.qr-scanner { display: grid; gap: 0.7rem; }
.qr-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(232,184,109,0.08), transparent 55%),
    #070b14;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 260px;
}
.qr-reader {
  width: 100%;
  min-height: 260px;
}
.qr-reader video {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover;
  display: block;
}
.qr-reader img { display: none !important; }
.qr-idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.25rem;
  pointer-events: none;
  transition: opacity .2s ease;
}
.qr-idle-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  color: var(--gold);
  background: rgba(232,184,109,0.1);
  border: 1px solid rgba(232,184,109,0.22);
}
.qr-idle strong {
  color: var(--text);
  font-size: 0.98rem;
}
.qr-idle small {
  color: #8b93a7;
  font-size: 0.78rem;
  max-width: 220px;
  line-height: 1.35;
}
.qr-scanner.is-scanning .qr-idle { opacity: 0; }
.qr-frame {
  position: absolute;
  inset: 18%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.qr-scanner.is-scanning .qr-frame { opacity: 1; }
.qr-frame span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
}
.qr-frame span:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.qr-frame span:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.qr-frame span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.qr-frame span:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.qr-scanner-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}
.qr-scanner-toolbar .btn {
  width: min(100%, 280px);
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  justify-content: center;
}
.qr-scanner-toolbar [data-qr-stop] {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.qr-scanner-toolbar [data-qr-stop]:hover {
  border-color: rgba(255,176,184,0.55);
  background: rgba(255,96,110,0.16);
  color: #ffd0d5;
}
.qr-scanner-toolbar .btn.is-hidden,
.btn.is-hidden {
  display: none !important;
}
.qr-status {
  margin: 0;
  min-height: 1.25em;
  font-size: 0.84rem;
  color: #8b93a7;
}
.qr-status[data-kind="ok"] { color: #9af0c4; }
.qr-status[data-kind="err"] { color: #ffb0b8; }
.qr-scanner.scan-flash .qr-viewport {
  box-shadow: 0 0 0 2px rgba(61,214,140,0.55);
}
@media (max-width: 900px) {
  .ops-grid { grid-template-columns: 1fr; }
}
.qr-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.result-ok, .result-bad {
  border-radius: 18px;
  padding: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid;
  animation: rise .4s ease both;
}
.result-ok { border-color: rgba(61,214,140,.4); background: rgba(61,214,140,.1); }
.result-bad { border-color: rgba(255,107,122,.4); background: rgba(255,107,122,.1); }

.auth-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.auth-card {
  width: min(100%, 420px);
  animation: rise .6s ease both;
}
.auth-card h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.demo-accounts {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.demo-accounts code {
  color: var(--gold-2);
  font-size: 0.78rem;
}

.campaign-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.campaign-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0.15rem;
}
.campaign-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  font: inherit;
}
.campaign-search input[type="search"]::placeholder {
  color: #8b93a7;
}
.campaign-search input[type="search"]:focus {
  outline: none;
  border-color: rgba(232,184,109,0.5);
  box-shadow: 0 0 0 3px rgba(232,184,109,0.12);
}
.campaign-row {
  align-items: flex-start;
}
.campaign-row-main {
  min-width: 0;
  flex: 1;
}
.campaign-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}
.campaign-deliverables {
  margin: 0.55rem 0 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 52ch;
}
@media (max-width: 640px) {
  .campaign-row-actions {
    align-items: flex-start;
    width: 100%;
  }
}

.table-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.floor-table {
  min-width: 0;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18,26,47,0.9);
  font-size: 0.82rem;
  text-align: left;
}
.floor-table strong { display: block; font-size: 0.95rem; }
.floor-table.vip { border-color: rgba(232,184,109,0.55); }
.floor-table.booth { border-color: rgba(62,207,191,0.55); }
.floor-table.premium { border-color: rgba(140,170,255,0.45); }

.site-footer {
  position: relative;
  z-index: 0;
  width: min(100% - 2rem, var(--max));
  margin: 2.5rem auto 2rem;
  padding: 1.75rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(12, 18, 34, 0.85);
  color: var(--muted);
  font-size: 0.9rem;
}
body.modal-open .site-footer,
body.modal-open .bottom-tabs {
  visibility: hidden;
  pointer-events: none;
}
.event-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.dress-saved {
  margin-top: 1.15rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.dress-saved-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.dress-saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.16);
}
.dress-saved-row[hidden],
.campaign-row.is-filtered-out {
  display: none !important;
}
.dress-saved-row strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.dress-saved-row .meta { margin: 0.2rem 0 0; }
.dress-saved-row.is-editing {
  border-color: rgba(232,184,109,0.45);
  background: rgba(232,184,109,0.08);
}
@media (max-width: 640px) {
  .dress-saved-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dress-saved-row .event-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.banner-field { grid-column: 1 / -1; }
.banner-keep-grid,
.banner-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.55rem;
}
.banner-keep-tile {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #0b1220;
}
.banner-keep-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity .15s ease;
}
.banner-keep-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.banner-keep-remove {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.55);
  color: #ffb0b8;
  opacity: 0;
  transition: opacity .15s ease;
}
.banner-keep-tile:hover .banner-keep-remove { opacity: 1; }
.banner-keep-tile:not(:has(input:checked)) {
  border-color: rgba(255,120,130,0.45);
}
.banner-keep-tile:not(:has(input:checked)) img { opacity: 0.35; }
.banner-keep-tile:not(:has(input:checked)) .banner-keep-remove {
  opacity: 1;
  color: #ffd0d4;
  content: none;
}
.banner-drop {
  display: grid;
  place-items: center;
  gap: 0.25rem;
  min-height: 110px;
  padding: 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(232,184,109,0.35);
  background: rgba(232,184,109,0.05);
  cursor: pointer;
  text-align: center;
}
.banner-drop input { display: none; }
.banner-drop strong { color: var(--gold-2); font-size: 0.95rem; }
.banner-drop.is-drag {
  border-color: rgba(232,184,109,0.7);
  background: rgba(232,184,109,0.12);
}
.banner-preview-tile {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0b1220;
}
.banner-preview-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.banner-preview-tile figcaption {
  padding: 0.35rem 0.45rem;
  font-size: 0.68rem;
  color: #8b93a7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-banner-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  margin: 0 0 0.85rem;
  padding-bottom: 0.2rem;
  scroll-snap-type: x proximity;
}
.event-banner-rail img {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  scroll-snap-align: start;
}
.detail-hero.has-banners {
  background-size: cover;
  background-position: center;
  min-height: clamp(220px, 36vw, 340px);
}
.detail-hero.has-banners .meta {
  color: rgba(235, 238, 246, 0.88);
}

.coupon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.coupon-card {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
}
.coupon-card.is-inactive { opacity: 0.55; }
.coupon-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.coupon-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  background: rgba(232,184,109,0.1);
  border: 1px solid rgba(232,184,109,0.28);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
}
@media (max-width: 860px) {
  .coupon-layout { grid-template-columns: 1fr; }
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  line-height: 1.55;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.footer-cols h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer-cols a,
.footer-cols span {
  display: block;
  color: var(--muted);
  margin: 0.35rem 0;
  text-decoration: none;
}
.footer-cols a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  font-size: 0.8rem;
}
.footer-meta { display: grid; gap: 0.25rem; text-align: right; }
.header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.chip-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.chip {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(62, 207, 191, 0.12);
  border: 1px solid rgba(62, 207, 191, 0.28);
  color: var(--teal);
}
.chip.gold {
  background: rgba(232, 184, 109, 0.12);
  border-color: rgba(232, 184, 109, 0.35);
  color: var(--gold-2);
}
.price-matrix { display: grid; gap: 0.65rem; }
.price-row-card {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.price-row-card.unavailable { opacity: 0.45; }
.sticky-cta {
  display: none;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qr-img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem;
  margin: 0 auto;
  display: block;
}
.offer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.modal-form-grid [hidden] { display: none !important; }

/* Inline multi-pick tiles (offers / dress) */
.pick-field { min-width: 0; }
.pick-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.pick-head label { margin: 0; }
.pick-sub { margin: 0.2rem 0 0; }
.pick-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.45rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,184,109,0.35) transparent;
}
.pick-rail::-webkit-scrollbar { height: 6px; }
.pick-rail::-webkit-scrollbar-thumb {
  background: rgba(232,184,109,0.35);
  border-radius: 999px;
}
.pick-tile {
  position: relative;
  flex: 0 0 auto;
  width: min(168px, 72vw);
  margin: 0;
  padding: 0.85rem 0.85rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(0,0,0,0.22));
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.pick-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pick-tile strong {
  display: block;
  padding-right: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}
.pick-tile small {
  display: block;
  margin-top: 0.28rem;
  color: #8b93a7;
  font-size: 0.72rem;
  line-height: 1.35;
}
.pick-mark {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: transparent;
}
.pick-tile:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.pick-tile.is-on {
  border-color: rgba(232,184,109,0.55);
  background: linear-gradient(165deg, rgba(232,184,109,0.16), rgba(232,184,109,0.05));
}
.pick-tile.is-on strong { color: var(--gold-2); }
.pick-tile.is-on .pick-mark {
  border-color: transparent;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,184,109,0.18);
}
.pick-tile.is-on .pick-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #1a1208;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pick-tile-none strong { color: #a9b0c2; }
.pick-tile-none.is-on strong { color: var(--gold-2); }
.pick-empty {
  margin: 0.4rem 0;
  padding: 0.85rem 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: rgba(4, 8, 16, 0.78);
  overscroll-behavior: contain;
  isolation: isolate;
}
.modal-backdrop.is-hidden,
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-sheet {
  width: min(100%, 560px);
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0e1524;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  overflow: hidden;
}
.modal-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.modal-sheet-head h3 {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.modal-sheet-sub {
  margin: 0.35rem 0 0;
  max-width: 28ch;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #a9b0c2;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.modal-close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.modal-sheet-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.9rem;
  padding: 1.1rem 1.2rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,184,109,0.4) rgba(255,255,255,0.05);
}
.modal-form-grid::-webkit-scrollbar { width: 8px; }
.modal-form-grid::-webkit-scrollbar-thumb {
  background: rgba(232,184,109,0.4);
  border-radius: 999px;
}
.modal-span { grid-column: 1 / -1; }
.modal-form-grid textarea {
  resize: vertical;
  min-height: 64px;
  max-height: 140px;
}
.modal-status {
  margin: 0 1.2rem;
  font-size: 0.84rem;
  color: #8b93a7;
}
.modal-status[data-kind="err"] { color: #ffb0b8; }
.modal-sheet-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: #0b121f;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .modal-form-grid { grid-template-columns: 1fr; }
  .modal-sheet-foot { flex-direction: column-reverse; }
  .modal-sheet-foot .btn { width: 100%; }
}

/* Full-page club setup sheets (dress / offers / coupons) — must beat .modal-sheet */
.modal-sheet.dress-page-sheet {
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  position: relative;
  overflow: visible;
  box-shadow: none;
}
.modal-sheet.dress-page-sheet .modal-sheet-body {
  overflow: visible;
  flex: none;
  min-height: auto;
}
.modal-sheet.dress-page-sheet .modal-form-grid {
  overflow: visible;
  max-height: none;
}
.modal-sheet.dress-page-sheet .modal-sheet-sub {
  max-width: none;
}
.modal-sheet.dress-page-sheet .modal-sheet-foot {
  border-radius: 0 0 16px 16px;
}

.offer-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.offer-aside-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.offer-aside-head .meta {
  margin: 0.2rem 0 0;
}
.offer-card-scroll {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.15rem 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,184,109,0.55) rgba(255,255,255,0.06);
}
.offer-card-scroll::-webkit-scrollbar {
  height: 10px;
}
.offer-card-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}
.offer-card-scroll::-webkit-scrollbar-thumb {
  background: rgba(232,184,109,0.5);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.offer-card-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(232,184,109,0.75);
  background-clip: padding-box;
}
.offer-card {
  flex: 0 0 min(280px, 82vw);
  width: min(280px, 82vw);
  max-width: 280px;
  margin: 0 !important;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.offer-card + .offer-card {
  margin-top: 0 !important;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu-toggle:hover {
  border-color: rgba(232,184,109,0.4);
  background: rgba(232,184,109,0.08);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-only { display: none !important; }
.desktop-only { display: revert; }

/* Side drawer — professional ops nav */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 300px);
  height: 100vh;
  height: 100dvh;
  background: #0c111c;
  border-right: 1px solid rgba(255,255,255,0.06);
  z-index: 40;
  padding: 0;
  transform: translateX(-105%);
  transition: transform .26s cubic-bezier(.22,1,.36,1);
  box-shadow: 12px 0 40px rgba(0,0,0,0.45);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.nav-drawer.open {
  display: flex;
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.58);
  z-index: 35;
  display: none;
  pointer-events: none;
}
.drawer-backdrop.is-visible {
  display: block;
  pointer-events: auto;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}
.drawer-brand:hover { color: var(--text); }
.drawer-brand .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
  border-radius: 9px;
}
.drawer-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.drawer-x {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.drawer-x:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.drawer-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0.85rem 0.35rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
}
.drawer-user-foot {
  margin: 0;
}
.drawer-actions .drawer-user {
  margin: 0;
  padding: 0.5rem 0.6rem;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.drawer-actions .drawer-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}
.drawer-actions .drawer-role {
  margin-top: 0.05rem;
}
.drawer-user:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: inherit;
}
.drawer-user-text {
  flex: 1;
  min-width: 0;
}
.drawer-user-text strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-role {
  display: block;
  margin-top: 0.15rem;
  color: #8b93a7;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-chevron {
  color: #6b7388;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.drawer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: #c9a36a;
  color: #14100a;
  flex-shrink: 0;
  overflow: hidden;
}
.drawer-avatar.has-photo {
  background: #0b1220;
  padding: 0;
}
.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0.15rem 0 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.drawer-label {
  margin: 1rem 1rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f788c;
}
.drawer-label:first-child {
  margin-top: 0.55rem;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 0.55rem;
}
.drawer-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  flex: 0 0 auto;
  min-height: 0;
  transition: background .14s ease, color .14s ease;
}
.drawer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background .14s ease;
}
.drawer-nav a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.drawer-nav a.is-active {
  background: rgba(232,184,109,0.08);
}
.drawer-nav a.is-active::before {
  background: var(--gold);
}
.drawer-nav a.is-active .nav-copy strong {
  color: var(--gold-2);
}
.drawer-nav a.is-active .nav-ico {
  color: var(--gold);
  background: rgba(232,184,109,0.1);
  border-color: transparent;
}
.nav-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}
.nav-copy strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ece7dd;
  letter-spacing: -0.01em;
}
.nav-copy small {
  font-size: 0.68rem;
  color: #7a8296;
  font-weight: 500;
  line-height: 1.25;
}
.drawer-actions {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0a0e17;
}
.drawer-signout {
  display: block;
  text-align: center;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #a9b0c2;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.drawer-signout:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.nav-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: #9aa3b8;
  flex-shrink: 0;
}
.nav-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.drawer-nav a:hover .nav-ico {
  color: #c5cddf;
}

/* Modern custom dropdowns */
.filter-bar {
  align-items: stretch;
  flex-wrap: wrap;
}
.filter-search {
  flex: 1 1 220px;
  min-width: 180px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 100%;
}
.filter-search input { width: 100%; }
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  align-items: stretch;
}
.filter-controls .custom-select { flex: 1 1 140px; }
.filter-controls .filter-submit { margin-left: auto; }

/* Home auto-scrolling promo banner */
.home-banner {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, #1a2748, #0d1324 60%, #241910);
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.home-banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner-slide {
  flex: 0 0 100%;
  min-height: clamp(220px, 52vw, 320px);
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem 1.2rem 1.7rem;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 28% 20%, rgba(232,184,109,0.28), transparent 42%),
    radial-gradient(circle at 78% 70%, rgba(62,207,191,0.18), transparent 45%),
    linear-gradient(135deg, #1a2748, #0d1324 60%, #241910);
  background-size: cover;
  background-position: center;
}
.home-banner-slide.has-banner {
  background-color: #0d1324;
}
.home-banner-copy {
  display: grid;
  gap: 0.28rem;
  max-width: 92%;
  position: relative;
  z-index: 1;
}
.home-banner-copy .badge {
  justify-self: start;
  margin-bottom: 0.15rem;
}
.home-banner-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.home-banner-copy .meta {
  color: rgba(230,234,244,0.86);
  font-size: 0.88rem;
}
.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
  pointer-events: none;
}
.home-banner-dot {
  pointer-events: auto;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.home-banner-dot.is-active {
  width: 16px;
  background: var(--gold-2);
}
.custom-select {
  position: relative;
  min-width: 150px;
  flex: 0 1 auto;
}
.custom-select-label {
  display: none;
}
.custom-select-sheet-head {
  display: none;
}
.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.custom-select-trigger::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.9;
  flex-shrink: 0;
}
.custom-select.open .custom-select-trigger {
  border-color: rgba(232,184,109,0.45);
  box-shadow: 0 0 0 3px rgba(232,184,109,0.12);
}
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #151e35;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  max-height: 260px;
  overflow-y: auto;
}
.custom-option {
  width: 100%;
  display: block;
  text-align: left;
  border: none;
  background: transparent;
  color: #f4efe6;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
}
.custom-option:hover,
.custom-option.is-selected {
  background: rgba(232,184,109,0.16);
  color: var(--gold-2);
}
.select-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 8, 16, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.select-sheet-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.location-chip {
  margin: -0.5rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.location-chip a { margin-left: 0.5rem; }
.demo-fold {
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.demo-fold summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}
.demo-fold[open] summary { color: var(--gold-2); }
.auth-card-modern h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); }

.bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.4rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(11, 16, 32, 0.92);
  border-top: 1px solid var(--line);
}
.bottom-tabs .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
}
.bottom-tabs .tab.active, .bottom-tabs .tab:hover { color: var(--gold-2); background: rgba(232,184,109,0.08); }
.tab-icon { font-size: 1rem; line-height: 1; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {
  .hero:not(.hero-banner) { grid-template-columns: 1fr; min-height: auto; padding-top: 1.25rem; }
  .hero.hero-banner {
    min-height: min(58vh, 480px);
    padding: 4.25rem 1.15rem 1.35rem;
  }
  .hero-visual { min-height: 260px; }
  .detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-only { display: flex !important; }
  .bottom-tabs.mobile-only { display: grid !important; }
  .desktop-only, .nav-main { display: none !important; }
  .page { width: min(100% - 1rem, var(--max)); margin-bottom: 0.65rem; }
  .site-header { padding: 0.65rem 0.85rem; position: sticky; top: 0; z-index: 20; background: #0b1020; }
  .hero.hero-banner {
    min-height: 360px;
    padding: 3.4rem 1rem 1.05rem;
    border-radius: 20px;
    gap: 0.65rem;
  }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 2.9rem); margin-bottom: 0.65rem; }
  .hero .eyebrow { margin-bottom: 0.55rem; }
  .hero-lead { font-size: 0.95rem; margin-bottom: 0.85rem; }
  .hero-actions { gap: 0.55rem; }
  .hero-actions .btn { width: 100%; }
  .hero-banner-meta { display: none; }
  .filters.filter-bar {
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.35rem 0 1rem;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
  }
  .filters.filter-bar input,
  .filters.filter-bar select { width: 100%; min-width: 0; }
  .filter-search {
    flex: 0 0 auto;
    flex-basis: auto;
    min-width: 0;
  }
  .filter-search input {
    min-height: 46px;
    border-radius: 14px;
    background: rgba(15, 22, 40, 0.95);
  }
  .home-banner {
    border-radius: 20px;
    margin: 0;
  }
  .home-banner-slide {
    min-height: 240px;
    aspect-ratio: 4 / 5;
    max-height: 320px;
    padding: 1.15rem 1.05rem 1.85rem;
  }
  .home-banner-copy strong { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }
  .filter-controls {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.05rem 0 0.1rem;
  }
  .filter-controls::-webkit-scrollbar { display: none; }
  .filter-controls .custom-select {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
  }
  .filter-controls .filter-submit { display: none; }
  .custom-select-label {
    display: none;
  }
  .custom-select-trigger {
    width: auto;
    min-height: 38px;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(18, 26, 44, 0.96);
    font-size: 0.86rem;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  }
  .custom-select.is-active .custom-select-trigger {
    border-color: rgba(232,184,109,0.5);
    background: rgba(232,184,109,0.12);
    color: var(--gold-2);
  }
  .custom-select.open .custom-select-trigger {
    border-color: rgba(232,184,109,0.55);
    box-shadow: 0 0 0 3px rgba(232,184,109,0.14);
  }
  .custom-select-trigger::after {
    width: 0.38rem;
    height: 0.38rem;
    margin-left: 0.1rem;
  }
  .custom-select-sheet-head {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 0.15rem 0.35rem 0.65rem;
    position: sticky;
    top: 0;
    background: #151e35;
    z-index: 1;
  }
  .custom-select-sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
  }
  .custom-select-sheet-head strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: #f4efe6;
  }
  .custom-select-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 80;
    width: 100%;
    max-height: min(72vh, 460px);
    padding: 0.65rem 0.75rem calc(0.9rem + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
    background: #151e35;
    box-shadow: 0 -18px 48px rgba(0,0,0,0.45);
    transform: translateY(110%);
    transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .custom-select.open .custom-select-menu {
    transform: translateY(0);
  }
  .custom-option {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .location-chip { margin: 0.55rem 0 0.65rem; }
  .section { margin-top: 1.35rem; }
  .section-head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.75rem;
  }
  .section-head h2 { font-size: 1.35rem; }
  .action-row .btn:not(.btn-sm), .section-head .hero-actions .btn { width: 100%; }
  .split, .offer-form-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .event-media { aspect-ratio: 16/10; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .site-footer { margin-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(4.4rem + env(safe-area-inset-bottom));
    z-index: 25;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  }
  .scan-input input {
    font-size: 1.15rem;
    min-height: 52px;
    letter-spacing: 0.06em;
  }
  .auth-shell { padding: 1rem 0 2rem; min-height: auto; }
}

@media (max-width: 480px) {
  .brand-text { font-size: 1.15rem; }
  .stat strong { font-size: 1.35rem; }
  .detail-hero { padding: 1.25rem; min-height: 220px; border-radius: 20px; }
  .panel { padding: 1rem; border-radius: 18px; }
}
