body {
    overflow: hidden;
    align-items: stretch;
    justify-content: flex-start;
}
#proxyBar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    flex: 0 0 auto;
    background-color: var(--bg-2);
    box-shadow: 0 0 10px var(--color-2);
    z-index: 10;
}
#sj-form {
    display: flex;
    flex: 1;
    gap: 8px;
}
#sj-address {
    flex: 1;
    width: auto;
    margin: 0;
    padding: 10px 16px;
    font-size: 16px;
}
#proxyBar button {
    margin: 0;
}
#proxyFullscreen {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition-duration: 0.25s;
    filter: brightness(0.9);
}
#proxyFullscreen:hover {
    filter: brightness(1);
    transform: scale(1.1);
}
#proxyFullscreen:active {
    filter: brightness(1.2);
    transform: scale(0.95);
}
#proxyError {
    flex: 0 0 auto;
    padding: 0 10px;
    text-align: left;
}
#proxyError p {
    color: #ff8a8a;
    font-size: 14px;
    margin: 4px 0;
}
#proxyError pre {
    color: color-mix(in srgb, var(--text-color) 60%, #00000000 40%);
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0 0 6px;
}
#proxyFrameHolder {
    flex: 1;
    width: 100%;
    position: relative;
    margin-top: 20px;
}
#sj-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background-color: black;
    display: block;
}
#proxyShortcuts {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 16px;
    overflow-y: auto;
}
.filterLabel {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin: 0;
}
#proxyShortcutsGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    width: 90vw;
    max-width: 1000px;
}
.proxyShortcut {
    width: 20vw;
    min-width: 180px;
    height: 9vh;
    min-height: 64px;
    background-color: color-mix(in srgb, var(--color-2) 40%, #00000000 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 20px;
    margin: 15px;
    border: none;
    padding: 0;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px var(--color-2);
    color: var(--text-color);
    outline: none;
    transition-duration: 0.25s;
    font-family: inherit;
}
.proxyShortcut:hover {
    transform: scale(1.1);
}
.proxyShortcut img {
    height: calc(100% - 8px);
    border-radius: 15px;
    aspect-ratio: 1 / 1;
    margin: 4px;
    margin-right: auto;
}
.proxyShortcutHolder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
.proxyShortcutHolder h1 {
    font-size: 14px;
    margin: 15px;
    text-align: right;
}
body[fast] .proxyShortcut {
    background-color: color-mix(in srgb, var(--color-2) 70%, #000000 30%);
    backdrop-filter: blur(0);
}
@-moz-document url-prefix() {
    .proxyShortcut {
        backdrop-filter: blur(0);
    }
}
