/* Auth pages share one restrained shell so login and signup feel like the same trusted flow. */
#mainNav,
#mobileMenu,
footer {
    display: none !important;
}

body {
    background-color: #f4f7fb;
}

.auth-shell-page {
    /*
     * Auth chrome mirrors the home correction: quiet surfaces, blue-only emphasis,
     * and enough contrast for trust without decorative glow.
     */
    --auth-shell-focus-ring: 0 0 0 3px rgba(36, 87, 197, 0.13);
    --auth-shell-focus-border: rgba(36, 87, 197, 0.28);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 12%, rgba(36, 87, 197, 0.08), transparent 28rem),
        radial-gradient(circle at 86% 10%, rgba(148, 163, 184, 0.12), transparent 20rem),
        linear-gradient(180deg, #f4f7fb 0%, #eef3f8 52%, #fafbfd 100%);
}

.auth-shell-page::before,
.auth-shell-page::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(14px);
    opacity: 0.52;
}

.auth-shell-page::before {
    top: 4rem;
    left: -4rem;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(231, 239, 255, 0.9) 0%, rgba(231, 239, 255, 0) 74%);
}

.auth-shell-page::after {
    right: -3rem;
    bottom: 4rem;
    width: 12rem;
    height: 12rem;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.86) 0%, rgba(226, 232, 240, 0) 76%);
}

.auth-shell-main {
    position: relative;
    z-index: 1;
    padding:
        max(env(safe-area-inset-top), 1.5rem)
        1rem
        max(env(safe-area-inset-bottom), 1.5rem);
}

.auth-shell-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 3rem);
}

.auth-shell-card {
    width: 100%;
    max-width: 35rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.85rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    /* Slightly denser auth panels read as more deliberate without changing the flow. */
    padding: clamp(1.4rem, 3.8vw, 2.2rem);
    backdrop-filter: blur(16px);
}

.auth-shell-card--wide {
    max-width: 72rem;
}

.auth-shell-page--login-spectrum {
    --auth-login-950: #1f1538;
    --auth-login-900: #34255f;
    --auth-login-800: #4d358d;
    --auth-login-700: #6844c6;
    --auth-login-600: #8758f2;
    --auth-login-400: #b287f4;
    --auth-login-200: #e6d8fc;
    --auth-login-100: #f2ebff;
    --auth-login-50: #fbf9ff;
    --auth-shell-focus-ring: 0 0 0 3px rgba(135, 88, 242, 0.18);
    --auth-shell-focus-border: rgba(104, 68, 198, 0.34);
    background:
        radial-gradient(circle at 12% 12%, rgba(31, 21, 56, 0.12), transparent 23rem),
        radial-gradient(circle at 86% 14%, rgba(135, 88, 242, 0.17), transparent 18rem),
        radial-gradient(circle at 50% 100%, rgba(178, 135, 244, 0.18), transparent 24rem),
        linear-gradient(180deg, #faf8fd 0%, #f3eefb 52%, #fcfbfe 100%);
}

.auth-shell-page--login-spectrum::before {
    top: 3.2rem;
    left: -3rem;
    width: 15rem;
    height: 15rem;
    background: radial-gradient(circle, rgba(230, 216, 252, 0.95) 0%, rgba(230, 216, 252, 0) 72%);
    opacity: 0.72;
}

.auth-shell-page--login-spectrum::after {
    right: -2rem;
    bottom: 3rem;
    width: 13rem;
    height: 13rem;
    background: radial-gradient(circle, rgba(77, 53, 141, 0.16) 0%, rgba(77, 53, 141, 0) 76%);
    opacity: 0.5;
}

.auth-shell-card--login-spectrum {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(104, 68, 198, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(249, 245, 255, 0.965) 100%);
    box-shadow:
        0 22px 48px rgba(31, 21, 56, 0.09),
        0 8px 24px rgba(135, 88, 242, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.auth-shell-card--login-spectrum::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7rem;
    background: linear-gradient(180deg, rgba(242, 235, 255, 0.82) 0%, rgba(242, 235, 255, 0) 100%);
    pointer-events: none;
}

.auth-shell-card--login-spectrum > * {
    position: relative;
    z-index: 1;
}

.auth-shell-header {
    text-align: center;
}

.auth-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.8rem;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 999px;
    background: rgba(237, 243, 255, 0.9);
    color: var(--color-brand-700);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-shell-brand:hover,
.auth-shell-brand:focus-visible {
    color: var(--color-brand-900);
    text-decoration: none;
}

.auth-shell-brand:focus-visible {
    outline: none;
    box-shadow: var(--auth-shell-focus-ring);
}

.auth-shell-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: transparent;
    color: var(--color-brand-700);
    box-shadow: none;
    flex: 0 0 auto;
}

.auth-shell-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-shell-card--login-spectrum .auth-shell-brand {
    border-color: rgba(104, 68, 198, 0.18);
    background: linear-gradient(135deg, rgba(242, 235, 255, 0.96) 0%, rgba(251, 249, 255, 0.96) 100%);
    color: var(--auth-login-800);
}

.auth-shell-card--login-spectrum .auth-shell-brand:hover,
.auth-shell-card--login-spectrum .auth-shell-brand:focus-visible {
    color: var(--auth-login-950);
}

.auth-shell-card--login-spectrum .auth-shell-brand-icon {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.auth-shell-kicker {
    margin: 1.1rem 0 0;
    color: #667085;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-shell-card--login-spectrum .auth-shell-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.95rem;
    margin-top: 1rem;
    padding: 0 0.82rem;
    border-radius: 999px;
    background: rgba(242, 235, 255, 0.9);
    color: var(--auth-login-800);
    letter-spacing: 0.14em;
}

.auth-shell-title {
    margin: 0.58rem 0 0;
    color: #101828;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.auth-shell-title--compact {
    font-size: clamp(1.8rem, 5vw, 2.35rem);
}

.auth-shell-summary {
    margin: 0.8rem auto 0;
    max-width: 28rem;
    color: #475467;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: -0.014em;
    word-break: keep-all;
}

.auth-shell-card--login-spectrum .auth-shell-title {
    margin-top: 0.95rem;
    color: var(--auth-login-950);
}

.auth-shell-card--login-spectrum .auth-shell-summary {
    color: #5f5576;
}

.auth-shell-stack,
.auth-shell-form {
    display: grid;
    gap: 0.82rem;
}

.auth-shell-stack {
    margin-top: 1.45rem;
}

.auth-shell-notice,
.auth-shell-muted-panel,
.auth-shell-checkbox-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    padding: 0.92rem 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.auth-shell-notice::before,
.auth-shell-muted-panel::before,
.auth-shell-checkbox-card::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.18) 100%);
    pointer-events: none;
}

