:root {
    --bg: #050708;
    --panel: rgba(13, 16, 17, 0.94);
    --panel-2: rgba(255, 255, 255, 0.035);
    --line: rgba(255, 255, 255, 0.11);
    --line-soft: rgba(255, 255, 255, 0.075);
    --text: #f7f8f9;
    --muted: #a9b0b6;
    --muted-2: #7f878e;
    --accent: #00bfd1;
    --shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
    --container: 1680px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: "IBMPlexSansTC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(920px 520px at 84% -8%, rgba(0, 191, 209, 0.10), transparent 60%),
        linear-gradient(180deg, #050708, #060909 52%, #050708);
    overflow-x: hidden;
}

body.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 72%);
}

body.auth-page.auth-is-loading {
    cursor: wait;
}

.auth-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(620px 360px at 50% 42%, rgba(0, 191, 209, 0.16), transparent 62%),
        rgba(5, 7, 8, 0.92);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

body.auth-page.auth-ready .auth-page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.auth-page.auth-submit-loading .auth-page-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-loader-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    min-width: min(280px, calc(100vw - 56px));
    padding: 28px 30px;
    border: 1px solid rgba(0, 191, 209, 0.28);
    border-radius: 24px;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(16, 22, 24, 0.92), rgba(7, 10, 11, 0.96)),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38), 0 0 34px rgba(0, 191, 209, 0.13);
}

.auth-loader-mark {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 191, 209, 0.08);
}

.auth-loader-mark::before,
.auth-loader-mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: rgba(0, 191, 209, 0.42);
    animation: auth-loader-spin 0.86s linear infinite;
}

.auth-loader-mark::after {
    inset: 18px;
    border-top-color: rgba(255, 255, 255, 0.86);
    border-right-color: rgba(255, 255, 255, 0.24);
    animation-duration: 1.14s;
    animation-direction: reverse;
}

.auth-loader-title {
    color: #f8fbfc;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-loader-copy {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.auth-main {
    opacity: 0;
    transform: translateY(10px);
    animation: auth-page-enter 0.48s ease 0.08s forwards;
}

@keyframes auth-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes auth-page-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page-loader,
    .auth-loader-mark::before,
    .auth-loader-mark::after,
    .auth-main {
        animation: none !important;
        transition: none !important;
    }

    .auth-main {
        opacity: 1;
        transform: none;
    }
}

body.auth-page a {
    color: inherit;
    text-decoration: none;
}

body.auth-page button,
body.auth-page input {
    font: inherit;
}

.container {
    width: min(calc(100% - 96px), var(--container));
    margin: 0 auto;
}

.site-menu .member-menu .nav-dropdown {
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    top: calc(100% + 12px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, calc(100vw - 28px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    transform: none !important;
    transform-origin: top right !important;
}

.site-menu .member-menu:hover .nav-dropdown,
.site-menu .member-menu:focus-within .nav-dropdown,
.site-menu .member-menu.is-open .nav-dropdown,
.site-menu .member-menu .nav-dropdown:hover,
.site-menu .member-menu .nav-dropdown.is-open {
    left: auto !important;
    right: 0 !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    transform: none !important;
}

.auth-main {
    padding: 64px 0 42px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.56fr);
    gap: 24px;
    align-items: start;
}

.auth-card,
.auth-side {
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(16, 20, 22, 0.94), rgba(8, 10, 11, 0.96)),
        var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.auth-card {
    padding: clamp(24px, 2.2vw, 38px);
}

.auth-side {
    display: grid;
    align-content: start;
    gap: 20px;
    padding: clamp(22px, 1.8vw, 30px);
}

.auth-side > div:first-child {
    display: grid;
    gap: 10px;
}

.auth-side.is-compact-list .auth-mini-list {
    grid-template-columns: 1fr;
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #b8bec4;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.82rem;
    font-weight: 600;
}

.section-pill i {
    color: #a8b0b6;
}

.auth-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #d6dce0;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.auth-link-pill:hover,
.auth-link-pill:focus-visible {
    color: var(--accent);
    border-color: rgba(0, 191, 209, 0.34);
    background: rgba(0, 191, 209, 0.09);
}

.auth-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 18px 0 10px;
}

