/* [INPUT] projects.css 的欄位與釘選、county-map.css 的選案樣式。
   [OUTPUT] 聯上豐實的嵌入圖面與操作按鈕。[POS] 只補充合作建案的 3D 舞台。
   [PROTOCOL]: Update this header on change, then check AGENTS.md */
.ww-story .projects-eyebrow a,.ww-story .ww-evidence a { color:inherit;text-underline-offset:3px; }
.ww-story .county-map-choices { margin:0 0 8px; }
.ww-story .county-map-choice[aria-current=page] { background:var(--jys-color-brand);color:var(--jys-color-surface); }
.ww-story .ww-visual figure { margin:0; }
.ww-stage { height:clamp(290px,54vh,640px);position:relative;isolation:isolate;overflow:hidden;background:#f5f3ec; }
.ww-stage .ww-poster,.ww-stage iframe { display:block;width:100%;height:100%;position:absolute;inset:0;border:0; }
.ww-stage .ww-poster { object-fit:contain; }
.ww-stage .ww-poster[hidden] { display:none; }
.ww-stage iframe { opacity:0;pointer-events:none; }
.ww-stage iframe.is-ready { opacity:1; }
.ww-visual.is-interactive iframe { pointer-events:auto; }
.ww-visual figcaption { display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;border-bottom:1px solid var(--jys-color-field-border);color:var(--jys-color-muted);font-size:13px; }
.ww-actions { display:flex;align-items:center;gap:14px; }
.ww-locate,.ww-orbit,.ww-evidence summary { cursor:pointer;touch-action:manipulation; }
.ww-locate,.ww-orbit { font:inherit;color:var(--jys-color-brand);background:none;border:0;min-height:44px;padding:0 3px;text-decoration:underline;text-underline-offset:4px; }
.ww-effects { display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--jys-color-brand);font-size:13px; }
.ww-effects[hidden],.ww-effects [hidden] { display:none; }
.ww-effects button { min-height:38px;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer; }
.ww-effects [data-ww=clock] { font-variant-numeric:tabular-nums; }
.ww-story .ww-evidence { font-size:13px;color:var(--jys-color-muted); }
.ww-evidence summary { padding:8px 0; }.ww-evidence a { display:inline-block;margin-right:12px;padding:6px 0; }
.ww-story .ww-ending { display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end;max-width:1388px;margin:18px auto 0; }
.ww-story .projects-step { scroll-margin-top:18vh; }
@media(max-width:1000px) {
 .ww-story .ww-visual { padding-top:4px; }.ww-story .county-map-choices { margin-bottom:4px; }
 .ww-stage { height:clamp(160px,33svh,365px); }.ww-story .ww-ending { padding-bottom:28px; }
 .ww-visual figcaption { border:0; }.ww-story .projects-step:last-child { min-height:58vh; }
}
@media(max-height:520px) {
 .ww-stage { height:35vh;min-height:105px; }.ww-story .ww-visual { top:0; }
}
@media(max-width:1000px) {
 .ww-story .ww-steps .projects-step { justify-content:flex-start;padding-top:24px;min-height:52svh;scroll-margin-top:calc(clamp(160px,33svh,365px) + 108px); }
}
