:root {
  --bg-cream: #F2EFE9;
  --text-dark: #1A261D;
  --accent-green: #3D6B4F;
  --accent-lime: #C9E265;
  --accent-orange: #FF6B4A;
  --accent-purple: #9D8BB5;
}
* { box-sizing: border-box; }
body {
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
  margin: 0;
}
.font-serif { font-family: 'Noto Serif SC', serif; }
.font-sans { font-family: 'Noto Sans SC', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Noise Texture */
.bg-noise {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 50; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
/* Animations */
@keyframes float { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-15px) rotate(1deg)} }
@keyframes float-reverse { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(10px) rotate(-1deg)} }
@keyframes spin-slow { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes fade-up { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float-reverse 7s ease-in-out infinite; animation-delay: 1s; }
.animate-spin-slow { animation: spin-slow 15s linear infinite; }
.animate-marquee { animation: marquee 30s linear infinite; }
.fade-up { animation: fade-up .5s ease both; }

/* Utilities */
.hard-shadow { box-shadow: 6px 6px 0 0 #1A261D; border: 2px solid #1A261D; }
.hard-shadow-hover { transition: all .15s ease; }
.hard-shadow-hover:hover { box-shadow: 2px 2px 0 0 #1A261D; transform: translate(4px,4px); }
.hard-shadow-sm { box-shadow: 4px 4px 0 0 #1A261D; border: 2px solid #1A261D; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F2EFE9; border-left: 1px solid #1A261D; }
::-webkit-scrollbar-thumb { background: #FF6B4A; border: 1px solid #1A261D; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3D6B4F; }

/* ---- shared layout ---- */
.shell { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 1.5rem; position: relative; }
.kicker {
  display: inline-block; font-size: .75rem; font-weight: 500;
  letter-spacing: .2em; padding: .3rem .8rem; border-radius: 99px; margin-bottom: 1.5rem;
  border: 2px solid #1A261D; background: var(--accent-lime);
}
.h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 1rem; }
.lead { color: rgba(26,38,29,.7); font-size: 1.05rem; line-height: 1.8; margin: 0; }

/* page hero (内页统一) */
.page-hero { padding: 8rem 1.5rem 4rem; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 1rem; }
.page-hero p { max-width: 36rem; margin: 0 auto; color: rgba(26,38,29,.7); line-height: 1.8; }

/* category filter pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 2.5rem 0; }
.filter-pill {
  padding: .5rem 1.1rem; border-radius: 99px; border: 2px solid #1A261D;
  background: #fff; font-size: .875rem; font-weight: 500;
  box-shadow: 2px 2px 0 0 #1A261D; transition: all .15s ease;
}
.filter-pill:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 0 #1A261D; }
.filter-pill.active { background: var(--accent-orange); }

/* lesson card */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.lesson-card {
  background: #fff; border: 2px solid #1A261D; border-radius: 1rem;
  padding: .6rem .6rem 1.2rem; box-shadow: 5px 5px 0 0 #1A261D;
  transition: all .2s ease; display: flex; flex-direction: column;
}
.lesson-card:nth-child(3n+1) { transform: rotate(-.8deg); }
.lesson-card:nth-child(3n+2) { transform: rotate(.6deg); }
.lesson-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 6px 8px 0 0 #1A261D; }
.lesson-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #1A261D; border-radius: .6rem; background: #E8E4DB; }
.lesson-card__meta { display: flex; gap: .5rem; align-items: center; padding: .8rem .6rem 0; font-size: .72rem; }
.lesson-card__cat { background: var(--accent-lime); border: 1px solid #1A261D; padding: .15rem .55rem; border-radius: 99px; font-weight: 500; }
.lesson-card__time { color: rgba(26,38,29,.55); }
.lesson-card h3 { font-size: 1.05rem; margin: .5rem .6rem 0; font-weight: 700; line-height: 1.4; }
.lesson-card p { font-size: .85rem; color: rgba(26,38,29,.7); margin: .4rem .6rem .8rem; line-height: 1.7; flex: 1; }

/* tool groups */
.tool-group { margin-bottom: 3rem; }
.tool-group h3 {
  font-size: 1.25rem; font-weight: 700; margin: 0 0 1.2rem; display: inline-block;
  background: var(--bg-cream); border: 2px solid #1A261D; padding: .4rem 1rem;
  border-radius: .8rem; box-shadow: 3px 3px 0 0 #1A261D; transform: rotate(-.5deg);
}
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.tool-item {
  display: flex; gap: .9rem; align-items: flex-start; background: #fff;
  border: 2px solid #1A261D; border-radius: .8rem;
  padding: 1rem 1.2rem; box-shadow: 3px 3px 0 0 #1A261D; transition: all .15s ease;
}
.tool-ico {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; margin-top: .1rem;
  border: 1.5px solid #1A261D; border-radius: .6rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-cream); font-weight: 700; font-size: 1rem; color: #1A261D;
}
.tool-ico img { width: 100%; height: 100%; object-fit: contain; padding: .28rem; background: #fff; }
.tool-ico i { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-style: normal; }
.tool-item:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: var(--accent-lime); }
.tool-item b { display: block; font-size: .95rem; margin-bottom: .3rem; }
.tool-item span { font-size: .8rem; color: rgba(26,38,29,.7); line-height: 1.6; }
.tool-item:hover span { color: #1A261D; }

/* article (lesson page) */
.article-wrap { max-width: 46rem; margin: 0 auto; }
.article-head img.banner { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 2px solid #1A261D; border-radius: 1rem; box-shadow: 6px 6px 0 0 #1A261D; background: #E8E4DB; }
.article-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.3; margin: 2rem 0 .8rem; letter-spacing: -.01em; }
.article-body h2 {
  font-size: 1.3rem; font-weight: 700; margin: 2.5rem 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.article-body h2::before { content: ''; width: .8rem; height: .8rem; background: var(--accent-orange); border: 2px solid #1A261D; border-radius: 3px; flex-shrink: 0; }
.article-body p { font-size: 1rem; line-height: 2; color: rgba(26,38,29,.85); margin: 0 0 1.2rem; font-family: 'Noto Sans SC', sans-serif; }
.article-body figure { margin: 1.8rem 0; }
.article-body figure img { width: 100%; border: 2px solid #1A261D; border-radius: .8rem; background: #E8E4DB; }
.article-body figcaption { text-align: center; font-size: .8rem; color: rgba(26,38,29,.6); margin-top: .6rem; font-style: italic; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; margin: 4.5rem 0 0; }
.article-nav a {
  border: 2px solid #1A261D; border-radius: 1rem; padding: .9rem 1.2rem;
  background: #fff; box-shadow: 4px 4px 0 0 #1A261D;
  transition: all .15s ease; min-width: 0;
}
.article-nav a small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: rgba(26,38,29,.45); margin-bottom: .25rem; }
.article-nav a b { display: block; font-size: .85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 0 #1A261D; background: var(--accent-lime); }
.article-nav a.next { text-align: right; }
/* 图片灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 2.5rem;
  background: rgba(26,38,29,.88); cursor: zoom-out;
  animation: fade-up .2s ease both;
}
.lightbox img {
  max-width: min(92vw, 68rem); max-height: 78vh; object-fit: contain;
  background: #F2EFE9; border: 2px solid #F2EFE9; border-radius: .8rem;
  box-shadow: 8px 8px 0 0 rgba(0,0,0,.4);
}
.lightbox figcaption { color: rgba(242,239,233,.85); font-size: .85rem; font-style: italic; }
.lightbox__hint { position: fixed; top: 1.2rem; right: 1.5rem; color: #F2EFE9; font-size: .78rem; opacity: .7; }
.article-body figure img, .article-head img.banner { cursor: zoom-in; }
/* 作品详情:档案头(状态/身份/年份 + 进入作品) */
.work-profile {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin: 1.5rem 0 0; padding-top: 1.35rem; border-top: 1.5px dashed rgba(26,38,29,.28);
}
.work-profile__status {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .78rem; font-weight: 700; border: 2px solid #1A261D; border-radius: 99px;
  padding: .28rem .85rem; background: #E5DEEE; box-shadow: 2px 2px 0 0 #1A261D;
}
.work-profile__status.is-live { background: var(--accent-lime); }
.work-profile__meta {
  font-size: .76rem; font-weight: 600; color: rgba(26,38,29,.75);
  border: 1.5px solid rgba(26,38,29,.35); border-radius: 99px; padding: .26rem .8rem; background: #fff;
}
.work-profile__go {
  margin-left: auto; display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent-orange); color: #1A261D; border: 2px solid #1A261D;
  border-radius: 99px; padding: .45rem 1.15rem; font-size: .85rem; font-weight: 700;
  box-shadow: 3px 3px 0 0 #1A261D; transition: all .15s ease;
}
.work-profile__go:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: var(--accent-lime); }
/* 正文内行动链接(访问作品/直达入口) */
.article-link {
  display: inline-block; background: var(--accent-lime); color: #1A261D;
  border: 2px solid #1A261D; border-radius: 99px; padding: .6rem 1.3rem;
  font-weight: 700; font-size: .9rem; box-shadow: 3px 3px 0 0 #1A261D;
  transition: all .15s ease;
}
.article-link:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: var(--accent-orange); }
/* 中间:课程进度块 */
.article-nav a.nav-progress {
  background: #1A261D; color: #F2EFE9; box-shadow: 4px 4px 0 0 #9D8BB5; flex: 0 0 auto;
  display: flex; flex-direction: column; gap: .3rem; min-width: 11rem; align-self: center;
}
.article-nav a.nav-progress small { color: var(--accent-lime); letter-spacing: .06em; }
.article-nav a.nav-progress b { white-space: nowrap; font-size: .95rem; }
.nav-progress__bar {
  display: block; height: 7px; border-radius: 99px; overflow: hidden;
  background: rgba(242,239,233,.2); border: 1px solid rgba(242,239,233,.35);
}
.nav-progress__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-lime), var(--accent-orange)); border-radius: 99px; }
.article-nav a.nav-progress:hover { background: #3D6B4F; }
.article-nav a.disabled { opacity: .35; pointer-events: none; }
.article-nav a:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: var(--accent-lime); }
.article-nav a[aria-disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 640px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }
}

/* generic list cards (cases/products/blog) */
.list-card {
  display: flex; gap: 1.5rem; align-items: flex-start; background: #fff;
  border: 2px solid #1A261D; border-radius: 1rem; padding: 1.8rem;
  box-shadow: 5px 5px 0 0 #1A261D; margin-bottom: 1.5rem; transition: all .2s ease;
}
.list-card:hover { transform: translateY(-4px); box-shadow: 6px 9px 0 0 #1A261D; }
.list-card__num { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; font-weight: 700; color: var(--accent-orange); flex-shrink: 0; line-height: 1; }
.list-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.list-card p { margin: 0; font-size: .9rem; color: rgba(26,38,29,.7); line-height: 1.8; font-family: 'Noto Sans SC', sans-serif; }
.list-card__tag { display: inline-block; font-size: .7rem; border: 1.5px solid #1A261D; border-radius: 99px; padding: .15rem .7rem; margin-bottom: .6rem; background: var(--accent-lime); font-weight: 500; }
.list-card.is-coming { background: repeating-linear-gradient(45deg, #fff, #fff 12px, #f0ede5 12px, #f0ede5 24px); }

@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem; }
  .list-card { flex-direction: column; gap: .8rem; }
}

/* ---- 方向选择页 (learning) ---- */
.track-grid { max-width: 86rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
@media (max-width: 1100px) { .track-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .track-grid { grid-template-columns: 1fr; } }
.track-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 2px solid #1A261D; border-radius: 1.2rem;
  box-shadow: 6px 6px 0 0 #1A261D; transition: all .2s ease; overflow: hidden;
}
.track-card:nth-child(3n+1) { transform: rotate(-.4deg); }
.track-card:nth-child(3n+2) { transform: rotate(.4deg); }
.track-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 7px 9px 0 0 #1A261D; }
.track-card__cover { position: relative; border-bottom: 2px solid #1A261D; background: #E8E4DB; }
.track-card__cover img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.track-card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.track-card__badge {
  display: inline-block; align-self: flex-start; font-size: .68rem; font-weight: 600; letter-spacing: .05em;
  border: 1.5px solid #1A261D; border-radius: 99px; padding: .18rem .7rem; margin-bottom: .7rem;
}
.track-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.track-card p { margin: 0 0 1rem; font-size: .84rem; color: rgba(26,38,29,.7); line-height: 1.7; font-family: 'Noto Sans SC',sans-serif; flex: 1; }
.track-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; }
.track-card__meta { font-size: .74rem; color: rgba(26,38,29,.55); }
.track-card__go {
  flex-shrink: 0; background: var(--accent-lime); border: 2px solid #1A261D; border-radius: 99px;
  padding: .5rem 1.05rem; font-size: .8rem; font-weight: 600;
  box-shadow: 3px 3px 0 0 #1A261D; transition: all .15s ease; white-space: nowrap;
}
.track-card:hover .track-card__go { background: var(--accent-orange); }
.track-card__go:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; }

/* ---- 课程页分栏 (lesson) ---- */
.lesson-layout { min-height: 100vh; display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
/* ---- 顶部导航(全宽) ---- */
.nav-site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(242,239,233,.96); backdrop-filter: blur(8px);
  border-bottom: 2px solid #1A261D;
}
/* 檐下三色装饰条 */
.nav-site::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 5px;
  background: linear-gradient(90deg,
    var(--accent-lime) 0 32%, var(--bg-cream) 32% 34%,
    var(--accent-orange) 34% 66%, var(--bg-cream) 66% 68%,
    var(--accent-purple) 68% 100%);
  border: 2px solid #1A261D; border-top: none;
}
.nav-site__inner {
  max-width: 86rem; margin: 0 auto; padding: .6rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
}
.nav-site__logo {
  display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0;
  background: #1A261D; color: #F2EFE9; padding: .45rem 1.15rem; border-radius: 99px;
  font-weight: 700; font-size: 1rem; letter-spacing: -.02em;
  border: 2px solid #1A261D; box-shadow: 3px 3px 0 0 #9D8BB5;
  transition: all .15s ease;
}
.nav-site__logo iconify-icon { color: var(--accent-orange); transition: transform .4s ease; }
.nav-site__logo:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #9D8BB5; background: #FF6B4A; }
.nav-site__logo:hover iconify-icon { transform: rotate(20deg); }
.nav-links { display: flex; gap: .3rem; align-items: center; }
.nav-links a {
  padding: .42rem .85rem; border-radius: 99px; font-size: .85rem; font-weight: 500;
  border: 2px solid transparent; transition: all .15s ease;
}
.nav-links a:hover { background: #fff; border-color: #1A261D; box-shadow: 2px 2px 0 0 #1A261D; }
.nav-links a.active { background: var(--accent-lime); border-color: #1A261D; box-shadow: 2px 2px 0 0 #1A261D; font-weight: 700; }
.nav-site__cta {
  display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0;
  background: var(--accent-lime); color: #1A261D; padding: .48rem 1.15rem;
  border-radius: 99px; font-size: .82rem; font-weight: 700;
  border: 2px solid #1A261D; box-shadow: 2px 2px 0 0 #1A261D;
  transition: all .15s ease;
}
.nav-site__cta:hover { transform: translate(2px,2px); box-shadow: 0 0 0 0 #1A261D; background: var(--accent-orange); }
@media (max-width: 760px) { .nav-links { display: none; } }

.lesson-toc {
  position: sticky; top: 4.3rem; height: calc(100vh - 4.3rem); width: 100%; z-index: 10;
  background: #ECE9E1; border-right: 2px solid #1A261D;
  overflow-y: auto; padding: 0 1.1rem 2.5rem 1.4rem; scrollbar-width: thin;
  transition: transform .25s ease;
}
.lesson-toc::-webkit-scrollbar { width: 8px; }
.lesson-toc::-webkit-scrollbar-track { background: transparent; margin: .5rem 0; }
.lesson-toc::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-lime), var(--accent-orange));
  border: 1.5px solid #1A261D; border-radius: 99px;
}
.lesson-toc::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--accent-orange), var(--accent-purple)); }
.lesson-toc__head {
  position: sticky; top: 0; z-index: 5; background: #ECE9E1;
  margin: 0 -1.1rem 0 -1.4rem; padding: 1rem 1.2rem .9rem 1.4rem;
  border-bottom: 2px solid #1A261D;
  box-shadow: 0 4px 0 rgba(26,38,29,.06);
}
.lesson-toc__back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; font-family: 'Noto Sans SC', sans-serif;
  background: var(--accent-lime); color: #1A261D;
  border: 2px solid #1A261D; border-radius: .7rem; padding: .5rem .9rem;
  box-shadow: 3px 3px 0 0 #1A261D; transition: all .15s ease;
}
.lesson-toc__back iconify-icon { transition: transform .15s ease; }
.lesson-toc__back:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: var(--accent-orange); }
.lesson-toc__back:hover iconify-icon { transform: translateX(-2px); }
.lesson-toc__title {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .95rem; font-weight: 700; color: #1A261D; letter-spacing: .02em;
  padding: .9rem .1rem 0;
}
.lesson-toc__title em {
  font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  background: #1A261D; color: #F2EFE9; border-radius: 99px; padding: .14rem .55rem;
}
.toc-group {
  font-size: .7rem; font-weight: 700; color: var(--accent-green);
  padding: 1.1rem .6rem .45rem; letter-spacing: .1em;
  display: flex; align-items: center; gap: .4rem;
}
.toc-group::before { content: ''; width: .35rem; height: .35rem; border-radius: 99px; background: var(--accent-orange); }
/* 二级分类:阶段 */
.toc-stage {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  font-size: .78rem; font-weight: 700; color: var(--accent-green);
  padding: 1.1rem 1.5rem .45rem .6rem; letter-spacing: .05em;
  border-bottom: 1.5px dashed rgba(26,38,29,.18); margin-bottom: .4rem;
  cursor: pointer; user-select: none; position: relative;
}
.toc-stage em { font-style: normal; font-size: .68rem; font-weight: 500; color: rgba(26,38,29,.45); }
.toc-stage::after {
  content: ''; position: absolute; right: .55rem; top: 50%;
  width: .45rem; height: .45rem; border-right: 2px solid rgba(26,38,29,.5);
  border-bottom: 2px solid rgba(26,38,29,.5);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.toc-stage.collapsed::after { transform: translateY(-30%) rotate(-45deg); }
.toc-stage:hover { color: #1A261D; }
.toc-stage.collapsed { opacity: .65; }
.toc-items.collapsed { display: none; }
.toc-item {
  position: relative; display: block; padding: .45rem .7rem .45rem 1.1rem; border-radius: .55rem;
  font-size: .82rem; color: rgba(26,38,29,.72); line-height: 1.45;
  transition: all .13s ease; font-family: 'Noto Sans SC',sans-serif;
}
.toc-item::before {
  content: ''; position: absolute; left: .45rem; top: 50%; transform: translateY(-50%);
  width: .3rem; height: .3rem; border-radius: 99px; background: rgba(26,38,29,.25); transition: all .13s ease;
}
.toc-item:hover { background: #fff; color: #1A261D; transform: translateX(3px); }
.toc-item.current { background: #fff; color: #1A261D; font-weight: 700; box-shadow: 2px 2px 0 0 #1A261D; border: 1.5px solid #1A261D; }
.toc-item.current::before { background: var(--accent-orange); width: .45rem; height: .45rem; }
.lesson-main {
  padding: 6rem 3rem 5rem 4rem;
  display: flex; justify-content: center; gap: 2.5rem;
  min-width: 0;
}
.lesson-main .article-wrap { width: 100%; max-width: 46rem; }
/* 右侧:本课看点 */
.lesson-rail {
  position: sticky; top: 5rem; align-self: flex-start; flex-shrink: 0;
  width: 230px; background: #fff; border: 2px solid #1A261D; border-radius: 1rem;
  padding: 1.1rem 1rem 1.3rem; box-shadow: 4px 4px 0 0 #1A261D;
  max-height: calc(100vh - 8rem); overflow-y: auto; scrollbar-width: thin;
}
.lesson-rail::-webkit-scrollbar { width: 4px; }
.lesson-rail::-webkit-scrollbar-thumb { background: #C7C2B4; border-radius: 99px; }
.lesson-rail__title {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: rgba(26,38,29,.5);
  padding: .2rem .3rem .7rem; border-bottom: 1.5px dashed rgba(26,38,29,.2); margin-bottom: .5rem;
}
.rail-item {
  display: flex; gap: .55rem; align-items: baseline; padding: .4rem .45rem;
  border-radius: .5rem; font-size: .8rem; line-height: 1.45; color: rgba(26,38,29,.65);
  transition: all .12s ease; font-family: 'Noto Sans SC',sans-serif;
}
.rail-item b {
  font-family: 'Noto Serif SC', serif; font-size: .85rem; color: rgba(26,38,29,.4);
  min-width: 1rem; text-align: right; transition: color .12s ease;
}
.rail-item:hover { background: rgba(201,226,101,.35); color: #1A261D; }
.rail-item.active { background: var(--accent-lime); color: #1A261D; font-weight: 600; }
.rail-item.active b { color: var(--accent-orange); }
.article-body h2 { scroll-margin-top: 5rem; }
@media (max-width: 1280px) { .lesson-rail { display: none; } }
@media (max-width: 900px) {
  .lesson-layout { display: block; }
  .lesson-toc {
    position: fixed; left: 0; top: 0; bottom: 0; height: auto; width: min(320px, 86vw); z-index: 35;
    transform: translateX(-105%);
    box-shadow: 8px 0 40px rgba(0,0,0,.25); padding-top: 5.5rem;
  }
  .lesson-toc.open { transform: translateX(0); }
  .lesson-toc__head { padding-top: .5rem; }
  .lesson-main { padding: 7.5rem 1.25rem 5rem; }
  .toc-fab {
    position: fixed; right: 1.2rem; bottom: 1.4rem; z-index: 36;
    background: #1A261D; color: #F2EFE9; border: 2px solid #1A261D; border-radius: 99px;
    padding: .7rem 1.3rem; font-weight: 600; font-size: .85rem; box-shadow: 3px 3px 0 0 #FF6B4A;
  }
}
.toc-fab { display: none; }
@media (max-width: 900px) { .toc-fab { display: block; } }

/* ---- 首页细节 ---- */
/* 总览卡升级 */
.ov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.ov-card {
  position: relative; background: #fff; border: 2px solid #1A261D; border-radius: 1.1rem;
  padding: 1.8rem; box-shadow: 5px 5px 0 0 #1A261D; transition: all .2s ease;
  display: flex; flex-direction: column; gap: .8rem;
}
.ov-card:nth-child(4n+1) { transform: rotate(-.6deg); }
.ov-card:nth-child(4n+2) { transform: rotate(.5deg); }
.ov-card:nth-child(4n+3) { transform: rotate(-.4deg); }
.ov-card:nth-child(4n+4) { transform: rotate(.6deg); }
.ov-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 6px 8px 0 0 #1A261D; }
.ov-card__icon {
  width: 3rem; height: 3rem; border: 2px solid #1A261D; border-radius: .8rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 2px 2px 0 0 #1A261D;
}
.ov-card__count {
  position: absolute; top: .9rem; right: .9rem; font-size: .68rem; font-weight: 700;
  background: var(--accent-lime); border: 1.5px solid #1A261D; border-radius: 99px; padding: .12rem .55rem;
}
.ov-card h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.ov-card p { margin: 0; font-size: .85rem; color: rgba(26,38,29,.7); line-height: 1.75; flex: 1; font-family: 'Noto Sans SC',sans-serif; }
.ov-card__go { font-size: .8rem; font-weight: 700; color: var(--accent-green); display: inline-flex; align-items: center; gap: .3rem; }
.ov-card:hover .ov-card__go { color: var(--accent-orange); }
.ov-card:hover .ov-card__go iconify-icon { transform: translateX(3px); }
.ov-card__go iconify-icon { transition: transform .15s ease; }

/* 精选课程拍立得横滑 */
.polaroid-strip { display: flex; gap: 1.6rem; overflow-x: auto; padding: 1rem .3rem 1.6rem; }
.polaroid {
  flex-shrink: 0; width: 230px; background: #fff; border: 2px solid #1A261D; border-radius: .7rem;
  padding: .5rem .5rem 1rem; box-shadow: 4px 4px 0 0 #1A261D; transition: all .2s ease;
}
.polaroid:nth-child(odd) { transform: rotate(-1.5deg); }
.polaroid:nth-child(even) { transform: rotate(1.2deg); }
.polaroid:hover { transform: rotate(0) translateY(-8px) scale(1.03); box-shadow: 6px 8px 0 0 #1A261D; }
.polaroid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid #1A261D; border-radius: .4rem; background: #E8E4DB; display: block; }
.polaroid figcaption { font-family: 'Noto Serif SC',serif; font-weight: 600; font-size: .8rem; text-align: center; padding-top: .55rem; }

/* 关于我:头像卡 + 标签 */
.about-avatar {
  background: #C9E265; border: 2px solid #F2EFE9; border-radius: 1.2rem;
  width: 100%; aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  box-shadow: 6px 6px 0 0 rgba(0,0,0,.35); transform: rotate(-2deg); position: relative;
}
.about-avatar span.monogram { font-family: 'Noto Serif SC',serif; font-size: 3.4rem; font-weight: 700; line-height: 1; }
.about-avatar small { font-size: .78rem; font-weight: 600; }
.about-avatar::after {
  content: ''; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 5.5rem; height: 1.4rem; background: rgba(242,239,233,.55); border: 1px solid rgba(26,38,29,.15);
}
/* 照片版:整卡铺照片,底部墨黑药丸名条压图(覆盖基类柠檬底与居中;胶带/硬阴影/微旋转沿用) */
.about-avatar--photo { background: #1A261D; justify-content: flex-end; }
.about-avatar--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-avatar--photo small {
  position: relative; z-index: 1; margin-bottom: 1rem;
  background: #1A261D; color: #F2EFE9; padding: .32rem .95rem;
  border-radius: 99px; letter-spacing: .12em;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.tag-row span {
  display: inline-flex; align-items: center; gap: .32rem;
  font-size: .76rem; font-weight: 600; border: 1.5px solid rgba(242,239,233,.5);
  border-radius: 99px; padding: .28rem .85rem; color: rgba(242,239,233,.85);
  background: rgba(242,239,233,.07); transition: all .15s ease;
}
.tag-row iconify-icon { font-size: .95rem; flex-shrink: 0; }
.tag-row span:hover { background: var(--accent-lime); color: #1A261D; border-color: #1A261D; }

/* 金句:大引号 */
.quote-mark {
  font-family: 'Noto Serif SC',serif; font-size: 6rem; line-height: .6;
  color: var(--accent-orange); display: block; margin-bottom: .5rem; transform: rotate(4deg);
}
/* 浅色背景下的技能标签(Hero 用) */
.tag-row--light { justify-content: center; }
.tag-row--light span { color: #1A261D; border-color: #1A261D; background: #fff; box-shadow: 2px 2px 0 0 #1A261D; }
.tag-row--light span:hover { background: var(--accent-orange); }
/* 桌面端装饰:漂浮拍立得 */
.desktop-only { display: none; }
@media (min-width: 1280px) { .desktop-only { display: block; } }

/* ===== 原模板未用元素 ===== */
/* 1. 描边空心大字:内页 hero 背景词 */
.bg-word {
  position: absolute; top: 4.2rem; left: 50%; transform: translateX(-50%);
  font-size: clamp(4.5rem, 15vw, 12rem); font-weight: 700; line-height: 1;
  letter-spacing: .04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(26,38,29,.13);
  pointer-events: none; user-select: none; z-index: 0;
}
.page-hero { overflow: hidden; }
.page-hero .shell { position: relative; z-index: 1; }

/* 2. 渐变文字 */
.grad-text {
  background: linear-gradient(92deg, var(--accent-orange), var(--accent-purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 3. 深色三步骤带(旋转数字块 + 连接线) */
.steps-band { background: #1A261D; color: #F2EFE9; border-top: 2px solid #1A261D; border-bottom: 2px solid #1A261D; padding: 4.5rem 1.5rem; }
.steps-grid { max-width: 60rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 2.4rem; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242,239,233,.35), transparent);
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step__tile {
  width: 4.8rem; height: 4.8rem; border-radius: 1rem; border: 2px solid #F2EFE9;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem;
  font-family: 'Noto Serif SC',serif; font-size: 2rem; font-weight: 700; color: #1A261D;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,.4); transition: transform .25s ease; z-index: 1;
}
.step:nth-child(1) .step__tile { background: var(--accent-lime); transform: rotate(4deg); }
.step:nth-child(2) .step__tile { background: var(--accent-orange); transform: rotate(-4deg); }
.step:nth-child(3) .step__tile { background: var(--accent-purple); transform: rotate(5deg); }
.step:hover .step__tile { transform: rotate(0) scale(1.08); }
.step h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700; }
.step:nth-child(1) h3 { color: var(--accent-lime); }
.step:nth-child(2) h3 { color: var(--accent-orange); }
.step:nth-child(3) h3 { color: var(--accent-purple); }
.step p { margin: 0; font-size: .85rem; color: rgba(242,239,233,.7); line-height: 1.8; font-family: 'Noto Sans SC',sans-serif; max-width: 15rem; }
@media (max-width: 720px) {
  .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid::before { display: none; }
}

/* 4. 剪贴簿卡(博客) */
.scrap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem; max-width: 66rem; margin: 0 auto; }
.scrap-card {
  position: relative; border: 2px solid #1A261D; border-radius: 1.1rem;
  padding: 1.7rem; box-shadow: 5px 5px 0 0 #1A261D; transition: all .2s ease;
  display: flex; flex-direction: column; gap: .7rem; background: #F2EFE9;
}
.scrap-card:nth-child(4n+1) { transform: rotate(-1deg); background: #F2EFE9; }
.scrap-card:nth-child(4n+2) { transform: rotate(.8deg); background: var(--accent-lime); }
.scrap-card:nth-child(4n+3) { transform: rotate(-.7deg); background: #E5DEEE; }
.scrap-card:nth-child(4n+4) { transform: rotate(1deg); background: #FFE3DA; }
.scrap-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 6px 8px 0 0 #1A261D; }
.scrap-card__meta { display: flex; align-items: center; gap: .5rem; font-size: .7rem; }
.scrap-card__meta b { background: #1A261D; color: #F2EFE9; border-radius: 99px; padding: .14rem .6rem; font-weight: 600; }
.scrap-card__meta span { color: rgba(26,38,29,.55); }
.scrap-card h3 { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.scrap-card p { margin: 0; font-size: .85rem; color: rgba(26,38,29,.72); line-height: 1.75; font-family: 'Noto Sans SC',sans-serif; flex: 1; }
.scrap-card__foot { display: flex; align-items: center; gap: .55rem; border-top: 1.5px dashed rgba(26,38,29,.25); padding-top: .8rem; font-size: .76rem; font-weight: 600; }
.scrap-card__foot i { width: 1.6rem; height: 1.6rem; border-radius: 99px; background: var(--accent-purple); border: 1.5px solid #1A261D; display: inline-block; }

/* 5. 卡片角标(旋转 pill) */
.corner-tag {
  position: absolute; top: -.85rem; right: -.6rem; transform: rotate(5deg);
  background: var(--accent-orange); color: #1A261D; font-size: .7rem; font-weight: 700;
  border: 2px solid #1A261D; border-radius: 99px; padding: .22rem .8rem;
  box-shadow: 2px 2px 0 0 #1A261D;
}
.corner-tag--done { background: var(--accent-lime); }

/* ===== 特性块(图文交替,可复用) =====
用法:复制 <feature-snippet> 里的结构,flip 类控制左右互换 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 86rem; margin: 0 auto 6rem; }
.feature--flip .feature__media { order: 2; }
.feature--flip .feature__text { order: 1; }
.feature__media { position: relative; }
.feature__polaroid {
  background: #fff; border: 2px solid #1A261D; border-radius: 1rem;
  padding: .8rem .8rem 1.6rem; box-shadow: 6px 6px 0 0 #1A261D; transform: rotate(-2deg);
  transition: transform .25s ease; width: 100%; max-width: 32rem;
}
.feature--flip .feature__polaroid { transform: rotate(2deg); }
.feature__polaroid:hover { transform: rotate(0); }
.feature__img {
  aspect-ratio: 4/3; border: 1.5px solid #1A261D; border-radius: .6rem;
  display: flex; align-items: center; justify-content: center; overflow: hidden; background: #E8E4DB;
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__img iconify-icon { font-size: 4.5rem; }
.feature__caption { font-family: 'Noto Serif SC',serif; font-style: italic; text-align: center; font-size: .85rem; color: rgba(26,38,29,.65); margin-top: .7rem; }
.feature__sticker { position: absolute; bottom: -1.4rem; right: -.8rem; font-size: 3.8rem; color: var(--accent-orange); animation: spin-slow 15s linear infinite; }
.feature--flip .feature__sticker { right: auto; left: -.8rem; color: var(--accent-purple); }
.feature__label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: #F2EFE9; background: var(--accent-green); border-radius: 99px; padding: .3rem .95rem; margin-bottom: 1.1rem;
}
.feature__text { max-width: 34rem; }
.feature--flip .feature__text { justify-self: end; text-align: left; }
.feature__text h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 1.1rem; line-height: 1.2; }
.feature__text p { font-size: .95rem; color: rgba(26,38,29,.75); line-height: 2; font-family: 'Noto Sans SC',sans-serif; margin: 0 0 1rem; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 2.2rem; margin-bottom: 4.5rem; }
  .feature--flip .feature__media { order: 0; }
}

/* 收尾行动卡 */
.end-cta {
  display: flex; align-items: center; gap: .9rem; background: #fff;
  border: 2px solid #1A261D; border-radius: 1rem; padding: 1rem 1.1rem;
  box-shadow: 3px 3px 0 0 #1A261D; transition: all .15s ease; min-width: 0;
}
.end-cta:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; background: #F2EFE9; }
.end-cta__icon {
  flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: .7rem;
  border: 2px solid #1A261D; display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.end-cta span:not(.end-cta__icon) { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.end-cta b { font-size: .95rem; font-weight: 700; }
.end-cta small { font-size: .74rem; color: rgba(26,38,29,.6); font-family: 'Noto Sans SC',sans-serif; }
.end-cta__arrow { margin-left: auto; flex-shrink: 0; color: rgba(26,38,29,.4); transition: all .15s ease; }
.end-cta:hover .end-cta__arrow { color: var(--accent-orange); transform: translateX(3px); }

/* ---- 精选资源:速查表(一行一篇,高密度可扫) ---- */
.res-table { max-width: 60rem; margin: 0 auto; border: 2px solid #1A261D; border-radius: 1.1rem; background: #fff; box-shadow: 6px 6px 0 0 #1A261D; overflow: hidden; }
.res-row {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.3rem;
  border-bottom: 1.5px solid rgba(26,38,29,.12); transition: background .12s ease;
}
.res-row:last-child { border-bottom: none; }
.res-row:nth-child(even) { background: rgba(242,239,233,.5); }
.res-row:hover { background: var(--accent-lime); }
.res-ico {
  flex-shrink: 0; width: 2.4rem; height: 2.4rem; border: 1.5px solid #1A261D; border-radius: .55rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; background: var(--bg-cream);
}
.res-row b { flex-shrink: 0; width: 8.5rem; font-size: .95rem; font-weight: 700; }
.res-row p { flex: 1; min-width: 0; margin: 0; font-size: .84rem; color: rgba(26,38,29,.65); line-height: 1.5; font-family: 'Noto Sans SC',sans-serif; }
.res-tag {
  flex-shrink: 0; font-size: .68rem; font-weight: 600; color: #1A261D;
  border: 1.5px solid #1A261D; border-radius: 99px; padding: .12rem .6rem; background: var(--bg-cream);
}
.res-row > iconify-icon { flex-shrink: 0; color: rgba(26,38,29,.35); transition: all .13s ease; }
.res-row:hover > iconify-icon { color: var(--accent-orange); transform: translateX(3px); }
@media (max-width: 640px) {
  .res-row { flex-wrap: wrap; gap: .5rem .8rem; }
  .res-row b { width: auto; }
  .res-row p { flex-basis: 100%; order: 3; }
  .res-row > iconify-icon { order: 4; margin-left: auto; }
}

/* ---- 认知成长:书摘便利贴(书名替代星级) ---- */
.book-card {
  position: relative; border: 2px solid #1A261D; border-radius: 1.1rem;
  padding: 1.8rem 1.7rem 1.4rem; box-shadow: 5px 5px 0 0 #1A261D;
  transition: all .2s ease; display: flex; flex-direction: column; gap: .8rem; background: #F2EFE9;
}
.book-card:nth-child(4n+1) { transform: rotate(-1deg); background: #F2EFE9; }
.book-card:nth-child(4n+2) { transform: rotate(.9deg); background: var(--accent-lime); }
.book-card:nth-child(4n+3) { transform: rotate(-.8deg); background: #E5DEEE; }
.book-card:nth-child(4n) { transform: rotate(1.1deg); background: #FFE3DA; }
.book-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 6px 8px 0 0 #1A261D; }
.book-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.book-card__title { font-family: 'Noto Serif SC', serif; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.book-card__title small { display: block; font-size: .72rem; font-weight: 500; color: rgba(26,38,29,.55); margin-top: .2rem; font-family: 'Noto Sans SC',sans-serif; }
.book-card__tag {
  flex-shrink: 0; font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  border: 2px solid #1A261D; border-radius: .55rem; padding: .22rem .7rem;
  box-shadow: 2px 2px 0 0 #1A261D; transform: rotate(2deg);
}
.book-card__note {
  font-family: 'Noto Serif SC',serif; font-size: .95rem; line-height: 1.9; color: rgba(26,38,29,.85);
  border-top: 1.5px dashed rgba(26,38,29,.3); border-bottom: 1.5px dashed rgba(26,38,29,.3); padding: .9rem 0;
}
.book-card__foot { display: flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 600; margin-top: auto; }
.book-card__foot i { width: 1.6rem; height: 1.6rem; border-radius: 99px; background: var(--accent-purple); border: 1.5px solid #1A261D; }
.book-card__foot span { color: rgba(26,38,29,.55); font-weight: 500; margin-left: auto; }

/* 作品案例:两列网格 */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.works-grid .list-card { margin-bottom: 0; flex-direction: column; gap: .6rem; }
.works-grid .list-card__num { font-size: 1.3rem; }
.works-grid .corner-tag { top: -.75rem; right: -.5rem; }
@media (max-width: 760px) { .works-grid { grid-template-columns: 1fr; } }

/* 认知成长:话题标签药丸 */
#filters .filter-pill { font-weight: 700; }
#filters .filter-pill.active { border-color: #1A261D; box-shadow: 3px 3px 0 0 #1A261D; transform: rotate(-1deg); }

/* ---- 博客:目录按栏目分卡 ---- */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
@media (max-width: 860px) { .catalog-grid { grid-template-columns: 1fr; } }

/* 博客目录:一行三张栏目卡;卡内列表单列 */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: start; }
@media (max-width: 1100px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .catalog-grid { grid-template-columns: 1fr; } }
.cat-cols { padding: .3rem 1.2rem .9rem; }
.cat-cols .toc-item { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .42rem .4rem; border-bottom: 1px solid rgba(26,38,29,.06); white-space: nowrap; overflow: hidden; }
.cat-cols .toc-item small { color: rgba(26,38,29,.4); font-size: .72rem; flex-shrink: 0; }


/* ---- 最新发布:轮播(整卡步进,自动播放) ---- */
.recent-strip { display: flex; gap: 1.6rem; overflow-x: auto; padding: 1.3rem .2rem 1.4rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recent-strip::-webkit-scrollbar { display: none; }
.recent-card {
  flex-shrink: 0; scroll-snap-align: start; position: relative;
  width: calc((100% - 3.2rem) / 3); background: #fff; border: 2px solid #1A261D; border-radius: 1.1rem;
  padding: 1.5rem 1.5rem 1.3rem; box-shadow: 5px 5px 0 0 #1A261D;
  display: flex; flex-direction: column; gap: .7rem; transition: transform .2s ease;
}
.recent-card:nth-child(odd) { transform: rotate(-.8deg); }
.recent-card:nth-child(even) { transform: rotate(.7deg); }
.recent-card:hover { transform: rotate(0) translateY(-6px); }
.recent-card__no {
  position: absolute; top: -1rem; left: 1.2rem; font-family: 'Noto Serif SC',serif;
  font-size: 1.05rem; font-weight: 700; color: #F2EFE9; background: #1A261D;
  border: 2px solid #1A261D; border-radius: .6rem; padding: .08rem .6rem; transform: rotate(-3deg);
}
.recent-card__col { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700; border: 1.5px solid #1A261D; border-radius: 99px; padding: .16rem .7rem; }
.recent-card h3 { margin: 0; font-size: 1.06rem; font-weight: 700; line-height: 1.45; }
.recent-card p { margin: 0; font-size: .84rem; color: rgba(26,38,29,.65); line-height: 1.7; font-family: 'Noto Sans SC',sans-serif; flex: 1; }
.recent-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: rgba(26,38,29,.55); border-top: 1.5px dashed rgba(26,38,29,.2); padding-top: .7rem; }
.recent-card__foot b { color: var(--accent-green); }
.carousel-btn {
  width: 2.7rem; height: 2.7rem; border-radius: 99px; font-size: 1.25rem;
  background: #fff; border: 2px solid #1A261D; box-shadow: 3px 3px 0 0 #1A261D;
  display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.carousel-btn:hover { background: var(--accent-lime); transform: translate(2px,2px); box-shadow: 1px 1px 0 0 #1A261D; }
@media (max-width: 1024px) { .recent-card { width: calc((100% - 1.6rem) / 2); } }
@media (max-width: 640px)  { .recent-card { width: 100%; } }

/* ---- 博客目录:栏目通栏大卡 ---- */
.col-card {
  background: #fff; border: 2px solid #1A261D; border-radius: 1.2rem;
  box-shadow: 5px 5px 0 0 #1A261D; margin-bottom: 1.8rem; overflow: hidden;
}
.col-card__head {
  display: flex; align-items: center; gap: 1.3rem; padding: 1.3rem 1.6rem;
  border-bottom: 2px solid rgba(26,38,29,.12); cursor: pointer; user-select: none;
  background: #FBFAF4; transition: background .15s ease;
}
.col-card__head:hover { background: var(--accent-lime); }
.col-card__no {
  font-family: 'Noto Serif SC',serif; font-size: 1.9rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(26,38,29,.75); flex-shrink: 0;
}
.col-card__title { flex: 1; min-width: 0; }
.col-card__title h3 { margin: 0 0 .15rem; font-size: 1.25rem; font-weight: 700; }
.col-card__title p { margin: 0; font-size: .8rem; color: rgba(26,38,29,.55); font-family: 'Noto Sans SC',sans-serif; }
.col-card__count { flex-shrink: 0; font-size: .76rem; font-weight: 700; border: 2px solid #1A261D; border-radius: 99px; padding: .25rem .9rem; }
.col-card__fold { flex-shrink: 0; font-size: 1.3rem; color: rgba(26,38,29,.5); transition: transform .2s ease; }
.col-card.collapsed .col-card__fold { transform: rotate(-90deg); }
.col-card.collapsed .cat-cols { display: none; }
.col-card.collapsed .col-card__head { border-bottom-color: transparent; }
