﻿.shell {
    width: 95vw;
    max-width: 95%;
    margin: 10px auto;
    padding: 10px;
    justify-self: center;
}
    .shell.ismobile {
        width: 100%;
        margin: 0;
        padding: 5px;
    }

.sortbox {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 38px 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.28);
    color: rgba(255,255,255,0.92);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.60) 50%), linear-gradient(135deg, rgba(255,255,255,0.60) 50%, transparent 50%);
    background-position: right 14px center, right 8px center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

    .sortbox:hover {
        background-color: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 14px 34px rgba(0,0,0,0.55);
    }

    .sortbox:focus {
        outline: none;
        border-color: rgba(255,255,255,0.30);
        background-color: rgba(255,255,255,0.06);
        box-shadow: 0 0 0 2px rgba(255,255,255,0.10), 0 14px 34px rgba(0,0,0,0.55);
    }

    .sortbox option {
        background: rgba(0,0,0,0.95);
        color: rgba(255,255,255,0.92);
    }

.topbar {
    position: sticky;
    top: 0;
    z-index: 150;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-self: center;
    gap: 8px;
    padding: 10px;
    background: transparent;
}

.searchbar {
    flex: 1;
    width: 500px;
    padding: 10px 12px;
    align-self: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
}

    .searchbar:focus {
        outline: none;
        border-color: rgba(var(--accent),0.30);
    }

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        width: 90vw;
        align-items: stretch;
    }

    .searchbar {
        width: 95%;
    }
}