/* ============================================
   糖心读书会与知识分享平台 — 新中式书房美学
   设计运动：新中式极简主义 × 文人书房
   核心色彩：墨绿+米色+琥珀
   ============================================ */

:root {
  --v71: #2E7D32;
  --h91: #4CAF50;
  --w37: #A5D6A7;
  --z76: #FAFAF5;
  --f58: #FFFFFF;
  --x78: #FF8F00;
  --h50: #3E2723;
  --w28: #5D4037;
  --u51: #8D6E63;
  --g46: #E8E5DF;
  --f19: #F0EDE8;
  --k89: 8px;
  --e94: 0 2px 12px rgba(46,125,50,0.08);
  --y9: 0 8px 32px rgba(46,125,50,0.12);
  --y57: 0 4px 16px rgba(62,39,35,0.06);
  --n96: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --x29: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --e34: "KaiTi", "STKaiti", serif;
  --h76: cubic-bezier(0.23, 1, 0.32, 1);
  --n77: cubic-bezier(0.77, 0, 0.175, 1);
  --d36: 0.2s var(--h76);
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--x29);
  color: var(--h50);
  background-color: var(--z76);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--v71);
  text-decoration: none;
  transition: color var(--d36);
}

a:hover {
  color: var(--h91);
}

/* 排版系统 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--n96);
  color: var(--h50);
  line-height: 1.4;
  font-weight: 700;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--w28);
}

blockquote {
  font-family: var(--e34);
  font-style: italic;
  border-left: 3px solid var(--v71);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(165,214,167,0.1);
  border-radius: 0 var(--k89) var(--k89) 0;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

._tl338 {
  padding: 4rem 0;
}

._jvbg9 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

._jvbg9::after {
  q4g1s2: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--v71), var(--w37));
  margin: 1rem auto 0;
  border-radius: 2px;
}

._jvbg9 h2 {
  color: var(--h50);
}

._jvbg9 p {
  color: var(--u51);
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* 顶部导航 */
._za0gz {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,250,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--f19);
  transition: box-shadow var(--d36);
}

._za0gz.e5g2n8 {
  box-shadow: var(--e94);
}

.j1w5f6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.bw-grid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--n96);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--v71);
}

.bw-grid svg {
  width: 32px;
  height: 32px;
}

._66ns9 {
  display: flex;
  list-style: none;
  gap: 2rem;
}

._66ns9 a {
  color: var(--w28);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

._66ns9 a::after {
  q4g1s2: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--v71);
  transition: width var(--d36);
}

._66ns9 a:hover::after,
._66ns9 a.active::after {
  width: 100%;
}

._66ns9 a:hover {
  color: var(--v71);
}

.wd-flow {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.wd-flow span {
  width: 24px;
  height: 2px;
  background: var(--h50);
  border-radius: 2px;
  transition: var(--d36);
}

/* 首屏英雄区 */
._m50os {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.k6w3k3 {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.k6w3k3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k6w3k3::after {
  q4g1s2: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(46,125,50,0.85) 0%,
    rgba(46,125,50,0.6) 40%,
    rgba(62,39,35,0.7) 100%
  );
}

._8nozf {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
  padding: 2rem 0;
}

._8nozf h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

._8nozf .v7a6a4 {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.f9p3u5 {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 按钮系统 */
.cy-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--k89);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--d36);
  text-decoration: none;
}

.cy-row:active {
  transform: scale(0.97);
}

.tx-row {
  background: var(--v71);
  color: #fff;
}

.tx-row:hover {
  background: var(--h91);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,0.3);
}

.p8u9a2 {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.p8u9a2:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

._t1bgh {
  background: var(--x78);
  color: #fff;
}

._t1bgh:hover {
  background: #F57C00;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,143,0,0.3);
}

.r5d4e3 {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* 卡片系统 */
.q7h8y6 {
  background: var(--f58);
  border-radius: var(--k89);
  box-shadow: var(--y57);
  border: 1px solid var(--f19);
  overflow: hidden;
  transition: all var(--d36);
}

.q7h8y6:hover {
  box-shadow: var(--y9);
  transform: translateY(-4px);
}

._tmzci {
  padding: 1.5rem;
}

.j4y2a6 {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* 书单卡片 */
.z3v4z3 {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--f58);
  border-radius: var(--k89);
  border: 1px solid var(--f19);
  transition: all var(--d36);
}

.z3v4z3:hover {
  box-shadow: var(--e94);
  transform: translateX(4px);
}

.bw-area {
  width: 90px;
  height: 130px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.fn-list h4 {
  font-family: var(--n96);
  margin-bottom: 0.25rem;
}

.fn-list .a4o7e8 {
  color: var(--u51);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.fn-list .cy-tag {
  font-size: 0.9rem;
  color: var(--w28);
  line-height: 1.6;
}

._fnm17 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  color: var(--x78);
  font-weight: 600;
  font-size: 0.875rem;
}

/* 读书达人卡片 */
.sl-foot {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--f58);
  border-radius: var(--k89);
  border: 1px solid var(--f19);
  transition: all var(--d36);
}

.sl-foot:hover {
  box-shadow: var(--e94);
}

.b3b7c4 {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--w37);
}

.sl-foot h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.sl-foot .xz-list {
  color: var(--u51);
  font-size: 0.8125rem;
}

/* 读书会日程 */
._dlggy {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--f58);
  border-radius: var(--k89);
  border: 1px solid var(--f19);
  border-left: 4px solid var(--v71);
  transition: all var(--d36);
}

