/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c3444;
  background-color: #f7f5f0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1b2a4a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e8633a;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  color: #1b2a4a;
  line-height: 1.35;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 30px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

figure {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e2ddd2;
  vertical-align: top;
}

th {
  background-color: #f0ece3;
  color: #1b2a4a;
  font-weight: 600;
}

button {
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid #e8633a;
  outline-offset: 2px;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-header {
  background-color: #1b2a4a;
  border-bottom: 3px solid #e8633a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  margin-right: auto;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.brand-slogan {
  font-size: 12px;
  color: #b9c4d8;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #d5dce8;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-list a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-list a.is-current {
  color: #ffffff;
  background-color: rgba(232, 99, 58, 0.85);
}

.header-guide-btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-color: #e8633a;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.header-guide-btn:hover {
  background-color: #d5542e;
  color: #ffffff;
}

.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer {
  background-color: #1b2a4a;
  margin-top: 48px;
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  color: #b9c4d8;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #b9c4d8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #8a97ad;
}

/* ==========================================================================
   components
   ========================================================================== */

/* 适龄标签色标 */
.age-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  line-height: 1.5;
  vertical-align: middle;
}

.age-all {
  background-color: #4a7c59;
  color: #ffffff;
}

.age-7 {
  background-color: #4a7ba6;
  color: #ffffff;
}

.age-12 {
  background-color: #b8860b;
  color: #ffffff;
}

.age-13 {
  background-color: #b8860b;
  color: #ffffff;
}

.age-16 {
  background-color: #a64b3c;
  color: #ffffff;
}

.age-10 {
  background-color: #4a7ba6;
  color: #ffffff;
}

/* 通用标签 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 3px;
  background-color: #f0ece3;
  color: #1b2a4a;
  line-height: 1.5;
}

.tag-all {
  background-color: #4a7c59;
  color: #ffffff;
}

.tag-7 {
  background-color: #4a7ba6;
  color: #ffffff;
}

.tag-12 {
  background-color: #b8860b;
  color: #ffffff;
}

.tag-16 {
  background-color: #a64b3c;
  color: #ffffff;
}

.tag-daily {
  background-color: #e8eef4;
  color: #2c5f8a;
}

.tag-fantasy {
  background-color: #f0e8f4;
  color: #6b3f8a;
}

.tag-sci-fi {
  background-color: #e6f0f4;
  color: #2f6d8a;
}

.tag-sports {
  background-color: #eef4e8;
  color: #4a7c2f;
}

.tag-healing {
  background-color: #f4efe8;
  color: #8a6b2f;
}

.tag-adventure {
  background-color: #f4e8e8;
  color: #8a3f2f;
}

.tag-theme {
  background-color: #f4f0e8;
  color: #7a6b4a;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
  font-size: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #1b2a4a;
}

.breadcrumb a:hover {
  color: #e8633a;
}

.breadcrumb-current {
  color: #6b7280;
}

.breadcrumb-sep {
  color: #9ca3af;
}

/* 页面标题区 */
.page-header {
  padding: 8px 0 16px;
  border-bottom: 1px solid #e2ddd2;
  margin-bottom: 16px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #4b5563;
  max-width: 720px;
  margin-bottom: 0;
}

/* 返回分类入口条 */
.back-category-bar,
.back-entry-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background-color: #f0ece3;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}

.back-category-bar a,
.back-entry-bar a {
  font-weight: 600;
  color: #1b2a4a;
}

.back-category-bar a:hover,
.back-entry-bar a:hover {
  color: #e8633a;
}

.back-category-label {
  font-weight: 600;
  color: #1b2a4a;
}

.bar-sep,
.back-entry-divider {
  color: #9ca3af;
}

/* 提示框 */
.info-box,
.tip-box,
.notice-box {
  background-color: #f0ece3;
  border-left: 4px solid #e8633a;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  margin: 16px 0;
}

.info-box p,
.tip-box p,
.notice-box p {
  margin-bottom: 0.5em;
}

