html[data-motion-preview="true"] body{overflow-anchor:none}
html[data-motion-preview="true"] #features::after{content:'';display:block;height:var(--features-space-after,0px)}
html[data-motion-preview="true"] #faq::after{content:'';display:block;height:var(--faq-space-after,0px)}
/* The launcher is local-only; settings activate when opened, never on a normal visit. */
.motion-preview-launcher,.motion-preview{position:fixed;z-index:850;font-family:var(--sans,system-ui,sans-serif);letter-spacing:-.025em;box-sizing:border-box}
.motion-preview-launcher[hidden],.motion-preview[hidden],.motion-preview [hidden]{display:none!important}
.motion-preview-launcher{right:20px;bottom:20px;display:flex;gap:9px;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #ffffff40;border-radius:100px;background:#253d32;color:#fffdf6;box-shadow:0 5px 24px #15251d33;font-size:13px;font-weight:600;cursor:pointer}
.motion-preview-launcher svg{width:19px;height:19px;fill:#253d32}
.motion-preview{--mp-ink:#253b30;--mp-muted:#63725e;--mp-line:#dbe1d3;right:20px;bottom:20px;width:350px;max-width:calc(100vw - 24px);max-height:min(820px,calc(100svh - 32px));display:flex;flex-direction:column;border:1px solid #c9d3c1;border-radius:17px;background:#fcfcf6;color:var(--mp-ink);box-shadow:0 16px 56px #10231a2b;overflow:hidden;text-align:left}
.motion-preview *{box-sizing:border-box}
.motion-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 16px;border-bottom:1px solid var(--mp-line);background:#f2f4eb;flex-shrink:0}
.motion-preview-head h2{font-size:16px;line-height:1.5;letter-spacing:-.035em;margin:0;display:flex;gap:8px;align-items:center;font-weight:650}
.motion-preview-head small{font-size:10px;font-weight:600;color:#55644f;padding:3px 6px;border:1px solid #c8d2be;border-radius:4px}
.motion-preview button{font:inherit;font-size:12px;font-weight:550;border:1px solid transparent;border-radius:7px;background:#e9eee1;color:#354c39;min-height:36px;padding:8px 10px;line-height:1.4;cursor:pointer;transition:background .14s ease}
.motion-preview button:hover{background:#dce5d1}
.motion-preview .motion-preview-close{background:transparent;color:#5e6d57;min-height:36px;padding:6px;font-size:12px}
.motion-preview-body{padding:15px 16px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-padding:14px;scrollbar-width:thin;scrollbar-color:#b7c4a8 transparent}
.motion-preview label{display:block;font-size:12px;font-weight:600;line-height:1.6}
.motion-preview select{appearance:auto;font:inherit;font-size:13px;width:100%;min-height:42px;margin-top:7px;border:1px solid #b9c6ac;border-radius:7px;padding:7px 8px;background:#fff;color:#2e4436}
.motion-preview-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.motion-preview-navigation .motion-scene-go{background:transparent;border:1px solid var(--mp-line);font-size:11px;min-height:32px;padding:5px 9px}
.motion-scene-position{font-size:11px;color:var(--mp-muted);font-variant-numeric:tabular-nums}
.motion-preview-row{margin-top:20px}
.motion-transition-controls{margin-top:18px;padding:13px;border:1px solid var(--mp-line);border-radius:10px;background:#f2f5e9}
.motion-transition-controls>label{color:var(--mp-ink)}
.motion-preview .motion-transition-controls select{min-height:44px;margin-top:5px}
.motion-opening-effect{margin-top:14px;padding-top:13px;border-top:1px solid var(--mp-line)}
.motion-preview .motion-auto-options .motion-point{padding:0;border:0;border-radius:0;background:transparent}
.motion-auto-options .motion-preview-label{align-items:center}
.motion-auto-options .motion-preview-label label{font-weight:550}
.motion-auto-options .motion-control-pair{gap:8px}
.motion-auto-options .motion-number-wrap input{width:59px}
.motion-auto-options .motion-point+ .motion-point{margin-top:17px}
.motion-preview-label{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:6px}
.motion-preview-label label{flex:1;word-break:keep-all;overflow-wrap:anywhere}
.motion-preview output{font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums;font-weight:600;color:#536745;white-space:nowrap}
.motion-preview input[type=range]{display:block;width:100%;min-width:0;height:30px;margin:0;accent-color:#526c41;cursor:pointer;touch-action:pan-y}
.motion-control-pair{display:flex;align-items:center;gap:12px}
.motion-control-pair>input{flex:1}
.motion-preview .motion-number-wrap{display:flex;align-items:center;gap:4px;flex:0 0 auto;border:1px solid #becab3;border-radius:6px;background:#fff;padding:0 6px 0 0;overflow:hidden;font-size:11px;font-weight:500;color:var(--mp-muted)}
.motion-preview input[type=number]{font:inherit;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.4;width:65px;min-height:34px;padding:6px 3px 6px 7px;border:0;background:transparent;color:var(--mp-ink);border-radius:5px}
.motion-preview p{font-size:11px;line-height:1.65;color:var(--mp-muted);margin:7px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.motion-preview fieldset{border:0;border-top:1px solid var(--mp-line);padding:12px 0 0;margin:20px 0 0;min-width:0}
.motion-preview legend{padding:0 8px 0 0;font-size:12px;font-weight:650;color:#526448}
.motion-preview .motion-point{margin-top:14px;padding:12px;border:1px solid var(--mp-line);border-radius:9px;background:#f5f7ef}
.motion-preview .motion-point-go{margin-top:8px;font-size:11px;min-height:30px;padding:5px 9px;background:#e3ead9}
.motion-preview-footer{padding:11px 16px 12px;border-top:1px solid var(--mp-line);flex-shrink:0;background:#f7f8f0}
.motion-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.motion-preview-actions .motion-save{background:#354e3b;color:#fff}
.motion-preview-actions .motion-save:hover{background:#253d2c}
.motion-preview-actions .motion-copy,.motion-preview-actions .motion-reset{background:transparent;border:1px solid var(--mp-line)}
.motion-preview-footer p{font-size:10px;margin-top:7px}
.motion-preview-status{min-height:16px;color:#455c35!important}
.motion-preview-link{font-size:10px;color:#526548;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:5px 0 0}
.motion-preview [disabled]{opacity:.5;cursor:default}
.motion-preview button:focus-visible,.motion-preview input:focus-visible,.motion-preview select:focus-visible,.motion-preview textarea:focus-visible,.motion-preview a:focus-visible,.motion-preview-launcher:focus-visible{outline:2px solid #426a2c;outline-offset:3px}
.motion-number-wrap:focus-within{outline:2px solid #426a2c;outline-offset:2px}
.motion-preview .motion-number-wrap input:focus-visible{outline:0}
.motion-copy-fallback{margin-top:18px;padding-top:14px;border-top:1px solid var(--mp-line)}
.motion-copy-fallback textarea{width:100%;resize:vertical;min-height:100px;max-height:250px;font:11px/1.6 ui-monospace,monospace;border:1px solid #bac7af;border-radius:7px;background:#fff;color:#253b30;padding:8px;margin-top:6px}
.motion-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){.motion-preview{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:330px;max-height:min(680px,68svh)}.motion-preview-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.motion-preview-head{padding:8px 12px}.motion-preview-body{padding:12px}.motion-preview-footer{padding:9px 12px}.motion-preview input[type=number]{font-size:16px}.motion-preview select{font-size:16px}.motion-preview button{min-height:38px}.motion-preview .motion-point-go{min-height:36px}.motion-preview-actions{gap:6px}.motion-preview-row{margin-top:16px}}
@media(max-height:520px){.motion-preview{max-height:calc(100svh - 20px);bottom:10px}.motion-preview-head{padding:5px 12px}.motion-preview-footer{padding:7px 12px}.motion-preview-footer>p:not(.motion-preview-status),.motion-preview-link{display:none}.motion-preview-actions{grid-template-columns:1fr 1fr;gap:4px}.motion-preview-actions button{padding:5px;min-height:30px}.motion-preview-status{margin-top:5px!important;font-size:10px!important}.motion-preview-body{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.motion-preview button{transition:none}}