._dlggy:hover {
  box-shadow: var(--e94);
}

.mv-area {
  text-align: center;
  min-width: 60px;
}

.mv-area ._nqv1y {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--v71);
  line-height: 1;
}

.mv-area .c7k9z7 {
  font-size: 0.8125rem;
  color: var(--u51);
  margin-top: 0.25rem;
}

.bw-head h4 {
  margin-bottom: 0.25rem;
}

.bw-head .fn-tag {
  font-size: 0.8125rem;
  color: var(--u51);
}

/* 知识卡片 */
._9e5d6 {
  background: linear-gradient(135deg, var(--f58) 0%, #F5F9F5 100%);
  border-radius: var(--k89);
  padding: 2rem;
  border: 1px solid var(--f19);
  position: relative;
  overflow: hidden;
  transition: all var(--d36);
}

._9e5d6::before {
  q4g1s2: "\201C";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 6rem;
  color: var(--w37);
  opacity: 0.3;
  font-family: var(--n96);
  line-height: 1;
}

._9e5d6:hover {
  box-shadow: var(--e94);
  transform: translateY(-2px);
}

._9e5d6 .q4g1s2 {
  font-family: var(--e34);
  font-size: 1.125rem;
  line-height: 2;
  color: var(--h50);
  position: relative;
  z-index: 1;
}

._9e5d6 .dk-pill {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--u51);
}

/* 便签纸风格笔记 */
._0gcfk {
  background: #FFF9C4;
  border-radius: 2px;
  padding: 1.5rem;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.1);
  transform: rotate(-1deg);
  transition: all var(--d36);
  position: relative;
}

._0gcfk::before {
  q4g1s2: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--x78);
}

._0gcfk:nth-child(even) {
  transform: rotate(1deg);
}

._0gcfk:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 4px 6px 16px rgba(0,0,0,0.15);
}

._0gcfk .wd-unit {
  font-size: 0.75rem;
  color: var(--u51);
  margin-bottom: 0.5rem;
}

._0gcfk ._fuqtx {
  font-family: var(--e34);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--h50);
}

/* 阅读进度条 */
.vw-pan {
  width: 100%;
  height: 8px;
  background: var(--g46);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.lq-mark {
  height: 100%;
  background: linear-gradient(90deg, var(--v71), var(--w37));
  border-radius: 4px;
  transition: width 1s var(--n77);
}

._3u0ox {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--u51);
}

