/* 浅色货架：沿用 tool-store/light 的暖白、翡翠绿、黄铜色与圆角节奏。 */
:root{--bg:#fafaf8;--surface:#fff;--ink:#1a1814;--muted:#726d63;--line:#e7e6df;--green:#099268;--deep:#07684d;--soft:#eaf4ed;--brass:#a8844e;--radius:18px;--shadow:0 8px 28px #1a181408}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 "PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 90% 0%,#e9efe580,transparent 45%),linear-gradient(#fafaf8,#f5f4ef)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #09926888;outline-offset:4px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}button{color:inherit}svg{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}
.topbar{height:82px;max-width:1256px;margin:auto;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:17px}.brand img{width:36px;height:36px;border-radius:10px}.brand small{display:block;font-size:10px;letter-spacing:.12em;font-weight:400;color:var(--muted)}.account{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.account:before{content:"";width:6px;height:6px;background:var(--green);border-radius:50%}.page{max-width:1180px;margin:auto;padding:40px 28px 142px;min-width:0}.eyebrow{font-size:11px;letter-spacing:.17em;color:var(--brass);font-weight:600;margin-bottom:13px}.hero{padding:16px 0 32px}.hero h1{font-size:clamp(30px,4vw,46px);line-height:1.28;letter-spacing:-.035em;max-width:820px}.hero p{max-width:640px;margin-top:17px;color:var(--muted);font-size:15px}.hero .accent{color:var(--deep)}.hero-row{display:flex;justify-content:space-between;align-items:flex-end;gap:28px}.hero-note{border-left:1px solid var(--line);padding:0 0 0 24px;min-width:170px;color:var(--muted);font-size:12px}.hero-note strong{color:var(--deep);font-size:29px;font-weight:500;line-height:1.1}.hero-note span{display:block;margin-top:7px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 25px;margin-top:4px}.tabs{display:flex;gap:5px;background:#efefea;padding:5px;border-radius:12px;flex-wrap:wrap}.tabs button{padding:10px 18px;border:0;background:none;border-radius:9px;color:var(--muted);font-size:14px}.tabs button[aria-selected=true]{background:#fff;color:var(--deep);box-shadow:0 2px 6px #1a18140c;font-weight:600}.small-note{font-size:12px;color:var(--muted)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:30px 0 17px;gap:16px}.section-head h2{font-size:21px;font-weight:600;letter-spacing:-.02em}.section-head p{font-size:12px;color:var(--muted);margin-top:4px}.section-count{font-size:12px;color:var(--muted)}
.feature{display:grid;grid-template-columns:1.16fr 1fr;background:#eaf1e8;border:1px solid #dde6d9;border-radius:24px;overflow:hidden;min-height:282px;transition:transform .2s,box-shadow .2s}.feature:hover{transform:translateY(-3px);box-shadow:0 14px 32px #1a18140d}.feature-copy{padding:34px 36px;display:flex;flex-direction:column;align-items:flex-start}.tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:6px;font-size:10px;letter-spacing:.03em;color:var(--deep);background:#fff9;line-height:1.7}.tag.gold{color:#8a6123;background:#f6efdd}.feature h2{font-size:32px;letter-spacing:-.03em;margin:12px 0 10px}.feature p{font-size:13px;color:#596753;max-width:32em}.feature-meta{font-size:11px;color:#59705c;margin-top:16px}.go{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--deep);margin-top:auto;padding-top:25px}.feature-art{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#d6e2ca 0,transparent 68%);min-width:0}.book-stack{position:relative;width:275px;height:215px;transform:rotate(-5deg)}.book{position:absolute;width:142px;height:186px;border-radius:5px 12px 12px 5px;padding:19px 17px;box-shadow:8px 10px 18px #2a43261f;border-left:5px solid #fff3;font-size:12px;line-height:1.5}.book strong{display:block;font-size:23px;line-height:1.3;margin:14px 0}.book small{position:absolute;bottom:17px;font-size:9px;letter-spacing:.14em}.book.one{left:0;top:17px;background:#decfa9;color:#5d5038;transform:rotate(-12deg)}.book.two{left:73px;top:0;background:#f8f7ee;color:#545b44;transform:rotate(3deg)}.book.three{left:142px;top:28px;background:#17634a;color:#fff;transform:rotate(14deg)}.book svg{width:26px;height:26px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-3px);border-color:#a8c5b1}.card-art{min-height:0;height:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--tint,#edf2e9);color:var(--tone,#437350);overflow:hidden}.card-art .glyph{width:36px;height:36px;border-radius:10px;border:1px solid #fff9;display:grid;place-items:center;background:#ffffff8c;flex-shrink:0}.card-art .glyph svg{width:20px;height:20px}.card-art .art-word{font:500 22px/1 Georgia,serif;letter-spacing:-.04em;opacity:.32;flex-shrink:0}.card-body{padding:14px 16px 16px;display:flex;flex:1;flex-direction:column;gap:6px}.card h3{font-size:17px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.card p{font-size:12px;color:var(--muted);line-height:1.85}.card .card-meta{font-size:11px;color:var(--muted);margin-top:5px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid #f0f0eb;font-size:11px}.card-bottom svg{width:17px;height:17px;color:var(--deep)}.card .tag{align-self:flex-start;background:var(--soft)}.route-line{font-size:11px;color:var(--muted);margin-bottom:26px;display:flex;flex-wrap:wrap;gap:9px;align-items:center}.route-line a{color:var(--deep)}.route-line svg{width:12px;height:12px}.search{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);padding:11px 15px;border-radius:12px;min-width:0;max-width:450px;flex:1;box-shadow:var(--shadow)}.search svg{color:var(--muted);width:18px}.search input{min-width:0;width:100%;border:0;outline:none;background:none;font-size:13px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 25px}.filters button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 13px;color:var(--muted);font-size:12px}.filters button[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:#fff}.shelf-label{margin:29px 0 14px;display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}.shelf-label:after{content:"";height:1px;background:var(--line);flex:1}.partner-intro{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;background:#f0f1e9;border:1px solid var(--line);padding:25px 30px;border-radius:18px;margin:0 0 26px}.partner-intro p{font-size:12px;color:var(--muted);max-width:650px}.intro-mark{font:italic 48px Georgia,serif;color:#acb59c;letter-spacing:-.08em}.micro-chapters{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:10px;color:var(--muted);padding:4px 0}.micro-chapters span:before{content:"· ";color:var(--brass)}
.course-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:26px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.panel h2{font-size:18px;margin-bottom:14px}.panel p{font-size:13px;color:var(--muted)}.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 0;border-top:1px solid var(--line);padding-top:20px;gap:12px}.facts strong{display:block;font-size:24px;font-weight:500;color:var(--deep);line-height:1.3}.facts small{font-size:10px;color:var(--muted)}.chapter{margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.chapter summary{padding:18px 20px;cursor:pointer;font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px;list-style:none}.chapter summary:after{content:"+";margin-left:auto;color:var(--muted);font-size:18px}.chapter[open] summary:after{content:"−"}.chapter summary::-webkit-details-marker{display:none}.chapter-num{font-size:10px;color:var(--brass);font-weight:400}.lesson-row{display:flex;align-items:center;padding:15px 20px;border-top:1px solid #f0f0eb;gap:13px;min-width:0}.lesson-row:hover{background:#f7f9f5}.lesson-row .number{font-size:10px;color:var(--muted);flex-shrink:0}.lesson-row .name{flex:1;font-size:13px;min-width:0;overflow-wrap:anywhere}.lesson-row small{font-size:10px;color:var(--muted);flex-shrink:0}.lesson-row svg{width:16px;height:16px;color:var(--green)}.chapter-foot{display:flex;justify-content:flex-end;padding:11px 20px;border-top:1px solid #f0f0eb;color:var(--deep);font-size:11px}.aside-list{margin:15px 0 0;padding:0;list-style:none;font-size:12px;color:var(--muted)}.aside-list li{padding:10px 0;border-top:1px solid #f1f0eb}.aside-link{display:flex;gap:10px;justify-content:space-between;color:var(--deep);font-size:12px;margin-top:18px}.updated{font-size:10px;color:var(--muted);margin-top:14px}.notice{padding:13px 16px;background:#f1f2eb;border-radius:10px;color:#676e5e;font-size:11px;margin:16px 0 24px;line-height:1.9}.outline{padding-left:22px;font-size:13px;color:var(--muted)}.outline li{padding:7px 0}.player{aspect-ratio:16/9;background:#e7ede4;border:1px solid #d9e2d4;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:18px;position:relative;overflow:hidden;min-width:0}.player:before,.player:after{content:"";position:absolute;width:60%;aspect-ratio:1;border-radius:50%;border:1px solid #bdcdb366;pointer-events:none}.player:after{width:85%}.player-inner{position:relative;z-index:1;padding:18px}.play-button{width:60px;height:60px;border:1px solid #b9cbb1;border-radius:50%;background:#f6f9f2cc;color:var(--deep);margin:0 auto 13px;display:grid;place-items:center}.play-button svg{margin-left:3px;width:26px;height:26px}.player p{color:#4f644a;font-size:14px}.player small{font-size:10px;color:#66735e}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:24px;align-items:start}.lesson-title{font-size:28px;line-height:1.4;letter-spacing:-.02em}.lesson-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}.lesson-heading p{font-size:11px;color:var(--muted);margin-top:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;min-height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;line-height:1.5;white-space:nowrap}.btn.primary{background:var(--deep);color:#fff;border-color:var(--deep)}.btn:disabled{background:#efefea;color:#858377;cursor:default;border-color:var(--line)}.text-section{margin-top:27px}.text-section h2{font-size:18px;margin-bottom:11px}.text-section p{color:var(--muted);font-size:13px}.resource{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;margin-top:10px;min-width:0}.resource .file-icon{display:grid;place-items:center;background:#f2f3ed;color:#718663;border-radius:10px;width:40px;height:44px;flex-shrink:0;font-size:10px}.resource .file-text{min-width:0;flex:1}.resource strong{display:block;font-weight:500;font-size:12px;overflow-wrap:anywhere}.resource small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.resource>svg{width:15px;color:var(--deep)}.pager{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}.pager a{padding:17px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.pager span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.pager strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.side-steps{list-style:none;padding:0;margin:0}.side-steps li{font-size:12px;padding:13px 0;border-bottom:1px solid #f0f0eb;color:var(--muted)}.side-steps li.current{color:var(--deep);font-weight:600}.side-steps li.current:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:8px}.file-facts{font-size:12px;display:grid;grid-template-columns:85px minmax(0,1fr);gap:12px;margin:23px 0}.file-facts dt{color:var(--muted)}.file-facts dd{margin:0;overflow-wrap:anywhere}.file-version{padding:18px 0;border-top:1px solid var(--line)}.file-version h3{font-size:13px;font-weight:500;overflow-wrap:anywhere}.file-version p{font-size:11px;color:var(--muted);margin-top:4px}.tool-icon{height:96px;width:96px;border-radius:25px;background:#eaf1e6;display:grid;place-items:center;color:var(--deep);margin-bottom:24px}.tool-icon svg{width:46px;height:46px}.tool-grid .card-body{min-height:228px}.tool-grid .card-top{display:flex;align-items:center;gap:12px;margin-bottom:5px}.tool-grid .glyph{width:40px;height:40px;border-radius:10px;background:var(--tint,#edf2e9);color:var(--tone,#437350);display:grid;place-items:center;flex-shrink:0}.tool-grid .card-top h3{font-size:15px}.empty{padding:35px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center;font-size:13px}.footer-note{border-top:1px solid var(--line);padding-top:20px;margin-top:40px;font-size:10px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:#898579}.dock{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;display:flex;gap:6px;padding:7px;border:1px solid #dddcd3;border-radius:20px;background:#fffffff2;box-shadow:0 8px 35px #292a2017;backdrop-filter:blur(16px)}.dock>*{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;padding:12px 23px;border-radius:13px;white-space:nowrap;color:var(--muted)}.dock [aria-current=page]{color:var(--deep);background:#eaf2e7}.dock svg{width:19px;height:19px}.modal{max-width:430px;width:calc(100% - 36px);border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 18px 80px #0002;color:var(--ink);background:var(--bg)}.modal::backdrop{background:#20302655;backdrop-filter:blur(3px)}.modal h2{font-size:20px;margin-bottom:10px}.modal p{font-size:12px;color:var(--muted)}.modal input{width:100%;padding:12px;font-size:11px;border:1px solid var(--line);border-radius:9px;background:#fff;margin:17px 0;color:#475e43}.modal-actions{display:flex;justify-content:flex-end;gap:9px}.status{font-size:11px;min-height:22px;color:var(--deep);margin-top:8px}.membership{max-width:720px;margin:auto;padding:30px}.price{color:var(--deep);font-size:64px;letter-spacing:-.05em;margin:22px 0}.price small{font-size:14px;letter-spacing:0;color:var(--muted)}
.grid.own-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}.own-grid .card-art{flex-shrink:0}
@media(min-width:1000px){.grid.own-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-art:after{content:"实战工具箱";position:absolute;bottom:20px;right:26px;font-size:10px;letter-spacing:.2em;color:#86917b}}


a.brand{color:inherit;text-decoration:none;cursor:pointer}
.panel.member-period{max-width:720px;margin:0 auto 24px}
.panel.member-period p{color:var(--deep)}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.lesson-heading>div{min-width:0}.hero h1,.lesson-title,.panel h2{overflow-wrap:anywhere}
.lecturer-info{font-size:11px;color:var(--muted);margin:-15px 0 24px}
.selected-overview{margin:22px 0 28px}.selected-overview>h3{font-size:16px;margin-bottom:12px}
.selected-start-list{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.selected-start:first-child{border-top:0}
.subcategory-overview{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.subcategory-overview li{display:flex;align-items:baseline;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:8px 12px;font-size:12px;color:var(--muted)}
.subcategory-count{font-size:11px;color:var(--deep);white-space:nowrap}
.selected-category{margin:36px 0 42px;min-width:0}.selected-category>h2{font-size:24px;font-weight:600;line-height:1.4;letter-spacing:-.02em;margin:0 0 22px;overflow-wrap:anywhere}
.selected-subcategory{margin:22px 0 30px;min-width:0}.selected-subcategory>h3{font-size:17px;font-weight:600;line-height:1.5;color:var(--deep);margin-bottom:14px;overflow-wrap:anywhere}
.selected-subcategory .card h4{margin:0;font-size:17px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.filters{min-width:0;max-width:100%}.filters button{max-width:100%;white-space:normal;overflow-wrap:anywhere}


.tool-title-lead,.tool-title-tail{display:inline-block;white-space:nowrap}




/* 三个并列标签在窄屏保留同一行。 */
/* 手机端统一排版：完整单列货架、触控列表与安全底栏。 */
@media (max-width: 760px) {
  :root { --dock-height: 64px; --dock-offset: 12px; --mobile-gutter: 20px; }
  html { scroll-padding-bottom: calc(var(--dock-height) + var(--dock-offset) + env(safe-area-inset-bottom) + 24px); -webkit-text-size-adjust: 100%; }
  body { word-break: keep-all; overflow-wrap: break-word; }
  .topbar { height: 72px; padding: 0 var(--mobile-gutter); gap: 16px; background: #fafaf8b3; }
  .brand { gap: 10px; font-size: 16px; line-height: 1.45; }
  .brand img { width: 34px; height: 34px; border-radius: 11px; }
  .brand small { margin-top: 3px; font-size: 9px; letter-spacing: .08em; }
  .account { flex-shrink: 0; font-size: 11px; gap: 7px; }
  .page, .page.tool-detail, .tool-detail-page main { padding: 24px var(--mobile-gutter); padding-bottom: calc(var(--dock-height) + var(--dock-offset) + env(safe-area-inset-bottom) + 24px); }
  .hero { padding: 6px 0 24px; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 32px); line-height: 1.35; letter-spacing: -.025em; }
  .hero p { margin-top: 14px; font-size: 14px; line-height: 1.85; }
  .hero-row { display: block; }
  .hero-row > div { min-width: 0; }
  .hero-note { display: none; }
  .hero h1 .accent { display: inline-block; }
  .tool-title-lead, .tool-title-tail { display: block; white-space: normal; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 0; padding-bottom: 24px; }
  .toolbar .small-note { padding-left: 2px; }
  .small-note { font-size: 12px; line-height: 1.8; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 5px; border-radius: 15px; }
  .tabs > a, .tabs > button { min-width: 0; min-height: 44px; padding: 11px 2px; border-radius: 11px; font-size: 12px; line-height: 22px; text-align: center; white-space: nowrap; }
  .tabs [aria-selected="true"] { background: #fff; color: var(--deep); box-shadow: 0 3px 10px #1a181410; font-weight: 600; }
  .grid, .grid.own-grid, .grid.tool-grid, .tool-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 20px; }
  .card { border-radius: 21px; box-shadow: 0 6px 24px #1a181407; }
  .card-art, .own-grid .card-art { min-height: 0; padding: 10px 14px; gap: 10px; }
  .card-art .glyph, .own-grid .card-art .glyph { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
  .card-art .glyph svg, .own-grid .card-art .glyph svg { width: 18px; height: 18px; }
  .card-art .art-word, .own-grid .card-art .art-word { font-size: 20px; opacity: .30; }
  .card-body, .own-grid .card-body { padding: 22px; gap: 10px; }
  .card h3, .own-grid .card h3, .tool-grid .card-top h3, .selected-subcategory .card h4 { font-size: 18px; line-height: 1.55; }
  .card p { font-size: 13px; line-height: 1.85; }
  .card .card-meta { font-size: 12px; line-height: 1.8; margin-top: 2px; }
  .tag { font-size: 11px; padding: 3px 9px; }
  .card-bottom, .own-grid .card-bottom { font-size: 12px; gap: 12px; padding-top: 16px; margin-top: 6px; min-height: 38px; }
  .card-bottom > span { min-width: 0; }
  .card-bottom > svg { flex-shrink: 0; width: 18px; height: 18px; }
  .tool-grid .card-body { min-height: 240px; }
  .tool-grid .card-top { gap: 14px; margin-bottom: 2px; }
  .tool-grid .glyph { width: 46px; height: 46px; border-radius: 13px; }
  .tool-grid .card-bottom { margin-top: auto; }
  .search { max-width: none; padding: 12px 15px; min-height: 48px; border-radius: 13px; }
  .search input { font-size: 16px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; gap: 8px; margin: 0 0 24px; padding: 0 0 8px; scrollbar-width: thin; scrollbar-color: #d1d7cd transparent; }
  .filters button { flex: 0 0 auto; white-space: nowrap; min-height: 44px; padding: 10px 14px; font-size: 13px; border-radius: 11px; }
  .shelf-label { margin: 28px 0 16px; font-size: 16px; gap: 14px; }
  .section-head { align-items: center; margin: 12px 0 20px; gap: 14px; }
  .section-head h2 { font-size: 22px; line-height: 1.4; }
  .section-head p { font-size: 13px; line-height: 1.8; margin-top: 6px; }
  #panel-selected > .section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  #panel-selected > .section-head .btn { padding: 10px 12px; font-size: 12px; min-height: 44px; }
  .selected-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 14px 12px; margin: 26px 0 32px; }
  .selected-overview > h3 { font-size: 18px; line-height: 1.5; margin: 0; }
  .selected-overview > .category-total { font-size: 12px; }
  .selected-overview > .selected-start-list, .selected-overview > .subcategory-overview { grid-column: 1 / -1; }
  .selected-start-list { border-radius: 18px; }
  .subcategory-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .subcategory-overview li { justify-content: space-between; padding: 13px 16px; border-radius: 12px; font-size: 14px; }
  .subcategory-count { font-size: 12px; }
  .selected-category { margin: 32px 0 38px; }
  .selected-category > h2 { font-size: 23px; margin-bottom: 20px; }
  .selected-subcategory > h3 { font-size: 18px; margin-bottom: 16px; }
  .panel { padding: 22px; border-radius: 20px; }
  .panel h2 { font-size: 20px; line-height: 1.45; margin-bottom: 16px; }
  .panel p { font-size: 14px; line-height: 1.85; }
  .course-layout, .lesson-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .chapter { margin-bottom: 14px; border-radius: 18px; }
  .chapter summary { min-height: 64px; padding: 18px; gap: 12px; font-size: 15px; line-height: 1.65; }
  .chapter summary:after { flex-shrink: 0; }
  .chapter-num { font-size: 11px; flex-shrink: 0; }
  .lesson-row { min-height: 64px; padding: 18px; gap: 12px; }
  .lesson-row .number { min-width: 20px; font-size: 11px; font-variant-numeric: tabular-nums; }
  .lesson-row .name { font-size: 14px; line-height: 1.75; }
  .lesson-row small { font-size: 11px; }
  .lesson-row svg { width: 17px; height: 17px; }
  .chapter-foot { padding: 4px 18px; font-size: 12px; }
  .chapter-foot a { min-height: 44px; display: flex; align-items: center; gap: 8px; }
  .weekly-list { padding: 0; overflow: hidden; }
  .weekly-list .lesson-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 4px 12px; padding: 20px 18px; }
  .weekly-list .lesson-row:first-child { border-top: 0; }
  .weekly-list .number { grid-column: 1; grid-row: 1 / 3; align-self: start; padding-top: 3px; color: var(--brass); }
  .weekly-list .name { grid-column: 2; grid-row: 1; }
  .weekly-list small { grid-column: 2; grid-row: 2; }
  .weekly-list svg { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .facts { margin-top: 18px; padding-top: 18px; gap: 16px; }
  .facts strong { font-size: 27px; }
  .facts small { font-size: 12px; }
  .aside-list { margin-top: 18px; font-size: 13px; }
  .aside-list li { padding: 12px 0; line-height: 1.8; }
  .updated { font-size: 12px; line-height: 1.8; }
  .aside-link { font-size: 13px; min-height: 44px; align-items: center; }
  .course-layout > aside .btn { width: 100%; }
  .route-line { margin-bottom: 20px; gap: 8px; font-size: 11px; line-height: 1.8; }
  .lecturer-info { font-size: 12px; margin: -10px 0 20px; }
  .notice { padding: 16px; border-radius: 12px; font-size: 13px; line-height: 1.85; margin: 18px 0 24px; }
  .btn { min-height: 48px; font-size: 14px; padding: 12px 16px; white-space: normal; }
  .lesson-heading { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .lesson-title { font-size: 28px; line-height: 1.45; }
  .lesson-heading p { font-size: 12px; line-height: 1.8; margin-top: 12px; }
  .lesson-heading .btn { width: 46px; min-height: 46px; flex-shrink: 0; padding: 10px; }
  .lesson-heading .btn span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .player { border-radius: 16px; }
  .player p { font-size: 14px; }
  .player small { font-size: 11px; }
  .text-section { margin-top: 28px; }
  .text-section h2 { font-size: 21px; margin-bottom: 16px; }
  .text-section p, .outline { font-size: 14px; line-height: 1.85; }
  .resource { padding: 16px; gap: 12px; border-radius: 14px; }
  .resource strong { font-size: 13px; line-height: 1.75; }
  .resource small { font-size: 11px; line-height: 1.7; }
  .pager { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pager a { padding: 18px; }
  .pager span { font-size: 11px; }
  .pager strong { font-size: 14px; line-height: 1.75; }
  .side-steps li { font-size: 14px; padding: 16px 0; line-height: 1.8; }
  .partner-intro { padding: 22px; display: block; border-radius: 20px; }
  .partner-intro p { font-size: 14px; }
  .intro-mark { font-size: 28px; opacity: .55; }
  .feature { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .feature-copy { padding: 26px 24px; }
  .feature h2 { font-size: 28px; }
  .feature p { font-size: 14px; }
  .feature-art { height: 210px; order: -1; }
  .book-stack { transform: scale(.8) rotate(-5deg); }
  .feature-meta { font-size: 12px; }
  .membership { padding: 26px 22px; border-radius: 22px; }
  .price { font-size: 58px; line-height: 1.15; margin: 26px 0; }
  .price small { font-size: 14px; }
  .membership .aside-list { font-size: 14px; }
  .membership .aside-list li { padding: 14px 0; }
  .membership .btn, .access-gate .btn { width: 100%; margin-top: 12px; }
  .footer-note { font-size: 11px; line-height: 1.8; gap: 8px; margin-top: 32px; padding-top: 20px; }
  .dock { position: fixed; z-index: 50; width: calc(100% - 32px); max-width: 400px; height: var(--dock-height); bottom: calc(var(--dock-offset) + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; border-radius: 21px; border: 1px solid #ffffffb8; background: rgba(255, 255, 255, .76); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); box-shadow: 0 6px 30px #2631241a, 0 0 0 1px #dddcd37a; }
  .dock > * { min-width: 0; min-height: 48px; padding: 10px 6px; gap: 8px; font-size: 12px; border-radius: 15px; }
  .dock svg { width: 20px; height: 20px; }
  .dock [aria-current="page"] { color: var(--deep); background: #e3f1e8e6; font-weight: 600; }
  .modal { padding: 24px; border-radius: 20px; }
  .modal p { font-size: 14px; }
  .modal input { font-size: 16px; min-height: 48px; }
  .modal-actions { gap: 12px; }
  .hero h1, .lesson-title, .card h3, .selected-subcategory .card h4, .panel h2, .lesson-row .name, .chapter-title, .selected-category > h2, .selected-subcategory > h3, .resource strong, .pager strong, .filters button { word-break: keep-all; overflow-wrap: break-word; min-width: 0; }
  .file-text, .file-text strong, .file-facts dd, .file-version h3, .tool-steps code, .command, .cmd, .lesson-content code { word-break: break-all; overflow-wrap: anywhere; }
}

/* 精选课总览：大类标题与小类胶囊可点进货架 */
.selected-cat-link{color:inherit;text-decoration:none}
.selected-cat-link:hover{color:var(--deep)}
.subcategory-overview{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.subcategory-overview li{margin:0;padding:0}
.subcategory-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);font-size:13px;line-height:1.4;color:var(--ink);min-height:44px}
.subcategory-chip:hover{border-color:#a8c5b1;color:var(--deep)}
.subcategory-chip .subcategory-name{font-weight:600}
.subcategory-chip .subcategory-count{color:var(--muted);font-size:12px}
.subcategory-chip svg{width:16px;height:16px;color:var(--deep);margin-left:2px}
@media (max-width:760px){
  .subcategory-overview{gap:8px}
  .subcategory-chip{width:100%;justify-content:flex-start;padding:12px 14px;border-radius:14px}
  .subcategory-chip svg{margin-left:auto}
}

/* 工具详情头部大图标 + 手机图标加粗 */
.tool-detail .hero .tool-icon,
.hero .tool-icon{
  width:96px;height:96px;border-radius:24px;background:#eaf1e6;color:var(--deep);
  display:grid;place-items:center;margin:0 0 18px;
}
.tool-detail .hero .tool-icon svg,
.hero .tool-icon svg{width:46px;height:46px}
.tool-grid .glyph svg{width:22px;height:22px}
@media (max-width:760px){
  .tool-detail .hero .tool-icon,.hero .tool-icon{width:80px;height:80px;border-radius:20px;margin:0 0 14px}
  .tool-detail .hero .tool-icon svg,.hero .tool-icon svg{width:40px;height:40px}
  .card-art,.own-grid .card-art{min-height:0;padding:10px 14px}
  .card-art .glyph,.own-grid .card-art .glyph{width:32px;height:32px}
  .card-art .glyph svg,.own-grid .card-art .glyph svg{width:18px;height:18px}
  .tool-grid .glyph{width:50px;height:50px;border-radius:14px}
  .tool-grid .glyph svg{width:26px;height:26px}
  .weekly-list svg,.selected-start svg{width:18px;height:18px}
  .glyph,.tool-icon,.dock svg{display:revert}
  .card-art,.glyph,.tool-icon{visibility:visible;opacity:1}
}

/* 课卡简介 */
.card-summary{font-size:12px;line-height:1.7;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.own-grid .card-summary{font-size:13px;-webkit-line-clamp:3}
.row-summary{display:block;font-size:11px;line-height:1.55;color:var(--muted);margin-top:4px;font-weight:400}
.selected-start{align-items:flex-start}
.selected-start .name{display:flex;flex-direction:column;gap:2px;min-width:0}
.selected-start > .name{flex:1}
.selected-start .row-summary{white-space:normal}

/* 桌面主导航 */
.primary-nav{display:none;align-items:center;gap:6px;margin-left:auto;margin-right:18px}
.primary-nav a{padding:8px 12px;border-radius:10px;font-size:13px;color:var(--muted)}
.primary-nav a:hover,.primary-nav a[aria-current=page]{color:var(--deep);background:#eaf2e7}
.topbar{display:flex;align-items:center;gap:12px}
@media (min-width:900px){
  .primary-nav{display:flex}
}

/* Dock 四项：教程 / 工具 / 大模型 / 会员 */
.dock{gap:4px;padding:6px}
.dock>*{padding:10px 14px;gap:7px;font-size:12px}
.dock svg{width:18px;height:18px}
@media (max-width:760px){
  .dock{max-width:calc(100vw - 20px);overflow:auto}
  .dock>*{padding:10px 12px;gap:6px;font-size:11px}
  .card-summary{font-size:12px;line-height:1.65}
  .own-grid .card-body{gap:8px}
}

/* 大模型落地页 */
.models-landing .models-panel{max-width:720px}
.models-points{margin:16px 0 22px;padding-left:18px;color:var(--muted);font-size:13px;line-height:1.9}
.models-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.models-actions .btn.primary{min-width:180px}

/* 课卡头部紧凑：图标+序号同一行，压缩色块高度 */
.card-art,
.own-grid .card-art,
.selected-subcategory .card-art,
.grid .card-art{
  display:flex !important;
  min-height:0 !important;
  height:auto !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:10px 14px !important;
}
.card-art .art-word,
.own-grid .card-art .art-word{
  display:block !important;
  margin-left:auto !important;
}
.card-art .glyph,
.own-grid .card-art .glyph,
.selected-subcategory .card-art .glyph{
  width:34px !important;
  height:34px !important;
  border-radius:9px !important;
}
.card-art .glyph svg,
.own-grid .card-art .glyph svg{
  width:18px !important;
  height:18px !important;
}
.card-art .art-word,
.own-grid .card-art .art-word{
  font-size:20px !important;
  line-height:1 !important;
  opacity:.30 !important;
}
.card-body,
.own-grid .card-body{
  padding:12px 14px 14px !important;
  gap:6px !important;
}
@media (min-width:900px){
  .card-art,
  .own-grid .card-art,
  .selected-subcategory .card-art,
  .grid .card-art{
    padding:12px 16px !important;
    gap:12px !important;
  }
  .card-art .glyph,
  .own-grid .card-art .glyph{
    width:36px !important;
    height:36px !important;
  }
  .card-art .glyph svg{width:20px !important;height:20px !important}
  .card-art .art-word{font-size:22px !important}
  .card-body,.own-grid .card-body{padding:14px 16px 16px !important}
}

