@import url('../../vendor/fonts/jakarta-mono.css');

/* ==================== 液态玻璃设计系统（iOS 系全站基底）==================== */
:root {
    --void: #0b1220;
    --paper: #f4f7fc;
    --paper-dot: rgba(99, 102, 241, 0.04);
    --ink: #0f172a;
    --ink-light: #64748b;
    --signal: #6366f1;
    --ice: #38bdf8;
    --accent: #3b82f6;
    --accent-2: #818cf8;
    --accent-hot: #f472b6;
    --marker-yellow: #fde68a;
    --marker-blue: #7dd3fc;
    --marker-pink: #fda4af;
    --marker-green: #86efac;
    --line: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.14);
    --glass-blur: 20px;
    --glass-saturate: 1.4;
    --surface-glass: rgba(255, 255, 255, 0.62);
    --surface-glass-strong: rgba(255, 255, 255, 0.82);
    --surface-glass-muted: rgba(248, 250, 252, 0.75);
    --surface-glass-inner: rgba(255, 255, 255, 0.92);
    --stroke-glass: rgba(255, 255, 255, 0.72);
    --stroke-glass-soft: rgba(255, 255, 255, 0.45);
    --stroke-outline: rgba(99, 102, 241, 0.12);
    --border-width: 1px;
    --shadow-sketch:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --shadow-sketch-hover:
        0 18px 48px rgba(99, 102, 241, 0.14),
        0 8px 16px rgba(14, 165, 233, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --shadow-pressed: 0 2px 12px rgba(15, 23, 42, 0.08);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.2s;
    --dur-med: 0.55s;
    --dur-slow: 0.85s;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --sketch-radius-1: var(--radius-lg);
    --sketch-radius-2: var(--radius-md);
    --sketch-radius-3: var(--radius-md);
    /* 全站滚动条：与靛青玻璃系一致 */
    --scrollbar-size: 9px;
    --scrollbar-track: rgba(241, 245, 249, 0.75);
    --scrollbar-thumb: linear-gradient(180deg, rgba(165, 180, 252, 0.95) 0%, rgba(99, 102, 241, 0.78) 48%, rgba(79, 70, 229, 0.88) 100%);
    --scrollbar-thumb-ff: rgba(99, 102, 241, 0.5);
    --scrollbar-thumb-ff-hover: rgba(79, 70, 229, 0.68);
    --scrollbar-thumb-hover: linear-gradient(180deg, rgba(199, 210, 254, 0.98) 0%, rgba(129, 140, 248, 0.9) 45%, rgba(99, 102, 241, 0.95) 100%);
    --scrollbar-thumb-active: rgba(67, 56, 202, 0.85);
    --scrollbar-thumb-border: rgba(255, 255, 255, 0.88);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb-ff) var(--scrollbar-track);
}

body {
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse 100% 80% at 8% -12%, rgba(99, 102, 241, 0.2), transparent 52%),
        radial-gradient(ellipse 90% 70% at 92% 8%, rgba(56, 189, 248, 0.18), transparent 50%),
        radial-gradient(ellipse 70% 55% at 48% 102%, rgba(167, 139, 250, 0.14), transparent 48%),
        radial-gradient(ellipse 50% 40% at 70% 60%, rgba(244, 114, 182, 0.06), transparent 45%),
        linear-gradient(165deg, #f8fafc 0%, #eef2ff 38%, #f0f9ff 72%, #f8fafc 100%);
    background-attachment: fixed;
}

html {
    background-color: #050a07;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* WebKit / Chromium / Safari：细轨道 + 靛青渐变滑块（与全站玻璃系一致） */
*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid var(--scrollbar-thumb-border);
    background: var(--scrollbar-thumb);
    background-clip: padding-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-thumb-active);
    border-color: rgba(255, 255, 255, 0.75);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 加粗线条，让图标看起来像马克笔画的 */
.lucide {
    stroke-width: 2px;
    stroke: currentColor;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 滚动显现 */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition:
        opacity var(--dur-med) var(--ease-smooth),
        transform 0.65s var(--ease-spring);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition-duration: 0.01ms;
        transform: none;
    }

    .fade-in.visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .section-header.fade-in:not(.visible) h2::after {
        transform: scaleX(0);
        transform-origin: center;
    }

    .section-header.fade-in.visible h2::after {
        animation: novaLineGrow 0.75s var(--ease-smooth) 0.12s forwards;
    }

    @keyframes novaLineGrow {
        from {
            transform: scaleX(0);
            opacity: 0.4;
        }

        to {
            transform: scaleX(1);
            opacity: 1;
        }
    }

}

/* ==================== 支付通道选择弹窗（结账 / 发票去支付）==================== */
body.pay-method-modal-open {
    overflow: hidden;
}

.pay-method-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.pay-method-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.pay-method-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 26px 22px 20px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px -16px rgba(15, 23, 42, 0.4);
}

.pay-method-modal-title {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
    color: var(--ink);
}

.pay-method-modal-lead {
    font-size: 0.8rem;
    color: var(--ink-light);
    line-height: 1.5;
    margin: 0 0 18px;
    text-align: center;
}

.pay-method-modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.pay-method-option {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    cursor: pointer;
    font: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sketch);
    transition: var(--transition);
}

.pay-method-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sketch-hover);
    border-color: rgba(99, 102, 241, 0.25);
}

