/*!
 * 八大場域 — 樣式（沿用 continentalcoatings.com 的品牌色票）
 * 所有 class 以 rs- 開頭，避免與平台樣式衝突；色彩皆可用 CSS 變數覆寫。
 */
.rs {
  --rs-ink-strong: #161616;
  --rs-ink: #262421;
  --rs-ink-2: #4a4744;
  --rs-muted: #877a66;
  --rs-subtle: #a2947f;
  --rs-line: #e0dbd2;
  --rs-line-2: #cfc7b7;
  --rs-surface: #ffffff;
  --rs-bg: #faf8f4;
  --rs-sunken: #f5f2ec;
  --rs-muted-bg: #efebe3;
  --rs-band: #e9e4da;
  --rs-gilt: #a9854f;
  --rs-gilt-l: #c6a878;
  --rs-gilt-xl: #e6d2ae;
  --rs-gilt-bg: #f7eedb;
  --rs-charcoal: #1d1b19;
  --rs-radius: 2px;
  --rs-stage-h: clamp(540px, 74vh, 860px);
  --rs-dot: 26px;
  --rs-font: "DFUDGothicTC13-W4", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;

  font-family: var(--rs-font);
  color: var(--rs-ink);
  background: var(--rs-bg);
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px clamp(16px, 3vw, 40px) 48px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
}
.rs[data-lang="cn"] { --rs-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.rs[data-lang="en"] { --rs-font: "Noto Sans TC", "Helvetica Neue", Arial, system-ui, sans-serif; }
.rs *, .rs *::before, .rs *::after { box-sizing: border-box; }
.rs button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.rs a { -webkit-tap-highlight-color: transparent; }
.rs [hidden] { display: none !important; }
.rs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 鍵盤焦點：統一用金色細框 */
.rs :focus-visible { outline: 2px solid var(--rs-gilt); outline-offset: 2px; }
.rs :focus:not(:focus-visible) { outline: none; }

/* ---------- 標題 ---------- */
.rs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.rs-eyebrow { font-size: 12px; letter-spacing: .28em; color: var(--rs-gilt); margin-bottom: 12px; }
.rs-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; letter-spacing: .06em; line-height: 1.3; margin: 0 0 10px; color: var(--rs-ink-strong); }
.rs[data-lang="en"] .rs-title { letter-spacing: .01em; }
.rs-lead { margin: 0; max-width: 46em; color: var(--rs-muted); font-size: 15px; line-height: 1.8; }
.rs-lang { display: flex; border: 1px solid var(--rs-line-2); flex: none; background: var(--rs-surface); }
.rs-lang button { background: transparent; border: 0; padding: 8px 14px; min-height: 36px; font-size: 13px; cursor: pointer; color: var(--rs-ink-2); letter-spacing: .04em; transition: background .2s, color .2s; }
.rs-lang button + button { border-left: 1px solid var(--rs-line-2); }
.rs-lang button.is-on { background: var(--rs-charcoal); color: #fff; }
.rs-lang button:not(.is-on):hover { background: var(--rs-muted-bg); }
.rs-lang button:focus-visible { outline-offset: -4px; }
.rs-lang button.is-on:focus-visible { outline-color: var(--rs-gilt-l); }

/* ---------- 分頁 ---------- */
.rs-tabs { border-bottom: 1px solid var(--rs-line); margin-bottom: 28px; position: relative; }
.rs-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; }
.rs-tabs-in::-webkit-scrollbar { display: none; }
/* 還有分頁在畫面外時，邊緣淡出提示可左右捲動 */
.rs-tabs.is-or .rs-tabs-in { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.rs-tabs.is-ol .rs-tabs-in { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.rs-tabs.is-ol.is-or .rs-tabs-in { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.rs-tab { flex: none; background: none; border: 0; padding: 12px 14px 14px; cursor: pointer; font-size: 15px; color: var(--rs-ink-2); position: relative; white-space: nowrap; letter-spacing: .04em; transition: color .2s; }
.rs-tab-no { font-size: 11px; color: var(--rs-gilt); margin-right: 6px; letter-spacing: .08em; }
.rs-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--rs-charcoal); transform: scaleX(0); transition: transform .3s ease; }
.rs-tab:hover { color: var(--rs-ink-strong); }
.rs-tab.is-on { color: var(--rs-ink-strong); }
.rs-tab.is-on::after { transform: scaleX(1); }
.rs-tab:focus-visible { outline-offset: -4px; }

/* ---------- 總覽 ---------- */
.rs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.rs-card { position: relative; text-align: left; background: var(--rs-surface); border: 1px solid var(--rs-line); padding: 0; margin: 0; cursor: pointer; display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s, transform .3s; }
.rs-card:hover { border-color: var(--rs-gilt-l); box-shadow: 0 18px 40px -24px rgba(38, 36, 33, .35); transform: translateY(-3px); }
.rs-card-art { aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 40%, #fdfcfa 0%, #f1ede5 70%, #e9e4da 100%); padding: 10px; overflow: hidden; }
.rs-thumb { width: 100%; height: 100%; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.rs-card:hover .rs-thumb { transform: scale(1.04); }
.rs-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--rs-line); }
.rs-card-no { font-size: 12px; color: var(--rs-gilt); letter-spacing: .12em; display: flex; gap: 10px; align-items: baseline; min-height: 1.5em; }
.rs-card-no span { color: var(--rs-subtle); font-size: 11px; letter-spacing: .16em; }
.rs-card-h { margin: 2px 0 0; font-size: 19px; font-weight: 500; line-height: 1.4; color: var(--rs-ink-strong); letter-spacing: .04em; }
.rs[data-lang="en"] .rs-card-h { letter-spacing: .01em; }
/* 整張卡片可點：按鈕的 ::after 撐滿卡片（標題仍是 h3，語意正確） */
.rs-card-go { background: none; border: 0; padding: 0; margin: 0; letter-spacing: inherit; text-align: left; cursor: pointer; }
.rs-card-go::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rs-card-go:focus-visible { outline: none; }
.rs-card-go:focus-visible::after { outline: 2px solid var(--rs-gilt); outline-offset: 2px; }
.rs-card p { margin: 0; font-size: 13px; color: var(--rs-muted); line-height: 1.7; flex: 1; }
.rs-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--rs-ink-2); margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--rs-line); }

