html {
    background: black;
    min-width: unset;
    min-height: unset;
}
body {
    height: 100dvh;
}
header > div {
    justify-content: center;
}
main.section_box,
main .section_content {
    min-height: 100dvh;
}
header #SiteTitle {
    margin: 8px 0;
}
header #SiteTitle .beta-tag {
    bottom: 20px;
    right: 14px;
    width: 0;
}
.Alpha {
    color: var(--AlphaColor);
}
.Ghost {
    color: var(--GhostColor);
}
header #CenterSubLinks {
    flex-direction: column;
    gap: 10px;
}
header > div > div:last-of-type > div {
    display: block;
}

button .box {
    font-size: var(--font-size-xs);
}
main {
    width: unset;
}
main .section_content > div {
    padding: 10px;
}
.section_box > div {
    height: 100%;
}
#DownloadInfo {
    width: 100%;
    text-align: center;
}
#DownloadInfo > p {
    margin: 12px 0;
}
#DownloadInfo > p:first-of-type,
#DownloadInfo > p:last-of-type {
    margin: 0;
}
#MobileQuickNav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#DownloadSections {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.dl_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    & .dl_section_content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: first baseline;
        gap: 10px;
        flex-wrap: wrap;

        & .dl_section_item {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
            font-size: var(--font-size-xs);
            padding: 10px;
            border: 1px solid var(--site-border);
            border-radius: var(--radius-md);
            width: 225px;

            &:before,
            &:after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                /*font-family: 'Gloria Hallelujah', cursive;*/
                font-family: var(--font-script);
                font-size: var(--font-size-sm);
                color: rgba(var(--white-rgb), 0.75);
                text-shadow: 0 0 5px rgba(var(--white-rgb), 0.75);
            }

            &.needs_early_access {
                box-shadow: 0 0 5px rgba(var(--white-rgb), 0.75);
                &:before {
                    content: "Early Access!";
                    top: -5px;
                    width: 100%;
                    text-align: center;
                    font-size: var(--font-size-xs);
                    letter-spacing: 1px;
                }
            }
            &.needs_early_access.no_access {
                pointer-events: none;
                z-index: 1;
                overflow: hidden;
                box-shadow: none;

                & > * {
                    opacity: .5 !important;
                }
                &:before,
                &:after {
                    width: 100%;
                    height: 100%;
                    border-radius: var(--radius-md);
                    color: rgba(var(--white-rgb), 0.75);
                    text-shadow: 0 0 5px rgba(var(--white-rgb), 0.75);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    z-index: 2;
                    /*font-family: 'Gloria Hallelujah', cursive;*/
                    font-family: var(--font-script);
                    font-size: var(--font-size-sm);
                    letter-spacing: 0px;
                }
                &:before {
                    background: rgba(var(--black-rgb), 0.5);
                    content: "Early Access Needed";
                    color: rgba(var(--white-rgb), 0.75);
                    padding-bottom: 15px;
                    margin-top: -15px;
                }
                &:after {
                    content: attr(data-days) " Days Left";
                    padding-top: 15px;
                }
            }

            & .dl_image {
                width: 90px;
                height: 90px;
            }

            & .dl_title {
                font-size: var(--panel-title-font-size);
                margin: 10px 0 0;
            }

            & .dl_desc {
                margin: 0;
                height: 30px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
            }

            & .dl_details {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: first baseline;
                width: 100%;
                border-radius: var(--radius-lg);
                overflow: hidden;
                border: 1px solid rgba(var(--white-rgb), 0.5);

                & .dl_detail {
                    display: flex;
                    width: 100%;
                    border: 1px solid rgba(var(--white-rgb), 0.5);
                    padding: 3px;
                    gap: 5px;

                    & .dl_detail_name {
                        display: flex;
                        flex-direction: column;
                    }
                    & .dl_detail_value {
                        display: flex;
                        flex-direction: column;
                    }

                    &.row {
                        flex-direction: row;
                        justify-content: space-between;
                        align-items: first baseline;

                        & .dl_detail_name {
                            width: 50%;
                            text-align: right;
                        }
                        & .dl_detail_value {
                            width: 50%;
                            text-align: left;
                        }
                    }
                    &.col {
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;

                        & .dl_detail_name {
                            width: 100%;
                            text-align: center;
                        }
                        & .dl_detail_value {
                            width: 100%;
                            text-align: center;
                        }
                    }

                    & .dl_detail_valuesub {

                    }

                    & .dl_detail_valuesub:first-of-type {

                    }

                    & .dl_detail_valuesub:last-of-type {

                    }
                }
            }

            & .dl_btns {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                width: 100%;

                & .dl_btn {

                }

                & .dl_selection {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-content: center;
                    width: 100%;
                    text-align: center;

                    & .dl_select_title {
                        margin: 10px 0 6px;
                    }
                    & > div:first-of-type {
                        background: var(--chip-background);
                        border: 1px solid rgba(var(--white-rgb), 0.5);
                        display: flex;
                        flex-direction: row;
                        justify-content: center;
                        align-items: center;
                        height: 30px;
                        /*
                        width: max-content;
                        margin: auto;
                        */

                        & .dropdown-submenu-wrapper {
                            width: max-content !important;
                        }
                        & .dl_select {
                            height: 100%;
                            width: 100%;
                            background: var(--download-select-background);
                            border: 0;
                            box-shadow: inset 0 0 1px 1px var(--scrollbar-background);
                            color: var(--input-text);
                        }
                        & > button {
                            width: min-content;
                        }
                    }
                    .dl_selection_detail {
                        & > small {

                        }
                    }
                }
            }
        }
    }
}


footer a {
    font-family: var(--f6-font-family);
    text-decoration: none;
}
footer > div > div {
    padding: 0 0 8px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
footer #info-page-div {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
}

#info-page-div .about-tab a {
    padding: 4px 14px 2px;
    line-height: 2;
}