.pay-method-option-ico {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.pay-method-option-ico img,
.pay-method-option-ico svg {
    display: block;
    max-width: 36px;
    max-height: 36px;
    width: auto;
    height: auto;
}

.pay-method-option-ico--stripe svg {
    max-width: 48px;
    max-height: 24px;
    width: auto;
    height: auto;
}

.pay-method-option-ico--usdt svg {
    max-width: 34px;
    max-height: 34px;
}

.pay-method-option-textcol {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.pay-method-option-main {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}

.pay-method-option-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-light);
    margin-left: auto;
}

.pay-method-cancel {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 4px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

/* ==================== 登录 / 注册弹窗 ==================== */
body.auth-modal-open {
    overflow: hidden;
}

/* 弹窗传送门容器：不产生层叠上下文，确保内部 fixed 元素能在最顶层渲染 */
#site-auth-portal {
    position: static;
    z-index: auto;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease-smooth), visibility 0.28s ease;
}

.auth-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(16, 185, 129, 0.1), transparent 55%),
        rgba(2, 7, 4, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    transition: opacity 0.35s ease;
}

.auth-modal-panel {
    position: relative;
    z-index: 1;
    /* Grid：在 max-height 下给子区域确定高度，避免 flex 列高度未约束导致内层无法出现滚动条 */
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    max-width: min(640px, calc(100vw - 24px));
    max-height: min(86vh, 640px);
    max-height: min(86dvh, 640px, calc(100dvh - max(32px, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px))));
    min-height: 0;
    overflow: hidden;
    background: #0a1610;
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 18px;
    box-shadow:
        0 24px 60px -16px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(52, 211, 153, 0.08),
        inset 0 1px 0 rgba(52, 211, 153, 0.12);
    padding: 0;
    transform: translateY(14px) scale(0.98);
    opacity: 0;
    transition: transform 0.38s var(--ease-spring), opacity 0.32s var(--ease-smooth);
}

.auth-modal-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #059669, #34d399 45%, #6ee7b7 75%, #34d399);
    opacity: 1;
    pointer-events: none;
    z-index: 4;
}

.auth-modal.open .auth-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.auth-modal-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.auth-modal-aside {
    position: relative;
    flex: 0 0 clamp(176px, 30%, 220px);
    padding: 20px 16px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #d1fae5;
    background: #051a0d;
    border-right: 1px solid rgba(52, 211, 153, 0.14);
    overflow: hidden;
}

.auth-modal-aside__glow {
    position: absolute;
    width: 120%;
    height: 50%;
    top: -12%;
    left: -40%;
    background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.22) 0%, transparent 58%);
    pointer-events: none;
}

.auth-modal-aside__glow::after {
    content: '';
    position: absolute;
    inset: auto -30% -40% 30%;
    height: 65%;
    background: radial-gradient(ellipse at 80% 90%, rgba(110, 231, 183, 0.14), transparent 50%);
    pointer-events: none;
}

.auth-modal-aside__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-modal-aside-points {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-modal-aside-points li {
    position: relative;
    padding-left: 14px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(167, 243, 208, 0.85);
    letter-spacing: 0.01em;
}

.auth-modal-aside-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}

.auth-modal-main {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-gutter: stable;
    padding: 48px 28px max(28px, env(safe-area-inset-bottom, 0px)) 24px;
    background: #0d1f16;
}

/* 桌面横排：双保险 max-height，避免个别浏览器 flex 高度链仍不收缩 */
@media (min-width: 769px) {
    .auth-modal-main {
        max-height: min(100%, 70dvh, 580px, calc(100svh - 96px), calc(100vh - 96px));
    }
}

.auth-modal-aside .auth-modal-brand--compact {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-right: 0;
}

.auth-modal-aside .auth-modal-brand--compact .auth-modal-brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.auth-modal-aside .auth-modal-brand--compact .auth-modal-brand__mark .site-logo-mark {
    width: 22px;
    height: 22px;
}

.auth-modal-aside .auth-modal-brand--compact .auth-modal-brand__name {
    font-size: 1.05rem;
    font-weight: 800;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #ecfdf5;
    letter-spacing: -0.03em;
}

.auth-modal-aside .auth-modal-hero {
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.auth-modal-aside .auth-modal-eyebrow {
    color: #6ee7b7;
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.auth-modal-aside .auth-modal-title {
    color: #ecfdf5;
    margin-bottom: 8px;
    font-size: clamp(0.9rem, 2.2vw, 1.15rem);
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

.auth-modal-aside .auth-modal-tagline--aside {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(110, 231, 183, 0.7);
}

.auth-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.06);
    backdrop-filter: blur(12px) saturate(1.25);
    -webkit-backdrop-filter: blur(12px) saturate(1.25);
    box-shadow:
        inset 0 1px 0 rgba(52, 211, 153, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    color: rgba(110, 231, 183, 0.4);
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.auth-modal-close:hover {
    color: rgba(110, 231, 183, 0.9);
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.1);
    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.15),
        inset 0 -1px 1px rgba(52, 211, 153, 0.08),
        0 0 10px rgba(52, 211, 153, 0.1);
    transform: translateY(1px) scale(0.97);
}

.auth-modal-close:active {
    color: rgba(110, 231, 183, 0.7);
    border-color: rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.07);
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.2),
        inset 0 -1px 1px rgba(52, 211, 153, 0.06);
    transform: translateY(2px) scale(0.955);
}

