/* ============================================================
   WindowTop 繁體中文站 公共樣式 common.css
   主題色：#1E1F22（深色底） / #ED6567（品牌紅）
   說明：所有類名均帶 wt- 字首，避免與頁面樣式衝突
   ============================================================ */

/* ---------- 基礎變數 ---------- */
:root {
    --wt-bg: #1E1F22;
    --wt-bg-deep: #17181B;
    --wt-bg-card: #26272C;
    --wt-bg-card-2: #2B2C32;
    --wt-line: rgba(255, 255, 255, 0.08);
    --wt-line-strong: rgba(255, 255, 255, 0.16);
    --wt-text: #EDEEF1;
    --wt-text-2: #A4A8B2;
    --wt-text-3: #6E727D;
    --wt-accent: #ED6567;
    --wt-accent-hover: #F47B7D;
    --wt-accent-soft: rgba(237, 101, 103, 0.10);
    --wt-accent-line: rgba(237, 101, 103, 0.45);
    --wt-font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --wt-mono: Consolas, "SF Mono", "Courier New", monospace;
    --wt-nav-h: 72px;
    --wt-radius: 14px;
    --wt-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- 基礎重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--wt-nav-h) + 20px);
}

body {
    background: var(--wt-bg);
    color: var(--wt-text);
    font-family: var(--wt-font);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.wt-lock {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img, video {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
}

::selection {
    background: var(--wt-accent);
    color: #fff;
}

/* ---------- 捲軸 ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--wt-bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #3A3B41;
    border-radius: 6px;
    border: 2px solid var(--wt-bg-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wt-accent);
}

/* ---------- 佈局容器 ---------- */
.wt-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ---------- 通用按鈕 ---------- */
.wt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--wt-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.wt-btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.wt-btn--primary {
    background: var(--wt-accent);
    color: #fff;
    box-shadow: 0 10px 28px rgba(237, 101, 103, 0.30);
}

.wt-btn--primary:hover {
    background: var(--wt-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(237, 101, 103, 0.40);
}

.wt-btn--ghost {
    background: transparent;
    color: var(--wt-text-2);
    border-color: var(--wt-line-strong);
}

.wt-btn--ghost:hover {
    border-color: var(--wt-accent);
    color: var(--wt-accent);
    transform: translateY(-2px);
}

.wt-btn--sm {
    padding: 11px 20px;
    font-size: 14px;
    border-radius: 9px;
}

.wt-btn--sm svg {
    width: 15px;
    height: 15px;
}

/* ---------- 區域標籤（短線 + 等寬字，非膠囊樣式） ---------- */
.wt-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--wt-mono);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wt-accent);
}

.wt-label::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--wt-accent);
    flex: none;
}

/* ---------- 區域標題 ---------- */
.wt-sec-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.wt-sec-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin: 18px 0 16px;
}

.wt-sec-head p {
    color: var(--wt-text-2);
    font-size: 17px;
}

.wt-sec-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.wt-sec-head--center .wt-label {
    justify-content: center;
}

/* ---------- 媒體框架（截圖/影片統一外觀） ---------- */
.wt-frame {
    position: relative;
    border: 1px solid var(--wt-line);
    border-radius: var(--wt-radius);
    overflow: hidden;
    background: #141518;
    box-shadow: var(--wt-shadow);
}

.wt-frame img,
.wt-frame video {
    width: 100%;
    height: auto;
}

.wt-frame--glow {
    border-color: var(--wt-accent-line);
    box-shadow: 0 0 0 1px rgba(237, 101, 103, 0.12), var(--wt-shadow);
}

/* 媒體圖注 */
.wt-figure figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-family: var(--wt-mono);
    font-size: 12.5px;
    color: var(--wt-text-3);
    border-top: 1px solid var(--wt-line);
    background: rgba(255, 255, 255, 0.02);
}

.wt-figure figcaption::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--wt-accent);
    flex: none;
}

/* ---------- 提示便籤 ---------- */
.wt-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 18px;
    background: var(--wt-accent-soft);
    border-left: 3px solid var(--wt-accent);
    border-radius: 0 10px 10px 0;
    font-size: 14.5px;
    color: var(--wt-text-2);
}

.wt-note svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 4px;
    color: var(--wt-accent);
}

/* ---------- 文字箭頭連結 ---------- */
.wt-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--wt-accent);
    transition: gap 0.25s ease, color 0.25s ease;
}

.wt-link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.wt-link-arrow:hover {
    color: var(--wt-accent-hover);
    gap: 12px;
}

/* ============================================================
   導航 header 樣式
   ============================================================ */
