:root{color:#182026;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f6f2;font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,textarea,input,select{font:inherit}a{color:inherit}.app-shell{background:linear-gradient(135deg,#227e6f21,#0000 34%),linear-gradient(45deg,#e0563e1a,#0000 40%),#f4f6f2;min-height:100vh;padding:24px}.studio{grid-template-columns:minmax(330px,440px) minmax(0,1fr);gap:18px;max-width:1440px;margin:0 auto;display:grid}.control-panel,.preview-panel{min-width:0}.control-panel{background:#ffffffe6;border:1px solid #1820261c;border-radius:8px;flex-direction:column;gap:16px;min-height:calc(100vh - 48px);padding:20px;display:flex;box-shadow:0 18px 48px #1820261a}.brand-row{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:#182026;border-radius:8px;place-items:center;width:44px;height:44px;display:grid}h1,p{margin:0}h1{font-size:25px;line-height:1.1}.brand-row p{color:#657078;margin-top:4px;font-size:13px}.runtime-note,.status-strip span{align-items:center;gap:7px;display:inline-flex}.runtime-note{color:#4d5961;background:#fbfcfa;border:1px solid #1820261f;border-radius:8px;min-height:38px;padding:0 11px;font-size:13px;font-weight:800}.runtime-note.ok{color:#174f44;background:#e8f4ef;border-color:#227e6f3d}.runtime-note.warn,.soft-warning{color:#7d3c2e;background:#fff1ed;border-color:#e0563e3d}.auth-modal-lock{overflow:hidden}.auth-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#10161b6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.auth-modal-card{width:min(440px,100%);max-height:calc(100vh - 36px);overflow:auto;box-shadow:0 24px 70px #10161b47}.auth-modal-header{align-items:center;gap:10px;display:flex}.auth-modal-header h2{color:#172126;margin:0;font-size:20px;line-height:1.15}.auth-modal-header small{color:#65727a;margin-top:3px;font-size:12px;font-weight:800;display:block}.auth-panel{background:#fbfcfa;border:1px solid #1820261c;border-radius:8px;gap:10px;padding:12px;display:grid}.auth-panel.signed-in{color:#174f44;background:#e8f4ef;border-color:#227e6f3d;grid-template-columns:minmax(0,1fr) auto;align-items:center}.auth-account{align-items:center;gap:9px;min-width:0;display:flex}.auth-account span,.auth-account strong,.auth-account small{min-width:0;display:block}.auth-account strong,.auth-account small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.auth-account strong{font-size:13px}.auth-account small{color:inherit;opacity:.78;margin-top:2px;font-size:12px}.auth-tabs,.oauth-row{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px;display:grid}.auth-tabs button,.oauth-row button,.email-auth-button,.auth-logout{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;font-size:12px;font-weight:900;display:inline-flex}.auth-tabs button{color:#4f5b63;background:#eef1f0}.auth-tabs .active,.email-auth-button{color:#fff;background:#227e6f}.auth-form{gap:9px;display:grid}.auth-otp-row{grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr) minmax(0,1fr);gap:8px;display:grid}.auth-otp-row button{color:#174f44;cursor:pointer;background:#dcefe8;border:0;border-radius:8px;min-height:36px;font-size:12px;font-weight:900}.auth-otp-row input{border:1px solid #1820261f;border-radius:8px;width:100%;min-width:0;height:36px;padding:0 10px;font-size:13px}.oauth-row button,.auth-logout{color:#174f44;background:#dcefe8}.oauth-row button:disabled,.auth-otp-row button:disabled,.email-auth-button:disabled{cursor:not-allowed;opacity:.55}.key-fallback{border-top:1px solid #18202614;padding-top:8px}.key-fallback summary{color:#5c6870;cursor:pointer;font-size:12px;font-weight:900}.key-fallback input{border:1px solid #18202624;border-radius:8px;outline:none;width:100%;height:36px;margin-top:8px;padding:0 10px}.auth-error{color:#7d3c2e;background:#fff1ed;border:1px solid #e0563e3d;border-radius:8px;margin:0;padding:9px 10px;font-size:12px;font-weight:800;line-height:1.45}.readiness-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.readiness-grid span{color:#68747b;background:#fff;border:1px solid #1820261a;border-radius:8px;gap:4px;min-height:70px;padding:10px;display:grid}.readiness-grid .ready{color:#174f44;background:#e8f4ef;border-color:#227e6f38}.readiness-grid b{color:#34414a;font-size:13px}.readiness-grid small{color:#657078;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.photo-drop{cursor:pointer;background:#fbfcfa;border:1px dashed #18202647;border-radius:8px;min-height:260px;display:grid;position:relative;overflow:hidden}.photo-drop.has-photo{border-style:solid;border-color:#227e6f59}.photo-drop input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.photo-drop img{object-fit:contain;background:#111820;width:100%;height:100%;min-height:260px}.photo-preview-grid{background:#111820;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;padding:8px;display:grid}.photo-preview-grid figure{background:#0d141b;border-radius:7px;min-height:118px;position:relative;overflow:hidden}.photo-preview-grid img{object-fit:cover;width:100%;height:100%;min-height:118px}.photo-preview-grid figcaption{color:#fff;background:#182026b8;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800;position:absolute;bottom:7px;left:7px}.photo-drop>span{color:#59656d;place-items:center;gap:8px;display:grid}.photo-drop strong{color:#182026;font-size:16px}.photo-drop small,.field small{color:#657078;font-size:12px}.photo-drop b{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#182026db;border-radius:8px;align-items:center;gap:7px;max-width:calc(100% - 24px);min-height:34px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex;position:absolute;bottom:12px;right:12px;overflow:hidden}.photo-guidelines{color:#4d5961;background:#fbfcfa;border:1px solid #1820261f;border-radius:8px;flex-wrap:wrap;align-items:center;gap:7px;margin-top:-6px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.35;display:flex}.photo-guidelines strong{color:#174f44;align-items:center;gap:6px;display:inline-flex}.photo-guidelines b{color:#227e6f;font-weight:900}.voice-recorder{background:#fbfcfa;border:1px solid #1820261f;border-radius:8px;gap:12px;padding:13px;display:grid}.voice-recorder header,.record-actions,.consent-line{align-items:center;display:flex}.voice-recorder header{justify-content:space-between;gap:12px}.voice-recorder strong,.voice-recorder small{display:block}.voice-recorder strong{color:#34414a;font-size:13px;font-weight:900}.voice-recorder small,.voice-recorder p,.voice-file span{color:#657078;font-size:12px}.record-actions{flex-wrap:wrap;gap:8px}.record-button,.audio-upload,.icon-button{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;font-weight:900;display:inline-flex}.record-button{color:#fff;background:#227e6f;flex:128px}.record-button.recording{background:#e0563e}.audio-upload{color:#34414a;background:#eef1f0;flex:120px;font-size:13px;position:relative}.audio-upload input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.icon-button{color:#7d3c2e;background:#fff1ed;width:38px}.voice-file{gap:7px;display:grid}.voice-file audio{width:100%;height:36px}.voice-library{background:#f3faf7;border:1px solid #227e6f29;border-radius:8px;gap:10px;padding:10px;display:grid}.voice-library-head,.voice-profile,.voice-profile-create{align-items:center;display:flex}.voice-library-head{justify-content:space-between;gap:10px}.voice-library-head button,.voice-profile button,.voice-profile-create button{color:#174f44;cursor:pointer;background:#e8f4ef;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:32px;font-size:12px;font-weight:900;display:inline-flex}.voice-profile-list{gap:7px;display:grid}.voice-profile-list>button{color:#34414a;cursor:pointer;background:#fff;border:1px solid #1820261a;border-radius:8px;min-height:34px;font-size:12px;font-weight:900}.voice-profile-list>button.active,.voice-profile.active{background:#e8f4ef;border-color:#227e6f47}.voice-profile{background:#fff;border:1px solid #1820261a;border-radius:8px;gap:7px;padding:7px}.voice-profile>button:first-child{color:#34414a;background:0 0;flex:auto;justify-content:flex-start;min-width:0;padding:0 9px}.voice-profile b,.voice-profile small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.voice-profile small{color:#657078;font-size:11px}.voice-profile-create{gap:8px}.voice-profile-create input{color:#182026;background:#fff;border:1px solid #18202624;border-radius:8px;outline:none;flex:auto;min-width:0;height:36px;padding:0 10px}.voice-profile-create button{flex:none;padding:0 10px}.voice-profile-create button:disabled{cursor:not-allowed;opacity:.6}.consent-line{color:#48545c;gap:8px;font-size:12px;font-weight:800}.consent-line input{accent-color:#227e6f;width:16px;height:16px}.field{gap:7px;display:grid}.field span{color:#34414a;font-size:13px;font-weight:900}textarea,.field input,.field select{color:#182026;background:#fff;border:1px solid #18202624;border-radius:8px;outline:none;width:100%}textarea{resize:vertical;min-height:122px;padding:12px;line-height:1.6}.prompt-textarea{min-height:82px}.prompt-textarea:disabled{color:#67727a;background:#f3f5f2}.field input,.field select{height:38px;padding:0 10px}.template-row{flex-wrap:wrap;gap:7px;display:flex}.template-row button{color:#174f44;cursor:pointer;background:#e8f4ef;border:0;border-radius:8px;min-height:30px;padding:0 10px;font-size:12px;font-weight:900}textarea:focus,input:focus,select:focus,button:focus-visible{outline-offset:2px;outline:3px solid #227e6f40}.segmented{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.segmented button,.generate-button,.asset-links a{border:0;border-radius:8px;font-weight:900}.segmented button{color:#4f5b63;cursor:pointer;background:#eef1f0;height:40px}.segmented .active{color:#fff;background:#227e6f}.duration-note{color:#174f44;background:#e8f4ef;border:1px solid #227e6f2e;border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 12px;font-size:13px;font-weight:900;line-height:1.35;display:inline-flex}.duration-note.warn{color:#7d3c2e;background:#fff1ed;border-color:#e0563e47}.bgm-toggle{color:#4d5961;cursor:pointer;background:#fbfcfa;border:1px solid #1820261f;border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:9px;min-height:50px;padding:9px 12px;display:grid}.bgm-toggle.enabled{color:#174f44;background:#e8f4ef;border-color:#227e6f38}.bgm-toggle input{accent-color:#227e6f;width:16px;height:16px}.bgm-toggle strong,.bgm-toggle small{display:block}.bgm-toggle strong{font-size:13px}.bgm-toggle small{color:inherit;opacity:.82;margin-top:2px;font-size:12px}.advanced{background:#fbfcfa;border:1px solid #1820261a;border-radius:8px}.advanced summary{color:#34414a;cursor:pointer;align-items:center;gap:8px;min-height:42px;padding:0 12px;font-size:13px;font-weight:900;display:flex}.advanced .field{padding:0 12px 12px}.motion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 12px;display:grid}.advanced .motion-grid .field{padding:0}.advanced .compact-check{padding:0 12px 12px}.compact+.compact{padding-top:0}.generate-button{color:#fff;cursor:pointer;background:#e0563e;justify-content:center;align-items:center;gap:8px;height:48px;display:inline-flex}.generate-button:disabled{cursor:not-allowed;opacity:.68}.action-hint{color:#4d5961;justify-content:center;align-items:center;gap:6px;min-height:34px;font-size:12px;font-weight:800;display:inline-flex}.soft-warning,.error-text{border:1px solid #e0563e47;border-radius:8px;margin:0;padding:10px 11px;font-size:13px;line-height:1.45}.error-text{color:#9a392a;background:#fff1ed}.preview-panel{flex-direction:column;gap:14px;min-height:calc(100vh - 48px);display:flex}.video-stage{background:linear-gradient(130deg,#0a1016f0,#1c2c2bf0),#0a1016;border:1px solid #1820261a;border-radius:8px;place-items:center;min-height:580px;display:grid;overflow:hidden}.video-stage video{object-fit:contain;background:#000;width:100%;height:100%;max-height:78vh}.empty-state{color:#dde6e3;place-items:center;gap:12px;display:grid}.generation-state{color:#dde6e3;text-align:center;place-items:center;gap:13px;width:min(360px,100% - 32px);display:grid}.generation-state strong{font-size:18px}.progress-rail{background:#ffffff29;border-radius:999px;width:100%;height:8px;overflow:hidden}.progress-rail i{border-radius:inherit;background:#e0563e;height:100%;transition:width .26s;display:block}.empty-state p,.generation-state p{color:#aebfba}.status-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.status-strip span{color:#68747b;background:#fff;border:1px solid #1820261a;border-radius:8px;justify-content:center;min-height:40px;font-size:13px;font-weight:800}.status-strip .active{color:#7d3c2e;background:#fff1ed;border-color:#e0563e38}.status-strip .done{color:#174f44;background:#e8f4ef;border-color:#227e6f38}.result-meta{background:#ffffffeb;border:1px solid #1820261a;border-radius:8px;gap:11px;padding:14px;display:grid}.result-meta>div:first-child{justify-content:space-between;gap:12px;display:flex}.result-meta strong,.result-meta span{display:block}.result-meta span,.result-meta p{color:#5c6870;line-height:1.55}.asset-links{flex-wrap:wrap;gap:8px;display:flex}.asset-links a,.asset-links button{color:#174f44;cursor:pointer;background:#e8f4ef;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-weight:900;text-decoration:none;display:inline-flex}.history-panel{background:#ffffffeb;border:1px solid #1820261a;border-radius:8px;gap:10px;padding:14px;display:grid}.history-panel header,.history-item,.history-actions{align-items:center;display:flex}.history-panel header{justify-content:space-between;gap:12px}.history-panel header strong,.history-panel header span{display:block}.history-panel header span,.history-content span,.history-content small,.history-empty{color:#5c6870;font-size:12px}.history-panel header button,.history-actions a,.history-actions button{color:#174f44;cursor:pointer;background:#e8f4ef;border:0;border-radius:8px;justify-content:center;align-items:center;min-height:32px;padding:0 9px;font-size:12px;font-weight:900;text-decoration:none;display:inline-flex}.history-list{gap:8px;display:grid}.history-item{background:#fbfcfa;border:1px solid #1820261a;border-radius:8px;gap:10px;padding:10px}.history-item.done{background:#f3faf7;border-color:#227e6f2e}.history-item.failed{background:#fff7f3;border-color:#e0563e33}.history-icon{color:#174f44;background:#e8f4ef;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;display:grid}.history-content{flex:auto;min-width:0}.history-content strong,.history-content span,.history-content small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.history-content strong{font-size:13px}.history-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px}.history-empty{align-items:center;gap:7px;min-height:34px;display:inline-flex}.process-list{gap:8px;display:grid}.process-step{color:#174f44;background:#eef7f3;border:1px solid #227e6f2e;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;display:grid}.process-step.failed{color:#7d3c2e;background:#fff1ed;border-color:#e0563e3d}.process-step.running{color:#7d3c2e;background:#fff7f3;border-color:#e0563e3d}.process-step strong,.process-step span{display:block}.process-step strong{font-size:13px}.process-step span{color:inherit;opacity:.86;margin-top:2px;font-size:12px}.process-step a{color:inherit;font-size:12px;font-weight:900;text-decoration:none}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1080px){.studio{grid-template-columns:1fr}.control-panel,.preview-panel{min-height:auto}}@media (width<=680px){.app-shell{padding:12px}.control-panel{padding:14px}.status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.video-stage{min-height:300px}.result-meta>div:first-child{display:grid}.history-item{grid-template-columns:auto minmax(0,1fr);display:grid}.history-actions{grid-column:1/-1;justify-content:flex-start}.motion-grid{grid-template-columns:1fr}.voice-profile-create{display:grid}.auth-panel.signed-in,.auth-otp-row{grid-template-columns:1fr}.auth-logout{width:100%}}body{color:#e7faff;background:#061722}button,label,summary,select{-webkit-tap-highlight-color:transparent}.app-shell{isolation:isolate;color:#e7faff;background:radial-gradient(circle at 17% 14%,#66f5e83d,#0000 28%),radial-gradient(circle at 73% 6%,#76e8cd33,#0000 26%),radial-gradient(circle at 88% 78%,#408ed333,#0000 28%),linear-gradient(130deg,#071823 0%,#0b2130 45%,#06121c 100%);position:relative;overflow:hidden}.app-shell:before,.app-shell:after{z-index:-1;content:"";pointer-events:none;position:fixed;inset:0}.app-shell:before{opacity:.46;background-color:#0000;background-image:linear-gradient(#7defe614 1px,#0000 1px),linear-gradient(90deg,#7defe614 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:72px 72px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;-webkit-mask-image:linear-gradient(#0000,#000 24% 82%,#0000);mask-image:linear-gradient(#0000,#000 24% 82%,#0000)}.app-shell:after{opacity:.72;background:radial-gradient(circle at 8% 34%,#89ffe6cc 0 2px,#0000 3px),radial-gradient(circle at 28% 12%,#64d7ffb3 0 1px,#0000 2px),radial-gradient(circle at 45% 62%,#74fbd7b8 0 2px,#0000 3px),radial-gradient(circle at 71% 28%,#61c8f5a3 0 1px,#0000 2px),radial-gradient(circle at 91% 48%,#86ffe6b8 0 2px,#0000 3px),linear-gradient(25deg,#0000 36%,#5ce0ff24 36.2%,#0000 36.6%),linear-gradient(164deg,#0000 61%,#64ffd51c 61.2%,#0000 61.6%)}.studio{position:relative}.control-panel,.preview-panel>*,.auth-panel,.result-meta,.history-panel,.voice-recorder,.advanced,.bgm-toggle,.runtime-note,.readiness-grid span,.history-item,.process-step{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(145deg,#102633d6,#081622c2);border-color:#91f4e82e;box-shadow:0 22px 70px #00000052,inset 0 1px #d2fffa14}.control-panel{background:linear-gradient(145deg,#0f2633e0,#06131ed1),#06131edb;border-color:#8bf5ec33;box-shadow:0 28px 90px #00000061,0 0 0 1px #84ffee0a}.preview-panel{color:#e7faff}.brand-row{padding-bottom:4px}.brand-mark{color:#071823;background:radial-gradient(circle at 68% 26%,#eaffff 0 12%,#0000 13%),linear-gradient(135deg,#7ff4e6,#5eb9ff);box-shadow:0 0 30px #77f4e857}h1{color:#f3feff;text-shadow:0 0 26px #7df4ee2e}.brand-row p,.auth-modal-header small,.photo-drop small,.field small,.voice-recorder small,.voice-recorder p,.voice-file span,.history-panel header span,.history-content span,.history-content small,.history-empty,.result-meta span,.result-meta p,.action-hint,.readiness-grid small{color:#9bb5bf}.runtime-note{color:#c4f9f4;background:#0d2331b8}.runtime-note.ok,.readiness-grid .ready,.auth-panel.signed-in,.status-strip .done,.history-item.done,.process-step{color:#b8fff4;background:linear-gradient(145deg,#184e52ad,#09222eb8);border-color:#71ffe152}.runtime-note.warn,.soft-warning,.duration-note.warn,.status-strip .active,.process-step.running{color:#ffe5b0;background:linear-gradient(145deg,#513918a3,#1f1d18b8);border-color:#ffc66057}.error-text,.auth-error,.history-item.failed,.process-step.failed{color:#ffd8d0;background:linear-gradient(145deg,#562224b3,#1f1317c2);border-color:#ff7c6b57}.readiness-grid span,.photo-drop,.voice-library,.voice-profile,.advanced,.bgm-toggle,.history-item,.result-meta,.history-panel{background:#091c2aad;border-color:#91f4e829}.readiness-grid b,.voice-recorder strong,.field span,.advanced summary,.photo-drop strong,.history-content strong,.result-meta strong,.voice-profile b,.bgm-toggle strong{color:#e9feff}.auth-modal-backdrop{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:radial-gradient(circle at 50% 24%,#78ffe838,#0000 30%),radial-gradient(circle at 78% 70%,#5eb9ff29,#0000 25%),#030a10c2}.auth-modal-backdrop:before{content:"";pointer-events:none;background-color:#0000;background-image:linear-gradient(#86f4e814 1px,#0000 1px),linear-gradient(90deg,#86f4e814 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:56px 56px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0;-webkit-mask-image:radial-gradient(circle,#000,#0000 72%);mask-image:radial-gradient(circle,#000,#0000 72%)}.auth-modal-card{background:linear-gradient(145deg,#122f3ef0,#05131feb),#081622eb;border:1px solid #89ffee42;width:min(510px,100%);position:relative;box-shadow:0 30px 120px #0000008f,0 0 80px #66f5e829}.auth-modal-card:before{border-radius:inherit;content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#89ffee2e,#0000);height:1px;position:absolute;inset:0}.auth-modal-header h2{color:#f3feff;font-size:24px}.auth-tabs button,.oauth-row button,.email-auth-button,.auth-logout,.auth-otp-row button,.record-button,.audio-upload,.icon-button,.voice-library-head button,.voice-profile button,.voice-profile-create button,.template-row button,.segmented button,.generate-button,.asset-links a,.asset-links button,.history-panel header button,.history-actions a,.history-actions button,.photo-drop b{color:#cdfcf7;background:#12303fc7;border:1px solid #85f4e82e;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;box-shadow:inset 0 1px #dcfffc14}.auth-tabs button:hover,.oauth-row button:hover,.auth-otp-row button:hover,.record-button:hover,.audio-upload:hover,.voice-library-head button:hover,.voice-profile button:hover,.voice-profile-create button:hover,.template-row button:hover,.segmented button:hover,.asset-links a:hover,.asset-links button:hover,.history-panel header button:hover,.history-actions a:hover,.history-actions button:hover{border-color:#88ffed75;transform:translateY(-1px);box-shadow:0 10px 26px #00000038,0 0 22px #73f5e81f}.auth-tabs .active,.email-auth-button,.record-button,.segmented .active{color:#06202a;background:linear-gradient(135deg,#8af7e7,#66c7ff);border-color:#91ffedbd;box-shadow:0 0 28px #75efe742}.generate-button{color:#071923;background:linear-gradient(135deg,#ffe08a,#7df6e7);border-color:#ffde84c7;box-shadow:0 0 38px #ffd06029,0 0 28px #75efe724}.record-button.recording{color:#fff8f4;background:linear-gradient(135deg,#ff7d67,#b84c6a);border-color:#ff7e6994}.oauth-row button,.auth-otp-row button,.auth-logout,.template-row button,.asset-links a,.asset-links button,.history-panel header button,.history-actions a,.history-actions button{color:#bffcf5;background:#153c48b3}.field input,.field select,textarea,.auth-otp-row input,.key-fallback input,.voice-profile-create input{color:#e7faff;background:#04121dc7;border-color:#91f4e833;box-shadow:inset 0 1px #dcfffc0f}.field input::placeholder,textarea::placeholder,.auth-otp-row input::placeholder,.key-fallback input::placeholder,.voice-profile-create input::placeholder{color:#bedae19e}textarea:focus,input:focus,select:focus,button:focus-visible{outline-offset:2px;border-color:#7ef5e880;outline:2px solid #7ef5e88c}.photo-drop{background:linear-gradient(#91f4e80d 1px,#0000 1px) 0 0/30px 30px,linear-gradient(90deg,#91f4e80d 1px,#0000 1px) 0 0/30px 30px,#05131fa8;border-style:dashed;border-color:#91f4e847}.photo-drop.has-photo{border-color:#7fffe58a}.photo-drop>span{color:#9bb5bf}.photo-drop img,.photo-preview-grid,.photo-preview-grid figure{background:#030b12}.photo-preview-grid figcaption{color:#ddfffb;background:#04121dc2}.photo-guidelines{color:#a9c4cc;background:#061622a3;border-color:#91f4e838;box-shadow:inset 0 1px #dcfffc12}.photo-guidelines strong{color:#ddfffb}.photo-guidelines b{color:#31e8ff;text-shadow:0 0 12px #31e8ff6b}.voice-library{background:#0c2b38a3;border-color:#7df5e838}.voice-profile-list>button,.voice-profile{color:#dffcff;background:#061622a3;border-color:#91f4e824}.voice-profile-list>button.active,.voice-profile.active,.bgm-toggle.enabled,.duration-note{color:#bcfff3;background:#174c4e94;border-color:#7df5e852}.consent-line{color:#b5ccd3}.consent-line input,.bgm-toggle input{accent-color:#7df6e7}.advanced{overflow:hidden}.advanced summary{background:linear-gradient(90deg,#7df5e814,#0000)}.video-stage{background:radial-gradient(circle,#6ff4e824,#0000 28%),linear-gradient(#91f4e80f 1px,#0000 1px) 0 0/44px 44px,linear-gradient(90deg,#91f4e80f 1px,#0000 1px) 0 0/44px 44px,linear-gradient(145deg,#07141f,#030b12);border-color:#91f4e82e;position:relative;box-shadow:inset 0 0 80px #6ff4e80f,0 28px 90px #0000005c}.video-stage:before{content:"";pointer-events:none;border:1px solid #91f4e81a;border-radius:8px;position:absolute;inset:18px}.empty-state,.generation-state{color:#ddfffb}.progress-rail{background:#9bd8e029}.progress-rail i{background:linear-gradient(90deg,#7df6e7,#ffe08a);box-shadow:0 0 18px #7df6e766}.status-strip span{color:#9bb5bf;background:#081a27b8;border-color:#91f4e824}.history-icon{color:#071923;background:linear-gradient(135deg,#8af7e7,#66c7ff)}.history-item.failed .history-icon{color:#fff8f4;background:linear-gradient(135deg,#ff7d67,#b84c6a)}.process-step.skipped{color:#9bb5bf;background:#081a2794;border-color:#91f4e81f}.key-fallback{border-top-color:#91f4e81f}.key-fallback summary{color:#b7f5ee}button:disabled,.oauth-row button:disabled,.auth-otp-row button:disabled,.email-auth-button:disabled,.generate-button:disabled{color:#d0e7ec94;box-shadow:none;background:#24343e80;border-color:#9abbc21f;transform:none}@media (width<=680px){.app-shell:before{background-size:48px 48px}.auth-modal-card{width:min(100%,430px)}.auth-modal-header h2{font-size:21px}}.top-auth-bar{z-index:4;justify-content:flex-end;align-items:center;gap:12px;max-width:1440px;min-height:44px;margin:0 auto 16px;display:flex;position:relative}.top-login-steps{color:#c7f8ff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);white-space:normal;background:#0614228f;border:1px solid #81f4eb2e;border-radius:999px;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;max-width:min(100%,720px);padding:9px 13px;font-size:12px;font-weight:800;line-height:1.25;display:inline-flex;box-shadow:inset 0 1px #defffc12,0 12px 34px #0003}.top-login-steps b{color:#31e8ff;text-shadow:0 0 14px #31e8ff73;font-size:13px;line-height:1}.top-login-button,.top-account-card,.top-logout-button{color:#ddfdff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a1c2abd;border:1px solid #81f4eb47;align-items:center;display:inline-flex;box-shadow:0 14px 42px #00000047,inset 0 1px #defffc14}.top-login-button{cursor:pointer;border-radius:999px;justify-content:center;gap:8px;min-width:112px;min-height:42px;padding:0 18px;font-size:14px;font-weight:900}.top-login-button:hover,.top-logout-button:hover{background:#163c4adb;border-color:#81f4eb9e;box-shadow:0 16px 46px #00000057,0 0 24px #50d7e72e}.top-account-card{border-radius:999px;gap:10px;max-width:min(100%,560px);min-height:46px;padding:7px 8px 7px 13px}.top-account-card>span{min-width:0;display:grid}.top-account-card strong,.top-account-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.top-account-card strong{color:#f4ffff;font-size:13px}.top-account-card small{color:#a8c4ca;font-size:11px}.top-logout-button{cursor:pointer;border-radius:50%;justify-content:center;width:34px;height:34px}.auth-login-backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#74d5e614 1px,#0000 1px) 0 0/54px 54px,linear-gradient(90deg,#74d5e614 1px,#0000 1px) 0 0/54px 54px,linear-gradient(135deg,#050c18db,#111224e6);padding:28px}.auth-login-backdrop:before{display:none}.auth-login-page{color:#f2f7ff;background:linear-gradient(90deg,#25bcee0d 0 1px,#0000 1px) 0 0/38px 38px,linear-gradient(#25bcee0b 0 1px,#0000 1px) 0 0/38px 38px,#282940;border:1px solid #47ceec38;border-radius:0;grid-template-columns:minmax(320px,1fr) minmax(380px,.92fr);align-items:center;gap:86px;width:min(1500px,100vw - 56px);min-height:610px;max-height:calc(100vh - 56px);padding:70px 78px;display:grid;position:relative;overflow:auto;box-shadow:0 34px 120px #00000094,inset 0 -2px #20bdf0}.auth-login-page:before{content:"";background:linear-gradient(90deg,#26bdf1,#f2d378 36%,#26bdf1);height:2px;position:absolute;bottom:0;left:0;right:0}.auth-modal-close{z-index:2;color:#dbe8ff;cursor:pointer;background:#0b0f1f4d;border:1px solid #9eb1d347;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:absolute;top:22px;right:22px}.auth-modal-close:hover{color:#fff;background:#172c459e;border-color:#29beefb3}.auth-login-copy{align-content:center;gap:28px;min-width:0;display:grid}.auth-login-copy h2{color:#fff;letter-spacing:0;text-shadow:3px 3px #25bdf147;margin:0 0 74px;font-size:46px;line-height:1}.auth-login-copy p{color:#a9afcf;letter-spacing:0;max-width:690px;font-size:30px;line-height:1.58}.auth-create-account{color:#051421;cursor:pointer;background:#27bdf1;border:0;border-radius:999px;justify-self:start;min-width:284px;min-height:64px;margin-top:6px;padding:0 28px;font-size:28px;font-weight:700;box-shadow:0 16px 38px #27bdf13d}.auth-create-account:hover,.email-provider-button:hover{transform:translateY(-1px);box-shadow:0 18px 44px #27bdf14d}.auth-login-actions{align-content:center;gap:22px;min-width:0;display:grid}.email-provider-button,.oauth-provider-button{letter-spacing:0;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:22px;width:100%;min-height:78px;font-size:30px;font-weight:700;transition:transform .16s,box-shadow .16s,filter .16s;display:inline-flex}.email-provider-button{color:#061322;background:#27bdf1}.github-auth{color:#fff;background:#000;box-shadow:0 18px 40px #00000047}.google-auth{color:#12151f;background:#fff;box-shadow:0 18px 40px #0000002e}.oauth-provider-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.google-g{color:#0000;background:conic-gradient(from -45deg,#4285f4,#34a853,#fbbc05,#ea4335,#4285f4);-webkit-background-clip:text;background-clip:text;place-items:center;width:30px;height:30px;font-size:38px;font-weight:900;line-height:1;display:inline-grid}.auth-divider{color:#a9afcf;letter-spacing:0;grid-template-columns:minmax(48px,1fr) auto minmax(48px,1fr);align-items:center;gap:28px;font-size:28px;display:grid}.auth-divider span{background:#b3bbd69e;height:1px}.auth-divider b{font-weight:400}.remember-row{color:#a9afcf;cursor:pointer;align-items:center;gap:18px;width:max-content;margin-top:8px;font-size:26px;display:inline-flex}.remember-row input{accent-color:#27bdf1;width:35px;height:35px;margin:0}.auth-email-panel{background:#0c102061;border:1px solid #27bdf138;order:-1;gap:18px;margin-top:4px;padding:24px;display:grid;box-shadow:inset 0 1px #ffffff0f}.email-code-auth,.password-auth-details{gap:10px;display:grid}.auth-email-heading{color:#ecfbff;gap:4px;display:grid}.auth-email-heading strong{font-size:20px}.auth-email-heading small{color:#a9afcf;font-size:14px}.auth-otp-row.otp-only{grid-template-columns:minmax(0,1fr) minmax(128px,.42fr)}.auth-otp-row.register-otp-row{grid-template-columns:minmax(150px,.58fr) minmax(0,1fr)}.auth-help-text{color:#a9afcf;font-size:12px;line-height:1.45}.auth-notice{color:#c9fbff;background:#14485673;border:1px solid #27bdf13d;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;font-weight:800;line-height:1.45}.password-auth-details{border-top:1px solid #27bdf129;padding-top:8px}.password-auth-details summary{color:#a9cfe2;cursor:pointer;font-size:12px;font-weight:800}.password-auth-details .field{margin-top:8px}.auth-login-page .auth-tabs,.auth-login-page .auth-form,.auth-login-page .auth-otp-row{gap:12px}.auth-method-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-login-page .auth-tabs button,.auth-login-page .email-auth-button,.auth-login-page .auth-otp-row button{border-radius:999px;min-height:42px}.auth-login-page .auth-email-panel .auth-tabs button,.auth-login-page .auth-email-panel .email-auth-button,.auth-login-page .auth-email-panel .auth-otp-row button{min-height:50px;font-size:15px}.auth-login-page .auth-email-panel .field{gap:8px}.auth-login-page .field span{color:#c9d9ec;font-size:14px}.auth-login-page .auth-email-panel .field input,.auth-login-page .auth-email-panel .auth-otp-row input{height:50px;font-size:16px}.auth-login-page .auth-error{font-size:14px}.auth-login-page.auth-email-expanded{gap:64px;padding-top:48px;padding-bottom:38px}.auth-email-expanded .auth-login-copy{gap:22px}.auth-email-expanded .auth-login-copy h2{margin-bottom:38px}.auth-email-expanded .auth-login-copy p{font-size:26px}.auth-email-expanded .auth-login-actions{gap:12px}.auth-email-expanded .email-provider-button{display:none}.auth-email-expanded .email-provider-button,.auth-email-expanded .oauth-provider-button{min-height:48px;font-size:17px}.auth-email-expanded .oauth-provider-button{justify-self:center;width:min(100%,520px)}.auth-email-expanded .auth-divider{font-size:17px}.auth-email-expanded .remember-row{margin-top:0;font-size:15px}.auth-email-expanded .remember-row input{width:22px;height:22px}@media (width<=1120px){.auth-login-page{grid-template-columns:1fr;gap:36px;min-height:0;padding:58px 42px 44px}.auth-login-copy{gap:18px}.auth-login-copy h2{margin-bottom:16px}.auth-login-copy p{max-width:none;font-size:22px}.auth-create-account{min-height:54px;font-size:20px}.email-provider-button,.oauth-provider-button{min-height:62px;font-size:22px}.auth-email-expanded .oauth-provider-button{min-height:46px;font-size:16px}.auth-divider,.remember-row{font-size:20px}}@media (width<=680px){.top-auth-bar{flex-wrap:wrap;justify-content:center;gap:8px;min-height:40px;margin-bottom:12px}.top-login-steps{border-radius:18px;justify-content:center;width:100%;padding:8px 10px;font-size:11px}.top-login-button{min-width:92px;min-height:38px;padding:0 13px}.top-account-card{max-width:100%}.auth-login-backdrop{padding:0}.auth-login-page{border-left:0;border-right:0;width:100%;min-height:100vh;max-height:100vh;padding:70px 18px 28px}.auth-modal-close{top:16px;right:16px}.auth-login-copy h2{font-size:34px}.auth-login-copy p{font-size:17px;line-height:1.55}.auth-create-account{width:100%;min-width:0;min-height:50px;font-size:18px}.email-provider-button,.oauth-provider-button{gap:12px;min-height:56px;padding:0 16px;font-size:17px}.auth-divider{gap:16px;font-size:16px}.remember-row{font-size:16px}.remember-row input{width:25px;height:25px}.auth-email-panel{padding:18px}.auth-login-page .auth-otp-row{grid-template-columns:1fr}.auth-login-page .auth-email-panel .field input,.auth-login-page .auth-email-panel .auth-otp-row input{height:46px;font-size:15px}}