.auth-modal-close:focus-visible {
    outline: none;
    color: rgba(110, 231, 183, 0.85);
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.12),
        0 0 0 3px rgba(52, 211, 153, 0.2);
}

.auth-modal-close .lucide {
    width: 18px;
    height: 18px;
    opacity: 1;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.auth-modal-close:hover .lucide {
    transform: rotate(90deg) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {

    .auth-modal-close,
    .auth-modal-close:hover,
    .auth-modal-close:active {
        transform: none;
    }

    .auth-modal-close:hover {
        box-shadow:
            inset 0 2px 5px rgba(0, 0, 0, 0.15),
            0 0 8px rgba(52, 211, 153, 0.08);
    }

    .auth-modal-close:active {
        box-shadow:
            inset 0 3px 8px rgba(0, 0, 0, 0.2);
    }

    .auth-modal-close:hover .lucide {
        transform: none;
    }
}

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-modal-brand__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-modal-brand__mark .site-logo-mark {
    display: block;
}

.auth-modal-hero {
    position: relative;
}

.auth-modal-eyebrow {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-modal-title {
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-modal-tagline {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 36em;
}

.auth-modal-tagline--muted {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.45;
}

.auth-flow-stack {
    position: relative;
    margin-top: 0;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.auth-flow-step {
    display: none;
    animation: authStepIn 0.28s var(--ease-smooth) both;
}

.auth-flow-step.is-active {
    display: block;
}

@keyframes authStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-flow-step {
        animation: none;
    }
}

.auth-step-card {
    position: relative;
    padding: 14px 14px 16px;
    border-radius: 14px;
    background: #0f2318;
    border: 1px solid rgba(52, 211, 153, 0.12);
    box-shadow: 0 1px 0 rgba(52, 211, 153, 0.06), inset 0 1px 0 rgba(52, 211, 153, 0.05);
}

.auth-step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 100% 80% at 0% 0%, rgba(52, 211, 153, 0.04), transparent 45%);
}

.auth-step-card>* {
    position: relative;
    z-index: 1;
}

.auth-step-card--ident {
    padding: 22px 22px 24px;
    border-radius: 18px;
    background: #0c1c13;
    border: 1px solid rgba(52, 211, 153, 0.2);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(52, 211, 153, 0.1);
}

.auth-step-card--ident::before {
    background: radial-gradient(ellipse 120% 90% at 10% 0%, rgba(52, 211, 153, 0.07), transparent 50%);
}

.auth-step-card--ident .auth-field--ident {
    margin-bottom: 16px;
}

.auth-step-card--ident .auth-input-wrap {
    border-radius: 12px;
    min-height: 48px;
}

.auth-step-card--ident .auth-submit {
    margin-top: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(110, 231, 183, 0.22);
}

.auth-step-card--ident .auth-ident-alt {
    margin-top: 18px;
}

.auth-step-lead {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(110, 231, 183, 0.6);
}

.auth-reset-lead {
    font-size: 12px;
    margin-bottom: 14px;
}

.auth-field--ident {
    margin-bottom: 12px;
}

.auth-ident-format-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    padding: 8px 12px 8px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    min-height: 1.35em;
    color: #9a3412;
    background: #fff;
    border: 1px solid #fdba74;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05), 0 1px 4px rgba(234, 88, 12, 0.06);
}

.auth-ident-format-hint[hidden] {
    display: none !important;
}

.auth-ident-format-hint--warn::before {
    content: '!';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 900;
    font-family: system-ui, 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #fb923c, #ea580c);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.auth-field--ident .auth-input-wrap.auth-input-wrap--bad {
    border-color: rgba(251, 113, 133, 0.5);
    background: rgba(220, 38, 38, 0.06);
}

.auth-field--ident .auth-input-wrap.auth-input-wrap--ok {
    border-color: rgba(52, 211, 153, 0.5);
}

.auth-ident-fallback {
    margin-top: 12px;
    padding: 12px 12px 2px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.05);
    border: 1px dashed rgba(52, 211, 153, 0.18);
}

.auth-ident-fallback[hidden] {
    display: none !important;
}

.auth-ident-fallback-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(167, 243, 208, 0.85);
}

.auth-ident-fallback-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 400px) {
    .auth-ident-fallback-actions {
        flex-direction: row;
    }

    .auth-ident-fallback-actions .auth-submit {
        flex: 1;
        margin-top: 0;
    }
}

.auth-submit--ghost {
    margin-top: 0;
    color: #a7f3d0;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 11px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(52, 211, 153, 0.08);
}

.auth-submit--ghost:hover {
    border-color: rgba(52, 211, 153, 0.38);
    background: rgba(52, 211, 153, 0.1);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.12), inset 0 1px 0 rgba(52, 211, 153, 0.12);
}

.auth-ident-alt {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(110, 231, 183, 0.55);
}

.login-mode-panel {
    margin-bottom: 0;
}

.login-mode-panel[hidden] {
    display: none !important;
}

