/* luxKino — страница поиска (дополняет lk-home.css) */

.lk-search-head { margin: 8px 0 24px; }
.lk-search-head .lk-h1 { margin-bottom: 8px; }
.lk-search-head p { margin: 0; color: var(--lk-muted); font-size: 16px; }

/* ---------- Панель фильтров ---------- */
.lk-panel {
    padding: 28px;
    margin-bottom: 44px;
    background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid var(--lk-line);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* Строка поиска */
.lk-sbar {
    position: relative; display: flex; align-items: center; gap: 14px;
    height: 64px; padding: 0 18px; margin-bottom: 26px;
    color: var(--lk-muted);
    background: rgba(10, 10, 16, .55);
    border: 1px solid var(--lk-line); border-radius: 20px;
    transition: border-color .2s, box-shadow .2s, color .2s;
}
.lk-sbar:focus-within {
    color: var(--lk-accent);
    border-color: var(--lk-accent);
    box-shadow: 0 0 0 4px rgba(255, 90, 31, .16);
}
.lk-sbar input {
    flex: 1; min-width: 0; height: 100%;
    font: 500 18px var(--lk-font); color: var(--lk-text);
    background: transparent; border: 0; outline: 0;
}
.lk-sbar input::placeholder { color: #7d7d8c; }
.lk-clear {
    width: 30px; height: 30px; display: grid; place-items: center;
    font-size: 13px; color: #fff; cursor: pointer;
    background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%;
    transition: background .2s, transform .2s;
}
.lk-clear:hover { background: rgba(255, 255, 255, .24); transform: scale(1.08); }
.lk-clear[hidden] { display: none; }

/* Подписи */
.lk-label, .lk-field label {
    display: block; margin-bottom: 10px;
    font: 600 12px var(--lk-font); letter-spacing: .08em; text-transform: uppercase;
    color: var(--lk-muted);
}
.lk-tiles-search { margin-bottom: 26px; }

/* Фильтры */
.lk-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lk-field select {
    width: 100%; height: 48px; padding: 0 44px 0 16px;
    font: 500 15px var(--lk-font); color: var(--lk-text);
    background-color: rgba(10, 10, 16, .55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a9aa8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    border: 1px solid var(--lk-line); border-radius: 14px;
    -webkit-appearance: none; appearance: none; outline: 0; cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.lk-field select:hover { border-color: rgba(255, 255, 255, .22); }
.lk-field select:focus { border-color: var(--lk-accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .16); }
.lk-field select option { background: #16161e; color: #fff; }

/* iOS-переключатель доступа */
.lk-seg {
    display: flex; height: 48px; padding: 4px;
    background: rgba(10, 10, 16, .55);
    border: 1px solid var(--lk-line); border-radius: 14px;
}
.lk-seg label { flex: 1; margin: 0; cursor: pointer; letter-spacing: 0; text-transform: none; }
.lk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lk-seg span {
    display: grid; place-items: center; height: 100%;
    font: 600 14px var(--lk-font); color: var(--lk-muted);
    border-radius: 10px; transition: background .2s, color .2s;
}
.lk-seg label:hover span { color: #fff; }
.lk-seg input:checked + span {
    color: #fff; background: rgba(255, 255, 255, .16);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.lk-seg input:focus-visible + span { outline: 2px solid var(--lk-accent); }

.lk-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }

/* ---------- Результаты ---------- */
.lk-results { transition: opacity .2s ease; min-height: 200px; }
.lk-results.is-loading { opacity: .45; }
.lk-results .lk-card { animation: lk-pop .45s cubic-bezier(.2, .8, .2, 1) both; }
.lk-results .lk-card:nth-child(6n+2) { animation-delay: .04s; }
.lk-results .lk-card:nth-child(6n+3) { animation-delay: .08s; }
.lk-results .lk-card:nth-child(6n+4) { animation-delay: .12s; }
.lk-results .lk-card:nth-child(6n+5) { animation-delay: .16s; }
.lk-results .lk-card:nth-child(6n)   { animation-delay: .20s; }
@keyframes lk-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
    .lk-filters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .lk-panel { padding: 18px; border-radius: 22px; margin-bottom: 32px; }
    .lk-sbar { height: 56px; border-radius: 16px; }
    .lk-sbar input { font-size: 16px; }
    .lk-filters { grid-template-columns: 1fr; gap: 14px; }
    .lk-tiles-search { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .lk-results .lk-card { animation: none; }
}