:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --card-bg: #0f172a;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --accent-strong: #4f46e5;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --danger: #f97373;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 22px 40px rgba(15, 23, 42, 0.6);
  --shadow-card: 0 18px 35px rgba(15, 23, 42, 0.7);
  --modal-backdrop: rgba(2, 6, 23, 0.7);
  --container-max: 1120px;
  --container-pad: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

[hidden] {
  display: none !important;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + (var(--container-pad) * 2));
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: 64px 0;
}

.section-accent {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8));
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.logo:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.85);
  outline-offset: 3px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-trigger-btn {
  position: relative;
  isolation: isolate;
}

.auth-trigger-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-trigger-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.48);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.96), rgba(6, 182, 212, 0.9));
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.52);
  color: #e0f2fe;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  pointer-events: none;
  z-index: 1;
}

.auth-trigger-btn.has-notifications {
  border-color: rgba(56, 189, 248, 0.5);
  color: #dbeafe;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.lang {
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.lang.active {
  background: var(--accent);
  color: #f9fafb;
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.1;
  margin: 12px 0 16px;
}

.hero-text p {
  max-width: 520px;
  color: var(--text-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 10px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-soft);
}

.hero-disclosure {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.94);
}

.hero-ticket-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
  --hero-ticket-sweep-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hero-ticket-settle-ease: cubic-bezier(0.18, 0.72, 0.22, 1);
  --hero-ticket-flow-duration: 2720ms;
}

.hero-ticket-cascade {
  position: absolute;
  inset: 6px;
  z-index: 1;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero-ticket-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  padding: 10px 12px 11px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background:
    radial-gradient(circle at 18% 14%, rgba(56, 189, 248, 0.16) 0, transparent 52%),
    radial-gradient(circle at 82% 10%, rgba(129, 140, 248, 0.14) 0, transparent 60%),
    rgba(2, 6, 23, 0.98);
  box-shadow: 0 22px 40px rgba(2, 6, 23, 0.56);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero-ticket-ghost-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-height: 100%;
  padding: 8px 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96));
}

.hero-ticket-ghost-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.hero-ticket-ghost-ident {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
}

.hero-ticket-ghost-category,
.hero-ticket-ghost-price,
.hero-ticket-ghost-title,
.hero-ticket-ghost-meta,
.hero-ticket-ghost-date {
  margin: 0;
}

.hero-ticket-ghost-step {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.44);
  background: rgba(15, 23, 42, 0.8);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.9);
}

.hero-ticket-ghost-category {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ticket-ghost-price {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.94);
  white-space: nowrap;
}

.hero-ticket-ghost-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: #f8fafc;
}

.hero-ticket-ghost-meta,
.hero-ticket-ghost-date {
  font-size: 11px;
  line-height: 1.28;
  color: rgba(203, 213, 225, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ticket-ghost-date {
  margin-top: auto;
  color: rgba(226, 232, 240, 0.78);
}

.hero-ticket-ghost[data-ghost-role="final"] .hero-ticket-ghost-content {
  border-color: rgba(99, 102, 241, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(99, 102, 241, 0.26),
    0 8px 18px rgba(79, 70, 229, 0.22);
}

.hero-ticket-ghost[data-ghost-role="final"] .hero-ticket-ghost-step {
  border-color: rgba(129, 140, 248, 0.72);
  color: rgba(224, 231, 255, 0.98);
  background: rgba(67, 56, 202, 0.26);
}

.hero-ticket-ghost--a {
  inset: 0;
  z-index: 1;
}

.hero-ticket-ghost--b {
  inset: 0;
  z-index: 2;
}

.hero-ticket-ghost--c {
  inset: 0;
  z-index: 3;
}

.hero-ticket-ghost--d {
  inset: 0;
  z-index: 4;
}

.hero-card {
  position: relative;
  z-index: 3;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.35) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.45) 0, transparent 60%),
    #020617;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transform-origin: 78% 50%;
  transition: transform 460ms cubic-bezier(0.2, 0.78, 0.24, 1), opacity 460ms ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero-ticket-stage.is-intro-playing .hero-card {
  animation: heroTicketCardFlow var(--hero-ticket-flow-duration) var(--hero-ticket-settle-ease) both;
}

.hero-ticket-stage.is-intro-playing .hero-ticket-ghost--a {
  animation: heroTicketCandidateA calc(var(--hero-ticket-flow-duration) * 0.5) var(--hero-ticket-sweep-ease) both;
}

.hero-ticket-stage.is-intro-playing .hero-ticket-ghost--b {
  animation: heroTicketCandidateB calc(var(--hero-ticket-flow-duration) * 0.5) var(--hero-ticket-sweep-ease) calc(var(--hero-ticket-flow-duration) * 0.17) both;
}

.hero-ticket-stage.is-intro-playing .hero-ticket-ghost--c {
  animation: heroTicketCandidateC calc(var(--hero-ticket-flow-duration) * 0.5) var(--hero-ticket-sweep-ease) calc(var(--hero-ticket-flow-duration) * 0.34) both;
}

.hero-ticket-stage.is-intro-playing .hero-ticket-ghost--d {
  animation: heroTicketCandidateFinal calc(var(--hero-ticket-flow-duration) * 0.52) var(--hero-ticket-sweep-ease) calc(var(--hero-ticket-flow-duration) * 0.51) both;
}

.hero-ticket-stage.is-intro-playing.is-intro-mobile .hero-ticket-cascade,
.hero-ticket-stage.is-intro-playing.is-intro-reduced .hero-ticket-cascade {
  opacity: 0;
}

.hero-ticket-stage.is-intro-playing.is-intro-mobile .hero-card {
  animation-duration: 620ms;
}

.hero-ticket-stage.is-intro-playing.is-intro-reduced .hero-card {
  animation-duration: 240ms;
}

@keyframes heroTicketCandidateA {
  0% {
    opacity: 0;
    transform: translate3d(188px, -30px, 0) rotate(4.6deg) scale(1.03);
  }
  14% {
    opacity: 1;
    transform: translate3d(128px, -18px, 0) rotate(3.4deg) scale(1.02);
  }
  42% {
    opacity: 1;
    transform: translate3d(36px, -6px, 0) rotate(1.4deg) scale(1.003);
  }
  62% {
    opacity: 0.98;
    transform: translate3d(6px, 0, 0) rotate(0.2deg) scale(0.995);
  }
  80% {
    opacity: 0.94;
    transform: translate3d(-42px, 12px, 0) rotate(-1.6deg) scale(0.972);
  }
  90% {
    opacity: 0.64;
    transform: translate3d(-70px, 22px, 0) rotate(-2.6deg) scale(0.954);
  }
  94% {
    opacity: 0.44;
    transform: translate3d(-88px, 30px, 0) rotate(-3.4deg) scale(0.938);
  }
  100% {
    opacity: 0;
    transform: translate3d(-118px, 46px, 0) rotate(-5.2deg) scale(0.91);
  }
}

@keyframes heroTicketCandidateB {
  0% {
    opacity: 0;
    transform: translate3d(188px, 26px, 0) rotate(4.4deg) scale(1.03);
  }
  14% {
    opacity: 1;
    transform: translate3d(124px, 16px, 0) rotate(3.2deg) scale(1.02);
  }
  42% {
    opacity: 1;
    transform: translate3d(34px, 8px, 0) rotate(1.2deg) scale(1.003);
  }
  62% {
    opacity: 0.98;
    transform: translate3d(4px, 2px, 0) rotate(0deg) scale(0.995);
  }
  80% {
    opacity: 0.94;
    transform: translate3d(-44px, -8px, 0) rotate(-1.5deg) scale(0.972);
  }
  90% {
    opacity: 0.64;
    transform: translate3d(-74px, -16px, 0) rotate(-2.5deg) scale(0.954);
  }
  94% {
    opacity: 0.44;
    transform: translate3d(-90px, -22px, 0) rotate(-3.2deg) scale(0.938);
  }
  100% {
    opacity: 0;
    transform: translate3d(-120px, -34px, 0) rotate(-4.8deg) scale(0.91);
  }
}

@keyframes heroTicketCandidateC {
  0% {
    opacity: 0;
    transform: translate3d(182px, -4px, 0) rotate(4.2deg) scale(1.03);
  }
  14% {
    opacity: 1;
    transform: translate3d(118px, 0, 0) rotate(3deg) scale(1.02);
  }
  42% {
    opacity: 1;
    transform: translate3d(30px, 2px, 0) rotate(1.1deg) scale(1.003);
  }
  62% {
    opacity: 0.98;
    transform: translate3d(2px, 2px, 0) rotate(0deg) scale(0.995);
  }
  80% {
    opacity: 0.94;
    transform: translate3d(-40px, 4px, 0) rotate(-1.3deg) scale(0.972);
  }
  90% {
    opacity: 0.64;
    transform: translate3d(-68px, 8px, 0) rotate(-2.3deg) scale(0.954);
  }
  94% {
    opacity: 0.44;
    transform: translate3d(-84px, 10px, 0) rotate(-3deg) scale(0.938);
  }
  100% {
    opacity: 0;
    transform: translate3d(-116px, 16px, 0) rotate(-4.6deg) scale(0.91);
  }
}

@keyframes heroTicketCandidateFinal {
  0% {
    opacity: 0;
    transform: translate3d(178px, 14px, 0) rotate(3.8deg) scale(1.024);
  }
  14% {
    opacity: 1;
    transform: translate3d(114px, 9px, 0) rotate(2.8deg) scale(1.016);
  }
  40% {
    opacity: 1;
    transform: translate3d(40px, 5px, 0) rotate(1.2deg) scale(1.004);
  }
  64% {
    opacity: 1;
    transform: translate3d(8px, 1px, 0) rotate(0.2deg) scale(1);
  }
  78% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  92% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes heroTicketCardFlow {
  0% {
    opacity: 0;
    transform: translate3d(32px, 12px, 0) scale(0.968);
  }
  72% {
    opacity: 0;
    transform: translate3d(28px, 10px, 0) scale(0.972);
  }
  84% {
    opacity: 0.32;
    transform: translate3d(18px, 7px, 0) scale(0.982);
  }
  90% {
    opacity: 0.62;
    transform: translate3d(10px, 3.8px, 0) scale(0.989);
  }
  96% {
    opacity: 0.88;
    transform: translate3d(3px, 1px, 0) scale(0.997);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-card-header {
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.hero-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 230px;
}

.hero-event-title {
  font-size: 20px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-next-empty .hero-event-title {
  font-size: 18px;
}

.hero-next-empty .hero-event-meta {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-event-meta {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-event-price {
  margin: 12px 0;
  font-weight: 600;
  font-size: 16px;
}

.hero-card-body .btn {
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticket-cascade {
    display: none;
  }

  .hero-ticket-stage .hero-card {
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .hero-ticket-stage.is-intro-playing.is-intro-reduced .hero-card {
    animation-duration: 220ms;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.5);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #e5e7eb;
}

.btn-ghost {
  border-color: transparent;
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.full-width {
  width: 100%;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid > *,
.hero-grid > *,
.transfer-grid > *,
.contact-grid > *,
.footer-grid > * {
  min-width: 0;
}

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

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

.venues-slider {
  position: relative;
}

.venues-slider::before,
.venues-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 2;
}

.venues-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0));
}

.venues-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0));
}

.venues-track {
  --venues-gap: 20px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--venues-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.venues-track::-webkit-scrollbar {
  height: 6px;
}

.venues-track::-webkit-scrollbar-track {
  background: transparent;
}

.venues-track::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.venues-track .card {
  flex: 0 0 calc((100% - var(--venues-gap)) / 2);
  min-width: 0;
  scroll-snap-align: start;
}

#venues .venues-slider,
#events .venues-slider {
  overflow: hidden;
  --slider-edge-fade: 56px;
}

#venues .venues-track,
#events .venues-track {
  --venues-gap: 20px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--venues-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 56px 6px;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

#venues .venues-slider::before,
#venues .venues-slider::after,
#events .venues-slider::before,
#events .venues-slider::after {
  content: none;
}

#venues .venues-track,
#events .venues-track {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--slider-edge-fade),
    #000 calc(100% - var(--slider-edge-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--slider-edge-fade),
    #000 calc(100% - var(--slider-edge-fade)),
    transparent 100%
  );
}

@supports not ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  #venues .venues-slider::before,
  #venues .venues-slider::after,
  #events .venues-slider::before,
  #events .venues-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--slider-edge-fade);
    pointer-events: none;
    z-index: 2;
  }

  #venues .venues-slider::before,
  #events .venues-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(5, 8, 22, 0.36), rgba(5, 8, 22, 0));
  }

  #venues .venues-slider::after,
  #events .venues-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(5, 8, 22, 0.36), rgba(5, 8, 22, 0));
  }
}

#venues .venues-track .card,
#events .venues-track .card {
  flex: 0 0 clamp(280px, calc((min(1120px, 100vw) - 112px - (var(--venues-gap) * 2)) / 3), 360px);
  scroll-snap-align: start;
}

.card {
  display: block;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
  max-width: 100%;
  min-width: 0;
}

#events .card.event,
#all-events-view .card.event {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 16px;
}

#events .card.event h3,
#all-events-view .card.event h3 {
  font-size: 20px;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#events .card.event .event-meta,
#all-events-view .card.event .event-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#events .card.event .event-price,
#all-events-view .card.event .event-price {
  margin-top: 8px;
  margin-bottom: 6px;
}

#events .card.event .btn,
#all-events-view .card.event .btn {
  margin-top: auto;
}

#events .card.event.event-card--ticket-tear {
  --event-ticket-tear-duration: 300ms;
  --event-ticket-flap-shift: 8px;
  --event-ticket-flap-tilt: -8deg;
  --event-ticket-contour-opacity: 0.72;
  position: relative;
}

#events .card.event.event-card--ticket-tear .event-ticket-stub {
  margin-top: auto;
  position: relative;
  perspective: 920px;
}

#events .card.event.event-card--ticket-tear .event-ticket-stub .btn {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-origin: 0% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

#events .card.event.event-card--ticket-tear .event-ticket-stub .btn::before {
  content: attr(data-ticket-label);
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform-origin: 0% 50%;
  clip-path: inset(0 100% 0 0 round 999px);
  transform: perspective(920px) rotateY(0deg) translate3d(0, 0, 0);
  background:
    linear-gradient(
      103deg,
      rgba(219, 236, 255, 0) 25%,
      rgba(219, 236, 255, 0.26) 47%,
      rgba(219, 236, 255, 0) 69%
    ),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.1),
    0 0 0 1px rgba(15, 23, 42, 0.36);
}

#events .card.event.event-card--ticket-tear .event-ticket-stub .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px dashed rgba(210, 228, 252, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 0 10px rgba(96, 165, 250, 0.16);
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 100% 0 0 round 999px);
}

#events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn {
  animation: eventTicketButtonBaseShift var(--event-ticket-tear-duration) cubic-bezier(0.22, 0.74, 0.24, 1) both;
}

#events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn::before {
  animation: eventTicketFlapPeel var(--event-ticket-tear-duration) cubic-bezier(0.22, 0.74, 0.24, 1) both;
}

#events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn::after {
  animation: eventTicketContourTrace var(--event-ticket-tear-duration) cubic-bezier(0.22, 0.74, 0.24, 1) both;
}

#events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn {
  pointer-events: none;
}

@keyframes eventTicketButtonBaseShift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    filter: none;
  }
  55% {
    transform: translate3d(0, 0, 0);
    opacity: 0.98;
  }
  100% {
    transform: translate3d(calc(var(--event-ticket-flap-shift) * 0.08), 0, 0);
    opacity: 0.94;
    filter: drop-shadow(0 4px 8px rgba(2, 6, 23, 0.2));
  }
}

@keyframes eventTicketFlapPeel {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 999px);
    transform: perspective(920px) rotateY(0deg) translate3d(0, 0, 0);
  }
  10% {
    opacity: 0.74;
    clip-path: inset(0 92% 0 0 round 999px);
    transform: perspective(920px) rotateY(-1deg) translate3d(0.6px, 0, 0);
  }
  34% {
    opacity: 0.88;
    clip-path: inset(0 66% 0 0 round 999px);
    transform: perspective(920px) rotateY(-4deg) translate3d(2.4px, 0, 0);
  }
  62% {
    opacity: 0.9;
    clip-path: inset(0 32% 0 0 round 999px);
    transform: perspective(920px) rotateY(var(--event-ticket-flap-tilt)) translate3d(5.2px, 0, 0);
    box-shadow: 0 6px 11px rgba(2, 6, 23, 0.24);
  }
  84% {
    opacity: 0.84;
    clip-path: inset(0 0% 0 0 round 999px);
    transform: perspective(920px) rotateY(calc(var(--event-ticket-flap-tilt) * 0.82)) translate3d(7.2px, 0, 0);
  }
  100% {
    opacity: 0.78;
    clip-path: inset(0 0% 0 0 round 999px);
    transform: perspective(920px) rotateY(calc(var(--event-ticket-flap-tilt) * 0.72)) translate3d(var(--event-ticket-flap-shift), 0, 0);
    box-shadow: 0 7px 13px rgba(2, 6, 23, 0.28);
  }
}

