#editor.studio .formats{justify-content:center}#editor.studio .formats button{flex-direction:column;gap:0;padding:6px 14px;line-height:1.1}#editor.studio .formats button small{font-size:10.5px;font-weight:700;opacity:.8}#editor.studio .formats .yours{flex:none;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 16px;border-radius:999px;background:var(--glass);box-shadow:inset 0 0 0 1.5px var(--pink);color:var(--ink);font:800 14px/1.1 var(--body);white-space:nowrap}#editor.studio .formats .yours small{font-size:10.5px;font-weight:700;opacity:.8}#editor.studio .formats .yours+button{flex-direction:row;gap:5px;align-self:center}#editor.studio .frame{height:auto;min-height:230px;padding:46px 24px calc(var(--bar, 40px) + 22px);overflow:auto}#editor.studio .sheet{cursor:default;touch-action:none}#editor.studio .sheet[data-tool=draw]{cursor:crosshair}#editor.studio .sheet .pen{position:absolute;z-index:3;pointer-events:none;box-shadow:0 0 0 1px #fff,0 0 0 2px #1e081ed9}#editor.studio .sheet .live{position:absolute;left:0;top:0;image-rendering:pixelated;pointer-events:none}#editor.studio canvas.dragging{image-rendering:pixelated}#editor.studio .sheet .picture{position:relative;overflow:hidden}#editor.studio .sheet .frames{position:absolute;left:0;top:0;display:block;image-rendering:pixelated;will-change:transform}#editor.studio .sheet .grid{position:absolute;inset:0;pointer-events:none;opacity:.22;mix-blend-mode:difference;background-image:linear-gradient(to right,#ffffff 1px,transparent 1px),linear-gradient(#ffffff 1px,transparent 1px);background-size:var(--cell) var(--cell)}#editor.studio .sheet.small .frames,#editor.studio .sheet.small .live{image-rendering:auto}#editor.studio .sheet.making:after{content:"making it\2026";position:absolute;right:-1px;bottom:calc(100% + 7px);padding:2px 8px;border-radius:7px;background:#e23d97d9;color:#fff;font:800 11.5px/1.4 var(--body)}#editor.studio .tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:8px}#editor.studio .tiles button{flex-direction:column;gap:4px;padding:7px 6px 6px;border-radius:14px;font-size:11.5px;line-height:1.1}#editor.studio .tiles canvas{width:100%;height:auto;image-rendering:pixelated;border-radius:3px;display:block}#editor.studio .tiles.icons{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}#editor.studio .tiles.icons canvas{width:36px;height:36px}#editor.studio .field{width:100%;padding:10px 12px;border:1px solid #e3cbe0;border-radius:12px;font:600 16px/1.35 var(--body);color:var(--ink);background:#fffbfd}#editor.studio .field:focus{outline:none;border-color:var(--pink);box-shadow:0 0 0 3px var(--pink-soft)}#editor.studio .dot{display:inline-block;width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 1px #00000026}#editor.studio .swatch.ink{position:relative;overflow:hidden}#editor.studio .swatch.ink:before{content:"";position:absolute;inset:0;background:var(--ink)}#editor.studio .swatch.ink.runs:before{right:auto;width:200%;will-change:transform;animation:ink-runs 2.4s linear infinite}@keyframes ink-runs{to{transform:translate(-50%)}}@media(prefers-reduced-motion:reduce){#editor.studio .swatch.ink.runs:before{animation:none}}#editor.studio .result{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;width:min(100%,760px);margin:30px auto 4px;padding:30px 22px 20px;border:3px solid #ffffff;border-radius:24px;background:linear-gradient(155deg,#e8dcfff5,#ffe4f4f0 55%,#ffd4edf5);box-shadow:inset 0 1px #fff,inset 0 -14px 28px -18px #b81f7459,0 16px 36px -16px #9628788c}#editor.studio .result:before{content:"";position:absolute;left:0;right:0;top:0;height:46%;border-radius:21px 21px 50% 50%/21px 21px 24px 24px;background:linear-gradient(#ffffffb3,#fff0);pointer-events:none}#editor.studio .result>*{position:relative}#editor.studio .result>.arrow{position:absolute;left:50%;top:-25px;width:44px;height:44px;margin-left:-22px;display:grid;place-items:center;border:3px solid #ffffff;border-radius:50%;color:#fff;background:linear-gradient(#ff8fc7 0,#f562ad 48%,#e23d97 52%,#ef5aa6);box-shadow:0 6px 14px -4px #b81f7499;animation:result-arrow 1.4s ease-in-out 3}#editor.studio .result>.arrow glig-icon{width:22px}@keyframes result-arrow{50%{transform:translateY(5px)}}@media(prefers-reduced-motion:reduce){#editor.studio .result>.arrow{animation:none}}#editor.studio .result .what{flex:none}#editor.studio .result .row{flex:none;flex-direction:row;flex-wrap:wrap;justify-content:center}#editor.studio .result .row button{justify-content:center;white-space:nowrap}#editor.studio .result h2{font-size:1.7rem}#editor.studio .result h2 .live{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:3px 9px;border-radius:999px;vertical-align:middle;background:#fff;color:var(--pink-dark);font:800 11px/1.2 var(--body);letter-spacing:.02em;box-shadow:0 1px 3px #96287840}#editor.studio .result h2 .live:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--pink)}#editor.studio .result .note{margin-top:3px}#editor.studio .result .pagecode{padding:2px 6px;font-size:13px;text-decoration:underline}#editor.studio .result .file{display:grid;place-items:center;width:min(100%,540px);margin:10px 0;padding:26px 20px;border-radius:16px;background:#6e286412;box-shadow:inset 0 3px 10px #5a1e5047,inset 0 0 0 1px #5a1e501a,0 1px #ffffffe6}#editor.studio .result .file img{display:block;max-width:100%;height:auto;image-rendering:auto;box-shadow:0 8px 18px -6px #5a1e508c,0 2px 5px #5a1e5040}#editor.studio .result .sizes{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}#editor.studio .result .sizes button{flex-direction:column;gap:1px;padding:4px 10px;line-height:1.1;font-size:12.5px}#editor.studio .result .sizes button small{font-size:10px;font-weight:700;opacity:.8;font-variant-numeric:tabular-nums}#editor.studio .toolbox button.on:hover{background:linear-gradient(#ff8fc7 0,#f562ad 48%,#e23d97 52%,#ef5aa6);border-color:#c42a80}#editor.studio .timeline{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:18px;background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-edge),0 10px 26px -16px #5a285080}#editor.studio .timeline .film{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;--room: clamp(120px, 22vh, 220px)}#editor.studio .timeline .room{position:absolute;width:0;height:var(--room);visibility:hidden}#editor.studio .timeline .strip{position:relative;overflow:hidden;border-radius:12px;background:#46193c12;box-shadow:inset 0 1px 4px #46143c33}#editor.studio .timeline .strip:focus-visible{outline:3px solid var(--pink);outline-offset:2px}#editor.studio .timeline .track{position:relative;display:flex;flex-direction:column;gap:1px;padding:5px;will-change:transform}#editor.studio .timeline .cell{display:flex;align-items:center;gap:8px;padding:2px 6px;border:1px solid transparent;border-radius:7px;cursor:pointer;user-select:none;color:var(--soft);font:800 11px/1 var(--body);font-variant-numeric:tabular-nums}#editor.studio .timeline .cell:hover{background:#ffffff8c}#editor.studio .timeline .cell.added{border-style:dashed;border-color:#e48bbd}#editor.studio .timeline .cell b{flex:none;width:2.4em;text-align:right}#editor.studio .timeline .cell[aria-selected=true] b{color:var(--pink-dark)}#editor.studio .timeline .cell canvas{flex:none;display:block;image-rendering:pixelated;box-shadow:0 0 0 1px #46193c33}#editor.studio .timeline .ring{position:absolute;left:0;top:0;z-index:1;border-radius:4px;pointer-events:none;will-change:transform;box-shadow:0 0 0 2.5px var(--pink),0 0 0 4px #fff,0 0 12px 3px #e23d9780}#editor.studio .timeline .gauge{position:relative;width:22px;cursor:pointer;touch-action:pan-y}#editor.studio .timeline .gauge[hidden]{display:none}#editor.studio .timeline .gauge:before{content:"";position:absolute;left:8px;top:0;bottom:0;width:6px;border-radius:3px;background:#46193c1f}#editor.studio .timeline .gauge .page{position:absolute;left:4px;right:4px;top:0;border-radius:6px;background:#e23d974d;will-change:transform}#editor.studio .timeline .gauge .now{position:absolute;left:6px;top:0;width:10px;height:10px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 2px #fff;will-change:transform}#editor.studio .timeline.folded{display:none}#editor.studio .timeline .listadd{justify-content:center;gap:6px;padding:7px 10px;font-size:13px;background:#fff9;border:1.5px dashed #e48bbd;box-shadow:none}#editor.studio .timeline .pace{display:flex;align-items:center;gap:6px}#editor.studio .timeline .pace button{flex:none;padding:7px 9px}#editor.studio .timeline .pace .rate{flex:1;text-align:center;color:var(--soft);font:700 11.5px/1.2 var(--body);white-space:nowrap}#editor.studio .timeline .pace .rate b{display:block;color:var(--pink-dark);font-size:17px;font-variant-numeric:tabular-nums}#editor.studio .timeline .ownpace{align-self:center;padding:2px 6px;font-size:12px;text-decoration:underline}#editor.studio .surprise .again{background:#fff;font-size:15px;padding:9px 14px}#editor.studio .desk{isolation:isolate}#editor.studio .desk>.timeline{position:relative;margin-top:22px}#editor.studio .desk>.timeline:before{content:"Timeline";position:absolute;z-index:-1;left:14px;bottom:calc(100% - 9px);padding:4px 12px 13px;border-radius:10px 10px 0 0;background:linear-gradient(#ffe6f4,#f7d3e9);box-shadow:inset 0 0 0 1px #ebbfd8;color:var(--pink-dark);font:800 1rem/1 var(--display);letter-spacing:.02em}#editor.studio .desk:has(>.timeline.folded){grid-template-columns:minmax(0,1fr);grid-template-areas:"table" "words" "result"}#editor.studio .frametabs{position:relative;z-index:2;display:flex;align-items:flex-end;gap:4px;height:30px;margin:0 16px -2px}#editor.studio .frametabs .tabsroom{position:relative;flex:1;min-width:0;height:100%;overflow:hidden}#editor.studio .frametabs .tabstrack{position:absolute;left:0;bottom:0;display:flex;gap:3px;will-change:transform}#editor.studio .frametabs .tab{flex:none;justify-content:center;width:30px;height:26px;padding:0;border:1px solid #dcbcd2;border-bottom:0;border-radius:9px 9px 0 0;background:linear-gradient(#fff,#f6e6f0);box-shadow:none;color:var(--soft);font:800 11.5px/1 var(--body);font-variant-numeric:tabular-nums}#editor.studio .frametabs .tab:hover{color:var(--pink-dark);box-shadow:none}#editor.studio .frametabs .tab.added{border-style:dashed;border-color:#e48bbd}#editor.studio .frametabs .tab[aria-selected=true]{color:var(--pink-dark);background:#fff}#editor.studio .frametabs .tabring{position:absolute;left:0;bottom:0;border-radius:9px 9px 0 0;pointer-events:none;will-change:transform;box-shadow:inset 0 0 0 2px var(--pink),0 -2px 10px #e23d9759}#editor.studio .frametabs>button{flex:none;height:26px;padding:0 7px;border-radius:9px 9px 0 0;border-bottom:0;box-shadow:none}#editor.studio .frametabs>button[hidden]{display:none}#editor.studio .float{left:12px;justify-content:flex-end;flex-wrap:wrap}#editor.studio .float .play{margin-right:auto;align-items:center}#editor.studio .float .play .count{padding:0 6px;color:var(--soft);font:700 12.5px/1 var(--body);font-variant-numeric:tabular-nums;white-space:nowrap}#editor.studio .float .play [hidden]{display:none}#editor.studio .float .again{gap:5px;font-size:12.5px;white-space:nowrap}@media(max-width:380px){#editor.studio .float .again span{display:none}}#editor.studio .desk{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"table" "words" "frames" "result";gap:12px}#editor.studio .desk>.viewport{grid-area:table;min-width:0}#editor.studio .desk>.words{grid-area:words}#editor.studio .desk>.timeline{grid-area:frames}#editor.studio .desk>.result{grid-area:result}#editor.studio .words{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px;padding:12px 16px;border-radius:18px;background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-edge),0 10px 26px -16px #5a285080}#editor.studio .words h2{font-size:1.4rem}#editor.studio .words .lines{display:flex;flex-wrap:wrap;gap:8px}#editor.studio .words .lines .field{flex:1 1 200px;width:auto;min-width:0}#editor.studio .words .note{grid-column:1 / -1}@media(min-width:1181px){#editor.studio .desk{grid-template-columns:min-content minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"frames table" "frames words" "frames result";align-items:start}#editor.studio .desk>.timeline{margin-top:28px}#editor.studio .desk .timeline{padding:10px}#editor.studio .desk .film{grid-template-columns:max-content auto;gap:4px;--room: clamp(150px, 100vh - 460px, 440px)}#editor.studio .desk .timeline .cell{gap:6px;padding:2px 4px}#editor.studio .desk .timeline .cell b{width:2em}#editor.studio .desk .timeline .gauge{width:16px}#editor.studio .desk .timeline .gauge:before{left:5px}#editor.studio .desk .timeline .gauge .page{left:2px;right:2px}#editor.studio .desk .timeline .gauge .now{left:3px}}@media(max-width:860px){#editor.studio .words{grid-template-columns:minmax(0,1fr)}}@media(pointer:coarse){#editor.studio .timeline .cell{padding-block:4px}}@media(min-width:861px){#editor.studio .side{position:sticky;top:86px;display:flex;flex-direction:column;gap:12px;height:calc(100vh - 100px)}#editor.studio .side>.panel{position:static;flex:0 1 auto;min-height:0;max-height:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e2b4d2 transparent}#editor.studio .side>.panel::-webkit-scrollbar{width:8px}#editor.studio .side>.panel::-webkit-scrollbar-track{background:transparent}#editor.studio .side>.panel::-webkit-scrollbar-thumb{border-radius:8px;background:#e2b4d2}}#editor.studio.starting .bar .save{visibility:hidden}#editor.studio .surprise{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:18px;background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-edge),0 10px 26px -16px #5a285080}#editor.studio .surprise button{justify-content:center;gap:8px;padding:11px 16px;font-size:16px;font-weight:800;background:linear-gradient(120deg,#fff,#ffe6f4 45%,#ece0ff);border-color:#e2a9d4}#editor.studio .surprise button glig-icon{width:20px;color:var(--pink)}#editor.studio .side>.surprise{flex:none}#editor.studio .start{position:relative;max-width:1120px;padding:28px 26px 30px}#editor.studio .start h1{font-size:2.6rem}#editor.studio .start>p{margin-bottom:16px}#editor.studio .start .back{position:absolute;right:16px;top:14px;display:inline-flex;padding:6px 10px}#editor.studio .start .templates{display:grid;grid-template-columns:repeat(auto-fill,minmax(326px,1fr));gap:12px;text-align:left}#editor.studio .start .group{grid-column:1 / -1;margin:12px 0 0;font:800 1.3rem/1 var(--display);color:var(--ink)}#editor.studio .start .template{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:12px;border-radius:16px;text-align:left}#editor.studio .start .template .view{position:relative;display:block;overflow:hidden;max-width:100%;margin-bottom:4px;box-shadow:0 0 0 1px #46193c38;background:repeating-conic-gradient(#f6e6f0 0% 25%,#fff 0% 50%) 0 0 / 10px 10px}#editor.studio .start .template .view canvas{position:absolute;left:0;top:0;display:block;will-change:transform}#editor.studio .start .template .view img{display:block;max-width:100%;height:auto;image-rendering:pixelated}#editor.studio .start .template b{font:800 15px/1.15 var(--body);color:var(--ink)}#editor.studio .start .template small{color:var(--soft);font-size:12.5px;line-height:1.3}#editor.studio .start .goon{width:100%;margin-bottom:4px;flex-direction:row;align-items:center;gap:14px}#editor.studio .start .goon[hidden]{display:none}#editor.studio .start .goon .view{margin:0}@media(max-width:860px){#editor.studio .start{margin:8px 0;padding:22px 14px}#editor.studio .start h1{font-size:2rem;padding-right:64px}#editor.studio .start .templates{grid-template-columns:minmax(0,1fr);gap:8px}#editor.studio .start .goon{flex-direction:column;align-items:flex-start}}#editor.studio .drafts{display:flex;flex-direction:column;gap:6px}#editor.studio .draft{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 8px;padding:8px 10px;border-radius:12px;background:#fff8fc;box-shadow:inset 0 0 0 1px #f1d6e7}#editor.studio .draft.on{box-shadow:inset 0 0 0 2px var(--pink)}#editor.studio .draft img{grid-column:1 / -1;justify-self:start;max-width:100%;height:auto;image-rendering:pixelated;box-shadow:0 0 0 1px #46193c33}#editor.studio .draft .what{min-width:0;display:flex;flex-direction:column;line-height:1.25}#editor.studio .draft .acts{display:flex;gap:6px}#editor.studio .draft .what b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}#editor.studio .draft .what small{color:var(--soft);font-size:11.5px}#editor.studio .draft button{flex:none;padding:5px 9px;font-size:13px}html.bigshowing{overflow:hidden}#editor .bigshow{position:fixed;inset:0;z-index:100;overflow:hidden;background:#07070b;touch-action:none}#editor .bigshow .board{position:absolute;left:0;top:0;overflow:hidden;background-image:radial-gradient(circle at center,var(--unlit) 0 30%,transparent 37%);background-size:var(--pitch) var(--pitch);background-position:0 var(--top)}#editor .bigshow.turned .board{transform-origin:0 0;transform:translate(var(--wide)) rotate(90deg)}#editor .bigshow .track{position:absolute;left:0;top:var(--top);display:flex;will-change:transform;animation:bigshow-run var(--time) steps(var(--steps)) infinite}#editor .bigshow .track canvas{display:block;flex:none}@keyframes bigshow-run{0%{transform:translate(0)}to{transform:translate(var(--shift))}}#editor .bigshow .bigbar{position:absolute;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translate(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:max-content;max-width:calc(100% - 24px);transition:opacity .35s}#editor .bigshow.turned .bigbar{bottom:14px}#editor .bigshow.quiet .bigbar,#editor .bigshow.quiet .turn{opacity:0;pointer-events:none}#editor .bigshow .turn{display:none}#editor .bigshow.turned .turn{position:absolute;left:50%;top:max(14px,env(safe-area-inset-top));transform:translate(-50%);display:flex;align-items:center;gap:7px;width:max-content;margin:0;padding:7px 15px 7px 12px;border-radius:999px;background:#07070bdb;box-shadow:0 0 0 1px #ffffff24;color:#f2e8fa;font:800 15px/1.2 var(--body);transition:opacity .35s}@media(max-width:860px){#editor.studio .work,#editor.studio .work:has(.toolbox[hidden]){grid-template-columns:minmax(0,1fr)}#editor.studio .frame{min-height:0;padding:40px 12px calc(var(--bar, 86px) + 18px)}#editor.studio .formats{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:2px}#editor.studio .formats button{flex:none}#editor.studio .stage,#editor.studio .side,#editor.studio .desk{display:contents}#editor.studio .desk>.viewport,#editor.studio .desk>.words,#editor.studio .desk>.timeline,#editor.studio .desk>.result{grid-area:auto}#editor.studio .work{isolation:isolate}#editor.studio .formats{margin-bottom:-4px}#editor.studio .side>.surprise{order:1}#editor.studio .toolbox{order:2}#editor.studio .side>.panel{order:3}#editor.studio .result{order:4}#editor.studio .surprise{gap:4px;padding:7px 12px 8px}#editor.studio .surprise .note{font-size:12px;line-height:1.3;text-align:center;text-wrap:balance}}@media(min-width:360px)and (max-width:420px){#editor.studio .bar .primary span{display:inline}}