.auth-page-login .auth-title,
.auth-page-register .auth-title {
    gap: 0;
}

.auth-page-login .auth-title > i,
.auth-page-register .auth-title > i {
    display: none;
}

.auth-title i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--accent);
    font-size: 1.24rem;
}

.auth-title h1 {
    margin: 0;
    font-size: clamp(34px, 2.25vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: none;
}

.auth-side h2 {
    font-weight: 500;
}
.auth-mini-card strong {
    font-weight: 600;
}

.auth-side h2,
.auth-mini-card strong {
    letter-spacing: 0;
    text-shadow: none;
}

body.auth-page .auth-title h1,
body.auth-page main h1 {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

body.auth-page .auth-side h2 {
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}
body.auth-page .auth-mini-card strong {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

/* forgot_password「重設提醒」標題字太粗 → 調細;卡片 icon 太小 → 放大 */
body.auth-page.auth-page-forgot .auth-side h2 {
    font-weight: 500 !important;
}
body.auth-page.auth-page-forgot .auth-mini-card i {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.3rem !important;
}

body.auth-page .auth-side h2 i {
    display: inline-grid !important;
    place-items: center !important;
    width: 1.2em !important;
    min-width: 1.2em !important;
    height: 1.2em !important;
    color: var(--accent) !important;
    font-size: 0.88em !important;
    line-height: 1 !important;
}

body.auth-page .section-pill,
body.auth-page .auth-link-pill {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

.auth-copy {
    max-width: 700px;
    margin: 0 0 26px;
    color: #c4cbd0;
    font-size: clamp(0.98rem, 0.92vw, 1.08rem);
    line-height: 1.72;
}

.auth-copy-login span {
    display: inline;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label,
.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9dee2;
    font-size: 0.94rem;
    font-weight: 600;
}

.auth-field label i,
.auth-check i,
.auth-meta i,
.auth-mini-card i,
.auth-link-row i {
    color: #9aa3aa;
}

.auth-page-register .auth-field label i,
.auth-page-login .auth-field label i {
    display: none;
}

.auth-input,
.auth-code-row input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-input::placeholder,
.auth-code-row input::placeholder {
    color: rgba(190, 198, 204, 0.56);
}

.auth-input:focus,
.auth-code-row input:focus {
    border-color: rgba(0, 191, 209, 0.48);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 191, 209, 0.10);
}

.auth-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 10px;
}

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

.auth-check {
    width: fit-content;
    margin-top: 2px;
    color: #c8cfd4;
    cursor: pointer;
}

.auth-check input {
    appearance: none;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    display: grid;
    place-items: center;
}

.auth-check input::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.auth-check input:checked {
    border-color: rgba(0, 191, 209, 0.66);
    box-shadow: 0 0 0 3px rgba(0, 191, 209, 0.11);
}

.auth-check input:checked::after {
    opacity: 1;
    transform: scale(1);
}

.auth-social {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 10px 0 26px;
}

.auth-social-btn {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: transparent;
    color: #9aa3aa;
    font-size: 1.7rem;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.auth-social-btn i {
    line-height: 1;
}

.auth-social-btn:hover,
.auth-social-btn:focus-visible {
    color: #031114;
    border-color: rgba(0,191,209,0.92);
    background: var(--accent, #00bfd1);
    box-shadow: 0 0 18px rgba(0,191,209,0.32);
    transform: translateY(-1px);
    outline: none;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    color: rgba(220,225,228,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 8px;
}

.auth-actions.auth-login-actions {
    justify-content: flex-end;
    align-items: flex-end;
}

.auth-secondary-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.auth-heading-actions {
    align-items: center;
    margin-left: auto;
}

.auth-heading-actions .auth-btn {
    min-width: 0;
    min-height: 36px;
    padding-inline: 13px;
    gap: 7px;
    font-size: 0.86rem;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #e9edf0;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 650;
    letter-spacing: 0;
    text-shadow: none;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.auth-page .auth-btn {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

.auth-btn i {
    color: currentColor;
}

.auth-btn:hover,
.auth-btn:focus-visible {
    color: var(--accent);
    border-color: rgba(0, 191, 209, 0.42);
    background: rgba(0, 191, 209, 0.10);
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.13), 0 0 22px rgba(0, 191, 209, 0.13);
    transform: translateY(-1px);
}

.auth-btn-primary {
    min-width: 180px;
    border-color: rgba(0, 191, 209, 0.50);
    color: #051013;
    background: linear-gradient(180deg, #2fd6e4, #16bfce);
    box-shadow: none;
}

.auth-btn-primary:hover,
.auth-btn-primary:focus-visible {
    color: #031012;
    border-color: rgba(113, 243, 255, 0.75);
    background: linear-gradient(180deg, #4de6f0, #1fc9d8);
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.24), 0 0 26px rgba(0, 191, 209, 0.28);
}

body.auth-page .auth-btn-primary:hover,
body.auth-page .auth-btn-primary:focus-visible {
    color: #031012 !important;
    border-color: rgba(113, 243, 255, 0.75) !important;
    background: linear-gradient(180deg, #4de6f0, #1fc9d8) !important;
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.24), 0 0 26px rgba(0, 191, 209, 0.28) !important;
}

.auth-btn-secondary {
    min-width: 142px;
}

.auth-btn-account {
    min-width: 158px;
    min-height: 54px;
    padding-inline: 22px;
    font-size: 0.98rem;
}

.auth-code-row .auth-btn-secondary {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding-inline: 12px;
    border-radius: 14px;
    white-space: nowrap;
}

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 600;
}

.auth-meta a,
.auth-link-row a {
    color: #e9edf0;
}

body.auth-page .auth-forgot-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    white-space: nowrap;
    font-weight: 500 !important;
}

body.auth-page .auth-forgot-link i {
    display: none;
}

.auth-meta a:hover,
.auth-link-row a:hover {
    color: var(--accent);
}

.auth-meta a:hover i,
.auth-meta a:focus-visible i,
.auth-link-row a:hover i,
.auth-link-row a:focus-visible i {
    color: var(--accent);
}


.auth-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-side h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(1.52rem, 1.55vw, 2rem);
    line-height: 1.2;
}

.auth-side h2 i {
    display: inline-grid;
    place-items: center;
    width: 1.15em;
    min-width: 1.15em;
    height: 1.15em;
    color: var(--accent);
    font-size: 0.92em;
    line-height: 1;
}

.auth-side p {
    max-width: 28em;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: clamp(0.95rem, 0.92vw, 1.04rem);
    line-height: 1.68;
    word-break: keep-all;
    overflow-wrap: normal;
}

.auth-mini-list {
    display: grid;
    gap: 12px;
}

.auth-mini-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 68px;
    padding: 16px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: var(--panel-2);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-mini-card i {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 0;
    color: rgba(190, 198, 203, 0.82);
    background: transparent;
    font-size: 1.36rem;
}

.auth-mini-card strong,
.auth-mini-card span {
    display: block;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.auth-mini-card strong {
    color: var(--text);
    font-size: clamp(1.08rem, 1.05vw, 1.22rem);
    font-weight: 600;
    line-height: 1.3;
}

.auth-mini-card > span > span {
    margin-top: 2px;
    color: var(--muted);
    font-size: clamp(0.78rem, 0.78vw, 0.86rem);
    line-height: 1.42;
    max-width: 18em;
}

.auth-mini-card:hover,
.auth-mini-card:focus-visible,
.auth-mini-card.is-hover {
    border-color: rgba(0, 191, 209, 0.38);
    background: rgba(0, 191, 209, 0.085);
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.12), 0 14px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}

.auth-mini-card:hover i,
.auth-mini-card:focus-visible i,
.auth-mini-card.is-hover i,
.auth-mini-card:hover strong,
.auth-mini-card:focus-visible strong,
.auth-mini-card.is-hover strong {
    color: var(--accent);
}

.auth-message {
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 191, 209, 0.23);
    border-radius: 14px;
    color: #bdf5fb;
    background: rgba(0, 191, 209, 0.08);
    font-weight: 600;
}

.auth-message.is-visible {
    display: flex;
}

.auth-message.is-error {
    border-color: rgba(255, 95, 95, 0.30);
    color: #ffd0d0;
    background: rgba(255, 95, 95, 0.10);
}

.auth-message i {
    color: var(--accent);
}

.auth-message.is-error i {
    color: #ff9c9c;
}

.iti {
    width: 100%;
}

.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: grid;
    gap: 10px;
    justify-items: end;
}

.floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 50px;
    height: 50px;
    padding: 0 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(16, 19, 20, 0.88);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    transition: width 0.24s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floating-action span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 650;
    transition: max-width 0.24s ease, opacity 0.18s ease;
}

.floating-action i {
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
}

.floating-action:hover {
    width: 136px;
    color: var(--accent);
    border-color: rgba(0, 191, 209, 0.45);
    background: rgba(0, 191, 209, 0.12);
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.16), 0 0 24px rgba(0, 191, 209, 0.16), 0 16px 36px rgba(0, 0, 0, 0.34);
    transform: translateY(-2px);
}

