:root{font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;color:#ecf5fa;background:#071b29;font-size:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;border:1px solid #ffffff24;background:#173243;color:#f1f9ff;border-radius:9px;min-height:52px;padding:0 20px;touch-action:manipulation}button:hover{background:#284b60}button:focus-visible{outline:3px solid #61ead9;outline-offset:4px}header{height:94px;display:flex;align-items:center;padding:0 32px;gap:25px;border-bottom:1px solid #ffffff14}.brand{width:168px;height:auto;filter:brightness(0) invert(1)}.divider{height:36px;border-left:1px solid #ffffff30}h1{font-size:24px;margin:0;font-weight:600;letter-spacing:.1em}header p{font-size:14px;color:#9bb4c5;margin:4px 0 0}.header-end{margin-left:auto;display:flex;align-items:center;gap:20px}.demo{border:1px solid #6dabb354;color:#9ad2d0;font-size:14px;padding:7px 12px;border-radius:5px}main{height:calc(100dvh - 94px);display:flex;flex-direction:column}.stage{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#112737}.scene{position:relative;aspect-ratio:16/9;width:min(100%,calc((100dvh - 182px)*16/9));flex-shrink:0;overflow:hidden}.scene>img{display:block;width:100%;height:100%;object-fit:contain}.scene:after{content:"";position:absolute;inset:65% 0 0;pointer-events:none;background:linear-gradient(transparent,#04151c55)}#flows{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;transition:opacity .3s}.electric{--beam-color:#78eaff}.hydrogen{--beam-color:#ffd087}.hotspot{position:absolute;transform:translate(-50%,-50%);display:flex;gap:9px;align-items:center;min-height:48px;padding:9px 15px;background:#082534e8;backdrop-filter:blur(8px);border:1px solid #ffffff70;box-shadow:0 5px 18px #001b3350;white-space:nowrap;border-radius:6px;font-size:clamp(14px,1.1vw,23px);z-index:3;transition:opacity .2s,background .2s}.hotspot:before{content:"";width:7px;height:7px;background:#78e6dd;border-radius:50%}.hotspot[data-group="hydrogen"]:before{background:#ffd28a}.hotspot:hover{background:#075363;z-index:5}.hotspot.muted{opacity:.25}.scene-caption{position:absolute;bottom:20px;left:26px;right:26px;display:flex;justify-content:space-between;z-index:2;font-size:14px;color:white;text-shadow:0 2px 5px #000}.scene-caption span:first-child{border-left:3px solid #78e6dd;padding-left:10px}.overview{position:absolute;left:24px;top:20px;width:430px;padding:15px 18px;background:#072433eb;backdrop-filter:blur(14px);border:1px solid #a9d5e63b;border-radius:12px;z-index:4;box-shadow:0 6px 24px #00121c25}.overview-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}h2{margin:0}.overview h2{font-size:16px;font-weight:500}.overview-heading span{font-size:12px;color:#9fbac7}#metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:14px}.metric{min-width:0}.metric span{font-size:12px;color:#a6c3d1}.metric strong{font-size:22px;display:block;font-weight:500;margin:7px 0 0}.metric small{font-size:11px;color:#9fbac7;margin-left:3px}.metric svg{width:100%;height:30px;display:block;margin-top:7px}.legend{position:absolute;right:26px;top:24px;display:flex;gap:18px;background:#082534de;padding:9px 13px;border-radius:7px;font-size:13px;z-index:2}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:18px;height:2px;background:#8ff8ff}.legend span+span i{background:#ffd58c}.controls{min-height:88px;display:flex;justify-content:space-between;align-items:center;padding:12px 28px;gap:16px;border-top:1px solid #ffffff20}.mode-tabs{display:flex;gap:4px;padding:4px;background:#03121c;border-radius:10px}.mode-tabs button{background:transparent;border:none;color:#a9bfcd}.mode-tabs button.selected{background:#2d6e78;color:white}.actions{display:flex;gap:10px}.actions b{font-size:12px;color:#75e2d2;margin-left:8px}.actions button[aria-pressed="false"] b{color:#9aabb6}dialog{position:fixed;left:auto;right:24px;top:112px;bottom:106px;margin:0;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 150px);border:1px solid #88b8c74d;border-radius:16px;padding:32px;background:#092534f5;color:#eaf5fa;box-shadow:0 22px 80px #00131c80;overflow:auto}dialog::backdrop{background:#00141c30}dialog .close{position:absolute;right:15px;top:15px;font-size:28px;min-height:44px;padding:0 12px;background:transparent;border:0}#detail-eyebrow{font-size:12px;letter-spacing:.15em;color:#72ded2;margin:0 0 18px}#detail-eyebrow:empty{display:none}#detail-title{font-size:30px;line-height:1.4;padding-right:18px}#detail-subtitle{color:#a2c1cf;font-size:16px;line-height:1.6}#detail-image{width:100%;border-radius:9px;margin:14px 0;background:#fff}#detail-image[hidden]{display:none}#detail-description{font-size:18px;line-height:1.9;color:#d3e3eb}#detail-facts{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}#detail-facts span{border:1px solid #ffffff25;border-radius:6px;padding:8px 12px;font-size:14px;color:#b8d3dd}#detail-done{width:100%;background:#286c76;border-color:#54a4ab}.loading{position:absolute;inset:0;display:grid;place-items:center;background:#102d3d;z-index:7}.loading[hidden]{display:none}#notice{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);background:#183b4c;padding:12px 20px;border-radius:8px;z-index:15;display:none}@media(min-width:2200px){:root{font-size:22px}header{height:120px;padding:0 45px}.brand{width:230px}h1{font-size:32px}header p{font-size:18px}main{height:calc(100dvh - 120px)}.scene{width:min(100%,calc((100dvh - 230px)*16/9))}.controls{min-height:110px}button{min-height:64px}.overview{width:570px}.overview h2{font-size:21px}.metric span,.overview-heading span{font-size:16px}.metric strong{font-size:30px}.hotspot{min-height:62px}dialog{width:620px;top:142px;bottom:135px}#detail-description{font-size:24px}}@media(max-width:1050px){.overview{width:350px;left:12px;top:12px}.overview-heading{display:block}.overview-heading span{display:block;margin-top:5px}.controls{padding:10px;flex-wrap:wrap;justify-content:center;gap:8px}.controls button{padding:0 12px;font-size:14px}.scene{width:100%}.hotspot{min-height:42px;padding:7px 9px;font-size:13px}.legend{right:12px;top:12px;flex-direction:column;gap:6px}}@media(max-width:650px){header{height:76px;padding:0 14px;gap:12px}.brand{width:100px}.divider{display:none}h1{font-size:17px;letter-spacing:0}header p{font-size:12px}.header-end{gap:6px}.demo{display:none}#fullscreen{padding:0 10px;min-height:44px}#fullscreen span{display:none}main{height:auto;min-height:calc(100dvh - 76px)}.stage{flex:none;min-height:450px;align-items:flex-end;padding-top:160px;padding-bottom:35px}.scene{overflow:visible}.overview{width:calc(100% - 24px)}.overview-heading{display:flex}.legend{top:auto;bottom:8px;flex-direction:row;font-size:11px;padding:4px 8px}.hotspot{font-size:11px;padding:5px;min-height:36px;gap:3px;white-space:normal;max-width:100px}.hotspot:before{display:none}.scene-caption{display:none}.actions{flex-wrap:wrap;justify-content:center}.mode-tabs{width:100%;justify-content:center}.controls{padding-bottom:20px}dialog{top:20px;bottom:20px;right:16px;max-height:calc(100dvh - 40px);padding:25px}.metric strong{font-size:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Raster rotor layers rotate independently over the stationary nacelles. */
.wind-rotors{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.wind-rotor{position:absolute;aspect-ratio:1;transform:scaleX(.88);transform-origin:0 0;pointer-events:none}
.wind-rotor img{position:absolute;left:-50.08%;top:-57.42%;display:block;width:100%;height:100%;object-fit:contain;transform-origin:50.08% 57.42%;animation:rotor-spin var(--period,12s) linear infinite;animation-delay:var(--phase,0s)}
.wind-rotor-far{left:87.0215%;top:15.4091%;width:4.80%;--period:15s;--phase:-3s}
.wind-rotor-middle{left:90.4306%;top:12.0085%;width:8.00%;--period:12s;--phase:-7s}
.wind-rotor-near{left:96.4713%;top:10.8395%;width:8.20%;--period:13.5s;--phase:-1s}
@keyframes rotor-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.wind-rotor img{animation:none}}

#flows .beam-halo{fill:none;stroke:var(--beam-color);stroke-width:7;opacity:.30;filter:url(#beam-glow)}
#flows .beam-track{fill:none;stroke:var(--beam-color);stroke-width:1.7;opacity:.57;stroke-linecap:round;stroke-linejoin:round}
#flows .beam-tail-glow{fill:none;stroke:var(--beam-color);stroke-width:6;stroke-linecap:round;filter:url(#beam-glow)}
#flows .beam-tail-core{fill:none;stroke:#f0ffff;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}

/* Exhibition layout: data beside the title, legend beside the mode controls. */
header{height:112px;gap:18px;padding:0 24px}
.site-title{flex-shrink:0}
header .brand{width:clamp(120px,10vw,230px)}
header h1{font-size:clamp(20px,1.55vw,32px)}
header .overview{position:static;flex:1;min-width:0;width:auto;display:flex;align-items:center;gap:20px;padding:12px 18px;box-shadow:none}
.overview-heading{display:block;flex:0 0 auto}
.overview-heading h2{font-size:15px}
.overview-heading span{display:block;margin-top:8px;font-size:12px}
#metrics{flex:1;margin:0;gap:18px}
.metric span{font-size:14px;white-space:nowrap}
.metric strong{font-size:24px;margin-top:4px}
.metric small{font-size:12px}
.metric svg{height:18px;margin-top:3px}
.header-end{gap:12px;flex-shrink:0;margin-left:0}
main{height:calc(100dvh - 112px)}
.controls{justify-content:flex-start}
.controls .legend{position:static;flex-shrink:0;flex-direction:row;gap:18px;background:transparent;padding:8px 4px;font-size:14px}
.legend[hidden]{display:none}
.controls .actions{margin-left:auto}
.stage{isolation:isolate}
.scene{width:min(100%,calc((100dvh - 200px)*1672/941));aspect-ratio:1672/941}
@media(min-width:2200px){header{height:144px;gap:30px;padding:0 40px}main{height:calc(100dvh - 144px)}header .overview{gap:32px;padding:16px 28px}.overview-heading h2{font-size:22px}.overview-heading span,.metric span{font-size:18px}.metric strong{font-size:34px}.metric svg{height:24px}.controls .legend{font-size:20px;gap:24px}.scene{width:min(100%,calc((100dvh - 254px)*1672/941))}}
@media(max-width:1450px) and (min-width:1051px){header{gap:12px;padding:0 18px}header .overview{gap:12px;padding:10px 12px}.overview-heading{display:none}#metrics{gap:12px}.demo{display:none}.controls{padding:12px 18px;gap:12px}.controls button{padding:0 14px}.controls .legend{gap:10px;font-size:13px}}
@media(max-width:1050px){header{height:auto;min-height:150px;flex-wrap:wrap;padding:12px 18px;gap:12px}.header-end{margin-left:auto}header .overview{order:5;flex-basis:100%;padding:8px 12px;gap:20px}.overview-heading{display:block}.overview-heading h2{font-size:14px}.overview-heading span{font-size:12px}main{height:calc(100dvh - 170px)}.scene{width:min(100%,calc((100dvh - 320px)*1672/941))}.controls .actions{margin-left:0}.controls{justify-content:center}.controls .legend{font-size:14px}}
@media(max-width:650px){header{gap:10px}header .brand{width:100px}header h1{font-size:17px}header .overview{display:block}.overview-heading{display:flex;justify-content:space-between}.overview-heading span{margin:0}.overview-heading h2{font-size:13px}#metrics{margin-top:8px;gap:8px}.metric span{font-size:12px}.metric strong{font-size:20px}.metric svg{height:16px}main{height:auto;min-height:calc(100dvh - 194px)}.stage{min-height:0;padding:0;aspect-ratio:1672/941}.scene{width:100%;overflow:hidden}.controls .legend{width:100%;justify-content:center}.controls .actions{margin:0}.controls{gap:10px}.mode-tabs{order:0}.legend{order:1}.actions{order:2}}
/* The extended panorama fills the stage; image and overlays share one coordinate space. */
.scene{aspect-ratio:1983/793;max-width:none}
.scene>img{object-fit:fill}
.wind-rotor-distant{left:76.2481%;top:21.9420%;width:3.5%;--period:17s;--phase:-5s}
.wind-rotor-far{left:78.5678%;top:18.2850%;width:4.5%}
.wind-rotor-middle{left:82.7534%;top:17.0240%;width:6%}
.wind-rotor-near{left:86.334%;top:15.6368%;width:6.6%}
@media(max-width:650px){.stage{aspect-ratio:1983/793}}

/* Shared rows keep the heading, metric labels, values and sparklines aligned. */
header .overview{display:grid;grid-template-columns:max-content repeat(4,minmax(0,1fr));grid-template-rows:auto auto;column-gap:24px;row-gap:8px;align-items:center;padding-top:16px;padding-bottom:16px}
header .overview-heading,header #metrics,header .metric{display:contents}
header .overview-heading h2{grid-column:1;grid-row:1;line-height:1.4;margin:0}
header .overview-heading>span{grid-column:1;grid-row:2;margin:0;line-height:1.5;align-self:center}
header .metric>span{grid-row:1;line-height:1.4;align-self:center}
header .metric-reading{grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
header .metric:nth-child(1)>*{grid-column:2}
header .metric:nth-child(2)>*{grid-column:3}
header .metric:nth-child(3)>*{grid-column:4}
header .metric:nth-child(4)>*{grid-column:5}
header .metric strong{flex-shrink:0;line-height:1.2;margin:0;white-space:nowrap}
header .metric svg{flex:0 1 76px;width:38%;min-width:28px;height:28px;margin:0;overflow:visible}
.controls .legend i{--legend-glow:#78eaff;display:block;position:relative;flex:none;width:22px;height:3px;border-radius:999px;background:#e8ffff;box-shadow:0 0 4px var(--legend-glow),0 0 9px var(--legend-glow),0 0 17px var(--legend-glow)}
.controls .legend span+span i{--legend-glow:#ffd087;background:#fff3d4}
@media(min-width:2200px){header .overview{column-gap:32px;row-gap:12px}header .metric svg{flex-basis:100px;height:34px}.controls .legend i{width:30px;height:3px}}
@media(min-width:1051px) and (max-width:1600px){header .overview{column-gap:14px}header .overview-heading h2{font-size:14px}header .overview-heading>span{font-size:11px}header .metric-reading{gap:5px}header .metric strong{font-size:22px}header .metric svg{height:24px}}
@media(max-width:1050px){header .overview{column-gap:14px;row-gap:7px}header .metric-reading{gap:6px}header .metric svg{height:22px}}
@media(max-width:650px){header .overview{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto auto;padding:10px 12px;gap:8px}header .overview-heading h2{grid-column:1/3;grid-row:1}header .overview-heading>span{grid-column:3/5;grid-row:1;font-size:10px;text-align:right}header .metric>span{grid-row:2}header .metric-reading{grid-row:3;flex-wrap:wrap;gap:4px}header .metric:nth-child(1)>*{grid-column:1}header .metric:nth-child(2)>*{grid-column:2}header .metric:nth-child(3)>*{grid-column:3}header .metric:nth-child(4)>*{grid-column:4}header .metric svg{flex-basis:100%;width:100%;height:20px}}

/* Compact metric groups with consistent spacing and a separate title area. */
header .overview{grid-template-columns:max-content repeat(4,minmax(0,1fr));column-gap:clamp(24px,2.2vw,60px);padding:18px clamp(24px,2vw,48px)}
header .metric-reading{justify-content:flex-start;gap:12px}
header .metric svg{flex:0 1 64px;width:64px;min-width:28px;height:26px}
header #fullscreen{display:grid;place-items:center;width:56px;height:56px;min-height:56px;padding:0;font-size:26px;line-height:1}
header #fullscreen span{display:block}
.hotspot{background:rgba(8,37,52,.76);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);color:#fff;text-shadow:0 1px 3px #001018a6}
.hotspot:hover{background:rgba(7,68,82,.9)}
@media(min-width:2200px){header .metric-reading{gap:16px}header .metric svg{flex-basis:84px;width:84px;height:34px}header #fullscreen{width:68px;height:68px;min-height:68px;font-size:32px}}
@media(min-width:1051px) and (max-width:1600px){header .overview{column-gap:22px;padding:16px 22px}header .metric-reading{gap:8px}header .metric svg{flex-basis:46px;width:46px;height:24px}}
@media(max-width:1050px){header .overview{column-gap:22px;padding:12px 20px}header .metric-reading{gap:8px}header .metric svg{flex-basis:48px;width:48px;height:24px}}
@media(max-width:650px){header .overview{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;padding:12px}header .metric-reading{gap:4px}header .metric svg{flex-basis:100%;width:100%;height:20px}header #fullscreen{width:44px;height:44px;min-height:44px;font-size:24px}}

/* Five equally spaced header groups and silver frosted scene controls. */
header .overview{grid-template-columns:repeat(5,minmax(0,1fr))}
header .metric svg{min-width:0}
.hotspot{background:rgba(238,244,249,.78);border:1px solid rgba(255,255,255,.85);color:#071b29;text-shadow:none;backdrop-filter:blur(14px) saturate(.75);-webkit-backdrop-filter:blur(14px) saturate(.75);box-shadow:inset 0 1px 0 #ffffffb3,0 5px 18px #001b3330;font-weight:600;transition:opacity .2s,background .2s,box-shadow .2s}
.hotspot:hover{background:rgba(246,250,253,.92);color:#071b29;box-shadow:inset 0 1px 0 #fff,0 6px 22px #001b3338}
.hotspot:before{background:#237c85}
.hotspot[data-group="hydrogen"]:before{background:#a16a16}
.hotspot:focus-visible{outline-color:#071b29}
@media(max-width:650px){header .overview{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* More transparent, shorter scene labels with fully opaque text. */
.hotspot{min-height:36px;padding:5px 13px;line-height:1.35;background:rgba(238,244,249,.46);border-color:rgba(255,255,255,.6);backdrop-filter:blur(8px) saturate(.85);-webkit-backdrop-filter:blur(8px) saturate(.85);box-shadow:inset 0 1px 0 #ffffff70,0 3px 12px #001b3326;text-shadow:0 1px 2px #ffffff55}
.hotspot:hover{background:rgba(246,250,253,.58)}
dialog#details{width:min(640px,calc(100% - 48px));bottom:auto;max-height:calc(100dvh - 150px);padding:30px 34px}
.detail-intro{display:grid;grid-template-columns:minmax(0,1fr) 36%;gap:22px;align-items:center;margin:8px 0 20px}
.detail-heading{min-width:0}
#detail-title{padding:0;font-size:30px;line-height:1.4}
#detail-subtitle{margin-bottom:0}
#detail-image{display:block;width:100%;height:156px;object-fit:contain;background:transparent;border-radius:0;margin:0}
#detail-description{margin:0;line-height:1.9}
.detail-more-row{display:flex;justify-content:flex-end;margin:10px 0 0}
.detail-more-row[hidden]{display:none}
#detail-more{display:inline-flex;align-items:center;min-height:44px;color:#00bfc5;text-decoration:underline;text-underline-offset:4px;font-size:18px;border-radius:4px;padding:3px 0}
#detail-more:hover{color:#6ce9e5}
#detail-more:focus-visible{outline:2px solid #6ce9e5;outline-offset:4px}
#detail-facts{margin:18px 0 26px}
@media(min-width:2200px){.hotspot{min-height:44px;padding:7px 17px}dialog#details{width:850px;padding:40px 44px;max-height:calc(100dvh - 185px)}#detail-title{font-size:40px}#detail-subtitle{font-size:21px}#detail-image{height:210px}#detail-more{font-size:24px}.detail-intro{gap:28px}}
@media(max-width:1050px){.hotspot{min-height:32px;padding:4px 9px}}
@media(max-width:650px){.hotspot{min-height:30px;padding:3px 6px}dialog#details{width:calc(100% - 32px);right:16px;top:20px;padding:25px;max-height:calc(100dvh - 40px)}.detail-intro{gap:12px;grid-template-columns:minmax(0,1fr) 34%}#detail-title{font-size:24px}#detail-image{height:110px}#detail-subtitle{font-size:14px}}

/* Full-viewport exhibition scene; former header and footer are not displayed. */
body{height:100dvh;overflow:hidden}
body>header,main>.controls{display:none}
main{height:100dvh;min-height:0;width:100%;margin:0}
main>.stage{height:100%;min-height:0;flex:1;aspect-ratio:auto;padding:0;align-items:center}
body>#fullscreen{position:fixed;right:22px;top:18px;z-index:8;display:grid;place-items:center;width:52px;height:52px;min-height:52px;padding:0;border:0;border-radius:0;background:transparent;color:#071b29;box-shadow:none;font-size:30px;line-height:1}
body>#fullscreen:hover,body>#fullscreen:active{background:transparent;color:#174c62}
body>#fullscreen span{display:block}
body>#fullscreen:focus-visible{outline:2px solid #071b29;outline-offset:2px}
.hotspot{background:rgba(238,244,249,.32);border-color:rgba(255,255,255,.48);backdrop-filter:blur(6px) saturate(.9);-webkit-backdrop-filter:blur(6px) saturate(.9);box-shadow:inset 0 1px 0 #ffffff40,0 3px 12px #001b331c;color:#071b29;text-shadow:0 1px 3px #ffffff90}
.hotspot:hover{background:rgba(246,250,253,.44)}
dialog#details{top:80px;max-height:calc(100dvh - 104px)}
@media(min-width:2200px){body>#fullscreen{right:32px;top:24px;width:64px;height:64px;font-size:38px}dialog#details{top:104px;max-height:calc(100dvh - 136px)}}
@media(max-width:650px){body>#fullscreen{right:12px;top:12px;width:44px;height:44px;min-height:44px;font-size:26px}dialog#details{top:64px;max-height:calc(100dvh - 80px)}}

/* Fit the entire panorama inside a 16:9 presentation frame without cropping. */
main{display:flex;align-items:center;justify-content:center;background:#dbe7ef}
main>.stage{flex:none;width:min(100vw,calc(100dvh * 16 / 9));height:auto;aspect-ratio:16/9;max-height:100dvh;background:#dbe7ef;overflow:hidden}
.scene>img{object-fit:contain}

/* Sky and foreground are part of the new 16:9 artwork. */
.scene{aspect-ratio:16/9}
.scene-overlays{position:absolute;left:0;top:13.8151%;width:100%;height:71.0946%}
.scene>img{object-fit:contain}

/* Supplied exhibition artwork: proportional 16:9 framing. */
.scene>img{object-fit:cover;object-position:center}
/* The supplied artwork already includes complete turbine blades. */
.wind-rotors{display:none}

/* A 50-second day/night cycle; only the clear upper sky drifts. */
.night-scene{position:absolute;inset:0;pointer-events:none;opacity:0}
.night-scene>img{width:100%;height:100%;display:block;object-fit:cover}
.scene.cycle-ready .night-scene{animation:day-night-cycle 50s linear infinite}
.sky-drift{position:absolute;left:-12%;top:0;width:124%;height:8%;pointer-events:none;background-repeat:no-repeat;background-position:center top;background-size:100% auto;mask-image:linear-gradient(#000 0%,#000 45%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 45%,transparent 100%);animation:cloud-drift 22s linear infinite alternate;will-change:transform}
.day-clouds{background-image:url('assets/campus-current.png')}
.night-clouds{background-image:url('assets/campus-night.png')}
.scene-overlays{z-index:2}
@keyframes cloud-drift{from{transform:translateX(-9%)}to{transform:translateX(9%)}}
@keyframes day-night-cycle{0%,20%,100%{opacity:0}45%,70%{opacity:1}95%{opacity:0}}
body>#fullscreen{filter:drop-shadow(0 0 2px #ffffffcc)}
@media(prefers-reduced-motion:reduce){.sky-drift,.scene.cycle-ready .night-scene{animation:none}}

/* Clean only the distant turbine area; preserve the supplied campus artwork. */
.turbine-clean-plate{position:absolute;inset:0;background-size:100% 100%;pointer-events:none;clip-path:polygon(60% 10%,100% 10%,100% 34%,60% 34%);mask-image:linear-gradient(transparent 10%,#000 12%,#000 32%,transparent 34%);-webkit-mask-image:linear-gradient(transparent 10%,#000 12%,#000 32%,transparent 34%)}
.day-plate{background-image:url('assets/turbine-plate-day.png')}
.night-plate{background-image:url('assets/turbine-plate-night.png')}
.live-infrastructure{position:absolute;inset:0;pointer-events:none;z-index:1}
.live-rotor{position:absolute;aspect-ratio:1;transform:translate(-50%,-50%) scaleX(.83)}
.live-rotor svg{display:block;width:100%;height:100%;fill:#c2c8cd;stroke:#818d98;stroke-width:.65;animation:live-spin var(--speed) linear infinite;animation-delay:var(--offset);transform-origin:50% 50%}
.scene.cycle-ready .live-infrastructure{animation:infrastructure-light 50s linear infinite}
.tower-beacon{position:absolute;width:2px;height:2px;transform:translate(-50%,-50%);border-radius:50%;background:#ff4138;box-shadow:0 0 2px 0 #ff342f,0 0 3px 0 #ff201a50;animation:beacon-flash 2.4s ease-in-out infinite;animation-delay:var(--offset)}
@keyframes live-spin{to{transform:rotate(360deg)}}
@keyframes beacon-flash{0%,12%,70%,100%{opacity:.08}30%,48%{opacity:1}}
@keyframes infrastructure-light{0%,20%,95%,100%{filter:brightness(1)}45%,70%{filter:brightness(.7)}}
@media(prefers-reduced-motion:reduce){.live-rotor svg,.tower-beacon,.scene.cycle-ready .live-infrastructure{animation:none}}

.scene>#fullscreen{position:absolute;right:1.1%;top:2%;z-index:8;display:grid;place-items:center;width:clamp(36px,2.9vw,64px);height:clamp(36px,2.9vw,64px);min-height:0;padding:0;border:0;border-radius:6px;background:transparent;color:#071b29;box-shadow:none;font-size:clamp(22px,1.8vw,38px);line-height:1;filter:drop-shadow(0 0 2px #ffffffcc)}.scene>#fullscreen:hover,.scene>#fullscreen:active{background:#ffffff40;color:#174c62}.scene>#fullscreen span{display:block}.scene>#fullscreen:focus-visible{outline:2px solid #071b29;outline-offset:2px}
#detail-title{text-wrap:balance}
#detail-image.inset{width:calc(100% - 36px);margin-right:36px}
.detail-intro.img-wide{grid-template-columns:minmax(0,1fr) 48%}
#detail-subtitle:empty{display:none}

/* All equipment dialogs: subtitle is two 2px steps above body text. */
#detail-subtitle{font-size:22px;font-weight:700;line-height:1.4;margin:4px 0 0;color:#28768d}
@media(min-width:2200px){#detail-subtitle{font-size:28px}}

/* Low-voltage solution: single-line headings beside the equipment image. */
dialog#details[data-equipment="aurosi96"]{width:min(780px,calc(100% - 48px))}
#details[data-equipment="aurosi96"] .detail-intro{grid-template-columns:minmax(0,1fr) 22%;gap:22px;align-items:center}
#details[data-equipment="aurosi96"] #detail-title,
#details[data-equipment="aurosi96"] #detail-subtitle{white-space:nowrap;text-wrap:nowrap}
#details[data-equipment="aurosi96"] #detail-image{width:100%;justify-self:center;transform:translateX(-24px)}
@media(max-width:650px){
 dialog#details[data-equipment="aurosi96"]{width:calc(100% - 32px)}
 #details[data-equipment="aurosi96"] .detail-intro{gap:12px}
 #details[data-equipment="aurosi96"] #detail-title{font-size:clamp(10px,3vw,24px)}
 #details[data-equipment="aurosi96"] #detail-subtitle{font-size:clamp(8px,2.15vw,22px)}
}

/* Match the vertically centered title area used by other equipment dialogs. */
#details[data-equipment="aurosi96"] .detail-heading{min-height:156px;display:flex;flex-direction:column;justify-content:center}
@media(min-width:2200px){#details[data-equipment="aurosi96"] .detail-heading{min-height:210px}}
@media(max-width:650px){#details[data-equipment="aurosi96"] .detail-heading{min-height:110px}}

@media(min-width:2200px){dialog#details[data-equipment="aurosi96"]{width:1000px}}

@media(max-width:650px){#details[data-equipment="aurosi96"] #detail-image{transform:translateX(-8px)}}

#details[data-equipment="gridlink"] #detail-title{white-space:nowrap;text-wrap:nowrap}
@media(max-width:650px){#details[data-equipment="gridlink"] #detail-title{font-size:clamp(14px,3.8vw,24px)}}

/* Compact two-line label for the low-voltage storage button. */
.hotspot[data-id="aurosi96"]{width:max-content;max-width:none;justify-content:center;text-align:center;line-height:1.35;padding:7px 12px}
.hotspot[data-id="aurosi96"] span{display:block;text-align:center;white-space:nowrap}

/* Keep a comfortable gap between the gas generator description and return button. */
#details[data-equipment="gasgenerator"] #detail-done{margin-top:32px}
#detail-facts:empty{display:none}