@keyframes eventTicketContourTrace {
  0%,
  22% {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 999px);
  }
  46% {
    opacity: 0.8;
    clip-path: inset(0 58% 0 0 round 999px);
  }
  74% {
    opacity: 0.88;
    clip-path: inset(0 18% 0 0 round 999px);
  }
  92% {
    opacity: 0.86;
    clip-path: inset(0 0% 0 0 round 999px);
  }
  100% {
    opacity: var(--event-ticket-contour-opacity);
    clip-path: inset(0 0% 0 0 round 999px);
  }
}

@keyframes eventTicketButtonFlapReduced {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(var(--event-ticket-flap-shift) * 0.5), 0, 0);
    opacity: 0.9;
  }
}

@keyframes eventTicketContourTraceReduced {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 999px);
  }
  100% {
    opacity: var(--event-ticket-contour-opacity);
    clip-path: inset(0 0% 0 0 round 999px);
  }
}

@media (max-width: 640px) {
  #events .card.event.event-card--ticket-tear {
    --event-ticket-tear-duration: 260ms;
    --event-ticket-flap-shift: 6px;
    --event-ticket-flap-tilt: -6deg;
    --event-ticket-contour-opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  #events .card.event.event-card--ticket-tear {
    --event-ticket-tear-duration: 190ms;
    --event-ticket-flap-shift: 2px;
    --event-ticket-flap-tilt: 0deg;
    --event-ticket-contour-opacity: 0.64;
  }

  #events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn {
    animation-name: eventTicketButtonFlapReduced;
  }

  #events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn::before {
    animation: none;
    opacity: 0;
  }

  #events .card.event.event-card--ticket-tear.is-ticket-tearing .event-ticket-stub .btn::after {
    animation-name: eventTicketContourTraceReduced;
  }
}

.all-events-topbar {
  margin-bottom: 14px;
}

.all-events-header {
  margin-bottom: 16px;
}

.all-events-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.all-events-filters {
  flex: 1 1 auto;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.all-events-filters > * {
  min-height: 44px;
}

.all-events-request-btn {
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  align-self: center;
  margin: 0;
}

.all-events-help-modal {
  text-align: left;
  gap: 10px;
}

.all-events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-link-hub {
  margin: 0 0 14px;
}

.home-link-hub-title {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.seo-breadcrumbs__link {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.seo-breadcrumbs__link:hover {
  color: #f8fafc;
}

.seo-breadcrumbs__current {
  color: #dbeafe;
}

.seo-breadcrumbs__sep {
  opacity: 0.6;
}

.seo-breadcrumbs--modal {
  margin-top: 2px;
  margin-bottom: 0;
}

.related-links-block {
  margin-bottom: 14px;
}

.seo-content-block {
  margin-bottom: 14px;
  padding: 16px 18px;
}

.seo-content-block--city {
  margin-bottom: 12px;
}

.seo-content-block--event {
  margin-top: -2px;
}

.seo-content-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: #f8fafc;
}

.seo-content-paragraph {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.seo-content-paragraph:last-child {
  margin-bottom: 0;
}

.related-links-title {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.related-links-block--compact .related-links-title {
  font-size: 12px;
  margin-bottom: 7px;
}

.event-address-text {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.link-chip-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.82);
  color: #dbeafe;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.link-chip:hover {
  border-color: rgba(99, 102, 241, 0.7);
  background: rgba(30, 41, 59, 0.95);
  color: #f8fafc;
}

.home-link-hub .link-chip {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 11px;
}


.card p {
  margin: 4px 0;
  color: var(--text-soft);
}

.category h3 {
  margin: 0 0 6px;
}

.category-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1025px) {
  #categories [data-categories-list] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  #categories [data-categories-list] .card.category {
    padding: 14px 14px 16px;
    border-radius: 12px;
  }

  #categories .category h3 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.15;
  }

  #categories .category-desc {
    font-size: 12px;
    line-height: 1.3;
  }
}

.card h3,
.event-meta,
.venue-meta,
.venue-desc,
.category-desc,
.venue-view-head h2,
.venue-view-description,
.faq-item summary,
.faq-item p,
.request-flow-card h2,
.request-flow-card p,
.contact-info p,
.about-card p,
.footer-text,
.footer-disclosure {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.event-tag.theatre {
  background: rgba(244, 114, 182, 0.18);
  color: #fb7185;
}

.event-tag.opera {
  background: rgba(129, 140, 248, 0.18);
  color: #a5b4fc;
}

.event-tag.football {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.event-meta {
  font-size: 13px;
}


.event-price {
  font-weight: 600;
  margin-top: 10px;
}

.filters-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.events-controls-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 10px;
  margin-bottom: 14px;
}

.events-controls-row .filters-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  min-width: 0;
  margin-bottom: 0;
}

.events-controls-row .filters-row > * {
  width: 100%;
  min-width: 0;
}

.events-controls-row .filters-row .date-clear-btn {
  width: auto;
  min-width: 108px;
}

.events-all-link {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.filters-row select,
.filters-row input[type="date"],
.filters-row input[type="text"],
.filters-row input[type="number"],
.filters-row .date-clear-btn {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
  padding: 10px 14px;
  font-size: 14px;
  min-height: 44px;
  line-height: 1.1;
  color-scheme: dark;
}

.filters-row .date-clear-btn {
  cursor: pointer;
}

.filters-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
    linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.filters-row input[type="date"],
.filters-row input[type="text"],
.filters-row input[type="number"] {
  color: var(--text);
}

/* Make the native date picker affordance larger (WebKit/Blink) */
.filters-row input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  padding: 6px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.18);
}

.filters-row input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: rgba(99, 102, 241, 0.28);
}

.filters-row input[type="date"]::-webkit-datetime-edit {
  padding: 0 2px;
}

#venue-view .filters-row select,
#venue-view .filters-row input {
  flex: 1 1 170px;
  min-width: 150px;
}

.date-input {
  cursor: pointer;
}

/* custom date picker (large + in site colors) */
.date-picker {
  position: fixed;
  z-index: 120;
  width: min(420px, calc(100vw - 24px));
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.22) 0, transparent 60%),
    rgba(2, 6, 23, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.55);
  padding: 14px;
}

.date-picker[hidden] {
  display: none !important;
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 12px;
}

.date-picker-controls {
  display: flex;
  gap: 8px;
}

.date-picker-title {
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 14px;
  color: #f9fafb;
}

.date-picker-nav,
.date-picker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: rgba(191, 203, 224, 0.82);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.date-picker-nav:hover,
.date-picker-btn:hover {
  color: rgba(224, 231, 255, 0.96);
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.24);
  background: rgba(30, 41, 59, 0.9);
}

.date-picker-nav:focus-visible,
.date-picker-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.85);
  outline-offset: 2px;
}

.date-picker-nav:disabled,
.date-picker-btn:disabled {
  color: rgba(148, 163, 184, 0.5);
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.65;
}

.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 0 2px 8px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 12px;
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.date-day {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(229, 231, 235, 0.92);
  cursor: pointer;
  font-size: 14px;
}

.date-day:hover {
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.12);
}

.date-day.is-muted {
  opacity: 0.45;
}

.date-day.is-today {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15);
}

.date-day.is-selected {
  border-color: rgba(99, 102, 241, 0.75);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(79, 70, 229, 0.18));
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.26);
}

.events-status {
  margin: 12px 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-soft);
  font-size: 13px;
}

.venue-meta {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

.venue-type {
  font-size: 12px;
  color: var(--text-soft);
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.venue-city {
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.venue-desc {
  font-size: 13px;
  color: var(--text-soft);
  margin: 8px 0 0;
}

.venue-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.venue-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.7);
}

.venue-card-link:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.85);
  outline-offset: 2px;
}

.category-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.7);
}

.category-card-link:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.85);
  outline-offset: 2px;
}

.venue-view-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.venue-view-topbar {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.venue-back-btn {
  align-self: flex-start;
}

.venue-view-type {
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venue-view-head h2 {
  margin: 2px 0;
}

.venue-view-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.venue-view-description {
  margin: 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.venue-events-header {
  margin-top: 16px;
  margin-bottom: 12px;
}

.venue-filters {
  margin-bottom: 12px;
}

.venue-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.request-promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.request-promo-card h2 {
  margin: 0;
}

.request-promo-card p {
  margin: 0;
  color: var(--text-soft);
  max-width: 780px;
}

.request-promo-cta {
  margin-top: 2px;
}

.request-promo-note {
  font-size: 13px;
  opacity: 0.9;
}

.request-flow-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.request-flow-card h2,
.request-flow-card p {
  margin: 0;
}

.request-success-section {
  padding: clamp(36px, 7vh, 82px) 0 clamp(44px, 9vh, 96px);
}

.request-success-shell {
  min-height: clamp(300px, calc(100vh - 220px), 560px);
  min-height: clamp(300px, calc(100dvh - 220px), 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-success-card {
  width: min(100%, 640px);
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-color: rgba(99, 102, 241, 0.42);
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0) 55%),
    rgba(15, 23, 42, 0.96);
}

.request-success-number {
  color: var(--text-soft);
  line-height: 1.5;
}

.request-success-number strong {
  color: var(--text);
  font-weight: 700;
}

.request-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-success-actions .request-flow-action {
  align-self: stretch;
  justify-content: center;
}

.request-form {
  gap: 16px;
}

.request-flow-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-flow-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-flow-intro-lead {
  color: var(--text-soft);
  line-height: 1.5;
}

.request-flow-intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-flow-intro-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.62);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.2;
}

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

.request-step-pill {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-soft);
  border-radius: 12px;
  min-height: 42px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.request-step-pill:hover {
  border-color: rgba(99, 102, 241, 0.5);
  color: var(--text);
}

.request-step-pill.is-active {
  border-color: rgba(99, 102, 241, 0.75);
  background: rgba(99, 102, 241, 0.22);
  color: var(--text);
}

.request-step-pill.is-complete {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.17);
  color: #d1fae5;
}

.request-step-index {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.22);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.request-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.request-flow-main {
  min-width: 0;
}

.request-step-section {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.48);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-step-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.request-step-head h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
}

.request-step-head p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
}

.request-step-grid {
  display: grid;
  gap: 10px;
}

.request-step-grid--search {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.request-step-grid--contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-field {
  margin: 0;
}

.request-field--full {
  grid-column: 1 / -1;
}

.request-summary-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.46);
  position: sticky;
  top: 92px;
  align-self: start;
}

.request-summary-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.request-summary-toggle {
  display: none;
  align-self: flex-start;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-soft);
  border-radius: 999px;
  min-height: 30px;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.request-summary-card.is-collapsed-mobile .request-summary-list {
  display: none;
}

.request-summary-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.request-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.request-summary-row dt {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.request-summary-row dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.request-submit-note {
  margin: 2px 0 0;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.35);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.request-flow-action {
  align-self: flex-start;
}

.request-flow-back {
  align-self: flex-start;
}

.request-form .request-city-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.request-form .form-error {
  margin: 4px 0 0;
}

.request-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.request-step-actions .btn {
  min-width: 130px;
}

.request-step-actions[data-step="1"] [data-request-step-prev] {
  visibility: hidden;
  pointer-events: none;
}

.request-step-actions:not([data-step="3"]) [data-request-submit] {
  display: none;
}

.request-step-actions[data-step="3"] [data-request-step-next] {
  display: none;
}

#requestForm .request-form input[type="text"],
#requestForm .request-form input[type="number"],
#requestForm .request-form select,
#requestForm .request-form textarea {
  width: 100%;
  margin-top: 4px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
  color-scheme: dark;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

#requestForm .request-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(191, 203, 224, 0.82) 50%),
    linear-gradient(135deg, rgba(191, 203, 224, 0.82) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

#requestForm .request-form input[type="number"]::-webkit-outer-spin-button,
#requestForm .request-form input[type="number"]::-webkit-inner-spin-button {
  opacity: 0.75;
}

#requestForm .request-form input[type="text"]:hover,
#requestForm .request-form input[type="number"]:hover,
#requestForm .request-form select:hover,
#requestForm .request-form textarea:hover {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(15, 23, 42, 0.96);
}

#requestForm .request-form input[type="text"]:focus-visible,
#requestForm .request-form input[type="number"]:focus-visible,
#requestForm .request-form select:focus-visible,
#requestForm .request-form textarea:focus-visible {
  outline: none;
  border-color: rgba(99, 102, 241, 0.85);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

#requestForm .request-form input[type="text"]:disabled,
#requestForm .request-form input[type="number"]:disabled,
#requestForm .request-form select:disabled,
#requestForm .request-form textarea:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  background: rgba(15, 23, 42, 0.7);
}

#requestForm .request-form select option {
  background: #0f172a;
  color: #e2e8f0;
}

.venue-group {
  grid-column: 1 / -1;
  margin: 8px 0 0;
}

.venue-group h3 {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.venues-empty {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-soft);
  font-size: 13px;
}

.venue .venue-text p {
  margin: 0 0 10px;
}

.venue .venue-text p:last-child {
  margin-bottom: 0;
}

.venue.is-collapsed .venue-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.venue .venue-toggle {
  margin-top: 10px;
  align-self: flex-start;
}

.transfer-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
  align-items: start;
}

.transfer-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.form label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 4px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 10px;
  color: var(--text);
  font-size: 13px;
}

.form select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23c7d2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 8px;
}

.password-input-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 4px;
}

.form .password-input-wrap > input {
  margin-top: 0;
  padding-right: 44px;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.45);
  color: rgba(203, 213, 225, 0.95);
  cursor: pointer;
  padding: 0;
  line-height: 0;
  touch-action: manipulation;
}

.password-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.65);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.7);
  outline-offset: 1px;
}

.password-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-icon svg {
  width: 18px;
  height: 18px;
}

.password-toggle-icon--hide {
  display: none;
}

.password-toggle-btn.is-visible .password-toggle-icon--show {
  display: none;
}

.password-toggle-btn.is-visible .password-toggle-icon--hide {
  display: inline-flex;
}

.modal-dialog .form .password-input-wrap > input {
  padding-right: 48px;
}

.password-input-wrap input[type="password"]::-ms-reveal,
.password-input-wrap input[type="password"]::-ms-clear {
  display: none;
}

@media (max-width: 640px) {
  .password-toggle-btn {
    width: 34px;
    height: 34px;
    right: 6px;
  }

  .form .password-input-wrap > input {
    padding-right: 54px;
  }
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}

.form input.is-invalid,
.form textarea.is-invalid,
.form select.is-invalid {
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.form-error {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.25);
  color: var(--danger);
  font-size: 12px;
  line-height: 1.35;
}

.form-field-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.3;
}

.form-note {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 8px;
}

.auth-modal {
  width: min(100%, 520px);
  margin: 0 auto;
}

.auth-modal-header {
  padding: 2px 2px 10px;
}

.auth-modal-header .modal-title {
  margin-bottom: 0;
  font-size: clamp(24px, 2.2vw, 28px);
}

.auth-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px;
}

.auth-panel[hidden] {
  display: none !important;
}

.auth-forgot-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  color: #c7d2fe;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.16s ease;
}

.auth-forgot-link:hover {
  color: #e2e8f0;
}

.auth-forgot-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.auth-forgot-text {
  margin: 0 0 2px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.auth-forgot-success {
  color: rgba(187, 247, 208, 0.92);
}

.auth-panel-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 10px;
}

.auth-panel-foot .form-note {
  margin-top: 0;
}

.auth-panel-foot--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 18px;
  row-gap: 8px;
}

.auth-panel-foot--split .auth-forgot-link {
  margin-top: 2px;
}

.auth-switch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-switch-col {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 8px;
}

.auth-switch-label {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-soft);
}

.auth-switch-cta {
  min-height: 40px;
  padding: 9px 16px;
  width: 220px;
  max-width: 100%;
  font-size: 14px;
}

.auth-switch-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.16s ease;
}

.auth-switch-btn:hover {
  color: #e2e8f0;
}

.auth-switch-btn:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.72);
  outline-offset: 3px;
  border-radius: 6px;
}

.modal-dialog--auth {
  width: min(600px, calc(100vw - 40px));
}

.modal-dialog--auth .modal-top {
  border-bottom-color: rgba(148, 163, 184, 0.05);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.38) 0%, rgba(2, 6, 23, 0.2) 100%);
}

.modal-dialog--auth .modal-body {
  padding: 24px 28px 28px;
  padding-right: 18px;
}

@media (max-width: 960px) {
  .modal-dialog--auth .modal-body {
    padding: 18px 18px 20px;
    padding-right: 12px;
  }

  .auth-modal {
    width: min(100%, 500px);
  }
}

