/* 泰坦導覽頁：全螢幕 3D，上面浮著深色玻璃卡。沒有 3D 時是一頁可以捲的清單 */
.tour-body { background: #0B0B0D; color: #F2F0EC; min-height: 100vh; }
.t-stage { position: fixed; inset: 0; z-index: 0; background:
  radial-gradient(60% 50% at 72% 28%, rgba(237, 28, 36, .2), rgba(237, 28, 36, 0) 70%),
  radial-gradient(40% 40% at 18% 82%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%), #0B0B0D; }
.t-stage #t-gl { display: block; width: 100%; height: 100%; }
/* 左邊和四角壓暗一點，卡片上的字才讀得清楚 */
.t-vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 75% 70% at 60% 50%, rgba(11, 11, 13, 0) 55%, rgba(11, 11, 13, .6) 100%),
  linear-gradient(90deg, rgba(11, 11, 13, .55), rgba(11, 11, 13, 0) 42%); }
.t-static .t-vignette, .t-static .t-guide { display: none; }
/* 帶路的 Ditto 光環 */
.t-guide { position: absolute; left: clamp(0px, 1.5vw, 24px); top: 72px; width: clamp(110px, 12vw, 180px); height: auto; aspect-ratio: 1; }
@media (max-width: 760px) { .t-guide { width: 92px; top: 64px; left: 4px; } }

