:root {
    --login-bg: #eef1f6;
    --login-surface: rgba(255, 255, 255, 0.82);
    --login-surface-soft: rgba(45, 58, 83, 0.045);
    --login-border: rgba(58, 70, 94, 0.14);
    --login-text: #20283a;
    --login-muted: #6f7b8f;
    --login-warm: #d96f55;
    --login-wine: #9f3655;
    --login-gold: #b87a3c;
    --login-cyan: #4d96a3;
    --login-flow: 0deg;
}

@property --login-flow {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    color: var(--login-text);
    background: var(--login-bg);
}

button,
input {
    font-family: inherit;
}

.login-page,
.login-page * {
    box-sizing: border-box;
}

.login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 76px 0 48px;
    overflow: hidden;
    background:
        radial-gradient(circle at 73% 42%, rgba(116, 136, 190, 0.2) 0%, transparent 33%),
        radial-gradient(circle at 8% 86%, rgba(193, 93, 123, 0.18) 0%, transparent 36%),
        radial-gradient(circle at 95% 5%, rgba(94, 164, 174, 0.13) 0%, transparent 28%),
        linear-gradient(135deg, #f8f9fc 0%, #eff3f8 44%, #f7eef1 74%, #f3f6f9 100%);
}

.login-page:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.42) 42%, transparent 63%),
        radial-gradient(circle at center, transparent 28%, rgba(201, 208, 220, 0.22) 100%);
}

.login-stage {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-stage-aurora,
.login-stage-ring,
.login-stage-grid {
    position: absolute;
    display: block;
    pointer-events: none;
}

.login-stage-aurora {
    border-radius: 50%;
}

.login-stage-aurora-one {
    top: -360px;
    right: 4%;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(116, 137, 202, 0.22) 0%, rgba(144, 126, 193, 0.09) 42%, transparent 70%);
}

.login-stage-aurora-two {
    left: -290px;
    bottom: -410px;
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(190, 78, 111, 0.2) 0%, rgba(225, 131, 98, 0.08) 43%, transparent 70%);
}

.login-stage-ring {
    border: 1px solid rgba(65, 79, 105, 0.075);
    border-radius: 48% 52% 46% 54%;
}

.login-stage-ring-one {
    top: -340px;
    right: -250px;
    width: 760px;
    height: 760px;
    box-shadow:
        0 0 0 72px rgba(72, 87, 113, 0.018),
        0 0 0 144px rgba(72, 87, 113, 0.012);
}

.login-stage-ring-two {
    left: 34%;
    bottom: -560px;
    width: 920px;
    height: 920px;
    border-color: rgba(176, 79, 92, 0.07);
}

.login-stage-grid {
    left: -12%;
    bottom: -46%;
    width: 124%;
    height: 78%;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(67, 119, 137, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 119, 137, 0.13) 1px, transparent 1px);
    background-size: 58px 58px;
    transform: perspective(650px) rotateX(62deg);
    transform-origin: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
}

.login-stage-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.42;
}

.login-network-line {
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 7 13;
}

.login-network-line-one {
    stroke: rgba(171, 109, 55, 0.24);
}

.login-network-line-two {
    stroke: rgba(54, 125, 141, 0.19);
}

.login-network-line-three {
    stroke: rgba(70, 83, 108, 0.1);
}

.login-network-node {
    fill: var(--login-gold);
}

.login-network-node-delay {
    fill: var(--login-cyan);
}

.login-header {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    padding: 0 30px;
}

.login-brand-lockup {
    display: flex;
    align-items: center;
}

.login-brand-symbol {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 14px;
    border: 1px solid rgba(166, 112, 68, 0.16);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 28px rgba(67, 76, 95, 0.12);
}

.login-brand-symbol:after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(245, 201, 137, 0.42), transparent 42%, rgba(185, 54, 90, 0.28));
    opacity: 0.44;
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.login-brand-symbol img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.login-brand-copy {
    display: flex;
    flex-direction: column;
}

.login-brand-copy strong {
    color: #263047;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 2px;
}

.login-brand-copy small {
    margin-top: 4px;
    color: #7a879a;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.login-header-meta {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(63, 78, 104, 0.1);
    border-radius: 999px;
    color: #657288;
    background: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    letter-spacing: 1px;
}

