:root {
  --bg: #fff8ef;
  --bg-deep: #ffe9d4;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --stroke: rgba(248, 169, 83, 0.22);
  --text: #21314f;
  --muted: #6f7b95;
  --accent: #ff9c49;
  --accent-dark: #ff7048;
  --gold: #ffcc5c;
  --sold: #bec7d9;
  --selected: #ff3f4f;
  --scheme-label-color: #111111;
  --shadow: 0 24px 60px rgba(255, 164, 89, 0.18);
}

body.account-page {
  min-height: 100vh;
  margin: 0;
  color: #241238;
  background:
    radial-gradient(circle at 18% 12%, rgba(236, 91, 248, 0.36), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(148, 28, 246, 0.30), transparent 34%),
    linear-gradient(145deg, #fff8ff 0%, #f1d8ff 46%, #f8edff 100%);
}

.account-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.account-hero {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.account-logo {
  display: grid;
  place-items: center;
  min-height: 132px;
  border-radius: 26px;
  background: rgba(54, 23, 83, 0.88);
  box-shadow: 0 24px 55px rgba(94, 25, 145, 0.24);
}

.account-logo img {
  width: 132px;
  height: auto;
}

.account-hero h1 {
  margin: 6px 0 12px;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 0.96;
  color: #2c1243;
  white-space: nowrap;
}

.account-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(36, 18, 56, 0.72);
}

body.account-page.account-logged-in .account-login-hint {
  display: none;
}

.account-card,
.account-order-card,
.account-modal-dialog {
  border: 1px solid rgba(148, 28, 246, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 50px rgba(94, 25, 145, 0.14);
  backdrop-filter: blur(16px);
}

.account-auth-card {
  max-width: 620px;
  padding: 24px;
  margin-left: 196px;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-login-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.account-login-method {
  min-height: 44px;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #6d18a4;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-login-method.active {
  border-color: transparent;
  background: linear-gradient(135deg, #9b25ee, #5f0aa0);
  color: #fff;
}

.account-form.hidden,
.account-form label.hidden,
.account-dashboard.hidden,
.account-modal.hidden {
  display: none;
}

.account-form label,
.account-modal-dialog label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: #351456;
}

.account-form input,
.account-modal-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  color: #241238;
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.account-phone-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.account-phone-input strong {
  padding-left: 18px;
  color: rgba(78, 55, 97, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.account-phone-input input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.account-phone-input:focus-within {
  border-color: rgba(148, 28, 246, 0.62);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.16);
}

.account-profile-card {
  max-width: none;
  padding: 20px 22px;
  margin: 0;
}

.account-profile-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  max-width: 420px;
}

.account-profile-form label {
  display: grid;
  gap: 8px;
  color: #351456;
  font-weight: 800;
}

.account-profile-form input {
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 18px;
  padding: 16px 18px;
  color: #241238;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  outline: none;
}

.account-profile-form #accountProfileEmail {
  font-size: 1.12rem;
}

.account-profile-form .account-phone-input input {
  border: 0;
  padding-left: 8px;
}

.account-profile-form .account-phone-input {
  max-width: 420px;
}

.account-profile-form .account-primary-btn {
  width: auto;
  white-space: nowrap;
  justify-self: start;
}

.account-profile-form .account-status {
  width: 100%;
  margin: 0;
}

.account-profile-confirm-copy {
  margin: 0 0 18px;
  color: rgba(36, 18, 56, 0.7);
  line-height: 1.55;
}

.account-profile-confirm-values {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.account-profile-confirm-values p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(148, 28, 246, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.account-profile-confirm-values span {
  color: rgba(36, 18, 56, 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-profile-confirm-values strong {
  overflow-wrap: anywhere;
  color: #2b1044;
  font-size: 18px;
}

.account-profile-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-profile-confirm-dialog .account-status {
  margin-bottom: 0;
}

.account-form input:focus,
.account-modal-dialog textarea:focus {
  border-color: rgba(148, 28, 246, 0.62);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.16);
}

.account-primary-btn,
.account-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 18px;
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.account-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, rgb(236, 91, 248), rgb(148, 28, 246));
  box-shadow: 0 18px 36px rgba(148, 28, 246, 0.26);
}

.account-secondary-btn {
  color: #411562;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 28, 246, 0.18);
}

.account-primary-btn:disabled,
.account-secondary-btn:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.account-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: rgba(36, 18, 56, 0.70);
  font-weight: 700;
}

.account-status.success {
  color: #15803d;
}

.account-status.error {
  color: #dc2626;
}

.account-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  max-width: 900px;
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}

.account-summary .account-card {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
}

.account-bonus-column {
  display: grid;
  gap: 12px;
}

.account-bonus-card {
  min-height: 104px;
  box-sizing: border-box;
}

.account-bonus-card small {
  color: rgba(36, 18, 56, 0.52);
  font-size: 12px;
  font-weight: 800;
}

.account-bonus-card p {
  margin: 0;
  color: rgba(36, 18, 56, 0.68);
  font-size: 14px;
  line-height: 1.4;
}

.account-bonus-upcoming-card {
  min-height: 126px;
}

.account-bonus-column > #accountLogout {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
}

.account-summary span,
.account-order-total span,
.account-order-number {
  color: rgba(36, 18, 56, 0.58);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-summary strong {
  font-size: 28px;
  color: #2b1044;
}

.account-section-head {
  margin: 0 0 16px;
}

.account-section-head h2 {
  margin: 0 0 6px;
  font-size: 34px;
  color: #2c1243;
}

.account-section-head p {
  margin: 0;
  color: rgba(36, 18, 56, 0.65);
}

.account-orders {
  display: grid;
  gap: 18px;
}

.account-order-card {
  padding: 22px;
}

.account-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 240px);
  gap: 18px;
  align-items: start;
}

.account-order-card h3 {
  margin: 7px 0 8px;
  font-size: 28px;
  color: #25113c;
}

.account-order-card p {
  margin: 4px 0;
  color: rgba(36, 18, 56, 0.68);
}

.account-event-countdown {
  color: #941cf6 !important;
  font-weight: 900;
}

.account-order-total {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.account-order-total strong {
  font-size: 30px;
  color: #2b1044;
}

.account-seat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.account-seat-list li {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(248, 238, 255, 0.88);
  color: #341652;
}

.account-seat-list li strong,
.account-seat-list li span {
  font-size: 20px;
  line-height: 1.2;
}

.account-seat-list li strong {
  color: #2b1044;
}

.account-seat-list li span {
  font-weight: 900;
  color: #3a175c;
}

.account-refund-btn {
  color: #55465f;
  background: rgba(235, 231, 240, 0.92);
  border-color: rgba(94, 76, 110, 0.18);
  box-shadow: none;
}

.account-order-meta,
.account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-order-actions .account-primary-btn,
.account-order-actions .account-secondary-btn {
  width: auto;
  min-width: 112px;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.account-order-actions .account-primary-btn {
  min-width: 148px;
}

.account-order-actions .account-refund-btn {
  min-width: 112px;
}

.account-order-meta {
  margin-bottom: 16px;
  color: rgba(36, 18, 56, 0.70);
  font-weight: 700;
}

.account-muted {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(36, 18, 56, 0.54);
}

.account-refund-note {
  margin: 12px 0 0;
  color: rgba(36, 18, 56, 0.62);
  font-weight: 800;
}

.account-refund-policy-summary {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #941cf6;
  border-radius: 10px;
  background: #f5e7ff;
  color: #4e2369;
  font-weight: 900;
  line-height: 1.45;
}

.account-refund-law {
  margin: 10px 0 0;
  color: rgba(36, 18, 56, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.account-refund-law a {
  color: #941cf6;
  font-weight: 900;
}

.account-refund-eyebrow {
  color: #941cf6 !important;
}

.account-refund-rules {
  margin: 8px 0 0;
}

.account-refund-rules a {
  color: #941cf6;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-empty {
  padding: 24px;
  color: rgba(36, 18, 56, 0.68);
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 18, 56, 0.42);
}

.account-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
}

.account-modal-dialog h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.account-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 28, 246, 0.10);
  color: #411562;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .account-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
  }

  .account-hero,
  .account-summary,
  .account-order-main {
    grid-template-columns: 1fr;
  }

  .account-auth-card {
    margin-left: 0;
  }

  .account-logo {
    min-height: 96px;
  }

  .account-logo img {
    width: 108px;
  }

  .account-order-total {
    justify-items: start;
  }

  .account-order-actions {
    gap: 8px;
  }

  .account-profile-form {
    grid-template-columns: 1fr;
  }

  .account-profile-form .account-primary-btn {
    width: 100%;
  }

  .account-profile-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

}

body.admin-page.dashboard-home-page {
  --scheme-purple-hot: #ec5bf8;
  --scheme-purple-deep: #941cf6;
  --scheme-purple-ink: #21112f;
  --scheme-purple-soft: #f5e7ff;
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
}

body.admin-page.dashboard-home-page .stats-sidebar {
  background:
    linear-gradient(180deg, rgba(33, 17, 47, 0.96), rgba(70, 20, 108, 0.94));
  border-color: rgba(236, 91, 248, 0.18);
}

body.admin-page.dashboard-home-page .stats-nav-link.active,
body.admin-page.dashboard-home-page .stats-nav-link.active:hover,
body.admin-page.dashboard-home-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

body.admin-page.dashboard-home-page .dashboard-head h1 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  color: #29123f;
  text-shadow: 0 12px 34px rgba(148, 28, 246, 0.14);
}

body.admin-page.dashboard-home-page .dashboard-head .eyebrow {
  color: rgba(82, 36, 118, 0.72);
}

body.admin-page.dashboard-home-page .dashboard-kpi-card,
body.admin-page.dashboard-home-page .dashboard-events-card,
body.admin-page.dashboard-home-page .dashboard-event-card {
  border-color: rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

body.admin-page.dashboard-home-page .dashboard-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 220px));
  justify-content: start;
}

body.admin-page.dashboard-home-page .dashboard-kpi-card {
  width: auto;
  padding: 22px 24px;
}

body.admin-page.dashboard-home-page .dashboard-kpi-card > span {
  min-height: 2.35em;
}

body.admin-page.dashboard-home-page .dashboard-kpi-card > strong {
  min-height: 2.3rem;
  display: flex;
  align-items: center;
}

body.admin-page.dashboard-home-page .dashboard-stat-loading {
  color: transparent !important;
  border-radius: 8px;
  background: linear-gradient(
    100deg,
    rgba(116, 72, 151, 0.14) 20%,
    rgba(255, 255, 255, 0.88) 42%,
    rgba(116, 72, 151, 0.14) 64%
  );
  background-size: 220% 100%;
  animation: dashboard-stat-shimmer 1.25s ease-in-out infinite;
  user-select: none;
}

body.admin-page.dashboard-home-page .dashboard-kpi-card > strong.dashboard-stat-loading {
  width: 112px;
  height: 2.05rem;
}

body.admin-page.dashboard-home-page .dashboard-kpi-meta small.dashboard-stat-loading {
  display: inline-block;
  width: 82px;
  min-height: 0.95rem;
}

@keyframes dashboard-stat-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

body.admin-page.dashboard-home-page .dashboard-events-card {
  width: min(100%, 1156px);
}

.tour-calendar-card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(71, 42, 92, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(45, 24, 61, 0.08);
}

.tour-calendar-head,
.tour-calendar-toolbar,
.tour-calendar-controls,
.tour-calendar-day-head,
.tour-calendar-legend,
.tour-calendar-form-actions {
  display: flex;
  align-items: center;
}

.tour-calendar-head {
  justify-content: space-between;
  gap: 24px;
}

.tour-calendar-head h1,
.tour-calendar-head h2 {
  margin: 3px 0 5px;
  font-size: 30px;
  letter-spacing: 0;
}

.tour-calendar-head p:last-child {
  margin: 0;
  color: #706778;
}

.tour-calendar-toolbar {
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 14px;
}

.tour-calendar-toolbar h3 {
  margin: 0;
  font-size: 22px;
  text-transform: capitalize;
}

.tour-calendar-controls {
  gap: 8px;
}

.tour-calendar-controls button,
.tour-calendar-day-head button {
  display: inline-grid;
  place-items: center;
  border: 1px solid #ded6e4;
  background: #fff;
  color: #2a2030;
  cursor: pointer;
}

.tour-calendar-controls button {
  flex: 0 0 auto;
  width: auto;
  min-width: 42px;
  height: 40px;
  padding: 0 13px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.tour-calendar-controls #tourCalendarToday {
  min-width: 86px;
}

.tour-calendar-controls button:first-child,
.tour-calendar-controls button:last-child {
  font-size: 28px;
  line-height: 1;
}

.tour-calendar-scroll {
  overflow-x: auto;
  border: 1px solid #e4dce8;
  border-radius: 12px;
  background: #e4dce8;
}

.tour-calendar-weekdays,
.tour-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  min-width: 924px;
  gap: 1px;
}

.tour-calendar-weekdays {
  border-bottom: 1px solid #e4dce8;
}

.tour-calendar-weekdays span {
  padding: 10px 12px;
  background: #f7f3f9;
  color: #665b6d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tour-calendar-day {
  min-height: 156px;
  padding: 9px;
  background: #fff;
}

.tour-calendar-day.is-outside {
  background: #faf8fb;
}

.tour-calendar-day.is-outside .tour-calendar-day-head time {
  color: #b0a7b5;
}

.tour-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px #bd28ed;
}

.tour-calendar-day-head {
  justify-content: space-between;
  margin-bottom: 7px;
}

.tour-calendar-day-head time {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 900;
}

.tour-calendar-day.is-today .tour-calendar-day-head time {
  background: #2b1538;
  color: #fff;
}

.tour-calendar-day-head button {
  width: 36px;
  height: 36px;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  color: #7d1bae;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
}

.tour-calendar-day:hover .tour-calendar-day-head button,
.tour-calendar-day-head button:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #b426e8;
}

.tour-calendar-day-items {
  display: grid;
  gap: 6px;
}

.tour-calendar-entry {
  display: grid;
  width: 100%;
  gap: 2px;
  padding: 7px 8px;
  overflow: hidden;
  border: 0;
  border-left: 4px solid #6e4a7b;
  border-radius: 6px;
  background: #f2edf5;
  color: #2e2433;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tour-calendar-entry span,
.tour-calendar-entry small {
  overflow: hidden;
  color: #6d6173;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-calendar-entry strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-calendar-entry.status-negotiating { border-left-color: #e79228; background: #fff5e7; }
.tour-calendar-entry.status-hold { border-left-color: #7b5ce0; background: #f2efff; }
.tour-calendar-entry.status-agreed { border-left-color: #26a66f; background: #eaf9f1; }
.tour-calendar-entry.status-contract { border-left-color: #13724c; background: #def4e8; }
.tour-calendar-entry.calendar-event { border-left-color: #2f6fe4; background: #edf4ff; }

.tour-calendar-legend {
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 14px;
  color: #655b6b;
  font-size: 12px;
  font-weight: 800;
}

.tour-calendar-legend span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 2px;
  background: #6e4a7b;
}

.tour-calendar-legend .status-negotiating::before { background: #e79228; }
.tour-calendar-legend .status-hold::before { background: #7b5ce0; }
.tour-calendar-legend .status-agreed::before { background: #26a66f; }
.tour-calendar-legend .status-contract::before { background: #13724c; }
.tour-calendar-legend .calendar-event-legend::before { background: #2f6fe4; }
.tour-calendar-dialog {
  width: min(720px, calc(100vw - 32px));
}

.tour-calendar-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tour-calendar-dialog .admin-action-field {
  margin-top: 14px;
}

.tour-calendar-selected-date {
  margin: 6px 0 2px;
  color: #6b5e72;
  font-size: 16px;
  font-weight: 800;
}

.tour-calendar-dialog select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d9cfdf;
  border-radius: 8px;
  background: #fff;
  color: #2b2230;
  font: inherit;
}

.tour-calendar-form-actions {
  justify-content: flex-end;
  gap: 10px;
}

.tour-calendar-delete {
  margin-right: auto;
  border: 1px solid #e8b9c1;
  border-radius: 8px;
  background: #fff3f5;
  color: #aa2840;
  font: inherit;
  font-weight: 800;
  padding: 11px 16px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .tour-calendar-card { width: 100%; max-width: 100%; padding: 14px 8px; overflow: hidden; border-radius: 14px; }
  .tour-calendar-head { align-items: flex-start; flex-direction: column; }
  .tour-calendar-head h1 { font-size: 25px; }
  .tour-calendar-toolbar { align-items: center; flex-direction: row; margin: 18px 0 10px; }
  .tour-calendar-toolbar h3 { font-size: 17px; }
  .tour-calendar-controls { gap: 4px; }
  .tour-calendar-controls button { min-width: 34px; height: 34px; padding: 0 8px; font-size: 12px; }
  .tour-calendar-controls #tourCalendarToday { min-width: 76px; padding: 0 9px; }
  .tour-calendar-scroll { width: 100%; overflow-x: hidden; }
  .tour-calendar-weekdays,
  .tour-calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); min-width: 0; width: 100%; }
  .tour-calendar-weekdays span { padding: 7px 0; font-size: 10px; text-align: center; }
  .tour-calendar-day { min-width: 0; min-height: 86px; padding: 3px; }
  .tour-calendar-day-head { gap: 1px; margin-bottom: 4px; }
  .tour-calendar-day-head time { width: 22px; height: 22px; font-size: 12px; }
  .tour-calendar-day-head button { width: 24px; height: 24px; border-radius: 0; font-size: 22px; }
  .tour-calendar-day-items { gap: 3px; }
  .tour-calendar-entry { gap: 1px; padding: 3px; border-left-width: 2px; border-radius: 4px; }
  .tour-calendar-entry span,
  .tour-calendar-entry small { display: none; }
  .tour-calendar-entry strong { font-size: 9px; line-height: 1.15; }
  .tour-calendar-legend { gap: 7px 10px; font-size: 10px; }
  .tour-calendar-form-grid { grid-template-columns: 1fr; gap: 0; }
  .tour-calendar-form-actions { flex-direction: column; align-items: stretch; }
  .tour-calendar-form-actions #tourCalendarSubmit { order: 1; }
  .tour-calendar-form-actions [data-tour-calendar-close] { order: 2; }
  .tour-calendar-form-actions #tourCalendarDelete { order: 3; margin-right: 0; }
}

body.admin-page.dashboard-home-page .dashboard-kpi-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
}

body.admin-page.dashboard-home-page .dashboard-kpi-card-primary span,
body.admin-page.dashboard-home-page .dashboard-kpi-card-primary strong {
  color: #29123f;
}

body.admin-page.dashboard-home-page .dashboard-kpi-card-primary > span {
  color: var(--muted);
}

body.admin-page.dashboard-home-page .dashboard-tab {
  border-bottom-color: #ec5bf8;
  color: #29123f;
}

body.admin-page.dashboard-home-page .dashboard-tab.muted {
  border-bottom-color: transparent;
  color: rgba(82, 36, 118, 0.62);
}

body.admin-page.dashboard-home-page .dashboard-event-card.active,
body.admin-page.dashboard-home-page .dashboard-event-card:hover {
  border-color: rgba(236, 91, 248, 0.4);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.16);
}

body.admin-page.dashboard-home-page .dashboard-event-stats span,
body.admin-page.dashboard-home-page .dashboard-event-chip {
  border-color: rgba(236, 91, 248, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

body.admin-page.dashboard-home-page .dashboard-event-actions {
  justify-items: start;
}

body.admin-page.dashboard-home-page .dashboard-event-actions .secondary-btn {
  width: auto;
  min-width: 178px;
  max-width: max-content;
  padding-inline: 20px;
  justify-self: start;
}

body.admin-page.dashboard-home-page .dashboard-more-toggle {
  width: 44px;
  border-color: rgba(236, 91, 248, 0.22);
}

body.admin-page.dashboard-home-page .dashboard-more-menu {
  border-color: rgba(236, 91, 248, 0.2);
  box-shadow: 0 26px 50px rgba(80, 28, 118, 0.16);
}

body.admin-page.dashboard-home-page .primary-btn,
body.admin-page.dashboard-home-page .secondary-btn {
  color: #ffffff;
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.28);
}

body.admin-page.dashboard-home-page .primary-btn:hover,
body.admin-page.dashboard-home-page .secondary-btn:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
}

@media (max-width: 760px) {
  body.admin-page.dashboard-home-page {
    background:
      radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
      radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
      linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
  }

  body.admin-page.dashboard-home-page .stats-sidebar {
    background: rgba(33, 17, 47, 0.98);
  }

  body.admin-page.dashboard-home-page .dashboard-head h1 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  body.admin-page.dashboard-home-page .dashboard-summary-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  body.admin-page.dashboard-home-page .dashboard-kpi-card {
    width: min(100%, 320px);
  }

  body.admin-page.dashboard-home-page .dashboard-event-actions .secondary-btn {
    width: auto;
    min-width: 178px;
    max-width: 100%;
  }
}

.scheme-builder-main {
  max-width: none;
}

body.scheme-builder-page,
body.event-builder-page {
  --scheme-purple-hot: #ec5bf8;
  --scheme-purple-deep: #941cf6;
  --scheme-purple-ink: #21112f;
  --scheme-purple-soft: #f5e7ff;
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
}

.scheme-builder-page .stats-page-head h1,
.event-builder-page .stats-page-head h1 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  white-space: nowrap;
  color: #29123f;
  text-shadow: 0 12px 34px rgba(148, 28, 246, 0.14);
}

.scheme-builder-page .stats-page-head .eyebrow,
.event-builder-page .stats-page-head .eyebrow {
  color: rgba(82, 36, 118, 0.72);
}

.scheme-builder-page .stats-sidebar,
.event-builder-page .stats-sidebar {
  background:
    linear-gradient(180deg, rgba(33, 17, 47, 0.96), rgba(70, 20, 108, 0.94));
  border-color: rgba(236, 91, 248, 0.18);
}

.scheme-builder-page .stats-nav-link.active,
.scheme-builder-page .stats-nav-link:hover,
.event-builder-page .stats-nav-link.active,
.event-builder-page .stats-nav-link:hover {
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #1f2329;
  border-color: transparent;
}

.scheme-builder-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.scheme-builder-panel,
.scheme-editor-workspace {
  border: 1px solid rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.scheme-builder-panel {
  display: grid;
  gap: 16px;
}

.event-builder-page .event-builder-card,
.event-builder-page .event-step-tabs,
.event-builder-page .event-inline-panel,
.event-builder-page #basicStep .event-radio-group,
.event-builder-page .scheme-option-card,
.event-builder-page .pricing-workspace,
.event-builder-page .pricing-canvas-shell,
.event-builder-page .pricing-top-panel,
.event-builder-page .seat-category-list {
  border-color: rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.event-builder-page .event-step-tab.active,
.event-builder-page .scheme-option-card.active {
  border-color: rgba(236, 91, 248, 0.36);
  background: linear-gradient(135deg, rgba(236, 91, 248, 0.18), rgba(148, 28, 246, 0.18));
  color: #29123f;
}

.event-builder-page .event-form-control > input,
.event-builder-page .event-form-control > textarea,
.event-builder-page .event-form-control > select,
.event-builder-page .promo-editor-grid input {
  border-color: rgba(236, 91, 248, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(148, 28, 246, 0.08);
}

.event-builder-page .event-form-control > input:focus,
.event-builder-page .event-form-control > textarea:focus,
.event-builder-page .event-form-control > select:focus,
.event-builder-page .promo-editor-grid input:focus {
  border-color: rgba(236, 91, 248, 0.62);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.14), 0 14px 34px rgba(148, 28, 246, 0.12);
}

.event-checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #39204d;
  font-weight: 700;
}

.event-checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: #9b35ef;
}

.scheme-builder-top-panel {
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  padding: 14px;
  gap: 12px;
  grid-template-columns:
    minmax(250px, 300px)
    minmax(590px, 720px);
  align-items: start;
}

.scheme-builder-top-panel .scheme-builder-block {
  gap: 8px;
}

.scheme-builder-bottom-panel {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.scheme-builder-block {
  display: grid;
  gap: 10px;
}

.scheme-builder-block h2 {
  margin: 0;
  color: #29123f;
  font-size: 17px;
}

.scheme-builder-block label {
  display: grid;
  gap: 6px;
  color: rgba(41, 18, 63, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.scheme-builder-block input,
.scheme-builder-block select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #29123f;
  padding: 0 12px;
  font: inherit;
}

.scheme-builder-block input.is-locked {
  background: rgba(244, 232, 252, 0.76);
  color: rgba(41, 18, 63, 0.62);
  cursor: not-allowed;
}

.scheme-builder-block label.is-locked {
  color: rgba(41, 18, 63, 0.5);
}

.scheme-builder-grid-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.scheme-builder-grid-fields.scheme-grid-controls {
  grid-template-columns: auto repeat(2, minmax(0, 1fr));
  align-items: center;
}

.scheme-builder-grid-fields.scheme-grid-controls label {
  grid-template-columns: auto minmax(72px, 1fr);
  align-items: center;
  white-space: nowrap;
}

.scheme-grid-title {
  color: #29123f;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.scheme-builder-grid-fields.scheme-inline-controls label,
.scheme-inline-field {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  white-space: nowrap;
}

.scheme-builder-grid-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scheme-builder-grid-fields.venue {
  grid-template-columns: minmax(430px, 1.85fr) repeat(4, minmax(142px, 1fr));
  align-items: end;
}

.scheme-existing-picker {
  display: grid;
  gap: 6px;
}

.scheme-existing-picker > label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(41, 18, 63, 0.7);
}

.scheme-existing-open-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  gap: 8px;
  align-items: center;
}

.scheme-existing-open-row .secondary-btn,
.scheme-existing-picker .scheme-delete-existing-btn {
  min-height: 42px;
  height: 42px;
  padding: 0 16px;
}

.scheme-existing-picker .scheme-delete-existing-btn {
  width: 112px;
}

.scheme-tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scheme-balcony-button-row {
  grid-template-columns: repeat(4, minmax(118px, 1fr));
}

.scheme-balcony-button-row .secondary-btn {
  min-height: 42px;
  height: 42px;
  padding: 0 10px;
}

.scheme-builder-page .primary-btn,
.event-builder-page .primary-btn,
.event-builder-page .event-upload-btn,
.event-builder-page .promo-add-btn {
  background: linear-gradient(135deg, var(--scheme-purple-hot), var(--scheme-purple-deep));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.34);
}

.scheme-builder-page .secondary-btn,
.scheme-builder-page .ghost-btn,
.event-builder-page .secondary-btn,
.event-builder-page .ghost-btn {
  border-color: rgba(236, 91, 248, 0.24);
  background: linear-gradient(135deg, rgba(236, 91, 248, 0.16), rgba(148, 28, 246, 0.18));
  color: #29123f;
}

.scheme-builder-page .secondary-btn:hover,
.scheme-builder-page .ghost-btn:hover,
.scheme-builder-page .primary-btn:hover,
.event-builder-page .secondary-btn:hover,
.event-builder-page .ghost-btn:hover,
.event-builder-page .primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(148, 28, 246, 0.3);
}

.scheme-tool {
  min-height: 48px;
  height: 48px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #4b1576;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.scheme-tool svg {
  width: 28px;
  height: 28px;
  display: block;
}

.scheme-tool.active {
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #241406;
  box-shadow: 0 14px 34px rgba(255, 153, 61, 0.26);
}

.danger-btn {
  background: rgba(255, 45, 70, 0.12);
  color: #ffd6dc;
}

.scheme-editor-canvas-layer {
  position: relative;
}

.scheme-zoom-row {
  display: grid;
  gap: 10px;
}

.scheme-floating-zoom-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  grid-template-columns: 58px;
}

.scheme-zoom-row button {
  min-width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #4b1576;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(20, 20, 24, 0.14);
  cursor: pointer;
}

.scheme-save-block {
  justify-self: end;
  width: min(100%, 280px);
}

.scheme-editor-workspace {
  min-width: 0;
}

.scheme-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(41, 18, 63, 0.68);
  margin-bottom: 12px;
}

.scheme-editor-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.scheme-editor-toolbar strong {
  color: #29123f;
}

.scheme-editor-action-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.scheme-action-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(236, 91, 248, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #4b1576;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(148, 28, 246, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.scheme-action-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.scheme-action-icon:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(148, 28, 246, 0.2);
}

.scheme-action-icon:disabled {
  cursor: default;
  opacity: 0.38;
  box-shadow: none;
}

.scheme-toolbar-tool.active {
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #241406;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(255, 153, 61, 0.26);
}

.scheme-action-transform.active {
  background: linear-gradient(135deg, #941cf6, #ec5bf8);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(148, 28, 246, 0.28);
}

.scheme-action-danger {
  color: #ef244f;
  border-color: rgba(239, 36, 79, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.scheme-action-danger svg {
  width: 28px;
  height: 28px;
}

.scheme-action-clear {
  color: #111111;
  border-color: rgba(17, 17, 17, 0.12);
}

.scheme-canvas-wrap {
  position: relative;
  height: calc(100vh - 340px);
  min-height: 560px;
  overflow: auto;
  border: 1px solid rgba(236, 91, 248, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(236, 91, 248, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(254, 252, 255, 0.99), rgba(246, 236, 255, 0.98));
  cursor: crosshair;
}

.scheme-canvas-wrap.is-moving-tool {
  cursor: grab;
}

.scheme-canvas-wrap.is-add-seat-tool {
  cursor: copy;
}

.scheme-canvas-wrap.is-text-tool {
  cursor: text;
}

.scheme-canvas-wrap.is-shape-tool {
  cursor: crosshair;
}

#schemeEditorSvg {
  display: block;
}

.scheme-canvas-resize {
  position: absolute;
  z-index: 8;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 4px 0 0;
  background: linear-gradient(135deg, transparent 42%, #941cf6 43% 55%, transparent 56% 66%, #ec5bf8 67% 79%, transparent 80%);
  cursor: nwse-resize;
  touch-action: none;
  visibility: hidden;
}

.scheme-canvas-resize.is-ready {
  visibility: visible;
}

.scheme-builder-grid-bg {
  fill: #fefcff;
}

.scheme-builder-stage {
  fill: rgba(246, 231, 255, 0.96);
  stroke: rgba(148, 28, 246, 0.38);
  stroke-width: 2;
  cursor: move;
}

.scheme-builder-stage.selected {
  stroke: #ec5bf8;
  stroke-width: 4;
}

.scheme-builder-stage-outline {
  fill: transparent;
  stroke: #941cf6;
  stroke-width: 2.5;
  stroke-dasharray: 7 5;
  pointer-events: none;
}

.scheme-builder-stage-resize {
  fill: #ffdc38;
  stroke: #941cf6;
  stroke-width: 2;
  cursor: nwse-resize;
}

.scheme-builder-stage-label,
.scheme-builder-row-label,
.scheme-builder-label {
  fill: #111111;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: 900;
  user-select: none;
}

.scheme-builder-stage-label {
  font-size: 28px;
  pointer-events: all;
  cursor: move;
}

.scheme-builder-stage-label.selected {
  fill: #941cf6;
}

.scheme-builder-row-label {
  font-size: 17px;
  letter-spacing: 0;
}

.scheme-builder-loge-label {
  font-size: 14px;
  fill: #4b1368;
  font-weight: 900;
}

.scheme-builder-label {
  font-size: 26px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: move;
  pointer-events: all;
}

.scheme-builder-label-hit {
  fill: transparent;
  stroke: none;
  cursor: move;
  pointer-events: all;
}

.scheme-builder-label.selected {
  fill: #ff2d46;
}

.scheme-shape-color-picker {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  border: 2px solid rgba(236, 91, 248, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.08);
}

.scheme-shape-color-picker input {
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.scheme-builder-shape {
  stroke: none;
  stroke-width: 0;
  fill-opacity: 1;
  cursor: move;
}

.scheme-builder-shape.preview {
  stroke: #941cf6;
  stroke-dasharray: 8 5;
  fill-opacity: 0.7;
  pointer-events: none;
}

.scheme-builder-shape.selected {
  stroke: none;
  stroke-width: 0;
  fill-opacity: 1;
}

.scheme-builder-shape-outline {
  fill: transparent;
  stroke: #941cf6;
  stroke-width: 2.5;
  stroke-dasharray: 7 5;
  pointer-events: none;
}

.scheme-builder-shape-resize {
  fill: #ffdc38;
  stroke: #941cf6;
  stroke-width: 2;
  cursor: nwse-resize;
}

.scheme-text-tool-panel {
  position: absolute;
  z-index: 5;
  width: 250px;
  padding: 8px;
  border: 1px solid rgba(148, 28, 246, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.22);
}

.scheme-text-tool-panel input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(236, 91, 248, 0.24);
  border-radius: 11px;
  background: rgba(252, 245, 255, 0.96);
  color: #29123f;
  font: inherit;
  font-weight: 800;
  padding: 0 11px;
}

.scheme-label-size-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #4b1368;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.scheme-label-size-control select {
  min-width: 58px;
  min-height: 30px;
  border: 1px solid rgba(148, 28, 246, 0.22);
  border-radius: 8px;
  background: #fff;
  color: #29123f;
  font: inherit;
  padding: 0 6px;
}

.scheme-label-size-control select:disabled {
  opacity: 0.58;
}

.scheme-builder-seat {
  fill: #cfd4df;
  stroke: none;
  cursor: pointer;
}

.scheme-builder-seat.selected {
  fill: #ec5bf8;
  stroke: #941cf6;
  stroke-width: 3;
}

.scheme-builder-transform-outline {
  fill: rgba(148, 28, 246, 0.045);
  stroke: #941cf6;
  stroke-width: 2.5;
  stroke-dasharray: 7 5;
  pointer-events: none;
}

.scheme-builder-transform-line {
  stroke: #941cf6;
  stroke-width: 2;
  stroke-dasharray: 4 3;
  pointer-events: none;
}

.scheme-builder-transform-handle {
  fill: #ffffff;
  stroke: #941cf6;
  stroke-width: 2.5;
  cursor: grab;
}

.scheme-builder-transform-handle:active {
  cursor: grabbing;
}

.scheme-builder-transform-resize-handle {
  fill: #ffdc38;
  stroke: #941cf6;
  stroke-width: 2.5;
  cursor: nwse-resize;
}

.scheme-builder-transform-bend-handle {
  fill: #ffffff;
  stroke: #ec5bf8;
  stroke-width: 2.5;
  cursor: ns-resize;
}

.scheme-builder-seat-number {
  fill: #29123f;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
  user-select: none;
}

.scheme-builder-seat-accessible {
  fill: #6d28d9;
  font-size: 8px;
  font-weight: 900;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.1px;
}

.scheme-seat-number-panel {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: nowrap;
}

.scheme-seat-number-panel label {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(41, 18, 63, 0.68);
}

.scheme-seat-number-panel input {
  width: 72px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 28, 246, 0.22);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
}

.scheme-seat-number-panel .secondary-btn {
  padding: 8px 12px;
  min-height: 0;
}

.scheme-builder-balcony-frame {
  fill: rgba(236, 91, 248, 0.1);
  stroke: rgba(148, 28, 246, 0.42);
  stroke-width: 2;
  pointer-events: none;
}

.scheme-builder-custom-zone-frame {
  fill: rgba(148, 28, 246, 0.07);
  stroke: #941cf6;
  stroke-width: 2.5;
  stroke-dasharray: 9 5;
  pointer-events: none;
}

.scheme-builder-custom-zone-label {
  fill: #4b1368;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 900;
  pointer-events: none;
  user-select: none;
}

.buyer-balcony-frame {
  fill: rgba(236, 91, 248, 0.08);
  stroke: rgba(148, 28, 246, 0.42);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

#seatMap .buyer-balcony-frame {
  display: none;
}

#mobileSeatMap .buyer-balcony-frame {
  display: none;
}

.scheme-builder-lasso {
  position: absolute;
  border: 2px dashed rgba(236, 91, 248, 0.96);
  background: rgba(148, 28, 246, 0.12);
  pointer-events: none;
}

.scheme-builder-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(236, 91, 248, 0.28);
  border-radius: 12px;
  background: rgba(33, 17, 47, 0.96);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(5, 8, 18, 0.24);
  pointer-events: none;
}

.scheme-builder-tooltip strong,
.scheme-builder-tooltip span {
  display: block;
}

.scheme-builder-tooltip span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1280px) {
  .scheme-builder-top-panel {
    grid-template-columns:
      minmax(240px, 290px)
      minmax(540px, 640px);
  }

  .scheme-builder-grid-fields.venue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .scheme-canvas-wrap {
    height: 68vh;
  }
}

