.ui-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;vertical-align:middle;pointer-events:none}.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.35}.upload>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e3e8d6}.upload>span .ui-icon{width:22px;height:22px}.custom-color{gap:8px}.custom-color .ui-icon{width:16px;height:16px;flex-basis:16px}.custom-color input{margin-left:auto!important}.text-color-label .ui-icon{width:16px;height:16px}.hotspot span{display:grid;place-items:center;width:30px;height:30px;padding:0!important}.hotspot .ui-icon{width:16px;height:16px}.layout-check{align-items:center;justify-content:center}.active .layout-check{display:flex}.layout-check .ui-icon{width:14px;height:14px}#close-picker{display:grid;place-items:center;min-width:44px;min-height:44px}#hold-clean{display:flex;align-items:center;justify-content:center;gap:8px;min-width:240px}#hold-clean .ui-icon{width:17px;height:17px}.text-style{min-height:40px}button{line-height:1.35}#text-swatches button{position:relative}#text-swatches button:after,.colors button:after{content:'';position:absolute;inset:-5px}.colors button{position:relative}#toast{line-height:1.5;text-align:center}html{scrollbar-gutter:stable}dialog{overscroll-behavior:contain}body:has(dialog[open]){overflow:hidden}.hero-art .demo-book strong{display:block}.stage-top{line-height:1.4}
@media(max-width:800px){
html{scroll-behavior:auto;scrollbar-gutter:auto;scroll-padding-top:12px}body{overflow-x:clip}header{height:72px;padding:0 20px;gap:12px}.logo{font-size:25px;letter-spacing:-1.3px;gap:8px}.logo img{width:32px;height:32px}header .pill{font-size:12px;padding:11px 14px;min-height:42px}header .pill .ui-icon{width:15px;height:15px;flex-basis:15px}
.hero{padding:38px 24px 20px;gap:0;min-height:0}.hero h1{font-size:clamp(36px,9.7vw,52px);line-height:1.08;letter-spacing:-2px;margin:18px 0}.hero p{font-size:14px;line-height:1.75;margin:0 0 22px;max-width:40ch}.hero .eyebrow{font-size:9px;letter-spacing:1px;line-height:1.7}.hero .large{font-size:14px;padding:15px 22px;min-height:48px}.hero-note{font-size:11px;line-height:1.6;margin-top:14px}.hero-art{height:310px;margin-top:18px}.demo-book{width:min(340px,90%);padding:22px;flex-shrink:0}.demo-book strong{font-size:clamp(32px,9vw,43px)!important;letter-spacing:-1.8px!important;margin-top:16px;max-width:80%}.demo-book small{font-size:7px;letter-spacing:.8px}.demo-book div{font-size:7px;margin-top:18px;padding-top:10px}.hero-art .orbit{font-size:9px;top:0}.art-tag{font-size:9px;bottom:0}.hero-art:after{bottom:42px}.hero-olive{width:34%;top:25%}.ticker{font-size:9px;line-height:1.8;padding:13px 20px;letter-spacing:.6px}
.how,#studio,.faq{padding:42px 18px}.eyebrow{font-size:9px;letter-spacing:1.1px;line-height:1.7}h2,.studio-heading h2{font-size:28px;line-height:1.16;letter-spacing:-1.2px;margin:12px 0 24px}.steps{gap:20px;grid-template-columns:1fr}.steps article{position:relative;padding-left:44px}.steps article>span{position:absolute;left:0;top:3px;font-size:12px}.steps h3{font-size:17px;margin:0 0 7px}.steps p{font-size:13px;line-height:1.7;margin:0;max-width:38ch}.studio-shell{border-radius:20px;overflow:clip;isolation:isolate}.step-tabs{padding:10px 8px;gap:4px;justify-content:space-between}.step-tabs button{font-size:12px;padding:10px 8px;min-height:42px;flex:1;white-space:nowrap}.stage{padding:16px;min-height:0!important;height:auto;position:static}.stage-top{font-size:10px}.stage-logo{width:24px;height:24px}.stage.is-editing .book-wrap,.stage:not(.is-editing) .book-wrap{padding:24px 4px 30px}.book{width:100%;max-width:440px;transition:none}.book:hover{transform:rotate(-3deg)}.stage.is-editing .book:hover{transform:none}.studio-shell[data-current-step=video] .stage{display:none}.panel{padding:20px!important;animation:none}.panel h3,#panel-preview h3{font-size:20px;line-height:1.25;letter-spacing:-.5px;margin:0 0 16px}.panel>p{font-size:13px;line-height:1.65;margin-bottom:18px}.panel .small{font-size:11px!important;line-height:1.6}.upload{padding:24px 12px;gap:10px}.upload strong{font-size:14px}.upload small{font-size:11px}.panel .pill{font-size:13px;min-height:46px;padding:13px 17px}.full{width:100%}.layouts{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.layouts button{padding:5px;border-radius:9px;min-width:0}.layout-check{width:17px;height:17px;right:2px;bottom:2px}.layout-check .ui-icon{width:12px;height:12px}.field-title{font-size:12px;margin:20px 0 14px}.colors{gap:12px}.colors button{width:27px;height:27px;flex-shrink:0}.custom-color{font-size:12px!important;min-height:46px}.panel label{font-size:12px}#panel-cover .custom-color{margin-bottom:18px}#text-tools{border-radius:14px;padding:12px;max-width:100%}.text-tabs{padding:3px;margin-bottom:12px;gap:2px}#text-tools .text-tabs button{font-size:12px;min-height:40px;padding:8px 5px}#cover-text{font-size:16px!important;height:46px;padding:10px 12px}#text-tools .text-style{display:grid;grid-template-columns:1fr 32px auto;gap:10px 8px;margin-top:12px}.text-style>span{grid-column:1/-1;font-size:11px;margin:0}#text-swatches{justify-content:space-between;gap:6px;max-width:190px}#text-tools [data-ink]{width:26px;height:26px}#text-tools #auto-text-color{font-size:11px;padding:4px;min-height:36px}.text-color-label{width:30px;height:30px}#hold-clean{font-size:11px;min-height:44px;padding:8px 0;white-space:nowrap}#cover-tools{gap:4px}#trim-selection button{touch-action:none}.trim-title{font-size:12px;gap:8px}.trim-times{gap:12px}.trim-times input{font-size:16px!important}.preview-switch button{flex:1}#panel-preview #play{margin-top:16px}.faq summary{font-size:15px;line-height:1.5;padding-right:12px}.faq p{font-size:13px;line-height:1.75}footer{padding:28px 22px;gap:20px;font-size:12px}#toast{font-size:12px;width:calc(100% - 32px);max-width:380px;bottom:calc(16px + env(safe-area-inset-bottom));padding:14px 18px}dialog{width:calc(100% - 20px);max-height:calc(100dvh - 32px);padding:18px;border-radius:20px}.dialog-head{align-items:start;gap:8px}.dialog-head h3{font-size:19px;line-height:1.3;margin:10px 0 18px}.picker-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.picker-tabs button{font-size:11px;line-height:1.4;min-height:46px;padding:8px 5px;border-radius:10px}#sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#sticker-grid button{padding:10px;min-height:0;aspect-ratio:1}#frame-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#clear-slot{width:100%;font-size:13px}.film-editor{touch-action:pan-y}input,button,textarea{scroll-margin:16px}.text-area{border-color:#52755a40}.hotspot span{width:26px;height:26px}.stage.is-editing .hotspot span{right:4px;top:4px}
}
@media(max-width:350px){header{padding:0 14px}.hero{padding-left:20px;padding-right:20px}header .pill{font-size:11px;padding:10px}.hero-art{height:280px}.demo-book{padding:18px}.demo-book strong{font-size:32px!important}.colors{gap:10px}.colors button{width:24px;height:24px}.panel{padding:16px!important}.stage{padding:12px}.text-style{column-gap:6px!important}#text-tools [data-ink]{width:23px;height:23px}}
@media(hover:none){.layouts button:hover,#sticker-grid button:hover{transform:none}.hero-art:hover .demo-book{animation-play-state:running}}
/* Hide the complete overlay layers in one paint, without fading descendants. */
.book.clean-preview #hotspots,.book.clean-preview #text-hotspots{display:none!important;transition:none!important;animation:none!important}
#hold-clean{width:100%;max-width:360px;min-width:0;min-height:48px;padding:12px 16px;border:1px solid #cdd6c0;border-radius:14px;background:#f9fbf4;color:#405333;font-size:13px;font-weight:600;line-height:1.4;box-shadow:0 2px 5px #32412508;touch-action:none;-webkit-touch-callout:none;transition:background .12s,border-color .12s;white-space:normal}#hold-clean .ui-icon{width:20px;height:20px;flex-basis:20px}#hold-clean.held{background:#dfe9ce;border-color:#879d6d;color:#2f4726;box-shadow:inset 0 1px 3px #36462312}#hold-clean span{pointer-events:none}#hold-clean:focus-visible{outline:3px solid #8c9f70;outline-offset:3px}
@media(max-width:800px){#hold-clean{font-size:12px;min-height:48px;margin-top:8px;padding:12px}#cover-tools{gap:6px}}