.login-header-dot {
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--login-cyan);
    box-shadow: 0 0 10px rgba(77, 150, 163, 0.5);
}

.login-portal {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 560px 470px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    column-gap: 120px;
    width: auto;
    max-width: calc(100% - 60px);
    min-height: 0;
    margin: 0 auto;
    padding: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 24%, rgba(111, 137, 191, 0.12) 0%, transparent 32%),
        radial-gradient(circle at 8% 88%, rgba(194, 93, 123, 0.09) 0%, transparent 34%),
        linear-gradient(90deg, rgba(67, 80, 104, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(67, 80, 104, 0.035) 1px, transparent 1px),
        linear-gradient(118deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.42) 52%, rgba(250, 251, 253, 0.56) 100%);
    background-size: auto, auto, 56px 56px, 56px 56px, auto;
    box-shadow:
        0 24px 64px rgba(69, 80, 104, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.login-frame-ornament {
    position: absolute;
    z-index: 0;
    inset: 12px;
    pointer-events: none;
}

.login-frame-rule {
    position: absolute;
}

.login-frame-rule.is-top,
.login-frame-rule.is-bottom {
    left: 36px;
    right: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 70, 94, 0.16) 18%, rgba(184, 122, 60, 0.28) 50%, rgba(58, 70, 94, 0.16) 82%, transparent);
}

.login-frame-rule.is-top {
    top: 0;
}

.login-frame-rule.is-bottom {
    bottom: 0;
}

.login-frame-rule.is-left,
.login-frame-rule.is-right {
    top: 36px;
    bottom: 36px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(58, 70, 94, 0.14) 20%, rgba(77, 150, 163, 0.28) 50%, rgba(58, 70, 94, 0.14) 80%, transparent);
}

.login-frame-rule.is-left {
    left: 0;
}

.login-frame-rule.is-right {
    right: 0;
}

.login-frame-ticks {
    position: absolute;
    left: 72px;
    width: 52px;
    height: 5px;
    background: repeating-linear-gradient(90deg, rgba(184, 122, 60, 0.42) 0 1px, transparent 1px 7px);
}

.login-frame-ticks.is-top {
    top: -1px;
}

.login-frame-ticks.is-bottom {
    right: 72px;
    bottom: -1px;
    left: auto;
}

.login-frame-node {
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border: 1px solid rgba(184, 122, 60, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(184, 122, 60, 0.08);
}

.login-frame-node.is-left {
    left: -3px;
}

.login-frame-node.is-right {
    right: -3px;
    border-color: rgba(77, 150, 163, 0.5);
    box-shadow: 0 0 0 3px rgba(77, 150, 163, 0.08);
}

.login-story {
    position: relative;
    z-index: 1;
    width: 560px;
    max-width: 560px;
    padding-bottom: 4px;
    text-align: left;
}

.login-story-kicker {
    display: flex;
    align-items: center;
    margin: 0 0 24px;
    color: var(--login-gold);
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.8px;
}

.login-story-kicker span {
    width: 44px;
    height: 1px;
    margin-right: 13px;
    background: linear-gradient(90deg, var(--login-warm), var(--login-gold));
    box-shadow: 0 0 10px rgba(217, 111, 85, 0.28);
}

.login-story h1 {
    margin: 0;
    color: #20283a;
    font-size: 58px;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: 2px;
}

.login-story h1 em {
    color: transparent;
    background: linear-gradient(100deg, #343e56 0%, #a5475e 48%, #dc795d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
    font-weight: 600;
}

.login-story-desc {
    max-width: 530px;
    margin: 24px 0 0;
    color: #68758a;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.4px;
}

.login-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 176px);
    gap: 14px;
    width: 556px;
    margin-top: 34px;
}

.login-capability {
    position: relative;
    width: 176px;
    min-width: 176px;
    max-width: 176px;
    padding: 16px 14px 15px;
    border: 1px solid rgba(63, 76, 101, 0.1);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 10px 30px rgba(79, 88, 106, 0.055);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.login-capability:hover {
    border-color: rgba(184, 122, 60, 0.24);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62));
    transform: translateY(-2px);
}