/* ---------- 檢視器 ---------- */
.rs-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.rs-stage {
  position: relative; height: var(--rs-stage-h); overflow: hidden; overflow: clip; border: 1px solid var(--rs-line);
  background:
    radial-gradient(90% 70% at 50% 45%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f7f4ee 0%, #ece7de 100%);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab;
}
.rs-stage.is-drag { cursor: grabbing; }
.rs-stage.is-pointing { cursor: pointer; }
.rs-stage:focus { outline: none; }
.rs-stage:focus-visible { outline: 2px solid var(--rs-gilt); outline-offset: -2px; }
.rs-cam { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.rs-svgwrap, .rs-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.rs-stage-top { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.rs-sname { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; min-width: 0; background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--rs-line); padding: 8px 14px; }
.rs-sname-no { color: var(--rs-gilt); font-size: 12px; letter-spacing: .12em; }
.rs-sname-t { font-size: 17px; color: var(--rs-ink-strong); letter-spacing: .05em; }
.rs-sname-en { font-size: 11px; color: var(--rs-subtle); letter-spacing: .18em; }
.rs-legend { display: flex; flex: none; gap: 14px; font-size: 12px; color: var(--rs-ink-2); background: rgba(255, 255, 255, .84); border: 1px solid var(--rs-line); padding: 7px 12px; }
.rs-legend span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rs-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rs-lg-on { background: var(--rs-charcoal); }
.rs-lg-off { background: #fff; border: 1.5px dashed var(--rs-muted); }

.rs-ctrl { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.rs-ctrl button, .rs-scene-nav button {
  min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--rs-line-2); background: rgba(255, 255, 255, .92);
  cursor: pointer; font-size: 17px; line-height: 1; color: var(--rs-ink); transition: background .2s, color .2s, border-color .2s;
}
.rs-ctrl button[data-act="labels"] { font-size: 12px; letter-spacing: .04em; }
.rs-ctrl button[data-act="labels"].is-on { background: var(--rs-charcoal); color: #fff; border-color: var(--rs-charcoal); }
.rs-ctrl button:hover, .rs-scene-nav button:hover { background: var(--rs-muted-bg); border-color: var(--rs-subtle); }
.rs-ctrl button[data-act="labels"].is-on:hover { background: #000; }
.rs-scene-nav { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.rs-scene-nav button { font-size: 20px; }
.rs-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 12px; color: var(--rs-ink-2); letter-spacing: .06em;
  pointer-events: none; white-space: nowrap; background: rgba(255, 255, 255, .78); border: 1px solid rgba(224, 219, 210, .9); padding: 5px 12px;
  transition: opacity .4s ease;
}
.rs-stage.is-used .rs-hint { opacity: 0; }

.rs-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--rs-charcoal); color: #fff; padding: 8px 12px; font-size: 12px; display: flex; flex-direction: column; gap: 2px; max-width: 280px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); z-index: 5; }
.rs-tip b { font-weight: 500; font-size: 13px; }
.rs-tip span { color: var(--rs-gilt-xl); }

/* ---------- 標記點 ---------- */
.rs-pins { position: absolute; inset: 0; pointer-events: none; }
.rs-pin { position: absolute; left: 0; top: 0; pointer-events: auto; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; height: 0; }
.rs-pin-dot {
  flex: none; width: var(--rs-dot); height: var(--rs-dot); margin-left: calc(var(--rs-dot) / -2); border-radius: 50%; background: var(--rs-charcoal); color: #fff; font-size: 12px; font-weight: 500;
  display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 6px 14px -4px rgba(0, 0, 0, .45); position: relative; transition: background .25s, transform .25s, box-shadow .25s;
}
/* 觸控熱區至少 40px（圓點本身維持精巧） */
.rs-pin-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; }
.rs-pin-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--rs-gilt-l); opacity: 0; animation: rs-ping 2.4s ease-out infinite; }
.rs-pin.is-pending .rs-pin-dot { background: #fff; color: var(--rs-ink-2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), 0 4px 10px -4px rgba(0, 0, 0, .3); border: 1.5px dashed var(--rs-muted); }
.rs-pin.is-pending .rs-pin-dot::after { display: none; }
.rs-pin-lbl {
  margin-left: 8px; background: rgba(255, 255, 255, .94); border: 1px solid var(--rs-line); color: var(--rs-ink); font-size: 12px; padding: 4px 9px;
  white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); transition: opacity .25s, background .25s, color .25s; letter-spacing: .03em;
}
/* 標籤放左側（labelLeft 或靠右邊緣時自動翻轉；位移由 app.js 補上 translateX(-100%)） */
.rs-pin.is-left { flex-direction: row-reverse; }
.rs-pin.is-left .rs-pin-dot { margin-left: 0; margin-right: calc(var(--rs-dot) / -2); }
.rs-pin.is-left .rs-pin-lbl { margin-left: 0; margin-right: 8px; }
.rs-pin.is-wrap .rs-pin-lbl { white-space: normal; line-height: 1.4; text-overflow: clip; }
.rs-pins.no-labels .rs-pin:not(.is-hover):not(.is-sel) .rs-pin-lbl { opacity: 0; pointer-events: none; }
.rs-pins.has-sel .rs-pin:not(.is-sel):not(.is-hover) { opacity: .55; }
.rs-pin.is-hover, .rs-pin.is-sel, .rs-pin:focus-visible { z-index: 1; }
.rs-pin.is-hover .rs-pin-dot, .rs-pin:focus-visible .rs-pin-dot { transform: scale(1.12); }
.rs-pin.is-sel .rs-pin-dot { background: var(--rs-gilt); color: #fff; border-color: transparent; transform: scale(1.15); }
.rs-pin.is-sel .rs-pin-lbl, .rs-pin.is-hover .rs-pin-lbl { background: var(--rs-charcoal); color: #fff; border-color: var(--rs-charcoal); opacity: 1; }
.rs-pin:focus-visible { outline: none; opacity: 1 !important; }
.rs-pin:focus-visible .rs-pin-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rs-gilt), 0 6px 14px -4px rgba(0, 0, 0, .45); }
.rs-pin:focus-visible .rs-pin-lbl { opacity: 1; background: var(--rs-charcoal); color: #fff; border-color: var(--rs-charcoal); }
@keyframes rs-ping { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.9); } }

