.hc3d-frame{position:relative;width:100%;height:100%;min-height:180px;overflow:hidden;border-radius:12px;background:#eff6f5}
.hc3d-fallback,.hc3d-live{position:absolute;inset:0;width:100%;height:100%}
.hc3d-fallback svg{width:100%;height:100%;display:block}
.hc3d-static,.hc3d-static svg{display:block;width:100%;height:100%}
.hc3d-fallback-controls{position:absolute;top:5px;right:5px;z-index:3;display:flex;align-items:center;gap:4px}
.hc3d-fallback-controls span{padding:4px 6px;border-radius:6px;background:#ffffffe8;color:#17444a;font-size:14px;font-weight:700}
.hc3d-fallback-controls button{min-height:44px;padding:6px 9px;border:2px solid var(--topic-accent,#009bad);border-radius:9px;color:#17444a;background:#fff;font-size:14px;font-weight:700}
.hc3d-frame:has(canvas):not(.hc3d-unavailable) .hc3d-fallback{visibility:hidden}
.hc3d-frame:not(:has(canvas)) .hc3d-live,.hc3d-frame.hc3d-unavailable .hc3d-live{visibility:hidden;pointer-events:none}
.hc3d-frame.hc3d-unavailable .hc3d-fallback{visibility:visible}
.hc3d-widget,.hc3d-view,.hc3d-view>div,.hc3d-view>div>div{display:block!important;position:relative;width:100%!important;height:100%!important;min-height:0!important;padding:0!important}
.hc3d-view canvas{touch-action:none}
.hc3d-controls{position:absolute!important;top:5px;right:5px;z-index:3;display:flex!important;gap:4px;width:auto!important;height:auto!important}
.hc3d-controls>span{align-self:center;padding:4px 6px;border-radius:6px;background:#ffffffe8;color:#17444a;font-size:14px;font-weight:700}
.hc3d-controls button{min-height:44px;min-width:44px;padding:6px 9px;border:2px solid var(--topic-accent,#009bad);border-radius:9px;color:#17444a;background:#fff;font-size:14px;font-weight:700}
.hc3d-controls button[aria-pressed=true]{background:var(--topic-pale,#cceff2)}
.hc3d-controls .hc3d-reset{display:inline-flex;align-items:center;justify-content:center;width:44px;padding:6px}
.hc3d-city-key{position:absolute!important;right:5px;bottom:5px;display:flex!important;align-items:center;gap:4px;width:auto!important;height:auto!important;max-width:48%;padding:3px 6px!important;border-radius:5px;background:#ffffffe8;color:#17444a;font-size:11px;line-height:1.2}
.hc3d-city-key i{display:inline-block;flex:none;width:11px;height:11px;border:1px solid #08718a;background:#58b3cb}
.hc3d-city-key .hc3d-home-key{color:#e55246;font-size:14px;line-height:1}
.hc3d-city-key .hc3d-plume-key{color:#d88c60;font-size:14px;line-height:1}
.hc3d-status{position:absolute;inset:0;margin:0;padding:18px;color:#536b65}
.hc3d-frame:has(canvas):not(.hc3d-unavailable) .hc3d-status{display:none}
.hc3d-city{width:100%;max-width:100%;margin:6px 0}
.hc3d-city summary{cursor:pointer;min-height:44px;padding:10px 14px;border:2px solid var(--topic-accent,#009bad);border-radius:12px;color:var(--topic-ink,#17444a);font-weight:700}
.hc3d-city .hc3d-frame,.hc3d-question .hc3d-frame{height:clamp(190px,29dvh,290px)}
.geo-session .hc3d-question{height:clamp(170px,23dvh,210px);min-height:170px;max-height:none;flex:0 0 auto}
.geo-session .hc3d-question .hc3d-frame{height:100%;min-height:0}
.hc3d-frame:has(canvas):not(.hc3d-unavailable)::after{content:'拖動旋轉 · 雙指縮放';position:absolute;left:6px;bottom:5px;max-width:48%;padding:2px 5px;color:#385a5e;background:#ffffffe8;border-radius:5px;font-size:11px;line-height:1.2;pointer-events:none}
html[lang="en"] .hc3d-frame:has(canvas):not(.hc3d-unavailable)::after{content:'Drag to rotate · pinch to zoom'}
@media(max-height:700px){.hc3d-city .hc3d-frame,.hc3d-question .hc3d-frame{height:160px}}
