/* Desktop composition matched to the two supplied collection-view references. */
body.qilu-detail-reference{--qilu-bar:60px;background:#080807;color:var(--work-text);font-family:'Songti SC',SimSun,serif}
.qilu-detail-reference .qilu-site-header{height:60px;background:#080807ed;border-color:color-mix(in srgb,var(--a) 26.67%,transparent);padding-inline:2.2%;font-family:'Songti SC',SimSun,serif;font-size:17px}
.qilu-detail-reference .qilu-site-brand{font-size:26px;gap:13px}
.qilu-detail-reference .qilu-site-brand small{font-size:11px;letter-spacing:.2em}
.qilu-detail-reference .qilu-seal{font-size:17px;padding:3px}
.qilu-detail-reference .qilu-site-links{gap:36px}
.qilu-detail-reference .qilu-menu-toggle{font:16px/1.4 'Songti SC',SimSun,serif;padding:10px 17px}
.qilu-detail-reference>header{height:65px!important;margin:0 1.6%!important;border-color:#ffffff12}
.qilu-detail-reference>header .brand{font-size:24px!important;letter-spacing:.17em}
.qilu-detail-reference>header nav{gap:25px;font-size:16px;letter-spacing:.12em}
.qilu-detail-reference .collection-nav{gap:6px}
.qilu-detail-reference .collection-nav select{min-width:148px;max-width:210px;padding:6px 15px;border:1px solid color-mix(in srgb,var(--a) 30.20%,transparent);border-radius:9px;background:linear-gradient(color-mix(in srgb,var(--work-ink) 74.90%,transparent),color-mix(in srgb,var(--work-ink) 90.20%,transparent));box-shadow:0 0 18px color-mix(in srgb,var(--a) 9.80%,transparent),inset 0 1px 8px color-mix(in srgb,var(--a) 3.92%,transparent);color:var(--work-text);font:15px/1.3 'Songti SC',SimSun,serif;letter-spacing:.09em}
.qilu-detail-reference .collection-nav button{padding:6px 10px;color:var(--work-text);font-size:22px}
.qilu-detail-reference>header>span{font-size:10px;color:var(--work-text)}
.qilu-detail-reference .english{margin:14px 2.4% 0;font:12px/18px Georgia,serif;letter-spacing:.16em;color:var(--a);white-space:normal;overflow-wrap:anywhere}
.qilu-detail-reference .qilu-breadcrumb{margin:20px 2.4% 0;font:16px/25px 'Songti SC',SimSun,serif;letter-spacing:.04em;gap:13px;color:var(--work-text)}
.qilu-detail-reference .qilu-breadcrumb a{color:var(--a)}
.qilu-detail-reference .poem{display:none}
@media(min-width:801px){
 #collection-viewer{grid-template-columns:minmax(0,24%) minmax(0,52.5%) minmax(0,23.5%);grid-template-rows:minmax(0,1fr);margin:0 2.4%;height:calc(100svh - 365px);min-height:540px;max-height:680px;align-items:stretch}
 #collection-viewer>aside:first-child{position:relative;z-index:3;min-width:0;padding-top:40px;pointer-events:none}
 #collection-viewer>aside:first-child details{pointer-events:auto}
 #collection-viewer .wordmark{width:120px;height:174px;max-height:none;margin:0 0 25px 8px}
 #collection-viewer .eyebrow{margin:0 0 14px;color:var(--work-text);font:11px/1.4 Georgia,serif;letter-spacing:.15em}
 #collection-viewer h1{font-size:27px;font-weight:400;letter-spacing:.08em;margin:0 0 12px;color:var(--work-text)}
 #collection-viewer .place{font:16px/1.5 'Songti SC',SimSun,serif;letter-spacing:.18em;margin:0 0 9px;color:var(--work-text)}
 #collection-viewer .intro{font:16px/1.9 'Songti SC',SimSun,serif;letter-spacing:.035em;color:var(--work-text);margin:0 0 16px;max-width:395px}
 #collection-viewer .palette{font:16px/1.6 'Songti SC',SimSun,serif;letter-spacing:.06em;gap:8px;margin:14px 0 16px;white-space:nowrap}
 #collection-viewer .palette i{width:10px;height:10px;flex-shrink:0}
 #collection-viewer details{font:16px/1.8 'Songti SC',SimSun,serif;letter-spacing:.035em;color:var(--work-text);max-width:360px}
 #collection-viewer details p{font-size:14px}
 #collection-viewer #stage{height:100%;min-height:0;max-height:none;gap:12px;overflow:visible;z-index:2}
 #collection-viewer .viewer-tabs{height:44px;min-height:44px;gap:0;padding:0;border:1px solid color-mix(in srgb,var(--a) 21.18%,transparent);border-radius:999px;background:linear-gradient(180deg,#24221fc9,#121211eb);box-shadow:inset 0 1px 2px #ffffff07;position:relative;z-index:8}
 #collection-viewer .viewer-tab{min-width:128px;height:42px;padding:8px 22px;font:17px/1.4 'Songti SC',SimSun,serif;letter-spacing:.07em;color:var(--a)}
 #collection-viewer .viewer-tab.is-active{color:var(--work-ink);background:linear-gradient(135deg,var(--work-text),var(--work-text));box-shadow:inset 0 1px 3px #ffffff70,0 0 15px color-mix(in srgb,var(--a) 10.20%,transparent)}
 #collection-viewer .viewer-body{grid-template-columns:minmax(0,1.15fr) 72px minmax(0,1fr);min-height:0}
 #collection-viewer #stage.view-photo .viewer-body,#collection-viewer #stage.view-model .viewer-body{grid-template-columns:minmax(0,1fr)}
 #collection-viewer #stage.view-compare .photo-frame{margin-left:0;width:100%}
 #collection-viewer .photo-frame{overflow:visible;background:none}
 #collection-viewer .photo-zoom{inset:0 0 26px;will-change:transform}
 #collection-viewer .photo-zoom img{object-fit:contain;filter:none;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 5%,#000 96%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 5%,#000 96%,transparent);-webkit-mask-composite:source-in}
 #collection-viewer .photo-pedestal{filter:none;left:3%;right:3%;bottom:0;height:42px;background:radial-gradient(ellipse,color-mix(in srgb,var(--a) 14.51%,transparent),transparent 67%);border:1px solid color-mix(in srgb,var(--a) 50.20%,transparent);box-shadow:0 0 18px color-mix(in srgb,var(--a) 18.04%,transparent)}
 #collection-viewer .photo-pedestal:before{top:13%;height:67%;left:10%;right:10%;border-color:color-mix(in srgb,var(--a) 38.04%,transparent)}
 #collection-viewer .photo-pedestal:after{top:30%;height:40%;left:18%;right:18%;border-color:color-mix(in srgb,var(--a) 43.92%,transparent);box-shadow:0 0 24px color-mix(in srgb,var(--a) 16.86%,transparent)}
 #collection-viewer .stage-arc{left:-7%;top:0;width:64%;height:96%;border-color:color-mix(in srgb,var(--a) 51.37%,transparent);mask-image:linear-gradient(90deg,transparent 18%,#000 72%);-webkit-mask-image:linear-gradient(90deg,transparent 18%,#000 72%)}
 #collection-viewer .cmp-label b{font:16px/1.4 'Songti SC',SimSun,serif;letter-spacing:.12em;color:var(--work-text)}
 #collection-viewer .cmp-label small{font:8px/1.3 Georgia,serif;letter-spacing:.11em;color:var(--a)}
 #collection-viewer .cmp-arrow{font:26px/1.2 Georgia,serif;color:var(--work-text)}
 #collection-viewer .compare-center{gap:8px;transform:translateY(-3px)}
 #collection-viewer #model-view{inset:0 0 76px}
 #collection-viewer .model-frame{overflow:visible}
 #collection-viewer .model-pedestal{left:4%;right:4%;bottom:76px;height:30px;filter:none;border:1px solid color-mix(in srgb,var(--a) 50.20%,transparent);background:radial-gradient(ellipse,color-mix(in srgb,var(--a) 12.16%,transparent),transparent 70%);box-shadow:0 0 15px color-mix(in srgb,var(--a) 14.90%,transparent)}
 #collection-viewer .model-pedestal:before{top:16%;height:62%;left:9%;right:9%;border-color:color-mix(in srgb,var(--a) 40.00%,transparent)}
 #collection-viewer .model-pedestal:after{top:34%;height:22%;left:18%;right:18%;border-color:color-mix(in srgb,var(--a) 33.33%,transparent)}
 #collection-viewer .model-frame .controls{height:68px;bottom:0;gap:clamp(14px,1.8vw,30px);align-items:center;white-space:nowrap}
 #collection-viewer .model-frame .controls button{font:14px/1.4 'Songti SC',SimSun,serif;letter-spacing:.12em;min-height:50px;gap:7px;color:var(--work-text)}
 #collection-viewer .model-frame .controls svg{width:26px;height:26px}
 #collection-viewer .controls button[hidden]{display:none}
 #collection-viewer #status{inset:38% 0 auto;background:#080807a6;font-size:14px}
 #collection-viewer #stage.view-photo .photo-frame{width:min(65%,560px);margin:0 auto;height:100%}
 #collection-viewer #stage.view-photo .photo-zoom{inset:0 0 16px}
 #collection-viewer #stage.view-photo .photo-frame:after{left:-6%;right:-6%;height:38px;bottom:0;border-color:color-mix(in srgb,var(--a) 54.90%,transparent);background:radial-gradient(ellipse,color-mix(in srgb,var(--a) 12.94%,transparent),transparent 70%);box-shadow:0 0 18px color-mix(in srgb,var(--a) 23.14%,transparent)}
 #collection-viewer .photo-nav{width:50px;height:50px;background:radial-gradient(circle at 40% 30%,#3c36375c,#141213bf);border-color:color-mix(in srgb,var(--a) 18.04%,transparent);color:var(--work-text);top:49%}
 #collection-viewer .photo-prev{left:-78px}
 #collection-viewer .photo-next{right:-78px}
 #collection-viewer .photo-nav svg{width:25px;height:25px}
 #collection-viewer .photo-zoom-toggle{right:18px;bottom:39px;background:#18131670;border-color:color-mix(in srgb,var(--a) 65.10%,transparent);color:var(--work-text);width:39px;height:39px}
 #collection-viewer .photo-sequence{bottom:-7px;gap:7px;padding:4px 9px;background:none}
 #collection-viewer .photo-dot{width:5px;height:5px;background:color-mix(in srgb,var(--a) 45.10%,transparent)}
 #collection-viewer .photo-dot.is-active{background:var(--work-text);box-shadow:0 0 8px color-mix(in srgb,var(--a) 65.10%,transparent)}
 #collection-viewer #annotations{padding:76px 0 64px 88px;justify-content:space-between;gap:12px;min-width:0}
 #collection-viewer .annotation-focus{padding:8px 0 13px;border-bottom:1px solid color-mix(in srgb,var(--a) 14.12%,transparent);background:none}
 #collection-viewer .annotation:before{left:-94px;width:76px;top:13px;opacity:.5;border-color:var(--work-text)}
 #collection-viewer .annotation-title{font:18px/1.5 'Songti SC',SimSun,serif;color:var(--work-text)}
 #collection-viewer .annotation-title small{font:9px/1.4 Georgia,serif;letter-spacing:0;margin-left:8px;color:var(--work-text)}
 #collection-viewer .annotation-description{font:16px/1.85 'Songti SC',SimSun,serif;letter-spacing:.025em;color:var(--work-text);margin-top:4px}
 #collection-viewer .annotation-reset{font-size:13px;position:absolute;bottom:10px;right:0}
 .qilu-detail-reference #heritage{margin:22px 2.4% 0;padding:20px 0 0;border-top:1px solid color-mix(in srgb,var(--a) 32.16%,transparent);border-bottom:0;gap:0}
 .qilu-detail-reference #heritage article{padding:0 34px;border-color:color-mix(in srgb,var(--a) 14.12%,transparent)}
 .qilu-detail-reference #heritage h2{font:23px/1.5 'Songti SC',SimSun,serif;letter-spacing:.08em;margin-bottom:10px;color:var(--work-text)}
 .qilu-detail-reference #heritage p{font:16px/1.95 'Songti SC',SimSun,serif;letter-spacing:.04em;color:var(--work-text);margin:0}
 .qilu-detail-reference #heritage em{color:var(--work-text)}
}
@media(min-width:801px) and (max-width:1200px){
 #collection-viewer{grid-template-columns:23% 54% 23%;min-height:530px}
 #collection-viewer .intro,#collection-viewer .palette,#collection-viewer .place,#collection-viewer details{font-size:13px}
 #collection-viewer .palette{white-space:normal}
 #collection-viewer .viewer-tab{min-width:100px;padding:8px 17px;font-size:15px}
 #collection-viewer #annotations{padding-left:28px}
 #collection-viewer .annotation:before{left:-28px;width:20px}
 #collection-viewer .annotation-description{font-size:14px}
 #collection-viewer .viewer-body{grid-template-columns:minmax(0,1.1fr) 58px minmax(0,1fr)}
 #collection-viewer #stage.view-compare .photo-frame{margin-left:0;width:100%}
 #collection-viewer .model-frame .controls{gap:10px}
 #collection-viewer .model-frame .controls button{font-size:11px;letter-spacing:0}
 .qilu-detail-reference .english{white-space:normal;font-size:10px}
 .qilu-detail-reference>header nav{gap:13px;font-size:13px}
 .qilu-detail-reference #heritage article{padding-inline:20px}
 .qilu-detail-reference #heritage p{font-size:14px}
}

@media(min-width:1201px){
 #collection-viewer .intro{width:auto;max-width:100%;font-size:clamp(13px,.95vw,16px);letter-spacing:0;line-height:1.9}
 #collection-viewer .place{letter-spacing:.15em}
 #collection-viewer .palette{margin-top:14px}
 #collection-viewer .photo-zoom img{mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 94%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 94%,transparent)}
}

@media(min-width:1201px){
 #collection-viewer .wordmark{margin-bottom:21px}
 #collection-viewer .eyebrow{margin-bottom:12px}
 #collection-viewer h1{margin-bottom:10px}
 #collection-viewer .place{margin-bottom:5px}
 #collection-viewer #annotations{padding-bottom:80px}
 #collection-viewer .photo-nav{top:46%}
}

/* All artwork accents derive from collections.js; keep only the gallery background neutral. */
body.qilu-detail-reference{
 --work-bright:color-mix(in srgb,var(--a) 65%,white);
 --work-text:#f0e7d6;
 --work-muted:#c7bba8;
 --work-ink:color-mix(in srgb,var(--a) 13%,#101111);
 --qilu-ink:var(--work-text);--qilu-muted:var(--work-muted);
 --qilu-gold:#dec28e;--qilu-line:#b9a17c50;
 color:var(--work-text);
}
.qilu-detail-reference .wordmark-start{stop-color:var(--a)}
.qilu-detail-reference .wordmark-end{stop-color:var(--b)}
.qilu-detail-reference .collection-nav select{color:var(--work-bright);border-color:color-mix(in srgb,var(--a) 40%,transparent)}
#collection-viewer .viewer-tab.is-active{color:var(--work-ink);background:linear-gradient(135deg,var(--work-bright),var(--a))}
#collection-viewer .viewer-tab:hover{color:var(--work-bright)}
#collection-viewer .viewer-tab.is-active:hover{color:var(--work-ink)}
#collection-viewer .eyebrow,#collection-viewer .annotation-title,#collection-viewer .cmp-arrow{color:var(--a)}
#collection-viewer .annotation-title small,#collection-viewer .cmp-label small{color:var(--work-muted)}
#collection-viewer .annotation:before{border-color:var(--a)}
#collection-viewer .annotation-focus:hover,#collection-viewer .annotation-focus[aria-pressed=true]{background:color-mix(in srgb,var(--a) 8%,transparent)}
#collection-viewer .annotation-focus[aria-pressed=true]{border-color:var(--a)}
#collection-viewer .photo-nav:hover:not(:disabled),#collection-viewer .photo-zoom-toggle:hover{border-color:var(--a);color:var(--work-bright);background:var(--work-ink)}
#collection-viewer .model-frame .controls button:hover,#collection-viewer .model-frame .controls button[aria-pressed=true]{color:var(--a)}
#collection-viewer .photo-dot.is-active{background:var(--work-bright);box-shadow:0 0 8px var(--a)}
.qilu-detail-reference #heritage em,.qilu-detail-reference .qilu-breadcrumb a{color:var(--a)}
.qilu-detail-reference .qilu-site-menu a{border-color:var(--qilu-line)}

/* Desktop columns own their content; images never extend into the text measure. */
.qilu-detail-reference .english{color:#c7bba8;white-space:normal;overflow-wrap:anywhere}
.qilu-detail-reference .qilu-breadcrumb a{color:#dec28e}
#collection-viewer .viewer-tab:not(.is-active){color:#c7bba8}
.qilu-detail-reference #heritage em{color:#dec28e}
@media(min-width:801px){
 #collection-viewer>aside:first-child{padding-right:24px;min-width:0;pointer-events:auto}
 #collection-viewer .intro{width:auto;max-width:100%;overflow-wrap:break-word}
 #collection-viewer .palette{white-space:normal;flex-wrap:wrap;row-gap:4px;font-size:clamp(12px,.95vw,16px)}
 #collection-viewer .palette span{min-width:0;overflow-wrap:break-word}
 #collection-viewer details{max-width:100%}
 #collection-viewer .photo-frame{min-width:0}
 #collection-viewer #stage.view-compare .photo-frame{margin-left:0;width:100%}
 #collection-viewer .stage-arc{left:0;width:57%}
 .qilu-detail-reference>header{gap:16px}
 .qilu-detail-reference>header nav{min-width:0;flex-shrink:0}
 .qilu-detail-reference>header>span{white-space:nowrap;flex-shrink:0}
}
@media(min-width:801px) and (max-width:1440px){
 .qilu-detail-reference>header .brand{font-size:20px!important;letter-spacing:.08em}
 .qilu-detail-reference>header nav{gap:10px;font-size:14px}
 .qilu-detail-reference>header>span{font-size:8px;letter-spacing:.08em}
 #collection-viewer #annotations{padding-left:32px}
 #collection-viewer .annotation:before{left:-32px;width:22px}
 #collection-viewer .annotation-description{font-size:14px}
 #collection-viewer .viewer-tab{min-width:100px;padding-inline:17px;font-size:15px}
 #collection-viewer .model-frame .controls{gap:12px}
 #collection-viewer .model-frame .controls button{font-size:11px;letter-spacing:0}
 #collection-viewer .intro,#collection-viewer .place,#collection-viewer details{font-size:13px}
}
@media(min-width:1450px){
 #collection-viewer>aside:first-child{padding-right:48px}
 #collection-viewer #stage.view-compare .photo-frame{margin-left:-24px;width:calc(100% + 24px)}
}