.auth-shell-notice {
    margin-top: 1.2rem;
    border: 1px solid rgba(36, 87, 197, 0.15);
    background: rgba(237, 243, 255, 0.88);
}

.auth-shell-card--login-spectrum .auth-shell-notice {
    border-color: rgba(135, 88, 242, 0.2);
    background: linear-gradient(135deg, rgba(242, 235, 255, 0.92) 0%, rgba(230, 216, 252, 0.8) 100%);
}

.auth-shell-notice--error {
    border-color: rgba(196, 73, 99, 0.22);
    background: rgba(255, 241, 244, 0.92);
}

.auth-shell-notice-title {
    margin: 0;
    color: #101828;
    font-size: 0.92rem;
    font-weight: 800;
}

.auth-shell-card--login-spectrum .auth-shell-notice-title {
    color: var(--auth-login-900);
}

.auth-shell-notice--error .auth-shell-notice-title {
    color: #9f1239;
}

.auth-shell-notice-copy {
    margin: 0.3rem 0 0;
    color: #475467;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.55;
}

.auth-shell-card--login-spectrum .auth-shell-notice-copy {
    color: #5c4d7b;
}

.auth-shell-notice--error .auth-shell-notice-copy {
    color: #be123c;
}

.auth-shell-provider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    min-height: 3.9rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 1.3rem;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        filter 180ms ease;
}

.auth-shell-provider:hover,
.auth-shell-provider:focus-visible {
    transform: translateY(-1px);
    text-decoration: none;
    filter: brightness(0.985);
}

.auth-shell-provider:focus-visible {
    outline: none;
    box-shadow: var(--auth-shell-focus-ring);
}

.auth-shell-provider:active {
    transform: translateY(0);
}

.auth-shell-provider svg {
    flex-shrink: 0;
}

.auth-shell-provider--kakao {
    border-color: rgba(231, 211, 65, 0.82);
    background: #fee500;
    color: #2f1a1a;
    box-shadow: 0 10px 20px rgba(234, 211, 65, 0.2);
}

