/* 51动漫深度内容模块：方法论、镜头语言、流程与发布检查 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-card {
  position: relative;
  min-height: 365px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #dcebea;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 28px rgba(5, 48, 60, .045);
}

.knowledge-card::after {
  position: absolute;
  right: -46px;
  bottom: -53px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
  background: rgba(41, 196, 189, .12);
}

.knowledge-card:nth-child(even)::after {
  background: rgba(255, 118, 92, .11);
}

.knowledge-card > * {
  position: relative;
  z-index: 1;
}

.knowledge-no {
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: #063044;
  background: var(--sea-light);
  font-size: 12px;
  font-weight: 900;
}

.knowledge-card h3 {
  max-width: 420px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
}

.knowledge-card > p {
  max-width: 570px;
  margin: 12px 0 0;
  color: #516a74;
  font-size: 14px;
}

.copy-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.copy-list li {
  position: relative;
  padding-left: 17px;
  color: #264753;
  font-size: 13px;
}

.copy-list li::before {
  position: absolute;
  top: .76em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
}

.scene-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scene-note {
  padding: 28px;
  border: 1px solid #ddeceb;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 23px rgba(5, 48, 60, .045);
}

.scene-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #6b7d84;
  font-size: 11px;
  font-weight: 700;
}

.content-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #075c68;
  background: #dcfaf5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}

.scene-note h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.scene-note > p {
  margin: 11px 0 0;
  color: #536b75;
  font-size: 14px;
}

.scene-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.scene-columns div {
  min-height: 112px;
  padding: 13px;
  border-radius: 12px;
  background: #f4f9f9;
}

.scene-columns strong {
  display: block;
  color: #0c626d;
  font-size: 12px;
}

.scene-columns span {
  display: block;
  margin-top: 6px;
  color: #667b83;
  font-size: 12px;
  line-height: 1.55;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  min-height: 315px;
  padding: 20px;
  border-top: 4px solid var(--sea);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: #e2f3f5;
  background: #092d3a;
}

.process-step:nth-child(2n) {
  border-color: var(--coral);
  background: #123c48;
}

.process-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 50%;
  color: #063044;
  background: var(--sea);
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 900;
}

.process-step:nth-child(2n) .process-mark {
  background: #ffb39e;
}

.process-step h3 {
  margin-top: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.process-step p {
  margin: 11px 0 0;
  color: #bdd2d7;
  font-size: 12px;
  line-height: 1.7;
}

.process-step small {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(214, 255, 249, .16);
  color: #80bcbf;
  font-size: 11px;
  line-height: 1.5;
}

.ai-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.ai-practice-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(177, 235, 231, .16);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.055);
}

.ai-practice-card:nth-child(2n) {
  background: rgba(255,255,255,.09);
}

.ai-practice-card > span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0a4250;
  background: var(--sea);
  font-size: 11px;
  font-weight: 900;
}

.ai-practice-card:nth-child(4n) > span {
  color: #552016;
  background: #ffb39e;
}

.ai-practice-card h3 {
  margin-top: 20px;
  color: #f2ffff;
  font-size: 21px;
  font-weight: 900;
}

.ai-practice-card p {
  margin: 10px 0 0;
  color: #bdd4d9;
  font-size: 13px;
}

.community-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  min-height: 305px;
  padding: 24px;
  border: 1px solid #d9e9e8;
  border-radius: var(--radius-md);
  background: #fff;
}

.guide-icon {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 13px;
  color: #063244;
  background: linear-gradient(140deg, #c8fff8, #62dcd0);
  font-size: 18px;
  font-weight: 900;
}

.guide-card:nth-child(even) .guide-icon {
  background: linear-gradient(140deg, #ffd3c3, #ff927a);
}

.guide-card h3 {
  margin-top: 19px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.guide-card > p {
  margin: 10px 0 0;
  color: #546c75;
  font-size: 13px;
}

.guide-example {
  margin-top: 17px;
  padding: 11px 12px;
  border-left: 3px solid var(--sea);
  color: #537078;
  background: #f2fafa;
  font-size: 12px;
  line-height: 1.65;
}

.guide-card:nth-child(even) .guide-example {
  border-color: var(--coral);
  background: #fff4ef;
}

.guide-example strong {
  color: #0d5f69;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.glossary-term {
  min-height: 180px;
  padding: 20px;
  border: 1px solid #ddebea;
  border-radius: 13px;
  background: #fff;
}

.glossary-term h3 {
  color: #0b5e69;
  font-size: 17px;
  font-weight: 900;
}

.glossary-term p {
  margin: 10px 0 0;
  color: #597079;
  font-size: 12px;
  line-height: 1.72;
}

.publish-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.publish-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  min-height: 135px;
  padding: 22px;
  border: 1px solid rgba(185, 234, 230, .16);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.publish-row > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #062f3c;
  background: var(--sea);
  font-size: 12px;
  font-weight: 900;
}

.publish-row h3 {
  color: #effdfd;
  font-size: 18px;
  font-weight: 900;
}

.publish-row p {
  margin: 7px 0 0;
  color: #bcd0d5;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .process-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-step {
    min-height: 275px;
  }

  .community-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glossary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .knowledge-grid,
  .scene-notes,
  .ai-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-columns {
    grid-template-columns: 1fr;
  }

  .scene-columns div {
    min-height: auto;
  }

  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .knowledge-grid,
  .scene-notes,
  .ai-practice-grid,
  .community-guide-grid,
  .glossary-grid,
  .publish-checklist,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .knowledge-card,
  .scene-note,
  .guide-card,
  .ai-practice-card {
    min-height: auto;
    padding: 23px;
  }

  .process-step {
    min-height: auto;
  }

  .publish-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px;
  }

  .publish-row > span {
    width: 34px;
    height: 34px;
  }
}
