body {
    padding-top: 48px;
    transition: 0.25s linear padding-left;
}
body::-webkit-scrollbar {
    background-color: rgba(var(--accent-bg), 0.75);
}
div.riplay-page {
    padding: 16px;
    gap: 16px;
    justify-content: center;
}
div.riplay-page.single-column {
    flex-direction: column;
}
div.riplay-page main,
div.riplay-page aside {
    flex-direction: column;
    min-width: 384px;
    gap: 8px 16px;
}
header.riplay-header,
aside.riplay-sidebar,
aside.riplay-inbox,
aside.riplay-profile-menu {
    position: fixed;
    z-index: 16;
    background-color: rgba(var(--accent-bg), 0.75);
    backdrop-filter: blur(16px);
}
header.riplay-header {
    top: 0px;
    left: 0px;
    right: 0px;
    height: 48px;
    padding: 0px 16px;
    gap: 8px;
}
header.riplay-header button[onclick],
header.riplay-header a {
    padding: 8px 0px;
}
header.riplay-header form.search-box {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: max(calc(50% - 192px), 160px);
    right: max(calc(50% - 192px), 176px);
}
header.riplay-header form.search-box input {
    padding-left: 8px;
    margin-right: 1px;
    background-color: #101010;
    border: 1px solid rgb(var(--accent));
    border-right: none;
}
header.riplay-header form.search-box input:focus-visible {
    border: 1px solid rgb(var(--accent));
}
header.riplay-header form.search-box div.button-inner {
    padding: 8px 24px;
    border-radius: 0px;
}
header.riplay-header button img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
aside.riplay-sidebar {
    flex-direction: column;
    top: 48px;
    bottom: 0px;
    left: -216px;
    width: 216px;
    padding: 16px 0px;
    transition: 0.25s linear left;
    overflow: hidden;
}
aside.riplay-sidebar:hover {
    overflow-y: auto;
}
body.sidebar aside.riplay-sidebar {
    left: 0px;
}
aside.riplay-sidebar div.button-inner {
    padding: 8px 16px 8px 24px;
    gap: 16px;
}

@media (min-width: 640px) {
    body.sidebar {padding-left: 216px;}
}