/* ============ NOVA 深色科技风首页 ============ */
:root {
    --bg: #060912;
    --bg-2: #0a1024;
    --cyan: #22d3ee;
    --purple: #a855f7;
    --pink: #ff5d8f;
    --text: #e8edff;
    --text-dim: #8a93b8;
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(120, 160, 255, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 背景光晕 + 网格 */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 620px;
    height: 620px;
    top: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(168, 85, 247, .55), transparent 70%);
}

.bg-glow-2 {
    width: 560px;
    height: 560px;
    bottom: -200px;
    right: -120px;
    background: radial-gradient(circle, rgba(34, 211, 238, .5), transparent 70%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 160, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 160, 255, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ============ 导航 ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    max-width: 1320px;
    margin: 0 auto;
    background: rgba(6, 9, 18, .85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    box-shadow: 0 0 22px rgba(34, 211, 238, .5);
}

.logo-text strong {
    display: block;
    font-size: 20px;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color .25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width .3s;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active::after {
    box-shadow: 0 0 10px rgba(34, 211, 238, .5);
}

.nav-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .25s, background .25s;
}

.btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(34, 211, 238, .08);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #06121a;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 8px 26px rgba(34, 211, 238, .35);
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(168, 85, 247, .45);
}

/* ============ 主视觉 ============ */
.hero {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 56px 80px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    min-height: 78vh;
}

/* 左侧文案 */
.badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .07);
    padding: 6px 16px;
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(48px, 11vw, 96px);
    line-height: 1;
    margin: 22px 0 6px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #fff 10%, var(--cyan) 55%, var(--purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 30px rgba(34, 211, 238, .25));
}

.hero-sub {
    font-size: clamp(18px, 4.2vw, 22px);
    color: var(--text);
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 460px;
    margin-bottom: 26px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag {
    font-size: 13px;
    color: #cdd6ff;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(6px);
}

.hero-cta {
    margin-bottom: 40px;
}

.btn-primary.lg {
    padding: 14px 30px;
    font-size: 16px;
}

.cta-arrow {
    transition: transform .2s;
}

.btn-primary.lg:hover .cta-arrow {
    transform: translateX(4px);
}

.stat-row {
    display: flex;
    gap: 44px;
}

.stat strong {
    display: block;
    font-size: 28px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* 右侧展示卡 */
.hero-show {
    display: flex;
    justify-content: center;
}

.show-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(34, 211, 238, .08), rgba(168, 85, 247, .08));
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.show-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(34, 211, 238, .45), transparent 70%);
    filter: blur(30px);
}

.hero-avatar {
    position: relative;
    z-index: 2;
    left: -8px;
    width: 78%;
    max-width: 320px;
    height: 80%;
    object-fit: cover;
    border-radius: 24px;
    filter: drop-shadow(0 24px 50px rgba(34, 211, 238, .28));
    animation: heroFloat 5s ease-in-out infinite;
}

/* 浮动标签 */
.float-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(10, 16, 36, .7);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    animation: floatY 3.4s ease-in-out infinite;
}

.float-label span {
    color: var(--cyan);
    font-weight: 700;
}

.float-label.l1 {
    top: 14%;
    left: -6%;
}

.float-label.l2 {
    top: 46%;
    right: -8%;
    animation-delay: .8s;
}

.float-label.l3 {
    bottom: 14%;
    left: -6%;
    animation-delay: 1.6s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============ 核心能力 / 应用场景 / 关于我们 ============ */
.nova-section {
    position: relative;
    z-index: 3;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-alt {
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, .04), transparent);
}

.section-inner {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, .3);
    background: rgba(34, 211, 238, .07);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    margin-bottom: 14px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-desc {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 60px;
}

/* 核心能力卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 20px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    backdrop-filter: blur(6px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(34, 211, 238, .1);
    border-color: rgba(34, 211, 238, .25);
}

.fc-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .15), rgba(168, 85, 247, .15));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* 应用场景 */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.scene-card {
    display: flex;
    gap: 20px;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    backdrop-filter: blur(6px);
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(168, 85, 247, .08);
    border-color: rgba(168, 85, 247, .2);
}

.sc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(168, 85, 247, .15), rgba(34, 211, 238, .15));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-icon svg {
    width: 28px;
    height: 28px;
}

.sc-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.sc-body p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 12px;
}

.sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sc-tags span {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .08);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, .15);
}

/* 关于我们 */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.about-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--cyan);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.as-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    min-width: 130px;
    transition: border-color .3s;
}

.as-item:hover {
    border-color: rgba(34, 211, 238, .25);
}