.login-capability-index {
    position: absolute;
    top: 12px;
    right: 12px;
    color: rgba(61, 73, 96, 0.2);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.login-capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 10px;
    color: var(--login-gold);
    background: rgba(184, 122, 60, 0.085);
}

.login-capability-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-capability-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.login-capability-copy strong {
    color: #30394d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.login-capability-copy small {
    margin-top: 6px;
    overflow: hidden;
    color: #778397;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-story-signature {
    display: flex;
    align-items: center;
    margin: 28px 0 0;
    color: #7b8799;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.login-story-signature span {
    width: 18px;
    height: 1px;
    margin-right: 9px;
    background: rgba(60, 73, 97, 0.24);
}

.login-auth {
    position: relative;
    z-index: 1;
    width: 470px;
    max-width: 470px;
}

.login-card {
    position: relative;
    width: 100%;
    padding: 32px 36px 26px;
    overflow: hidden;
    border: 1px solid var(--login-border);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 2%, rgba(77, 150, 163, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 250, 253, 0.86) 100%);
    box-shadow:
        0 30px 80px rgba(70, 78, 98, 0.16),
        0 8px 24px rgba(70, 78, 98, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.login-card:before {
    content: "";
    position: absolute;
    top: -130px;
    right: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 111, 85, 0.12) 0%, rgba(159, 54, 85, 0.035) 45%, transparent 70%);
    pointer-events: none;
}

.login-card:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    background: conic-gradient(
        from var(--login-flow),
        transparent 0deg 210deg,
        rgba(217, 111, 85, 0.12) 235deg,
        rgba(217, 111, 85, 0.95) 275deg,
        rgba(159, 54, 85, 0.7) 310deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: login-card-flow 3.2s linear infinite;
}

@keyframes login-card-flow {
    to { --login-flow: 360deg; }
}

.login-card-heading {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.login-card-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: 18px;
    border: 1px solid rgba(184, 122, 60, 0.18);
    border-radius: 15px;
    color: var(--login-gold);
    background: linear-gradient(145deg, rgba(245, 201, 137, 0.16), rgba(217, 111, 85, 0.06));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 24px rgba(91, 76, 74, 0.1);
    flex-shrink: 0;
}

.login-card-emblem svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--login-gold);
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.login-card h2 {
    margin: 0 0 6px;
    color: #232c3f;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 1px;
}

.login-sub {
    margin: 0;
    color: #788598;
    font-size: 13px;
    line-height: 1.55;
}

.login-error {
    position: relative;
    margin: -8px 0 18px;
    padding: 10px 12px;
    border: 1px solid rgba(190, 65, 78, 0.18);
    border-radius: 10px;
    color: #b33e4d;
    background: rgba(190, 65, 78, 0.075);
    font-size: 12px;
    line-height: 1.45;
}

.login-card .form-group {
    margin-bottom: 14px;
}

.login-card .login-captcha {
    margin-bottom: 0;
}

.login-field-label {
    display: block;
    margin: 0 0 7px;
    color: #4b566b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.4px;
}

.login-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    border: 1px solid rgba(61, 75, 101, 0.12);
    border-radius: 12px;
    background: var(--login-surface-soft);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.login-input-shell:hover {
    border-color: rgba(61, 75, 101, 0.2);
    background: rgba(255, 255, 255, 0.72);
}

.login-input-shell:focus-within {
    border-color: rgba(184, 122, 60, 0.52);
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 0 0 3px rgba(184, 122, 60, 0.075),
        0 8px 24px rgba(71, 80, 99, 0.08);
}

.login-card .form-control {
    width: 100%;
    height: 48px;
    padding: 8px 45px;
    border: 0;
    border-radius: 12px;
    outline: 0;
    color: #283247;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.5;
}

.login-card .form-control:focus {
    outline: none;
    box-shadow: none;
}

.login-card .form-control::-webkit-input-placeholder {
    color: #99a3b2;
}

.login-card .form-control:-ms-input-placeholder {
    color: #99a3b2;
}

.login-card .form-control::placeholder {
    color: #99a3b2;
}

.login-card .form-control:-webkit-autofill,
.login-card .form-control:-webkit-autofill:hover,
.login-card .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #283247;
    -webkit-box-shadow: 0 0 0 1000px #f2f4f8 inset;
    transition: background-color 9999s ease-out;
}

