:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#ede7de;background:#080807;font-synthesis:none;--muted:#b4aaa0;--line:#36312b;--amber:#e9bd7c;--surface:#151412}*{box-sizing:border-box}body{margin:0}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button,a,input,textarea{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--amber)}button{border:0}button:disabled{opacity:.4;cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}#app{height:100svh;min-height:540px;overflow:hidden;position:relative}#universe{position:absolute;inset:0;touch-action:none}canvas{display:block;width:100%;height:100%}.topbar{position:absolute;top:0;left:0;right:0;padding:28px 36px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;background:linear-gradient(#080807b0,transparent)}.topbar>*{pointer-events:auto}.wordmark{display:flex;align-items:center;gap:11px;color:#f0e7dc;text-decoration:none;font-size:23px;font-weight:500;letter-spacing:-.7px}.wordmark svg{color:var(--amber);width:29px;height:29px}.top-actions{display:flex;align-items:center;gap:16px}.quiet,.icon-button{background:#141310b8;border:1px solid #40382c;border-radius:8px;min-height:40px}.quiet{padding:0 17px;font-size:13px}.icon-button{display:grid;place-items:center;width:40px}.quiet:hover,.icon-button:hover{background:#30271c}.scene-caption{position:absolute;left:38px;bottom:110px;pointer-events:none;text-shadow:0 2px 20px #000}.scene-caption h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,3vw,47px);font-weight:400;letter-spacing:-1px;margin:0 0 12px}.scene-caption p{color:#c3b5a1;font-size:15px;margin:0 0 25px}.text-button{pointer-events:auto;background:transparent;font-size:13px;color:#c3b5a1;padding:8px 0}.text-button{display:flex;align-items:center;gap:9px}.text-button svg{width:14px;height:14px}#editor{position:absolute;top:108px;right:36px;bottom:auto;max-height:calc(100% - 194px);width:340px;padding:23px 24px 18px;background:#141311f5;border:1px solid #383127;border-radius:14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#65513a transparent}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading h2{font-size:17px;font-weight:500;letter-spacing:-.25px;margin:0}.panel-heading .icon-button{border:0;background:transparent;min-height:28px;width:28px}.panel-heading svg{width:17px;height:17px;color:var(--muted)}.intro{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 18px}.field-label{font-size:12px;display:block;margin-bottom:9px;color:#d2c8ba}textarea{display:block;width:100%;height:124px;min-height:90px;resize:vertical;border:1px solid #41372b;border-radius:8px;color:#e1d3bc;background:#0d0d0b;padding:13px 14px;font-family:Georgia,Times New Roman,serif;font-size:15px;line-height:1.65;scrollbar-width:thin}textarea::placeholder{color:#a99d8c}.text-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-top:8px}.text-meta span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.text-meta span:last-child{white-space:nowrap}.upload-button{display:flex;align-items:center;gap:9px;background:transparent;width:100%;padding:16px 0 9px;text-align:left;font-size:12px}.upload-button svg{width:16px;height:16px;color:var(--amber)}.upload-button span{margin-left:auto;color:var(--muted);font-size:12px}.privacy{color:var(--muted);font-size:12px;margin:4px 0 19px}.primary{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:8px;color:#23190e;background:var(--amber);font-size:12px;font-weight:600;width:100%;min-height:44px}.primary:hover{background:#f5ce96}.primary svg{width:17px;height:17px}#feedback{font-size:12px;line-height:1.5;min-height:24px;margin:9px 0 14px;color:#bdad95}#feedback.error{color:#ffb2a0}.range-label{display:flex;justify-content:space-between;font-size:12px;color:#d4c9b8;margin-bottom:6px}.range-label output{color:var(--muted);font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:18px;accent-color:var(--amber);cursor:pointer;margin:0 0 13px}.bottom-bar{position:absolute;left:36px;right:36px;bottom:25px;display:flex;align-items:center;gap:24px;font-size:12px;color:#afa38f;pointer-events:none}.bottom-bar>*{pointer-events:auto}.flight-state{display:flex;align-items:center;gap:9px;white-space:nowrap}.flight-state i{width:5px;height:5px;background:var(--amber);border-radius:50%}.navigation-hint{margin-left:auto;font-size:12px}#open-panel{display:flex;align-items:center;gap:8px;border-radius:8px;color:#23190e;background:var(--amber);padding:12px 17px 12px 14px;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}#open-panel svg{width:16px;height:16px}#open-panel:hover{background:#f5ce96}.panel-hidden #editor{opacity:0;transform:translateY(8px);visibility:hidden;transition-duration:.16s,.16s,0s;transition-delay:0s,0s,.16s}.panel-hidden .navigation-hint{margin-left:auto}#drop-overlay{position:absolute;inset:12px;background:#18140cef;border:1px dashed var(--amber);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;font-family:Georgia,serif;font-size:30px;z-index:5}#drop-overlay span{font:13px -apple-system,BlinkMacSystemFont,sans-serif;color:var(--muted)}[hidden]{display:none!important}#scene-error{position:absolute;left:10%;top:35%;max-width:440px;padding:25px;background:#231b13;border:1px solid #705538;border-radius:14px;line-height:1.6;z-index:3}@media(max-height:820px)and (min-width:701px){#editor{top:85px;max-height:calc(100% - 160px);padding:17px 22px}textarea{height:100px}.intro{margin:0 0 14px}.privacy{margin-bottom:12px}input[type=range]{margin-bottom:9px}#feedback{margin-bottom:8px;min-height:24px}}@media(max-width:700px){#app{min-height:0}.topbar{padding:18px 20px}.wordmark{font-size:21px}.top-actions{gap:8px}.scene-caption{left:22px;bottom:98px}.scene-caption h1{font-size:30px}#editor{inset:auto 12px 78px;width:auto;max-height:calc(100svh - 160px);padding:19px 21px}.intro{margin:0 0 16px}textarea{height:110px}.bottom-bar{left:20px;right:20px;bottom:21px;justify-content:space-between;gap:12px}.navigation-hint,.scene-caption{display:none}.panel-hidden .scene-caption{display:block}#drop-overlay{font-size:21px;text-align:center;padding:20px}.privacy{margin-bottom:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.topbar{background:linear-gradient(to bottom,#080807fa,#080807ed 62%,#08080700);padding-bottom:40px}.scene-caption{bottom:90px;padding:38px 96px 38px 38px;margin-left:-38px;background:radial-gradient(ellipse 72% 58% at 30% 55%,#080807f2,#080807d4 58%,#08080700)}.bottom-bar{left:0;right:0;bottom:0;padding:24px 36px;background:linear-gradient(to top,#080807fa,#080807ed 60%,#08080700)}@media(max-width:700px){.topbar{padding-bottom:35px}.scene-caption{bottom:78px;padding:36px 40px 36px 22px;margin-left:-22px;max-width:100%}.bottom-bar{left:0;right:0;bottom:0;padding:22px 20px}.panel-hidden .scene-caption{bottom:78px}}.check-label{display:flex;align-items:center;gap:9px;font-size:12px;margin:4px 0 8px;color:#e6d4b8}.check-label input{accent-color:var(--amber);width:16px;height:16px;margin:0}.setting-help{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 18px}.quality-label{display:block;font-size:12px;color:#d4c9b8;margin:0 0 8px}select{width:100%;padding:9px 10px;background:#171410;color:#e6d4b8;border:1px solid #584733;border-radius:8px;font:12px -apple-system,BlinkMacSystemFont,sans-serif;margin-bottom:16px;cursor:pointer}select:focus-visible{outline:2px solid var(--amber);outline-offset:3px}.scene-switcher{position:absolute;left:50%;top:28px;transform:translate(-50%);display:flex;gap:4px;background:#151412ee;border:1px solid #383127;border-radius:12px;padding:4px;z-index:2;max-width:calc(100% - 40px)}.scene-switcher button{white-space:nowrap;background:transparent;border-radius:8px;padding:10px 14px;font-size:12px;color:#b4aaa0;min-height:36px}.scene-switcher button:hover{color:#f0e7dc;background:#30271c}.scene-switcher button[aria-pressed=true]{color:var(--pressed,#f2d5ad);background:var(--pressed-bg,#403123)}.scene-switcher #auto-scenes{border-left:1px solid #383127;border-radius:0 8px 8px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.primary,.flight-state i,.wordmark svg{transition:background-color 4s,color 4s}@media(max-width:1050px){.scene-switcher{top:85px}#editor{top:150px;max-height:calc(100% - 236px)}}@media(max-width:700px){.scene-switcher{top:80px;max-width:calc(100% - 24px);width:max-content;gap:0}.scene-switcher button{padding:9px 11px;font-size:12px}.scene-list{gap:0}#editor{top:auto;max-height:calc(100svh - 225px)}}@media(prefers-reduced-motion:reduce){.primary,.flight-state i,.wordmark svg{transition:none}}.scene-list{display:flex;gap:4px;min-width:0}.scene-list button{flex-shrink:0}.scene-switcher .short,#scene-toggle,.scene-switcher[data-fit=short] .long{display:none}.scene-switcher[data-fit=short] .short{display:inline}.scene-switcher[data-fit=menu] #scene-toggle{display:flex;align-items:center;gap:6px;color:#f0e7dc;padding-right:10px}#scene-toggle svg{width:16px;height:16px;color:var(--muted);transition:transform .2s}.scene-switcher.open #scene-toggle svg{transform:rotate(180deg)}.scene-switcher[data-fit=menu] .scene-list{display:none}.scene-switcher[data-fit=menu].open .scene-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);width:min(380px,calc(100vw - 24px));padding:4px;background:#151412f5;border:1px solid #383127;border-radius:12px}.scene-switcher[data-fit=menu] .scene-list button{text-align:left;font-size:12px;padding:11px 12px;min-height:44px;white-space:normal}.scene-switcher[data-fit=menu] .scene-list .long{display:inline}.scene-switcher[data-fit=menu] .scene-list .short{display:none}@media(prefers-reduced-motion:reduce){#scene-toggle svg{transition:none}}.caption-actions{display:flex;gap:4px 22px;flex-wrap:wrap}.journey-button{color:var(--amber)}.journey-button:disabled{opacity:.5}#palette{margin-bottom:14px}.channel-link{display:flex;align-items:center;gap:8px;text-decoration:none;color:#ede7de;font-size:13px}.channel-link svg{width:16px;height:16px;color:var(--amber)}.channel-link .long:after{content:" "}.channel-toast{position:absolute;left:50%;bottom:96px;transform:translate(-50%,12px);opacity:0;transition:opacity .5s,transform .5s;z-index:3}.toast-body{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 20px;border-radius:14px;background:#151412fa;border:1px solid #40382c;white-space:nowrap}.toast-link{display:block;padding:4px 0;color:#ede7de;text-decoration:none;font-size:15px}.toast-link:hover b{text-decoration:underline;text-underline-offset:3px}.toast-donate{font-size:13px;color:#c3b5a1}.channel-toast.visible{opacity:1;transform:translate(-50%)}.channel-toast b{color:var(--amber);font-weight:500}@media(max-width:700px){.channel-link .long{display:none}.channel-link{padding:0 12px}.channel-toast{bottom:90px;width:calc(100% - 40px)}.toast-body{white-space:normal;text-align:center}.toast-link{font-size:13px}.toast-donate{font-size:12px}}@media(prefers-reduced-motion:reduce){.channel-toast{transition:none}}@media(max-width:420px){.wordmark{font-size:19px;gap:8px}.wordmark svg{width:24px;height:24px}.top-actions{gap:6px}.channel-link{padding:0 10px}.channel-link svg{display:none}}.release-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:8px;padding:12px 14px;border-radius:8px;border:1px solid #584733;background:transparent;color:var(--amber);font-size:12px;font-weight:600}.release-button:hover{background:#30271c}.release-help{margin:8px 0 6px}#record-overlay{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#050504f2;text-align:center}#record-overlay[hidden]{display:none}#record-status{font-family:Georgia,Times New Roman,serif;font-size:26px;margin:0}#record-progress{width:min(360px,80%);height:6px;appearance:none;border:0;border-radius:3px;background:#2a241c;overflow:hidden}#record-progress::-webkit-progress-bar{background:#2a241c}#record-progress::-webkit-progress-value{background:var(--amber)}#record-progress::-moz-progress-bar{background:var(--amber)}.message-mode .scene-caption:not(.message-card){display:none}.message-card h2{font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,2.8vw,44px);font-weight:400;letter-spacing:-1px;margin:0 0 12px}.channel-inline{text-decoration:none}.channel-inline .channel-name{color:var(--amber)}.send-box{margin:6px 0 4px}.send-box .check-label{margin:10px 0 6px}#capsule-date{width:100%;padding:9px 10px;background:#0d0d0b;color:#e1d3bc;border:1px solid #41372b;border-radius:8px;font:12px -apple-system,BlinkMacSystemFont,sans-serif;color-scheme:dark;margin-bottom:8px}#capsule-date[hidden],#share-result[hidden]{display:none}#share-result{margin-top:10px}#share-link{width:100%;padding:9px 10px;background:#0d0d0b;color:#c3b5a1;border:1px solid #41372b;border-radius:8px;font:12px ui-monospace,Menlo,monospace}.share-actions{display:flex;gap:6px;margin:8px 0 2px;flex-wrap:wrap}.share-telegram{flex:1;display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:8px;background:var(--amber);color:#23190e;text-decoration:none;font-size:12px;font-weight:600}.share-actions .quiet{min-height:38px;padding:0 12px;font-size:12px}@media(max-width:700px){.message-mode .message-card{display:block}}.panel-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;margin:14px 0 0;background:#0d0d0b;border:1px solid var(--line);border-radius:12px}.panel-tabs [role=tab]{min-height:34px;border-radius:8px;background:transparent;color:var(--muted);font-size:12px}.panel-tabs [role=tab]:hover{color:#f0e7dc;background:#30271c}.panel-tabs [role=tab][aria-selected=true]{color:var(--pressed,#f2d5ad);background:var(--pressed-bg,#403123)}.pane{padding-top:18px}.more-actions{padding-top:16px;border-top:1px solid var(--line)}.group{padding:16px 0 4px;border-top:1px solid var(--line)}.group:first-child{border-top:0;padding-top:0}.group h3{font-size:13px;font-weight:500;margin:0 0 14px}.check-label+.setting-help{padding-left:25px;margin-top:-4px}.select-help{margin-top:-8px}.check-label+.quality-label,.check-label+.range-label,.setting-help+.range-label,.setting-help+.check-label{margin-top:14px}#pane-video .check-label{margin:2px 0 14px}#pane-video .upload-button{padding:6px 0}.video-status{font-size:12px;line-height:1.5;min-height:18px;margin:9px 0 6px;color:#bdad95}.video-status.error{color:#ffb2a0}.video-status:empty{min-height:0;margin:4px 0}#snapshot{margin-top:6px}.flight-state i{transition:opacity .4s,background-color .4s}.is-paused .flight-state i{background:var(--muted);opacity:.45}@media(max-width:700px){.setting-help,.text-meta,.privacy,.range-label,.quality-label,.upload-button span,.bottom-bar,.video-status,#feedback{font-size:12px}}.story-card{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);z-index:2;width:min(900px,calc(100% - 32px));padding:48px 72px;text-align:center;pointer-events:none;text-shadow:0 2px 20px #000;background:radial-gradient(ellipse 60% 50% at 50% 50%,#080807d9,#080807a0 45%,#08080700);opacity:0;transition:opacity .9s}.story-card.visible{opacity:1}.story-kicker{margin:0 0 12px;font-size:13px;letter-spacing:.08em;color:var(--amber)}.story-kicker:empty{display:none}.story-line{margin:0;text-wrap:balance;font-family:Georgia,Times New Roman,serif;font-size:clamp(36px,4.6vw,68px);font-weight:400;letter-spacing:-1px;line-height:1.1;color:#f3ece2}.story-card.final .story-line{font-size:clamp(28px,3.4vw,50px);line-height:1.2}@media(max-width:700px){.story-card{top:42%;padding:36px 22px}.story-kicker{font-size:12px}}@media(prefers-reduced-motion:reduce){.story-card{transition:none}}#editor{transition:opacity .22s cubic-bezier(.16,1,.3,1),transform .22s cubic-bezier(.16,1,.3,1),visibility 0s}#editor:after{content:"";display:block;position:sticky;bottom:-17px;height:32px;margin:-32px 0 -17px;background:linear-gradient(#14131100,#141311 90%);pointer-events:none;opacity:0;transition:opacity .2s}#editor[data-more]:after{opacity:1}.compact-top .channel-link .long{display:none}.scene-switcher[data-fit=menu].open .scene-list{animation:scene-menu-in .18s cubic-bezier(.16,1,.3,1)}@keyframes scene-menu-in{0%{opacity:0;transform:translate(-50%,-4px)}}@media(pointer:coarse){.text-button,.scene-switcher button,.quiet,.icon-button,.panel-tabs [role=tab],.upload-button{min-height:44px}.icon-button{width:44px}textarea,select,#capsule-date,#share-link{font-size:16px}.navigation-hint{display:none}.share-actions .quiet,.share-telegram{min-height:44px}.check-label{min-height:40px;margin:0}.panel-heading .icon-button{min-height:44px;width:44px;margin:-8px -10px -8px 0}#open-panel{min-height:44px;margin-left:auto}}@media(max-height:500px)and (min-width:701px){#app{min-height:0}.topbar{padding:12px 20px 24px}.scene-switcher{top:12px}.scene-caption{left:22px;bottom:50px;padding:24px 72px 24px 22px;margin-left:-22px}.scene-caption h1{font-size:28px;margin-bottom:6px}.scene-caption p{margin-bottom:8px}.bottom-bar{padding:12px 20px}#editor{top:12px;right:12px;width:min(340px,48vw);max-height:calc(100% - 24px);padding:17px 20px;z-index:3;background:#141311}textarea{height:52px}.intro,.privacy{display:none}}@media(prefers-reduced-motion:reduce){#editor,#editor:after{transition:none}.scene-switcher[data-fit=menu].open .scene-list{animation:none}}@media(max-width:700px){.flight-state{white-space:normal;min-width:0;line-height:1.35}#open-panel{white-space:nowrap;flex-shrink:0}}.scene-caption h1,.scene-caption p{transition:opacity .9s}#app:has(#story-card.visible) .scene-caption:not(.message-card) :is(h1,p){opacity:.4}#reset-camera{color:#d8cdbd}@media(prefers-reduced-motion:reduce){.scene-caption h1,.scene-caption p{transition:none}}.projects-link{display:flex;align-items:center;gap:6px;color:#c3b5a1;text-decoration:none;white-space:nowrap;flex-shrink:0;position:relative}.projects-link:hover{color:#ede7de}.projects-link svg{width:12px;height:12px}.projects-link .short{display:none}@media(pointer:coarse){.projects-link{min-height:44px}.toast-link{padding:12px 0;line-height:20px}}@media(max-width:1100px){.projects-link .long{display:none}.projects-link .short{display:inline}}@media(max-width:700px){.bottom-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:4px;align-items:center}.flight-state{grid-area:1/1;align-self:end}.projects-link{grid-area:2/1;align-self:start;justify-self:start;min-height:0;margin-left:14px}.projects-link:after{content:"";position:absolute;inset:-14px -12px -14px -14px}#open-panel{grid-area:1/2/3/3;margin-left:0}}
