/* TableHouse 作品頁的構造動畫區塊；不影響其他作品，3D 自身樣式由 iframe 載入。 */
.x4-structure-rail{display:flex;justify-content:space-between;gap:16px;margin-top:24px;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:12px 0;
  font-size:12px;color:var(--accent)}
.x4-structure-entry{margin:52px 0;padding:24px 0 16px;border-top:1px solid var(--ink);
  border-bottom:1px solid var(--rule);scroll-margin-top:calc(var(--head-h) + 24px)}
.x4-structure-entry:focus{outline:none}
.x4-structure-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;align-items:end;margin-bottom:24px}
.x4-structure-eyebrow{font-family:var(--en);font-size:9px;font-weight:600;letter-spacing:.16em;color:var(--muted)}
.x4-structure-copy h2{font-size:clamp(21px,2vw,28px);font-weight:500;line-height:1.4;margin:12px 0 0}
.x4-structure-copy p:not(.x4-structure-eyebrow){font-size:14px;line-height:1.9;max-width:38em;margin:0}
.x4-structure-copy .x4-structure-en{margin-top:8px!important;color:var(--muted);font-size:12px!important;line-height:1.85!important}
html[lang="en"] .x4-structure-copy .x4-structure-en{font-size:14px!important;color:var(--ink)}
/* 載入前先佔住接近實際的高度，載入後由導覽回報的實際高度取代（style.height）。
   導覽的版面看 iframe 自己的寬度：寬度 ≤740px 時改成上下堆疊，高度大約隨寬度線性增加
   （2026-10-25 實測，手機舞台改成桌機版面等比縮小後：350 寬 ≈1079、500 ≈1338、740 ≈1661；更寬的並排版面約 690）。 */
.x4-structure-viewer{container-type:inline-size;position:relative}
.x4-structure-loading{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;
  padding:24px;border:1px solid var(--rule);background:var(--paper,#f6f5ef);font-size:13px;color:var(--accent);
  text-align:center;text-decoration:underline;text-underline-offset:4px}
.x4-structure-viewer iframe{display:block;width:100%;height:692px;border:0;background:transparent}
.x4-structure-placeholder{display:flex;align-items:center;justify-content:center;gap:12px;height:692px;
  border:1px solid var(--rule);font-size:13px;color:var(--accent)}
@container (max-width:740px){
  .x4-structure-viewer iframe,.x4-structure-placeholder{height:calc(576px + 148cqw)}
}
.x4-structure-direct{display:inline-block;margin-top:12px;font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.x4-structure-entry a:focus-visible,.x4-structure-rail:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:767px){
  .x4-structure-entry{margin:36px 0;padding-top:18px}
  .x4-structure-copy{grid-template-columns:1fr;gap:12px;margin-bottom:16px}
  .x4-structure-copy h2{margin-top:8px}
}
