/* わんこの台所ツール：画像の拡大表示（v0.5.2） */
img.wd-zoomable{cursor:zoom-in}
.wd-zoom-fig{position:relative}
.wd-zoom-badge{position:absolute;right:8px;bottom:8px;padding:3px 10px 3px 26px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;line-height:1.6;pointer-events:auto;cursor:zoom-in;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:14px;background-position:8px center}
html.wd-zoom-lock,html.wd-zoom-lock body{overflow:hidden}
.wd-zoom{position:fixed;inset:0;z-index:100000;display:none;background:rgba(15,20,25,.96)}
.wd-zoom.is-open{display:block}
.wd-zoom-wrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:auto;-webkit-overflow-scrolling:touch;
  padding:calc(56px + env(safe-area-inset-top,0px)) 12px calc(44px + env(safe-area-inset-bottom,0px))}
.wd-zoom-img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;border-radius:6px;background:#fff}
.wd-zoom.is-actual .wd-zoom-wrap{display:block;padding:calc(56px + env(safe-area-inset-top,0px)) 0 calc(44px + env(safe-area-inset-bottom,0px))}
.wd-zoom.is-actual .wd-zoom-img{max-width:none;max-height:none;height:auto;margin:0;cursor:zoom-out;border-radius:0}
.wd-zoom-close{position:fixed;top:calc(10px + env(safe-area-inset-top,0px));right:10px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:26px;line-height:44px;cursor:pointer;padding:0}
.wd-zoom-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.wd-zoom-hint{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(10px + env(safe-area-inset-bottom,0px));margin:0;padding:4px 12px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;white-space:nowrap;pointer-events:none}
