:root{color-scheme:dark;--bg: #000;--surface: #121212;--surface-2: #1c1c1e;--line: #2c2c2e;--text: #fff;--muted: #8e8e93;--rec: #ff3b30;--radius: 12px}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{width:100%;height:100dvh;overflow:hidden;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Helvetica Neue,Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}button{font-family:inherit;color:inherit}#app{width:100%;height:100dvh;display:flex;justify-content:center;background:#000}.phone-shell{position:relative;width:100%;max-width:460px;height:100dvh;background:var(--bg);display:flex;flex-direction:column;overflow:hidden;contain:layout style paint}.top-hud{position:absolute;top:max(10px,env(safe-area-inset-top));left:16px;right:16px;z-index:20;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:1.25rem;font-weight:800;letter-spacing:-.03em;text-shadow:0 1px 6px rgba(0,0,0,.5)}.hud-actions{display:flex;align-items:center;gap:14px}.icon-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;padding:4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;filter:drop-shadow(0 1px 4px rgba(0,0,0,.55))}.icon-btn svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.text-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;padding:4px 0;font-size:.95rem;font-weight:600;cursor:pointer;text-shadow:0 1px 6px rgba(0,0,0,.5)}.text-btn.dim{color:var(--muted);text-shadow:none}.camera-stage{position:relative;flex:1;width:100%;background:#0a0a0a;overflow:hidden;border-radius:0 0 20px 20px;contain:layout style paint}.camera-video{width:100%;height:100%;object-fit:cover}.camera-video.mirrored{transform:scaleX(-1)}.camera-fallback-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:#0a0a0a;gap:12px}.camera-fallback-overlay h2{font-size:1.3rem;font-weight:700;letter-spacing:-.02em}.camera-fallback-overlay p{font-size:.95rem;color:var(--muted);max-width:290px;line-height:1.4;margin-bottom:8px}.rec-timer-pill{position:absolute;top:calc(max(10px,env(safe-area-inset-top)) + 44px);left:50%;translate:-50% 0;z-index:20;background:var(--rec);color:#fff;padding:4px 12px;border-radius:6px;font-size:.85rem;font-weight:700;font-variant-numeric:tabular-nums}.camera-controls{position:absolute;bottom:22px;left:28px;right:28px;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.camera-controls .side-left{justify-self:start}.camera-controls .side-right{justify-self:end}.shutter-outer{width:76px;height:76px;border-radius:50%;border:4px solid #fff;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.shutter-inner{width:58px;height:58px;border-radius:50%;background:#fff;transition:transform .15s ease,border-radius .15s ease,background-color .15s ease}.shutter-outer:active .shutter-inner{transform:scale(.9)}.shutter-outer.recording .shutter-inner{transform:scale(.5);border-radius:8px;background:var(--rec)}.bottom-dock{background:var(--bg);padding:14px 16px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.tray-header{display:flex;align-items:baseline;justify-content:space-between;font-size:.85rem;color:var(--muted)}.tray-header strong{color:var(--text);font-weight:600}.clip-strip{display:flex;gap:6px;overflow-x:auto;min-height:44px;align-items:center;scrollbar-width:none}.clip-strip::-webkit-scrollbar{display:none}.empty-hint{font-size:.85rem;color:var(--muted)}.clip-chip{flex:0 0 auto;position:relative;width:36px;height:44px;border-radius:6px;background:var(--surface-2);display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px;font-size:.7rem;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums;cursor:pointer}.clip-chip.armed{outline:1.5px solid var(--rec);color:#fff}.clip-chip .del-clip{position:absolute;top:-5px;right:-5px;width:18px;height:18px;border-radius:50%;border:none;background:#3a3a3c;color:#fff;font-size:.65rem;line-height:1;cursor:pointer}.primary-cta{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:999px;padding:15px 18px;font-size:1rem;font-weight:700;color:#000;background:#fff;cursor:pointer}.primary-cta:disabled{background:var(--surface-2);color:#5a5a5e;cursor:not-allowed}.primary-cta:not(:disabled):active{opacity:.8}.secondary-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:var(--surface-2);border-radius:999px;padding:14px 16px;font-size:.95rem;font-weight:600;cursor:pointer}.secondary-btn:disabled{color:#5a5a5e}.secondary-btn:active{opacity:.8}.panel-screen{flex:1;display:flex;flex-direction:column;padding:calc(10px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom));overflow-y:auto;gap:14px}.panel-bar{display:flex;align-items:center;justify-content:space-between;min-height:36px}.panel-bar .title{font-size:1rem;font-weight:700}.progress-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:0 24px}.progress-center h2{font-size:1.5rem;font-weight:800;letter-spacing:-.03em}.progress-center .step{color:var(--muted);font-size:.95rem;min-height:1.3em}.progress-track{width:100%;max-width:280px;height:3px;background:var(--surface-2);border-radius:2px;overflow:hidden}.progress-fill{height:100%;background:#fff;transition:width .35s ease}.review-video-wrap{position:relative;flex:1;min-height:300px;background:#000;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center}.review-video{width:100%;height:100%;max-height:62dvh;object-fit:contain}.caption-box{font-size:.88rem;color:var(--muted);line-height:1.4;-webkit-user-select:text;user-select:text}.caption-box b{color:var(--text);font-weight:600}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}dialog.sheet-dialog{position:fixed;inset:auto 0 0 0;margin:0 auto;width:100%;max-width:460px;max-height:90dvh;overflow-y:auto;background:var(--surface);color:var(--text);border:none;border-radius:20px 20px 0 0;padding:10px 20px calc(20px + env(safe-area-inset-bottom));contain:layout style paint}dialog.sheet-dialog:before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:#48484a;margin:0 auto 16px}dialog.sheet-dialog::backdrop{background-color:#0009}dialog.sheet-dialog[open]{animation:sheetUp .22s ease-out}@media(prefers-reduced-motion:reduce){dialog.sheet-dialog[open]{animation:none}}@keyframes sheetUp{0%{transform:translateY(40px);opacity:0}}.sheet-title{font-size:1.25rem;font-weight:800;letter-spacing:-.02em;margin-bottom:6px}.sheet-sub{font-size:.9rem;color:var(--muted);line-height:1.4;margin-bottom:16px}.style-row{display:flex;gap:8px;overflow-x:auto;margin:0 -20px 16px;padding:0 20px;scrollbar-width:none}.style-row::-webkit-scrollbar{display:none}.style-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;border:none;background:var(--surface-2);color:var(--text);border-radius:999px;padding:10px 16px;font-size:.9rem;font-weight:600;cursor:pointer}.style-chip.selected{background:#fff;color:#000}.field-label{display:block;font-size:.8rem;font-weight:600;color:var(--muted);margin-bottom:6px}.text-input,.text-area{width:100%;background:var(--surface-2);border:none;border-radius:var(--radius);padding:12px 14px;color:var(--text);font-size:1rem;font-family:inherit;margin-bottom:14px;-webkit-user-select:text;user-select:text}.text-input::placeholder,.text-area::placeholder{color:#5a5a5e}.text-area{resize:none;min-height:72px}.sheet-actions{display:flex;gap:8px}.install-steps{list-style:none;margin:4px 0 20px;display:flex;flex-direction:column}.install-steps li{display:flex;gap:14px;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line);font-size:.95rem;line-height:1.35}.install-steps li:last-child{border-bottom:none}.install-steps .n{color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums;flex:0 0 14px}.plan-row{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:18px}.plan-row .price{font-size:1.3rem;font-weight:800}.plan-row .price small{font-size:.85rem;font-weight:500;color:var(--muted)}.toast-banner{position:fixed;top:calc(env(safe-area-inset-top) + 56px);left:50%;translate:-50% 0;z-index:100;background:#fff;color:#000;padding:9px 16px;border-radius:999px;font-size:.88rem;font-weight:600;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis}.onboard-screen{flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:calc(20px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom));overflow-y:auto}.onboard-hero{margin:auto 0;display:flex;flex-direction:column;gap:20px}.onboard-hero h1{font-size:2.2rem;font-weight:800;letter-spacing:-.04em;line-height:1.08}.onboard-hero p.lead{font-size:1.02rem;color:var(--muted);line-height:1.45}.onboard-list{list-style:none;display:flex;flex-direction:column;border-top:1px solid var(--line)}.onboard-list li{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);font-size:.95rem;line-height:1.38}.onboard-list .step-num{color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}.onboard-footer{display:flex;flex-direction:column;gap:12px;align-items:center}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.82rem;margin:6px 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line)}.oauth-btn{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--line);background:var(--surface-2);color:#fff;border-radius:999px;padding:14px 18px;font-size:.98rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}.oauth-btn:active{opacity:.8}.trial-box{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:14px}.trial-item{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.trial-item strong{font-size:.96rem}.trial-item span{font-size:.85rem;color:var(--muted);display:block;margin-top:2px}.trial-item .amt{font-weight:700;font-size:.96rem;white-space:nowrap}.plan-picker{display:flex;flex-direction:column;gap:10px}.plan-card{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:15px 16px;color:var(--text);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}.plan-card.selected{border-color:#fff;background:var(--surface-2)}.plan-card strong{font-size:.98rem;display:block}.plan-card span{font-size:.82rem;color:var(--muted);display:block;margin-top:3px}.plan-card .amt{font-weight:800;font-size:1rem;white-space:nowrap}.youtube-cta{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:red;color:#fff;border:none;border-radius:999px;padding:15px 22px;font-size:.98rem;font-weight:700;letter-spacing:-.01em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px;transition:opacity .15s ease,transform .15s ease}.youtube-cta:disabled{opacity:.6;cursor:not-allowed}.youtube-cta:active:not(:disabled){transform:scale(.98)}.youtube-posted-pill{width:100%;box-sizing:border-box;background:var(--surface-2);border:1px solid var(--line);color:#fff;text-decoration:none;border-radius:999px;padding:14px 18px;font-size:.92rem;font-weight:600;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.youtube-posted-pill small{color:var(--muted);font-weight:500}.music-list{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto;margin-bottom:16px;padding-right:2px}.music-row{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px solid transparent;border-radius:12px;padding:9px 12px;cursor:pointer;content-visibility:auto;contain-intrinsic-size:auto 52px}.music-row.selected{border-color:#fff;background:#242428}.music-play-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#000;color:#fff;font-size:.72rem;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 30px}.music-play-btn.playing{background:#fff;color:#000;border-color:#fff}.music-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.music-info strong{font-size:.88rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-info span{font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-tag{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#000;padding:4px 8px;border-radius:999px;flex:0 0 auto}.sub-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface-2);border-radius:12px;padding:11px 14px;margin-bottom:14px;cursor:pointer}.sub-toggle-row strong{font-size:.88rem;display:block}.sub-toggle-row span{font-size:.76rem;color:var(--muted);display:block;margin-top:2px}.sub-toggle-row input[type=checkbox]{width:18px;height:18px;accent-color:#fff;cursor:pointer}
