:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#293c33;background:#f5f3ed;font-synthesis:none;--muted:#788077;--line:#dcded4;--serif:"Songti SC","STSong","SimSun",serif}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,#viewer:focus-visible{outline:2px solid #657d63;outline-offset:5px}button{color:inherit}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}
.masthead{height:106px;margin:0 5.2%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:20px;font:36px var(--serif)}.brand span{font:12px "Microsoft YaHei",sans-serif;letter-spacing:3px;color:#69766b;border-left:1px solid #c7cdbf;padding-left:20px}.text-button{border:0;border-bottom:1px solid #9ca995;background:none;padding:7px 0;font-size:12px;letter-spacing:1px}
.exhibition{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1540px;margin:0 auto;padding:0 5.2%;min-height:650px;height:calc(100svh - 171px);max-height:1100px;gap:20px}.intro{align-self:center;padding:28px 0 38px}.eyebrow{font-size:11px;letter-spacing:4px;color:#7c826c;margin:0 0 26px}h1{font:56px/1.3 var(--serif);letter-spacing:7px;font-weight:400;margin:0 0 25px}.description{font-size:13px;line-height:2.1;color:#7a8178;letter-spacing:1px;margin:0}.specimen{display:flex;gap:15px;align-items:center;margin:44px 0 34px}.specimen-line{height:37px;width:2px;background:#7b8a67}.specimen h2{font-size:14px;font-weight:400;letter-spacing:2px;margin:0 0 9px}.specimen p{font-size:11px;letter-spacing:1px;color:#899080;margin:0}.control-label{font-size:11px;color:#8a9085;margin:0 0 14px;letter-spacing:2px}.view-buttons{display:flex;gap:6px}.view-button{padding:10px 13px;background:none;border:1px solid transparent;border-radius:4px;font-size:12px;color:#7c8479;transition:background .2s,color .2s}.view-button:hover{background:#e9ece2}.view-button.active{background:#e4e9dd;color:#334c38;border-color:#d4ddc9}.model-note{font-size:10px;line-height:1.9;color:#93988d;max-width:250px;margin-top:33px}
.viewer-shell{position:relative;min-width:0;overflow:hidden;--stage-color:#f5f3ed;background:radial-gradient(ellipse at 50% 45%,#ffffff5c,transparent 68%),var(--stage-color);transition:background-color .3s;color:#7b8477}.viewer-shell.dark{color:#c0c8bc}#viewer{position:absolute;inset:0;touch-action:none;cursor:grab}#viewer.dragging{cursor:grabbing}#viewer canvas{display:block;width:100%;height:100%}.stage-top{position:absolute;left:28px;right:0;top:27px;display:flex;justify-content:space-between;pointer-events:none;font-size:10px;letter-spacing:1px}.drag-hint{opacity:.65}.stage-bottom{position:absolute;left:28px;right:0;bottom:29px;display:flex;align-items:center;justify-content:space-between;gap:12px}.backgrounds{display:flex;gap:12px;align-items:center}.swatch{width:15px;height:15px;padding:0;border:1px solid #8d958350;border-radius:50%;background:var(--swatch)}.swatch.selected{outline:1px solid #97a18e;outline-offset:4px}.motion-controls{display:flex;gap:8px}.motion-controls button{font-size:11px;background:#ffffff65;border:1px solid #a5af9e45;padding:9px 14px;border-radius:4px;backdrop-filter:blur(8px)}.motion-controls button[aria-pressed=true]{background:#dce5d5;color:#314a36}.dark .motion-controls button{background:#303735b0}.dark .motion-controls button[aria-pressed=true]{background:#596a55;color:#eef3e7}#loading{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:#7c8775;letter-spacing:3px;padding:40px;text-align:center}#loading[hidden]{display:none}#loading.error{letter-spacing:0;line-height:2;background:#f5f3ed;color:#7b5046}
footer{height:65px;display:flex;justify-content:space-between;align-items:center;margin:0 5.2%;border-top:1px solid var(--line);font-size:10px;letter-spacing:1px;color:#8b9284}
dialog{width:min(1080px,92vw);max-height:90svh;border:1px solid #d5dacc;border-radius:10px;padding:30px;background:#f5f3ed;color:#293c33}dialog::backdrop{background:#17231e99;backdrop-filter:blur(6px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.dialog-heading .eyebrow{margin-bottom:8px}.dialog-heading h2{margin:0;font:28px var(--serif);font-weight:400}.reference-images{display:grid;grid-template-columns:1fr 1.4fr;gap:24px}.reference-images figure{margin:0;min-width:0}.reference-images img{width:100%;height:55vh;object-fit:contain;background:#e8e8e2;border-radius:4px}.reference-images figcaption{font-size:11px;color:#7a8474;margin-top:12px;text-align:center}
@media(min-width:1600px){.exhibition{grid-template-columns:350px minmax(0,1fr)}h1{font-size:64px}}
@media(max-width:900px){.exhibition{grid-template-columns:240px minmax(0,1fr);gap:0;padding:0 4%}.masthead,footer{margin-left:4%;margin-right:4%}h1{font-size:44px}.view-button{padding:10px}.stage-top,.stage-bottom{left:12px}.drag-hint{display:none}}
@media(max-width:640px){.masthead{height:75px;margin:0 6%}.brand{font-size:29px;gap:13px}.brand span{font-size:10px;padding-left:13px;letter-spacing:2px}.exhibition{display:flex;flex-direction:column;height:auto;min-height:0;padding:0 5%;gap:0}.intro{position:relative;align-self:stretch;padding:25px 5px 12px}.eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:3px}h1{font-size:36px;margin-bottom:10px;letter-spacing:5px}.description{font-size:11px;line-height:1.8}.specimen{position:absolute;right:3px;top:30px;margin:0;gap:10px}.specimen h2{font-size:11px;letter-spacing:0}.specimen p{font-size:9px}.specimen-line{height:30px}.view-controls{margin-top:19px}.control-label{display:none}.view-buttons{gap:8px}.view-button{padding:8px 16px;font-size:11px}.model-note{font-size:9px;margin:13px 0 0;max-width:100%}.viewer-shell{height:clamp(450px,67svh,750px);margin-top:0}.stage-top{top:14px;left:5px;right:5px;font-size:9px}.stage-bottom{bottom:20px;left:7px;right:7px}.motion-controls button{font-size:10px;padding:8px 11px}footer{margin:0 6%;height:55px;font-size:9px}footer span:last-child{display:none}dialog{padding:20px}.reference-images{grid-template-columns:1fr;gap:25px}.reference-images img{height:auto;max-height:65vh}.dialog-heading h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Three botanical specimens share the same camera and display controls. */
.species-controls{display:grid;gap:7px;margin:23px 0 24px;max-width:265px}
.species-button{display:flex;align-items:center;gap:13px;text-align:left;padding:6px 10px 6px 6px;background:transparent;border:1px solid transparent;border-radius:5px;transition:background .2s,border-color .2s}
.species-button:hover{background:#eceee5}.species-button.selected{background:#fcfcf7;border-color:#d8ddcf}
.species-button img{width:43px;height:43px;object-fit:cover;border-radius:3px;filter:saturate(.85)}
.species-button span{display:grid;gap:6px}.species-button strong{font-size:12px;font-weight:400;letter-spacing:2px}.species-button small{font-size:10px;color:#8a9181;letter-spacing:.3px}
.intro .eyebrow{margin-bottom:17px}.intro h1{font-size:48px;margin-bottom:17px}.specimen{margin:22px 0 25px}.model-note{margin-top:23px}
.stage-top #flower-count{font-size:10px;opacity:.7}.motion-controls button[aria-pressed=true]{background:#dce5d5;color:#314a36}
.reference-images{grid-template-columns:1fr 1fr}.reference-images img{object-fit:contain}
@media(min-width:641px){.exhibition{min-height:700px}.intro{padding-top:25px;padding-bottom:25px}}
@media(max-width:900px) and (min-width:641px){.species-button small{font-size:9px}.species-controls{max-width:224px}.intro h1{font-size:40px}}
@media(max-width:640px){
  body{height:100svh;overflow:hidden;display:flex;flex-direction:column}
  .masthead{height:48px;flex:0 0 48px;margin:0 5%}.brand{font-size:25px}.brand span{font-size:9px}.text-button{font-size:10px}
  .exhibition{flex:1;min-height:0;height:auto;width:100%;max-width:none;padding:0 4%;overflow:hidden}
  .intro{flex:none;padding:10px 0 6px}
  .intro>.eyebrow,.intro h1,.description,.specimen,.model-note{display:none}
  .species-controls{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;gap:6px;margin:0 0 8px}
  .species-button{flex-direction:row;justify-content:center;text-align:center;gap:6px;padding:5px 3px;border-color:#e1e4d8;min-width:0}
  .species-button img{width:27px;height:27px;object-fit:cover}.species-button strong{font-size:11px;letter-spacing:0}.species-button small{display:none}
  .view-controls{margin:0}.view-buttons{gap:5px;justify-content:center}.view-button{padding:6px 16px;font-size:10px}
  .viewer-shell{flex:1;min-height:0;height:auto;margin:0}
  .stage-top{top:8px;left:3px;right:3px}.stage-top #flower-count{font-size:9px}.stage-bottom{bottom:10px;left:5px;right:5px}
  .drag-hint{display:inline;font-size:9px;letter-spacing:0}
  .motion-controls{gap:5px}.motion-controls button{padding:8px 9px;font-size:10px}
  footer{display:none}
  .reference-images{grid-template-columns:1fr}
}
