html,
body {
  margin: 0;
  min-width: 320px;
  background: #031e1a;
  overflow-x: hidden;
}

#elki-app {
  width: 100%;
}

#elki-app.mood-on .festive-lights {
  display: flex;
}

#elki-app .venue-grid.kazan-only {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

#elki-app .venue-grid.kazan-only .venue-card {
  width: 100%;
}

#elki-app .hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#elki-app .consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.45;
}

#elki-app .consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #137861;
}

#elki-app .form-status {
  min-height: 24px;
  margin: 0;
  color: #2d6453;
  font-size: 12px;
  line-height: 1.5;
}

#elki-app .form-status.is-error {
  color: #a72132;
}

#elki-app .ticket-quantity {
  border: 1px solid rgba(9, 72, 57, 0.18);
  border-radius: 12px;
  padding: 12px;
}

#elki-app .ticket-quantity[hidden] {
  display: none;
}

#elki-app .ticket-quantity input {
  max-width: 110px;
}

#elki-app .ticket-total {
  display: block;
  margin-top: 8px;
  color: #0b493b;
}

#elki-app .consent a,
#elki-app footer .legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#elki-app #registration[open] {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

#elki-app .gallery button,
#elki-app .venue-transform,
#elki-app .roster-count-button {
  touch-action: manipulation;
}

@media (max-width: 760px) {
  #elki-app header > .btn.small {
    display: none;
  }

  #elki-app header {
    padding-inline: 16px;
  }

  #elki-app .logo span {
    white-space: nowrap;
  }

  #elki-app .hero-intro h1 {
    overflow-wrap: normal;
    word-break: normal;
  }

  #elki-app .section-top {
    align-items: flex-start;
  }

  #elki-app .venue-grid.kazan-only {
    grid-template-columns: 1fr;
  }

  #elki-app dialog {
    width: calc(100% - 20px);
    padding: 30px 20px 24px;
  }

  #elki-app .legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  #elki-app .hero-intro h1 {
    font-size: 52px;
  }

  #elki-app .hero-subtitle {
    font-size: 0.52em;
  }

  #elki-app .brand-ribbon span:nth-of-type(n + 4),
  #elki-app .brand-ribbon b:nth-of-type(n + 4) {
    display: none;
  }

  #elki-app .day-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #elki-app .sale-price {
    align-items: flex-start;
    flex-direction: column;
  }

  #elki-app .sale-price .price-arrow {
    transform: rotate(90deg);
  }
}

