
/* Hallmark: brand 5 / hierarchy 5 / interaction 5 / mobile 5. */
:root{--paper:#f3f4f2;--ink:#17263e;--muted:#536277;--mint:#b7ebd5;--coral:#b74635;--line:#d8dfe5;--yellow:#fff0bf;font-family:"Microsoft YaHei UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);line-height:1.8}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--coral)}a:focus-visible,summary:focus-visible{outline:3px solid #438b74;outline-offset:4px}.top,main,footer{width:min(1160px,calc(100% - 64px));margin:auto}.top{display:flex;justify-content:space-between;align-items:center;padding:25px 0}.top a{text-decoration:none;font-size:14px}.top .brand{font-size:25px;font-weight:750;letter-spacing:-1px}.brand small{font-size:12px;letter-spacing:0;margin-left:10px;color:var(--muted)}.ribbon{background:var(--yellow);text-align:center;padding:8px;border-radius:8px;font-size:14px}.hero{display:grid;grid-template-columns:1fr 260px;align-items:center;gap:40px;padding:40px 0 25px}.eyebrow{font-size:14px;color:var(--muted);margin:0}h1{font-size:clamp(32px,4.5vw,56px);line-height:1.3;letter-spacing:-2px;margin:12px 0 22px}h1 em{font-style:normal;color:var(--coral);text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:#ed745e;text-underline-offset:12px}.hero p:last-child{max-width:670px;color:var(--muted);margin-bottom:0}.doodle{width:100%;max-height:200px;transform:rotate(-4deg)}.demo{background:white;border:1px solid var(--line);border-radius:14px;padding:16px 24px}.demo p{margin:4px 0}.demo a{font-weight:650}.demo .purchase{font-size:15px;color:var(--coral)}.chapter-nav{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.chapter-nav a{border:1px solid var(--line);border-radius:30px;padding:7px 17px;background:white;text-decoration:none;font-size:14px}.chapter-nav a:hover{background:var(--mint);color:var(--ink)}.chapter{scroll-margin-top:24px;margin:50px 0 40px}.chapter-head{display:flex;gap:14px;align-items:center;margin:0 0 18px}.number{background:var(--mint);border:1px solid #8ebdac;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-size:14px;transform:rotate(-7deg)}h2{font-size:27px;line-height:1.4;margin:0}.inlet-tutorial{display:block;width:100%;border:0;border-radius:16px;height:930px;background:white}.instructions,.info,.hc-faq details{background:white;border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:0 22px;overflow-wrap:anywhere}.instructions summary,.info summary,.hc-faq summary{cursor:pointer;font-weight:650;list-style:none;padding:17px 0;display:flex;justify-content:space-between;gap:16px}.instructions summary::after,.info summary::after,.hc-faq summary::after{content:'+';font-size:23px;font-weight:400;color:var(--muted);line-height:1.2}.instructions[open] summary::after,.info[open] summary::after,.hc-faq details[open] summary::after{content:'−'}.instructions[open] summary,.info[open] summary,.hc-faq details[open] summary{border-bottom:1px solid var(--line)}details p,details ol,details ul{margin:18px 0}li{padding-left:4px;margin:10px 0}ol,ul{padding-left:25px}.standalone{font-size:13px;color:var(--muted);display:inline-block;margin-top:4px}.more{margin-top:50px}.more h2{margin-bottom:20px}.hc-release{border-bottom:1px solid var(--line);padding:12px 0}.hc-release span,.hc-release time{font-size:13px;color:var(--muted);margin-left:10px}.hc-release p{margin:8px 0}.hc-note{color:var(--muted)}footer{display:flex;justify-content:space-between;gap:15px;padding:28px 0;margin-top:35px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}@media(max-width:767px){.top,main,footer{width:calc(100% - 32px)}.top{padding:18px 0}.hero{grid-template-columns:1fr;gap:8px;padding-top:28px}h1{font-size:34px;letter-spacing:-1px}.doodle{display:none}.demo{padding:12px 16px}.chapter-nav{gap:7px}.chapter-nav a{padding:6px 12px;font-size:13px}.chapter{margin:34px 0}h2{font-size:22px}.number{flex:0 0 36px;height:36px}.instructions,.info,.hc-faq details{padding:0 16px}.inlet-tutorial{height:1170px}footer{flex-direction:column}.ribbon{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.chapter{border-top:1px solid var(--line);margin:0;padding:22px 0}.chapter-head{list-style:none;cursor:pointer;margin:0}.chapter-head::-webkit-details-marker{display:none}.chapter-toggle{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}.chapter[open] .chapter-head{margin-bottom:18px}.chapter h2{font-size:23px}.chapter-body{min-width:0}@media(max-width:767px){.chapter h2{font-size:19px}.chapter-toggle{font-size:10px}.chapter-head{gap:9px}}
