body {
    margin: 0;
    background: #0b0b0f;
    color: #eaeaea;
    font-family: sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 700px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.search {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #15151c;
    color: white;
    font-size: 16px;
    outline: none;
}

.search:focus {
    border-color: #4f9cff;
}

.search,
.results {
    width: 100%;
}

.results {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;
    cursor: pointer;

    background: #111118;
    border-bottom: 1px solid #1e1e1e;

    transition:
            background 0.15s ease,
            transform 0.12s ease;
}

.item:hover {
    background: #1b1b24;
    transform: translateY(-1px);
}

.item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 42px;
    height: 42px;

    border-radius: 10px;
    object-fit: cover;

    background: #1e1e1e;
    flex-shrink: 0;
}

.item-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.item-title a {
    color: white;
    text-decoration: none;
}

.item-title a:hover {
    text-decoration: underline;
}

.item-description {
    color: #9a9aa5;
    font-size: 13px;
    margin-top: 4px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty {
    justify-content: center;
    color: #888;
}

.hint {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #777;
}