[id*=static] {
    z-index: 9800;
}

#static-top, #static-bottom {
    box-shadow: 0 0 10px 1px #00000066;
}

/* STATIC TOP */
#static-top {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: hsla(var(--bg-overlay-hue), var(--bg-overlay-sat), var(--bg-overlay-light), 50%);
    backdrop-filter: blur(7px);
}

#static-top > a {
    display: flex;
    padding: 10px;
}

.search-bar {
    background-color: hsl(var(--bg-overlay-hue), var(--bg-overlay-sat), var(--bg-overlay-light));
    width: 50%;
    min-width: 200px;
    margin: 10px;
    border-radius: var(--rounding);
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.search-bar > * {
    background-color: transparent;
    height: 50px;
}

.search-bar > input {
    width: 100%;
    height: 30px;
    padding: 10px;
}

#static-combined-right {
    background-color: hsl(var(--bg-overlay-hue), var(--bg-overlay-sat), var(--bg-overlay-light));
    border-radius: var(--inner-rounding);
    padding: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
}

#static-combined-right > a {
    display: flex;
    align-items: center;
}

#static-user {
    padding: 0;
    display: inline-flex;
    align-items: center;
    height: 40px;
    font-size: large;
    background-color: transparent;
}

#static-user > div {
    height: 40px;
    width: 40px;
}

#static-user > span {
    width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    align-content: center;
    white-space: nowrap;
}

#static-user:hover > span {
    margin-left: 10px;
    width: fit-content;
    max-width: 200px;
}

/* STATIC BOTTOM */

#static-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px;
    border-radius: var(--rounding) var(--rounding) 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(var(--bg-overlay-hue), var(--bg-overlay-sat), var(--bg-overlay-light));
    max-width: 95%;
}

#static-pre-menu, #static-post-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 0;
    overflow: hidden;
}

.bottom-bar-expanded #static-pre-menu, .bottom-bar-expanded #static-post-menu {
    max-width: 100%;
    overflow-x: auto;
}

#static-bottom > a, #static-pre-menu > a, #static-post-menu > a {
    display: flex;
    align-items: center;
    height: 40px;
    width: fit-content;
}

#static-menu {
    display: flex;
    align-items: center;
    padding: 7px;
    margin: 0 10px;
    background-color: hsl(var(--bg-overlay-hue), var(--bg-overlay-sat), var(--light-accent-down));
    border-radius: var(--inner-rounding);
}