/* 合作方式頁（process.html）
   主線：四站路線。首屏撐滿畫面寬，紅線跟著捲動一站站畫過去，經過的數字由空心變實心、第 04 站變紅；
   捲過首屏後，同一條路線縮成頁首下方的細條，陪讀者走完四站；每一站展開成一段，各有一個演出那一站的畫面。
   沒有程式／減少動態：全部是走完的樣子（數字實心、線畫滿、畫面停在最後一格）。 */

/* ---------- 路線（首屏的大路線與頁首下方的細條共用） ---------- */
.pr-track { list-style: none; margin: 0; padding: 0; position: relative; }
.pr-track::before, .pr-track::after { content: ""; position: absolute; pointer-events: none; }
.pr-track::after { background: var(--red); transform-origin: left center; transform: scaleX(var(--f, 1)); }
.pr-track li { position: relative; }
.pr-track a { display: block; text-decoration: none; color: inherit; }
.pr-track .nd { position: absolute; display: block; background: var(--red); border: 1.5px solid var(--red); transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }

/* 首屏 */
.pr-hero { align-items: stretch; padding: 118px 0 clamp(40px, 6vh, 64px); }
.pr-hero > .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(48px, 8vh, 96px); min-height: calc(100svh - 118px - clamp(40px, 6vh, 64px)); }
.pr-hero .wrap > * { pointer-events: auto; }
.pr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 612px); gap: clamp(32px, 4vw, 64px); align-items: end; }
.pr-hero h1 { font-size: clamp(56px, 7.6vw, 128px); line-height: 1.04; letter-spacing: -.01em; margin: 0; animation: fade 1.2s var(--ease) both; }
.pr-hero h1 .nw { display: block; }
.pr-hero .lead { max-width: 30em; animation: fade 1.2s var(--ease) .3s both; }
.pr-hero .more { margin-top: 32px; animation: fade 1.2s var(--ease) .45s both; }