@media (max-width: 768px) {
  .modal-dialog--auth {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .modal-dialog--auth .modal-body {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
    padding-right: 8px;
  }

  .auth-modal {
    width: min(100%, 460px);
  }

  .auth-panel-foot {
    margin-top: 10px;
    padding-top: 10px;
  }

  .auth-panel-foot--split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .auth-switch-col {
    justify-items: start;
    text-align: left;
  }

  .auth-switch-cta {
    width: 100%;
  }

  .auth-panel-foot--split .auth-forgot-btn {
    justify-self: start;
  }
}

.auth-verify-pending-head {
  display: grid;
  gap: 8px;
}

.auth-verify-note {
  margin-top: 0;
}

.auth-verify-status {
  margin-top: 0;
  color: var(--text-soft);
}

.auth-verify-error {
  margin-top: 0;
}

.auth-verify-actions {
  justify-content: space-between;
}

.faq-list {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  width: 100%;
  min-width: 0;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 10px 14px;
  margin-bottom: 10px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 8px;
  font-size: 13px;
  white-space: pre-line;
}

.faq-empty {
  max-width: 720px;
  margin: 8px auto 0;
  color: var(--text-soft);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
  align-items: start;
}

[data-categories-list] {
  width: 100%;
}

.contact-info h3 {
  margin: 0;
}

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

.contact-info .contact-email {
  margin: 2px 0 0;
  color: var(--text);
  font-weight: 600;
}

.contact-info .contact-support-text {
  margin: 0;
  line-height: 1.45;
}

.contact-actions-layout {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  display: grid;
  grid-template-columns: minmax(192px, 0.95fr) minmax(0, 1.4fr);
  gap: 14px 18px;
  align-items: start;
}

.contact-messenger-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.contact-messenger-actions .btn {
  width: 100%;
  justify-content: center;
}

.contact-whatsapp-btn {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 10px;
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(8, 47, 32, 0.68), rgba(6, 78, 59, 0.44));
  color: #d1fae5;
}

.contact-whatsapp-btn:hover {
  border-color: rgba(74, 222, 128, 0.66);
  background: linear-gradient(135deg, rgba(8, 47, 32, 0.86), rgba(6, 95, 70, 0.62));
  color: #ecfdf5;
  transform: translateY(-1px);
}

.contact-telegram-btn {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 10px;
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(8, 36, 63, 0.68), rgba(3, 105, 161, 0.44));
  color: #dbeafe;
}

.contact-telegram-btn:hover {
  border-color: rgba(56, 189, 248, 0.66);
  background: linear-gradient(135deg, rgba(7, 47, 84, 0.86), rgba(2, 132, 199, 0.62));
  color: #f0f9ff;
  transform: translateY(-1px);
}

.contact-email-btn {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 10px;
  border-color: rgba(129, 140, 248, 0.45);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.68), rgba(67, 56, 202, 0.42));
  color: #e0e7ff;
}

.contact-email-btn:hover {
  border-color: rgba(165, 180, 252, 0.68);
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.84), rgba(79, 70, 229, 0.58));
  color: #eef2ff;
  transform: translateY(-1px);
}

.social-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.about-card p {
  margin-bottom: 10px;
}

.about-card p strong {
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: #020617;
  padding: 18px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr) minmax(0, 1.25fr) minmax(0, 1.9fr);
  gap: 20px;
  align-items: start;
}

.footer-text {
  font-size: 12px;
  color: var(--text-soft);
}

.footer-disclosure {
  margin: 8px 0 0;
  max-width: min(100%, 340px);
  font-size: 11px;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.9);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-whatsapp {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  width: min(100%, 232px);
}

.footer-whatsapp-label {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  max-width: min(100%, 240px);
  color: rgba(148, 163, 184, 0.92);
}

.footer-whatsapp-btn,
.footer-telegram-btn,
.footer-email-btn {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 10px;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.footer-whatsapp-btn {
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(8, 47, 32, 0.68), rgba(6, 78, 59, 0.44));
  color: #d1fae5;
}

.footer-whatsapp-btn:hover {
  border-color: rgba(74, 222, 128, 0.66);
  background: linear-gradient(135deg, rgba(8, 47, 32, 0.86), rgba(6, 95, 70, 0.62));
  color: #ecfdf5;
}

.footer-telegram-btn {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(8, 36, 63, 0.68), rgba(3, 105, 161, 0.44));
  color: #dbeafe;
}

.footer-telegram-btn:hover {
  border-color: rgba(56, 189, 248, 0.66);
  background: linear-gradient(135deg, rgba(7, 47, 84, 0.86), rgba(2, 132, 199, 0.62));
  color: #f0f9ff;
}

.footer-email-btn {
  border-color: rgba(129, 140, 248, 0.45);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.68), rgba(67, 56, 202, 0.42));
  color: #e0e7ff;
}

.footer-email-btn:hover {
  border-color: rgba(165, 180, 252, 0.68);
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.84), rgba(79, 70, 229, 0.58));
  color: #eef2ff;
}

.concierge-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.concierge-hero {
  padding: 52px 0 28px;
}

.concierge-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 26px;
  align-items: start;
}

.concierge-hero-content h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
}

.concierge-hero-content > p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.58;
}

.concierge-disclosure {
  margin-top: 16px;
  max-width: 760px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.46);
  color: rgba(203, 213, 225, 0.95);
  font-size: 13px;
  line-height: 1.5;
}

.concierge-hero-actions {
  margin-top: 18px;
}

.concierge-aside-card {
  display: grid;
  gap: 14px;
  align-content: start;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.14) 0, transparent 48%),
    radial-gradient(circle at 88% 0%, rgba(129, 140, 248, 0.18) 0, transparent 52%),
    rgba(15, 23, 42, 0.72);
}

.concierge-aside-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.concierge-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.concierge-checklist li {
  position: relative;
  padding-left: 16px;
  color: var(--text-soft);
  line-height: 1.5;
}

.concierge-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.9);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.concierge-section {
  padding-top: 26px;
  padding-bottom: 26px;
}

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

.concierge-how-card,
.concierge-service-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 160px;
}

.concierge-how-card h3,
.concierge-service-card h3,
.concierge-cta-card h2 {
  margin: 0;
}

.concierge-how-card p,
.concierge-service-card p,
.concierge-cta-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.52;
}

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

.concierge-section--cta {
  padding-top: 30px;
  padding-bottom: 42px;
}

.concierge-cta-card {
  display: grid;
  gap: 14px;
  align-content: start;
  background:
    radial-gradient(circle at 8% 0%, rgba(56, 189, 248, 0.14) 0, transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(129, 140, 248, 0.18) 0, transparent 48%),
    rgba(15, 23, 42, 0.72);
  border-color: rgba(99, 102, 241, 0.34);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.26);
}

.concierge-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-doc-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
}

.legal-doc-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-doc-status,
.legal-doc-meta {
  margin: 0;
  color: var(--text-soft);
}

.legal-doc-content {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-doc-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.legal-doc-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(7, 12, 30, 0.72);
}

.legal-doc-html {
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.65;
}

.legal-doc-html h1,
.legal-doc-html h2,
.legal-doc-html h3 {
  margin: 10px 0 0;
}

.legal-doc-html p,
.legal-doc-html li {
  color: var(--text);
}

.legal-doc-html ul,
.legal-doc-html ol {
  padding-left: 20px;
}

.legal-doc-plain {
  white-space: pre-wrap;
  line-height: 1.7;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-soft);
}

.footer-meta a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-meta a:hover {
  color: #e5e7eb;
}

@media (min-width: 901px) and (max-width: 1280px) {
  [data-categories-list] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #venues .venues-track .card,
  #events .venues-track .card {
    flex: 0 0 min(360px, calc((100% - (var(--venues-gap) * 2)) / 3));
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  [data-categories-list] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #venues .venues-track,
  #events .venues-track {
    padding: 0 32px 6px;
  }

  #venues .venues-track .card,
  #events .venues-track .card {
    flex: 0 0 min(420px, calc((100% - var(--venues-gap)) / 2));
  }
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .transfer-grid,
  .contact-grid,
  .footer-grid,
  .concierge-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 24px;
  }

  .concierge-how-grid,
  .concierge-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .venues-track .card {
    flex: 0 0 calc((100% - var(--venues-gap)) / 2);
  }

  #venues .venues-track,
  #events .venues-track {
    padding: 0 44px 6px;
  }

  .modal-step--event .session-group-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }

  .request-flow-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .request-summary-card {
    position: static;
    order: -1;
  }

  .request-step-grid--params,
  .request-step-grid--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .concierge-hero-content h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .concierge-how-grid,
  .concierge-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .concierge-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 14px;
  }

  .nav {
    height: 56px;
    padding: 6px 0;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .nav-right {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .lang-switch {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 2px;
    max-width: 52vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lang {
    padding: 4px 8px;
    font-size: 12px;
  }

  .lang-switch::-webkit-scrollbar {
    height: 0;
  }

  .auth-trigger-badge {
    top: -6px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 9px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-ticket-cascade {
    display: none;
  }

  .hero-card-body {
    padding: 16px;
    min-height: 220px;
  }

  .hero-event-title {
    font-size: 18px;
  }

  .hero-event-meta {
    font-size: 12px;
  }

  .card {
    padding: 16px;
  }

  .btn {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.2;
  }

  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .request-form {
    gap: 14px;
  }

  .request-success-section {
    padding: 34px 0 44px;
  }

  .request-success-shell {
    min-height: clamp(250px, calc(100vh - 182px), 420px);
    min-height: clamp(250px, calc(100dvh - 182px), 420px);
  }

  .request-stepper {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-step-pill {
    justify-content: flex-start;
    min-height: 40px;
    font-size: 12px;
  }

  .request-step-section {
    padding: 12px;
    gap: 9px;
  }

  .request-step-grid--search,
  .request-step-grid--params,
  .request-step-grid--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-summary-card {
    gap: 8px;
    padding: 12px;
  }

  .request-step-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .request-step-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .request-step-actions[data-step="1"] [data-request-step-prev] {
    display: none;
  }

  .home-link-hub {
    margin-bottom: 14px;
  }

  .seo-breadcrumbs {
    margin-bottom: 10px;
  }

  .related-links-block {
    margin-bottom: 12px;
  }

  .seo-content-block {
    margin-bottom: 12px;
    padding: 14px 15px;
  }

  .seo-content-title {
    font-size: 15px;
  }

  .seo-content-paragraph {
    font-size: 13px;
    line-height: 1.5;
  }

  .link-chip-list {
    gap: 6px;
  }

  .filters-row select,
  .filters-row input[type="date"],
  .filters-row input[type="text"],
  .filters-row input[type="number"],
  .filters-row .date-clear-btn {
    width: 100%;
  }

  #venue-view .venue-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  #venue-view .venue-filters > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: none;
  }

  #venue-view .venue-filters select,
  #venue-view .venue-filters input[type="text"],
  #venue-view .venue-filters input[type="number"] {
    min-height: 46px;
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.2;
  }

  #venue-view .venue-filters select {
    padding-right: 38px;
    background-position:
      calc(100% - 18px) 50%,
      calc(100% - 13px) 50%;
  }

  #venues .venues-track,
  #events .venues-track {
    padding: 0 20px 6px;
  }

  .request-promo-card {
    align-items: stretch;
  }

  .request-promo-cta {
    width: 100%;
  }

  .request-flow-action {
    width: 100%;
  }

  .legal-doc-card {
    min-height: auto;
    padding: 20px;
  }

  .legal-doc-frame {
    min-height: 62vh;
  }

  #venues .venues-track .card,
  #events .venues-track .card {
    flex: 0 0 min(88vw, 360px);
  }

  #venues .venues-slider,
  #events .venues-slider {
    --slider-edge-fade: 24px;
  }

  .modal {
    place-items: end center;
    padding: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .modal-dialog {
    width: calc(100vw - 16px);
    height: min(92dvh, calc(100dvh - 16px));
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .modal-dialog--compact {
    height: auto;
    max-height: calc(100dvh - 16px);
  }

  .modal-top {
    padding: 10px 12px;
    min-height: 56px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .stepper .step {
    padding: 8px 10px;
    font-size: 11px;
  }

  .modal-body {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
    padding-right: 10px;
  }

  .modal-body > div {
    gap: 12px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.96) 20%, rgba(2, 6, 23, 0.96) 100%);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    margin-top: 4px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .modal-dialog .form input,
  .modal-dialog .form textarea,
  .modal-dialog .form select {
    width: 100%;
  }

  .modal-grid {
    gap: 14px;
  }

}

@media (max-width: 640px) {
  .section {
    padding: 44px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .venues-track .card {
    flex: 0 0 100%;
  }

  .modal-step--event .session-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-chip {
    padding: 5px 10px;
    font-size: 11px;
  }

  .contact-actions-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .nav-right {
    gap: 8px;
  }

  .lang-switch {
    display: flex;
    max-width: 56vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lang-switch::-webkit-scrollbar {
    height: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 12px;
  }

  [data-categories-list] {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .faq-list,
  .contact-grid {
    gap: 14px;
  }

  .contact-actions-layout {
    margin-top: 2px;
    padding-top: 10px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .contact-messenger-actions {
    width: 100%;
    align-items: stretch;
  }

  .seo-breadcrumbs {
    font-size: 11px;
    gap: 5px;
  }

  .seo-content-block {
    padding: 13px 14px;
  }

  .seo-content-title {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .seo-content-paragraph {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .faq-item {
    padding: 12px 14px;
  }

  #venues .venues-track,
  #events .venues-track {
    padding: 0 14px 6px;
  }

  #venues .venues-track .card,
  #events .venues-track .card {
    flex: 0 0 calc(100% - 2px);
    max-width: 100%;
  }

  #venues .venues-slider,
  #events .venues-slider {
    --slider-edge-fade: 14px;
  }

  .request-flow-card .btn,
  .contact-grid .btn,
  .hero-card .btn {
    width: 100%;
  }

  .legal-doc-card {
    gap: 14px;
    padding: 16px;
  }

  .legal-doc-frame {
    min-height: 56vh;
    border-radius: 18px;
  }

  .legal-doc-actions {
    justify-content: stretch;
  }

  .legal-doc-actions .btn {
    width: 100%;
  }

  #venue-view .venue-filters {
    gap: 10px;
    margin-bottom: 14px;
  }

  #venue-view .venue-filters select,
  #venue-view .venue-filters input[type="text"],
  #venue-view .venue-filters input[type="number"] {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.15;
  }

  #venue-view .venue-filters select {
    padding-right: 34px;
    background-position:
      calc(100% - 16px) 50%,
      calc(100% - 11px) 50%;
  }

  .modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
  }

  .modal {
    padding: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }

  .modal-dialog {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 18px;
  }

  .modal-dialog--compact {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .stepper {
    display: none !important;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-body {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
    padding-right: 8px;
  }

  .modal-dialog .card {
    padding: 16px;
  }

  .modal-header {
    padding: 2px 2px 14px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-subtitle {
    font-size: 14px;
    line-height: 1.35;
  }

  .modal-dialog .form label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .modal-dialog .form input,
  .modal-dialog .form textarea,
  .modal-dialog .form select {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .transfer-details {
    padding: 10px 12px;
  }

  .summary-row {
    padding: 10px 12px;
    align-items: flex-start;
  }

  .summary-row strong {
    font-size: 16px;
  }

  .checkout-consents {
    margin-top: 14px;
    gap: 12px;
  }

  .consent-row {
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .modal-mobile-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .modal-mobile-title {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.7);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .modal-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
  }

  .modal-mobile-back:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .modal-mobile-spacer {
    display: none;
  }

  .modal.is-mobile-step .modal-header .modal-title {
    display: none;
  }

  .nav {
    height: 52px;
    padding: 6px 0;
    gap: 6px;
  }

  .logo {
    font-size: 16px;
  }

  .nav-right {
    gap: 6px;
  }

  .lang-switch {
    max-width: 56vw;
  }

  .lang {
    padding: 4px 6px;
    font-size: 11px;
  }

  .nav-right .btn {
    padding: 6px 10px;
    font-size: 13px;
    min-height: 32px;
  }

  .auth-trigger-badge {
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .container {
    padding: 0 14px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-card-body {
    padding: 14px;
    min-height: 220px;
  }

  .modal-step--event .session-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .modal-step--event .session-chip {
    min-height: 52px;
    padding: 8px 9px;
    border-radius: 10px;
  }

  #venues .venues-track,
  #events .venues-track {
    padding: 0 16px 6px;
  }

  #venues .venues-track .card,
  #events .venues-track .card {
    flex: 0 0 92vw;
  }

  #venues .venues-slider,
  #events .venues-slider {
    --slider-edge-fade: 16px;
  }

  .modal {
    padding: 10px;
  }

  .modal-title {
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .all-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .all-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #requestForm.section {
    padding: 34px 0 38px;
  }

  #requestForm .request-form {
    gap: 12px;
    padding: 14px;
  }

  #requestForm .request-flow-head {
    gap: 8px;
  }

  #requestForm .request-flow-intro {
    gap: 6px;
  }

  #requestForm .request-flow-intro-lead {
    display: none;
  }

  #requestForm .request-flow-intro-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #requestForm .request-flow-intro-pills::-webkit-scrollbar {
    height: 0;
  }

  #requestForm .request-flow-intro-pill {
    flex: 0 0 auto;
    padding: 5px 8px;
    font-size: 11px;
  }

  #requestForm .request-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  #requestForm .request-step-pill {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11px;
    gap: 6px;
  }

  #requestForm .request-step-index {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  #requestForm .request-flow-layout {
    gap: 10px;
  }

  #requestForm .request-step-section {
    padding: 11px;
    gap: 8px;
  }

  #requestForm .request-step-head h3 {
    font-size: 15px;
  }

  #requestForm .request-step-head p {
    font-size: 11px;
    line-height: 1.4;
  }

  #requestForm .request-submit-note {
    margin-top: 0;
    padding: 8px 9px;
    font-size: 11px;
    line-height: 1.35;
  }

  #requestForm .request-step-actions {
    gap: 8px;
  }

  #requestForm .request-step-actions .btn {
    min-height: 40px;
  }

  #requestForm .request-flow-back {
    align-self: flex-start;
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  #requestForm .request-summary-card {
    order: 2;
    padding: 10px 11px;
    gap: 7px;
  }

  #requestForm .request-summary-toggle {
    display: inline-flex;
  }

  #requestForm .request-summary-card h3 {
    font-size: 13px;
  }

  #requestForm .request-summary-list {
    gap: 6px;
  }

  #requestForm .request-summary-row {
    gap: 1px;
    padding-bottom: 6px;
  }

  #requestForm .request-summary-row dt {
    font-size: 10px;
  }

  #requestForm .request-summary-row dd {
    font-size: 12px;
    line-height: 1.3;
  }

  .all-events-controls-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .all-events-filters {
    flex: 1 1 100%;
  }

  .all-events-request-btn {
    width: 100%;
    white-space: normal;
  }

  .events-controls-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }

  .events-controls-row .filters-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 100%;
    gap: 10px;
  }

  .events-controls-row .filters-row .date-clear-btn {
    width: 100%;
    min-width: 0;
  }

  .events-all-link {
    width: 100%;
  }
}

