/* V159: fine art detail galleries; scoped to editions only. */
body[data-mikki-page="editions"] .edition-art-trigger{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:left;color:var(--ink)}
.edition-image-label{position:absolute;bottom:13px;right:13px;background:#fff8e9;color:#1b181a;padding:11px 15px;border-radius:100px;font-size:10px;font-weight:900;letter-spacing:.06em;box-shadow:0 2px 10px #0002}
.edition-detail-link{display:inline-flex;align-items:center;padding:9px 0;color:var(--ink);background:transparent;border:0;border-bottom:1px solid currentColor;font-size:11px;font-weight:900;letter-spacing:.06em;cursor:pointer;margin-top:10px;text-align:left}
#edition-detail-dialog{position:fixed;inset:0;margin:auto;width:min(1080px,calc(100% - 28px));max-height:90vh;max-height:90dvh;padding:24px;background:#fff8e9;box-sizing:border-box;overscroll-behavior:contain}
#edition-detail-dialog .dialog-top{position:sticky;top:-24px;z-index:2;background:#fff8e9;padding:8px 0;gap:12px}
#edition-detail-dialog .dialog-close{flex:0 0 38px;display:grid;place-items:center;line-height:1;border:0;cursor:pointer}
.edition-dialog-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:32px;align-items:start}
.edition-dialog-stage{position:relative;background:#eee5d8;border-radius:15px;overflow:hidden;display:grid;place-items:center}
#edition-dialog-image{width:100%;height:clamp(280px,49vh,510px);object-fit:contain;display:block}
.edition-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:50%;height:38px;width:38px;background:#fff;color:#171715;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 2px 12px #0002}
.edition-gallery-arrow.prev{left:9px}.edition-gallery-arrow.next{right:9px}
.edition-dialog-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.edition-dialog-thumbs button{background:#fff;border:2px solid transparent;border-radius:9px;padding:3px;overflow:hidden;cursor:pointer;color:#171715;min-width:0}
.edition-dialog-thumbs button[aria-pressed="true"]{border-color:#171715}
.edition-dialog-thumbs img{height:72px;width:100%;object-fit:cover;border-radius:5px;display:block}
.edition-dialog-thumbs button:last-child img{object-fit:contain}.edition-dialog-thumbs span{display:block;font-size:9px;font-weight:800;padding:5px 1px;line-height:1.15;overflow-wrap:anywhere}
.edition-image-caption{font-size:11px;margin-top:9px;opacity:.75}
#edition-dialog-title{font-size:clamp(40px,5vw,76px);line-height:.92;margin:15px 0;overflow-wrap:anywhere}
.edition-dialog-copy>p{font-size:15px;margin:13px 0}.edition-dialog-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0}
.edition-dialog-formats button{border:1px solid #bdb6aa;background:#fffdf6;border-radius:10px;text-align:left;padding:12px;color:#171715;font-size:12px;font-weight:900;cursor:pointer}.edition-dialog-formats button[aria-pressed="true"]{border-color:#171715;box-shadow:inset 0 0 0 1px #171715;background:#d8efdd}.edition-dialog-formats small{display:block;margin-top:6px;font-size:11px}
.edition-size-guide{border-top:1px solid #c8bfb2;padding-top:15px}.edition-size-guide h3{font-size:14px;letter-spacing:.07em;margin:0 0 8px}.edition-size-guide table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.edition-size-guide th,.edition-size-guide td{padding:8px 4px;border-bottom:1px solid #ded6ca;text-align:left}.edition-size-guide th{font-size:10px}.edition-size-guide tr.current td{font-weight:900}.edition-dialog-copy .btn{display:flex;width:100%;justify-content:center;margin-top:16px;text-align:center}
#edition-detail-dialog button:focus-visible,.edition-art-trigger:focus-visible,.edition-detail-link:focus-visible{outline:3px solid #b72b73;outline-offset:3px}
@media(max-width:760px){#edition-detail-dialog{width:calc(100% - 16px);padding:15px;max-height:94vh;max-height:94dvh}#edition-detail-dialog .dialog-top{top:-15px}.edition-dialog-grid{grid-template-columns:1fr;gap:20px}#edition-dialog-image{height:clamp(220px,42vh,380px)}.edition-dialog-thumbs img{height:57px}#edition-dialog-title{font-size:clamp(42px,11vw,64px)}.edition-image-label{bottom:10px;right:10px}}
