:root{color-scheme:dark;--bg:#080d14;--panel:#101823;--line:#22313f;--muted:#8b9bab;--text:#e5edf1;--mint:#90dfce;--violet:#a99ce9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.7 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.4;letter-spacing:.02em;margin-bottom:10px;font-weight:580}h2{font-size:16px;font-weight:550;margin-bottom:6px}h3{font-size:14px}p{color:var(--muted)}small{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.22em;color:var(--mint);margin-bottom:12px}.brand-mark{color:var(--mint);font-size:35px;line-height:1}.brand{display:flex;align-items:center;gap:12px;font-size:19px;letter-spacing:.1em}.brand span:not(.brand-mark){display:block;font-size:10px;letter-spacing:.12em;color:var(--muted);margin-top:3px}aside{position:fixed;inset:0 auto 0 0;width:224px;padding:32px 22px;background:#0d141e;border-right:1px solid #1a2835;display:flex;flex-direction:column;z-index:10}.nav-label{font-size:9px;letter-spacing:.18em;margin:55px 12px 16px;color:#63768a}nav{display:grid;gap:7px}nav button{border:1px solid transparent;background:none;text-align:left;border-radius:9px;padding:12px 14px;font-size:13px;color:#91a1b2}nav button span{font-size:20px;display:inline-block;width:30px;vertical-align:middle}nav button.active{background:#152c30;border-color:#29464a;color:#b5eee2}nav button:hover{background:#18242f}.aside-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;font-size:10px;display:flex;gap:7px;align-items:center;color:var(--muted)}.aside-foot button{margin-left:auto;font-size:11px;border:0;background:none;color:#a7bac9}.live-dot{display:inline-block;width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 9px #79dcc5}main{margin-left:224px;padding:0 36px;max-width:1900px}header{height:99px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b2835;margin-bottom:32px}.breadcrumb{font-size:11px;color:#a2adba}.header-right{display:flex;align-items:center;gap:16px;font-size:11px;color:var(--muted)}.avatar{display:grid;place-items:center;background:linear-gradient(140deg,#2f5356,#28263b);width:35px;height:35px;border-radius:50%;font-size:13px;color:#cbe2df}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p:last-child{font-size:12px;margin:0}.date-pill{border:1px solid #293847;border-radius:24px;padding:8px 14px;font-size:11px;color:#a6b6c4;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(130deg,#14212b,#101720)}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:28px;font-weight:500;margin:8px 0;color:#dceeea;line-height:1.25}.stat small{font-size:10px}.panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:22px;margin-bottom:22px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.panel-head p{font-size:11px;margin-bottom:0}.tag{font-size:9px;letter-spacing:.13em;color:var(--mint);background:#18312f;border-radius:5px;padding:3px 7px}.overview-grid{display:grid;grid-template-columns:1.9fr 1fr;gap:22px}.memory-preview{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#19233a,#101823 70%)}.memory-preview canvas{width:100%;height:252px;display:block}.canvas-caption{font-size:9px;letter-spacing:.1em;color:#8296ad;text-align:center}.text-btn{border:0;background:none;color:var(--mint);font-size:10px;white-space:nowrap}.info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #1f2c38;padding:12px 0;font-size:12px}.info-row:last-child{border-bottom:0}.info-row span:first-child{color:var(--muted)}.info-row span:last-child{text-align:right;overflow-wrap:anywhere}.bottom-grid{display:grid;grid-template-columns:1.9fr 1fr;gap:22px}.notice{border:1px solid #715b36;background:#251f16;color:#d7c59d;border-radius:8px;padding:13px 17px;margin-bottom:22px;font-size:12px}.muted{color:var(--muted);font-size:12px}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:12px}.reply-mini{padding:14px 0;border-bottom:1px solid #202e3b}.reply-meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px;margin-bottom:8px;flex-wrap:wrap}.status{font-size:10px;padding:2px 7px;border-radius:4px;background:#25323d;color:#b6c6d3}.status.confirmed{background:#18382f;color:#99dcc4}.status.expired,.status.failed,.status.misrouted{background:#3b242b;color:#e8a6ad}.status.delivery_uncertain{background:#3c321f;color:#e1c990}.reply-mini p{font-size:12px;margin:0;color:#c9d5df;white-space:pre-wrap;overflow-wrap:anywhere}.toolbar{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}input,select{background:#101a25;color:var(--text);border:1px solid #293c4c;border-radius:8px;padding:10px 13px;font-size:12px;min-width:0}input:focus,select:focus{border-color:var(--mint)}.toolbar input{flex:1;min-width:180px}.toolbar select{max-width:220px}.memory-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr);gap:20px}.graph-panel{padding:0;overflow:hidden;position:relative;background:radial-gradient(ellipse at 50% 45%,#131d32,#0a111d 75%)}#memoryCanvas{display:block;width:100%;height:470px;touch-action:pan-y}.legend{padding:8px 18px;display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#a5b2c5}.legend i{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:5px}.graph-note{font-size:10px;margin:8px 18px 17px;color:#76889d}.detail h2{font-size:18px;margin:12px 0}.detail .memory-body{color:#d4dfe7;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.detail pre{font-size:10px;max-height:230px;overflow:auto}.memory-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.memory-card{border:1px solid var(--line);border-radius:10px;background:#101b27;padding:16px;text-align:left;display:block;min-width:0}.memory-card:hover{border-color:#699a98}.memory-card p{color:#c4d1dc;font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 0}.memory-card small{font-size:10px}.persona-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px}pre{white-space:pre-wrap;word-break:break-word;color:#c3cfd9;font:12px/1.95 system-ui,sans-serif;max-height:70vh;overflow:auto}.reply-card{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:22px;margin-bottom:14px}.bubble{background:#172534;padding:12px 15px;border-radius:9px;margin-top:9px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.bubble.answer{background:#17302d;color:#c3e1d8}.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.photo-card{padding:0;border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:hidden;text-align:left}.photo-card img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;transition:transform .3s}.photo-card:hover img{transform:scale(1.025)}.photo-card div{padding:13px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-card small{display:block;font-size:9px}.chip{border:1px solid var(--line);border-radius:30px;background:transparent;padding:7px 18px;font-size:11px}.chip.active{border-color:#4f837c;background:#19342f;color:#b2e5d6}#galleryUpdate{margin-left:auto;font-size:10px;color:var(--muted);align-self:center}dialog{background:#0e1721;border:1px solid var(--line);border-radius:12px;color:var(--text);max-width:min(90vw,750px);padding:18px}dialog::backdrop{background:#03070dd9}dialog img{max-width:100%;max-height:80vh;display:block;margin:auto}dialog button{position:absolute;right:24px;top:24px;border:0;background:#15212bd9;border-radius:50%;width:32px;height:32px;font-size:22px}dialog p{margin:10px 0 0;font-size:11px}footer{display:flex;justify-content:space-between;color:#566a7b;font-size:9px;letter-spacing:.12em;border-top:1px solid #1c2936;padding:20px 0 25px;margin-top:30px}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 50%,#182538,#080e16 65%)}.login-box{z-index:2;width:min(440px,90vw);border:1px solid #34455680;background:#101925e8;backdrop-filter:blur(12px);border-radius:20px;padding:42px;box-shadow:0 25px 100px #0005}.login-box .eyebrow{margin-top:25px}.login-box h1{font-size:25px}.login-box p{font-size:12px}.login-box label{display:block;font-size:11px;color:#b1c4d0;margin:28px 0 8px}.login-box input{width:100%}.primary{border:0;background:#a1dfcf;color:#102a26;border-radius:8px;padding:12px 20px;width:100%;margin:16px 0;font-size:12px}.login-orbit{position:absolute;width:650px;height:650px;right:5%;border:1px solid #506b9155;border-radius:50%;box-shadow:0 0 0 70px #506b9110,0 0 0 140px #506b9108}.login-box small{font-size:10px}#loginError{color:#eaa2a2}.page{animation:appear .25s ease}@keyframes appear{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:none}}@media(min-width:1600px){main{padding:0 55px}.memory-preview canvas{height:300px}}@media(max-width:1100px){aside{width:190px;padding:28px 15px}main{margin-left:190px;padding:0 22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.bottom-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-layout{grid-template-columns:1fr}.detail{max-height:450px;overflow:auto}.memory-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){aside{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:16px}.brand-mark{font-size:25px}.nav-label,.aside-foot{display:none}nav{display:flex;overflow:auto;margin-top:16px;gap:4px}nav button{white-space:nowrap;font-size:11px;padding:8px}nav button span{width:20px;font-size:16px}main{margin:0;padding:0 16px}header{height:74px;margin-bottom:25px}.header-right{font-size:9px;gap:7px}h1{font-size:26px}.page-heading{align-items:flex-start}.date-pill{font-size:9px;padding:5px 8px}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:23px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.persona-grid{grid-template-columns:1fr}.memory-list{grid-template-columns:1fr}#memoryCanvas{height:380px}.panel{padding:17px}.graph-panel{padding:0}footer{font-size:8px;letter-spacing:0;gap:10px}.login-box{padding:28px}.page-heading .eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

#entryLayer{color-scheme:dark;--cyan:#90e5f0;--amber:#e5b885;--dim:#607787;--line:#34515c55}#entryLayer *{box-sizing:border-box}#entryLayer{margin:0;background:#050b12;color:#c3d7df;font:12px/1.6 system-ui,"Microsoft YaHei",sans-serif;overflow:hidden}#entryLayer button{font:inherit;color:inherit;cursor:pointer}#entryLayer button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}#entryLayer .scene{height:100svh;min-height:620px;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 46%,#10243066,transparent 55%)}#entryLayer .grid{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#739ba309 1px,transparent 1px),linear-gradient(90deg,#739ba309 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse,black,transparent 85%)}#entryLayer header{position:absolute;top:30px;left:36px;right:36px;display:flex;justify-content:space-between;align-items:flex-start}#entryLayer .brand{font-size:21px;letter-spacing:.25em;font-weight:500}#entryLayer .brand small{font-size:8px;letter-spacing:.25em;color:#607f90;display:block;margin-top:5px}#entryLayer .top-right{text-align:right;color:#718c9c;font-size:9px;letter-spacing:.14em}#entryLayer .top-right b{color:var(--amber);font-weight:400;display:block;margin-bottom:5px}#entryLayer .top-rule{position:absolute;top:99px;left:36px;right:36px;height:1px;background:linear-gradient(90deg,#6d9cab55,transparent 45%,#6d9cab33)}#entryLayer .mode-switch{position:absolute;top:121px;left:50%;transform:translateX(-50%);display:flex;border:1px solid #39566066;padding:4px;background:#0a172080;border-radius:4px;z-index:5;white-space:nowrap}#entryLayer .mode-switch button{padding:7px 20px;border:0;background:transparent;color:#617d8d;font-size:11px;letter-spacing:.12em}#entryLayer .mode-switch .active{color:#b4eff5;background:#18333e;border:1px solid #4a7b8544}#entryLayer .canvas-wrap{position:absolute;width:min(780px,76vw,89vh);aspect-ratio:1;top:48%;left:50%;transform:translate(-50%,-50%);pointer-events:none}#entryLayer canvas{width:100%;height:100%;display:block}#entryLayer .core-caption{position:absolute;left:50%;top:calc(48% + min(28vh,220px));transform:translateX(-50%);width:65%;text-align:center;pointer-events:none}#entryLayer .core-caption .micro{font-size:8px;letter-spacing:.32em;color:#7299a8}#entryLayer .core-caption h1{font-size:22px;letter-spacing:.18em;font-weight:400;margin:8px 0;color:#d2eaf0}#entryLayer .core-caption p{font-size:10px;color:#678997;letter-spacing:.08em;margin:0}#entryLayer .rail{position:absolute;width:210px;top:31%;font-size:10px;transition:opacity .4s}#entryLayer .left{left:40px}#entryLayer .right{right:40px}#entryLayer .rail h2{font-size:9px;letter-spacing:.2em;font-weight:400;color:#90b4c2;border-bottom:1px solid var(--line);padding-bottom:14px;margin:0 0 18px}#entryLayer .rail h2:before{content:'';display:inline-block;width:4px;height:4px;background:var(--amber);margin-right:10px;box-shadow:0 0 10px #edba8377}#entryLayer .kv{display:flex;justify-content:space-between;padding:8px 0;color:#54717f;gap:10px}#entryLayer .kv span:last-child{color:#91b5c5}#entryLayer .bar{height:2px;background:#15303b;margin-top:6px;overflow:hidden}#entryLayer .bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#38697d,#a1e8ed);transition:width .15s}#entryLayer .mini-wave{height:50px;width:100%;margin-top:25px;background:repeating-linear-gradient(90deg,transparent 0,transparent 9px,#4a809833 10px,transparent 11px);clip-path:polygon(0% 50%,5% 35%,10% 55%,15% 20%,20% 50%,25% 60%,30% 15%,35% 80%,40% 45%,45% 30%,50% 60%,55% 40%,60% 85%,65% 10%,70% 50%,75% 60%,80% 25%,85% 80%,90% 30%,95% 60%,100% 50%)}#entryLayer .log{color:#536f7d;font:9px/2.4 ui-monospace,monospace;min-height:108px;white-space:pre-line}#entryLayer .log .lit{color:#a2cbd8}#entryLayer .bottom-console{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);text-align:center;z-index:6;width:min(550px,90vw)}#entryLayer .actions{display:flex;justify-content:center;gap:10px}#entryLayer .actions button{border:1px solid #436b7955;background:#10273477;padding:10px 21px;font-size:11px;border-radius:3px;letter-spacing:.1em}#entryLayer .actions .main-btn{background:#a3e1e7;color:#08222b;border-color:#b8edf4}#entryLayer .actions button:disabled{opacity:.4;cursor:wait}#entryLayer .bottom-console p{color:#587582;font-size:9px;margin:12px 0 0}#entryLayer .stage{display:inline-flex;align-items:center;gap:10px;font-size:9px;color:#a4d6e0;margin-bottom:16px;letter-spacing:.15em}#entryLayer .stage:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--amber);box-shadow:0 0 10px #d6ac73}#entryLayer footer{position:absolute;bottom:20px;left:36px;right:36px;display:flex;justify-content:space-between;color:#3f5c6d;font:8px/1.7 ui-monospace,monospace;letter-spacing:.1em}#entryLayer .corners{position:absolute;inset:111px 22px 50px;pointer-events:none;border:1px solid #597c8a14;clip-path:polygon(0 0,25px 0,25px 1px,calc(100% - 25px) 1px,calc(100% - 25px) 0,100% 0,100% 25px,calc(100% - 1px) 25px,calc(100% - 1px) calc(100% - 25px),100% calc(100% - 25px),100% 100%,calc(100% - 25px) 100%,calc(100% - 25px) calc(100% - 1px),25px calc(100% - 1px),25px 100%,0 100%,0 calc(100% - 25px),1px calc(100% - 25px),1px 25px,0 25px)}#entryLayer #hud{position:absolute;inset:180px 24% 190px;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .7s,transform .7s;transform:translateY(20px)}#entryLayer #hud.visible{opacity:1;visibility:visible;transform:translateY(0)}#entryLayer .hud-card{border:1px solid #4d798b55;background:#0c1f2be8;padding:20px;box-shadow:0 12px 60px #0005}#entryLayer .hud-card small{font-size:8px;color:#6f98ab;letter-spacing:.18em}#entryLayer .hud-card h3{font-size:16px;font-weight:400;color:#c1e4ed;margin:8px 0}#entryLayer .hud-card p{font-size:10px;color:#65899d;margin:0}#entryLayer.entered .core-caption{opacity:0}#entryLayer .entered .rail{opacity:.4}#entryLayer .motion{position:absolute;top:121px;right:40px;z-index:6;background:none;border:0;font-size:9px;color:#658794}@media(max-width:1100px){#entryLayer .rail{width:150px}#entryLayer .left{left:25px}#entryLayer .right{right:25px}#entryLayer .canvas-wrap{width:min(720px,79vw,84vh)}#entryLayer .rail .kv{font-size:9px}#entryLayer .core-caption h1{font-size:19px}#entryLayer .motion{top:163px;right:25px}}@media(max-width:740px){#entryLayer{overflow:auto}#entryLayer .scene{min-height:720px;height:100svh}#entryLayer header{top:22px;left:22px;right:22px}#entryLayer .brand{font-size:17px}#entryLayer .top-right{font-size:7px}#entryLayer .top-rule{left:22px;right:22px;top:86px}#entryLayer .mode-switch{top:108px}#entryLayer .mode-switch button{padding:7px 16px}#entryLayer .rail{top:auto;bottom:178px;width:135px}#entryLayer .rail h2{font-size:8px;margin-bottom:8px;padding-bottom:7px}#entryLayer .rail .kv{padding:3px 0}#entryLayer .left{left:22px}#entryLayer .right{right:22px}#entryLayer .mini-wave,#entryLayer .right .kv,#entryLayer .rail .extra{display:none}#entryLayer .log{font-size:8px;line-height:1.8;min-height:74px}#entryLayer .canvas-wrap{top:37%;width:min(590px,128vw)}#entryLayer .core-caption{top:calc(37% + 115px);width:94%}#entryLayer .core-caption h1{font-size:18px}#entryLayer .core-caption .micro{font-size:7px}#entryLayer .core-caption p{font-size:9px}#entryLayer .bottom-console{bottom:68px}#entryLayer .bottom-console p{font-size:8px}#entryLayer .stage{margin-bottom:10px;font-size:8px}#entryLayer footer{left:22px;right:22px;font-size:7px}#entryLayer footer span:last-child{max-width:145px;text-align:right}#entryLayer .motion{top:155px;right:22px;font-size:8px}#entryLayer #hud{inset:190px 25px 300px;gap:9px}#entryLayer .hud-card{padding:14px}#entryLayer .hud-card h3{font-size:14px}#entryLayer .hud-card p{font-size:9px}#entryLayer .corners{inset:95px 12px 45px}}#entryLayer{color-scheme:light;--cyan:#226d85;--amber:#ae7241;--dim:#6f8791;--line:#809ca83b}#entryLayer{background:#f4f2eb;color:#244b5c}#entryLayer .scene{background:radial-gradient(ellipse at 50% 44%,#e0eef080,transparent 56%),linear-gradient(145deg,#faf9f3,#eff3f2)}#entryLayer .grid{background-image:linear-gradient(#477a8b0b 1px,transparent 1px),linear-gradient(90deg,#477a8b0b 1px,transparent 1px)}#entryLayer .brand{color:#244757}#entryLayer .brand small{color:#7a8e95}#entryLayer .top-right{color:#819199}#entryLayer .top-right b{color:#9e6c46}#entryLayer .top-rule{background:linear-gradient(90deg,#64849066,transparent 45%,#64849044)}#entryLayer .mode-switch{background:#ffffff9c;border-color:#9eb5bc70;box-shadow:0 4px 20px #587f8610}#entryLayer .mode-switch button{color:#718891}#entryLayer .mode-switch .active{color:#285f73;background:#e1edf0;border-color:#90aeb866}#entryLayer .core-caption h1{color:#234e60}#entryLayer .core-caption .micro{color:#6c8c99}#entryLayer .core-caption p{color:#78909b}#entryLayer .rail h2{color:#487181}#entryLayer .kv{color:#80939a}#entryLayer .kv span:last-child{color:#365f70}#entryLayer .bar{background:#c8d9dd}#entryLayer .bar i{background:linear-gradient(90deg,#7ea6b3,#326e84)}#entryLayer .log{color:#6b8995}#entryLayer .mini-wave{background:repeating-linear-gradient(90deg,transparent 0,transparent 9px,#3c788d66 10px,transparent 11px)}#entryLayer .actions button{background:#ffffff9c;color:#557781;border-color:#9db6bf99}#entryLayer .actions .main-btn{color:#f4fafb;background:#326c80;border-color:#326c80;box-shadow:0 6px 20px #2d6e7f1c}#entryLayer .bottom-console p{color:#7c929a}#entryLayer .stage{color:#547584}#entryLayer .motion{color:#6a8793}#entryLayer .corners{border-color:#64849044}#entryLayer footer{color:#7c929b}#entryLayer .hud-card{border-color:#91afb972;background:#f8fcfbe8;box-shadow:0 15px 40px #63808d16}#entryLayer .hud-card small{color:#8298a2}#entryLayer .hud-card h3{color:#365d6e}#entryLayer .hud-card p{color:#6d8795}#entryLayer .actions{flex-wrap:wrap}#entryLayer .sequence-duration{font-size:9px;color:#9a7b5f;letter-spacing:.08em;display:block;margin-top:6px}#entryLayer #skip{font-size:10px;padding:10px 14px}@media(max-width:740px){#entryLayer .top-right{max-width:138px}#entryLayer .actions{gap:7px}#entryLayer .actions button{padding:9px 12px;font-size:10px}#entryLayer .bottom-console{bottom:64px}#entryLayer .core-caption h1{font-size:17px}}

#entryLayer{position:fixed;inset:0;z-index:1000;overflow:auto;transition:opacity .8s ease,visibility .8s ease;background:#f4f2eb}#entryLayer.finished{opacity:0;visibility:hidden;pointer-events:none}#entryLayer[hidden]{display:none}#entryLayer.auth .canvas-wrap{opacity:.19;transition:opacity .6s}#entryLayer.auth .core-caption{opacity:0}#authPanel{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);z-index:10;width:min(430px,90vw)}#entryLayer .login-box{width:100%;padding:28px 34px;border:1px solid #8eabb96b;background:#f9fcf8f2;box-shadow:0 25px 80px #395f6e15;border-radius:8px;backdrop-filter:blur(12px);color:#355e6e}#entryLayer .login-box h1{font-size:22px;color:#355e6e}#entryLayer .login-box .eyebrow{color:#608d9c;margin-top:15px}#entryLayer .login-box .brand-mark{color:#598594}#entryLayer .login-box p,#entryLayer .login-box small{color:#7f939b}#entryLayer .login-box label{color:#557785;margin-top:18px}#entryLayer .login-box input{background:#edf4f4;color:#285367;border-color:#a9bfc8}#entryLayer .login-box .primary{background:#376e82;color:#f1fafb}#entryLayer .login-box #loginError{color:#ae5547}#entryLayer .scene{min-height:760px}#entryLayer .boot-data-note{color:#678493}#entryLayer .motion{top:160px}#entryLayer .core-caption h1{margin-bottom:8px}#entryLayer #hud p{overflow-wrap:anywhere}#entryLayer .top-right b{font-size:9px}#entryLayer .bottom-console{bottom:58px}#entryLayer #verify{display:none}@media(max-width:740px){#entryLayer .scene{min-height:760px}#entryLayer #authPanel{top:45%;width:88vw}#entryLayer .login-box{padding:22px 26px}#entryLayer .rail{bottom:170px}#entryLayer.auth .rail{opacity:.2}#entryLayer .bottom-console{bottom:59px}#entryLayer .motion{top:155px}}@media(prefers-reduced-motion:reduce){#entryLayer,#entryLayer *{transition:none!important}}

#sourceAudioGate{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;background:#f3f5f0eb;backdrop-filter:blur(10px);color:#365c6b}#sourceAudioGate[hidden]{display:none}.source-audio-card{width:min(430px,88vw);padding:36px;background:#fcfdf8;border:1px solid #a4b9c2;border-radius:8px;text-align:center;box-shadow:0 30px 100px #33556622}.source-audio-card h1{font-size:25px;margin:18px 0}.source-audio-card p{color:#78939c;font-size:12px}.source-audio-card small{display:block;color:#8298a2;font-size:9px;letter-spacing:.08em}.source-audio-card button{width:100%;padding:11px;margin:8px 0;border:1px solid #a2bdc7;border-radius:4px;color:#476d80;background:transparent;font-size:12px}.source-audio-card #sourceSoundStart{color:#f4fafb;background:#376f83;margin-top:22px}.source-audio-toggle{position:absolute;top:161px;left:40px;z-index:9;background:#ffffffb3;color:#5f8190;border:1px solid #9bb6c366;border-radius:3px;padding:4px 10px;font-size:9px}@media(max-width:740px){.source-audio-toggle{left:22px;top:155px}}

/* Reset all inherited dashboard aside/header/footer geometry on the entry surface. */
#entryLayer .rail{position:absolute;inset:auto;top:31%;height:auto;min-height:0;display:block;margin:0;padding:0;border:0;background:transparent;z-index:2;flex:none}#entryLayer .rail.left{left:40px;right:auto;width:210px}#entryLayer .rail.right{right:40px;left:auto;width:210px}#entryLayer header{height:auto;margin:0;padding:0;border:0}#entryLayer footer{margin:0;padding:0;border:0}#entryLayer .source-audio-toggle{top:33px;right:36px;left:auto;padding:7px 14px;color:#365f70;background:#f9fcf8;border-color:#9cb7c2}#entryLayer .top-right{margin-right:85px}#entryLayer .entry-navigation nav{display:grid;gap:5px;margin:0;padding:0;overflow:visible}#entryLayer .entry-navigation nav button{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid transparent;color:#83a0ad;background:transparent;font-size:10px;border-radius:4px;letter-spacing:.04em}#entryLayer .entry-navigation nav button span{flex:1;width:auto;color:#4b7181;font-size:12px}#entryLayer .entry-navigation nav button.active{background:#deebed;border-color:#a9c4cd}#entryLayer .entry-navigation nav button:hover{background:#e8f0ef}#entryLayer .entry-navigation p{font-size:9px;line-height:1.8;color:#83979f;margin-top:18px}#entryLayer #motion,#entryLayer #replay{display:none!important}#entryLayer .bottom-console .actions{justify-content:center}@media(max-width:1100px){#entryLayer .rail.left{left:25px;width:150px}#entryLayer .rail.right{right:25px;width:150px}}@media(max-width:740px){#entryLayer .rail.left{left:22px;right:22px;top:auto;bottom:145px;width:auto}#entryLayer .entry-navigation h2,#entryLayer .entry-navigation p{display:none}#entryLayer .entry-navigation nav{grid-template-columns:repeat(3,1fr);gap:4px}#entryLayer .entry-navigation nav button{padding:6px;gap:4px;font-size:8px}#entryLayer .entry-navigation nav button span{font-size:10px}#entryLayer .rail.right{display:none}#entryLayer .source-audio-toggle{top:20px;right:22px;font-size:9px}#entryLayer .top-right{display:none}#entryLayer.auth .rail.left{opacity:1}#entryLayer #authPanel{top:43%}}

#entryLayer .entry-progress{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:12px;color:#78919e;font:9px ui-monospace,monospace}#entryLayer .entry-progress-track{width:100px;height:2px;background:#c9dadd;display:block}#entryLayer #bar{height:100%;display:block;background:#54899d;width:0}#entryLayer .entry-identity{font-family:system-ui,sans-serif;font-size:9px}#entryLayer.auth .entry-progress{opacity:0}

/* Choreograph core recession before bringing the access panel forward. */
#entryLayer .canvas-wrap{transition:transform 1.25s cubic-bezier(.2,.7,.2,1),opacity 1.1s ease,filter 1.1s ease}#entryLayer.auth .canvas-wrap{transform:translate(-50%,-58%) scale(.72);opacity:.16;filter:blur(1px)}#entryLayer .core-caption{transition:opacity .6s ease,transform .9s ease}#entryLayer.auth .core-caption{opacity:0;transform:translate(-50%,16px)}#entryLayer #authPanel{opacity:0;transform:translate(-50%,calc(-50% + 28px)) scale(.975);transition:opacity .9s ease .5s,transform 1.1s cubic-bezier(.2,.75,.2,1) .4s;pointer-events:none;isolation:isolate}#entryLayer.auth-visible #authPanel{opacity:1;transform:translate(-50%,-50%) scale(1);pointer-events:auto}#entryLayer #authPanel:before,#entryLayer #authPanel:after{content:'';position:absolute;inset:-8px;border:1px solid #6d9caa55;pointer-events:none;z-index:-1;opacity:0;transition:opacity .65s ease .12s,transform .9s ease .1s}#entryLayer #authPanel:before{clip-path:polygon(0 0,28px 0,28px 1px,1px 1px,1px 28px,0 28px,0 0);transform:translate(16px,16px)}#entryLayer #authPanel:after{clip-path:polygon(100% 100%,calc(100% - 28px) 100%,calc(100% - 28px) calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) calc(100% - 28px),100% calc(100% - 28px));transform:translate(-16px,-16px)}#entryLayer.auth-visible #authPanel:before,#entryLayer.auth-visible #authPanel:after{opacity:1;transform:none}#entryLayer #authPanel .login-box{box-shadow:0 18px 60px #365b6d12;background:#f8fcf8eb}#entryLayer #authPanel .login-box>*{opacity:0;transform:translateY(8px);transition:opacity .55s ease .9s,transform .7s ease .9s}#entryLayer.auth-visible #authPanel .login-box>*{opacity:1;transform:none}#entryLayer.auth-visible #authPanel .login-box input,#entryLayer.auth-visible #authPanel .login-box button{transition-delay:1.05s}#entryLayer .entry-progress{transition:opacity .65s ease}#entryLayer .rail{transition:opacity .85s ease}#entryLayer.auth .rail.right{opacity:.55}@media(prefers-reduced-motion:reduce){#entryLayer #authPanel,#entryLayer #authPanel *,#entryLayer .canvas-wrap{transition:none!important}}

#bgmPlayer{position:fixed;right:28px;top:24px;z-index:1600;display:flex;align-items:center;gap:10px;width:335px;padding:9px 12px;color:#476d7e;background:#f7faf5ed;border:1px solid #a3bdc7a0;box-shadow:0 5px 24px #476d7e13;border-radius:7px;backdrop-filter:blur(12px)}#bgmPlay{background:#e6f0ef;color:#3b6b7d;border:1px solid #abc2cb;border-radius:4px;padding:7px 10px;font-size:11px;white-space:nowrap}.bgm-track{flex:1;min-width:0;display:grid;gap:3px}#bgmTitle{font-size:9px;letter-spacing:.05em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#bgmSeek{display:block;padding:0;width:100%;height:13px;background:transparent;accent-color:#4d8498;border:0;cursor:pointer}#bgmTime{font:9px ui-monospace,monospace;color:#78939e;white-space:nowrap}#entryLayer .top-right{visibility:hidden}#workspace header .header-right{padding-right:345px}#entryLayer .source-audio-toggle{display:none!important}@media(max-width:1100px){#workspace header .header-right{padding-right:0}#workspace header{padding-top:60px;height:145px}#bgmPlayer{right:20px;top:15px}}@media(max-width:740px){#bgmPlayer{right:14px;top:14px;width:235px;padding:7px 8px;gap:6px}#bgmTime{font-size:8px}#bgmPlay{font-size:10px;padding:5px 7px}#entryLayer .brand{font-size:14px;max-width:80px}#entryLayer .brand small{display:none}#workspace header{padding-top:10px;height:90px}#workspace header .header-right{font-size:9px}body:has(#entryLayer.finished) #bgmPlayer,body:has(#entryLayer[hidden]) #bgmPlayer{top:auto;bottom:12px}#workspace footer{padding-bottom:75px}}

#wakeScreen{position:fixed;inset:0;z-index:2000;overflow:hidden;color:#315d6f;background:radial-gradient(ellipse at 50% 48%,#dcecef88,transparent 57%),#f7f8f3;transition:opacity 1s ease,visibility 1s;isolation:isolate}#wakeScreen.departing{opacity:0;visibility:hidden;pointer-events:none}.awaiting-wake #bgmPlayer{visibility:hidden}.wake-grid{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#719ca80c 1px,transparent 1px),linear-gradient(90deg,#719ca80c 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse,black,transparent 85%)}.wake-meta{position:absolute;top:33px;left:36px;right:36px;display:flex;align-items:center;justify-content:space-between;color:#75919d;font:9px ui-monospace,monospace;letter-spacing:.16em}.wake-meta>span:first-child{font:23px system-ui,sans-serif;letter-spacing:.23em;color:#315d6f}.wake-meta small{font:8px ui-monospace,monospace;letter-spacing:.19em;margin-left:20px;color:#829da8}.wake-meta:after{content:'';position:absolute;top:66px;left:0;right:0;height:1px;background:#9fbac433}#wakeParticles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.wake-copy{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);text-align:center;width:min(320px,82vw)}.wake-copy p{font:8px ui-monospace,monospace;letter-spacing:.28em;color:#809da8;margin:0 0 14px}.wake-copy button{position:relative;display:block;margin:auto;padding:14px 29px;background:#f7f8f3bd;border:0;border-radius:0;color:#315d6f;font-size:clamp(25px,3vw,36px);font-weight:350;letter-spacing:.09em;transition:color .25s,background .25s;box-shadow:0 0 32px 17px #f4f8f1b0}.wake-copy button:before,.wake-copy button:after{content:'';position:absolute;width:12px;height:12px;border:1px solid #83a8b4;transition:transform .35s}.wake-copy button:before{left:0;top:0;border-right:0;border-bottom:0}.wake-copy button:after{right:0;bottom:0;border-left:0;border-top:0}.wake-copy button span{font-size:16px;margin-left:16px;vertical-align:middle;color:#7c9da9}.wake-copy button:hover{color:#1c4e63;background:#edf5f2ee}.wake-copy button:hover:before{transform:translate(-4px,-4px)}.wake-copy button:hover:after{transform:translate(4px,4px)}.wake-copy button:focus-visible{outline:2px solid #6294a5;outline-offset:9px}.wake-copy small{display:block;margin-top:21px;color:#829ca6;font-size:10px;letter-spacing:.12em}.wake-bottom{position:absolute;bottom:27px;left:36px;right:36px;display:flex;justify-content:space-between;color:#8fa1a8;font:8px ui-monospace,monospace;letter-spacing:.1em}.departing .wake-copy{opacity:0;transition:opacity .5s}.departing #wakeParticles{opacity:0;transition:opacity 1s}@media(max-width:740px){.wake-meta{left:22px;right:22px;top:25px;font-size:7px}.wake-meta small{display:none}.wake-meta>span:first-child{font-size:19px}.wake-bottom{left:22px;right:22px;font-size:7px;gap:12px}.wake-copy small{font-size:9px}}@media(prefers-reduced-motion:reduce){#wakeScreen,#wakeScreen *{transition:none!important}}

/* SIORA minimal startup progress */
#entryLayer .mode-switch,
#entryLayer #micro,
#entryLayer #title,
#entryLayer #subtitle,
#entryLayer #stage,
#entryLayer .entry-identity {
    display: none !important;
}
#entryLayer .entry-progress {
    gap: 16px;
    font-size: 12px;
    margin-bottom: 0;
}
#entryLayer .entry-progress-track {
    width: min(260px, 55vw);
    height: 4px;
    border-radius: 4px;
    overflow: hidden;
}
#entryLayer #bar {
    border-radius: inherit;
}