@media (max-width: 640px) {
  #venues .section-header {
    margin-bottom: 14px;
  }

  #venues .venues-slider {
    --slider-edge-fade: 0px;
  }

  #venues .venues-track {
    --venues-gap: 10px;
    gap: var(--venues-gap);
    padding: 0 2px 6px;
    scroll-padding-inline: 2px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #venues .venues-track .card {
    flex: 0 0 calc(100% - 2px);
    max-width: calc(100% - 2px);
    scroll-snap-align: start;
  }

  #all-events-view.section {
    padding-top: 26px;
  }

  #all-events-view .all-events-topbar {
    margin-bottom: 8px;
  }

  #all-events-view .all-events-header {
    margin-bottom: 10px;
  }

  #all-events-view .all-events-controls-row {
    gap: 8px;
    margin-bottom: 12px;
  }

  #all-events-view .all-events-filters {
    gap: 8px;
  }

  #all-events-view .all-events-filters > select,
  #all-events-view .all-events-filters > input[type="text"],
  #all-events-view .all-events-filters > .date-clear-btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  #all-events-view .all-events-filters > select {
    padding-right: 32px;
    background-position:
      calc(100% - 16px) 50%,
      calc(100% - 11px) 50%;
  }

  #all-events-view .all-events-request-btn {
    min-height: 40px;
    height: auto;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.25;
  }

  #events .events-controls-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
    align-items: stretch;
  }

  #events .events-controls-row .filters-row {
    display: contents;
  }

  #events .events-controls-row .filters-row > :nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  #events .events-controls-row .filters-row > :nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  #events .events-controls-row .filters-row > :nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  #events .events-controls-row .filters-row .date-clear-btn {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
  }

  #events .events-controls-row .filters-row > *,
  #events .events-controls-row .events-all-link {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  #events .events-controls-row .events-all-link {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e8ecff;
    border-color: rgba(99, 102, 241, 0.68);
    background:
      linear-gradient(135deg, rgba(44, 63, 117, 0.56), rgba(23, 35, 70, 0.86)),
      rgba(15, 23, 42, 0.9);
    box-shadow:
      0 8px 18px rgba(37, 99, 235, 0.18),
      inset 0 0 0 1px rgba(99, 102, 241, 0.2);
  }

  #events .events-controls-row .events-all-link:active {
    box-shadow:
      0 4px 10px rgba(37, 99, 235, 0.16),
      inset 0 0 0 1px rgba(99, 102, 241, 0.2);
  }

  #events .home-link-hub {
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .all-events-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* Home upcoming events composition */
#events.section {
  padding-bottom: 76px;
}

#events .section-header {
  margin-bottom: 24px;
}

#events .events-controls-row {
  margin-bottom: 14px;
}

#events .events-slider {
  --slider-edge-fade: 0px;
}

#events .events-track {
  padding: 0 0 6px;
  -webkit-mask-image: none;
  mask-image: none;
}

#events .events-track .card {
  flex: 0 0 min(360px, calc((100% - (var(--venues-gap) * 2)) / 3));
}

@media (max-width: 900px) {
  #events .events-track .card {
    flex: 0 0 min(420px, calc((100% - var(--venues-gap)) / 2));
  }
}

@media (max-width: 640px) {
  #events.section {
    padding-bottom: 56px;
  }

  #events .events-track .card {
    flex: 0 0 calc(100% - 2px);
  }
}

/* micro-interactions (match your real classes) */
.btn,
.card,
.faq-item,
.filters-row select,
.filters-row input[type="date"],
.form input,
.form textarea,
.form select {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    opacity .18s ease;
}

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

.btn:active {
  transform: translateY(1px) scale(.99);
}

.card:hover,
.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.75);
}

.filters-row select:hover,
.filters-row input[type="date"]:hover,
.filters-row .date-clear-btn:hover,
.form input:hover,
.form textarea:hover,
.form select:hover {
  border-color: rgba(99, 102, 241, 0.65);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* page fade-in */
body {
  opacity: 0;
  transition: opacity .22s ease;
}

body.is-loaded {
  opacity: 1;
}

/* nice-to-have */
html { scroll-behavior: smooth; }

/* modal (purchase flow) */
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.account-body {
  min-height: 100dvh;
  overflow: hidden;
}

.account-page {
  padding: 14px 0 22px;
  min-height: calc(100dvh - 64px);
  height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.account-page .container {
  max-width: min(100%, 1360px);
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-left: clamp(12px, 1.6vw, 24px);
  padding-right: clamp(12px, 1.6vw, 24px);
}

.account-page-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-page-head h1 {
  margin: 0;
}

.account-page-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

.account-auth-required {
  max-width: 700px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.account-auth-required h3,
.account-auth-required p {
  margin: 0;
}

.account-layout {
  width: 100%;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.account-menu {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08) 0, transparent 52%),
    rgba(2, 6, 23, 0.52);
  padding: 8px;
}

.account-menu-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-menu-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.account-menu-back-home {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: rgba(203, 213, 225, 0.72);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 10px;
  transition: color 160ms ease, background-color 160ms ease;
}

.account-menu-back-home:hover {
  color: rgba(226, 232, 240, 0.98);
  background: rgba(30, 41, 59, 0.5);
}

.account-tab {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(203, 213, 225, 0.78);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.account-tab--with-badge {
  justify-content: space-between;
  gap: 8px;
}

.account-tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(8, 145, 178, 0.28);
  color: #e0f2fe;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.account-tab:hover {
  color: var(--text);
  border-color: rgba(71, 85, 105, 0.46);
  background: rgba(30, 41, 59, 0.56);
}

.account-tab.is-active {
  color: #eff6ff;
  border-color: rgba(56, 189, 248, 0.48);
  background: rgba(8, 145, 178, 0.2);
}

.account-header-logout {
  border-color: rgba(248, 113, 113, 0.42);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.2);
}

.account-header-logout:hover {
  border-color: rgba(248, 113, 113, 0.62);
  color: #fee2e2;
  background: rgba(127, 29, 29, 0.28);
}

.account-content {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.08) 0, transparent 45%),
    radial-gradient(circle at 0 100%, rgba(129, 140, 248, 0.08) 0, transparent 42%),
    rgba(2, 6, 23, 0.52);
  padding: 12px;
  overflow: hidden;
}

.account-mobile-panel-head {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.account-mobile-panel-title {
  margin: 0;
  font-size: 18px;
}

.account-mobile-back {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
}

[data-account-panel][hidden] {
  display: none !important;
}

.account-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
}

.account-state {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(30, 41, 59, 0.58);
  color: rgba(226, 232, 240, 0.94);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.account-status-pill--type {
  border-color: rgba(34, 211, 238, 0.44);
  background: rgba(8, 145, 178, 0.2);
}

.account-status-pill--status {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(79, 70, 229, 0.2);
}

.account-status-pill--status.is-open {
  border-color: rgba(74, 222, 128, 0.48);
  background: rgba(21, 128, 61, 0.22);
  color: #bbf7d0;
}

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

.account-overview-state {
  margin-bottom: 2px;
}

.account-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}

.account-overview-highlight,
.account-overview-stat,
.account-overview-address-card,
.account-overview-actions-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
}

.account-overview-highlight {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.account-overview-label {
  color: rgba(148, 163, 184, 0.95);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-overview-highlight h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.account-overview-highlight-meta,
.account-overview-highlight-secondary {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.account-overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-overview-stat {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.account-overview-stat span {
  color: var(--text-soft);
  font-size: 12px;
}

.account-overview-stat strong {
  font-size: 26px;
  line-height: 1;
  color: #f8fafc;
}

.account-overview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.account-overview-address-card,
.account-overview-actions-card {
  padding: 12px 14px;
}

.account-overview-address-card {
  display: grid;
  gap: 8px;
}

.account-overview-address-card p {
  margin: 0;
  color: var(--text-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-overview-link-btn {
  justify-self: start;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.account-overview-actions-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.account-overview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-overview-actions .btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
}

.account-ticket-list {
  display: grid;
  gap: 14px;
}

.account-ticket-group {
  display: grid;
  gap: 11px;
}

.account-ticket-group-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.account-ticket-group.is-past {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.account-ticket-group.is-past .account-ticket-group-title {
  color: rgba(226, 232, 240, 0.95);
  letter-spacing: 0.01em;
}

.account-ticket-group-list {
  display: grid;
  gap: 10px;
}

.account-ticket-group.is-past .account-ticket-group-list {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.34);
  padding: 10px;
}

.account-ticket-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  padding: 12px;
  display: grid;
  gap: 9px;
}

.account-ticket-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-ticket-card-top strong {
  font-size: 15px;
  line-height: 1.3;
}

.account-ticket-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.account-ticket-meta {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.42;
}

.account-ticket-meta--delivery {
  grid-column: 1 / -1;
}

.account-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.account-ticket-open.btn {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.account-ticket-open.btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.account-ticket-unavailable {
  font-size: 12px;
  color: var(--text-soft);
}

.account-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 0;
  max-width: min(100%, 1220px);
  margin: 0 auto;
  width: 100%;
}

.account-profile-form,
.account-password-form {
  display: grid;
  gap: 14px;
  padding: 12px;
}

.account-profile-main,
.account-password-card,
.account-profile-info {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
}

.account-profile-main {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.account-profile-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.account-profile-main-grid-full {
  grid-column: 1 / -1;
}

.account-profile-main-footer {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

.account-profile-main-actions .btn {
  min-height: 38px;
  padding: 8px 14px;
}

.account-profile-info {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.account-profile-info--summary {
  gap: 12px;
  padding: 16px 18px;
  min-height: 220px;
  align-self: start;
}

.account-profile-info--summary .account-profile-info-list {
  gap: 10px;
}

.account-profile-edit-btn {
  min-height: 40px;
  padding: 8px 16px;
  justify-self: stretch;
}

.account-profile-info h4 {
  margin: 0;
  font-size: 16px;
}

.account-profile-info-list {
  margin: 0;
  display: grid;
  gap: 9px;
}

.account-profile-info-list div {
  display: grid;
  gap: 3px;
}

.account-profile-info-list dt {
  font-size: 12px;
  color: var(--text-soft);
}

.account-profile-info-list dd {
  margin: 0;
  font-size: 14px;
}

.account-recipient-cards-wrap {
  min-height: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

.account-saved-recipient-controls {
  grid-column: 1 / -1;
  gap: 12px;
  padding: 14px 16px;
  min-width: 0;
}

.account-saved-recipient-state {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  padding: 12px 13px;
  width: min(100%, 320px);
}

.account-saved-recipient-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-saved-recipient-head-texts {
  display: grid;
  gap: 6px;
}

.account-saved-recipient-head-texts h4 {
  margin: 0;
  font-size: 17px;
}

.account-saved-recipient-head-texts p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
  max-width: 78ch;
}

.account-saved-recipient-toggle {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  flex: 0 0 auto;
}

.account-saved-recipient-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: start;
  justify-items: stretch;
  align-content: start;
  gap: 10px;
  width: 100%;
}

.account-saved-recipient-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 220px;
  width: 100%;
}

.account-saved-recipient-item--draft {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.62);
}

.account-saved-recipient-item-head {
  min-width: 0;
}

.account-saved-recipient-item-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-saved-recipient-info-list {
  display: grid;
  gap: 9px;
}

.account-saved-recipient-info-list div {
  display: grid;
  gap: 3px;
}

.account-saved-recipient-info-list dt {
  font-size: 12px;
  color: var(--text-soft);
}

.account-saved-recipient-info-list dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.account-saved-recipient-inline-form {
  display: grid;
  gap: 10px;
  min-height: 100%;
  align-content: start;
}

.account-saved-recipient-draft-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.account-saved-recipient-draft-name-input {
  min-width: 0;
  flex: 1 1 50%;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  padding: 0 0 2px;
}

.account-saved-recipient-draft-name-input::placeholder {
  color: rgba(148, 163, 184, 0.88);
}

.account-saved-recipient-draft-value {
  width: 100%;
  min-height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
  color: var(--text);
  padding: 4px 8px;
  font-size: 14px;
  line-height: 1.3;
}

.account-saved-recipient-draft-value::placeholder {
  color: rgba(148, 163, 184, 0.82);
}

.account-saved-recipient-draft-name-input:focus,
.account-saved-recipient-draft-value:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.72);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.28);
}

.account-saved-recipient-draft-name-input:disabled,
.account-saved-recipient-draft-value:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.account-saved-recipient-draft-error {
  margin-top: 0;
}

.account-saved-recipient-draft-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.account-saved-recipient-draft-actions .btn {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
}

.account-saved-recipient-item-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.account-saved-recipient-delete {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.48);
  background: rgba(127, 29, 29, 0.18);
  color: #fca5a5;
  font-size: 13px;
  box-shadow: none;
}

.account-saved-recipient-delete:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.72);
  background: rgba(153, 27, 27, 0.28);
  color: #fecaca;
}

.account-saved-recipient-delete:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.65);
  outline-offset: 1px;
}

.account-saved-recipient-delete:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.account-saved-recipient-confirm {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 8px;
}

.account-saved-recipient-confirm-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #f8fafc;
}

.account-saved-recipient-confirm-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.95);
}

.account-saved-recipient-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.account-saved-recipient-confirm-actions .btn {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
}

.account-saved-recipient-confirm-confirm {
  border: 1px solid rgba(248, 113, 113, 0.48);
  background: rgba(127, 29, 29, 0.18);
  color: #fca5a5;
  box-shadow: none;
}

.account-saved-recipient-confirm-confirm:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.72);
  background: rgba(153, 27, 27, 0.28);
  color: #fecaca;
}

.account-saved-recipient-confirm-confirm:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.65);
  outline-offset: 1px;
}

.account-saved-recipient-confirm-confirm:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (min-width: 1181px) {
  .account-profile-edit-form {
    max-width: min(100%, 980px);
    margin: 0 auto;
  }
}

.account-profile-edit-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.account-profile-edit-head-texts {
  display: grid;
  gap: 5px;
}

.account-profile-edit-head-texts h4 {
  margin: 0;
  font-size: 17px;
}

