/* deskware · 诡棋牌桌产品页（WEB-87 交付包 → 官网壳，预览）
   壳、焦点、主按钮全走 site.css 锌灰/米色变量；绿/金只留在棋盘、棋子和牌里。
   无外部字体；正文用 site.css 的 --font。 */
.page-wt { --wt-board: #2F5A47; --wt-board-ink: #F4E6BC; }

/* —— 标题层级与段距（跟首页产品区对齐，集中在这里，站务可整组替换） ——
   来源：站务 WEB-89 工作副本 web89-pr/website/assets/css/home.css（未提交，2026-11-13 17:0x 读取）：
     .page-home .feature        padding-block: clamp(28px, 5svh, 64px)；<768：clamp(28px, 5svh, 44px)
     .page-home .feature h2     font-size: clamp(24px, 1.1vw + 14px, 30px)；<768：24px
     .page-home .feature-copy   gap: 8px；margin-bottom: clamp(16px, 2.4svh, 28px)
   首屏 h1 不动：沿用 site.css h1 clamp(32px, 4.5vw, 48px)，与 /sidemate、/agentboxbox 产品页 hero 同规格；段标题比它低一级。 */
.page-wt {
  --wt-section-pad: clamp(28px, 5vh, 64px);
  --wt-h2-size: 32px; /* WEB-107 */
  --wt-title-gap: 8px;
  --wt-head-gap: clamp(16px, 2.4vh, 28px);
}
@supports (height: 100svh) {
  .page-wt { --wt-section-pad: clamp(28px, 5svh, 64px); --wt-head-gap: clamp(16px, 2.4svh, 28px); }
}
@media (max-width: 767px) {
  .page-wt { --wt-section-pad: clamp(28px, 5vh, 44px); --wt-h2-size: 24px; }
  @supports (height: 100svh) { .page-wt { --wt-section-pad: clamp(28px, 5svh, 44px); } }
}
.page-wt .wt-head h2, .page-wt .wt-split h2, .page-wt .wt-final h2 { font-size: var(--wt-h2-size); line-height: 1.2; letter-spacing: -0.02em; }
.page-wt .wt-head .eyebrow, .page-wt .wt-split .eyebrow, .page-wt .wt-final .eyebrow { margin-bottom: var(--wt-title-gap); }

/* 顶栏产品导航从 WEB-91 起在 site.css（全站共用），这页不再单写。 */

/* —— hero：左文右图，同 /sidemate、/agentboxbox。原海报仅框内裁去底部版本署记，三态内容完整，PNG 不改。 —— */
.page-wt .hero { display: grid; gap: 28px; padding: 40px 0 48px; }
@media (min-width: 960px) {
  .page-wt .hero { grid-template-columns: minmax(280px, 1fr) minmax(0, 760px); align-items: center; gap: 56px; padding: 48px 0 64px; }
}
.page-wt .eyebrow { display: flex; align-items: center; }
.wt-mark { border-radius: 5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-wt .hero .lead { margin-bottom: 24px; }
.page-wt .hero-note { margin-top: 16px; }
.wt-art { aspect-ratio: 1600 / 820; background: #F3F5F2; }
.wt-art img { object-position: top center; }
@media (max-width: 767px) { .wt-art { aspect-ratio: 750 / 980; } }

/* 本页目录：只是页内锚点，不是第二个顶栏 */
.wt-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); }
.wt-toc > a { display: inline-flex; align-items: center; min-height: 44px; }
.wt-toc > a:hover { color: var(--fg); opacity: 1; }
.page-wt .wt-presenter-start {
  margin-left: auto; min-height: 32px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--fg-muted); font-size: 13px;
}
.page-wt .wt-presenter-start:hover { color: var(--fg); border-color: var(--border-strong); }
.page-wt .wt-presenter-start:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.page-wt [hidden] { display: none !important; }

/* —— 正文分段 —— */
.wt-band { padding: var(--wt-section-pad) 0; scroll-margin-top: 16px; }
.wt-band--soft { background: var(--bg-card); border-block: 1px solid var(--border); }
.wt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--wt-head-gap); }
.wt-head h2 { margin: 0; }
.wt-head > p { max-width: 26em; margin: 0; font-size: 14px; line-height: 1.75; color: var(--fg-muted); }
.wt-head > .btn { flex-shrink: 0; }
.wt-note { margin: 16px 0 0; font-size: 13px; color: var(--fg-soft); text-align: center; }
.wt-detail { font-size: 13px; line-height: 1.7; color: var(--fg-soft); }