.floating-action:hover span {
    max-width: 86px;
    opacity: 1;
}

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

    .auth-side {
        grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
        align-items: start;
    }

    .auth-mini-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .auth-side.is-compact-list .auth-mini-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-menu .member-menu .nav-dropdown {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
    }

    .auth-main {
        padding: 34px 0 32px;
    }

    .auth-side,
    .auth-mini-list,
    .auth-side.is-compact-list .auth-mini-list {
        grid-template-columns: 1fr;
    }

    .auth-row,
    .auth-code-row {
        grid-template-columns: 1fr;
    }

    .auth-actions,
    .auth-link-row {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-page-login .auth-meta {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 16px;
    }

    .auth-actions.auth-login-actions,
    .auth-secondary-actions {
        align-items: stretch;
        flex-direction: column;
        justify-content: stretch;
        width: 100%;
        margin-left: 0;
    }

    .auth-heading-actions {
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
    }

    .auth-heading-actions .auth-btn {
        width: auto;
        min-width: 112px;
    }

    .auth-page-register .auth-heading-actions,
    .auth-page-forgot .auth-heading-actions,
    .auth-page-login .auth-heading-actions {
        width: auto;
        margin-left: auto;
    }

    .auth-btn,
    .auth-btn-primary,
    .auth-btn-secondary,
    .auth-btn-account {
        width: 100%;
        min-width: 0;
    }

    .auth-title {
        gap: 10px;
    }

    .auth-title h1 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .auth-copy-login span {
        display: block;
    }

    .floating-actions {
        right: 14px;
        bottom: 14px;
    }
}

body.auth-page .auth-btn.auth-btn-primary:hover,
body.auth-page .auth-btn.auth-btn-primary:focus-visible {
    color: #051013 !important;
    border-color: rgba(113, 243, 255, 0.78) !important;
    background: linear-gradient(180deg, #48e3ee, #18c4d2) !important;
    box-shadow: 0 0 0 1px rgba(0, 191, 209, 0.22), 0 0 26px rgba(0, 191, 209, 0.30) !important;
    transform: translateY(-1px);
}

body.auth-page,
body.auth-page .site-menu-marquee-shell,
body.auth-page .auth-main,
body.auth-page .auth-shell,
body.auth-page .auth-card,
body.auth-page .auth-side {
    max-width: 100%;
}

body.auth-page .site-menu-marquee-shell,
body.auth-page .auth-main {
    overflow-x: clip;
}

@media (max-width: 520px) {
    .auth-card,
    .auth-side {
        border-radius: 20px;
        padding: 20px;
    }

    .auth-copy {
        font-size: 0.95rem;
    }

    .auth-mini-card {
        min-height: 62px;
    }

}
