/* ==========================================================================
   КУЛЬТУРА УРАЛА · МИНИ-ПРИЛОЖЕНИЕ MAX
   Фирменный тёмный стиль «Культурная столица 2027»
   Полная адаптивность: от 300px до десктопа
   ========================================================================== */

:root {
  --navy-deep: #0e073d;
  --navy: #170c66;
  --navy-elevated: #1f127a;
  --navy-card: rgba(255, 255, 255, 0.06);
  --cyan: #71d7ff;
  --pink: #f27bcf;
  --magenta: #d63aaa;
  --ticket-border: rgba(255, 255, 255, 0.15);
  --text-muted: #b9b1e9;
  --radius-pill: 9999px;
  --radius-card: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button, input, select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
[hidden] {
  display: none !important;
}

/* === КОНТЕЙНЕР ПРИЛОЖЕНИЯ === */
.app-frame {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
}
@media (max-width: 380px) {
  .app-frame {
    padding: 0 10px 30px;
  }
}

@supports (padding: max(0px, 1px)) {
  .app-frame {
    padding-top: env(safe-area-inset-top, 0px);
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
  }
  @media (max-width: 380px) {
    .app-frame {
      padding-inline: max(10px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-right, 0px));
      padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
    }
  }
}
@media (pointer: coarse) {
  .tab-navigation .tab-btn {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
  }
  .app-frame input[type=text],
  .app-frame input[type=datetime-local],
  .app-frame select {
    font-size: max(16px, 1rem);
  }
  .app-frame .hero-pass,
  .app-frame .form-card,
  .app-frame .ticket-top,
  .app-frame .ticket-bottom {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === ШАПКА === */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.brand-header-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lizard-emblem {
  width: 38px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(113, 215, 255, 0.45));
}
.lizard-emblem img,
.lizard-emblem svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-logotype {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.brand-dot {
  color: var(--pink);
}
.brand-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.25;
  white-space: nowrap;
}

/* === БАННЕР КУЛЬТУРНОЙ СТОЛИЦЫ (ССЫЛКА НА МИНКУЛЬТ) === */
.capital-banner {
  margin: 14px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(242, 123, 207, 0.22) 0%, rgba(113, 215, 255, 0.16) 60%, rgba(27, 15, 85, 0.95) 100%);
  border: 1px solid rgba(242, 123, 207, 0.55);
  border-radius: var(--radius-card);
  box-shadow: 0 0 20px rgba(242, 123, 207, 0.28), 0 0 35px rgba(113, 215, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.capital-banner:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 123, 207, 0.85);
  box-shadow: 0 0 28px rgba(242, 123, 207, 0.45), 0 0 45px rgba(113, 215, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.banner-heading {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.banner-subheading {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  line-height: 1.3;
}
.banner-year-accent {
  font-weight: 800;
  color: #ffffff;
}
.k-seal {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 10px rgba(242, 123, 207, 0.55));
}
.k-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* === КАРТОЧКА HERO PASS === */
.hero-pass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  margin: 0 0 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.pass-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pass-content {
  flex: 1;
  min-width: 0;
}
.pass-title {
  font-size: clamp(20px, 5.5vw, 24px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.15;
}
.pass-meta {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
@media (max-width: 380px) {
  .brand-logotype {
    font-size: 20px;
  }
  .brand-subtitle {
    font-size: 10px;
  }
  .capital-banner {
    padding: 10px 12px;
    gap: 8px;
  }
  .banner-heading {
    font-size: 14px;
  }
  .banner-subheading {
    font-size: 11px;
  }
  .k-seal {
    width: 40px;
    height: 40px;
  }
  .hero-pass {
    padding: 12px 14px;
  }
  .pass-meta {
    font-size: 11px;
  }
}

/* === СЕГМЕНТИРОВАННАЯ ВЕРХНЯЯ НАВИГАЦИЯ (АДАПТИВНАЯ GRID) === */
.tab-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 14px 0 18px;
  width: 100%;
  box-sizing: border-box;
}
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.tab-btn.active, .tab-btn[aria-current="page"] {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(113, 215, 255, 0.35);
}
.tab-label-short {
  display: none;
}
@media (max-width: 440px) {
  .tab-label-full {
    display: none;
  }
  .tab-label-short {
    display: inline;
  }
  .tab-btn {
    font-size: 12px;
    padding: 0 2px;
  }
}

.tab-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
}
.tab-badge:empty {
  display: none !important;
}

/* === КАРТОЧКИ И ФОРМЫ === */
.form-card {
  background: var(--navy-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 18px;
  margin-bottom: 14px;
  box-sizing: border-box;
}
@media (max-width: 380px) {
  .form-card {
    padding: 14px 12px;
  }
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon-left {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 2;
}

input[type=text], input[type=datetime-local], select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.input-with-icon input, .input-with-icon input[type=text] {
  padding-left: 44px !important;
}
input[type=text]:focus, input[type=datetime-local]:focus, select:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
select option {
  background: var(--navy);
  color: #fff;
}

.hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 8px 0 14px;
}

/* === КНОПКИ ДЕЙСТВИЙ === */
.btn-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #71d7ff 0%, #4facfe 100%);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(113, 215, 255, 0.3);
  transition: filter 0.15s, transform 0.15s;
  box-sizing: border-box;
  text-align: center;
}
.btn-primary-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.15s, border-color 0.15s;
  box-sizing: border-box;
  text-align: center;
}
.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.text-button {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  background: transparent !important;
  border: none !important;
  color: var(--cyan) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 6px 10px;
  transition: opacity 0.15s ease;
  box-sizing: border-box;
}
.text-button:hover {
  opacity: 0.85;
}

/* === ДЕТАЛИ СОБЫТИЯ В АНКЕТЕ === */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.step-pill {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(113, 215, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(113, 215, 255, 0.25);
  display: inline-block;
}
.chosen-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 14px;
  line-height: 1.3;
}

.reminders-group {
  border: none;
  padding: 0;
  margin: 14px 0 18px;
}
.reminder-chips-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 360px) {
  .reminder-chips-row {
    grid-template-columns: 1fr;
  }
}
.reminder-toggle-card {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.reminder-toggle-card:hover {
  background: rgba(255, 255, 255, 0.08);
}
.reminder-toggle-card:has(input:checked) {
  background: rgba(242, 123, 207, 0.14);
  border-color: var(--pink);
}
.reminder-toggle-card input {
  display: none;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.label-time {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.custom-checkbox-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  transition: all 0.15s ease;
}
.reminder-toggle-card:has(input:checked) .custom-checkbox-dot {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink);
}
.reminder-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.fine-print {
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  margin: 10px 0 0;
}

/* === ФИЛЬТРЫ В ЛЕНТЕ БИЛЕТОВ === */
.filter-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar {
  display: none;
}
.chip-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.chip-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.chip-btn.active, .chip-btn[aria-selected="true"] {
  background: var(--pink);
  color: var(--navy-deep);
  border-color: var(--pink);
  font-weight: 700;
}
@media (max-width: 380px) {
  .chip-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

.feed-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.legend-dot-pink, .legend-dot-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot-pink::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-block;
}
.legend-dot-cyan::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
}

