:root{color-scheme:light;--ink:#081b39;--mid:#586e91;--blue:#0577f9;--sky:#12b5f4;--pale:#eef8ff;--line:#d4e9fd;--white:#fff;--shadow:0 11px 30px rgba(19,99,180,.075);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#ecf7ff;color:var(--ink)}body{-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92cdff;outline-offset:1px}
#app{max-width:600px;margin:0 auto;min-height:100dvh;background:linear-gradient(140deg,#fbfdff 10%,#eaf7ff 63%,#f8fcff 100%);position:relative;padding-bottom:calc(94px + env(safe-area-inset-bottom));box-shadow:0 0 80px rgba(4,80,174,.10)}body.is-auth #app{padding-bottom:0}
.boot{height:90dvh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--mid);flex-direction:column}.spinner{width:32px;height:32px;border:3px solid #b8ddf9;border-top-color:#007cf7;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.pad{padding:22px 20px 30px}.scrollArea{overflow:auto}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brandLogo{width:51px;height:51px;object-fit:cover;border-radius:15px;box-shadow:0 3px 10px rgba(8,75,153,.13)}.brandTitle{font-weight:850;font-size:15px;letter-spacing:-.55px;white-space:nowrap}.brandTitle b{background:linear-gradient(110deg,#00b6ef,#0c64e8);background-clip:text;-webkit-background-clip:text;color:transparent}.brandSubtitle{font-size:11px;color:var(--mid);margin-top:3px}.top{padding:calc(env(safe-area-inset-top) + 14px) 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:5;background:rgba(249,253,255,.95);backdrop-filter:blur(15px);border-bottom:1px solid #e5f2ff}.topCompact{padding:calc(env(safe-area-inset-top) + 15px) 20px 12px}.smallIcon{width:42px;height:42px;border-radius:14px;background:#f4faff;border:1px solid #d8eafc;color:#047af7;font-size:22px;display:grid;place-items:center}.eyebrow{font-size:10px;color:#097be4;font-weight:850;letter-spacing:2px;text-transform:uppercase}
h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.08;letter-spacing:-1px;margin-bottom:10px}h2{font-size:21px;letter-spacing:-.6px;margin:0}h3{font-size:16px;letter-spacing:-.35px;margin:0}p{color:var(--mid);line-height:1.5}small,.hint{color:var(--mid);font-size:12px}.muted{color:var(--mid)}.sectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 13px}.sectionHead button{border:0;background:none;color:var(--blue);font-size:13px;font-weight:700}.card,.formCard,.projectCard,.tool,.mini{background:rgba(255,255,255,.86);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:21px}.card{padding:18px}.hero{position:relative;overflow:hidden;border-radius:26px;min-height:270px;padding:22px 18px;background:radial-gradient(circle at 82% 27%,rgba(12,135,251,.18),transparent 39%),linear-gradient(115deg,#fff 0%,#edf8ff 48%,#cbeaff 100%);border:1px solid #daedff}.hero h1{font-size:30px;max-width:245px;margin:11px 0}.hero h1 span{color:#058cf4}.hero p{font-size:13px;max-width:220px;margin:0}.hero .eyebrow{font-size:9px}.heroTag{margin-top:16px;display:inline-flex;padding:8px 12px;border:1px solid #b0dcff;border-radius:50px;color:#0787ea;font-size:11px;font-weight:760;background:#ffffffb5}
.ctaCard{width:100%;padding:18px 16px;text-align:left;display:flex;gap:14px;align-items:center;border-radius:21px;background:linear-gradient(120deg,#f0faff,#d5efff);border:1px solid #89c7ff;color:var(--ink);box-shadow:0 10px 25px #077dec11;margin-top:13px}.plusBox{height:54px;width:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#25bdfe,#0665f7);color:white;font-size:32px;box-shadow:0 5px 15px #06a1fa2d}.ctaCard .copy{flex:1}.ctaCard strong{display:block;font-size:18px;margin-bottom:4px}.ctaCard small{font-size:11px}.arrow{color:#0785f6;font-size:24px}
.projectCard{width:100%;display:flex;gap:14px;text-align:left;align-items:center;padding:11px;background:white;color:var(--ink)}.thumbnail{width:122px;aspect-ratio:1.35;border-radius:14px;background:linear-gradient(140deg,#0c63a7,#36bfec);object-fit:cover;flex-shrink:0}.projectInfo{flex:1;min-width:0}.projectInfo strong{display:block;font-size:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.projectInfo small{display:block;margin:5px 0}.progress{height:7px;background:#dbe9f7;border-radius:12px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#0976fc,#08c1f5);border-radius:12px}.tags{display:flex;gap:7px;flex-wrap:wrap}.tag,.pill{border-radius:50px;padding:6px 9px;color:#1170c7;background:#eaf6ff;font-size:11px;font-weight:700}
.tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool{border-radius:17px;text-align:left;padding:16px;min-height:97px;color:var(--ink)}.tool .toolIcon{font-size:25px;display:block;margin-bottom:8px}.tool strong{font-size:13px}.tool small{display:block;margin-top:4px}.tools .tool:last-child{grid-column:auto}
.nav{position:fixed;bottom:0;width:min(100%,600px);height:calc(77px + env(safe-area-inset-bottom));padding:9px 12px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:rgba(249,253,255,.96);border-top:1px solid #d5e8fa;box-shadow:0 -8px 30px #006fcc12;backdrop-filter:blur(15px);z-index:10;border-radius:19px 19px 0 0}.nav button{border:0;background:transparent;color:#6d83a5;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;font-size:10px}.nav button .ico{font-size:24px}.nav button.active{color:#0277eb;font-weight:800}.nav .navCreate .ico{color:white;background:linear-gradient(125deg,#2cc7fa,#075ced);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:32px;box-shadow:0 3px 17px #098cf44d;margin-top:-16px}
.form{display:flex;flex-direction:column;gap:8px}.field{width:100%;border:1px solid #c8e4fb;border-radius:15px;padding:15px 14px;background:#fafdff;min-height:51px;color:var(--ink);font-size:15px}.field::placeholder{color:#8ba4bf}textarea.field{min-height:138px;resize:vertical;line-height:1.5}.label{font-size:13px;font-weight:800;margin-top:13px;margin-bottom:3px}.pwbox{position:relative}.pwbox input{padding-right:62px}.eye{position:absolute;right:8px;top:7px;bottom:7px;padding:0 12px;border:0;background:#eaf5ff;border-radius:13px;color:var(--blue)}.btn{background:linear-gradient(105deg,#0baeff,#075ef2);border:0;border-radius:17px;padding:16px 18px;color:#fff;font-size:15px;font-weight:850;box-shadow:0 8px 19px #027cf32b}.btn.outline{color:#0673e4;border:1px solid #9fd0ff;background:white;box-shadow:none}.btn.ghost{color:var(--blue);background:#edf7ff;box-shadow:none}.btn.danger{background:#ffebeb;color:#a11937;box-shadow:none}.btn.sm{padding:10px 13px;border-radius:12px;font-size:12px}.btn.full{width:100%}.btnrow{display:flex;gap:9px;flex-wrap:wrap}.btnrow>.btn{flex:1}.hint a,a{color:#047af1}.tiny{font-size:11px}.empty{text-align:center;border:1px dashed #9bcbf4;padding:30px;border-radius:20px;background:#ffffffac;color:var(--mid)}
.authWrap{padding:calc(42px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 80% 10%,#b9e2ff94,transparent 42%),linear-gradient(165deg,#fafdff,#e8f6ff)}.authHead{text-align:center;margin-bottom:22px;max-width:430px}.authLogo{width:104px;height:104px;object-fit:cover;border-radius:50%;border:4px solid #b6deff;box-shadow:0 12px 32px #087de329;margin-bottom:14px}.authHead h1{font-size:24px;margin-bottom:5px}.authHead p{font-size:13px}.authCard{background:rgba(255,255,255,.9);border:1px solid #c8e5ff;border-radius:26px;padding:23px 19px;width:100%;max-width:430px;box-shadow:0 20px 55px #006bd91b}.authCard h2{text-align:center;font-size:25px;margin-bottom:6px}.authCard>p{text-align:center;font-size:13px;margin:0 0 18px}.authUnder{text-align:center;margin:17px 0 0;font-size:13px}.textLink{background:none;border:0;color:var(--blue);font-size:13px;font-weight:750;padding:2px}.authFooter{margin-top:24px;color:#7192b4;font-size:11px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.stat{padding:14px 10px;background:#fff;border:1px solid #daecfd;border-radius:17px;text-align:center}.stat strong{font-size:19px;display:block;color:#067aed}.stat small{font-size:10px}.studioSteps{display:flex;gap:5px;overflow-x:auto;margin:16px 0 17px;padding-bottom:7px}.step{border:1px solid #c9e5fd;border-radius:25px;background:white;color:#577b9c;white-space:nowrap;font-size:11px;padding:7px 12px}.step.active{background:#087cf6;color:white;border-color:#087cf6}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.formGrid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:760}.formGrid select{width:100%;border:1px solid #b7dcfa;border-radius:13px;padding:13px 8px;background:white;color:var(--ink);font-size:12px;min-width:0}
.assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.assetCard{border-radius:13px;border:1px solid #c8e3fc;background:white;overflow:hidden;position:relative}.assetCard img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.assetCard span{display:block;font-size:10px;text-align:center;padding:6px}.assetCard .x{position:absolute;right:4px;top:4px;border:0;border-radius:50%;color:#254d74;background:#ffffffdc;width:24px;height:24px}.uploadTile{border:2px dashed #93cbff;background:#f1faff;border-radius:16px;min-height:108px;display:grid;place-content:center;text-align:center;color:#0578ec}.uploadTile b{font-size:31px}.uploadTile span{font-size:11px}.scene{padding:14px;background:white;border:1px solid #d1e7fc;border-radius:19px;margin:10px 0}.sceneTop{display:flex;justify-content:space-between;gap:12px;align-items:center}.sceneIndex{background:#e8f5ff;padding:7px 11px;border-radius:12px;color:#0975e8;font-size:12px;font-weight:900}.scene p{font-size:12px;line-height:1.4;margin:9px 0}.status{font-size:11px;font-weight:750;padding:5px 8px;border-radius:10px;background:#edf4fd;color:#4c7297}.status.completed{color:#137047;background:#dcfaeb}.status.failed{color:#a3243d;background:#ffe6eb}.status.processing,.status.queued{background:#d9f0ff;color:#026ad6}.sceneClip{width:100%;border-radius:13px;margin:10px 0;max-height:270px;background:#001b38}.userEmail{font-size:11px;color:#7892b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.divider{border:0;border-top:1px solid #d9ebfc;margin:23px 0}.notice{background:#fff9e9;border:1px solid #ffe0a1;color:#7d5800;border-radius:14px;padding:11px 13px;font-size:12px;line-height:1.5}.notice.info{background:#ecf7ff;color:#32638c;border-color:#b7ddfc}.tabBar{display:flex;gap:8px;margin-top:18px;overflow-x:auto}.tabBar button{border:0;background:#e7f4ff;color:#37698e;font-size:12px;padding:9px 14px;border-radius:50px}.tabBar button.active{background:#0879ee;color:#fff}.videoPrompt{font-family:inherit;min-height:95px!important}.flex{display:flex;align-items:center;gap:9px}.space{justify-content:space-between}.mt{margin-top:15px}.mt2{margin-top:25px}.mb{margin-bottom:14px}.footNote{font-size:11px;margin-top:16px;color:#6d89a6}#toast{position:fixed;z-index:99;left:50%;bottom:calc(94px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:90%;min-width:200px;border-radius:15px;background:#0d3665;color:white;padding:12px 17px;text-align:center;box-shadow:0 8px 28px #1234;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px}#toast.show{opacity:1}
@media(min-width:700px){body{padding:20px}#app{border-radius:30px;min-height:calc(100dvh - 40px);overflow:hidden}.nav{bottom:20px;border-radius:20px}.authWrap{min-height:calc(100dvh - 40px)}}
@media(max-width:355px){.brandTitle{font-size:13px}.brandLogo{height:43px;width:43px}.formGrid{grid-template-columns:1fr}.thumbnail{width:96px}.hero{min-height:250px}.hero h1{font-size:27px}}
