/* 訊號藍主題（旭方 2026-11-21 選定）—— 疊在 site.css 之後載入。
 * 做法：先把共用變數換成深藍系，再把 site.css 裡寫死的淺色一條條蓋掉。
 * 要回到原本的黑白版，把兩個頁面 <head> 裡這個檔的 <link> 拿掉就好。
 */
:root {
  --black: #03060f;
  --paper: #050914;
  --mist: #070d1d;
  --ink: #eef3ff;
  --ink-2: #9aa7c4;
  --ink-3: #6f7c99;
  --on-dark: #eef3ff;
  --on-dark-2: #9aa7c4;
  --line: rgba(140, 170, 255, .16);
  --line-dark: rgba(140, 170, 255, .16);
  --blue: #3ea6ff;
  --blue-hi: #6cbcff;
  --violet: #8f7dff;
  --mint: #7cf0c9;
  --navy-ink: #021022;
  --glass: linear-gradient(160deg, rgba(62, 166, 255, .09), rgba(11, 18, 36, .55) 55%);
  --font: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-num: "Space Grotesk", "Noto Sans TC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

body { background: var(--paper); }
#boot { background: var(--paper); }
.nav::before { background: rgba(5, 9, 20, .72); border-bottom-color: var(--line); }
@media (max-width: 860px) { .nav__links { background: var(--paper); } }

/* 版面底色 */
.sec--dark { background: var(--black); }
.sec + .sec, .stats + .sec { border-top: 1px solid rgba(140, 170, 255, .07); }

/* 字 */
.h1, .h2 { font-weight: 900; letter-spacing: 0; }
.h3, .tile h3, .card h3, .num h3 { font-weight: 700; }
.eyebrow, .sec--dark .eyebrow, .hero .eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--blue-hi); font-weight: 500; }
.eyebrow::before { content: "● "; color: var(--mint); }
.gold { background: linear-gradient(92deg, #5cb8ff, #8f7dff 62%, #c58bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b, .num b, .plan__price, .box b, .clock__time, .specs__row dd, .stack__list b, .bar b, .hero__price span { font-family: var(--font-num); }
.stat b small, .num b small, .box b small { font-family: var(--font); color: var(--blue-hi); }
.todo, .sec--dark .todo, .foot .todo { color: #f8cf7a; background: rgba(234, 176, 74, .1); border-color: #c98a23; }

/* 按鈕 */
.btn { background: var(--blue); color: var(--navy-ink); font-weight: 700; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 10px 36px rgba(62, 166, 255, .38); }
.btn:hover { background: #63b8ff; }
.btn--s { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.btn--ghost { background: transparent; color: var(--blue-hi); box-shadow: inset 0 0 0 1.5px rgba(108, 188, 255, .6); }
.btn--ghost:hover { background: rgba(62, 166, 255, .12); }
.btn--line { background: #06c755; color: #fff; box-shadow: none; }
.more, .sec--dark .more, .hero .more { color: var(--blue-hi); }

/* 主視覺 */
.hero { background: var(--paper); text-align: left; padding-bottom: clamp(32px, 5vw, 64px); }
.hero::before {
  left: 0; bottom: auto; top: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; transform: none;
  background:
    radial-gradient(50% 42% at 72% 12%, rgba(62, 166, 255, .26), transparent 70%),
    radial-gradient(38% 30% at 12% 0%, rgba(143, 125, 255, .16), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(140, 170, 255, .26) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 28%, #000, transparent); mask-image: radial-gradient(70% 62% at 50% 28%, #000, transparent);
}
/* 主視覺：3D 棋盤放大成整個區塊的背板（絕對定位在文字後面），左邊壓一層漸層讓文字清楚 */
.hero { min-height: min(100svh, 900px); display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 88px); }
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0, rgba(5, 9, 20, .9) 22%, rgba(5, 9, 20, .5) 40%, rgba(5, 9, 20, 0) 62%),
    linear-gradient(0deg, var(--paper) 0, rgba(5, 9, 20, 0) 24%),
    linear-gradient(180deg, rgba(5, 9, 20, .7) 0, rgba(5, 9, 20, 0) 16%);
}
.hero__stage .stage3d { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
.hero__stage .stage { position: absolute; inset: 0; margin: 0; padding: 0 0 0 38%; display: grid; place-items: center; }
.hero__stage .note { position: absolute; right: 24px; bottom: 18px; z-index: 2; text-align: right; }
.hero__grid { position: relative; z-index: 1; display: block; pointer-events: none; }   /* 讓右邊的棋盤可以拖著轉 */
.hero__text { display: grid; gap: 20px; justify-items: start; max-width: min(34em, 50%); pointer-events: auto; }
.hero .h1 { margin: 0; font-size: clamp(34px, 4.3vw, 62px); }
.hero .lead { margin: 0; max-width: 26em; }
.hero .cta-row { margin: 6px 0 0; justify-content: flex-start; }
.hero__price { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.hero__price span { color: var(--ink); font-weight: 700; font-size: 1.12em; }
.stage__shadow { box-shadow: 0 0 90px 30px rgba(0, 0, 0, .75), 0 0 220px 90px rgba(62, 166, 255, .22); }
@media (max-width: 900px) {
  /* 手機：棋盤獨立一塊在上面，文字接在下面 */
  .hero { display: block; min-height: 0; padding: var(--nav-h) 0 clamp(36px, 8vw, 56px); }
  .hero__stage { position: relative; inset: auto; }
  .hero__stage::after { background: linear-gradient(0deg, var(--paper) 0, rgba(5, 9, 20, 0) 26%); }
  .hero__stage .stage3d { position: relative; aspect-ratio: 4 / 3.4; }
  .hero__stage .stage { position: relative; padding: 0 0 28px; }
  .hero__stage .note { position: static; text-align: center; margin-top: -6px; }
  .hero__grid { margin-top: 8px; }
  .hero__text { max-width: none; }
}

/* 數字帶 */
.stats { background: var(--paper); }

/* 玻璃卡片：功能格、卡片、數字卡、盒內物品、保證列 */
.tile, .tile--dark, .sec .card, .sec:not(.sec--mist):not(.sec--dark) .card, .num, .sec--mist .num,
.box li, .sec--mist .box li, .assure li, .steps li {
  background: var(--glass); border: 1px solid var(--line); color: var(--ink);
}
.tile p, .tile--dark p, .card p, .num p, .box p, .trio p { color: var(--ink-2); }
.tile__k, .tile--dark .tile__k { color: var(--blue-hi); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }
.card svg.ico { color: var(--blue-hi); }
.assure b { color: var(--ink); }
.assure li { color: var(--ink-2); }
.steps li::before { background: var(--blue); color: var(--navy-ink); }
.tags li { background: transparent; border-color: var(--line); color: var(--ink-2); }
.live { background: rgba(255, 255, 255, .06); color: var(--ink-2); }
.levels i { background: linear-gradient(#8f7dff, #3ea6ff); }
.sizes i { color: #1d1d1f; border-color: #1d1d1f; }
.kifu__file { color: var(--ink-2); }
.clock__time small { color: var(--ink-3); }
.engines span { background: rgba(62, 166, 255, .1); border-color: var(--line); }

/* 選中的方案邊框有一道跑動的光（只用在這裡，標示目前選的是哪一個） */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.is-on::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--beam), transparent 0 76%, #3ea6ff 87%, #8f7dff 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 6s linear infinite;
}
@keyframes beam { to { --beam: 360deg; } }

/* 有淺色照片的格子：字要維持深色 */
.tile--photo { border: 1px solid var(--line); background: #f6f4f1; }
.tile--photo .tile__body { color: #1d1d1f; }
.tile--photo .tile__body p { color: #55555a; }
.tile--photo .tile__k { color: #1668c7; }
.wide { background: #0b1224; border: 1px solid var(--line); }
.hw__pic { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hw__list b { background: var(--blue); color: var(--navy-ink); }
.hw__list li { border-color: var(--line); }

/* AI 燈光示範 */
.demo__board { box-shadow: 0 40px 120px rgba(62, 166, 255, .22), 0 0 0 1px var(--line); }
.seg { background: rgba(140, 170, 255, .12); }
.seg button[aria-selected="true"] { background: var(--blue); color: var(--navy-ink); }

/* 規格、常見問題 */
.specs, .specs__row, .faq, .faq details { border-color: var(--line); }
.final img { mix-blend-mode: lighten; }
.foot { background: var(--black); border-top: 1px solid var(--line); }

/* 銷售頁 */
.buy { background: var(--paper); }
.buy__info .badge { background: rgba(62, 166, 255, .14); color: #9fd0ff; }
.plans legend { color: var(--ink-2); }
.plan { position: relative; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1.5px var(--line); }
.plan:hover { box-shadow: inset 0 0 0 1.5px rgba(140, 170, 255, .4); }
.plan.is-on { background: rgba(62, 166, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(62, 166, 255, .5); }
.plan__name em { background: rgba(62, 166, 255, .16); color: #9fd0ff; }
.plan__save { color: var(--mint); }
.gal__thumbs button::after { border-color: var(--blue) !important; }
.vs th, .vs td { border-color: var(--line); }
.vs .is-us { background: rgba(62, 166, 255, .08); }
.vs thead .is-us { border-top-color: var(--blue); }
.vs td.is-us, .vs th.is-us { border-inline-color: var(--blue); }
.vs tbody tr:last-child .is-us { border-bottom-color: var(--blue); }
.no { background: rgba(140, 170, 255, .14); color: var(--ink-3); }
.vid { background: #0b1224; color: var(--ink); border: 1px solid var(--line); }
.vid:hover { box-shadow: 0 18px 50px rgba(62, 166, 255, .2); }
.vid__body span { color: var(--ink-2); }
.form { background: #0b1224; }
.stack__list { background: #0b1224; }
.stack__list .stack__total b { color: var(--blue-hi); }
.bar { background: rgba(5, 9, 20, .92); border-top-color: var(--line); color: var(--ink); }
.bar small { color: var(--ink-2); }

/* 品牌標誌 */
.brand { gap: 10px; letter-spacing: .02em; }
.brand svg, .brand img { width: 26px; }
.brand b { font-size: 18px; font-weight: 900; letter-spacing: .08em; color: #fff; }
.brand span { font-size: 12.5px; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); }
#boot svg, #boot img { width: 56px; }
#boot .boot__bar i { background: var(--blue); }

@media (prefers-reduced-motion: reduce) { .plan.is-on::after { animation: none; } }

/* 實測後的修正 */
.qr { background: #fff; }
.stat span { text-wrap: balance; }
.stage3d--final { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }

/* ───────── 第二輪調整（旭方 2026-11-22） ───────── */

/* 照片的原生背板跟訊號藍不協調：去背的放在深色底上，去不乾淨的整張調成同一個色調 */
.wide--grade img { filter: saturate(.8) brightness(.92) contrast(1.08); }
.wide--grade::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 9, 20, .92) 0, rgba(9, 22, 58, .55) 36%, rgba(9, 22, 58, .08) 72%, rgba(5, 9, 20, .3) 100%); }
.wide--grade::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #1b3f94; mix-blend-mode: color; opacity: .34; }

.tile--photo { background: var(--glass), #070d1d; }
.tile--photo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 74% at 78% 52%, rgba(62, 166, 255, .3), transparent 72%); }
.tile--photo::after { display: none; }
.tile--photo .tile__body { color: var(--ink); }
.tile--photo .tile__body p { color: var(--ink-2); }
.tile--photo .tile__k { color: var(--blue-hi); }
.tile--photo .tile__cut {
  position: absolute; inset: auto; right: clamp(24px, 7vw, 110px); top: 50%; transform: translateY(-50%);
  width: auto; height: min(86%, 420px); object-fit: contain; border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 26px 70px rgba(0, 0, 0, .6), 0 0 100px rgba(62, 166, 255, .34);
}
@media (max-width: 640px) {
  .tile--photo { min-height: 560px; }
  .tile--photo::before { background: radial-gradient(70% 40% at 50% 78%, rgba(62, 166, 255, .3), transparent 72%); }
  .tile--photo .tile__cut { right: 50%; top: auto; bottom: 28px; transform: translateX(50%); height: 230px; }
}

.hw__pic { padding: clamp(10px, 3%, 28px); background: radial-gradient(58% 54% at 50% 54%, rgba(62, 166, 255, .26), transparent 72%), var(--glass), #070d1d; }
.hw__pic img { filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.dot { box-shadow: 0 0 0 6px rgba(62, 166, 255, .26), 0 6px 18px rgba(0, 0, 0, .4); color: var(--navy-ink); }

/* 規格一覽：兩欄、行距壓密、條紋底；賣點列用藍色底與漸層字標出來 */
.spec { margin-top: clamp(26px, 3.6vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.spec__grp { border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: rgba(8, 14, 32, .55); }
.spec__grp h3 { padding: 11px 18px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: var(--blue-hi); background: rgba(62, 166, 255, .12); border-bottom: 1px solid var(--line); }
.spec__grp dl > div { position: relative; overflow: hidden; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 9px 18px; }
.spec__grp dl > div:nth-child(even) { background: rgba(140, 170, 255, .075); }
.spec__grp dt { flex: none; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.spec__grp dd { margin: 0; font-family: var(--font-num); font-size: 15.5px; font-weight: 600; text-align: right; }
.spec .is-hot { background: linear-gradient(90deg, rgba(62, 166, 255, .24), rgba(143, 125, 255, .1) 62%, transparent) !important; box-shadow: inset 3px 0 0 var(--blue); }
.spec .is-hot dt { color: #bfe0ff; font-weight: 500; }
.spec .is-hot dd { background: linear-gradient(92deg, #8fd0ff, #c3b3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec .is-hot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .26) 50%, transparent 60%) no-repeat; background-size: 260% 100%; background-position: 140% 0; }
.spec.is-on .is-hot::after { animation: hot-sweep 1.4s cubic-bezier(.45, 0, .55, 1) calc(.5s + var(--i, 0) * .22s) 1 both; }   /* 沿用 #022 的掃光，只跑一次 */
@keyframes hot-sweep { to { background-position: -40% 0; } }
.hotkey { display: inline-flex; align-items: center; gap: 7px; margin-left: 14px; font-size: 13px; color: var(--blue-hi); white-space: nowrap; }
.hotkey i { width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 420px) { .spec__grp dl > div { padding: 9px 14px; gap: 12px; } .spec__grp dt { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .spec.is-on .is-hot::after { animation: none; } }

/* 適合誰：三張卡片加圖示、編號、頂邊漸層，滑過去浮起來（光斑沿用卡片聚光燈） */
.who { gap: 22px; }
.card--who { position: relative; overflow: hidden; min-height: 280px; transition: opacity .7s cubic-bezier(.33, 1, .68, 1), transform .45s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .45s ease; }
.card--who::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #3ea6ff, #8f7dff 60%, transparent); opacity: .5; transition: opacity .3s ease; }
.card--who .who__no { position: absolute; z-index: 0; right: 22px; top: 8px; font: 700 76px/1 var(--font-num); color: transparent; -webkit-text-stroke: 1px rgba(140, 170, 255, .2); pointer-events: none; }
.who__ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; color: #d6ebff; background: linear-gradient(145deg, rgba(62, 166, 255, .3), rgba(143, 125, 255, .2)); box-shadow: inset 0 0 0 1px rgba(140, 190, 255, .38), 0 10px 30px rgba(62, 166, 255, .2); transition: box-shadow .4s ease; }
.who__ico svg { width: 30px; height: 30px; }
.card--who h3 { font-size: 24px; }
@media (hover: hover) and (pointer: fine) {
  .card--who.rv.is-on:hover { transform: translateY(-7px); border-color: rgba(108, 188, 255, .55); box-shadow: 0 26px 64px rgba(62, 166, 255, .2); transition-delay: 0ms; }
  .card--who:hover::after { opacity: 1; }
  .card--who:hover .who__ico { box-shadow: inset 0 0 0 1px rgba(160, 210, 255, .7), 0 12px 40px rgba(62, 166, 255, .45); }
}

/* 標籤：醒目的底，前面一顆亮點 */
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: #d6ebff; font-weight: 600; background: linear-gradient(135deg, rgba(62, 166, 255, .26), rgba(143, 125, 255, .18)); border-color: rgba(108, 188, 255, .5); box-shadow: 0 0 16px rgba(62, 166, 255, .14); }
.tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

/* 收尾：最下面的 3D 棋盤 */
.final__stage { position: relative; width: min(1000px, 100%); margin: clamp(4px, 2vw, 20px) auto 0; }
.stage3d--final { width: 100%; aspect-ratio: 16 / 9.4; }
.final .final__fallback { display: block; width: min(820px, 96vw); margin: 0 auto; mix-blend-mode: normal; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
@media (max-width: 640px) { .stage3d--final { aspect-ratio: 4 / 3.2; } }

/* 銷售頁相簿：去背的照片放在深色光暈底上 */
.gal__main { background: radial-gradient(58% 54% at 50% 54%, rgba(62, 166, 255, .28), #070d1d 78%); border: 1px solid var(--line); }
.gal__main:not(.is-cover) img { padding: 5%; box-sizing: border-box; }
.gal__thumbs button.is-cut { background: radial-gradient(70% 62% at 50% 54%, rgba(62, 166, 255, .26), #070d1d 80%); }
.gal__thumbs button.is-cut img { object-fit: contain; padding: 8%; box-sizing: border-box; }

/* ───────── 第三輪調整（旭方 2026-11-22） ───────── */

/* 導覽列放大；購買鈕獨立一個尺寸，比原本的小鈕明顯 */
:root { --nav-h: 68px; }
.nav__links { font-size: 15.5px; gap: clamp(18px, 2.8vw, 38px); }
.brand svg, .brand img { width: 32px; }
.brand b { font-size: 21px; }
.brand span { font-size: 13.5px; }
.btn--nav { min-height: 44px; padding: 0 24px; font-size: 16px; font-weight: 700; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 8px 26px rgba(62, 166, 255, .42); }
@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .btn--nav { min-height: 42px; padding: 0 20px; font-size: 15.5px; }
  .nav__links { font-size: 17px; }
}

/* 三種棋盤：畫成真的棋盤（格線、星位、棋子），依路數由大到小排 */
.gbs { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 1.6vw, 18px); }
.gb { margin: 0; display: grid; justify-items: center; gap: 9px; }
.gb svg { display: block; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 12px 26px rgba(0, 0, 0, .5), 0 0 34px rgba(62, 166, 255, .16); }
.gb--19 svg { width: clamp(104px, 9.6vw, 132px); }
.gb--13 svg { width: clamp(80px, 7.3vw, 100px); }
.gb--9 svg { width: clamp(60px, 5.5vw, 76px); }
.gb figcaption { font-size: 12px; line-height: 1.35; color: var(--ink-3); text-align: center; white-space: nowrap; }
.gb figcaption b { display: block; font-family: var(--font-num); font-size: 14px; color: var(--ink); }

/* 設計區的產品圖：完全去背，不要任何底板與外框；陰影與光暈直接跟著棋盤的外形走 */
.hw__pic { padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
.hw__pic img { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 46px rgba(62, 166, 255, .22)); }

/* 中段的購買列：每講完一段就給一個可以按的地方。用一般尺寸的按鈕，不加掃光，免得整頁都在閃 */
.cta-band {
  margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 38px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  border-radius: var(--radius); border: 1px solid rgba(108, 188, 255, .36);
  background: linear-gradient(100deg, rgba(62, 166, 255, .18), rgba(143, 125, 255, .1) 55%, rgba(11, 18, 36, .5));
}
.cta-band__t { font-size: clamp(20px, 2.1vw, 26px); font-weight: 900; line-height: 1.3; }
.cta-band__t span { font-family: var(--font-num); color: var(--blue-hi); margin-left: .3em; }
.cta-band__s { margin-top: 5px; font-size: 15px; color: var(--ink-2); }
.cta-band__s span { font-family: var(--font-num); font-weight: 700; color: var(--ink); }
.cta-band__a { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.cta-row--in { margin-top: 26px; justify-content: flex-start; }
@media (max-width: 640px) {
  .cta-band { flex-direction: column; align-items: stretch; }
  .cta-band__a .btn { flex: 1 1 100%; }
  .cta-band__a .more { margin-inline: auto; }
}

/* ───────── 第四輪調整（旭方 2026-11-22） ───────── */

/* 導覽列再放大 */
:root { --nav-h: 82px; }
.nav__links { font-size: 17.5px; gap: clamp(22px, 3.4vw, 46px); }
.brand svg, .brand img { width: 38px; }
.brand b { font-size: 25px; }
.brand span { font-size: 14.5px; }
.btn--nav { min-height: 52px; padding: 0 30px; font-size: 18px; }
@media (max-width: 860px) {
  :root { --nav-h: 70px; }
  .brand svg, .brand img { width: 32px; }
  .brand b { font-size: 22px; }
  .btn--nav { min-height: 46px; padding: 0 22px; font-size: 16.5px; }
  .nav__links { font-size: 18px; }
}

/* 主視覺的旋轉提示：放在棋盤旁邊，拖過一次就收起來 */
.spin-hint {
  position: absolute; z-index: 2; right: clamp(22px, 6vw, 96px); bottom: clamp(30px, 9vh, 96px);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  color: #d6ebff; background: rgba(8, 16, 38, .58); border: 1px solid rgba(108, 188, 255, .5);
  box-shadow: 0 0 0 7px rgba(62, 166, 255, .1), 0 10px 30px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.spin-hint svg { width: 38px; height: 38px; }
.spin-hint.is-used { opacity: 0; transform: scale(.85); }
#hero3d canvas { cursor: grab; }
#hero3d canvas:active { cursor: grabbing; }
@media (max-width: 900px) { .spin-hint { right: 16px; bottom: 18px; width: 52px; height: 52px; } .spin-hint svg { width: 30px; height: 30px; } }

/* 22 個級別的長條：由入門（綠）到高段（紫紅）一路漸層 */
.levels i {
  background-image: linear-gradient(90deg, #7cf0c9, #3ea6ff 38%, #8f7dff 70%, #ff7ad9);
  background-size: 2200% 100%; background-position: calc(var(--i, 0) * 100% / 21) 0;
  box-shadow: 0 0 12px rgba(62, 166, 255, .22);
}

/* 收尾的 3D 棋盤放大：這裡下面已經沒有內容，讓棋盤當主角 */
.final__stage { width: min(1320px, 100vw - 24px); margin: clamp(0px, 1vw, 12px) calc((100% - min(1320px, 100vw - 24px)) / 2) 0; }   /* 比內容欄寬，往兩邊伸出去 */
.stage3d--final { aspect-ratio: 16 / 10; -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 52% 52% at 50% 50%, #000 78%, transparent 100%); }
@media (max-width: 640px) { .stage3d--final { aspect-ratio: 1 / 1; } }

/* ───────── 進站活動（旭方 2026-11-22）：最上面的綠色列與考題視窗 ───────── */

/* 綠色列固定在導覽列上方；有它的時候，導覽列與整頁內容往下讓出同樣的高度 */
.has-promo { --bar-h: 42px; }
.promo-bar {
  position: fixed; inset: 0 0 auto; z-index: 101; height: var(--bar-h, 42px); padding: 0 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(90deg, #0a7a49, #0f9a60 50%, #0a7a49); color: #fff; letter-spacing: .1em;
  font-size: 15px; font-weight: 700; line-height: 1.2;
}
.promo-bar__t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-bar__t i { display: inline-block; width: 1px; height: 14px; margin: 0 12px; background: rgba(255, 255, 255, .55); vertical-align: -2px; }
.promo-bar__t b { font-family: var(--font-num); font-size: 1.08em; }
.promo-bar__t code { font-family: var(--font-mono); font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .2); letter-spacing: .06em; }
.promo-bar .todo { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.promo-bar__a {
  flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border-radius: 999px;
  background: #03210f; color: #d8ffe9; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.promo-bar__a:hover { background: #06321a; }
.has-promo .nav { top: var(--bar-h); }
.has-promo .page { padding-top: var(--bar-h); }
html.has-promo { scroll-padding-top: calc(var(--nav-h) + var(--bar-h) + 12px); }
.has-promo .gal { top: calc(var(--nav-h) + var(--bar-h) + 24px); }
@media (max-width: 860px) {
  .has-promo { --bar-h: 40px; }
  .promo-bar { font-size: 13.5px; gap: 10px; padding: 0 12px; }
  .promo-bar__t i { margin: 0 8px; }
  .promo-bar__a { min-height: 26px; padding: 0 12px; font-size: 13px; }
  .has-promo .nav__links { top: calc(var(--nav-h) + var(--bar-h)); }
}
.promo-bar__t .n { display: none; }
@media (max-width: 640px) { .promo-bar__t .w { display: none; } .promo-bar__t .n { display: inline; } .promo-bar { letter-spacing: .05em; } }

/* 考題視窗：只有淡入，不彈跳（沿用內容淡入那一種動效） */
.promo {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(2, 5, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .26s ease; overflow-y: auto;
}
.promo.is-on { opacity: 1; }
.promo-open { overflow: hidden; }
.promo__card {
  position: relative; width: min(520px, 100%); padding: clamp(26px, 5vw, 40px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(62, 166, 255, .14), rgba(11, 18, 36, .96) 46%), #0a1226;
  border: 1px solid rgba(108, 188, 255, .4); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 80px rgba(62, 166, 255, .18);
  transform: translateY(14px); transition: transform .3s cubic-bezier(.33, 1, .68, 1);
}
.promo.is-on .promo__card { transform: none; }
.promo__x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--ink-2); }
.promo__x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.promo__h { margin-top: 10px; font-size: clamp(26px, 5vw, 36px); font-weight: 900; line-height: 1.22; }
.promo__h b { font-family: var(--font-num); background: linear-gradient(92deg, #7cf0c9, #3ea6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo__p { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.promo__p b { color: var(--ink); font-family: var(--font-num); }
.promo__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.promo__opts button {
  min-height: 54px; padding: 8px 12px; border-radius: 16px; font-size: 17px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, box-shadow .2s;
}
.promo__opts button:hover, .promo__opts button:focus-visible { background: rgba(62, 166, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(108, 188, 255, .7); outline: none; }
.promo__hint { margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: 15px; color: #ffd9a8; background: rgba(234, 176, 74, .12); }
.promo__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 14px 16px 14px 20px; border-radius: 16px; border: 1.5px dashed rgba(124, 240, 201, .6); background: rgba(124, 240, 201, .08); }
.promo__code code { font-family: var(--font-mono); font-size: 24px; font-weight: 700; letter-spacing: .08em; color: #a9f7dd; }
.promo__code button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #03210f; background: #7cf0c9; }
.promo .cta-row { margin-top: 20px; }
.promo__rules { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 5px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.promo__rules li { position: relative; padding-left: 14px; }
.promo__rules li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
@media (max-width: 420px) { .promo__opts { grid-template-columns: 1fr; } .promo__code code { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .promo, .promo__card { transition: none; } }

/* 首頁「職業棋士實測」：兩支影片並排 */
.vids--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .vids--2 { grid-template-columns: 1fr; } }

/* 首頁「常見的卡關」：四張卡片，先講客人卡在哪裡 */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4.5vw, 52px); }
.card--pain { min-height: 230px; }
.card--pain h3 { font-size: 19.5px; line-height: 1.4; text-wrap: balance; }
.card--pain h3::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: linear-gradient(90deg, #3ea6ff, #8f7dff); }
.pains__turn { margin-top: clamp(28px, 4vw, 44px); max-width: 30em; font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.55; color: var(--ink); text-wrap: balance; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; gap: 14px; } .card--pain { min-height: 0; } }

/* 主視覺說明每句各占一行；手機放不下時才折行 */
.hero .lead .nowrap { display: block; }
@media (max-width: 640px) { .hero .lead .nowrap { white-space: normal; text-wrap: balance; } }

/* 首頁「影片介紹」：點了才載入的影片框 */
.ytbox { position: relative; width: min(880px, 100%); aspect-ratio: 16 / 9; margin: clamp(28px, 4vw, 48px) auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #060b18; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 70px rgba(62, 166, 255, .14); }
.ytbox__go, .ytbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytbox__go { display: block; padding: 0; cursor: pointer; }
.ytbox__go img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ytbox__go:hover img { transform: scale(1.03); }
.ytbox .vid__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0, 0, 0, .62); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); transition: background .25s, transform .25s; }
.ytbox .vid__play::after { content: ""; position: absolute; left: 31px; top: 23px; border-left: 23px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.ytbox__go:hover .vid__play, .ytbox__go:focus-visible .vid__play { background: #e0281f; transform: scale(1.08); }

/* 主視覺說明改成研究數字：字小一點，不擠；出處放最小字 */

/* 收尾區的出處小字 */
.final__src { margin: 22px auto 0; max-width: 38em; font-size: 12px; line-height: 1.7; color: var(--ink-3); text-wrap: balance; }

/* 情境圖（2026-11-22 換成 AI 生成的深色桌面圖，不再需要調色層）：桌機看整張，手機裁成接近方形並保留棋盤 */
.wide--scene img { width: 100%; height: auto; aspect-ratio: 2.75 / 1; object-fit: cover; object-position: 60% 62%; display: block; }
.wide--scene::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 9, 20, .84) 0, rgba(5, 9, 20, .62) 38%, rgba(5, 9, 20, 0) 72%); }
.scene__txt { position: absolute; left: clamp(20px, 3.6vw, 52px); top: 50%; transform: translateY(-50%); z-index: 2; max-width: 62%; margin: 0; font-size: clamp(22px, 3.1vw, 44px); font-weight: 900; line-height: 1.45; letter-spacing: .02em; color: var(--ink); }
.scene__txt .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.scene__txt .ln > span { display: block; }
.wide--scene figcaption { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: 11px; letter-spacing: .08em; color: rgba(234, 241, 255, .62); text-shadow: 0 1px 6px rgba(5, 9, 20, .9); }
@media (max-width: 860px) {
  .wide--scene::before { display: none; }
  .scene__txt { position: static; transform: none; max-width: none; padding: 22px 18px 6px; font-size: 22px; }
}
@media (max-width: 640px) { .wide--scene img { aspect-ratio: 4 / 3; object-position: 58% 55%; } }
.nav .brand b { white-space: nowrap; }
@media (max-width: 480px) { .nav .brand b { font-size: 16px; letter-spacing: .03em; } .nav .brand { gap: 8px; } }
@media (max-width: 380px) { .nav .brand b { font-size: 14px; letter-spacing: .02em; } .nav .brand img { width: 24px; } }