.auth-login-code-hint {
    margin: -2px 0 10px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(110, 231, 183, 0.6);
    font-weight: 500;
    background: rgba(52, 211, 153, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(52, 211, 153, 0.12);
}

.auth-login-mode-toggle {
    text-align: center;
    margin: 10px 0 0;
    min-height: 1.4em;
    padding: 8px 6px;
    border-radius: 10px;
    background: rgba(52, 211, 153, 0.04);
}

.auth-login-mode-toggle .auth-link {
    font-size: 12px;
    text-decoration: none;
    color: #34d399;
    font-weight: 700;
}

.auth-login-mode-toggle .auth-link:hover {
    color: #6ee7b7;
}

.auth-flow-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    padding: 6px 11px 6px 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    color: rgba(110, 231, 183, 0.6);
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.auth-flow-back::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.75;
}

.auth-flow-back:hover {
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.09);
    transform: translateX(-2px);
}

.auth-form .auth-field:first-of-type {
    margin-top: 0;
}

.auth-field {
    margin-bottom: 12px;
}

.auth-field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: rgba(110, 231, 183, 0.75);
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 11px;
    background: #071410;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}


/* Password confirm match indicator */
.auth-input-wrap:has(input[data-pw-match="yes"]) {
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1), inset 0 1px 3px rgba(0,0,0,0.2);
}
.auth-input-wrap:has(input[data-pw-match="no"]) {
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1), inset 0 1px 3px rgba(0,0,0,0.2);
}
.auth-input-wrap:focus-within {
    border-color: rgba(52, 211, 153, 0.55);
    background: #071e13;
    box-shadow:
        0 0 0 3px rgba(52, 211, 153, 0.12),
        inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.auth-input-wrap .field-icon {
    padding: 0 10px;
    display: flex;
    color: rgba(110, 231, 183, 0.45);
    transition: color 0.2s ease;
}

.auth-input-wrap:focus-within .field-icon {
    color: #34d399;
}

.auth-input-wrap .field-icon .lucide {
    width: 17px;
    height: 17px;
}

.auth-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 10px 11px 0;
    font-size: 14px;
    font-weight: 600;
    color: #ecfdf5;
    outline: none;
    min-width: 0;
}

.auth-input-wrap input::placeholder {
    color: rgba(110, 231, 183, 0.35);
    font-weight: 500;
}

.auth-toggle-pw {
    padding: 6px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(110, 231, 183, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 9px 9px 0;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    width: 37px;
    flex-shrink: 0;
}

.auth-toggle-pw:hover {
    color: #34d399;
    background: rgba(52, 211, 153, 0.07);
}

.auth-toggle-pw .lucide {
    width: 17px;
    height: 17px;
}

.auth-toggle-pw svg {
    width: 17px;
    height: 17px;
    position: absolute;
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.auth-toggle-pw .icon-eye {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.auth-toggle-pw .icon-eye-off {
    opacity: 0;
    transform: scale(0.65) rotate(15deg);
}

.auth-toggle-pw.is-revealed .icon-eye {
    opacity: 0;
    transform: scale(0.65) rotate(-15deg);
}

.auth-toggle-pw.is-revealed .icon-eye-off {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

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

.auth-row--agree {
    margin-bottom: 10px;
    padding: 10px 10px;
    border-radius: 11px;
    background: rgba(52, 211, 153, 0.04);
    border: 1px solid rgba(52, 211, 153, 0.1);
}

.auth-row--agree-register {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 10px;
}

.auth-check-input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: #10b981;
    cursor: pointer;
}

.auth-check--agree-text {
    margin: 0;
    cursor: pointer;
}

.auth-agree-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.auth-agree-conj {
    font-weight: 600;
    color: rgba(167, 243, 208, 0.75);
}

#login-row-extra .auth-check-input {
    margin-top: 1px;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(167, 243, 208, 0.75);
}

.auth-check input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: #10b981;
    cursor: pointer;
}

.auth-link {
    font-size: inherit;
    font-weight: 700;
    color: #34d399;
    text-decoration: none;
    text-decoration-style: solid;
    text-underline-offset: 3px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.auth-link:hover {
    color: #6ee7b7;
    text-decoration: underline;
}

.auth-ident-alt .auth-link,
.auth-switch .auth-link,
.auth-login-mode-toggle .auth-link {
    font-size: 12px;
}

.auth-submit {
    width: 100%;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ecfdf5;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(110, 231, 183, 0.25);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, background 0.2s ease;
    margin-top: 6px;
}

.auth-submit:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #10b981 100%);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(110, 231, 183, 0.3);
}

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

.auth-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/* 登录弹窗内联提示：与底栏 Toast 同款胶囊条（文案放入 .auth-msg__text，避免匿名 flex 子项被拉满宽） */
.auth-msg {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 16px 10px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.3);
    border-radius: 999px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(220, 38, 38, 0.1);
}

.auth-msg .auth-msg__text {
    flex: 0 1 auto;
    min-width: 0;
}

.auth-msg::before {
    content: '!';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    font-family: system-ui, 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #fb7185, #e11d48);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.28);
}

.auth-msg:empty {
    display: none;
}

.auth-msg:empty::before {
    display: none;
}

.auth-msg.ok {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.3);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(16, 185, 129, 0.1);
}

.auth-msg.ok::before {
    content: '✓';
    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(145deg, #4ade80, #16a34a);
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.28);
}