@media (max-width: 720px) {
  .scheme-builder-page .stats-page-head h1 {
    font-size: clamp(28px, 7vw, 38px);
  }

  .scheme-builder-top-panel,
  .scheme-builder-bottom-panel {
    grid-template-columns: 1fr;
  }

  .scheme-balcony-button-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scheme-builder-grid-fields,
  .scheme-builder-grid-fields.two,
  .scheme-builder-grid-fields.venue {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 110, 0.34), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 220, 120, 0.3), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
}

body.admin-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #ffe86a 0%, #ffc837 42%, #ff8a2a 100%);
}

body.admin-page.scheme-builder-page,
body.admin-page.event-builder-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
}

body.admin-page.scheme-builder-page .primary-btn,
body.admin-page.scheme-builder-page .secondary-btn,
body.admin-page.scheme-builder-page .promo-add-btn,
body.admin-page.scheme-builder-page .event-upload-btn,
body.admin-page.event-builder-page .primary-btn,
body.admin-page.event-builder-page .secondary-btn,
body.admin-page.event-builder-page .promo-add-btn,
body.admin-page.event-builder-page .event-upload-btn {
  color: #ffffff;
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.34);
}

body.admin-page.scheme-builder-page .primary-btn:hover,
body.admin-page.scheme-builder-page .secondary-btn:hover,
body.admin-page.scheme-builder-page .promo-add-btn:hover,
body.admin-page.scheme-builder-page .event-upload-btn:hover,
body.admin-page.event-builder-page .primary-btn:hover,
body.admin-page.event-builder-page .secondary-btn:hover,
body.admin-page.event-builder-page .promo-add-btn:hover,
body.admin-page.event-builder-page .event-upload-btn:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
}

body.admin-page.scheme-builder-page .scheme-delete-existing-btn {
  background: linear-gradient(135deg, #ff6b92, #d91f5c);
  box-shadow: 0 14px 32px rgba(217, 31, 92, 0.22);
}

body.admin-page.scheme-builder-page .scheme-delete-existing-btn:hover {
  background: linear-gradient(135deg, #ff86a8, #bd164c);
}

body.admin-page.scheme-builder-page .stats-nav-link.active,
body.admin-page.scheme-builder-page .stats-nav-link.active:hover,
body.admin-page.scheme-builder-page .stats-nav-link:hover,
body.admin-page.event-builder-page .stats-nav-link.active,
body.admin-page.event-builder-page .stats-nav-link.active:hover,
body.admin-page.event-builder-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

.page-shell {
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.sales-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.sales-ribbon-card {
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 172, 95, 0.2);
  backdrop-filter: blur(10px);
}

.sales-ribbon-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.sales-ribbon-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 172, 95, 0.2);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-logo-header {
  height: 48px;
  width: auto;
}

.topbar-links {
  display: flex;
  gap: 10px;
}

.topbar-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(255, 172, 95, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.topbar-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ffd24f, #ff8c3a);
  border-color: transparent;
}

.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(250, 204, 21, 0.22), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 52%, #eef6ff 100%);
  color: #1f2329;
}

.landing-header,
.landing-hero,
.landing-section,
.landing-split,
.landing-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  color: #1f2329;
  text-decoration: none;
}

.landing-brand img {
  width: 168px;
  height: 146px;
  object-fit: contain;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-menu-toggle-input,
.landing-menu-toggle,
.admin-menu-toggle-input,
.admin-menu-toggle {
  display: none;
}

.landing-nav a {
  color: #5f6675;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
}

.landing-login {
  color: #1f2329 !important;
  background: #ffdc38;
  box-shadow: 0 12px 28px rgba(255, 172, 70, 0.24);
}

.landing-admin-link {
  color: #7f8896 !important;
  font-size: 0.94rem;
  font-weight: 700 !important;
  opacity: 0.78;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 34px;
  align-items: center;
  padding: 54px 0 44px;
}

.landing-hero > * {
  min-width: 0;
}

.landing-hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  max-width: 920px;
}

.landing-hero-copy p {
  max-width: 660px;
  color: #606778;
  font-size: 1.24rem;
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.landing-primary-btn,
.landing-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
}

.landing-primary-btn {
  color: #1f2329;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 18px 36px rgba(255, 153, 61, 0.28);
}

.landing-secondary-btn {
  color: #1f2329;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 173, 95, 0.26);
}

.landing-hero-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
  max-width: 540px;
  min-width: 0;
  padding: 22px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(31, 35, 41, 0.96), rgba(48, 39, 30, 0.94)),
    #1f2329;
  box-shadow: 0 34px 90px rgba(54, 42, 28, 0.28);
  overflow: hidden;
}

.landing-hero-panel::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 207, 92, 0.24);
  filter: blur(18px);
}

.landing-mini-window {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.landing-window-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.landing-window-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff9d3d;
}

.landing-window-dots i:nth-child(2) {
  background: #ffdc38;
}

.landing-window-dots i:nth-child(3) {
  background: #55c76a;
}

.landing-ticket-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #1f2329, #3b332b);
}

.landing-ticket-preview > div {
  min-width: 0;
}

.landing-ticket-preview span,
.landing-ticket-preview small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
}

.landing-ticket-preview strong {
  display: block;
  margin: 4px 0;
  font-size: 2rem;
  overflow-wrap: anywhere;
}

.landing-ticket-preview > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  color: #1f2329;
  background: #ffdc38;
  font-weight: 900;
  text-decoration: none;
}

.landing-seat-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin-top: 24px;
  margin-right: auto;
  margin-left: auto;
  padding: 26px;
  border-radius: 24px;
  background: #fff8eb;
}

.landing-seat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-seat-row span {
  display: block;
  width: 100%;
  max-width: 76px;
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: #ffb24f;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.landing-seat-map .hot {
  background: #ff5f57;
}

.landing-seat-map .selected {
  background: #25c7ad;
}

.landing-seat-map .sold {
  background: #c4ccd9;
}

.landing-section,
.landing-split {
  padding: 48px 0;
}

.landing-section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.landing-section h2,
.landing-split h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.landing-section p,
.landing-split p {
  color: #606778;
  font-size: 1.08rem;
  line-height: 1.6;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-coins {
  position: relative;
}

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

.landing-feature-grid article,
.landing-coins-grid article,
.landing-metrics div,
.landing-scanner {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.landing-feature-grid strong,
.landing-coins-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.landing-coins-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 229, 0.82));
  border-color: rgba(255, 157, 61, 0.22);
}

.landing-coins-grid p {
  margin: 0;
}

.landing-scanner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 36px;
}

.landing-scanner .landing-section-head {
  max-width: none;
  margin-bottom: 0;
}

.landing-rustore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 210px);
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-rustore-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.landing-rustore-link img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
}

.landing-scanner-preview {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.landing-scanner-preview img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(31, 35, 41, 0.12));
}

.landing-coins-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 220, 56, 0.22);
  border: 1px solid rgba(255, 157, 61, 0.2);
  color: #5a4a26 !important;
  font-weight: 800;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.landing-metrics {
  display: grid;
  gap: 12px;
}

.landing-metrics span {
  display: block;
  color: #757d8c;
  margin-bottom: 8px;
}

.landing-metrics strong {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 42px;
  color: #606778;
}

.landing-footer a {
  color: #1f2329;
  font-weight: 800;
  text-decoration: none;
}

.showcase-page {
  min-height: 100vh;
  background-color: #11131b;
  background:
    radial-gradient(circle at 12% 0%, rgba(236, 91, 248, 0.22), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 157, 61, 0.2), transparent 30%),
    linear-gradient(145deg, #11131b 0%, #171b2a 42%, #211224 72%, #0e1018 100%);
  background-attachment: fixed;
  color: #1f2329;
}

.showcase-header,
.showcase-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0 10px;
}

.showcase-header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.showcase-city-picker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 8px 5px 14px;
  border: 1px solid rgba(255, 173, 95, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #667085;
  font-size: 0.84rem;
  font-weight: 900;
}

.showcase-city-picker select {
  min-width: 132px;
  padding: 6px 25px 6px 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2329;
  font: inherit;
  cursor: pointer;
}

.showcase-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.showcase-brand img {
  width: 150px;
  height: 100px;
  object-fit: contain;
}

.showcase-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 173, 95, 0.26);
  color: #1f2329;
  font-weight: 900;
  text-decoration: none;
}

.showcase-page .showcase-nav a[href="/account"] {
  border-color: rgba(255, 211, 109, 0.76);
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #2b1b08;
  box-shadow: 0 10px 24px rgba(255, 157, 61, 0.24);
}

.showcase-page .showcase-nav a[href="/account"]:hover {
  border-color: #ffe59a;
  background: linear-gradient(135deg, #ffe856, #ffb34f);
  color: #2b1b08;
}

.showcase-shell {
  padding: 26px 0 54px;
}

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

.showcase-head h1 {
  margin: 8px 0 0;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.96;
}

.showcase-count {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 173, 95, 0.24);
  box-shadow: 0 18px 46px rgba(255, 157, 61, 0.12);
}

.showcase-count span,
.showcase-count strong {
  display: block;
}

.showcase-count span {
  color: #667085;
  font-weight: 800;
  font-size: 0.86rem;
}

.showcase-count strong {
  margin-top: 4px;
  font-size: 2.25rem;
  line-height: 1;
}

.showcase-board {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.showcase-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
}

.showcase-footer-copy {
  display: grid;
  gap: 7px;
}

.showcase-footer-copy strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.showcase-footer a {
  color: #ffd66b;
  font-weight: 800;
  text-decoration: none;
}

.showcase-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.showcase-status {
  padding: 30px 18px;
  border-radius: 22px;
  background: rgba(255, 243, 219, 0.72);
  color: #6b5b46;
  font-weight: 900;
  text-align: center;
}

.showcase-status-loading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.showcase-event-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.showcase-event-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-height: 100%;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 173, 95, 0.22);
  color: #1f2329;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(31, 35, 41, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.showcase-event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 157, 61, 0.5);
  box-shadow: 0 22px 48px rgba(255, 157, 61, 0.18);
}

.showcase-event-card:not(.showcase-event-skeleton) {
  animation: showcase-card-enter 260ms ease-out both;
}

.showcase-event-card:not(.showcase-event-skeleton):nth-child(2) { animation-delay: 45ms; }
.showcase-event-card:not(.showcase-event-skeleton):nth-child(3) { animation-delay: 90ms; }
.showcase-event-card:not(.showcase-event-skeleton):nth-child(4) { animation-delay: 135ms; }
.showcase-event-card:not(.showcase-event-skeleton):nth-child(5) { animation-delay: 180ms; }

.showcase-event-skeleton,
.showcase-event-skeleton:hover {
  pointer-events: none;
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.showcase-event-skeleton i,
.showcase-event-skeleton span,
.showcase-event-skeleton strong {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e9ee;
  color: transparent;
}

.showcase-event-skeleton i::after,
.showcase-event-skeleton span::after,
.showcase-event-skeleton strong::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  animation: showcase-skeleton-shimmer 1.25s ease-in-out infinite;
}

.showcase-event-skeleton:nth-child(2) *::after { animation-delay: 90ms; }
.showcase-event-skeleton:nth-child(3) *::after { animation-delay: 180ms; }
.showcase-event-skeleton:nth-child(4) *::after { animation-delay: 270ms; }
.showcase-event-skeleton:nth-child(5) *::after { animation-delay: 360ms; }

.showcase-skeleton-media {
  display: grid;
  gap: 10px;
}

.showcase-skeleton-media > span {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: #dfe1e8;
}

.showcase-skeleton-media > i {
  height: 58px;
  border-radius: 18px;
  background: #30323a;
}

.showcase-skeleton-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.showcase-skeleton-copy > i {
  width: 46%;
  height: 31px;
  background: #33233e;
}

.showcase-skeleton-copy > strong {
  width: 86%;
  height: 28px;
}

.showcase-skeleton-copy > span {
  width: 70%;
  height: 17px;
}

.showcase-skeleton-copy > small {
  display: block;
  width: 58%;
  height: 27px;
  border-radius: 999px;
  background: #f0e4b5;
  overflow: hidden;
}

.showcase-skeleton-copy > small::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  animation: showcase-skeleton-shimmer 1.25s ease-in-out infinite;
}

.showcase-skeleton-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showcase-skeleton-price > strong {
  width: 94px;
  height: 43px;
  border-radius: 16px;
  background: #f0ca43;
}

.showcase-skeleton-price > span {
  width: 82px;
  height: 16px;
}

@keyframes showcase-skeleton-shimmer {
  to { transform: translateX(110%); }
}

@keyframes showcase-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-event-skeleton *::after {
    animation: none;
  }

  .showcase-event-card:not(.showcase-event-skeleton) {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .showcase-event-skeleton:nth-child(5) {
    display: none;
  }
}

@media (max-width: 900px), (max-device-width: 980px) {
  html,
  body.admin-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .admin-page .stats-shell,
  .admin-page .stats-main,
  .admin-page .dashboard-main,
  .admin-page .dashboard-events-card,
  .admin-page .dashboard-event-list,
  .admin-page .dashboard-event-card,
  .admin-page .dashboard-event-body,
  .admin-page .dashboard-event-copy,
  .admin-page .dashboard-event-side-blocks,
  .admin-page .tour-calendar-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .showcase-event-skeleton:nth-child(n + 3) {
    display: none;
  }
}

.showcase-event-date {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1f2329, #382d24);
  color: #ffdc38;
}

.showcase-date-main {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.showcase-event-date strong {
  font-size: 2rem;
  line-height: 1;
}

.showcase-event-date span,
.showcase-event-date small {
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-event-date span {
  font-size: 1rem;
}

.showcase-event-date small {
  color: #ffdc38;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  white-space: nowrap;
}

.showcase-event-media {
  display: grid;
  gap: 10px;
}

.showcase-event-poster {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #231f20, #563a22);
  color: #ffdc38;
  font-size: 3.4rem;
  font-weight: 950;
}

.showcase-event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-event-copy {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.showcase-event-copy .eyebrow {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #444444;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  text-transform: none;
  letter-spacing: 0;
}

.showcase-event-city {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 10px;
  background: #21112f;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.1;
}

.showcase-event-copy .eyebrow small {
  color: #667085;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.showcase-event-copy h2 {
  margin: 0;
  color: #1f2329;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: clamp(1.38rem, 1.75vw, 1.82rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.showcase-event-copy h2.showcase-title-long {
  font-size: clamp(1.18rem, 1.42vw, 1.48rem);
  line-height: 1.1;
}

.showcase-event-copy h2.showcase-title-extra-long {
  font-size: clamp(1.02rem, 1.18vw, 1.25rem);
  line-height: 1.08;
}

.showcase-event-type {
  width: fit-content;
  margin: 4px 0 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 220, 56, 0.34);
  color: #765013;
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 900;
  line-height: 1.15;
}

.showcase-event-meta {
  display: grid;
  gap: 5px;
  color: #606778;
  line-height: 1.42;
}

.showcase-event-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.showcase-price-tag {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  gap: 6px;
  padding: 10px 13px;
  border-radius: 16px;
  background: #ffdc21;
  border: 1px solid rgba(235, 178, 0, 0.58);
  color: #241800;
  box-shadow: 0 12px 22px rgba(255, 190, 20, 0.24);
}

.showcase-price-tag span {
  color: rgba(36, 24, 0, 0.72);
  font-size: 1rem;
  font-weight: 950;
}

.showcase-price-tag strong {
  color: #1d1400;
  font-size: 1.38rem;
  line-height: 1;
}

.showcase-seat-count {
  margin-left: auto;
  color: #606778;
  font-size: 0.92rem;
  font-weight: 850;
  text-align: right;
}

.vayner-showcase-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 201, 107, 0.2), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(148, 28, 246, 0.22), transparent 32%),
    linear-gradient(145deg, #100d16 0%, #201225 52%, #10131d 100%);
}

.vayner-showcase-header {
  border-bottom: 1px solid rgba(244, 201, 107, 0.16);
}

.vayner-showcase-header .showcase-nav a {
  border-color: rgba(244, 201, 107, 0.3);
  color: #fff7e9;
  background: rgba(255, 255, 255, 0.07);
}

.vayner-showcase-header .showcase-nav a:hover {
  border-color: rgba(244, 201, 107, 0.64);
  color: #f4c96b;
}

.vayner-showcase-head {
  color: #ffffff;
}

.vayner-showcase-head h1 {
  color: #f4c96b;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.vayner-showcase-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vayner-showcase-page .showcase-count {
  border-color: rgba(244, 201, 107, 0.3);
  color: #fff7e9;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.vayner-showcase-page .showcase-count span {
  color: rgba(255, 255, 255, 0.64);
}

.vayner-showcase-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(18px, calc((100vw - 1480px) / 2));
  border-top: 1px solid rgba(244, 201, 107, 0.16);
  color: rgba(255, 255, 255, 0.64);
  background: rgba(8, 7, 12, 0.82);
}

.vayner-showcase-footer > div {
  display: grid;
  gap: 6px;
}

.vayner-showcase-footer strong {
  color: #ffffff;
}

.vayner-showcase-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.vayner-showcase-footer a {
  color: #f4c96b;
  font-weight: 800;
  text-decoration: none;
}

.vayner-legal-page {
  background:
    radial-gradient(circle at top left, rgba(244, 201, 107, 0.24), transparent 34rem),
    linear-gradient(135deg, #fffaf0, #f8efff);
}

.vayner-legal-page .legal-note {
  border-left: 3px solid #b87524;
  background: #fff6d9;
}

.hero,
.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 24px;
  padding: 34px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: #ff8b43;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  line-height: 1.04;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: 1.58rem;
  line-height: 1.1;
}

.hero-text,
.map-hint,
.admin-note,
.admin-message,
.hall-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badges span,
.hall-card span,
.legend span,
.summary-chip,
.section-chip {
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-badges span,
.legend span {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.hero-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.metric {
  padding: 20px 22px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 233, 0.94)),
    linear-gradient(145deg, rgba(255, 206, 125, 0.18), rgba(255, 142, 110, 0.12));
  color: var(--text);
  border: 1px solid rgba(255, 172, 95, 0.16);
}

.metric strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.92fr;
  gap: 22px;
  align-items: start;
}

.layout-two-columns {
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.95fr);
}

.admin-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
}

.panel {
  padding: 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.hall-cards,
.hall-meta,
.checkout-form,
.admin-grid {
  display: grid;
  gap: 12px;
}

.hall-card {
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 232, 0.86));
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-align: left;
  color: var(--text);
}

.hall-card:hover,
.hall-card.active {
  transform: translateY(-2px);
  border-color: rgba(255, 156, 73, 0.5);
  box-shadow: 0 16px 28px rgba(255, 156, 73, 0.18);
}

.hall-card h3 {
  margin-bottom: 8px;
}

.bottom-panel {
  margin-top: 22px;
}

.horizontal-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hall-meta div,
.total-box,
.result-card,
.admin-box {
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.hall-meta span,
.total-box span,
.selection-head span,
.summary-chip span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zoom-controls button,
.ghost-btn {
  width: auto;
  min-width: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 10px 12px;
}

.map-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.summary-chip {
  padding: 12px 16px;
}

.summary-chip strong {
  font-size: 1rem;
}

.section-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 14px;
}

.section-chip {
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
  color: var(--text);
  min-height: 0;
}

.section-chip strong,
.section-chip span {
  display: inline;
}

.section-chip span {
  font-size: 0.74rem;
  color: var(--muted);
  margin-left: 6px;
}

.section-chip.active {
  border-color: rgba(255, 156, 73, 0.45);
  background: rgba(255, 208, 141, 0.26);
  transform: translateY(-1px);
}

.all-sections-chip {
  background: linear-gradient(135deg, var(--chip-color, #ffd36d), #ffb55f);
  border-color: rgba(255, 156, 73, 0.34);
  color: #7a4306;
}

.all-sections-chip span {
  color: rgba(122, 67, 6, 0.8);
}

.all-sections-chip.active {
  background: linear-gradient(135deg, #ffcc62, #ff9b57);
  border-color: rgba(255, 123, 59, 0.55);
  color: #ffffff;
}

.all-sections-chip.active span {
  color: rgba(255, 255, 255, 0.86);
}

.section-chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--chip-color, var(--gold));
  margin-right: 6px;
}

.compact-legend {
  align-items: center;
}

.compact-legend .section-chip {
  border-radius: 999px;
  white-space: nowrap;
}

.buyer-price-legend {
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.buyer-price-legend.legend-multiline {
  display: grid;
  grid-template-columns: repeat(var(--legend-columns), max-content);
  grid-template-rows: repeat(2, minmax(22px, auto));
  justify-content: center;
  align-content: center;
  row-gap: 8px;
  column-gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
}

.buyer-price-legend .price-legend-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff7ef;
  box-shadow: none;
}

.buyer-price-legend.legend-multiline .price-legend-chip {
  min-width: 0;
}

.selected-price-legend {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 18px;
  max-width: min(70%, 560px);
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(117, 63, 184, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(56, 35, 82, 0.14);
  pointer-events: none;
}

.selected-price-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 18px;
}

.selected-price-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  color: #2e2140;
  white-space: nowrap;
}

.selected-price-chip strong {
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
}

.selected-price-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: var(--chip-color, var(--gold));
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.selected-price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: #2e2140;
  white-space: nowrap;
}

.selected-price-summary > strong {
  font-size: 0.96rem;
  font-weight: 950;
}

.selected-price-buy-button {
  pointer-events: auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #8f36d9, #5f16b8);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(95, 22, 184, 0.2);
}

.selected-price-buy-button:hover {
  transform: translateY(-1px);
}

.buyer-price-legend .price-legend-chip::before {
  width: 16px;
  height: 16px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.buyer-price-legend .price-legend-chip strong {
  display: inline;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
}

.buyer-price-legend .price-legend-chip span {
  display: none;
}

.buyer-price-legend .price-legend-chip.active {
  transform: none;
  background: transparent;
}

.map-canvas {
  position: relative;
}

.seat-map-show-time {
  position: absolute;
  top: 14px;
  left: 50%;
  right: auto;
  z-index: 3;
  margin: 0;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2b241d;
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.map-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: transparent;
  padding: 12px;
  min-height: 580px;
  display: flex;
  justify-content: center;
}

.tickets-page .buyer-map-wrap {
  cursor: default;
  user-select: none;
  overscroll-behavior: contain;
}

.tickets-page .buyer-map-wrap.is-dragging,
.tickets-page .buyer-map-wrap.is-dragging * {
  cursor: grabbing !important;
}

.map-wrap.large-desktop-map {
  justify-content: flex-start;
}

@media (min-width: 901px) {
  .tickets-page .map-wrap.large-desktop-map {
    height: 710px;
    min-height: 710px;
    max-height: 710px;
    align-items: flex-start;
    overscroll-behavior: contain;
    padding: 2px;
    border-color: transparent;
  }

  .tickets-page .map-wrap.large-desktop-map #seatMap {
    height: auto;
    max-height: none;
    min-height: 0;
    border: 0;
    border-radius: 0;
    margin-inline: auto;
    flex: 0 0 auto;
  }
}

