@import"https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@600;700;800&display=swap";:root{--ink:#27233a;--muted:#777287;--paper:#fffdf8;--purple:#6c4cff;--purple-dark:#5539e8;--yellow:#ffd84d;--coral:#ff6f61;--mint:#60d6b2;--line:#e9e4df;--shadow:0 14px 35px rgba(52,38,102,.12)}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Nunito,system-ui,sans-serif;background:#f7f3ed;color:var(--ink);overscroll-behavior:none}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}svg{width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.app-shell{min-height:100vh;background:radial-gradient(circle at 5% 15%,rgba(255,216,77,.16) 0 5%,transparent 5.3%),radial-gradient(circle at 96% 72%,rgba(96,214,178,.12) 0 7%,transparent 7.3%),#f7f3ed}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,4vw);background:#fffdf8eb;border-bottom:1px solid #ebe6df;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:"Baloo 2",sans-serif;font-size:25px;font-weight:800;letter-spacing:-.5px}.brand b{color:var(--purple)}.brand-mark{width:38px;height:38px;background:var(--purple);border-radius:14px 12px 15px 11px;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-3deg);box-shadow:inset 0 -4px #00000017}.brand-mark i{display:block;width:6px;background:#fff;border-radius:9px;animation:wiggle 1s ease-in-out infinite alternate}.brand-mark i:nth-child(1){height:11px}.brand-mark i:nth-child(2){height:20px;animation-delay:.2s}.brand-mark i:nth-child(3){height:15px;animation-delay:.4s}@keyframes wiggle{to{transform:scaleY(.7)}}.top-actions{display:flex;gap:12px;align-items:center}.icon-button{width:44px;height:44px;border:0;border-radius:50%;background:#eee9ff;color:var(--purple);display:grid;place-items:center;cursor:pointer}.icon-button:hover{transform:rotate(6deg)}.save-button,.start-button,.play-button,.download-link{border:0;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:800;cursor:pointer;text-decoration:none}.save-button{height:46px;padding:0 19px;background:var(--purple);color:#fff;box-shadow:0 5px #4930ca}.save-button:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #4930ca}.save-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}main{width:min(1400px,94vw);margin:24px auto 0;display:grid;gap:18px;padding-bottom:30px}.camera-card,.timeline-card{background:var(--paper);border:1px solid rgba(62,52,81,.08);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}.camera-card{display:grid;grid-template-columns:minmax(0,1fr) 235px;min-height:520px}.viewfinder{position:relative;background:#252234;overflow:hidden;min-height:520px;isolation:isolate}#camera,#previewCanvas,#onionLayer{position:absolute;width:100%;height:100%;inset:0;object-fit:contain;background:#201d2c}#camera{transition:filter .18s ease}#camera[data-effect=normal]{filter:none}#camera[data-effect=pop]{filter:saturate(1.55) contrast(1.08) brightness(1.04)}#camera[data-effect=comic]{filter:saturate(1.45) contrast(1.55) brightness(1.04)}#camera[data-effect=mono]{filter:grayscale(1) contrast(1.18) brightness(1.03)}#previewCanvas{display:none}#onionLayer{opacity:.32;display:none;z-index:2;pointer-events:none}.thirds-grid{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:.15}.thirds-grid i{position:absolute;background:#fff}.thirds-grid i:nth-child(1),.thirds-grid i:nth-child(2){top:0;bottom:0;width:1px}.thirds-grid i:nth-child(1){left:33.333%}.thirds-grid i:nth-child(2){left:66.666%}.thirds-grid i:nth-child(3),.thirds-grid i:nth-child(4){left:0;right:0;height:1px}.thirds-grid i:nth-child(3){top:33.333%}.thirds-grid i:nth-child(4){top:66.666%}.camera-empty{position:absolute;inset:0;z-index:5;background:linear-gradient(145deg,#342d55,#201d2d);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:30px}.camera-empty.hidden{display:none}.camera-empty h1{font:800 clamp(28px,3.2vw,48px)/1.05 "Baloo 2";margin:16px 0 5px;max-width:560px}.camera-empty p{margin:0 0 20px;color:#d8d2e7;font-size:17px}.camera-empty small{color:#aaa4bb;margin-top:18px}.start-button{min-height:58px;padding:0 27px;background:var(--yellow);color:#342d21;font-size:18px;box-shadow:0 6px #cba923}.start-button:active{transform:translateY(4px);box-shadow:0 2px #cba923}.start-art{height:116px;width:210px;position:relative;overflow:hidden;border-radius:60px 60px 15px 15px;background:#8c75ff}.sun{position:absolute;width:28px;height:28px;background:var(--yellow);border-radius:50%;top:17px;right:31px}.hill{position:absolute;border-radius:50% 50% 0 0}.hill-one{height:70px;width:180px;background:#62d5b2;bottom:-22px;left:-22px;transform:rotate(8deg)}.hill-two{height:61px;width:180px;background:#3fb490;bottom:-28px;right:-40px;transform:rotate(-10deg)}.clay-character{position:absolute;width:44px;height:52px;border-radius:50% 50% 45% 45%;background:var(--coral);left:86px;bottom:21px;transform:rotate(-4deg)}.clay-character:before,.clay-character:after{content:"";position:absolute;top:17px;width:5px;height:7px;border-radius:50%;background:#29243a}.clay-character:before{left:11px}.clay-character:after{right:11px}.clay-character i{position:absolute;width:23px;height:8px;border-bottom:3px solid #29243a;border-radius:50%;left:11px;top:27px}.clay-character b{position:absolute;width:8px;height:16px;background:#ff8d81;border-radius:8px;top:-8px;left:18px;transform:rotate(18deg)}.studio-controls{padding:24px 18px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;background:#fffdf8;border-left:1px solid var(--line)}.tool-label{display:block;text-align:center;text-transform:uppercase;letter-spacing:1.1px;font-size:11px;color:#898391;font-weight:800;margin-bottom:9px}.effect-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.effect{border:2px solid transparent;border-radius:12px;background:#f2efeb;min-height:50px;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.effect.active{border-color:var(--purple);background:#f0edff;color:var(--purple)}.effect-dot{width:18px;height:18px;border-radius:6px;background:linear-gradient(135deg,#80cfff,#55d3ad)}.effect-dot.pop{background:linear-gradient(135deg,#ffdc4a,#ff6c61)}.effect-dot.comic{background:repeating-linear-gradient(45deg,#6c4cff 0 3px,#ffd84d 3px 6px)}.effect-dot.mono{background:linear-gradient(135deg,#111 50%,#ddd 50%)}.capture-zone{text-align:center;margin:14px 0}.capture-button{width:116px;height:116px;padding:0;border:8px solid #e5e0ff;border-radius:50%;background:var(--purple);color:#fff;box-shadow:0 8px #4930ca,0 12px 20px #5539e840;cursor:pointer}.capture-button span{display:grid;place-items:center}.capture-button svg{width:41px;height:41px;stroke-width:1.8}.capture-button:not(:disabled):active{transform:translateY(5px);box-shadow:0 3px #4930ca}.capture-button:disabled{opacity:.4;cursor:not-allowed}.capture-zone strong{display:block;margin-top:14px;font:800 17px "Baloo 2"}.helper-row{display:grid;gap:7px}.helper-button{border:0;border-radius:13px;min-height:47px;background:#f1eee9;display:flex;align-items:center;gap:7px;padding:0 10px;font-size:13px;font-weight:800;cursor:pointer}.helper-button svg{color:var(--purple)}.helper-button:disabled{opacity:.4}.helper-button .switch{width:30px;height:18px;background:#ccc6c0;border-radius:20px;margin-left:auto;position:relative}.helper-button .switch:after{content:"";position:absolute;width:14px;height:14px;background:#fff;border-radius:50%;top:2px;left:2px;transition:.2s}.helper-button[aria-pressed=true]{background:#eeeaff;color:var(--purple)}.helper-button[aria-pressed=true] .switch{background:var(--purple)}.helper-button[aria-pressed=true] .switch:after{transform:translate(12px)}.countdown{position:absolute;z-index:8;inset:0;display:none;place-items:center;color:#fff;font:800 120px "Baloo 2";text-shadow:0 6px 20px #000}.countdown.show{display:grid;animation:pulse .4s ease-out}@keyframes pulse{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}.toast{position:absolute;z-index:9;left:50%;bottom:20px;transform:translate(-50%,20px);background:#252234e6;color:#fff;padding:10px 16px;border-radius:30px;font-weight:800;opacity:0;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%)}.timeline-card{padding:16px 20px 19px;overflow:visible}.timeline-heading{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:24px;margin-bottom:13px}.timeline-heading h2{font:800 21px "Baloo 2";margin:0}.timeline-heading>div>span{font-size:13px;color:var(--muted)}.speed-control{display:grid;grid-template-columns:auto auto 130px auto;align-items:center;gap:7px}.speed-control label{font-size:13px;font-weight:800;margin-right:5px}.speed-control span{font-size:10px!important}.speed-control input{accent-color:var(--purple)}.play-button{height:45px;min-width:110px;background:var(--mint);box-shadow:0 5px #36a987}.play-button:disabled{opacity:.4;box-shadow:none}.play-button:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #36a987}.frame-strip{display:flex;gap:10px;overflow-x:auto;min-height:101px;padding:4px 2px 8px;scrollbar-color:#c9c0df transparent}.empty-timeline{border:2px dashed #d9d3cc;background:#faf7f2;border-radius:15px;min-height:88px;width:100%;display:flex;align-items:center;justify-content:center;gap:13px;color:#98919e}.empty-timeline span{width:37px;height:37px;border-radius:10px;background:#eee9e3;display:grid;place-items:center;font-weight:800}.empty-timeline p{font-size:14px}.frame{position:relative;flex:0 0 119px;height:89px;border:3px solid transparent;background:#eee;border-radius:13px;overflow:hidden;padding:0;cursor:pointer}.frame img{width:100%;height:100%;object-fit:cover;display:block}.frame .number{position:absolute;left:5px;top:5px;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#252234d1;color:#fff;font-size:12px;font-weight:800}.frame.selected{border-color:var(--purple);box-shadow:0 0 0 3px #e3ddff}.frame.is-last:after{content:"NEW";position:absolute;right:5px;bottom:5px;font-size:8px;letter-spacing:.5px;font-weight:800;background:var(--yellow);padding:3px 5px;border-radius:5px}.frame-actions{display:flex;align-items:center;gap:8px;background:#eeeaff;border-radius:12px;padding:8px 10px;margin-top:7px}.frame-actions>span{font-weight:800;margin-right:auto;color:var(--purple)}.frame-actions button{border:0;border-radius:9px;min-height:35px;padding:0 11px;display:flex;align-items:center;gap:6px;background:#fff;font-size:12px;font-weight:800;cursor:pointer}.frame-actions .danger{color:#bd3c34}.frame-actions .close-actions{padding:0;width:35px;justify-content:center}.help-dialog,.export-dialog{border:0;border-radius:28px;padding:32px;box-shadow:0 24px 80px #1f193147;color:var(--ink);max-width:min(700px,92vw);background:var(--paper)}dialog::backdrop{background:#1e1931b3;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:16px;top:16px;width:39px;height:39px;border:0;background:#eeeae5;border-radius:50%;display:grid;place-items:center;cursor:pointer}.eyebrow,.celebrate{color:var(--purple);font-size:12px;text-transform:uppercase;letter-spacing:1.5px;font-weight:800}.help-dialog>h2,.export-dialog h2{font:800 34px "Baloo 2";margin:2px 0 23px}.lesson-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}.lesson-steps article{position:relative}.lesson-steps h3{font:800 19px "Baloo 2";margin:8px 0 0}.lesson-steps p{margin:0;color:var(--muted);font-size:13px}.step-blob{width:100px;height:90px;margin:auto;border-radius:42% 58% 53% 47%;display:grid;place-items:center;position:relative}.step-blob svg{width:39px;height:39px}.step-blob b{position:absolute;left:-2px;top:-2px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff}.step-blob.purple{background:#ddd5ff;color:#6545ed}.step-blob.yellow{background:#ffe98a}.step-blob.coral{background:#ffc2ba;color:#dd5145}.nudge{font-size:47px}.got-it{width:100%;height:53px;margin-top:26px;border:0;border-radius:14px;background:var(--purple);color:#fff;font-weight:800;box-shadow:0 5px #4930ca;cursor:pointer}.export-dialog{text-align:center;min-width:min(560px,92vw)}.movie-loader{height:80px;display:flex;align-items:center;justify-content:center;gap:8px}.movie-loader i{width:22px;height:45px;border-radius:8px;background:var(--purple);animation:wiggle .5s infinite alternate}.movie-loader i:nth-child(2){background:var(--yellow);animation-delay:.15s}.movie-loader i:nth-child(3){background:var(--coral);animation-delay:.3s}.export-dialog progress{width:100%;height:14px;accent-color:var(--purple)}#gifPreview{display:block;width:min(100%,420px);max-height:48vh;object-fit:contain;margin:0 auto 20px;border-radius:17px;background:#282435}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.download-link{min-height:52px;background:var(--purple);color:#fff}.export-actions button{border:0;border-radius:14px;font-weight:800;background:#eeeae5;cursor:pointer}@media(max-width:850px){.camera-card{grid-template-columns:1fr;min-height:0}.viewfinder{min-height:50vw}.studio-controls{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 145px 1fr;align-items:center;padding:14px 18px}.capture-zone{grid-column:2;grid-row:1;margin:0}.capture-button{width:102px;height:102px}.effects{grid-column:1;grid-row:1}.helper-tools{grid-column:3;grid-row:1}.timeline-heading{grid-template-columns:1fr auto}.speed-control{grid-column:1/-1;grid-row:2}.play-button{grid-column:2;grid-row:1}.tool-label{text-align:left}}@media(max-width:600px){.topbar{height:66px;padding:0 13px}.brand{font-size:21px}.brand-mark{width:34px;height:34px}.save-button span{display:none}.save-button{width:46px;padding:0}.top-actions{gap:8px}main{width:100%;margin:0;gap:10px;padding-bottom:10px}.camera-card,.timeline-card{border-radius:0;border-left:0;border-right:0}.viewfinder{min-height:57vw}.camera-empty{padding:15px}.start-art{display:none}.camera-empty h1{font-size:27px;margin:0 0 3px}.camera-empty p{font-size:14px;margin-bottom:13px}.start-button{min-height:50px}.camera-empty small{margin-top:11px;font-size:10px}.studio-controls{grid-template-columns:1fr 110px 1fr;padding:10px 8px}.capture-button{width:86px;height:86px;border-width:6px}.capture-button svg{width:32px;height:32px}.capture-zone strong{font-size:14px;margin-top:8px}.effect-options{gap:4px}.effect{min-height:37px;font-size:0;padding:0}.effect-dot{width:22px;height:22px}.tool-label{font-size:9px}.helper-button{justify-content:center;min-height:41px;padding:0}.helper-button span:not(.switch){display:none}.helper-button .switch{margin-left:2px}.helper-button.compact span{display:none}.timeline-card{padding:12px}.timeline-heading{gap:8px}.speed-control{grid-template-columns:auto auto 1fr auto}.speed-control input{width:100%}.frame-actions>span{display:none}.frame-actions button{flex:1;justify-content:center}.lesson-steps{gap:8px}.step-blob{width:74px;height:68px}.help-dialog{padding:28px 15px 22px}.export-actions{grid-template-columns:1fr}}@media(orientation:landscape)and (max-height:650px){.topbar{height:58px}main{margin-top:10px}.camera-card{grid-template-columns:minmax(0,1fr) 210px;min-height:0}.viewfinder{min-height:calc(100vh - 220px)}.studio-controls{display:flex;padding:10px 12px}.capture-button{width:88px;height:88px}.capture-zone{margin:6px 0}.timeline-card{padding:9px 15px}.frame-strip{min-height:77px}.frame{height:65px;flex-basis:90px}.timeline-heading{margin-bottom:5px}.help-dialog{transform:scale(.88)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}.icon-button{width:54px;height:54px;font-size:20px}.save-button{height:56px;padding-inline:24px;font-size:16px}.effect{min-height:66px;border-width:3px;border-radius:16px;font-size:13px;gap:8px}.effect-dot{width:28px;height:28px;border-radius:9px;box-shadow:inset 0 0 0 2px #ffffff8c}.capture-button{width:150px;height:150px;border-width:10px}.capture-button svg{width:56px;height:56px}.capture-zone strong{font-size:19px}.helper-row{gap:9px}.helper-button{min-height:60px;border-radius:16px;padding-inline:13px;font-size:14px;gap:9px}.helper-button>svg{width:28px;height:28px}.helper-button .switch{width:36px;height:22px}.helper-button .switch:after{width:18px;height:18px}.helper-button[aria-pressed=true] .switch:after{transform:translate(14px)}.timeline-card{position:relative;padding:12px 18px 14px}.timeline-heading{gap:18px;margin-bottom:8px}.movie-actions{display:flex;gap:10px}.play-button,.expand-button{height:58px;min-width:118px;border:0;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer}.play-button svg,.expand-button svg{width:29px;height:29px}.expand-button{background:#eee9ff;color:var(--purple);box-shadow:0 5px #cfc5ff}.play-button{height:58px}.play-button:disabled,.expand-button:disabled{opacity:.4;box-shadow:none;cursor:not-allowed}.expand-button:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #cfc5ff}.frame-browser{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;gap:9px;align-items:center}.page-arrow,.board-arrow{width:58px;height:58px;border:0;border-radius:18px;background:var(--yellow);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px #d4b231}.page-arrow svg,.board-arrow svg{width:33px;height:33px;stroke-width:3}.page-arrow:disabled,.board-arrow:disabled{opacity:.18;box-shadow:none;cursor:default}.frame-strip{justify-content:center;overflow:hidden;min-height:96px;padding:3px 2px 5px}.frame{flex:1 1 0;min-width:0;max-width:150px;height:86px;border-width:4px;border-radius:15px}.frame .number{width:29px;height:29px;font-size:14px}.frame.is-last:after{content:"★";font-size:16px;padding:2px 6px;border-radius:7px}.empty-timeline span{width:50px;height:50px;border-radius:14px}.empty-timeline span svg{width:29px;height:29px}.frame-actions{position:absolute;z-index:6;right:18px;bottom:14px;min-height:62px;box-shadow:0 8px 25px #34266638}.frame-actions button{min-height:48px;border-radius:12px;padding-inline:16px;font-size:14px}.frame-actions button svg{width:24px;height:24px}.frame-actions .close-actions{width:48px}.frame-actions .danger.confirm{background:#ffd7d2;outline:4px solid var(--coral);animation:confirm-remove .45s ease-in-out infinite alternate}@keyframes confirm-remove{to{transform:scale(1.06)}}.pictures-dialog,.playback-dialog{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#f7f3ed;color:var(--ink)}.pictures-dialog{display:none;grid-template-rows:76px minmax(0,1fr) 86px}.pictures-dialog[open]{display:grid}.pictures-dialog header{display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,4vw);background:var(--paper);border-bottom:1px solid var(--line)}.picture-board-title{display:flex;align-items:center;gap:13px;font:800 27px "Baloo 2";color:var(--purple)}.picture-board-title svg{width:36px;height:36px}.pictures-dialog header button{width:58px;height:58px;border:0;border-radius:50%;background:#eee9ff;color:var(--purple);display:grid;place-items:center;cursor:pointer}.pictures-dialog header button svg{width:31px;height:31px;stroke-width:3}.picture-board{min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:14px;padding:18px max(18px,4vw)}.board-frame{position:relative;min-width:0;min-height:0;padding:0;border:5px solid white;border-radius:20px;background:#2a2638;overflow:hidden;box-shadow:0 6px 18px #34266629;cursor:pointer}.board-frame img{width:100%;height:100%;object-fit:contain;display:block}.board-frame span{position:absolute;left:8px;top:8px;width:42px;height:42px;border-radius:13px;background:var(--yellow);display:grid;place-items:center;font-size:19px;font-weight:800;box-shadow:0 3px #cba923}.pictures-dialog footer{display:flex;align-items:center;justify-content:center;gap:24px;background:var(--paper);border-top:1px solid var(--line)}#picturePageDots{min-width:110px;text-align:center;font-size:22px;letter-spacing:7px;color:var(--purple)}.playback-dialog{display:none;background:#171421;overflow:hidden;place-items:center}.playback-dialog[open]{display:grid}.playback-dialog canvas{width:100%;height:100%;object-fit:contain;background:#171421}.playback-badge{position:absolute;left:max(18px,env(safe-area-inset-left));top:max(18px,env(safe-area-inset-top));opacity:.72}.stop-playback{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:112px;height:112px;border:8px solid rgba(255,255,255,.4);border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center;align-content:center;gap:2px;font-weight:800;box-shadow:0 7px #b9443a;cursor:pointer}.stop-playback svg{width:42px;height:42px;fill:currentColor}.stop-playback span{font-size:14px}@media(min-width:601px){.app-shell{height:100dvh;min-height:0;display:grid;grid-template-rows:76px minmax(0,1fr);overflow:hidden}main{height:auto;min-height:0;margin:12px auto;gap:12px;padding:0;grid-template-rows:minmax(0,1fr) auto}.camera-card,.viewfinder{min-height:0}}@media(max-width:850px){.capture-button{width:126px;height:126px}.studio-controls{grid-template-columns:1fr 150px 1fr}.movie-actions{grid-column:2;grid-row:1}.play-button,.expand-button{min-width:58px;width:58px}.movie-actions span{display:none}}@media(max-width:600px){.icon-button,.save-button{width:54px;height:54px}.studio-controls{grid-template-columns:1fr 126px 1fr}.capture-button{width:116px;height:116px}.effect{min-height:52px}.effect-dot{width:31px;height:31px}.helper-button{min-height:52px}.timeline-heading{grid-template-columns:1fr auto}.speed-control{grid-row:2;grid-column:1/-1}.movie-actions{grid-column:2;grid-row:1}.frame-browser{grid-template-columns:52px minmax(0,1fr) 52px;gap:5px}.page-arrow{width:52px;height:52px}.frame{height:78px}.empty-timeline p{display:none}.frame-actions{left:8px;right:8px;bottom:8px}.picture-board{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;padding:10px}.picture-board-title b{display:none}.stop-playback{width:96px;height:96px;right:16px;bottom:16px}}@media(orientation:landscape)and (max-height:650px){.app-shell{grid-template-rows:58px minmax(0,1fr)}.capture-button{width:112px;height:112px}.effect,.helper-button{min-height:48px}.frame{height:64px}.frame-strip{min-height:70px}.frame-browser{grid-template-columns:48px minmax(0,1fr) 48px}.page-arrow{width:48px;height:48px}.play-button,.expand-button{height:50px}.picture-board{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}}.pane-actions{display:flex;align-items:center;gap:9px;margin-top:12px}.pane-actions .icon-button{flex:0 0 58px;width:58px;height:58px}.pane-actions .save-button{flex:1;min-width:0;height:58px;padding-inline:10px;font-size:13px}.app-shell{min-height:100dvh}@media(min-width:601px){.app-shell{grid-template-rows:minmax(0,1fr)}}.pictures-dialog{grid-template-rows:76px minmax(0,1fr) 94px}.pictures-dialog footer{justify-content:space-between;padding:0 max(18px,4vw);gap:20px}.board-pagination{display:flex;align-items:center;justify-content:center;gap:22px;margin:auto}.pictures-dialog .frame-actions{position:static;right:auto;bottom:auto;margin:0;padding:8px 10px;min-height:64px;box-shadow:none;flex:0 1 auto}.board-frame.selected{border-color:var(--purple);box-shadow:0 0 0 5px #dcd4ff,0 8px 22px #34266638}@media(max-width:850px){.pane-actions{margin-top:8px}.pane-actions .save-button{width:58px;flex:0 0 58px}.pane-actions .save-button span{display:none}.pane-actions .save-button svg{width:27px;height:27px}}@media(max-width:700px){.pictures-dialog{grid-template-rows:70px minmax(0,1fr) 88px}.pictures-dialog footer{padding-inline:10px;gap:8px}.board-pagination{gap:7px;margin:0 auto}.pictures-dialog .frame-actions{position:absolute;left:8px;right:8px;bottom:8px;background:#eeeaff;justify-content:center}.pictures-dialog .frame-actions>span,.pictures-dialog .frame-actions button:not(.close-actions){font-size:0}.pictures-dialog .frame-actions button{width:58px;padding:0;justify-content:center}.pictures-dialog .frame-actions button svg{width:29px;height:29px}.pictures-dialog .frame-actions .danger.confirm{width:90px}.pictures-dialog .frame-actions .danger.confirm svg{width:25px}}@media(max-width:700px){.pictures-dialog footer.editing .board-pagination{display:none}.pictures-dialog .frame-actions{position:static;left:auto;right:auto;bottom:auto;width:100%}}.timeline-heading{margin-bottom:0}@media(min-width:851px){.camera-card{grid-template-columns:minmax(0,1fr) clamp(210px,22vw,270px)}.studio-controls{min-height:0;overflow:hidden;padding:clamp(8px,2.1dvh,24px) clamp(12px,1.8vw,20px)}.tool-label{margin-bottom:clamp(4px,1dvh,9px);font-size:clamp(9px,1.3dvh,11px)}.effect-options{gap:clamp(4px,.9dvh,7px)}.effect{min-height:clamp(38px,7.2dvh,66px);border-radius:clamp(11px,1.8dvh,16px);font-size:clamp(10px,1.7dvh,13px);gap:clamp(4px,.8dvh,8px)}.effect-dot{width:clamp(21px,3.2dvh,28px);height:clamp(21px,3.2dvh,28px);border-radius:clamp(6px,1dvh,9px)}.capture-zone{margin:clamp(5px,1.6dvh,14px) 0}.capture-button{width:clamp(86px,17dvh,150px);height:clamp(86px,17dvh,150px);border-width:clamp(6px,1.1dvh,10px)}.capture-button svg{width:clamp(34px,6.2dvh,56px);height:clamp(34px,6.2dvh,56px)}.capture-zone strong{margin-top:clamp(5px,1.4dvh,14px);font-size:clamp(13px,2.2dvh,19px)}.helper-row{gap:clamp(5px,1dvh,9px)}.helper-button{min-height:clamp(40px,6.6dvh,60px);border-radius:clamp(11px,1.7dvh,16px);font-size:clamp(11px,1.6dvh,14px)}.helper-button>svg{width:clamp(22px,3.2dvh,28px);height:clamp(22px,3.2dvh,28px)}.pane-actions{margin-top:clamp(4px,1.3dvh,12px)}.pane-actions .icon-button,.pane-actions .save-button{height:clamp(44px,6.5dvh,58px)}.pane-actions .icon-button{flex-basis:clamp(44px,6.5dvh,58px);width:clamp(44px,6.5dvh,58px)}}@media(min-width:851px)and (max-height:700px){.pane-actions .save-button span{display:none}.pane-actions .save-button{flex:0 0 clamp(44px,6.5dvh,58px);width:clamp(44px,6.5dvh,58px);padding:0}.pane-actions .save-button svg{width:26px;height:26px}}@media(min-width:851px)and (max-height:560px){.studio-controls{justify-content:space-around}.tool-label,.capture-zone strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.effect{min-height:36px}.capture-button{width:78px;height:78px}.helper-button{min-height:37px}.pane-actions .icon-button,.pane-actions .save-button{height:42px;width:42px;flex-basis:42px}}.pane-actions{display:block}.pane-actions .save-button{display:flex;width:100%;max-width:none;min-width:0;flex:none;padding-inline:14px}.pane-actions .save-button span{display:inline}@media(max-width:850px){html,body{height:100%;overflow:hidden}.app-shell{display:grid;width:100%;height:100dvh;min-height:0;overflow:hidden}main{width:100%;height:100%;min-height:0;margin:0;padding:0;gap:0;grid-template-rows:minmax(0,1fr) 74px}.camera-card{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 156px}.viewfinder{height:100%;min-height:0}.studio-controls{height:156px;min-height:0;overflow:hidden;border:0;border-top:1px solid var(--line);padding:6px 7px;display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr) minmax(0,1fr);grid-template-rows:52px 88px;grid-template-areas:"effects effects effects effects" "ghost capture flip save";gap:5px;align-items:center}.studio-controls>*{min-width:0}.effects{grid-area:effects;min-width:0}.effect-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.effect{width:100%;min-width:0;min-height:48px;height:48px;padding:0;border-width:2px;border-radius:13px;font-size:0;gap:0}.effect-dot{width:30px;height:30px;flex:0 0 30px;border-radius:9px}.tool-label,.capture-zone strong{display:none}.capture-zone{grid-area:capture;margin:0;align-self:center}.capture-button{width:84px;height:84px;border-width:6px;box-shadow:0 5px #4930ca,0 8px 14px #5539e833}.capture-button svg{width:37px;height:37px}.helper-tools,.helper-row,.pane-actions{display:contents}#onionButton{grid-area:ghost}#switchButton{grid-area:flip}#saveButton{grid-area:save}.helper-button,.pane-actions .save-button{width:100%;min-width:0;height:58px;min-height:58px;margin:0;padding:0;border-radius:15px;display:grid;place-items:center}.helper-button>svg,.pane-actions .save-button svg{width:28px;height:28px}.helper-button span:not(.switch),.pane-actions .save-button span,#onionButton .switch{display:none}.timeline-card{height:74px;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:0 -8px 24px #34266617;padding:8px 10px;overflow:hidden}.timeline-heading{height:100%;display:block;margin:0}.timeline-heading>div:first-child,.speed-control{display:none}.movie-actions{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.play-button,.expand-button{width:100%;height:56px;min-width:0;border-radius:16px}.movie-actions span{display:inline;font-size:14px}}@media(max-width:380px){.studio-controls{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr) minmax(0,1fr);padding-inline:5px;gap:4px}.capture-button{width:78px;height:78px}.effect-dot{width:27px;height:27px;flex-basis:27px}.helper-button>svg,.pane-actions .save-button svg{width:25px;height:25px}}@media(min-width:851px)and (max-height:500px){main{grid-template-rows:minmax(0,1fr) 58px;gap:8px;margin:8px auto}.timeline-card{height:58px;padding:4px 10px}.timeline-heading{height:100%;display:flex;justify-content:flex-end;margin:0}.timeline-heading>div:first-child,.speed-control{display:none}.movie-actions{height:100%}.play-button,.expand-button{height:48px}.studio-controls{padding:4px 9px;justify-content:space-around}.effect-options{gap:4px}.effect{min-height:32px;height:32px;border-width:2px}.effect-dot{width:18px;height:18px}.capture-zone{margin:2px 0}.capture-button{width:70px;height:70px;border-width:5px}.capture-button svg{width:29px;height:29px}.helper-row{gap:4px}.helper-button{min-height:34px;height:34px}.helper-button>svg{width:20px;height:20px}.pane-actions{margin-top:3px}.pane-actions .save-button{height:38px;min-height:38px}}@media(orientation:landscape)and (max-height:500px)and (max-width:950px){html,body{height:100%;overflow:hidden}.app-shell{display:grid;width:100%;height:100dvh;min-height:0;overflow:hidden}main{width:100%;height:100%;min-height:0;margin:0;padding:0;gap:0;grid-template-rows:minmax(0,1fr) 54px}.camera-card{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 68px}.viewfinder{height:100%;min-height:0}.camera-empty{padding:4px}.camera-empty .start-art,.camera-empty h1,.camera-empty p,.camera-empty small{display:none}.camera-empty .start-button{min-height:48px;padding-inline:22px;font-size:16px;box-shadow:0 4px #cba923}.studio-controls{width:100%;height:68px;min-height:0;overflow:hidden;border:0;border-top:1px solid var(--line);padding-top:4px;padding-bottom:6px;padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:56px;grid-template-areas:"ghost capture flip save";gap:6px;align-items:center}.effects,.tool-label,.capture-zone strong{display:none}.capture-zone{display:block;grid-area:capture;margin:0;align-self:center;text-align:center}.capture-button{width:56px;height:56px;border-width:4px;box-shadow:0 3px #4930ca;margin:auto}.capture-button svg{width:26px;height:26px}.helper-tools,.helper-row,.pane-actions{display:contents}#onionButton{grid-area:ghost}#switchButton{grid-area:flip}#saveButton{grid-area:save}.helper-button,.pane-actions .save-button{width:100%;min-width:0;height:50px;min-height:50px;margin:0;padding:0;border-radius:13px;display:grid;place-items:center}.helper-button>svg,.pane-actions .save-button svg{width:25px;height:25px}.helper-button span:not(.switch),.pane-actions .save-button span,#onionButton .switch{display:none}.timeline-card{width:100%;height:54px;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:0 -5px 16px #34266614;padding-top:4px;padding-bottom:5px;padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));overflow:hidden}.timeline-heading{height:100%;display:block;margin:0}.timeline-heading>div:first-child,.speed-control{display:none}.movie-actions{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.play-button,.expand-button{width:100%;height:44px;min-width:0;border-radius:13px;box-shadow:none}.play-button svg,.expand-button svg{width:24px;height:24px}.movie-actions span{display:inline;font-size:13px}}.pictures-dialog header{display:grid;grid-template-columns:82px minmax(0,1fr) 64px;gap:14px}.picture-board-title{justify-self:center}.pictures-dialog header .remove-all,.pictures-dialog header .close-pictures{position:static;height:58px}.pictures-dialog header .remove-all{justify-self:start;width:76px;border-radius:17px;background:#ffe0dc;color:#b83f36;display:flex;flex-direction:column;gap:0;font-size:11px;font-weight:800}.pictures-dialog header .close-pictures{width:58px}.pictures-dialog header .remove-all svg{width:29px;height:29px}.pictures-dialog header .remove-all svg,.pictures-dialog header .remove-all span{transform:translateY(2px)}.pictures-dialog header .close-pictures{justify-self:end}.pictures-dialog header .remove-all.confirm{background:var(--coral);color:#fff;outline:4px solid #ffc9c3;animation:confirm-remove .4s ease-in-out infinite alternate}.pictures-dialog header .remove-all.confirm svg{width:29px;height:29px}@media(max-width:600px){.pictures-dialog header{grid-template-columns:72px minmax(0,1fr) 56px;padding-inline:9px;gap:5px}.pictures-dialog header .remove-all{width:68px;height:54px}.pictures-dialog header .close-pictures{width:54px;height:54px}}.board-pagination[hidden]{display:none!important}.pictures-dialog footer.no-pagination{justify-content:center}.pictures-dialog.single-page:not(.editing){grid-template-rows:76px minmax(0,1fr) 0}.pictures-dialog.single-page:not(.editing) footer{display:none}@media(max-width:700px){.pictures-dialog.single-page:not(.editing){grid-template-rows:70px minmax(0,1fr) 0}}