/* ---------- SVG 物件 ---------- */
.rs-svg .rs-o { transition: opacity .35s ease; }
.rs-svg [data-zone] { cursor: pointer; }
.rs-svg .rs-o > * { transition: fill .25s ease, stroke .25s ease; }
.rs-svg .rs-hl > [style*="--hl"]:not(.ln) { fill: var(--hl); stroke: var(--hl); }
.rs-svg .rs-hl > .ln { stroke: var(--hl); }
.rs-svg.rs-focus .rs-above .rs-o:not(.rs-hl),
.rs-svg.rs-focus .rs-below .rs-o[data-zone]:not(.rs-hl) { opacity: .3; }
.rs-svg.rs-focus .rs-shadows { opacity: .45; }
.rs-svg .rs-shadows { transition: opacity .35s ease; }
.rs-anim .rs-above .rs-o { animation: rs-rise .85s cubic-bezier(.2, .8, .25, 1) both; animation-delay: calc(var(--t) * 720ms); }
.rs-anim .rs-shadows { animation: rs-fade 1.2s ease .5s both; }
@keyframes rs-rise { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes rs-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 側欄 ---------- */
.rs-panel { background: var(--rs-surface); border: 1px solid var(--rs-line); height: var(--rs-stage-h); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rs-line-2) transparent; }
.rs-p-in { padding: 26px 26px 30px; overflow-wrap: break-word; }
.rs-p-eyebrow { font-size: 11px; letter-spacing: .2em; line-height: 1.6; color: var(--rs-gilt); margin-bottom: 10px; }
.rs-p-title { font-size: 25px; font-weight: 500; line-height: 1.35; margin: 0 0 12px; color: var(--rs-ink-strong); letter-spacing: .04em; }
.rs-p-title:focus { outline: none; }
.rs-p-desc { font-size: 14px; line-height: 1.85; color: var(--rs-ink-2); margin: 0 0 18px; }
.rs-p-h { font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--rs-muted); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rs-line); }
/* 英文：小標改大寫細字距，與 SPACE SOLUTIONS / SCENE 01 一致 */
.rs[data-lang="en"] .rs-p-h, .rs[data-lang="en"] .rs-p-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.rs[data-lang="en"] .rs-p-title { letter-spacing: .01em; }
.rs-back { background: none; border: 0; padding: 6px 0; margin: -6px 0 12px; color: var(--rs-muted); cursor: pointer; font-size: 13px; letter-spacing: .06em; }
.rs-back i, .rs-p-nav i { font-style: normal; }
.rs-back:hover { color: var(--rs-ink-strong); }