.wt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--wt-nav-h);
    background: rgba(30, 31, 34, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.wt-nav.is-scrolled {
    background: rgba(23, 24, 27, 0.92);
    border-bottom-color: var(--wt-line);
}

.wt-nav__inner {
    height: var(--wt-nav-h);
    display: flex;
    align-items: center;
    gap: 32px;
}

/* 品牌區 */
.wt-nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.wt-nav__brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.wt-nav__name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wt-nav__name b {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--wt-text);
}

.wt-nav__name small {
    font-size: 11px;
    font-weight: 500;
    color: var(--wt-text-3);
    letter-spacing: 0.04em;
}

/* 桌面端選單 */
.wt-nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.wt-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--wt-text-2);
    border-radius: 8px;
    transition: color 0.25s ease;
}

.wt-nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--wt-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.wt-nav__link:hover,
.wt-nav__link.is-active {
    color: var(--wt-text);
}

.wt-nav__link:hover::after,
.wt-nav__link.is-active::after {
    transform: scaleX(1);
}

.wt-nav__link .wt-caret {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

/* 下拉子選單 */
.wt-nav__item {
    position: relative;
}

.wt-nav__item:hover .wt-caret,
.wt-nav__item:focus-within .wt-caret {
    transform: rotate(180deg);
}

.wt-sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    padding: 10px;
    background: var(--wt-bg-card);
    border: 1px solid var(--wt-line);
    border-radius: 12px;
    box-shadow: var(--wt-shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.wt-nav__item:hover .wt-sub,
.wt-nav__item:focus-within .wt-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.wt-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--wt-text-2);
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.wt-sub a::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--wt-text-3);
    flex: none;
    transition: background 0.2s ease;
}

.wt-sub a:hover {
    background: var(--wt-accent-soft);
    color: var(--wt-text);
}

.wt-sub a:hover::before {
    background: var(--wt-accent);
}

/* 導航按鈕組 */
.wt-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

/* ---------- 語言切換（桌面端下拉） ---------- */
.wt-lang {
    flex: none;
}

.wt-lang__btn {
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--wt-line-strong);
    border-radius: 9px;
    font-size: 13.5px;
}

.wt-lang__btn::after {
    display: none;
}

.wt-lang__btn:hover {
    border-color: var(--wt-accent);
}

.wt-lang__btn .wt-globe {
    width: 15px;
    height: 15px;
    color: var(--wt-text-2);
}

/* 右對齊下拉，避免超出視口 */
.wt-sub--right {
    left: auto;
    right: 0;
    transform: translateY(8px);
}

.wt-nav__item:hover .wt-sub--right,
.wt-nav__item:focus-within .wt-sub--right {
    transform: translateY(0);
}

.wt-sub a.is-active {
    color: var(--wt-accent);
}

.wt-sub a.is-active::before {
    background: var(--wt-accent);
}

/* 漢堡按鈕 */
.wt-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid var(--wt-line-strong);
    border-radius: 10px;
    transition: border-color 0.25s ease;
}

.wt-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--wt-text);
    transition: transform 0.3s ease, top 0.3s ease;
}

.wt-burger span:nth-child(1) {
    top: 17px;
}

.wt-burger span:nth-child(2) {
    top: 25px;
}

.wt-burger.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.wt-burger.is-open span:nth-child(2) {
    top: 21px;
    transform: rotate(-45deg);
}

.wt-burger:hover {
    border-color: var(--wt-accent);
}

/* 遮罩層 */
.wt-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.wt-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ---------- 移動端抽屜選單 ---------- */
.wt-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    background: #191A1D;
    border-left: 1px solid var(--wt-line);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wt-drawer.is-open {
    transform: translateX(0);
}

/* 抽屜左側漸變描邊 */
.wt-drawer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--wt-accent) 0%, rgba(237, 101, 103, 0.05) 60%, transparent 100%);
}

.wt-drawer__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--wt-line);
}

