/* eshGallery: local editorial library. No changes to shared navigation geometry. */
#gallery-home .g26-reserved>a{display:flex;align-items:center;gap:1vw;font-size:5.2vw;line-height:1.2;font-weight:300;color:inherit;text-decoration:none;padding:6px 12px;min-height:44px}
#gallery-home .g26-reserved>a:hover{color:#ffb4d0}
#gallery-home .g26-reserved>a:focus-visible{outline:2px solid currentColor;outline-offset:6px}
/* Photo V2 artboards: a left-led library, centered detail, ordered bottom-aligned rows. */
#page-gallery .eg-page{position:relative;width:100%;max-width:none;margin:0;padding:3vw 3.4vw 90px;box-sizing:border-box;color:#fafafa}
.eg-page a{color:inherit}.eg-back{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;text-decoration:none;font-size:clamp(28px,4vw,60px)}.eg-page>.eg-back:first-child{position:absolute;top:4vw;left:3.4vw;z-index:1}.eg-end{margin-top:60px;font-size:16px}
.eg-photo-brand{height:13vw;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0 auto 3vw;font-weight:300;font-size:clamp(30px,3.6vw,60px)}.eg-photo-brand img{width:13vw;height:8vw;object-fit:contain;transform:scale(1.5)}.eg-photo-brand.eg-compact{position:absolute;right:3.4vw;top:3vw;height:auto;min-height:0;font-size:clamp(20px,2.7vw,40px);gap:10px;margin:0}.eg-photo-brand.eg-compact img{width:9vw;height:6vw}
.eg-section{margin:0 0 5vw}.eg-section-title{font-size:clamp(32px,4.5vw,72px);font-weight:300;line-height:1.15;margin:0 0 18px}.eg-covers{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}.eg-cover{display:block;width:15vw;min-width:170px;max-width:100%;text-decoration:none}.eg-cover>img{display:block;width:100%;height:auto;max-height:22vw;object-fit:contain;object-position:left bottom}.eg-cover-copy{margin-top:10px}.eg-cover h3{font-weight:400;font-size:clamp(16px,1.3vw,22px);line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}.eg-owner{font-size:clamp(15px,1.3vw,22px);font-weight:400;line-height:1.5;color:#999;margin:0}.eg-cover:hover h3{text-decoration:underline;text-underline-offset:4px}
.eg-placeholder{width:15vw;min-width:170px;color:#999}.eg-placeholder>img{display:block;width:100%;aspect-ratio:1;background:#494949;object-fit:contain;opacity:.5}.eg-placeholder p{margin:8px 0 0}.eg-demo{font-size:14px;line-height:1.6;color:#ffc3d9;margin:15px 0 30px}.eg-empty,.eg-error{font-size:16px;line-height:1.8}.eg-retry{background:#ffd1dc;border:0;padding:12px 24px;font:inherit;min-height:44px;cursor:pointer}
.eg-album-head{text-align:center;margin:0 auto 5vw;display:flex;flex-direction:column;align-items:center}.eg-main-cover{display:block;width:25vw;max-width:70%;height:auto;margin:0 auto 2.5vw}.eg-main-cover>img{display:block;width:100%;height:auto}.eg-page .eg-title{font-size:clamp(26px,2.5vw,42px);line-height:1.25;font-weight:700;margin:0 0 20px;overflow-wrap:anywhere}.eg-album-head .eg-owner{color:#fafafa;font-size:clamp(18px,2.3vw,36px)}.eg-description{font-size:clamp(16px,1.3vw,20px);line-height:1.8;max-width:65ch;margin:3vw auto 0;white-space:pre-line}.eg-meta{font-size:16px;color:#bbb}.eg-divider{width:82%;border:0;border-top:1px solid #666;margin:6vw auto 4vw}.eg-chapter{margin:0 auto 6vw;width:88%}.eg-chapter>h2{text-align:center;font-size:clamp(24px,2.3vw,38px);font-weight:700;margin:0 0 3vw}.eg-chapter>.eg-description{text-align:center;margin-bottom:3vw}
.eg-sequence{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:36px 28px}.eg-sequence figure{width:var(--photo-width);max-width:100%;margin:0}.eg-photo{display:block;cursor:zoom-in}.eg-photo img{display:block;width:100%;height:auto}.eg-sequence figcaption{font-size:14px;font-weight:300;line-height:1.5;margin-top:8px;color:#bbb;overflow-wrap:anywhere}.eg-image-failed{min-height:120px}
.pswp{--pswp-bg:#1b1b1b;--pswp-icon-color:#fafafa;z-index:12000}.pswp__top-bar{padding-top:env(safe-area-inset-top,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);box-sizing:content-box}.pswp__button{min-width:44px;min-height:44px}.pswp__eg-caption{position:absolute;bottom:calc(20px + env(safe-area-inset-bottom,0px));left:24px;right:24px;text-align:center;color:#fafafa;font:14px/1.6 'Helvetica Neue','PingFang SC',Arial,sans-serif;pointer-events:none}.pswp__button--arrow{margin-top:env(safe-area-inset-top,0px)}

@media(max-width:700px){#page-gallery .eg-page{padding:24px 20px 70px}.eg-page>.eg-back:first-child{top:24px;left:16px}.eg-photo-brand{height:160px;margin-bottom:36px;font-size:32px}.eg-photo-brand img{width:110px;height:70px}.eg-photo-brand.eg-compact{top:22px;right:20px;font-size:18px}.eg-photo-brand.eg-compact img{width:60px;height:44px}.eg-section{margin-bottom:54px}.eg-covers{gap:22px 18px}.eg-cover,.eg-placeholder{width:calc(50% - 9px);min-width:0}.eg-cover>img{max-height:none}.eg-section-title{font-size:34px;margin-bottom:20px}.eg-detail .eg-album-head{padding-top:100px;margin-bottom:40px}.eg-main-cover{width:65%;max-width:360px;margin-bottom:28px}.eg-album-head .eg-owner{font-size:21px}.eg-description{font-size:16px;margin-top:28px;max-width:100%}.eg-divider{width:100%;margin:44px auto}.eg-chapter{width:100%;margin-bottom:64px}.eg-chapter>h2{font-size:26px;margin-bottom:30px}.eg-sequence{gap:28px 18px;justify-content:flex-start}.eg-sequence figure{width:calc(50% - 9px)}.eg-sequence figcaption{font-size:14px}.eg-demo{font-size:14px}}
@media(max-width:420px){.eg-sequence{display:block}.eg-sequence figure{width:100%;margin-bottom:32px}.eg-main-cover{width:78%}}
/* Keep the English exhibition placeholder inside its artboard rectangle. */
@media(min-width:701px){#gallery-home .g26-exhibition>span{font-size:4.4vw}#gallery-home[lang=zh-CN] .g26-exhibition>span{font-size:5vw}}

/* 2026-11-25: compact editorial hierarchy, aligned with Gallery reading sizes. */
#page-gallery .eg-section-title{font-size:clamp(26px,2.1vw,34px);font-weight:500;line-height:1.25;margin-bottom:20px}
#page-gallery .eg-photo-brand{font-size:clamp(28px,2.4vw,36px)}
#page-gallery .eg-photo-brand.eg-compact{font-size:clamp(18px,1.6vw,24px)}
#page-gallery .eg-cover h3{font-size:17px;line-height:1.45;font-weight:500}
#page-gallery .eg-cover .eg-owner{font-size:15px;line-height:1.5;color:#b0b0b0}
#page-gallery .eg-page .eg-title{font-size:clamp(28px,2.2vw,36px);line-height:1.25;letter-spacing:-.02em;margin:0 0 10px}
#page-gallery .eg-album-head .eg-owner{font-size:16px;line-height:1.6;color:#c2c2c2}
#page-gallery .eg-album-head{width:100%;margin-bottom:28px}
#page-gallery .eg-main-cover{width:min(25vw,320px);margin-bottom:24px}
#page-gallery .eg-description-block{width:min(100%,960px);margin:24px auto 0;text-align:left;scroll-margin-top:calc(var(--fb-bar-height) + 20px)}
#page-gallery .eg-description{width:100%;max-width:none;font-size:16px;line-height:1.75;font-weight:400;color:#cecece;margin:0;white-space:pre-line;overflow-wrap:anywhere}
#page-gallery .eg-description.eg-is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
#page-gallery .eg-description-toggle{display:block;border:0;background:none;color:#f5c6d6;font:inherit;font-size:14px;font-weight:500;min-height:44px;padding:8px 0;cursor:pointer;text-align:left}
#page-gallery .eg-description-toggle[hidden]{display:none}
#page-gallery .eg-description-toggle:hover{text-decoration:underline;text-underline-offset:4px}
#page-gallery .eg-description-toggle:focus-visible{outline:2px solid #f5c6d6;outline-offset:4px}
#page-gallery .eg-divider{margin:32px auto 28px}
#page-gallery .eg-chapter>h2{font-size:clamp(20px,1.7vw,26px);line-height:1.35;font-weight:600;margin-bottom:24px}
#page-gallery .eg-chapter>.eg-description-block{margin:0 auto 28px}
#page-gallery .eg-meta{font-size:14px;line-height:1.6}
@media(max-width:700px){
 #page-gallery .eg-section-title{font-size:26px}
 #page-gallery .eg-page .eg-title{font-size:26px}
 #page-gallery .eg-album-head .eg-owner{font-size:16px}
 #page-gallery .eg-main-cover{width:65%;max-width:280px}
 #page-gallery .eg-description-block{margin-top:20px}
 #page-gallery .eg-description{font-size:16px;line-height:1.75}
 #page-gallery .eg-chapter>h2{font-size:22px}
 #page-gallery .eg-photo-brand.eg-compact{font-size:18px}
}

/* Shared NOW / BOX easing, modest feedback without altering layout or hit areas. */
#page-gallery{--eg-ease:cubic-bezier(.22,.68,.24,1)}
#page-gallery .eg-back{font-size:16px;gap:10px;min-width:44px;min-height:44px;transition:color 260ms ease,opacity 260ms ease}
#page-gallery .eg-back .fb-arrow{width:24px;height:28px;transition:transform 380ms var(--eg-ease)}
#page-gallery .eg-cover{transform-origin:50% 65%;transition:transform 420ms var(--eg-ease)}
#page-gallery .eg-cover:hover h3,#page-gallery .eg-back:hover,#page-gallery .eg-description-toggle:hover{text-decoration:none}
#page-gallery .eg-cover:focus-visible{outline:2px solid #f5c6d6;outline-offset:8px;transform:translateY(-4px) scale(1.015)}
#page-gallery .eg-back:focus-visible,#page-gallery .eg-description-toggle:focus-visible{outline:2px solid #f5c6d6;outline-offset:5px}
#page-gallery .eg-photo{transition:transform 420ms var(--eg-ease);transform-origin:center bottom}
#page-gallery .eg-description-toggle{transition:color 260ms ease,transform 380ms var(--eg-ease)}
#gallery-home .g26-reserved>a{transition:color 260ms ease,transform 420ms var(--eg-ease)}
@media(hover:hover) and (pointer:fine){
 #page-gallery .eg-cover:hover{transform:translateY(-4px) scale(1.015)}
 #page-gallery .eg-photo:hover{transform:translateY(-2px) scale(1.01)}
 #page-gallery .eg-back:hover{color:#f5c6d6}
 #page-gallery .eg-back:hover .fb-arrow{transform:translateX(-3px)}
 #page-gallery .eg-description-toggle:hover{color:#ffe0ec;transform:translateY(-1px)}
 #gallery-home .g26-reserved>a:hover{transform:translate(2px,-2px)}
}
#page-gallery .eg-cover:active,#page-gallery .eg-photo:active{transform:scale(.985);transition-duration:120ms}
@media(prefers-reduced-motion:reduce){
 #page-gallery .eg-cover,#page-gallery .eg-photo,#page-gallery .eg-back,#page-gallery .eg-back .fb-arrow,#page-gallery .eg-description-toggle,#gallery-home .g26-reserved>a{transition:none!important;transform:none!important}
}

/* Desktop descriptions use a smaller, tighter secondary reading tier. */
@media(min-width:701px){#page-gallery .eg-detail .eg-description{font-size:14px;line-height:1.6}}

/* Desktop discovery balances a larger exhibition with quieter navigation. */
@media(min-width:900px){
 #gallery-home .g26-discover{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(190px,.7fr);align-items:center;gap:clamp(44px,5vw,80px);width:min(1000px,86%);box-sizing:border-box;padding-left:clamp(20px,4vw,60px);margin:64px auto 0}
 #gallery-home .g26-exhibition{width:100%;margin:0;aspect-ratio:16/9}
 #gallery-home .g26-exhibition>span{font-size:clamp(20px,2.1vw,32px)}
 #gallery-home[lang=zh-CN] .g26-exhibition>span{font-size:clamp(36px,4vw,60px);inset:18px}
 #gallery-home .g26-links{display:flex;flex-direction:column;align-items:flex-start;gap:22px;text-align:left}
 #gallery-home .g26-reserved{align-items:flex-start;gap:18px;margin:0}
 #gallery-home .g26-reserved>a{font-size:clamp(28px,2.6vw,38px);padding:0;gap:16px;min-height:44px}
 #gallery-home .g26-reserved .fb-arrow{font-size:24px;margin:0}
 #gallery-home .g26-creators-link{font-size:18px;gap:12px;margin:4px 0 0;padding:0;min-height:44px}
}
/* Gallery home: decorative bands do not expand the clickable text target. */
#gallery-home .g27-directory{width:min(1120px,86%);margin:clamp(60px,7vw,110px) auto 0;display:flex;flex-direction:column;gap:clamp(60px,7vw,110px)}
#gallery-home .g27-entry{display:flex;flex-direction:column;align-items:center}
#gallery-home .g27-entry-logo{display:block;width:110px;height:80px;object-fit:contain;transform:scale(1.5);margin-bottom:20px;pointer-events:none}
#gallery-home .g27-bar{position:relative;width:100%;display:flex;justify-content:center;align-items:center;min-height:58px;background:#ffd1dc;transition:transform 420ms var(--eg-ease)}
#gallery-home .g27-label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 3px;background:none;border:0;border-radius:0;color:#111;font:300 clamp(25px,2.2vw,34px)/1.2 'Helvetica Neue','PingFang SC',Arial,sans-serif;text-decoration:none;cursor:pointer}
#gallery-home .g27-label:focus-visible{outline:2px solid #111;outline-offset:4px}
#gallery-home .g27-entry>p{font-size:16px;line-height:1.6;margin:18px 0 0;color:#ddd}
#gallery-home .g27-arts .g27-bar{background:#6a6a6a}
#gallery-home .g27-arts .g27-entry-logo{opacity:.4}
@media(hover:hover) and (pointer:fine){#gallery-home .g27-entry:has(.g27-label:hover) .g27-bar{transform:translateY(-5px)}}
#gallery-home .g27-entry:has(.g27-label:focus-visible) .g27-bar{transform:translateY(-5px)}
#gallery-home .g27-entry:has(.g27-label:active) .g27-bar{transform:translateY(-2px)}
@media(max-width:700px){#gallery-home .g27-directory{width:88%;margin-top:58px;gap:62px}#gallery-home .g27-label{font-size:25px}#gallery-home .g27-bar{min-height:52px}#gallery-home .g27-entry-logo{width:90px;height:64px;margin-bottom:18px}#gallery-home .g27-entry>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){#gallery-home .g27-bar{transition:none!important;transform:none!important}}
