/* Two exhibition covers. Scoped to avoid changing other galleries. */
#yixi.yx-immersive,#shiliu.ip-pair{box-sizing:border-box!important;padding:0!important;max-width:none!important;isolation:isolate;scrollbar-width:thin}
#yixi.yx-immersive{background:#24372b!important;color:#f9f1dc!important;font-family:"Songti SC",STSong,serif}
#yixi.yx-immersive::before,#yixi.yx-immersive::after,#shiliu.ip-pair::before,#shiliu.ip-pair::after{display:none!important}
#yixi .yi-scene{position:relative;min-height:440px;height:calc(100% - 110px);isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:50px 7.2%;box-sizing:border-box;background:#24372b}
#yixi .yi-background{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none}
#yixi .yi-scene::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#05140ce0 0%,#07170d88 27%,#0c1a0e12 56%,transparent 80%),linear-gradient(0deg,#17251e70,transparent 24%)}
#yixi .yi-copy{width:max-content;max-width:100%;color:#f8f2df;text-shadow:0 2px 15px #0005}
#yixi .yi-kicker{font-size:12px;letter-spacing:3px;line-height:1.8;margin:0 0 23px;color:#dfdfc8}
#yixi h2{font:400 clamp(43px,4.45vw,78px)/1.35 "Songti SC",STSong,serif;letter-spacing:3px;margin:0 0 22px;color:#fff7e7}
#yixi .yi-lead{font-size:clamp(17px,1.7vw,26px);line-height:1.7;margin:0 0 25px;letter-spacing:1px;color:#f0ecd9}
#yixi .yi-actions{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
#yixi .yi-actions a{font:14px/1.7 "Songti SC",STSong,serif;letter-spacing:1px;display:inline-flex;align-items:center;gap:22px;min-height:44px;text-decoration:none;transition:background .2s,color .2s}
#yixi .yi-enter{background:#f0e5c4;color:#28372b;border:1px solid #f0e5c4;border-radius:5px;padding:10px 23px;text-shadow:none}
#yixi .yi-enter:hover{background:#fff6db}
#yixi .yi-listen{border-bottom:1px solid #d5d3ad;color:#eee9d4;padding:9px 0}
#yixi .yi-note{font-size:14px;line-height:1.8;letter-spacing:1px;color:#dfdfca;margin:24px 0 0}
#yixi .yi-weather{position:absolute;right:4%;top:27px;display:flex;align-items:center;gap:12px;border:1px solid #263f3d80;border-radius:24px;padding:9px 16px;min-height:38px;box-sizing:border-box;background:#f9f4e5de;color:#354136;font-size:11px;text-decoration:none;letter-spacing:1px}
#yixi .yi-weather svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
#yixi .yi-weather-more{border-left:1px solid #35413655;padding-left:12px}
#yixi .yi-caption{position:absolute;right:4%;bottom:20px;font-size:13px;color:#fff6dc;letter-spacing:1px;line-height:1.6;text-align:right;margin:0;text-shadow:0 1px 7px #000}
#yixi .yi-caption small{display:block;font-size:9px;color:#e1e1d0;margin-top:3px;letter-spacing:1px}
#yixi .yi-corners{position:relative;inset:auto;z-index:auto;box-shadow:none;backdrop-filter:none;width:100%;height:110px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;padding:0 2.8%;box-sizing:border-box;background:linear-gradient(100deg,#283e2ff5,#263b30);border-top:1px solid #c3c7a544}
#yixi .yi-corners a{position:relative;display:flex;align-items:center;gap:20px;color:#efe8cd;text-decoration:none;padding:12px 7%;min-width:0;border-left:1px solid #bfbea64d;min-height:68px;box-sizing:border-box}
#yixi .yi-corners a:first-child{border-left:0}
#yixi .yi-corners svg{width:41px;height:46px;stroke:currentColor;stroke-width:1.1;fill:none;flex:none}
#yixi .yi-number{font:10px/1 monospace;align-self:flex-start;letter-spacing:1px;color:#c9c7a6;margin-right:-8px}
#yixi .yi-corners strong{display:block;font-size:clamp(16px,1.4vw,23px);font-weight:400;letter-spacing:1px;white-space:nowrap}
#yixi .yi-corners small{display:block;margin-top:8px;font-size:12px;letter-spacing:.5px;color:#d0d5bb;white-space:nowrap}
#yixi .yi-corners i{font-style:normal;font-size:14px;margin-left:auto;opacity:0;transition:opacity .2s,transform .2s}
#yixi .yi-corners a:hover{background:#d9e3b510}
#yixi .yi-corners a:hover i{opacity:1;transform:translate(2px,-2px)}
#yixi a:focus-visible,#shiliu button:focus-visible,#shiliu a:focus-visible{outline:2px solid #f6dc98;outline-offset:4px}
/* The characters use existing alpha assets, scaled uniformly. */
#shiliu.ip-pair{display:block;background:radial-gradient(ellipse at 50% 69%,#8b231b70,transparent 58%),linear-gradient(130deg,#280807,#4b1110 47%,#290706)!important;color:#f3dfb4;font-family:"Songti SC",STSong,serif}
#shiliu .ip-pair-heading{margin:0 4%;padding:27px 0 20px;display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1px solid #c99a566b;box-sizing:border-box;min-height:150px}
#shiliu .ip-pair-heading>div>p{font:10px/1.8 Georgia,serif;letter-spacing:4px;color:#d2b477;margin:0 0 13px}
#shiliu .ip-pair-heading h2{font:400 clamp(31px,3.8vw,62px)/1.3 "Songti SC",STSong,serif;letter-spacing:3px;margin:0;color:#f9e5b7}
#shiliu .ip-pair-intro{font-size:clamp(12px,1.3vw,19px);line-height:1.9;color:#d8c4a2;margin:0 0 2px 25px;flex:none}
#shiliu .ip-pair-stage{height:calc(100% - 226px);min-height:340px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:stretch;padding:0 4%;box-sizing:border-box;isolation:isolate;background:radial-gradient(ellipse at 50% 94%,#b44a291c,transparent 65%)}
#shiliu .ip-person{display:grid;grid-template-columns:minmax(145px,.74fr) minmax(0,1.35fr);position:relative;min-width:0;align-items:center;gap:10px}
#shiliu .ip-second{grid-template-columns:minmax(0,1.35fr) minmax(145px,.74fr)}
#shiliu .ip-person-copy{position:relative;z-index:4;align-self:center;padding-bottom:0}
#shiliu .ip-era{display:inline-block;border:1px solid #b3945c9e;border-radius:3px;padding:7px 13px;font-size:11px;letter-spacing:1px;line-height:1.6;white-space:nowrap;color:#e7cc94}
#shiliu .ip-person h3{font:400 clamp(23px,2.4vw,38px)/1.3 "Songti SC",STSong,serif;margin:17px 0;color:#f6e1b4;letter-spacing:2px;white-space:nowrap}
#shiliu .ip-short-rule{display:block;width:30px;height:1px;background:#c7a15e;margin-bottom:16px}
#shiliu .ip-person-copy>p{font-size:clamp(11px,1.1vw,16px);line-height:1.9;color:#dcc8a5;margin:0 0 24px;letter-spacing:.3px}
#shiliu .ip-person button{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;background:transparent!important;border:1px solid #c6a060;border-radius:4px;padding:10px 16px;min-height:44px;color:#f0d9a5!important;font:12px/1.6 "Songti SC",STSong,serif;cursor:pointer;white-space:nowrap}
#shiliu .ip-second button{background:linear-gradient(120deg,#f1d6a0,#c7995f)!important;color:#351811!important;border-color:#d7b67b}
#shiliu .ip-person button:hover{filter:brightness(1.13)}
#shiliu .ip-figure{align-self:stretch;position:relative;height:100%;min-height:0;isolation:isolate;pointer-events:none}
#shiliu .ip-figure img{position:absolute;bottom:12%;left:50%;height:83%;width:auto;max-width:none!important;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 12px 12px #1a00004d);z-index:2}
#shiliu .ip-second .ip-figure img{height:86%;bottom:10%}
#shiliu .ip-plinth{position:absolute;bottom:7%;left:-5%;width:110%;height:10%;min-height:23px;border:1px solid #c18c3c;border-bottom-color:#4d140e;border-radius:50%;background:radial-gradient(ellipse at 50% 10%,#9d3029,#591411 60%,#2c0504);box-shadow:0 13px 0 -3px #48100d,0 14px 0 -2px #8d4c26,0 30px 23px #1f000082;z-index:0}
#shiliu .ip-inheritance{align-self:center;text-align:center;color:#d8b779;line-height:1.9;font-size:17px;position:relative;z-index:3}
#shiliu .ip-inheritance>span{display:block;font-size:24px;margin-bottom:7px}
#shiliu .ip-inheritance p{margin:0;letter-spacing:2px}
#shiliu .ip-botanical{position:absolute;inset:5% 0 auto;width:100%;height:68%;color:#d4aa60;opacity:.55;z-index:-1;pointer-events:none}
#shiliu .ip-lineage{height:76px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:25px;padding:10px 4%;font-size:14px;color:#dfc18b;letter-spacing:1.5px}
#shiliu .ip-lineage b{font-weight:400;margin-left:8px}
#shiliu .ip-lineage i{display:block;width:clamp(35px,7vw,115px);height:1px;background:#b78b4b80}
#shiliu .ip-lineage p{font-size:12px;margin:0}
#shiliu .ip-detail{position:fixed;inset:0;box-sizing:border-box;width:min(590px,calc(100vw - 30px));height:max-content;max-height:calc(100svh - 40px);overflow-y:auto;margin:auto;padding:29px;background:#2e100e;color:#e9d4ad;border:1px solid #b78b4b;border-radius:8px;box-shadow:0 30px 100px #0008;font-family:"Songti SC",STSong,serif}
#shiliu .ip-detail::backdrop{background:#0d0202c2}
#shiliu .ip-detail-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#caaa75}
#shiliu .ip-detail button{border:1px solid #a77a4b;background:transparent;color:#e7d0a2;font:12px/1.4 inherit;min-height:40px;padding:8px 14px;border-radius:3px;cursor:pointer}
#shiliu .ip-detail h3{font-size:35px;font-weight:400;margin:23px 0 17px;color:#f7e3b7}
#shiliu .ip-detail p{font-size:15px;line-height:2;margin:0 0 15px}
#shiliu .ip-detail-tags{display:flex;gap:10px;font-size:11px;color:#d8bc88}
#shiliu .ip-detail-tags span{border:1px solid #a47d4a70;padding:5px 9px}
#shiliu .ip-detail dl{font-size:13px;border-top:1px solid #a47d4a55;margin:23px 0}
#shiliu .ip-detail dl>div{display:flex;gap:20px;border-bottom:1px solid #a47d4a33;padding:12px 0}
#shiliu .ip-detail dt{min-width:65px;color:#bc9d6f}
#shiliu .ip-detail dd{margin:0}
#shiliu .ip-detail>a{color:#eed09b;display:inline-block;padding:10px 0;min-height:24px;text-decoration:none;border-bottom:1px solid #bc955b}
@media(min-width:801px) and (max-height:720px){
 #yixi .yi-scene{height:calc(100% - 86px);min-height:290px;padding:25px 6%}
 #yixi .yi-kicker{font-size:10px;margin-bottom:12px}#yixi h2{font-size:clamp(35px,4vw,52px);line-height:1.25;margin-bottom:12px}#yixi .yi-lead{font-size:17px;margin-bottom:15px}#yixi .yi-actions a{font-size:12px;padding-top:6px;padding-bottom:6px}#yixi .yi-note{font-size:11px;margin-top:14px}#yixi .yi-caption{bottom:12px;font-size:11px}#yixi .yi-weather{top:16px;padding:5px 12px;font-size:10px}#yixi .yi-corners{height:86px}#yixi .yi-corners a{gap:13px;padding-top:6px;padding-bottom:6px;min-height:59px}#yixi .yi-corners svg{height:35px;width:32px}#yixi .yi-corners strong{font-size:16px}#yixi .yi-corners small{font-size:10px;margin-top:5px}
 #shiliu .ip-pair-heading{min-height:105px;padding:17px 0 12px}#shiliu .ip-pair-heading h2{font-size:37px}#shiliu .ip-pair-heading>div>p{font-size:8px;letter-spacing:3px;margin-bottom:8px}#shiliu .ip-pair-intro{font-size:12px}#shiliu .ip-pair-stage{height:calc(100% - 157px);min-height:230px}#shiliu .ip-lineage{height:52px;font-size:12px}#shiliu .ip-lineage p{font-size:10px}#shiliu .ip-person{grid-template-columns:minmax(135px,.9fr) minmax(0,1.3fr)}#shiliu .ip-second{grid-template-columns:minmax(0,1.3fr) minmax(135px,.9fr)}#shiliu .ip-era{font-size:9px;padding:4px 8px}#shiliu .ip-person h3{font-size:27px;margin:10px 0}#shiliu .ip-short-rule{margin-bottom:9px}#shiliu .ip-person-copy>p{font-size:11px;margin-bottom:13px}#shiliu .ip-person button{font-size:11px;min-height:38px;padding:8px 10px;gap:12px}#shiliu .ip-inheritance{font-size:13px}
}
@media(max-width:1100px) and (min-width:801px){#yixi .yi-corners a{gap:10px;padding-left:5%;padding-right:5%}#yixi .yi-corners svg{width:30px}#yixi .yi-corners small{font-size:10px}#yixi .yi-number{display:none}#shiliu .ip-pair-heading h2{font-size:35px}#shiliu .ip-pair-intro{font-size:12px}#shiliu .ip-person{grid-template-columns:minmax(125px,.9fr) minmax(0,1fr)}#shiliu .ip-second{grid-template-columns:minmax(0,1fr) minmax(125px,.9fr)}#shiliu .ip-person h3{font-size:26px}#shiliu .ip-person button{padding:9px;gap:9px;font-size:10px}#shiliu .ip-person-copy>p{font-size:10px}}
@media(max-width:800px){
 #yixi .yi-scene{height:510px;min-height:0;padding:93px 25px 100px;align-items:flex-start}#yixi .yi-background{object-position:61% 50%}#yixi .yi-scene::before{background:linear-gradient(90deg,#07160de8,#07160d90 55%,#07160d22),linear-gradient(0deg,#17251eb3,transparent 40%)}#yixi .yi-kicker{font-size:10px;letter-spacing:2px;margin-bottom:18px}#yixi h2{font-size:42px;line-height:1.35;letter-spacing:2px;margin-bottom:17px}#yixi .yi-lead{font-size:17px;margin-bottom:21px}#yixi .yi-actions{gap:21px}#yixi .yi-actions a{font-size:12px;gap:16px}#yixi .yi-enter{padding:9px 15px}#yixi .yi-note{font-size:12px;margin-top:21px}#yixi .yi-weather{right:20px;top:20px;font-size:9px;padding:6px 11px;min-height:34px}#yixi .yi-weather-more{display:none}#yixi .yi-caption{font-size:11px;right:20px;bottom:18px}#yixi .yi-corners{height:auto;min-height:186px;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 12px}#yixi .yi-corners a{gap:11px;padding:14px 10px;min-height:80px}#yixi .yi-corners a:nth-child(3){border-left:0}#yixi .yi-corners a:nth-child(n+3){border-top:1px solid #bfbea633}#yixi .yi-corners svg{width:29px;height:35px}#yixi .yi-number{display:none}#yixi .yi-corners strong{font-size:17px}#yixi .yi-corners small{font-size:10px;margin-top:7px}#yixi .yi-corners i{display:none}
 #shiliu .ip-pair-heading{padding:24px 0 18px;margin:0 22px;min-height:0;display:block}#shiliu .ip-pair-heading>div>p{font-size:8px;letter-spacing:2px;margin-bottom:12px}#shiliu .ip-pair-heading h2{font-size:29px;line-height:1.4;letter-spacing:1px}#shiliu .ip-pair-intro{font-size:11px;line-height:1.9;margin:12px 0 0}#shiliu .ip-pair-intro br{display:none}#shiliu .ip-pair-stage{height:auto;min-height:0;display:grid;grid-template-columns:1fr;gap:0;padding:12px 22px 22px}#shiliu .ip-person,#shiliu .ip-second{height:280px;grid-template-columns:minmax(140px,.95fr) minmax(0,1.1fr);gap:10px}#shiliu .ip-second .ip-figure{grid-column:2;grid-row:1}#shiliu .ip-second .ip-person-copy{grid-column:1;grid-row:1}#shiliu .ip-figure img{height:87%;bottom:10%}#shiliu .ip-second .ip-figure img{height:94%;bottom:7%}#shiliu .ip-plinth{height:21px;min-height:0;bottom:4%;width:110%;left:-5%;box-shadow:0 9px 0 -2px #48100d,0 10px 0 -2px #8d4c26,0 20px 18px #1f000082}#shiliu .ip-era{font-size:9px;padding:5px 8px}#shiliu .ip-person h3{font-size:27px;margin:12px 0}#shiliu .ip-person-copy>p{font-size:10px;margin-bottom:15px;line-height:1.9}#shiliu .ip-person button{min-height:42px;font-size:11px;padding:9px 11px;gap:10px}#shiliu .ip-short-rule{margin-bottom:11px}#shiliu .ip-inheritance{font-size:11px;display:flex;align-items:center;justify-content:center;gap:13px;padding:14px 0 5px;line-height:1.6}#shiliu .ip-inheritance p br{display:none}#shiliu .ip-inheritance>span{font-size:18px;margin:0}#shiliu .ip-botanical{height:80%;top:10%;opacity:.28}#shiliu .ip-lineage{height:auto;padding:8px 20px 23px;gap:9px;font-size:9px;letter-spacing:0}#shiliu .ip-lineage p{font-size:9px}#shiliu .ip-lineage i{width:15px}#shiliu .ip-lineage b{margin-left:2px}#shiliu .ip-detail{padding:21px}#shiliu .ip-detail p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#yixi a,#yixi i{transition:none!important}}
/* Compact paired portrait layout keeps both introductions and actions reachable. */
@media(max-width:800px){
 #shiliu .ip-pair-heading{padding:19px 0 13px}
 #shiliu .ip-pair-heading h2{font-size:27px}
 #shiliu .ip-pair-heading>div>p{margin-bottom:9px}
 #shiliu .ip-pair-intro{margin-top:8px}
 #shiliu .ip-person,#shiliu .ip-second{height:220px}
 #shiliu .ip-person h3{font-size:25px;margin:9px 0}
 #shiliu .ip-person-copy>p{margin-bottom:11px}
 #shiliu .ip-inheritance{padding:10px 0 4px}
 #shiliu .ip-pair-stage{padding-bottom:15px}
 #shiliu .ip-lineage{padding-bottom:16px}
 #shiliu .ip-botanical{display:none}
}