.wt-drawer__head img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.wt-drawer__head .wt-drawer__title {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.wt-drawer__head .wt-drawer__title b {
    font-size: 16px;
    font-weight: 700;
}

.wt-drawer__head .wt-drawer__title small {
    font-size: 11px;
    color: var(--wt-text-3);
}

.wt-drawer__close {
    margin-left: auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--wt-line-strong);
    border-radius: 9px;
    color: var(--wt-text-2);
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.wt-drawer__close:hover {
    border-color: var(--wt-accent);
    color: var(--wt-accent);
    transform: rotate(90deg);
}

.wt-drawer__close svg {
    width: 15px;
    height: 15px;
}

/* 抽屜選單列表 */
.wt-drawer__menu {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.wt-drawer__link,
.wt-drawer__parent {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--wt-text);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, color 0.25s ease;
    opacity: 0;
    transform: translateX(24px);
}

.wt-drawer.is-open .wt-drawer__link,
.wt-drawer.is-open .wt-drawer__parent {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.25s ease, color 0.25s ease;
}

.wt-drawer.is-open .wt-drawer__menu > *:nth-child(1) { transition-delay: 0.08s; }
.wt-drawer.is-open .wt-drawer__menu > *:nth-child(2) { transition-delay: 0.14s; }
.wt-drawer.is-open .wt-drawer__menu > *:nth-child(3) { transition-delay: 0.20s; }
.wt-drawer.is-open .wt-drawer__menu > *:nth-child(4) { transition-delay: 0.26s; }

.wt-drawer__link i,
.wt-drawer__parent i {
    font-family: var(--wt-mono);
    font-style: normal;
    font-size: 12px;
    color: var(--wt-accent);
    letter-spacing: 0.08em;
}

.wt-drawer__link:hover,
.wt-drawer__parent:hover {
    background: var(--wt-accent-soft);
}

.wt-drawer__link.is-active {
    color: var(--wt-accent);
}

.wt-drawer__parent .wt-caret {
    width: 14px;
    height: 14px;
    margin-left: auto;
    color: var(--wt-text-3);
    transition: transform 0.3s ease;
}

.wt-drawer__parent.is-open .wt-caret {
    transform: rotate(180deg);
    color: var(--wt-accent);
}

/* 抽屜子選單（手風琴） */
.wt-drawer__sub {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: max-height 0.4s ease;
}

.wt-drawer__sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px 13px 52px;
    font-size: 14.5px;
    color: var(--wt-text-2);
    transition: color 0.2s ease, background 0.2s ease;
}

.wt-drawer__sub a::before {
    content: "";
    width: 10px;
    height: 1px;
    background: var(--wt-text-3);
    flex: none;
    transition: background 0.2s ease, width 0.2s ease;
}

.wt-drawer__sub a:hover {
    color: var(--wt-accent);
}

.wt-drawer__sub a:hover::before {
    background: var(--wt-accent);
    width: 16px;
}

/* 抽屜語言網格 */
.wt-drawer__langs {
    margin-bottom: 16px;
}

.wt-drawer__langs-title {
    font-family: var(--wt-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--wt-text-3);
    margin-bottom: 10px;
}

.wt-drawer__langs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.wt-drawer__lang {
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--wt-text-2);
    border: 1px solid var(--wt-line);
    border-radius: 9px;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.wt-drawer__lang:hover {
    border-color: var(--wt-accent);
    color: var(--wt-accent);
}

.wt-drawer__lang.is-active {
    border-color: var(--wt-accent);
    color: var(--wt-accent);
    background: var(--wt-accent-soft);
}

/* 抽屜底部按鈕區 */
.wt-drawer__foot {
    padding: 20px 24px 28px;
    border-top: 1px solid var(--wt-line);
}

.wt-drawer__foot .wt-btn {
    width: 100%;
    margin-bottom: 12px;
}

.wt-drawer__note {
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    color: var(--wt-text-3);
}

/* ============================================================
   頁尾 footer 樣式
   ============================================================ */
.wt-footer {
    position: relative;
    background: var(--wt-bg-deep);
    border-top: 1px solid var(--wt-line);
    overflow: hidden;
}

/* 頂部品牌色漸變線 */
.wt-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wt-accent) 40%, var(--wt-accent) 60%, transparent);
}

.wt-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 0.9fr;
    gap: 56px;
    padding: 72px 0 56px;
}

/* 品牌列 */
.wt-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.wt-footer__logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.wt-footer__logo .wt-footer__name {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.wt-footer__logo .wt-footer__name b {
    font-size: 19px;
    font-weight: 700;
}

.wt-footer__logo .wt-footer__name small {
    font-size: 11.5px;
    color: var(--wt-text-3);
    letter-spacing: 0.04em;
}

.wt-footer__tag {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--wt-text-2);
}

/* 授權資訊列 */
.wt-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--wt-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--wt-accent);
}

.wt-footer__badge::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--wt-accent);
}

.wt-footer__reseller p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--wt-text-2);
}

.wt-footer__reseller .wt-footer__en {
    font-size: 12.5px;
    color: var(--wt-text-3);
}

/* 聯絡列 */
.wt-footer__contact h4 {
    font-family: var(--wt-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wt-text-3);
    margin-bottom: 20px;
}

.wt-footer__contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--wt-text-2);
    transition: color 0.25s ease;
}