.info-box p:last-child,
.tip-box p:last-child,
.notice-box p:last-child {
  margin-bottom: 0;
}

/* 步骤条 */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step-list li {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  position: relative;
}

.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1b2a4a;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  font-size: 15px;
  margin-bottom: 10px;
}

.step-list li p {
  font-size: 14px;
  margin-bottom: 10px;
}

.step-list li a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* 步骤条（内页纵向） */
.step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2ddd2;
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1b2a4a;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  line-height: 36px;
  font-size: 16px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: #1b2a4a;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 6px;
}

.step-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1b2a4a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1b2a4a;
  border-bottom: 2px solid #1b2a4a;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-question:hover {
  background-color: #f7f5f0;
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 14px;
  color: #4b5563;
  border-top: 1px solid #f0ece3;
  padding-top: 12px;
}

.faq-preview {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-preview summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1b2a4a;
  cursor: pointer;
}

.faq-preview .faq-answer {
  border-top: 1px solid #f0ece3;
}

/* 画廊 */
.gallery-shell {
  position: relative;
}

.gallery-item {
  display: none;
}

.gallery-item.is-active {
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-item figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.gallery-prev,
.gallery-next {
  padding: 8px 20px;
  background-color: #1b2a4a;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  min-height: 44px;
  min-width: 44px;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: #e8633a;
}

/* 画廊查看器 */
.gallery-viewer {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.gallery-figure img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-figure figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumb {
  width: 64px;
  height: 44px;
  border-radius: 4px;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  background: none;
}

.gallery-thumb.is-active {
  border-color: #e8633a;
}

/* 内容媒体 */
.content-media {
  margin: 16px 0;
}

.content-media-inline {
  margin: 16px 0;
}

.content-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
}

.content-media figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
  font-size: 14px;
}

.related-links-label {
  font-weight: 600;
  color: #1b2a4a;
}

.related-links-item {
  color: #e8633a;
  font-weight: 600;
}

/* 入口卡 */
.entry-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.entry-card:hover {
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.12);
}

.entry-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.entry-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.entry-card p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.entry-card a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* 侧栏入口卡 */
.sidebar-entry-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 12px;
}

.sidebar-entry-card a {
  display: block;
}

.sidebar-entry-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.sidebar-entry-card p {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 0;
}

/* 侧栏卡片 */
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-card-highlight {
  border-left: 4px solid #e8633a;
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1b2a4a;
  margin-bottom: 6px;
}

.sidebar-card-text {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.sidebar-card-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* 侧栏导航 */
.sidebar-nav,
.sidebar-list,
.aside-list,
.dimension-nav,
.age-index-list,
.sidebar-tag-list,
.sidebar-index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a,
.sidebar-list a,
.aside-list a,
.dimension-nav a,
.age-index-list a,
.sidebar-tag-list a,
.sidebar-index-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #1b2a4a;
  border-radius: 4px;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-list a:hover,
.aside-list a:hover,
.dimension-nav a:hover,
.age-index-list a:hover,
.sidebar-tag-list a:hover,
.sidebar-index-list a:hover {
  background-color: #f0ece3;
  border-left-color: #e8633a;
  color: #1b2a4a;
}

.sidebar-more-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  padding-bottom: 0;
}

/* 首屏操作面 */
.hero-panel {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 24px;
  padding: 32px 0;
}

.hero-column {
  min-width: 0;
}

.hero-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8633a;
}

.hero-col-sub {
  font-size: 14px;
  font-weight: 600;
  color: #1b2a4a;
  margin-top: 20px;
  margin-bottom: 10px;
}

.quick-age-list,
.quick-tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-age-list a,
.quick-tag-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1b2a4a;
  padding: 4px 0;
}

.quick-age-list a:hover,
.quick-tag-list a:hover {
  color: #e8633a;
}