.auth-shell-provider--naver {
    border-color: rgba(3, 199, 90, 0.28);
    background: #03c75a;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(3, 199, 90, 0.16);
}

.auth-shell-page--login-spectrum .auth-shell-provider--kakao {
    border-color: rgba(196, 167, 0, 0.56);
    background: linear-gradient(135deg, #fee500 0%, #ffef7a 100%);
    color: #2f1a1a;
    box-shadow: 0 12px 24px rgba(201, 168, 0, 0.26);
}

.auth-shell-page--login-spectrum .auth-shell-provider--naver {
    border-color: rgba(3, 199, 90, 0.38);
    background: linear-gradient(135deg, #03c75a 0%, #00b050 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(3, 176, 80, 0.24);
}

.auth-shell-muted-panel {
    margin-top: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.88);
}

.auth-shell-card--login-spectrum .auth-shell-muted-panel {
    border-color: rgba(178, 135, 244, 0.18);
    background: linear-gradient(180deg, rgba(251, 249, 255, 0.96) 0%, rgba(242, 235, 255, 0.88) 100%);
}

.auth-shell-muted-panel-title {
    margin: 0;
    color: #101828;
    font-size: 0.9rem;
    font-weight: 800;
}

.auth-shell-card--login-spectrum .auth-shell-muted-panel-title {
    color: var(--auth-login-950);
}

.auth-shell-muted-panel-copy {
    margin: 0.3rem 0 0;
    color: #475467;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.6;
}

.auth-shell-card--login-spectrum .auth-shell-muted-panel-copy {
    color: #5f5576;
}

.auth-shell-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.auth-shell-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(237, 243, 255, 0.94);
    color: var(--color-brand-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.auth-shell-card--login-spectrum .auth-shell-pill {
    background: rgba(242, 235, 255, 0.94);
    color: var(--auth-login-700);
}

.auth-shell-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.65rem;
    margin-top: 0.7rem;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-shell-links--standalone {
    margin-top: 1rem;
}

.auth-shell-card--login-spectrum .auth-shell-links,
.auth-shell-card--login-spectrum .auth-shell-footer,
.auth-shell-card--login-spectrum .auth-shell-help {
    color: #7a7092;
}

.auth-shell-link {
    color: var(--color-brand-700);
    font-weight: 800;
    text-decoration-color: rgba(36, 87, 197, 0.24);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.auth-shell-card--login-spectrum .auth-shell-link {
    color: var(--auth-login-700);
    text-decoration-color: rgba(104, 68, 198, 0.24);
}

.auth-shell-link:hover {
    color: var(--color-brand-900);
    text-decoration-color: rgba(36, 87, 197, 0.42);
}

.auth-shell-card--login-spectrum .auth-shell-link:hover {
    color: var(--auth-login-950);
    text-decoration-color: rgba(52, 37, 95, 0.38);
}

.auth-shell-link:focus-visible {
    outline: none;
    border-radius: 0.35rem;
    box-shadow: var(--auth-shell-focus-ring);
}

.auth-shell-footer {
    margin: 1rem 0 0;
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
}

.auth-shell-divider {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.45rem 0;
    color: #98a2b3;
    font-size: 0.8rem;
    font-weight: 800;
}

.auth-shell-card--login-spectrum .auth-shell-divider {
    color: #8b7cae;
}

.auth-shell-card--login-spectrum .auth-shell-divider span {
    padding: 0.32rem 0.74rem;
    border: 1px solid rgba(230, 216, 252, 0.84);
    border-radius: 999px;
    background: rgba(251, 249, 255, 0.92);
}

.auth-shell-divider::before,
.auth-shell-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.22);
}

.auth-shell-card--login-spectrum .auth-shell-divider::before,
.auth-shell-card--login-spectrum .auth-shell-divider::after {
    background: rgba(178, 135, 244, 0.24);
}

.auth-shell-field {
    display: grid;
    gap: 0.45rem;
}

.auth-shell-label {
    color: #344054;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.auth-shell-card--login-spectrum .auth-shell-label {
    color: var(--auth-login-900);
}

.auth-shell-field.has-error .auth-shell-label {
    color: #9f1239;
}

.auth-shell-required {
    color: #c44963;
}

.auth-shell-input-wrap {
    position: relative;
}

.auth-shell-field-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #c44963;
    pointer-events: none;
}