.rs-zlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rs-zitem { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rs-line); padding: 12px 4px; cursor: pointer; transition: background .2s; }
.rs-zitem:hover { background: var(--rs-sunken); }
.rs-zitem:focus-visible { outline-offset: -2px; }
.rs-zitem-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--rs-charcoal); color: #fff; font-size: 11px; }
.rs-zitem.is-pending .rs-zitem-n { background: #fff; color: var(--rs-ink-2); border: 1.5px dashed var(--rs-muted); }
.rs-zitem-t { font-size: 15px; line-height: 1.45; color: var(--rs-ink-strong); display: flex; flex-direction: column; gap: 3px; }
.rs-zitem-t small { font-size: 12px; line-height: 1.5; color: var(--rs-subtle); }
.rs-zitem-c { font-size: 12px; color: var(--rs-gilt); white-space: nowrap; }
.rs-zitem.is-pending .rs-zitem-c { color: var(--rs-subtle); }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip { font-size: 12px; padding: 6px 12px; border: 1px solid var(--rs-line-2); color: var(--rs-ink); text-decoration: none; transition: border-color .2s, background .2s; }
.rs-chip:hover { border-color: var(--rs-gilt); background: var(--rs-gilt-bg); }

.rs-needs { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-needs span { font-size: 12px; padding: 5px 11px; background: var(--rs-muted-bg); color: var(--rs-ink-2); letter-spacing: .04em; }
.rs-sys { margin-bottom: 18px; }
.rs-sys-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.rs-sys-h span { font-size: 14px; color: var(--rs-ink-strong); padding-left: 10px; border-left: 2px solid var(--rs-gilt); }
.rs-sys-h em { font-style: normal; font-size: 12px; color: var(--rs-subtle); }
.rs-sys.is-pending .rs-sys-h span { border-left-color: var(--rs-line-2); }
.rs-prods { display: flex; flex-direction: column; gap: 10px; }
.rs-prod { display: block; text-decoration: none; color: inherit; border: 1px solid var(--rs-line); padding: 14px 16px 12px; background: linear-gradient(180deg, #fff 0%, var(--rs-bg) 100%); transition: border-color .25s, box-shadow .25s; }
.rs-prod:hover { border-color: var(--rs-gilt-l); box-shadow: 0 12px 26px -20px rgba(38, 36, 33, .5); }
.rs-prod-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rs-prod-en { font-size: 11px; letter-spacing: .2em; color: var(--rs-gilt); min-width: 0; }
.rs-prod-no { font-size: 11px; color: var(--rs-subtle); letter-spacing: .06em; flex: none; }
.rs-prod-name { font-size: 16px; line-height: 1.45; color: var(--rs-ink-strong); margin: 4px 0 2px; letter-spacing: .03em; }
.rs-prod-tag { font-size: 12px; line-height: 1.6; color: var(--rs-muted); }
.rs-prod-why { font-size: 13px; line-height: 1.7; color: var(--rs-ink-2); margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--rs-line); }
.rs-prod-more { display: inline-flex; gap: 6px; font-size: 12px; color: var(--rs-ink); margin-top: 8px; letter-spacing: .06em; }
.rs-prod-more i { font-style: normal; transition: transform .25s; }
.rs-prod:hover .rs-prod-more i { transform: translateX(3px); }
.rs-pending { border: 1px dashed var(--rs-line-2); padding: 12px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--rs-sunken); }
.rs-pending b { font-weight: 500; font-size: 13px; color: var(--rs-ink-2); }
.rs-pending span { font-size: 12px; color: var(--rs-muted); line-height: 1.7; }
.rs-pending a { font-size: 12px; color: var(--rs-gilt); text-decoration: none; margin-top: 2px; padding: 2px 0; }
.rs-pending a i { font-style: normal; }
.rs-pending a:hover { text-decoration: underline; }
.rs-p-nav { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rs-line); }
.rs-p-nav button { background: none; border: 0; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--rs-muted); padding: 6px 0; max-width: 48%; text-align: left; }
.rs-p-nav button:last-child { text-align: right; margin-left: auto; }
.rs-p-nav button:hover { color: var(--rs-ink-strong); }