.hero-main {
  padding: 0 8px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-lead {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-figure {
  margin-bottom: 20px;
}

.hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background-color: #e8633a;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #d5542e;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1b2a4a;
  border: 1px solid #1b2a4a;
}

.btn-secondary:hover {
  background-color: #1b2a4a;
  color: #ffffff;
}

.hero-guide {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 20px;
  align-self: start;
}

.guide-brief {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
}

.text-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

.verify-tip {
  margin-top: 16px;
  padding: 12px;
  background-color: #f0ece3;
  border-radius: 4px;
  font-size: 13px;
}

.tip-head {
  font-weight: 600;
  color: #1b2a4a;
  margin-bottom: 4px;
}

/* 定位说明带 */
.position-strip {
  background-color: #1b2a4a;
  color: #d5dce8;
  padding: 16px 24px;
  border-radius: 6px;
  margin-bottom: 32px;
}

.position-strip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* 三栏主体 */
.home-layout-3col {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 24px;
  align-items: start;
}

.sidebar-left {
  min-width: 0;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8633a;
}

.age-tag-list,
.channel-tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.age-tag-list li,
.channel-tag-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-tag-list a,
.channel-tag-list a {
  font-size: 14px;
  color: #1b2a4a;
}

.age-tag-list a:hover,
.channel-tag-list a:hover {
  color: #e8633a;
}

.sidebar-sub {
  font-size: 14px;
  font-weight: 600;
  color: #1b2a4a;
  margin-top: 20px;
  margin-bottom: 10px;
}

.home-main-col {
  min-width: 0;
}

.content-section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2ddd2;
}

.section-desc {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

/* 分级维度 */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dimension-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.dimension-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.dimension-card p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 0;
}

/* 适龄推荐精选 */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-item {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  align-items: flex-start;
}

.featured-item .rank-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1b2a4a;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  line-height: 36px;
  font-size: 16px;
}

.featured-item .rank-content {
  flex: 1;
  min-width: 0;
}

.featured-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.featured-item .rank-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pick-reason {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 0;
}

/* 热门番剧推荐预览 */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.popular-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.popular-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.popular-point {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.popular-card .age-tag {
  margin-bottom: 8px;
}

.popular-card a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* 剧情与角色双入口 */
.dual-entry {
  margin-top: 8px;
}

.entry-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.entry-card-grid .entry-card img {
  height: 140px;
}

/* 观看指南步骤 */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* FAQ 精选 */
.faq-preview {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-preview summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1b2a4a;
  cursor: pointer;
  list-style: none;
}

.faq-preview summary::-webkit-details-marker {
  display: none;
}

.faq-preview .faq-answer {
  border-top: 1px solid #f0ece3;
}

.more-link {
  display: inline-block;
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* 右栏最新动态 */
.home-aside-right {
  min-width: 0;
}

.update-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-timeline li {
  position: relative;
  padding-left: 16px;
}

.update-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8633a;
}

.update-timeline time {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.update-timeline p {
  font-size: 14px;
  color: #1b2a4a;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================================================
   pages — 内页通用
   ========================================================================== */

.inner-main {
  padding-bottom: 40px;
}

/* 三栏布局 */
.layout-shell,
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 24px;
  align-items: start;
}

.sidebar-left .page-layout,
.sidebar-left .layout-shell {
  grid-template-columns: 240px 1fr 280px;
}

/* 侧栏通用 */
.sidebar-left-aside,
.sidebar-left-col,
.sidebar-left-panel,
.sidebar-right-aside,
.sidebar-right-col,
.sidebar-right-panel,
.sidebar-left-column,
.sidebar-right-column,
.sidebar-right,
.sidebar-left {
  min-width: 0;
}

.aside-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.aside-title,
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8633a;
}

.aside-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.6;
}

.sidebar-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
  line-height: 1.6;
}

/* 内容列 */
.content-column,
.content-middle-col,
.main-column,
.layout-main-col,
.main-content {
  min-width: 0;
}

/* ==========================================================================
   pages — 频道分级
   ========================================================================== */

.channel-table {
  margin: 16px 0;
}

