:root { --space-ink:#060914; --space-line:#b7c9ff20; --space-muted:#99a6c2; }
body.public-open { overflow:hidden; }
#public-loading { display:none; }
body.public-pending #public-loading { display:grid; place-items:center; position:fixed; inset:0; z-index:10000; background:#060914; color:#cbdcff; font:italic 700 28px Arial,sans-serif; letter-spacing:-1px; }
.public-pending .main,.public-pending .navbar { visibility:hidden; }
#dream-portal[hidden] { display:none; }
#dream-portal { position:fixed; inset:0; z-index:8999; overflow:auto; overflow-x:hidden; color:#eef2ff; background:var(--space-ink); font-family:Inter,"Microsoft YaHei",sans-serif; scroll-behavior:smooth; }
.space-surface { background-image:radial-gradient(ellipse at 76% 25%,#2926602e,transparent 50%),radial-gradient(ellipse at 4% 80%,#122f452e,transparent 48%); }
.space-brand { display:inline-flex; align-items:center; gap:10px; color:#f1f5ff; text-decoration:none; font:italic 800 24px Arial,sans-serif; letter-spacing:-.9px; }
.space-brand svg { width:34px; height:34px; color:#93d5ff; }
.space-header { position:sticky; top:0; z-index:5; height:88px; padding:0 clamp(24px,5vw,96px); display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--space-line); background:#060914c9; backdrop-filter:blur(18px); }
.space-nav { display:flex; gap:36px; }
.space-nav a { color:#b4bfd6; font-size:13px; text-decoration:none; }
.space-nav a:hover { color:white; }
.space-button { display:inline-flex; align-items:center; justify-content:center; gap:22px; min-height:48px; padding:0 24px; border:1px solid #ffffff26; border-radius:999px; color:#f7f9ff; background:linear-gradient(115deg,#287abf,#6753d6); font:600 14px "Microsoft YaHei",sans-serif; cursor:pointer; text-decoration:none; box-shadow:0 5px 32px #6660f21c; transition:transform .2s,filter .2s; }
.space-button:hover { transform:translateY(-2px); filter:brightness(1.15); }
.space-button b { font-size:20px; font-weight:400; }
.space-header .space-button { min-height:42px; padding:0 20px; font-size:12px; background:#c5d6ff0a; }
.space-header .space-button b { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,#68dfff,#8d74f8); color:#061126; font-size:17px; }
.space-hero { position:relative; min-height:calc(100svh - 88px); max-width:1680px; margin:auto; padding:clamp(84px,11vh,150px) clamp(24px,5vw,96px) 82px; display:flex; align-items:center; overflow:hidden; }
.space-hero-copy { position:relative; z-index:2; width:56%; pointer-events:none; }
.space-hero-copy a,.space-hero-copy button { pointer-events:auto; }
.space-eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 30px; font-size:10px; letter-spacing:3px; color:#9caee2; font-weight:500; }
.space-eyebrow::before { content:""; height:1px; width:30px; background:linear-gradient(90deg,#6dddf6,#9476ee); box-shadow:0 0 12px #64c8ff; }
.space-hero h1 { margin:0 0 30px; font-size:clamp(42px,5.1vw,80px); line-height:1.27; letter-spacing:-3px; font-weight:700; }
.space-hero h1 span { background:linear-gradient(105deg,#d8eaff,#97d6ff 35%,#b9a0ff 90%); background-clip:text; -webkit-background-clip:text; color:transparent; }
.space-hero-description { max-width:430px; margin:0 0 35px; color:var(--space-muted); line-height:1.95; font-size:14px; }
.space-hero-actions { display:flex; align-items:center; gap:28px; }
.space-text-link { color:#bac5e2; text-decoration:none; font-size:13px; border-bottom:1px solid #99afe744; padding:8px 0; }
.space-hero-notes { display:flex; gap:35px; border-top:1px solid var(--space-line); padding-top:24px; margin-top:58px; max-width:450px; }
.space-hero-notes span { display:block; color:#a3aec7; font-size:11px; }
.space-hero-notes b { display:block; margin-bottom:10px; color:#8bacf3; font-size:10px; letter-spacing:1px; font-weight:400; }
.space-globe-mount { position:absolute; right:-3%; top:50%; transform:translateY(-50%); width:62%; aspect-ratio:1; pointer-events:none; }
.space-globe { position:relative; width:100%; height:100%; }
.space-globe::after { content:""; position:absolute; inset:14%; border-radius:50%; box-shadow:0 0 100px #3578d710,inset 0 0 65px #2436a60a; }
.space-globe canvas { display:block; width:100%; height:100%; }
.space-coordinate { position:absolute; right:9%; bottom:10%; display:flex; gap:12px; align-items:center; font:9px monospace; color:#7e96c1; letter-spacing:2px; }
.space-coordinate::before { content:""; width:5px; height:5px; background:#7cddff; box-shadow:0 0 10px #75d6ff; border-radius:50%; }
.space-scroll { position:absolute; bottom:30px; left:clamp(24px,5vw,96px); color:#66738e; font-size:9px; letter-spacing:3px; }
.space-section { position:relative; max-width:1440px; margin:auto; padding:96px clamp(24px,5vw,80px); border-top:1px solid var(--space-line); scroll-margin-top:86px; }
.space-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:42px; }
.space-section h2 { font-size:clamp(28px,3vw,42px); font-weight:500; line-height:1.4; margin:0; letter-spacing:-1px; }
.space-section-head p { color:var(--space-muted); font-size:13px; line-height:1.9; margin:0; max-width:320px; }
.space-capabilities { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.space-capability { position:relative; min-height:235px; padding:30px; border:1px solid var(--space-line); border-radius:18px; background:linear-gradient(145deg,#101b3080,#0c102080); }
.space-capability::before { content:""; display:block; height:2px; width:38px; margin-bottom:32px; background:linear-gradient(90deg,#6ed8ff,#ad86ff); }
.space-capability small { position:absolute; right:25px; top:29px; font:9px monospace; letter-spacing:2px; color:#85a1cc; }
.space-capability h3 { margin:0 0 13px; color:#e7ecfa; font-size:18px; font-weight:500; }
.space-capability p { color:#8e9bb6; font-size:12px; line-height:1.9; margin:0; }
.space-coming { margin-top:22px; color:#71809c; font-size:11px; }
.space-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:38px; }
.space-step { border-top:1px solid #5266884a; padding-top:25px; }
.space-step span { font:12px monospace; color:#8d90e4; }
.space-step h3 { margin:22px 0 12px; color:#e6eafa; font-size:20px; font-weight:500; }
.space-step p { color:var(--space-muted); font-size:12px; line-height:1.9; }
.space-final { text-align:center; padding-block:80px 100px; background:radial-gradient(ellipse at 50% 100%,#594aad20,transparent 70%); }
.space-final h2 { margin-bottom:30px; }
.space-footer { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:25px clamp(24px,5vw,96px); border-top:1px solid var(--space-line); color:#68768f; font-size:10px; }
.space-footer .space-brand { font-size:17px; }
#dream-portal a:focus-visible,#dream-portal button:focus-visible,.space-auth-nav button:focus-visible { outline:2px solid #8bcfff; outline-offset:5px; }
/* Authentication uses the same scene without changing the workspace. */
body.public-open .auth-overlay { background:radial-gradient(ellipse at 25% 45%,#17244280,transparent 58%),#060914; color:#ecf1ff; }
body.public-open .auth-overlay.active { display:flex; padding:90px 0 35px; align-items:center; }
.space-auth-nav { position:absolute; top:0; left:0; right:0; min-height:84px; padding:22px clamp(24px,5vw,96px); display:flex; align-items:center; justify-content:space-between; z-index:2; }
.space-auth-nav button { border:0; color:#a6b5d3; background:transparent; font:12px inherit; cursor:pointer; padding:10px; }
body.public-open .auth-split-layout { position:relative; flex-direction:row; max-width:1200px; min-height:630px; margin:20px 40px; align-items:center; gap:40px; }
body.public-open .auth-brand-side { position:relative; background:none; border-radius:0; min-height:650px; min-width:0; padding:0; overflow:visible; }
body.public-open .auth-brand-side::after,body.public-open .auth-brand-logo,body.public-open .auth-brand-decoration { display:none; }
body.public-open .auth-brand-content { position:absolute; left:30px; right:20px; bottom:30px; }
body.public-open .auth-brand-content .auth-brand-title { display:block; font-size:32px; margin-bottom:14px; }
body.public-open .auth-brand-subtitle { font-size:15px; color:#c5d4f4; font-weight:400; }
body.public-open .auth-brand-desc { font-size:12px; color:#7e90b0; max-width:370px; }
.space-auth-globe { position:absolute; top:-65px; left:50%; width:min(700px,110%); transform:translateX(-50%); aspect-ratio:1; pointer-events:none; }
.space-auth-globe .space-coordinate { display:none; }
body.public-open .auth-form-side { flex:0 0 420px; position:relative; border:1px solid #c2d4ff26; border-radius:24px; padding:38px 32px; background:linear-gradient(145deg,#172137b3,#0c1223d9); box-shadow:0 30px 100px #00000035,inset 0 1px 0 #ffffff09; backdrop-filter:blur(22px); }
body.public-open .auth-form-side::before { content:""; position:absolute; height:1px; left:20%; right:20%; top:-1px; background:linear-gradient(90deg,transparent,#8ca8ed99,transparent); }
body.public-open .auth-form-card { padding:0; }
body.public-open .auth-form-title { color:#edf3ff; font-size:27px; font-weight:500; margin-bottom:10px; }
body.public-open .auth-form-subtitle { color:#7c8daa; font-size:12px; }
body.public-open .auth-form-header { margin-bottom:32px; }
body.public-open .auth-form-tabs { background:none; padding:0; margin-bottom:20px; justify-content:flex-start; border-bottom:1px solid #91a8dc22; border-radius:0; }
body.public-open .auth-tab.active { flex:0 0 auto; color:#b8d4ff; font-size:12px; font-weight:400; background:none; box-shadow:none; border-bottom:2px solid #84a4ed; border-radius:0; padding:0 2px 12px; cursor:default; }
body.public-open .auth-field-new { min-height:48px; font-size:13px; color:#e8f0ff; background:#070d1b85; border:1px solid #9cb1de2b; border-radius:10px; }
body.public-open .auth-field-new::placeholder { color:#71809a; }
body.public-open .auth-field-new:focus { border-color:#799feb; box-shadow:0 0 0 3px #6d92e312; }
body.public-open .auth-field-new:-webkit-autofill { -webkit-text-fill-color:#e8f0ff; box-shadow:0 0 0 1000px #121d32 inset; caret-color:#dce9ff; }
body.public-open .auth-extras,body.public-open .auth-extras label { color:#8a9ab6; font-size:12px; }
body.public-open .auth-btn-new { min-height:48px; font-size:14px; background:linear-gradient(110deg,#278dbb,#7770db); box-shadow:0 7px 30px #6662cf20; }
body.public-open .auth-switch-row { font-size:12px; color:#8291ac; margin-top:24px; line-height:1.8; }
body.public-open .auth-switch-row a,body.public-open .auth-extras a { color:#8ab8f4; }
body.public-open .register-agree { flex-wrap:wrap; gap:12px; }
body.public-open .register-agree label { color:#8b9bb7 !important; font-size:11px !important; }
body.public-open .register-agree a { color:#8ab8f4 !important; font-size:11px; }
body.public-open .auth-msg.error { color:#ffb4bc; background:#e44d6a15; }
body.public-open .auth-msg.success { color:#96e2d0; background:#34be9b12; }
body.public-open .auth-pw-toggle { font-size:0; width:32px; height:32px; display:grid; place-items:center; color:#8c9fbd; }
body.public-open .auth-pw-toggle::before { content:""; width:17px; height:11px; border:1.4px solid currentColor; border-radius:75% 15%; transform:rotate(45deg); }
body.public-open .auth-pw-toggle::after { content:""; position:absolute; width:4px; height:4px; background:currentColor; border-radius:50%; }
body.public-open .auth-pw-wrap:has(input[type=text]) .auth-pw-toggle { color:#a9d8ff; }
.space-input-label { display:block; font-size:11px; color:#a4b2cb; margin-bottom:8px; }
@media(max-width:1000px) { .space-nav { gap:22px; } .space-hero h1 { font-size:52px; } .space-hero-copy { width:60%; } .space-globe-mount { right:-17%; width:78%; opacity:.8; } body.public-open .auth-split-layout { gap:10px; margin-inline:25px; } body.public-open .auth-form-side { flex-basis:380px; padding:30px; } .space-auth-globe { top:30px; width:110%; } }
@media(max-width:700px) {
 .space-header { height:72px; padding-inline:22px; } .space-header .space-brand { font-size:20px; gap:7px; } .space-brand svg { width:28px; height:28px; } .space-nav { display:none; } .space-header .space-button { min-height:38px; padding:0 12px; gap:10px; font-size:11px; }
 .space-hero { display:block; min-height:0; padding:380px 26px 75px; } .space-hero-copy { width:100%; } .space-hero h1 { font-size:43px; letter-spacing:-1.5px; margin-bottom:23px; } .space-hero-description { font-size:12px; margin-bottom:28px; } .space-eyebrow { font-size:8px; letter-spacing:2px; margin-bottom:22px; }
 .space-globe-mount { top:-8px; left:50%; right:auto; transform:translateX(-50%); width:430px; max-width:120vw; opacity:1; } .space-coordinate { font-size:7px; right:15%; bottom:11%; letter-spacing:1px; } .space-hero-notes { margin-top:38px; gap:26px; padding-top:20px; } .space-hero-notes span { font-size:10px; } .space-scroll { display:none; }
 .space-section { padding:58px 26px; scroll-margin-top:70px; } .space-section-head { display:block; margin-bottom:28px; } .space-section-head p { margin-top:18px; font-size:12px; } .space-capabilities,.space-steps { grid-template-columns:1fr; gap:16px; } .space-capability { min-height:180px; padding:26px; } .space-capability::before { margin-bottom:24px; } .space-steps { gap:28px; } .space-step h3 { margin:15px 0 10px; } .space-footer { flex-wrap:wrap; padding:24px 26px; line-height:1.8; } .space-final { padding-block:64px; }
 .space-auth-nav { min-height:72px; padding:18px 22px; } .space-auth-nav .space-brand { font-size:20px; }
 body.public-open .auth-overlay.active { padding:80px 0 30px; align-items:flex-start; } body.public-open .auth-split-layout { display:flex; flex-direction:column; min-height:0; gap:20px; width:100%; margin:0 22px; } body.public-open .auth-brand-side { width:100%; min-height:180px; flex:none; } .space-auth-globe { width:260px; left:50%; top:-63px; right:auto; transform:translateX(-50%); } body.public-open .auth-brand-content { display:none; } body.public-open .auth-form-side { width:100%; max-width:430px; flex:auto; padding:28px 25px; border-radius:20px; } body.public-open .auth-form-title { font-size:25px; } body.public-open .auth-form-header { margin-bottom:25px; }
}
@media(prefers-reduced-motion:reduce) { #dream-portal { scroll-behavior:auto; } .space-button { transition:none; } }