.account-profile-edit-head-texts p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.account-profile-edit-back {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.account-password-card {
  padding: 14px;
}

.account-password-screen-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.account-password-screen-texts {
  display: grid;
  gap: 5px;
}

.account-password-back-btn {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.account-password-card-title {
  margin: 0;
  font-size: 17px;
}

.account-password-card-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.account-password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding-top: 10px;
}

.account-password-grid label:last-child {
  grid-column: 1 / -1;
}

.account-password-footer {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.account-password-footer .btn {
  min-height: 38px;
  padding: 8px 14px;
  justify-self: end;
}

.account-addresses-grid {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  height: 100%;
}

.account-addresses-grid.is-address-editor-open {
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
}

.account-addresses-list-wrap,
.account-address-editor-wrap {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.account-addresses-list-wrap {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
  padding: 9px;
  gap: 8px;
}

.account-address-list {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.account-address-item {
  width: 100%;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  padding: 9px 10px;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.account-address-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.account-address-item.is-active {
  border-color: rgba(56, 189, 248, 0.52);
  background: rgba(8, 145, 178, 0.2);
}

.account-address-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.account-address-item-title {
  font-size: 13px;
  font-weight: 600;
}

.account-address-item-edit {
  font-size: 11px;
  color: var(--text-soft);
}

.account-address-item-subtitle {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.account-address-item-preview {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.account-address-mobile-head {
  display: none;
  margin-bottom: 8px;
}

.account-address-mobile-back {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
}

.account-address-form {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.account-address-form[hidden] {
  display: none !important;
}

.account-addresses-grid--single {
  display: block;
  max-width: min(100%, 800px);
  height: auto;
}

.account-profile-address {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.08) 0, transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(129, 140, 248, 0.1) 0, transparent 48%),
    rgba(15, 23, 42, 0.62);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24);
  padding: 14px;
}

.account-profile-address .checkout-delivery-card-head {
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.account-profile-address .checkout-delivery-card-title {
  font-size: 16px;
}

.account-profile-address .checkout-delivery-card-text {
  font-size: 12px;
  color: var(--text-soft);
}

.account-profile-address .checkout-delivery-grid {
  gap: 10px 12px;
}

.account-profile-address .checkout-delivery-grid textarea {
  min-height: 88px;
}

.account-address-view {
  padding-top: 10px;
}

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

.account-address-view-grid div {
  display: grid;
  gap: 3px;
}

.account-address-view-grid dt {
  font-size: 12px;
  color: var(--text-soft);
}

.account-address-view-grid dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
  color: var(--text);
  overflow-wrap: anywhere;
}

.account-address-view-item-full {
  grid-column: 1 / -1;
}

.account-address-view-value.is-empty {
  color: var(--text-soft);
}

.account-profile-address-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.account-profile-address-footer .form-error,
.account-profile-address-footer .form-note {
  flex: 0 0 100%;
  margin: 0;
}

.account-profile-address-footer .btn {
  min-height: 36px;
  padding: 7px 14px;
}

.account-profile-address-footer--view {
  margin-top: 10px;
}

.account-requests-grid {
  display: grid;
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  height: 100%;
}

.account-requests-grid.is-request-collapsed {
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
}

.account-requests-list-wrap,
.account-request-view {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.account-requests-list-wrap {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
  padding: 9px;
  gap: 8px;
}

.account-request-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.account-request-item {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
  display: grid;
  gap: 6px;
}

.account-request-item.is-active {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(8, 145, 178, 0.2);
}

.account-request-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.account-request-subject {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
}

.account-request-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(30, 41, 59, 0.62);
  color: var(--text-soft);
  font-size: 11px;
}

.account-request-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.account-request-meta,
.account-request-secondary {
  font-size: 12px;
  color: var(--text-soft);
}

.account-request-secondary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-request-view {
  min-height: 0;
  overflow: auto;
}

.account-request-mobile-head {
  display: none;
  margin-bottom: 8px;
}

.account-request-mobile-back {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
}

.account-request-details {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  padding: 12px;
  display: grid;
  gap: 11px;
}

.account-request-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.account-request-details-title-wrap {
  display: grid;
  gap: 4px;
}

.account-request-details h4 {
  margin: 0;
  font-size: 17px;
}

.account-request-details-number {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.account-request-details-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-request-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.account-request-meta-grid p,
.account-request-section p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

.account-request-meta-grid strong,
.account-request-section h5 {
  color: var(--text);
}

.account-request-meta-grid-full {
  grid-column: 1 / -1;
}

.account-request-section {
  display: grid;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.4);
  padding: 10px 11px;
}

.account-request-section h5 {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.account-request-section span {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-request-actions {
  display: flex;
}

.account-request-actions .btn {
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.account-panel[data-account-panel="messages"] {
  overflow: hidden;
  padding-right: 0;
}

.account-messages-grid {
  display: grid;
  grid-template-columns: minmax(280px, 332px) minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.06) 0, transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.56) 0%, rgba(2, 6, 23, 0.46) 100%);
  overflow: hidden;
}

.account-messages-grid.is-thread-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.account-threads,
.account-thread-view {
  border-radius: 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.account-threads {
  padding: 13px 10px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}

.account-thread-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 5px;
  padding-right: 2px;
}

.account-thread-item {
  width: 100%;
  text-align: left;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.24);
  color: var(--text);
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.account-thread-item:hover {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.44);
  transform: translateY(-1px);
}

.account-thread-item.is-active {
  border-color: rgba(56, 189, 248, 0.36);
  background:
    linear-gradient(160deg, rgba(8, 145, 178, 0.24) 0%, rgba(15, 23, 42, 0.38) 100%);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.25);
}

.account-thread-item.is-unread {
  border-color: rgba(129, 140, 248, 0.38);
  background:
    linear-gradient(160deg, rgba(79, 70, 229, 0.2) 0%, rgba(15, 23, 42, 0.34) 100%);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.85), 0 8px 18px rgba(15, 23, 42, 0.2);
}

.account-thread-item.is-unread .account-thread-subject {
  color: #e6edff;
  font-weight: 700;
}

.account-thread-item.is-unread .account-thread-preview,
.account-thread-item.is-unread .account-thread-meta {
  color: rgba(191, 219, 254, 0.96);
}

.account-thread-item.is-unread.is-active {
  border-color: rgba(56, 189, 248, 0.45);
  background:
    linear-gradient(160deg, rgba(8, 145, 178, 0.28) 0%, rgba(30, 58, 138, 0.3) 100%);
  box-shadow: inset 3px 0 0 rgba(103, 232, 249, 0.9), 0 10px 22px rgba(2, 6, 23, 0.25);
}

.account-thread-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.account-thread-subject {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-thread-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.42);
  color: var(--text-soft);
  font-size: 11px;
}

.account-thread-status.is-open {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(21, 128, 61, 0.14);
  color: #bbf7d0;
}

.account-thread-preview {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.account-thread-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.account-thread-meta {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.98);
}

.account-thread-unread {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  background: rgba(8, 145, 178, 0.22);
  color: #dbeafe;
  font-size: 10px;
  font-weight: 700;
}

.account-thread-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 13px 15px;
  overflow: hidden;
}

.account-thread-mobile-head {
  display: none;
  align-items: center;
  gap: 8px;
}

.account-thread-mobile-back {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  flex: 0 0 auto;
}

.account-thread-mobile-head-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-thread-mobile-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-thread-mobile-status {
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  font-size: 11px;
  color: var(--text-soft);
}

.account-thread-mobile-status.is-open {
  border-color: rgba(74, 222, 128, 0.5);
  color: #bbf7d0;
}

.account-chat-head,
.account-thread-header {
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.account-chat-head {
  display: grid;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.account-chat-head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-chat-head h4 {
  margin: 0;
  font-size: 16px;
}

.account-chat-head p {
  margin: 0;
  color: rgba(148, 163, 184, 0.96);
  font-size: 12px;
}

.account-thread-header {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.32);
}

.account-thread-header-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

.account-thread-header-item {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.account-thread-header-item strong {
  color: rgba(226, 232, 240, 0.98);
}

.account-message-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(2, 6, 23, 0.3) 100%);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.account-message-item {
  max-width: 80%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(30, 41, 59, 0.46);
  padding: 9px 12px;
  display: grid;
  gap: 5px;
}

.account-message-item.is-user {
  align-self: flex-end;
  border-color: rgba(56, 189, 248, 0.26);
  background: rgba(8, 145, 178, 0.18);
}

.account-message-item.is-admin {
  align-self: flex-start;
}

.account-message-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.45;
}

.account-message-meta {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.86);
}

.account-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  padding: 8px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(2, 6, 23, 0.4);
}

.account-message-form textarea {
  min-height: 48px;
  height: 48px;
  max-height: 48px;
  resize: none;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: var(--text);
  padding: 11px 12px;
  font-size: 13px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.account-message-form textarea:focus {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
  outline: none;
}

.account-message-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.84);
}

.account-message-form .btn {
  min-height: 48px;
  min-width: 136px;
  border-radius: 11px;
  padding: 10px 16px;
  align-self: stretch;
}

@media (max-width: 1180px) {
  .account-overview-grid,
  .account-overview-bottom,
  .account-profile-grid {
    grid-template-columns: 1fr;
  }

  .account-addresses-grid {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .account-body {
    overflow: auto;
    min-height: auto;
  }

  .account-page {
    height: auto;
    min-height: calc(100dvh - 64px);
    overflow: visible;
  }

  .account-page .container {
    height: auto;
    min-height: 0;
  }

  .account-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .account-content {
    height: auto;
    min-height: 0;
  }

  .account-panel {
    overflow: visible;
    padding-right: 0;
  }

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

  .account-message-form .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .account-layout {
    gap: 10px;
  }

  .account-layout.is-mobile-menu-view .account-content {
    display: none !important;
  }

  .account-layout.is-mobile-section-view .account-menu {
    display: none !important;
  }

  .account-layout.is-mobile-section-view .account-content {
    display: flex;
  }

  .account-mobile-panel-head {
    display: flex;
  }

  .account-mobile-panel-head[hidden] {
    display: none !important;
  }

  .account-content {
    padding: 10px;
  }

  .account-profile-main-grid,
  .account-password-grid,
  .account-address-view-grid,
  .account-request-meta-grid,
  .account-overview-stats,
  .account-overview-actions {
    grid-template-columns: 1fr;
  }

  .account-saved-recipient-list {
    grid-template-columns: 1fr;
  }

  .account-ticket-group {
    gap: 9px;
  }

  .account-ticket-group.is-past {
    margin-top: 10px;
    padding-top: 14px;
  }

  .account-ticket-group-list {
    gap: 8px;
  }

  .account-ticket-group.is-past .account-ticket-group-list {
    padding: 8px;
  }

  .account-ticket-meta-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .account-profile-main-actions {
    flex-direction: column;
  }

  .account-profile-info--summary {
    min-height: 0;
    padding: 16px;
  }

  .account-profile-edit-btn {
    width: 100%;
    justify-self: stretch;
  }

  .account-saved-recipient-head {
    flex-direction: column;
    align-items: stretch;
  }

  .account-saved-recipient-toggle {
    width: 100%;
  }

  .account-saved-recipient-draft-actions {
    flex-direction: column;
  }

  .account-saved-recipient-draft-actions .btn {
    width: 100%;
    justify-self: stretch;
  }

  .account-saved-recipient-confirm-actions {
    flex-direction: column;
  }

  .account-saved-recipient-confirm-actions .btn,
  .account-saved-recipient-item-actions .btn {
    width: 100%;
    justify-self: stretch;
  }

  .account-profile-main-actions .btn,
  .account-password-footer .btn,
  .account-profile-address-footer .btn {
    width: 100%;
    justify-self: stretch;
  }

  .account-addresses-grid,
  .account-requests-grid,
  .account-messages-grid {
    grid-template-columns: 1fr;
    height: auto;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    gap: 10px;
  }

  .account-address-mobile-head,
  .account-request-mobile-head,
  .account-thread-mobile-head {
    display: flex;
  }

  .account-address-mobile-head[hidden],
  .account-request-mobile-head[hidden],
  .account-thread-mobile-head[hidden] {
    display: none !important;
  }

  .account-messages-grid.is-mobile-thread-open .account-thread-view {
    min-height: calc(100dvh - 230px);
  }

  .account-threads,
  .account-thread-view {
    border-radius: 0;
    border: 0;
    background: transparent;
  }

  .account-threads {
    border-right: 0;
    padding: 6px 2px 0;
  }

  .account-thread-view {
    padding: 6px 2px 0;
    gap: 10px;
  }

  .account-thread-mobile-head {
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .account-chat-head {
    padding-top: 0;
  }

  .account-thread-header {
    padding: 9px 10px;
  }

  .account-thread-header-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .account-message-list {
    min-height: clamp(250px, 45vh, 400px);
    padding: 10px;
  }

  .account-message-item {
    max-width: 92%;
  }

  .account-message-form {
    padding: 8px;
  }

  .account-message-form .btn {
    width: 100%;
    min-width: 0;
  }
}

.modal-backdrop,
.modal {
  display: none;
}

body.modal-open .modal-backdrop,
body.modal-open .modal {
  display: grid;
}

.modal[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(6px);
  z-index: 60;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-dialog {
  width: min(920px, calc(100vw - 48px));
  height: min(860px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  max-width: 100%;
  overflow-x: hidden;
  border-radius: 16px;
  padding: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.2) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.25) 0, transparent 60%),
    rgba(2, 6, 23, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.55);
  position: relative;
  font-size: 16px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

.modal-dialog--compact {
  width: min(520px, calc(100vw - 48px));
  height: auto;
  max-height: calc(100dvh - 48px);
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.34) 100%);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 24;
  flex-shrink: 0;
}

.modal-mobile-header {
  display: none;
}

.modal-close {
  order: 2;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  padding: 20px 22px 24px;
  padding-right: 12px;
}

.modal-dialog--compact .modal-body {
  padding: 24px 26px 26px;
}

.modal-dialog--compact .modal-top {
  min-height: auto;
  padding: 10px 12px 0;
  border-bottom: 0;
}

.modal-body > div {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
  padding-bottom: 2px;
}

.modal-dialog--compact .modal-body > div {
  min-height: auto;
}

.modal-body .modal-actions {
  margin-top: auto;
}

.modal-header {
  padding: 6px 4px 18px;
}

.modal-body > div > .modal-header:first-child {
  position: sticky;
  top: 0;
  z-index: 16;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.1) 62%, rgba(2, 6, 23, 0) 100%);
  backdrop-filter: blur(10px);
}

.modal-body > div > .modal-header:first-child::after {
  content: none;
}

.modal-title {
  margin: 0 0 6px;
  font-size: 28px;
}

.modal-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding-top: 18px;
  flex-wrap: wrap;
  align-items: stretch;
}

.event-modal-title {
  margin: 0 0 8px;
  font-size: 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.modal-subtitle,
.modal-dialog [data-event-meta],
.modal-dialog [data-event-description] {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.modal-dialog .card.subtle {
  min-width: 0;
  max-width: 100%;
}

.session-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

@keyframes required-highlight-pulse {
  0% {
    box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.36), 0 10px 22px rgba(30, 64, 175, 0.24);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.62), 0 0 0 5px rgba(59, 130, 246, 0.24), 0 20px 36px rgba(30, 64, 175, 0.38);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.42), 0 14px 30px rgba(30, 64, 175, 0.3);
  }
}

.session-picker.is-required-highlight {
  border-color: rgba(96, 165, 250, 0.96);
  background:
    radial-gradient(circle at 8% 0%, rgba(56, 189, 248, 0.26) 0, transparent 46%),
    radial-gradient(circle at 92% 0%, rgba(129, 140, 248, 0.3) 0, transparent 52%),
    rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.5), 0 0 0 4px rgba(59, 130, 246, 0.2), 0 20px 38px rgba(30, 64, 175, 0.38);
  animation: required-highlight-pulse 0.95s ease-in-out 2;
}

.checkout-delivery-card.is-required-highlight,
.checkout-transfer-card.is-required-highlight,
.checkout-ticket-recipients-card.is-required-highlight,
.checkout-seats-form.is-required-highlight {
  border-color: rgba(99, 102, 241, 0.78);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.16) 0, transparent 44%),
    radial-gradient(circle at 90% 0%, rgba(129, 140, 248, 0.22) 0, transparent 48%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.42), 0 14px 30px rgba(30, 64, 175, 0.32);
  animation: required-highlight-pulse 0.95s ease-in-out 1;
}

.event-flow-section {
  padding-top: 24px;
}

.event-route-layout,
.tickets-route-layout,
.checkout-route-layout {
  display: grid;
  gap: 14px;
}

.event-flow-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}

.event-flow-topbar .btn {
  min-height: 40px;
  flex: 0 0 auto;
}

.event-flow-topbar .stepper {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  order: 2;
}

@media (max-width: 900px) {
  .event-flow-topbar {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
  }

  .event-flow-topbar .stepper {
    flex-basis: 100%;
    order: 3;
  }

  .modal-step--event > .modal-actions [data-event-request-link] {
    display: none;
  }

  .modal-step--event > .event-request-mobile-fallback {
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 8;
    margin-top: 2px;
  }

  .modal-step--event > .event-request-mobile-fallback .btn {
    width: 100%;
  }
}

.event-route-shell,
.tickets-route-shell,
.checkout-route-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-route-shell > .modal-header,
.tickets-route-shell > .modal-header,
.checkout-route-shell > .modal-header {
  padding: 2px 2px 10px;
}

.event-route-shell > .modal-actions,
.checkout-route-shell > .modal-actions {
  margin-top: 0;
}

.event-request-mobile-fallback {
  display: none;
}

