
:root{--paper:#f7f4ec;--surface:#fffdf8;--ink:#25463a;--muted:#647269;--line:#e2dfd4;--green:#3b6c58;--green2:#dce8d9;--accent:#b8755e;--warm:#f4e4da;--radius:20px;--shadow:0 14px 40px #473c2910}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:84px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a9c1ad;outline-offset:3px}img{display:block;max-width:100%}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{border:0;background:none}.shell{width:min(1256px,calc(100% - 56px));margin:0 auto}.skip{position:absolute;top:-100px;left:20px;background:var(--surface);padding:12px;z-index:50}.skip:focus{top:12px}
.top{position:sticky;top:0;z-index:5;background:#f7f4ecf2;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:76px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:25px;font-weight:800;letter-spacing:-1px;line-height:1.1;flex-shrink:0}.brand small{display:block;margin-top:5px;letter-spacing:.14em;font-size:9px;font-weight:650}.brand-icon{width:45px;height:45px;background:var(--green);border-radius:15px;color:#fff;display:grid;place-items:center}.nav-links{display:flex;gap:clamp(15px,3vw,38px);font-size:14px}.nav-links a{padding:12px 0;color:var(--muted);font-weight:600;white-space:nowrap}.nav-links a:hover,.nav-links a.active{color:var(--ink);text-decoration:underline;text-underline-offset:9px}.nav-save{border:1px solid var(--line);border-radius:100px;padding:8px 13px;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px;background:var(--surface)}.nav-save>span:first-child{font-size:22px;line-height:1}.count-pill{font-size:11px;border-radius:20px;background:var(--green2);padding:0 7px}
.hero{display:grid;grid-template-columns:1.06fr .94fr;gap:45px;align-items:center;padding:52px 0 30px;min-height:440px}.eyebrow{font:600 11px/1.5 system-ui,sans-serif;letter-spacing:.16em;color:var(--green);display:flex;align-items:center;gap:9px}.eyebrow>span{width:8px;height:8px;border-radius:50%;background:var(--accent)}.eyebrow i{width:18px;height:1px;background:var(--line)}h1{font:700 clamp(38px,5vw,66px)/1.21 "Noto Serif SC","Songti SC","STSong","SimSun",serif;letter-spacing:-.045em;margin:20px 0 18px}h1 em{font-style:normal;color:var(--accent)}.hero-desc{max-width:500px;color:var(--muted);font-size:15px;line-height:1.9}.search{display:flex;align-items:center;gap:10px;border:1px solid #d6dfd3;background:var(--surface);border-radius:15px;box-shadow:0 6px 25px #3a52320a;margin:25px 0 14px;padding:7px 7px 7px 16px}.search-symbol{font-size:28px;line-height:1;color:var(--green)}.search input{width:100%;min-width:0;background:transparent;border:0;outline:none;padding:9px 0;font-size:14px}.search button,.primary{border:0;background:var(--green);color:#fff;font-weight:650;padding:12px 17px;border-radius:11px;white-space:nowrap;transition:background .2s,transform .2s}.search button:hover,.primary:hover{background:#2e5747}.search button span{padding-left:8px}.trends{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.trends button,.filters button{background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:6px 13px;font-size:12px;transition:background .2s}.trends button:hover,.filters button:hover{background:var(--green2)}.hero-note{font-size:11px;color:var(--muted);margin-top:22px;display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;background:#799b73;border-radius:50%}
.hero-art{position:relative;height:395px;background:#e7eadd;border:1px solid #e0e2d3;border-radius:100px 26px 26px 26px;overflow:hidden;padding:24px 25px}.art-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.15em;color:#597361;margin-left:30px}.art-main{position:absolute;left:27px;top:54px;width:69%;height:280px;border:7px solid var(--surface);border-bottom-width:28px;box-shadow:0 12px 24px #5b634829;transform:rotate(-4deg);border-radius:9px;overflow:hidden;background:#e9ded1}.art-main img{width:100%;height:100%;object-fit:cover}.art-tag{position:absolute;left:11px;bottom:12px;font-size:12px;background:#fffdf8e9;padding:8px 11px;border-radius:6px}.art-tag small{display:block;font-size:8px;letter-spacing:.1em}.art-small{position:absolute;right:20px;width:39%;height:145px;border:6px solid var(--surface);border-bottom-width:18px;box-shadow:0 8px 18px #4b59432a;border-radius:6px;overflow:hidden}.art-small img{width:100%;height:100%;object-fit:cover}.art-small.one{top:42px;transform:rotate(8deg)}.art-small.two{bottom:38px;transform:rotate(4deg)}.art-foot{position:absolute;bottom:14px;left:25px;font-size:9px;color:#647761;letter-spacing:.08em}
.quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:48px}.quick-nav a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:15px 13px;min-width:0;transition:transform .2s,background .2s}.quick-nav a:hover{background:#f1f4eb;transform:translateY(-2px)}.quick-icon{flex-shrink:0;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#e8eee1;color:var(--green);font-size:24px;line-height:1}.quick-nav a:nth-child(2) .quick-icon,.quick-nav a:nth-child(3) .quick-icon{background:#f3e5db;color:#a26952}.quick-nav b{display:block;font-size:14px}.quick-nav small{display:block;color:var(--muted);font-size:11px}.quick-arrow{margin-left:auto;color:#819084}
.section{padding:0 0 46px;margin:0 0 39px;border-bottom:1px solid var(--line);scroll-margin-top:90px}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:20px}.section-head h2,.studio h2{font:700 clamp(25px,3.2vw,36px)/1.35 "Noto Serif SC","Songti SC","STSong","SimSun",serif;letter-spacing:-.025em;margin:9px 0 6px}.section-head p,.studio-copy p{color:var(--muted);font-size:13px}.section-aside{font-size:11px;color:var(--muted);white-space:nowrap}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:21px}.filters button{padding:7px 16px}.filters button.active{background:var(--green);color:#fff;border-color:var(--green)}.grid{display:grid;gap:17px;grid-template-columns:repeat(3,minmax(0,1fr))}.stitch-grid,.course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tile{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:17px;overflow:hidden;min-width:0;box-shadow:0 4px 14px #342b1a04;transition:transform .2s,box-shadow .2s}.tile:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.tile-main{padding:0;text-align:left;display:block;width:100%}.tile-img{position:relative;aspect-ratio:1.52;background:#e4e4d7;overflow:hidden}.tile-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.tile-main:hover .tile-img img{transform:scale(1.035)}.tile-label{position:absolute;top:12px;left:12px;background:#fffdf8e8;color:var(--ink);padding:4px 9px;border-radius:5px;font-size:10px;font-weight:650}.fav{position:absolute;top:10px;right:10px;border:1px solid #fff;background:#fffdf5eb;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;color:var(--ink);font:23px/1 system-ui}.fav.saved{color:#a65e48;background:#fff2e8}.tile-body{padding:14px 16px 16px}.tile-kicker{font-size:10px;color:var(--muted);letter-spacing:.04em;margin-bottom:3px}.tile h3{font-size:17px;font-weight:750;line-height:1.4;margin-bottom:5px}.tile p{color:var(--muted);font-size:12px;line-height:1.55;min-height:37px}.tile-footer{border-top:1px solid #eeebe4;padding-top:11px;margin-top:12px;display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px;color:var(--green)}.tile-footer b{font-weight:650}.tile-footer .price{color:var(--accent);font-size:14px}.stitch-grid .tile h3,.course-grid .tile h3{font-size:15px}.stitch-grid .tile-body,.course-grid .tile-body{padding:12px 13px 14px}.course-grid .tile-img::after{content:"▷";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;display:grid;place-items:center;color:#fff;background:#25463ab9;border:1px solid #fff9;border-radius:50%;font-size:24px}.empty{grid-column:1/-1;background:var(--surface);border:1px dashed var(--line);border-radius:13px;padding:35px;text-align:center;color:var(--muted);font-size:13px}
.search-status{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #d6e1d3;background:#edf1e7;border-radius:12px;padding:12px 16px;margin-bottom:30px}.search-status b{display:block}.search-status span{font-size:12px;color:var(--muted)}
.studio{display:grid;grid-template-columns:1fr 1fr;gap:34px;padding:33px;border-radius:24px;background:#e5ebdf;border:1px solid #d8e2d3;align-items:start}.studio-copy{padding:9px 5px}.studio h2{font-size:clamp(29px,4vw,43px);line-height:1.4}.studio-copy p{max-width:350px;margin:15px 0}.translator-link{display:inline-flex;gap:8px;align-items:center;padding:10px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px;font-weight:650}.studio-disclaimer{font-size:11px;color:var(--muted);max-width:380px;margin-top:15px}.studio-form{background:var(--surface);padding:22px;border-radius:15px}.form-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.form-top b{font-size:15px}.form-top span{font-size:11px;color:var(--muted)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.studio-form label{display:block;font-size:12px;font-weight:650;margin-top:12px}.studio-form select,.studio-form textarea{display:block;width:100%;border:1px solid var(--line);border-radius:9px;background:#fbfaf5;padding:10px;margin-top:6px;font-size:13px}.studio-form textarea{resize:vertical}.full{width:100%;margin-top:13px}.recommend-result{margin-top:15px;padding:15px;background:#edf1e8;border-radius:10px;font-size:13px}.recommend-result .chip-list{margin:9px 0}.footer{padding:0 0 35px;display:flex;justify-content:space-between;gap:20px;align-items:flex-end;color:var(--muted);font-size:11px}.footer-brand{color:var(--ink);font-size:20px;align-items:baseline}.footer-brand small{display:inline}.footer p{margin-top:6px}.footer>div:last-child{display:flex;flex-direction:column;text-align:right}.footer a:hover{text-decoration:underline}
dialog{border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);padding:0;width:min(840px,calc(100% - 28px));max-height:88vh;overflow:auto;box-shadow:0 24px 100px #223c3560}dialog::backdrop{background:#1f342d85;backdrop-filter:blur(3px)}.dialog-bar{position:sticky;top:0;background:var(--surface);z-index:2;display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 18px}.dialog-bar span{font-size:10px;letter-spacing:.12em;color:var(--muted)}.close{width:33px;height:33px;font-size:25px;line-height:1;background:#f0efe7;border-radius:50%}.detail{padding:24px}.detail-hero{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.detail-image{width:100%;border-radius:13px;aspect-ratio:1.5;object-fit:cover}.detail h2{font-size:25px;line-height:1.4;margin:6px 0 9px}.detail h3{font-size:16px;margin:0 0 12px}.detail p{font-size:13px;color:var(--muted);margin:6px 0}.mini{font-size:11px;color:var(--muted)}.info-note{font-size:12px;background:#f3eee3;color:#796b53;padding:11px 13px;border-radius:8px;margin:13px 0;line-height:1.65}.detail-block{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.chip-list{display:flex;flex-wrap:wrap;gap:7px}.chip-list button,.chip-list span{border:1px solid #dce3d5;padding:6px 11px;border-radius:20px;font-size:12px;background:#edf1e8}.chip-list button:hover,.chip-list button.selected{background:var(--green);color:white}.stitch-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.stitch-option{border:1px solid var(--line);padding:0;background:var(--surface);border-radius:11px;overflow:hidden;text-align:left}.stitch-option.selected{box-shadow:0 0 0 2px var(--green);border-color:var(--green)}.stitch-option img{width:100%;aspect-ratio:1.7;object-fit:cover}.stitch-option span{display:block;font-size:12px;padding:6px 9px}.ghost{border:1px solid var(--line);padding:8px 12px;border-radius:9px;background:var(--surface);font-size:12px;font-weight:600}.ghost:hover{background:#edf1e8}.detail-steps{display:grid;gap:8px}.check-row{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:9px;padding:10px;font-size:13px;cursor:pointer}.check-row input{accent-color:var(--green);width:17px;height:17px;margin-top:3px;flex-shrink:0}.check-row:has(input:checked){background:#eff3eb;color:#738174}.progress-bar{height:6px;background:#e9ece4;border-radius:8px;overflow:hidden;margin:8px 0 13px}.progress-bar span{display:block;height:100%;background:var(--green);transition:width .2s}.diagram-wrap{border:1px solid var(--line);background:#faf8f1;border-radius:13px;padding:14px}.diagram-wrap svg{width:100%;max-height:340px;display:block}.diagram-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}.diagram-controls input{flex:1;min-width:100px;accent-color:var(--green)}.diagram-controls b{font-size:13px}.diagram-caption{margin-top:9px;color:var(--muted);font-size:12px}.video{width:100%;background:#273e34;border-radius:12px;display:block;aspect-ratio:16/9}.video-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0}.video-info strong{color:var(--accent);font-size:19px}.planned-box{background:#f0eee5;padding:25px;border-radius:13px;text-align:center;color:var(--muted)}.planned-box b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}.pay-content{padding:24px}#payDialog{width:min(410px,calc(100% - 28px))}.pay-content h2{margin:8px 0;font-size:23px}.pay-content p{font-size:13px;color:var(--muted)}.pay-price{font-size:35px;font-weight:750;color:var(--accent);margin:12px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;font-size:13px;padding:12px 18px;border-radius:11px;z-index:20;box-shadow:var(--shadow);max-width:90%;text-align:center}
@media(max-width:980px){.shell{width:calc(100% - 36px)}.hero{gap:24px}.hero-art{height:345px}.art-main{height:237px}.art-small{height:125px}.quick-nav{gap:8px}.quick-nav a{padding:12px 9px;gap:8px}.quick-arrow{display:none}.stitch-grid,.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-links{gap:19px}}
@media(max-width:720px){html{scroll-padding-top:109px}.shell{width:calc(100% - 28px)}.nav{display:grid;grid-template-columns:1fr auto;gap:8px;min-height:0;padding:10px 0 0}.brand{font-size:22px}.brand-icon{width:39px;height:39px}.nav-save{justify-self:end}.nav-links{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:8px;overflow:auto}.nav-links a{padding:8px 0 10px;font-size:12px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:28px 0 18px;min-height:0}.hero h1{font-size:45px;margin:12px 0}.hero-desc{font-size:13px}.search{margin-top:17px;padding-left:11px;gap:6px}.search input{font-size:12px}.search button{padding:10px 11px;font-size:12px}.search button span{display:none}.hero-note{margin-top:12px}.hero-art{height:300px;border-radius:58px 20px 20px 20px}.art-main{height:208px;top:49px}.art-small{height:110px;right:18px}.art-small.two{bottom:33px}.quick-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:32px}.quick-nav a{padding:11px}.quick-icon{width:34px;height:34px;font-size:20px}.section{padding-bottom:30px;margin-bottom:28px;scroll-margin-top:10px}.section-head{align-items:flex-start;flex-direction:column;gap:7px;margin-bottom:14px}.section-head h2{font-size:28px}.section-head p{font-size:12px}.section-aside{font-size:10px;white-space:normal}.filters{gap:6px;margin-bottom:13px}.filters button{padding:6px 11px;font-size:11px}.grid,.stitch-grid,.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{border-radius:12px}.tile-label{top:7px;left:7px;font-size:9px;padding:2px 5px}.fav{top:6px;right:6px;width:29px;height:29px;font-size:20px}.tile-body,.stitch-grid .tile-body,.course-grid .tile-body{padding:10px}.tile h3,.stitch-grid .tile h3,.course-grid .tile h3{font-size:14px}.tile p{font-size:11px;min-height:34px}.tile-footer{font-size:10px;margin-top:9px;padding-top:8px}.studio{grid-template-columns:1fr;padding:18px;gap:14px}.studio-form{padding:14px}.footer{flex-direction:column;align-items:flex-start}.footer>div:last-child{text-align:left}.detail{padding:15px}.detail-hero{grid-template-columns:1fr;gap:12px}.detail-image{max-height:250px}.detail h2{font-size:23px}.detail-block{margin-top:16px;padding-top:15px}.dialog-bar{padding:10px}.dialog-bar span{font-size:9px}.stitch-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.hero h1{font-size:39px}.hero-art{height:263px}.art-main{height:178px}.art-small{height:92px}.tile-body{padding:8px}.form-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v0.3: photo credits, failure states and free teaching media. */
.tile-credit{padding:0 13px 11px;font-size:10px;line-height:1.45;color:var(--muted)}
.media-credit{font-size:11px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.media-credit a,.media-source-link{text-decoration:underline;text-underline-offset:2px}
.detail-photo{position:relative;min-width:0}.detail-credit{padding:5px 0}
.real-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:12px}
.real-photo-grid figure{position:relative;margin:0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}
.step-photo{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f0eee5}
.real-photo-grid figcaption{padding:10px;font-size:12px}
.stitch-option{position:relative}.photo-failed{position:relative}
.photo-failed::before{content:"实拍未加载 · 备用图";position:absolute;z-index:1;bottom:5px;left:5px;font:11px/1.4 system-ui,sans-serif;padding:4px 6px;background:#fffdf8e8;color:#795d49;border-radius:5px;pointer-events:none}
.detail-photo.photo-failed::before,.real-photo-grid figure.photo-failed::before{bottom:auto;top:5px}
.real-video{max-height:55vh;object-fit:contain}.media-source-link{display:inline-block;margin-top:7px}
.art-main.photo-failed::before,.art-small.photo-failed::before{bottom:5px;top:auto}
@media(max-width:480px){.real-photo-grid{gap:8px}.real-photo-grid figcaption{padding:7px}.media-credit{font-size:10px}}
