@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-opsz-normal-Czevyj-6.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-opsz-normal-CJcjJNj7.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-opsz-normal-DihXLNYH.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;--bg: #0a0a0c;--surface: rgba(255, 255, 255, .06);--surface-2: rgba(255, 255, 255, .12);--surface-3: rgba(255, 255, 255, .17);--track: rgba(0, 0, 0, .45);--panel: rgba(20, 20, 23, .82);--text: #f2f0ec;--muted: #8e8c93;--cream: #f3ecdf;--on-cream: #16140f;--accent: var(--cream);--theme-grad: linear-gradient(90deg, #fff, #fff);--theme-accent: rgba(255,255,255,.35);--radius: 16px;--ease: .14s cubic-bezier(.2, .8, .2, 1);--font-body: "Instrument Sans Variable", system-ui, sans-serif;--font-display: "Fraunces Variable", Georgia, serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%}body{margin:0;color:var(--text);overflow:hidden;font-family:var(--font-body);font-variant-numeric:tabular-nums;background:var(--bg);transition:background-color .25s ease}[hidden]{display:none!important}.app{height:100vh;height:100dvh;max-width:560px;margin:0 auto;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.topbar{display:flex;align-items:center;gap:10px;padding:10px 14px 6px;flex:none}.brand{display:flex;align-items:center;gap:8px;min-width:0}.brand-name{font-family:var(--font-display);font-weight:700;font-size:1.1rem;letter-spacing:-.01em;white-space:nowrap}.top-actions{margin-left:auto;display:flex;gap:4px}.stage{flex:1;min-height:0;position:relative;display:flex;justify-content:center;padding:0}canvas#canvas{height:100%;width:auto;max-width:100%;aspect-ratio:9 / 16;background:transparent}.pill{position:absolute;bottom:14px;left:50%;transform:translate(-50%);z-index:3;padding:9px 18px}.strip{display:flex;align-items:center;gap:6px;padding:4px 14px;flex:none;min-height:52px}.strip-label{font-size:.85rem;color:var(--muted);width:54px;flex:none}.strip-items{flex:1;min-width:0;display:flex;gap:2px;overflow-x:auto;overflow-y:hidden;position:relative;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent);padding-right:28px}.strip-items::-webkit-scrollbar{display:none}.strip-items button{position:relative;flex:none;white-space:nowrap;height:44px;padding:0 16px;background:transparent;color:var(--muted);font-size:1rem;font-weight:500}.strip-items button:hover{color:var(--text);background:var(--surface)}.strip-items button.active{color:var(--text);background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--theme-accent)}#shapes button{display:inline-flex;align-items:center;gap:8px}#shapes canvas{width:22px;height:22px;border-radius:6px;background:#00000059}.bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:6px 14px 12px;flex:none}.bar-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;justify-self:center;width:104px;padding:8px 0;background:transparent;color:var(--muted);border-radius:var(--radius);font-size:.88rem;font-weight:500}.bar-btn svg{width:24px;height:24px;flex:none}.bar-btn:hover{color:var(--text);background:var(--surface)}#play{width:72px;height:72px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--on-cream)}#play:hover{background:#fffaf1}#play svg{display:none}#play .i-play{margin-left:3px}#play[data-state=Play] .i-play,#play[data-state=Pause] .i-pause,#play[data-state=Replay] .i-replay{display:block}body.recording #record{color:#f2a08a}body.recording #record svg{animation:rec 1.2s ease-in-out infinite}@keyframes rec{50%{opacity:.35}}button{touch-action:manipulation;background:var(--surface);color:var(--text);border:0;border-radius:999px;padding:10px 16px;cursor:pointer;font:inherit;font-size:.92rem;font-weight:500;transition:background-color var(--ease),color var(--ease),transform var(--ease)}button:hover{background:var(--surface-2)}button:active{transform:scale(.97)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--text);outline-offset:2px}button:disabled{opacity:.35;cursor:not-allowed}button.active{background:var(--surface-2);color:var(--text)}button.primary{background:var(--cream);color:var(--on-cream);font-weight:600}button.primary:hover{background:#fffaf1}button.icon{width:44px;height:44px;padding:0;display:inline-grid;place-items:center;background:transparent;color:var(--muted)}button.icon:hover{color:var(--text);background:var(--surface)}button.wide{width:100%;height:54px;padding:0 16px;font-size:1rem}#sound .off-x{display:block}#sound .on-wave,#sound.on .off-x{display:none}#sound.on .on-wave{display:block}#sound.on{color:var(--text)}#modes,.tabs,#video-kind,#pace,#video-quality{display:flex;flex-wrap:nowrap;gap:0;padding:4px;background:var(--surface);border-radius:999px}#modes button,.tabs button,#video-kind button,#pace button,#video-quality button{flex:1;background:transparent;color:var(--muted);border-radius:999px;padding:0 16px;height:36px}.tabs button,#video-kind button,#pace button,#video-quality button{height:44px}#modes button:hover,.tabs button:hover,#video-kind button:hover,#pace button:hover,#video-quality button:hover{color:var(--text);background:transparent}#modes button.active,#custom-tabs button.active,#video-kind button.active,#pace button.active,#video-quality button.active{background:var(--surface-2);color:var(--text)}.sheet .tabs,.sheet #video-kind,.sheet #pace,.sheet #video-quality{background:var(--track)}.start{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;background:#0a0a0cf5;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.start .logo{width:96px;height:96px;border-radius:22px}.start h1{margin:10px 0 0;font-family:var(--font-display);font-size:2rem;font-weight:700;letter-spacing:-.01em;text-wrap:balance;background:linear-gradient(90deg,#ff6b6b,#ffb457 22%,#f4e36a,#5fd39a,#4fa8ff 82%,#a98bff);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-bottom:.08em}.start p{margin:0 0 18px;color:var(--muted)}.start .primary{height:54px;padding:0 36px;font-size:1rem}.start .link{background:none;color:var(--muted);text-decoration:underline}.logo{width:30px;height:30px;border-radius:9px;flex:none;display:block;object-fit:cover}.chips{display:flex;flex-wrap:wrap;gap:4px}.chips button{background:transparent;color:var(--muted);height:44px;padding:0 18px}.chips button:hover{color:var(--text);background:var(--surface)}dialog.sheet{background:var(--panel);color:var(--text);border:0;border-radius:28px 28px 0 0;padding:0;width:min(560px,100vw);max-width:100vw;max-height:86dvh;margin:auto auto 0;box-shadow:0 -24px 60px #0009;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}dialog.sheet.tall{height:86dvh}#custom-dialog{height:50dvh}dialog.sheet[open]{animation:rise .22s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}dialog.sheet::backdrop{background:transparent}@keyframes rise{0%{opacity:0;transform:translateY(40px)}}.sheet-body{padding:0 22px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;flex:1;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}.grabber{flex:none;height:26px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none}.grabber:before{content:"";width:42px;height:4px;border-radius:4px;background:#ffffff38}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin:6px 0 16px}.sheet-head h2{text-wrap:balance;margin:0;font-family:var(--font-display);font-size:1.65rem;font-weight:700;letter-spacing:-.01em}.sheet h3{font-size:.92rem;font-weight:500;color:var(--muted);margin:24px 0 10px}.sheet .hint{color:var(--muted);font-size:.88rem;line-height:1.45;margin:8px 0 12px}.sheet .rank1{margin:4px 0 8px;font-weight:600;color:var(--text)}#orders{display:grid;grid-template-columns:1fr 1fr;gap:4px}#orders button.active{background:var(--surface-2);color:var(--text)}#pace-box .row{display:block;margin-bottom:10px;font-size:.92rem;color:var(--muted)}.algo-group h3{margin-top:20px}.algo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.algo-grid button{text-align:left;border-radius:var(--radius);padding:13px 15px;background:var(--surface);display:flex;flex-direction:column;gap:3px}.algo-grid button b{font-size:.98rem;font-weight:600}.algo-grid button small{color:var(--muted);font-size:.8rem}.algo-grid button.active{background:var(--surface-3);box-shadow:inset 0 0 0 1.5px #ffffff59}label{display:block;margin:14px 0;font-size:.92rem;color:var(--muted)}label .row{display:flex;justify-content:space-between;margin-bottom:14px}label .row b{color:var(--text);font-weight:600}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;margin:0;background:linear-gradient(90deg,var(--cream) var(--fill, 50%),rgba(255,255,255,.1) var(--fill, 50%))}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;border:0;box-shadow:0 2px 10px #00000080;cursor:pointer;transition:transform var(--ease)}input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.08)}input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:0;cursor:pointer}label.seed{display:flex;align-items:center;gap:8px;margin:0}label.seed input,.round select{flex:1;min-width:0;height:52px;background:var(--surface);color:var(--text);border:0;border-radius:999px;padding:0 20px;font:inherit;font-size:1rem;font-variant-numeric:tabular-nums}label.seed .icon{width:52px;height:52px;background:var(--surface)}.round select{height:40px;padding:0 14px;font-size:.88rem;background-color:#1f1f23}#video-kind{margin:10px 0 4px}#tour-size{margin-bottom:10px}#video-algos button.active,#tour-algos button.active,#tour-size button.active{background:var(--surface-2);color:var(--text)}.round{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:.9rem;color:var(--muted)}.round span:first-child{width:64px}.round button{padding:0 12px;height:36px}#add-round{width:100%;margin-top:8px;height:46px;border:1.5px dashed rgba(255,255,255,.18);background:transparent;color:var(--text)}#add-round:hover{background:var(--surface)}.sheet .buttons{display:flex;flex-direction:column;gap:8px;margin-top:20px}@media (min-width: 761px){dialog.sheet{margin:auto;border-radius:28px;max-height:80vh}dialog.sheet.tall{height:80vh}#custom-dialog{height:auto}.grabber{display:none}.sheet-body{padding-top:14px}}@media (max-width: 400px){.brand-name{display:none}}@media (max-height: 640px){.strip{min-height:44px;padding-block:2px}.strip-items button{height:38px}.bar{padding-block:4px 8px}#play{width:60px;height:60px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.vid-info{margin:6px 0 12px;padding:16px 18px;border-radius:var(--radius);background:var(--surface)}.vid-info b{font-size:1.1rem}.vid-info p{margin:6px 0 0;color:var(--muted);font-size:.88rem;line-height:1.45}.making{display:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;background:var(--bg)}.making-title{font-family:var(--font-display);font-size:1.4rem;font-weight:700;letter-spacing:-.01em}.making-row{display:flex;align-items:center;gap:12px;width:min(320px,100%)}.making .track{flex:1;height:8px;border-radius:4px;background:#ffffff1a;overflow:hidden}.making .track i{display:block;height:100%;width:0;background:var(--cream);transition:width .15s linear}.making-row span{width:3em;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.making p{margin:0;color:var(--muted);font-size:.88rem}body.recording .making{display:flex}body.recording .algo-strip{display:none}body.recording .topbar,body.recording #shapes,body.recording #play,body.recording #open-customize{pointer-events:none;opacity:.4}.pro-btn{display:inline-grid;place-items:center;height:34px;padding:0 13px;margin-left:2px;align-self:center;border-radius:999px;background:var(--surface);text-decoration:none;font-weight:700;font-size:.9rem;letter-spacing:.02em;color:var(--text);transition:background-color var(--ease)}.pro-btn:hover{background:var(--surface-2)}.pro-word{color:var(--muted);transition:color var(--ease)}body.is-pro .pro-word{background:linear-gradient(100deg,#ff6b6b,#ffb457,#f4e36a,#5fd39a,#4fa8ff,#a98bff,#ff6b6b) 0 0 / 200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 6px rgba(255,200,120,.35));animation:pro-shine 4s linear infinite}@keyframes pro-shine{to{background-position:-200% 0}}@media (prefers-reduced-motion: reduce){body.is-pro .pro-word{animation:none}}.lock-ic{display:none;flex:none}.locked .lock-ic{display:inline-block}.strip-items button.locked,.chips button.locked,.algo-grid button.locked{color:#8e8c9399}.strip-items button.locked{display:inline-flex;align-items:center;gap:6px}.strip-items button.locked .lock-ic,.chips button.locked .lock-ic{opacity:.8}#shapes button.locked canvas{opacity:.45}.chips button.locked{display:inline-flex;align-items:center;gap:6px}.algo-grid button{position:relative}.algo-grid button.locked b{color:#f2f0ec8c}.algo-grid button.locked .lock-ic,.swatches button.locked .lock-ic,.bg-swatches button.locked .lock-ic{position:absolute;top:9px;right:9px}.swatches button,.bg-swatches button{position:relative}.swatches button.locked i,.bg-swatches button.locked i{opacity:.45}.swatches button.locked .lock-ic,.bg-swatches button.locked .lock-ic{top:11px;right:11px;color:#fff}.pro-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;overflow-y:auto;background:var(--bg)}.pro-inner{max-width:560px;margin:0 auto;min-height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:calc(10px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom))}#pro-back{align-self:flex-start;margin-left:-8px}.pro-logo{width:64px;height:64px;border-radius:16px;margin-top:8vh}.pro-page h1{margin:18px 0 8px;font-family:var(--font-display);font-size:2rem;font-weight:700;letter-spacing:-.01em;text-wrap:balance}.pro-lead{margin:0;max-width:34ch;color:var(--muted);line-height:1.5;text-wrap:pretty}.pro-status{margin:28px 0 0;padding:14px 20px;border-radius:var(--radius);background:var(--surface);font-weight:500}.pro-status:empty{display:none}.pro-status[data-kind=ok]{color:#8fe3b0}.pro-status[data-kind=bad]{color:#f2a08a}.pro-code{width:min(360px,100%);margin-top:32px}.pro-code label{margin:0 0 10px}.pro-code-row{display:flex;gap:8px}.pro-code-row input{flex:1;min-width:0;height:50px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:1rem}.pro-code-row button{height:50px;padding:0 22px}.pro-code-msg{min-height:1.4em;margin:10px 0 0;font-size:.9rem;color:#f2a08a}.pro-code-msg[data-kind=ok]{color:#8fe3b0}.pro-code-off{margin-top:4px;background:none;color:var(--muted);text-decoration:underline}.legal-links{display:flex;gap:4px;font-size:.88rem}.legal-links a{color:var(--muted);text-decoration:none;padding:10px 12px;border-radius:999px}.legal-links a:hover{color:var(--text);background:var(--surface)}.start .legal-links{position:absolute;left:0;right:0;bottom:calc(10px + env(safe-area-inset-bottom));justify-content:center}.pro-inner .legal-links{margin-top:auto;padding-top:40px;justify-content:center}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.spectrum{background:linear-gradient(90deg,#ff6b6b,#ffb457,#f4e36a,#5fd39a,#4fa8ff,#a98bff,#ff6b6b) 0 0 / 200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:spectrum-drift 6s linear infinite}@keyframes spectrum-drift{to{background-position:-200% 0}}.pro-shop{width:100%;text-align:left}.plans{border:0;margin:30px 0 0;padding:0;display:grid;gap:10px}.plan{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:0;padding:16px 18px;border-radius:20px;background:var(--surface);cursor:pointer;font-size:1rem;transition:background-color var(--ease),box-shadow var(--ease)}.plan:hover{background:#ffffff17}.plan input{position:absolute;opacity:0;width:1px;height:1px}.plan-dot{width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff47;display:grid;place-items:center;transition:background-color var(--ease),box-shadow var(--ease)}.plan-dot:after{content:"";width:9px;height:9px;border-radius:50%;background:var(--on-cream);transform:scale(0);transition:transform var(--ease)}.plan:has(input:checked){background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--cream)}.plan:has(input:checked) .plan-dot{background:var(--cream);box-shadow:none}.plan:has(input:checked) .plan-dot:after{transform:scale(1)}.plan:has(input:focus-visible){outline:2px solid var(--text);outline-offset:2px}.plan-text{display:flex;flex-direction:column;gap:3px;min-width:0}.plan-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:650;font-size:1.08rem;color:var(--text)}.plan-tag{font-size:.72rem;font-weight:600;letter-spacing:.02em;padding:3px 9px;border-radius:999px;color:var(--text);border:1px solid transparent;background:linear-gradient(#1c1b20,#1c1b20) padding-box,linear-gradient(90deg,#ff6b6b,#ffb457,#f4e36a,#5fd39a,#4fa8ff,#a98bff,#ff6b6b) 0 0 / 200% 100% border-box;animation:tag-drift 6s linear infinite}@keyframes tag-drift{to{background-position:0 0,-200% 0}}@media (prefers-reduced-motion: reduce){.spectrum,.plan-tag{animation:none}}.plan-sub{color:var(--muted);font-size:.88rem}.plan-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}.plan-price b{font-size:1.45rem;font-weight:700;color:var(--text);letter-spacing:-.01em}.plan-price small{color:var(--muted);font-size:.78rem;margin-top:2px}.pro-h2{margin:36px 0 12px;font-family:var(--font-display);font-weight:650;font-size:1.25rem;letter-spacing:-.01em;color:var(--text)}.compare{width:100%;border-collapse:collapse;font-size:.92rem}.compare th,.compare td{padding:12px 6px;border-bottom:1px solid rgba(255,255,255,.06)}.compare tbody tr:last-child th,.compare tbody tr:last-child td{border-bottom:0}.compare thead th{padding-top:0;font-size:.8rem;font-weight:600;color:var(--muted)}.compare thead th:last-child{font-size:.95rem;font-weight:700}.compare tbody th{text-align:left;font-weight:400;color:var(--text);padding-left:0}.compare td{width:58px;text-align:center;color:var(--muted)}.compare td:last-child{color:var(--text);font-weight:650}.compare td.no{opacity:.6}.pro-card.restore{margin-top:30px;padding:4px 20px 18px;border-radius:20px;background:var(--surface)}.pro-card.restore .pro-h2{margin-top:16px;margin-bottom:6px;font-size:1.1rem}.pro-card.restore p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.5}.pro-card.restore a{color:var(--cream)}.restore input{display:block;width:100%;height:50px;margin:14px 0 8px;padding:0 18px;border:0;border-radius:999px;background:var(--track);color:var(--text);font:inherit;font-size:1rem}.restore input::placeholder{color:var(--muted)}.restore-btn{width:100%;height:50px;font-size:.98rem;font-weight:600}.pro-card.restore .restore-msg{margin:10px 0 0;min-height:0}.pro-card.restore .restore-msg:empty{display:none}.pro-card.restore .restore-msg[data-kind=bad]{color:#f2a08a}.pro-card.restore .restore-msg[data-kind=ok]{color:#8fe3b0}.buy-bar{position:sticky;bottom:0;width:calc(100% + 44px);margin:8px -22px calc(-28px - env(safe-area-inset-bottom));padding:26px 22px calc(14px + env(safe-area-inset-bottom));text-align:center;background:linear-gradient(to bottom,transparent,var(--bg) 22px)}.buy-bar .primary{width:100%;height:56px;font-size:1.05rem}.buy-note{margin:10px 0 0;font-size:.8rem;color:var(--muted)}.buy-note a{color:var(--muted)}.buy-note[data-kind=soon]{color:var(--text)}.toggle{display:flex;align-items:center;justify-content:space-between;margin:14px 0 4px}.toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:50px;height:30px;border-radius:15px;background:#ffffff24;position:relative;cursor:pointer;transition:background-color .2s ease}.toggle input:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s ease}.toggle input:checked{background:var(--cream)}.toggle input:checked:after{transform:translate(20px);background:var(--on-cream)}.tabs{margin:0 0 6px}.tab-panel{animation:fade .16s ease-out}@keyframes fade{0%{opacity:0;transform:translateY(4px)}}.swatches,.bg-swatches{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:calc((100% - 24px) / 3.5);gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:2px}.swatches::-webkit-scrollbar,.bg-swatches::-webkit-scrollbar{display:none}.swatches button,.bg-swatches button{scroll-snap-align:start;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:7px;border-radius:var(--radius);background:var(--surface);font-size:.78rem;color:var(--muted)}.swatches button i,.bg-swatches button i{display:block;height:20px;border-radius:7px}.bg-swatches button i{box-shadow:inset 0 0 0 1.5px #ffffff38}#themes button.active,#backgrounds button.active{background:var(--surface-2);color:var(--text);box-shadow:inset 0 0 0 1.5px #ffffff59}.custom-colors{display:flex;gap:12px;margin-top:10px}.custom-colors label{flex:1;display:flex;align-items:center;justify-content:space-between;margin:0;padding:8px 14px;border-radius:999px;background:var(--surface)}.custom-colors input{width:40px;height:28px;border:0;padding:0;background:none;cursor:pointer}.voice-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.voice-list button{text-align:left;border-radius:var(--radius);padding:13px 15px;background:var(--surface);display:flex;flex-direction:column;gap:3px}.voice-list button b{font-size:.98rem;font-weight:600}.voice-list button small{color:var(--muted);font-size:.8rem}#voices button.active{background:var(--surface-3);color:var(--text);box-shadow:inset 0 0 0 1.5px #ffffff59}@media (min-width: 900px){.app{max-width:1240px;padding:18px 28px;column-gap:36px;display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto minmax(0,auto) auto minmax(0,auto) minmax(0,auto) 1fr auto}.app>*{grid-column:2}.app>.stage{grid-column:1;grid-row:1 / -1;padding:0}.topbar{padding:4px 0 10px}.strip{flex-direction:column;align-items:stretch;gap:2px;padding:4px 0;min-height:0}.strip-label{width:auto}.strip-items{flex:0 1 auto;flex-wrap:wrap;align-content:flex-start;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;-webkit-mask-image:none;mask-image:none;padding-right:0}.strip-items button{height:38px;padding:0 14px;font-size:.95rem}.algo-strip .grid-btn{display:none}.bar{grid-row:-2;padding:12px 0 0}#custom-dialog:not(:modal){position:fixed;inset:auto 24px 24px auto;margin:0;width:400px;max-height:min(80vh,720px);border-radius:28px;z-index:30;box-shadow:0 20px 60px #0009}}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