.auth-msg.auth-msg--neutral {
    color: rgba(110, 231, 183, 0.85);
    background: rgba(52, 211, 153, 0.07);
    border: 1px solid rgba(52, 211, 153, 0.2);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(52, 211, 153, 0.07);
}

.auth-msg.auth-msg--neutral::before {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, 0.25);
    border-top-color: #34d399;
    background: transparent;
    box-shadow: none;
    animation: authMsgSpin 0.75s linear infinite;
}

@keyframes authMsgSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-msg.auth-msg--neutral::before {
        animation: none;
        border-color: rgba(52, 211, 153, 0.4);
        border-top-color: rgba(52, 211, 153, 0.4);
    }
}

.auth-switch {
    text-align: center;
    margin-top: 10px;
    padding: 8px 8px;
    border-radius: 10px;
    background: rgba(52, 211, 153, 0.04);
}

.auth-code-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    min-height: 48px;
}

.auth-code-row .auth-code-input {
    flex: 1;
    min-width: 0;
}

.auth-code-row .auth-code-input .auth-input-wrap {
    border-radius: 11px;
    min-height: 48px;
}

.auth-code-row .auth-code-input input {
    padding-left: 12px;
    padding-right: 12px;
}

.auth-send-code {
    flex-shrink: 0;
    min-width: 92px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 11px;
    background: rgba(52, 211, 153, 0.07);
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(52, 211, 153, 0.1);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}

.auth-send-code:hover:not(:disabled) {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.5);
    transform: translateY(-1px);
}

