:root {
    --height-header: 140px;
}

.formmodal:not(.active) {
    display: none;
}

.formmodal.active {
    display: block;
}

.dlwrap_install {
    margin-top: 1rem;
}

.quick_actions,
.thankyou_downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto;
    width: min(100%, 520px);
}

.thankyou_downloads {
    margin-top: 18px;
}

.quick_action {
    align-items: center;
    appearance: none;
    background: linear-gradient(180deg, #351607 0%, #160904 100%);
    border: 1px solid #d8a63c;
    border-radius: 13px;
    box-shadow: inset 0 0 0 1px rgba(255, 238, 164, .12), 0 4px 10px rgba(0, 0, 0, .28);
    color: #fff0af;
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 9px;
    justify-content: flex-start;
    min-height: 62px;
    overflow: hidden;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.quick_action:hover,
.quick_action:focus-visible {
    border-color: #ffe59a;
    box-shadow: inset 0 0 0 1px rgba(255, 238, 164, .22), 0 0 14px rgba(231, 166, 46, .42);
    color: #fff8d6;
    outline: none;
    transform: translateY(-1px);
}

.quick_action i {
    align-items: center;
    background: rgba(255, 225, 129, .11);
    border: 1px solid rgba(255, 228, 145, .32);
    border-radius: 50%;
    display: flex;
    flex: 0 0 38px;
    font-size: 20px;
    height: 38px;
    justify-content: center;
}

.quick_action span {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.quick_action small {
    color: #d9be83;
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .25px;
    margin-bottom: 3px;
}

.quick_action_login,
.quick_action_register {
    background: linear-gradient(180deg, #3a2507 0%, #181004 100%);
}

.quick_action_android {
    background: linear-gradient(180deg, #8f1c13 0%, #4f0805 100%);
}

.quick_action_ios {
    background: linear-gradient(180deg, #433c2f 0%, #17130f 100%);
}

.quick_actions_note {
    color: #dfc98b;
    font-size: 12px;
    margin: 8px 0 0;
    text-align: center;
}

.slogan_hyperlink {
    cursor: pointer;
}

@media (max-width: 1200px) {
    .middle {
        min-height: calc(100svh - var(--height-header, 140px));
    }
}

@media (max-width: 410px) {
    :root {
        --height-header: 125px;
    }

    .quick_actions {
        gap: 8px;
    }

    .quick_action {
        border-radius: 11px;
        gap: 7px;
        min-height: 56px;
        padding: 7px 8px;
    }

    .quick_action i {
        flex-basis: 32px;
        font-size: 17px;
        height: 32px;
    }

    .quick_action span {
        font-size: 13px;
    }

    .quick_action small {
        font-size: 8px;
    }
}

@media (max-width: 340px) {
    .quick_actions {
        grid-template-columns: 1fr;
    }

    .quick_action {
        min-height: 48px;
    }
}

@media only screen and (max-height: 480px) and (orientation: landscape) {
    :root {
        --height-header: 55px;
    }

    .dlwrap_install {
        margin-top: 4px;
    }

    .quick_action {
        min-height: 46px;
        padding: 5px 8px;
    }

    .quick_action i {
        flex-basis: 30px;
        font-size: 16px;
        height: 30px;
    }

    .quick_actions_note {
        margin-top: 4px;
    }
}
