/* 首页用独立布局承载科技风，所有按钮仍进入现有功能。 */
  .tech-home { display: none; }
  html[data-debater-tech='on'] app-home:has(.tech-home[data-ready]) > .home-shell { display: none !important; }
  html[data-debater-tech='on'][data-debater-visual='unified'] app-home { background: var(--dv-bg) !important; }
  html[data-debater-tech='on'] .tech-home:not([hidden]) { display: block; }
  .tech-home {
    --th-line: color-mix(in srgb, var(--dv-line) 70%, transparent);
    --th-soft: color-mix(in srgb, var(--dv-text) 55%, var(--dv-bg));
    max-width: 1280px; margin: 0 auto; padding: 0 48px;
    color: var(--dv-text) !important; font-family: var(--dv-font) !important;
  }
  .tech-home [hidden] { display: none !important; }
  .tech-home :is(h1,h2,h3,p) { margin: 0; }
  .tech-home :is(h1,h2,h3) { font-family: var(--dv-font) !important; font-weight: 550 !important; letter-spacing: -.045em; }
  .tech-home :is(p,a,button,span,div,small,strong,em) { font-family: var(--dv-font) !important; }
  .tech-home :is(.th-eyebrow,.th-tool-index,.th-art > span) { font-family: var(--dv-mono-font) !important; }
  .tech-home a { color: inherit; text-decoration: none; }
  .tech-home button { font: inherit; color: inherit; cursor: pointer; }
  .tech-home :is(a,button,[role='tabpanel']):focus-visible { outline: 2px solid var(--dv-accent) !important; outline-offset: 5px !important; }
  .th-hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 760px; padding-top: 72px; }
  .th-intro { position: relative; z-index: 2; padding: 78px 0 100px; }
  .th-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--th-soft); font: 10px/1.5 var(--dv-mono-font); letter-spacing: .14em; }
  .th-signal { width: 5px; height: 5px; background: var(--dv-accent); box-shadow: 0 0 12px rgb(var(--dv-accent-rgb) / 35%); border-radius: 50%; }
  .tech-home .th-intro h1 { position: relative; width: max-content; max-width: 122%; font-size: clamp(42px, 5.2vw, 76px) !important; line-height: 1.17 !important; margin: 30px 0 26px; }
  .th-intro h1 > * { display: block; }
  .th-intro h1 em { margin-top: 4px; color: var(--th-soft) !important; font-style: normal; }
  .th-deck { max-width: 350px; color: var(--dv-secondary); font-size: 15px; line-height: 1.9; }
  .th-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .tech-home .th-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 0 20px; border-radius: 6px; font-size: 13px; font-weight: 550; transition: background .18s, transform .18s, box-shadow .18s; }
  .tech-home .th-primary { border: 1px solid #e7ecf5 !important; background: #e7ecf5 !important; color: #111820 !important; box-shadow: 0 0 0 1px rgb(255 255 255 / 5%); }
  .tech-home .th-primary:hover { background: #fff !important; transform: translateY(-2px); box-shadow: 0 5px 20px rgb(180 210 255 / 12%); }
  .tech-home .th-secondary { border: 1px solid var(--dv-line) !important; background: transparent; }
  .tech-home .th-secondary:hover { background: var(--dv-raised); transform: translateY(-2px); }
  .tech-home .th-explore { display: inline-flex; gap: 18px; align-items: center; margin-top: 42px; padding: 4px 0; background: none; font-size: 11px; color: var(--dv-muted); }
  .th-explore > span { transition: transform .2s; }
  .th-explore:hover > span { transform: translateY(4px); }
  .th-art { display: grid; place-items: center; position: relative; min-width: 0; align-self: stretch; }
  .th-art img { width: 125%; max-width: none; height: auto; object-fit: contain; transform: translate(var(--th-move-x,0px), var(--th-move-y,0px)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .th-art > span { position: absolute; bottom: 115px; left: 50%; transform: translateX(-50%); color: var(--dv-muted); font: 9px/1.5 var(--dv-mono-font); letter-spacing: .2em; white-space: nowrap; }
  .th-event { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--th-line) !important; color: var(--dv-secondary); font-size: 11px; }
  .th-event > span:first-child { padding: 3px 8px; border: 1px solid var(--th-line) !important; border-radius: 4px; color: var(--dv-muted); font-size: 10px; }
  .th-event > strong { font-weight: 450; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .th-event > span:last-child { margin-left: auto; }
  .th-stats { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); align-items: center; padding: 32px 0 50px; }
  .th-stats > p { color: var(--dv-secondary); font-size: 13px; line-height: 1.8; }
  .th-stats > p span { color: var(--dv-muted); }
  .th-stats > div { padding-left: 30px; border-left: 1px solid var(--th-line) !important; }
  .th-stats strong { display: block; font: 450 30px/1.4 var(--dv-font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .th-stats div > span { color: var(--dv-muted); font-size: 10px; }
  .th-workflow, .th-tools { scroll-margin-top: 100px; border-top: 1px solid var(--th-line) !important; padding-top: 70px; margin-top: 48px; }
  .th-section-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
  .th-section-top > span { color: var(--dv-muted); font-size: 10px; }
  .tech-home h2 { font-size: clamp(30px,3.1vw,44px); line-height: 1.3; }
  .tech-home h2 > span { color: var(--th-soft); }
  .th-stage-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 44px; border-bottom: 1px solid var(--th-line) !important; }
  .th-stage-tabs button { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 0; background: transparent; color: var(--dv-muted); font-size: 14px; transition: color .2s; text-align: left; }
  .th-stage-tabs button small { font: 10px var(--dv-mono-font); color: var(--dv-muted); }
  .th-stage-tabs button > span { margin-left: auto; margin-right: 20px; opacity: 0; transform: translate(-4px,4px); transition: opacity .2s,transform .2s; }
  .th-stage-tabs button::after { position: absolute; content: ''; bottom: -1px; left: 0; right: 16px; height: 2px; background: var(--dv-accent); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
  .th-stage-tabs button[aria-selected='true'] { color: var(--dv-text); }
  .th-stage-tabs button[aria-selected='true']::after { transform: scaleX(1); }
  .th-stage-tabs button:is(:hover,[aria-selected='true']) > span { opacity: 1; transform: translate(0,0); }
  .th-showcase > section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; padding: 44px 0; min-height: 410px; animation: th-panel-in .24s ease both; }
  .th-panel-copy .th-eyebrow { font-size: 9px; }
  .tech-home .th-panel-copy h3 { margin: 20px 0 16px; font-size: 28px; line-height: 1.4; }
  .th-panel-copy > p:not(.th-eyebrow) { color: var(--dv-muted); font-size: 13px; line-height: 1.9; max-width: 340px; }
  .th-panel-copy > :is(a,button) { display: inline-flex; align-items: center; gap: 24px; padding: 0; margin-top: 24px; color: var(--dv-text); background: none; font-size: 12px; }
  .th-preview { border: 1px solid var(--dv-line) !important; border-radius: 10px; background: linear-gradient(145deg, var(--dv-surface), var(--dv-bg)); box-shadow: 0 20px 70px rgb(0 0 0 / 12%); overflow: hidden; }
  .th-preview-bar { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--th-line) !important; font-size: 11px; }
  .th-preview-bar small { font-size: 9px; color: var(--dv-muted); }
  .th-path { margin: 0; padding: 8px 20px; list-style: none; }
  .th-path li { display: flex; gap: 16px; align-items: center; padding: 18px 0; }
  .th-path li + li { border-top: 1px solid var(--th-line) !important; }
  .th-path li > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--th-line) !important; border-radius: 7px; color: var(--dv-muted); font: 10px var(--dv-mono-font); }
  .th-path li strong { display: block; font-size: 12px; font-weight: 500; }
  .th-path li small { display: block; color: var(--dv-muted); font-size: 10px; margin-top: 4px; }
  .th-path li a { display: grid; place-items: center; margin-left: auto; width: 36px; height: 36px; border-radius: 4px; color: var(--dv-muted); transition: color .2s,background .2s; }
  .th-path li a:hover { color: var(--dv-text); background: var(--dv-raised); }
  .th-preview-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--th-line) !important; padding: 14px 20px; font-size: 10px; color: var(--dv-muted) !important; }
  .th-preview-footer:hover { color: var(--dv-text) !important; background: var(--dv-raised); }
  .th-tool-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 36px 0 16px; }
  .th-tool-grid > a { display: block; padding: 26px; border: 1px solid var(--th-line) !important; background: var(--dv-surface); border-radius: 8px; transition: transform .2s, border-color .2s, background .2s; }
  .th-tool-grid > a:hover { transform: translateY(-5px); border-color: var(--dv-accent) !important; background: var(--dv-raised); }
  .th-tool-index { color: var(--dv-muted); font: 9px var(--dv-mono-font); letter-spacing: .08em; }
  .tech-home .th-tool-grid h3 { display: flex; justify-content: space-between; margin-top: 30px; font-size: 22px; }
  .th-tool-grid h3 span { font-size: 16px; color: var(--dv-muted); }
  .th-tool-grid p { font-size: 12px; line-height: 1.9; color: var(--dv-muted); margin-top: 16px; }
  .th-tool-go { display: flex; justify-content: space-between; margin-top: 40px; font-size: 10px; color: var(--dv-secondary); }
  .th-tool-go > span { transition: transform .2s; }
  .th-tool-grid a:hover .th-tool-go > span { transform: translateX(4px); }
  .th-final { text-align: center; padding: 130px 0 110px; }
  .th-final .th-eyebrow { justify-content: center; font-size: 9px; }
  .th-final h2 { margin: 26px 0 32px; }
  .th-final > a { display: block; margin-top: 18px; font-size: 11px; color: var(--dv-muted); }
  .th-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .th-reveal.th-entered { opacity: 1; transform: translateY(0); }
  @keyframes th-panel-in { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
  html.light-mode .tech-home .th-primary { background: #142333 !important; border-color: #142333 !important; color: #fff !important; }
  html.light-mode .tech-home .th-primary:hover { background: #26415e !important; }
  @media (max-width: 900px) {
    .tech-home { padding: 0 30px; }
    .th-hero { min-height: 640px; }
    .th-intro { padding-block: 90px; }
    .tech-home .th-intro h1 { max-width: 130%; font-size: 48px !important; }
    .th-art img { width: 140%; }
    .th-art > span { bottom: 140px; }
    .th-showcase > section { gap: 30px; }
    .th-tool-grid > a { padding: 20px; }
  }
  @media (max-width: 600px) {
    .tech-home { padding: 0 22px; }
    .th-hero { display: flex; flex-direction: column; padding-top: 100px; min-height: 0; }
    .th-intro { width: 100%; padding: 20px 0 0; }
    .tech-home .th-intro h1 { width: auto; max-width: 100%; font-size: 39px !important; margin: 26px 0 22px; }
    .th-eyebrow { font-size: 9px; }
    .th-deck { max-width: 310px; font-size: 13px; }
    .th-actions { margin-top: 26px; }
    .tech-home .th-button { gap: 18px; padding-inline: 16px; min-height: 46px; font-size: 12px; }
    .tech-home .th-explore { margin-top: 28px; font-size: 10px; }
    .th-art { width: 100%; align-self: center; height: 320px; margin-top: -10px; }
    .th-art img { width: 350px; max-width: 110%; }
    .th-art > span { bottom: 14px; font-size: 8px; }
    .th-event { position: relative; margin-top: 12px; bottom: auto; width: 100%; gap: 10px; padding-top: 18px; }
    .th-event > strong { font-size: 10px; }
    .th-stats { grid-template-columns: repeat(3,1fr); padding: 32px 0 18px; }
    .th-stats > p { grid-column: 1 / -1; margin-bottom: 26px; font-size: 11px; }
    .th-stats > p br { display: none; }
    .th-stats > p span { margin-left: 6px; }
    .th-stats > div { padding-left: 18px; }
    .th-stats > div:nth-child(2) { padding-left: 0; border: 0 !important; }
    .th-stats strong { font-size: 26px; }
    .th-stats div > span { font-size: 9px; }
    .th-workflow,.th-tools { padding-top: 42px; margin-top: 42px; }
    .th-section-top { align-items: flex-start; gap: 12px; }
    .th-section-top > span { display: none; }
    .tech-home h2 { font-size: 30px; }
    .th-stage-tabs { margin-top: 26px; }
    .th-stage-tabs button { font-size: 13px; min-height: 48px; }
    .th-stage-tabs button > span { display: none; }
    .th-showcase > section { grid-template-columns: 1fr; padding: 28px 0 0; gap: 28px; }
    .tech-home .th-panel-copy h3 { font-size: 24px; }
    .th-panel-copy > p:not(.th-eyebrow) { font-size: 12px; }
    .th-panel-copy > :is(a,button) { min-height: 44px; margin-top: 10px; }
    .th-path { padding-inline: 16px; }
    .th-path li { gap: 12px; }
    .th-path li small { font-size: 9px; }
    .th-path li a { min-width: 44px; height: 44px; }
    .th-preview-footer { min-height: 44px; align-items: center; padding-inline: 16px; }
    .th-tool-grid { grid-template-columns: 1fr; gap: 12px; }
    .tech-home .th-tool-grid h3 { margin-top: 16px; }
    .th-tool-go { margin-top: 24px; }
    .th-final { padding: 90px 0 70px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tech-home *, .tech-home *::before, .tech-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .th-reveal { opacity: 1; transform: none; }
    .th-art img { transform: none !important; }
  }