.login-input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    display: inline-flex;
    color: #8b96a8;
    transform: translateY(-50%);
    pointer-events: none;
}

.login-input-icon svg,
.login-password-toggle svg,
.login-safe-tip svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-input-shell:focus-within .login-input-icon {
    color: var(--login-gold);
}

.login-password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    outline: 0;
    color: #8792a5;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    color: var(--login-gold);
    background: rgba(184, 122, 60, 0.075);
}

.login-password-toggle .login-eye-closed {
    display: none;
}

.login-password-toggle.is-visible .login-eye-open {
    display: none;
}

.login-password-toggle.is-visible .login-eye-closed {
    display: block;
}

.login-card .field-validation-error {
    display: block;
    margin-top: 5px;
    color: #bd4350;
    font-size: 11px;
}

.login-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-captcha-input {
    flex: 1;
    min-width: 0;
}

.login-captcha .form-control {
    letter-spacing: 2px;
}

.login-captcha-img {
    width: 116px;
    height: 50px;
    border: 1px solid rgba(61, 75, 101, 0.14);
    border-radius: 12px;
    background: #f7f4f2;
    cursor: pointer;
    object-fit: cover;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-captcha-img:hover {
    border-color: rgba(184, 122, 60, 0.48);
    box-shadow: 0 0 0 3px rgba(184, 122, 60, 0.07);
    transform: translateY(-1px);
}

.login-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.login-btn,
.login-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 0;
    border-radius: 12px;
    outline: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-btn {
    position: relative;
    flex: 1;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: linear-gradient(110deg, #e77f60 0%, #c94964 52%, #982f5d 100%);
    box-shadow:
        0 14px 30px rgba(185, 54, 90, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.login-btn:after {
    content: "";
    position: absolute;
    top: -30%;
    left: -65%;
    width: 42%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.login-btn:hover,
.login-btn:focus {
    color: #fff;
    box-shadow:
        0 18px 36px rgba(185, 54, 90, 0.32),
        0 0 0 3px rgba(238, 138, 103, 0.08);
    transform: translateY(-1px);
}

.login-btn:hover:after {
    left: 125%;
}

.login-btn-spin {
    display: none;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: login-spin 0.72s linear infinite;
    flex-shrink: 0;
}

.login-btn.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: 0.9;
}

.login-btn.is-loading .login-btn-spin {
    display: block;
}

.login-btn-ghost {
    flex: 0 0 102px;
    border: 1px solid rgba(61, 75, 101, 0.12);
    color: #657187;
    background: rgba(51, 65, 91, 0.04);
}

.login-btn-ghost:hover,
.login-btn-ghost:focus {
    border-color: rgba(184, 122, 60, 0.28);
    color: var(--login-gold);
    background: rgba(184, 122, 60, 0.07);
    transform: translateY(-1px);
}

.login-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(61, 75, 101, 0.08);
}

.login-safe-tip {
    display: inline-flex;
    align-items: center;
    color: #788497;
    font-size: 11px;
    white-space: nowrap;
}

.login-safe-tip svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #8a96a8;
}

.login-extra a {
    color: #6f7c91;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
}

.login-extra a:hover,
.login-extra a:focus {
    color: var(--login-gold);
    text-decoration: none;
}

.login-footer {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 30px;
    color: #7a8699;
    font-size: 11px;
}

.login-footer i {
    flex: 0 0 28px;
    height: 1px;
    margin: 0 14px;
    background: rgba(66, 79, 103, 0.18);
}

.login-footer a {
    color: #768397;
    text-decoration: none;
}

.login-footer a:hover,
.login-footer a:focus {
    color: #4e5b71;
}

@keyframes login-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
    .login-portal {
        grid-template-columns: 500px 440px;
        column-gap: 32px;
        padding: 50px;
    }

    .login-story {
        width: 500px;
        max-width: 500px;
    }

    .login-auth {
        width: 440px;
        max-width: 440px;
    }

    .login-capabilities {
        grid-template-columns: repeat(3, 156px);
        width: 492px;
        gap: 12px;
    }

    .login-capability {
        width: 156px;
        min-width: 156px;
        max-width: 156px;
    }

    .login-story h1 {
        font-size: 49px;
    }

    .login-story-desc {
        font-size: 15px;
    }

    .login-capability {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 960px) {
    .login-page {
        display: block;
        min-height: 100vh;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .login-header {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        height: 76px;
        padding: 0 16px;
    }

    .login-portal {
        display: block;
        width: auto;
        max-width: 500px;
        min-height: 0;
        margin: 16px auto;
        padding: 24px 16px 34px;
        border-radius: 22px;
    }

    .login-frame-ornament {
        inset: 10px;
    }

    .login-story {
        margin-bottom: 28px;
        padding: 0 12px;
        text-align: center;
    }

    .login-story-kicker {
        justify-content: center;
        margin-bottom: 15px;
    }

    .login-story h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .login-story-desc {
        margin: 16px auto 0;
        font-size: 14px;
        line-height: 1.7;
    }

    .login-capabilities,
    .login-story-signature {
        display: none;
    }

    .login-footer {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        height: 48px;
        justify-content: center;
        padding: 0 16px;
    }

    .login-footer i {
        display: none;
    }

    .login-stage-grid {
        bottom: -24%;
        height: 58%;
        opacity: 0.15;
    }

    .login-stage-network {
        opacity: 0.27;
    }
}

@media (max-width: 560px) {
    .login-header {
        height: 76px;
        padding: 0 12px;
    }

    .login-brand-symbol {
        width: 44px;
        height: 44px;
        margin-right: 11px;
        border-radius: 13px;
    }

    .login-brand-symbol img {
        width: 34px;
        height: 34px;
    }

    .login-brand-copy strong {
        font-size: 17px;
    }

    .login-brand-copy small {
        font-size: 8px;
        letter-spacing: 1.25px;
    }

    .login-header-meta {
        width: 31px;
        height: 31px;
        padding: 0;
        justify-content: center;
    }

    .login-header-meta > span:last-child {
        display: none;
    }

    .login-header-dot {
        margin: 0;
    }

    .login-portal {
        width: auto;
        margin: 12px;
        padding: 18px 8px 28px;
        border-radius: 20px;
    }

    .login-story {
        margin-bottom: 22px;
        padding: 0 8px;
    }

    .login-story-kicker {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .login-story-kicker span {
        width: 28px;
        margin-right: 9px;
    }

    .login-story h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .login-story-desc {
        max-width: 390px;
        font-size: 13px;
    }

    .login-card {
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    .login-card-heading {
        margin-bottom: 22px;
    }

    .login-card-emblem {
        width: 46px;
        height: 46px;
        margin-left: 12px;
        border-radius: 13px;
    }

    .login-card h2 {
        font-size: 25px;
    }

    .login-sub {
        font-size: 12px;
    }

    .login-captcha-img {
        width: 108px;
    }

    .login-btn-ghost {
        flex-basis: 92px;
    }

    .login-extra {
        flex-direction: column;
        gap: 9px;
        text-align: center;
    }

    .login-footer {
        height: 44px;
        padding: 0 12px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .login-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .login-card-emblem {
        display: none;
    }

    .login-captcha-img {
        width: 96px;
    }

    .login-btn-ghost {
        flex-basis: 84px;
    }
}

@media (min-width: 961px) and (max-height: 760px) {
    .login-header {
        height: 68px;
    }

    .login-page {
        padding-top: 68px;
        padding-bottom: 40px;
    }

    .login-portal {
        padding: 36px;
    }

    .login-story-kicker {
        margin-bottom: 16px;
    }

    .login-story h1 {
        font-size: 48px;
    }

    .login-story-desc {
        margin-top: 16px;
    }

    .login-capabilities {
        margin-top: 22px;
    }

    .login-story-signature {
        margin-top: 18px;
    }

    .login-card {
        padding-top: 25px;
        padding-bottom: 21px;
    }

    .login-card-heading {
        margin-bottom: 18px;
    }

    .login-card .form-group {
        margin-bottom: 11px;
    }

    .login-actions {
        margin-top: 16px;
    }

    .login-extra {
        margin-top: 15px;
        padding-top: 13px;
    }

    .login-footer {
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-card:after {
        animation: none;
    }

    .login-btn-spin {
        animation: none;
    }

    .login-capability,
    .login-captcha-img,
    .login-btn,
    .login-btn:after,
    .login-btn-ghost {
        transition: none;
    }
}