/* 02 三个不同 */
.wt-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wt-feature { min-width: 0; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.wt-feature .n { display: block; font-size: 12px; color: var(--fg-soft); }
.wt-feature__art {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 92px;
  margin-top: 16px; padding: 12px 6px; background: var(--bg); border-radius: var(--radius-sm); font-size: 12px;
}
.wt-feature__art span, .wt-feature__art b { padding: 10px 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; font-weight: 500; white-space: nowrap; }
.wt-feature__art b { color: var(--wt-board-ink); background: var(--wt-board); border-color: var(--wt-board); font-weight: 600; }
.wt-feature__art i { font-style: normal; color: var(--fg-soft); }
.wt-feature h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 700; }
.wt-feature p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--fg-muted); }
.wt-feature p.wt-detail { margin-top: 12px; font-size: 13px; color: var(--fg-soft); }

/* 03 30 张牌 */
.wt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.wt-split h2 { margin-bottom: var(--wt-head-gap); }
.wt-lead { max-width: 30em; margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--fg-muted); }
.wt-split .wt-detail { max-width: 32em; margin: 0 0 20px; }
.wt-deck { padding: 4px 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.wt-deck__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.wt-deck__row:last-child { border-bottom: 0; }
.wt-deck__row strong { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg-soft); }
.wt-deck__row--ordinary strong { color: var(--fg); }
.wt-deck__row h3 { margin: 0 0 2px; font-size: 20px; }
.wt-deck__row p { margin: 0; font-size: 14px; color: var(--fg-muted); }
.wt-deck__row small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--fg-soft); }

/* 04 一回合 */
.wt-turn-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.wt-turn-flow li { padding-top: 16px; border-top: 1px solid var(--border-strong); }
.wt-turn-flow span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%; font-size: 12px; color: var(--fg-muted); }
.wt-turn-flow h3 { margin: 14px 0 6px; font-size: 20px; }
.wt-turn-flow p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--fg-muted); }
.wt-callout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 32px; padding: 20px 24px; background: var(--beige-surface); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: var(--radius); }
.wt-callout b { font-size: 15px; line-height: 1.7; }
.wt-callout p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--fg-muted); }

/* 05 模式 */
.wt-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wt-modes article { padding-top: 16px; border-top: 1px solid var(--border-strong); }
.wt-modes span { font-size: 12px; color: var(--fg-soft); }
.wt-modes h3 { margin: 6px 0 8px; font-size: 20px; }
.wt-modes p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fg-muted); }

