/* ==========================================================================
   韩漫漫画 · 全站样式表
   base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --bg: #10131c;
  --panel: #1a1f2e;
  --panel-soft: #161a26;
  --line: #262c3d;
  --accent: #ff7a45;
  --accent-soft: rgba(255, 122, 69, 0.14);
  --cyan: #3fb6c8;
  --cyan-soft: rgba(63, 182, 200, 0.14);
  --text: #e6e9f0;
  --muted: #9aa3b5;
  --radius: 6px;
  --radius-lg: 8px;
  --shell: 1180px;
  --gap: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  color: #f4f6fb;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   layout · 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(16, 19, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.brand-mark::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 7px;
  border-radius: 2px;
  background-color: var(--accent);
  vertical-align: 3px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list li {
  display: block;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  color: #cdd3e0;
}

.nav-list a:hover {
  background-color: var(--panel);
  color: #fff;
}

.nav-list a.is-current {
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text);
}

.site-main {
  display: block;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 22px;
}

.home-main {
  padding-bottom: 56px;
}

.inner-main {
  padding-bottom: 56px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background-color: var(--panel-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 28px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 34px 22px 30px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-brand-col {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer-copy {
  margin-top: 12px;
  font-size: 12px;
  color: #6f778a;
}

/* --------------------------------------------------------------------------
   components · 通用元件
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.section-title {
  font-size: 24px;
  letter-spacing: 0.01em;
}

.section-desc,
.section-note,
.section-lead,
.section-intro {
  font-size: 14px;
  color: var(--muted);
  max-width: 62ch;
}

.section-lead {
  margin-bottom: 20px;
}

.section-intro {
  margin-bottom: 18px;
  font-size: 15px;
}

.section-more,
.section-foot {
  margin-top: 20px;
  font-size: 14px;
}

.section-more a,
.section-foot a {
  display: inline-block;
  margin-right: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
}

.section-more a:hover,
.section-foot a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #17110c;
}

.btn-primary:hover {
  background-color: #ff8f61;
  color: #17110c;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
}

.tag-genre {
  background-color: var(--cyan-soft);
  color: var(--cyan);
}

.tag-status {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.is-ongoing,
.tag-status-ongoing {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.is-paused,
.tag-status-paused {
  background-color: rgba(154, 163, 181, 0.16);
  color: #b6bdcb;
}

.is-completed,
.is-done,
.tag-status-completed {
  background-color: var(--cyan-soft);
  color: var(--cyan);
}

/* 面包屑与内页标题区 */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: #4d5468;
}

.breadcrumb-current {
  color: #cdd3e0;
}

.page-header {
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
}

.page-description {
  margin-top: 12px;
  max-width: 74ch;
  font-size: 15px;
  color: var(--muted);
}

/* 作品封面卡 */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.work-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #0c0f17;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-name {
  margin-top: 12px;
  font-size: 17px;
}

.work-tags,
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.work-genre,
.work-status {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
}

.work-genre {
  background-color: var(--cyan-soft);
  color: var(--cyan);
}