.table-wrap {
  overflow-x: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.process-steps .step-item {
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
}

.channel-figure {
  margin: 16px 0;
}

.channel-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.channel-figure figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #1b2a4a;
  background-color: #f7f5f0;
  border-radius: 4px;
}

.entry-list a:hover {
  background-color: #f0ece3;
  color: #e8633a;
}

/* ==========================================================================
   pages — 适龄片单
   ========================================================================== */

.list-section {
  margin-bottom: 32px;
}

.age-group {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.age-group h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.group-intro {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 16px;
}

.watchlist-card {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #f0ece3;
}

.watchlist-img {
  width: 140px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.watchlist-info {
  flex: 1;
  min-width: 0;
}

.watchlist-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1b2a4a;
  margin: 0 0 4px;
}

.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.reason {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 0;
}

.tip-box h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* 右栏入口卡 */
.entry-card h3 {
  font-size: 16px;
}

.entry-card p {
  font-size: 14px;
}

/* ==========================================================================
   pages — 番剧榜单
   ========================================================================== */

.sidebar-block {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-tag-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-tag-list a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: #1b2a4a;
  border-radius: 4px;
}

.sidebar-tag-list a:hover {
  background-color: #f0ece3;
  color: #e8633a;
}

.rank-section {
  margin-bottom: 32px;
}

.rank-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2ddd2;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1b2a4a;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  font-size: 17px;
}

