:root{--ink:#203f39;--muted:#5e756b;--green:#276958;--green-dark:#184d41;--cream:#f8f7ee;--paper:#fffefa;--line:#e3e9dc;--yellow:#ffcc6e;--focus:#dd7837;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip{position:absolute;top:-100px;left:16px;z-index:20;background:white;padding:12px}.skip:focus{top:10px}.shell{width:min(1192px,calc(100% - 64px));margin-inline:auto}.site-header{height:82px;border-bottom:1px solid #e5eadd;background:rgba(248,247,238,.94)}.header-inner{height:100%;width:min(1192px,calc(100% - 64px));margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;text-decoration:none}.brand-mark{width:44px;height:44px;display:block}.brand-mark svg{width:100%;height:100%}.brand b,.brand small{display:block}.brand b{font-size:17px;letter-spacing:.02em}.brand small{font-size:11px;color:#6c8278;letter-spacing:.08em;margin-top:1px}.header-link{text-decoration:none;font-size:14px;font-weight:700;border-bottom:1px solid var(--green);padding:9px 0}.header-link span{margin-left:8px}.hero{position:relative;display:grid;grid-template-columns:1fr 1.02fr;min-height:420px;align-items:center;gap:48px;padding-block:42px 46px}.hero-copy{padding-left:10px}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;background:#e5f0df;border-radius:100px;color:#2b6b53;font-size:13px;font-weight:700;letter-spacing:.04em}.spark{color:#dc9c3f;font-size:17px;line-height:1}.hero h1{font-size:clamp(38px,4.4vw,59px);line-height:1.22;letter-spacing:.01em;margin:20px 0 19px;font-weight:800}.hero h1 em{font-style:normal;color:#db8356}.hero-copy>p{font-size:16px;line-height:1.95;color:var(--muted);margin:0}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:19px;margin-top:27px}.primary-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:50px;padding:0 22px;border-radius:13px;text-decoration:none;font-weight:700;border:0;background:var(--green);color:#fff;transition:background .18s,transform .18s}.primary-button:hover{background:var(--green-dark);transform:translateY(-2px)}.hero-note{font-size:13px;color:#647a6f}.note-icon{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f7e3b1;color:#8f631e;margin-right:5px}.hero-art{height:340px;border-radius:32px;overflow:hidden;position:relative;background:#e5efe4;box-shadow:0 15px 36px #31594713}.hero-art img{width:100%;height:100%;object-fit:cover;display:block}.art-label{position:absolute;bottom:18px;left:18px;background:#fffef5ed;box-shadow:0 5px 20px #284b2b17;border-radius:100px;padding:9px 13px;font-size:12px;font-weight:700}.art-label-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#e8a655;margin-right:7px}.hero-scribble{position:absolute;top:64px;left:45%;font-size:28px;color:#e7bd75;transform:rotate(12deg)}.library{padding-top:27px;padding-bottom:86px}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.section-kicker{font-size:10px;letter-spacing:.17em;font-weight:800;color:#7c9c86}.section-top h2{font-size:30px;line-height:1.3;margin:8px 0 5px}.section-top h2 span{font-size:18px;color:#e7a45d}.section-top p{margin:0;color:var(--muted);font-size:14px}.total-pill{display:flex;align-items:center;gap:10px;border:1px solid #e3e9dc;border-radius:14px;background:#fbfcf5;padding:10px 15px;color:#547365}.total-pill strong{font-size:29px;line-height:1;color:var(--green)}.total-pill span{font-size:11px;line-height:1.4}.toolbox{display:grid;grid-template-columns:1fr 190px;gap:16px;margin-top:29px}.toolbox label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.search-field{height:52px;background:var(--paper);border:1px solid #dce6d9;border-radius:13px;display:flex;align-items:center;gap:12px;padding:0 15px;transition:border .2s,box-shadow .2s}.search-field:focus-within{border-color:#5c9881;box-shadow:0 0 0 3px #c5dfd4}.search-field svg{width:21px;height:21px;fill:none;stroke:#789486;stroke-width:1.8;flex:none}.search-field input{border:0;outline:0!important;background:transparent;min-width:0;width:100%;color:var(--ink);font-size:15px}.search-field input::placeholder{color:#8da095}.search-field kbd{font-size:17px;color:#98a89f;font-family:inherit}.sort-wrap select{width:100%;height:52px;border:1px solid #dce6d9;border-radius:13px;background:var(--paper);padding:0 12px;color:var(--ink)}.filters-row{display:flex;align-items:flex-start;gap:15px;margin-top:24px}.filters-label{white-space:nowrap;font-size:13px;font-weight:700;padding:11px 0;color:#607a6d}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{min-height:44px;padding:0 16px;border:1px solid #dfe8db;border-radius:100px;background:#fffefa;color:#5a7568;font-size:13px;font-weight:700;transition:background .2s,border-color .2s}.filter:hover{border-color:#8eb8a3}.filter[aria-pressed="true"]{background:#285f50;border-color:#285f50;color:white}.filter .count{margin-left:6px;font-size:11px;opacity:.8}.results-heading{display:flex;justify-content:space-between;align-items:center;min-height:55px;margin-top:12px}.results-heading p{font-size:13px;color:#71877b}.clear-filter{border:0;background:none;color:#327561;font-weight:700;min-height:44px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lesson-card{background:var(--paper);border:1px solid #e4eadf;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px #244f2a09;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px #244f2a14}.card-art{height:155px;position:relative;display:grid;place-items:center;overflow:hidden}.card-art svg{width:100%;height:100%;display:block}.card-number{position:absolute;top:15px;left:16px;font-size:11px;font-weight:800;letter-spacing:.08em;color:#355a50;background:#fffefaaf;padding:5px 8px;border-radius:7px}.card-body{padding:18px 19px 19px;display:flex;flex:1;flex-direction:column}.card-category{font-size:11px;font-weight:800;color:#54816e;letter-spacing:.04em}.card-title{margin:7px 0 5px;font-size:19px;line-height:1.4}.card-description{font-size:13px;line-height:1.65;color:#647c70;margin:0 0 16px;min-height:43px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;border-top:1px solid #eef1e8;padding-top:13px}.card-type{font-size:11px;color:#819287}.card-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:96px;border-radius:10px;text-decoration:none;background:#e7f2e9;color:#286b55;font-size:13px;font-weight:800;padding:0 11px}.card-open:hover{background:#d5eadd}.empty-state{text-align:center;background:var(--paper);padding:42px 20px;border:1px dashed #cbdccf;border-radius:18px}.empty-state[hidden],.clear-filter[hidden]{display:none}.empty-illustration{display:grid;place-items:center;width:66px;height:66px;margin:auto;border-radius:22px;background:#f7e8bc;color:#8e6b31;font-size:32px;font-weight:bold}.empty-state h3{margin:14px 0 5px}.empty-state p{color:var(--muted);font-size:14px}.outline-button{border:1px solid #b6d0bf;background:white;color:var(--green);gap:0}.noscript{padding:20px;background:#fff}footer{background:#e9f0e6;border-top:1px solid #dfe8dc}.footer-inner{min-height:108px;display:flex;align-items:center;gap:24px}.footer-brand{font-weight:800}.footer-brand span{color:#dc9853}.footer-inner p{font-size:13px;color:#628071}.footer-inner small{margin-left:auto;font-size:12px;color:#6f887a}@media(max-width:850px){.hero{gap:24px}.hero-art{height:285px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.shell,.header-inner{width:min(100% - 36px,1192px)}.site-header{height:72px}.brand-mark{width:38px;height:38px}.brand b{font-size:15px}.header-link{font-size:13px}.hero{grid-template-columns:1fr;gap:24px;padding:32px 0 38px}.hero-copy{padding:0}.hero h1{font-size:38px;margin:16px 0}.hero-copy>p{font-size:15px}.hero-art{height:225px}.hero-scribble{display:none}.library{padding-top:18px}.section-top h2{font-size:25px}.total-pill{padding:8px 10px}.total-pill strong{font-size:25px}.toolbox{grid-template-columns:1fr;gap:14px}.filters-row{display:block}.filters-label{padding:0 0 10px}.lesson-grid{grid-template-columns:1fr}.card-art{height:165px}.footer-inner{padding:24px 0;display:block}.footer-inner p{margin:6px 0}.footer-inner small{display:block}.lesson-card:hover,.primary-button:hover{transform:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* 课堂整体视觉：统一颜色、留白和交互反馈。 */
:root{--ink:#203e35;--muted:#536d61;--green:#256b55;--green-dark:#174f3d;--cream:#f8f8ef;--paper:#fffefa;--line:#dbe8d9;--focus:#bb5d23;--radius-card:20px;--shadow-card:0 10px 28px rgba(37,78,53,.07)}
.site-header{background:#fffef8;border-bottom-color:#e5edde}.brand-mark{filter:drop-shadow(0 3px 0 #e7d5a5)}.header-link{border:0;border-radius:11px;padding:11px 14px;background:#eaf4e8;color:#27634e}.header-link:hover{background:#dbeede}
.hero{padding-block:48px 56px}.hero h1{letter-spacing:0;text-wrap:balance}.hero h1 em{color:#bd5e34}.hero-copy>p{color:#536d61}.hero-art{box-shadow:0 10px 0 #dfebdc,0 20px 35px rgba(42,86,57,.1);border:4px solid #fffdf5}.art-label{color:#264e3e}
.eyebrow{background:#e3f1df;color:#285e4c}.primary-button{box-shadow:0 4px 0 #174d3e}.primary-button:hover{transform:none;box-shadow:0 3px 0 #174d3e}.primary-button:active{transform:translateY(2px);box-shadow:0 1px 0 #174d3e}
.library{padding-top:32px}.section-kicker{color:#507e68}.section-top p{color:#536d61}.total-pill{border:1px solid #dce9d8;background:#eff6e9}.toolbox{padding:20px;background:#edf5e9;border-radius:18px;border:1px solid #dfeadb}.toolbox label{color:#315d4b}.search-field,.sort-wrap select{border-color:#ccddcd}.search-field input::placeholder{color:#667d70}.sort-wrap select{cursor:pointer}.filter{min-height:44px}.filter[aria-pressed="true"]{box-shadow:0 3px 0 #18483b}.results-heading p{color:#536d61}
.lesson-card{border-radius:var(--radius-card);border-color:#dfe9dc;box-shadow:var(--shadow-card)}.lesson-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(37,78,53,.12)}.card-art{height:165px}.card-body{padding:20px 20px 18px}.card-category{font-size:12px;color:#416f58}.card-description{font-size:14px;color:#536d61}.card-type{font-size:12px;color:#5e7869}.card-open{border:1px solid #cde4d2;background:#e6f3e6;color:#1e6048}.card-open:hover{background:#d7edda}.card-open:active{background:#cbe5ce}.empty-state{background:#fffefa}
@media(max-width:600px){.hero{padding-block:32px 42px}.toolbox{padding:16px}.card-art{height:170px}.lesson-card:hover{transform:none}.primary-button:hover{transform:none}.footer-inner small{color:#4f6b5a}}
@media(prefers-reduced-motion:reduce){.lesson-card:hover,.primary-button:hover{transform:none}}

/* 收紧首屏，让搜索和课程列表更早出现。 */
.site-header{height:auto}
.header-inner{min-height:66px}
.brand-mark{width:40px;height:40px}
.hero{min-height:0;gap:36px;padding-block:24px 28px}
.hero h1{font-size:clamp(34px,3.6vw,48px);line-height:1.18;margin:14px 0 12px}
.hero-copy>p{line-height:1.7}
.hero-actions{margin-top:18px;gap:16px}
.hero-art{height:260px;border-radius:26px}
.hero-scribble{top:38px}
.library{padding-top:20px}
.toolbox{margin-top:20px}
@media(max-width:850px){.hero-art{height:235px}}
@media(max-width:600px){
  .site-header{height:auto}
  .header-inner{min-height:62px}
  .brand-mark{width:38px;height:38px}
  .hero{gap:18px;padding-block:24px 26px}
  .hero h1{font-size:clamp(32px,9vw,38px);margin:12px 0 10px}
  .hero-actions{margin-top:16px}
  .hero-art{height:190px}
  .library{padding-top:12px}
}

/* 将原有课程链接扩展至整张卡片，保留链接的原生操作。 */
.lesson-card{position:relative}.card-open::after{content:"";position:absolute;inset:0}.lesson-card:focus-within{outline:3px solid var(--focus);outline-offset:3px}.card-open:focus-visible{outline:none}.lesson-card:active{box-shadow:0 4px 12px #244f2a22}