.auth-shell-form input[type="text"],
.auth-shell-form input[type="email"],
.auth-shell-form input[type="password"],
.auth-shell-form input[type="url"],
.auth-shell-form select,
.auth-shell-form textarea,
.auth-shell-input {
    width: 100%;
    min-height: 3.2rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.88rem 1rem;
    color: #101828;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.auth-shell-card--login-spectrum .auth-shell-form input[type="text"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="email"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="password"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="url"],
.auth-shell-card--login-spectrum .auth-shell-form select,
.auth-shell-card--login-spectrum .auth-shell-form textarea,
.auth-shell-card--login-spectrum .auth-shell-input {
    border-color: rgba(178, 135, 244, 0.22);
    background: rgba(251, 249, 255, 0.96);
    color: var(--auth-login-950);
}

.auth-shell-form input[type="text"]:hover,
.auth-shell-form input[type="email"]:hover,
.auth-shell-form input[type="password"]:hover,
.auth-shell-form input[type="url"]:hover,
.auth-shell-form select:hover,
.auth-shell-form textarea:hover,
.auth-shell-input:hover {
    border-color: rgba(148, 163, 184, 0.3);
    background: #ffffff;
}

.auth-shell-card--login-spectrum .auth-shell-form input[type="text"]:hover,
.auth-shell-card--login-spectrum .auth-shell-form input[type="email"]:hover,
.auth-shell-card--login-spectrum .auth-shell-form input[type="password"]:hover,
.auth-shell-card--login-spectrum .auth-shell-form input[type="url"]:hover,
.auth-shell-card--login-spectrum .auth-shell-form select:hover,
.auth-shell-card--login-spectrum .auth-shell-form textarea:hover,
.auth-shell-card--login-spectrum .auth-shell-input:hover {
    border-color: rgba(135, 88, 242, 0.28);
    background: #ffffff;
}

.auth-shell-form textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.auth-shell-form input::placeholder,
.auth-shell-form textarea::placeholder,
.auth-shell-input::placeholder {
    color: #98a2b3;
}

.auth-shell-card--login-spectrum .auth-shell-form input::placeholder,
.auth-shell-card--login-spectrum .auth-shell-form textarea::placeholder,
.auth-shell-card--login-spectrum .auth-shell-input::placeholder {
    color: #9a8fb3;
}

.auth-shell-form input:focus,
.auth-shell-form select:focus,
.auth-shell-form textarea:focus,
.auth-shell-input:focus {
    outline: none;
    border-color: var(--auth-shell-focus-border);
    background: #ffffff;
    box-shadow:
        var(--auth-shell-focus-ring),
        0 10px 18px rgba(36, 87, 197, 0.08);
}

.auth-shell-card--login-spectrum .auth-shell-form input:focus,
.auth-shell-card--login-spectrum .auth-shell-form select:focus,
.auth-shell-card--login-spectrum .auth-shell-form textarea:focus,
.auth-shell-card--login-spectrum .auth-shell-input:focus {
    box-shadow:
        var(--auth-shell-focus-ring),
        0 12px 22px rgba(104, 68, 198, 0.14);
}

.auth-shell-field.has-error input,
.auth-shell-field.has-error select,
.auth-shell-field.has-error textarea {
    border-color: rgba(196, 73, 99, 0.3);
    box-shadow: 0 0 0 3px rgba(196, 73, 99, 0.08);
}

.auth-shell-help,
.auth-shell-error {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

.auth-shell-help {
    color: #667085;
}

.auth-shell-error {
    color: #be123c;
}

.auth-shell-checkbox-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.88);
}

.auth-shell-checkbox-card.has-error {
    border-color: rgba(196, 73, 99, 0.24);
    background: rgba(255, 241, 244, 0.9);
}

.auth-shell-checkbox-card:focus-within {
    border-color: rgba(36, 87, 197, 0.22);
    box-shadow:
        var(--auth-shell-focus-ring),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.auth-shell-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-shell-checkbox-card input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--color-brand-700);
    flex-shrink: 0;
}

