:root{font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Inter,system-ui,sans-serif;color:#f7f8fc;background:#080a10;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#080a10;--panel:#11141d;--line:rgba(255,255,255,.09);--muted:#a8afc0;--primary:#7758ff;--primary2:#9b85ff;--accent:#25d6a2;--danger:#ff6b79;--warning:#ffbd59}*{box-sizing:border-box}html{min-width:320px;background:var(--bg)}body{margin:0;min-width:320px;min-height:100dvh;background:radial-gradient(circle at 15% -10%,rgba(119,88,255,.22),transparent 32rem),radial-gradient(circle at 95% 15%,rgba(37,214,162,.08),transparent 28rem),var(--bg)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{width:min(100%,1180px);min-height:100dvh;margin:auto;padding:0 16px 36px}.site-header{display:flex;min-height:88px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.site-header h1{margin:3px 0 0;font-size:21px;letter-spacing:-.04em}.header-actions{position:relative;display:flex;gap:8px}.eyebrow{margin:0;color:var(--primary2);font-size:11px;font-weight:900;letter-spacing:.16em}.icon-button,.close-button{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:13px;background:#ffffff0a;color:#fff;font-size:20px;cursor:pointer}.connection-dot{position:absolute;top:-1px;right:-1px;width:9px;height:9px;border:2px solid var(--bg);border-radius:50%;background:var(--danger)}.connection-dot.is-connected{background:var(--accent)}.screen{width:100%;max-width:780px;margin:auto;padding:34px 0 24px}.card,.status-card,.lock-card{border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#171b26f7,#0e1119f7);box-shadow:0 22px 70px #00000038}.hero-panel{padding:8px 2px 30px}.hero-badge,.live-badge,.scene-count{display:inline-flex;padding:7px 10px;border:1px solid rgba(119,88,255,.35);border-radius:999px;background:#7758ff1f;color:#c9bdff;font-size:11px;font-weight:900;letter-spacing:.08em}.hero-panel h2,.review-heading h2,.completion-heading h2,.status-card h2{margin:16px 0 12px;font-size:clamp(32px,10vw,56px);line-height:1.08;letter-spacing:-.06em}.hero-panel p,.review-heading p,.completion-heading p,.status-card>p:last-of-type{margin:0;color:var(--muted);font-size:16px;line-height:1.65}.upload-form{padding:22px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.section-heading>span{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:var(--primary);font-weight:900}.section-heading h3,.card h3{margin:0;font-size:19px;letter-spacing:-.03em}.section-heading p,.privacy-note{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.form-section-heading{margin-top:30px}.drop-zone{display:flex;min-height:190px;padding:28px 18px;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1.5px dashed rgba(155,133,255,.48);border-radius:20px;background:#7758ff0e;text-align:center;cursor:pointer}.drop-zone.is-dragging{background:#7758ff24;transform:translateY(-2px)}.drop-zone.has-file{border-style:solid;border-color:#25d6a280;background:#25d6a212}.drop-zone span{color:var(--muted);font-size:12px}.upload-icon{display:grid;width:52px;height:52px;place-items:center;border-radius:17px;background:#7758ff2e;font-size:27px}label{display:grid;gap:8px;color:#dde0e9;font-size:13px;font-weight:800}input,textarea{width:100%;padding:14px 15px;border:1px solid var(--line);border-radius:14px;outline:none;background:#04060ba3;color:#fff;font-size:16px;resize:vertical}input{min-height:52px}input:focus,textarea:focus{border-color:var(--primary2);box-shadow:0 0 0 4px #7758ff24}.description-field{position:relative}.character-count{position:absolute;right:12px;bottom:10px;color:#737a8b;font-size:11px}.primary-button,.secondary-button{display:inline-flex;min-height:52px;padding:0 20px;align-items:center;justify-content:center;border:0;border-radius:15px;text-decoration:none;font-weight:900;cursor:pointer}.primary-button{background:linear-gradient(135deg,var(--primary),#5d42e7);color:#fff;box-shadow:0 13px 35px #553ddb4d}.secondary-button{border:1px solid var(--line);background:#ffffff0e;color:#fff}.large-button{width:100%;min-height:58px;margin-top:24px;font-size:16px}.primary-button:disabled{opacity:.58;cursor:wait}.form-error,.field-error{margin:16px 0 0;padding:12px 14px;border:1px solid rgba(255,107,121,.24);border-radius:12px;background:#ff6b7914;color:#ffb0b9;font-size:13px;line-height:1.5}.privacy-note{text-align:center}.status-card{padding:34px 24px;text-align:center}.status-card h2{font-size:clamp(28px,8vw,44px)}.status-orbit{display:grid;width:78px;height:78px;margin:0 auto 18px;place-items:center;border:1px solid rgba(119,88,255,.35);border-radius:50%;background:#7758ff14;font-size:30px;font-weight:900}.status-orbit span{width:23px;height:23px;border:3px solid rgba(255,255,255,.22);border-top-color:var(--primary2);border-radius:50%;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-bar{height:7px;margin-top:28px;overflow:hidden;border-radius:99px;background:#ffffff12}.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--accent));transition:width .5s}.progress-card,.failure-card,.version-card,.script-preview,.result-summary,.script-card{margin-top:16px;padding:22px}.card-heading-row,.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.progress-list{display:grid;margin:24px 0 0;padding:0;list-style:none}.progress-list li{position:relative;display:grid;min-height:56px;grid-template-columns:36px 1fr 18px;align-items:center;gap:12px;color:#6f7585}.progress-marker{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#10131b;font-size:12px;font-weight:900}.progress-list .is-complete{color:#dfe3ed}.progress-list .is-complete .progress-marker{border-color:#25d6a24d;background:#25d6a21c;color:var(--accent)}.progress-list .is-active{color:#fff}.progress-list .is-active .progress-marker{background:#7758ff33;color:#d5cdff}.progress-list .is-active i{width:9px;height:9px;border-radius:50%;background:var(--primary2);box-shadow:0 0 0 6px #9b85ff1a}.poll-warning{display:flex;margin-top:18px;padding:12px;justify-content:space-between;border-radius:12px;background:#ffbd5917;color:#ffe0a8;font-size:12px}.poll-warning button{border:0;background:none;color:#fff;text-decoration:underline}.failure-card p{color:var(--muted)}pre{max-height:300px;padding:14px;overflow:auto;border-radius:12px;background:#07090e;color:#ccd2df;font-size:11px;white-space:pre-wrap}.review-heading,.completion-heading{text-align:center}.review-icon,.success-icon{display:grid;width:72px;height:72px;margin:0 auto 18px;place-items:center;border-radius:50%;background:#7758ff26;color:#cfc5ff;font-size:31px}.success-icon{background:#25d6a21f;color:var(--accent)}.version-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.version-tabs button{min-height:48px;border:1px solid var(--line);border-radius:13px;background:#ffffff0a;color:#aeb5c5;font-weight:900}.version-tabs button.is-active{border-color:#9b85ffb3;background:#7758ff33;color:#fff}.review-scene-list{display:grid;gap:14px;margin-top:16px}.review-scene-card{padding:18px}.scene-reference{display:flex;align-items:center;gap:12px}.scene-reference>span,.script-card li>span{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:var(--primary);font-weight:900}.scene-reference h3,.scene-reference p{margin:0}.scene-reference p{color:var(--muted);font-size:12px}.visual-summary{margin:16px 0;padding:13px;border-radius:13px;background:#ffffff0a}.visual-summary p{margin:5px 0 0;line-height:1.55}.visual-summary small{color:var(--primary2);font-weight:900}.editor-meta{margin-top:7px;text-align:right;color:#777f90;font-size:11px}.script-preview p:last-child,.full-script{color:#e5e7ee;line-height:1.75}.review-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;margin-top:18px;padding:12px 0;background:linear-gradient(transparent,var(--bg) 22%)}.result-layout{display:grid;gap:18px;margin-top:22px}.phone-frame{width:min(100%,380px);margin:auto;overflow:hidden;border:8px solid #191d28;border-radius:30px;background:#000;box-shadow:0 24px 70px #0006}.phone-frame video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:#000}.download-button{width:min(100%,380px);margin:14px auto 0}.result-summary>p:last-of-type{color:var(--muted);line-height:1.6}.result-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.result-summary dl div{padding:12px;border-radius:12px;background:#ffffff0a}dt{color:var(--muted);font-size:11px}dd{margin:5px 0 0;font-weight:900}.script-card ol{display:grid;gap:10px;padding:0;list-style:none}.script-card li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start}.script-card li p{margin:4px 0;line-height:1.55}.new-video-button{width:100%;margin-top:18px}.video-loading,.video-error{display:grid;min-height:500px;place-items:center;border:1px solid var(--line);border-radius:24px;background:#05070b;color:var(--muted);text-align:center;padding:20px}.lock-screen{display:grid;min-height:100dvh;padding:24px;place-items:center}.lock-card{width:min(100%,430px);padding:30px}.lock-card h1{margin:10px 0 12px;font-size:34px;letter-spacing:-.05em}.lock-card>p:not(.eyebrow){color:var(--muted);line-height:1.6}.lock-card form{display:grid;gap:16px;margin-top:24px}.lock-card .large-button{margin-top:2px}.lock-card small{display:block;margin-top:18px;color:#737a8b;text-align:center}.lock-mark{display:grid;width:62px;height:62px;margin-bottom:20px;place-items:center;border-radius:20px;background:#7758ff2e;color:#cabfff;font-size:25px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;padding:18px;place-items:center;background:#000000b8}.settings-modal{width:min(100%,460px);padding:22px;border:1px solid var(--line);border-radius:22px;background:#11141d}.settings-modal form{display:grid;gap:16px;margin-top:20px}footer{display:flex;padding-top:24px;justify-content:space-between;border-top:1px solid var(--line);color:#717889;font-size:11px}@media (min-width:760px){.app-shell{padding-inline:28px}.screen{padding-top:50px}.progress-list{grid-template-columns:repeat(2,1fr);gap:0 18px}.review-scene-list{grid-template-columns:repeat(2,1fr)}.result-layout{grid-template-columns:minmax(330px,420px) 1fr;align-items:start}.video-column{position:sticky;top:24px}}@media (prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}.render-speed-card,.bgm-volume-card{margin-top:16px;padding:22px}.render-speed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.render-speed-heading h3{margin:0}.render-speed-value{display:inline-flex;min-width:64px;padding:8px 12px;justify-content:center;border:1px solid rgba(155,133,255,.45);border-radius:999px;background:#7758ff24;color:#fff;font-weight:900}.render-speed-card input[type=range],.bgm-volume-card input[type=range]{min-height:auto;margin-top:20px;padding:0;border:0;background:transparent;accent-color:var(--primary)}.bgm-volume-card input[type=range]:disabled{opacity:.42;cursor:not-allowed}.render-speed-scale{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:11px}.render-speed-help{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.poll-warning{display:grid;gap:8px}.poll-warning strong{color:inherit}.upload-form-heading{margin-bottom:16px}.upload-form-heading h3,.bgm-upload-card h3{margin:0;font-size:19px;letter-spacing:-.03em}.upload-form-heading p,.bgm-upload-card p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.bgm-upload-card{display:grid;gap:14px;margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#ffffff09}.bgm-file-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.bgm-file-button{min-height:44px;padding-inline:16px}.bgm-file-name{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.bgm-remove-button{min-height:40px;padding:0 8px;border:0;background:transparent;color:#ffb0b9;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.scene-clip-shell{display:grid;gap:9px;margin:14px 0 18px}.scene-clip-load{width:100%;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid rgba(155,133,255,.28);border-radius:18px;background:linear-gradient(145deg,#7758ff24,#1c1832b8);color:#fff;font:inherit;font-weight:800;cursor:pointer}.scene-clip-load:disabled{cursor:progress;opacity:.72}.scene-clip-play{display:grid;place-items:center;width:48px;height:48px;padding-left:3px;border-radius:50%;background:#ffffff24;font-size:20px}.scene-clip-video{display:block;width:100%;max-height:360px;aspect-ratio:9 / 16;object-fit:contain;border-radius:18px;background:#07060b}.scene-clip-caption{color:var(--muted);font-size:12px;text-align:center}.scene-clip-error{display:grid;gap:8px;padding:12px;border-radius:12px;background:#ff526d1f;color:#ffd6de;font-size:13px}.scene-clip-error button{justify-self:start;border:0;background:transparent;color:#fff;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.scene-clip-unavailable{margin:14px 0 18px;padding:14px;border-radius:12px;background:#ffffff0d;color:var(--muted);font-size:13px}@media (min-width: 720px){.review-scene-card .scene-clip-shell{max-width:320px}.scene-clip-load{min-height:180px}}@media (max-width: 520px){.scene-clip-video{max-height:68vh}.scene-clip-load{min-height:132px}.bgm-file-row{grid-template-columns:1fr auto}.bgm-file-button{grid-column:1 / -1;width:100%}.bgm-file-name{white-space:normal}}
