:root {
  color-scheme: dark;
  --canvas: #181a19;
  --stage: #222522;
  --surface: #292c29;
  --text: #edeee8;
  --muted: #a6aaa1;
  --faint: #737b71;
  --line: #393e36;
  --orange: #ff8000;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  font-family: "PingFang TC", "Noto Sans TC", "Heiti TC", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
button { transition: transform 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out; }
button:active { transform: scale(.96); }
button:disabled { cursor: wait; opacity: .45; }
svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; background: var(--orange); color: #181a19; z-index: 10; }
.skip-link:focus { top: 16px; }
.page-shell { width: min(1560px, 100%); margin-inline: auto; padding: 0 44px; }
.masthead { height: 87px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-numbers { color: var(--orange); font-family: "Arial Rounded MT Bold", "Arial Black", sans-serif; font-size: 36px; line-height: 1; font-weight: 900; letter-spacing: -2.5px; font-style: italic; }
.brand-text { font-size: 13px; letter-spacing: .05em; font-weight: 500; padding-top: 7px; }
.project-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.listing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-block: 29px 27px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .09em; margin: 0 0 11px; }
h1 { margin: 0; font-size: clamp(20px, 2.2vw, 31px); font-weight: 500; line-height: 1.4; letter-spacing: -.022em; text-wrap: balance; }
.heading-copy { min-width: 0; }
.source-link { display: inline-flex; align-items: center; gap: 17px; font-size: 12px; flex-shrink: 0; min-height: 40px; color: var(--muted); }
.source-link span { font-size: 22px; color: var(--orange); }
.media-workspace { overflow: hidden; border-radius: var(--radius-md); background: var(--stage); }
.media-bar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 22px; border-bottom: 1px solid var(--line); background: #20231f; }
.media-tabs { display: flex; height: 66px; gap: 31px; }
.media-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; color: #a2a69d; background: none; border: 0; padding: 0 2px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.media-tab.active { color: var(--text); }
.media-tab.active::after { content: ""; height: 2px; background: var(--orange); position: absolute; bottom: -1px; left: 0; right: 0; }
.media-tab.active svg { color: var(--orange); }
.tab-count { font: 10px "SFMono-Regular", Consolas, monospace; background: #343a31; padding: 2px 5px; border-radius: 3px; }
.tab-count:empty { display: none; }
.stage-marker { color: #858d80; font: 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; white-space: nowrap; padding-left: 12px; }
.media-stage { position: relative; height: clamp(340px, calc(100dvh - 335px), 650px); }
.media-panel { width: 100%; height: 100%; position: relative; }
.model-viewport { width: 100%; height: 100%; cursor: grab; }
.model-viewport:active { cursor: grabbing; }
.model-viewport canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.stage-corner-label { position: absolute; top: 25px; left: 28px; display: grid; grid-template-columns: 3px auto; column-gap: 9px; row-gap: 7px; color: #c9cec2; font-size: 11px; pointer-events: none; }
.orange-tick { background: var(--orange); width: 3px; height: 9px; align-self: center; }
.stage-subtitle { grid-column: 2; color: #818a79; font-size: 8px; font-family: "SFMono-Regular", Consolas, monospace; letter-spacing: .15em; }
.load-state { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin: 0; padding: 25px; color: var(--muted); text-align: center; font-size: 12px; pointer-events: none; }
.load-state strong { font-size: 15px; color: var(--text); font-weight: 500; }
.loading-ring { width: 32px; height: 32px; border: 1px solid #505947; border-top-color: var(--orange); border-radius: 50%; margin-bottom: 4px; animation: loading 1.2s linear infinite; }
.load-state.error .loading-ring { display: none; }
.view-controls { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); padding: 5px; display: flex; align-items: center; gap: 3px; background: #31362ef5; border: 1px solid #48503f; border-radius: var(--radius-md); box-shadow: 0 8px 24px #11130f33; }
.view-controls button { min-height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border: none; color: #d4dbcb; background: none; border-radius: var(--radius-sm); padding: 0 10px; font-size: 11px; white-space: nowrap; }
.view-controls button[aria-pressed="true"] { color: var(--orange); background: #45452f; }
.view-controls svg { width: 17px; height: 17px; }
.control-divider { width: 1px; height: 21px; background: #4a5143; margin-inline: 3px; }
.gesture-hint { position: absolute; left: 0; right: 0; bottom: 13px; margin: 0; text-align: center; font-size: 10px; color: #9ba490; pointer-events: none; }
.gesture-hint span { padding: 0 8px; color: #66705c; }
.mobile-hint { display: none; }
.evidence-note { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 11px 24px; font-size: 10px; color: var(--muted); background: #20231f; border-top: 1px solid var(--line); line-height: 1.8; }
.note-symbol { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; font-size: 9px; border: 1px solid #838a7c; border-radius: 50%; flex-shrink: 0; }
.evidence-note b { font-weight: 400; padding: 0 6px; color: #6b7460; }
.download-link { display: flex; gap: 13px; margin-left: auto; color: #c3c8bc; white-space: nowrap; min-height: 30px; align-items: center; padding-left: 18px; }
.download-link span { font-size: 15px; }
#tour-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #111310; }
.video-error { background: #171a16; }
.photos-panel { background: #171a16; display: flex; flex-direction: column; }
.photo-view { flex: 1; min-height: 0; position: relative; display: flex; justify-content: center; }
#active-photo { width: 100%; height: 100%; object-fit: contain; }
.photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: var(--text); background: #252a22ee; border: 1px solid #4e5944; height: 48px; width: 42px; border-radius: var(--radius-sm); font: 30px Arial, sans-serif; }
.photo-arrow:active { transform: translateY(-50%) scale(.96); }
.prev { left: 20px; }.next { right: 20px; }
.photo-caption { position: absolute; bottom: 14px; left: 20px; right: 20px; display: flex; justify-content: space-between; color: #e0e5d9; font-size: 11px; pointer-events: none; }
.photo-caption span { background: #20241ce8; padding: 7px 12px; border-radius: 3px; }
.photo-strip { display: flex; align-items: center; justify-content: flex-start; gap: 7px; overflow-x: auto; min-height: 86px; padding: 12px 20px; background: #23271f; scrollbar-width: thin; scrollbar-color: #5b6353 transparent; }
.photo-thumbnail { display: block; width: 78px; height: 58px; flex-shrink: 0; padding: 0; background: #32382c; border: 2px solid transparent; border-radius: 3px; overflow: hidden; opacity: .55; }
.photo-thumbnail.active { border-color: var(--orange); opacity: 1; }
.photo-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-panel { background: #d9dace; padding: 24px 24px 55px; }
#floor-plan { width: 100%; height: 100%; object-fit: contain; display: block; }
.plan-caption { position: absolute; left: 24px; right: 24px; bottom: 17px; margin: 0; font-size: 11px; color: #464d3e; display: flex; gap: 15px; justify-content: center; }
.plan-caption span { color: #6f7567; }
.plan-panel .load-state { color: #464d3e; }
.listing-details { display: flex; justify-content: space-between; gap: 50px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.detail-intro { max-width: 410px; }
.detail-intro .eyebrow { font-size: 10px; margin-bottom: 10px; }
#listing-summary { font-size: 12px; color: #c0c5b8; margin: 0; line-height: 1.8; text-wrap: pretty; }
.property-facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 35px; margin: 0; align-items: center; }
.property-facts dt { font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.property-facts dd { font-size: 16px; line-height: 1.5; font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.property-facts .price { color: var(--orange); }
.page-footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 26px; color: #788171; font-size: 9px; letter-spacing: .02em; line-height: 1.8; }
@keyframes loading { to { transform: rotate(360deg); } }
@media (hover:hover) {
  .view-controls button:hover { background: #48513e; color: var(--text); }
  .source-link:hover, .download-link:hover { color: var(--orange); }
  .media-tab:hover { color: var(--text); }
  .photo-thumbnail:hover { opacity: 1; }
  .photo-arrow:hover { background: #394332; }
}
@media (max-width: 1000px) {
  .page-shell { padding: 0 26px; }
  .property-facts { gap: 22px; }
  .listing-details { gap: 25px; }
  .detail-intro { max-width: 300px; }
  .stage-marker { display: none; }
}
@media (max-width: 720px) {
  .page-shell { padding: 0 16px; }
  .masthead { height: 70px; }
  .brand-numbers { font-size: 31px; }
  .brand-text { font-size: 11px; }
  .project-label { font-size: 10px; letter-spacing: .03em; }
  .listing-heading { gap: 12px; padding: 23px 0 20px; align-items: flex-start; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 21px; }
  .source-link { font-size: 0; gap: 0; min-width: 32px; justify-content: flex-end; margin-top: 22px; }
  .source-link span { font-size: 23px; }
  .media-bar { padding: 0 12px; min-height: 57px; }
  .media-tabs { width: 100%; justify-content: space-between; gap: 4px; height: 57px; }
  .media-tab { gap: 5px; font-size: 11px; }
  .media-tab svg { width: 16px; height: 16px; }
  .tab-count { display: none; }
  .media-stage { height: 60vh; max-height: 600px; min-height: 420px; }
  .stage-corner-label { top: 18px; left: 17px; font-size: 10px; }
  .view-controls { padding: 4px; gap: 1px; bottom: 49px; max-width: calc(100% - 20px); }
  .view-controls button { min-width: 35px; min-height: 40px; gap: 5px; padding: 0 8px; font-size: 10px; }
  .view-controls button span { display: none; }
  .view-controls #reset-view span, .view-controls #top-view span { display: inline; }
  .view-controls svg { width: 15px; height: 15px; }
  .gesture-hint { bottom: 19px; font-size: 9px; }
  .gesture-hint span { padding: 0 4px; }
  .desktop-hint { display: none; }
  .mobile-hint { display: block; }
  .control-divider { margin-inline: 1px; }
  .evidence-note { align-items: flex-start; padding: 12px 14px; gap: 7px; font-size: 9px; }
  .evidence-note b { padding: 0 3px; }
  .note-symbol { margin-top: 2px; }
  .download-link { display: none; }
  .listing-details { flex-direction: column; gap: 25px; padding: 24px 0; }
  .detail-intro { max-width: none; }
  .property-facts { justify-content: flex-start; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
  .property-facts dd { font-size: 16px; }
  .property-facts dt { margin-bottom: 6px; }
  .page-footer { flex-direction: column; gap: 2px; padding: 18px 0 24px; font-size: 9px; }
  .photo-arrow { height: 44px; width: 36px; }
  .prev { left: 8px; }.next { right: 8px; }
  .photo-caption { left: 9px; right: 9px; font-size: 10px; }
  .photo-strip { min-height: 74px; padding: 10px; }
  .photo-thumbnail { width: 67px; height: 50px; }
  .plan-panel { padding: 16px 8px 65px; }
  .plan-caption { flex-direction: column; align-items: center; gap: 4px; left: 8px; right: 8px; bottom: 18px; font-size: 10px; }
}
@media (max-width: 380px) { .media-tab { font-size: 10px; gap: 4px; }.media-bar { padding-inline: 8px; }.view-controls button { padding-inline: 6px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
