.spr{height: min(850px,85vh);min-height:360px;background:#17191e;color:#fff;display:flex;flex-direction:column;position:relative;border-radius:10px;overflow:hidden;font:15px system-ui;box-sizing:border-box}.spr *{box-sizing:border-box}.spr header,.spr footer{padding:10px 14px;background:#23262d;flex:none}.spr header{display:flex;align-items:center;justify-content:space-between;gap:8px}.spr button{background:#353943;color:white;border:1px solid #555b66;border-radius:6px;padding:8px 12px;cursor:pointer;font:inherit;line-height:1.2}.spr button:disabled{opacity:.4;cursor:default}.spr-stage{flex:1;min-height:0;overflow:auto;display:flex;position:relative;padding:12px;touch-action:pan-y}.spr canvas{display:block;margin:auto;max-width:none!important;max-height:none!important;flex:none;background:white;box-shadow:0 5px 25px #0008}.spr canvas[hidden]{display:none}.spr-status{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:20px;pointer-events:none}.spr-status:empty{display:none}.spr-controls,.spr-progress{display:flex;align-items:center;justify-content:center;gap:8px}.spr-progress{margin-top:8px}.spr-progress input{flex:1;min-width:0;accent-color:#39bdb1}.spr-progress span{min-width:42px;text-align:right}.spr.spr-full,.spr:fullscreen{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:2147483647;border-radius:0}.spr-turn{animation:spr-turn .24s ease-out}@keyframes spr-turn{from{opacity:.3;transform:perspective(1200px) rotateY(var(--spr-angle,8deg)) translateX(12px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.spr-turn{animation:none}}@media(max-width:480px){.spr button{padding:8px}.spr header,.spr footer{padding:8px}.spr-stage{padding:6px}}

.spr{height:92vh;height:92dvh;border-radius:4px}.spr-stage{padding:0;touch-action:pan-x pan-y}.spr-spread{display:flex;align-items:center;justify-content:center;flex:none;margin:auto;gap:0;max-width:none}.spr .spr-spread canvas{margin:0;box-shadow:none}.spr-spread{box-shadow:0 5px 24px #0008}.spr-spread canvas+canvas{border-left:1px solid #c8c8c8}.spr header,.spr footer{padding:5px 10px}.spr button{padding:5px 10px}.spr-progress{margin-top:4px}.spr-count{white-space:nowrap}.spr-controls{flex-wrap:wrap}.spr-status{z-index:2;margin:0}.spr-full .spr-stage{padding:0}@media(max-width:480px){.spr button{padding:5px 7px}.spr-controls{gap:4px}}