.event-request-mobile-fallback-hint {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.event-route-shell > .modal-header {
  margin: 0;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.event-route-shell > .modal-header .modal-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
}

.event-route-shell > .modal-header .modal-subtitle {
  max-width: 78ch;
  margin: 0;
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.55;
}

.event-service-disclosure,
.checkout-service-disclosure {
  margin: 8px 0 0;
  max-width: 76ch;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.5;
}

.event-route-shell > .event-description-card {
  background:
    radial-gradient(circle at 6% 0%, rgba(56, 189, 248, 0.12) 0, transparent 42%),
    linear-gradient(162deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.6));
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22);
}

.event-route-shell > .event-description-card p {
  margin: 0;
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.7;
}

.session-title {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}

.session-picker {
  gap: 14px;
  border-color: rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 4% 0%, rgba(56, 189, 248, 0.16) 0, transparent 44%),
    radial-gradient(circle at 86% 0%, rgba(129, 140, 248, 0.14) 0, transparent 48%),
    rgba(15, 23, 42, 0.68);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.2);
}

.session-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.session-grid.is-collapsed {
  position: relative;
  padding-bottom: 2px;
}

.session-grid.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.94) 100%);
}

.session-group {
  display: grid;
  gap: 8px;
}

.session-group-title {
  margin: 0;
  color: rgba(148, 163, 184, 0.86);
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.session-chip {
  appearance: none;
  display: grid;
  gap: 3px;
  justify-items: start;
  min-height: 58px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.56);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 10px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.session-chip-date {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.session-chip-time {
  font-size: 13px;
  color: rgba(203, 213, 225, 0.82);
}

.session-chip:hover {
  border-color: rgba(129, 140, 248, 0.56);
  background: rgba(30, 41, 59, 0.72);
  transform: translateY(-1px);
}

.session-chip.is-active {
  border-color: rgba(99, 102, 241, 0.78);
  background:
    linear-gradient(140deg, rgba(37, 99, 235, 0.22), rgba(79, 70, 229, 0.2)),
    rgba(15, 23, 42, 0.76);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.28), 0 8px 18px rgba(30, 64, 175, 0.24);
}

.session-grid-toggle.btn {
  margin-top: 2px;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
}

.event-route-shell > .modal-actions,
.modal-step--event > .modal-actions {
  margin-top: 2px;
  padding-top: 14px;
  padding-bottom: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.event-route-shell > .modal-actions .btn,
.modal-step--event > .modal-actions .btn {
  min-height: 44px;
}

.event-route-shell > .modal-actions [data-go-seats],
.modal-step--event > .modal-actions [data-go-seats] {
  min-height: 48px;
  padding: 11px 22px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.event-route-shell > [data-event-internal-links],
.event-route-shell > [data-event-related-links] {
  margin: 0;
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 7% 0%, rgba(56, 189, 248, 0.1) 0, transparent 44%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.58));
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.event-route-shell .related-links-title {
  margin-bottom: 9px;
  color: rgba(148, 163, 184, 0.94);
}

.event-route-shell > .event-address-block,
.modal-step--event > .event-address-block {
  margin: 0;
  padding: 12px 14px;
  border-color: rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.14) 0, transparent 46%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.62));
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading actions"
    "text actions";
  column-gap: 12px;
  row-gap: 4px;
}

.event-route-shell > .event-address-block .related-links-title,
.modal-step--event > .event-address-block .related-links-title {
  grid-area: heading;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.94);
}

.event-address-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(147, 197, 253, 0.95);
  background: rgba(30, 64, 175, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.42);
}

.event-route-shell > .event-address-block .event-address-text,
.modal-step--event > .event-address-block .event-address-text {
  grid-area: text;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
  white-space: pre-line;
}

.event-route-shell > .event-address-block .event-address-map-actions,
.modal-step--event > .event-address-block .event-address-map-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  justify-self: end;
  align-self: start;
}

.event-route-shell > .event-address-block .event-address-map-btn,
.modal-step--event > .event-address-block .event-address-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 108px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.62);
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.event-route-shell > .event-address-block .event-address-map-btn:hover,
.modal-step--event > .event-address-block .event-address-map-btn:hover {
  border-color: rgba(99, 102, 241, 0.58);
  background: rgba(30, 41, 59, 0.82);
  color: #f8fafc;
}

.event-route-shell > .event-address-block .event-address-map-btn:focus-visible,
.modal-step--event > .event-address-block .event-address-map-btn:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.7);
  outline-offset: 2px;
}

.event-route-shell .link-chip-list {
  gap: 7px;
}

.event-route-shell .link-chip {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.68);
  color: rgba(219, 234, 254, 0.92);
}

.event-route-shell .link-chip:hover {
  border-color: rgba(99, 102, 241, 0.58);
  background: rgba(30, 41, 59, 0.82);
}

.event-route-shell .card:not(.is-required-highlight):hover {
  transform: none;
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.2);
}

.modal-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.modal-success {
  text-align: center;
  padding: 0 6px 8px;
}

.modal-success__actions {
  justify-content: center;
  margin-top: 18px;
}

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

.card.subtle {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.35);
}

.modal-dialog .card {
  padding: 22px 22px 24px;
}

.modal-dialog .card,
.modal-dialog .form,
.summary-row,
.checkout-consents,
.transfer-details {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.modal-dialog .form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  min-width: 0;
}

.modal-dialog .form input,
.modal-dialog .form textarea,
.modal-dialog .form select {
  font-size: 15px;
  padding: 11px 12px;
  min-height: 44px;
}

.modal-dialog .form select {
  appearance: none;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(79, 70, 229, 0.12)),
    rgba(15, 23, 42, 0.9);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23c7d2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 8px;
}

.country-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}

.country-field select {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.phone-field select {
  flex: 0 0 45%;
  min-width: 0;
}

.phone-field input {
  flex: 1 1 auto;
  min-width: 0;
}

.info-btn {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.info-btn:hover {
  border-color: rgba(99, 102, 241, 0.8);
  color: var(--text);
}

.info-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.65);
  outline-offset: 2px;
}

.tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.6);
  z-index: 30;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.tooltip:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.modal-dialog .form-note {
  font-size: 12px;
}

.modal-dialog .btn {
  padding: 11px 20px;
  font-size: 15px;
  max-width: 100%;
  white-space: normal;
}

.venue-detail {
  display: grid;
  gap: 10px;
}

.venue-detail .venue-title {
  margin: 0;
  font-size: 16px;
}

.venue-detail .venue-text p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.venue-detail .venue-text p:last-child {
  margin-bottom: 0;
}

.venue-detail.is-collapsed .venue-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.venue-detail .venue-toggle {
  align-self: flex-start;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex: 1;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  order: 1;
}

.stepper::-webkit-scrollbar {
  height: 0;
}

.stepper .step {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.stepper .step.is-clickable {
  cursor: pointer;
}

.stepper .step.is-complete {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.17);
  color: #d1fae5;
}

.stepper .step.is-error {
  border-color: rgba(248, 113, 113, 0.76);
  background: rgba(127, 29, 29, 0.34);
  color: #fee2e2;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28), 0 10px 20px rgba(127, 29, 29, 0.3);
}

.stepper .step.is-active {
  color: #f9fafb;
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.18);
}

.event-hero-media {
  min-width: 0;
}

.event-hero-image-card {
  position: relative;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 189, 248, 0.22) 0, transparent 52%),
    radial-gradient(circle at 80% 14%, rgba(129, 140, 248, 0.28) 0, transparent 58%),
    rgba(2, 6, 23, 0.82);
  box-shadow: 0 20px 36px rgba(2, 6, 23, 0.46);
}

.event-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.event-hero-fallback {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 0.75) 100%),
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.25) 0, transparent 58%),
    radial-gradient(circle at 85% 10%, rgba(129, 140, 248, 0.35) 0, transparent 62%);
}

.event-hero-fallback-title {
  color: var(--text);
  font-size: 19px;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-hero-fallback-subtitle {
  color: var(--text-soft);
  font-size: 12px;
}

.transfer-details {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.transfer-details summary {
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
}

.checkout-transfer-card {
  margin: 0;
  padding: 14px 16px 12px;
  border: 1px solid rgba(99, 102, 241, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.08) 0, transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(129, 140, 248, 0.12) 0, transparent 46%),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.3);
  display: grid;
  gap: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-booking-protection-card {
  margin: 0;
  padding: 14px 16px 12px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.08) 0, transparent 42%),
    radial-gradient(circle at 90% 0%, rgba(129, 140, 248, 0.1) 0, transparent 46%),
    rgba(15, 23, 42, 0.56);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.28);
  display: grid;
  gap: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-booking-protection-card.is-enabled {
  border-color: rgba(99, 102, 241, 0.42);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.35);
}

.checkout-booking-protection-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.checkout-booking-protection-summary {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.checkout-booking-protection-title {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}

.checkout-booking-protection-text {
  margin: 0;
  color: rgba(203, 213, 225, 0.9);
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 64ch;
}

.checkout-booking-protection-toggle-wrap {
  display: inline-flex;
  justify-self: end;
  align-self: start;
}

.checkout-booking-protection-price {
  margin: 0;
  align-self: start;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 2px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.checkout-booking-protection-price-label {
  color: rgba(148, 163, 184, 0.92);
  font-size: 11.5px;
  line-height: 1.2;
}

.checkout-booking-protection-price-amount {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.checkout-booking-protection-card.is-enabled .checkout-booking-protection-price {
  border-color: rgba(99, 102, 241, 0.44);
  background: rgba(30, 41, 59, 0.74);
}

.checkout-delivery-card {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.08) 0, transparent 40%),
    radial-gradient(circle at 90% 4%, rgba(129, 140, 248, 0.1) 0, transparent 46%),
    rgba(15, 23, 42, 0.6);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.28);
  display: grid;
  gap: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-delivery-card-head {
  display: grid;
  gap: 6px;
}

.checkout-delivery-card-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
}

.checkout-delivery-card-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
}

.checkout-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.checkout-delivery-grid label {
  margin-bottom: 0;
}

.checkout-delivery-grid-full {
  grid-column: 1 / -1;
}

.checkout-delivery-save-wrap {
  grid-column: 2 / 3;
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 6px;
}

.checkout-delivery-save-btn.btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
}

.checkout-delivery-save-note {
  margin-top: 0;
  text-align: right;
}

.checkout-delivery-save-note.is-error {
  color: var(--danger);
}

.checkout-delivery-save-note.is-success {
  color: rgba(34, 197, 94, 0.95);
}

.checkout-delivery-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.checkout-transfer-card.is-enabled {
  padding: 16px 16px 14px;
  gap: 12px;
  border-color: rgba(99, 102, 241, 0.42);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.38);
}

.checkout-transfer-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.checkout-transfer-summary {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.checkout-transfer-card-title {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}

.checkout-transfer-summary-text {
  margin: 0;
  color: rgba(203, 213, 225, 0.9);
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 64ch;
}

.checkout-transfer-card-note {
  margin: 0;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.35;
}

.checkout-transfer-card.is-enabled .checkout-transfer-card-note {
  display: none;
}

.checkout-transfer-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  justify-self: end;
  align-self: start;
}

.checkout-transfer-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 24px;
  gap: 0;
  cursor: pointer;
  user-select: none;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 0;
}

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

.checkout-transfer-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-transfer-toggle-ui {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkout-transfer-toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.9);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.checkout-transfer-toggle input[type="checkbox"]:checked + .checkout-transfer-toggle-ui {
  border-color: rgba(99, 102, 241, 0.95);
  background: rgba(79, 70, 229, 0.3);
}

.checkout-transfer-toggle input[type="checkbox"]:checked + .checkout-transfer-toggle-ui::after {
  transform: translateX(18px);
  background: #f8fafc;
}

.checkout-transfer-toggle input[type="checkbox"]:focus-visible + .checkout-transfer-toggle-ui {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.28);
}

.checkout-transfer-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-transfer-preview-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.52);
  color: rgba(203, 213, 225, 0.92);
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.checkout-transfer-card.is-enabled .checkout-transfer-preview {
  display: none;
}

.checkout-transfer-fields {
  margin-top: 4px;
}

.transfer-inline {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.checkout-seats-shell {
  display: grid;
  gap: 18px;
}

.checkout-seats-left-col {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.checkout-seats-form {
  margin: 0;
}

.checkout-ticket-recipients-card {
  margin: 0;
  display: grid;
  gap: 12px;
}

.checkout-ticket-recipients-head {
  display: grid;
  gap: 6px;
}

.checkout-ticket-recipients-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text);
}

.checkout-ticket-recipients-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

.checkout-ticket-recipients-state {
  margin: 0;
}

.checkout-ticket-recipients-state.is-error {
  color: #fda4af;
}

.checkout-ticket-recipients-state.is-success {
  color: #86efac;
}

.checkout-ticket-recipients-list {
  display: grid;
  gap: 10px;
}

.checkout-ticket-recipient-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.48);
}

.checkout-ticket-recipient-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-ticket-recipient-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.checkout-ticket-recipient-item select,
.checkout-ticket-recipient-draft input:not([type="checkbox"]),
.checkout-ticket-recipient-draft select {
  width: 100%;
  min-height: 42px;
}

.checkout-ticket-recipient-item select.is-locked {
  opacity: 1;
  cursor: not-allowed;
  color: rgba(226, 232, 240, 0.92);
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(30, 41, 59, 0.74);
}

.checkout-ticket-recipient-locked-note {
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.96);
}

.checkout-ticket-recipient-draft {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.checkout-ticket-recipient-draft-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.checkout-ticket-recipient-draft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-ticket-recipient-draft-grid label {
  margin: 0;
}

.checkout-ticket-recipient-draft-grid label > span {
  font-size: 12px;
  color: var(--text-soft);
}

.checkout-ticket-recipient-draft-grid .checkout-ticket-recipient-draft-full {
  grid-column: 1 / -1;
}

.checkout-ticket-recipient-draft-save {
  margin-top: 4px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 14px;
  min-height: 30px;
  padding: 2px 0;
  border: 0;
  background: transparent;
}

.checkout-ticket-recipient-draft-save input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  min-width: 19px;
  min-height: 19px;
  margin: 0;
  margin-left: auto;
  flex: 0 0 19px;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.72);
  background: rgba(15, 23, 42, 0.92);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.checkout-ticket-recipient-draft-save input[type="checkbox"]::before {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid rgba(226, 232, 240, 0.98);
  border-bottom: 2px solid rgba(226, 232, 240, 0.98);
  transform: translateY(-0.5px) rotate(45deg) scale(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.checkout-ticket-recipient-draft-save input[type="checkbox"]:checked {
  border-color: rgba(99, 102, 241, 0.86);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.88), rgba(56, 189, 248, 0.74));
}

.checkout-ticket-recipient-draft-save input[type="checkbox"]:checked::before {
  transform: translateY(-0.5px) rotate(45deg) scale(1);
  opacity: 1;
}

.checkout-ticket-recipient-draft-save input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.28);
}

.checkout-ticket-recipient-draft-save input[type="checkbox"]:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.checkout-ticket-recipient-draft-save > span {
  font-size: 12.5px;
  line-height: 1.38;
  color: rgba(191, 203, 224, 0.96);
  margin: 0;
  padding-right: 8px;
  flex: 1 1 auto;
}

.checkout-ticket-recipient-draft-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.checkout-ticket-recipient-draft-actions .btn {
  min-height: 36px;
}

.checkout-ticket-recipient-draft-note {
  margin: 0;
}

.checkout-order-row--ticket-recipients strong {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: normal;
}

.checkout-ticket-summary-line {
  display: block;
  max-width: 270px;
  overflow-wrap: anywhere;
}

.checkout-seats-form-group {
  display: grid;
  gap: 10px;
}

.tickets-route-shell.modal-step--seats [data-seats-left-col] {
  font-size: 15px;
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > span {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-soft);
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select {
  width: 100%;
  margin-top: 4px;
  min-height: 46px;
  font-size: 15px;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.56);
  border-radius: 12px;
  padding: 10px 42px 10px 12px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(8, 15, 32, 0.94);
  background-image:
    linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(79, 70, 229, 0.14)),
    url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23cbd5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, 14px 8px;
  background-position: 0 0, right 12px center;
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.12);
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select:hover {
  border-color: rgba(129, 140, 248, 0.72);
  background-color: rgba(10, 18, 38, 0.96);
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select:focus-visible {
  outline: none;
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.22);
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select option {
  color: #e2e8f0;
  background: #0f172a;
}

.checkout-qty-control {
  --qty-btn-size: 36px;
  display: inline-grid;
  grid-template-columns: var(--qty-btn-size) minmax(54px, 64px) var(--qty-btn-size);
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 12px;
  background: rgba(8, 15, 32, 0.9);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.checkout-qty-btn {
  min-width: var(--qty-btn-size);
  width: var(--qty-btn-size);
  min-height: var(--qty-btn-size);
  height: var(--qty-btn-size);
  margin: 0;
  border: 0;
  padding: 0;
  background: rgba(30, 41, 59, 0.64);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.checkout-qty-btn[data-qty-decrease] {
  border-right: 1px solid rgba(148, 163, 184, 0.24);
}

.checkout-qty-btn[data-qty-increase] {
  border-left: 1px solid rgba(148, 163, 184, 0.24);
}

.checkout-qty-btn:hover:not(:disabled),
.checkout-qty-btn:focus-visible:not(:disabled) {
  background: rgba(79, 70, 229, 0.36);
  color: #f8fafc;
}

.checkout-qty-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.checkout-qty-input {
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: var(--qty-btn-size) !important;
  height: var(--qty-btn-size);
  width: 100%;
  padding: 0 8px !important;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  background: transparent !important;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  caret-color: #e2e8f0;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.checkout-qty-input:focus-visible {
  outline: none;
}

.checkout-qty-input::-webkit-inner-spin-button,
.checkout-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input) {
  color-scheme: dark;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  caret-color: #e2e8f0;
  padding-right: 42px;
}

.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input)::-webkit-inner-spin-button,
.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input)::-webkit-outer-spin-button {
  opacity: 1;
  filter: invert(1) brightness(2.6) contrast(1.24);
}