.wt-footer__contact a svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--wt-accent);
}

.wt-footer__contact a:hover {
    color: var(--wt-text);
}

/* 底部版權條 */
.wt-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--wt-line);
    font-size: 13px;
    color: var(--wt-text-3);
}

.wt-footer__bar .wt-footer__mini {
    font-family: var(--wt-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
}

/* ============================================================
   響應式
   ============================================================ */
@media (max-width: 1024px) {
    .wt-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .wt-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .wt-nav__menu,
    .wt-nav__actions {
        display: none;
    }

    .wt-burger {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .wt-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 56px 0 44px;
    }

    .wt-footer__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .wt-btn {
        padding: 14px 22px;
    }
}

/* ============================================================
   子頁面頁頭 page-hero 樣式
   ============================================================ */
.wt-page-hero {
    position: relative;
    padding: calc(var(--wt-nav-h) + 72px) 0 64px;
    background:
        radial-gradient(640px 340px at 86% 0%, rgba(237, 101, 103, 0.12), transparent 65%),
        var(--wt-bg);
    border-bottom: 1px solid var(--wt-line);
    overflow: hidden;
}

.wt-page-hero h1 {
    margin: 20px 0 16px;
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0.01em;
}

.wt-page-hero .wt-page-desc {
    max-width: 780px;
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--wt-text-2);
}

/* 麵包屑 */
.wt-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    font-family: var(--wt-mono);
    font-size: 12.5px;
    letter-spacing: 0.05em;
    color: var(--wt-text-3);
}

.wt-crumbs a {
    color: var(--wt-text-3);
    transition: color 0.2s ease;
}

.wt-crumbs a:hover {
    color: var(--wt-accent);
}

.wt-crumbs i {
    font-style: normal;
    color: rgba(237, 101, 103, 0.5);
}

/* ============================================================
   檔案內容 doc 樣式（功能頁 / FAQ / 購買頁共用）
   ============================================================ */
.wt-doc {
    padding: 64px 0 20px;
}

.wt-doc__body {
    max-width: 920px;
    margin: 0 auto;
}

.wt-doc h2 {
    position: relative;
    margin: 72px 0 20px;
    padding-left: 18px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.35;
}

.wt-doc h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: var(--wt-accent);
    border-radius: 2px;
}

.wt-doc__body > h2:first-child,
.wt-doc h2:first-child {
    margin-top: 0;
}

.wt-doc h3 {
    margin: 44px 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.wt-doc h4 {
    margin: 30px 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--wt-text);
}

.wt-doc p {
    margin: 14px 0;
    color: var(--wt-text-2);
    font-size: 15.5px;
}

.wt-doc strong,
.wt-doc b {
    color: var(--wt-text);
    font-weight: 700;
}

.wt-doc a {
    color: var(--wt-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wt-doc a:hover {
    color: var(--wt-accent-hover);
    border-bottom-color: var(--wt-accent-hover);
}

.wt-doc ul,
.wt-doc ol {
    margin: 16px 0;
    padding: 0;
}

.wt-doc li {
    position: relative;
    margin: 9px 0;
    padding-left: 24px;
    color: var(--wt-text-2);
    font-size: 15.5px;
    line-height: 1.8;
}

.wt-doc ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 9px;
    height: 2px;
    background: var(--wt-accent);
}

.wt-doc ul ul > li::before {
    background: var(--wt-text-3);
}

.wt-doc ol {
    counter-reset: wtol;
}

.wt-doc ol > li {
    counter-increment: wtol;
    padding-left: 34px;
}

.wt-doc ol > li::before {
    content: counter(wtol, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    font-family: var(--wt-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--wt-accent);
}

/* 行內小圖示（工具列按鈕等） */
.wt-doc img.wt-inline {
    display: inline-block;
    vertical-align: middle;
    max-height: 34px;
    width: auto;
    margin: 0 4px;
}

/* 行內 UI 截圖（選項開關等） */
.wt-doc img.wt-inline-ui {
    display: inline-block;
    vertical-align: middle;
    max-width: 240px;
    width: auto;
    max-height: 96px;
    margin: 4px 8px;
    border: 1px solid var(--wt-line);
    border-radius: 8px;
}

/* 快捷鍵 */
.wt-doc kbd {
    display: inline-block;
    padding: 3px 10px;
    font-family: var(--wt-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--wt-text);
    background: var(--wt-bg-card-2);
    border: 1px solid var(--wt-line-strong);
    border-bottom-width: 2px;
    border-radius: 6px;
    line-height: 1.4;
    vertical-align: middle;
    margin: 0 2px;
}

/* 設定路徑 */
.wt-doc .wt-path {
    display: inline-block;
    padding: 2px 10px;
    font-family: var(--wt-mono);
    font-size: 13px;
    color: var(--wt-accent);
    background: var(--wt-accent-soft);
    border: 1px solid var(--wt-accent-line);
    border-radius: 7px;
    line-height: 1.7;
}

/* 表格 */
.wt-table-wrap {
    margin: 22px 0;
    overflow-x: auto;
    border: 1px solid var(--wt-line);
    border-radius: 12px;
}

.wt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 560px;
}

.wt-table th {
    padding: 13px 18px;
    text-align: left;
    font-family: var(--wt-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--wt-text-2);
    background: var(--wt-bg-card-2);
    border-bottom: 1px solid var(--wt-line-strong);
    white-space: nowrap;
}

.wt-table td {
    padding: 12px 18px;
    color: var(--wt-text-2);
    border-bottom: 1px solid var(--wt-line);
}

.wt-table tr:last-child td {
    border-bottom: 0;
}

.wt-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.wt-table td:first-child {
    color: var(--wt-text);
    font-weight: 600;
}

/* 媒體塊 */
.wt-doc .wt-frame {
    margin: 22px 0;
}

/* 雙欄對比媒體 */
.wt-media-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 22px 0;
}