.auth-send-code:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .auth-modal-layout {
        flex-direction: column;
        min-height: 0;
    }

    .auth-modal-aside {
        flex: 0 0 auto;
        padding: 14px 16px 12px;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .auth-modal-aside__glow {
        height: 100%;
        top: -12%;
    }

    .auth-modal-aside .auth-modal-brand--compact {
        margin-bottom: 8px;
    }

    .auth-modal-aside-points {
        margin-top: 8px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .auth-modal-aside-points li {
        font-size: 11px;
        flex: 1 1 auto;
    }

    .auth-modal-main {
        padding: 46px 16px max(16px, env(safe-area-inset-bottom, 0px));
        flex: 1 1 0%;
        min-height: 0;
        max-height: min(52dvh, 52vh, 460px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .auth-modal {
        padding: 8px;
    }

    .auth-modal-panel {
        max-width: 100%;
        border-radius: 16px;
    }

    .auth-modal-panel::before {
        border-radius: 16px 16px 0 0;
    }

    .auth-modal-aside {
        padding: 12px 14px 10px;
    }

    .auth-modal-aside .auth-modal-title {
        font-size: 1.08rem;
    }

    .auth-modal-aside .auth-modal-tagline--aside {
        font-size: 10px;
    }

    .auth-modal-aside-points li {
        font-size: 10px;
    }

    .auth-modal-main {
        padding: 44px 12px max(14px, env(safe-area-inset-bottom, 0px));
        max-height: min(56dvh, 56vh, 500px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .auth-step-card {
        padding: 12px 12px 14px;
        border-radius: 12px;
    }

    .auth-step-card--ident {
        padding: 16px 14px 18px;
        border-radius: 14px;
    }

    .auth-send-code {
        min-width: 80px;
        padding: 0 8px;
        font-size: 10px;
    }
}

@media (max-width: 420px) {
    .auth-code-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-code-row .auth-code-input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    .auth-code-row .auth-send-code {
        width: 100%;
        min-height: 44px;
    }
}

/* ==================== 页面路由控制 · Soft Focus 入场 ==================== */
/* 核心理念：内容从不隐藏，只做短暂的柔焦→锐利过渡 */
.page-main {
    padding-top: 0;
    min-height: 100vh;
}

.page-main.page-enter {
    animation: novaPageIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both forwards;
}

@keyframes novaPageIn {
    0% {
        opacity: 0.75;
        transform: scale(0.99);
        filter: blur(3px) saturate(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) saturate(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    html.maclogin-enter-from-nav .page-main.page-enter:not(.page-enter--done) {
        animation: novaPageFromNav 0.4s cubic-bezier(0.22, 1, 0.36, 1) both forwards;
    }

    @keyframes novaPageFromNav {
        0% {
            opacity: 1;
            transform: scale(0.995);
            filter: blur(0) saturate(1);
        }

        100% {
            opacity: 1;
            transform: scale(1);
            filter: blur(0) saturate(1);
        }
    }
}

/* 动画完成锁定 */
.page-main.page-enter.page-enter--done {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .page-main.page-enter {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }
}


/* ==================== 卡片与按钮（Nova）==================== */
.sketch-box {
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(1.45);
    -webkit-backdrop-filter: blur(18px) saturate(1.45);
    border: 1px solid var(--stroke-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sketch);
    transition:
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease-smooth),
        border-color 0.3s ease;
}

.sketch-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sketch-hover);
    border-color: rgba(99, 102, 241, 0.28);
}

/* ==================== 主要按钮 — Neumorphic 暗色（From Uiverse.io by shah1345）==================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    padding: 0.7em 1.7em;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0.5em;
    color: #d0d0d0;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    box-shadow: 6px 6px 12px #0f0f0f, -6px -6px 12px #2d2d2d;
    transition: all 0.2s ease-in;
}

.btn-primary:active,
.btn-secondary:active {
    color: #999;
    box-shadow: inset 4px 4px 12px #0f0f0f, inset -4px -4px 12px #2d2d2d;
}

.btn-primary::before,
.btn-secondary::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 144, 135, 0.08);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.btn-primary::after,
.btn-secondary::after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #009087;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.btn-primary:hover,
.btn-secondary:hover {
    color: #ffffff;
    border-color: #009087;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    top: -35%;
    background-color: #009087;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    top: -45%;
    background-color: #009087;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* ==================== 液态边框揭示按钮 ==================== */
/* Adapted from Uiverse.io by TISEPSE — 悬停时边框从覆盖条下滑出 */
.btn-liquid {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.35s ease, box-shadow 0.35s ease;
}

.btn-liquid::before {
    content: '';
    position: absolute;
    top: 7px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% - 14px);
    background: var(--bg-color, #050a07);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scaleY(1);
    z-index: 0;
    border-radius: 0;
}

.btn-liquid::after {
    content: '';
    position: absolute;
    left: 7px;
    top: -2px;
    height: calc(100% + 4px);
    width: calc(100% - 14px);
    background: var(--bg-color, #050a07);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scaleX(1);
    z-index: 0;
    border-radius: 0;
}

.btn-liquid:hover::before {
    transform: scaleY(0);
}

.btn-liquid:hover::after {
    transform: scaleX(0);
    transition-delay: 0.22s;
}

.btn-liquid:hover {
    box-shadow: 0 0 28px rgba(52, 211, 153, 0.3);
}

.btn-liquid>* {
    position: relative;
    z-index: 1;
}

/* 实心填充变体 — 悬停时边框亮起 */
.btn-liquid--fill {
    background: var(--primary-blue);
    color: #050a07;
    border-color: var(--primary-blue);
}

.btn-liquid--fill::before,
.btn-liquid--fill::after {
    background: #050a07;
}

.btn-liquid--fill:hover {
    color: var(--primary-blue);
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {

    .btn-liquid::before,
    .btn-liquid::after {
        transition: none;
    }
}

/* 柔和高亮（与玻璃页面对比） */
.hl-pink {
    padding: 0.12em 0.45em;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(251, 113, 133, 0.28), rgba(244, 114, 182, 0.2));
    border: 1px solid rgba(251, 113, 133, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hl-blue {
    padding: 0.12em 0.45em;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.3), rgba(129, 140, 248, 0.18));
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hl-yellow {
    padding: 0.12em 0.45em;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(253, 230, 138, 0.55), rgba(251, 191, 36, 0.22));
    border: 1px solid rgba(251, 191, 36, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    margin-bottom: 14px;
    display: inline-block;
    position: relative;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 88px;
    height: 5px;
    margin-left: -44px;
    background: linear-gradient(90deg, #6366f1, #38bdf8, #a78bfa);
    border-radius: 999px;
    z-index: 0;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

.section-header p {
    color: var(--ink-light);
    font-size: clamp(16px, 2vw, 19px);
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.section-header p .phrase-keep {
    white-space: nowrap;
}

.btn-dash:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sketch-hover);
}

.btn-dash:active {
    transform: translateY(0);
    box-shadow: var(--shadow-pressed);
}

.btn-dash.primary {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    border-radius: 999px;
}

/* ==================== 页脚 · site-footer（渐变深底 + 网格动效 + 玻璃 Logo）==================== */
footer.site-footer {
    position: relative;
    margin-top: 100px;
    padding: clamp(64px, 10vw, 96px) 0 40px;
    overflow: hidden;
    color: #e2e8f0;
    border-top: 1px solid rgba(129, 140, 248, 0.15);
    background:
        radial-gradient(ellipse 90% 60% at 50% -20%, rgba(99, 102, 241, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(56, 189, 248, 0.12), transparent 50%),
        linear-gradient(168deg, #0f172a 0%, #1e1b4b 38%, #0c1222 100%);
    box-shadow: 0 -32px 100px -48px rgba(99, 102, 241, 0.35);
}

.site-footer__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: 0 0;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, #000 35%, #000 100%);
    pointer-events: none;
    opacity: 0.7;
}

.site-footer__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-footer__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.45;
}

.site-footer__orbs span:nth-child(1) {
    width: min(320px, 70vw);
    height: min(320px, 70vw);
    top: -15%;
    left: -8%;
    background: rgba(99, 102, 241, 0.4);
}

.site-footer__orbs span:nth-child(2) {
    width: min(260px, 55vw);
    height: min(260px, 55vw);
    bottom: -20%;
    right: -5%;
    background: rgba(56, 189, 248, 0.28);
}

.site-footer__orbs span:nth-child(3) {
    width: min(180px, 40vw);
    height: min(180px, 40vw);
    top: 40%;
    right: 25%;
    background: rgba(167, 139, 250, 0.2);
}

.site-footer__container {
    position: relative;
    z-index: 1;
}

.footer-grid.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(40px, 6vw, 64px);
    margin-bottom: clamp(44px, 7vw, 60px);
}

.footer-col h5 {
    font-size: 13px;
    margin: 0 0 18px;
    color: #cbd5e1;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    padding: 0 0 10px;
    box-sizing: border-box;
    position: relative;
    border-bottom: none;
    line-height: 1.35;
}

.footer-col h5::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #818cf8, #38bdf8, transparent);
    opacity: 0.9;
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.35);
}

.footer-col h5::after {
    display: none;
}

.footer-col:not(.footer-col--brand) ul li {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
}

.footer-col ul li a {
    transition: color 0.22s ease, transform 0.22s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.footer-col ul li a:hover {
    color: #e0e7ff;
    transform: translateX(5px);
}

.footer-bottom.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
    font-size: 14px;
}

.site-footer__copyright {
    color: #94a3b8;
    font-weight: 600;
}

.site-footer__byline {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

a.footer-logo.site-footer__logo {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease-spring);
}

a.footer-logo.site-footer__logo:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.site-footer__logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.5), rgba(56, 189, 248, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-footer__logo-icon .site-logo-mark {
    display: block;
    width: 22px;
    height: 22px;
    color: #fff;
}

.footer-tagline.site-footer__tagline {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 28em;
}

.site-footer__email {
    display: block;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__email:hover {
    color: #a5b4fc;
}

.site-footer__cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #e0e7ff;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.site-footer__cta-chip .lucide {
    width: 16px;
    height: 16px;
    stroke-width: 2.25px;
    opacity: 0.9;
}

.site-footer__cta-chip:hover {
    background: rgba(99, 102, 241, 0.28);
    border-color: rgba(165, 180, 252, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.25);
    color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
    .site-footer__mesh {
        animation: siteFooterMesh 50s linear infinite;
    }

    @keyframes siteFooterMesh {
        to {
            background-position: 44px 44px;
        }
    }

    .site-footer__orbs span:nth-child(1) {
        animation: siteFooterOrbA 16s ease-in-out infinite;
    }

    .site-footer__orbs span:nth-child(2) {
        animation: siteFooterOrbB 18s ease-in-out infinite 1s;
    }

    .site-footer__orbs span:nth-child(3) {
        animation: siteFooterOrbC 12s ease-in-out infinite 0.5s;
    }

    @keyframes siteFooterOrbA {

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

        50% {
            transform: translate(16px, 10px);
        }
    }

    @keyframes siteFooterOrbB {

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

        50% {
            transform: translate(-14px, -12px);
        }
    }

    @keyframes siteFooterOrbC {

        0%,
        100% {
            transform: scale(1);
            opacity: 0.35;
        }

        50% {
            transform: scale(1.12);
            opacity: 0.55;
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-footer__mesh,
    .site-footer__orbs span {
        animation: none !important;
    }
}

.footer-scribble-line {
    height: 0;
    margin: 22px 0 18px;
    border: none;
    border-top: 2.5px dashed var(--ink-light);
    opacity: 0.85;
    transform: rotate(-0.4deg);
}

.footer-doodles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 0;
}

.footer-doodle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sketch);
}

.footer-doodle i {
    width: 24px;
    height: 24px;
    stroke-width: 2.25px;
}

.footer-doodle--a {
    background: var(--marker-pink);
    transform: rotate(-6deg);
}

.footer-doodle--b {
    background: var(--marker-blue);
    transform: rotate(4deg);
}

.footer-doodle--c {
    background: var(--marker-yellow);
    transform: rotate(-3deg);
}

@media (prefers-reduced-motion: no-preference) {
    .footer-doodle--a {
        animation: footerDoodleFloat 5s ease-in-out infinite;
    }

    .footer-doodle--b {
        animation: footerDoodleFloat 5.5s ease-in-out infinite 0.6s;
    }

    .footer-doodle--c {
        animation: footerDoodleFloat 4.8s ease-in-out infinite 1.1s;
    }

    @keyframes footerDoodleFloat {

        0%,
        100% {
            transform: translateY(0) rotate(var(--fd-tilt, -6deg)) scale(1);
        }

        50% {
            transform: translateY(-6px) rotate(calc(var(--fd-tilt, -6deg) + 3deg)) scale(1.04);
        }
    }

    .footer-doodle--a {
        --fd-tilt: -6deg;
    }

    .footer-doodle--b {
        --fd-tilt: 4deg;
    }

    .footer-doodle--c {
        --fd-tilt: -3deg;
    }
}

/* ==================== 响应式设计 ==================== */

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

    .pricing-grid,
    .addon-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sidebar {
        display: none;
    }

    .server-specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid.site-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer.site-footer .footer-col h5 {
        display: flex;
        min-height: 0;
        padding-bottom: 10px;
        width: fit-content;
        max-width: 100%;
    }

    footer.site-footer .footer-col h5::before {
        width: 48px;
    }

    .footer-bottom.site-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        justify-content: center;
    }

    .site-footer__byline {
        text-align: center;
    }
}

/* ==================== 站内跳转过渡 · Dark Curtain ==================== */

/* ——— 出场：body 整体快速淡出，深色幕布随即覆盖（无白色）——— */
html.maclogin-tx-out body {
    transition: opacity 0.18s cubic-bezier(0.4, 0, 1, 1);
    opacity: 0;
}

/* ——— 过渡容器：深色底板与 html 同色，彻底遮住白底 ——— */
#maclogin-transition {
    position: fixed;
    inset: 0;
    z-index: 100050;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: #050a07;
    transition: opacity 0.15s ease, visibility 0s 0.32s;
}

