/* 创作区完整复用 home.css；本文件仅处理专题导航与静态 SEO 正文。 */
.trend-tools .trend-quick-nav {
  flex-wrap: nowrap;
}

.trend-tools .trend-quick-nav .home-tool-choice {
  flex: 1;
  text-decoration: none;
}

.trend-tools .trend-quick-nav .home-tool-choice[aria-current="page"] {
  border-color: var(--accent);
  background: #1c2417;
  box-shadow: 0 0 0 1px #d5eb9e66, 0 0 28px -2px #d5eb9e52;
}

.trend-tools .trend-quick-nav .home-tool-choice[aria-current="page"] strong::before {
  content: '✦';
  color: var(--accent);
  font-size: 12px;
}

.trend-tools .home-preview .preview-toolbar {
  min-height: 66px;
}

.trend-tools .preview-tabs > .active {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 7px;
  background: #2b3222;
  color: #daebb9;
  font-size: 11px;
}

.trend-tools .trend-example {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.trend-tools .trend-example figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 保留专题的独立参考说明，取消旧预览面板的底色、边框和大块内边距。 */
.trend-tools .home-preview .preview-caption {
  display: block;
  position: static;
  max-width: 420px;
  margin: 14px auto 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #9ba694;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.trend-tools .home-section {
  max-width: 1120px !important;
  margin-bottom: 40px;
}

.trend-tools .home-section h2 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.trend-tools .home-section > p {
  max-width: 76ch;
  color: #a3b098;
  font-size: 14px;
  line-height: 1.8;
}

.trend-tools .steps-grid article {
  padding: 20px;
  border: 1px solid #ffffff10;
  border-radius: 18px;
  background: #141914;
}

.trend-tools .steps-grid h3 {
  margin-top: 0;
  font-size: 15px;
  color: #e2ead9;
}

.trend-tools .steps-grid p {
  margin-bottom: 0;
  color: #99a88e;
  font-size: 13px;
  line-height: 1.8;
}

.trend-tools .duration-grid {
  gap: 16px;
}

.trend-tools .duration-grid:not(.duration-grid--wide) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 850px;
}

.trend-tools #people-title + p + .duration-grid--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trend-tools .duration-card {
  border: 1px solid #ffffff15;
  border-radius: 18px;
  background: #141914;
}

.trend-tools .duration-card video {
  object-fit: contain;
}

.trend-tools .duration-card figcaption {
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13px;
}

.trend-tools .duration-card .card-play {
  min-width: 48px;
  min-height: 48px;
  color: #eaf3df;
  background: #152010c9;
  border-color: #d5eb9e80;
}

.trend-tools .tool-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trend-tools .tool-related-links a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 76px;
  padding: 16px 20px;
  border: 1px solid #ffffff16;
  border-radius: 16px;
  background: #141914;
  color: #e0ebd5;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.trend-tools .tool-related-links a:hover {
  border-color: #d5eb9e66;
  background: #1c2517;
}

@media (max-width: 900px) {
  .trend-tools .home-preview .preview-toolbar {
    min-height: 36px;
  }

  .trend-tools .tool-related-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .trend-tools .home-section {
    margin-bottom: 32px;
  }

  .trend-tools .home-section h2 {
    font-size: 24px;
  }

  .trend-tools .steps-grid article {
    padding: 18px;
  }

  .trend-tools .duration-grid:not(.duration-grid--wide) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }

  .trend-tools .duration-grid--wide,
  .trend-tools #people-title + p + .duration-grid--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .trend-tools .duration-card figcaption {
    padding: 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trend-tools .tool-related-links a {
    transition: none;
  }
}