/* Hide startup footer explanations */
#entryLayer .bottom-console > p,
#entryLayer footer > span:last-child {
    display: none !important;
}

/* SIORA Observatory / light workspace */
:root{color-scheme:light;--bg:#f5f7f2;--panel:#fbfcf8;--line:#cbdcdf;--muted:#6d8791;--text:#315563;--mint:#39798a;--violet:#777fa7}
body{background:radial-gradient(ellipse at 75% 12%,#dcebed88,transparent 48%),var(--bg);color:var(--text)}
#workspace{min-height:100vh}#workspace>aside{width:234px;padding:34px 24px;background:linear-gradient(165deg,#f8faf5f5,#ecf3eff5);border-right:1px solid #cbdcdfa8;box-shadow:6px 0 40px #42798a04}#workspace>aside .brand{letter-spacing:.17em;color:#315d6f}#workspace .brand-mark{color:#6198a6}#workspace .brand span:not(.brand-mark){font-size:8px;letter-spacing:.13em}#workspace .nav-label{color:#829da5;margin-top:56px}#workspace nav{gap:9px}#workspace nav button{position:relative;color:#6b8791;padding:13px 12px;border-radius:5px;transition:background .2s,color .2s,border-color .2s}#workspace nav button span{color:#83a5ad;font-size:18px}#workspace nav button:hover{background:#e8f1ef;color:#315d6f}#workspace nav button.active{background:#deeced;border-color:#aac7cf;color:#315d6f}#workspace nav button.active:after{content:'';position:absolute;right:12px;top:50%;width:4px;height:4px;border-radius:50%;background:#558e9f}#workspace .aside-foot{border-color:var(--line);color:#7a939b}#workspace .aside-foot button{color:#537d8d}.live-dot{background:#609c91;box-shadow:0 0 9px #75b4a64a}
#workspace main{margin-left:234px;padding:0 38px;max-width:1900px}#workspace header{min-height:110px;height:auto;padding:28px 0;border-color:#cbdcdf;margin-bottom:34px;gap:20px}#workspace header .eyebrow{font-size:8px;letter-spacing:.25em}#workspace .breadcrumb{color:#67828d;margin-top:7px}#workspace header .header-right{font-size:10px;gap:12px}#workspace .avatar{background:#e0eded;border:1px solid #b7ced4;color:#487e8d}#workspace h1{font-size:29px;font-weight:450;letter-spacing:.07em;color:#315d6f}#workspace h2{font-size:15px;font-weight:550;color:#3b6473}#workspace .eyebrow{color:#789aa6;font-size:9px}#workspace .page-heading{margin:0 0 27px}#workspace .page-heading p:last-child{color:#78909a;line-height:1.8}#workspace .date-pill{background:#f9fbf6c9;color:#638491;border-color:#c3d8dc;border-radius:5px;font-size:10px}#workspace .stats{gap:16px}#workspace .stat{position:relative;overflow:hidden;border-color:#c9dcdf;background:linear-gradient(130deg,#ffffffbb,#f0f7f2b3);border-radius:7px;padding:23px 24px;box-shadow:0 6px 22px #486c7d04}#workspace .stat:before{content:'';position:absolute;top:0;left:24px;width:25px;height:2px;background:#88aeb7}#workspace .stat-label{color:#78929b;font-size:11px}#workspace .stat-value{font-size:29px;font-weight:400;color:#346576;letter-spacing:.02em;margin:13px 0}#workspace .stat small{color:#7c949c;line-height:1.8;display:block}#workspace .panel{border-radius:7px;background:#fcfdf9bf;border-color:#cbdcdf;box-shadow:0 8px 28px #46677504;padding:24px}#workspace .panel-head{padding-bottom:15px;border-bottom:1px solid #dce7e6;margin-bottom:8px}#workspace .tag{background:#e6f0ec;color:#598d85;border:1px solid #c4dcd5;font-size:8px}#workspace .info-row{border-color:#e0e9e7;padding:13px 0;font-size:12px}#workspace .info-row span:last-child{color:#426875;font-variant-numeric:tabular-nums;max-width:68%}#workspace .info-row span:first-child{flex-shrink:0}#workspace .text-btn{color:#4d8495;font-size:11px}#workspace .text-btn:hover{text-decoration:underline}#workspace .notice{background:#fbf5e9;color:#977242;border-color:#e0cfab;line-height:1.8;border-radius:5px}#workspace .empty{border:1px dashed #cbdcdf;background:#f2f7f344;border-radius:5px;padding:32px 18px;color:#7f969e;line-height:1.9;grid-column:1/-1}#workspace .reply-mini{border-color:#dce7e5;padding:17px 0}#workspace .reply-mini p{color:#4f6e78;line-height:1.9}#workspace .reply-meta{color:#81969d;font-size:10px;gap:10px}#workspace .status{background:#edf1f0;color:#70878f;border:1px solid #d9e2df;font-size:10px;border-radius:4px;white-space:nowrap}#workspace .status.confirmed{background:#e5f2eb;color:#3f806e;border-color:#bcdace}#workspace .status.pending,#workspace .status.ready,#workspace .status.sending{background:#e8f0f5;color:#527d96;border-color:#c6dbe6}#workspace .status.expired,#workspace .status.failed,#workspace .status.misrouted{background:#faeeec;color:#ab6c66;border-color:#eacbc6}#workspace .status.delivery_uncertain{background:#fbf2df;color:#9c7b40;border-color:#e5d3a8}
#workspace .toolbar{padding:14px;background:#edf4efad;border:1px solid #d3e1df;border-radius:6px;gap:10px;align-items:center}#workspace input,#workspace select{background:#fbfdf8;color:#416b79;border:1px solid #c5d9dd;border-radius:4px;padding:10px 12px;min-height:40px}#workspace input::placeholder{color:#8aa0a6}#workspace input:focus,#workspace select:focus{outline:2px solid #8db5c342;outline-offset:1px;border-color:#80aab7}#workspace button:focus-visible{outline:2px solid #5f98aa;outline-offset:3px}#workspace .toolbar select{flex:0 1 auto}#workspace .memory-preview,#workspace .graph-panel{background:radial-gradient(ellipse at 50% 48%,#dcebed88,#f8fbf5 75%)}#workspace .memory-preview canvas{height:290px}#workspace .canvas-caption{font-size:9px;color:#7898a3;padding:8px 0}#workspace .graph-panel{padding:0}#workspace #memoryCanvas{height:490px}#workspace .legend{color:#6f8792;padding:14px 20px;gap:15px;border-top:1px solid #dce7e5}#workspace .legend i{width:7px;height:7px}#workspace .graph-note{color:#8a9da3;line-height:1.8}#workspace .detail{align-self:start;position:sticky;top:20px;max-height:78vh;overflow:auto}#workspace .detail .memory-body{color:#466a76;line-height:2;font-size:13px;padding:12px 0}#workspace .detail pre{background:#edf3ef;padding:12px;border-radius:4px;color:#6d8590}#workspace .memory-card{background:#fbfcf8;border-color:#cddedf;border-radius:5px;padding:18px;transition:border-color .2s,box-shadow .2s}#workspace .memory-card:hover,#workspace .memory-card[aria-pressed="true"]{border-color:#8aafba;box-shadow:0 4px 18px #4975890d;background:#f1f7f2}#workspace .memory-card p{color:#4f717c;line-height:1.9}#workspace .memory-card small{color:#89a0a7;font-size:9px}#workspace .reply-card{border-color:#cedfe0;background:#fcfdf9;border-radius:6px;padding:22px}#workspace .bubble{background:#f0f4f1;border:1px solid #e0e8e3;color:#54717a;padding:16px 18px;border-radius:5px;line-height:1.95}#workspace .bubble.answer{background:#e8f1ee;border-color:#cfe2db;color:#3e6e6b}#workspace .bubble:before{content:'收到的消息';display:block;font-size:9px;letter-spacing:.13em;color:#8ba0a4;margin-bottom:7px}#workspace .bubble.answer:before{content:'汐若的回应';color:#739a92}#workspace pre{color:#52727e;line-height:2.15;font-size:13px;scrollbar-width:thin;scrollbar-color:#bdd1d5 transparent}#workspace #personaText{padding:18px;background:#f1f5ef;border:1px solid #e0e8df;border-radius:5px}#workspace #bond .memory-body{color:#54737d;line-height:2;padding:13px 0;margin:0}#workspace #bond small{display:block;font-size:9px;border-bottom:1px solid #e0e9e6;padding-bottom:17px;margin-bottom:8px}#workspace #models{margin-top:14px}#workspace .persona-grid h2{margin-top:8px}#workspace .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}#workspace .photo-card{background:#fafcf7;border-color:#cedfe0;border-radius:6px;box-shadow:0 5px 20px #426b7b08;transition:box-shadow .25s,border-color .25s}#workspace .photo-card:hover{border-color:#93b8c2;box-shadow:0 10px 28px #426b7b16}#workspace .photo-card img{aspect-ratio:3/4;background:#e7efea;object-position:center top}#workspace .photo-card div{color:#527480;padding:14px 16px}#workspace .photo-card small{color:#8ca1a7;margin-top:5px;letter-spacing:.08em}#workspace .chip{border-radius:4px;border-color:#cbdddc;color:#78949d;background:#f9fbf6;padding:8px 20px}#workspace .chip.active{background:#dfedeb;border-color:#98bdc5;color:#3b7181}#workspace #galleryUpdate{color:#8199a2}#workspace #outreach .reply-mini{position:relative;margin-left:9px;padding-left:22px;border-left:1px solid #c8ddda;border-bottom:0}#workspace #outreach .reply-mini:before{content:'';position:absolute;left:-4px;top:22px;width:7px;height:7px;border-radius:50%;background:#83abae;box-shadow:0 0 0 4px #eaf2ee}#workspace footer{border-color:#d4e2df;color:#8ba0a6;margin-top:35px}#photoDialog{background:#f8fbf5;color:#416977;border-color:#c2d9df;border-radius:8px;padding:18px;box-shadow:0 30px 100px #22495735}#photoDialog::backdrop{background:#324d5c70;backdrop-filter:blur(7px)}#photoDialog button{background:#f7faf3ec;color:#446d7c;border:1px solid #b6cfd5;cursor:pointer}#photoDialog p{color:#73929d}#photoDialog img{border-radius:4px}
@media(min-width:1600px){#workspace main{padding:0 50px}}@media(max-width:1100px){#workspace>aside{width:200px;padding:30px 18px}#workspace main{margin-left:200px;padding:0 24px}#workspace .detail{position:static;max-height:none}#workspace header{padding-top:78px}#workspace .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){#workspace>aside{position:static;width:100%;padding:24px 18px 15px;border:0;border-bottom:1px solid #cbdcdf}#workspace>aside .brand{font-size:19px}#workspace>aside .brand span:not(.brand-mark){font-size:8px}#workspace nav{gap:5px;margin-top:20px;padding-bottom:5px}#workspace nav button{padding:9px 12px;flex-shrink:0;font-size:11px}#workspace nav button.active:after{display:none}#workspace main{margin:0;padding:0 17px}#workspace header{padding:20px 0;min-height:85px;gap:10px}#workspace header .header-right{padding-right:0;font-size:8px}#workspace #syncState{max-width:125px;overflow-wrap:anywhere}#workspace h1{font-size:25px}#workspace .page-heading{gap:12px;flex-wrap:wrap}#workspace .panel{padding:18px}#workspace .graph-panel{padding:0}#workspace .stat{padding:18px 15px}#workspace .stat-value{font-size:24px}#workspace .stats{gap:10px}#workspace .toolbar{padding:10px;gap:8px}#workspace .toolbar input{min-width:100%;width:100%}#workspace .toolbar select{flex:1;max-width:100%;width:40%;font-size:11px}#workspace .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#workspace .photo-card div{padding:11px;font-size:10px}#workspace #galleryUpdate{width:100%;margin-left:0}#workspace #memoryCanvas{height:370px}#workspace footer{padding-bottom:85px}body:has(#workspace:not([hidden])) #bgmPlayer{top:auto;bottom:12px}}

/* Immersive memory interaction; retain scrolling without visible tracks. */
html,body{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0}#workspace .detail,#workspace pre{scrollbar-width:none}#workspace .detail::-webkit-scrollbar,#workspace pre::-webkit-scrollbar{width:0;height:0}#workspace .memory-scene{position:relative;isolation:isolate}#workspace .memory-scene canvas{cursor:grab;touch-action:none}#workspace .memory-scene canvas.dragging{cursor:grabbing}#workspace .memory-scene canvas:focus-visible{outline:2px solid #83acba;outline-offset:-5px}#workspace .graph-controls{display:flex;position:absolute;right:16px;bottom:14px;gap:5px;z-index:2}#workspace .memory-preview .graph-controls{bottom:39px}#workspace .graph-panel .graph-controls{top:14px;bottom:auto}#workspace .graph-controls button{min-width:30px;height:29px;padding:2px 9px;border:1px solid #c2d9dc;border-radius:4px;background:#f7fbf4ed;color:#68909e;font-size:11px;transition:background .2s}#workspace .graph-controls button:hover{background:#e1efeb}#workspace .memory-tooltip{position:absolute;z-index:5;width:min(270px,calc(100% - 20px));background:#fbfdf7f5;border:1px solid #a9c7ce;border-radius:6px;padding:14px 16px;box-shadow:0 10px 35px #315c7220;pointer-events:none;backdrop-filter:blur(10px);text-align:left}#workspace .memory-tooltip small{font-size:9px;color:#7f9ca5}#workspace .memory-tooltip p{font-size:12px;line-height:1.8;color:#456e7c;margin:8px 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}#workspace .memory-tooltip span{font-size:9px;color:#83a2ac}#workspace .memory-preview .canvas-caption{padding-right:112px;padding-left:10px}@media(max-width:700px){#workspace .graph-controls{right:10px}#workspace .memory-tooltip{padding:10px 12px}#workspace .memory-preview .canvas-caption{font-size:8px;text-align:left}}

#workspace .particle-limit-label{display:flex;align-items:center;gap:7px;color:#7c98a1;font-size:9px}#workspace .particle-limit{min-height:29px;height:29px;padding:2px 7px;font-size:10px;max-width:110px;background:#f7fbf4ed}#workspace .memory-preview .graph-controls{bottom:12px}#workspace .memory-preview .canvas-caption{padding:8px 10px 35px}#workspace .graph-controls{align-items:center}@media(max-width:700px){#workspace .particle-limit-label>span{display:none}#workspace .graph-controls{gap:3px}#workspace .graph-controls button{padding:2px 6px;min-width:25px}}

#workspace .music-work audio{width:100%;margin:15px 0;accent-color:#54899a}#workspace .music-work summary{cursor:pointer;color:#668e9c;padding:12px 0;font-size:12px}#workspace .music-work details{border-top:1px solid #d5e3df;margin-top:15px}#workspace .music-work pre{max-height:420px;background:#f1f6ef;padding:18px;border-radius:5px}#workspace #musicStatus{margin-bottom:15px}#workspace #musicWorks{display:grid;gap:16px}#workspace #musicWorks .panel{margin-bottom:0}

#workspace .desktop-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;color:#7b97a1;font-size:11px}#workspace .desktop-actions>div{display:flex;gap:8px;flex-wrap:wrap}#workspace .desktop-actions .chip{font-size:11px;padding:8px 13px;display:inline-block}#workspace .desktop-viewport{height:calc(100dvh - 320px);min-height:440px;position:relative;border:1px solid #b9d3d9;border-radius:7px;background:#10191d;overflow:hidden;box-shadow:0 12px 40px #315e7010}#desktopFrame{width:100%;height:100%;border:0;display:block;background:#10191d}#workspace .desktop-note{font-size:10px;color:#7c98a2;line-height:1.9;margin:15px 0}#desktopViewport:fullscreen{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;background:#10191d}@media(max-width:700px){#workspace .desktop-actions{align-items:flex-start;flex-direction:column;gap:10px}#workspace .desktop-viewport{height:65dvh;min-height:350px}}


/* SIORA desktop fit */
#desktopViewport #desktopFrame{
  position:absolute;
  width:2048px;
  height:1152px;
  max-width:none;
  max-height:none;
  transform-origin:top left;
}

/* SIORA_DAILY_DIARY */
#diaryBody{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:2;max-width:850px;margin:auto}#diaryDates{flex-wrap:wrap;max-height:180px;overflow:auto}

/* SIORA_GALAXY_STYLE_BEGIN */
#workspace .siora-galaxy-view{background:#050916;border-color:#26334c}
#workspace .siora-galaxy-view canvas{background:#050916}
#workspace .siora-galaxy-view .legend{background:#080e1d;color:#b2c3d8;border-color:#26334c}
#workspace .siora-galaxy-view .graph-note,#workspace .siora-galaxy-view .canvas-caption{background:#080e1d;color:#9bb0c8}
#workspace .siora-galaxy-view .graph-controls{flex-wrap:wrap;max-width:calc(100% - 24px)}
#workspace .siora-galaxy-view .graph-controls button,#workspace .siora-galaxy-view .graph-controls select{background:#101c30ed!important;color:#c6ddf3!important;border-color:#354b68!important}
#workspace .siora-galaxy-view .particle-limit-label{color:#a9bed6}
#workspace .siora-galaxy-view .memory-tooltip{background:#101c30f2;border-color:#4b688b;box-shadow:0 10px 35px #0008}
#workspace .siora-galaxy-view .memory-tooltip p{color:#e0ebf7}
#workspace .siora-galaxy-view .memory-tooltip small,#workspace .siora-galaxy-view .memory-tooltip span{color:#a9c1db}
/* SIORA_GALAXY_STYLE_END */

/* SIORA independent overview height */
#workspace .overview-grid {
    align-items: start;
}
#workspace .overview-grid > .memory-preview {
    align-self: start;
    height: auto;
}
