: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: #19c8b2;
  --shadow: 0 24px 60px rgba(255, 164, 89, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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);
}

.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;
}

.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;
}

.map-canvas {
  position: relative;
}

.map-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  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
    );
  padding: 12px;
  min-height: 580px;
  display: flex;
  justify-content: center;
}

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

.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;
  transition: opacity 120ms ease, filter 120ms ease, stroke-width 120ms ease;
}

.seat:hover {
  stroke-width: 2.6;
  filter: brightness(1.05);
}

.seat.available {
  fill: var(--seat-color, var(--gold));
  stroke: rgba(63, 74, 102, 0.58);
  stroke-width: 1.6;
}

.seat.selected {
  fill: var(--selected);
  stroke: rgba(109, 255, 236, 0.55);
  stroke-width: 2;
}

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

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

.seat.invited {
  fill: #7b6cf6;
  stroke: rgba(69, 58, 168, 0.58);
  stroke-width: 1.8;
  cursor: pointer;
}

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

.stage {
  fill: rgba(255, 243, 224, 0.96);
  stroke: rgba(255, 156, 73, 0.55);
  stroke-width: 2;
}

.stage-label {
  fill: #7f4b14;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.row-label {
  fill: #8d8a9f;
  font-size: 11px;
}

.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,
button {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  font: inherit;
}

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

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;
}

.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);
}

.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;
}

.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: 170px;
  max-width: 100%;
}

.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);
}

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

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

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

.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;
}

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

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

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

.promo-editor-grid {
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 180px);
}

.promo-add-btn {
  width: fit-content;
}

.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: 14px;
  border-radius: 18px;
  background: rgba(255, 249, 237, 0.86);
  border: 1px solid rgba(255, 177, 104, 0.18);
}

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

.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: var(--muted);
  font-weight: 700;
}

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

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

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

.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;
}

.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: 5 / 3;
  object-fit: cover;
}

.event-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-left: calc(320px + 24px);
}

.event-form-actions .primary-btn {
  width: auto;
  min-width: 220px;
}

.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;
}

.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: rgba(42, 40, 36, 0.58);
  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-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: 300px minmax(0, 1fr);
  gap: 0;
  min-height: 760px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 104, 0.14);
  background: rgba(255, 255, 255, 0.84);
}

.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;
  gap: 12px;
}

.pricing-editor label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-editor input {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.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;
}

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

.seat-category-card {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
}

.seat-category-card.active {
  border-color: rgba(255, 204, 92, 0.54);
  background: rgba(255, 204, 92, 0.14);
}

.seat-category-color {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 3px;
}

.seat-category-copy {
  display: grid;
  gap: 4px;
}

.seat-category-copy span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.pricing-selection-summary {
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-canvas-shell {
  background: #fff;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 20px;
  justify-items: center;
}

.pricing-canvas-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.pricing-canvas-tools {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.pricing-tool-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-map-wrap {
  position: relative;
  width: min(100%, 1120px);
  min-height: 720px;
  border-radius: 22px;
  border: 1px solid rgba(224, 214, 197, 0.92);
  background: #fbfbfb;
  overflow: hidden;
}

.pricing-map-wrap.lasso-mode {
  cursor: crosshair;
}

.pricing-map-wrap.lasso-mode-deselect {
  cursor: cell;
}

#pricingSeatMap {
  display: block;
  width: 100%;
  height: auto;
}

.pricing-seat-tooltip {
  z-index: 8;
}

.pricing-map-wrap .seat.available {
  fill: var(--seat-color, #b8b8b8);
  stroke: rgba(65, 65, 65, 0.22);
  stroke-width: 1.2;
}

.pricing-map-wrap .seat.selected {
  fill: var(--seat-color, #ffcc5c);
  stroke: #1a1a1a;
  stroke-width: 3;
}

.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-empty {
  padding: 22px;
  color: var(--muted);
}

.dashboard-sidebar {
  min-height: 100vh;
}

.dashboard-main {
  padding-bottom: 56px;
}

.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-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;
}

.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-filter {
  min-width: 280px;
}

.dashboard-event-list {
  display: grid;
  gap: 14px;
}

.dashboard-event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  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: 132px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #4a2033, #f47f56);
}

.dashboard-event-poster img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.dashboard-event-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.dashboard-event-tools {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 64px;
}

.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-bottom: 8px;
  font-size: 2rem;
}

.dashboard-event-copy {
  min-width: 0;
}

.dashboard-event-copy p {
  margin-bottom: 12px;
  color: var(--muted);
}

.dashboard-event-copy .dashboard-event-date {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 213, 123, 0.18);
  color: #87610a;
  font-weight: 800;
}

.dashboard-event-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.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;
}

.dashboard-event-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
  grid-column: 1;
}

.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-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-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, url("https://ticketscloud.com/s3/production/image/2026-02/698b786d620a74e995b40380.jpg"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.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;
}

.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: blur(1px);
}

.buyer-poster {
  display: none;
}

.buyer-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: #fff6ed;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.5);
}

.buyer-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.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: stretch;
  margin-top: 18px;
}

.buyer-info-grid .buyer-cast-card {
  margin-top: 0;
}

.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;
}

.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(9, 10, 18, 0.54);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.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-stopped .buyer-widget,
.tickets-page.sales-stopped .mobile-step-map,
.tickets-page.sales-stopped .mobile-step-checkout {
  display: none !important;
}

.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: grid;
  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;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  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;
}

