.lb-root{--lb-z-index:50000;--lb-backdrop:#000000d9;--lb-toolbar-bg:#0009;--lb-toolbar-height:52px;--lb-fg:#fff;--lb-fg-muted:#fff9;--lb-button-hover:#ffffff26;--lb-button-active:#ffffff47;--lb-accent:#fff;--lb-font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lb-duration:.16s;--lb-easing:cubic-bezier(.2, 0, 0, 1);z-index:var(--lb-z-index);background:var(--lb-backdrop);color:var(--lb-fg);font-family:var(--lb-font);-webkit-tap-highlight-color:transparent;animation:lb-fade-in var(--lb-duration) var(--lb-easing);overscroll-behavior:contain;outline:none;flex-direction:column;display:flex;position:fixed;inset:0}@keyframes lb-fade-in{0%{opacity:0}to{opacity:1}}body.lb-open{overflow:hidden}.lb-toolbar{height:var(--lb-toolbar-height);background:var(--lb-toolbar-bg);box-sizing:border-box;z-index:2;flex:none;align-items:stretch;gap:2px;padding:0 6px;display:flex}.lb-toolbar--flex-start{justify-content:flex-start}.lb-toolbar--center{justify-content:center}.lb-toolbar--flex-end{justify-content:flex-end}.lb-title{flex:auto;align-items:center;gap:.6em;min-width:0;padding:0 .8em;font-size:1rem;display:flex}.lb-toolbar--center .lb-title{display:none}.lb-toolbar--flex-start .lb-title{text-align:right;order:2;justify-content:flex-end}.lb-title-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lb-counter{color:var(--lb-fg-muted);font-variant-numeric:tabular-nums;flex:none;font-size:.875em}.lb-button{appearance:none;color:var(--lb-fg);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--lb-duration) var(--lb-easing), opacity var(--lb-duration) var(--lb-easing);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;margin:0;padding:0 14px;display:inline-flex}.lb-button:hover{background:var(--lb-button-hover)}.lb-button:active{background:var(--lb-button-active)}.lb-button:focus-visible{outline:2px solid var(--lb-accent);outline-offset:-3px}.lb-button:disabled{opacity:.35;cursor:default;background:0 0}.lb-toolbar--flex-start .lb-button--close{order:-1}.lb-toolbar--flex-start .lb-button--reset{order:1}.lb-canvas{touch-action:none;cursor:zoom-out;flex:auto;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.lb-canvas--zoomed{cursor:grab}.lb-canvas--panning{cursor:grabbing}.lb-canvas--no-exit{cursor:default}.lb-img{width:auto;max-width:90vw;height:auto;max-height:calc(100vh - var(--lb-toolbar-height) - 24px);max-height:calc(100dvh - var(--lb-toolbar-height) - 24px);object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transform-origin:50%;will-change:transform;transition:transform var(--lb-duration) var(--lb-easing), opacity var(--lb-duration) var(--lb-easing);backface-visibility:hidden;display:block}.lb-img--gesturing{transition:none}.lb-img--loading{opacity:0}.lb-img--error{display:none}.lb-spinner{border:3px solid #ffffff40;border-top-color:var(--lb-accent);pointer-events:none;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite lb-spin;position:absolute}@keyframes lb-spin{to{transform:rotate(360deg)}}.lb-error{color:var(--lb-fg-muted);pointer-events:none;flex-direction:column;align-items:center;gap:.5em;font-size:.9rem;display:flex;position:absolute}.lb-nav{background:#00000059;border-radius:8px;width:48px;height:72px;padding:0;position:absolute;top:50%;transform:translateY(-50%)}.lb-nav:hover{background:#0009}.lb-nav--prev{left:12px}.lb-nav--next{right:12px}.lb-mobile-controls{bottom:max(16px, env(safe-area-inset-bottom));pointer-events:none;justify-content:center;gap:8px;display:none;position:absolute;left:0;right:0}.lb-mobile-controls .lb-button{pointer-events:auto;background:#0009;border-radius:50%;width:48px;height:48px;padding:0}@media (max-width:640px){.lb-toolbar{padding:0 2px}.lb-button{padding:0 10px}.lb-nav{display:none}.lb-mobile-controls{display:flex}.lb-hide-mobile{display:none}.lb-img{max-width:100vw}}@media (hover:none){.lb-button:hover{background:0 0}.lb-button:active{background:var(--lb-button-active)}}@media (prefers-reduced-motion:reduce){.lb-root,.lb-img,.lb-button{transition:none;animation:none}}
