
/* 第九轮共用样式（从第八轮沿用）。
   视觉沿用第六轮（Mote 式留白；Instrument Sans / Instrument Serif 斜体 / 苹方）。
   Claude 窗口按真实比例画，清说小窗是真用版快照（../product/panel.html），真实大小，不重画。 */
*{box-sizing:border-box}
:root{--ink:#22211f;--muted:#5c5953;--soft:#8a857c;--paper:#fbfaf7;--line:#e4e0d8;--rose:#94584d;--blue:#2340b5;--wash:#eef1fc;
  --sans:"Instrument Sans","PingFang SC","Hiragino Sans GB",sans-serif;--serif:"Instrument Serif","Songti SC",serif}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,figure{margin:0}
main,.top,.credit{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.top{min-height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:baseline;gap:8px;font-size:21px;font-weight:500;letter-spacing:-.02em}
.brand em{font-family:var(--serif);font-size:23px;color:var(--muted)}
.top .who{font-size:14px;color:var(--soft)}
h1,h2{font-weight:500;letter-spacing:-.035em;line-height:1.08;text-wrap:balance}
.serif{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em}
:focus-visible{outline:2px solid #62765e;outline-offset:3px}
/* —— 首屏 —— */
.hero{text-align:center;padding:64px 0 0}
.stage{margin-top:44px;text-align:left}
h1{font-size:clamp(40px,6vw,80px)}
/* 功能节：图文左右交替 */
.feat{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:clamp(36px,6vw,90px);align-items:center;margin-top:clamp(90px,12vw,150px)}
.feat.flip{grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr)}.feat.flip .copy{order:2}
.feat figure{width:fit-content;max-width:100%;justify-self:center}
h2{font-size:clamp(40px,5vw,68px)}
.copy p{color:var(--muted);font-size:clamp(17px,1.45vw,20px);margin-top:18px;max-width:22ch}
.copy p b{color:var(--ink);font-weight:500}
.copy .fine{font-size:13.5px;color:var(--soft);margin-top:14px}
.feat .meta{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:13.5px;color:var(--muted)}
.feat .meta b{font-weight:500;color:var(--ink)}
.count{font-variant-numeric:tabular-nums}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;font-size:13px;color:var(--soft)}
.ghost{min-height:38px;cursor:pointer;border:1px solid #d8d4cc;background:transparent;color:var(--ink);padding:6px 14px;border-radius:6px;font:inherit;font-size:14px;white-space:nowrap}
.ghost:hover{background:#efede8}
/* 折叠说明 */
details{margin-top:clamp(80px,10vw,120px);border-top:1px solid var(--line);padding:22px 0 44px}
summary{cursor:pointer;color:var(--muted)}
.pcard{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin-top:22px;max-width:640px}
.pcard small{display:block;color:var(--blue);font-size:13.5px}.pcard .m{margin-top:4px;font-weight:500}
.pcells{display:grid;grid-template-columns:repeat(3,1fr);margin-top:14px;border-top:1px solid var(--line)}
.pcells div{padding:12px 10px 2px 0}.pcells b{display:block;font-family:var(--serif);font-weight:400;font-size:40px;line-height:1}
.pcells em{font-style:normal;font-weight:500;display:block;margin-top:6px}.pcells span{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.pn{font-size:13px;color:var(--soft);margin-top:12px}
.fold{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:30px}
.fold h4{margin:0 0 6px;font-weight:500}.fold ol{margin:0;padding-left:1.2em;color:var(--muted);font-size:15px}.fold li{margin:0 0 6px}
.more{color:var(--muted);max-width:72ch;margin-top:24px}
blockquote{margin:26px 0 0;padding-left:16px;border-left:2px solid var(--rose);font-size:18px;max-width:60ch}
blockquote cite{display:block;margin-top:6px;font-size:13px;color:var(--muted);font-style:normal}
.credit{border-top:1px solid var(--line);min-height:68px;padding:20px 0;color:var(--soft);font-size:14px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}
/* —— Claude Code 窗口（逻辑像素，按容器宽度缩放；简化版，不放 Anthropic 标志）。crop 版只留对话区和输入框 —— */
.cw-fit{position:relative;width:100%;overflow:hidden;border-radius:12px;box-shadow:0 0 0 1px var(--line),0 30px 70px -40px rgba(40,30,10,.35)}
.cw{position:absolute;left:0;top:0;transform-origin:0 0;background:#faf9f5;font:15px/1.6 -apple-system,"PingFang SC",sans-serif;color:#3d3929;display:flex;flex-direction:column}
.cw-tb{height:40px;flex:none;display:flex;align-items:center;gap:8px;padding:0 16px;background:#f0eee6;border-bottom:1px solid #e4e1d6;font-size:13px;color:#7a7466}
.cw-tb i{width:12px;height:12px;border-radius:50%}.cw-tb i:nth-child(1){background:#ee6a5f}.cw-tb i:nth-child(2){background:#f5bd4f}.cw-tb i:nth-child(3){background:#61c454}
.cw-tb span{margin:0 auto;padding-right:60px}
.cw-body{flex:1;display:grid;grid-template-columns:260px 1fr;min-height:0}
.cw.narrow .cw-body,.cw.crop .cw-body{grid-template-columns:1fr}.cw.narrow .cw-side,.cw.crop .cw-side,.cw.crop .cw-tb,.cw.crop .cw-mh{display:none}
.cw-side{background:#f0eee6;border-right:1px solid #e4e1d6;padding:14px 12px;font-size:14px}
.cw-side .modes{display:flex;background:#e6e3d9;border-radius:9px;padding:3px;margin-bottom:14px}
.cw-side .modes span{flex:1;text-align:center;padding:5px 0;border-radius:7px;color:#7a7466}
.cw-side .modes .on{background:#faf9f5;color:#3d3929;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.cw-side .new{padding:8px 10px}.cw-side p{margin:16px 10px 6px;font-size:12px;color:#9a9384}
.cw-side .ses{padding:7px 10px;border-radius:8px;color:#5c5647;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-side .ses.on{background:#e6e3d9;color:#3d3929}
.cw-main{display:flex;flex-direction:column;min-height:0}
.cw-mh{height:52px;flex:none;display:flex;align-items:center;gap:10px;padding:0 28px;font-size:15px;border-bottom:1px solid #efece3}.cw-mh span{color:#9a9384;font-size:13px}
.cw-chat{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:0 0 74px}
.cw-col,.cw-dock{width:860px;margin:0 auto}.cw.narrow .cw-col,.cw.narrow .cw-dock{width:500px}.cw.crop .cw-col,.cw.crop .cw-dock{width:492px}
.cw.crop.wide .cw-col,.cw.crop.wide .cw-dock{width:720px}
.cw.crop .cw-col .us.side{width:360px;max-width:360px}
.cw-col{display:flex;flex-direction:column;gap:16px}
.cw-col .as{display:flex;flex-direction:column;gap:9px;padding:4px 0;width:86%}
.cw-col .as i{display:block;height:11px;border-radius:6px;background:#e7e3d8}
.cw-col .as.grow i{animation:grow 1.3s ease-out both}.cw-col .as.grow i:nth-child(2){animation-delay:.3s}
@keyframes grow{from{max-width:0}to{max-width:100%}}
.cw-col .us{align-self:flex-end;width:520px;max-width:100%;background:#efece3;border-radius:16px;padding:12px 16px;color:#2f2b22;animation:pop .3s ease-out}
.cw.crop .cw-col .us,.cw.narrow .cw-col .us{width:auto;max-width:420px}
.cw-col .us .ut{display:block;transition:line-height .45s ease}
.cw-col .us.clamp .ut{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cw.narrow .cw-col .us .ut{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.cw-col .us small{display:table;font-size:12px;line-height:1;background:#8a8270;color:#fff;border-radius:4px;padding:3px 6px;margin-bottom:6px}
.cw-col .us mark,.cw-box mark{background:var(--wash);color:var(--blue);border-radius:3px;padding:0 2px}
@keyframes pop{from{opacity:0;transform:translateY(8px)}}
.cw-dock{position:relative;margin-bottom:24px}
.cw-vcw{position:absolute;left:-14px;bottom:calc(100% - 6px);width:368px;height:64px;border:0;background:transparent;pointer-events:none;z-index:2}
.cw-tags{position:absolute;left:0;width:340px;bottom:calc(100% + 54px);height:40px;opacity:0;transition:opacity .4s;pointer-events:none;z-index:3}
.cw.tags .cw-tags{opacity:1}
.cw-tags span{position:absolute;bottom:0;font:500 13.5px/1.3 -apple-system,"PingFang SC",sans-serif;padding-bottom:12px;white-space:nowrap}
.cw-tags span::after{content:"";position:absolute;bottom:0;width:1px;height:10px;background:currentColor}
.cw-tags .l{left:12px;color:#7a7466}.cw-tags .l::after{left:14px}
.cw-tags .r{right:0;color:var(--blue);text-align:right}.cw-tags .r::after{right:44px}
.cw-inp{background:#fff;border-radius:18px;padding:14px 14px 10px 18px;box-shadow:0 0 0 1px #e1ddd1,0 4px 16px -8px rgba(0,0,0,.14)}
.cw-box{min-height:27px;max-height:110px;overflow:hidden;display:flex;align-items:flex-end;flex-wrap:wrap;line-height:1.7}
.cw-box .ph{color:#a8a191}.cw-box .ph[hidden]{display:none}
.cw-box .txt{white-space:pre-wrap}.cw-box .txt .int{color:#b3ad9f}
.cw-box .caret{display:inline-block;width:2px;height:19px;background:#3d3929;margin-left:1px;vertical-align:-4px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.cw-tools{display:flex;align-items:center;gap:8px;margin-top:8px;color:#8a8270;font-size:13px}
.cw-tools .plus{width:30px;height:30px;border-radius:8px;border:1px solid #e4e0d6;display:flex;align-items:center;justify-content:center;font-size:17px}
.cw-tools .chip{padding:4px 9px;border-radius:7px;background:#f3f1ea}.cw-tools .sp{flex:1}
.cw-tools .mic{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#7a7466;transition:background .2s,color .2s}
.cw-tools .mic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.cw.listening .cw-tools .mic{background:#c96442;color:#fff}.cw.listening .cw-tools .mic svg{animation:breathe 1.1s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(.86)}}
.cw-tools .send{width:32px;height:32px;border-radius:9px;background:#c96442;color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px}
@media (max-width:760px){
  main,.top,.credit{width:calc(100% - 32px)}.top .who{display:none}
  .hero{padding-top:44px}
  .feat,.feat.flip{grid-template-columns:1fr;gap:22px;margin-top:84px}.feat.flip .copy{order:0}.feat figure{width:100%}
  
  .steps{grid-template-columns:1fr;gap:10px}.bar{flex-wrap:wrap}
  .fold{grid-template-columns:1fr;gap:20px}.pcells b{font-size:32px}
}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important}}