/* 3D书架 */
._focop {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(180deg, #5D4037 0%, #4E342E 100%);
  border-radius: var(--k89);
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

._focop::after {
  q4g1s2: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(180deg, #6D4C41, #4E342E);
  box-shadow: 0 -2px 4px rgba(0,0,0,0.3);
}

.mv-card {
  width: 28px;
  min-height: 140px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--h76);
  position: relative;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.mv-card:hover {
  transform: translateY(-12px) rotateZ(-2deg);
  box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
}

.mv-card:nth-child(1) { background: #1B5E20; height: 160px; }
.mv-card:nth-child(2) { background: #B71C1C; height: 145px; }
.mv-card:nth-child(3) { background: #1A237E; height: 155px; }
.mv-card:nth-child(4) { background: #E65100; height: 140px; }
.mv-card:nth-child(5) { background: #4A148C; height: 150px; }
.mv-card:nth-child(6) { background: #004D40; height: 148px; }
.mv-card:nth-child(7) { background: #BF360C; height: 158px; }
.mv-card:nth-child(8) { background: #263238; height: 142px; }

/* 网格布局 */
._6w3rx {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

._rjv74 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mv-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* 面包屑 */
.u4t6g2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--u51);
}

.u4t6g2 a {
  color: var(--u51);
}

.u4t6g2 a:hover {
  color: var(--v71);
}

.u4t6g2 .c1j9e3 {
  color: var(--g46);
}

/* 页脚 */
._3l45v {
  background: #2C2C2C;
  color: #BDBDBD;
  padding: 4rem 0 2rem;
}

._cmw9o {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.i9i2j6 h3 {
  font-family: var(--n96);
  color: #fff;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.i9i2j6 p {
  color: #9E9E9E;
  font-size: 0.9rem;
  line-height: 1.8;
}

.i2q4g1 h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--x29);
}

.i2q4g1 ul {
  list-style: none;
}

.i2q4g1 ul li {
  margin-bottom: 0.5rem;
}

.i2q4g1 ul li a {
  color: #9E9E9E;
  font-size: 0.875rem;
  transition: color var(--d36);
}

.i2q4g1 ul li a:hover {
  color: var(--w37);
}

._np0sb {
  border-top: 1px solid #424242;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #757575;
}

._np0sb a {
  color: #9E9E9E;
}

/* 页面头部横幅 */
._22ute {
  background: linear-gradient(135deg, var(--v71) 0%, #1B5E20 100%);
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}

._22ute h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

._22ute p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ手风琴 */
._yej0z {
  border: 1px solid var(--g46);
  border-radius: var(--k89);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

._v0fsl {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--f58);
  transition: background var(--d36);
}

._v0fsl:hover {
  background: #F5F9F5;
}

._v0fsl::after {
  q4g1s2: "+";
  font-size: 1.25rem;
  color: var(--v71);
  transition: transform var(--d36);
}

._yej0z.active ._v0fsl::after {
  transform: rotate(45deg);
}

.bx-item {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s var(--h76);
}

._yej0z.active .bx-item {
  padding: 0 1.5rem 1.25rem;
  max-height: 500px;
}

/* 标签 */
.q6a5b4 {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(46,125,50,0.08);
  color: var(--v71);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.jm-unit {
  background: rgba(255,143,0,0.1);
  color: var(--x78);
}

/* 评分星星 */
.hp-card {
  color: var(--x78);
  letter-spacing: 2px;
}

/* 搜索框 */
.e8k2m4 {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.e8k2m4 input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--g46);
  border-right: none;
  border-radius: var(--k89) 0 0 var(--k89);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--d36);
  background: var(--f58);
}

.e8k2m4 input:focus {
  border-color: var(--v71);
}

.e8k2m4 button {
  padding: 0.875rem 1.5rem;
  background: var(--v71);
  color: #fff;
  border: none;
  border-radius: 0 var(--k89) var(--k89) 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--d36);
}

.e8k2m4 button:hover {
  background: var(--h91);
}

/* 合作伙伴 */
.b2r9a6 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.7;
}

.b2r9a6 img {
  height: 40px;
  filter: grayscale(100%);
  transition: all var(--d36);
}

.b2r9a6 img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* 挑战进度 */
.o9g2y8 {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  border-radius: var(--k89);
  padding: 2rem;
  text-align: center;
}

._28pik {
  font-size: 3rem;
  font-weight: 700;
  color: var(--v71);
  font-family: var(--n96);
}

.pn-col {
  color: var(--u51);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.r3y7u9 {
  animation: fadeInUp 0.6s var(--h76) forwards;
  opacity: 0;
}

._bf6mi { animation-delay: 0.1s; }
._buqpx { animation-delay: 0.2s; }
._c5w8r { animation-delay: 0.3s; }
.p5f3y2 { animation-delay: 0.4s; }

/* 响应式 */
@media (max-width: 1024px) {
  .mv-list {
    grid-template-columns: repeat(2, 1fr);
  }
  ._cmw9o {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  ._66ns9 {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--z76);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--g46);
    box-shadow: var(--e94);
  }
  
  ._66ns9.active {
    display: flex;
  }
  
  .wd-flow {
    display: flex;
  }
  
  ._m50os {
    min-height: 70vh;
  }
  
  ._8nozf h1 {
    font-size: 2.25rem;
  }
  
  ._6w3rx, ._rjv74, .mv-list {
    grid-template-columns: 1fr;
  }
  
  ._cmw9o {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  ._np0sb {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  ._dlggy {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .z3v4z3 {
    flex-direction: column;
  }
  
  .bw-area {
    width: 100%;
    height: 180px;
  }
  
  ._tl338 {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  ._8nozf h1 {
    font-size: 1.75rem;
  }
  
  .f9p3u5 {
    flex-direction: column;
  }
  
  .cy-row {
    width: 100%;
    justify-content: center;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* 打印样式 */
@media print {
  ._za0gz, ._3l45v, .wd-flow, .cy-row {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