#seatMap {
  display: block;
  width: min(100%, 1068px);
  min-width: 0;
  min-height: 540px;
  transition: width 160ms ease;
}

.tickets-page .buyer-map-wrap.is-dragging #seatMap {
  pointer-events: none;
}

.seat-tooltip {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  min-width: 180px;
  max-width: 240px;
  border-radius: 18px;
  border: 1px solid rgba(255, 177, 104, 0.22);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  padding: 12px 14px;
  box-shadow: 0 12px 24px rgba(255, 156, 73, 0.16);
}

.seat-tooltip.hidden {
  display: none;
}

.seat-tooltip p {
  margin: 0;
}

.seat-tooltip .seat-tooltip-price {
  color: #ffd24f;
  margin-top: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.dot.available {
  background: var(--gold);
}

.dot.invited {
  background: #7b6cf6;
}

.dot.selected {
  background: var(--selected);
}

.dot.sold {
  background: var(--sold);
}

.seat {
  cursor: pointer;
  stroke: none;
  stroke-width: 0;
  transition: opacity 120ms ease, filter 120ms ease, r 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .seat:hover {
    filter: brightness(1.08);
  }
}

.seat.available {
  fill: var(--seat-color, var(--gold));
}

.seat.selected {
  fill: #ff2d46;
  stroke: none;
  stroke-width: 0;
  filter: drop-shadow(0 0 7px rgba(255, 45, 70, 0.45));
}

.seat-selected-check {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.seat.focus-preview {
  fill: #ff2d46;
  stroke: #ff2d46;
  stroke-width: 3px;
  filter: drop-shadow(0 0 9px rgba(255, 45, 70, 0.46));
}

.seat-tooltip .seat-tooltip-hint {
  color: #ff7d2e;
  font-weight: 800;
  margin: 6px 0;
}

.seat.sold {
  fill: var(--sold);
  opacity: 0.92;
  cursor: not-allowed;
}

.seat.reserved {
  fill: var(--sold);
  opacity: 0.96;
  cursor: not-allowed;
}

.seat.quota {
  fill: var(--sold);
  opacity: 0.96;
  cursor: not-allowed;
}

body.tickets-page .quota-seat-star {
  display: none;
}

body.tickets-page .seat.golden-quota-seat.available {
  fill: #d6a62e;
  stroke: #fff1a8;
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 5px rgba(214, 166, 46, 0.45));
}

body.tickets-page .golden-quota-seat + .quota-seat-star,
body.tickets-page .quota-seat-star {
  fill: #fff6c7;
}

body.tickets-page .seat.golden-quota-seat ~ .quota-seat-star {
  display: block;
}

body.tickets-page .quota-seat-star {
  display: block;
  fill: #fff7c7;
  stroke: #79520a;
  stroke-width: 0.65px;
  font-size: 12px;
}

body.tickets-page .seat.sold,
body.tickets-page .seat.reserved,
body.tickets-page .seat.quota,
body.tickets-page .seat.unpriced,
body.tickets-page .seat.unpriced:hover {
  fill: #cfd4df;
  opacity: 1;
}

.quota-seat-star {
  fill: #ffffff;
  font-size: 10px;
  font-weight: 950;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(20, 20, 20, 0.48);
  stroke-width: 1.2px;
  user-select: none;
}

.accessible-seat-mark {
  fill: #5b21b6;
  font-size: 8px;
  font-weight: 900;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.2px;
  user-select: none;
}

.accessible-seat-mark.compact {
  font-size: 6px;
}

.seat.unpriced,
.seat.unpriced:hover {
  fill: #cfd4df;
  opacity: 0.78;
  cursor: not-allowed;
  filter: none;
}

.seat.limit-blocked {
  fill: var(--seat-color, var(--gold));
  opacity: 0.42;
  cursor: not-allowed;
}

.seat.invited {
  fill: #7b6cf6;
  cursor: pointer;
}

.seat.dimmed {
  opacity: 0.22;
  filter: saturate(0.7);
}

.stage {
  fill: rgba(246, 231, 255, 0.96);
  stroke: rgba(148, 28, 246, 0.38);
  stroke-width: 2;
}

.stage-label {
  fill: var(--scheme-label-color);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hall-map-shape {
  fill-opacity: 1;
  stroke: none;
  stroke-width: 0;
  pointer-events: none;
}

.row-label {
  fill: var(--scheme-label-color);
  font-size: 11px;
  pointer-events: none;
}

.row-label-center {
  fill: var(--scheme-label-color);
  font-weight: 800;
}

.section-area-label {
  fill: var(--scheme-label-color);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  pointer-events: none;
  text-transform: uppercase;
}

.selection-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-selection-head {
  margin-bottom: 10px;
}

.selected-seats {
  display: grid;
  gap: 10px;
  min-height: 140px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.44);
}

.selected-seats.empty {
  display: block;
  color: var(--muted);
  padding: 0;
  border: 0;
  background: transparent;
}

.selected-seats.has-selection {
  background: linear-gradient(180deg, rgba(255, 208, 141, 0.34), rgba(255, 167, 93, 0.18));
  border-color: rgba(255, 156, 73, 0.28);
}

.seat-pill {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 252, 246, 0.94);
}

.seat-pill strong {
  display: block;
  margin-bottom: 4px;
}

.remove-seat {
  width: auto;
  border: none;
  background: transparent;
  color: #ffd24f;
  padding: 6px 8px;
}

.admin-action-stack {
  display: grid;
  gap: 10px;
}

.price-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.preset-btn {
  background: rgba(255, 248, 240, 0.98);
  color: var(--text);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

input,
select,
textarea,
button {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  font: inherit;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

body.admin-page.scheme-builder-page .scheme-editor-action-icons .scheme-action-icon {
  box-sizing: border-box;
  inline-size: 42px !important;
  block-size: 42px !important;
  min-inline-size: 42px !important;
  min-block-size: 42px !important;
  max-inline-size: 42px !important;
  max-block-size: 42px !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  align-self: center;
  line-height: 1;
}

body.admin-page.scheme-builder-page .scheme-editor-action-icons .scheme-action-icon svg {
  flex: 0 0 auto;
  inline-size: 24px;
  block-size: 24px;
}

body.admin-page.scheme-builder-page .scheme-editor-action-icons #deleteSelection svg {
  inline-size: 29px;
  block-size: 29px;
}

textarea {
  resize: vertical;
}

button {
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fffaf5;
  border: none;
}

body.admin-page .primary-btn,
body.admin-page .secondary-btn,
body.admin-page .event-step-tab.active,
body.admin-page .stats-nav-link.active,
body.admin-page .promo-add-btn,
body.admin-page .event-upload-btn {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

body.admin-page .primary-btn:hover,
body.admin-page .secondary-btn:hover,
body.admin-page .event-step-tab.active:hover,
body.admin-page .stats-nav-link.active:hover {
  background: linear-gradient(135deg, #ffe856, #ff8f2c);
}

.secondary-btn {
  background: linear-gradient(135deg, rgba(255, 220, 166, 0.88), rgba(255, 194, 131, 0.88));
  color: #7c4306;
}

.ghost-btn {
  color: var(--muted);
}

.total-box strong {
  font-size: 1.8rem;
}

.result-card.hidden {
  display: none;
}

.result-card.success {
  border-color: rgba(39, 211, 195, 0.38);
}

.purchase-result-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #25103f 0%, #6821a8 48%, #c142dc 100%);
}

.purchase-result-shell {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.purchase-result-confetti {
  position: fixed;
  z-index: 1;
}

.purchase-result-logo {
  width: 180px;
  max-width: 46vw;
  max-height: 150px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 22px;
  display: block;
}

.purchase-result-shell h1 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 12px;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.purchase-result-shell p {
  margin: 0 0 24px;
  color: #5f5a51;
  font-size: 1.08rem;
  line-height: 1.55;
}

.purchase-result-shell .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(255, 149, 0, 0.24);
}

.purchase-result-actions {
  width: min(320px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.purchase-result-actions .primary-btn {
  width: 100%;
}

.purchase-result-shell-minimal h1 {
  margin-bottom: 32px;
  font-size: clamp(2.15rem, 5vw, 3.25rem);
}

.stats-panel {
  margin-bottom: 22px;
}

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

.stats-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.admin-panel {
  margin-top: 22px;
}

.isolated-admin {
  margin-top: 0;
}

.admin-sidebar {
  position: sticky;
  top: 18px;
}

.single-column {
  grid-template-columns: 1fr;
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-box {
  overflow: hidden;
}

.admin-stack {
  display: grid;
  gap: 12px;
}

.step-card {
  padding: 14px;
}

.step-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.summary-mini {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 177, 104, 0.16);
}

.summary-mini span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-mini strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.summary-mini .event-date-line {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(255, 244, 233, 0.78);
  letter-spacing: -0.01em;
}

.summary-mini .event-time-line {
  display: block;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 0.95;
  color: #fff8ef;
  letter-spacing: -0.06em;
}

.stats-panel .summary-mini strong,
.export-panel .summary-mini strong {
  font-size: 1.95rem;
}

.admin-message {
  margin-top: 14px;
  min-height: 24px;
  padding: 10px 14px;
  border-radius: 16px;
  overflow-wrap: anywhere;
}

.admin-message:empty {
  display: none;
}

.admin-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 180;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(31, 35, 41, 0.94);
  border: 1px solid rgba(255, 177, 104, 0.24);
  box-shadow: 0 22px 56px rgba(18, 18, 32, 0.26);
  color: #fff8ef;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-toast.success {
  background: linear-gradient(135deg, rgba(29, 114, 66, 0.96), rgba(40, 145, 80, 0.94));
  border-color: rgba(183, 238, 172, 0.32);
}

.admin-toast.error {
  background: linear-gradient(135deg, rgba(153, 45, 45, 0.96), rgba(199, 63, 63, 0.94));
  border-color: rgba(255, 190, 190, 0.32);
}

body.modal-open {
  overflow: hidden;
}

.admin-action-modal.hidden {
  display: none;
}

.admin-action-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-action-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 12, 41, 0.58);
  backdrop-filter: blur(8px);
}

.admin-action-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px 28px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at top left, rgba(246, 200, 255, 0.22), transparent 44%),
    linear-gradient(145deg, rgba(88, 23, 130, 0.96), rgba(181, 82, 238, 0.92));
  box-shadow: 0 32px 90px rgba(21, 10, 37, 0.42);
  color: #fff9ff;
}

.admin-action-dialog h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.admin-action-modal-notice .admin-action-dialog h2 {
  font-size: clamp(1.24rem, 2.1vw, 1.52rem);
  text-align: center;
}

.admin-action-modal-notice .admin-action-close {
  display: none;
}

.admin-action-dialog p {
  margin: 0;
  color: rgba(255, 246, 255, 0.88);
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-line;
}

.admin-action-field {
  display: grid;
  gap: 8px;
}

.admin-action-field span {
  color: rgba(255, 246, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-action-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: #241238;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.admin-action-field input:focus {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.18);
}

.ticket-transfer-dialog {
  width: min(620px, 100%);
}

.ticket-transfer-dialog .admin-action-primary {
  min-width: 220px;
  white-space: nowrap;
}

#transferSelectedTickets {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 0.84rem;
}

.ticket-transfer-select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 12px 16px;
  font: inherit;
  color: #241238;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.ticket-transfer-select:focus {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.18);
}

.ticket-transfer-selected-seats {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
}

.ticket-transfer-selected-seat {
  line-height: 1.35;
}

.ticket-transfer-summary-progress {
  color: #fff4bd;
  font-weight: 700;
}

.ticket-transfer-summary-error {
  color: #ffd0d8;
  font-weight: 700;
}

.ticket-transfer-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .ticket-transfer-dialog .admin-action-primary {
    min-width: 0;
    white-space: normal;
  }
}

.admin-action-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: rgba(255, 243, 255, 0.76);
  font-size: 2rem;
  line-height: 1;
  padding: 4px 8px;
}

.admin-action-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.admin-action-buttons-vertical {
  display: grid;
  grid-template-columns: minmax(180px, 260px);
  justify-content: center;
}

.admin-action-buttons-vertical .admin-action-primary,
.admin-action-buttons-vertical .admin-action-secondary {
  width: 100%;
}

.admin-action-primary,
.admin-action-secondary {
  min-width: 128px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
}

.admin-action-primary {
  border: 1px solid rgba(229, 198, 255, 0.4);
  background: linear-gradient(135deg, #8b2cf5, #ca63ff);
  color: #fff;
  box-shadow: 0 18px 38px rgba(95, 21, 162, 0.32);
}

.admin-action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #fff8ff;
}

.export-panel {
  margin-bottom: 22px;
}

.export-grid {
  margin-bottom: 16px;
}

.export-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.export-list {
  display: grid;
  gap: 10px;
}

.export-list.empty {
  color: var(--muted);
}

.export-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.export-card strong {
  display: block;
  margin-bottom: 4px;
}

.export-card a {
  color: #ff7c3b;
  text-decoration: none;
  font-weight: 700;
}

.stats-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.stats-sidebar {
  background: #1f2329;
  color: #f5f7fb;
  padding: 28px 22px;
  display: grid;
  align-content: start;
  gap: 26px;
}

.stats-brand {
  display: grid;
  gap: 10px;
}

.stats-brand-mark {
  display: inline-flex;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.brand-logo-sidebar {
  width: 178px;
  max-width: 100%;
  max-height: 164px;
  object-fit: contain;
}

.stats-nav {
  display: grid;
  gap: 10px;
}

.stats-nav-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: rgba(245, 247, 251, 0.76);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.stats-nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #ffcc5c, #ff9743);
}

.stats-nav-logout {
  color: #ffd7d7;
  background: rgba(220, 38, 38, 0.16);
}

.event-builder-card {
  margin-bottom: 22px;
}

.event-builder-body {
  padding: 26px 22px 24px;
}

.event-step-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-edit-boot #stepSchemeTab,
.event-step-tab .edit-step-label,
.event-edit-boot .event-step-tab .create-step-label {
  display: none;
}

.event-edit-boot .event-step-tab .edit-step-label {
  display: inline;
}

.event-step-tab {
  width: auto;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-weight: 700;
}

.event-step-tab.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #ffcc5c, #ff9743);
}

.event-form-grid {
  display: grid;
  gap: 22px;
}

.event-form-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (min-width: 901px) {
  #basicStep .event-form-row {
    grid-template-columns: 240px minmax(0, 600px);
    gap: 16px;
  }

  #basicStep .event-form-actions {
    margin-left: 256px;
  }
}

.event-venue-form .event-form-row {
  grid-template-columns: 150px minmax(360px, 760px);
  gap: 16px;
  justify-content: start;
}

#venueStep.creation-inline {
  margin-top: 8px;
}

#venueStep.creation-inline > .event-back-link,
#venueStep.creation-inline .event-form-actions {
  display: none;
}

.event-form-row > label,
.event-form-row > .event-form-label {
  padding-top: 12px;
  font-size: 1.08rem;
}

.event-form-control {
  display: grid;
  gap: 10px;
}

@media (min-width: 901px) {
  #basicStep .event-form-control {
    width: 600px;
    max-width: 100%;
  }
}

.event-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promo-editor-grid {
  grid-template-columns: minmax(150px, 1fr) minmax(96px, 112px) minmax(120px, 140px) auto;
  gap: 8px;
  align-items: center;
}

.promo-add-btn {
  width: fit-content;
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.promo-code-list {
  display: grid;
  gap: 10px;
}

.promo-code-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.promo-code-item div {
  display: grid;
  gap: 2px;
}

.promo-code-item span {
  color: var(--muted);
}

.buyer-promo-box {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #321b04;
  box-shadow: none;
}

.promo-toggle {
  width: fit-content;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff7ef;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: none;
}

.promo-toggle:hover {
  border-color: rgba(255, 210, 138, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.promo-input-panel {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 149, 60, 0.96), rgba(255, 205, 82, 0.94));
  border: 1px solid rgba(255, 230, 148, 0.52);
  box-shadow: 0 18px 34px rgba(255, 128, 32, 0.18);
}

.promo-input-panel.hidden {
  display: none;
}

.buyer-promo-box label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.buyer-promo-box input {
  border-color: rgba(83, 42, 5, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.buyer-promo-box .secondary-btn {
  border-color: rgba(83, 42, 5, 0.12);
  background: linear-gradient(135deg, #381d05, #7d3b0d);
  color: #fff8ef;
}

.buyer-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.buyer-promo-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: rgba(50, 27, 4, 0.72);
  font-weight: 700;
}

.buyer-promo-status.success {
  color: #1f8a4c;
}

.buyer-promo-status.error {
  color: #b34b3f;
}

.buyer-promo-status.golden {
  color: #8b6208;
}

.event-datetime-grid {
  grid-template-columns: minmax(170px, 1.25fr) minmax(116px, 0.8fr) minmax(170px, 1.25fr) minmax(116px, 0.8fr);
}

.event-single-date-grid {
  grid-template-columns: minmax(180px, 1.15fr) minmax(120px, 0.75fr) minmax(120px, 0.75fr);
}

.event-time-field {
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.event-time-field span {
  padding-left: 2px;
}

.event-datetime-grid input[type="date"] {
  min-width: 170px;
}

.event-datetime-grid input[type="time"] {
  min-width: 116px;
}

.event-radio-group,
.event-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

#basicStep .event-form-control > input,
#basicStep .event-form-control > textarea,
#basicStep .event-form-control > select,
#basicStep .event-cover-upload input,
#basicStep .promo-editor-grid input {
  border: 1px solid rgba(34, 43, 68, 0.22);
  background: #fff;
  box-shadow: 0 10px 26px rgba(36, 31, 20, 0.08);
}

#basicStep .event-form-control > input:focus,
#basicStep .event-form-control > textarea:focus,
#basicStep .event-form-control > select:focus,
#basicStep .event-cover-upload input:focus,
#basicStep .promo-editor-grid input:focus {
  outline: none;
  border-color: rgba(255, 148, 61, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 185, 71, 0.2), 0 12px 30px rgba(36, 31, 20, 0.1);
}

#eventCast {
  width: min(760px, 100%);
  min-height: 58px;
  height: auto;
  overflow-y: hidden;
  resize: vertical;
}

#basicStep .event-radio-group {
  padding: 14px 16px;
  border: 1px solid rgba(34, 43, 68, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(36, 31, 20, 0.07);
}

.event-radio-group label,
.event-checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.event-cover-upload,
.event-hall-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.event-upload-btn {
  width: auto;
  min-width: 240px;
}

.event-cover-preview {
  width: min(360px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.84);
}

.event-cover-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.event-cover-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.event-cover-crop-action,
.event-cover-remove {
  min-height: 46px;
  border: 0;
  border-top: 1px solid rgba(148, 28, 246, 0.12);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.event-cover-crop-action {
  color: #fff;
  background: linear-gradient(135deg, #8b1cf6, #c92cff);
}

.event-cover-crop-action:hover {
  filter: brightness(1.08);
}

.event-cover-remove {
  width: 100%;
  background: #fff;
  color: #8b1cf6;
}

.event-cover-remove:hover {
  background: #f7efff;
}

.event-trailer-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-media-choice {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  width: min(100%, 360px);
  padding: 4px;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 12px;
  background: rgba(245, 236, 252, 0.82);
}

.event-media-choice label {
  cursor: pointer;
}

.event-media-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.event-media-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #5c406f;
  font-weight: 900;
}

.event-media-choice input:checked + span {
  background: linear-gradient(135deg, #8b1cf6, #c92cff);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(139, 28, 246, 0.2);
}

.event-media-panel {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.event-gallery-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 12px;
}

.event-gallery-slot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 10px;
  border: 1px dashed rgba(139, 28, 246, 0.36);
  border-radius: 10px;
  background: #f6effb center / cover no-repeat;
}

.event-gallery-slot.has-image::before {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(16, 8, 24, 0.82));
}

.event-gallery-slot button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b1cf6, #c92cff);
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.event-gallery-slot [data-action="remove-gallery"] {
  margin-left: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: #7b1acb;
}

.event-trailer-preview {
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 16px;
  background: #160d20;
}

.event-trailer-preview video {
  display: block;
  width: 100%;
  max-height: 300px;
  background: #000;
}

.event-trailer-remove {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-top: 1px solid rgba(148, 28, 246, 0.18);
  background: #fff;
  color: #8b1cf6;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.event-trailer-player {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.event-trailer-top {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  box-shadow: 0 22px 52px rgba(3, 4, 10, 0.22);
}

.event-trailer-player video {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.event-photo-gallery {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}

.event-photo-gallery-main {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.event-photo-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.event-photo-gallery-thumbs button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
}

.event-photo-gallery-thumbs button.active {
  border-color: #c92cff;
  opacity: 1;
}

.event-photo-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.analytics-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.analytics-table th,
.analytics-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 28, 246, 0.12);
  text-align: left;
  white-space: nowrap;
}

.analytics-table th {
  color: #6e287e;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.analytics-table td {
  color: #31213c;
}

.analytics-table tbody tr:hover {
  background: rgba(236, 91, 248, 0.06);
}

.analytics-delete-row {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #8f1ed6, #c42ee8);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.analytics-delete-row:hover {
  filter: brightness(1.08);
}

.analytics-delete-row:disabled {
  cursor: wait;
  opacity: 0.55;
}

@media (max-width: 700px) {
  .analytics-summary-grid {
    grid-template-columns: 1fr;
  }
}

.event-cover-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 7, 20, 0.78);
}

.event-cover-crop-modal.hidden {
  display: none;
}

.event-cover-crop-backdrop {
  position: absolute;
  inset: 0;
}

.event-cover-crop-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(210, 137, 255, 0.38);
  border-radius: 24px;
  background: linear-gradient(145deg, #251039, #120b1f 72%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.event-cover-crop-dialog h2 {
  margin: 0 38px 8px 0;
}

.event-cover-crop-note {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
}

.event-cover-crop-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.event-cover-crop-viewport {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: #100817;
  touch-action: none;
  user-select: none;
}

.event-cover-crop-image {
  position: absolute;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.event-cover-crop-frame {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 999px rgba(5, 2, 10, 0.28);
  pointer-events: none;
}

.event-cover-crop-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  width: min(460px, 100%);
  margin: 18px auto 0;
}

.event-cover-crop-controls input {
  accent-color: #c92cff;
}

.event-cover-crop-icon {
  width: 44px;
  height: 42px;
  border: 1px solid rgba(215, 151, 255, 0.38);
  border-radius: 12px;
  background: linear-gradient(135deg, #7921d6, #bd2cff);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.event-cover-crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .event-cover-preview-actions,
  .event-cover-crop-actions {
    grid-template-columns: 1fr;
  }

  .event-cover-crop-dialog {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .event-cover-crop-actions {
    display: grid;
  }
}

.event-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-left: calc(320px + 24px);
}

.event-form-actions .primary-btn {
  width: auto;
  min-width: 220px;
}

.scheme-step-actions {
  justify-content: center;
  margin: 42px 0 8px;
}

.scheme-step-actions .primary-btn {
  min-width: 300px;
}

#createEventButton {
  min-width: 320px;
  min-height: 66px;
  padding-inline: 34px;
  border-radius: 22px;
  font-size: 1.18rem;
  font-weight: 950;
  box-shadow: 0 20px 44px rgba(255, 149, 0, 0.34);
}

.pricing-quota-stack,
.pricing-save-stack {
  display: grid;
  gap: 8px;
  align-self: stretch;
}

.pricing-save-stack #createEventButton {
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 13px;
  font-size: 0.84rem;
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.26);
}

body.admin-page.event-edit-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
}

body.admin-page.event-edit-page .stats-sidebar {
  background:
    linear-gradient(180deg, rgba(33, 17, 47, 0.96), rgba(70, 20, 108, 0.94));
  border-color: rgba(236, 91, 248, 0.18);
}

body.admin-page.event-edit-page .stats-nav-link.active,
body.admin-page.event-edit-page .stats-nav-link.active:hover,
body.admin-page.event-edit-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

body.admin-page.event-edit-page .dashboard-events-card,
body.admin-page.event-edit-page .event-builder-card,
body.admin-page.event-edit-page .event-step-tabs,
body.admin-page.event-edit-page .pricing-workspace,
body.admin-page.event-edit-page .pricing-canvas-shell,
body.admin-page.event-edit-page .pricing-top-panel {
  border-color: rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

body.admin-page.event-edit-page .pricing-workspace,
body.admin-page.event-edit-page .pricing-canvas-shell {
  width: 100%;
}

body.admin-page.event-edit-page .pricing-canvas-shell {
  justify-items: stretch;
}

body.admin-page.event-edit-page .pricing-top-panel,
body.admin-page.event-edit-page .pricing-map-wrap,
body.admin-page.event-edit-page .seat-category-list {
  width: 100%;
  max-width: none;
}

body.admin-page.event-edit-page .primary-btn,
body.admin-page.event-edit-page .pricing-top-panel .primary-btn,
body.admin-page.event-edit-page .save-event-edit {
  color: #ffffff;
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.34);
}

body.admin-page.event-edit-page .secondary-btn,
body.admin-page.event-edit-page .ghost-btn,
body.admin-page.event-edit-page .pricing-top-panel .secondary-btn,
body.admin-page.event-edit-page .pricing-top-panel .ghost-btn {
  border-color: rgba(236, 91, 248, 0.24);
  background: linear-gradient(135deg, rgba(236, 91, 248, 0.16), rgba(148, 28, 246, 0.18));
  color: #29123f;
}

.event-back-link {
  width: auto;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #4868f4;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.event-step-heading {
  margin-bottom: 24px;
}

.event-step-heading h2 {
  margin-bottom: 10px;
  font-size: 2.1rem;
}

.admin-page #eventPageTitle {
  max-width: min(100%, 760px);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.admin-page.event-edit-page #eventPageTitle {
  max-width: min(100%, 1280px);
  font-size: clamp(1.14rem, 1.72vw, 1.58rem);
  font-weight: 800;
  white-space: pre-line;
  line-height: 1.22;
  overflow: visible;
  text-overflow: clip;
}

.admin-page #pricingStep .event-step-heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 10px;
}

.admin-page #pricingStep .event-step-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

.admin-page #pricingStep .event-step-heading .admin-note {
  font-size: 0.9rem;
}

.pricing-hidden-head {
  display: none;
}

.event-inline-panel {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.scheme-option-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.scheme-option-card {
  width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.84);
  text-align: left;
  display: grid;
  gap: 16px;
}

.scheme-option-card.active {
  border-color: rgba(255, 173, 67, 0.56);
  box-shadow: 0 18px 36px rgba(255, 173, 67, 0.18);
  background: linear-gradient(180deg, rgba(255, 249, 237, 0.98), rgba(255, 240, 217, 0.92));
}

.scheme-option-preview {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  border: 1px solid rgba(210, 198, 176, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 241, 233, 0.96));
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 12px;
}

.scheme-option-preview::before,
.scheme-option-preview::after {
  content: none;
}

.scheme-mini-map {
  width: 100%;
  height: 220px;
  display: block;
}

.scheme-mini-map .mini-map-bg {
  fill: rgba(255, 255, 255, 0.8);
  stroke: rgba(42, 40, 36, 0.18);
  stroke-width: 1.4;
}

.scheme-mini-map circle {
  fill: #ff9743;
  stroke: #fff;
  stroke-width: 1.2;
}

.scheme-mini-map.grand circle:nth-of-type(2n) {
  fill: #ffcc5c;
}

.scheme-mini-map.grand circle:nth-of-type(3n) {
  fill: #69b7ff;
}

.scheme-mini-map.chamber circle:nth-of-type(3n) {
  fill: #ffcc5c;
}

.scheme-mini-map.chamber circle:nth-of-type(4n) {
  fill: #ee6f9f;
}

.scheme-mini-map .mini-stage {
  fill: #252525;
}

.scheme-mini-map .mini-stage-label {
  fill: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-anchor: middle;
  letter-spacing: 1.2px;
}