.rank-content {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.rank-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rank-reason {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}

.rank-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

.rank-note-block {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.rank-note-block p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 0.5em;
}

.rank-note-block p:last-child {
  margin-bottom: 0;
}

.entry-card-title {
  font-size: 16px;
  margin-bottom: 4px;
}

.entry-card-desc {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
}

.entry-card-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* ==========================================================================
   pages — 剧情介绍
   ========================================================================== */

.story-entry {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.story-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.story-entry-head h3 {
  font-size: 18px;
  margin-bottom: 0;
}

.story-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.story-background,
.story-summary {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.8;
}

.story-background strong,
.story-summary strong {
  color: #1b2a4a;
  font-weight: 600;
}

.story-entry-foot {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.story-entry-foot a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

.story-gallery-section {
  margin-bottom: 32px;
}

.notice-box {
  background-color: #f0ece3;
  border-left: 4px solid #e8633a;
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
}

/* ==========================================================================
   pages — 角色解析
   ========================================================================== */

.character-card {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.character-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.character-name {
  font-size: 19px;
  margin-bottom: 0;
}

.character-role,
.character-personality,
.character-plot-role {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.8;
}

.character-role strong,
.character-personality strong,
.character-plot-role strong {
  color: #1b2a4a;
  font-weight: 600;
}

.gallery-section {
  margin-bottom: 32px;
}

.in-content-links {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.in-content-links a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* ==========================================================================
   pages — 观看指南
   ========================================================================== */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.check-title {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1b2a4a;
}

.check-desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 4px;
}

.check-handle {
  font-size: 14px;
  color: #e8633a;
  margin-bottom: 0;
  font-weight: 600;
}

.guide-figure {
  margin: 16px 0;
}

.guide-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.guide-figure figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

.feedback-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feedback-path-item {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 16px;
}

.path-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.feedback-path-item p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.path-link {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

.sidebar-link {
  display: inline-block;
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

/* ==========================================================================
   pages — 常见问题
   ========================================================================== */

.faq-group {
  margin-bottom: 32px;
}

.faq-group .section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.feedback-note {
  background-color: #ffffff;
  border: 1px solid #e2ddd2;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.feedback-note p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.feedback-note a {
  font-size: 14px;
  color: #e8633a;
  font-weight: 600;
}

.decision-figure {
  margin: 24px 0;
}

.decision-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.decision-figure figcaption {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-block {
  text-align: center;
  max-width: 480px;
  padding: 40px 24px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #e8633a;
  margin-bottom: 8px;
  line-height: 1;
}

.error-block h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 24px;
}

.error-home-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #e8633a;
  color: #ffffff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  line-height: 1.4;
}

.error-home-btn:hover {
  background-color: #d5542e;
  color: #ffffff;
}

.error-help {
  font-size: 14px;
  color: #6b7280;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-panel {
    grid-template-columns: 220px 1fr;
  }

  .hero-guide {
    grid-column: 1 / -1;
  }

  .home-layout-3col {
    grid-template-columns: 220px 1fr;
  }

  .home-aside-right {
    grid-column: 1 / -1;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 220px 1fr;
  }

  .sidebar-right-aside,
  .sidebar-right-col,
  .sidebar-right-panel,
  .sidebar-right-column,
  .sidebar-right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 0 16px;
    min-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-guide-btn {
    margin-left: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-guide {
    grid-column: auto;
  }

  .home-layout-3col {
    grid-template-columns: 1fr;
  }

  .home-aside-right {
    grid-column: auto;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-right-aside,
  .sidebar-right-col,
  .sidebar-right-panel,
  .sidebar-right-column,
  .sidebar-right {
    grid-column: auto;
  }

  .sidebar-left-aside,
  .sidebar-left-col,
  .sidebar-left-panel,
  .sidebar-left-column,
  .sidebar-left {
    order: 2;
  }

  .sidebar-right-aside,
  .sidebar-right-col,
  .sidebar-right-panel,
  .sidebar-right-column,
  .sidebar-right {
    order: 3;
  }

  /* 侧栏转为横向标签 */
  .age-tag-list,
  .channel-tag-list,
  .quick-age-list,
  .quick-tag-list,
  .dimension-nav,
  .age-index-list,
  .sidebar-tag-list,
  .sidebar-index-list,
  .sidebar-nav,
  .sidebar-list,
  .aside-list,
  .entry-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .age-tag-list li,
  .channel-tag-list li,
  .quick-age-list li,
  .quick-tag-list li,
  .dimension-nav li,
  .age-index-list li,
  .sidebar-tag-list li,
  .sidebar-index-list li,
  .sidebar-nav li,
  .sidebar-list li,
  .aside-list li,
  .entry-list li {
    display: inline-block;
  }

  .age-tag-list a,
  .channel-tag-list a,
  .quick-age-list a,
  .quick-tag-list a,
  .dimension-nav a,
  .age-index-list a,
  .sidebar-tag-list a,
  .sidebar-index-list a,
  .sidebar-nav a,
  .sidebar-list a,
  .aside-list a,
  .entry-list a {
    display: inline-block;
    border-left: none;
    padding: 6px 12px;
    background-color: #f0ece3;
    border-radius: 4px;
    white-space: nowrap;
  }

  .dimension-grid {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: 1fr;
  }

  .entry-card-grid {
    grid-template-columns: 1fr;
  }

  .step-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .feedback-paths {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-shell {
    padding: 0 12px;
  }

  .brand-slogan {
    display: none;
  }

  .site-main {
    padding: 0 16px;
  }

  .hero-panel {
    padding: 20px 0;
    gap: 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-figure img {
    height: 200px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .position-strip {
    padding: 12px 16px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .watchlist-card {
    flex-direction: column;
  }

  .watchlist-img {
    width: 100%;
    height: 160px;
  }

  .rank-item {
    flex-direction: column;
    gap: 8px;
  }

  .story-entry-head {
    flex-direction: column;
  }

  .gallery-item img {
    height: 220px;
  }

  .gallery-figure img {
    height: 240px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  .breadcrumb {
    padding: 12px 0 4px;
  }

  .page-header {
    padding: 4px 0 12px;
  }

  .page-title {
    font-size: 24px;
  }

  .back-category-bar,
  .back-entry-bar {
    gap: 8px;
    padding: 8px 12px;
  }

  .content-section {
    margin-bottom: 24px;
  }

  .gallery-thumb {
    width: 56px;
    height: 40px;
  }

  .gallery-controls {
    gap: 8px;
  }

  .gallery-prev,
  .gallery-next {
    padding: 8px 16px;
    font-size: 13px;
  }

  .error-code {
    font-size: 56px;
  }
}
