.six-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.six-main,
.six-side {
  min-width: 0;
}
.six-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.six-main > h1,
.mentor-title h1,
.six-heading h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}
.six-main > p,
.mentor-title p,
.six-heading p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.six-card,
.case-study-card,
.test-level,
.cert-card,
.post-item,
.resource-card,
.resource-row,
.chat-panel,
.test-hero,
.community-hero,
.tip-band,
.recent-cert {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.six-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.six-card h3,
.six-card p,
.six-card dl {
  margin: 0;
}
.six-filter,
.tabline,
.resource-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.six-filter button,
.tabline button,
.resource-tools select {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #5f6b8c;
  font-weight: 800;
}
.six-filter .active,
.tabline .active {
  background: var(--primary);
  color: #ffffff;
}
.case-grid,
.cert-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.case-study-card,
.resource-card,
.cert-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 16px;
}
.case-photo,
.resource-preview {
  position: relative;
  min-height: 130px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, #dfe8ff, #6d7cff);
  overflow: hidden;
}
.case-photo::after,
.resource-preview::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.86), transparent 35%), linear-gradient(135deg, rgba(255,255,255,.22), rgba(0,0,0,.16));
}
.case-photo.gov { background: linear-gradient(135deg, #b7d4ff, #315c97); }
.case-photo.school { background: linear-gradient(135deg, #a9e0ff, #1967a3); }
.case-photo.shop { background: linear-gradient(135deg, #ffd4a6, #7d4b24); }
.case-photo.office { background: linear-gradient(135deg, #b7c8e8, #2d4b75); }
.case-photo.chart { background: linear-gradient(135deg, #baf3ff, #4f67ff); }
.case-photo span,
.resource-preview span {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 12px;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.case-study-card h3,
.case-study-card p,
.case-study-card div,
.resource-card h3,
.resource-card p,
.resource-card small,
.cert-card h3,
.cert-card p,
.cert-card small {
  margin: 0;
  padding: 0 14px;
}
.case-study-card p,
.resource-card p,
.cert-card p,
.post-item p,
.suggest-row small,
.topic-row small,
.history-row small,
.benefit small {
  color: var(--muted);
  line-height: 1.45;
}
.case-study-card div:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.case-study-card div:last-child button,
.resource-card button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--primary);
}
.load-more {
  width: 100%;
  min-height: 42px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 900;
}
.rank-item,
.suggest-row,
.topic-row,
.history-row,
.support-card,
.quick-link,
.collection,
.member-row,
.event-row,
.benefit {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}
.rank-item .thumb {
  display: block;
  width: 54px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dfe8ff, #6a58ff);
}
.rank-item b,
.topic-row span,
.suggest-row span,
.support-card span,
.quick-link span,
.collection span,
.member-row span,
.benefit span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f0edff;
  color: var(--primary);
  font-weight: 900;
}
.rank-item strong,
.rank-item small,
.member-row strong,
.member-row small,
.collection strong,
.collection small {
  grid-column: 3;
}
.rank-item small,
.member-row small,
.collection small,
.event-row small,
.history-score small,
.history-score i {
  color: var(--muted);
  font-size: 12px;
}
.case-stat {
  background: linear-gradient(135deg, #5c4df5, #7248e8);
  color: #ffffff;
}
.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}
.mini-stat-grid strong,
.mini-stat-grid small {
  display: block;
}
.suggest-row,
.topic-row,
.history-row,
.support-card,
.quick-link,
.popular-check {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  text-align: left;
}
.mentor-title span,
.mentor-profile span,
.cert-card .chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eeeaff;
  color: var(--primary);
  font-size: 12px;
}
.chat-panel {
  display: grid;
  gap: 18px;
  min-height: 520px;
  padding: 24px;
}
.message {
  display: grid;
  gap: 12px;
  align-items: start;
  max-width: 74%;
}
.message.bot {
  grid-template-columns: 48px minmax(0, 1fr);
}
.message.user {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) 42px;
}
.message p {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #f4f6ff;
  line-height: 1.6;
}
.message.user p {
  background: #eeeaff;
  color: var(--primary);
}
.bot-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #14224d, #ddebff 42%, #f8fbff 43%);
  color: #6ee7ff;
}
.mentor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mentor-chips button {
  min-height: 34px;
  border: 1px solid #ddd8ff;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
}
.mentor-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mentor-input input,
.ask-card textarea {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}
.support-grid,
.test-grid,
.resource-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.support-card {
  min-height: 70px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}
.mentor-profile {
  justify-items: center;
  text-align: center;
}
.test-hero,
.community-hero,
.tip-band,
.recent-cert {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff, #f2efff);
}
.test-robot,
.people-art,
.clip-art,
.level-medal,
.big-medal,
.cert-paper {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 35%, #10245b, #dbe9ff 42%, #ffffff 43%);
  color: #68e7ff;
  font-size: 54px;
}
.test-hero ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: #536083;
}
.test-grid {
  margin: 16px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.test-level {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 18px;
}
.test-level span {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef6ff;
  color: #3b7cff;
}
.tip-band {
  grid-template-columns: 70px minmax(0, 1fr) 170px;
  padding: 18px;
}
.tiny-dl,
.progress-summary dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  color: #536083;
}
.tiny-dl dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}
.history-score {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
}
.cert-grid {
  margin: 18px 0 24px;
}
.cert-card {
  padding: 20px 14px 16px;
  text-align: center;
}
.big-medal {
  min-height: 92px;
  width: 92px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6b5cff, #e9e5ff);
  color: #ffffff;
  font-weight: 950;
}
.cert-card.green .big-medal { background: linear-gradient(135deg, #12b76a, #dffbea); }
.cert-card.blue .big-medal { background: linear-gradient(135deg, #2878ff, #e8f2ff); }
.cert-card.amber .big-medal { background: linear-gradient(135deg, #ff9900, #fff1d8); }
.cert-table,
.resource-list {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.cert-table table {
  min-width: 800px;
}
.recent-cert {
  grid-template-columns: 120px minmax(0, 1fr) auto auto;
  padding: 18px;
  background: linear-gradient(135deg, #5a4df5, #3920c9);
  color: #ffffff;
}
.cert-paper {
  min-height: 80px;
  background: #ffffff;
  color: var(--primary);
}
.benefit {
  grid-template-columns: 44px minmax(0, 1fr);
}
.community-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  background: linear-gradient(135deg, #ffffff, #eeeaff);
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 22px;
}
.hero-stats span,
.hero-stats b,
.hero-stats small {
  display: block;
}
.people-art {
  min-height: 170px;
  background: linear-gradient(135deg, #ded9ff, #ffffff);
  color: var(--primary);
}
.topic-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.topic-strip button {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
}
.topic-strip small {
  display: block;
  color: var(--muted);
}
.post-list {
  display: grid;
}
.post-item {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border-radius: 0;
  box-shadow: none;
}
.post-item:first-child { border-radius: 16px 16px 0 0; }
.post-item:last-child { border-radius: 0 0 16px 16px; }
.post-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}
.ask-card textarea {
  min-height: 110px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
}
.member-row {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}
.event-row {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}
.event-row span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #f0edff;
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  text-align: center;
}
.event-row button {
  border: 0;
  border-radius: 8px;
  background: #f5f3ff;
  color: var(--primary);
  font-weight: 800;
}
.resource-tools {
  align-items: center;
}
.resource-tools .page-search {
  flex: 1 1 360px;
  margin: 0;
}
.resource-cats {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-bottom: 18px;
}
.resource-cat {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  font-weight: 800;
}
.resource-cat span,
.resource-cat small {
  display: block;
}
.resource-cat span {
  color: var(--primary);
  font-size: 22px;
}
.resource-cat small {
  color: var(--muted);
}
.resource-preview {
  min-height: 150px;
}
.resource-preview i {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 18, 48, .78);
  color: #ffffff;
}
.resource-row {
  grid-template-columns: 42px minmax(0, 1fr) 120px 100px 34px 34px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.resource-row > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef6ff;
  color: #2878ff;
}
.quick-link {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}
.collection {
  grid-template-columns: 42px minmax(0, 1fr);
}
@media (max-width: 1180px) {
  .six-page,
  .test-hero,
  .community-hero {
    grid-template-columns: 1fr;
  }
  .six-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-grid,
  .cert-grid,
  .resource-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource-cats,
  .topic-strip,
  .test-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .six-page,
  .six-main,
  .six-side,
  .chat-panel,
  .test-hero,
  .community-hero,
  .tip-band,
  .recent-cert,
  .resource-row,
  .post-item {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .six-side,
  .case-grid,
  .cert-grid,
  .resource-grid,
  .support-grid,
  .test-grid,
  .resource-cats,
  .topic-strip {
    grid-template-columns: 1fr;
  }
  .six-filter,
  .tabline {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .six-filter button,
  .tabline button {
    flex: 0 0 auto;
  }
  .six-main > p,
  .six-heading p,
  .mentor-title p,
  .case-study-card h3,
  .case-study-card p,
  .test-level strong,
  .test-level p,
  .cert-card h3,
  .cert-card p,
  .message p,
  .community-hero h2,
  .community-hero p,
  .post-item h3,
  .post-item p,
  .resource-card h3,
  .resource-card p {
    max-width: 260px;
    overflow-wrap: break-word;
  }
  .message {
    max-width: 100%;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
  .resource-tools {
    display: grid;
  }
  .resource-tools .page-search,
  .resource-tools select,
  .resource-tools button {
    width: 100%;
  }
}
.suggest-row strong,
.suggest-row small,
.topic-row strong,
.history-row strong,
.quick-link strong,
.benefit strong,
.benefit small,
.collection strong,
.collection small {
  grid-column: 2;
}
.suggest-row i,
.topic-row i,
.history-row small,
.quick-link i {
  grid-column: 3;
}

