html,body{width:100%;height:100%;margin:0;overflow:hidden}body:has(.desktop){color:#222;letter-spacing:normal;-webkit-font-smoothing:none;font-smooth:never;background:#3a6ea5;font-family:Pixelated MS Sans Serif,Arial,sans-serif;font-size:12px}.desktop{box-sizing:border-box;color:#222;width:100%;height:100dvh;image-rendering:pixelated;image-rendering:crisp-edges;--tw-ring-shadow:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;--ring:transparent;accent-color:#7f9db9;background-color:#3a6ea5;background-image:url(/desktop-wallpaper.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;padding:8px;overflow:hidden}.desktop .title-bar{box-sizing:content-box;line-height:normal}.desktop .title-bar-text{letter-spacing:normal;line-height:normal}.desktop button{-webkit-font-smoothing:none;box-sizing:border-box;box-shadow:none;color:#222;cursor:default;background:linear-gradient(#fff,#ecebe5 86%,#d8d0c4);border:1px solid #003c74;border-radius:3px;min-width:75px;min-height:23px;padding:0 12px;font-family:Pixelated MS Sans Serif,Arial,sans-serif;font-size:11px}.desktop button:not(:disabled):hover{box-shadow:inset -1px 1px #fff0cf,inset 1px 2px #fdd889,inset -2px 2px #fbc761,inset 2px -2px #e5a01a}.desktop button:not(:disabled).active,.desktop button:not(:disabled):active,.desktop button:not(:disabled)[aria-pressed=true]{box-shadow:none;background:linear-gradient(#cdcac3,#e3e3db 8%,#e5e5de 94%,#f2f2f1)}.desktop button.focused,.desktop button:focus{outline:none;box-shadow:inset -1px 1px #cee7ff,inset 1px 2px #98b8ea,inset -2px 2px #bcd4f6,inset 1px -1px #89ade4,inset 2px -2px #89ade4}.desktop button:disabled{color:gray;text-shadow:1px 1px #fff;cursor:default}.desktop .title-bar-controls button,.desktop .title-bar-controls button:not(:disabled):hover,.desktop .title-bar-controls button:not(:disabled):active,.desktop .title-bar-controls button:focus,.desktop .title-bar-controls button.focused{color:#0000;text-shadow:none;background-color:#0050ee;margin-left:2px;width:21px!important;min-width:21px!important;height:21px!important;min-height:21px!important;box-shadow:none!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:auto!important;border:none!important;border-radius:0!important;padding:0!important}.desktop input[type=email],.desktop input[type=password],.desktop input[type=text],.desktop select,.desktop textarea{-webkit-font-smoothing:none;color:#222;box-sizing:border-box;box-shadow:none;--tw-ring-shadow:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-color:transparent;background-color:#fff;border:1px solid #7f9db9;border-radius:0;outline:none;font-family:Pixelated MS Sans Serif,Arial,sans-serif;font-size:11px}.desktop input[type=email],.desktop input[type=password],.desktop input[type=text],.desktop textarea{appearance:none;height:21px;padding:3px 4px;line-height:2}.desktop select{appearance:none;letter-spacing:normal;vertical-align:middle;height:23px;padding:0 32px 0 4px;line-height:21px}.number-spinner{box-sizing:border-box;vertical-align:middle;--tw-ring-shadow:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-color:transparent;background:#fff;border:1px solid #7f9db9;border-radius:5px;align-items:stretch;width:64px;height:24px;margin:0;display:inline-flex;overflow:hidden}.number-spinner:focus-within{border-color:#c59449;box-shadow:inset 0 0 0 1px #c59449}.number-spinner__input{-webkit-font-smoothing:none;color:#222;-moz-appearance:textfield;accent-color:#c59449;--tw-ring-shadow:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-color:transparent;flex:auto;min-width:0;font-family:Pixelated MS Sans Serif,Arial,sans-serif;font-size:11px;line-height:20px;width:auto!important;height:100%!important;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important;outline:none!important;margin:0!important;padding:0 2px 0 4px!important}.number-spinner__input::-webkit-inner-spin-button{margin:0;display:none}.number-spinner__input::-webkit-outer-spin-button{margin:0;display:none}.number-spinner__controls{background:#ececec;border-left:1px solid #c4c4c4;flex-direction:column;flex:0 0 15px;width:15px;display:flex}.desktop .number-spinner__btn,.number-spinner__btn{color:#222;cursor:default;flex:50%;width:100%;position:relative;min-width:0!important;min-height:0!important;box-shadow:none!important;background:#ececec!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important}.desktop .number-spinner__btn:not(:disabled):hover,.number-spinner__btn:not(:disabled):hover{box-shadow:none!important;background:#dedede!important}.desktop .number-spinner__btn:not(:disabled):active,.number-spinner__btn:not(:disabled):active{box-shadow:none!important;background:#d0d0d0!important}.desktop .number-spinner__btn:disabled,.number-spinner__btn:disabled{opacity:.55;text-shadow:none}.number-spinner__btn--up+.number-spinner__btn--down{border-top:1px solid #c4c4c4!important}.number-spinner__btn:before{content:"";border-left:3.5px solid #0000;border-right:3.5px solid #0000;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.number-spinner__btn--up:before{border-bottom:4px solid #333}.number-spinner__btn--down:before{border-top:4px solid #333}.desktop input[type=email]:focus,.desktop input[type=password]:focus,.desktop input[type=text]:focus,.desktop input[type=email]:focus-visible,.desktop input[type=password]:focus-visible,.desktop input[type=text]:focus-visible,.desktop select:focus,.desktop select:focus-visible,.desktop textarea:focus,.desktop textarea:focus-visible{box-shadow:none;border:1px solid #7f9db9;border-radius:0;outline:none}.desktop input:disabled,.desktop select:disabled,.desktop textarea:disabled{color:gray;text-shadow:1px 1px #fff}.desktop fieldset{box-shadow:none;background:#fff;border:1px solid #d0d0bf;border-radius:4px;padding-top:10px}.desktop legend{color:#0046d5;background:0 0}.app-window{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;display:flex}.app-body{box-sizing:border-box;flex-direction:column;flex:1;min-width:0;min-height:0;padding:6px;display:flex;overflow:hidden}.app--loading{justify-content:center;align-items:center;height:100dvh;display:flex}.toolbar{align-items:center;gap:6px;margin-bottom:6px;display:flex}.direction-toggle{display:flex}.direction-toggle button{min-width:42px}.direction-toggle button+button{margin-left:3px}.errors{border:1px solid #d0d0bf;margin-bottom:6px;padding:5px 7px}.errors button{margin-top:4px}.page-size-toolbar{flex-shrink:0;align-items:center;gap:4px;margin-left:8px;display:flex}.page-size-toolbar .number-spinner{width:64px}.page-size-fields .number-spinner{width:90px}.page-size-setup{text-align:center;background:#fff;border:1px solid #7f9db9;align-self:center;width:min(460px,100%);margin:auto;padding:18px}.page-size-setup h2{margin-top:0;font-family:MS Sans Serif,Microsoft Sans Serif,sans-serif;font-size:clamp(26px,5vw,30px);font-weight:700;line-height:1.1}.onboarding-zine-preview{width:min(100%,360px);height:clamp(168px,27vh,220px);margin:0 auto 12px}.page-size-panel{box-sizing:border-box;text-align:left;width:min(310px,100%);margin:14px auto}.page-size-fields{justify-content:center;align-items:end;gap:8px;margin:14px 0;display:flex}.page-size-fields label{text-align:left;flex-direction:column;gap:4px;display:flex}.page-size-fields input{width:90px}.page-size-direction{justify-content:center;align-items:center;gap:6px;margin:12px 0 4px;display:flex}.page-size-actions{justify-content:center;gap:6px;margin-bottom:8px;display:flex}.main{flex:1;grid-template-columns:280px minmax(0,1fr);gap:6px;width:100%;min-width:0;min-height:0;display:grid;overflow:hidden}.sidebar{flex-direction:column;gap:6px;min-width:0;min-height:0;display:flex;overflow:hidden}.sidebar-pages{clear:none;float:none;flex-direction:column;flex:auto;gap:6px;min-width:0;min-height:0;display:flex;overflow:hidden}.sidebar>.share-preview,.sidebar>.print-export{clear:none;float:none;flex-shrink:0;visibility:visible!important;height:auto!important;max-height:none!important;display:block!important}.mobile-tabs{display:none}.upload-panel,.page-order{min-width:0;margin:0}.upload-panel{flex-shrink:0}.uploader{text-align:center;cursor:pointer;flex-direction:column;justify-content:center;min-height:72px;display:flex}.uploader--dragging{outline-offset:3px;outline:1px dotted #000}.uploader--disabled{opacity:.5;cursor:not-allowed}.uploader small{margin-top:3px}.page-order{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.page-list{flex-direction:column;flex:auto;gap:3px;min-height:0;display:flex;overflow:hidden auto}.page-spread{background:#ece9d8;border:1px solid #7f9db9;flex-direction:column;gap:3px;padding:4px;display:flex}.page-spread--incomplete{border-style:dashed}.page-spread-label{font-size:11px;font-weight:700}.page-spread-header{align-items:center;gap:4px;margin-bottom:3px;display:flex}.page-spread-handle{cursor:grab;flex-shrink:0;min-width:20px;padding:0 3px}.page-spread-handle:active{cursor:grabbing}.page-spread-handle:disabled{cursor:default;opacity:.45}.page-spread--dragging{opacity:.55}.page-spread-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;display:grid}.page-spread .page-item,.page-spread .page-item-info{min-width:0}.page-spread .page-item-thumb{width:28px;height:28px}.page-spread .page-item-handle,.page-spread .page-item-menu-button{min-width:20px;padding:0 3px}.page-placeholder-input{display:none}.page-placeholder{color:#003c74;cursor:pointer;background:#fff;border:1px dashed #3a6ea5;min-height:48px}.page-placeholder span{margin-right:3px;font-weight:700}.page-placeholder--over{outline-offset:-4px;background:#dcecff;outline:2px dotted #000}.page-list-empty{text-align:center;padding:12px 0}.page-item{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #7f9db9;align-items:center;gap:4px;min-height:48px;padding:3px;display:flex}.page-item--active{outline-offset:-3px;outline:1px dotted #000}.page-item--dragging{opacity:.5}.page-item-handle{cursor:grab;flex-shrink:0}.page-item-handle:active{cursor:grabbing}.page-item-thumb{object-fit:contain;background:#fff;flex-shrink:0;width:38px;height:38px}.page-item-info{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.page-item-number{font-weight:700}.page-item-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.page-item-actions{flex-shrink:0;position:relative}.page-item-menu-button{min-width:22px;padding:0 4px;font-weight:700;line-height:1}.page-item-menu{z-index:5;background:#fff;border:1px solid #7f9db9;flex-direction:column;min-width:78px;margin-top:2px;padding:2px;display:flex;position:absolute;top:100%;right:0;box-shadow:2px 2px gray}.page-item-menu button{text-align:left;width:100%;margin:0}.save-slot-meta{color:#444;white-space:nowrap;margin-left:auto;font-size:11px}.save-zine-wrap{display:inline-flex}.save-zine-button,.clear-all-button,.toolbar .save-slot-meta+.save-zine-wrap,.toolbar .save-slot-meta+.save-zine-button,.toolbar>.save-zine-wrap:first-of-type,.toolbar>.save-zine-button:first-of-type{margin-left:0}:is(.toolbar:not(:has(.save-slot-meta)) .save-zine-wrap,.toolbar:not(:has(.save-slot-meta)) .save-zine-button){margin-left:auto}.clear-confirm-modal{width:min(340px,100%)}.clear-confirm-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.nav-buttons{box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:100%;padding-top:6px;display:flex}.desktop .nav-buttons .nav-restart,.nav-buttons .nav-restart{flex:0 0 28px;justify-content:center;align-items:center;width:28px;min-height:23px;display:inline-flex;min-width:28px!important;padding:0!important}.nav-restart-balance{pointer-events:none;flex:0 0 28px;width:28px;height:23px}.desktop .nav-buttons .nav-restart:disabled,.nav-buttons .nav-restart:disabled{opacity:.38;filter:grayscale();cursor:not-allowed;color:#6a6a6a;text-shadow:none;background:#d4d0c8;border-color:gray;box-shadow:none!important}.nav-restart__icon{width:14px;height:14px;display:block}.page-indicator{white-space:nowrap}.viewer-panel{box-sizing:border-box;background:#fff;border:1px solid #d0d0bf;flex-direction:column;justify-content:center;align-items:center;width:100%;min-width:0;padding:12px;display:flex;overflow:hidden}.viewer-panel .viewer-container{flex:1;min-height:0}.viewer-container{flex-direction:column;align-items:center;gap:6px;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.viewer-size-label{font-size:11px}.viewer-empty{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.webgl-flipbook-interaction{cursor:pointer;touch-action:pan-y;-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;overflow:hidden}.webgl-flipbook-interaction--display-only{cursor:default;pointer-events:none;touch-action:auto}.webgl-flipbook{box-sizing:border-box;max-width:100%;max-height:100%;overflow:hidden}.webgl-flipbook .react-flipbook-container{padding:0}.print-export{flex-shrink:0;min-width:0;margin:0}.print-export-controls{align-items:center;gap:6px;display:flex}.print-export-controls select{min-width:64px}.print-export-progress{white-space:nowrap;font-size:11px}.print-export-hint{white-space:normal;overflow-wrap:break-word;word-break:break-word;margin:6px 0 0;font-size:11px}.print-export-error{color:#a00000;margin:4px 0 0}.print-export-validation{color:#a00000;margin:4px 0 0;font-size:11px}.share-preview{flex-shrink:0;min-width:0;margin:0}.share-preview-controls{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.share-preview-create-wrap{display:inline-flex}.share-preview-create-wrap>button:disabled{pointer-events:none}.share-login-tooltip{z-index:1000;color:#222;-webkit-font-smoothing:none;background:#ffffe1;border:1px solid #000;border-radius:0;max-width:220px;padding:6px 8px;font-family:Pixelated MS Sans Serif,Arial,sans-serif;font-size:11px;line-height:1.35;box-shadow:2px 2px #00000059}.share-preview-progress{white-space:nowrap;font-size:11px}.share-preview-hint{margin:6px 0 0;font-size:11px}.share-preview-validation,.share-preview-error{color:#a00000;margin:4px 0 0;font-size:11px}.share-preview-result{flex-direction:column;gap:4px;margin-top:8px;display:flex}.share-preview-link-row{gap:4px;min-width:0;display:flex}.share-preview-link-row input{flex:1;min-width:0}.page-size-my-zines{text-align:left;width:100%;max-width:min(640px,100%);margin-top:16px}.page-size-my-zines .my-zines{width:100%;margin:0}.my-zines{flex-shrink:0;min-width:0;margin:0}.my-zines-hint{color:#444;margin:4px 0 0;font-size:11px}.my-zines-slots{flex-flow:row;gap:8px;width:100%;margin:8px 0 0;padding:0;list-style:none;display:flex;overflow-x:auto}.my-zines-slot{flex-direction:column;flex:1 1 0;align-items:stretch;gap:4px;min-width:72px;max-width:112px;display:flex}.my-zines-slot__frame{aspect-ratio:1;box-sizing:border-box;background:#ece9d8;border:2px solid #0a246a;width:100%;position:relative;overflow:hidden;box-shadow:inset 1px 1px #fff,inset -1px -1px #716f64}.my-zines-slot--empty .my-zines-slot__frame{background:repeating-linear-gradient(-45deg,#ece9d8,#ece9d8 4px,#e0dcc8 4px 8px);border-style:dashed;border-color:gray;place-items:center;display:grid}.my-zines-slot__empty-label{color:#666;text-transform:uppercase;letter-spacing:.04em;font-size:10px}.desktop .my-zines-slot__open,.my-zines-slot__open{width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;cursor:pointer;background:0 0;border:none;padding:0;display:block}.my-zines-slot__cover{object-fit:cover;image-rendering:auto;width:100%;height:100%;display:block}.my-zines-slot__fallback{box-sizing:border-box;text-align:center;color:#222;word-break:break-word;place-items:center;width:100%;height:100%;padding:4px;font-size:10px;display:grid}.desktop .my-zines-slot__delete,.my-zines-slot__delete{z-index:2;width:18px;min-width:18px;height:18px;min-height:18px;padding:0;font-size:12px;font-weight:700;line-height:1;position:absolute;top:2px;right:2px}.desktop .my-zines-slot__share,.my-zines-slot__share{z-index:2;min-width:0;min-height:0;padding:1px 4px;font-size:9px;line-height:1.2;position:absolute;bottom:2px;left:2px}.my-zines-slot__caption{color:#222;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.my-zines-slot--empty .my-zines-slot__caption{color:#666}.my-zines-error{color:#a00000;margin:6px 0 0;font-size:11px}.zine-title-brand{align-items:center;gap:6px;min-width:0;display:inline-flex}.zine-title-brand__logo{object-fit:contain;width:18px;height:16px;image-rendering:pixelated;image-rendering:crisp-edges;flex-shrink:0;display:block}.zine-title-meta{align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.zine-title-meta__name{text-overflow:ellipsis;white-space:nowrap;color:#fff;text-shadow:1px 1px #0f1089;max-width:18ch;font-size:11px;font-weight:700;overflow:hidden}.desktop .zine-title-meta__signout,.desktop .zine-title-meta__signout:not(:disabled):hover,.desktop .zine-title-meta__signout:focus{color:#222;min-width:0;height:18px;min-height:18px;padding:0 8px;font-size:11px}.how-heard-banner{background:#ece9d8;border:1px solid #888;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;padding:6px;display:flex}.how-heard-options{flex-wrap:wrap;gap:4px;display:flex}.auth-modal-backdrop{z-index:1000;background:#00000059;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.auth-modal{width:min(360px,100%);max-height:calc(100dvh - 32px);overflow:auto}.auth-modal-body{flex-direction:column;gap:8px;display:flex}.auth-modal-message{margin:0;font-size:11px}.auth-modal-form{flex-direction:column;gap:4px;display:flex}.auth-modal-form label{margin-top:4px;font-size:11px}.auth-modal-form input,.auth-modal-form select{box-sizing:border-box;width:100%}.auth-modal-oauth{flex-direction:column;gap:8px;margin-top:4px;display:flex}.desktop .auth-modal button.auth-modal-oauth-btn,.desktop .auth-modal button.auth-modal-oauth-btn:not(:disabled):hover,.desktop .auth-modal button.auth-modal-oauth-btn:not(:disabled):active,.desktop .auth-modal button.auth-modal-oauth-btn:focus,.desktop .auth-modal button.auth-modal-oauth-btn.focused,.auth-modal button.auth-modal-oauth-btn{cursor:pointer;width:100%;min-width:0;min-height:34px;image-rendering:pixelated;border-style:solid;border-width:1px;border-radius:3px;outline:none;justify-content:center;align-items:center;gap:8px;padding:6px 12px;font-family:Pixelated MS Sans Serif,Tahoma,sans-serif;font-size:12px;font-weight:700;box-shadow:none!important;text-shadow:none!important;display:flex!important}.desktop .auth-modal button.auth-modal-oauth-btn:disabled,.auth-modal button.auth-modal-oauth-btn:disabled{opacity:.65;cursor:wait;color:inherit!important;text-shadow:none!important}.desktop .auth-modal button.auth-modal-oauth-btn--google,.desktop .auth-modal button.auth-modal-oauth-btn--google:not(:disabled):hover,.desktop .auth-modal button.auth-modal-oauth-btn--google:not(:disabled):active,.desktop .auth-modal button.auth-modal-oauth-btn--google:focus,.auth-modal button.auth-modal-oauth-btn--google{color:#3c4043!important;background:#fff!important;border-color:#dadce0!important}.desktop .auth-modal button.auth-modal-oauth-btn--google:not(:disabled):hover,.auth-modal button.auth-modal-oauth-btn--google:not(:disabled):hover{background:#f8f9fa!important}.desktop .auth-modal button.auth-modal-oauth-btn--github,.desktop .auth-modal button.auth-modal-oauth-btn--github:not(:disabled):hover,.desktop .auth-modal button.auth-modal-oauth-btn--github:not(:disabled):active,.desktop .auth-modal button.auth-modal-oauth-btn--github:focus,.auth-modal button.auth-modal-oauth-btn--github{color:#fff!important;background:#24292f!important;border-color:#24292f!important}.desktop .auth-modal button.auth-modal-oauth-btn--github:not(:disabled):hover,.auth-modal button.auth-modal-oauth-btn--github:not(:disabled):hover{background:#32383f!important;border-color:#32383f!important}.oauth-pixel-icon{image-rendering:pixelated;image-rendering:crisp-edges;flex-shrink:0;display:block}.oauth-github-icon{flex-shrink:0;display:block}.auth-modal-error{color:#a00000;margin:0;font-size:11px}.shared-preview-main{grid-template-columns:1fr;min-height:0}.shared-preview-kicker{color:#444;text-align:center;margin:0 0 6px;font-size:11px}.shared-preview-invite{background:linear-gradient(#fff0f8f2,#ece9d8fa);border:2px solid #0a246a;align-items:center;gap:16px;margin:0 0 10px;padding:10px 12px;display:flex;box-shadow:inset 1px 1px #fff,inset -1px -1px gray}.shared-preview-invite--compact{flex-shrink:0}.shared-preview-invite__art{object-fit:contain;width:96px;height:96px;image-rendering:pixelated;image-rendering:crisp-edges;flex-shrink:0;display:block}.shared-preview-invite__copy{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.shared-preview-invite__title{color:navy;margin:0;font-family:"Perfect DOS VGA 437 Win",Pixelated MS Sans Serif,monospace;font-size:16px}.shared-preview-invite__text{max-width:42ch;margin:0;font-size:12px;line-height:1.4}.desktop a.shared-preview-invite__cta,.shared-preview-invite__cta{color:#222;cursor:pointer;background:linear-gradient(#fff,#ecebe5 86%,#d8d0c4);border:1px solid #003c74;border-radius:3px;justify-content:center;align-items:center;min-width:120px;min-height:28px;margin-top:2px;padding:4px 14px;font-weight:700;text-decoration:none;display:inline-flex}.desktop a.shared-preview-invite__cta:hover,.shared-preview-invite__cta:hover{box-shadow:inset -1px 1px #fff0cf,inset 1px 2px #fdd889,inset -2px 2px #fbc761,inset 2px -2px #e5a01a}.shared-preview-error{text-align:center;flex-direction:column;align-items:center;gap:10px;max-width:420px;margin:auto;display:flex}.shared-preview-error .shared-preview-invite{text-align:left;width:100%}@media (width<=640px){.shared-preview-invite{text-align:center;flex-direction:column;align-items:center}.shared-preview-invite__copy{align-items:center}.shared-preview-invite__text{text-align:center}.shared-preview-invite__art{width:112px;height:112px}}.viewer-container--compact{gap:3px}.viewer-container--compact .viewer-size-label{flex-shrink:0}.viewer-container--compact .webgl-flipbook-interaction{height:0;min-height:0}@media (width<=768px){html,body,#root{height:100%;overflow:hidden}.desktop{height:100dvh;padding:4px;overflow:hidden}.app-window{height:100%;min-height:0}.app-body{min-height:0;overflow:hidden}.toolbar{border-bottom:1px solid gray;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;padding-bottom:6px;box-shadow:0 1px #fff}.save-slot-meta{order:1;margin-left:auto}.save-zine-wrap,.save-zine-button{order:1}:is(.toolbar:not(:has(.save-slot-meta)) .save-zine-wrap,.toolbar:not(:has(.save-slot-meta)) .save-zine-button){margin-left:auto}.clear-all-button{order:1;margin-left:0}.page-size-toolbar{flex-wrap:wrap;flex:100%;order:2;min-width:0;margin-left:0}.page-size-toolbar .number-spinner{width:56px}.mobile-tabs{flex-shrink:0;gap:4px;width:100%;display:flex}.mobile-tabs button{flex:1 1 0;min-width:0}.main{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex;overflow:hidden}.main--tab-preview .sidebar,.main--tab-pages .viewer-panel{display:none}.main--tab-pages .sidebar>.share-preview,.main--tab-pages .sidebar>.print-export,.main--tab-share .viewer-panel,.main--tab-share .sidebar-pages{display:none!important}.main--tab-pages .sidebar,.main--tab-share .sidebar{flex:1;min-height:0;max-height:none;display:flex;overflow:hidden}.main--tab-preview .viewer-panel{flex:1;min-height:0;overflow:hidden}.page-order,.page-list{flex:auto}.page-size-setup{flex:1;min-height:0;margin:12px auto;overflow:auto}}.shared-preview-nav-row{flex-shrink:0;justify-content:center;align-items:center;width:100%;display:flex}.shared-preview-nav-row .nav-buttons{margin:0}.desktop .nav-buttons .shared-enlarge-button,.nav-buttons .shared-enlarge-button,.desktop .shared-enlarge-button,.shared-enlarge-button{white-space:nowrap;flex:none}.shared-enlarge{z-index:10000;overscroll-behavior:none;touch-action:none;background:navy;width:100dvw;height:100dvh;position:fixed;inset:0}.shared-enlarge__rotator{box-sizing:border-box;padding:max(4px, env(safe-area-inset-top,0px)) max(4px, env(safe-area-inset-right,0px)) max(4px, env(safe-area-inset-bottom,0px)) max(4px, env(safe-area-inset-left,0px));background:silver;flex-direction:column;gap:4px;display:flex;position:absolute;inset:0;overflow:hidden}.shared-enlarge__rotator--portrait{transform-origin:50%;width:100dvh;height:100dvw;padding:4px;inset:50% auto auto 50%;transform:translate(-50%,-50%)rotate(90deg)}.shared-enlarge__toolbar{flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:28px;padding:0 4px;display:flex}.shared-enlarge__title{font-size:13px;font-weight:700}.shared-enlarge__stage,.shared-enlarge__stage.viewer-panel{box-sizing:border-box;background:#fff;border:1px solid gray;flex-direction:column;flex:auto;justify-content:flex-start;align-items:stretch;width:100%;min-width:0;min-height:0;padding:4px;display:flex;overflow:hidden}.shared-enlarge__stage .viewer-container{flex:auto;width:100%;height:auto;min-height:0}.shared-enlarge__stage .viewer-size-label{display:none}.shared-enlarge__stage .webgl-flipbook-interaction{flex:auto;width:100%;height:auto;min-height:0}.shared-enlarge__stage .shared-preview-nav-row{flex:none;margin-top:4px}.shared-enlarge__stage .nav-buttons{padding-top:2px}.page-image-cropper{width:min(520px,100%)}.page-image-cropper__body{gap:10px}.page-image-cropper__target{flex-wrap:wrap;gap:6px;display:flex}.page-image-cropper__target button[aria-pressed=true]{font-weight:700}.page-image-cropper__stage{justify-content:center;width:100%;display:flex}.page-image-cropper__viewport{touch-action:none;cursor:grab;background-color:#fff;background-image:linear-gradient(45deg,silver 25%,#0000 25%),linear-gradient(-45deg,silver 25%,#0000 25%),linear-gradient(45deg,#0000 75%,silver 75%),linear-gradient(-45deg,#0000 75%,silver 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-repeat:repeat,repeat,repeat,repeat;background-size:16px 16px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;border:2px solid #000;position:relative;overflow:hidden;box-shadow:inset 1px 1px #fff,inset -1px -1px gray}.page-image-cropper__viewport:active{cursor:grabbing}.page-image-cropper__image{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;position:absolute;top:0;left:0}.page-image-cropper__zoom{justify-content:center;gap:6px;display:flex}.page-image-cropper__zoom button{min-width:32px}.page-image-cropper__error{color:#9b0000;margin:0;font-size:11px}.page-image-cropper__actions{justify-content:flex-end}