.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input):hover::-webkit-inner-spin-button,
.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input):hover::-webkit-outer-spin-button,
.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input):focus-visible::-webkit-inner-spin-button,
.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input):focus-visible::-webkit-outer-spin-button {
  filter: invert(1) brightness(3) contrast(1.34);
}

.modal-step--seats .checkout-seats-left-col input[type="number"]:not(.checkout-qty-input):disabled {
  color: rgba(226, 232, 240, 0.62);
  -webkit-text-fill-color: rgba(226, 232, 240, 0.62);
}

@media (max-width: 640px) {
  .tickets-route-shell.modal-step--seats [data-seats-left-col] {
    font-size: 14px;
  }

  .tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > span,
  .tickets-route-shell.modal-step--seats .checkout-seats-form-group > label > select {
    font-size: 14px;
  }

  .checkout-qty-control {
    --qty-btn-size: 34px;
    grid-template-columns: var(--qty-btn-size) minmax(50px, 58px) var(--qty-btn-size);
  }

  .checkout-qty-btn {
    font-size: 18px;
  }

  .checkout-ticket-recipient-draft-grid {
    grid-template-columns: 1fr;
  }

  .checkout-ticket-recipient-draft-actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .checkout-ticket-recipient-draft-actions .btn {
    flex: 1 1 auto;
  }
}

.checkout-order-panel {
  margin: 0;
  display: grid;
  gap: 14px;
  min-height: 560px;
  border: 1px solid rgba(99, 102, 241, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.12) 0, transparent 42%),
    radial-gradient(circle at 82% 10%, rgba(129, 140, 248, 0.16) 0, transparent 50%),
    rgba(2, 6, 23, 0.76);
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.35);
}

.checkout-order-head {
  display: grid;
  gap: 6px;
}

.checkout-order-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
}

.checkout-order-event {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.42;
}

.checkout-order-list {
  display: grid;
  gap: 8px;
}

.checkout-order-disclosure {
  margin: 0;
  color: rgba(148, 163, 184, 0.88);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.56);
  font-size: 13px;
  color: var(--text-soft);
}

.checkout-order-row strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.checkout-order-row--delivery-address strong {
  max-width: 260px;
  overflow-wrap: anywhere;
}

.checkout-order-total {
  margin: 0;
  border-style: solid;
  border-color: rgba(99, 102, 241, 0.48);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.checkout-order-total strong {
  font-size: 24px;
}

.checkout-consents {
  margin: 0;
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.42);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-consents.is-required-highlight {
  border-color: rgba(96, 165, 250, 0.88);
  background:
    linear-gradient(145deg, rgba(30, 58, 138, 0.38) 0%, rgba(15, 23, 42, 0.66) 100%);
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.46), 0 0 0 4px rgba(59, 130, 246, 0.16), 0 14px 30px rgba(30, 64, 175, 0.32);
  animation: required-highlight-pulse 0.95s ease-in-out 2;
}

.modal-step--seats [data-seats-submit] {
  min-height: 50px;
}

.modal-step--seats [data-seats-submit].is-error {
  border-color: rgba(251, 113, 133, 0.56);
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.72), rgba(76, 29, 149, 0.58));
  color: rgba(255, 241, 242, 0.96);
  box-shadow:
    0 0 0 1px rgba(251, 113, 133, 0.22),
    0 10px 20px rgba(76, 29, 149, 0.24);
  animation: required-highlight-pulse 0.8s ease-in-out 1;
}

.checkout-final-summary-card {
  margin: 0;
  padding: 26px;
  min-height: clamp(420px, 58vh, 640px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.14) 0, transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(129, 140, 248, 0.2) 0, transparent 52%),
    rgba(2, 6, 23, 0.8);
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow: 0 24px 40px rgba(2, 6, 23, 0.45);
}

.checkout-final-summary-card.is-required-highlight {
  border-color: rgba(129, 140, 248, 0.82);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.4),
    0 0 0 4px rgba(99, 102, 241, 0.16),
    0 20px 38px rgba(2, 6, 23, 0.5);
  animation: required-highlight-pulse 0.95s ease-in-out 1;
}

.checkout-final-summary-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.checkout-final-summary-head {
  display: grid;
  gap: 8px;
}

.checkout-final-summary-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.84);
}

.checkout-final-summary-title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  color: var(--text);
  overflow-wrap: anywhere;
}

.checkout-final-summary-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.checkout-final-summary-list {
  display: grid;
  gap: 10px;
}

.checkout-final-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.56);
  color: var(--text-soft);
  font-size: 13px;
}

.checkout-final-summary-row strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.checkout-final-summary-total {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(99, 102, 241, 0.56);
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(99, 102, 241, 0.2) 0%, rgba(15, 23, 42, 0.84) 100%);
  padding: 14px 16px;
  color: var(--text);
}

.checkout-final-summary-total span {
  font-size: 16px;
  font-weight: 600;
}

.checkout-final-summary-total strong {
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1;
}

.checkout-payment-panel {
  margin: 0;
  display: grid;
  gap: 14px;
  align-content: start;
  align-self: start;
  min-height: 0;
  padding: 20px;
  border-color: rgba(148, 163, 184, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.12) 0, transparent 48%),
    rgba(15, 23, 42, 0.7);
}

.checkout-payment-panel-head {
  display: grid;
  gap: 8px;
}

.checkout-payment-panel-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.44);
  background: rgba(79, 70, 229, 0.16);
  color: #c7d2fe;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.checkout-payment-panel-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text);
}

.checkout-payment-panel-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.checkout-payment-panel .btn {
  min-height: 50px;
  font-size: 15px;
}

.checkout-payment-panel .checkout-owner-bypass-btn {
  justify-self: end;
  width: auto;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.86);
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.28);
}

.checkout-payment-panel .checkout-owner-bypass-btn:hover,
.checkout-payment-panel .checkout-owner-bypass-btn:focus-visible {
  border-color: rgba(99, 102, 241, 0.48);
  color: rgba(199, 210, 254, 0.96);
  background: rgba(79, 70, 229, 0.2);
}

.checkout-payment-panel .checkout-owner-bypass-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.modal-dialog.modal-dialog--thanks-layout {
  width: min(760px, calc(100vw - 48px));
  height: auto;
  max-height: calc(100dvh - 48px);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.modal-dialog.modal-dialog--thanks-layout .modal-top {
  min-height: 0;
  padding: 0 0 10px;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  position: static;
}

.modal-dialog.modal-dialog--thanks-layout .modal-body {
  padding: 0;
  padding-right: 0;
  margin: 0;
  scrollbar-gutter: auto;
}

.modal-dialog.modal-dialog--thanks-layout .modal-close {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.32);
}

.modal-dialog.modal-dialog--thanks-layout .modal-body > div {
  min-height: auto;
  padding-bottom: 0;
}

.modal-dialog.modal-dialog--thanks-layout .modal-body > .modal-step--thanks {
  margin: 0;
  max-width: 100%;
  gap: 0;
}

.modal-body > .modal-step--thanks {
  min-height: auto;
  width: 100%;
  max-width: min(760px, 100%);
  margin: clamp(12px, 3.8vh, 48px) auto;
  gap: 14px;
  align-content: start;
}

.modal-step--thanks > .checkout-thanks-card {
  margin: 0;
  padding: 24px 26px;
  display: grid;
  gap: 16px;
  border-color: rgba(99, 102, 241, 0.34);
  background:
    radial-gradient(circle at 16% 0%, rgba(56, 189, 248, 0.14) 0, transparent 46%),
    radial-gradient(circle at 84% 6%, rgba(129, 140, 248, 0.2) 0, transparent 54%),
    rgba(2, 6, 23, 0.82);
  box-shadow: 0 20px 34px rgba(2, 6, 23, 0.42);
}

.checkout-thanks-header {
  padding: 0;
}

.checkout-thanks-header .modal-title {
  margin: 0 0 4px;
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1.12;
}

.checkout-thanks-header .modal-subtitle {
  font-size: 15px;
  line-height: 1.45;
}

.checkout-thanks-summary {
  display: grid;
  gap: 10px;
}

.checkout-thanks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.56);
  font-size: 13px;
  color: var(--text-soft);
}

.checkout-thanks-row strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.checkout-thanks-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.52;
}

.checkout-thanks-calendar {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.44);
}

.checkout-thanks-calendar-title {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-thanks-calendar-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-thanks-calendar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-thanks-calendar-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  font-size: 13px;
  padding-inline: 10px;
}

.checkout-thanks-card > .checkout-thanks-actions {
  margin-top: 2px;
  justify-content: center;
  padding-top: 4px;
}

.checkout-thanks-card > .checkout-thanks-actions .btn {
  min-width: 172px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  position: relative;
}

.consent-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.consent-box {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.58);
  background: rgba(15, 23, 42, 0.84);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.consent-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease-out;
}

.consent-row input[type="checkbox"]:focus-visible + .consent-box {
  outline: 2px solid rgba(129, 140, 248, 0.9);
  outline-offset: 2px;
}

.consent-row input[type="checkbox"]:checked + .consent-box {
  border-color: rgba(99, 102, 241, 0.9);
  background: rgba(99, 102, 241, 0.24);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35);
}

.consent-row input[type="checkbox"]:checked + .consent-box::after {
  transform: rotate(45deg) scale(1);
}

.consent-row:hover .consent-box {
  border-color: rgba(148, 163, 184, 0.72);
}

.consent-text {
  min-width: 0;
  flex: 1 1 auto;
}

.consent-row a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-row a:hover {
  color: #e2e8f0;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: saturate(0.8);
}

.transfer-arrival-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.transfer-arrival-row input {
  min-width: 0;
}

.transfer-arrival-row input[type="time"] {
  color-scheme: dark;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.65);
  margin-bottom: 12px;
}