.rs-foot { margin-top: 28px; font-size: 11px; color: var(--rs-subtle); letter-spacing: .12em; text-align: right; }

/* 桌機側欄固定高度內捲：底部淡出提示還有內容 */
.rs-panel::after { content: ""; position: sticky; bottom: 0; display: block; height: 28px; margin-top: -28px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }

/* ---------- 截圖模式（?shot=1）：只顯示場景 ---------- */
.rs-shot { padding: 0; max-width: none; }
.rs-shot .rs-head, .rs-shot .rs-tabs, .rs-shot .rs-overview, .rs-shot .rs-panel, .rs-shot .rs-foot, .rs-shot .rs-hint { display: none !important; }
.rs-shot .rs-viewer { display: block; }
.rs-shot .rs-stage { height: 100vh; border: 0; }

/* ---------- 響應式 ----------
 * 斷點依「元件本身的寬度」而非視窗：app.js 依容器寬度加上 rs-lt1280 / rs-lt1080 / rs-lt860 / rs-lt640，
 * 嵌在平台較窄的內容欄時也會正確換版。 */
/* 八張卡片：4 欄 → 2 欄 → 1 欄，每列都排滿 */
.rs.rs-lt1280 .rs-grid { gap: 16px; }
.rs.rs-lt1280 .rs-card-body { padding: 16px 18px 18px; }
.rs.rs-lt1280 .rs-viewer { grid-template-columns: minmax(0, 1fr) 360px; }

