.vip26-search-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}

.vip26-search-modal.is-open {
  display: block;
}

.vip26-search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 24, 0.76);
  backdrop-filter: blur(2px);
}

.vip26-search-modal__dialog {
  position: relative;
  margin: min(10vh, 72px) auto;
  width: min(760px, calc(100% - 24px));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f1826;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  padding: 16px;
}

.vip26-search-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 14, 24, 0.82);
  color: #f3f7ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vip26-search-modal__form {
  padding: 10px 4px 4px;
}

.vip26-search-modal__label {
  display: block;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.vip26-search-modal__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.vip26-search-modal__input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  padding: 12px 14px;
  font-size: 16px;
}

.vip26-search-modal__suggestions {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  display: none;
}

.vip26-search-modal__suggestions.is-visible {
  display: block;
}

.vip26-search-modal__suggestions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vip26-search-modal__suggestions-heading {
  display: block;
  color: #f7d29a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vip26-search-modal__suggestions li.is-heading {
  display: block;
  padding: 8px 12px;
  background: rgba(245, 166, 35, 0.08);
}

.vip26-search-modal__suggestions li:last-child {
  border-bottom: 0;
}

.vip26-search-modal__suggestions a {
  color: #f1f6ff;
  font-weight: 600;
  display: inline-block;
  width: 100%;
}

.vip26-search-modal__suggestions a mark {
  background: rgba(245, 166, 35, 0.22);
  color: #fff3dd;
  padding: 0 2px;
  border-radius: 3px;
}

.vip26-search-modal__suggestion-type {
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.7;
  white-space: nowrap;
}

.vip26-search-modal__suggestions a.is-active {
  color: #ffffff;
  text-decoration: underline;
}

.vip26-search-modal__suggestions li.is-popular a {
  color: #f5d7a6;
}

body.search-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .vip26-search-modal__row {
    grid-template-columns: 1fr;
  }
}