.summary-row strong {
  font-size: 18px;
  margin-left: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .modal {
    padding: 16px;
  }

  .modal-dialog {
    width: min(92vw, 860px);
    height: min(92dvh, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
  }

  .modal-dialog--compact {
    max-height: calc(100dvh - 32px);
  }
}

@media (max-width: 960px) {
  .event-hero-image-card {
    min-height: 0;
  }

  .checkout-transfer-card-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .checkout-booking-protection-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .checkout-transfer-toggle-wrap {
    justify-self: start;
  }

  .checkout-booking-protection-toggle-wrap {
    justify-self: start;
  }

  .checkout-delivery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-delivery-save-wrap {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .checkout-delivery-save-note {
    text-align: left;
  }

  .transfer-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .consent-row {
    font-size: 12px;
  }

  .transfer-arrival-row {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .stepper {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .modal-dialog {
    width: min(92vw, 100%);
    height: min(92dvh, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-body {
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .modal {
    place-items: end center;
    padding: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .modal-dialog {
    width: calc(100vw - 16px);
    height: min(92dvh, calc(100dvh - 16px));
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .modal-dialog--compact {
    max-height: calc(100dvh - 16px);
  }

  .modal-dialog.modal-dialog--thanks-layout {
    width: calc(100vw - 16px);
    height: auto;
    max-height: calc(100dvh - 16px);
  }

  .modal-top {
    padding: 10px 12px;
    min-height: 56px;
  }

  .modal-dialog.modal-dialog--thanks-layout .modal-top {
    padding: 0 0 8px;
    min-height: 0;
  }

  .modal-body {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
    padding-right: 10px;
  }

  .modal-dialog.modal-dialog--thanks-layout .modal-body {
    padding: 0;
    padding-right: 0;
  }

  .modal-dialog.modal-dialog--thanks-layout .modal-body > div {
    min-height: auto;
    padding-bottom: 0;
  }

  .modal-actions {
    flex-direction: column;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.96) 20%, rgba(2, 6, 23, 0.96) 100%);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    margin-top: 4px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .modal-body > .modal-step--thanks {
    max-width: 100%;
    margin: 0 auto;
    gap: 10px;
  }

  .modal-dialog.modal-dialog--thanks-layout .modal-body > .modal-step--thanks {
    gap: 0;
  }

  .modal-step--thanks > .checkout-thanks-card {
    padding: 18px 16px;
    gap: 12px;
  }

  .checkout-thanks-header .modal-title {
    font-size: 24px;
  }

  .checkout-thanks-row {
    padding: 10px 12px;
  }

  .checkout-thanks-calendar-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-thanks-card > .checkout-thanks-actions {
    position: static;
    background: transparent;
    padding: 2px 0 calc(4px + env(safe-area-inset-bottom));
    margin-top: 0;
    gap: 10px;
  }

  .checkout-thanks-card > .checkout-thanks-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .checkout-thanks-calendar-actions .btn,
  .checkout-delivery-save-btn.btn {
    font-size: 14px;
    line-height: 1.25;
  }

  .checkout-seats-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .modal-step--event > .modal-header {
    order: 1;
    position: static;
    padding: 0 2px 2px;
    background: transparent;
    backdrop-filter: none;
  }

  .modal-step--event > .modal-header .modal-title {
    display: none;
  }

  .modal-step--event > .modal-header .modal-subtitle {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-soft);
  }

  .modal-step--event > .event-hero-media {
    order: 2;
  }

  .modal-step--event > .event-description-card {
    order: 3;
  }

  .modal-step--event > .session-picker {
    order: 4;
  }

  .modal-step--event > .modal-actions {
    order: 5;
  }

  .modal-step--event > [data-event-venue-address] {
    order: 6;
  }

  .modal-step--event > [data-event-internal-links] {
    order: 7;
  }

  .modal-step--event > [data-event-related-links] {
    order: 8;
  }

  .modal-step--event > .event-request-mobile-fallback {
    order: 9;
  }

  .modal-step--event .event-hero-media {
    width: 100%;
  }

  .modal-step--event .event-hero-image-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
    border-radius: 14px;
  }

  .modal {
    padding: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }

  .modal-dialog {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 18px;
  }

  .modal-dialog--compact {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    min-height: 52px;
    padding: 8px 10px;
  }

  .stepper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    flex: 1 1 auto;
    width: 100%;
    overflow: visible;
  }

  .stepper .step {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }

  .modal-body {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
    padding-right: 8px;
  }

  .modal-body > div {
    gap: 12px;
  }

  .modal-dialog .card {
    padding: 16px;
  }

  .modal-header {
    padding: 2px 2px 14px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-subtitle {
    font-size: 14px;
    line-height: 1.35;
  }

  .modal-dialog .form label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .modal-dialog .form input,
  .modal-dialog .form textarea,
  .modal-dialog .form select {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 14px;
  }

  .phone-field {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .phone-field select,
  .phone-field input {
    flex: 1 1 auto;
    width: 100%;
  }

  .modal-dialog .btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .modal-dialog .form-note {
    font-size: 11px;
    line-height: 1.35;
  }

  .event-modal-title {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .session-picker {
    gap: 10px;
  }

  .session-title {
    font-size: 12px;
  }

  .session-grid {
    gap: 10px;
  }

  .session-group {
    gap: 7px;
  }

  .session-group-title {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .session-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .session-chip {
    min-height: 50px;
    padding: 7px 8px;
    border-radius: 10px;
  }

  .session-chip-date,
  .session-chip-time {
    font-size: 12px;
  }

  .session-grid-toggle.btn {
    width: 100%;
    justify-content: center;
  }

  .modal-dialog [data-seats-form],
  .modal-dialog [data-payment-form] {
    display: grid;
    gap: 10px;
  }

  .modal-dialog [data-seats-form] label,
  .modal-dialog [data-payment-form] label {
    margin-bottom: 0;
  }

  .transfer-details {
    padding: 10px 12px;
    margin: 2px 0 4px;
  }

  .summary-row {
    padding: 10px 12px;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .summary-row strong {
    font-size: 16px;
  }

  .checkout-order-panel {
    gap: 12px;
    min-height: 0;
  }

  .checkout-order-head {
    gap: 4px;
  }

  .checkout-order-title {
    font-size: 18px;
  }

  .checkout-order-row {
    padding: 9px 10px;
    font-size: 12px;
  }

  .checkout-order-total strong {
    font-size: 20px;
  }

  .checkout-order-panel .checkout-consents {
    gap: 8px;
    padding: 10px;
  }

  .consent-row {
    gap: 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .modal-mobile-header {
    display: none !important;
  }

  .modal-mobile-title {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.7);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .modal-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
  }

  .modal-mobile-back:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .modal-mobile-spacer {
    display: none;
  }
}

@media (max-width: 380px) {
  .modal-top {
    gap: 6px;
    padding: 8px;
  }

  .stepper {
    gap: 4px;
  }

  .stepper .step {
    min-height: 30px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .modal-body {
    padding: 10px 10px calc(14px + env(safe-area-inset-bottom));
    padding-right: 7px;
  }

  .modal-dialog .card {
    padding: 14px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-dialog .form input,
  .modal-dialog .form textarea,
  .modal-dialog .form select,
  .modal-dialog .btn {
    font-size: 14px;
  }

  .summary-row,
  .transfer-details {
    padding: 9px 10px;
  }

  .checkout-order-panel {
    gap: 10px;
    min-height: 0;
  }
}

/* date picker sizing (bigger + more readable) */
.date-picker {
  width: min(520px, calc(100vw - 24px));
  padding: 18px;
}

.date-picker-title {
  font-size: 16px;
}

.date-picker-weekdays {
  font-size: 13px;
}

.date-day {
  height: 52px;
  font-size: 15px;
}

.date-picker.date-picker--compact {
  width: min(300px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 14px;
}

.date-picker.date-picker--compact .date-picker-header {
  padding: 0 0 8px;
}

.date-picker.date-picker--compact .date-picker-title {
  font-size: 13px;
}

.date-picker.date-picker--compact .date-picker-controls {
  gap: 6px;
}

.date-picker.date-picker--compact .date-picker-nav {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.date-picker.date-picker--compact .date-picker-weekdays {
  font-size: 11px;
  gap: 6px;
  padding: 0 0 6px;
}

.date-picker.date-picker--compact .date-picker-grid {
  gap: 6px;
}

.date-picker.date-picker--compact .date-day {
  height: 34px;
  font-size: 12px;
  border-radius: 10px;
}

/* fullscreen checkout shell (desktop/tablet) */
@media (min-width: 1025px) {
  .modal {
    padding: 12px;
    place-items: center;
  }

  .modal-dialog:not(.modal-dialog--compact) {
    width: min(1540px, calc(100vw - 24px));
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-top {
    min-height: 74px;
    padding: 14px 24px;
    border-bottom-color: rgba(148, 163, 184, 0.14);
  }

  .modal-dialog:not(.modal-dialog--compact) .stepper {
    gap: 12px;
  }

  .modal-dialog:not(.modal-dialog--compact) .stepper .step {
    font-size: 13px;
    padding: 12px 14px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-body {
    padding: 28px 34px 30px;
    padding-right: 20px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-body > div {
    gap: 20px;
    max-width: 1360px;
    margin: 0 auto;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-body > .modal-step--thanks {
    max-width: min(760px, 100%);
    margin: clamp(6px, 3.6vh, 42px) auto;
    gap: 16px;
  }

  .modal-dialog:not(.modal-dialog--compact).modal-dialog--thanks-layout {
    width: min(760px, calc(100vw - 48px));
    height: auto;
    max-height: calc(100dvh - 48px);
  }

  .modal-dialog:not(.modal-dialog--compact).modal-dialog--thanks-layout .modal-top {
    min-height: 0;
    padding: 0 0 12px;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .modal-dialog:not(.modal-dialog--compact).modal-dialog--thanks-layout .modal-body {
    padding: 0;
    padding-right: 0;
  }

  .modal-dialog:not(.modal-dialog--compact).modal-dialog--thanks-layout .modal-body > div {
    min-height: auto;
    padding-bottom: 0;
  }

  .modal-dialog:not(.modal-dialog--compact).modal-dialog--thanks-layout .modal-body > .modal-step--thanks {
    max-width: 100%;
    margin: 0;
    gap: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-body > div > .modal-header:first-child {
    position: static;
    background: transparent;
    backdrop-filter: none;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-header {
    padding: 2px 2px 8px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-title {
    font-size: 32px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-subtitle {
    font-size: 16px;
  }

  .modal-dialog:not(.modal-dialog--compact) .card {
    padding: 24px;
  }

  .modal-dialog:not(.modal-dialog--compact) .form label {
    gap: 10px;
    margin-bottom: 14px;
  }

  .modal-dialog:not(.modal-dialog--compact) .form input,
  .modal-dialog:not(.modal-dialog--compact) .form textarea,
  .modal-dialog:not(.modal-dialog--compact) .form select {
    min-height: 46px;
    font-size: 15px;
  }

  .modal-dialog:not(.modal-dialog--compact) .session-group-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-actions {
    padding-top: 14px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group {
    gap: 8px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group > label {
    display: grid;
    grid-template-columns: minmax(190px, 0.9fr) minmax(260px, 1.1fr);
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group > label > span {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--text-soft);
    overflow-wrap: anywhere;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group > label > input,
  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group > label > select {
    margin-top: 0;
    width: 100%;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-seats-form-group > label > .checkout-qty-control {
    margin-top: 0;
    justify-self: start;
  }
}

@media (min-width: 1280px) {
  .modal-dialog:not(.modal-dialog--compact) .modal-step--event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header header"
      "event image"
      "sessions image"
      "actions actions"
      "internal ."
      "related .";
    row-gap: 18px;
    column-gap: 24px;
    align-items: stretch;
    min-height: clamp(680px, calc(100dvh - 210px), 920px);
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event:not(.has-event-image) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header"
      "event"
      "sessions"
      "actions"
      "internal"
      "related";
    min-height: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .modal-header {
    grid-area: header;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .event-description-card {
    grid-area: event;
    margin: 0;
    align-self: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .event-hero-media {
    grid-area: image;
    margin: 0;
    justify-self: end;
    align-self: start;
    width: min(100%, 360px);
    min-height: 0;
    height: auto;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .event-hero-media .event-hero-image-card {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 360px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .session-picker {
    grid-area: sessions;
    margin: 0;
    align-self: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > .modal-actions {
    grid-area: actions;
    align-self: start;
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > [data-event-internal-links] {
    grid-area: internal;
    margin: 0;
    width: min(100%, 520px);
    justify-self: start;
    align-self: start;
    padding: 12px 13px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > [data-event-related-links] {
    grid-area: related;
    margin: 0;
    width: min(100%, 620px);
    justify-self: start;
    align-self: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > [data-event-internal-links] .link-chip-list {
    gap: 6px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event > [data-event-internal-links] .link-chip {
    padding: 5px 9px;
    font-size: 11px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event.has-event-address {
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header header"
      "event image"
      "sessions address"
      "actions actions"
      "internal ."
      "related .";
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event.has-event-address > [data-event-venue-address] {
    grid-area: address;
    margin: 0;
    width: min(100%, 360px);
    justify-self: end;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event.has-event-address:not(.has-event-image) {
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-template-areas:
      "header"
      "event"
      "sessions"
      "actions"
      "address"
      "internal"
      "related";
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--event.has-event-address:not(.has-event-image) > [data-event-venue-address] {
    grid-area: address;
    width: min(100%, 620px);
    justify-self: start;
  }

  .event-route-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header header"
      "event image"
      "sessions image"
      "actions actions"
      "internal ."
      "related .";
    row-gap: 18px;
    column-gap: 24px;
    align-items: stretch;
  }

  .event-route-shell:not(.has-event-image) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header"
      "event"
      "sessions"
      "actions"
      "internal"
      "related";
  }

  .event-route-shell > .modal-header {
    grid-area: header;
  }

  .event-route-shell > .event-description-card {
    grid-area: event;
    margin: 0;
    align-self: start;
  }

  .event-route-shell > .event-hero-media {
    grid-area: image;
    margin: 0;
    justify-self: end;
    align-self: start;
    width: min(100%, 360px);
  }

  .event-route-shell > .event-hero-media .event-hero-image-card {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 360px;
  }

  .event-route-shell > .session-picker {
    grid-area: sessions;
    margin: 0;
    align-self: start;
  }

  .event-route-shell > .modal-actions {
    grid-area: actions;
    align-self: start;
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .event-route-shell > [data-event-internal-links] {
    grid-area: internal;
    margin: 0;
    width: min(100%, 520px);
    align-self: start;
    justify-self: start;
    padding: 12px 13px;
  }

  .event-route-shell.has-event-address {
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "header header"
      "event image"
      "sessions address"
      "actions actions"
      "internal ."
      "related .";
  }

  .event-route-shell.has-event-address > [data-event-venue-address] {
    grid-area: address;
    margin: 0;
    width: min(100%, 360px);
    align-self: start;
    justify-self: end;
  }

  .event-route-shell.has-event-address:not(.has-event-image) {
    grid-template-rows: auto auto auto auto auto auto auto;
    grid-template-areas:
      "header"
      "event"
      "sessions"
      "actions"
      "address"
      "internal"
      "related";
  }

  .event-route-shell.has-event-address:not(.has-event-image) > [data-event-venue-address] {
    grid-area: address;
    width: min(100%, 620px);
    justify-self: start;
  }

  .event-route-shell > [data-event-related-links] {
    grid-area: related;
    margin: 0;
    width: min(100%, 620px);
    align-self: start;
    justify-self: start;
  }

  .event-route-shell > [data-event-internal-links] .link-chip-list {
    gap: 6px;
  }

  .event-route-shell > [data-event-internal-links] .link-chip {
    padding: 5px 9px;
    font-size: 11px;
  }

  .tickets-route-shell {
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 20px;
    align-items: start;
  }

  .tickets-route-shell > .checkout-seats-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    column-gap: 22px;
    align-items: start;
  }

  .tickets-route-shell > .checkout-seats-shell > [data-seats-left-col] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }

  .tickets-route-shell > .checkout-seats-shell > [data-checkout-footer] {
    position: sticky;
    top: 104px;
    align-self: start;
  }

  .checkout-route-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "header header"
      "summary payment"
      "actions actions";
    column-gap: 22px;
    row-gap: 16px;
    align-items: start;
  }

  .checkout-route-shell > .modal-header {
    grid-area: header;
  }

  .checkout-route-shell > [data-order-summary] {
    grid-area: summary;
    margin: 0;
  }

  .checkout-route-shell > [data-payment-form] {
    grid-area: payment;
    margin: 0;
    position: sticky;
    top: 104px;
  }

  .checkout-route-shell > .modal-actions {
    grid-area: actions;
    margin: 0;
    padding-top: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats {
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 22px;
    align-items: start;
    min-height: clamp(560px, calc(100dvh - 280px), 780px);
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .modal-header {
    margin-bottom: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 28px;
    align-items: start;
    min-height: 0;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell > [data-seats-left-col] {
    margin: 0;
    min-width: 0;
    display: grid;
    gap: 14px;
    align-content: start;
    max-height: calc(100dvh - 260px);
    overflow: auto;
    padding-right: 6px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell > [data-checkout-footer] {
    margin: 0;
    position: sticky;
    top: 10px;
    align-self: start;
    max-height: calc(100dvh - 260px);
    overflow: auto;
    padding: 20px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats .checkout-order-panel .checkout-consents {
    margin: 0;
    gap: 12px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
    grid-template-areas:
      "header header"
      "summary payment"
      "actions actions";
    row-gap: 22px;
    column-gap: 30px;
    align-items: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > .modal-header {
    grid-area: header;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > [data-order-summary] {
    grid-area: summary;
    margin: 0;
    align-self: stretch;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > [data-payment-form] {
    grid-area: payment;
    margin: 0;
    position: sticky;
    top: 10px;
    align-self: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > .modal-actions {
    grid-area: actions;
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats,
  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout {
    gap: 16px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 20px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    grid-template-areas:
      "header header"
      "summary payment"
      "actions actions";
    row-gap: 18px;
    column-gap: 22px;
    align-items: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > .modal-header {
    grid-area: header;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > [data-order-summary] {
    grid-area: summary;
    min-height: clamp(380px, 54vh, 560px);
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > [data-payment-form] {
    grid-area: payment;
    position: sticky;
    top: 8px;
    align-self: start;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--checkout > .modal-actions {
    grid-area: actions;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell > [data-seats-left-col] {
    max-height: calc(100dvh - 280px);
    overflow: auto;
    padding-right: 4px;
  }

  .modal-dialog:not(.modal-dialog--compact) .modal-step--seats > .checkout-seats-shell > [data-checkout-footer] {
    top: 8px;
    max-height: calc(100dvh - 280px);
    padding: 18px;
  }
}

@media (max-width: 1024px) {
  .checkout-final-summary-card {
    min-height: 0;
    padding: 18px;
  }

  .checkout-final-summary-title {
    font-size: 24px;
  }

  .checkout-final-summary-total strong {
    font-size: 30px;
  }

  .checkout-payment-panel {
    padding: 16px;
  }
}

/* compact notifications: keep desktop-like proportions and clean header surface */
.modal-dialog--compact .modal-body {
  flex: 0 1 auto;
}

.modal-dialog--compact .modal-body > div > .modal-header:first-child {
  position: static;
  top: auto;
  background: transparent;
  backdrop-filter: none;
}

.modal-dialog--compact .modal-body .modal-actions {
  margin-top: 0;
  position: static;
  background: transparent;
  padding-top: 10px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .modal-dialog--compact {
    width: min(460px, calc(100vw - 20px));
    height: auto;
    max-height: min(78dvh, calc(100dvh - 20px));
    align-self: center;
  }

  .modal-dialog--compact .modal-top {
    min-height: 48px;
    padding: 8px 10px 2px;
  }

  .modal-dialog--compact .modal-body {
    padding: 12px 14px 14px;
    overflow: auto;
  }

  .modal-dialog--compact .modal-body > div {
    min-height: auto;
    gap: 10px;
    padding-bottom: 0;
  }

  .modal-dialog--compact .modal-success {
    padding: 0 2px 4px;
  }

  .modal-dialog--compact .modal-title {
    margin: 0 0 4px;
    font-size: 22px;
  }

  .modal-dialog--compact .modal-subtitle {
    font-size: 14px;
    line-height: 1.4;
  }

  .modal-dialog--compact .modal-success__actions {
    margin-top: 6px;
  }

  .modal-dialog--compact .modal-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
  }

  .modal-dialog--compact .modal-actions .btn {
    width: auto;
    min-width: 124px;
    min-height: 40px;
    padding: 9px 14px;
  }
}

@media (max-width: 480px) {
  .modal-dialog--compact {
    width: min(420px, calc(100vw - 16px));
    max-height: min(74dvh, calc(100dvh - 16px));
  }

  .modal-dialog--compact .modal-title {
    font-size: 20px;
  }

  .modal-dialog--compact .modal-subtitle {
    font-size: 13px;
  }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; transform: none; opacity: 1; }
  .btn, .card, .faq-item { transition: none; }
  body { transition: none; opacity: 1; }
}

/* verify email page */
.verify-email-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.verify-email-main {
  min-height: calc(100dvh - 86px);
  display: flex;
  align-items: center;
}

.verify-email-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 14px;
}

.verify-email-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 40px);
}

.verify-email-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.verify-email-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

@media (max-width: 640px) {
  .verify-email-main {
    min-height: calc(100dvh - 72px);
    align-items: flex-start;
  }

  .verify-email-card {
    margin-top: 16px;
  }

  .verify-email-actions .btn {
    width: 100%;
  }
}

/* reset password page */
.reset-password-page .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.reset-password-main {
  min-height: calc(100dvh - 86px);
  display: flex;
  align-items: center;
}

.reset-password-card {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 14px;
}

.reset-password-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 40px);
}

.reset-password-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.reset-password-form {
  display: grid;
  gap: 8px;
}

.reset-password-form .btn {
  width: fit-content;
  min-width: 190px;
  margin-top: 6px;
}

.reset-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

@media (max-width: 640px) {
  .reset-password-main {
    min-height: calc(100dvh - 72px);
    align-items: flex-start;
  }

  .reset-password-card {
    margin-top: 16px;
  }

  .reset-password-form .btn {
    width: 100%;
    min-width: 0;
  }

  .reset-password-actions .btn {
    width: 100%;
  }
}

/* iOS Safari: prevent auto-zoom on focus for small form controls */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="color"]):not([type="hidden"]),
    textarea,
    select {
      font-size: 16px !important;
      line-height: 1.25;
    }

    .filters-row select,
    .filters-row input[type="date"],
    .filters-row input[type="text"],
    .filters-row input[type="number"],
    #all-events-view .all-events-filters > select,
    #all-events-view .all-events-filters > input[type="text"],
    #events .events-controls-row .filters-row > *,
    .modal-dialog .form input,
    .modal-dialog .form textarea,
    .modal-dialog .form select {
      min-height: 44px;
    }
  }
}
