.gammill-auth-login {
    --gammill-ink: #111111;
    --gammill-soft-ink: #343434;
    --gammill-paper: #f7f6f3;
    --gammill-white: #ffffff;
    --gammill-accent: #111111;
    --gammill-accent-dark: #000000;
    --gammill-silver: #d8d5cf;
    --gammill-border: rgba(17, 17, 17, .14);
    background:
        linear-gradient(rgba(8, 8, 8, .72), rgba(8, 8, 8, .72)),
        linear-gradient(115deg, #050505 0%, #181818 56%, #363636 100%);
    color: var(--gammill-ink);
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    margin: 0 0 0 calc(50% - 50vw);
    min-height: max(720px, calc(100vh - 120px));
    max-width: 100vw;
    overflow: hidden;
    padding: clamp(46px, 7vw, 86px) 0;
    position: relative;
    width: 100vw;
}

.gammill-auth-login::before {
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .09) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .09) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .09) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .09) 75%);
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    background-size: 24px 24px;
    content: "";
    inset: 0;
    opacity: .13;
    pointer-events: none;
    position: absolute;
}

.gammill-auth-login *,
.gammill-auth-login *::before,
.gammill-auth-login *::after {
    box-sizing: border-box;
}

.gammill-auth-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 clamp(16px, 4vw, 32px);
    position: relative;
    z-index: 1;
}

.gammill-auth-panel {
    background:
        linear-gradient(115deg, rgba(5, 5, 5, .98), rgba(19, 19, 19, .96) 58%, rgba(47, 47, 47, .96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 22px);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 34px 90px rgba(17, 17, 17, .2);
    display: grid;
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
    min-height: min(720px, calc(100vh - 172px));
    overflow: hidden;
    position: relative;
}

.gammill-auth-panel::before {
    background:
        linear-gradient(90deg, var(--gammill-silver), transparent 34%, rgba(255, 255, 255, .62)),
        repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, .45) 14px 15px);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.gammill-auth-card {
    background: var(--gammill-paper);
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: var(--gammill-ink);
    padding: clamp(28px, 5vw, 46px);
    position: relative;
}

.gammill-auth-card::after {
    border: 1px solid rgba(17, 17, 17, .14);
    bottom: 16px;
    content: "";
    left: 16px;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 16px;
}

.gammill-auth-card-inner {
    position: relative;
    z-index: 1;
}

