.diyanet-image-entry{margin-top:12px}
.home.diyanet-image-home{position:fixed;inset:0;z-index:110;width:100%;height:100dvh;padding:0;overflow:hidden;background:#f9f3dc}
.diyanet-image-reader{height:calc(100dvh - 78px - env(safe-area-inset-bottom));display:flex;flex-direction:column;min-height:0}
.diyanet-image-header{flex:0 0 auto;min-height:54px;box-sizing:border-box;padding:calc(7px + env(safe-area-inset-top)) 12px 7px;display:flex;align-items:center;gap:12px;background:#fff;color:#075a3b;border-bottom:1px solid #d7d0ad;font:600 16px system-ui,sans-serif}
.diyanet-image-heading{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;line-height:1.25}
.diyanet-image-location{font-size:11px;font-weight:500;color:#58715e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.diyanet-image-count{font-size:13px;color:#5d684f;white-space:nowrap}
.diyanet-image-header button,.diyanet-image-controls button{width:42px;height:42px;border:1px solid #c9d9ce;border-radius:10px;background:#f1f8f3;color:#075a3b;font-size:22px;cursor:pointer}
.diyanet-image-switch{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px 8px;background:#fff;border-bottom:1px solid #d7d0ad;font:600 12px system-ui,sans-serif}
.diyanet-image-switch span,.diyanet-image-switch button{min-height:34px;display:grid;place-items:center;border:1px solid #c9d9ce;border-radius:8px}
.diyanet-image-switch span{background:#eaf6ef;color:#075a3b}
.diyanet-image-switch button{background:#fff;color:#075a3b;font:inherit;cursor:pointer}
.diyanet-image-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:4px;overflow:hidden}
.diyanet-image-page{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;touch-action:pan-y;cursor:zoom-in}
.home.diyanet-image-home.diyanet-image-fullscreen .diyanet-image-reader{height:100dvh}
.home.diyanet-image-home.diyanet-image-fullscreen .diyanet-image-header,.home.diyanet-image-home.diyanet-image-fullscreen .diyanet-image-switch,.home.diyanet-image-home.diyanet-image-fullscreen .diyanet-image-controls,.home.diyanet-image-home.diyanet-image-fullscreen .bottom-nav{display:none}
.home.diyanet-image-home.diyanet-image-fullscreen .diyanet-image-page{cursor:zoom-out}
.diyanet-image-page[hidden],.diyanet-image-error[hidden]{display:none}
.diyanet-image-error{color:#a13737;text-align:center;font:15px system-ui,sans-serif}
.diyanet-image-controls{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:clamp(4px,2vw,12px);padding:7px 8px;background:#fff;border-top:1px solid #d7d0ad}
.diyanet-image-controls label{display:flex;align-items:center;gap:7px;color:#375e4a;font:600 13px system-ui,sans-serif}
.diyanet-image-controls .diyanet-image-open-picker{width:auto;min-width:80px;padding:0 8px;font:600 12px system-ui,sans-serif;white-space:nowrap}
.diyanet-image-picker{position:absolute;bottom:100%;left:0;right:0;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:#fff;border:1px solid #d7d0ad;box-shadow:0 -8px 24px #17352b22}
.diyanet-image-picker[hidden]{display:none}
.diyanet-image-picker label{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.diyanet-image-picker select{width:100%;height:42px;min-width:0;border:1px solid #c9d9ce;border-radius:8px;background:#f7faf7;color:#17352b;font:14px system-ui,sans-serif}
.diyanet-image-number{width:65px;height:40px;box-sizing:border-box;border:1px solid #c9d9ce;border-radius:8px;text-align:center;font:600 16px system-ui,sans-serif;color:#17352b}
.diyanet-image-controls button:disabled{opacity:.4}
.home.diyanet-image-home .bottom-nav{z-index:120}
