:root {
    --accent-contrast: #ffffff;
    --switch-off-border: #4A4A4A;
    --switch-off-border-gradient: linear-gradient(180deg,rgba(74, 74, 74, 1) 0%, rgba(0, 0, 0, 1) 95%, rgba(74, 74, 74, 1) 100%);
    --switch-on-border: var(--accent-contrast);
    --switch-thumb: var(--accent-contrast);
    --switch-thumb-outline: rgba(0, 0, 0, 0.55);
}

.content {
    height: 600px;
}

.information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    font-size: 20px;
    font-weight: 500;
    padding: 0;
}

button {
    font-family: "Fredoka", sans-serif;
    font-size: 16px;
    background: var(--shaded-gradient);
    color: var(--text);
    border: 1px solid var(--accent);
    border-radius: 3px;
    padding: 5px 0;
}

button:hover {
    background: var(--shaded-accent);
    color: var(--bg);
    border-color: var(--text);
    cursor: pointer;
}

.option {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 20px;
    flex: 1;
    min-height: 0;
    padding: 20px 0;
}

.vertical-overflow {
    overflow-y: auto;
    overflow-x: hidden;
}

.cell {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cell-right {
    justify-content: flex-end;
}

.cell-full {
    grid-column: 1 / -1;
}

.setting-desc {
    grid-column: 1 / -1;
    font-size: 0.92em;
    opacity: 0.75;
    margin-top: -6px;
    line-height: 1.25;
    max-width: 520px;
    color: var(--subtext);
}

.divider {
    height: 10px;
    width: 90%;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}

.content-divider {
    grid-column: 1 / -1;
    height: 1px;
    width: 100%;
    background: var(--accent);
    margin: 12px 0;
}

.split-title {
    border-bottom: 1px solid var(--accent);
    display: flex;
}

#build-title {
    flex: 1;
}

#versions {
    color: var(--subtext);
}

.tooltip {
    position: relative;
}

.tooltiptext {
    visibility: hidden;
    background-color: var(--grid);
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;

    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;

    opacity: 0;
    transition: opacity 0.2s;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--grid);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.radio-group {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

input[type="radio"] {
    display: none;
}

.platform-label {
    width: 80px;
    height: min-content;
    text-align: center;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    background: var(--shaded-gradient);
    border: 1px solid var(--switch-off-border);
    border-radius: 10px; /* Fully rounded pill shape */
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.platform-label:hover {
    background: var(--shaded-accent);
    color: white;
    border-color: var(--switch-on-border);
}

input[type="radio"]:checked + .platform-label {
    background: var(--shaded-accent);
    color: white;
    border-color: var(--switch-on-border);
    font-weight: 500;
}

input[type="radio"]:disabled + .platform-label {
    cursor: not-allowed;
    background: var(--switch-off-border-gradient);
    color: black;
    border-color: var(--grid);
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:disabled + .slider {
    opacity: 0.55;
    cursor: not-allowed;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--shaded-gradient);
    border: 1px solid var(--switch-off-border);
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border: 1px solid var(--switch-thumb-outline);
    transition: .2s;
}

input:checked + .slider {
    background: var(--shaded-accent);
    border-color: var(--switch-on-border);
}

input:hover + .slider {
    background: var(--shaded-accent);
    border-color: var(--switch-on-border);
}

input:focus-visible + .slider {
    outline: 2px solid var(--accent-contrast);
    outline-offset: 2px;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.beta-select {
    position: relative;
    width: 180px;
}

.beta-trigger {
    width: 100%;
    font-family: "Fredoka", sans-serif;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid var(--switch-off-border);
    background: var(--shaded-gradient);
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.15s;
}

.beta-trigger:hover {
    border-color: var(--accent);
}

.beta-trigger i {
    font-size: 12px;
    opacity: 0.7;
}

.beta-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--grid);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: none;
    overflow: hidden;
    z-index: 1000;
}

.beta-select.open .beta-menu {
    display: block;
}

.beta-option {
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text);
    transition: 0.1s;
    font-size: 14px;
}

.beta-option.active {
    background: var(--grid-glow);
}

.beta-option:hover {
    background: var(--accent);
}

@media screen and (max-width: 1400px) {
    .content {
        height: 65vh;
        width: 65vw;
    }
    .showcase {
        width: 128px;
        justify-content: center;
    }
    .icon {
        height: 128px;
    }
}

@media screen and (max-width: 900px) {
    .content {
        height: 75vh;
        width: 75vw;
    }
    .body {
        flex-direction: column;
        gap: 8px;
    }
    .showcase {
        align-items: center;
        flex-direction: row;
        height: 128px;
        width: 100%;
        gap: 8px;
    }
    .text-title {
        display: none;
    }
    .information {
        padding-left: 0;
        height: 50%;
    }
}

@media screen and (max-width: 350px) {
    .showcase {
        display: none;
    }
    .left {
        width: 10px;
        opacity: 0;
    }
    .option {
        font-size: 12px;
    }
    #build-title {
        font-size: 16px;
    }
}

@media screen and (max-height: 600px) and (min-width: 850px) {
    .content {
        height: 80vh;
    }
    .text-title {
        display: none;
    }
    .icon {
        height: 128px;
    }
    .showcase {
        width: 128px;
        justify-content: center;
    }
}

@media screen and (max-height: 450px) {
    .showcase {
        display: none;
    }
}

#loading {
    align-self: center;
}

@keyframes throbber-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loading {
    transform-origin: 50% 50%;
    animation: throbber-rotate 10s linear infinite;
}

@keyframes throbber {
    0% {
        opacity: 1;
        backface-visibility: hidden;
        transform: translateZ(0) scale(1.5,1.5);
    } 100% {
        opacity: 0;
        backface-visibility: hidden;
        transform: translateZ(0) scale(1,1);
    }
}
.throbber div > div {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    animation: throbber 1s linear infinite;
}.throbber div:nth-child(1) > div {
    left: 148px;
    top: 88px;
    animation-delay: -0.8s;
}
.throbber > div:nth-child(1) {
    transform: rotate(0deg);
    transform-origin: 160px 100px;
}.throbber div:nth-child(2) > div {
    left: 107px;
    top: 145px;
    animation-delay: -0.6s;
}
.throbber > div:nth-child(2) {
    transform: rotate(72deg);
    transform-origin: 119px 157px;
}.throbber div:nth-child(3) > div {
    left: 39px;
    top: 123px;
    animation-delay: -0.4s;
}
.throbber > div:nth-child(3) {
    transform: rotate(144deg);
    transform-origin: 51px 135px;
}.throbber div:nth-child(4) > div {
    left: 39px;
    top: 53px;
    animation-delay: -0.2s;
}
.throbber > div:nth-child(4) {
    transform: rotate(216deg);
    transform-origin: 51px 65px;
}.throbber div:nth-child(5) > div {
    left: 107px;
    top: 31px;
    animation-delay: 0s;
}
.throbber > div:nth-child(5) {
    transform: rotate(288deg);
    transform-origin: 119px 43px;
}
.spinner {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
}
.throbber {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 50% 50%;
}
.throbber div {
    box-sizing: content-box;
}