#maclogin-transition.maclogin-transition--active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.12s ease, visibility 0s 0s;
}

/* ——— 扫描线（深色底板上的细线纹理）——— */
.maclogin-transition__scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(52, 211, 153, 0.03) 3px,
            rgba(52, 211, 153, 0.03) 6px);
    opacity: 0;
}

#maclogin-transition.maclogin-transition--active .maclogin-transition__scan {
    animation: macloginTxScan 0.5s ease forwards;
}

/* ——— 中央 HUD：绿点脉冲 ——— */
.maclogin-transition__chip {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.maclogin-transition__glyph {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maclogin-transition__glyph-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.9), 0 0 32px rgba(52, 211, 153, 0.4);
}

#maclogin-transition.maclogin-transition--active .maclogin-transition__glyph-inner {
    animation: macloginTxPulse 0.9s ease-in-out infinite;
}

.maclogin-transition__glyph::before,
.maclogin-transition__glyph::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

#maclogin-transition.maclogin-transition--active .maclogin-transition__glyph::before {
    animation: macloginTxRing 1.1s ease-out infinite;
}

#maclogin-transition.maclogin-transition--active .maclogin-transition__glyph::after {
    animation: macloginTxRing 1.1s ease-out 0.3s infinite;
}

/* ——— 标签 ——— */
.maclogin-transition__label {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(52, 211, 153, 0.55);
    white-space: nowrap;
}