.scheme-mini-map .mini-row-label,
.scheme-mini-map .mini-section-label {
  fill: var(--scheme-label-color);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.scheme-mini-map .mini-aisle {
  fill: none;
  stroke: rgba(42, 40, 36, 0.18);
  stroke-width: 2;
  stroke-linecap: round;
}

.scheme-mini-map.exact .mini-map-shape {
  opacity: 0.9;
}

.scheme-mini-map.exact .mini-custom-label {
  fill: var(--scheme-label-color);
  font-weight: 700;
  text-anchor: middle;
}

.scheme-preview-loading,
.scheme-preview-error {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.scheme-preview-error {
  color: #9a2c5e;
}

.scheme-option-copy {
  display: grid;
  gap: 6px;
}

.scheme-option-copy strong {
  font-size: 1.22rem;
}

.scheme-option-copy span {
  color: var(--muted);
}

.pricing-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 760px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.pricing-sidebar {
  background: #333331;
  color: #fff;
  padding: 22px 18px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.pricing-sidebar .event-step-tab {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.pricing-sidebar .event-step-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pricing-sidebar-head {
  display: grid;
  gap: 16px;
}

.pricing-sidebar-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
}

.pricing-add-btn,
.pricing-sidebar .secondary-btn,
.pricing-sidebar .primary-btn {
  width: 100%;
}

.pricing-editor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.pricing-editor label:first-child,
.pricing-quota-controls {
  grid-column: span 1;
}

.pricing-editor label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(36, 40, 50, 0.72);
  font-weight: 800;
}

.pricing-editor input {
  min-height: 40px;
  background: #ffffff;
  color: var(--text);
  border-color: rgba(236, 91, 248, 0.22);
}

.pricing-top-panel {
  width: min(100%, 1220px);
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background: rgba(252, 245, 255, 0.9);
  box-shadow: 0 16px 36px rgba(148, 28, 246, 0.1);
}

.pricing-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-action-icons {
  flex: 0 0 auto;
}

.pricing-lasso-toggle.scheme-action-icon {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  justify-self: auto;
  font-weight: 900;
}

.pricing-toolbar-row .pricing-selection-summary {
  flex: 1 1 260px;
  min-width: 220px;
}

.pricing-top-panel .primary-btn,
.pricing-top-panel .secondary-btn,
.pricing-top-panel .ghost-btn {
  min-height: 40px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 13px;
  font-size: 0.84rem;
}

.pricing-top-panel .primary-btn {
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.26);
}

.pricing-top-panel .secondary-btn,
.pricing-top-panel .ghost-btn {
  border-color: rgba(236, 91, 248, 0.24);
  background: linear-gradient(135deg, rgba(236, 91, 248, 0.16), rgba(148, 28, 246, 0.18));
  color: #29123f;
}

.pricing-bottom-actions {
  width: min(100%, 1220px);
  display: flex;
  justify-content: center;
  margin: 14px 0 2px;
}

.pricing-bottom-actions #createEventButton {
  width: min(100%, 460px);
}

.pricing-quota-controls {
  display: grid;
  gap: 8px;
  align-self: stretch;
}

.pricing-top-panel .pricing-quota-controls {
  align-self: end;
  min-height: 40px;
}

.pricing-top-panel .pricing-quota-controls .secondary-btn {
  height: 100%;
}

.pricing-quota-popover {
  position: absolute;
  z-index: 8;
  width: min(360px, calc(100% - 36px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(43, 18, 63, 0.18);
  backdrop-filter: blur(14px);
}

.pricing-quota-popover.hidden {
  display: none;
}

.pricing-quota-popover label {
  display: grid;
  gap: 7px;
  color: #29123f;
  font-size: 0.9rem;
  font-weight: 950;
}

.pricing-quota-popover input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid rgba(148, 28, 246, 0.22);
  background: #fffaff;
  color: #29123f;
  font: inherit;
}

.pricing-quota-popover .primary-btn {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 0.88rem;
}

.pricing-quota-recipient-list {
  display: grid;
  gap: 7px;
  padding-top: 2px;
}

.pricing-quota-recipient-list.hidden {
  display: none;
}

.pricing-quota-recipient-list p {
  margin: 0;
  color: rgba(41, 18, 63, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
}

.pricing-quota-recipient-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pricing-quota-recipient-row button {
  width: auto;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 28, 246, 0.18);
  background: rgba(245, 229, 255, 0.92);
  color: #4b225f;
  font-size: 0.82rem;
  font-weight: 900;
}

.quota-workspace {
  width: min(100%, 1220px);
  display: grid;
  gap: 16px;
}

.quota-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid rgba(236, 91, 248, 0.2);
  border-radius: 20px;
  background: rgba(252, 245, 255, 0.92);
  box-shadow: 0 14px 34px rgba(148, 28, 246, 0.1);
}

.quota-head h2 {
  margin: 0;
  color: #29123f;
}

.quota-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.quota-view-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(236, 91, 248, 0.2);
}

.quota-view-toggle button {
  min-height: 30px;
  padding: 5px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4b225f;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.quota-view-toggle button.active {
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(148, 28, 246, 0.22);
}

.quota-group-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.quota-group-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(148, 28, 246, 0.09);
}

.quota-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.quota-group-title h3 {
  margin: 0;
  color: #221034;
  font-size: 1rem;
  line-height: 1.25;
}

.quota-group-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--quota-color);
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 5px 14px rgba(43, 18, 63, 0.12);
}

.quota-group-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #3c1c51;
  font-weight: 900;
}

.quota-group-meta > span {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(236, 91, 248, 0.12);
}

.quota-color-palette {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 5px 7px;
  border: 1px solid rgba(148, 28, 246, 0.16);
  border-radius: 10px;
  background: rgba(248, 244, 252, 0.94);
}

.quota-color-swatch {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: 0 0 0 1px rgba(34, 16, 52, 0.2);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.quota-color-swatch:hover {
  transform: scale(1.12);
}

.quota-color-swatch.active {
  box-shadow: 0 0 0 2px #941cf6, 0 4px 10px rgba(148, 28, 246, 0.22);
  transform: scale(1.08);
}

.quota-group-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-self: start;
  align-items: flex-start;
  align-content: flex-start;
}

.quota-group-categories span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: auto;
  min-height: 0;
  padding: 5px 8px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--quota-color) 32%, white);
  background: color-mix(in srgb, var(--quota-color) 14%, white);
  color: color-mix(in srgb, var(--quota-color) 76%, #221034);
  font-size: 0.78rem;
  font-weight: 850;
}

.quota-group-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quota-group-actions button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background: linear-gradient(135deg, rgba(236, 91, 248, 0.14), rgba(148, 28, 246, 0.18));
  color: #2d143f;
  font-weight: 900;
}

.quota-map-wrap {
  min-height: 620px;
}

#quotaSeatMap {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.quota-overview-seat {
  fill: var(--quota-color);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.1;
}

.quota-overview-seat.quota-muted {
  opacity: 0.42;
}

.quota-overview-seat.quota-active {
  opacity: 1;
  cursor: help;
}

.quota-overview-star {
  pointer-events: auto;
  fill: var(--quota-color);
  stroke: rgba(18, 10, 36, 0.42);
  stroke-width: 0.8;
  font-size: 12px;
  cursor: help;
}

.quota-seat-list {
  display: grid;
  gap: 14px;
}

.quota-list-group {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.quota-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--quota-color) 18%, white), rgba(236, 91, 248, 0.1));
  color: #211031;
  font-weight: 900;
}

.quota-list-header h3 {
  margin: 0;
  font-size: 1rem;
}

.quota-list-title {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.quota-list-star {
  font-size: 1.14rem;
}

.quota-list-rows {
  display: grid;
}

.quota-seat-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(140px, 1fr) minmax(90px, auto);
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid rgba(148, 28, 246, 0.12);
  align-items: center;
}

.quota-seat-row strong {
  color: #241036;
}

.quota-seat-row span {
  color: rgba(36, 16, 54, 0.74);
  font-weight: 800;
}

.seat-color-palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.seat-color-swatch {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--swatch-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.seat-color-swatch.active {
  border-color: #ffffff;
  box-shadow:
    0 0 0 2px rgba(255, 204, 92, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pricing-editor-actions {
  display: grid;
  gap: 10px;
}

.admin-invite-modal.hidden {
  display: none;
}

.admin-invite-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-invite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.admin-invite-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 204, 92, 0.22);
  background: rgba(255, 252, 246, 0.98);
  color: #242832;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.34);
}

.admin-invite-dialog h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.admin-invite-dialog label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.admin-invite-dialog input {
  width: 100%;
  background: #fff;
  color: #242832;
}

.admin-invite-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-invite-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: #8a90a0;
  font-size: 2rem;
  line-height: 1;
  padding: 4px 8px;
}

.seat-category-list {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.event-builder-page .seat-category-list {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.seat-category-card {
  width: 100%;
  min-width: 0;
  min-height: 68px !important;
  height: auto !important;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  display: flex !important;
  gap: 8px;
  align-items: center;
  text-align: left;
  overflow: hidden;
  background-clip: padding-box;
}

.seat-category-card.active {
  border-color: rgba(236, 91, 248, 0.48);
  background: rgba(252, 245, 255, 0.98);
}

.seat-category-main {
  width: auto;
  min-width: 0;
  overflow: hidden;
  flex: 1 1 auto;
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  gap: 10px;
  text-align: left;
  align-items: center;
}

.seat-category-add-selected {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #ec5bf8;
  background: #fff0ff;
  color: #8d2fb8;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.seat-category-add-selected:hover,
.seat-category-add-selected:focus-visible {
  border-color: rgba(236, 91, 248, 0.58);
  background: rgba(236, 91, 248, 0.18);
}

.seat-category-color {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 3px;
}

.seat-category-copy {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: grid;
  gap: 4px;
}

.seat-category-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.seat-category-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.seat-category-price-edit {
  box-sizing: border-box;
  min-width: 108px;
  width: 108px;
  flex: 0 0 108px;
  align-self: center;
  padding: 7px 10px;
  border-radius: 14px;
  border: 1px solid rgba(236, 91, 248, 0.18);
  background: rgba(252, 245, 255, 0.82);
  color: #29123f;
  display: grid;
  gap: 2px;
  justify-items: end;
  text-align: right;
}

.seat-category-price-edit strong {
  font-size: 0.96rem;
  line-height: 1;
}

.seat-category-price-edit span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.seat-category-delete {
  flex: 0 0 32px;
  align-self: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(48, 53, 66, 0.12);
  background: rgba(48, 53, 66, 0.06);
  color: #343844;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.pricing-selection-summary {
  margin-top: 0;
  display: grid;
  gap: 6px;
  color: rgba(36, 40, 50, 0.78);
}

.pricing-canvas-shell {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  justify-items: center;
}

.pricing-canvas-head {
  width: min(100%, 1220px);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.pricing-canvas-head h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.08;
  color: #29123f;
}

.pricing-canvas-head .admin-note {
  margin: 4px 0 0;
}

.pricing-canvas-tools {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.pricing-canvas-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pricing-canvas-action-row .primary-btn,
.pricing-canvas-action-row .ghost-btn {
  width: auto;
  min-width: 170px;
}

.pricing-zoom-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pricing-floating-zoom-controls {
  position: absolute;
  top: 18px;
  right: auto;
  left: calc(100% - 76px);
  z-index: 5;
  display: grid;
  grid-template-columns: 58px;
  gap: 10px;
  width: 58px;
  margin: 0;
  pointer-events: auto;
}

.pricing-builder-message {
  width: min(720px, 100%);
  justify-self: end;
  text-align: left;
}

.pricing-builder-message:empty {
  display: none;
}

.pricing-zoom-controls button {
  width: auto;
  min-width: 46px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: #4b1576;
  font-weight: 900;
}

.pricing-floating-zoom-controls button {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(148, 28, 246, 0.16);
  font-size: 1.45rem;
  color: #4b1576;
}

.pricing-floating-zoom-controls #pricingZoomReset {
  font-size: 0.82rem;
}

.pricing-lasso-toggle:not(.scheme-action-icon) {
  width: auto;
  min-width: 132px;
  justify-self: stretch;
  font-weight: 900;
}

.pricing-lasso-toggle.active {
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #241406;
  box-shadow: 0 14px 28px rgba(255, 153, 61, 0.24);
}

.pricing-map-wrap {
  position: relative;
  width: min(100%, 1220px);
  min-height: 820px;
  border-radius: 22px;
  border: 1px solid rgba(236, 91, 248, 0.18);
  background:
    radial-gradient(circle at top left, rgba(236, 91, 248, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(254, 252, 255, 0.99), rgba(246, 236, 255, 0.98));
  overflow: auto;
  touch-action: pan-x pan-y;
}

body.admin-page.event-edit-page .pricing-map-wrap {
  min-height: min(860px, calc(100vh - 260px));
}

.pricing-map-wrap.lasso-mode {
  cursor: crosshair;
}

.pricing-map-wrap.lasso-mode-deselect {
  cursor: cell;
}

#pricingSeatMap {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.pricing-seat-tooltip {
  z-index: 8;
}

.pricing-map-wrap .seat.available {
  fill: var(--seat-color, #e4e7ee);
  stroke: rgba(65, 65, 65, 0.22);
  stroke-width: 1.2;
}

.pricing-map-wrap .seat.selected {
  fill: var(--selected);
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 3;
}

.pricing-map-wrap .seat.sold,
.pricing-map-wrap .seat.reserved {
  fill: var(--seat-color, #747b88);
  opacity: 1;
  cursor: pointer;
}

.pricing-map-wrap .seat.transfer-source {
  stroke: #ec5bf8;
  stroke-width: 4;
  stroke-dasharray: 4 2;
}

#transferSelectedSeat.active {
  color: #7b1c88;
  border-color: #ec5bf8;
  background: rgba(236, 91, 248, 0.12);
}

.pricing-map-wrap .seat.quota {
  fill: var(--seat-color, #dfe3eb);
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.4;
  cursor: pointer;
}

.pricing-map-wrap .quota-seat-star {
  fill: var(--quota-color, #111111);
  stroke: rgba(18, 10, 36, 0.42);
  stroke-width: 0.8px;
  font-size: 11px;
}

.pricing-map-wrap .invite-seat-ticket {
  pointer-events: none;
}

.pricing-map-wrap .invite-seat-ticket-body {
  fill: #22b861;
  stroke: rgba(5, 63, 31, 0.82);
  stroke-width: 0.9px;
}

.pricing-map-wrap .invite-seat-ticket-divider {
  stroke: rgba(5, 63, 31, 0.72);
  stroke-width: 0.8px;
  stroke-dasharray: 1.4 1.2;
}

.pricing-map-wrap .invite-seat-ticket-mark {
  fill: rgba(5, 63, 31, 0.82);
}

.pricing-map-wrap .golden-seat-ticket .invite-seat-ticket-body {
  fill: #ffcf32;
  stroke: rgba(80, 52, 3, 0.82);
}

.pricing-map-wrap .golden-seat-ticket .invite-seat-ticket-divider {
  stroke: rgba(80, 52, 3, 0.66);
}

.pricing-map-wrap .golden-seat-ticket .invite-seat-ticket-mark {
  fill: rgba(80, 52, 3, 0.82);
}

.pricing-seat-number-label {
  pointer-events: none;
  fill: rgba(17, 17, 17, 0.92);
  stroke: none;
  font-size: 9px;
  font-weight: 950;
}

.pricing-seat-accessible {
  fill: #5b21b6;
  font-size: 7.5px;
  font-weight: 950;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1px;
}

.pricing-lasso-box {
  position: absolute;
  border: 2px dashed rgba(255, 156, 67, 0.92);
  background: rgba(255, 204, 92, 0.16);
  pointer-events: none;
  z-index: 2;
}

.pricing-map-wrap.lasso-mode-deselect .pricing-lasso-box,
.pricing-lasso-box.deselect {
  border-color: rgba(255, 99, 99, 0.92);
  background: rgba(255, 99, 99, 0.12);
}

.event-admin-key {
  min-width: 260px;
}

.event-card-list {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
}

.event-item-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

.event-manager-card {
  margin-top: 22px;
}

.event-item-cover {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 204, 92, 0.18), rgba(255, 151, 67, 0.18));
  min-height: 110px;
}

.event-item-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item-cover-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.event-item-copy h3 {
  margin-bottom: 8px;
}

.event-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.event-item-copy p {
  margin-bottom: 10px;
  color: var(--muted);
}

.event-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.event-item-meta .event-city-meta {
  padding: 5px 10px;
  border-radius: 9px;
  background: #21112f;
  color: #ffffff;
  font-weight: 900;
}

.event-empty {
  padding: 22px;
  color: var(--muted);
}

.dashboard-sidebar {
  min-height: 100vh;
}

.dashboard-main {
  padding-bottom: 56px;
}

body.mail-admin-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(236, 91, 248, 0.24), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f3e3ff 50%, #e6d4ff 100%);
}

body.mail-admin-page .primary-btn,
body.mail-admin-page .secondary-btn,
body.mail-admin-page .mail-icon-action,
body.mail-admin-page .mail-danger-action {
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.24);
  color: #ffffff;
}

body.mail-admin-page .primary-btn:hover,
body.mail-admin-page .secondary-btn:hover,
body.mail-admin-page .mail-icon-action:hover,
body.mail-admin-page .mail-danger-action:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
}

body.mail-admin-page .mail-folder-tab.active {
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 12px 26px rgba(148, 28, 246, 0.22);
  color: #ffffff;
}

body.mail-admin-page .mail-folder-tab.active:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
}

.mail-main {
  padding-bottom: 56px;
}

@media (min-width: 861px) {
  body.mail-admin-page {
    height: 100vh;
    overflow: hidden;
  }

  body.mail-admin-page .stats-shell.mail-shell-layout {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
  }

  body.mail-admin-page .stats-sidebar {
    min-height: 0;
    overflow-y: auto;
  }

  body.mail-admin-page .mail-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 20px;
  }

  body.mail-admin-page .mail-page-head {
    flex-shrink: 0;
    margin-bottom: 12px;
  }

  body.mail-admin-page .mail-toolbar,
  body.mail-admin-page .mail-status {
    flex-shrink: 0;
  }

  body.mail-admin-page .mail-page-head h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  }

  body.mail-admin-page .mail-message-row {
    padding: 10px 16px;
    gap: 3px;
  }

  body.mail-admin-page .mail-workspace {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    grid-template-rows: minmax(0, 1fr);
  }

  body.mail-admin-page .mail-message-list-panel {
    overflow: hidden;
  }

  body.mail-admin-page .mail-empty-view {
    min-height: 0;
    height: 100%;
  }
}

.mail-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.mail-page-head h1 {
  margin: 0 0 6px;
  color: #29123f;
  font-size: clamp(2rem, 4vw, 3rem);
}

.mail-account-label {
  margin: 0;
  color: #6b5b7d;
  font-weight: 700;
}

.mail-refresh-btn {
  width: auto;
  min-width: 132px;
}

.mail-toolbar,
.mail-workspace {
  border: 1px solid rgba(148, 28, 246, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(103, 35, 145, 0.1);
}

.mail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 20px 20px 0 0;
}

.mail-folder-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mail-folder-tab {
  width: auto;
  min-width: 110px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #6c5b7f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mail-folder-tab.active {
  border-color: rgba(148, 28, 246, 0.2);
  background: #f2ddff;
  color: #6d18a4;
}

.mail-folder-tab:hover {
  background: #f2ddff;
  color: #6d18a4;
}

body.mail-admin-page .mail-folder-tab.mail-refresh-tab {
  min-width: 0;
  border-color: rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(148, 28, 246, 0.22);
}

body.mail-admin-page .mail-folder-tab.mail-refresh-tab:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
  color: #ffffff;
}

.mail-search-form {
  display: flex;
  gap: 8px;
  min-width: min(420px, 100%);
}

.mail-search-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 14px;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #241333;
  font: inherit;
}

.mail-search-form .primary-btn {
  width: auto;
  min-width: 82px;
  padding-inline: 16px;
}

.mail-status {
  min-height: 22px;
  padding: 8px 4px;
  color: #6d18a4;
  font-weight: 800;
}

.mail-status:empty {
  display: none;
}

.mail-loading-skeleton {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.mail-loading-skeleton span {
  display: block;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(100deg, #eadcf3 20%, #fff 42%, #eadcf3 64%);
  background-size: 220% 100%;
  animation: mail-loading-shimmer 1.25s ease-in-out infinite;
}

.mail-loading-skeleton span:nth-child(2) {
  animation-delay: 100ms;
}

.mail-loading-skeleton span:nth-child(3) {
  animation-delay: 200ms;
}

.mail-loading-skeleton.mail-empty-view {
  align-content: center;
  min-height: 180px;
}

@keyframes mail-loading-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.mail-status.error {
  color: #b02d4d;
}

.mail-status.success {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(148, 28, 246, 0.22);
}

.mail-status-dismiss {
  width: auto;
  min-width: 58px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: #ffffff;
  color: #7b18d5;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mail-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.6fr);
  min-height: 650px;
  max-height: calc(100vh - 220px);
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.mail-message-list-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(148, 28, 246, 0.14);
  background: rgba(249, 242, 255, 0.76);
}

.mail-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(148, 28, 246, 0.12);
  color: #29123f;
}

.mail-list-head span {
  color: #8b52ae;
  font-size: 0.78rem;
  font-weight: 900;
}

.mail-message-list {
  display: grid;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.mail-pager {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px 14px;
  margin-top: auto;
  border-top: 1px solid rgba(148, 28, 246, 0.12);
  background: #f7eefc;
  position: relative;
  z-index: 1;
}

.mail-pager.hidden {
  display: none;
}

.mail-pager button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #6d18a4;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.mail-pager button:hover:not(:disabled) {
  background: rgba(236, 91, 248, 0.12);
}

.mail-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.mail-pager span {
  min-width: 92px;
  color: #6d18a4;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.mail-message-row {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid rgba(148, 28, 246, 0.1);
  background: transparent;
  color: #5d4e70;
  text-align: left;
  cursor: pointer;
}

.mail-message-row:hover,
.mail-message-row.selected {
  background: rgba(236, 91, 248, 0.1);
}

.mail-message-row.unread {
  background: rgba(255, 255, 255, 0.82);
}

.mail-message-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mail-message-row strong,
.mail-message-subject {
  overflow: hidden;
  color: #241333;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-message-row.unread .mail-message-subject {
  color: #7012ab;
}

.mail-replied-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b25ee, #5f0aa0);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.mail-fallback-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd83d, #f59e0b);
  color: #5b2d00;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.mail-message-row time,
.mail-message-address {
  overflow: hidden;
  color: #8a7799;
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-message-view {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 26px 30px 30px;
  background: rgba(255, 255, 255, 0.72);
}

.mail-message-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 28, 246, 0.13);
}

.mail-message-head h2 {
  margin: 2px 0 10px;
  color: #29123f;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.mail-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: #7e6b8d;
  font-size: 0.86rem;
}

.mail-message-meta strong {
  color: #4e3761;
}

.mail-message-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: end;
  gap: 8px;
}

.mail-icon-action,
.mail-danger-action {
  width: auto;
  padding: 9px 12px;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #6d18a4;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.mail-danger-action {
  border-color: rgba(236, 91, 248, 0.2);
}

.mail-message-body {
  min-height: 180px;
  padding: 24px 0;
  color: #30223b;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.mail-html-body {
  white-space: normal;
}

.mail-html-body img {
  max-width: 100%;
  height: auto;
}

.mail-html-body blockquote,
.mail-html-body .gmail_quote,
.mail-html-body .yahoo_quoted,
.mail-html-body .moz-cite-prefix,
.mail-quoted-line {
  display: block;
  margin: 8px 0;
  border-left: 3px solid #c4c1c8;
  padding-left: 12px;
  color: #8a8790;
}

.mail-attachments {
  padding: 16px 0;
  border-top: 1px solid rgba(148, 28, 246, 0.12);
  color: #4e3761;
}

.mail-attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mail-attachment-list a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f2ddff;
  color: #6d18a4;
  font-weight: 900;
  text-decoration: none;
}

.mail-attachment-list small {
  color: #8b52ae;
  font-weight: 700;
}

.mail-reply-form {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 28, 246, 0.13);
}

.mail-fallback-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(125, 48, 211, 0.24);
  border-radius: 12px;
  background: rgba(125, 48, 211, 0.08);
}

.mail-fallback-action span {
  color: var(--muted);
  font-size: 0.84rem;
}

.mail-reply-form label {
  color: #4e3761;
  font-weight: 900;
}

.mail-reply-form textarea {
  width: 100%;
  min-height: 126px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #30223b;
  font: inherit;
  resize: vertical;
}

.mail-reply-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mail-reply-footer span {
  color: #8a7799;
  font-size: 0.78rem;
  font-weight: 700;
}

.mail-reply-footer .primary-btn {
  width: auto;
  min-width: 150px;
}

.mail-empty {
  padding: 24px 18px;
  color: #806b91;
  font-weight: 700;
  text-align: center;
}

.mail-empty-view {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 520px;
  gap: 8px;
}

.mail-empty-view strong {
  color: #4e3761;
  font-size: 1.15rem;
}

@media (max-width: 860px) {
  .mail-toolbar,
  .mail-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mail-search-form {
    min-width: 0;
  }

  .mail-workspace {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .mail-message-list-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 28, 246, 0.14);
  }

  .mail-message-list {
    max-height: 320px;
    overflow-y: auto;
  }

  .mail-message-view {
    padding: 22px 18px 24px;
  }

  .mail-message-head {
    flex-direction: column;
  }

  .mail-message-actions {
    justify-content: start;
  }

  .mail-reply-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

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

.dashboard-cta {
  width: auto;
  min-width: 220px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.dashboard-kpi-card {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.dashboard-kpi-card-primary {
  background:
    linear-gradient(135deg, rgba(255, 214, 133, 0.96), rgba(255, 173, 95, 0.9)),
    rgba(255, 255, 255, 0.92);
}

.dashboard-kpi-card-primary span,
.dashboard-kpi-card-primary strong {
  color: #3b2816;
}

.dashboard-kpi-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.dashboard-kpi-card strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
}

.dashboard-kpi-link {
  width: fit-content;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a1ec4;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dashboard-kpi-link:hover {
  color: #ec5bf8;
}

.dashboard-kpi-meta {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 8px;
}

.dashboard-kpi-meta .dashboard-kpi-link {
  margin-top: 0;
}

.dashboard-kpi-meta small {
  color: rgba(82, 36, 118, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-refund-kpi {
  background: #fff;
}

.dashboard-refund-days {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.dashboard-refund-day {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(120px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-top: 1px solid #eee6f4;
  color: #63516d;
}

.dashboard-refund-day strong {
  color: #321d42;
}

.dashboard-refund-day b {
  color: #783cc0;
  text-align: right;
}

.dashboard-refund-order {
  grid-template-columns: minmax(190px, 1.2fr) minmax(220px, 2fr) minmax(70px, auto) minmax(110px, auto);
  border: 1px solid #eee6f4;
  border-top: 1px solid #eee6f4;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-refund-order > div {
  min-width: 0;
}

.dashboard-refund-order span,
.dashboard-refund-order strong {
  display: block;
}

.dashboard-refund-order span {
  margin-bottom: 4px;
  color: #806a91;
  font-size: 0.72rem;
}

.dashboard-refund-order strong {
  overflow-wrap: anywhere;
  color: #321d42;
}

.dashboard-refund-event-date {
  display: block;
  margin-top: 4px;
  color: #6f5b7d;
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-refund-status {
  display: block;
  margin-top: 4px;
  color: #5f9d72;
  font-size: 0.75rem;
  font-weight: 800;
}

.dashboard-refund-order:not(.is-completed) .dashboard-refund-status {
  color: #b8792d;
}

.dashboard-refund-empty {
  padding: 12px 0 2px;
  color: #8b7b95;
}

@media (max-width: 640px) {
  .dashboard-refund-day {
    grid-template-columns: 1fr auto;
  }

  .dashboard-refund-order {
    grid-template-columns: 1fr auto;
  }

  .dashboard-refund-order > div:nth-child(2) {
    grid-column: 1 / -1;
  }

  .dashboard-refund-day b {
    grid-column: 2;
    grid-row: 1;
  }
}

.dashboard-events-card {
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

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

.dashboard-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
}

.dashboard-tab {
  width: auto;
  min-width: 0;
  padding: 0 2px 12px;
  border: none;
  border-bottom: 3px solid #ffcc5c;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.dashboard-tab.muted {
  color: var(--muted);
  border-bottom-color: transparent;
}

.dashboard-planned-create {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 11px 18px;
  text-decoration: none;
}

.dashboard-filter {
  min-width: 280px;
}

.dashboard-event-list {
  display: grid;
  gap: 14px;
}

.dashboard-event-card {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 232, 0.86));
  color: var(--text);
  text-align: left;
}

.dashboard-event-card.active,
.dashboard-event-card:hover {
  border-color: rgba(255, 156, 73, 0.45);
  box-shadow: 0 16px 28px rgba(255, 156, 73, 0.14);
}

.dashboard-event-poster {
  display: block;
  min-height: 271px;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 211, 109, 0.28), transparent 34%),
    linear-gradient(135deg, #161a24, #2c2434 48%, #151923);
}

.dashboard-event-media {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.dashboard-event-city {
  margin: 0;
  padding: 6px 10px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #1f2329, #382d24);
  color: #fff8ef;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-event-poster img {
  display: block;
  width: 100%;
  height: 271px;
  object-fit: cover;
}

.dashboard-event-poster-placeholder {
  display: grid;
  place-items: center;
  min-height: 271px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  text-align: center;
}

.dashboard-event-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: auto 1fr;
}

.dashboard-event-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: 100%;
}

.dashboard-event-heading-row h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-event-tools {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
  grid-column: 2;
  grid-row: 1;
  min-width: 64px;
}

.dashboard-event-tools-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-event-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.dashboard-event-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 213, 123, 0.18);
  color: #7c5b12;
  font-size: 0.9rem;
  font-weight: 800;
}

.dashboard-event-status.launched {
  background: rgba(68, 183, 103, 0.18);
  color: #16713a;
}

.dashboard-event-status.stopped {
  background: rgba(219, 71, 71, 0.16);
  color: #b72525;
}

.dashboard-event-status.draft {
  background: rgba(255, 213, 75, 0.28);
  color: #87610a;
}

.dashboard-event-status.archived {
  background: rgba(145, 151, 164, 0.18);
  color: #586070;
}

.dashboard-event-copy h3 {
  margin: 0;
  font-size: 2rem;
}

.dashboard-event-copy {
  min-width: 0;
}

.dashboard-event-copy p {
  margin-bottom: 12px;
  color: var(--muted);
}

.dashboard-event-copy p:first-of-type {
  color: #17121d;
  font-size: 1.08rem;
  font-weight: 900;
}

.dashboard-event-date {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 9px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #1f2329, #382d24);
  color: #fff8ef;
  text-align: left;
}

.dashboard-event-date-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
}