.pr-route { --fs: clamp(64px, min(12vw, 22vh), 200px); --ty: calc(var(--fs) * .84 + 26px); --g: clamp(20px, 3vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--g); animation: appear 1.4s var(--ease) .2s both; }
.pr-route::before { left: 0; right: 0; top: var(--ty); height: 2px; margin-top: -1px; background: rgba(242, 240, 236, .2); }
.pr-route::after { left: 0; right: 0; top: var(--ty); height: 2px; margin-top: -1px; }
.pr-route b {
  display: block; font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: var(--fs); line-height: .84; letter-spacing: -.04em; color: #F2F0EC; -webkit-text-stroke: 1px #F2F0EC;
  transition: color .7s var(--ease), -webkit-text-stroke-color .7s var(--ease);
}
.pr-route li:nth-child(4) b { color: var(--red); -webkit-text-stroke-color: var(--red); }
.pr-route span { display: block; margin-top: 54px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.4; color: #F2F0EC; transition: color .5s var(--ease); }
.pr-route a:hover span, .pr-route a:focus-visible span { color: #FF7A7D; }
.pr-route .nd { left: 0; top: var(--ty); width: 14px; height: 14px; margin-top: -7px; }

/* 有程式時：還沒走到的站是空心的 */
.pr-js .pr-route b { color: transparent; -webkit-text-stroke-color: rgba(242, 240, 236, .34); }
.pr-js .pr-route span { color: rgba(242, 240, 236, .5); }
.pr-js .pr-route .nd { background: #0B0B0D; border-color: rgba(242, 240, 236, .4); }
.pr-js .pr-route li:nth-child(4):not(.on) b { color: transparent; -webkit-text-stroke-color: rgba(255, 74, 79, .6); }
.pr-js .pr-route li.on b { color: #F2F0EC; -webkit-text-stroke-color: #F2F0EC; }
.pr-js .pr-route li.on:nth-child(4) b { color: var(--red); -webkit-text-stroke-color: var(--red); }
.pr-js .pr-route li.on span { color: #F2F0EC; }
.pr-js .pr-route li.on .nd { background: var(--red); border-color: var(--red); }
.pr-js .pr-route li.cur .nd { transform: scale(1.3); }

/* 頁首下方的細條：捲過首屏才出現，到第 04 站結束就收起來 */
.pr-rail { display: none; }
.pr-js .pr-rail {
  display: block; position: fixed; left: 0; right: 0; top: 66px; z-index: 29; background: #0B0B0D; color: #F2F0EC;
  visibility: hidden; transform: translateY(-100%); transition: transform .3s var(--ease), visibility 0s .3s;
}
/* 出現時從頁首後面滑下來，收起時縮回頁首後面，不會原地淡出、疊在下一段上 */
.pr-js .pr-rail.show { visibility: visible; transform: none; transition: transform .45s var(--ease), visibility 0s; }
.pr-rail .pr-track { display: flex; height: 46px; }
.pr-rail .pr-track::before { left: 0; right: 0; bottom: 0; height: 2px; background: rgba(242, 240, 236, .14); }
.pr-rail .pr-track::after { left: 0; right: 0; bottom: 0; height: 2px; }
.pr-rail li { flex: 1 1 0; min-width: 0; }
.pr-rail a { display: flex; align-items: center; gap: 10px; height: 100%; padding-left: 18px; font-size: 13.5px; color: rgba(242, 240, 236, .5); white-space: nowrap; transition: color .4s var(--ease); }
.pr-rail b { font: 400 11px/1 var(--mono); letter-spacing: .1em; }
.pr-rail li.on a { color: rgba(242, 240, 236, .8); }
.pr-rail li.cur a { color: #fff; font-weight: 700; }
.pr-rail li.cur b { color: #FF4A4F; }
.pr-rail a:hover { color: #fff; }
.pr-rail .nd { left: 0; bottom: -4px; width: 10px; height: 10px; background: #0B0B0D; border-color: rgba(242, 240, 236, .4); }
.pr-rail li.on .nd { background: var(--red); border-color: var(--red); }

/* ---------- 每一站 ---------- */
.pr-st { flex-direction: column; align-items: stretch; justify-content: center; scroll-margin-top: 20px; padding: clamp(96px, 13vh, 150px) 0; }
.pr-hero h1 .pr-dot { display: inline-block; width: .17em; height: .17em; margin-left: .08em; background: var(--red); vertical-align: baseline; }
.pr-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.pr-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pr-n {
  font-family: var(--wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: clamp(104px, 13.5vw, 224px); line-height: .8; letter-spacing: -.04em; margin: 0 0 clamp(28px, 4vh, 44px) -.04em;
  color: var(--ink); -webkit-text-stroke: 1px var(--ink); transition: color .9s var(--ease), -webkit-text-stroke-color .9s var(--ease);
}
.pr-s4 .pr-n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.pr-js .pr-st:not(.on) .pr-n { color: transparent; -webkit-text-stroke-color: var(--line-2); }
.pr-st .h2 { font-size: clamp(36px, 4vw, 64px); }
.pr-p { margin-top: 22px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.85; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.pr-get { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: clamp(17px, 1.35vw, 20px); font-weight: 700; line-height: 1.6; color: var(--ink); max-width: 28em; text-wrap: balance; }
.pr-get > span:first-child { display: block; margin-bottom: 8px; font: 400 12px/1.4 var(--mono); letter-spacing: .14em; color: var(--red-text); }
.pr-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 7vh, 72px); }
.pr-row .pr-p { margin-top: 0; }

/* 深色玻璃產品畫面 */
.pane {
  --p-ink: #ECEAE4; --p-dim: rgba(236, 234, 228, .58); --p-line: rgba(236, 234, 228, .1);
  position: relative; display: flex; flex-direction: column; color: var(--p-ink); overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, #19191D, #101013); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 28px 56px -30px rgba(20, 8, 8, .5), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.pr-s2 .pane, .pr-s4 .pane { box-shadow: 0 50px 110px -70px rgba(237, 28, 36, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
.pn-top { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--p-line); font: 400 12px/1 var(--mono); letter-spacing: .12em; color: var(--p-dim); }
.pn-top .ai-dot { width: 8px; height: 8px; }
.pn-top span:not(.ai-dot) { font-family: var(--zh); letter-spacing: .06em; }
.pn-top em { margin-left: auto; font-style: normal; font-size: 10px; border: 1px solid var(--p-line); padding: 4px 7px; border-radius: 4px; }

/* 01 診斷：四格一格格亮起，最後彙整成報告 */
.dg-cells { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dg-cells li {
  display: grid; grid-template-rows: auto auto 1fr; gap: 6px; min-height: 118px; padding: 16px 18px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 90, 94, .45); background: rgba(237, 28, 36, .07);
  transition: border-color .6s var(--ease), background-color .6s var(--ease);
}
.dg-k { display: block; width: 7px; height: 7px; background: #FF4A4F; transition: background-color .6s var(--ease); }
.dg-cells b { font-size: 16px; line-height: 1.4; }
.dg-cells li > :last-child { align-self: end; }
.dg-lv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.dg-lv i { height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background-color .4s var(--ease); }
.dg-lv i:nth-child(-n+3) { background: #D3141B; }
.dg-lv i:nth-child(2) { transition-delay: .1s; } .dg-lv i:nth-child(3) { transition-delay: .2s; }
.dg-bars { display: grid; gap: 6px; }
.dg-bars i { display: block; height: 6px; border-radius: 3px; background: rgba(236, 234, 228, .5); transform-origin: left; transition: transform .7s var(--ease); }
.dg-bars i:nth-child(1) { width: 84%; } .dg-bars i:nth-child(2) { width: 56%; background: #D3141B; transition-delay: .1s; } .dg-bars i:nth-child(3) { width: 70%; transition-delay: .2s; }
.dg-spark { display: block; width: 100%; height: 34px; overflow: visible; clip-path: inset(-4px -4px -4px -4px); transition: clip-path 1s var(--ease); }
.dg-spark path { fill: none; stroke: #FF4A4F; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.dg-eng { display: flex; gap: 8px; }
.dg-eng img { box-sizing: content-box; width: 14px; height: 14px; padding: 7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); opacity: .95; transition: opacity .4s var(--ease); }
.dg-eng img:nth-child(2) { transition-delay: .12s; } .dg-eng img:nth-child(3) { transition-delay: .24s; }
.dg-rep { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0 18px 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--p-line); }
.dg-doc { display: grid; align-content: center; gap: 4px; width: 34px; height: 42px; padding: 0 7px; border-radius: 5px; background: #F2F1EE; }
.dg-doc i { display: block; height: 3px; border-radius: 2px; background: #C9CBD1; }
.dg-doc i:first-child { background: #D3141B; width: 70%; }
.dg-rt { display: grid; gap: 8px; min-width: 0; }
.dg-rt b { font-size: 14.5px; }
.dg-prog { position: relative; display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dg-prog::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transition: transform 1.2s var(--ease); }
.dg-rep em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #fff; padding: 7px 12px; border-radius: 999px; background: #D3141B; white-space: nowrap; transition: opacity .5s var(--ease), transform .5s var(--ease); }
/* 動態：還沒看到的格子是暗的 */
.dg.run .dg-cells li:not(.on) { border-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.dg.run .dg-cells li:not(.on) .dg-k { background: rgba(236, 234, 228, .3); }
.dg.run li:not(.on) .dg-lv i { background: rgba(255, 255, 255, .1); }
.dg.run li:not(.on) .dg-bars i { transform: scaleX(0); }
.dg.run li:not(.on) .dg-spark { clip-path: inset(-4px 100% -4px -4px); }
.dg.run li:not(.on) .dg-eng img { opacity: .2; }
.dg.run:not(.go) .dg-prog::after { transform: scaleX(0); }
.dg.run:not(.done) .dg-rep em { opacity: 0; transform: translateX(8px); }

/* 02 成長地圖：12 格月份，任務色塊依先後排進去 */
.mp-body { --lw: 72px; position: relative; padding: 18px 22px 22px; }
.mp-months { list-style: none; margin: 0 0 0 var(--lw); padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.mp-months li { padding: 0 0 12px 8px; border-left: 1px solid var(--p-line); font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--p-dim); }
.mp-lanes { position: relative; background-image: repeating-linear-gradient(90deg, var(--p-line) 0 1px, transparent 1px calc(100% / 12)); background-size: calc(100% - var(--lw)) 100%; background-position: var(--lw) 0; background-repeat: no-repeat; }
.mp-lane { display: grid; grid-template-columns: var(--lw) repeat(12, minmax(0, 1fr)); align-items: center; height: 58px; border-top: 1px solid var(--p-line); }
.mp-lane:last-child { border-bottom: 1px solid var(--p-line); }
.mp-l { grid-column: 1; grid-row: 1; font-size: 14px; font-weight: 700; color: var(--p-ink); transition: color .5s var(--ease); }
.mp-b { grid-row: 1; display: block; height: 24px; margin: 0 4px; border-radius: 6px; background: rgba(236, 234, 228, .62); transform-origin: left center; transition: transform .8s cubic-bezier(.65, 0, .35, 1), opacity .5s var(--ease); }
.mp-b.hi { background: #D3141B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.mp-b.lo { height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 90, 94, .85) 0 calc(100% / 11 - 4px), transparent calc(100% / 11 - 4px) calc(100% / 11)); }
.b1 { grid-column: 2 / 5; }
.b2 { grid-column: 4 / 7; background: rgba(236, 234, 228, .3); }
.b3 { grid-column: 7 / 11; }
.b4 { grid-column: 5 / 8; background: rgba(236, 234, 228, .3); }
.b5 { grid-column: 9 / 14; }
.b6 { grid-column: 3 / 14; }
.mp.run .mp-b:not(.on) { transform: scaleX(0); opacity: 0; }
.mp.run .mp-lane:not(.on) .mp-l { color: rgba(236, 234, 228, .35); }

/* 03 導入：清單一項項打勾上線 */
.bd-prog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 18px 20px 6px; }
.bd-prog i { height: 4px; border-radius: 2px; background: var(--red); transition: background-color .5s var(--ease); }
.bd-list { list-style: none; margin: 0; padding: 6px 0 10px; }
.bd-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--p-line); transition: opacity .5s var(--ease); }
.bd-list li:last-child { border-bottom: 0; }
.bd-box { position: relative; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #D3141B; background: #D3141B; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.bd-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity .3s var(--ease); }
.bd-t { display: grid; gap: 9px; min-width: 0; }
.bd-t b { font-size: 16.5px; line-height: 1.35; }
.bd .tx { display: block; height: 6px; border-radius: 3px; background: rgba(236, 234, 228, .12); }
.bd .w1 { width: 72%; } .bd .w2 { width: 54%; } .bd .w3 { width: 64%; } .bd .w4 { width: 46%; }
.bd-st { position: relative; width: 82px; height: 28px; }
.bd-st em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; font-style: normal; font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bd-st .a { color: rgba(236, 234, 228, .7); border: 1px solid var(--p-line); opacity: 0; }
.bd-st .a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF4A4F; animation: bd-pulse 1s ease-in-out infinite; }
@keyframes bd-pulse { 50% { opacity: .25; } }
.bd-st .b { color: #fff; background: #D3141B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
/* 動態：排隊中 → 建置中 → 已上線 */
.bd.run li:not(.go):not(.done) { opacity: .42; }
.bd.run li:not(.done) .bd-box { background: transparent; border-color: rgba(236, 234, 228, .3); }
.bd.run li:not(.done) .bd-box::after { opacity: 0; }
.bd.run li:not(.done) .bd-st .b { opacity: 0; transform: scale(.8); }
.bd.run li.go:not(.done) .bd-st .a { opacity: 1; }
.bd.run li.go:not(.done) .tx { background: linear-gradient(90deg, rgba(255, 90, 94, .6), rgba(236, 234, 228, .12)); }
.bd.run .bd-prog i:not(.on) { background: rgba(255, 255, 255, .1); }

/* 04 維運：一條往上走的紅線，每個點是一次回報（不標數字） */
.ec-eng { list-style: none; margin: 0; padding: 18px 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-eng li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; border: 1px solid var(--p-line); font-size: 13px; color: rgba(236, 234, 228, .82); }
.ec-eng img { width: 14px; height: 14px; }
.ec-chart { position: relative; aspect-ratio: 600 / 260; margin: 28px 36px 22px 20px; }
.ec-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ec-grid { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.ec-area { fill: rgba(237, 28, 36, .08); stroke: none; transition: opacity .9s var(--ease); }
.ec-line { fill: none; stroke: #FF4A4F; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ec-pt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #0B0B0D; border: 2px solid #FF4A4F; transition: opacity .35s var(--ease), transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.ec-pt.p1 { left: 21.67%; top: 82.3%; }
.ec-pt.p2 { left: 41.67%; top: 70.77%; }
.ec-pt.p3 { left: 63.33%; top: 51.54%; }
.ec-pt.p4 { left: 86.67%; top: 26.92%; }
.ec-pt.p5 { left: 100%; top: 11.54%; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #FF4A4F; }
/* 最新一次回報：回聲一圈圈擴出去（跟 Echo 同一個語言） */
.ec-pt.last i { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 1px solid rgba(255, 74, 79, .7); border-radius: 50%; opacity: 0; transform: scale(.1); pointer-events: none; }
.ec.loop .ec-pt.last i { animation: ec-echo 3s cubic-bezier(.2, .6, .3, 1) .3s infinite; }
.ec.loop .ec-pt.last i:nth-child(2) { animation-delay: 1.8s; }
@keyframes ec-echo { 0% { opacity: 0; transform: scale(.1); } 14% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }
.ec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; border-top: 1px solid var(--p-line); font-size: 13.5px; line-height: 1.5; color: var(--p-dim); }
.ec-foot span { font: 400 11px/1.6 var(--mono); letter-spacing: .1em; }
.ec-foot b { font-weight: 500; color: #FF8A8C; }
/* 動態：線跟著捲動畫（--ld 由程式寫入），點在線經過時出現 */
.ec.run .ec-line { stroke-dashoffset: var(--ld, 100); }
.ec.run:not(.area) .ec-area { opacity: 0; }
.ec.run .ec-pt:not(.on) { opacity: 0; transform: scale(.3); }

/* ---------- 可以從哪一項開始 ---------- */
.pr-svc, .pr-faq { min-height: 0; flex-direction: column; align-items: stretch; }
.sv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sv li { border-bottom: 1px solid var(--line-2); }
.sv a, .sv-none > div { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr) 120px; gap: 12px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.6vh, 36px) 0; text-decoration: none; color: var(--ink); }
.sv a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.sv a:hover::after, .sv a:focus-visible::after { transform: scaleX(1); }
.sv b { position: relative; padding-left: 26px; font-size: clamp(24px, 2.6vw, 40px); font-weight: 700; line-height: 1.25; transition: color .35s var(--ease); }
.sv b::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--red); transition: transform .45s var(--ease); }
.sv span { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.pr-svc { padding-bottom: clamp(88px, 12vh, 140px); }
.pr-faq { padding: clamp(96px, 13vh, 150px) 0 clamp(72px, 10vh, 120px); }
.sv-go { justify-self: end; font: 400 22px/1 var(--mono); font-style: normal; color: var(--ink); transition: transform .45s var(--ease), color .35s var(--ease); }
.sv a:hover b, .sv a:focus-visible b { color: var(--red-text); }
.sv a:hover .sv-go, .sv a:focus-visible .sv-go { transform: translateX(8px); color: var(--red-text); }
.sv a:focus-visible { outline-offset: 6px; }
.sv-none b::before { background: transparent; border: 1.5px solid var(--red); }
.sv-tag { justify-self: end; font: 400 11px/1 var(--mono); font-style: normal; letter-spacing: .08em; white-space: nowrap; color: var(--mute); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; }

/* ---------- 常見問題 ---------- */
.pr-faq-w { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pr-faq .h2 { font-size: clamp(36px, 4vw, 64px); }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 8px; align-items: baseline; padding: 26px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa-n { align-self: center; width: 7px; height: 7px; background: var(--line-2, rgba(0, 0, 0, .2)); transition: background-color .3s var(--ease); }
.qa-q { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.qa summary i { position: relative; align-self: center; width: 16px; height: 16px; justify-self: end; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa details[open] .qa-n { background: #FF4A4F; }
.qa summary:hover .qa-q { color: #fff; }
.qa summary:focus-visible { outline-offset: 4px; }
.qa details p { padding: 0 40px 30px 56px; font-size: 17px; line-height: 1.9; color: var(--ink-2); max-width: 38em; }

/* ---------- 平板與手機 ---------- */
@media (max-width: 1200px) {
  .pr-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pr-hero h1 .nw { display: inline; }
}
@media (max-width: 1080px) {
  .pr-js .pr-rail { top: 68px; }
  .pr-hero { min-height: 0; padding-bottom: 72px; }
  .pr-hero > .wrap { min-height: 0; gap: 80px; }
  .pr-grid, .pr-flip, .pr-row, .pr-faq-w { grid-template-columns: minmax(0, 1fr); }
  .pr-flip .pr-vis { order: 2; }
  .pr-row { gap: 22px; }
  .sv a, .sv-none > div { grid-template-columns: minmax(0, 1fr) 40px; }
  .sv span { grid-column: 1; grid-row: 2; padding-left: 26px; }
  .sv-go, .sv-tag { grid-column: 2; grid-row: 1 / 3; }
  .sv-none > div { grid-template-columns: minmax(0, 1fr); }
  .sv-none .sv-tag { grid-column: 1; grid-row: 3; justify-self: start; margin-left: 26px; }
}
@media (max-width: 760px) {
  .pr-hero { padding: 100px 0 48px; }
  .pr-hero > .wrap { min-height: 0; gap: 52px; }
  .pr-hero h1 { font-size: clamp(44px, 12.6vw, 58px); }
  .pr-hero h1 .nw { display: block; }
  .pr-hero .lead { font-size: 16px; }
  .pr-hero .more { margin-top: 26px; }
  /* 路線改直的：線在左邊，由上往下畫 */
  .pr-route { --fs: 54px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pr-route::before, .pr-route::after { left: 6px; right: auto; top: 20px; bottom: 0; width: 2px; height: auto; margin: 0; }
  .pr-route::after { transform-origin: center top; transform: scaleY(var(--f, 1)); }
  .pr-route li { padding: 0 0 26px 40px; }
  .pr-route li:last-child { padding-bottom: 8px; }
  .pr-route a { display: flex; align-items: center; gap: 18px; }
  .pr-route b { flex: none; width: 1.62em; }
  .pr-route span { margin-top: 0; font-size: 17px; }
  .pr-route .nd { top: 20px; left: 0; margin-top: -7px; }
  /* 細條：只留編號，目前這一站多一個名字 */
  .pr-rail .wrap { width: calc(100% - 32px); }
  .pr-rail .pr-track { height: 42px; }
  .pr-rail li { flex: 0 0 auto; padding-right: 14px; }
  .pr-rail li.cur { flex: 1 1 auto; }
  .pr-rail a { padding-left: 16px; gap: 8px; font-size: 13px; }
  .pr-rail li:not(.cur) span { display: none; }
  .pr-n { font-size: clamp(88px, 26vw, 120px); }
  .pr-get { margin-top: 26px; }
  .dg-cells { padding: 12px; gap: 8px; }
  .dg-cells li { min-height: 128px; padding: 14px; }
  .dg-cells b { font-size: 14.5px; }
  .dg-rep { margin: 0 12px 12px; grid-template-columns: 30px minmax(0, 1fr); }
  .dg-rep em { grid-column: 1 / -1; justify-self: start; }
  .mp-body { --lw: 40px; padding: 14px 12px 16px; }
  .mp-months li { padding-left: 3px; font-size: 9.5px; letter-spacing: 0; }
  .mp-lane { height: 46px; }
  .mp-l { font-size: 12px; }
  .mp-b { height: 18px; margin: 0 2px; border-radius: 4px; }
  .bd-list li { padding: 15px 14px; gap: 12px; }
  .bd-prog { padding: 16px 14px 4px; }
  .bd-t b { font-size: 15px; }
  .bd-st { width: 72px; }
  .ec-chart { margin: 18px 26px 14px 14px; }
  .qa summary { grid-template-columns: 22px minmax(0, 1fr) 20px; padding: 22px 0; }
  .qa details p { padding: 0 0 24px 44px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-hero h1, .pr-hero .lead, .pr-hero .more, .pr-route { animation: none; }
}