/* ——— 粒子：保留 DOM 兼容，视觉隐藏 ——— */
.maclogin-transition__particles {
    display: none;
}

.maclogin-transition__particles span {}

/* ——— 激活态：HUD 淡入 ——— */
#maclogin-transition.maclogin-transition--active .maclogin-transition__chip {
    animation: macloginTxChipIn 0.22s ease 0.06s both;
}

/* ——— Keyframes ——— */
@keyframes macloginTxScan {
    0% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0.55;
    }
}

@keyframes macloginTxChipIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.88);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes macloginTxPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

@keyframes macloginTxRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* ——— 入场：深色遮罩淡出，绝无白色 ——— */
@media (prefers-reduced-motion: no-preference) {
    html.maclogin-enter-from-nav body::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 100049;
        background: #050a07;
        pointer-events: none;
        animation: macloginDarkOut 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes macloginDarkOut {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }
}

/* ——— 无障碍：减速 ——— */
@media (prefers-reduced-motion: reduce) {
    html.maclogin-tx-out body {
        transition: none !important;
        opacity: 1 !important;
    }

    #maclogin-transition,
    #maclogin-transition.maclogin-transition--active {
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* 全站底栏 Toast：与 .auth-msg 同款（左图标 + 胶囊条） */
#maclogin-toast.maclogin-toast {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 4000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(560px, calc(100vw - 28px));
    padding: 10px 18px 10px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    word-break: break-word;
    color: #991b1b;
    background: #ffffff;
    border: 1px solid #fca5a5;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1), 0 2px 10px rgba(220, 38, 38, 0.07);
    box-sizing: border-box;
}

#maclogin-toast.maclogin-toast::before {
    content: '!';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    font-family: system-ui, 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    color: #fff;
    background: linear-gradient(145deg, #fb7185, #e11d48);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.28);
}

#maclogin-toast.maclogin-toast .maclogin-toast__text {
    flex: 0 1 auto;
    min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
    #maclogin-toast.maclogin-toast:not([hidden]) {
        animation: toastPopIn 0.55s var(--ease-spring) forwards;
    }

    @keyframes toastPopIn {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(24px) rotate(-2deg);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0) rotate(0deg);
        }
    }
}

#maclogin-toast.maclogin-toast[hidden] {
    display: none !important;
}

#maclogin-toast.maclogin-toast--error {
    color: #991b1b;
    background: #ffffff;
    border-color: #fca5a5;
}

#maclogin-toast.maclogin-toast--ok {
    color: #14532d;
    background: #ffffff;
    border: 1px solid #86efac;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(22, 163, 74, 0.08);
}

#maclogin-toast.maclogin-toast--ok::before {
    content: '✓';
    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(145deg, #4ade80, #16a34a);
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.28);
}

/* ==================== 返回顶部按钮（Uiverse.io 动效）==================== */
.btn-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 140px;
    height: 56px;
    overflow: hidden;
    color: var(--primary-blue);
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 8px;
    padding-bottom: 2em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.btn-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-back-to-top>div,
.btn-back-to-top>svg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

.btn-back-to-top::before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: bottom right;
    background: currentColor;
    transition: transform 0.25s ease-out;
}

.btn-back-to-top:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn-back-to-top .btn-btt-clone>*,
.btn-back-to-top .btn-btt-text>* {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: 0.2s;
    margin-left: 4px;
}

.btn-back-to-top .btn-btt-clone {
    align-items: center;
    padding-left: 16px;
}

.btn-back-to-top .btn-btt-text {
    align-items: center;
    padding-left: 16px;
}

.btn-back-to-top .btn-btt-clone>* {
    transform: translateY(60px);
}

.btn-back-to-top:hover .btn-btt-clone>* {
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.btn-back-to-top:hover .btn-btt-text>* {
    opacity: 0;
    transform: translateY(-60px);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.btn-back-to-top svg {
    width: 20px;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transition: 0.2s ease-out;
    color: var(--primary-blue);
}

.btn-back-to-top:hover svg {
    transform: translateY(-50%) rotate(-180deg);
    color: #34d399;
}