/* ==========================================================================
   九九影院电视剧大全 · 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f5f6f7;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #1f2328;
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #2f6f8f;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #1f4f66;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #2f6f8f;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f6f7;
  color: #1f2328;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #ffffff;
  border-bottom: 1px solid #d8dde2;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  display: flex;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: #3a434d;
  font-size: 15px;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background-color: #eef2f4;
  color: #2f6f8f;
  text-decoration: none;
}

.nav-list a.is-current {
  color: #2f6f8f;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 0 #2f6f8f;
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #d8dde2;
  color: #5b6570;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 32px 28px;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid #e6eaee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: #5b6570;
}

/* --------------------------------------------------------------------------
   layout · 内页通用
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #5b6570;
}

.breadcrumb a {
  color: #5b6570;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #2f6f8f;
}

.breadcrumb-sep {
  color: #a7b0b8;
}

.breadcrumb-current {
  color: #1f2328;
  font-weight: 600;
}

.page-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #d8dde2;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #1f2328;
  line-height: 1.35;
  margin-bottom: 12px;
}

.page-description {
  max-width: 780px;
  font-size: 16px;
  color: #5b6570;
  line-height: 1.75;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside,
.layout-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .layout-main {
  order: 2;
}

.sidebar-left .layout-aside,
.sidebar-left .layout-sidebar {
  order: 1;
}

/* --------------------------------------------------------------------------
   components · 品牌与页头工具
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #1f2328;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: #1f2328;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #2f6f8f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.brand-text {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #2f6f8f;
  border-radius: 6px;
  background-color: #2f6f8f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.tool-link:hover,
.tool-link:focus-visible {
  background-color: #1f4f66;
  border-color: #1f4f66;
  color: #ffffff;
  text-decoration: none;
}

.tool-link-ghost {
  background-color: #ffffff;
  border-color: #d8dde2;
  color: #3a434d;
}

.tool-link-ghost:hover,
.tool-link-ghost:focus-visible {
  background-color: #eef2f4;
  border-color: #b9c3cb;
  color: #1f2328;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: #3a434d;
  box-shadow: 0 -6px 0 0 #3a434d, 0 6px 0 0 #3a434d;
}

.nav-toggle:hover {
  background-color: #eef2f4;
}

/* --------------------------------------------------------------------------
   components · 通用按钮与文本链接
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #2f6f8f;
  border-color: #2f6f8f;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #1f4f66;
  border-color: #1f4f66;
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background-color: #ffffff;
  border-color: #d8dde2;
  color: #3a434d;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #eef2f4;
  border-color: #b9c3cb;
  color: #1f2328;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  border-color: #d8dde2;
  color: #3a434d;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: #eef2f4;
  border-color: #b9c3cb;
  color: #1f2328;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #2f6f8f;
}

.text-link::after {
  content: "→";
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   components · 通用区块头
   -------------------------------------------------------------------------- */

.section {
  margin-bottom: 56px;
}

