body {
  background: radial-gradient(circle at 12% 12%, rgba(238,0,167,0.18), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(126,74,255,0.18), transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(0,200,255,0.12), transparent 55%),
    #0b0b12;
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
}
.search-hero {
  padding: 2.25rem 0 1.5rem 0;
  margin-bottom: 1.25rem;
}
.search-container { max-width: 920px; margin: 0 auto; padding: 0 1rem; }
.search-card {
  background: rgba(22, 22, 30, 0.82);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
}
.search-title {
  color: #fff;
  font-weight: 700;
  margin: 0;
  text-align: left;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.search-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}
.search-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.search-context {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  white-space: nowrap;
}
.search-context strong { color: #fff; font-weight: 700; }
.category-select {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.category-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}
.category-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.category-dropdown:focus {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}
.category-dropdown option {
  background: #0f1018;
  color: #fff;
}
.category-dropdown option:checked,
.category-dropdown option:hover {
  background: #171a27;
  color: #fff;
}
.category-select-wrap { position: relative; display: inline-flex; align-items: center; }
.category-select-wrap:after {
  content: "\25BE";
  position: absolute;
  right: 0.85rem;
  color: rgba(255,255,255,0.75);
  pointer-events: none;
  font-size: 0.85rem;
}
.search-form { display: flex; flex-direction: column; gap: 0.9rem; }
.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 0.35rem;
}
.search-tab {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.search-tab.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.recent-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.recent-title {
  color: rgba(255,255,255,0.60);
  font-size: 0.85rem;
}
.recent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.recent-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.recent-chip--loc { color: rgba(255,255,255,0.86); }
.search-field-wrap.is-hidden { display: none; }
.search-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.search-field { flex: 1; min-width: 250px; position: relative; }
.search-input {
  width: 100%;
  padding: 0.95rem 1.05rem 0.95rem 2.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  font-size: 1rem;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.search-input::placeholder { color: rgba(255,255,255,0.55); }
.search-input:focus {
  outline: none;
  border-color: rgba(238,0,167,0.55);
  box-shadow: 0 0 0 4px rgba(238,0,167,0.14);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.65);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.search-clear.is-visible { display: inline-flex; }
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(20, 20, 26, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
}
.search-suggestions.show { display: block; }
.suggestions-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  display: none;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 900;
}
.suggestions-backdrop.is-active { opacity: 1; pointer-events: auto; }
@media (max-width:768px){
  .suggestions-backdrop { display: block; }
  body.suggestions-open { overflow: hidden; }
}
.search-suggestions.show { z-index: 1001; }
@media (max-width:768px){
  .search-suggestions{
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    max-height: 56vh;
    overflow-y: auto;
    border-radius: 18px;
    margin-top: 0;
  }
}
.suggestion-item {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.suggestion-item:hover { background-color: rgba(255,255,255,0.06); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
}
.suggestion-username {
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}
.suggestion-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.search-btn {
  background: linear-gradient(135deg, #ff2ad1 0%, #7e4aff 100%);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  align-self: center;
  min-width: 150px;
}
.search-btn:hover { transform: translateY(-2px); }
@media (max-width:768px){
  .search-card{padding:1rem;margin:0 0.75rem;}
  .search-row{flex-direction:column;}
  .search-card-header{flex-direction:column;align-items:flex-start;}
}
.escort-suggestions { max-width: 1150px; margin: 2rem auto; padding: 0 1rem; }
.suggestions-title {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.suggestion-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.escort-card {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  scroll-snap-align: start;
  transition: transform 0.2s;
  position: relative;
}
.escort-card:hover { transform: translateY(-4px); }
.escort-photo {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.escort-profile {
  position: absolute;
  bottom: -25px;
  left: 12px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-size: cover;
  background-position: center;
}
.escort-details {
  padding: 2rem 0.6rem 1rem 0.6rem;
  font-size: 0.85rem;
}
.escort-details h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.escort-details .price {
  color: #e000a7;
  font-weight: 600;
  font-size: 0.9rem;
  float: right;
}
.escort-details p {
  color: #555;
  font-size: 0.8rem;
  margin: 2px 0;
}
.escort-details .type {
  color: #999;
  font-size: 0.75rem;
}
.suggestion-carousel::-webkit-scrollbar { height: 6px; }
.suggestion-carousel::-webkit-scrollbar-thumb { background: rgba(139,69,19,0.4); border-radius: 10px; }

.search-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(126, 74, 255, 0.16);
  border: 1px solid rgba(126, 74, 255, 0.35);
  color: #c9b8ff;
  font-size: 0.82rem;
  font-weight: 500;
}
.search-category-badge i { color: #b39dff; }
.search-category-badge strong { color: #fff; font-weight: 600; }

.escort-card--skeleton .escort-photo,
.skeleton-block--photo {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}
.skeleton-block {
  display: block;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  border-radius: 10px;
  height: 14px;
  margin: 6px 0;
}
.skeleton-block--line { width: 100%; }
.skeleton-block--short { width: 60%; }
.skeleton-block--tiny { width: 35%; height: 10px; }
.skeleton-block--photo { width: 100%; height: 100%; min-height: 220px; border-radius: 14px; }
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.search-empty-state,
.search-invalid-state,
.search-error-state {
  max-width: 720px;
  margin: 2rem auto 3rem auto;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: rgba(22, 22, 30, 0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}
.search-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(126, 74, 255, 0.14);
  color: #b39dff;
  font-size: 1.6rem;
}
.search-empty-icon--warn {
  background: rgba(255, 183, 0, 0.14);
  color: #ffc44d;
}
.search-empty-icon--error {
  background: rgba(255, 64, 96, 0.14);
  color: #ff6a82;
}
.search-empty-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0.5rem 0;
}
.search-empty-message {
  color: rgba(255,255,255,0.74);
  font-size: 0.98rem;
  margin: 0 auto 1.5rem auto;
  max-width: 500px;
  line-height: 1.55;
}
.search-empty-message code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 1px 6px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
}
.search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.search-empty-actions .search-btn,
.search-empty-actions .search-btn--secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, border 0.15s ease;
}
.search-empty-actions .search-btn {
  background: linear-gradient(135deg, #ee00a7 0%, #7e4aff 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(126, 74, 255, 0.28);
}
.search-empty-actions .search-btn:hover { transform: translateY(-1px); }
.search-empty-actions .search-btn--secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.90);
}
.search-empty-actions .search-btn--secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.search-empty-tips {
  text-align: left;
  color: rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.55;
}
.search-empty-tips p {
  margin: 0 0 0.4rem 0;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.search-empty-tips ul {
  margin: 0;
  padding-left: 1.1rem;
}
.search-empty-tips li { margin: 2px 0; }

@media (max-width: 640px) {
  .search-empty-state,
  .search-invalid-state,
  .search-error-state {
    margin: 1rem 0.75rem 2rem 0.75rem;
    padding: 1.75rem 1rem;
    border-radius: 16px;
  }
  .search-empty-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }
  .search-empty-title { font-size: 1.15rem; }
  .search-empty-actions .search-btn,
  .search-empty-actions .search-btn--secondary {
    flex: 1 1 100%;
    justify-content: center;
  }
}