.work-status {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.work-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 首页
   -------------------------------------------------------------------------- */

.hero-section {
  padding: 34px 0 44px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: start;
}

.hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.hero-eyebrow {
  grid-column: 1 / -1;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.hero-figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #0c0f17;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature-body {
  min-width: 0;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
}

.hero-lead {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-tags li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--cyan);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-side {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.side-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.side-update-list {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}

.side-update-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.side-update-item:last-child {
  border-bottom: 0;
}

.update-name {
  min-width: 0;
  color: #dfe3ec;
}

.update-meta {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
}

.side-more {
  margin-top: 12px;
  font-size: 14px;
}

.side-more a {
  color: var(--cyan);
}

.side-more a:hover {
  color: var(--accent);
}

/* 题材分栏带 */

.genre-band {
  padding: 8px 0 44px;
}

.genre-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.strip-arrow::before {
  content: "‹";
}

.strip-next::before {
  content: "›";
}

.strip-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.genre-tags {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.genre-tag {
  flex: 0 0 auto;
}

.genre-tag a {
  display: block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: #d5dae5;
  white-space: nowrap;
}

.genre-tag a:hover {
  border-color: var(--cyan);
  background-color: var(--cyan-soft);
  color: var(--cyan);
}

/* 主推荐作品区 */

.feature-works {
  padding: 8px 0 44px;
}

/* 连载更新动态 */

.update-feed {
  padding: 8px 0 44px;
}

.update-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.update-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.4fr) minmax(0, 1fr) 96px 110px;
  align-items: center;
  gap: 14px;
  padding: 14px 12px 14px 8px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.update-row:hover {
  border-left-color: var(--accent);
  background-color: var(--panel);
}

.update-index {
  font-size: 15px;
  font-weight: 700;
  color: #4f5769;
}

.update-progress {
  font-size: 14px;
  color: var(--muted);
}

.update-status {
  display: inline-block;
  justify-self: start;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
}

.update-time {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* 专题合集入口 */

.topic-entry {
  padding: 8px 0 44px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.topic-card {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.topic-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #0c0f17;
}

.topic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-name {
  font-size: 17px;
}

.topic-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* 作品榜单速览 */

.ranking-brief {
  padding: 8px 0 44px;
}

.rank-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 16px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}

.rank-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

.rank-name {
  font-size: 15px;
  font-weight: 600;
  color: #e9ecf3;
}

.rank-reason {
  font-size: 14px;
  color: var(--muted);
}

/* 阅读与追更说明 */

.reading-notes {
  padding: 8px 0 20px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.note-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.note-title {
  font-size: 16px;
  color: #fff;
}

.note-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.notes-links {
  margin-top: 22px;
  font-size: 14px;
}

.notes-links a {
  display: inline-block;
  margin-right: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
}

.notes-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 题材专题
   -------------------------------------------------------------------------- */

.topic-intro {
  margin-bottom: 44px;
}

.topic-intro-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.topic-intro-text {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.topic-intro-text p {
  font-size: 15px;
  color: #c8cedb;
}

.topic-intro-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.topic-intro-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-intro-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}

.topic-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.topic-tag {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--cyan);
}

.topic-series {
  margin-bottom: 44px;
}

.topic-extend {
  margin-bottom: 20px;
}

.extend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.extend-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.extend-name {
  font-size: 16px;
}

.extend-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 连载更新
   -------------------------------------------------------------------------- */

.updates-list-section {
  margin-bottom: 44px;
}

.updates-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.updates-item {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.updates-item:hover {
  border-left-color: var(--accent);
  background-color: var(--panel);
}

.updates-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #0c0f17;
}

.updates-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.updates-body {
  min-width: 0;
}

.updates-name {
  font-size: 17px;
}

.updates-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.updates-progress {
  margin-top: 10px;
  font-size: 14px;
  color: #c8cedb;
}

.updates-time {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.status-section {
  margin-bottom: 44px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.status-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.status-name {
  font-size: 17px;
}

.status-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #c8cedb;
}

.status-tip {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.status-card-ongoing {
  border-top: 3px solid var(--accent);
}

.status-card-paused {
  border-top: 3px solid #6f778a;
}

.status-card-completed {
  border-top: 3px solid var(--cyan);
}

.tips-section {
  margin-bottom: 20px;
}

.tips-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
}

.tips-text {
  min-width: 0;
}

.tips-list {
  display: grid;
  gap: 18px;
}

.tips-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.tips-name {
  font-size: 16px;
}

.tips-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.tips-aside {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.aside-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.aside-links {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}

.aside-links a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--cyan);
}

.aside-links li:last-child a {
  border-bottom: 0;
}

.aside-links a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 阅读说明
   -------------------------------------------------------------------------- */

.guide-figure {
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
}

.guide-section {
  margin-bottom: 44px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  counter-reset: guide-step;
}

.step-item {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.step-item::before {
  counter-increment: guide-step;
  content: counter(guide-step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.step-title {
  font-size: 16px;
}

.step-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.point-list {
  display: grid;
  gap: 16px;
}

.point-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.point-title {
  font-size: 16px;
}

.point-text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.point-text a {
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
}

.point-text a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.scope-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.scope-col {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.scope-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.scope-include .scope-title {
  color: var(--cyan);
}

.scope-exclude .scope-title {
  color: #b6bdcb;
}

.scope-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.scope-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #c8cedb;
}

.scope-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--cyan);
}

.scope-exclude .scope-item::before {
  background-color: #6f778a;
}

.guide-faq {
  margin-bottom: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.faq-question {
  padding: 16px 44px 16px 18px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #f0f3f9;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-answer {
  padding: 0 18px 18px;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   pages · 内容反馈
   -------------------------------------------------------------------------- */

.feedback-types {
  margin-bottom: 44px;
}

.feedback-type-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.feedback-type-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.feedback-type-name {
  font-size: 16px;
}

.feedback-type-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.feedback-guide {
  margin-bottom: 44px;
}

.feedback-figure {
  position: relative;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
}

.feedback-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.feedback-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
}

.feedback-step-list {
  display: grid;
  gap: 14px;
}

.feedback-step-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel-soft);
}

.feedback-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.feedback-step-name {
  font-size: 16px;
}

.feedback-step-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.feedback-process {
  margin-bottom: 20px;
}

.feedback-process-body {
  display: grid;
  gap: 12px;
  max-width: 78ch;
}

.feedback-process-body p {
  font-size: 15px;
  color: #c8cedb;
}

.feedback-process-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.feedback-process-links a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--cyan);
}

.feedback-process-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   pages · 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding-top: 40px;
  padding-bottom: 60px;
}