/* === ФИРМЕННЫЙ СТИЛЬ БИЛЕТОВ СО СКВОЗНЫМ ВЫРЕЗОМ (NOTCH) === */
.cultural-ticket {
  position: relative;
  background: transparent !important;
  border: none !important;
  padding: 0;
  margin: 0 0 16px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}
.cultural-ticket:hover {
  transform: translateY(-2px);
}
.ticket-top {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 14px 16px 12px;
  -webkit-mask-image: radial-gradient(circle 10px at 0 100%, transparent 9.5px, black 10px),
                      radial-gradient(circle 10px at 100% 100%, transparent 9.5px, black 10px);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 10px at 0 100%, transparent 9.5px, black 10px),
              radial-gradient(circle 10px at 100% 100%, transparent 9.5px, black 10px);
  mask-composite: intersect;
}
.cultural-ticket.ticket-bought .ticket-top {
  border-top: 3px solid var(--pink);
}
.cultural-ticket.ticket-venue .ticket-top {
  border-top: 3px solid var(--cyan);
}
.ticket-perf {
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  margin: 0 14px;
  position: relative;
}
.ticket-bottom {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 10px 16px 12px;
  -webkit-mask-image: radial-gradient(circle 10px at 0 0, transparent 9.5px, black 10px),
                      radial-gradient(circle 10px at 100% 0, transparent 9.5px, black 10px);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 10px at 0 0, transparent 9.5px, black 10px),
              radial-gradient(circle 10px at 100% 0, transparent 9.5px, black 10px);
  mask-composite: intersect;
}
.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ticket-type-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(242, 123, 207, 0.14);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(242, 123, 207, 0.28);
}
.ticket-venue .ticket-type-pill {
  color: var(--cyan);
  background: rgba(113, 215, 255, 0.14);
  border-color: rgba(113, 215, 255, 0.28);
}
.ticket-date-chip .day-time {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-block;
}
.ticket-event-title {
  margin: 4px 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.ticket-venue-name {
  font-size: 12px;
  color: #d1caeb;
  margin: 0;
}
.ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.reminder-status {
  font-size: 12px;
  color: #e2def5;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ticket-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ticket-action-btn, .ticket-action-link {
  font-size: 12px;
  font-weight: 600;
  background: none;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.ticket-action-btn.edit {
  color: var(--cyan);
  background: rgba(113, 215, 255, 0.12);
  border: 1px solid rgba(113, 215, 255, 0.3);
}
.ticket-action-btn.edit:hover {
  background: rgba(113, 215, 255, 0.24);
}
.ticket-action-link {
  color: #d1caeb;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ticket-action-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.ticket-action-btn.danger {
  color: #ff8ca3;
  background: rgba(255, 70, 100, 0.12);
  border: 1px solid rgba(255, 70, 100, 0.3);
}
.ticket-action-btn.danger:hover {
  background: rgba(255, 70, 100, 0.24);
}

/* === РАЗДЕЛ ПЛОЩАДОК === */
.venues-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 4px;
}
.venues-counter-tag {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.venues-badge {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 700;
}
.venue-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: white;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.venue-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.venue-card:has(input:checked) {
  background: rgba(242, 123, 207, 0.12);
  border-color: var(--pink);
}
.venue-number {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 700;
  align-self: flex-start;
  margin-top: 3px;
}
.venue-copy {
  flex: 1;
  min-width: 0;
}
.venue-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  margin: 3px 0 2px;
  color: #fff;
}
.venue-copy small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.venue-copy .venue-pending {
  font-size: 10px;
  color: #edd39b;
  margin-top: 4px;
}
.venue-card input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--pink);
  cursor: inherit;
}

