/* DESIGN.md 的网页实现：内容优先，控制层使用克制的半透明材质。 */
.view-prompt{margin-bottom:-5px}
:root{--ink:#1d1d1f;--paper:#f5f5f7;--line:rgba(29,29,31,.12);--accent:#161617;--glass:rgba(255,255,255,.88);--surface-shadow:0 8px 32px rgba(0,0,0,.09)}
body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC",Arial,sans-serif}
button{transition:background .2s,color .2s,box-shadow .2s}
button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.topbar{padding:24px 28px;gap:8px}
.topbar .utility-btn,.topbar .artist-btn,.tour-btn,.icon-btn{height:44px;min-width:44px;border:1px solid rgba(255,255,255,.8);background:var(--glass);-webkit-backdrop-filter:blur(24px) saturate(1.25);backdrop-filter:blur(24px) saturate(1.25);box-shadow:var(--surface-shadow);border-radius:999px;font-size:12px;letter-spacing:0}
.topbar .utility-btn,.topbar .artist-btn{padding:0 18px}
.utility-btn+.artist-btn,.artist-btn+.tour-btn{margin-left:0}
.tour-btn{width:auto;padding:0 18px;min-width:112px}
.tour-btn.active{background:var(--accent);color:white;border-color:transparent}
.icon-btn{width:44px;padding:0}
.topbar .icon-btn,.topbar .narration-control-shell{width:44px;min-width:44px;height:44px;flex:0 0 44px;margin:0;margin-left:0}.topbar .icon-btn{display:grid;place-items:center;padding:0}
.topbar button:hover{box-shadow:0 8px 28px rgba(0,0,0,.16)}
.intro{background:rgba(245,245,247,.55);padding:24px}
.intro h1{font-size:clamp(58px,8vw,112px);letter-spacing:.1em;line-height:1.2}
.intro .eyebrow{color:#626267;letter-spacing:.2em}
.subtitle{font-size:20px;letter-spacing:.18em;margin-top:16px}
.enter{border:0;border-radius:999px;background:var(--accent);color:#fff;min-height:52px;padding:0 28px;font-size:15px;letter-spacing:.06em;box-shadow:0 6px 20px rgba(22,22,23,.18)}
.enter:hover{background:#161617;color:#fff}
.tip{font-size:12px;color:#626267;opacity:1;letter-spacing:0}.intro-copyright{opacity:.7}
#tour-status{width:380px;padding:12px 16px;border:1px solid rgba(255,255,255,.8);border-radius:24px;background:var(--glass);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--surface-shadow);color:var(--ink);text-shadow:none;grid-template-columns:44px 1fr auto 44px;gap:4px 8px}
#tour-label,#tour-count{font-size:12px;letter-spacing:0;text-shadow:none}#tour-count{color:#626267;font-weight:400}
#tour-status>button:not(#tour-progress){width:44px;height:44px;border:0;background:rgba(0,0,0,.04);box-shadow:none}
#tour-progress{height:16px;padding:0}#tour-progress::before{top:7px;height:1.5px;border-radius:1.5px;background:rgba(0,0,0,.12)}#tour-progress span{top:7px;height:1.5px;border-radius:1.5px;background:var(--accent);box-shadow:none}
.view-prompt{border-radius:24px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);box-shadow:var(--surface-shadow);padding:16px 20px}
.view-prompt img{border-radius:10px;object-fit:contain;background:transparent}
.view-prompt button{min-height:44px;border:0;border-radius:999px;background:rgba(0,0,0,.05);font-size:12px;padding:0 16px}
.view-prompt #prompt-yes{background:var(--accent);color:#fff}.view-prompt span{color:#626267}.view-prompt em{opacity:1;color:#626267}
.catalog-panel,.artist-panel{background:var(--paper)}
.catalog-head h2{font-family:inherit;font-weight:600;letter-spacing:-.03em;font-size:clamp(34px,5vw,60px)}
.catalog-head>p:last-child{font-size:14px;color:#626267}
.catalog-grid{gap:18px}.catalog-item{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;gap:18px;box-shadow:0 2px 8px rgba(0,0,0,.025)}
.catalog-item:hover{background:#ededee;border-color:rgba(22,22,23,.25)}.catalog-item img{background:#f5f5f7;border-radius:8px}.catalog-item b{font-size:18px}.catalog-item small{font-size:12px;color:#626267}
.catalog-panel>.panel-close,.artist-panel>button{width:44px;height:44px;background:rgba(255,255,255,.94);box-shadow:var(--surface-shadow);border:1px solid var(--line)}
.artist-heading{background:#e8e8ed;color:var(--ink)}.artist-heading .artist-name-en{opacity:1;color:#626267}.artist-copy>p{color:#3a3a3c;font-size:16px;line-height:1.95}.artist-portrait img{border-radius:18px}.artist-portrait figcaption{font-size:12px;color:#626267;letter-spacing:0}
.dialog>div{border-radius:24px;box-shadow:var(--surface-shadow)}.dialog h2{font-family:inherit;font-size:28px;font-weight:600}.dialog li{font-size:14px}.dialog button{min-width:44px;min-height:44px}
.lightbox{background:rgba(18,18,20,.97)}.lightbox>button{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);font-size:28px;display:grid;place-items:center;padding:0}
.lightbox #large-art{background:#fff}
.lightbox figcaption{flex-wrap:wrap;row-gap:6px}.lightbox #large-meta{color:#b9b9be;opacity:1}.lightbox #large-desc{color:#c6c6cb;text-align:left}
.mobile-onboarding{border-radius:20px}.mobile-onboarding button{min-width:44px;min-height:44px;top:4px;right:4px}.mobile-pad button{min-height:44px}.mobile-pad{width:142px;height:94px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px}
@media(max-width:760px){.topbar{padding:12px;gap:6px;flex-wrap:wrap}.museum-logo{width:150px;margin-right:auto}.topbar .utility-btn,.topbar .artist-btn{padding:0;width:44px;font-size:0;margin-left:0}.utility-btn::after,.artist-btn::after{font-size:12px}.tour-btn{min-width:44px;width:44px;padding:0;font-size:0}.tour-btn span{display:none}.fullscreen-btn{display:none}.icon-btn{margin-left:0}.intro h1{font-size:58px}.subtitle{font-size:18px}#tour-status{width:min(340px,calc(100vw - 32px));bottom:124px}body.touring #tour-status{bottom:124px}.view-prompt{bottom:18px;grid-template-columns:48px 1fr auto;padding:14px;gap:10px}.view-prompt img{width:48px;height:48px}.view-prompt button{padding:0 12px}.catalog-grid{grid-template-columns:1fr}.catalog-item{padding:16px}.lightbox figure{width:90vw;max-height:86vh}.lightbox figcaption,.lightbox #large-desc{width:100%}.artist-copy{padding:48px 24px}.site-copyright{white-space:normal;max-width:50vw}}
/* 统一白色卡片材质；深色主操作不变。 */
:root{--glass:rgba(255,255,255,.5);--surface-shadow:0 4px 20px rgba(0,0,0,.04)}
.topbar .utility-btn,.topbar .artist-btn,.tour-btn:not(.active),.icon-btn,#tour-status,.view-prompt,.catalog-item,.art-card,.dialog>div,.catalog-panel>.panel-close,.artist-panel>button{background:var(--glass);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);border-color:rgba(255,255,255,.45);box-shadow:var(--surface-shadow)}
.topbar button:hover{box-shadow:var(--surface-shadow)}
#tour-status{background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);border-color:rgba(255,255,255,.25);box-shadow:none}
#tour-status>button:not(#tour-progress){background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);box-shadow:none}
.catalog-item:hover{background:rgba(255,255,255,.62);border-color:rgba(22,22,23,.2)}
.catalog-item img{width:90px;height:90px;object-fit:contain;background:transparent}
@media(max-width:760px){.catalog-item img{width:78px;height:78px;background:transparent}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}#loading span{animation:none}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){:root{--glass:#fff}.topbar button,#tour-status,.view-prompt{backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#76767a}.intro{background:#f5f5f7}.tip,.view-prompt span,.catalog-item small{color:#343438}}

/* 作品提示按钮与顶部菜单采用同一 44px 控件规格 */
.view-prompt button{height:44px;min-height:44px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.view-prompt button svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.view-prompt button span{color:inherit;font-size:12px;line-height:1;white-space:nowrap}

/* 导览 pill 与作品 card 共用同一高度规范 */
:root{--tour-dock-height:90px}
#tour-status,.view-prompt{box-sizing:border-box;height:var(--tour-dock-height);min-height:var(--tour-dock-height);max-height:var(--tour-dock-height)}
.view-prompt{margin-bottom:0}
@media(max-width:700px),(pointer:coarse){:root{--tour-dock-height:78px}}

/* 导览切换按钮：尺寸与位置固定，仅用填充、描边和图标色表达状态。 */
#tour-status>button#tour-prev,#tour-status>button#tour-next{transform:none;box-shadow:none;transition:background-color .16s ease,border-color .16s ease}
#tour-status>button#tour-prev .tour-arrow,#tour-status>button#tour-next .tour-arrow{transition:stroke .16s ease}
@media(hover:hover) and (pointer:fine){#tour-status>button#tour-prev:hover,#tour-status>button#tour-next:hover{transform:none;background:rgba(0,0,0,.065);border-color:rgba(0,0,0,.14);box-shadow:none}#tour-status>button#tour-prev:hover .tour-arrow,#tour-status>button#tour-next:hover .tour-arrow{stroke:#1d1d1f}#tour-status>button#tour-prev:hover .tour-arrow-prev{transform:rotate(180deg)}#tour-status>button#tour-next:hover .tour-arrow{transform:none}}
#tour-status>button#tour-prev:active,#tour-status>button#tour-next:active{transform:none;background:rgba(0,0,0,.12);border-color:rgba(0,0,0,.18);box-shadow:none;transition-duration:.06s}
#tour-status>button#tour-prev:focus-visible,#tour-status>button#tour-next:focus-visible{outline:3px solid rgba(0,113,227,.42);outline-offset:2px}
@media(prefers-reduced-motion:reduce){#tour-status>button#tour-prev,#tour-status>button#tour-next,#tour-status>button#tour-prev .tour-arrow,#tour-status>button#tour-next .tour-arrow{transition:none}}

/* 查看大图 / 稍后：悬停保持原位和原尺寸，仅改变表面状态。 */
.view-prompt button:hover{transform:none;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.view-prompt #prompt-yes:hover{background:#333331}
.view-prompt #prompt-no:hover{background:rgba(0,0,0,.09)}
.view-prompt strong{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-weight:300}
.view-prompt #prompt-meta{color:rgba(0,0,0,.30)}
#tour-label{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;font-weight:300}
#tour-status .tour-arrow{stroke-width:2.4}

/* 左下角更多展厅入口与展厅切换浮层。 */
.floorplan{left:80px}
.gallery-switcher{position:fixed;z-index:12;left:24px;bottom:24px;opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .3s ease,transform .3s cubic-bezier(.16,1,.3,1)}
body.exploring .gallery-switcher{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.more-galleries-btn{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(255,255,255,.58);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);color:#242422;box-shadow:0 4px 20px rgba(0,0,0,.05);cursor:pointer;transition:background-color .16s ease,border-color .16s ease}
.more-galleries-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(hover:hover) and (pointer:fine){.more-galleries-btn:hover{background:rgba(255,255,255,.88);border-color:rgba(0,0,0,.10)}}
.more-galleries-btn:focus-visible{outline:3px solid rgba(0,113,227,.42);outline-offset:2px}
.more-galleries-panel{position:absolute;left:0;bottom:54px;width:310px;box-sizing:border-box;padding:18px;border:1px solid rgba(255,255,255,.62);border-radius:22px;background:rgba(248,248,247,.88);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px);box-shadow:0 18px 55px rgba(0,0,0,.14);opacity:0;visibility:hidden;transform:translateY(8px) scale(.98);transform-origin:0 100%;transition:opacity .2s ease,visibility .2s,transform .28s cubic-bezier(.16,1,.3,1);pointer-events:none}
.gallery-switcher.open .more-galleries-panel{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.more-galleries-panel>header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}
.more-galleries-panel>header small{display:block;color:#777;font-size:8px;letter-spacing:.18em}.more-galleries-panel>header h2{margin:4px 0 0;font-size:20px;font-weight:500}
.more-galleries-panel>header>button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.05);cursor:pointer}.more-galleries-panel>header>button svg{width:15px;height:15px;fill:none;stroke:#333;stroke-width:1.7;stroke-linecap:round}
.gallery-switcher-list{display:grid;gap:5px}.gallery-switcher-list>button{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:12px;background:transparent;color:#222;text-align:left;cursor:pointer}.gallery-switcher-list>button>span{color:#999;font-size:9px;font-variant-numeric:tabular-nums}.gallery-switcher-list>button>div{display:flex;min-width:0;flex-direction:column;gap:3px}.gallery-switcher-list b{font-size:13px;font-weight:500}.gallery-switcher-list small{overflow:hidden;color:#777;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.gallery-switcher-list i{padding:3px 6px;border-radius:8px;background:rgba(0,0,0,.05);color:#777;font-size:8px;font-style:normal}.gallery-switcher-list>button.current{background:#20201e;color:#fff}.gallery-switcher-list>button.current>span,.gallery-switcher-list>button.current small{color:rgba(255,255,255,.58)}.gallery-switcher-list>button.current i{background:rgba(255,255,255,.14);color:#fff}@media(hover:hover) and (pointer:fine){.gallery-switcher-list>button:not(.current):hover{background:rgba(0,0,0,.055)}}
.more-galleries-panel>p{margin:13px 0 0;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);color:#888;font-size:9px;text-align:center}
@media(max-width:700px),(pointer:coarse){.floorplan{left:68px}.gallery-switcher{left:12px;bottom:122px}.more-galleries-panel{width:min(300px,calc(100vw - 24px));bottom:54px}}

/* 地图入口与更多展厅按钮采用同一圆形玻璃控件。 */
.floorplan header{width:44px;height:44px;padding:0;border-radius:50%;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.floorplan header button,.floorplan.collapsed header button{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(255,255,255,.58);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);color:#242422;box-shadow:0 4px 20px rgba(0,0,0,.05);transform:none;transition:background-color .16s ease,border-color .16s ease}
.floorplan header button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.floorplan.collapsed{width:44px}
.floorplan-stage{width:210px;box-sizing:border-box}
@media(hover:hover) and (pointer:fine){.floorplan header button:hover{background:rgba(255,255,255,.88);border-color:rgba(0,0,0,.10)}}
.floorplan header button:focus-visible{outline:3px solid rgba(0,113,227,.42);outline-offset:2px}
@media(max-width:700px),(pointer:coarse){.floorplan.collapsed{width:44px}.floorplan-stage{width:170px}}

/* 更多展览进入顶部主导航：更多展览 → 艺术家介绍 → 作品目录。 */
.topbar .gallery-switcher{position:relative;z-index:auto;left:auto;bottom:auto;margin-left:auto;opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:none}
.topbar .more-galleries-btn{display:flex;width:auto;height:44px;align-items:center;justify-content:center;padding:0 18px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:var(--glass);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);box-shadow:var(--surface-shadow);font-size:12px;white-space:nowrap}
.topbar .artist-btn,.topbar .utility-btn{margin-left:0}
.topbar .more-galleries-panel{right:0;left:auto;top:54px;bottom:auto;transform:translateY(-8px) scale(.98);transform-origin:100% 0}
.topbar .gallery-switcher.open .more-galleries-panel{transform:none}
@media(max-width:760px){.topbar .more-galleries-btn{width:44px;padding:0;font-size:0}.topbar .more-galleries-btn::after{content:'展';font-size:11px}.topbar .more-galleries-panel{position:fixed;right:12px;top:68px;width:min(300px,calc(100vw - 24px))}}

/* 顶部文字导航与自动导览整体靠右成组；地图恢复为左下角 MAP 文字入口。 */
.topbar .sound-btn{margin-left:0}
.floorplan{left:24px}
.floorplan header{width:64px;height:44px;border-radius:999px}
.floorplan header button,.floorplan.collapsed header button{display:flex;width:64px;height:44px;align-items:center;justify-content:center;border-radius:999px}
.floorplan header button span{font-size:10px;line-height:1;letter-spacing:.18em}
.floorplan.collapsed{width:64px}
@media(max-width:700px),(pointer:coarse){.floorplan{left:12px}.floorplan.collapsed{width:64px}}

/* 顶部顺序：艺术家介绍 → 作品目录 → 更多展览 → 自动导览。 */
.topbar .artist-btn{margin-left:auto}
.topbar .gallery-switcher{margin-left:0}
.topbar .tour-btn{margin-left:0}

/* 作品长说明保留编辑时的段落空行。 */
.lightbox #large-desc{white-space:pre-line;line-break:strict;word-break:normal;overflow-wrap:break-word}

/* 全局深色 UI：低密度、通透的烟熏玻璃层，不遮挡展厅内容。 */
:root{color-scheme:dark;--ink:#f4f5f7;--paper:#0d1219;--line:rgba(255,255,255,.12);--accent:#f4f6f8;--glass:rgba(11,16,23,.58);--glass-strong:rgba(10,15,22,.82);--muted:rgba(232,237,244,.56);--surface-shadow:0 18px 54px rgba(0,0,0,.24)}
button:focus-visible,a:focus-visible{outline-color:rgba(158,205,255,.74)}
.topbar .utility-btn,.topbar .artist-btn,.topbar .more-galleries-btn,.tour-btn:not(.active),.icon-btn,.floorplan header button,.floorplan.collapsed header button{color:rgba(246,248,251,.88);background:var(--glass);border-color:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(28px) saturate(1.2);backdrop-filter:blur(28px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 32px rgba(0,0,0,.16)}
.tour-btn.active{color:#111820;background:rgba(245,248,251,.92);border-color:rgba(255,255,255,.72)}
@media(hover:hover) and (pointer:fine){.topbar button:hover,.topbar .more-galleries-btn:hover,.floorplan header button:hover{color:#fff;background:rgba(31,40,53,.78);border-color:rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 38px rgba(0,0,0,.22)}}
#tour-status,.view-prompt{color:rgba(247,249,252,.9);background:rgba(11,16,23,.66);border-color:rgba(255,255,255,.11);-webkit-backdrop-filter:blur(34px) saturate(1.18);backdrop-filter:blur(34px) saturate(1.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 56px rgba(0,0,0,.2)}
#tour-status>button:not(#tour-progress){color:rgba(244,247,250,.78);background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.06)}
#tour-label{color:rgba(247,249,252,.86)}#tour-count,#prompt-meta{color:var(--muted)!important}
#tour-progress::before{background:rgba(255,255,255,.12)}#tour-progress span{background:rgba(244,247,250,.86)}#tour-status .tour-arrow{stroke:rgba(244,247,250,.68)}
@media(hover:hover) and (pointer:fine){#tour-status>button#tour-prev:hover,#tour-status>button#tour-next:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.14)}#tour-status>button#tour-prev:hover .tour-arrow,#tour-status>button#tour-next:hover .tour-arrow{stroke:#fff}}
.view-prompt strong{color:#f5f7fa}.view-prompt span,.view-prompt em{color:var(--muted)}.view-prompt #prompt-yes{color:#111820;background:rgba(247,249,252,.92)}.view-prompt #prompt-no{color:rgba(247,249,252,.82);background:rgba(255,255,255,.07)}
.view-prompt button:hover{box-shadow:none}.view-prompt #prompt-yes:hover{background:#fff}.view-prompt #prompt-no:hover{background:rgba(255,255,255,.12)}
.more-galleries-panel,.motion-panel,.layout-panel{color:rgba(246,248,251,.9);background:var(--glass-strong);border-color:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(38px) saturate(1.2);backdrop-filter:blur(38px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 26px 76px rgba(0,0,0,.34)}
.layout-panel small,.layout-panel .layout-help,.layout-panel .layout-column-head{color:var(--muted)}.layout-panel header button,.layout-panel .reset-layout{color:rgba(247,249,252,.78);background:rgba(255,255,255,.07)}.layout-panel .copy-layout{color:#111820;background:rgba(247,249,252,.92)}.layout-panel .copy-layout.copied{color:#fff;background:#377a4a}.layout-panel .layout-row{border-color:rgba(255,255,255,.08)}.layout-panel .layout-row input{color:#edf1f6;background:#151c26;border-color:rgba(255,255,255,.12)}
.more-galleries-panel>header small,.more-galleries-panel>p,.gallery-switcher-list small,.gallery-switcher-list>button>span,.motion-panel small,.motion-panel output,.motion-panel .motion-advanced-title,.motion-panel label.motion-advanced,.motion-panel label.motion-advanced output{color:var(--muted)}
.more-galleries-panel>header>button,.motion-panel header button{color:rgba(247,249,252,.78);background:rgba(255,255,255,.07)}.more-galleries-panel>header>button svg,.motion-panel header button svg{stroke:currentColor}
.gallery-switcher-list>button{color:rgba(246,248,251,.82)}.gallery-switcher-list>button.current{color:#fff;background:rgba(255,255,255,.12)}.gallery-switcher-list i{color:var(--muted);background:rgba(255,255,255,.06)}.gallery-switcher-list>button.current i{background:rgba(255,255,255,.11)}
@media(hover:hover) and (pointer:fine){.gallery-switcher-list>button:not(.current):hover{background:rgba(255,255,255,.07)}}
.more-galleries-panel>p,.motion-panel label,.style-presets{border-color:rgba(255,255,255,.08)}
.motion-panel input{accent-color:#b9d8f4}.motion-panel select,.style-color input[type=color]{color:#edf1f6;background:#151c26;border-color:rgba(255,255,255,.12)}
.motion-panel .style-hex{color:rgba(238,242,247,.62)}.motion-panel .style-hex:focus{background:rgba(255,255,255,.08);box-shadow:0 0 0 1px rgba(255,255,255,.14)}.motion-panel .background-image-controls{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08)}
.motion-panel .style-clear,.motion-panel-actions #reset-style{color:rgba(244,247,250,.76);background:rgba(255,255,255,.07)}.motion-panel-actions #copy-style{color:#111820;background:rgba(247,249,252,.92)}.motion-panel .save-entry-camera{color:#111820;background:rgba(247,249,252,.92)}.motion-panel .save-entry-camera.saved{color:#fff;background:#377a4a}
.style-presets{color:var(--muted)}.style-presets button{color:rgba(244,247,250,.65);background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)}.style-presets button:hover{background:rgba(255,255,255,.12)}.style-presets button.active{color:#101720;background:#f2f5f8;border-color:#f2f5f8}
.floorplan{color:rgba(246,248,251,.82)}.floorplan-stage{background:rgba(11,16,23,.54);border-color:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);box-shadow:0 16px 48px rgba(0,0,0,.2)}
.floorplan-legend{color:var(--muted)}.map-walls{fill:#697482}.map-art{fill:#e8edf3}.wall-key{background:#697482}.art-key{background:#e8edf3}.floorplan-legend .viewer-key{border-top-color:#e8edf3}
.catalog-panel,.artist-panel{color:#eef2f6;background:#0b1017}.catalog-panel::before,.artist-panel::before{content:'';position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(71,95,125,.14),transparent 42%)}
.catalog-head>p:last-child,.catalog-item small,.artist-heading .artist-name-en,.artist-kicker,.artist-role,.artist-meta dt{color:var(--muted)}.catalog-item{color:#eef2f6;background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);box-shadow:none}.catalog-item:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
.catalog-panel>.panel-close,.artist-panel>button{color:#f3f6f9;background:rgba(23,30,40,.76);border-color:rgba(255,255,255,.11);box-shadow:0 12px 38px rgba(0,0,0,.22)}
.artist-heading{color:#eef2f6;background:#121923}.artist-copy>p,.artist-quote,.artist-meta dd{color:rgba(238,242,247,.74)}.artist-role,.artist-meta,.artist-meta div{border-color:rgba(255,255,255,.09)}
.dialog{background:rgba(0,0,0,.56)}.dialog>div,.mobile-onboarding{color:#eef2f6;background:rgba(12,17,24,.92);border:1px solid rgba(255,255,255,.1);box-shadow:0 28px 80px rgba(0,0,0,.4);-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px)}
.dialog button,.mobile-onboarding button,.mobile-pad button{color:#eef2f6;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}.site-copyright{color:rgba(240,244,249,.46)}
.intro{color:#f4f6f9;background:rgba(5,9,14,.48);-webkit-backdrop-filter:blur(4px) saturate(.8);backdrop-filter:blur(4px) saturate(.8)}.intro .eyebrow,.intro .tip,.intro .intro-copyright{color:rgba(239,243,248,.58)}
.intro .enter{color:#f6f8fa;background:rgba(12,18,25,.66);border-color:rgba(255,255,255,.16);box-shadow:0 16px 46px rgba(0,0,0,.25);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.intro .enter svg{stroke:currentColor}.intro .enter:hover{color:#fff;background:rgba(29,38,50,.84);box-shadow:0 20px 52px rgba(0,0,0,.3)}
#loading{color:#edf1f5;background:#0b1017}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){:root{--glass:#111820;--glass-strong:#0c121a}.topbar button,#tour-status,.view-prompt{border-color:#697482}.intro{background:#0b1017}}

/* UI 主题开关：默认浅色；body.ui-dark 保留上方的深色玻璃体系。 */
html:not(.ui-dark){color-scheme:light}
body:not(.ui-dark){--ink:#1d1d1f;--paper:#f5f5f7;--line:rgba(29,29,31,.12);--accent:#161617;--glass:rgba(255,255,255,.58);--glass-strong:rgba(248,248,247,.9);--muted:#626267;--surface-shadow:0 4px 20px rgba(0,0,0,.05)}
body:not(.ui-dark) button:focus-visible,body:not(.ui-dark) a:focus-visible{outline-color:rgba(0,113,227,.42)}
body:not(.ui-dark) .topbar .utility-btn,body:not(.ui-dark) .topbar .artist-btn,body:not(.ui-dark) .topbar .more-galleries-btn,body:not(.ui-dark) .tour-btn:not(.active),body:not(.ui-dark) .icon-btn{color:#242422;background:var(--glass);border-color:rgba(255,255,255,.48);box-shadow:var(--surface-shadow)}
body:not(.ui-dark) .tour-btn.active{color:#fff;background:#20201e;border-color:transparent}
@media(hover:hover) and (pointer:fine){body:not(.ui-dark) .topbar button:hover,body:not(.ui-dark) .topbar .more-galleries-btn:hover{color:#181816;background:rgba(255,255,255,.82);border-color:rgba(0,0,0,.1);box-shadow:0 8px 28px rgba(0,0,0,.1)}}
body:not(.ui-dark) #tour-status,body:not(.ui-dark) .view-prompt{color:#1d1d1f;background:rgba(255,255,255,.58);border-color:rgba(255,255,255,.45);box-shadow:0 4px 20px rgba(0,0,0,.05)}
body:not(.ui-dark) #tour-status>button:not(#tour-progress){color:#242422;background:rgba(255,255,255,.5);border-color:transparent}
body:not(.ui-dark) #tour-label{color:#1d1d1f}body:not(.ui-dark) #tour-count,body:not(.ui-dark) #prompt-meta{color:#626267!important}
body:not(.ui-dark) #tour-progress::before{background:rgba(0,0,0,.12)}body:not(.ui-dark) #tour-progress span{background:#20201e}body:not(.ui-dark) #tour-status .tour-arrow{stroke:#777}
body:not(.ui-dark) .view-prompt strong{color:#1d1d1f}body:not(.ui-dark) .view-prompt span,body:not(.ui-dark) .view-prompt em{color:#626267}
body:not(.ui-dark) .view-prompt #prompt-yes{color:#fff;background:#20201e}body:not(.ui-dark) .view-prompt #prompt-no{color:#242422;background:rgba(0,0,0,.055)}
body:not(.ui-dark) .more-galleries-panel,body:not(.ui-dark) .motion-panel{color:#20201e;background:rgba(248,248,247,.92);border-color:rgba(255,255,255,.62);box-shadow:0 18px 60px rgba(0,0,0,.16)}
body:not(.ui-dark) .layout-panel{color:#20201e;background:rgba(248,248,247,.92);border-color:rgba(255,255,255,.62);box-shadow:0 18px 60px rgba(0,0,0,.16)}body:not(.ui-dark) .layout-panel small,body:not(.ui-dark) .layout-panel .layout-help,body:not(.ui-dark) .layout-panel .layout-column-head{color:#777}body:not(.ui-dark) .layout-panel header button,body:not(.ui-dark) .layout-panel .reset-layout{color:#333;background:rgba(0,0,0,.05)}body:not(.ui-dark) .layout-panel .copy-layout{color:#fff;background:#20201e}body:not(.ui-dark) .layout-panel .copy-layout.copied{background:#377a4a}body:not(.ui-dark) .layout-panel .layout-row{border-color:rgba(30,30,28,.09)}body:not(.ui-dark) .layout-panel .layout-row input{color:#20201e;background:#fff;border-color:rgba(30,30,28,.14)}
body:not(.ui-dark) .more-galleries-panel>header small,body:not(.ui-dark) .more-galleries-panel>p,body:not(.ui-dark) .gallery-switcher-list small,body:not(.ui-dark) .gallery-switcher-list>button>span,body:not(.ui-dark) .motion-panel small,body:not(.ui-dark) .motion-panel output,body:not(.ui-dark) .motion-panel .motion-advanced-title,body:not(.ui-dark) .motion-panel label.motion-advanced,body:not(.ui-dark) .motion-panel label.motion-advanced output{color:#777}
body:not(.ui-dark) .more-galleries-panel>header>button,body:not(.ui-dark) .motion-panel header button{color:#333;background:rgba(0,0,0,.05)}
body:not(.ui-dark) .gallery-switcher-list>button{color:#222}body:not(.ui-dark) .gallery-switcher-list>button.current{color:#fff;background:#20201e}body:not(.ui-dark) .gallery-switcher-list i{color:#777;background:rgba(0,0,0,.05)}
body:not(.ui-dark) .more-galleries-panel>p,body:not(.ui-dark) .motion-panel label,body:not(.ui-dark) .style-presets{border-color:rgba(30,30,28,.09)}
body:not(.ui-dark) .motion-panel input{accent-color:#20201e}body:not(.ui-dark) .motion-panel select,body:not(.ui-dark) .style-color input[type=color]{color:#20201e;background:#fff;border-color:rgba(30,30,28,.14)}
body:not(.ui-dark) .motion-panel .style-hex{color:#666}body:not(.ui-dark) .motion-panel .style-hex:focus{background:#fff;box-shadow:0 0 0 1px rgba(30,30,28,.16)}body:not(.ui-dark) .motion-panel .background-image-controls{background:rgba(255,255,255,.48);border-color:rgba(30,30,28,.1)}
body:not(.ui-dark) .motion-panel .style-clear,body:not(.ui-dark) .motion-panel-actions #reset-style{color:#444;background:#e9e9e7}body:not(.ui-dark) .motion-panel-actions #copy-style,body:not(.ui-dark) .motion-panel .save-entry-camera{color:#fff;background:#20201e}body:not(.ui-dark) .motion-panel .save-entry-camera.saved{background:#377a4a}
body:not(.ui-dark) .style-presets{color:#666}body:not(.ui-dark) .style-presets button{color:#555;background:#ededeb;border-color:rgba(30,30,28,.12)}body:not(.ui-dark) .style-presets button:hover{background:#ddd}body:not(.ui-dark) .style-presets button.active{color:#fff;background:#222;border-color:#222}
body:not(.ui-dark) .catalog-panel,body:not(.ui-dark) .artist-panel{color:#1d1d1f;background:#f5f5f7}body:not(.ui-dark) .catalog-panel::before,body:not(.ui-dark) .artist-panel::before{display:none}
body:not(.ui-dark) .catalog-head>p:last-child,body:not(.ui-dark) .catalog-item small,body:not(.ui-dark) .artist-heading .artist-name-en,body:not(.ui-dark) .artist-kicker,body:not(.ui-dark) .artist-role,body:not(.ui-dark) .artist-meta dt{color:#626267}
body:not(.ui-dark) .catalog-item{color:#1d1d1f;background:rgba(255,255,255,.72);border-color:rgba(29,29,31,.12)}body:not(.ui-dark) .catalog-item:hover{background:#ededee;border-color:rgba(22,22,23,.25)}
body:not(.ui-dark) .catalog-panel>.panel-close,body:not(.ui-dark) .artist-panel>button{color:#1d1d1f;background:rgba(255,255,255,.94);border-color:rgba(29,29,31,.12);box-shadow:0 8px 32px rgba(0,0,0,.09)}
body:not(.ui-dark) .artist-heading{color:#1d1d1f;background:#e8e8ed}body:not(.ui-dark) .artist-copy>p,body:not(.ui-dark) .artist-quote,body:not(.ui-dark) .artist-meta dd{color:#3a3a3c}body:not(.ui-dark) .artist-role,body:not(.ui-dark) .artist-meta,body:not(.ui-dark) .artist-meta div{border-color:rgba(29,29,31,.12)}
body:not(.ui-dark) .dialog{background:rgba(20,20,18,.44)}body:not(.ui-dark) .dialog>div,body:not(.ui-dark) .mobile-onboarding{color:#1d1d1f;background:#f8f8f7;border-color:rgba(255,255,255,.6);box-shadow:0 18px 60px rgba(0,0,0,.16)}
body:not(.ui-dark) .dialog button,body:not(.ui-dark) .mobile-onboarding button,body:not(.ui-dark) .mobile-pad button{color:#20201e;background:#e9e9e7;border-color:rgba(30,30,28,.1)}body:not(.ui-dark) .site-copyright{color:rgba(25,25,24,.48)}
body:not(.ui-dark) .intro{color:#181816;background:rgba(245,245,247,.55)}body:not(.ui-dark) .intro .eyebrow,body:not(.ui-dark) .intro .tip,body:not(.ui-dark) .intro .intro-copyright{color:#626267}
body:not(.ui-dark) .intro .enter{color:#111;background:rgba(255,255,255,.72);border-color:rgba(30,30,28,.22);box-shadow:0 6px 12px rgba(0,0,0,.09)}body:not(.ui-dark) .intro .enter:hover{color:#111;background:#fff;box-shadow:0 8px 16px rgba(0,0,0,.12)}
body:not(.ui-dark) #loading{color:#181816;background:#e9e8e3}
.ui-theme-toggle{margin:-4px 0 8px;padding:7px 0 10px!important;border-top:0!important;border-bottom:1px solid currentColor!important;border-bottom-color:rgba(127,127,127,.18)!important}

/* Pill → Card 全流程共用同一主题表面，避免交接帧闪回另一主题。 */
body.ui-dark{--tour-morph-surface:rgba(11,16,23,.72);--tour-morph-border:rgba(255,255,255,.11);--tour-morph-ink:rgba(247,249,252,.9);--tour-morph-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 56px rgba(0,0,0,.2)}

/* 深色模式弹窗关闭按钮：所有页面统一使用浅色图标。 */
body.ui-dark #close-catalog,
body.ui-dark #close-artist,
body.ui-dark #close-lightbox,
body.ui-dark #close-card,
body.ui-dark #close-help,
body.ui-dark #close-more-galleries,
body.ui-dark #close-motion,
body.ui-dark #close-layout{
  color:#f3f6f9!important;
}
body.ui-dark #close-catalog::before,
body.ui-dark #close-catalog::after,
body.ui-dark #close-artist::before,
body.ui-dark #close-artist::after,
body.ui-dark #close-lightbox::before,
body.ui-dark #close-lightbox::after{
  background:#f3f6f9!important;
}
body.ui-dark #close-more-galleries svg,
body.ui-dark #close-motion svg,
body.ui-dark #close-layout svg{
  stroke:#f3f6f9!important;
}

/* 视觉配置的模块层级：标题比原 7px 放大约 40%。 */
.motion-panel .motion-advanced-title{
  margin:18px 0 6px;
  padding-top:5px;
  color:rgba(244,247,250,.82);
  font-size:15px;
  font-weight:650;
  line-height:1.35;
  letter-spacing:.12em;
}
body:not(.ui-dark) .motion-panel .motion-advanced-title{color:#404044}
.debug-tools-panel{color:rgba(246,248,251,.9);background:var(--glass-strong);border-color:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(38px) saturate(1.2);backdrop-filter:blur(38px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 26px 76px rgba(0,0,0,.34)}.debug-tools-panel small,.debug-tools-panel .debug-tools-empty p{color:var(--muted)}.debug-tools-panel header button{color:rgba(247,249,252,.78);background:rgba(255,255,255,.07)}.debug-tools-panel header button svg{stroke:currentColor}body:not(.ui-dark) .debug-tools-panel{color:#20201e;background:rgba(248,248,247,.92);border-color:rgba(255,255,255,.62);box-shadow:0 18px 60px rgba(0,0,0,.16)}body:not(.ui-dark) .debug-tools-panel small,body:not(.ui-dark) .debug-tools-panel .debug-tools-empty p{color:#777}body:not(.ui-dark) .debug-tools-panel header button{color:#333;background:rgba(0,0,0,.05)}
.ui-dark .artwork-orb-tool-note,.ui-dark .artwork-orb-group-title,.ui-dark .artwork-orb-tool label>output{color:var(--muted)}.ui-dark .artwork-orb-tool label{border-color:rgba(255,255,255,.08)}.ui-dark .artwork-orb-tool-heading>span{color:var(--muted);border-color:rgba(255,255,255,.12)}.ui-dark .artwork-orb-tool label>select,.ui-dark .artwork-orb-color input[type=color]{color:#edf1f6;background:#151c26;border-color:rgba(255,255,255,.12)}.ui-dark .artwork-orb-tool input{accent-color:#b9d8f4}.ui-dark .artwork-orb-reset{color:#edf1f6;background:rgba(255,255,255,.08)}
body:not(.ui-dark){--tour-morph-surface:rgba(255,255,255,.64);--tour-morph-border:rgba(255,255,255,.48);--tour-morph-ink:#1d1d1f;--tour-morph-shadow:0 4px 20px rgba(0,0,0,.05)}
body #tour-status,body #tour-status.show,body #tour-status.morph-out,body #tour-status.morph-return,
body .view-prompt,body .view-prompt.morphing,body .view-prompt.morphing.open,body .view-prompt.morphing:not(.open){
  color:var(--tour-morph-ink)!important;background-color:var(--tour-morph-surface)!important;
  border-color:var(--tour-morph-border)!important;box-shadow:var(--tour-morph-shadow)!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.18);backdrop-filter:blur(34px) saturate(1.18)
}
body.ui-dark .view-prompt.morphing strong,body.ui-dark .view-prompt.morphing.open strong{color:#f5f7fa}
body.ui-dark .view-prompt.morphing span,body.ui-dark .view-prompt.morphing em,
body.ui-dark .view-prompt.morphing.open span,body.ui-dark .view-prompt.morphing.open em{color:rgba(232,237,244,.56)}
body.ui-dark .view-prompt.morphing #prompt-yes,body.ui-dark .view-prompt.morphing.open #prompt-yes{color:#111820;background:rgba(247,249,252,.92);border-color:rgba(255,255,255,.24)}
body.ui-dark .view-prompt.morphing #prompt-no,body.ui-dark .view-prompt.morphing.open #prompt-no{color:rgba(247,249,252,.82);background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.06)}
body.ui-dark #tour-status.morph-out>button:not(#tour-progress),body.ui-dark #tour-status.morph-return>button:not(#tour-progress){color:rgba(244,247,250,.78);background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.06)}

/* 查看大图按钮：所有静止与过渡状态使用一致的主题对比度。 */
body:not(.ui-dark) .view-prompt #prompt-yes,body:not(.ui-dark) .view-prompt.morphing #prompt-yes,body:not(.ui-dark) .view-prompt.morphing.open #prompt-yes{color:#fff!important;background:#20201e!important;border-color:#20201e!important}
body:not(.ui-dark) .view-prompt #prompt-yes:hover{color:#fff!important;background:#333331!important}
body.ui-dark .view-prompt #prompt-yes,body.ui-dark .view-prompt.morphing #prompt-yes,body.ui-dark .view-prompt.morphing.open #prompt-yes{color:#111820!important;background:#f5f7fa!important;border-color:rgba(255,255,255,.24)!important}
body.ui-dark .view-prompt #prompt-yes:hover{color:#111820!important;background:#fff!important}
.view-prompt #prompt-yes span{color:inherit!important}.view-prompt #prompt-yes svg{color:inherit!important;stroke:currentColor!important}
body.ui-dark .intro{background:rgba(5,9,14,.28);-webkit-backdrop-filter:blur(8px) saturate(.8);backdrop-filter:blur(8px) saturate(.8)}

/* 作品长图文详情：首图维持原适屏舞台，图文直接排布于毛玻璃阅读背景上。 */
.lightbox .lightbox-document{width:100%;min-height:100%}
.lightbox .lightbox-art-stage{position:relative;width:100%;height:100vh;height:100dvh;overflow:hidden;touch-action:none;cursor:grab}
.lightbox .lightbox-viewport.dragging .lightbox-art-stage{cursor:grabbing}
.lightbox.story-mode{background:rgba(var(--artwork-detail-background-rgb,224,229,232),var(--artwork-detail-background-opacity,.7));-webkit-backdrop-filter:var(--artwork-detail-background-filter,blur(34px) saturate(.78));backdrop-filter:var(--artwork-detail-background-filter,blur(34px) saturate(.78))}
.lightbox.story-mode .lightbox-viewport{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;cursor:default;scrollbar-width:thin;scrollbar-color:rgba(43,49,51,.28) transparent}
.lightbox.story-mode .lightbox-art-stage{touch-action:pan-y;cursor:default}
.lightbox.story-mode .lightbox-detail-hint{position:absolute;z-index:7;left:50%;bottom:84px;display:flex;align-items:center;gap:10px;min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.62);border-radius:var(--motion-pill-radius);background:rgba(248,248,246,.76);color:rgba(36,39,39,.72);box-shadow:0 10px 32px rgba(62,70,73,.12);-webkit-backdrop-filter:blur(18px) saturate(.9);backdrop-filter:blur(18px) saturate(.9);font-size:12px;letter-spacing:.03em;white-space:nowrap;opacity:1;visibility:visible;pointer-events:none;transform:translate(-50%,0);transition:opacity .22s ease,transform .22s ease,visibility .22s}
.lightbox.story-mode .lightbox-detail-hint .detail-hint-active,.lightbox.story-mode #lightbox-detail-exit{display:none}
.lightbox.story-mode.detail-mode .lightbox-viewport{overflow-y:hidden;touch-action:none}
.lightbox.story-mode.detail-mode .lightbox-art-stage{touch-action:none;cursor:grab}
.lightbox.story-mode.detail-mode .lightbox-detail-hint{position:fixed;opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.lightbox.story-mode.detail-mode .lightbox-detail-hint .detail-hint-default{display:none}
.lightbox.story-mode.detail-mode .lightbox-detail-hint .detail-hint-active{display:inline}
.lightbox.story-mode.detail-mode #lightbox-detail-exit{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 13px;border:0;border-radius:15px;background:#242727;color:#fff;font:inherit;letter-spacing:.03em;cursor:pointer}
.lightbox.story-mode.detail-mode #lightbox-detail-exit:hover{background:#3a3d3d}
.lightbox.story-mode .lightbox-head{color:#242727;background:rgba(236,239,240,.72);border-bottom:1px solid rgba(255,255,255,.46);-webkit-backdrop-filter:blur(22px) saturate(.82);backdrop-filter:blur(22px) saturate(.82)}
.lightbox.story-mode .lightbox-head span{color:rgba(36,39,39,.68)}
.lightbox.story-mode .lightbox-head #close-lightbox{color:#242727!important;background:rgba(248,248,246,.56);border:1px solid rgba(255,255,255,.56);border-radius:50%}
body.ui-dark .lightbox.story-mode #close-lightbox::before,body.ui-dark .lightbox.story-mode #close-lightbox::after,.lightbox.story-mode #close-lightbox::before,.lightbox.story-mode #close-lightbox::after{background:#242727!important}
.lightbox.story-mode .artwork-story{box-sizing:border-box;display:block;width:calc(100% - 128px);max-width:1200px;margin:0 auto 136px;padding:clamp(52px,7vw,96px) clamp(40px,7vw,96px);border:1px solid transparent;border-radius:0;background:transparent;color:#242727;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.lightbox.story-mode .artwork-story[hidden]{display:none}
.lightbox.story-mode .artwork-story-copy{max-width:760px;margin:0 auto;padding:clamp(20px,3vw,42px) 0}
.lightbox.story-mode .artwork-story-copy p{margin:0;color:#242727;font-family:Georgia,"Songti SC","STSong",serif;font-size:clamp(16px,1.18vw,19px);font-weight:400;line-height:2.08;letter-spacing:.025em;text-align:left;text-wrap:pretty}
.lightbox.story-mode figure.artwork-story-image{display:block;width:100%;max-height:none;margin:clamp(54px,7vw,92px) 0;padding:0;overflow:visible}
.lightbox.story-mode .artwork-story-image img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain;background:#eef0ef;box-shadow:none}
.lightbox.story-mode .lightbox-controls{color:#242727;background:rgba(248,248,246,.76);border-color:rgba(255,255,255,.64);box-shadow:0 12px 38px rgba(62,70,73,.14);-webkit-backdrop-filter:blur(18px) saturate(.9);backdrop-filter:blur(18px) saturate(.9)}
.lightbox.story-mode .lightbox-controls button{color:#242727}
.lightbox.story-mode .lightbox-controls button:hover{background:rgba(36,39,39,.08)}
.lightbox.story-mode .lightbox-controls output{color:rgba(36,39,39,.62)}
.lightbox.story-mode .lightbox-head{color:var(--artwork-detail-text-color,#242727);background:rgba(var(--artwork-detail-background-rgb,224,229,232),.88);border-color:rgba(127,127,127,.3)}
.lightbox.story-mode .lightbox-head span{color:inherit;opacity:.72}
.lightbox.story-mode .lightbox-head #close-lightbox{color:var(--artwork-detail-text-color,#242727)!important;background:var(--artwork-detail-control-surface,rgba(248,248,246,.76));border-color:rgba(127,127,127,.35)}
body.ui-dark .lightbox.story-mode #close-lightbox::before,body.ui-dark .lightbox.story-mode #close-lightbox::after,.lightbox.story-mode #close-lightbox::before,.lightbox.story-mode #close-lightbox::after{background:var(--artwork-detail-text-color,#242727)!important}
.lightbox.story-mode .artwork-story-copy p{color:var(--artwork-detail-text-color,#242727)}
.lightbox.story-mode .lightbox-controls,.lightbox.story-mode .lightbox-detail-hint{color:var(--artwork-detail-text-color,#242727);background:var(--artwork-detail-control-surface,rgba(248,248,246,.76));border-color:rgba(127,127,127,.35)}
.lightbox.story-mode .lightbox-controls button,.lightbox.story-mode .lightbox-controls output{color:var(--artwork-detail-text-color,#242727)}
.lightbox .lightbox-head #detail-background-settings{display:inline-flex;align-items:center;gap:7px;height:36px;margin-left:auto;margin-right:16px;padding:0 5px;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer;pointer-events:auto}
.lightbox .lightbox-head #detail-background-settings svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.artwork-detail-background-tool{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid rgba(127,127,127,.18)}
.debug-setting-presets{margin:4px 0 22px;padding-bottom:18px;border-bottom:1px solid rgba(127,127,127,.18);font-size:10px}
.debug-preset-row,.debug-preset-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.debug-preset-options{display:flex;gap:6px}
.debug-preset-options button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px dashed rgba(127,127,127,.35);border-radius:50%;background:rgba(127,127,127,.08);color:inherit;font:inherit;cursor:pointer}
.debug-preset-options button.saved{border-style:solid}
.debug-preset-options button.active{background:#222;color:#fff;border-color:#222}
.debug-preset-options button.modified{outline:1px solid currentColor;outline-offset:2px}
.debug-preset-save-row{margin-top:14px}
.debug-preset-save-row label{display:flex;align-items:center;gap:8px}
.debug-preset-save-row select,.debug-preset-save-row>button{height:30px;padding:0 10px;border:1px solid rgba(127,127,127,.22);border-radius:6px;background:rgba(127,127,127,.06);color:inherit;font:inherit}
.debug-preset-save-row>button{cursor:pointer;background:#222;color:#fff;border-color:#222}
.debug-setting-presets [data-debug-preset-status]{min-height:28px;margin:12px 0 0;color:#777;font-size:10px;line-height:1.6}
.debug-setting-presets :focus-visible{outline:2px solid currentColor;outline-offset:3px}
body.ui-dark .debug-preset-options button.active,body.ui-dark .debug-preset-save-row>button{background:#f4f5f6;border-color:#f4f5f6;color:#20201e}
body.ui-dark .debug-preset-save-row select option{background:#19212b;color:#f4f5f6}
@media(max-width:760px){.lightbox.story-mode .artwork-story{width:calc(100% - 28px);margin-bottom:104px;padding:42px 22px}.lightbox.story-mode .artwork-story-copy{padding:14px 0}.lightbox.story-mode .artwork-story-copy p{font-size:16px;line-height:1.94;text-align:left}.lightbox.story-mode figure.artwork-story-image{margin:48px 0}.lightbox.story-mode .lightbox-head{padding-right:12px}}

.catalog-wind-letters{display:flex;align-items:center;gap:18px;width:100%;margin-top:24px;padding:20px 24px;border:1px solid rgba(120,130,135,.18);border-radius:16px;background:rgba(255,255,255,.35);color:inherit;text-align:left;cursor:pointer}
.catalog-wind-letters:hover{background:rgba(255,255,255,.65)}
.catalog-wind-letters:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.catalog-wind-letters svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.catalog-wind-letters small,.catalog-wind-letters b{display:block}
.catalog-wind-letters small{margin-bottom:5px;font-size:11px;letter-spacing:.12em;opacity:.65}
.catalog-wind-letters b{font-size:15px;font-weight:500}
.catalog-wind-letters>span:last-child{margin-left:auto;font-size:22px}
body.ui-dark .catalog-wind-letters{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14)}
body.ui-dark .catalog-wind-letters:hover{background:rgba(255,255,255,.09)}

/* Keep the opening action quiet until the visitor approaches it. */
@property --entry-shine-angle{syntax:'<angle>';inherits:false;initial-value:-60deg}
body.ui-dark .intro .enter,body:not(.ui-dark) .intro .enter{position:relative;isolation:isolate;overflow:visible;border-radius:16px;border-color:rgba(255,255,255,.5);background:rgba(231,234,236,.78);color:#26313a;box-shadow:0 6px 14px rgba(20,28,34,.09);transition:background-color .32s ease,color .32s ease,border-color .32s ease,box-shadow .32s ease,transform .25s ease}
body.ui-dark .intro .enter::before,body:not(.ui-dark) .intro .enter::before{content:'';position:absolute;inset:-1px;padding:1.5px;border-radius:inherit;background:conic-gradient(from var(--entry-shine-angle),rgba(255,255,255,.18) 0deg,rgba(255,255,255,.18) 250deg,rgba(255,255,255,.55) 290deg,#fff 315deg,rgba(255,255,255,.55) 340deg,rgba(255,255,255,.18) 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;pointer-events:none;transition:opacity .28s ease}
body.ui-dark .intro .enter:hover,body.ui-dark .intro .enter:focus-visible,body:not(.ui-dark) .intro .enter:hover,body:not(.ui-dark) .intro .enter:focus-visible{border-color:rgba(255,255,255,.18);background:rgba(12,18,25,.88);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 20px rgba(255,255,255,.24),0 14px 34px rgba(12,18,25,.22);transform:translateY(-1px)}
body.ui-dark .intro .enter:hover::before,body.ui-dark .intro .enter:focus-visible::before,body:not(.ui-dark) .intro .enter:hover::before,body:not(.ui-dark) .intro .enter:focus-visible::before{opacity:1;animation:entryBorderShine 1.15s ease-out 1 both}
@keyframes entryBorderShine{from{--entry-shine-angle:-60deg}to{--entry-shine-angle:300deg}}
@media(prefers-reduced-motion:reduce){body.ui-dark .intro .enter:hover::before,body.ui-dark .intro .enter:focus-visible::before,body:not(.ui-dark) .intro .enter:hover::before,body:not(.ui-dark) .intro .enter:focus-visible::before{animation:none;--entry-shine-angle:300deg}}

.intro .enter .enter-text-window{position:relative;display:inline-block;overflow:hidden;height:1.28em;line-height:1.28;white-space:nowrap;perspective:320px}
.intro .enter .enter-text-primary,.intro .enter .enter-text-secondary{display:block;white-space:nowrap;transform-origin:center center;transition:transform .48s cubic-bezier(.2,.75,.2,1),opacity .36s ease}
.intro .enter .enter-text-secondary{position:absolute;inset:0;opacity:0;transform:translateY(110%) rotateX(-65deg)}
.intro .enter:hover .enter-text-primary,.intro .enter:focus-visible .enter-text-primary{opacity:0;transform:translateY(-110%) rotateX(65deg)}
.intro .enter:hover .enter-text-secondary,.intro .enter:focus-visible .enter-text-secondary{opacity:1;transform:translateY(0) rotateX(0)}
@media(prefers-reduced-motion:reduce){.intro .enter .enter-text-primary{opacity:1!important;transform:none!important}.intro .enter .enter-text-secondary{opacity:0!important;transform:translateY(110%)!important}}