.error-panel {
  width: 100%;
  max-width: 620px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--panel);
  text-align: left;
}

.error-code {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.error-panel h1 {
  margin-top: 12px;
  font-size: 30px;
}

.error-text {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.error-links a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--cyan);
}

.error-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.error-panel .btn {
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
    gap: 24px;
  }

  .hero-feature {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .topic-intro-body,
  .tips-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }
}

@media (max-width: 900px) {
  .update-row {
    grid-template-columns: 34px minmax(0, 1.4fr) minmax(0, 1fr);
    row-gap: 8px;
  }

  .update-status {
    grid-column: 2 / 3;
  }

  .update-time {
    grid-column: 3 / 4;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 1 0 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 16px;
  }

  .site-main {
    padding: 0 16px;
  }

  .hero-section {
    padding: 24px 0 34px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-feature {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .hero-figure {
    max-width: 260px;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-title {
    font-size: 20px;
  }

  .page-title {
    font-size: 25px;
  }

  .genre-band,
  .feature-works,
  .update-feed,
  .topic-entry,
  .ranking-brief {
    padding-bottom: 34px;
  }

  .update-row {
    grid-template-columns: 30px minmax(0, 1fr);
    row-gap: 6px;
    padding: 14px 8px;
  }

  .update-index {
    grid-row: 1 / 5;
  }

  .update-status,
  .update-time {
    grid-column: 2 / 3;
  }

  .update-time {
    text-align: left;
  }

  .rank-row {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 4px;
  }

  .rank-reason {
    grid-column: 2 / 3;
  }

  .topic-card {
    grid-template-columns: minmax(0, 84px) minmax(0, 1fr);
  }

  .updates-item {
    grid-template-columns: minmax(0, 84px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px 6px;
  }

  .guide-figure img,
  .feedback-figure img {
    aspect-ratio: 16 / 9;
  }

  .feedback-step-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .feedback-step-num {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .error-panel h1 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 26px 16px 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .brand-sub {
    display: none;
  }

  .hero-figure {
    max-width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .work-grid,
  .topic-grid,
  .notes-grid,
  .status-grid,
  .extend-list,
  .feedback-type-list,
  .scope-columns,
  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-card {
    grid-template-columns: minmax(0, 78px) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