.dashboard-event-date-main > strong {
  font-size: 1.5rem;
  line-height: 1;
}

.dashboard-event-month {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.dashboard-event-month b,
.dashboard-event-month em {
  overflow: hidden;
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.dashboard-event-month b {
  font-size: 0.95rem;
}

.dashboard-event-month em {
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.95rem;
}

.dashboard-event-month .dashboard-event-year-26 {
  color: #ff9c72;
}

.dashboard-event-month .dashboard-event-year-27 {
  color: #78d8ff;
}

.dashboard-event-date > small {
  color: #ffdc38;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-event-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  grid-row: 2;
  overflow-x: visible;
  padding: 2px 0 4px;
}

.dashboard-event-stats span,
.dashboard-event-chip {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  white-space: nowrap;
}

.dashboard-event-stat-golden {
  border-color: rgba(214, 166, 46, 0.4) !important;
  background: rgba(246, 220, 137, 0.3) !important;
  color: #76520a;
  font-weight: 900;
}

.dashboard-event-stat-sales {
  font-weight: 900;
}

.dashboard-event-stat-capacity {
  border-color: rgba(111, 32, 191, 0.2) !important;
  background: rgba(111, 32, 191, 0.07) !important;
  color: #29123f;
  font-weight: 900;
}

.dashboard-event-stat-golden-program.is-tier-2 {
  border-color: rgba(148, 28, 246, 0.28) !important;
  background: rgba(148, 28, 246, 0.1) !important;
  color: #6f20bf;
  font-weight: 900;
}

.dashboard-event-stat-golden-program.is-tier-both {
  border-color: rgba(214, 166, 46, 0.4) !important;
  background: rgba(246, 220, 137, 0.3) !important;
  color: #76520a;
  font-weight: 900;
}

.dashboard-event-stat-golden-program.is-none {
  border-color: rgba(41, 18, 63, 0.14) !important;
  background: rgba(41, 18, 63, 0.05) !important;
  color: rgba(41, 18, 63, 0.55);
  font-weight: 800;
}

.dashboard-event-stat-golden-program {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  box-sizing: border-box;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-event-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 12px;
  width: auto;
  margin-left: auto;
}

.dashboard-event-actions .secondary-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-event-revenue {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(111, 32, 191, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #29123f;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.dashboard-event-revenue b {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.dashboard-event-side-blocks {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
}

.dashboard-event-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.dashboard-event-service-row.is-viewer {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.dashboard-event-service-row .dashboard-hall-info-btn {
  min-width: 0;
}

.dashboard-event-service-row .dashboard-more {
  grid-column: 3;
  align-self: stretch;
}

.dashboard-event-service-row.is-viewer .dashboard-more {
  grid-column: 2;
}

.dashboard-event-service-row .dashboard-more-toggle {
  height: 100%;
  min-height: 44px;
}

.dashboard-cast-editor,
.dashboard-cast-btn {
  width: 100%;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 28, 246, 0.14);
}

.dashboard-cast-btn {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 32, 191, 0.22);
  border-radius: 14px;
  border-top: 1px solid rgba(111, 32, 191, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #29123f;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.dashboard-cast-btn:hover {
  border-color: rgba(148, 28, 246, 0.4);
  background: rgba(255, 255, 255, 1);
}

.dashboard-cast-btn > strong,
.dashboard-cast-editor-readonly > strong {
  font-size: 0.88rem;
}

.dashboard-cast-editor-readonly {
  display: grid;
  gap: 8px;
}

.dashboard-cast-summary {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 28px;
  gap: 8px 28px;
  color: rgba(41, 18, 63, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
  align-items: start;
  width: max-content;
  max-width: 100%;
}

.dashboard-cast-artists {
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
}

.dashboard-cast-artists .dashboard-cast-item:nth-child(2n) {
  margin-left: 36px;
}

.dashboard-cast-crew {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 14px;
  row-gap: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(148, 28, 246, 0.16);
  align-content: start;
  align-items: start;
}

.dashboard-cast-item {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  column-gap: 14px;
  align-items: start;
}

.dashboard-cast-crew .dashboard-cast-item {
  grid-column: 1 / -1;
}

.dashboard-cast-item em {
  font-style: normal;
  color: rgba(41, 18, 63, 0.58);
  white-space: nowrap;
  text-align: left;
}

.dashboard-cast-names {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.dashboard-cast-names strong {
  color: #29123f;
  font-weight: 800;
  white-space: nowrap;
  text-align: left;
}

.dashboard-cast-empty {
  color: rgba(41, 18, 63, 0.55);
  font-weight: 700;
}

.dashboard-cast-dialog {
  width: min(620px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
}

.dashboard-cast-dialog .dashboard-cast-edit-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.dashboard-cast-dialog .dashboard-cast-edit-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto minmax(0, 1.2fr) auto;
  gap: 8px;
  align-items: center;
}

.dashboard-cast-dialog .dashboard-cast-drag {
  width: 28px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 246, 255, 0.78);
  cursor: grab;
  touch-action: none;
  display: grid;
  place-items: center;
  user-select: none;
}

.dashboard-cast-dialog .dashboard-cast-drag svg {
  width: 14px;
  height: 16px;
  fill: currentColor;
}

.dashboard-cast-dialog .dashboard-cast-drag:hover,
.dashboard-cast-dialog .dashboard-cast-drag:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-cast-dialog .dashboard-cast-edit-row.is-dragging {
  opacity: 0.55;
}

.dashboard-cast-dialog .dashboard-cast-edit-row.is-dragging .dashboard-cast-drag {
  cursor: grabbing;
}

.dashboard-cast-dialog .dashboard-cast-edit-row input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font: inherit;
  outline: none;
}

.dashboard-cast-dialog .dashboard-cast-role {
  color: #ffffff;
  background: rgba(148, 28, 246, 0.42);
  border-color: rgba(236, 91, 248, 0.45);
}

.dashboard-cast-dialog .dashboard-cast-role::placeholder {
  color: rgba(255, 246, 255, 0.62);
}

.dashboard-cast-dialog .dashboard-cast-artist {
  color: #241238;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.72);
}

.dashboard-cast-dialog .dashboard-cast-artist::placeholder {
  color: rgba(36, 18, 56, 0.45);
}

.dashboard-cast-dialog .dashboard-cast-artist:focus {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.18);
}

.dashboard-cast-dialog .dashboard-cast-edit-row span {
  color: rgba(255, 246, 255, 0.72);
}

.dashboard-cast-dialog .dashboard-cast-remove {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(179, 75, 63, 0.28);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.dashboard-cast-dialog .dashboard-cast-add {
  width: auto;
  min-width: 0;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-cast-dialog .dashboard-cast-message {
  min-height: 1.2em;
  margin: 0 0 8px;
  color: #ffd0d0;
  font-size: 0.88rem;
}

.dashboard-cast-dialog .admin-action-buttons {
  justify-content: flex-end;
}

.dashboard-cast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #29123f;
}

.dashboard-cast-head > strong {
  font-size: 0.88rem;
}

.dashboard-cast-edit,
.dashboard-cast-add,
.dashboard-cast-cancel,
.dashboard-cast-save {
  width: auto;
  min-width: 0;
  padding: 7px 11px;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.dashboard-cast-edit {
  display: block;
  margin-top: 8px;
}

.dashboard-cast-cancel {
  color: #5d3476;
  background: transparent;
}

.dashboard-event-copy .dashboard-cast-empty {
  color: #8a7698;
  font-weight: 700;
}

.dashboard-cast-edit-panel {
  display: grid;
  gap: 9px;
}

.dashboard-cast-edit-rows {
  display: grid;
  gap: 7px;
}

.dashboard-cast-edit-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) auto minmax(170px, 1.2fr) 32px;
  align-items: center;
  gap: 7px;
}

.dashboard-cast-edit-row input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(148, 28, 246, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #21142b;
  font: inherit;
}

.dashboard-cast-remove {
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 1px solid rgba(187, 54, 90, 0.2);
  border-radius: 50%;
  background: rgba(187, 54, 90, 0.08);
  color: #a52f50;
  font-size: 1.1rem;
  cursor: pointer;
}

.dashboard-cast-edit-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.dashboard-cast-save {
  margin-left: auto;
}

.dashboard-event-copy .dashboard-cast-message {
  min-height: 1em;
  margin: 0;
  color: #8e2a56;
  font-size: 0.78rem;
  font-weight: 750;
}

.dashboard-more {
  position: relative;
}

.dashboard-more-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.dashboard-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 280px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 50px rgba(47, 34, 18, 0.16);
  display: grid;
  gap: 4px;
}

.dashboard-more-menu a,
.dashboard-more-menu button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-more-menu a:hover,
.dashboard-more-menu button:hover:not(:disabled) {
  background: rgba(255, 214, 133, 0.18);
}

.dashboard-more-menu button:disabled {
  color: #a5abb8;
  cursor: not-allowed;
}

.dashboard-menu-reschedule {
  color: #6f20bf !important;
}

.dashboard-hall-info-btn {
  width: 100%;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(111, 32, 191, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #29123f;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  line-height: 1.35;
  white-space: normal;
  cursor: pointer;
  box-sizing: border-box;
}

.dashboard-hall-info-btn.is-paid {
  border-color: rgba(31, 111, 71, 0.28);
  background: rgba(31, 111, 71, 0.08);
  color: #1f6f47;
}

.dashboard-hall-info-btn.is-warning {
  border-color: rgba(179, 75, 63, 0.28);
  background: rgba(179, 75, 63, 0.08);
  color: #9b3a31;
}

.dashboard-hall-info-dialog {
  width: min(680px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
}

.dashboard-hall-info-event-title {
  margin: -4px 0 14px;
  color: rgba(255, 246, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-hall-info-section {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-hall-info-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.dashboard-hall-info-section h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
}

.dashboard-hall-info-summary {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.dashboard-hall-info-summary.is-paid {
  background: rgba(31, 111, 71, 0.24);
}

.dashboard-hall-info-summary.is-warning {
  background: rgba(179, 75, 63, 0.24);
}

.dashboard-hall-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-hall-info-amounts .admin-action-field {
  gap: 6px;
  min-width: 0;
}

.dashboard-hall-info-amounts .admin-action-field span {
  font-size: 0.78rem;
  white-space: nowrap;
}

.dashboard-hall-info-amounts input {
  min-height: 38px;
  padding: 7px 8px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.dashboard-hall-info-dialog textarea {
  width: 100%;
  min-height: 96px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #241238;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.dashboard-hall-info-dialog textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.18);
}

.dashboard-hall-info-grid input[readonly] {
  opacity: 0.92;
  cursor: default;
}

.dashboard-hall-info-dialog select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
}

.dashboard-hall-info-dialog select option {
  color: #29123f;
}

.dashboard-hall-info-dialog .admin-action-buttons {
  justify-content: flex-end;
}

.dashboard-reschedule-dialog {
  width: min(540px, 100%);
}

.dashboard-reschedule-current {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-reschedule-current span {
  color: rgba(255, 246, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-reschedule-current strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.admin-action-dialog .dashboard-reschedule-note {
  color: rgba(255, 246, 255, 0.82);
  font-size: 0.9rem;
}

.dashboard-menu-export {
  color: #1f6f47;
}

.dashboard-menu-danger {
  color: #b34b3f;
}

.dashboard-event-chip {
  color: var(--muted);
  text-align: right;
}

.dashboard-event-link {
  color: #ff7c3b;
  font-weight: 700;
}

.dashboard-today-modal.hidden {
  display: none;
}

.dashboard-today-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dashboard-today-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 7, 42, 0.42);
  backdrop-filter: blur(8px);
}

.dashboard-today-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(236, 91, 248, 0.24);
  background:
    radial-gradient(circle at 10% 0%, rgba(236, 91, 248, 0.25), transparent 34%),
    linear-gradient(135deg, #fff7ff 0%, #f7e1ff 48%, #ead2ff 100%);
  box-shadow: 0 28px 80px rgba(74, 16, 112, 0.28);
}

.dashboard-today-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #4b136a;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-today-dialog h2 {
  margin: 4px 48px 18px 0;
  color: #241333;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
}

.dashboard-today-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-today-summary div,
.dashboard-today-row {
  border: 1px solid rgba(236, 91, 248, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.08);
}

.dashboard-today-summary div {
  padding: 14px;
  border-radius: 18px;
}

.dashboard-today-summary span,
.dashboard-today-row span {
  display: block;
  color: #7b6b91;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-today-summary strong,
.dashboard-today-row strong {
  display: block;
  margin-top: 4px;
  color: #241333;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
}

.dashboard-sales-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin: 0 0 20px;
  padding: 2px 0;
}

.dashboard-sales-timeline::before {
  position: absolute;
  top: 35px;
  right: calc(100% / 14);
  left: calc(100% / 14);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(115, 41, 189, 0.22), rgba(195, 50, 220, 0.58), rgba(115, 41, 189, 0.22));
}

.dashboard-sales-day {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #6f5a7d;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.dashboard-sales-day-weekday,
.dashboard-sales-day-orders {
  overflow: hidden;
  max-width: 100%;
  color: #806a91;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sales-day-dot {
  width: 15px;
  height: 15px;
  margin: 7px 0 6px;
  border: 3px solid #faf1ff;
  border-radius: 50%;
  background: #a980c6;
  box-shadow: 0 0 0 2px rgba(113, 42, 181, 0.3);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dashboard-sales-day strong {
  overflow: hidden;
  max-width: 100%;
  color: #3d214d;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sales-day.active {
  color: #4d136d;
}

.dashboard-sales-day.active .dashboard-sales-day-dot {
  background: linear-gradient(135deg, #7d24c6, #e548dc);
  box-shadow: 0 0 0 3px rgba(187, 54, 218, 0.22), 0 5px 12px rgba(120, 26, 180, 0.34);
  transform: scale(1.18);
}

.dashboard-sales-day.active strong,
.dashboard-sales-day.active .dashboard-sales-day-weekday,
.dashboard-sales-day.active .dashboard-sales-day-orders {
  color: #5d168a;
}

.dashboard-sales-day:focus-visible {
  outline: 2px solid #7b22bc;
  outline-offset: 3px;
}

.dashboard-today-list {
  display: grid;
  gap: 8px;
}

.dashboard-today-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(5, minmax(86px, 0.7fr));
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
}

.dashboard-today-event strong {
  margin-top: 0;
  font-size: 1rem;
}

.dashboard-today-purchase-row {
  grid-template-columns: minmax(0, 1.6fr) minmax(90px, 0.55fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(90px, 0.55fr);
  gap: 16px;
}

.dashboard-today-purchase-row > div {
  min-width: 0;
}

.dashboard-today-purchase-row strong,
.dashboard-today-purchase-row span {
  overflow-wrap: anywhere;
}

.dashboard-today-event span {
  margin-top: 5px;
}

.dashboard-orders-dialog {
  width: min(1120px, 100%);
}

.dashboard-orders-list {
  display: grid;
  gap: 8px;
}

.dashboard-order-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(150px, 1fr) minmax(82px, 0.44fr) minmax(110px, 0.58fr) minmax(112px, 0.62fr) minmax(106px, 0.52fr) minmax(96px, 0.42fr);
  gap: 6px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.16);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.08);
}

.dashboard-order-row > div {
  min-width: 0;
}

.dashboard-order-row strong,
.dashboard-order-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.dashboard-order-row strong {
  color: #241333;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.16;
}

.dashboard-order-row span {
  margin-top: 3px;
  color: #7b6b91;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.22;
}

.dashboard-order-resend-btn {
  width: 100%;
  padding: 8px 9px;
  font-size: 0.74rem;
}

body.admin-page.purchases-admin-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.34), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.32), transparent 34%),
    linear-gradient(145deg, #fff1ff 0%, #efd5ff 48%, #dac1ff 100%);
}

.purchases-admin-page .stats-sidebar {
  background:
    linear-gradient(180deg, rgba(33, 17, 47, 0.96), rgba(70, 20, 108, 0.94));
  border-color: rgba(236, 91, 248, 0.18);
}

.purchases-admin-page .stats-nav-link.active,
.purchases-admin-page .stats-nav-link.active:hover,
.purchases-admin-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

.purchases-admin-page .stats-page-head h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.admin-page .stats-page-head .eyebrow {
  display: none;
}

.dashboard-purchases-card h2 {
  margin: 0;
}

.dashboard-purchases-card {
  overflow: hidden;
  border-color: rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.purchase-search-block {
  width: min(100%, 620px);
  display: grid;
  gap: 10px;
}

.dashboard-purchases-card .dashboard-events-head {
  align-items: end;
  padding-bottom: 14px;
}

.dashboard-purchases-card .dashboard-filter {
  width: min(100%, 520px);
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid rgba(236, 91, 248, 0.36);
  background: #ffffff;
  font-size: 0.96rem;
  box-shadow:
    0 12px 30px rgba(148, 28, 246, 0.12),
    0 0 0 6px rgba(236, 91, 248, 0.1);
}

.purchase-result-list {
  overflow: visible;
}

.purchase-table {
  display: grid;
  gap: 6px;
}

.purchase-table-head,
.purchase-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.34fr) minmax(52px, 0.28fr) minmax(142px, 0.86fr) minmax(82px, 0.42fr) minmax(108px, 0.58fr) minmax(108px, 0.62fr) minmax(92px, 0.48fr) minmax(104px, 0.52fr) minmax(92px, 0.42fr);
  gap: 4px;
  align-items: center;
}

.purchase-table-head {
  padding: 0 8px 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.purchase-table-row {
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(236, 91, 248, 0.14);
}

.purchase-table-row div {
  min-width: 0;
}

.purchase-email-editor {
  display: grid;
  gap: 6px;
  align-items: start;
}

.purchase-email-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.purchase-email-input {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 12px;
  border: 1px solid rgba(108, 40, 150, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

.purchase-email-input:focus {
  outline: none;
  border-color: rgba(148, 28, 246, 0.44);
  box-shadow: 0 0 0 3px rgba(236, 91, 248, 0.12);
}

.purchase-table-row strong,
.purchase-table-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.purchase-email-editor {
  min-width: 0;
}

.purchase-table-row strong {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.18;
}

.purchase-order-download {
  display: block;
  color: #5f1289;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.18;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.purchase-order-download:hover {
  color: #941cf6;
  text-decoration: underline;
}

.purchase-table-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.purchase-date-stack span {
  margin-top: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
}

.purchase-table-row .purchase-coins-balance {
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(236, 91, 248, 0.12);
  color: #6b168f;
  font-weight: 900;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1;
}

.purchase-seats-stack {
  display: grid;
  gap: 2px;
}

.purchase-seats-stack span {
  margin-top: 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
}

.purchase-email-save-btn,
.purchase-resend-btn {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 13px;
  font-size: 0.74rem;
  line-height: 1.15;
}

.purchase-delete-btn {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(185, 31, 72, 0.32);
  border-radius: 13px;
  background: rgba(255, 245, 248, 0.92);
  color: #a31843;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}

.purchase-delete-btn:hover {
  border-color: rgba(185, 31, 72, 0.5);
  background: #fff;
  transform: translateY(-1px);
}

.purchase-delete-btn:disabled {
  cursor: wait;
  opacity: 0.64;
}

.purchase-email-save-btn {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  justify-self: start;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
}

.purchase-refund-btn {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  padding: 8px 10px;
  border: 1px solid rgba(185, 31, 72, 0.32);
  border-radius: 13px;
  background: rgba(255, 245, 248, 0.92);
  color: #a31843;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
}

.purchase-refund-btn:hover {
  border-color: rgba(185, 31, 72, 0.5);
  background: #fff;
  transform: translateY(-1px);
}

.purchase-refund-btn:disabled {
  cursor: wait;
  opacity: 0.64;
}

body.admin-page .purchase-email-save-btn,
body.admin-page .purchase-resend-btn {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.2);
}

body.admin-page .purchase-email-save-btn:hover,
body.admin-page .purchase-resend-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(148, 28, 246, 0.24);
}

.dashboard-workspace {
  display: grid;
  gap: 18px;
}

.tickets-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 166, 65, 0.24), transparent 28%),
    radial-gradient(circle at left 25%, rgba(221, 49, 67, 0.18), transparent 24%),
    #07070e;
  color: #fff7ef;
}

.tickets-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 6, 13, 0.12) 0%, rgba(5, 6, 13, 0.58) 68%, rgba(5, 6, 13, 0.82) 100%),
    var(--event-poster-image, linear-gradient(135deg, #101522, #22101a));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.tickets-page.event-poster-ready::before {
  opacity: 1;
}

.tickets-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 7, 14, 0.06), rgba(7, 7, 14, 0.34) 42%, rgba(7, 7, 14, 0.74));
  pointer-events: none;
}

.buyer-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.buyer-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 181, 102, 0.14);
  background: rgba(10, 11, 20, 0.42);
  backdrop-filter: blur(10px);
}

.buyer-page {
  display: grid;
  gap: 18px;
}

.showcase-back-link,
.mobile-showcase-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(255, 248, 239, 0.94);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.showcase-back-link {
  margin-bottom: 22px;
  gap: 12px;
  min-height: 54px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 1.16rem;
}

.showcase-back-link span:first-child,
.mobile-showcase-back span:first-child {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 14, 28, 0.46);
  font-size: 1.18rem;
  transition: transform 0.16s ease, background 0.16s ease;
}

.showcase-back-link:hover span:first-child,
.mobile-showcase-back:hover span:first-child {
  background: rgba(135, 44, 220, 0.7);
  transform: translateX(-2px);
}

.showcase-back-link span:first-child {
  width: 42px;
  height: 42px;
  background: rgba(10, 14, 28, 0.46);
  font-size: 1.42rem;
}

.showcase-back-link:hover {
  filter: none;
}

.mobile-showcase-back {
  display: none;
}

.mobile-ticket-flow {
  display: none;
}

.buyer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-height: min(86vh, 980px);
  padding: 46px 44px 34px;
  border-radius: 30px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(8, 9, 18, 0.16);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.buyer-poster {
  display: none;
}

.buyer-hero-copy h1 {
  max-width: min(100%, 980px);
  overflow: visible;
  font-size: clamp(1.72rem, 3vw, 3.1rem);
  line-height: 1.04;
  color: #fff6ed;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.5);
  text-overflow: clip;
  white-space: normal;
}

.buyer-hero-media-stage {
  position: relative;
}

@media (min-width: 901px) {
  .desktop-ticket-flow .buyer-hero-media-stage {
    min-height: clamp(330px, 43vw, 540px);
  }
}

.buyer-hero-media-copy {
  position: relative;
  z-index: 1;
}

.buyer-hero-media-stage.has-trailer {
  min-height: clamp(330px, 43vw, 540px);
  padding: 12px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(8, 9, 18, 0.42);
  box-shadow: 0 22px 52px rgba(3, 4, 10, 0.22);
}

.buyer-hero-media-stage.has-trailer::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 13, 0.56), rgba(5, 6, 13, 0.22) 46%, rgba(5, 6, 13, 0.72));
}

.buyer-hero-media-stage.has-trailer .event-trailer-top {
  position: absolute;
  inset: 12px;
  z-index: 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

.buyer-hero-media-stage.has-trailer .buyer-hero-media-copy {
  padding: 22px 24px;
}

.buyer-hero-media-stage.has-trailer .event-trailer-top video {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.desktop-trailer-buy-button {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: calc(100% - 64px);
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 220, 56, 0.94);
  color: #765013;
  font: inherit;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.desktop-trailer-buy-button:hover {
  background: #ffdc38;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.desktop-trailer-buy-button:focus-visible {
  outline: 3px solid rgba(255, 179, 71, 0.9);
  outline-offset: 3px;
}

.buyer-venue-lines {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}

.buyer-venue-city,
.buyer-venue-place {
  display: block;
}

.buyer-venue-place {
  font-size: 0.92em;
  line-height: 1.1;
}

.desktop-event-show-info {
  margin: 10px 0 0;
  color: rgba(255, 244, 233, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

#desktopEventType {
  font-size: 15px;
}

#desktopEventShowInfo {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-event-show-place {
  display: block;
  margin-top: 4px;
}

.desktop-event-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 12px 0 0;
  color: rgba(255, 244, 233, 0.9);
  font-size: 16px;
  line-height: 1.35;
}

.desktop-event-quick-facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.desktop-event-quick-facts b {
  color: #fff;
  font-weight: 800;
}

.desktop-event-quick-facts strong {
  color: rgba(255, 244, 233, 0.92);
  font-weight: 700;
}

.desktop-event-show-info a,
.buyer-venue-place {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 220, 56, 0.72);
  text-underline-offset: 3px;
  cursor: pointer;
}

.desktop-event-show-info a:hover,
.buyer-venue-place:hover {
  color: #ffdc38;
}

.buyer-meta {
  display: none;
}

.buyer-meta .summary-mini {
  min-height: 0;
  padding: 10px 12px;
}

.buyer-meta .summary-mini:first-child {
  padding: 8px 10px;
}

.buyer-meta .summary-mini:first-child strong {
  font-size: 0.9em;
  line-height: 1.12;
}

.buyer-meta .summary-mini-seat-status {
  display: none;
}

.buyer-meta .summary-mini-age {
  justify-self: start;
  width: 100%;
  max-width: 96px;
  text-align: center;
}

.buyer-meta .summary-mini-age strong {
  text-align: center;
}

.buyer-cast-card {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(14, 15, 28, 0.52);
  backdrop-filter: blur(6px);
}

.buyer-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

.buyer-info-grid .buyer-cast-card {
  margin-top: 0;
}

.buyer-cast-card-artists {
  align-self: start;
}

.buyer-cast-card h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
  color: #fff8f0;
}

.buyer-cast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.buyer-cast-grid p {
  margin: 0;
  color: rgba(255, 244, 233, 0.94);
  line-height: 1.45;
}

#desktopEventDescription,
.mobile-intro-text {
  display: block;
}

.formatted-text-line,
.formatted-text-gap {
  display: block;
}

.formatted-text-gap {
  height: 0.9em;
}

.buyer-description-grid {
  grid-template-columns: 1fr;
}

.buyer-artist-list {
  display: grid;
  gap: 8px;
  color: rgba(255, 244, 233, 0.92);
}

.buyer-artist-list p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.buyer-artist-list span {
  color: rgba(255, 244, 233, 0.64);
}

.buyer-artist-list strong {
  text-align: right;
  color: #fff8f0;
}

.buyer-artist-list.is-empty {
  color: rgba(255, 244, 233, 0.62);
  line-height: 1.45;
}

.buyer-cast-note {
  margin: 14px 0 0;
  color: rgba(255, 244, 233, 0.72);
  line-height: 1.55;
}

.buyer-widget {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.14);
  backdrop-filter: none;
}

.buyer-sales-stopped {
  margin-top: 22px;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(255, 177, 104, 0.2);
  background: rgba(9, 10, 18, 0.68);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.buyer-sales-stopped h2 {
  margin: 0 0 10px;
  color: #fff8f1;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.buyer-sales-stopped p {
  max-width: 720px;
  color: rgba(255, 244, 233, 0.78);
  line-height: 1.6;
}

.tickets-page.sales-blocked:not(.sales-stopped) .buyer-widget,
.tickets-page.sales-blocked:not(.sales-stopped) .mobile-step-map,
.tickets-page.sales-blocked .mobile-step-checkout {
  display: none !important;
}

.tickets-page.sales-stopped .buyer-map-footer {
  display: none;
}

.tickets-page.sales-stopped .seat {
  pointer-events: none;
}

.mobile-sales-stopped {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 216, 76, 0.14);
  border: 1px solid rgba(255, 216, 76, 0.3);
}

.mobile-sales-stopped strong {
  color: #ffd84c;
  font-size: 1.15rem;
}

.mobile-sales-stopped span {
  color: rgba(255, 244, 233, 0.78);
  line-height: 1.45;
}

