        /* 與默認首頁（index_glass.html）科技風同款：深空底 + 靛紫輝光 + 玻璃擬態 */
        :root {
            --bg-page: #0b0d12;
            --bg-card: rgba(22, 25, 34, 0.72);
            --bg-input: rgba(12, 14, 20, 0.68);
            --border-faint: rgba(255, 255, 255, 0.08);
            --border-accent: rgba(99, 102, 241, 0.45);
            --text-main: #d5d9e1;
            --text-secondary: #9aa0ac;
            --text-muted: #6e7480;
            --accent-indigo: #6366f1;
            --shadow-1: 0 8px 32px rgba(0, 0, 0, 0.36);
            --shadow-2: 0 12px 48px rgba(0, 0, 0, 0.44);
            --glow-indigo: 0 0 24px rgba(99, 102, 241, 0.18);
        }
        * { box-sizing: border-box; }
        html { color-scheme: dark; }
        ::selection { background: rgba(99, 102, 241, 0.38); color: #f5f5ff; }
        :focus-visible { outline: 2px solid rgba(99, 102, 241, 0.55); outline-offset: 2px; }
        body {
            margin: 0; min-height: 100vh;
            display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
            padding: 20px;
            background:
                radial-gradient(1200px 600px at 10% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
                radial-gradient(1000px 520px at 90% -8%, rgba(34, 211, 238, 0.08), transparent 55%),
                radial-gradient(800px 400px at 50% 110%, rgba(139, 92, 246, 0.08), transparent 55%),
                var(--bg-page);
            color: var(--text-main);
            font: 14px/1.5 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
            -webkit-font-smoothing: antialiased;
            -webkit-tap-highlight-color: transparent;
        }
        main { width: min(100%, 360px); place-self: center; transform: translateY(-4.2em); }
        /* ---- 品牌標識：LOGO + TVADD.COM（機器人自動交易 · 電光信號流） ---- */
        .brand { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 0 0 22px; }
        .brand-logo {
            width: 40px; height: 44px; display: block; flex: none;
            filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.32));
            animation: logo-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
        }
        @keyframes logo-rise {
            from { opacity: 0; transform: translateY(14px) scale(0.94); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        /* 天線信號球：電光青呼吸發光（機器人「在線」狀態燈） */
        .bot-antenna {
            fill: #22d3ee;
            filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.75));
            animation: antenna-pulse 2.2s ease-in-out 1s infinite;
        }
        @keyframes antenna-pulse {
            0%, 100% { opacity: 0.55; filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.35)); }
            50% { opacity: 1; filter: drop-shadow(0 0 9px rgba(34, 211, 238, 0.95)); }
        }
        .brand-name { margin: 0; display: flex; gap: 3px; font-size: 24px; font-weight: 700; }
        .brand-name span {
            background: linear-gradient(115deg, #eaf7ff 0%, #22d3ee 28%, #818cf8 62%, #eaf7ff 100%);
            background-size: 200% 100%;
            -webkit-background-clip: text; background-clip: text;
            color: transparent;
            filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.22));
            animation:
                ch-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both,
                ch-flow 5.5s linear 0.55s infinite;
        }
        @keyframes ch-rise {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes ch-flow { to { background-position: -200% 50%; } }
        /* 逐字入場節奏（CSP style-src 'self' 禁內聯 style，故用 nth-child） */
        .brand-name span:nth-child(1) { animation-delay: 0.05s, 0.55s; }
        .brand-name span:nth-child(2) { animation-delay: 0.10s, 0.55s; }
        .brand-name span:nth-child(3) { animation-delay: 0.15s, 0.55s; }
        .brand-name span:nth-child(4) { animation-delay: 0.20s, 0.55s; }
        .brand-name span:nth-child(5) { animation-delay: 0.25s, 0.55s; }
        .brand-name span:nth-child(6) { animation-delay: 0.30s, 0.55s; }
        .brand-name span:nth-child(7) { animation-delay: 0.35s, 0.55s; }
        .brand-name span:nth-child(8) { animation-delay: 0.40s, 0.55s; }
        .brand-name span:nth-child(9) { animation-delay: 0.45s, 0.55s; }
        /* 信號點呼吸：域名中的「.」如機器人狀態燈 */
        .brand-name .dot { animation:
            ch-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both,
            dot-pulse 2.4s ease-in-out 0.8s infinite,
            ch-flow 5.5s linear 0.55s infinite; }
        @keyframes dot-pulse {
            0%, 100% { filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.15)); }
            50% { filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.65)); }
        }
        @media (prefers-reduced-motion: reduce) {
            .brand-logo, .brand-name span { animation: none; opacity: 1; transform: none; }
            .bot-antenna { animation: none; opacity: 1; }
        }
        /* 登錄卡片：與首頁 .card 同款玻璃質感（半透明底 + backdrop 模糊 + 20px 大圓角） */
        form {
            padding: 24px;
            background: var(--bg-card);
            border: 1px solid var(--border-faint);
            border-radius: 20px;
            box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }
        form:hover { box-shadow: var(--shadow-2), var(--glow-indigo), inset 0 1px 0 rgba(255, 255, 255, 0.06); border-color: var(--border-accent); }
        label { display: block; margin-bottom: 16px; color: var(--text-secondary); }
        /* 輸入框：與首頁篩選框同款深色玻璃底、10px 圓角、聚焦靛藍描邊 + 光環 */
        input {
            width: 100%; margin-top: 6px; padding: 10px 14px;
            border: 1px solid var(--border-faint); border-radius: 10px;
            outline: none; background: var(--bg-input); color: var(--text-main);
            font: inherit;
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }
        input:focus {
            border-color: var(--accent-indigo);
            background: rgba(12, 14, 20, 0.85);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
        }
        /* 壓掉瀏覽器 autofill 的淺色背景和強制黑字（Chrome UA 樣式需 !important 才能蓋過）；
           純色底為輸入框半透明底(0.68)疊加卡片/頁面底色後的等效實色，保持淺字不隱形 */
        input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 1000px #0e1017 inset !important;
            -webkit-text-fill-color: var(--text-main) !important;
            color: var(--text-main) !important;
            caret-color: var(--text-main);
            transition: background-color 9999s ease-out infinite;
        }
        /* 登錄按鈕：與首頁按鈕同款半透明靛紫漸變 + 靛藍描邊 + 輝光 */
        button {
            width: 100%; height: 40px;
            border: 1px solid var(--border-accent);
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.2));
            color: var(--text-main);
            font: 500 14px inherit;
            letter-spacing: 0.3px;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transition: all 0.18s ease;
        }
        button:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.3));
            box-shadow: 0 6px 18px rgba(99, 102, 241, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
        }
        button:active { transform: translateY(1px); filter: brightness(0.92); }
        button:disabled { opacity: .6; cursor: wait; }
        #error { min-height: 21px; margin: 0 0 12px; color: #ff6b6b; text-align: center; }
        /* 註冊入口鏈接（登錄按鈕下方，與站內鏈接同款靛藍配色） */
        .alt-link { margin: 14px 0 0; text-align: center; color: var(--text-secondary); }
        .alt-link a { color: #818cf8; text-decoration: none; transition: color .15s; }
        .alt-link a:hover { color: #c7d2fe; }
        /* 底部版權行（登錄頁無兩側點串，居中顯示；鏈接配色與首頁同款靛藍） */
        .site-footer { width: 100%; min-width: 0; display: flex; justify-content: center; text-align: center; color: var(--text-muted); font-size: 12.5px; padding: 2px 0 0; margin-bottom: 40px; user-select: none; }
        .site-footer a { color: #818cf8; text-decoration: none; transition: color .15s; }
        .site-footer .footer-tvadd { font-weight: 600; }
        .site-footer a:hover { color: #c7d2fe; }
        /* 匹克量化：中文字號縮小到與英文視覺等大 */
        .site-footer .footer-cn { font-size: 1em; }
        .site-footer .footer-domain { font-size: 1em; }
    