/* 頂列：幾顆玻璃按鈕 */
.t-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 16px clamp(14px, 3vw, 28px); }
.t-right { margin-left: auto; display: flex; gap: 10px; }
.t-chip { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 12px; background: rgba(20, 20, 24, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); color: #F2F0EC; font: 500 14px/1 var(--zh); text-decoration: none; cursor: pointer; transition: border-color .3s var(--ease); }
.t-chip:hover { border-color: rgba(255, 90, 94, .6); }
.t-brand img { height: 22px; width: auto; }

main { position: relative; z-index: 2; }
/* 頁尾：一行公司名＋站內連結，壓在 3D 場景上方 */
.t-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 28px clamp(18px, 4vw, 72px) 34px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(11, 11, 13, .82); backdrop-filter: blur(10px); font-size: 14px; color: rgba(242, 240, 236, .7); }
.t-foot b { color: #F2F0EC; font-weight: 700; }
.t-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.t-foot a { color: inherit; text-decoration: none; }
.t-foot a:hover { color: #fff; }

/* 玻璃卡 */
.t-card { background: linear-gradient(180deg, rgba(24, 24, 28, .84), rgba(13, 13, 16, .88)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; backdrop-filter: blur(14px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(237, 28, 36, .06), inset 0 1px 0 rgba(255, 255, 255, .07); }

/* 開場 */
.t-intro { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 100px 18px 60px; }
.t-intro[hidden] { display: none; }
.t-introcard { max-width: 620px; padding: clamp(28px, 4vw, 48px); text-align: center; animation: tin 1s var(--ease) both; }
.t-k { font: 400 12px/1.4 var(--mono); letter-spacing: .16em; color: rgba(242, 240, 236, .72); margin-bottom: 20px; }
.t-k i { font-style: normal; color: #FF4A4F; margin: 0 8px; }
.t-introcard h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.28; font-weight: 700; text-wrap: balance; }
.t-lead { margin-top: 18px; color: rgba(242, 240, 236, .78); font-size: 16px; line-height: 1.85; }
.t-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.t-ghost { border-color: rgba(255, 255, 255, .25); color: #F2F0EC; }
.t-ghost:hover { background: #F2F0EC; color: #0B0B0D; border-color: #F2F0EC; }
.t-note { margin-top: 20px; font-size: 13.5px; line-height: 1.7; color: rgba(242, 240, 236, .62); }
.t-note a { color: #F2F0EC; margin-left: 6px; text-underline-offset: 4px; }

/* 清單（沒有 3D 時的主體；有 3D 時是浮層） */
.t-list { max-width: 880px; margin: 0 auto; padding: 40px 18px 120px; }
.t-list-h { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.35; margin-bottom: 26px; }
.t-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.t-stop { display: grid; grid-template-columns: 200px 1fr; grid-auto-rows: min-content; column-gap: 26px; padding: 22px 26px; border-radius: 18px; background: rgba(20, 20, 24, .78); border: 1px solid rgba(255, 255, 255, .09); }
.t-stop > * { grid-column: 2; }
.t-stop .t-pic { grid-column: 1; grid-row: 1 / span 4; width: 200px; height: auto; align-self: center; }
.t-stopcard .t-pic { display: none; }
@media (max-width: 760px) {
  .t-stop { grid-template-columns: 1fr; }
  .t-stop > *, .t-stop .t-pic { grid-column: 1; }
  .t-stop .t-pic { grid-row: auto; width: min(100%, 300px); margin: 0 auto 8px; }
}
.t-n { font: 400 12px/1 var(--mono); letter-spacing: .14em; color: #FF6A6E; margin-bottom: 12px; }
.t-stop h3, .t-stopcard h3 { font-size: 22px; line-height: 1.4; color: #fff; }
.t-stop p:not(.t-n), .t-stopcard p:not(.t-n) { margin-top: 10px; font-size: 15.5px; line-height: 1.85; color: rgba(242, 240, 236, .8); }
.t-stop .t-cta, .t-stopcard .t-cta { margin-top: 20px; }


/* 3D 跑起來之後：整頁不捲，清單變成浮層 */
.t-live { overflow: hidden; height: 100vh; height: 100svh; }
.t-live .t-intro { position: fixed; inset: 0; z-index: 10; }
.t-live .t-list { display: none; }
/* 全螢幕導覽時，頁尾沒有地方可放（會被擠到最上面、壓到頂列），收起來；清單版照常在最下面 */
.t-live .t-foot { display: none; }
.t-live.t-listing .t-list { display: block; position: fixed; inset: 0; z-index: 15; overflow-y: auto; max-width: none; padding: 96px max(18px, calc(50vw - 440px)) 80px; background: rgba(11, 11, 13, .88); backdrop-filter: blur(10px); }

/* 站卡＋站點列 */
.t-hud { position: fixed; z-index: 10; left: clamp(16px, 4vw, 56px); bottom: clamp(16px, 4vh, 44px); width: min(440px, calc(100vw - 32px)); }
.t-hud[hidden] { display: none; }
.t-stopcard { padding: 26px 28px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.t-stopcard:empty { display: none; }
.t-stopcard.out { opacity: 0; transform: translateY(12px); }
.t-stopcard.in { animation: tin .7s var(--ease) both; }
.t-stopcard h3 { font-size: 24px; line-height: 1.35; }
@keyframes tin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.t-nav { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.t-arrow { width: 44px; height: 44px; border-radius: 12px; background: rgba(20, 20, 24, .72); border: 1px solid rgba(255, 255, 255, .12); color: #F2F0EC; font: 500 16px/1 var(--mono); cursor: pointer; backdrop-filter: blur(12px); }
.t-arrow:hover:not(:disabled) { border-color: rgba(255, 90, 94, .6); }
.t-arrow:disabled { opacity: .35; cursor: default; }
.t-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.t-dots button { position: relative; width: 24px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.t-dots button::before { content: ""; position: absolute; left: 2px; right: 2px; top: 11px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.t-dots button.on::before { background: #FF4A4F; box-shadow: 0 0 10px rgba(255, 74, 79, .8); }
.t-dots button:focus-visible { outline: 2px solid #FF6A6E; outline-offset: 2px; }
.t-pause { margin-left: auto; height: 44px; }
.t-pause[hidden] { display: none; }

@media (max-width: 760px) {
  .t-title { display: none; }
  .t-chip { height: 38px; padding: 0 12px; font-size: 13px; }
  .t-brand img { height: 18px; }
  .t-hud { left: 10px; right: 10px; width: auto; bottom: 10px; }
  .t-stopcard { padding: 18px 20px; }
  .t-stopcard h3 { font-size: 19px; }
  .t-stopcard p:not(.t-n) { font-size: 14px; line-height: 1.75; }
  .t-dots button { width: 18px; }
}