.gammill-auth-eyebrow {
    color: var(--gammill-accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.gammill-auth-login h1,
.gammill-auth-login h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
}

.gammill-auth-login h1 {
    color: var(--gammill-ink);
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: .94;
    margin: 0 0 26px;
    text-align: left;
}

.gammill-auth-login .gammillAuthLoginForm {
    background: transparent;
    margin: 0;
    padding: 0;
}

.gammill-auth-login .form-outline {
    margin-bottom: 18px;
}

.gammill-auth-login .form-label {
    color: var(--gammill-soft-ink);
    display: block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.gammill-auth-login .form-control {
    background: var(--gammill-white);
    border: 1px solid rgba(17, 17, 17, .22);
    border-radius: 2px;
    box-shadow: none;
    color: var(--gammill-ink);
    font-size: 1rem;
    min-height: 54px;
    outline: none;
    padding: 13px 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.gammill-auth-login .form-control:focus {
    border-color: var(--gammill-accent);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .12);
}

.gammill-auth-form-grid {
    display: grid;
    gap: 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gammill-auth-form-wide {
    grid-column: 1 / -1;
}

.gammill-auth-password {
    align-items: stretch;
    display: flex;
    width: 100%;
}

.gammill-auth-password .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.gammill-auth-toggle {
    align-items: center;
    background: var(--gammill-white);
    border: 1px solid rgba(17, 17, 17, .22);
    border-left: 0;
    border-radius: 0 2px 2px 0;
    color: var(--gammill-accent);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 54px;
    padding: 0 16px;
}

.gammill-auth-message-row {
    margin: 0 0 16px;
}

.gammill-auth-login .alert {
    border-radius: 2px;
    font-size: .95rem;
    margin: 0;
    padding: 12px 14px;
}

.gammill-auth-actions {
    align-items: center;
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.gammill-auth-button-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.gammill-auth-submit,
.gammill-auth-secondary {
    align-items: center;
    border-radius: 2px;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: .12em;
    min-height: 52px;
    padding: 14px 18px;
    text-align: center;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    width: 100%;
}

.gammill-auth-submit {
    background: var(--gammill-accent);
    border: 1px solid var(--gammill-accent);
    color: var(--gammill-white);
}

.gammill-auth-submit:hover,
.gammill-auth-submit:focus {
    background: var(--gammill-accent-dark);
    border-color: var(--gammill-accent-dark);
    color: var(--gammill-white);
    transform: translateY(-1px);
}

.gammill-auth-submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.gammill-auth-secondary {
    background: transparent;
    border: 1px solid rgba(17, 17, 17, .28);
    color: var(--gammill-accent);
}

.gammill-auth-secondary:hover,
.gammill-auth-secondary:focus {
    background: var(--gammill-white);
    color: var(--gammill-accent-dark);
    text-decoration: none;
}

.gammill-auth-link-row {
    display: flex;
    justify-content: center;
}

.gammill-auth-login a {
    color: var(--gammill-accent);
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 4px;
}

.gammill-auth-login a:hover,
.gammill-auth-login a:focus {
    color: var(--gammill-accent-dark);
    text-decoration: underline;
}

.gammill-auth-login .gammill-auth-secondary:hover,
.gammill-auth-login .gammill-auth-secondary:focus {
    text-decoration: none;
}

.gammill-auth-register,
.gammill-auth-note {
    border-top: 1px solid var(--gammill-border);
    color: var(--gammill-soft-ink);
    font-size: .95rem;
    line-height: 1.55;
    margin-top: 8px;
    padding-top: 18px;
    text-align: center;
}

.gammill-auth-story {
    color: var(--gammill-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 7vw, 76px);
    position: relative;
}

.gammill-auth-story::after {
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .08) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .08) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .08) 75%);
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
    background-size: 22px 22px;
    bottom: 0;
    content: "";
    opacity: .18;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: min(180px, 24vw);
}

.gammill-auth-story-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.gammill-auth-story h2 {
    color: var(--gammill-white);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.04;
    margin: 0 0 22px;
    max-width: 760px;
}

.gammill-auth-story p {
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1rem, 1.5vw, 1.13rem);
    line-height: 1.75;
    margin: 0 0 18px;
}

.gammill-auth-story .gammill-auth-eyebrow {
    color: rgba(255, 255, 255, .78);
}

.gammill-auth-feature-list {
    border-top: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
    padding-top: 22px;
}

.gammill-auth-feature {
    color: rgba(255, 255, 255, .78);
    font-size: .85rem;
    letter-spacing: .04em;
    line-height: 1.45;
    text-transform: uppercase;
}

.gammill-auth-feature strong {
    color: var(--gammill-white);
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.24rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 4px;
    text-transform: none;
}

@media (max-width: 900px) {
    .gammill-auth-panel {
        grid-template-columns: 1fr;
    }

    .gammill-auth-card {
        border-right: 0;
    }

    .gammill-auth-story {
        min-height: auto;
        padding-top: 34px;
    }
}

@media (max-width: 640px) {
    .gammill-auth-login {
        margin-left: calc(50% - 50vw);
        min-height: auto;
        padding: 28px 0;
    }

    .gammill-auth-shell {
        padding: 0 12px;
    }

    .gammill-auth-card,
    .gammill-auth-story {
        padding: 28px 22px;
    }

    .gammill-auth-card::after {
        bottom: 10px;
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .gammill-auth-form-grid,
    .gammill-auth-button-row,
    .gammill-auth-feature-list {
        grid-template-columns: 1fr;
    }
}