/* === УВЕДОМЛЕНИЯ И СТАТУСЫ === */
.notice {
  padding: 12px 14px;
  margin: 10px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 12px;
  color: #e2def5;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.notice a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: underline;
}
.notice:empty {
  display: none !important;
}

.feedback {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(12px);
}
.feedback.error {
  color: #ff8ca3;
  background: rgba(255, 70, 100, 0.15);
  border-color: rgba(255, 70, 100, 0.35);
}

.how-it-works {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.how-it-works p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #e2def5;
}
.how-it-works p span {
  color: var(--cyan);
  font-weight: 600;
}
.mini-icon {
  width: 26px;
  height: 28px;
  flex-shrink: 0;
}
.mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.empty {
  padding: 32px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  margin: 14px 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}
.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 48px;
  margin-bottom: 10px;
}
.empty-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.empty h2 {
  margin: 6px 0;
  font-size: 18px;
  color: #fff;
}
.empty p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 360px;
  margin: auto;
}

.event-option {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 0;
  color: #fff;
  min-height: 52px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.event-option strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.event-option small {
  display: block;
  font-size: 11px;
  color: #b9b1e9;
  margin-top: 4px;
}
.event-option:hover, .event-option[aria-selected=true] {
  border-color: var(--cyan);
  background: rgba(113, 215, 255, 0.14);
}
:is(#results,#venue-results) {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 14px;
}
