
.lv-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:12px;background:#09100ff5;color:#fff;z-index:200000;box-sizing:border-box}.lv-viewer::backdrop{background:#000d}.lv-viewer[open]{display:flex;flex-direction:column}.lv-viewer-tools{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 0 10px;flex-wrap:nowrap;min-width:0}.lv-viewer button{font:inherit;font-size:20px;min-width:44px;min-height:44px;background:#243b28;color:#fff;border:1px solid #66845b;border-radius:12px;cursor:pointer}.lv-viewer-stage{flex:1;min-height:0;overflow:auto;text-align:center;overscroll-behavior:contain}.lv-viewer-stage img{object-fit:contain;max-width:none;display:block;margin:auto;cursor:zoom-in}.lv-bottom-nav{display:none}
@media(max-width:700px){.lv-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:99995;background:#102019f5;border-top:1px solid #577347;padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:5px;backdrop-filter:blur(16px)}.lv-bottom-nav a{flex:1;text-align:center;padding:12px 3px;color:#eef9e5;text-decoration:none;border-radius:12px;font:600 14px Arial}.lv-bottom-nav a[aria-current=true]{background:#b8f568;color:#102019}body:has(.lv-bottom-nav){padding-bottom:80px}body:has(.lv-bottom-nav)>.lv-launch{display:none}}

.lv-viewer-save{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #607354;border-radius:9px;color:#edf5e8;background:#21301f;text-decoration:none;font-size:13px;white-space:nowrap;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

.lv-photo-save-hint{margin:2px auto 10px;max-width:520px;text-align:center;font-size:13px;color:#d2e8c5;line-height:1.4}.lv-viewer .lv-viewer-stage img{-webkit-touch-callout:default!important;-webkit-user-select:auto!important;user-select:auto!important}

.lv-photo-save-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.lv-photo-save-button[aria-disabled="true"]{cursor:wait;opacity:.75}
.lv-photo-save-spinner{display:none;width:16px;height:16px;flex:0 0 16px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.lv-photo-save-button[aria-busy="true"] .lv-photo-save-spinner{display:inline-block;animation:lv-photo-save-spin .75s linear infinite}
@keyframes lv-photo-save-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.lv-photo-save-button[aria-busy="true"] .lv-photo-save-spinner{animation:none}}

.lv-viewer-tools button,.lv-viewer-tools .lv-viewer-save{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;box-sizing:border-box;border:1px solid #66845b;border-radius:10px;background:#243b28;color:#edf5e8}
.lv-viewer-tools [role=status]{flex:0 1 auto;min-width:0;margin:0 4px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-variant-numeric:tabular-nums}
.lv-viewer-tools svg{width:20px;height:20px;flex:none;pointer-events:none}
.lv-viewer-tools .lv-photo-save-icon{display:flex;align-items:center;justify-content:center}
.lv-viewer-tools .lv-photo-save-button[aria-busy=true] .lv-photo-save-icon{display:none}
.lv-viewer-tools button:focus-visible,.lv-viewer-tools .lv-viewer-save:focus-visible{outline:2px solid #b8f568;outline-offset:2px}