.wt-media-2 .wt-frame {
    margin: 0;
}

/* YouTube / 外嵌影片 */
.wt-embed {
    position: relative;
    margin: 24px 0;
    padding-top: 56.25%;
    border: 1px solid var(--wt-line);
    border-radius: var(--wt-radius);
    overflow: hidden;
    background: #141518;
}

.wt-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 開關狀態小圖注 */
.wt-toggle-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    font-size: 13px;
    color: var(--wt-text-3);
}

/* ============================================================
   FAQ 手風琴樣式（純 details/summary，無需 JS）
   ============================================================ */
.wt-faq__group {
    margin-top: 56px;
}

.wt-faq__group:first-child {
    margin-top: 0;
}

.wt-faq details {
    border: 1px solid var(--wt-line);
    border-radius: 12px;
    background: var(--wt-bg-card);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.wt-faq details[open] {
    border-color: var(--wt-accent-line);
}

.wt-faq summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 22px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.wt-faq summary::-webkit-details-marker {
    display: none;
}

.wt-faq summary::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    background: var(--wt-accent);
    border-radius: 1px;
}

.wt-faq summary:hover {
    color: var(--wt-accent);
}

.wt-faq summary .wt-faq__chev {
    width: 16px;
    height: 16px;
    flex: none;
    margin-left: auto;
    color: var(--wt-text-3);
    transition: transform 0.3s ease, color 0.3s ease;
}

.wt-faq details[open] summary .wt-faq__chev {
    transform: rotate(180deg);
    color: var(--wt-accent);
}

.wt-faq details .wt-faq__body {
    padding: 0 22px 22px 44px;
    color: var(--wt-text-2);
    font-size: 15px;
    line-height: 1.9;
}

.wt-faq details .wt-faq__body p {
    margin: 10px 0;
}

.wt-faq details .wt-faq__body a {
    color: var(--wt-accent);
}

.wt-faq details .wt-faq__body a:hover {
    text-decoration: underline;
}

/* ============================================================
   通用頁尾 CTA（各頁面複用）
   ============================================================ */
.wt-cta {
    padding: 50px 0 110px;
}

.wt-cta__box {
    position: relative;
    padding: 72px 40px;
    text-align: center;
    background:
        radial-gradient(520px 260px at 50% 0%, rgba(237, 101, 103, 0.12), transparent 70%),
        var(--wt-bg-card);
    border: 1px solid var(--wt-line);
    border-radius: 20px;
    overflow: hidden;
}

.wt-cta__box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wt-accent), transparent);
}

.wt-cta__box .wt-label {
    justify-content: center;
}

.wt-cta__box h2 {
    margin: 18px 0 14px;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
}

.wt-cta__box p {
    color: var(--wt-text-2);
    font-size: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.wt-cta__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

/* ============================================================
   子頁面響應式補充
   ============================================================ */
@media (max-width: 720px) {
    .wt-media-2 {
        grid-template-columns: 1fr;
    }

    .wt-page-hero {
        padding: calc(var(--wt-nav-h) + 52px) 0 52px;
    }

    .wt-faq details .wt-faq__body {
        padding-left: 22px;
    }

    .wt-cta__box {
        padding: 52px 24px;
    }

    .wt-cta__btns .wt-btn {
        flex: 1 1 100%;
    }
}