.auth-shell-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 3.3rem;
    border: 0;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, var(--color-brand-900) 0%, var(--color-brand-700) 100%);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-decoration: none;
    box-shadow:
        0 12px 24px rgba(36, 87, 197, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.auth-shell-card--login-spectrum .auth-shell-submit {
    background: linear-gradient(135deg, var(--auth-login-950) 0%, var(--auth-login-700) 56%, var(--auth-login-400) 100%);
    box-shadow:
        0 14px 28px rgba(52, 37, 95, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.auth-shell-submit:hover,
.auth-shell-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        var(--auth-shell-focus-ring),
        0 14px 28px rgba(36, 87, 197, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #ffffff;
    text-decoration: none;
}

.auth-shell-card--login-spectrum .auth-shell-submit:hover,
.auth-shell-card--login-spectrum .auth-shell-submit:focus-visible {
    box-shadow:
        var(--auth-shell-focus-ring),
        0 18px 32px rgba(52, 37, 95, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.auth-shell-submit:active {
    transform: translateY(0);
}

.auth-shell-submit:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.auth-shell-action-row {
    display: grid;
    gap: 0.75rem;
}

.auth-shell-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    color: #475467;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.auth-shell-card--login-spectrum .auth-shell-secondary-action {
    border-color: rgba(178, 135, 244, 0.2);
    background: rgba(251, 249, 255, 0.92);
    color: var(--auth-login-800);
}

.auth-shell-secondary-action:hover,
.auth-shell-secondary-action:focus-visible {
    border-color: rgba(148, 163, 184, 0.38);
    color: #101828;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--auth-shell-focus-ring);
}

.auth-shell-card--login-spectrum .auth-shell-secondary-action:hover,
.auth-shell-card--login-spectrum .auth-shell-secondary-action:focus-visible {
    border-color: rgba(135, 88, 242, 0.3);
    color: var(--auth-login-950);
}

.auth-shell-secondary-action:focus-visible {
    outline: none;
}

.auth-shell-choice-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-shell-choice-option {
    display: block;
}

.auth-shell-choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-shell-choice-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 100%;
    padding: 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease,
        background-color 160ms ease;
}

.auth-shell-choice-option:hover .auth-shell-choice-card,
.auth-shell-choice-input:focus-visible + .auth-shell-choice-card {
    border-color: rgba(36, 87, 197, 0.28);
    box-shadow:
        var(--auth-shell-focus-ring),
        0 12px 24px rgba(36, 87, 197, 0.08);
    transform: translateY(-1px);
}

.auth-shell-choice-input:checked + .auth-shell-choice-card {
    border-color: rgba(36, 87, 197, 0.34);
    background: rgba(237, 243, 255, 0.9);
    box-shadow:
        0 12px 24px rgba(36, 87, 197, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.auth-shell-choice-title {
    color: #101828;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-shell-choice-copy {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.55;
}

.auth-shell-choice-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 1.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(36, 87, 197, 0.12);
    color: var(--color-brand-700);
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    transition: opacity 160ms ease;
}

.auth-shell-choice-input:checked + .auth-shell-choice-card .auth-shell-choice-badge {
    opacity: 1;
}

@media (max-width: 640px) {
    .auth-shell-wrap {
        min-height: calc(100vh - 2.5rem);
    }

    .auth-shell-card {
        border-radius: 1.55rem;
        padding: 1.2rem;
    }

    .auth-shell-brand {
        font-size: 0.78rem;
    }

    .auth-shell-provider {
        min-height: 3.6rem;
        font-size: 0.95rem;
    }
}

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

/* Login entry: bright reference composition with the original login behavior intact. */
.auth-shell-page--login-spectrum {
    --auth-login-950: #1a1730;
    --auth-login-900: #2d2250;
    --auth-login-800: #45337a;
    --auth-login-700: #6047d7;
    --auth-login-600: #7957f3;
    --auth-login-300: #c9bef8;
    --auth-login-200: #ded7f2;
    --auth-login-100: #f0ecfb;
    --auth-login-muted: #6f6b82;
    --auth-shell-focus-ring: 0 0 0 3px rgba(121, 87, 243, 0.16);
    --auth-shell-focus-border: rgba(121, 87, 243, 0.32);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f5f4f9;
    color: var(--auth-login-950);
}

.auth-shell-page--login-spectrum::before,
.auth-shell-page--login-spectrum::after {
    display: none;
}

.auth-login-bg,
.auth-login-blob,
.auth-login-dots {
    position: absolute;
    pointer-events: none;
}

.auth-login-bg {
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(222, 208, 251, 0.86) 0%, rgba(222, 208, 251, 0) 60%),
        radial-gradient(ellipse 50% 40% at 10% 100%, rgba(199, 238, 231, 0.76) 0%, rgba(199, 238, 231, 0) 55%),
        #f5f4f9;
}

.auth-login-blob {
    z-index: 0;
    border-radius: 999px;
    filter: blur(60px);
}

.auth-login-blob--one {
    top: -10rem;
    right: -6.25rem;
    width: 30rem;
    height: 30rem;
    background: #dcccfb;
    opacity: 0.6;
}

.auth-login-blob--two {
    bottom: -5rem;
    left: -3.75rem;
    width: 20rem;
    height: 20rem;
    background: #ccefe8;
    opacity: 0.5;
}

.auth-login-blob--three {
    top: 50%;
    left: 38%;
    width: 12.5rem;
    height: 12.5rem;
    background: #f3e7bf;
    opacity: 0.42;
}

.auth-login-dots {
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(105, 75, 202, 0.11) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.58;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.auth-shell-wrap--login {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 3rem);
}

.auth-login-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(22rem, 26.25rem);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    width: min(100%, 74rem);
}

.auth-login-panel {
    max-width: 28rem;
    color: var(--auth-login-950);
    animation: authLoginPanelIn 0.8s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authLoginPanelIn {
    from {
        opacity: 0;
        transform: translateX(-1.5rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.auth-login-panel-kicker {
    margin: 0 0 1.125rem;
    color: #765cf1;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-login-panel-title {
    margin: 0;
    color: #11121a;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
    word-break: keep-all;
}

.auth-login-panel-title em {
    color: var(--auth-login-600);
    font-style: normal;
}

.auth-login-list {
    display: grid;
    gap: 1.125rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-login-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    min-width: 0;
}

.auth-login-feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
}

.auth-login-feature-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.auth-login-feature-icon--purple {
    background: #eee9fb;
    color: #6e47cf;
}

.auth-login-feature-icon--teal {
    background: #e5f4f2;
    color: #298b89;
}

.auth-login-feature-icon--amber {
    background: #f6efd9;
    color: #a66e10;
}

.auth-login-feature-text {
    min-width: 0;
}

.auth-login-list strong {
    display: block;
    color: #272538;
    font-size: 0.96rem;
    font-weight: 850;
    letter-spacing: 0;
}

.auth-login-list em {
    display: block;
    margin-top: 0.25rem;
    color: #6f6b82;
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum {
    max-width: 26.25rem;
    border: 1px solid #e2daf2;
    border-radius: 1.75rem;
    background: #ffffff;
    color: var(--auth-login-950);
    padding: 3rem 2.5rem 2.25rem;
    box-shadow:
        0 2px 0 rgba(112, 79, 204, 0.12),
        0 16px 48px rgba(75, 54, 140, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: authLoginCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authLoginCardIn {
    from {
        opacity: 0;
        transform: translateY(1.5rem) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.auth-shell-card--login-spectrum::before {
    display: none;
}

.auth-shell-card--login-spectrum .auth-shell-header {
    text-align: left;
}

.auth-shell-card--login-spectrum .auth-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 0;
    margin-bottom: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--auth-login-950);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.auth-shell-card--login-spectrum .auth-shell-brand:focus-visible {
    border-radius: 0.8rem;
}

.auth-shell-card--login-spectrum .auth-shell-brand-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #8f63f6 0%, #4f43f5 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(93, 63, 198, 0.28);
}

.auth-shell-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    line-height: 1.05;
}

.auth-shell-brand-ko {
    color: #7b7291;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0;
}

.auth-shell-brand-en {
    color: #11121a;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum .auth-shell-title {
    margin-top: 0;
    color: #11121a;
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1.26;
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum .auth-shell-summary {
    margin: 0.7rem 0 0;
    max-width: none;
    color: #666278;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: 0;
}

.auth-shell-divider--login {
    display: block;
    height: 1px;
    margin: 1.75rem 0 0;
    background: #ebe6f4;
}

.auth-shell-card--login-spectrum .auth-shell-divider {
    gap: 0;
    color: transparent;
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum .auth-shell-divider::before,
.auth-shell-card--login-spectrum .auth-shell-divider::after {
    display: none;
}

.auth-shell-login-label {
    margin: 1.25rem 0 0.875rem;
    color: #827990;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum .auth-shell-stack {
    gap: 0.625rem;
    margin-top: 0;
}

.auth-shell-card--login-spectrum .auth-shell-provider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.9rem 1.25rem;
    border: 0;
    border-radius: 0.875rem;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        filter 140ms ease;
}

.auth-shell-card--login-spectrum .tracking-tight {
    letter-spacing: 0;
}

.auth-shell-card--login-spectrum .auth-shell-provider:hover,
.auth-shell-card--login-spectrum .auth-shell-provider:focus-visible {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.auth-shell-card--login-spectrum .auth-shell-provider:active {
    transform: translateY(0);
}

.auth-shell-page--login-spectrum .auth-shell-provider--kakao {
    background: #fee500;
    color: #191600;
    box-shadow:
        0 2px 0 #d4bd00,
        0 4px 16px rgba(230, 190, 24, 0.25);
}

.auth-shell-page--login-spectrum .auth-shell-provider--kakao:hover,
.auth-shell-page--login-spectrum .auth-shell-provider--kakao:focus-visible {
    color: #191600;
    box-shadow:
        var(--auth-shell-focus-ring),
        0 2px 0 #d4bd00,
        0 8px 24px rgba(230, 190, 24, 0.36);
}

.auth-shell-page--login-spectrum .auth-shell-provider--naver {
    background: #03c75a;
    color: #ffffff;
    box-shadow:
        0 2px 0 #02a04a,
        0 4px 16px rgba(3, 166, 91, 0.22);
}

.auth-shell-page--login-spectrum .auth-shell-provider--naver:hover,
.auth-shell-page--login-spectrum .auth-shell-provider--naver:focus-visible {
    color: #ffffff;
    box-shadow:
        var(--auth-shell-focus-ring),
        0 2px 0 #02a04a,
        0 8px 24px rgba(3, 166, 91, 0.34);
}

.auth-shell-card--login-spectrum .auth-shell-links,
.auth-shell-card--login-spectrum .auth-shell-footer,
.auth-shell-card--login-spectrum .auth-shell-help {
    color: #827990;
}

.auth-shell-card--login-spectrum .auth-shell-links--standalone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-shell-card--login-spectrum .auth-shell-link {
    color: #827990;
    text-decoration: none;
}

.auth-shell-card--login-spectrum .auth-shell-link:hover {
    color: var(--auth-login-800);
    text-decoration: none;
}

.auth-shell-card--login-spectrum .auth-shell-label {
    color: var(--auth-login-900);
}

.auth-shell-card--login-spectrum .auth-shell-form input[type="text"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="email"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="password"],
.auth-shell-card--login-spectrum .auth-shell-form input[type="url"],
.auth-shell-card--login-spectrum .auth-shell-form select,
.auth-shell-card--login-spectrum .auth-shell-form textarea,
.auth-shell-card--login-spectrum .auth-shell-input {
    border-color: rgba(121, 87, 243, 0.18);
    background: #ffffff;
    color: var(--auth-login-950);
}

.auth-shell-card--login-spectrum .auth-shell-form input::placeholder,
.auth-shell-card--login-spectrum .auth-shell-form textarea::placeholder,
.auth-shell-card--login-spectrum .auth-shell-input::placeholder {
    color: #8e879e;
}

.auth-shell-card--login-spectrum .auth-shell-submit {
    background: linear-gradient(135deg, var(--auth-login-900) 0%, var(--auth-login-600) 100%);
    box-shadow:
        0 14px 28px rgba(83, 63, 177, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 899px) {
    .auth-login-layout {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 26.25rem);
    }

    .auth-login-panel {
        display: none;
    }
}

@media (max-width: 640px) {
    .auth-shell-main {
        padding:
            max(env(safe-area-inset-top), 1rem)
            1rem
            max(env(safe-area-inset-bottom), 1rem);
    }

    .auth-login-dots {
        opacity: 0.34;
    }

    .auth-shell-wrap--login {
        min-height: calc(100vh - 2rem);
    }

    .auth-shell-card--login-spectrum {
        border-radius: 1.45rem;
        padding: 2rem 1.4rem 1.5rem;
    }

    .auth-shell-card--login-spectrum .auth-shell-brand {
        margin-bottom: 1.55rem;
    }

    .auth-shell-card--login-spectrum .auth-shell-brand-icon {
        width: 2.55rem;
        height: 2.55rem;
    }

    .auth-shell-card--login-spectrum .auth-shell-title {
        font-size: 1.78rem;
    }

    .auth-shell-card--login-spectrum .auth-shell-provider {
        min-height: 3.15rem;
    }
}