.buyer-route-card {
  display: none !important;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(9, 10, 18, 0.56);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.buyer-route-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.buyer-route-copy h2 {
  margin-bottom: 0;
}

.buyer-route-meta {
  display: grid;
  gap: 12px;
}

.buyer-route-map {
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.buyer-route-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.buyer-support-card {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(9, 10, 18, 0.56);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

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

.buyer-support-mail {
  color: #ff7c3b;
  font-weight: 700;
  text-decoration: none;
}

.buyer-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 18px;
}

.buyer-support-link,
.buyer-organizer-links a,
.buyer-organizer-copy a,
.faq-modal-body a {
  color: #4b75db;
  text-decoration: none;
}

.buyer-support-link,
.buyer-organizer-action {
  width: auto;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #4b75db;
  font: inherit;
  text-align: left;
}

.buyer-support-link:hover,
.buyer-organizer-action:hover {
  transform: none;
  text-decoration: underline;
}

.buyer-organizer-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 26px;
  background: #2c2b27;
  color: rgba(255, 247, 238, 0.92);
}

.buyer-organizer-copy p {
  margin: 0 0 6px;
  line-height: 1.5;
}

.buyer-organizer-copy p:last-child {
  margin-bottom: 0;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 34px;
  padding: 4px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  color: #1e232b;
  font-weight: 950;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  position: relative;
}

.payment-logo-mir b {
  color: #0b8d61;
  font-size: 0.98rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.payment-logo-mir i {
  width: 18px;
  height: 12px;
  margin-left: 5px;
  background: linear-gradient(135deg, #00a66b 0 42%, #00a1df 42% 68%, #f6b60a 68% 100%);
  clip-path: polygon(0 18%, 100% 0, 76% 100%, 0 82%);
}

.payment-logo-mastercard {
  min-width: 58px;
  gap: 0;
}

.payment-logo-mastercard i {
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 999px;
}

.payment-logo-mastercard i:first-child {
  background: #eb001b;
  transform: translateX(6px);
}

.payment-logo-mastercard i:last-child {
  background: #f79e1b;
  transform: translateX(-6px);
  mix-blend-mode: multiply;
}

.payment-logo-visa b {
  color: #174ea6;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: -0.08em;
}

.buyer-organizer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 22px;
  width: 100%;
}

.buyer-organizer-copy {
  width: 100%;
}

.buyer-organizer-copy .buyer-organizer-links {
  margin-top: 14px;
}

.buyer-footer-logo {
  width: clamp(78px, 10vw, 132px);
  height: auto;
  margin-top: 0;
  margin-left: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
}

.buyer-organizer-links a,
.buyer-organizer-action {
  color: #ffd36d;
}

.tickets-page .buyer-organizer-bar a,
.tickets-page .buyer-organizer-bar .buyer-organizer-action {
  color: #ffd36d;
}

.tickets-page .buyer-organizer-bar a:hover,
.tickets-page .buyer-organizer-bar .buyer-organizer-action:hover {
  color: #ffe59a;
}

.faq-modal.hidden {
  display: none;
}

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 44, 0.56);
}

.faq-modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: 8vh auto 0;
  padding: 26px 26px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(16, 23, 38, 0.22);
}

.faq-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: #9aa3b9;
  font-size: 2.3rem;
  line-height: 1;
  padding: 4px 8px;
}

.faq-modal-close:hover {
  transform: none;
  color: #5f6b88;
}

.faq-modal-dialog h2 {
  margin-bottom: 16px;
  padding-right: 42px;
}

.faq-modal-body h3 {
  margin-bottom: 10px;
}

.faq-modal-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-ticket-example {
  max-width: 390px;
  margin: 20px auto;
  text-align: center;
}

.faq-ticket-example img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(16, 23, 38, 0.14);
}

.faq-ticket-example figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-step-intro,
.mobile-step-map,
.mobile-step-checkout {
  min-height: 100vh;
}

.mobile-step-intro {
  position: relative;
  padding: 0 0 140px;
  color: #fffaf5;
  overflow: hidden;
}

.mobile-intro-poster,
.mobile-intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  z-index: 0;
}

.mobile-intro-poster {
  background:
    linear-gradient(180deg, rgba(6, 8, 20, 0.08), rgba(6, 8, 20, 0.28)),
    var(--event-poster-image, linear-gradient(135deg, #101522, #22101a));
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.tickets-page.event-poster-ready .mobile-intro-poster {
  opacity: 1;
}

.mobile-intro-overlay {
  background:
    linear-gradient(180deg, rgba(5, 7, 18, 0.18) 0%, rgba(5, 7, 18, 0.24) 22%, rgba(5, 7, 18, 0.56) 48%, rgba(5, 7, 18, 0.94) 76%, rgba(5, 7, 18, 1) 100%),
    radial-gradient(circle at top right, rgba(255, 193, 76, 0.18), transparent 28%);
}

.mobile-intro-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 30px 22px 0;
}

.mobile-intro-corner {
  position: fixed;
  top: 54px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  max-width: 170px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(10, 14, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  text-align: right;
}

.mobile-intro-corner strong {
  color: #ffd84c;
  font-size: 1.12rem;
  line-height: 1.1;
}

.mobile-intro-corner span {
  color: rgba(255, 250, 245, 0.84);
  font-size: 0.82rem;
  line-height: 1.25;
}

.mobile-intro-copy h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: calc(100vw - 44px);
  margin-top: clamp(74px, 21vw, 96px);
  margin-bottom: 18px;
  overflow: hidden;
  font-size: clamp(1.9rem, 7.6vw, 2.7rem);
  line-height: 1.05;
  white-space: normal;
}

.mobile-intro-copy h1.mobile-title-long {
  display: block;
  overflow: visible;
  font-size: clamp(1.34rem, 5.6vw, 2rem);
  line-height: 1.08;
  -webkit-line-clamp: unset;
}


.mobile-intro-meta-stack {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
}

.mobile-intro-meta {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 250, 245, 0.86);
}

#mobileIntroType {
  color: #fffaf3;
  font-size: clamp(1.28rem, 4.6vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}

#mobileIntroVenue,
#mobileIntroDate {
  color: #fffaf3;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.24;
}

#mobileIntroDate {
  color: #fffaf3;
  font-size: 1.28rem;
}

.mobile-intro-story {
  padding-top: 34vh;
}

.mobile-intro-text {
  margin: 0 0 18px;
  font-size: 1.15rem;
  line-height: 1.62;
  color: rgba(255, 250, 245, 0.94);
}

.mobile-intro-cast {
  margin-top: 28px;
  padding: 18px 18px 14px;
  border-radius: 24px;
  background: rgba(11, 14, 28, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-intro-cast h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.mobile-intro-cast p {
  margin: 0 0 8px;
  color: rgba(255, 250, 245, 0.88);
}

.mobile-intro-note {
  margin: 18px 0 0;
  color: rgba(255, 250, 245, 0.72);
  line-height: 1.6;
}

.mobile-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 24, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 28px rgba(3, 5, 16, 0.28);
  backdrop-filter: blur(18px);
}

.mobile-bottom-summary strong,
.mobile-bottom-summary span {
  display: block;
}

.mobile-bottom-summary-button {
  width: auto;
  min-width: 0;
  padding: 14px 16px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #352100;
  box-shadow: 0 14px 26px rgba(255, 201, 72, 0.24);
  text-align: left;
}

.mobile-bottom-summary-button:disabled {
  opacity: 0.58;
  box-shadow: none;
}

.mobile-bottom-summary strong {
  font-size: 1.15rem;
  color: inherit;
}

.mobile-bottom-summary span {
  margin-top: 4px;
  color: inherit;
  font-size: 0.9rem;
}

.mobile-primary-btn {
  width: auto;
  min-width: 164px;
  padding: 16px 20px;
  border-radius: 22px;
  border: none;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #352100;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(255, 201, 72, 0.24);
}

.mobile-bottom-bar-intro {
  padding: 0 18px calc(18px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: 0;
  box-shadow: none;
  justify-content: flex-end;
}

.mobile-bottom-bar-intro .mobile-primary-btn {
  width: 100%;
  min-width: 0;
  padding: 18px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 18px 48px rgba(255, 196, 42, 0.36);
}

.mobile-primary-btn:disabled {
  opacity: 0.5;
  box-shadow: none;
}

.mobile-map-bottom-bar {
  justify-content: stretch;
}

.mobile-map-bottom-bar .mobile-primary-btn {
  width: 100%;
  min-width: 0;
  padding: 20px 24px;
  border-radius: 999px;
  font-size: 1.24rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(255, 178, 52, 0.34);
}

.mobile-selection-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
}

.mobile-selection-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.58);
}

.mobile-selection-dialog {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18%;
  padding: 22px 18px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 24px 50px rgba(16, 22, 38, 0.22);
}

.mobile-selection-dialog h3 {
  padding-right: 58px;
  margin-bottom: 18px;
  font-size: 1.9rem;
  font-weight: 500;
}

.mobile-selection-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 46px;
  height: 46px;
  min-width: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: #ff3f4f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 63, 79, 0.34);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-selection-list {
  display: grid;
  gap: 14px;
}

.mobile-selection-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(239, 224, 204, 0.86);
}

.mobile-selection-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.mobile-selection-copy strong,
.mobile-selection-copy span {
  display: block;
}

.mobile-selection-copy strong {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.mobile-selection-copy span {
  color: var(--muted);
  font-size: 1rem;
}

.mobile-selection-price {
  font-size: 1.3rem;
  white-space: nowrap;
}

.mobile-selection-remove {
  width: 54px;
  height: 54px;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(234, 225, 207, 0.96);
  border-radius: 14px;
  background: #f4efe4;
  color: #2778c9;
  font-size: 1.8rem;
  line-height: 1;
}

.mobile-selection-empty {
  margin: 0;
  color: var(--muted);
}

.mobile-inline-selected {
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
}

.mobile-inline-selected.empty {
  display: none;
}

.mobile-inline-selected.has-selection {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 177, 104, 0.18);
}

.mobile-inline-selected .mobile-selection-item,
.mobile-inline-selected .mobile-selection-item:first-child {
  padding: 12px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  border-radius: 16px;
  background: rgba(255, 252, 246, 0.08);
}

.mobile-inline-selected .mobile-selection-copy strong,
.mobile-inline-selected .mobile-selection-price {
  color: #fff8ef;
}

.mobile-inline-selected .mobile-selection-copy span {
  color: rgba(255, 248, 239, 0.66);
}

.mobile-inline-selected .mobile-selection-remove {
  border-color: rgba(255, 177, 104, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffcf00;
}

.mobile-step-map,
.mobile-step-checkout {
  --mobile-step-inline-padding: 18px;
  padding: 18px var(--mobile-step-inline-padding) 120px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 76, 0.14), transparent 26%),
    linear-gradient(180deg, #090d18 0%, #0d1426 100%);
  color: #fff8ef;
}

.mobile-step-head {
  position: relative;
  z-index: 12;
  display: flex;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.mobile-step-head h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: calc(100vw - 92px);
  margin-bottom: 4px;
  color: #fff8ef;
  overflow: hidden;
  white-space: normal;
}

.mobile-step-head h2.mobile-map-title-long {
  display: block;
  overflow: visible;
  font-size: clamp(1.1rem, 5vw, 1.52rem);
  line-height: 1.1;
  -webkit-line-clamp: unset;
}

.mobile-step-meta {
  margin: 0;
  color: rgba(255, 248, 239, 0.66);
}

.mobile-event-alerts {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.mobile-event-alerts[hidden] {
  display: none;
}

.mobile-event-alert {
  flex: 1;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-event-alert-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 248, 239, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-event-alert strong {
  display: block;
  color: #fff8ef;
  font-size: 0.98rem;
  line-height: 1.2;
}

.mobile-event-alert p {
  margin: 6px 0 0;
  color: rgba(255, 248, 239, 0.72);
  font-size: 0.86rem;
  line-height: 1.38;
}

.mobile-event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 18px;
  background: rgba(113, 204, 55, 0.18);
  border: 1px solid rgba(131, 214, 68, 0.34);
  color: #d8ffb8;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mobile-back-btn {
  position: relative;
  z-index: 13;
  width: auto;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8ef;
}

.mobile-hall-select {
  margin-bottom: 12px;
}

.mobile-hall-select span,
.mobile-checkout-form label {
  color: rgba(255, 248, 239, 0.78);
}

.mobile-map-card {
  position: relative;
  margin-right: calc(var(--mobile-step-inline-padding) * -1);
  margin-left: calc(var(--mobile-step-inline-padding) * -1);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.mobile-seat-toast {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: grid;
  gap: 2px;
  min-width: 138px;
  max-width: calc(100% - 120px);
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 70, 0.34);
  background: rgba(7, 8, 12, 0.9);
  color: #fff9ef;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.mobile-seat-toast.hidden {
  display: none;
}

.mobile-seat-toast span {
  overflow: hidden;
  color: rgba(255, 249, 239, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-seat-toast strong {
  color: #fff9ef;
  font-size: 0.96rem;
  line-height: 1.15;
}

.mobile-map-promo-box {
  margin-top: 0;
  color: #321b04;
  box-shadow: none;
}

.mobile-map-utility-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.mobile-map-utility-row .promo-toggle {
  min-height: 54px;
  border-radius: 18px;
}

.mobile-map-age-badge {
  flex: 0 0 auto;
  min-width: 74px;
  min-height: 54px;
  padding: 0 16px;
  box-shadow: 0 14px 28px rgba(102, 184, 54, 0.18);
}

.mobile-map-promo-box input {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.mobile-map-promo-box input::placeholder {
  color: rgba(54, 62, 80, 0.42);
}

.mobile-map-wrap {
  height: auto;
  min-height: 0;
  max-height: min(64vh, 560px);
  padding: 0;
  position: relative;
  overflow: hidden;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  cursor: grab;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 245, 249, 0.99)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(170, 180, 205, 0.06) 30px,
      rgba(170, 180, 205, 0.06) 31px
    );
  border-radius: 0;
}

#mobileSeatMap {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  margin: 0;
  transform-origin: 0 0;
  will-change: transform;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), height 220ms ease;
}

.desktop-map-zoom-controls {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 9;
  display: grid;
  gap: 8px;
}

.desktop-map-zoom-controls.hidden {
  display: none;
}

.desktop-map-zoom-controls button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(16, 20, 34, 0.2);
}

.desktop-section-hotspot {
  fill: var(--section-fill-color, rgba(148, 28, 246, 0.06));
  stroke: var(--section-outline-color, rgba(148, 28, 246, 0.68));
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  cursor: zoom-in;
  pointer-events: all;
  transition: fill 140ms ease, stroke-width 140ms ease;
}

.tickets-page .desktop-section-hotspot,
.tickets-page .desktop-section-hotspot:hover,
.tickets-page .desktop-section-hotspot.focused {
  fill: transparent;
  stroke: transparent;
}

.desktop-section-hotspot:hover {
  fill: var(--section-fill-hover-color, rgba(148, 28, 246, 0.14));
  stroke-width: 3px;
}

.desktop-section-hotspot.focused {
  fill: transparent;
  stroke-width: 2px;
  cursor: default;
  pointer-events: none;
}

.palace-arts-desktop-map .desktop-section-hotspot,
.palace-arts-desktop-map .desktop-section-hotspot:hover,
.palace-arts-desktop-map .desktop-section-hotspot.focused {
  fill: transparent;
  stroke: transparent;
}

@media (max-width: 900px) {
  .desktop-section-hotspot {
    display: none;
  }

  .selected-price-legend {
    display: none;
  }
}

.mobile-map-wrap.is-dragging {
  cursor: grabbing;
}

.mobile-map-wrap.is-dragging #mobileSeatMap {
  transition: none;
}

.mobile-map-zoom-controls {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 9;
  display: grid;
  gap: 8px;
}

.mobile-map-zoom-controls button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(16, 20, 34, 0.2);
}

.mobile-map-zoom-controls .mobile-section-reset {
  width: auto;
  height: 44px;
  padding: 0 13px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #241800;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.mobile-map-zoom-controls .mobile-section-reset.hidden {
  display: none;
}

.mobile-section-hotspot {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
  vector-effect: non-scaling-stroke;
  rx: 18px;
  cursor: pointer;
  pointer-events: none;
}

.mobile-section-hotspot:hover {
  fill: transparent;
}

.mobile-map-wrap .row-label {
  fill: var(--scheme-label-color);
  font-size: 18px;
  font-weight: 900;
}

.mobile-map-wrap .row-label-center {
  fill: var(--scheme-label-color);
  font-size: 17px;
}

.mobile-map-wrap .section-area-label {
  fill: var(--scheme-label-color);
  font-size: 22px;
  font-weight: 950;
}

.mobile-map-wrap .stage-label {
  fill: var(--scheme-label-color);
  font-size: 30px;
  font-weight: 900;
}

.custom-hall-label {
  fill: var(--scheme-label-color);
  font-family: "Inter", "Arial", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.14em;
  pointer-events: none;
  text-transform: uppercase;
}

.mobile-map-wrap .seat.available {
  fill: var(--seat-color, #ffb100);
}

.mobile-map-wrap .seat.golden-quota-seat.available {
  fill: #d6a62e;
  stroke: #fff1a8;
  stroke-width: 1.4px;
}

.mobile-map-wrap .seat.selected {
  fill: #ff2d46;
  stroke: none;
  stroke-width: 0;
}

.mobile-map-wrap .seat.focus-preview {
  fill: #ff2d46;
  stroke: #ff2d46;
  stroke-width: 3px;
}

.mobile-map-wrap .seat.sold {
  fill: #cfd4df;
  opacity: 1;
}

.mobile-map-wrap .seat.quota {
  fill: #cfd4df;
  opacity: 1;
}

.mobile-map-wrap .seat.unpriced {
  fill: #cfd4df;
  opacity: 0.72;
}

.mobile-bottom-bar:not(.mobile-bottom-bar-intro) {
  background: rgba(7, 10, 21, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 -18px 32px rgba(2, 4, 12, 0.34);
}

.mobile-floating-reservation.mobile-reservation-timer {
  position: fixed;
  left: 18px;
  right: 18px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  bottom: auto;
  z-index: 72;
  width: auto;
  grid-column: auto;
  margin: 0;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 249, 237, 0.97);
  color: #3d2700;
  border: 1px solid rgba(255, 207, 0, 0.38);
  box-shadow: 0 18px 34px rgba(2, 4, 12, 0.24);
  backdrop-filter: blur(16px);
  text-align: center;
}

.mobile-floating-reservation .reservation-progress {
  background: rgba(61, 39, 0, 0.13);
}

.mobile-floating-reservation .reservation-progress i {
  background: linear-gradient(90deg, #75c700, #ffd73f);
}

.mobile-order-recap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffdf38 0%, #ffb02e 48%, #ff8f2f 100%);
  border: 1px solid rgba(255, 214, 79, 0.72);
  box-shadow: 0 18px 42px rgba(255, 148, 42, 0.28);
  color: #211300;
}

.mobile-order-recap div {
  display: grid;
  gap: 4px;
}

.mobile-order-recap div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(33, 19, 0, 0.18);
}

.mobile-order-recap span {
  color: rgba(33, 19, 0, 0.68);
  font-size: 0.84rem;
  font-weight: 800;
}

.mobile-order-recap strong {
  color: #211300;
  font-size: 1.16rem;
  font-weight: 950;
}

.mobile-checkout-form {
  gap: 14px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}

.mobile-step-checkout {
  padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
}

.mobile-submit-btn {
  width: 100%;
  margin-top: 6px;
}

.mobile-legal-consent {
  margin: 2px 0 0;
  padding: 12px 14px;
  background: rgba(255, 221, 76, 0.12);
  border-color: rgba(255, 207, 0, 0.32);
  color: rgba(255, 248, 239, 0.9);
  font-size: 0.84rem;
}

.mobile-step-checkout input,
.mobile-step-checkout select,
.mobile-step-map select {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ef;
  border-color: rgba(255, 255, 255, 0.1);
}

.mobile-step-checkout input::placeholder {
  color: rgba(255, 248, 239, 0.38);
}

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

.buyer-filter {
  min-width: 260px;
}

.buyer-hall-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.buyer-hall-chip {
  width: auto;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: linear-gradient(180deg, rgba(255, 177, 83, 0.18), rgba(255, 123, 77, 0.08));
  color: #fff5ea;
  text-align: left;
}

.buyer-hall-chip strong,
.buyer-hall-chip span {
  display: block;
}

.buyer-hall-chip span {
  margin-top: 4px;
  color: rgba(255, 244, 233, 0.72);
  font-size: 0.82rem;
}

.buyer-hall-chip.active {
  border-color: rgba(255, 156, 73, 0.45);
  box-shadow: 0 16px 28px rgba(255, 156, 73, 0.18);
  background: linear-gradient(180deg, rgba(255, 177, 83, 0.28), rgba(255, 123, 77, 0.16));
}

.buyer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.buyer-map-card,
.buyer-checkout-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(14, 15, 28, 0.58);
  backdrop-filter: none;
}

.buyer-map-card {
  display: grid;
  justify-items: center;
}

.buyer-map-wrap {
  min-height: 640px;
}

.buyer-map-card .section-heading,
.buyer-map-card .map-canvas,
.buyer-map-card .buyer-checkout-card-inline,
.buyer-map-card .buyer-map-footer {
  width: min(100%, 960px);
}

.buyer-map-summary {
  margin-bottom: 14px;
}

.buyer-section-legend {
  margin-top: 16px;
  margin-bottom: 0;
}

.buyer-order-head {
  align-items: center;
}

.buyer-order-head h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.buyer-order-count {
  color: rgba(255, 245, 236, 0.72);
  font-size: 1.08rem;
  font-weight: 900;
}

.buyer-total-box strong {
  font-size: 2rem;
}

.buyer-total-box {
  border: none;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #321b04;
  box-shadow: 0 18px 34px rgba(255, 128, 32, 0.2);
}

.buyer-total-box span {
  color: rgba(50, 27, 4, 0.72);
}

.buyer-total-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.buyer-total-button > span {
  display: grid;
  gap: 4px;
  margin: 0;
}

.buyer-total-button small {
  color: rgba(50, 27, 4, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.buyer-total-button b {
  color: #321b04;
  font-size: 1.28rem;
  font-weight: 950;
  white-space: nowrap;
}

.buyer-total-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(255, 128, 32, 0.28);
}

.buyer-total-button:disabled {
  cursor: default;
  opacity: 0.62;
  box-shadow: none;
}

.golden-ticket-checkout .buyer-total-button {
  justify-content: center;
  text-align: center;
}

.golden-ticket-checkout .buyer-total-button b {
  font-size: 1.18rem;
}

.buyer-submit {
  padding-top: 14px;
  padding-bottom: 14px;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #321b04;
  border: none;
  box-shadow: 0 18px 34px rgba(255, 128, 32, 0.22);
  font-size: 1.32rem;
  font-weight: 950;
}

.buyer-map-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
  justify-content: center;
}

.buyer-checkout-card-inline {
  margin-top: 0;
  width: min(100%, 520px);
}

.buyer-purchase-rail {
  display: grid;
  gap: 14px;
  align-content: start;
}

.buyer-purchase-rail #purchaseResult {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 207, 0, 0.26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 223, 56, 0.24), rgba(255, 157, 61, 0.18));
  color: #fff7ef;
  font-weight: 800;
  line-height: 1.4;
}

.desktop-email-field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 177, 104, 0.16);
  color: rgba(255, 245, 236, 0.84);
  font-weight: 800;
}

.desktop-email-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 177, 104, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #241d18;
  font: inherit;
}

.ticket-email-warning {
  margin: -6px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 126, 212, 0.5);
  border-radius: 12px;
  background: rgba(135, 33, 181, 0.36);
  color: #fff4ff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.ticket-email-warning.hidden {
  display: none;
}

.desktop-email-field input.ticket-email-unavailable,
.mobile-checkout-form input.ticket-email-unavailable {
  border-color: #f487d7;
  box-shadow: 0 0 0 3px rgba(244, 135, 215, 0.16);
}

.loyalty-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 223, 56, 0.24), rgba(255, 157, 61, 0.18));
  border: 1px solid rgba(255, 207, 0, 0.26);
  color: #fff7ef;
}

.loyalty-box.hidden {
  display: none;
}

.loyalty-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loyalty-box-head strong {
  color: #ffdc38;
}

.loyalty-box-head span,
.loyalty-box p {
  color: rgba(255, 245, 236, 0.78);
}

.loyalty-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.mobile-checkout-form .loyalty-toggle {
  display: flex;
}

.loyalty-toggle input {
  width: 20px;
  height: 20px;
  accent-color: #ffb000;
}

.loyalty-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.reservation-timer {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.92);
  color: #4a443b;
  border: 1px solid rgba(255, 177, 83, 0.34);
  box-shadow: 0 14px 30px rgba(12, 14, 28, 0.14);
  font-weight: 800;
}

.reservation-timer.hidden {
  display: none;
}

.reservation-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(38, 38, 38, 0.12);
}

.reservation-progress i {
  display: block;
  width: var(--reservation-progress, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7bc600, #21a400);
  transition: width 0.25s ease;
}

.mobile-reservation-timer {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  padding: 8px 10px;
  font-size: 0.88rem;
  text-align: center;
}

.mobile-checkout-reservation {
  margin-bottom: 14px;
}

.buyer-map-footer .buyer-total-box,
.buyer-map-footer .buyer-submit {
  width: 100%;
}

.buyer-map-result {
  width: min(100%, 960px);
  margin-top: 14px;
}

.tickets-page .eyebrow,
.tickets-page .summary-mini span,
.tickets-page .section-heading p,
.tickets-page .selection-head span,
.tickets-page .mobile-step-meta,
.tickets-page .buyer-route-copy p,
.tickets-page .buyer-organizer-copy p,
.tickets-page .buyer-support-head p {
  color: rgba(255, 242, 228, 0.66);
}

.tickets-page .buyer-hero-copy > .hero-text,
.tickets-page .buyer-route-copy,
.tickets-page .buyer-support-card,
.tickets-page .selection-head,
.tickets-page #selectedSeats,
.tickets-page .summary-chip span,
.tickets-page .section-legend,
.tickets-page .legend span {
  color: rgba(255, 245, 236, 0.84);
}

.tickets-page .summary-mini,
.tickets-page .summary-chip,
.tickets-page .seat-pill,
.tickets-page .selected-seats {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 177, 104, 0.14);
  color: #fff7ef;
}

