:root{--paper:#f4f3ee;--ink:#19231f;--muted:#737c74;--line:#e5e7df;--orange:#ff5a1f;--green:#3d604b;--white:#fff;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,label,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.5}button{color:inherit}a{color:inherit}button,select,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ff9a70;outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.topbar{height:86px;padding:0 clamp(22px,4.5vw,76px);border-bottom:1px solid #e2e3da;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:25px;letter-spacing:-1.3px;font-weight:800}.trace-mark{width:29px;height:29px;position:relative;display:block;transform:rotate(-25deg);margin-right:2px}.trace-mark i{display:block;position:absolute;width:6px;border-radius:4px;background:var(--orange);height:22px;top:3px}.trace-mark i:nth-child(1){left:1px;height:12px;top:13px}.trace-mark i:nth-child(2){left:11px}.trace-mark i:nth-child(3){left:21px;height:17px;top:0}.byline{font-size:11px;font-weight:400;letter-spacing:0;border-left:1px solid #d3d6cb;padding-left:14px;margin-left:6px;color:var(--muted)}.byline b{color:var(--ink);font-weight:700}.top-actions{display:flex;align-items:center;gap:15px}.lab-badge{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#737e72}.lab-badge span{background:#e3e8dd;border:1px solid #d5dccf;margin-left:5px;border-radius:5px;padding:4px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 18px;border-radius:11px;font-size:12px;line-height:1.4;font-weight:650;border:1px solid transparent;background:transparent;text-decoration:none;transition:transform .16s,background .16s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.dark{background:var(--ink);color:white}.btn.dark:hover{background:#304036}.btn.orange{background:var(--orange);color:white}.btn.orange:hover{background:#e94812}.btn.outline{background:white;border-color:#dce0d5}.btn.quiet{background:transparent}.btn.quiet:hover{background:#e9ece3}.btn.full{width:100%;margin-top:12px}.btn.next{margin-top:24px;background:#ecf0e7;color:#334c3b;justify-content:space-between}.shell{max-width:1530px;margin:auto;padding:34px clamp(22px,4.5vw,76px) 0}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow,.step-label{font-size:9px;font-weight:750;letter-spacing:1.8px;line-height:1.5}.eyebrow{color:#788574;margin:0 0 9px}h1{font-size:clamp(25px,2.7vw,40px);font-weight:650;letter-spacing:-1.7px;margin:0;line-height:1.17}h1>span{color:var(--orange)}.intro-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.studio{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}.preview-panel{min-width:0;position:sticky;top:16px}.preview-heading{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 4px 10px}.live-label{display:flex;align-items:center;font-size:9px;letter-spacing:1.3px;font-weight:700;gap:9px}.live-label>span{width:6px;height:6px;border-radius:50%;background:#719367;box-shadow:0 0 0 4px #dfe7d8}.live-label small{font-size:8px;color:#798172;letter-spacing:1px;padding-left:10px;border-left:1px solid #d7dccf}.preview-actions{display:flex;gap:5px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border:0;border-radius:9px;background:transparent}.icon-btn:hover{background:#e7ebdf}.icon-btn svg{width:17px;height:17px}.stage{position:relative;height:min(63vh,660px);min-height:425px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px 36px;border-radius:20px;background:radial-gradient(ellipse at 50% 40%,#e1e6d9 0,#d7ddcf 70%,#d0d6c8 100%);border:1px solid #d1d8c9}.stage:before{content:"";position:absolute;inset:0;opacity:.28;background-image:radial-gradient(#87917d .7px,transparent .7px);background-size:14px 14px;pointer-events:none}.video-frame{height:100%;aspect-ratio:9/16;max-width:100%;position:relative;border-radius:9px;overflow:hidden;box-shadow:0 22px 48px -12px #4e5c4b5e,0 0 0 1px #ffffff7a;background:#eef0e9}.video-frame canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.video-frame canvas:active{cursor:grabbing}.video-frame.is-square{aspect-ratio:1;max-height:100%}.video-frame.is-landscape{aspect-ratio:16/9;width:100%;height:auto}.stage-tools{position:absolute;right:11px;bottom:12px;display:flex;flex-direction:column;gap:2px;background:#f8f9f3c9;border:1px solid #ffffffa8;border-radius:11px}.stage-tools .icon-btn{font-size:20px}.scene-tag{position:absolute;bottom:15px;left:16px;font-size:8px;letter-spacing:1.2px;color:#576150;font-weight:650}.boot{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#edf0e8;gap:12px}.boot strong{font-size:12px}.boot p{font-size:10px;color:var(--muted);margin:0}.spinner{height:26px;width:26px;border:2px solid #d8ddd0;border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.player{display:flex;align-items:center;gap:12px;padding:14px 5px 8px}.play-btn{border:0;background:var(--ink);color:white;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.play-btn svg{width:16px;height:16px}.time-readout,.duration-readout{font-size:10px;font-variant-numeric:tabular-nums;color:#636f61;min-width:28px}.player input{flex:1;min-width:40px;margin:0}.text-btn{border:0;background:none;padding:8px 0;font-size:11px;font-weight:650;text-decoration:none;line-height:1.5;cursor:pointer}.text-btn:hover{text-decoration:underline}.preview-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted);padding:5px}.safe-check{display:flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer}.safe-check input{width:13px;height:13px}.data-status{display:flex;align-items:flex-start;gap:8px;border-top:1px solid #dfe3d7;margin:15px 4px 0;padding:13px 0;font-size:10px;line-height:1.7;color:#707a6c}.data-status svg{width:14px;height:14px;margin-top:1px}.editor{background:#fff;border:1px solid #e2e5dc;border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 24px #2e492e05;min-width:0}.editor-tabs{display:flex;background:#fdfefa;border-bottom:1px solid var(--line);padding:7px 10px 0}.editor-tabs button{flex:1;background:none;border:0;border-bottom:2px solid transparent;display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 3px;font-size:10px;color:#858b80;position:relative}.editor-tabs button svg{width:17px;height:17px}.editor-tabs button[aria-selected=true]{color:var(--ink);font-weight:700;border-bottom-color:var(--orange)}.editor-tabs button:hover{color:var(--ink)}.panel-body{padding:25px 25px 28px}.step-label{color:#a1a798;font-size:8px;margin:0 0 10px}h2{font-size:22px;font-weight:650;letter-spacing:-.8px;margin:0 0 10px;line-height:1.25}.section-lead{font-size:11px;color:#7b8278;line-height:1.8;margin:0 0 22px}.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;cursor:pointer;background:#fafbf7;border:1px dashed #c7d0bd;border-radius:13px;padding:22px 10px;transition:background .2s,border-color .2s}.upload-zone:hover,.upload-zone.dragover{background:#eef3e8;border-color:var(--green)}.upload-zone:focus-within{outline:3px solid #ff9a70;outline-offset:3px}.upload-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf1e6;color:#49613e;margin-bottom:2px}.upload-zone strong{font-size:13px;font-weight:650}.upload-zone>span:last-of-type{font-size:9px;color:#92998b}.sample-switch{display:flex;gap:12px;align-items:center;margin:4px 0 16px;font-size:9px;color:#969d90}.sample-switch .text-btn{font-size:10px;color:#7b8872}.sample-switch .selected{color:#344d2c;text-decoration:underline;text-underline-offset:3px}.route-card{background:#f5f7f0;border:1px solid #e9ecdf;border-radius:12px;padding:13px 14px}.route-card-top{display:flex;gap:7px;align-items:center}.route-dot{height:6px;width:6px;border-radius:50%;background:var(--orange);flex-shrink:0}.route-card strong{font-size:11px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{font-size:7px;color:#7c8970;border:1px solid #dce2d3;border-radius:4px;padding:3px 5px;margin-left:auto;letter-spacing:.7px}.route-numbers{display:grid;grid-template-columns:1fr 1fr 1.15fr;margin-top:13px;gap:10px}.route-numbers span{font-size:8px;color:#87917d}.route-numbers b{display:block;color:#3f5038;font-size:13px;font-weight:650;margin-bottom:4px}.route-card p{font-size:9px;line-height:1.6;color:#966c37;margin:10px 0 0}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:650;margin:19px 0 8px}.field-label span{color:#a2a797;font-size:9px;font-weight:400}.text-input{display:block;width:100%;border:1px solid #e1e5d9;border-radius:9px;background:#fff;min-height:41px;padding:10px 11px;font-size:11px;color:#41523a;outline:none}.text-input:focus{border-color:#97ad87;box-shadow:0 0 0 3px #e8eee2}.text-input::placeholder{color:#b0b6a9;font-size:10px}select.text-input{padding-right:24px}.segmented{display:flex;background:#f3f5ed;border:1px solid #e8ecdf;border-radius:10px;padding:3px;gap:3px}.segmented button{flex:1;min-height:35px;border:0;background:transparent;font-size:10px;border-radius:7px;color:#818b76}.segmented button.selected{background:white;box-shadow:0 2px 5px #3c503a0a;color:var(--ink);font-weight:650}.detail-block{border-top:1px solid #e9ece2;margin-top:18px;padding-top:13px}.detail-block summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:10px;font-weight:650;min-height:30px}.detail-block summary::-webkit-details-marker{display:none}.detail-block summary:after{content:"+";font-size:16px;margin-left:auto;color:#99a18e}.detail-block[open] summary:after{content:"−"}.detail-block summary svg{width:15px;height:15px;color:#748266}.summary-note{font-size:8px;letter-spacing:.5px;color:#929d87;font-weight:400}.detail-content{padding:5px 0}.detail-content>p,.gpx-help p{font-size:10px;color:#89927e;line-height:1.75;margin:6px 0 12px}.check-line{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.7;color:#707b65}.check-line input{margin:3px 0 0;flex-shrink:0}.small-note{font-size:9px!important;line-height:1.8!important;color:#919989!important;margin:12px 0 0!important;white-space:normal}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.field-pair>label{font-size:10px;font-weight:550;min-width:0}.field-pair .text-input{margin-top:7px}.gpx-help{margin-top:15px;font-size:9px;color:#9ca490}.gpx-help summary{cursor:pointer}.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.style-card{border:1px solid #e6e9df;border-radius:13px;padding:7px 7px 12px;background:#fff;text-align:left;position:relative;overflow:hidden}.style-card.selected{border-color:#4e6342;box-shadow:0 0 0 1px #4e6342}.style-card strong{font-size:12px;display:block;padding:11px 4px 0}.style-card small{font-size:8px;line-height:1.55;color:#939b89;display:block;padding:4px 4px 0;min-height:30px}.choice-check{display:none;position:absolute;top:12px;right:12px;width:17px;height:17px;border-radius:50%;background:#34482e;color:white;font-size:10px;align-items:center;justify-content:center}.selected>.choice-check{display:flex}.style-art{display:block;height:74px;overflow:hidden;position:relative;border-radius:7px;background:#cedcbf;perspective:200px}.style-art i{position:absolute;width:24px;height:29px;left:20px;top:23px;background:#f5f0e0;transform:skewY(-15deg);box-shadow:8px 5px 0 #aebba1,10px 14px 7px #76957050}.style-art i:nth-child(2){left:51px;top:13px;height:45px;width:19px}.style-art i:nth-child(3){left:76px;top:33px;height:20px;width:29px}.style-art i:nth-child(4){left:3px;top:39px;height:15px;width:20px}.style-art em{position:absolute;width:95px;height:42px;border:3px solid var(--orange);border-radius:50%;transform:rotate(-22deg);top:18px;left:15px;border-top-color:transparent}.style-art.cyber{background-color:#0a222b;background-image:linear-gradient(#2b5a5c88 1px,transparent 1px),linear-gradient(90deg,#2b5a5c88 1px,transparent 1px);background-size:13px 13px}.style-art.cyber i{background:#174751;border:1px solid #55b6b1;box-shadow:8px 5px 0 #14313d}.style-art.cyber em{border-color:#5bd6d5;border-top-color:transparent;filter:drop-shadow(0 0 5px #53b5ad)}.format-options{display:flex;gap:8px}.format-options button{display:flex;flex:1;flex-direction:column;align-items:center;gap:5px;padding:11px 0 9px;border:1px solid #e7eadd;background:#fff;border-radius:9px}.format-options button.selected{background:#f0f4e9;border-color:#b2c29e}.format-options b{font-size:9px;font-weight:650}.format-options small{font-size:8px;color:#909b80}.ratio-icon{display:block;border:1.5px solid #82946e;border-radius:3px;height:19px;width:12px;margin-bottom:3px}.ratio-icon.square{width:19px}.ratio-icon.landscape{width:27px;height:16px;margin-top:2px;margin-bottom:4px}.colour-row{display:flex;align-items:center;gap:9px}.swatch{background:var(--swatch);border:1px solid #0000000d;width:28px;height:28px;border-radius:50%;padding:0;position:relative}.swatch.selected:after{content:"";position:absolute;inset:-4px;border:1px solid #34492e;border-radius:50%}.custom-colour{font-size:8px;color:#7e8b70;display:flex;flex-direction:column;align-items:center;gap:3px;margin-left:auto;cursor:pointer}.custom-colour input{border:0;padding:0;width:24px;height:21px;background:none}.slider-label{display:flex;justify-content:space-between;font-size:10px;margin:10px 0}.toggle-list{margin-top:15px}.toggle-list>label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;padding:8px 0;color:#727e65}.toggle-list input{appearance:none;width:29px;height:17px;background:#dce2d2;border-radius:12px;position:relative;transition:background .15s;cursor:pointer;margin:0}.toggle-list input:after{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:white;transition:transform .15s}.toggle-list input:checked{background:#657e52}.toggle-list input:checked:after{transform:translateX(12px)}input[type=checkbox]{accent-color:#557647}input[type=range]{accent-color:#455f38;cursor:pointer;height:22px;width:100%}.empty-moments{text-align:center;padding:34px 10px 28px;color:#959f88}.empty-moments>span{display:block;font-size:10px;letter-spacing:2px;color:#a8b69a;margin-bottom:24px}.empty-moments i{margin:0 9px;color:#d1d8c8}.empty-moments strong{font-size:15px;font-weight:500;line-height:1.6;color:#65785a}.empty-moments p{font-size:9px;line-height:1.8;max-width:210px;margin:12px auto 0}.privacy-note{display:flex;align-items:flex-start;gap:9px;background:#f5f7f0;padding:14px;border-radius:10px}.privacy-note svg{width:15px;height:15px;color:#8a9a7a;margin-top:2px}.privacy-note p{margin:0;font-size:9px;color:#8a9680;line-height:1.8}.moment-card{border:1px solid #e3e9db;border-radius:12px;padding:11px;margin:14px 0}.moment-heading{display:flex;align-items:center;gap:10px}.moment-heading img{width:52px;height:52px;object-fit:cover;border-radius:7px}.moment-heading strong{font-size:11px}.moment-heading small{display:block;font-size:8px;color:#8a957c;margin-top:5px}.moment-heading .icon-btn{margin-left:auto}.moment-card .text-input{margin:10px 0;font-size:10px}.moment-position{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#7b8b69}.moment-card.trimmed{opacity:.6}.export-specs{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.export-specs span{background:#f1f4eb;color:#7a8969;font-size:8px;border-radius:5px;padding:5px 7px;letter-spacing:.2px}.export-checklist{padding:14px 0 6px}.export-checklist p{font-size:10px;display:flex;align-items:center;gap:8px;color:#7d8a6e;margin:10px 0}.export-checklist svg{color:#719653;width:14px;height:14px}.export-main{min-height:48px}.save-project-card{display:flex;align-items:center;gap:10px;border:1px solid #e3e8d9;padding:14px 11px;border-radius:11px;margin-top:25px}.save-project-card>svg{color:#a0ad8e;width:19px;height:19px}.save-project-card strong{font-size:10px}.save-project-card p{font-size:8px;line-height:1.6;margin:4px 0 0;color:#929e81}.save-project-card .text-btn{margin-left:auto;font-size:10px}.made-physical{margin-top:22px;border-top:1px solid #ebeee3;padding-top:22px}.made-physical p{font-size:7px;letter-spacing:1.2px;color:#a2ad92}.made-physical strong{font-size:12px;line-height:1.7;display:block;font-weight:500;max-width:240px;color:#7d8b6d}.made-physical a{display:block;font-size:10px;margin-top:13px;text-decoration:none;color:#4b623a}.made-physical a span{margin-left:10px}.page-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e1e5d8;margin-top:32px;padding:20px 0;font-size:9px;color:#929b84;align-items:center}.page-footer b{color:#657455}.page-footer .text-btn{font-size:9px;color:#768968;margin-left:10px}.mobile-actions{display:none}.modal{width:min(470px,calc(100vw - 32px));max-height:88svh;overflow:auto;border:1px solid #e2e7d8;border-radius:20px;padding:27px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #0c230c44}.modal::backdrop{background:#18251588;backdrop-filter:blur(5px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.modal-heading .eyebrow{margin:0;font-size:8px}.modal-heading .icon-btn{width:28px;height:28px;min-width:28px}.modal>p{font-size:11px;line-height:1.85;color:#859275;margin:0 0 18px}.modal h2{font-size:24px;margin-bottom:12px}.progress-track{height:5px;background:#e9eedf;overflow:hidden;border-radius:8px;margin-top:28px}.progress-track>div{height:100%;background:var(--orange);width:0;transition:width .15s}.progress-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:10px;color:#849571;margin-top:10px}.modal-actions{margin-top:28px}.modal video{display:block;max-height:45svh;width:100%;border-radius:10px;background:#102015;margin:18px 0;object-fit:contain}.modal .error-message{font-size:12px;line-height:1.8;color:#a5472b;background:#fff3e8;padding:15px;border-radius:10px}.project-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e8ecdf;padding:17px 0}.project-row>button:first-child{text-align:left;flex:1;background:none;border:0;min-height:44px}.project-row strong{display:block;font-size:12px}.project-row small{display:block;font-size:9px;color:#899b77;margin-top:5px}.project-empty{font-size:11px;line-height:1.8;text-align:center;padding:25px;color:#97a786}.project-file-actions{display:flex;flex-direction:column;gap:2px;margin-top:20px}.project-file-actions .text-btn{text-align:center;font-size:10px;color:#70865b}.about-copy h3{font-size:12px;margin:22px 0 8px}.about-copy p{font-size:11px;line-height:1.9;color:#7d8e6c;margin:0}.about-copy a{color:#546f3f}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:1000;background:#233d23;color:white;padding:13px 19px;border-radius:11px;font-size:11px;line-height:1.7;max-width:min(520px,90vw);box-shadow:0 8px 30px #12231225;white-space:normal;width:max-content}.toast.error{background:#883e27}.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{position:fixed;inset:0;display:grid;place-items:center;background:white;padding:30px;z-index:999}.focus-preview .stage{position:fixed;inset:0;border-radius:0;height:100svh;min-height:0;padding:25px 40px 70px;z-index:100}.focus-preview .close-focus{position:absolute;right:20px;bottom:20px}.focus-preview .stage-tools{bottom:80px}.focus-preview .scene-tag{bottom:32px}.focus-preview{overflow:hidden}#safe-overlay{position:absolute;inset:11% 12% 19% 8%;border:1px dashed #ff5a1fbb;pointer-events:none;box-shadow:0 0 0 100vmax #192a1920}#safe-overlay span{position:absolute;font-size:7px;top:-15px;color:var(--orange);letter-spacing:1px;white-space:nowrap}.is-exporting .panel-body{pointer-events:none;opacity:.55}.is-exporting .editor-tabs,.is-exporting .player,.is-exporting .stage-tools{pointer-events:none}.busy{cursor:progress}
@media(min-width:1550px){.studio{grid-template-columns:minmax(0,1fr) 405px}.stage{height:690px;max-height:69vh}.panel-body{padding:29px}.editor-tabs button{font-size:11px}.section-lead{font-size:12px}}
@media(max-width:1100px){.topbar{padding:0 25px}.shell{padding:28px 25px 0}.studio{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.panel-body{padding:23px 20px}.top-actions .lab-badge{display:none}.intro-note{font-size:11px}.stage{padding:23px 28px}.byline{font-size:9px}}
@media(max-width:800px){.topbar{height:65px;padding:0 19px}.logo{font-size:23px}.byline{font-size:8px;max-width:92px;padding-left:10px;margin-left:2px}.top-actions{gap:3px}.top-actions .btn{font-size:10px;padding:8px;min-height:38px}.top-actions .top-export{display:none}.shell{padding:22px 17px 85px}.intro{margin-bottom:16px;align-items:flex-start}.intro h1{font-size:27px;letter-spacing:-1.2px;max-width:330px}.eyebrow{font-size:7px;letter-spacing:1.3px;margin-bottom:7px}.intro-note{display:none}.studio{display:block}.preview-panel{position:relative;top:auto}.preview-heading{height:35px;padding:0 3px 8px}.live-label{font-size:8px;gap:8px}.live-label small{font-size:7px}.preview-actions .icon-btn{height:29px;width:30px;min-width:30px}.stage{height:clamp(300px,47svh,465px);min-height:0;border-radius:15px;padding:16px 28px}.video-frame{border-radius:7px}.scene-tag{font-size:6px;bottom:10px;left:11px;max-width:55px;line-height:1.6}.stage-tools{bottom:10px;right:9px}.stage-tools .icon-btn{width:28px;min-width:28px;height:29px;font-size:18px}.player{padding:11px 3px 4px;gap:10px}.play-btn{width:37px;height:37px}.time-readout,.duration-readout{font-size:9px;min-width:25px}.player .text-btn{font-size:9px}.preview-footer{font-size:8px;padding:4px 3px}.safe-check input{height:11px;width:11px}.data-status{font-size:9px;margin-top:9px;padding:10px 0;line-height:1.6}.editor{margin-top:9px;border-radius:16px}.editor-tabs{position:sticky;top:0;padding:5px 7px 0;z-index:2}.editor-tabs button{flex-direction:row;justify-content:center;font-size:10px;gap:7px;min-height:49px}.editor-tabs button svg{width:15px;height:15px}.panel-body{padding:23px}.step-label{font-size:8px}.section-lead{font-size:12px;margin-bottom:18px}.upload-zone{padding:20px 10px}.upload-zone>span:last-of-type{font-size:10px}.sample-switch{font-size:10px;gap:14px;margin-top:6px}.sample-switch .text-btn{font-size:11px}.text-input{font-size:16px;min-height:44px}.text-input::placeholder{font-size:12px}.field-label,.field-pair>label{font-size:11px;margin-top:17px}.segmented button{min-height:39px;font-size:12px}.route-card strong{font-size:12px}.route-numbers b{font-size:15px}.route-numbers span{font-size:9px}.detail-block summary{font-size:11px;min-height:37px}.detail-content>p,.gpx-help p,.check-line{font-size:11px}.small-note{font-size:10px!important}.gpx-help{font-size:10px}.btn{font-size:12px;min-height:45px}.style-art{height:95px}.style-art i{transform:skewY(-15deg) scale(1.1)}.style-card strong{font-size:13px}.style-card small{font-size:9px}.format-options button{padding:13px 0}.format-options b{font-size:10px}.format-options small{font-size:9px}.swatch{width:32px;height:32px}.custom-colour{font-size:9px}.toggle-list>label{font-size:11px;padding:11px 0}.moment-card .text-input{font-size:16px}.page-footer{display:block;text-align:center;margin-top:23px;padding:18px 8px;font-size:8px;line-height:2}.page-footer>span{display:block}.mobile-actions{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;padding:10px 17px calc(10px + env(safe-area-inset-bottom));background:#f9faf4eb;backdrop-filter:blur(20px);border-top:1px solid #dfe5d4;gap:10px}.mobile-actions>.btn{flex:1;font-size:12px;min-height:44px;padding:10px}.mobile-actions svg{width:15px;height:15px}.toast{bottom:95px;font-size:11px}.focus-preview .stage{padding:18px 20px 90px}.focus-preview .video-frame{max-width:100%}.focus-preview .scene-tag{max-width:none;bottom:38px;left:22px}.modal{padding:23px}.export-specs span{font-size:9px}.export-checklist p{font-size:11px}.modal>p,.about-copy p{font-size:12px}.save-project-card strong{font-size:11px}.save-project-card p{font-size:9px}}
@media(max-width:365px){.byline{display:none}.shell{padding-left:12px;padding-right:12px}.topbar{padding:0 14px}.intro h1{font-size:25px}.panel-body{padding:20px 17px}.sample-switch{gap:10px}.editor-tabs button{gap:5px;font-size:9px}.stage{height:300px}.swatch{width:29px;height:29px}.colour-row{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.quick-upload{display:none}@media(max-width:800px){.quick-upload{display:inline-flex;min-height:36px;font-size:10px;margin-top:13px;padding:8px 13px}.quick-upload svg{width:14px;height:14px}.stage{height:clamp(285px,42svh,420px)}}



.placement-overlay{position:absolute;z-index:7;bottom:42px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:410px;border-radius:10px;background:#203829;color:white;padding:9px 12px;display:flex;align-items:center;gap:12px;justify-content:space-between;box-shadow:0 5px 20px #12231830}.placement-overlay strong{font-size:11px;line-height:1.4}.placement-overlay .text-btn{color:white;flex-shrink:0}.video-frame canvas.placing-moment{cursor:crosshair}.placement-note{font-size:10px;line-height:1.7;background:#fff2e5;color:#925426;padding:12px;border-radius:10px}.moment-card.needs-placement{border-color:#e0b78f}.moment-card .moment-position{margin-top:14px}

/* The scenery strip occupies its own row; it never covers the artwork title. */
.scenery-overlay{display:flex;align-items:center;gap:9px;min-height:48px;margin:0 0 9px;padding:8px 12px;border:1px solid #dce4d4;border-radius:10px;background:#f4f7ee;color:#21352c}.scenery-overlay .spinner{width:16px;height:16px;flex-shrink:0}.scenery-copy{flex:1;min-width:0}.scenery-copy strong{display:block;font-size:11px;line-height:1.5}.scenery-copy small{display:block;font-size:10px;line-height:1.5;color:#65745f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.scenery-overlay .text-btn{font-size:11px;flex-shrink:0;min-height:32px}.scenery-overlay[data-state=warning]{background:#fff8ef;border-color:#e0bb98}.scenery-overlay[data-state=ready]{border-color:#b9cbae}.focus-preview .scenery-overlay{position:fixed;top:12px;left:20px;right:20px;margin:0;z-index:105}.focus-preview:has(.scenery-overlay:not([hidden])) .stage{padding-top:80px}@media(max-width:600px){.scenery-overlay{padding:6px 9px;gap:7px;margin-bottom:7px;min-height:46px}.scenery-copy strong{font-size:10px}.scenery-copy small{font-size:9px}.scenery-overlay .text-btn{font-size:10px}.focus-preview .scenery-overlay{left:12px;right:12px;top:9px}}@media(prefers-reduced-motion:reduce){.scenery-overlay .spinner{animation:none}}

/* v53 moment controls share the PGLAB editor rhythm. */
.style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.style-card{min-width:0}.style-card strong{font-size:15px}.style-card small{font-size:11px}
.style-art.satellite{background:radial-gradient(ellipse at 65% 30%,#68805a 0 12%,transparent 45%),linear-gradient(125deg,#244744 10%,#39583c 40%,#697350 60%,#304b39 85%);overflow:hidden}
.style-art.satellite em{transform:rotate(-35deg);border-color:#ff5a1f}
.moment-controls{display:grid;gap:14px;margin-top:16px;border-top:1px solid var(--line,#3a3a35);padding-top:16px}
.moment-control{display:grid;gap:6px;font-size:12px}.moment-control>span{display:flex;justify-content:space-between;gap:12px}.moment-control output{color:#ffa77d;font-variant-numeric:tabular-nums}
.media-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;padding:12px 0;color:#ffa77d}.media-progress[hidden]{display:none}
#display-controls .toggle-list label{min-height:44px}#display-controls input{accent-color:#ff5a1f}
#satellite-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
#total-duration{color:#ffa77d;font-variant-numeric:tabular-nums}
@media(max-width:380px){.style-card{padding:8px}.style-card strong{font-size:13px}.style-card small{font-size:10px}}

/* v56: a file-only drag target; touch and keyboard keep the native picker. */
.photo-upload:focus-within{outline:2px solid #ff5a1f;outline-offset:4px}
.media-drop-hint{display:block;margin:5px 0;color:inherit}
.media-drop-overlay[hidden]{display:none!important}
.media-drop-overlay{position:fixed;inset:12px;z-index:2000;display:grid;place-items:center;pointer-events:none;border:2px dashed #ff5a1f;border-radius:22px;background:#101110db;backdrop-filter:blur(5px);color:#f5f3ee;padding:24px;text-align:center}
.media-drop-overlay>div{max-width:440px;padding:28px;border:1px solid #ffffff26;border-radius:18px;background:#1c1d1c}
.media-drop-overlay strong{display:block;font-size:clamp(22px,3vw,30px);letter-spacing:-.6px;line-height:1.25}
.media-drop-overlay span{display:block;font-size:14px;line-height:1.65;margin-top:12px;color:#c3c1b9}

.video-sound{min-height:44px;white-space:normal;line-height:1.4;flex-shrink:0}
.video-sound[aria-pressed="true"]{border-color:#ff5a1f;color:#ffad8b}
.video-sound:disabled{opacity:.6;cursor:default}
