.k26-gallery{max-width:950px;margin:24px auto 32px;padding-inline:20px}
.k26-gallery-tiles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:clamp(72px,9vw,110px);gap:8px;padding:4px}
.k26-gallery-photo{display:block;min-width:0;min-height:0;overflow:hidden;background:#edf1ed;border-radius:6px}
.k26-gallery-photo:first-child{grid-column:span 2;grid-row:span 2}
.k26-gallery-tiles.is-short{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(80px,13vw,145px)}
.k26-gallery-photo:only-child{grid-column:1/-1;grid-row:span 2;width:min(100%,700px)}
.k26-gallery-photo img{width:100%;height:100%;object-fit:cover;display:block}
.k26-gallery-photo:focus-visible,.k26-gallery-dialog button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.k26-gallery-dialog{padding:0;color:#fff;background:#202923;border:1px solid #4e5e53;border-radius:12px;width:min(960px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.k26-gallery-dialog::backdrop{background:rgb(16 23 18 / 85%)}
.k26-gallery-dialog header,.k26-gallery-dialog footer{display:flex;align-items:center;gap:12px;padding:12px 18px}
.k26-gallery-dialog header{justify-content:space-between}
.k26-gallery-dialog h2{font-size:16px;margin:0;color:inherit}
.k26-gallery-dialog footer{justify-content:center}
.k26-gallery-dialog button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #87988c;background:transparent;color:inherit;border-radius:6px;padding:4px 9px}
.k26-gallery-dialog button:hover{background:#405548}
.k26-gallery-dialog svg,.k26-detail-grid svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.k26-gallery-stage{display:grid;place-items:center;background:#151c17;height:min(65dvh,640px);touch-action:pan-y pinch-zoom}
.k26-gallery-stage img{width:100%;height:100%;min-height:0;object-fit:contain}
.k26-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;margin:0}
.k26-detail-grid>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:8px;padding:12px 0;border-bottom:1px solid var(--k26-line)}
.k26-detail-grid dt{display:flex;align-items:center;gap:8px;font-weight:500;color:var(--k26-muted)}
.k26-detail-grid dd{margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}
@media(max-width:767px){.k26-gallery{padding-inline:14px;margin-block:14px 22px}.k26-gallery-tiles{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:clamp(51px,16vw,95px);gap:5px}.k26-gallery-tiles.is-short{grid-auto-rows:clamp(68px,22vw,105px)}.k26-detail-grid{grid-template-columns:1fr}}