.buyer-organizer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.buyer-footer-logo {
  width: clamp(78px, 10vw, 132px);
  height: auto;
  margin-top: 8px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
}

.buyer-organizer-links a,
.buyer-organizer-action {
  color: #ffd36d;
}

.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;
}

.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, url("https://ticketscloud.com/s3/production/image/2026-02/698b786d620a74e995b40380.jpg"));
  background-size: cover;
  background-position: center top;
}

.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: 22px;
  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 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 8vw, 4rem);
  line-height: 1.03;
  max-width: 8ch;
}


.mobile-intro-meta-stack {
  margin-bottom: 22px;
}

.mobile-intro-meta {
  margin: 0 0 6px;
  font-size: 1rem;
  color: rgba(255, 250, 245, 0.86);
}

.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, #ffd73f, #ffc313);
  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, #ffd847, #ffbf1b);
  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, #ffd73f, #ffc313);
  box-shadow: 0 18px 48px rgba(255, 196, 42, 0.36);
}

.mobile-primary-btn:disabled {
  opacity: 0.5;
  box-shadow: none;
}

.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 {
  margin-bottom: 18px;
  font-size: 1.9rem;
  font-weight: 500;
}

.mobile-selection-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(111, 123, 149, 0.6);
  font-size: 1.9rem;
  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-step-map,
.mobile-step-checkout {
  padding: 18px 18px 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 {
  display: flex;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.mobile-step-head h2 {
  margin-bottom: 4px;
  color: #fff8ef;
}

.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-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(255, 81, 111, 0.12);
  border: 1px solid rgba(255, 126, 146, 0.28);
  color: #ffd6de;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mobile-back-btn {
  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-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.9rem;
}

.mobile-map-card {
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.mobile-map-wrap {
  min-height: 500px;
  padding: 4px;
  position: relative;
  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: 20px;
}

#mobileSeatMap {
  display: block;
  width: 112%;
  min-width: 0;
  min-height: 470px;
  margin-left: -6%;
}

.mobile-map-wrap .seat.available {
  fill: #ffb100;
  stroke: rgba(76, 57, 14, 0.72);
  stroke-width: 2;
}

.mobile-map-wrap .seat.selected {
  fill: #ff4f9a;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 2.6;
}

.mobile-map-wrap .seat.sold {
  fill: #cfd4df;
  opacity: 1;
}

.mobile-seat-popover {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 3;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 177, 104, 0.16);
  box-shadow: 0 18px 36px rgba(18, 23, 37, 0.16);
  color: var(--text);
  text-align: center;
}

.mobile-seat-popover strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
  color: #ff4f8f;
}

.mobile-seat-popover span {
  display: block;
  color: #ff8c3a;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.mobile-seat-popover p {
  margin: 0;
  font-size: 1.35rem;
  color: rgba(33, 49, 79, 0.82);
}

.mobile-seat-popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(111, 123, 149, 0.72);
  font-size: 1.45rem;
  line-height: 1;
}

.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-payment-switch {
  margin-bottom: 16px;
}

.mobile-payment-option {
  width: auto;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px solid rgba(255, 210, 79, 0.78);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ef;
  font-weight: 700;
}

.mobile-order-recap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 181, 84, 0.14);
  border: 1px solid rgba(255, 201, 72, 0.24);
}

.mobile-order-recap strong {
  font-size: 1.1rem;
}

.mobile-checkout-form {
  gap: 14px;
}

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

.mobile-submit-btn {
  width: 100%;
  margin-top: 6px;
}

.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: blur(6px);
}

.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-total-box strong {
  font-size: 2rem;
}

.buyer-total-box {
  border: none;
  background: linear-gradient(135deg, #ffb153, #ff7f4d);
  color: #fffaf5;
}

.buyer-total-box span {
  color: rgba(255, 250, 245, 0.84);
}

.buyer-submit {
  padding-top: 14px;
  padding-bottom: 14px;
}

.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;
}

.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 .faq-modal-dialog {
  background: rgba(255, 251, 246, 0.98);
  border-color: rgba(255, 177, 104, 0.18);
  color: #2b241d;
}

.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 .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 .map-canvas {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 177, 104, 0.12);
}

.tickets-page .buyer-map-wrap {
  background: rgba(255, 249, 242, 0.96);
  border-radius: 22px;
  padding: 10px;
}

.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;
}

.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-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(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.8);
}

.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: #ffcc5c;
}

.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;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.view-toggle-btn {
  width: auto;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}

.view-toggle-btn.active {
  background: linear-gradient(135deg, #ffcc5c, #ff9c49);
  color: #ffffff;
}

.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(255, 177, 104, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.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-card-head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 177, 104, 0.16);
}

.stats-card-head h2 {
  margin-bottom: 8px;
}

.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(255, 177, 104, 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-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) {
  .layout,
  .hero,
  .admin-grid,
  .admin-layout,
  .buyer-hero,
  .buyer-info-grid,
  .buyer-layout,
  .buyer-route-card {
    grid-template-columns: 1fr;
  }

  .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 (hover: none) and (pointer: coarse), (max-width: 760px) {
  .desktop-ticket-flow {
    display: none;
  }

  .mobile-ticket-flow {
    display: block;
  }

  .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;
  }

  .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;
  }

  .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;
  }

  .mobile-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-modal-dialog {
    width: calc(100% - 24px);
    margin-top: 12vh;
    padding: 22px 18px 18px;
  }
}
