@font-face {
    font-family: 'Permanent Marker';
    src: url('./fonts/PermanentMarker-Regular.woff2') format('woff2'),
         url('./fonts/PermanentMarker-Regular.woff') format('woff'),
         url('./fonts/PermanentMarker-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --cultRed: #8e1a1d;
    --cultRedLight: #c9474b;
}

body.auth-modal-open {
    overflow: hidden;
}

.cta-outline,
.cta-solid,
.cta-outline-disabled,
.cta-solid-disabled {
    appearance: none;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.cta-outline,
.cta-outline-disabled {
    background: transparent;
    border: 1px solid var(--cultRedLight);
    padding: 0.5rem 0.75rem;
}

.cta-outline {
    color: var(--cultRedLight);
}

.cta-outline:hover,
.cta-outline:focus {
    background: rgba(201, 71, 75, 0.12);
    outline: none;
}

.cta-outline-disabled {
    border-color: #6a5051;
    color: #6a5051;
    cursor: not-allowed;
}

.cta-outline-disabled:hover,
.cta-outline-disabled:focus {
    background: transparent;
    outline: none;
}

.cta-solid,
.cta-solid-disabled {
    border: 1px solid var(--cultRed);
    padding: 0.65rem 0.95rem;
}

.cta-solid {
    background: var(--cultRed);
    color: #fff;
}

.cta-solid:hover,
.cta-solid:focus {
    background: var(--cultRedLight);
    border-color: var(--cultRedLight);
    outline: none;
}

.cta-solid-disabled {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: #d8d8d8;
    cursor: not-allowed;
}

.cta-solid-disabled:hover,
.cta-solid-disabled:focus {
    background: #2a2a2a;
    border-color: #2a2a2a;
    outline: none;
}

.auth-entry-button {
    box-sizing: border-box;
    position: relative;
}

.auth-entry-button-authenticated.cta-outline {
    align-items: center;
    background: rgba(201, 71, 75, 0.08);
    border: 2px solid var(--cultRedLight, #f04b4b);
    border-radius: 50%;
    display: inline-flex;
    height: 70px;
    justify-content: center;
    max-height: 70px;
    max-width: 70px;
    min-height: 70px;
    min-width: 70px;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    width: 70px;
}

.auth-entry-button-authenticated.cta-outline:hover,
.auth-entry-button-authenticated.cta-outline:focus {
    background: rgba(201, 71, 75, 0.16);
}

.auth-entry-avatar-shell {
    align-items: center;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    display: inline-flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.auth-entry-avatar-image {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.auth-modal-shell {
    inset: 0;
    position: fixed;
    z-index: 6400;
}

.auth-modal-backdrop {
    background: rgba(0, 0, 0, 0.72);
    inset: 0;
    position: absolute;
}

.auth-modal-dialog {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
    color: #f0ece4;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    left: 50%;
    max-width: 34rem;
    padding: 1.5rem;
    position: relative;
    top: 12vh;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
}

.auth-modal-dialog:focus {
    outline: 2px solid var(--cultRedLight, #f04b4b);
    outline-offset: 2px;
}

.auth-modal-close {
    appearance: none;
    background: transparent;
    border: none;
    color: #f0ece4;
    cursor: pointer;
    font: inherit;
    font-size: 2rem;
    position: absolute;
    right: .5rem;
    top: 0;
}

.auth-modal-kicker {
    color: var(--cultRedLight, #f04b4b);
    font-family: "Permanent Marker", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.auth-modal-options {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0 1.25rem;
    width: 100%;
}

.auth-modal-option-column {
    flex: 1 1 0;
    min-width: 0;
}

.auth-modal-option-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
}

.auth-modal-option-twitch {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: center;
}

.auth-modal-divider {
    align-self: stretch;
    background: #454545;
    flex: 0 0 1px;
}

.auth-modal-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.auth-modal-account {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    margin: 1rem 0;
}

.auth-modal-account-avatar-shell {
    align-items: center;
    background: rgba(201, 71, 75, 0.08);
    border: 2px solid var(--cultRedLight, #f04b4b);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 140px;
    height: 140px;
    justify-content: center;
    overflow: hidden;
    width: 140px;
}

.auth-modal-account-avatar-image {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.auth-modal-account-copy {
    align-items: flex-start;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.auth-modal-account-name {
    font-family: "Permanent Marker", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.auth-modal-account-primary {
    min-width: 11rem;
    text-align: center;
}

.auth-modal-actions-authenticated {
    align-items: stretch;
    width: 100%;
}

.auth-modal-actions-authenticated .auth-modal-link {
    min-width: 10rem;
    text-align: center;
}

.auth-modal-twitch-button {
    align-items: center;
    background: #f7f7fb;
    border: 1px solid #cfcfe6;
    color: #3d1f70;
    display: inline-flex;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.1rem;
    text-decoration: none;
}

.auth-modal-twitch-button:hover,
.auth-modal-twitch-button:focus {
    background: #ffffff;
    border-color: #b8b8d8;
    outline: none;
}

.auth-modal-twitch-brand {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.55rem;
}

.auth-modal-twitch-glitch {
    display: block;
    height: 1.45rem;
    width: auto;
}

.auth-modal-twitch-wordmark {
    display: block;
    height: 1rem;
    width: auto;
}

.auth-modal-email-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.auth-modal-email-form input {
    background: #0b0b0b;
    border: 1px solid #4a4a4a;
    color: #fff;
    font: inherit;
    padding: 0.65rem 0.75rem;
}

.auth-modal-message {
    color: #f8eb20;
    margin-top: 0.75rem;
}

.auth-modal-message-error {
    color: #ff8d8d;
}

.auth-modal-message-success {
    color: #89f0c8;
}

@media (max-width: 720px) {
    .auth-modal-account {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-modal-account-avatar-shell {
        flex-basis: 110px;
        height: 110px;
        width: 110px;
    }

    .auth-modal-account-copy {
        width: 100%;
    }

    .auth-modal-account-primary {
        width: 100%;
    }

    .auth-modal-options {
        flex-direction: column;
        gap: 1.25rem;
    }

    .auth-modal-divider {
        align-self: auto;
        flex-basis: 1px;
        min-height: 1px;
        width: 100%;
    }

    .auth-modal-option-twitch {
        align-items: stretch;
        text-align: left;
    }

    .auth-modal-twitch-button {
        min-width: 0;
        width: 100%;
    }

    .auth-modal-actions-authenticated {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .auth-modal-actions-authenticated .auth-modal-link {
        min-width: 0;
        width: 100%;
    }
}