.tickets-page .seat-color-ticket {
  --ticket-notch-bg: #12131c;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-left: 44px;
  padding-right: 44px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at left 28%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    radial-gradient(circle at left 50%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    radial-gradient(circle at left 72%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    radial-gradient(circle at right 28%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    radial-gradient(circle at right 50%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    radial-gradient(circle at right 72%, var(--ticket-notch-bg) 0 5px, transparent 6px),
    linear-gradient(110deg, var(--ticket-card-bg, #ff9d3d) 0%, var(--ticket-card-bg-end, #9f5f24) 100%);
  border-color: var(--ticket-card-border, rgba(255, 177, 104, 0.2));
  box-shadow: 0 16px 34px var(--ticket-card-shadow, rgba(255, 157, 61, 0.16));
  color: var(--ticket-card-text, #fffaf3);
  filter: none;
  opacity: 1;
}

.tickets-page .seat-color-ticket::before,
.tickets-page .seat-color-ticket::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  z-index: 0;
  width: 1px;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.58) 0,
    rgba(255, 255, 255, 0.58) 5px,
    transparent 5px,
    transparent 10px
  );
  opacity: 0.72;
}

.tickets-page .seat-color-ticket::before {
  left: 30px;
}

.tickets-page .seat-color-ticket::after {
  right: 30px;
}

.tickets-page .seat-color-ticket > * {
  position: relative;
  z-index: 1;
}

.tickets-page .seat-color-ticket strong,
.tickets-page .seat-color-ticket .mobile-selection-price {
  color: var(--ticket-card-text, #fffaf3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.tickets-page .seat-color-ticket div,
.tickets-page .seat-color-ticket span {
  color: var(--ticket-card-muted, rgba(255, 250, 243, 0.76));
}

.tickets-page .seat-color-ticket > div:last-of-type {
  color: var(--ticket-card-text, #fffaf3);
  font-weight: 900;
}

.tickets-page .mobile-inline-selected .mobile-selection-item.seat-color-ticket,
.tickets-page .mobile-inline-selected .mobile-selection-item.seat-color-ticket:first-child {
  --ticket-notch-bg: #0b1020;
  padding: 14px 42px;
  background:
    radial-gradient(circle at left 28%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    radial-gradient(circle at left 50%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    radial-gradient(circle at left 72%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    radial-gradient(circle at right 28%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    radial-gradient(circle at right 50%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    radial-gradient(circle at right 72%, var(--ticket-notch-bg) 0 7px, transparent 8px),
    linear-gradient(110deg, var(--ticket-card-bg, #ff9d3d) 0%, var(--ticket-card-bg-end, #9f5f24) 100%);
  border-color: var(--ticket-card-border, rgba(255, 177, 104, 0.2));
  filter: none;
  opacity: 1;
}

.tickets-page .seat-color-ticket .remove-seat,
.tickets-page .seat-color-ticket .mobile-selection-remove {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--ticket-card-button, rgba(255, 255, 255, 0.9));
}

.tickets-page .faq-modal-dialog {
  background: rgba(255, 251, 246, 0.98);
  border-color: rgba(255, 177, 104, 0.18);
  color: #2b241d;
}

.purchase-modal.hidden {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.purchase-confetti {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 760px;
}

.purchase-confetti i {
  position: absolute;
  top: -12vh;
  left: var(--confetti-x);
  width: var(--confetti-size);
  height: calc(var(--confetti-size) * 0.52);
  border-radius: 2px;
  background: var(--confetti-color);
  box-shadow: 0 2px 5px rgba(16, 8, 26, 0.18);
  opacity: 0.96;
  animation: purchase-confetti-fall var(--confetti-duration) linear var(--confetti-delay) forwards;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform, opacity;
}

.purchase-confetti i:nth-child(3n) {
  border-radius: 50%;
}

.purchase-confetti i:nth-child(4n) {
  height: var(--confetti-size);
}

@keyframes purchase-confetti-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 0.96;
  }
  8% {
    opacity: 0.96;
  }
  46% {
    transform:
      translate3d(var(--confetti-mid-drift), 48vh, 48px)
      rotateX(var(--confetti-mid-spin-x))
      rotateY(var(--confetti-mid-spin-y))
      rotateZ(var(--confetti-mid-spin));
  }
  90% {
    opacity: 0.96;
  }
  100% {
    transform:
      translate3d(var(--confetti-drift), 118vh, -32px)
      rotateX(var(--confetti-spin-x))
      rotateY(var(--confetti-spin-y))
      rotateZ(var(--confetti-spin));
    opacity: 0;
  }
}

.purchase-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 520px);
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 251, 246, 0.98);
  border: 1px solid rgba(255, 177, 104, 0.24);
  box-shadow: 0 28px 90px rgba(18, 18, 32, 0.34);
  color: #2b241d;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .purchase-confetti {
    display: none;
  }
}

.purchase-modal-dialog.golden-ticket-success {
  border-color: rgba(229, 177, 255, 0.52);
  background: linear-gradient(135deg, #5d168f, #941cf6 55%, #d64ee8);
  color: #ffffff;
  box-shadow: 0 28px 90px rgba(74, 12, 122, 0.46);
}

.purchase-modal-dialog.golden-ticket-success .eyebrow,
.purchase-modal-dialog.golden-ticket-success .purchase-modal-body p {
  color: rgba(255, 255, 255, 0.88);
}

.purchase-modal-dialog.golden-ticket-success .purchase-modal-order {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.purchase-modal-dialog.golden-ticket-success .purchase-modal-ticket {
  background: rgba(255, 255, 255, 0.96);
  color: #68159b;
  box-shadow: 0 18px 34px rgba(43, 5, 75, 0.25);
}

.purchase-modal-dialog.golden-ticket-success .faq-modal-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.purchase-success-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #64c400, #169400);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(36, 156, 0, 0.28);
}

.purchase-success-logo {
  display: block;
  width: min(170px, 46vw);
  max-height: 130px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.purchase-modal-dialog h2 {
  margin: 6px 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  width: 100%;
}

.purchase-modal-body {
  display: grid;
  gap: 10px;
}

.purchase-modal-body p {
  margin: 0;
  color: #6b5d4e;
  font-size: 1rem;
}

.purchase-modal-order {
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff2dd;
  color: #6b4112;
  font-weight: 900;
}

.purchase-modal-total {
  font-size: 2.4rem;
  font-weight: 950;
}

.purchase-modal-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 62px;
  padding: 18px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffcf00, #ff9500);
  color: #261800;
  font-size: 1.24rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(255, 149, 0, 0.26);
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 207, 0, 0.22);
  color: rgba(255, 247, 239, 0.86);
  font-size: 0.86rem;
  line-height: 1.35;
}

.legal-notice {
  display: block;
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 151, 67, 0.18), rgba(255, 207, 0, 0.12));
  border-color: rgba(255, 177, 104, 0.32);
}

.legal-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ffcf00;
  flex: 0 0 auto;
}

.legal-consent a {
  color: #ffcf00;
  font-weight: 800;
}

.desktop-legal-consent {
  max-width: 330px;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 207, 0, 0.18), transparent 34rem),
    linear-gradient(135deg, #fffaf0, #f4f8ff);
  color: #1f242c;
}

.legal-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 54px;
}

.legal-header,
.legal-card {
  border: 1px solid rgba(27, 32, 43, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(35, 42, 55, 0.1);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 26px;
  margin-bottom: 18px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 950;
}

.legal-brand img {
  width: 150px;
  height: 130px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(148, 28, 246, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.legal-nav a:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
  box-shadow: 0 18px 36px rgba(148, 28, 246, 0.26);
  transform: translateY(-1px);
}

.legal-card {
  padding: clamp(24px, 5vw, 48px);
  border-radius: 32px;
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
  color: #505866;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff3c4;
  color: #5d4614;
  font-weight: 800;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(250, 204, 21, 0.22), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 52%, #eef6ff 100%);
}

.admin-login-card {
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.admin-login-logo {
  width: 190px;
  max-height: 160px;
  object-fit: contain;
  display: block;
  margin-bottom: 24px;
}

.admin-login-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3rem);
}

.admin-login-hint {
  margin: 0 0 22px;
  color: #64748b;
  line-height: 1.5;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: #334155;
}

.admin-login-form input {
  width: 100%;
  border: 1px solid #d7dde8;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: #0f172a;
}

.admin-login-form input:focus {
  outline: 3px solid rgba(250, 204, 21, 0.35);
  border-color: #facc15;
}

.admin-login-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
}

.admin-login-public-link {
  display: inline-block;
  margin-top: 18px;
  color: #2563eb;
  font-weight: 800;
}

.topbar-logout {
  margin-left: auto;
  color: #dc2626;
}

.tickets-page .faq-modal-dialog h2,
.tickets-page .faq-modal-body h3,
.tickets-page .faq-modal-body p {
  color: #2b241d;
}

.tickets-page .summary-mini strong,
.tickets-page .summary-chip strong,
.tickets-page .section-heading h2,
.tickets-page .buyer-route-copy h2,
.tickets-page .buyer-support-head h2,
.tickets-page .selection-head strong,
.tickets-page .selected-seat-summary,
.tickets-page .selected-seat-name,
.tickets-page .total-box strong,
.tickets-page .result-card,
.tickets-page .legend,
.tickets-page .compact-legend,
.tickets-page .buyer-widget-head h2 {
  color: #fff8f1;
}

.tickets-page .buyer-total-box,
.tickets-page .buyer-total-box span,
.tickets-page .buyer-total-box strong,
.tickets-page .mobile-order-recap span,
.tickets-page .mobile-order-recap strong,
.tickets-page #mobileCheckoutTotal {
  color: #050505;
}

.tickets-page .summary-mini .event-date-line {
  color: rgba(255, 244, 233, 0.78);
}

.tickets-page .summary-mini .event-time-line {
  margin-bottom: 0;
  color: #fff8ef;
}

.tickets-page .desktop-ticket-flow .summary-mini .event-date-line {
  margin-bottom: 7px;
  color: #fff8ef;
  font-size: clamp(1.28rem, 1.6vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tickets-page .desktop-ticket-flow .summary-mini .event-time-line {
  color: rgba(255, 248, 239, 0.92);
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  letter-spacing: -0.03em;
}

.tickets-page .buyer-widget {
  border-color: rgba(255, 177, 104, 0.08);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
}

.tickets-page .buyer-map-card {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.tickets-page .map-canvas {
  background: transparent;
  border: 1px solid rgba(255, 177, 104, 0.12);
}

.tickets-page .buyer-map-wrap {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 245, 232, 0.98)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 169, 99, 0.05) 39px,
      rgba(255, 169, 99, 0.05) 40px
    );
  border-radius: 22px;
  padding: 10px;
}

@media (min-width: 901px) {
  .tickets-page .buyer-map-card .map-canvas {
    width: min(100%, 1100px);
  }

  .tickets-page .buyer-map-wrap {
    min-height: 710px;
  }

  .tickets-page #seatMap {
    min-width: 0;
    min-height: 620px;
  }
}

.tickets-page .buyer-checkout-card-inline,
.tickets-page .buyer-purchase-rail {
  background: rgba(9, 10, 18, 0.62);
  border-color: rgba(255, 177, 104, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.tickets-page .buyer-purchase-rail {
  padding: 16px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 24px;
}

.tickets-page #selectedSeats {
  background: rgba(6, 7, 13, 0.46);
  border-color: rgba(255, 177, 104, 0.16);
}

.tickets-page .desktop-email-field {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 177, 104, 0.14);
  box-shadow: none;
}

.tickets-page .desktop-email-field input {
  background: rgba(6, 7, 13, 0.78);
  border-color: rgba(255, 177, 104, 0.22);
  color: #fffaf5;
}

.tickets-page .desktop-email-field input::placeholder {
  color: rgba(255, 248, 239, 0.45);
}

.tickets-page .checkout-form label,
.tickets-page .buyer-route-meta strong,
.tickets-page .buyer-organizer-copy strong {
  color: #fff7ef;
}

.tickets-page .checkout-form input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 177, 104, 0.18);
  color: #fffaf5;
}

.tickets-page .checkout-form input::placeholder {
  color: rgba(255, 248, 239, 0.45);
}

.tickets-page .ghost-btn {
  border-color: rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #fff7ef;
}

.tickets-page .buyer-organizer-bar {
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(8, 9, 17, 0.56);
  backdrop-filter: blur(8px);
}

.mobile-step {
  display: none;
}

.mobile-step.active {
  display: block;
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.workspace-head-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.workspace-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.workspace-poster-card {
  width: 172px;
  min-width: 172px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 104, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.workspace-poster-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
}

.dashboard-layout {
  align-items: start;
}

.stats-main {
  padding: 24px 28px 40px;
}

body.admin-page.stats-sales-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.42), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.4), transparent 34%),
    linear-gradient(145deg, #fbe9ff 0%, #e8c7ff 48%, #d0aaf7 100%);
}

body.admin-page.stats-sales-page .stats-sidebar {
  background:
    linear-gradient(180deg, rgba(33, 17, 47, 0.96), rgba(70, 20, 108, 0.94));
  border-color: rgba(236, 91, 248, 0.18);
}

body.admin-page.stats-sales-page .stats-nav-link.active,
body.admin-page.stats-sales-page .stats-nav-link.active:hover,
body.admin-page.stats-sales-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

body.admin-page.stats-sales-page .stats-page-head h1 {
  color: #29123f;
  text-shadow: 0 12px 34px rgba(148, 28, 246, 0.14);
}

body.admin-page.stats-sales-page .stats-page-head .eyebrow {
  color: rgba(82, 36, 118, 0.72);
}

.stats-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

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

.stats-sales-page .stats-page-head h1 {
  font-size: clamp(1.15rem, 2.5vw, 2.3rem);
  max-width: none;
}

.admin-page .dashboard-head h1,
.admin-page:not(.scheme-builder-page):not(.event-builder-page) .stats-page-head h1 {
  font-size: clamp(1.15rem, 2.5vw, 2.3rem);
  max-width: none;
}

.stats-date-panel {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.stats-range-box {
  min-width: 260px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(236, 91, 248, 0.2);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.1);
}

.stats-range-box span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.stats-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-item-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.event-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.event-status-chip.draft {
  background: rgba(245, 201, 74, 0.18);
  color: #8e6700;
}

.event-status-chip.launched {
  background: rgba(63, 176, 105, 0.16);
  color: #1d7a44;
}

.event-status-chip.stopped {
  background: rgba(122, 122, 122, 0.16);
  color: #505050;
}

