:root{color-scheme:dark;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#eef0ed;background:#121416;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #373b3d;background:#24282b;color:inherit;border-radius:7px;padding:11px 16px;font-size:14px}button:hover{background:#343a3e}button:disabled{cursor:wait;opacity:.45}button:focus-visible,a:focus-visible,label:focus-within{outline:2px solid #cbff73;outline-offset:4px}[hidden]{display:none!important}header{height:86px;margin:0 36px;border-bottom:1px solid #2c3032;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand strong{font-size:23px;letter-spacing:-.8px}.brand strong span{font-weight:400;color:#b3b9b9}.brand small{font-size:13px;color:#969e9f;border-left:1px solid #414648;padding-left:18px;margin-left:8px}.mark{background:#cbff73;color:#151a0f;width:34px;height:34px;display:grid;place-items:center;font-size:26px;font-weight:700;border-radius:8px}.header-tools{display:flex;align-items:center;gap:22px}.transport{font:12px monospace;letter-spacing:1px;color:#b8c7b0}.header-tools button{background:none;border:none;color:#b8bebe}main{display:grid;grid-template-columns:310px minmax(0,1fr);gap:38px;padding:35px 36px 20px;max-width:2000px;margin:auto}.compose{display:flex;flex-direction:column;min-height:680px}.section-top{display:flex;justify-content:space-between}.eyebrow,.step{font:11px monospace;letter-spacing:1.8px;color:#a2aaa9}.step{color:#6b7476}h1{font-size:25px;letter-spacing:-.6px;margin:16px 0 35px;font-weight:500}.label{display:flex;justify-content:space-between;font-size:14px;margin-bottom:13px;color:#dddeda}.label span{color:#6c7475;font:12px monospace}.presets{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preset{padding:0;overflow:hidden;position:relative;height:100px;border:2px solid transparent;background:#202629}.preset img{width:100%;height:100%;object-fit:cover}.preset span{position:absolute;bottom:0;left:0;right:0;text-align:left;padding:16px 9px 8px;font-size:12px;background:linear-gradient(transparent,#000b)}.preset.selected{border-color:#cbff73}.upload{display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #4c5254;border-radius:7px;margin-top:12px;padding:15px;cursor:pointer;font-size:14px;position:relative}.upload>span:first-child{font-size:21px;color:#c6ff77}.upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.upload>span:nth-child(2){max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hint{font-size:12px;color:#81898b;margin:10px 0 28px}.prompt-section textarea{resize:vertical;min-height:165px;max-height:300px;display:block;width:100%;padding:15px;background:#1b1f21;border:1px solid #343a3d;border-radius:8px;color:#c9cecb;font-size:14px;line-height:1.75;outline:none}.prompt-section textarea:focus{border-color:#cbff73}.prompt-bottom{display:flex;justify-content:space-between;font-size:12px;color:#7e898a;margin:10px 0 25px}.primary{width:100%;background:#cbff73;color:#17200e;border:0;padding:16px 18px;font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#dcffac}.primary span{font-size:23px;line-height:1}.actions{margin-top:4px}#message{font-size:13px;line-height:1.7;color:#99a2a3;min-height:44px}#message.error{color:#ffb0a3}.running-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.danger{color:#ffb0a3}.sidebar-foot{display:flex;justify-content:space-between;font:10px monospace;letter-spacing:1px;color:#677175;border-top:1px solid #2e3335;margin-top:auto;padding-top:20px}.viewer{min-width:0;padding-top:0}.stage{position:relative;width:100%;height:calc(100vh - 165px);min-height:530px;max-height:1100px;overflow:hidden;border-radius:12px;background:#070b0c;border:1px solid #343a3b;isolation:isolate;outline:none}.stage>img,.stage>video{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.stage>video{object-fit:contain;opacity:0}.stage.live>video{opacity:1}.stage.live>img{opacity:0}.shade{position:absolute;inset:0;background:linear-gradient(#0004,transparent 30%,#0001 60%,#0009);pointer-events:none}.stage-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;z-index:3}.stage-top>div{display:flex;gap:8px}.glass,.badge{background:#10191cb0;backdrop-filter:blur(16px);border:1px solid #ffffff25;border-radius:7px;color:#e8ece8;font-size:12px}.glass{padding:9px 12px}.badge{padding:10px 12px;display:flex;align-items:center;gap:8px}.badge i{width:6px;height:6px;background:#a4afb0;border-radius:50%}.stage.live .badge i{background:#cbff73}.intro{position:absolute;left:38px;bottom:170px;text-shadow:0 2px 15px #0009}.intro .eyebrow{color:#e0e9d5}.intro h2{font-size:clamp(28px,3vw,48px);letter-spacing:-2px;font-weight:500;margin:16px 0}.intro p{font-size:14px;color:#dde2db}.stage.live .intro{display:none}.crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fffc;font-size:22px;font-weight:200;opacity:.6;pointer-events:none}.controls{position:absolute;left:26px;right:26px;bottom:24px;display:flex;justify-content:space-between;align-items:flex-end}.key-group{text-align:center}.keys{display:grid;grid-template-columns:repeat(3,36px);gap:5px}.keys button{padding:0;width:36px;height:36px;background:#17202490;backdrop-filter:blur(10px);border:1px solid #ffffff35;border-radius:6px;font:14px monospace;touch-action:none;user-select:none}.keys button:first-child{grid-column:2}.keys button:nth-child(2){grid-column:1}.keys button.active{background:#cbff73;color:#141b10;border-color:#cbff73}.key-group>span{display:block;font-size:11px;letter-spacing:2px;color:#d4ddd6;margin-top:11px}.live-caption{font-size:12px;color:#e1e6dd;margin-bottom:3px}footer{display:flex;justify-content:space-between;color:#7e8889;font-size:12px;padding:16px 2px}footer em{padding:0 7px;font-style:normal;color:#424b4e}#session-clock{font:11px monospace;letter-spacing:1px}#stats{position:absolute;top:70px;right:20px;width:230px;background:#101719e8;backdrop-filter:blur(15px);border:1px solid #ffffff20;border-radius:8px;padding:15px;z-index:4}#stats>div{display:flex;justify-content:space-between;padding:7px 0;font-size:12px;color:#a7b2b2}#stats b{font:12px monospace;color:#e8efde}.text-button{padding:8px 0;background:none;border:0;color:#cbff73;font-size:13px;margin-bottom:12px}dialog{width:min(460px,90vw);background:#202527;color:#dfe4df;border:1px solid #414a4c;border-radius:14px;padding:32px}dialog::backdrop{background:#000a;backdrop-filter:blur(8px)}dialog h2{font-size:24px}dialog p{font-size:15px;line-height:1.8;color:#abb6b5}dialog .primary{justify-content:center;margin-top:24px}.close{float:right;margin:-16px -16px 8px 8px;border:0;background:none;font-size:24px}.stage:fullscreen{height:100vh;max-height:none;border:0;border-radius:0}.stage:fullscreen video{object-fit:contain}@media(min-width:1600px){main{grid-template-columns:340px minmax(0,1fr);gap:48px}.compose{padding-top:12px}}@media(max-width:1050px){header{margin:0 20px}main{padding:24px 20px;gap:22px;grid-template-columns:270px minmax(0,1fr)}.intro{left:24px}.intro h2{font-size:29px}.live-caption{display:none}footer>span:first-child{max-width:210px;line-height:1.7}.stage{min-height:650px}}@media(max-width:720px){header{height:68px;margin:0 16px}.brand strong{font-size:20px}.brand small{display:none}.header-tools{gap:4px}.header-tools button{font-size:12px}.transport{font-size:11px}main{display:flex;flex-direction:column-reverse;padding:16px;gap:26px}.stage{height:52vh;min-height:340px;max-height:540px}.viewer footer{font-size:11px}.stage-top{top:12px;left:12px;right:12px}.controls{left:14px;right:14px;bottom:16px}.intro{left:20px;bottom:135px}.intro h2{font-size:28px}.intro p{font-size:12px;max-width:230px;line-height:1.6}.intro .eyebrow{font-size:9px}.keys{grid-template-columns:repeat(3,32px);gap:4px}.keys button{width:32px;height:32px}.compose{min-height:0}.section-top{display:none}h1{font-size:24px;margin:0 0 24px}.presets .preset{height:120px}.sidebar-foot{margin-top:22px}.prompt-section textarea{min-height:120px}#stats{top:58px;right:12px}.stage:fullscreen{max-height:none;height:100vh}.stage:fullscreen .keys{grid-template-columns:repeat(3,44px)}.stage:fullscreen .keys button{width:44px;height:44px}}@media(prefers-reduced-motion:no-preference){button{transition:background .18s,opacity .18s}.stage video{transition:opacity .3s}}

#password{width:100%;padding:13px;background:#121416;border:1px solid #58615b;border-radius:6px;color:#fff;font:inherit}#login-error{color:#ffb0a3;min-height:24px}@media(max-width:720px){.header-tools{gap:0}.header-tools button{padding:8px}.header-tools .transport{display:none}}

.scene-bar{display:flex;align-items:center;gap:10px;margin-top:14px;padding:8px 8px 8px 16px;background:#1b1f21;border:1px solid #343a3d;border-radius:12px;transition:border-color .15s,opacity .15s}
.scene-bar:focus-within{border-color:#cbff73}.scene-bar.idle{opacity:.6}
.scene-label{font:11px monospace;letter-spacing:1.8px;color:#a2aaa9;white-space:nowrap}
.scene-bar input{flex:1;min-width:0;padding:10px 4px;background:none;border:0;outline:none;color:#eef0ed;font-size:15px}
.scene-bar input::placeholder{color:#6b7476}
.scene-bar button{padding:10px 20px;border:0;border-radius:8px;background:#cbff73;color:#121416;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.scene-bar button:disabled{background:#2a3033;color:#6b7476;cursor:not-allowed}
.scene-bar #scene-mic{padding:10px 14px;background:#24282b;color:#eef0ed;border:1px solid #3c4446}
.scene-bar #scene-mic[aria-pressed=true]{background:#ff5d45;color:#fff;border-color:#ff5d45}
.scene-bar #scene-mic:disabled{background:#2a3033;color:#6b7476;border-color:transparent}
.scene-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.scene-chips button{padding:5px 12px;border:1px solid #343a3d;border-radius:999px;background:none;color:#c9cecb;font-size:12px;cursor:pointer;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scene-chips button:hover:not(:disabled){border-color:#cbff73;color:#cbff73}.scene-chips button:disabled{opacity:.45;cursor:not-allowed}
.scene-hint{font-size:12px;color:#81898b;margin:8px 2px 0;min-height:18px}.scene-hint.error{color:#ffb0a3}
@media(max-width:700px){.scene-label{display:none}.scene-bar{padding-left:12px}}

/* Interactive control: click a place, the nearest body part of a person or animal moves toward it */
.gesture-layer{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
.stage.gesture{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;border-color:#cbff73;box-shadow:0 0 0 1px #cbff7366}
.stage.gesture:active{cursor:grabbing}
.gesture-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:10px 0 0}
.gesture-bar.idle{opacity:.55}
.gesture-bar button{padding:9px 14px;font-size:13px}
.gesture-bar button[aria-pressed=true]{background:#cbff73;color:#17200e;border-color:#cbff73}
#gesture-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;font-size:12px;color:#aab2b4}
#gesture-legend b{margin-right:6px;color:#cbff73;font-weight:600}
#gesture-hint{flex-basis:100%;font-size:12px;color:#81898b}
.fx-ripple{fill:none;stroke:#cbff73;stroke-width:3;transform-box:fill-box;transform-origin:center;animation:fx-ripple .9s ease-out forwards}
.fx-part{fill:#cbff7330;stroke:#cbff73;stroke-width:3}
.fx-target{fill:#cbff73;stroke:#0009;stroke-width:2}
.fx-line{stroke:#cbff73;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round;filter:drop-shadow(0 0 2px #000a)}
@keyframes fx-ripple{from{transform:scale(1);opacity:1}to{transform:scale(6);opacity:0}}
@media(prefers-reduced-motion:reduce){.fx-ripple{animation:none;opacity:.6}}

.fx-stroke{fill:none;stroke:#cbff73;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 2px #000a)}
.fx-label{fill:#cbff73;font-size:14px;font-weight:600;paint-order:stroke;stroke:#000a;stroke-width:3px}
.fx-region-fill{fill:#cbff7326;stroke:none}
.fx-region-band{fill:none;stroke:#cbff7340;stroke-linecap:round;stroke-linejoin:round}
.fx-region-line{fill:none;stroke:#cbff73;stroke-width:2.5;stroke-dasharray:7 5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 2px #000a)}
.gesture-bar #region-clear{background:transparent;color:#cbff73;border-color:#cbff7380}
.region-pop{position:absolute;z-index:6;display:flex;align-items:center;gap:8px;width:min(360px,calc(100% - 16px));padding:8px;background:#10191cf2;border:1px solid #cbff73;border-radius:12px;box-shadow:0 12px 28px #000a;pointer-events:auto;touch-action:auto;user-select:text}
.region-pop input{flex:1;min-width:0;padding:8px 10px;border:0;border-radius:8px;background:#1b1f21;color:#eef0ed;outline:none;cursor:text}
.region-pop button{padding:8px 12px;border:0;border-radius:8px;background:#cbff73;color:#121416;font-size:14px;font-weight:600;cursor:pointer}
.region-pop button:disabled{background:#2a3033;color:#6b7476;cursor:not-allowed}
.region-pop #region-pop-voice,.region-pop #region-pop-clear{padding:8px 10px;background:#24282b;color:#eef0ed;border:1px solid #3c4446}
.region-pop #region-pop-voice[aria-pressed=true]{background:#ff5d45;color:#fff;border-color:#ff5d45}
.voice-preview{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px 8px 8px 14px;background:#1b1f21;border:1px solid #cbff73;border-radius:12px}
#voice-preview-text{flex:1;min-width:0;padding:8px 10px;border:0;border-radius:8px;background:#121416;color:#eef0ed;font-size:15px;outline:none}
#voice-preview-count{color:#a2aaa9;font:12px monospace;white-space:nowrap}
.voice-preview button{padding:8px 14px;border:0;border-radius:8px;font-size:14px;font-weight:600}
#voice-send{background:#cbff73;color:#121416}
#voice-cancel{background:#24282b;color:#eef0ed;border:1px solid #3c4446}