.as-item strong {
    display: block;
    font-size: 30px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.as-item span {
    font-size: 12px;
    color: var(--text-dim);
}

/* ============ 页脚 ============ */
.footer {
    position: relative;
    z-index: 3;
    border-top: 1px solid var(--card-border);
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, .06));
    padding: 60px 20px 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo .logo-mark {
    width: 28px;
    height: 28px;
}

.footer-logo strong {
    font-size: 18px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.fl-col h4 {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.fl-col a {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .2s;
}

.fl-col a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-dim);
}


/* ============ 响应式 ============ */

@keyframes heroFloat {
    0%, 100% { transform: translateY(10px); }
    50% { transform: translateY(-8px); }
}
@media (max-width: 980px) {
    .nav {
        flex-wrap: wrap;
        gap: 14px;
        padding: 18px 24px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 22px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 30px 24px 60px;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .tag-row,
    .stat-row {
        justify-content: center;
    }

    .hero-show {
        margin-top: 30px;
    }

    .hero-avatar {
        width: calc(78% - 20px);
        max-width: 300px;
    }

    .float-label.l1 {
        left: 2%;
    }

    .float-label.l2 {
        right: 2%;
    }

    .float-label.l3 {
        left: 2%;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .hero {
        padding: 24px 20px 48px;
    }

    .stat-row {
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .float-label.l1 {
        left: 2%;
        top: calc(9% - 16px);
    }

    .float-label.l2 {
        right: calc(2% - 25px);
    }

    .float-label.l3 {
        left: 2%;
        bottom: calc(11% - 50px);
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 14px 16px;
    }

    .hero-cta .btn-primary.lg {
        width: 100%;
        justify-content: center;
    }

    .hero-show {
        margin-top: 16px;
    }
}

/* 新板块响应式 */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scene-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============ 登录态：头像 + 下拉菜单 ============ */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    box-shadow: 0 0 0 2px rgba(10, 16, 36, .9), 0 6px 18px rgba(34, 211, 238, .35);
    transition: transform .2s, box-shadow .2s;
}

.user-avatar-btn:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 0 0 2px rgba(10, 16, 36, .9), 0 8px 24px rgba(168, 85, 247, .5);
}

.user-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: rgba(12, 18, 40, .96);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    backdrop-filter: blur(14px);
    z-index: 30;
    animation: dropIn .18s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ud-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 12px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 6px;
}

.ud-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.ud-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ud-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ud-sub {
    font-size: 11px;
    color: var(--cyan);
}

.ud-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 14px;
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.ud-item:hover {
    background: rgba(34, 211, 238, .1);
}

.ud-item .ud-ic {
    width: 18px;
    text-align: center;
    opacity: .85;
}

.ud-item.danger {
    color: #ff7a90;
}

.ud-item.danger:hover {
    background: rgba(255, 93, 143, .12);
}

/* ============ 弹窗 ============ */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 18, .68);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 20px;
}

/* 关键修复：hidden 属性必须生效，否则弹窗会在进页面时全部显示 */
.modal-mask[hidden] {
    display: none !important;
}
.user-dropdown[hidden] {
    display: none !important;
}
.user-menu[hidden] {
    display: none !important;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(160deg, rgba(18, 26, 54, .98), rgba(12, 18, 40, .98));
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 28px 26px 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    animation: dropIn .2s ease;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--text-dim);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, .12);
    color: var(--text);
}

.modal-title {
    font-size: 19px;
    margin-bottom: 18px;
    color: var(--text);
}

.modal-title.danger {
    color: #ff7a90;
}

.modal-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.modal-card .field {
    display: block;
    margin-bottom: 14px;
}

.modal-card .field-label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 7px;
}

.modal-card .field input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: #fff;
    color: #000;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.modal-card .field input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}

.modal-card .field-err {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    font-size: 12px;
    color: #ff7a90;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(34, 211, 238, .25);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 1px dashed var(--card-border);
    border-radius: 14px;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 13px;
    transition: border-color .2s, color .2s, background .2s;
}

.file-picker:hover {
    border-color: var(--cyan);
    color: var(--text);
    background: rgba(34, 211, 238, .06);
}

.file-picker input[type="file"] {
    display: none;
}

.modal-err {
    min-height: 18px;
    margin: 10px 0 0;
    font-size: 13px;
    color: #ff7a90;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(12, 18, 40, .96);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 60;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 密码小眼睛 */
.pwd-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.pwd-wrap input {
    flex: 1;
    padding-right: 40px !important;
}
.pwd-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    opacity: .45;
    transition: opacity .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #000;
}
.pwd-eye:hover { opacity: 1; }
