.header-search {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    display: none;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;

    background: rgba(10, 10, 13, .98);
    border: 1px solid rgba(255, 43, 61, .35);
    border-radius: 18px;
    box-shadow:
        0 22px 55px rgba(0, 0, 0, .75),
        0 0 0 1px rgba(255, 255, 255, .04);

    padding: 8px;
    z-index: 9999;
    backdrop-filter: blur(14px);
}

.live-search-results.is-visible {
    display: block;
}

.live-search-item {
    display: block;
    text-decoration: none;
    color: #f3e8da;

    padding: 9px 10px;
    border-radius: 14px;
    border-bottom: none;

    transition: background .15s ease, transform .15s ease;
}

.live-search-item:hover {
    background: rgba(255, 43, 61, .12);
    transform: translateX(2px);
}

.live-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-search-img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;

    background: linear-gradient(145deg, #17171b, #0b0b0d);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 4px;
    overflow: hidden;

    box-shadow: inset 0 0 8px rgba(0, 0, 0, .45);
}

.live-search-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.live-search-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff3e3;
}

.live-search-meta {
    display: block;
    font-size: 11px;
    color: rgba(243, 232, 218, .62);
    line-height: 1.2;
}

.live-search-empty {
    padding: 14px;
    font-size: 13px;
    color: rgba(243, 232, 218, .7);
}

/* schöne Scrollbar */
.live-search-results::-webkit-scrollbar {
    width: 8px;
}

.live-search-results::-webkit-scrollbar-track {
    background: rgba(255,255,255,.04);
    border-radius: 999px;
}

.live-search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 43, 61, .45);
    border-radius: 999px;
}

.live-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 43, 61, .7);
}

.live-search-item.active {
    background: rgba(255, 43, 61, .2);
}

.live-search-results a {
    text-decoration: none;
    color: inherit;
}

.live-search-badge.set {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(255, 205, 80, .15);
    color: #ffcd50;
    border: 1px solid rgba(255, 205, 80, .3);
}

.page-loading-overlay.is-active {
    display: flex;
}

.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(5px);
}

.page-loading-spinner {
    width: 92px;
    height: 92px;

    border-radius: 50%;
    border: 6px solid rgba(255,255,255,.14);
    border-top-color: #ff2638;
    border-right-color: #f7a11a;

    box-shadow:
        0 0 22px rgba(255,38,56,.35),
        0 0 45px rgba(247,161,26,.18);

    animation: pageLoadingSpin .85s linear infinite;
}

@keyframes pageLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}

.page-loading-overlay.is-active {
    display: flex;
}