.kinoko-collection__photos img,.km-gallery img.km-photo{cursor:zoom-in}
.kinoko-collection__photos img:focus-visible,.km-gallery img.km-photo:focus-visible{outline:3px solid #c9693c;outline-offset:-3px}
.kk-photo-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:48px 12px 20px;box-sizing:border-box;border:0;background:rgba(15,29,21,.94);color:#fff;text-align:center}
.kk-photo-lightbox::backdrop{background:rgba(15,29,21,.94)}
.kk-photo-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 100px);width:auto;height:auto;margin:auto;object-fit:contain}
.kk-photo-lightbox__close{position:absolute;top:8px;right:12px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#fff;color:#183e2d;font-size:30px;line-height:1;cursor:pointer}
.kk-photo-lightbox p{margin:8px 0;font-size:12px;color:#e2eadf}
@media(max-width:760px){#km-panel .km-record{margin-left:0;margin-right:0}#km-panel .km-gallery{margin-inline:-20px;border-radius:0}#km-panel .km-gallery img.km-photo{display:block;width:100%;height:auto;aspect-ratio:auto;max-height:none;object-fit:contain;border-radius:0}#km-panel .km-record>.kk-reactions,#km-panel .km-record>p{margin-left:0;margin-right:0}}
@media(max-width:760px){#km-panel .km-gallery .kk-photo-author{box-sizing:border-box;left:12px;bottom:12px;max-width:calc(100% - 68px);white-space:normal;overflow-wrap:anywhere;text-overflow:clip}#km-panel .km-gallery .km-slide-arrow{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;font-size:0;line-height:1}#km-panel .km-gallery .km-slide-arrow::before{content:"";display:block;width:10px;height:10px;border:solid currentColor;border-width:0 2px 2px 0}#km-panel .km-gallery .km-slide-arrow.prev::before{transform:translateX(2px) rotate(135deg)}#km-panel .km-gallery .km-slide-arrow.next::before{transform:translateX(-2px) rotate(-45deg)}#km-panel .km-gallery .km-slide-count{right:12px;bottom:12px}}
.ke-photos .kk-edit-crop-existing,.kk-edit-preview button{display:block;margin:8px 0 14px;padding:9px 15px;border:1px solid #a8c29e;border-radius:999px;background:#eef4e8;color:#1f4730;font:inherit;cursor:pointer}
.ke-photos .kk-edit-replaced{opacity:.55}
.kk-edit-previews{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0}
.kk-edit-preview{width:150px}
.kk-edit-preview img{display:block;width:150px;height:150px;object-fit:contain;background:#eef1e5;border-radius:12px}
.kk-edit-crop-note{margin:4px 0 14px}