.rs.rs-lt1080 .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs.rs-lt1080 .rs-viewer { grid-template-columns: minmax(0, 1fr); }
.rs.rs-lt1080 .rs-stage { height: auto; aspect-ratio: 4 / 3; max-height: 78vh; }
.rs.rs-lt1080 .rs-panel { height: auto; max-height: none; overflow: visible; }
.rs.rs-lt1080 .rs-panel::after { display: none; }

.rs.rs-lt860 .rs-grid { gap: 14px; }

.rs.rs-lt640 { padding-top: 24px; --rs-dot: 24px; }
.rs.rs-lt640 .rs-head { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 20px; position: relative; }
.rs.rs-lt640 .rs-head-l { min-width: 0; }
.rs.rs-lt640 .rs-eyebrow { line-height: 32px; margin-bottom: 8px; padding-right: 150px; }
.rs.rs-lt640 .rs-lang { position: absolute; top: 0; right: 0; }
.rs.rs-lt640 .rs-lang button { padding: 0 11px; min-height: 32px; font-size: 12px; }
.rs.rs-lt640 .rs-lead { font-size: 14px; line-height: 1.75; }
.rs.rs-lt640 .rs-tabs { margin: 0 -16px 20px; padding: 0 6px; }
.rs.rs-lt640 .rs-tab { padding: 11px 10px 13px; font-size: 14px; }
.rs.rs-lt640 .rs-tab::after { left: 10px; right: 10px; }
.rs.rs-lt640 .rs-grid { grid-template-columns: minmax(0, 1fr); }
.rs.rs-lt640 .rs-stage { aspect-ratio: 1 / 1.05; }
.rs.rs-lt640 .rs-stage-top { left: 12px; right: 12px; top: 12px; }
.rs.rs-lt640 .rs-sname { padding: 6px 12px; }
.rs.rs-lt640 .rs-sname-t { font-size: 15px; }
.rs.rs-lt640 .rs-legend, .rs.rs-lt640 .rs-hint, .rs.rs-lt640 .rs-sname-en { display: none; }
/* 控制鈕改成底部一列，不再遮住右側場景 */
.rs.rs-lt640 .rs-ctrl { flex-direction: row; right: 12px; bottom: 12px; gap: 4px; }
.rs.rs-lt640 .rs-scene-nav { left: 12px; bottom: 12px; gap: 4px; }
.rs.rs-lt640 .rs-ctrl button, .rs.rs-lt640 .rs-scene-nav button { min-width: 36px; height: 36px; padding: 0 8px; }
.rs.rs-lt640 .rs-pin-lbl { max-width: 62vw; }
.rs.rs-lt640 .rs-p-in { padding: 20px 18px 24px; }
.rs.rs-lt640 .rs-p-title { font-size: 22px; }
@media (hover: none) {
  .rs-card:hover { transform: none; box-shadow: none; border-color: var(--rs-line); }
  .rs-card:hover .rs-thumb { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rs *, .rs *::before, .rs *::after { animation: none !important; transition: none !important; }
}
.rs.rs-still *, .rs.rs-still *::before, .rs.rs-still *::after { animation: none !important; transition: none !important; }

/* 標記點落在場景名稱／圖例底下時，框變淡 */
.rs-sname, .rs-legend { transition: opacity .2s ease; }
.rs-sname.is-faded, .rs-legend.is-faded { opacity: .16; }