.period-tab {
  width: auto;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 0;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.period-tab.active {
  color: var(--text);
  border-bottom-color: #ec5bf8;
}

.stats-filters {
  display: flex;
  gap: 12px;
  align-items: end;
}

.stats-export-btn {
  width: auto;
  min-width: 150px;
  border-radius: 18px;
}

.stats-filter {
  min-width: 280px;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stats-kpi,
.stats-report-card {
  border-radius: 24px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.stats-kpi {
  padding: 18px 20px;
}

.stats-kpi span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.stats-kpi strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.stats-report-card {
  padding: 0;
  overflow: hidden;
}

.stats-organizers-card {
  margin-top: 22px;
}

.stats-organizer-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(236, 91, 248, 0.16);
}

.stats-organizer-totals article {
  display: grid;
  gap: 8px;
  padding: 18px 22px;
}

.stats-organizer-totals article:first-child {
  border-right: 1px solid rgba(236, 91, 248, 0.12);
}

.stats-organizer-totals span {
  color: #6b168f;
  font-size: 0.86rem;
  font-weight: 800;
}

.stats-organizer-totals strong {
  color: #2b1044;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

.stats-organizers-list {
  display: grid;
}

.stats-organizer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(236, 91, 248, 0.12);
}

.stats-organizer-row:last-child {
  border-bottom: 0;
}

.stats-organizer-row strong {
  color: #2b1044;
  font-size: 1rem;
}

.stats-organizer-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stats-organizer-metrics span {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: #6b168f;
  white-space: nowrap;
}

.stats-organizer-metrics small {
  color: #8a5aa3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stats-organizer-metrics b {
  color: #2b1044;
  font-size: 1.05rem;
  font-weight: 900;
}

.stats-card-head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(236, 91, 248, 0.16);
}

.stats-card-head h2 {
  margin-bottom: 8px;
}

.stats-timeline-card {
  margin-bottom: 22px;
}

.stats-timeline-card .stats-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stats-timeline-total {
  display: grid;
  gap: 4px;
  justify-items: end;
  font-size: 1.8rem;
  line-height: 1;
  white-space: nowrap;
}

.stats-timeline-total::after {
  content: attr(data-metric);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.stats-timeline {
  min-height: 380px;
  padding: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(252, 245, 255, 0.88));
}

.stats-line-chart-wrap {
  min-width: 860px;
}

.stats-line-chart {
  display: block;
  max-width: none;
  font-family: inherit;
}

.stats-chart-grid-line line {
  stroke: rgba(145, 158, 171, 0.24);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.stats-chart-grid-line.vertical {
  stroke: rgba(145, 158, 171, 0.18);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.stats-chart-grid-line text {
  fill: #7d8791;
  font-size: 13px;
  font-weight: 800;
}

.stats-chart-area {
  fill: url("#statsLineFill");
  stroke: none;
}

.stats-chart-line {
  fill: none;
  stroke: #941cf6;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-chart-point circle {
  fill: #ec5bf8;
  stroke: #ffffff;
  stroke-width: 2.5;
  filter: url("#statsDotShadow");
}

.stats-chart-point-value {
  fill: #20252d;
  font-size: 12px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.stats-chart-date {
  fill: #2d333b;
  font-size: 13px;
  font-weight: 800;
}

.stats-chart-meta {
  fill: #8a8177;
  font-size: 11px;
  font-weight: 700;
}

.stats-table-wrap {
  overflow: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(236, 91, 248, 0.12);
}

.stats-table th {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-table td {
  font-size: 0.92rem;
  line-height: 1.25;
}

.stats-table td strong {
  display: block;
  color: #2b1044;
  font-size: 0.98rem;
  font-weight: 800;
}

.stats-table-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.stats-table-categories {
  margin-top: 6px;
  color: #7a2ba8;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-category-summary {
  display: block;
  margin-top: 5px;
  color: #7a2ba8;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.stats-empty {
  text-align: center !important;
  color: var(--muted);
  padding: 40px 22px !important;
}

.stats-cards-view {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
}

.stats-row-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.stats-row-card-head,
.stats-row-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-row-card-head {
  margin-bottom: 10px;
}

.stats-row-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 203, 115, 0.2);
  overflow: hidden;
  margin-bottom: 12px;
}

.stats-row-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffcc5c, #ff8c3a);
}

.stats-row-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.stats-empty-card,
.hidden {
  display: none;
}

.stats-cards-view .stats-empty-card {
  display: block;
  padding: 28px 0 8px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .showcase-event-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero,
  .landing-split {
    grid-template-columns: 1fr;
  }

  .landing-hero-panel {
    justify-self: center;
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-coins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout,
  .hero,
  .admin-grid,
  .admin-layout,
  .buyer-hero,
  .buyer-info-grid,
  .buyer-layout,
  .buyer-route-card {
    grid-template-columns: 1fr;
  }

  body:not(.admin-page) .stats-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-ribbon,
  .stats-grid,
  .stats-summary-grid {
    grid-template-columns: 1fr;
  }

  .layout-two-columns {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    order: 2;
  }

  .admin-sidebar,
  .buyer-checkout-card {
    position: static;
  }
}

@media (max-width: 900px), (max-device-width: 980px) {
  .showcase-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .showcase-head {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-count {
    min-width: 0;
  }

  .showcase-event-list {
    grid-template-columns: 1fr;
  }

  .showcase-event-date {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .vayner-showcase-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .vayner-showcase-footer nav {
    justify-content: flex-start;
  }

  .showcase-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-footer nav {
    justify-content: flex-start;
  }

  .landing-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .landing-menu-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(148, 28, 246, 0.18);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(148, 28, 246, 0.12);
    cursor: pointer;
  }

  .landing-menu-toggle-input {
    position: absolute;
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .landing-menu-toggle span {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #6b168f;
  }

  .landing-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(148, 28, 246, 0.14);
  }

  .landing-menu-toggle-input:checked ~ .landing-nav {
    display: grid;
    gap: 8px;
  }

  .landing-nav a {
    padding: 9px 11px;
  }

  .landing-hero,
  .landing-split,
  .landing-section {
    padding: 30px 0;
  }

  .landing-hero-copy h1 {
    font-size: clamp(2.65rem, 15vw, 4.5rem);
  }

  .landing-hero-panel {
    padding: 12px;
    border-radius: 28px;
  }

  .landing-ticket-preview {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-scanner {
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
    overflow: hidden;
  }

  .landing-scanner .landing-section-head {
    max-width: none;
    margin: 0;
  }

  .landing-scanner h2 {
    overflow-wrap: anywhere;
  }

  .landing-scanner-preview {
    justify-content: center;
  }

  .landing-scanner-preview img {
    width: min(78vw, 300px);
  }

  .landing-seat-map {
    gap: 9px;
    padding: 18px;
  }

  .landing-seat-row {
    gap: 9px;
  }

  .landing-seat-row span {
    max-width: 58px;
  }

  .landing-coins-grid {
    grid-template-columns: 1fr;
  }

  .desktop-ticket-flow {
    display: none;
  }

  .mobile-ticket-flow {
    display: block;
  }

  .mobile-showcase-back {
    position: absolute;
    top: 54px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
  }

  .page-shell,
  .buyer-shell {
    width: 100%;
    padding-top: 0;
  }

  .topbar,
  .buyer-topbar {
    display: none;
  }

  .topbar-links {
    width: 100%;
  }

  .topbar-link {
    flex: 1;
    text-align: center;
  }

  .hero,
  .panel,
  .buyer-hero,
  .buyer-widget,
  .buyer-map-card,
  .buyer-checkout-card {
    padding: 18px;
    border-radius: 22px;
  }

  .section-heading,
  .selection-head {
    flex-direction: column;
    align-items: stretch;
  }

  .map-actions {
    align-items: stretch;
  }

  .legend,
  .map-summary,
  .section-legend {
    justify-content: flex-start;
  }

  .seat-pill {
    grid-template-columns: 1fr;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .export-card {
    grid-template-columns: 1fr;
  }

  .stats-main {
    padding: 18px;
  }

  .stats-topbar,
  .stats-page-head,
  .stats-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-head,
  .dashboard-events-head,
  .workspace-head,
  .dashboard-event-body {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-date-panel {
    flex-direction: column;
  }

  .stats-filter {
    min-width: 0;
  }

  .stats-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-summary-grid,
  .workspace-meta,
  .buyer-meta,
  .event-inline-grid,
  .event-datetime-grid,
  .event-form-row {
    grid-template-columns: 1fr;
  }

  .event-form-actions {
    margin-left: 0;
  }

  .pricing-canvas-tools,
  .pricing-canvas-action-row {
    justify-content: flex-start;
    justify-items: start;
  }

  .pricing-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pricing-sidebar {
    order: 2;
  }

  .pricing-canvas-shell {
    order: 1;
    padding: 14px;
    justify-items: stretch;
  }

  .pricing-canvas-head {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-map-wrap {
    width: 100%;
    min-height: 540px;
    max-height: 68vh;
  }

  .event-cover-upload,
  .event-hall-inline,
  .event-item-card {
    grid-template-columns: 1fr;
  }

  .buyer-cast-grid {
    grid-template-columns: 1fr;
  }

  .buyer-support-head,
  .buyer-organizer-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .buyer-organizer-links {
    justify-items: start;
  }

  .tickets-page .buyer-footer-logo {
    display: none;
  }

  .buyer-support-email-line {
    display: none;
  }

  .dashboard-filter {
    min-width: 0;
  }

  .dashboard-event-card {
    grid-template-columns: 1fr;
  }

  .buyer-widget-head {
    flex-direction: column;
    align-items: stretch;
  }

  .buyer-filter {
    min-width: 0;
  }

  .mobile-intro-copy {
    max-width: 100%;
  }

  .mobile-bottom-bar {
    gap: 10px;
  }

  .mobile-bottom-summary strong {
    font-size: 1.02rem;
  }

  .mobile-primary-btn {
    min-width: 136px;
    padding: 14px 16px;
  }

  .faq-modal-dialog {
    width: calc(100% - 24px);
    margin-top: 12vh;
    padding: 22px 18px 18px;
  }

  body.admin-page {
    overflow-x: hidden;
    background:
      radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.34), transparent 28%),
      radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.18), transparent 30%),
      linear-gradient(180deg, #ffe86a 0%, #ffc837 42%, #ff8a2a 100%);
  }

  .admin-page .stats-shell {
    display: block;
    min-height: 100vh;
  }

  .admin-page .stats-sidebar {
    position: sticky;
    top: 0;
    z-index: 70;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 10px 10px;
    background: rgba(31, 35, 41, 0.98);
    box-shadow: 0 14px 30px rgba(10, 12, 18, 0.18);
  }

  .admin-page .stats-brand {
    min-width: 0;
  }

  .admin-page .admin-menu-toggle {
    display: inline-grid;
    justify-self: end;
    width: 46px;
    height: 46px;
    place-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 220, 56, 0.28);
    background: linear-gradient(135deg, #ffdf45, #ff9a3d);
    box-shadow: 0 14px 28px rgba(255, 156, 61, 0.22);
    cursor: pointer;
  }

  .admin-page .admin-menu-toggle-input {
    position: absolute;
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .admin-page .admin-menu-toggle span {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #1f2329;
  }

  .admin-page .stats-brand-mark {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .admin-page .brand-logo-sidebar {
    width: 96px;
    max-height: 62px;
  }

  .admin-page .stats-nav {
    display: none;
    grid-column: 1 / -1;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .admin-page .admin-menu-toggle-input:checked ~ .stats-nav {
    display: grid;
  }

  .admin-page .stats-nav-link {
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    white-space: nowrap;
    font-size: 0.86rem;
  }

  .admin-page .stats-nav-logout {
    background: rgba(220, 38, 38, 0.24);
  }

  .admin-page .stats-main,
  .admin-page .dashboard-main {
    width: 100%;
    padding: 16px 12px 36px;
  }

  .admin-page .stats-page-head,
  .admin-page .dashboard-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .admin-page .stats-page-head h1,
  .admin-page .dashboard-head h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
    line-height: 1.05;
  }

  .admin-page.stats-sales-page .stats-page-head h1 {
    font-size: clamp(0.95rem, 5vw, 1.35rem);
  }

  .admin-page .dashboard-head h1,
  .admin-page:not(.scheme-builder-page):not(.event-builder-page) .stats-page-head h1 {
    font-size: clamp(0.95rem, 5vw, 1.35rem);
  }

  .admin-page .dashboard-events-card,
  .admin-page .event-builder-card,
  .admin-page .stats-report-card,
  .admin-page .stats-kpi,
  .admin-page .dashboard-kpi-card {
    border-radius: 22px;
  }

  .admin-page .dashboard-events-card {
    padding: 14px;
  }

  .admin-page .dashboard-today-modal {
    align-items: end;
    padding: 12px;
  }

  .admin-page .dashboard-today-dialog {
    max-height: 88vh;
    padding: 24px 16px 18px;
    border-radius: 26px;
  }

  .admin-page .dashboard-today-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page .dashboard-sales-day-weekday,
  .admin-page .dashboard-sales-day-orders {
    font-size: 0.62rem;
  }

  .admin-page .dashboard-sales-day strong {
    font-size: 0.67rem;
  }

  .admin-page .dashboard-today-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-page .dashboard-today-event {
    grid-column: 1 / -1;
  }

  .admin-page .dashboard-order-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-page .stats-timeline-card .stats-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page .stats-organizer-totals {
    grid-template-columns: 1fr;
  }

  .admin-page .stats-organizer-totals article:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(236, 91, 248, 0.12);
  }

  .admin-page .stats-organizer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .admin-page .stats-organizer-metrics {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .admin-page .stats-organizer-metrics span {
    justify-items: start;
  }

  .admin-page .stats-timeline-total {
    justify-items: start;
    font-size: 1.45rem;
  }

  .admin-page .stats-timeline {
    min-height: 360px;
    padding: 16px;
  }

  .admin-page .stats-line-chart-wrap {
    min-width: 720px;
  }

  .admin-page .event-builder-body {
    padding: 14px 0 0;
  }

  .admin-page .event-step-tabs {
    position: sticky;
    top: 82px;
    z-index: 50;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: -2px -6px 16px;
    padding: 8px 6px;
    overflow-x: auto;
    border-radius: 18px;
    background: rgba(255, 248, 239, 0.96);
    box-shadow: 0 12px 24px rgba(255, 156, 73, 0.12);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-page .event-step-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-page .event-step-tab {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
  }

  .admin-page .event-step-heading {
    margin-bottom: 16px;
  }

  .admin-page .event-step-heading h2 {
    font-size: 1.55rem;
  }

  .admin-page .event-form-grid {
    gap: 16px;
  }

  .admin-page .event-form-row,
  .admin-page .event-venue-form .event-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-page .event-form-row > label {
    padding-top: 0;
    font-size: 0.98rem;
    font-weight: 900;
  }

  .admin-page .event-form-control,
  .admin-page .event-form-control > input,
  .admin-page .event-form-control > select,
  .admin-page .event-form-control > textarea {
    min-width: 0;
    width: 100%;
  }

  .admin-page .event-inline-grid,
  .admin-page .promo-editor-grid,
  .admin-page .event-datetime-grid,
  .admin-page .event-single-date-grid {
    grid-template-columns: 1fr;
  }

  .admin-page .event-datetime-grid input[type="date"],
  .admin-page .event-datetime-grid input[type="time"] {
    min-width: 0;
  }

  .admin-page .event-cover-upload,
  .admin-page .event-hall-inline {
    grid-template-columns: 1fr;
  }

  .admin-page .event-upload-btn,
  .admin-page .promo-add-btn,
  .admin-page .event-form-actions .primary-btn,
  .admin-page .event-form-actions .secondary-btn,
  .admin-page .event-form-actions .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .admin-page .event-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 35;
    display: grid;
    gap: 10px;
    margin-left: 0;
    padding: 14px 0 4px;
    background: linear-gradient(180deg, rgba(255, 248, 239, 0), rgba(255, 248, 239, 0.96) 34%);
  }

  .admin-page .event-radio-group,
  .admin-page .event-checkbox-group {
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
  }

  .admin-page .event-radio-group label,
  .admin-page .event-checkbox-group label {
    flex: 1 1 72px;
    justify-content: center;
    padding: 9px 10px;
    border-radius: 999px;
    background: rgba(255, 244, 226, 0.86);
    font-size: 0.9rem;
  }

  .admin-page .scheme-option-list {
    grid-template-columns: 1fr;
  }

  .admin-page .scheme-option-card {
    padding: 14px;
  }

  .admin-page .scheme-option-preview {
    min-height: 174px;
  }

  .admin-page .scheme-mini-map {
    height: 174px;
  }

  .admin-page .pricing-workspace {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .admin-page .pricing-canvas-shell {
    padding: 12px;
    border-radius: 22px;
    justify-items: stretch;
  }

  .admin-page .pricing-editor {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-page .pricing-editor label:first-child,
  .admin-page .pricing-quota-controls {
    grid-column: auto;
  }

  .admin-page .pricing-top-panel {
    padding: 12px;
  }

  .admin-page .seat-category-list {
    max-height: none;
    overflow: auto;
    padding-right: 2px;
  }

  .admin-page .pricing-selection-summary {
    margin-top: 0;
  }

  .admin-page .pricing-toolbar-row {
    align-items: flex-start;
  }

  .admin-page .pricing-toolbar-row .pricing-selection-summary {
    min-width: 0;
  }

  .admin-page .pricing-canvas-head {
    flex-direction: column;
    gap: 12px;
  }

  .admin-page .pricing-canvas-tools {
    width: 100%;
    justify-items: stretch;
  }

  .admin-page .pricing-zoom-controls {
    justify-content: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page .pricing-floating-zoom-controls {
    position: absolute;
    top: 14px;
    right: auto;
    left: calc(100% - 66px);
    grid-template-columns: 52px;
    width: 52px;
    margin: 0;
  }

  .admin-page .pricing-floating-zoom-controls button {
    width: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .admin-page .pricing-lasso-toggle:not(.scheme-action-icon) {
    width: 100%;
    justify-self: stretch;
  }

  .admin-page .pricing-canvas-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-page .pricing-canvas-action-row .primary-btn,
  .admin-page .pricing-canvas-action-row .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .admin-page .pricing-builder-message {
    width: 100%;
    justify-self: stretch;
  }

  .admin-page .pricing-map-wrap {
    width: 100%;
    min-height: 60vh;
    max-height: 68vh;
    border-radius: 18px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-page .pricing-map-wrap.lasso-mode,
  .admin-page .pricing-map-wrap.lasso-mode-deselect {
    touch-action: none;
  }

  .admin-page #pricingSeatMap {
    width: 760px;
    min-width: 760px;
  }

  .admin-page .pricing-seat-tooltip {
    max-width: min(260px, calc(100vw - 48px));
    font-size: 0.9rem;
  }

  .admin-page .dashboard-event-card,
  .admin-page .event-item-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .admin-page .dashboard-event-body,
  .admin-page .event-item-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-page .dashboard-event-heading-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }

  .admin-page .dashboard-event-heading-row h3 {
    min-width: 0;
    white-space: normal;
  }

  .admin-page .dashboard-event-status-stack {
    align-items: flex-end;
    justify-self: end;
  }

  .admin-page .dashboard-event-status {
    flex: 0 0 auto;
    padding: 7px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .admin-page .dashboard-event-tools,
  .admin-page .dashboard-event-actions {
    grid-column: auto;
    grid-row: auto;
    justify-items: start;
  }

  .admin-page .dashboard-event-media,
  .admin-page .dashboard-event-body,
  .admin-page .dashboard-event-date,
  .admin-page .dashboard-event-actions,
  .admin-page .dashboard-event-stats {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-page .dashboard-event-stats {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .admin-page .dashboard-cast-edit-row {
    grid-template-columns: 28px minmax(0, 1fr) 16px minmax(0, 1.25fr) 32px;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-edit-row {
    grid-template-columns: 28px minmax(0, 1fr) 32px;
    grid-template-areas:
      "drag role remove"
      "drag artist remove";
    row-gap: 6px;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-drag {
    grid-area: drag;
    height: 100%;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-role {
    grid-area: role;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-edit-row > span {
    display: none;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-artist {
    grid-area: artist;
  }

  .admin-page .dashboard-cast-dialog .dashboard-cast-remove {
    grid-area: remove;
    align-self: center;
  }

  .admin-page .dashboard-event-side-blocks {
    width: 100%;
  }

  .admin-page .dashboard-event-service-row,
  .admin-page .dashboard-event-service-row.is-viewer {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-rows: auto auto;
    align-items: stretch;
    width: 100%;
  }

  .admin-page .dashboard-event-service-row .dashboard-hall-info-btn {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .admin-page .dashboard-event-service-row .dashboard-event-revenue {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .admin-page .dashboard-event-service-row .dashboard-more,
  .admin-page .dashboard-event-service-row.is-viewer .dashboard-more {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .admin-page .dashboard-cast-summary {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-page .dashboard-cast-artists {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 8px;
    width: 100%;
  }

  .admin-page .dashboard-cast-artists .dashboard-cast-item:nth-child(2n) {
    margin-left: 0;
  }

  .admin-page .dashboard-cast-crew {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 8px;
    width: 100%;
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 28, 246, 0.14);
  }

  .admin-page .dashboard-cast-artists .dashboard-cast-item,
  .admin-page .dashboard-cast-crew .dashboard-cast-item {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    column-gap: 14px;
  }

  .admin-page .dashboard-event-copy h3 {
    font-size: 1.45rem;
  }

  .admin-page .dashboard-event-poster,
  .admin-page .dashboard-event-poster img,
  .admin-page .dashboard-event-poster-placeholder {
    min-height: 220px;
    height: 220px;
  }

  .admin-page .dashboard-more-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 14px;
    z-index: 120;
    min-width: 0;
    max-height: 72vh;
    overflow: auto;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(18, 18, 32, 0.32);
  }

  .admin-page .dashboard-tabs,
  .admin-page .period-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-page .dashboard-tabs::-webkit-scrollbar,
  .admin-page .period-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-page .stats-table {
    min-width: 720px;
  }

  .admin-page .purchase-result-list {
    overflow-x: visible;
  }

  .admin-page .purchase-table {
    min-width: 0;
  }

  .admin-page .purchase-table-head {
    display: none;
  }

  .admin-page .purchase-table-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .admin-page .purchase-table-row > div::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .admin-page .purchase-table-row > div:nth-child(1)::before {
    content: "Покупатель";
  }

  .admin-page .purchase-table-row > div:nth-child(2)::before {
    content: "Баланс";
  }

  .admin-page .purchase-table-row > div:nth-child(3)::before {
    content: "Мероприятие";
  }

  .admin-page .purchase-table-row > div:nth-child(4)::before {
    content: "Покупка";
  }

  .admin-page .purchase-table-row > div:nth-child(5)::before {
    content: "Места";
  }

  .admin-page .purchase-table-row > div:nth-child(6)::before {
    content: "Заказ";
  }

  .admin-page .purchase-table-row > div:nth-child(7)::before {
    content: "Промокод";
  }

  .admin-page .purchase-table-row > div:nth-child(8)::before {
    content: "Сумма";
  }

  .admin-page .purchase-table-row > div:nth-child(9)::before {
    content: "Действие";
  }

  .admin-page .purchase-table-row strong,
  .admin-page .purchase-table-row span {
    white-space: normal;
  }

  .admin-page .purchase-resend-btn,
  .admin-page .purchase-delete-btn,
  .admin-page .purchase-refund-btn {
    min-height: 46px;
  }

  .admin-page .admin-invite-modal {
    align-items: end;
    padding: 12px;
  }

  .admin-page .admin-invite-dialog {
    width: 100%;
    padding: 24px 18px 18px;
    border-radius: 26px;
  }
}

.settings-page .primary-btn,
.settings-page .secondary-btn {
  border: 0;
  border-radius: 18px;
  font-weight: 900;
  cursor: pointer;
}

.settings-page .primary-btn {
  background: linear-gradient(135deg, var(--scheme-purple-hot), var(--scheme-purple-deep));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.28);
}

.settings-page .secondary-btn {
  border: 1px solid rgba(236, 91, 248, 0.2);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.24);
}

.settings-page .danger-btn {
  border-color: rgba(236, 91, 248, 0.22);
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  color: #ffffff;
}

body.admin-page.settings-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%);
}

body.admin-page.settings-page .secondary-btn:hover,
body.admin-page.settings-page .primary-btn:hover {
  background: linear-gradient(135deg, #f078ff, #7b18d5);
}

body.admin-page.settings-page .stats-nav-link.active,
body.admin-page.settings-page .stats-nav-link.active:hover,
body.admin-page.settings-page .stats-nav-link:hover {
  color: #1f2329;
  border-color: transparent;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 16px 32px rgba(255, 153, 61, 0.26);
}

.settings-save-btn {
  min-height: 52px;
  padding: 0 24px;
}

.settings-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(236, 91, 248, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 245, 255, 0.9));
  box-shadow: 0 18px 50px rgba(148, 28, 246, 0.12);
}

.settings-tab {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #4e2b71;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.settings-tab.active {
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  color: #241406;
  box-shadow: 0 14px 34px rgba(255, 153, 61, 0.22);
}

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

.settings-card {
  border: 1px solid rgba(236, 91, 248, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(236, 91, 248, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 245, 255, 0.9));
  box-shadow: 0 24px 70px rgba(148, 28, 246, 0.12);
}

.settings-card h2,
.settings-card h3 {
  margin: 0;
  color: #231a3b;
}

.settings-card p {
  margin: 8px 0 0;
  color: #687189;
  line-height: 1.5;
}

.settings-site-card {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.settings-site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.settings-site-grid label,
.ticket-element-form label {
  display: grid;
  gap: 8px;
  color: #4d5670;
  font-weight: 850;
}

.settings-site-grid input,
.ticket-element-form input,
.ticket-element-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(148, 28, 246, 0.18);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #25183b;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.ticket-editor-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ticket-editor-tools,
.ticket-editor-stage-card {
  padding: 24px;
}

.ticket-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ticket-template-scope {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #4d2c70;
  font-weight: 900;
}

.ticket-template-scope select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 28, 246, 0.22);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #25183b;
  font: inherit;
  font-weight: 850;
  outline: none;
}

.ticket-template-scope-hint {
  margin: 8px 0 0;
  color: #7a648f;
  font-size: 13px;
  line-height: 1.4;
}

.ticket-tool-grid .secondary-btn,
.ticket-editor-properties .secondary-btn {
  min-height: 44px;
  padding: 0 14px;
}

body.admin-page.settings-page #ticketEditorPanel .primary-btn,
body.admin-page.settings-page #ticketEditorPanel .secondary-btn,
body.admin-page.settings-page .settings-save-btn {
  border: 0;
  background: linear-gradient(135deg, #ec5bf8 0%, #941cf6 100%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(148, 28, 246, 0.28);
}

body.admin-page.settings-page #ticketEditorPanel .primary-btn:hover,
body.admin-page.settings-page #ticketEditorPanel .secondary-btn:hover,
body.admin-page.settings-page .settings-save-btn:hover {
  background: linear-gradient(135deg, #f078ff 0%, #7b18d5 100%);
  color: #ffffff;
}

body.admin-page.settings-page #ticketEditorPanel .secondary-btn:disabled,
body.admin-page.settings-page #ticketEditorPanel .primary-btn:disabled {
  opacity: 0.58;
  cursor: wait;
}

.ticket-editor-properties {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.ticket-element-form {
  display: grid;
  gap: 14px;
}

.ticket-element-form.hidden {
  display: none;
}

.ticket-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ticket-image-picker input {
  padding: 10px;
}

.ticket-editor-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.ticket-editor-stage-head .secondary-btn {
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.ticket-editor-stage-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ticket-artboard-wrap {
  display: grid;
  place-items: center;
  min-height: 760px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(148, 28, 246, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(148, 28, 246, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.52);
  background-size: 24px 24px;
  overflow: auto;
}

.ticket-artboard {
  position: relative;
  flex: 0 0 auto;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(78, 22, 111, 0.28);
}

.ticket-artboard::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background:
    radial-gradient(circle at 15% 100%, rgba(255, 139, 20, 0.88), transparent 42%),
    radial-gradient(circle at 70% 120%, rgba(255, 123, 0, 0.82), transparent 48%);
  pointer-events: none;
}

.ticket-editor-element {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px dashed transparent;
  border-radius: 14px;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 950;
  text-align: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  white-space: pre-wrap;
}

.ticket-editor-element-image,
.ticket-editor-element-poster {
  z-index: 0;
}

.ticket-editor-element-shape {
  z-index: 1;
}

.ticket-editor-element-text,
.ticket-editor-element-number,
.ticket-editor-element-qr {
  z-index: 2;
}

.ticket-editor-element:hover,
.ticket-editor-element.active {
  border-color: rgba(82, 22, 132, 0.72);
  box-shadow: 0 0 0 4px rgba(236, 91, 248, 0.16);
}

.ticket-template-resize-handle {
  position: absolute;
  right: -9px;
  bottom: -9px;
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #ec5bf8, #941cf6);
  box-shadow: 0 10px 24px rgba(148, 28, 246, 0.32);
  cursor: nwse-resize;
  z-index: 5;
}

.ticket-template-resize-handle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-right: 2px solid rgba(255, 255, 255, 0.94);
  border-bottom: 2px solid rgba(255, 255, 255, 0.94);
}

.ticket-editor-element.active .ticket-template-resize-handle {
  display: block;
}

.ticket-editor-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ticket-logo-placeholder,
.ticket-poster-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  color: rgba(35, 26, 59, 0.74);
}

.ticket-poster-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 132, 25, 0.28));
}

.ticket-map-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(122, 98, 57, 0.22);
  background:
    linear-gradient(90deg, rgba(122, 98, 57, 0.18) 2px, transparent 2px),
    linear-gradient(rgba(122, 98, 57, 0.13) 2px, transparent 2px),
    #f7efe0;
  background-size: 36px 36px;
  color: rgba(72, 54, 31, 0.72);
  font-size: 18px;
}

.ticket-qr-box {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #25183b;
}

.ticket-qr-box span {
  position: absolute;
  width: 24%;
  height: 24%;
  border: 5px solid currentColor;
}

.ticket-qr-box span:nth-child(1) {
  left: 10%;
  top: 10%;
}

.ticket-qr-box span:nth-child(2) {
  right: 10%;
  top: 10%;
}

.ticket-qr-box span:nth-child(3) {
  left: 10%;
  bottom: 10%;
}

.ticket-qr-box span:nth-child(4) {
  right: 12%;
  bottom: 12%;
  width: 16%;
  height: 16%;
}

@media (max-width: 1180px) {
  .ticket-editor-layout {
    grid-template-columns: 1fr;
  }

  .settings-site-grid {
    grid-template-columns: 1fr;
  }
}
.admin-page {
  --admin-purple-hot: #ec5bf8;
  --admin-purple-deep: #941cf6;
  --admin-purple-ink: #21112f;
}

body.admin-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 91, 248, 0.22), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(148, 28, 246, 0.2), transparent 32%),
    linear-gradient(145deg, #fff8ff 0%, #f5e5ff 48%, #ead7ff 100%) !important;
}

body.admin-page .stats-sidebar {
  background: linear-gradient(180deg, rgba(33, 17, 47, 0.98), rgba(70, 20, 108, 0.96)) !important;
  border-color: rgba(236, 91, 248, 0.18) !important;
}

body.admin-page .stats-nav-link.active,
body.admin-page .stats-nav-link.active:hover,
body.admin-page .stats-nav-link:hover {
  color: #ffffff !important;
  border-color: rgba(236, 91, 248, 0.2) !important;
  background: linear-gradient(135deg, #ec5bf8, #941cf6) !important;
  box-shadow: 0 16px 32px rgba(148, 28, 246, 0.3) !important;
}

/* Golden Tickets 2027 */
.golden-ticket-page {
  margin: 0;
  min-width: 320px;
  color: #f7f2e8;
  background: #0c0b0f;
  font-family: Inter, Arial, sans-serif;
}

.golden-ticket-page * {
  box-sizing: border-box;
}

.golden-ticket-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

.golden-ticket-brand img,
.golden-ticket-footer img {
  display: block;
  width: 132px;
  height: auto;
}

.golden-ticket-account-link {
  color: #f7f2e8;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.golden-ticket-account-link:hover {
  color: #f4c96b;
}

.golden-ticket-hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  padding: 156px 24px 64px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 10, 14, 0.3), rgba(11, 10, 14, 0.96)),
    linear-gradient(118deg, #2e182f 0%, #0c0b0f 44%, #28434a 100%);
}

.golden-ticket-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 29px 30px),
    repeating-linear-gradient(25deg, transparent 0 54px, rgba(244, 201, 107, 0.08) 55px 56px);
}

.golden-ticket-hero-copy,
.golden-pass,
.golden-ticket-scroll {
  position: relative;
  z-index: 1;
}

.golden-ticket-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
}

.golden-ticket-product {
  min-width: 0;
}

.golden-ticket-hero-copy {
  max-width: 690px;
  text-align: left;
}

.golden-ticket-kicker {
  margin: 0 0 14px;
  color: #f4c96b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

.golden-ticket-hero h1 {
  margin: 0;
  color: #f4c96b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.golden-ticket-hero h1 span {
  display: block;
  margin-top: 14px;
  color: #f4c96b;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.34em;
  font-weight: 900;
}

.golden-ticket-description {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.6;
}

.golden-pass {
  display: block;
  width: 100%;
  max-width: 680px;
  margin-top: 30px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42);
  transform: none;
  overflow: visible;
}

.golden-pass-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.golden-ticket-hero-checkout {
  align-self: center;
  min-width: 0;
}

.golden-ticket-hero-checkout .golden-ticket-availability {
  justify-content: flex-start;
  margin: 0 0 14px;
  padding-left: 4px;
}

.golden-ticket-hero-checkout .golden-ticket-availability strong {
  color: #f4c96b;
}

.golden-ticket-hero-checkout .golden-ticket-availability span {
  color: rgba(255, 255, 255, 0.72);
}

.golden-ticket-hero-checkout .golden-ticket-form {
  gap: 14px;
  padding: 24px;
}

.golden-pass-topline,
.golden-pass-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.golden-pass-bottomline {
  min-height: 28px;
  padding-top: 10px;
  color: #1f1409;
  font-size: 0.82rem;
  line-height: 1.2;
}

.golden-pass-bottomline span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.golden-pass-bottomline b {
  flex: 0 0 auto;
  font-size: 1rem;
}

.golden-pass-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 0;
  padding: 20px 0 14px;
  border-bottom: 1px solid rgba(55, 34, 12, 0.34);
}

.golden-pass-title small {
  padding-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
}

.golden-pass-title strong {
  color: #24170a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 0.78;
  text-align: right;
}

.golden-ticket-scroll {
  margin-top: 30px;
  color: #f4c96b;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.golden-ticket-checkout-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 72px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
  color: #241b2c;
  background: #f7f2e8;
}

.golden-ticket-checkout-copy h2 {
  max-width: 580px;
  margin: 0 0 18px;
  color: #2b1736;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
}

.golden-ticket-checkout-copy > p:not(.golden-ticket-kicker) {
  max-width: 560px;
  color: #665b6d;
  line-height: 1.65;
}

.golden-ticket-availability {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 30px;
}

.golden-ticket-availability strong {
  color: #a76e19;
  font-size: 3.4rem;
}

.golden-ticket-availability span {
  color: #665b6d;
  font-weight: 800;
}

.golden-ticket-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  border-radius: 8px;
  background: rgba(9, 10, 18, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.golden-ticket-test-label {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 177, 104, 0.24);
  color: #f4c96b;
  background: rgba(255, 177, 104, 0.08);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.golden-ticket-type-picker {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.golden-ticket-type-picker legend {
  margin-bottom: 9px;
  color: #fff7ef;
  font-size: 0.86rem;
  font-weight: 900;
}

.golden-ticket-type-option {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px !important;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 177, 104, 0.16);
  border-radius: 6px;
  color: #fff7ef;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.golden-ticket-type-option:has(input:checked) {
  border-color: rgba(255, 177, 104, 0.58);
  background: rgba(255, 177, 104, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 177, 104, 0.08);
}

.golden-ticket-type-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ffb168;
}

.golden-ticket-type-option > span {
  display: grid;
  gap: 4px;
}

.golden-ticket-type-option small {
  display: block;
  color: rgba(255, 245, 236, 0.62);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.golden-ticket-type-option small + small {
  margin-top: 6px;
}

.golden-ticket-type-note {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(214, 166, 46, 0.12);
  border: 1px solid rgba(214, 166, 46, 0.28);
  color: rgba(255, 232, 176, 0.92);
  font-size: 0.82rem;
  line-height: 1.4;
}

.golden-ticket-type-note.hidden {
  display: none;
}

.golden-ticket-type-option > b {
  color: #f4c96b;
  font-size: 0.9rem;
  white-space: nowrap;
}

.golden-ticket-form label {
  display: grid;
  gap: 8px;
  color: #fff7ef;
  font-size: 0.86rem;
  font-weight: 900;
}

.golden-ticket-form input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 177, 104, 0.22);
  border-radius: 6px;
  color: #fffaf5;
  background: rgba(6, 7, 13, 0.78);
  font: inherit;
  outline: none;
}

.golden-ticket-form input:focus {
  border-color: rgba(255, 177, 104, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 177, 104, 0.12);
}

.golden-ticket-form input::placeholder {
  color: rgba(255, 248, 239, 0.45);
}

.golden-ticket-phone-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid rgba(255, 177, 104, 0.22);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(6, 7, 13, 0.78);
}

.golden-ticket-phone-input:focus-within {
  border-color: rgba(255, 177, 104, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 177, 104, 0.12);
}

.golden-ticket-phone-input b {
  padding-left: 14px;
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.92rem;
}

.golden-ticket-phone-input input {
  border: 0;
  background: transparent;
  box-shadow: none !important;
}

.golden-ticket-quantity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  color: #fff7ef;
  font-size: 0.86rem;
  font-weight: 900;
}

.golden-ticket-quantity-row > label {
  display: block;
}

.golden-ticket-quantity-row > strong {
  min-width: 94px;
  color: #f4c96b;
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.golden-ticket-quantity-stepper {
  display: grid;
  grid-template-columns: 38px 48px 38px;
  height: 42px;
  border: 1px solid rgba(255, 177, 104, 0.22);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(6, 7, 13, 0.78);
}

.golden-ticket-form .golden-ticket-quantity-stepper button {
  min-height: 40px;
  padding: 0;
  border-radius: 0;
  color: #fff7ef;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  font-size: 1.25rem;
}

.golden-ticket-form .golden-ticket-quantity-stepper button:hover {
  color: #24170a;
  background: #f4c96b;
  filter: none;
}

.golden-ticket-form .golden-ticket-quantity-stepper input {
  height: 40px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 177, 104, 0.14);
  border-left: 1px solid rgba(255, 177, 104, 0.14);
  border-radius: 0;
  text-align: center;
  appearance: textfield;
}

.golden-ticket-form .golden-ticket-quantity-stepper input::-webkit-inner-spin-button,
.golden-ticket-form .golden-ticket-quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.golden-ticket-form button {
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  color: #24170a;
  background: linear-gradient(135deg, #ffdf38, #ff9d3d);
  box-shadow: 0 18px 34px rgba(255, 128, 32, 0.22);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.golden-ticket-form button:hover {
  filter: brightness(1.05);
}

.golden-ticket-form button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.66;
}

.golden-ticket-status,
.golden-ticket-form-note {
  margin: 0;
  color: rgba(255, 245, 236, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.golden-ticket-form-note a {
  color: #f4c96b;
  font-weight: 800;
}

.golden-ticket-status:empty {
  display: none;
}

.golden-ticket-status.success {
  padding: 12px;
  border-left: 3px solid #f4c96b;
  color: #fff7ef;
  background: rgba(255, 177, 104, 0.1);
}

.golden-ticket-status.error {
  color: #ff9da8;
}

.golden-ticket-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  color: #f7f2e8;
  background: #413448;
}

.golden-ticket-benefits article {
  min-height: 260px;
  padding: 42px;
  background: #17131b;
}

.golden-ticket-benefits article > span {
  color: #f4c96b;
  font-size: 0.76rem;
  font-weight: 900;
}

.golden-ticket-benefits h3 {
  margin: 52px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.golden-ticket-benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.golden-ticket-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(36px, 7vw, 96px);
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
  color: #f8f2e8;
  background: linear-gradient(125deg, #17131b 0%, #342033 48%, #17383d 100%);
}

.golden-ticket-faq-head h2 {
  margin: 0;
  color: #f5d98b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.96;
}

.golden-ticket-faq-list {
  border-top: 1px solid rgba(245, 217, 139, 0.28);
}

.golden-ticket-faq details {
  border-bottom: 1px solid rgba(245, 217, 139, 0.22);
}

.golden-ticket-faq summary {
  position: relative;
  padding: 22px 42px 22px 0;
  color: #fffaf2;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.golden-ticket-faq summary::-webkit-details-marker {
  display: none;
}

.golden-ticket-faq summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  color: #f4c96b;
  font-size: 1.7rem;
  font-weight: 500;
}

.golden-ticket-faq details[open] summary::after {
  content: "−";
}

.golden-ticket-faq details p {
  max-width: 720px;
  margin: -4px 0 24px;
  color: rgba(255, 250, 242, 0.74);
  line-height: 1.7;
}

.golden-ticket-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 42px max(24px, calc((100vw - 1120px) / 2));
  color: rgba(255, 255, 255, 0.58);
  background: #0c0b0f;
  font-size: 0.76rem;
}

.golden-ticket-footer > div {
  display: grid;
  max-width: 620px;
  gap: 18px;
}

.golden-ticket-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.golden-ticket-footer-logo {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
}

.golden-ticket-footer a {
  color: #f4c96b;
}

@media (max-width: 760px) {
  .golden-ticket-header {
    width: calc(100% - 32px);
    padding-top: 18px;
  }

  .golden-ticket-brand img {
    width: 110px;
  }

  .golden-ticket-account-link {
    font-size: 0.72rem;
  }

  .golden-ticket-hero {
    min-height: 100vh;
    padding: 154px 16px 50px;
  }

  .golden-ticket-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .golden-ticket-hero-copy {
    text-align: center;
  }

  .golden-ticket-hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .golden-ticket-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 0.95rem;
  }

  .golden-pass {
    width: 100%;
    max-width: 480px;
    min-height: 0;
    aspect-ratio: auto;
    margin-top: 30px;
    padding: 0;
    transform: none;
  }

  .golden-pass-image {
    border-radius: 6px;
  }

  .golden-ticket-checkout-band {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 62px 18px;
  }

  .golden-ticket-hero-checkout .golden-ticket-availability {
    justify-content: center;
  }

  .golden-ticket-checkout-copy h2 {
    font-size: 3rem;
  }

  .golden-ticket-form {
    padding: 22px;
  }

  .golden-ticket-quantity-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .golden-ticket-quantity-row > strong {
    grid-column: 1 / -1;
    text-align: left;
  }

  .golden-ticket-benefits {
    grid-template-columns: 1fr;
  }

  .golden-ticket-benefits article {
    min-height: 210px;
    padding: 32px 24px;
  }

  .golden-ticket-benefits h3 {
    margin-top: 36px;
  }

  .golden-ticket-faq {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 62px 24px;
  }

  .golden-ticket-faq-head h2 {
    font-size: 3rem;
  }

  .golden-ticket-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 24px;
  }

  .golden-ticket-footer nav {
    justify-content: flex-start;
  }

  .golden-ticket-footer-logo {
    align-self: flex-end;
    margin-left: 0;
  }
}

.account-golden-ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(239, 198, 92, 0.72);
  border-radius: 8px;
  color: #2b1d0b;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 32%),
    linear-gradient(135deg, #fff0aa, #d49a35 58%, #f0cf72);
  box-shadow: 0 18px 38px rgba(113, 75, 19, 0.2);
}

.account-golden-ticket.hidden {
  display: none;
}

.account-golden-ticket-mark {
  display: grid;
  min-width: 142px;
  padding-right: 24px;
  border-right: 1px solid rgba(70, 43, 12, 0.3);
}

.account-golden-ticket span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-golden-ticket-mark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 500;
}

.account-golden-ticket-copy {
  display: grid;
  gap: 6px;
}

.account-golden-ticket-copy > strong {
  font-size: 1.08rem;
}

.account-golden-ticket-code {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin: 4px 0;
}

.account-golden-ticket-code strong {
  padding: 7px 10px;
  border: 1px solid rgba(70, 43, 12, 0.3);
  background: rgba(255, 255, 255, 0.38);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.account-golden-ticket-copy-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(70, 43, 12, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
  color: #2b1d0b;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.account-golden-ticket-copy-button:hover {
  background: rgba(255, 255, 255, 0.72);
}

.account-golden-ticket-showcase {
  align-self: center;
  padding: 11px 14px;
  border: 1px solid rgba(70, 43, 12, 0.34);
  border-radius: 6px;
  color: #2b1d0b;
  background: rgba(255, 255, 255, 0.36);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.account-golden-ticket-showcase:hover {
  background: rgba(255, 255, 255, 0.7);
}

.account-golden-ticket p {
  margin: 0;
  font-weight: 800;
  line-height: 1.5;
}

.purchase-search-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.purchase-search-row .dashboard-filter {
  width: 100%;
}

.golden-tickets-admin-button {
  min-height: 46px;
  white-space: nowrap;
}

.golden-tickets-admin-button.active {
  color: #2a1b08 !important;
  background: linear-gradient(135deg, #f7d66f, #c88c2c) !important;
  box-shadow: 0 12px 26px rgba(167, 110, 25, 0.25) !important;
}

.golden-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  margin-bottom: 18px;
}

.golden-admin-summary > div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 28, 246, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.golden-admin-summary span {
  color: #765e83;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.golden-admin-summary strong {
  color: #29123f;
  font-size: 1.65rem;
}

.golden-admin-table {
  min-width: 1120px;
  overflow: hidden;
  border: 1px solid rgba(148, 28, 246, 0.14);
  border-radius: 8px;
}

.golden-admin-table-head,
.golden-admin-table-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 1.2fr) minmax(160px, 0.9fr) minmax(145px, 0.8fr) minmax(145px, 0.8fr) minmax(120px, 0.7fr) minmax(105px, 0.55fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.golden-admin-table-head {
  color: #6e557b;
  background: #f4e9fa;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.golden-admin-table-row {
  min-height: 72px;
  border-top: 1px solid rgba(148, 28, 246, 0.1);
  color: #2b1d34;
  background: rgba(255, 255, 255, 0.88);
}

.golden-admin-table-row > div {
  display: grid;
  gap: 4px;
}

.golden-admin-table-row > div span {
  color: #806d89;
  font-size: 0.78rem;
}

.golden-admin-status {
  width: fit-content;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 900;
}

.golden-admin-status.test {
  color: #76520e;
  background: #fff3c9;
}

.golden-admin-status.paid {
  color: #17633c;
  background: #dff5e8;
}

.golden-ticket-delete-btn {
  align-self: center;
}

@media (max-width: 760px) {
  .account-golden-ticket {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-golden-ticket-mark {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(70, 43, 12, 0.3);
  }

  .purchase-search-row {
    grid-template-columns: 1fr;
  }

  .golden-tickets-admin-button {
    width: 100%;
  }

  .golden-admin-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .golden-admin-summary > div {
    padding: 11px;
  }

  .golden-admin-summary strong {
    font-size: 1.35rem;
  }

  .purchases-page-card {
    overflow-x: auto;
  }
}

/* Keep pricing categories compact even when the surrounding editor grid stretches rows. */
body.admin-page.event-edit-page .seat-category-list,
body.event-builder-page .seat-category-list {
  grid-auto-rows: minmax(68px, max-content);
  align-items: start;
}

body.admin-page.event-edit-page .seat-category-card,
body.event-builder-page .seat-category-card {
  align-self: start !important;
  min-height: 68px !important;
  height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

body.admin-page.event-edit-page .seat-category-card > .seat-category-main,
body.event-builder-page .seat-category-card > .seat-category-main {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  height: auto !important;
  min-height: 0 !important;
  color: #29123f !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.admin-page.event-edit-page .seat-category-copy,
body.event-builder-page .seat-category-copy {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  color: #29123f !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.admin-page.event-edit-page .seat-category-copy strong,
body.event-builder-page .seat-category-copy strong {
  display: block !important;
  line-height: 1.15 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.admin-page.event-edit-page .seat-category-color,
body.event-builder-page .seat-category-color,
body.admin-page.event-edit-page .seat-category-add-selected,
body.event-builder-page .seat-category-add-selected,
body.admin-page.event-edit-page .seat-category-price-edit,
body.event-builder-page .seat-category-price-edit,
body.admin-page.event-edit-page .seat-category-delete,
body.event-builder-page .seat-category-delete {
  align-self: center !important;
}