/* 规则图解：图走 ShotFrame 1px 内描边，说明在图下 */
.wt-illustration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.wt-illustration { min-width: 0; margin: 0; }
.wt-illustration .shot { background: #F3F5F2; }
.wt-illustration picture, .wt-illustration img { display: block; width: 100%; height: auto; }
.wt-illustration figcaption { padding-top: 14px; }
.wt-illustration h3 { margin: 0 0 6px; font-size: 20px; }
.wt-illustration p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fg-muted); }
.wt-illustration figcaption > div { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.wt-illustration figcaption a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

/* 06 手册 + FAQ */
.wt-manual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wt-manual-grid article { padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.wt-manual-grid h3 { margin: 0 0 8px; font-size: 20px; }
.wt-manual-grid p { margin: 0 0 20px; font-size: 14px; color: var(--fg-muted); }
.wt-manual-grid article > a { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-top: 4px; font-size: 13px; color: var(--fg-muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.wt-faq { margin-top: 40px; border-top: 1px solid var(--border); }
.wt-faq details { border-bottom: 1px solid var(--border); }
.wt-faq summary { display: flex; align-items: center; min-height: 56px; padding: 12px 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.wt-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wt-faq p { max-width: 46em; margin: 0 0 20px; font-size: 14px; line-height: 1.8; color: var(--fg-muted); }

/* 收尾 */
.wt-final { padding: var(--wt-section-pad) 0 calc(var(--wt-section-pad) + 16px); }
.wt-final h2 { margin-bottom: var(--wt-title-gap); }
.wt-final__line { margin: 0 0 24px; font-size: clamp(16px, 1.6vw, 18px); color: var(--fg-muted); }

/* —— 交付包演示（product 变体）：棋盘保持绿金；外框、按钮、焦点进官网 —— */
.page-wt .wt-demo { font-family: var(--font); --wt-ink: var(--fg); --wt-muted: var(--fg-muted); --wt-line: var(--border); }
.page-wt .wt-demo__shell { background: var(--bg-card); border-color: var(--border); border-radius: var(--radius); }
.page-wt .wt-demo__kicker { color: var(--fg-muted); font-weight: 600; letter-spacing: 0.04em; }
.page-wt .wt-demo__version { color: var(--fg-soft); }
.page-wt .wt-demo__step-label { color: var(--beige-strong); font-weight: 600; font-size: 13px; }
.page-wt .wt-demo__copy h2 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.3; }
.page-wt .wt-demo__detail { color: var(--fg-muted); font-size: 15px; }
.page-wt .wt-demo__resources { border-color: var(--border); }
.page-wt .wt-demo__resources b { color: var(--fg); }
.page-wt .wt-demo__resources span { color: var(--fg-muted); }
.page-wt .wt-demo__teaching { color: var(--fg-soft); }
.page-wt .wt-demo__board-note { color: var(--fg-soft); }
.page-wt .wt-demo__button {
  border-radius: 999px; border-color: var(--fg); background: var(--fg); color: var(--bg) !important;
  font: 600 14px/1.4 var(--font); padding: 10px 18px; gap: 6px;
}
.page-wt .wt-demo__button:hover { background: #3F3F46; border-color: #3F3F46; }
.page-wt .wt-demo__button--ghost { background: transparent; border-color: var(--border-strong); color: var(--fg) !important; }
.page-wt .wt-demo__button--ghost:hover { background: rgba(24, 24, 27, 0.04); border-color: var(--fg-soft); }
.page-wt .wt-demo :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.page-wt .wt-demo__dot { color: var(--fg-muted); }
.page-wt .wt-demo__dot span { border-color: var(--border-strong); }
.page-wt .wt-demo__dot.is-current span, .page-wt .wt-demo__dot[aria-current=true] span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.page-wt .wt-demo__controls { border-top-color: var(--border); }
.page-wt .wt-demo__status { color: var(--fg-muted); }
.page-wt .wt-demo > picture img { border-radius: var(--radius-sm); }
.page-wt .wt-demo > p { font-size: 14px; color: var(--fg-muted); }

/* 规则手册 dialog（manual.js 运行时注入样式，这里用更高优先级改成官网色） */
body .wt-manual-dialog { font-family: var(--font); color: var(--fg); border-color: var(--border); border-radius: var(--radius); }
body .wt-manual-dialog::backdrop { background: rgba(24, 24, 27, 0.72); backdrop-filter: none; }
body .wt-manual-dialog button { border-color: var(--border-strong); border-radius: 999px; font-weight: 600; font-size: 14px; }
body .wt-manual-dialog :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body .wt-manual-content a, body .wt-manual-dialog__footer a { color: var(--fg); }
body .wt-manual-content th { background: #F4F4F5; }

/* 路演导航：安静，贴底居中 */
.page-wt .wt-presenter {
  position: fixed; z-index: 40; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 24px); padding: 4px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 1px 3px rgba(24, 24, 27, 0.06);
}
.page-wt .wt-presenter p { min-width: 150px; margin: 0; text-align: center; font-size: 13px; color: var(--fg-muted); }
.page-wt .wt-presenter button { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); font-size: 14px; }
.page-wt .wt-presenter button:hover { background: rgba(24, 24, 27, 0.05); }
.page-wt .wt-presenter button:disabled { opacity: 0.35; cursor: default; }
.page-wt .wt-presenter button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.page-wt .wt-presenter [data-wt-presenter-close] { border: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); }
body.page-wt.is-presenting { padding-bottom: 80px; }

@media (max-width: 1023px) {
  .wt-split { gap: 40px; }
  .wt-feature { padding: 20px; }
  .wt-feature__art { gap: 4px; font-size: 11px; }
  .wt-feature__art span, .wt-feature__art b { padding: 8px 6px; }
  .wt-modes { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
@media (max-width: 767px) {
  .wt-head { display: block; }
  .wt-head > p { margin-top: 12px; }
  .wt-head > .btn { margin-top: 16px; }
  .wt-features { grid-template-columns: 1fr; gap: 12px; }
  .wt-feature__art { font-size: 12px; }
  .wt-split { grid-template-columns: 1fr; gap: 28px; }
  .wt-deck { padding-inline: 18px; }
  .wt-deck__row { grid-template-columns: 56px 1fr; gap: 14px; }
  .wt-deck__row strong { font-size: 36px; }
  .wt-turn-flow { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .wt-callout { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .wt-modes { grid-template-columns: 1fr; gap: 20px; }
  .wt-illustration-grid { grid-template-columns: 1fr; gap: 32px; }
  .wt-manual-grid { grid-template-columns: 1fr; }
  .wt-manual-grid article { padding: 20px; }
  .wt-toc { gap: 0 16px; }
  .page-wt .wt-presenter-start { margin-left: 0; }
  .page-wt .wt-presenter { border-radius: 16px; }
  .page-wt .wt-presenter p { min-width: 112px; font-size: 12px; }
  .page-wt .wt-presenter button { padding: 0 10px; }
}
.page-wt .nowrap { display: inline-block; }
.nav-more:has([aria-current="page"]) .nav-more-btn { color: var(--fg); font-weight: 600; }