.section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1f2328;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-desc,
.section-intro,
.section-lead {
  max-width: 820px;
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.section-more {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   components · 页脚
   -------------------------------------------------------------------------- */

.footer-brand {
  min-width: 0;
}

.footer-name {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 12px;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: #5b6570;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #2f6f8f;
}

.footer-copy,
.footer-note {
  margin: 0;
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.home-main {
  width: 100%;
}

/* 首屏内容焦点区 */

.hero {
  background-color: #ffffff;
  border-bottom: 1px solid #d8dde2;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid #cfd8de;
  border-radius: 4px;
  background-color: #f5f6f7;
  color: #4a7c59;
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  color: #1f2328;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-lead {
  max-width: 560px;
  font-size: 16px;
  color: #5b6570;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e6eaee;
}

.hero-facts li {
  min-width: 0;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.7;
}

.hero-facts strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2328;
  font-size: 15px;
  font-weight: 600;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  background-color: #eef2f4;
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6570;
  line-height: 1.7;
}

/* 首页各区块容器 */

.home-main .section {
  max-width: 1120px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.home-main .section:first-of-type {
  margin-top: 48px;
}

/* 题材频道总览 */

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.genre-card {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.genre-card:hover {
  border-color: #2f6f8f;
}

.genre-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.genre-scope {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
  margin-bottom: 10px;
}

.genre-represent {
  padding-top: 10px;
  border-top: 1px solid #e6eaee;
  font-size: 13px;
  color: #4a7c59;
  line-height: 1.7;
}

/* 专题片单速览 */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  overflow: hidden;
}

.collection-card:hover {
  border-color: #2f6f8f;
}

.collection-media {
  margin: 0;
}

.collection-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #eef2f4;
}

.collection-name,
.collection-title {
  padding: 16px 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
}

.collection-scope {
  padding: 8px 18px 0;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.collection-genres {
  margin: 12px 18px 18px;
  padding: 8px 10px;
  border-radius: 4px;
  background-color: #f5f6f7;
  font-size: 13px;
  color: #4a7c59;
  line-height: 1.7;
}

/* 剧集目录字段说明 */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.field-table {
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

.field-table caption {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  color: #5b6570;
  border-bottom: 1px solid #d8dde2;
}

.field-table th,
.field-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6eaee;
  line-height: 1.7;
}

.field-table thead th {
  background-color: #f5f6f7;
  color: #1f2328;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody th {
  color: #1f2328;
  font-weight: 600;
  white-space: nowrap;
}

.field-table tbody td {
  color: #5b6570;
}

.field-table tbody tr:last-child th,
.field-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 查阅路径摘要 */

.step-list {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step-item {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-left: 3px solid #2f6f8f;
  border-radius: 6px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

/* 收录范围与反馈入口 */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-block {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.scope-block.scope-covered {
  border-top: 3px solid #4a7c59;
}

.scope-block.scope-excluded {
  border-top: 3px solid #a7b0b8;
}

.scope-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 12px;
}

.scope-list {
  display: grid;
  gap: 10px;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2f6f8f;
}

.scope-block.scope-excluded .scope-list li::before {
  background-color: #a7b0b8;
}

.scope-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   pages · 题材频道
   -------------------------------------------------------------------------- */

.section-genre-overview {
  margin-bottom: 40px;
}

.section-genre-overview .genre-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-genre-overview .genre-card {
  padding: 0;
  overflow: hidden;
}

.genre-media {
  margin: 0;
}

.genre-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #eef2f4;
}

.genre-body {
  padding: 18px 20px 20px;
}

.genre-body .genre-name {
  margin-bottom: 10px;
}

.genre-body .genre-scope {
  margin-bottom: 10px;
}

.genre-direction {
  padding-top: 10px;
  border-top: 1px solid #e6eaee;
  font-size: 13px;
  color: #4a7c59;
  line-height: 1.7;
}

.section-genre-mapping {
  margin-bottom: 0;
}

.mapping-text {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.mapping-text p {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.mapping-text p + p {
  margin-top: 12px;
}

/* 侧栏区块 */

.aside-block {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.aside-block p {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.aside-block p + p {
  margin-top: 10px;
}

.aside-links {
  display: grid;
  gap: 8px;
}

.aside-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: #2f6f8f;
}

.aside-note {
  background-color: #f5f6f7;
}

/* --------------------------------------------------------------------------
   pages · 专题片单
   -------------------------------------------------------------------------- */

.section-collections {
  margin-bottom: 48px;
}

.collection-body {
  padding-bottom: 4px;
}

.section-relation {
  margin-bottom: 0;
}

.relation-body {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.relation-body p {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.relation-body p + p {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   pages · 剧集目录
   -------------------------------------------------------------------------- */

.catalog-section + .catalog-section {
  margin-top: 48px;
}

.catalog-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.section-media {
  margin: 20px 0 24px;
}

.section-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  background-color: #eef2f4;
}

.section-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6570;
  line-height: 1.7;
}

.catalog-group {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.catalog-group + .catalog-group {
  margin-top: 16px;
}

.catalog-group h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6eaee;
}

.entry-list {
  display: grid;
  gap: 8px;
}

.entry-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background-color: #f5f6f7;
  font-size: 15px;
}

.entry-name {
  color: #1f2328;
  font-weight: 600;
}

.entry-year,
.entry-episodes {
  font-size: 13px;
  color: #5b6570;
}

.rule-list {
  display: grid;
  gap: 10px;
}

.rule-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2f6f8f;
}

/* --------------------------------------------------------------------------
   pages · 查阅路径
   -------------------------------------------------------------------------- */

.guide-steps {
  margin-bottom: 40px;
}

.guide-steps .step-list {
  margin-top: 20px;
}

.guide-steps .step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-left: 1px solid #d8dde2;
  border-radius: 8px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #2f6f8f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.step-body {
  min-width: 0;
}

.step-body .step-title {
  margin-bottom: 8px;
}

.step-text {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.step-text + .step-text {
  margin-top: 8px;
}

.step-check {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d8dde2;
  font-size: 14px;
  color: #4a7c59;
  line-height: 1.7;
}

.check-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: #eef4ef;
  color: #4a7c59;
  font-size: 13px;
  font-weight: 600;
}

.guide-figure {
  margin: 0 0 40px;
}

.guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  background-color: #eef2f4;
}

.figure-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6570;
  line-height: 1.7;
}

.guide-faq {
  margin-bottom: 40px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  color: #2f6f8f;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #e6eaee;
}

.faq-answer {
  padding: 14px 18px 18px;
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.guide-links {
  margin-bottom: 0;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.link-item {
  min-width: 0;
  padding: 14px 18px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.link-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   pages · 收录范围与反馈
   -------------------------------------------------------------------------- */

.content-section + .content-section {
  margin-top: 48px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.scope-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.scope-col {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.scope-col-covered {
  border-top: 3px solid #4a7c59;
}

.scope-col-excluded {
  border-top: 3px solid #a7b0b8;
}

.scope-col-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 12px;
}

.scope-col-excluded .scope-list li::before {
  background-color: #a7b0b8;
}

.scope-note {
  margin-top: 16px;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.section-figure {
  margin: 20px 0 24px;
}

.section-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  background-color: #eef2f4;
}

.section-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6570;
  line-height: 1.7;
}

.judge-steps {
  display: grid;
  gap: 16px;
}

.judge-step {
  min-width: 0;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-left: 3px solid #2f6f8f;
  border-radius: 6px;
}

.judge-step-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 8px;
}

.judge-step p {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.feedback-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feedback-block {
  min-width: 0;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.feedback-block-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.feedback-block p {
  font-size: 15px;
  color: #5b6570;
  line-height: 1.75;
}

.feedback-tips {
  margin-top: 24px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.feedback-tips-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 12px;
}

.feedback-tips-list {
  display: grid;
  gap: 10px;
}

.feedback-tips-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.feedback-tips-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4a7c59;
}

.sidebar-block {
  min-width: 0;
  padding: 18px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.sidebar-block-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 10px;
}

.sidebar-block-lead {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
  margin-bottom: 12px;
}

.changes-list {
  display: grid;
  gap: 12px;
}

.change-item {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #e6eaee;
}

.change-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.change-date {
  font-size: 13px;
  font-weight: 600;
  color: #4a7c59;
  margin-bottom: 4px;
}

.change-text {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.75;
}

.related-links {
  display: grid;
  gap: 8px;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: #2f6f8f;
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.error-block {
  padding: 40px 32px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  margin-bottom: 32px;
}

.error-code {
  font-size: 14px;
  font-weight: 600;
  color: #4a7c59;
  margin-bottom: 12px;
}

.error-block h1 {
  font-size: 28px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 14px;
}

.error-text {
  max-width: 720px;
  font-size: 16px;
  color: #5b6570;
  line-height: 1.75;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-paths {
  padding: 28px 32px;
  background-color: #ffffff;
  border: 1px solid #d8dde2;
  border-radius: 8px;
}

.error-paths h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2328;
  margin-bottom: 16px;
}

.error-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-list li {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 14px;
  border: 1px solid #e6eaee;
  border-radius: 6px;
  background-color: #f5f6f7;
}

.error-list a {
  font-size: 15px;
  font-weight: 600;
}

.error-list span {
  font-size: 13px;
  color: #5b6570;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 24px 48px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .genre-grid,
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-genre-overview .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 16px;
    min-height: 60px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    order: 4;
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 12px;
    border-top: 1px solid #e6eaee;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 4px;
  }

  .nav-list a.is-current {
    box-shadow: inset 3px 0 0 0 #2f6f8f;
  }

  .header-tools {
    order: 3;
    margin-left: 0;
    gap: 8px;
  }

  .tool-link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .inner-main {
    padding: 20px 16px 44px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .layout-aside,
  .layout-sidebar,
  .sidebar-left .layout-aside,
  .sidebar-left .layout-sidebar {
    position: static;
    order: 2;
  }

  .sidebar-left .layout-main {
    order: 1;
  }

  .home-main .section {
    margin-bottom: 44px;
    padding: 0 16px;
  }

  .home-main .section:first-of-type {
    margin-top: 36px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .genre-grid,
  .collection-grid,
  .section-genre-overview .genre-grid,
  .scope-grid,
  .scope-compare,
  .feedback-blocks,
  .link-list,
  .error-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 16px 20px;
  }

  .footer-bottom {
    padding: 14px 16px 24px;
    flex-direction: column;
  }

  .error-main {
    padding: 40px 16px 52px;
  }

  .error-block {
    padding: 28px 20px;
  }

  .error-paths {
    padding: 24px 20px;
  }

  .guide-steps .step-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-section + .catalog-section,
  .content-section + .content-section {
    margin-top: 40px;
  }

  .section {
    margin-bottom: 44px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 15px;
    white-space: normal;
  }

  .header-tools {
    flex: 1 1 100%;
    order: 3;
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 32px 16px 40px;
  }

  .hero-title {
    font-size: 23px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .page-title {
    font-size: 22px;
  }

  .section-title,
  .catalog-section h2,
  .content-section h2 {
    font-size: 20px;
  }

  .scope-actions .btn {
    flex: 1 1 100%;
  }

  .error-actions .btn {
    flex: 1 1 100%;
  }

  .field-table {
    min-width: 480px;
  }

  .field-table th,
  .field-table td {
    padding: 12px 14px;
  }

  .collection-name,
  .collection-title {
    padding: 14px 16px 0;
  }

  .collection-scope {
    padding: 8px 16px 0;
  }

  .collection-genres {
    margin: 12px 16px 16px;
  }
}

/* 动效增强：仅在支持动画的浏览器中作为非阻塞增强 */

@media (prefers-reduced-motion: no-preference) {
  .genre-card,
  .collection-card,
  .step-item,
  .judge-step,
  .feedback-block,
  .link-item,
  .faq-item {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .genre-card:hover,
  .collection-card:hover,
  .link-item:hover,
  .feedback-block:hover {
    box-shadow: 0 2px 8px rgba(31, 35, 40, 0.06);
  }
}
