:root {
    --bg: #0f1724;

    --card: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.04);
    --accent: #7c3aed;

    --accent-2: #06b6d4;

    --text: #e6eef8;
    --muted: #9fb0c8;
    --success: #34d399;
    --danger: #fb7185;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    font-size: 16px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(124, 58, 237, 0.12), transparent 8%),
        radial-gradient(900px 400px at 90% 90%, rgba(6, 182, 212, 0.07), transparent 8%),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.container {
    width: 100%;
    max-width: 520px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px) saturate(120%);
}

body>input,
body>ul {
    display: none;
}


.container .search-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.container input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    color: var(--text);
    outline: none;
    font-size: 1rem;
    box-shadow: inset 0 -6px 18px rgba(0, 0, 0, 0.25);
    transition: box-shadow .18s ease, transform .12s ease, border-color .12s ease;
}

.container input::placeholder {
    color: var(--muted);
    opacity: 0.9;
}

.container input:focus {
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.12), 0 1px 0 rgba(255, 255, 255, 0.02) inset;
    border-color: rgba(124, 58, 237, 0.6);
    transform: translateY(-1px);
}

.container ul {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow: auto;
}

.container li {
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: default;
    transition: transform .14s cubic-bezier(.2, .9, .2, 1), box-shadow .12s ease, background .12s ease;
    transform-origin: left center;
    animation: itemIn .32s ease both;
    user-select: none;
}

.container li:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.5);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

.item-label {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.item-meta {
    font-size: 0.85rem;
    color: var(--muted);
}

.container li.no-results {
    text-align: center;
    justify-content: center;
    color: var(--muted);
    font-style: italic;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0 2px, transparent 2px 8px);
    border-style: dashed;
    cursor: default;
    transform: none !important;
    animation: none;
}

.pill {
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(6, 182, 212, 0.08));
    color: var(--text);
    border: 1px solid rgba(124, 58, 237, 0.08);
    white-space: nowrap;
}

mark {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(6, 182, 212, 0.12));
    padding: 2px 6px;
    border-radius: 6px;
    color: var(--text);
    font-weight: 700;
}

@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateX(-8px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width:520px) {
    .container {
        margin: 0 12px;
        padding: 16px;
        border-radius: 12px;
    }

    :root {
        font-size: 15px;
    }
}

.container ul::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

.container ul::-webkit-scrollbar-track {
    background: transparent
}

.container ul::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}