@charset "UTF-8";
:root{color-scheme:dark;--bg:#17191c;--panel:#202226;--line:#35373b;--text:#f3eee8;--muted:#b1b0ad;--accent:#e4b77e;--ink:#241b11;--font:"Segoe UI","Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.65}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{transition:background .15s,border-color .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:87px;margin:0 auto;max-width:1440px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{color:var(--text);text-decoration:none;display:flex;align-items:center;gap:13px;font-size:17px;font-weight:650;letter-spacing:.08em}.brandmark{display:grid;place-items:center;width:39px;height:42px;border:1px solid #c6a678;border-radius:12px 12px 4px 4px;color:var(--accent);font-size:22px;font-family:serif}.brand-sub{display:block;font-size:10px;letter-spacing:.15em;font-weight:400;color:var(--muted);margin-top:1px}.header-right{display:flex;align-items:center;gap:27px}.version{font-size:11px;color:var(--muted);letter-spacing:.14em}.text-button{background:none;border:0;color:var(--text);padding:8px 0;font-size:12px}.text-button:hover{color:var(--accent)}.text-button span{font-size:17px;padding-left:8px}.workspace{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:44px;padding:32px 46px 38px}.preview{min-width:0}.stage{position:relative;height:calc(100dvh - 235px);min-height:480px;max-height:920px;overflow:hidden;border-radius:5px;background:radial-gradient(ellipse at 50% 40%,#4b3b2e 0%,#302c29 36%,#222326 72%);isolation:isolate}.stage:after{content:"";pointer-events:none;position:absolute;inset:0;z-index:-1;opacity:.24;background-image:linear-gradient(#aaa2 1px,transparent 1px),linear-gradient(90deg,#aaa2 1px,transparent 1px);background-size:56px 56px}.stage[data-background=light]{background:#e6dfd5}.stage[data-background=green]{background:#00b140}.stage[data-background=transparent]{background:repeating-conic-gradient(#34363a 0% 25%,#26282c 0% 50%) 0 0/28px 28px}.stage-label{position:absolute;top:20px;left:23px;display:flex;align-items:center;gap:9px;font-size:12px;z-index:2;color:#e9e3dc;letter-spacing:.04em;background:#1a1b1db3;border:1px solid #ffffff12;padding:6px 11px;border-radius:20px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.status-dot.live{background:#90d9aa;box-shadow:0 0 9px #90d9aa70}.status-dot.error{background:#f0a186}#avatar{display:block;width:100%;height:100%}.stage-caption{position:absolute;bottom:19px;left:20px;right:20px;text-align:center;font-size:11px;color:#e2d7c7;letter-spacing:.06em;pointer-events:none;text-shadow:0 1px 6px #000,0 1px 6px #000}.loading-note{position:absolute;inset:40% 10% auto;text-align:center;background:#17191ce6;padding:24px;border-radius:8px;color:var(--accent)}.readout{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:20px;padding:0 8px}.readout>div{display:flex;align-items:center;justify-content:center;gap:14px;border-right:1px solid var(--line)}.readout>div:last-child{border:0}.readout span{font-size:11px;color:var(--muted)}.readout strong{font-size:13px;font-weight:500;color:var(--accent)}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.preview-bottom p{font-size:10px;color:var(--muted);margin:0}.background-control{white-space:nowrap;font-size:11px;color:var(--muted)}select{background:var(--bg);border:1px solid var(--line);border-radius:5px;color:var(--text);padding:6px 22px 6px 8px;margin-left:8px;font-size:11px}.controls{padding-top:4px}.intro h1{font-size:30px;line-height:1.5;letter-spacing:.08em;font-weight:550;margin:0 0 14px}.intro p{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 23px}.primary-button{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--accent);color:var(--ink);font-weight:650;border:1px solid var(--accent);border-radius:7px;padding:14px;width:100%;font-size:14px;letter-spacing:.05em}.primary-button:hover:not(:disabled){background:#edc89a}.primary-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.privacy{font-size:10px;color:var(--muted);margin:10px 0 21px;line-height:1.7}.mode-tabs{display:flex;border-bottom:1px solid var(--line);gap:0;margin-top:21px}.mode-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 12px;color:var(--muted);font-size:12px;flex:1;white-space:nowrap}.mode-tabs button[aria-selected=true]{color:var(--accent);border-color:var(--accent)}.mode-panel{padding-top:22px;min-height:156px}h2{font-size:12px;letter-spacing:.06em;font-weight:550;margin:0 0 13px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-title h2{margin:0}.small-button{background:#ffffff06;color:var(--text);border:1px solid #4a4a4b;border-radius:5px;padding:6px 11px;font-size:11px;min-height:34px}.small-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.help{font-size:11px;color:var(--muted);line-height:1.85;margin:10px 0}.demo-track{height:27px;display:flex;align-items:center;gap:5px;margin:17px 0}.demo-track i{display:block;background:#b29470;width:3px;height:5px;border-radius:2px;animation:wave 1.1s infinite alternate}.demo-track i:nth-child(3n){animation-delay:-.5s}.demo-track i:nth-child(3n+1){animation-delay:-.8s}.demo-track i:nth-child(4n+1){animation-delay:-.1s}body[data-paused=true] .demo-track i{animation-play-state:paused}@keyframes wave{to{height:23px;opacity:.5}}.settings{border-top:1px solid var(--line);padding-top:19px;margin-top:18px}.settings summary{font-size:12px;font-weight:550;cursor:pointer;margin-bottom:18px;list-style:none;display:flex;align-items:center;justify-content:space-between}.settings summary:after{content:"＋";color:var(--muted)}.settings[open] summary:after{content:"−"}.slider-label{display:flex;justify-content:space-between;color:#d6d3ce;font-size:11px;margin-top:14px}.slider-label output{color:var(--muted);font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:var(--accent);height:22px;margin:7px 0 1px;cursor:pointer}.control-footer{margin-top:22px;padding-top:15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.control-footer span{color:#cab494}.button-group{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.button-group button{color:var(--muted);background:#25272b;border:1px solid var(--line);border-radius:5px;min-height:37px;padding:7px 11px;font-size:11px;flex:1;white-space:nowrap}.button-group button[aria-pressed=true]{color:var(--accent);border-color:#a78b69;background:#3b3228}.button-group button:hover{border-color:#a78b69}.mouths button{flex:0 1 calc(25% - 5px)}.eye-sliders{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 18px}.eye-sliders label{font-size:10px;color:var(--muted)}.camera-message{font-size:12px;color:#e8c09b;background:#3c3026;border:1px solid #71533a;padding:12px;border-radius:5px;margin:15px 0}.camera-message.error{background:#3c2825;color:#f0b8a6;border-color:#835448}.camera-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.check{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;margin:10px 0}input[type=checkbox]{accent-color:var(--accent)}.camera-video{width:100%;max-height:200px;object-fit:contain;transform:scaleX(-1);border-radius:5px;background:#101114}.meter-row{display:flex;align-items:center;gap:12px;margin:12px 0;font-size:11px;color:var(--muted)}.meter-row label{width:30px}.meter-row meter{flex:1;height:9px;accent-color:var(--accent)}meter::-webkit-meter-bar{background:#35373b;border:0}meter::-webkit-meter-optimum-value{background:var(--accent)}.meter-row output{min-width:35px;text-align:right}.leave-stage{position:absolute;top:20px;right:20px;background:#24262ad9;border:1px solid #555;color:white;padding:10px 18px;border-radius:5px;z-index:5}.stage-mode .topbar,.stage-mode .controls,.stage-mode .readout,.stage-mode .preview-bottom,.stage-mode .stage-label,.stage-mode .stage-caption{display:none}.stage-mode .workspace{display:block;max-width:none;padding:0}.stage-mode .stage{width:100vw;height:100dvh;max-height:none;border-radius:0;min-height:0}.stage-mode .leave-stage{opacity:.12}.stage-mode .leave-stage:hover,.stage-mode .leave-stage:focus-visible{opacity:1}
@media(min-width:1400px){.workspace{grid-template-columns:minmax(0,1fr) 390px;gap:55px}.controls{padding:12px 8px 0}.intro h1{font-size:34px}}
@media(max-width:1000px){.topbar{padding:0 26px;height:75px}.workspace{padding:24px 26px;gap:26px;grid-template-columns:minmax(0,1fr) 320px}.preview-bottom{flex-direction:column;align-items:flex-start}.stage{min-height:480px}.intro h1{font-size:28px}.privacy{font-size:9px}}
@media(max-width:740px){.topbar{height:69px;padding:0 18px}.brand{font-size:14px;gap:9px}.brandmark{width:31px;height:36px;font-size:19px}.brand-sub{font-size:9px}.header-right{gap:0}.version{display:none}.header-right .text-button{font-size:10px}.header-right .text-button span{padding-left:3px}.workspace{display:flex;flex-direction:column;padding:17px 16px 30px;gap:28px}.stage{height:55dvh;min-height:350px;max-height:570px}.stage-label{top:13px;left:13px;font-size:10px;padding:4px 8px}.stage-caption{font-size:10px;bottom:13px}.readout{margin-top:16px;padding:0}.readout>div{gap:8px}.readout strong{font-size:11px}.readout span{font-size:10px}.preview-bottom{flex-direction:row;justify-content:flex-end;margin-top:14px}.preview-bottom p{display:none}.controls{padding:0 3px}.intro h1{font-size:25px;line-height:1.5;letter-spacing:.04em}.intro h1 br{display:none}.intro p{font-size:12px;margin-bottom:18px}.intro p br{display:none}.primary-button{min-height:52px}.privacy{font-size:10px}.mode-tabs button{font-size:12px;min-height:47px}.button-group button{min-height:44px}.small-button{min-height:40px}.settings summary{min-height:34px}input[type=range]{height:32px}.control-footer{font-size:10px}.mode-panel{min-height:155px}}
@media(prefers-reduced-motion:reduce){.demo-track i{animation:none}button{transition:none}}
.install-help{max-width:1348px;margin:12px auto 0;padding:12px 22px;background:#302a23;color:#e4c7a4;font-size:12px}.record-panel{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.record-spec{font-size:10px;color:var(--muted)}.record-button{display:block;width:100%;min-height:45px;padding:10px;border:1px solid #74534a;background:#322623;color:#efc1ad;border-radius:6px}.record-button span{color:#df967d;padding-right:5px}.record-button:hover:not(:disabled){background:#49302a}.record-panel .check{font-size:10px;line-height:1.6}.clip-select{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;margin:17px 0 10px}.clip-select select{max-width:75%}#clip-preview{display:block;width:100%;height:280px;background:#111315;border-radius:6px}.clip-actions{display:flex;gap:10px;margin-top:11px}.clip-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;flex:1}.clip-actions button{flex:1}.record-bar{position:fixed;z-index:50;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid #a66c59;background:#302321f5;box-shadow:0 5px 30px #0007;border-radius:10px;max-width:calc(100vw - 24px);white-space:nowrap;font-size:12px}.record-bar button{background:#e7b593;color:#2a1c14;border:0;border-radius:5px;padding:10px 16px;font-weight:600}.record-dot{width:8px;height:8px;border-radius:50%;background:#eb947e}.record-bar strong{font-variant-numeric:tabular-nums}.record-bar #record-source{color:#dfc8c0;font-size:11px}.stage-mode .record-bar{opacity:.85}
@media(max-width:740px){.header-right{gap:12px}.header-right .text-button{font-size:9px}.header-right #stage-only{max-width:80px;line-height:1.5}.install-help{margin:0;padding:14px 18px;font-size:11px}.record-panel{padding-top:18px}.record-bar{bottom:max(12px,env(safe-area-inset-bottom));gap:10px;font-size:12px}.record-bar #record-source{display:none}.record-button{min-height:48px}body{padding-bottom:env(safe-area-inset-bottom)}.record-panel .check{font-size:11px}.control-footer{margin-bottom:25px}}

.stage:is([data-background=image],[data-background=video]){background:#202226}.stage:is([data-background=image],[data-background=video],[data-background=green]):after{display:none}#background-media{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}#background-media>img,#background-media>video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.background-panel{margin-top:15px;padding:16px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.background-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-bottom:10px}.background-panel label{font-size:11px;color:var(--muted)}.background-panel select,.background-panel button{min-height:44px}.background-panel .help{overflow-wrap:anywhere;margin-bottom:0}.stage-mode .background-panel{display:none}

.mouth-width-row label{flex:0 0 56px;width:auto}.mouth-width-row output{flex:0 0 108px}.mouth-width-row meter{min-width:0}

.live-nav{color:var(--accent);text-decoration:none;white-space:nowrap}.live-panel{scroll-margin-top:20px;margin-top:20px;padding:20px 0 5px;border-top:1px solid #735b40}.live-panel h2{font-size:17px;letter-spacing:.04em}.live-badge{font-size:9px;color:var(--accent);border:1px solid #6d563d;border-radius:20px;padding:3px 8px}.live-format-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;font-size:11px}.live-format-row select{min-width:0;max-width:75%;min-height:42px;margin:0}.live-button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:46px;border-radius:6px;border:1px solid #a3835b;background:#3c3024;color:#f1d4af;padding:10px 14px;font-size:12px;font-weight:600}.live-button:hover:not(:disabled){background:#514030}.live-screen-button{width:100%;margin-top:9px;font-size:12px;min-height:44px}.live-return{font-size:10px;color:var(--muted);line-height:1.7}.live-actions{display:flex;gap:8px;margin-top:12px}.live-actions:has(button:not([hidden])){margin-bottom:12px}.live-actions button{flex:1}.live-guide{border-top:1px solid var(--line);padding:11px 0}.live-guide summary{font-size:12px;cursor:pointer;min-height:28px;padding:4px 0;color:#e8d7c0}.live-guide ol,.live-guide ul{padding-left:20px;color:var(--muted);font-size:11px;line-height:1.9;margin:8px 0}.live-guide li{margin:9px 0}.live-guide strong{color:#e1d4c4;font-weight:500}.live-links{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:10px;margin:13px 0 4px}.live-links a{color:var(--accent)}
#live-screen{position:fixed;inset:0;z-index:100;background:#000;display:grid;place-items:center;width:100vw;height:100dvh}#live-canvas{display:block;width:100%;height:100%;object-fit:contain;max-width:100vw;max-height:100dvh;touch-action:none;outline:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}body.live-screen-mode{overflow:hidden;padding-bottom:0}.live-screen-mode>.topbar,.live-screen-mode>.workspace,.live-screen-mode>.install-help,.live-screen-mode>.record-bar{visibility:hidden;pointer-events:none}.live-screen-mode .camera-video{visibility:hidden}
@media(max-width:740px){.header-right{gap:10px}.live-nav{font-size:10px}.live-panel h2{font-size:18px}.live-guide summary{min-height:44px;display:flex;align-items:center}.live-guide ol,.live-guide ul,.live-guide .help{font-size:12px}.live-guide summary:before{content:'＋';padding-right:9px;color:var(--accent)}.live-guide[open] summary:before{content:'−'}.live-links{font-size:11px}.live-button{min-height:49px;font-size:13px}.live-format-row select{font-size:11px}.live-badge{font-size:9px}.header-right #stage-only{font-size:9px}.topbar{padding:0 12px}.brand{gap:6px}}

.outfit-picker{margin:0 0 22px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#222324}.outfit-picker .section-title a{font-size:10px;color:var(--accent);text-underline-offset:4px}.outfit-label{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.outfit-select-row{display:flex;gap:7px}.outfit-select-row select{margin:0;min-width:0;flex:1;font-size:12px;min-height:44px}.outfit-select-row button{min-width:40px;font-size:21px;line-height:1}.outfit-current{display:flex;align-items:center;gap:13px;margin-top:13px}.outfit-current img{width:62px;height:85px;object-fit:cover;object-position:50% 8%;background:#34312e;border-radius:5px}.outfit-current strong{font-size:12px;font-weight:500}.outfit-current p{font-size:10px;color:var(--muted);margin:4px 0 0}.outfit-current>div{min-width:0}.outfit-picker[aria-busy=true] .outfit-current{opacity:.65}@media(max-width:740px){.outfit-picker{padding:14px}.outfit-select-row select{font-size:13px;min-height:46px}.outfit-current p{font-size:11px}.outfit-picker .section-title a{font-size:11px}}

@media(max-width:740px){#outfit-mobile-slot>.outfit-picker{margin:13px 0 0;padding:12px 14px}#outfit-mobile-slot .outfit-current{display:block;margin-top:6px}#outfit-mobile-slot .outfit-current img,#outfit-mobile-slot .outfit-current strong,#outfit-mobile-slot #outfit-hair{display:none}#outfit-mobile-slot .outfit-current p.help{font-size:10px;margin:0}#outfit-mobile-slot .section-title{margin-bottom:5px}}
