/* ==========================================================================
   qxzbc.com — 蜜桃影像 全站样式
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1d1b18;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  color: #1d1b18;
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: #a84438;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: #8a3329;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #a84438;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #1d1b18;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. layout — 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e8e1d8;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-main {
  display: block;
}

.inner-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.site-footer {
  background: #f7f2ec;
  border-top: 1px solid #e8e1d8;
  color: #1d1b18;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-copy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 32px;
  font-size: 13px;
  color: #6d655d;
}

/* 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 13px;
  color: #6d655d;
}

.breadcrumb a {
  color: #6d655d;
}

.breadcrumb a:hover {
  color: #a84438;
}

.breadcrumb-sep {
  color: #c9c0b6;
}

.breadcrumb-current {
  color: #1d1b18;
}

/* 页面标题区 */

.page-header {
  padding: 20px 0 8px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  font-weight: 700;
  color: #1d1b18;
}

section.page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: center;
  padding: 24px 0 40px;
  border-bottom: 1px solid #e8e1d8;
  margin-bottom: 48px;
}

.page-title-text {
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #a84438;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 16px;
  line-height: 1.85;
  color: #6d655d;
  max-width: 620px;
}

.page-title-figure,
.page-figure {
  min-width: 0;
}

.page-title-figure img,
.page-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8e1d8;
}

.page-title-figure figcaption,
.page-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6d655d;
}

/* 双栏布局：默认主内容在前 */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 48px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
}

/* 左侧栏：aside 在 DOM 中位于正文之前 */

.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.page-layout.sidebar-left > .toc {
  order: 1;
}

.page-layout.sidebar-left > .guide-content {
  order: 2;
}

/* --------------------------------------------------------------------------
   3. components — 页头 / 导航 / 页脚
   -------------------------------------------------------------------------- */

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: #1d1b18;
}

.brand:hover {
  color: #1d1b18;
}

.brand-name {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-tag {
  font-size: 11.5px;
  color: #6d655d;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: #1d1b18;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #a84438;
  background: #f7f2ec;
}

.site-nav a.is-current {
  color: #a84438;
  border-bottom-color: #a84438;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
  background: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1d1b18;
  border-radius: 1px;
}

.mobile-drawer {
  border-top: 1px solid #e8e1d8;
  background: #ffffff;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer ul {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 16px;
  display: flex;
  flex-direction: column;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 4px;
  font-size: 15.5px;
  color: #1d1b18;
  border-bottom: 1px solid #f2ebe2;
}

.mobile-drawer a:hover,
.mobile-drawer a.is-current {
  color: #a84438;
}

/* 页脚 */

.footer-brand {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #6d655d;
  max-width: 340px;
}

.footer-domain {
  margin-top: 12px;
  font-size: 13px;
  color: #a84438;
  letter-spacing: 0.04em;
}

.footer-col h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1d1b18;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: #6d655d;
}

.footer-col ul a:hover {
  color: #a84438;
}

.footer-boundary {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8c8479;
  max-width: 300px;
}

/* 通用按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: #a84438;
  color: #ffffff;
}

.btn-primary:hover {
  background: #8a3329;
  color: #ffffff;
}

.btn-ghost {
  background: #ffffff;
  color: #1d1b18;
  border-color: #d8cfc4;
}

.btn-ghost:hover {
  border-color: #a84438;
  color: #a84438;
}

/* 通用小标签 */

.focus-tag,
.channel-tag,
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #a84438;
  background: #f7ece8;
  border-radius: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #a84438;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: #a84438;
}

/* 通用 section 头 */

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 15px;
  line-height: 1.8;
  color: #6d655d;
  max-width: 720px;
}

.section-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #6d655d;
  max-width: 720px;
  margin-bottom: 24px;
}

/* 侧栏卡片 */

.aside-card {
  padding: 22px 22px 24px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  margin-bottom: 24px;
}

.aside-card h2,
.aside-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.aside-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #6d655d;
}

.aside-list,
.aside-links ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.aside-list li,
.aside-links li {
  font-size: 14px;
  line-height: 1.75;
  color: #4a443d;
  padding-left: 16px;
  position: relative;
}

.aside-list li::before,
.aside-links li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d97a68;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #a84438;
}

.aside-note {
  margin: 18px 0;
  padding: 14px 16px;
  background: #ffffff;
  border-left: 3px solid #d97a68;
  border-radius: 0 6px 6px 0;
}

.aside-note h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.aside-note p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

/* 有序步骤 / 核验清单（共享基础） */

.guide-steps ol,
.entry-check .check-list,
.selfcheck .step-list,
.path-steps {
  counter-reset: none;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid #e8e1d8;
  padding: 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d1b18;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 400;
  color: #a84438;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: #a84438;
}

.faq-item p {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #4a443d;
  max-width: 760px;
}

/* 相关内容条 */

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8e1d8;
}

.related-links-label {
  font-size: 13px;
  color: #6d655d;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  color: #1d1b18;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.related-links-item:hover {
  border-color: #d97a68;
  color: #a84438;
}

/* --------------------------------------------------------------------------
   4. pages — 首页
   -------------------------------------------------------------------------- */

.home-main .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 48px;
  padding: 48px 0 56px;
  border-bottom: 1px solid #e8e1d8;
}

.hero-main {
  min-width: 0;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #a84438;
  margin-bottom: 14px;
}

.hero-main h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: #4a443d;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-media {
  margin-bottom: 32px;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8e1d8;
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6d655d;
}

.hero-focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hero-focus-item {
  min-width: 0;
  padding-top: 16px;
  border-top: 2px solid #e8e1d8;
}

.hero-focus-item .focus-tag {
  margin-bottom: 10px;
}

.hero-focus-item a {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #1d1b18;
  margin-bottom: 6px;
}

.hero-focus-item a:hover {
  color: #a84438;
}

.hero-focus-item p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

.hero-aside {
  min-width: 0;
  padding: 24px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  align-self: start;
}

.hero-aside h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.hero-aside > p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
  margin-bottom: 6px;
}

.channel-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.channel-tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  color: #1d1b18;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.channel-tag-list a:hover {
  border-color: #d97a68;
  color: #a84438;
}

/* 频道导航条 */

.channel-strip {
  padding: 56px 0;
  border-bottom: 1px solid #e8e1d8;
}

.channel-strip-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.channel-strip-item {
  min-width: 0;
  padding: 16px 14px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.channel-strip-item:hover {
  border-color: #d97a68;
  transform: translateY(-2px);
}

.channel-strip-item a {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 16px;
  font-weight: 700;
  color: #1d1b18;
  margin-bottom: 6px;
}

.channel-strip-item a:hover {
  color: #a84438;
}

.channel-strip-item p {
  font-size: 12.5px;
  line-height: 1.65;
  color: #6d655d;
}

/* 近期作品流 */

.latest-flow {
  padding: 56px 0;
  border-bottom: 1px solid #e8e1d8;
}

.latest-flow-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 40px;
  align-items: start;
}

.work-grid {
  column-count: 3;
  column-gap: 24px;
}

.work-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e8e1d8;
  break-inside: avoid;
}

.work-media {
  margin-bottom: 14px;
}

.work-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8e1d8;
}

.work-card h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.work-card h3 a {
  color: #1d1b18;
}

.work-card h3 a:hover {
  color: #a84438;
}

.work-meta {
  font-size: 12.5px;
  color: #a84438;
  margin-bottom: 8px;
}

.work-card > p:not(.work-meta) {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
  margin-bottom: 10px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 13.5px;
  font-weight: 600;
  color: #a84438;
}

.flow-rules {
  min-width: 0;
  padding: 22px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.flow-rules h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.flow-rules ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.flow-rules li {
  padding-left: 16px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.75;
  color: #4a443d;
}

.flow-rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a84438;
}

/* 专题片单 */

.topics {
  padding: 56px 0;
  border-bottom: 1px solid #e8e1d8;
}

.home-main .topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-main .topic-card {
  min-width: 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.home-main .topic-card:hover {
  border-color: #d97a68;
}

.home-main .topic-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.home-main .topic-card h3 a {
  color: #1d1b18;
}

.home-main .topic-card h3 a:hover {
  color: #a84438;
}

.topic-scope,
.topic-channels,
.topic-order {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
  margin-bottom: 8px;
}

.topic-order {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px dashed #e8e1d8;
  color: #4a443d;
}

/* 编辑推荐榜（首页） */

.ranking {
  padding: 56px 0;
  border-bottom: 1px solid #e8e1d8;
}

.ranking-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 40px;
  align-items: start;
}

.ranking-list {
  min-width: 0;
}

.home-main .rank-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #e8e1d8;
}

.home-main .rank-row:first-child {
  border-top: 1px solid #e8e1d8;
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 17px;
  font-weight: 700;
  color: #a84438;
  background: #f7ece8;
  border-radius: 6px;
}

.rank-info {
  min-width: 0;
}

.rank-info h3 {
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.rank-meta {
  font-size: 13px;
  line-height: 1.7;
  color: #6d655d;
}

.ranking-note {
  min-width: 0;
  padding: 22px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.ranking-note h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.ranking-note ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.ranking-note li {
  padding-left: 16px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.75;
  color: #4a443d;
}

.ranking-note li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a84438;
}

/* 观看指南预览 */

.guide-preview {
  padding: 56px 0;
  border-bottom: 1px solid #e8e1d8;
}

.guide-preview-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 28px;
}

.guide-steps {
  min-width: 0;
}

.guide-steps > h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.guide-steps ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
}

.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  min-height: 34px;
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #a84438;
  background: #f7ece8;
  border-radius: 6px;
}

.guide-steps h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.guide-steps p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

.check-list {
  min-width: 0;
}

.guide-preview .check-list > h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.guide-preview .check-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-preview .check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a443d;
}

.guide-preview .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a84438;
  font-weight: 700;
}

/* 反馈入口 */

.feedback-callout {
  padding: 56px 0 0;
}

.feedback-scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.feedback-scope-list li {
  min-width: 0;
  padding: 20px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.feedback-scope-list h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.feedback-scope-list p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

/* --------------------------------------------------------------------------
   5. pages — 频道页
   -------------------------------------------------------------------------- */

.filter-bar {
  margin-bottom: 40px;
  padding: 22px 24px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.filter-bar-head h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.filter-bar-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  color: #1d1b18;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.filter-tags a:hover {
  border-color: #d97a68;
  color: #a84438;
}

.filter-drawer-trigger {
  display: none;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1b18;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.filter-drawer {
  margin-top: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.filter-drawer[hidden] {
  display: none;
}

.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.filter-drawer-head p {
  font-size: 14px;
  font-weight: 600;
}

.filter-drawer-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
  color: #1d1b18;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.filter-drawer-group {
  margin-bottom: 14px;
}

.filter-drawer-group h3 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #6d655d;
}

.filter-drawer-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-drawer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13.5px;
  color: #1d1b18;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.filter-drawer-group a:hover {
  border-color: #d97a68;
  color: #a84438;
}

.channel-list {
  min-width: 0;
}

.channel-list > h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.channel-list-lead {
  font-size: 14.5px;
  line-height: 1.8;
  color: #6d655d;
  margin-bottom: 24px;
}

.channel-item {
  min-width: 0;
  padding: 24px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.channel-item:hover {
  border-color: #d97a68;
}

.channel-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.channel-item-head h3 {
  font-size: 20px;
}

.channel-fields {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px 16px;
  margin-bottom: 14px;
}

.channel-fields dt {
  font-size: 13px;
  font-weight: 600;
  color: #6d655d;
  padding-top: 2px;
}

.channel-fields dd {
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
}

.channel-link {
  font-size: 14px;
  font-weight: 600;
}

.channel-link a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #a84438;
}

/* 频道页侧栏 */

.layout-aside .aside-card + .aside-card {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   6. pages — 最新页
   -------------------------------------------------------------------------- */

.flow-rules > h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.rule-card {
  min-width: 0;
  padding: 20px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.rule-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.rule-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #6d655d;
}

.item-list {
  margin-bottom: 48px;
}

.item-list > h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.latest-item {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.latest-item:hover {
  border-color: #d97a68;
}

.latest-item h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.item-channel {
  margin-bottom: 10px;
}

.item-summary {
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
  margin-bottom: 10px;
}

.item-topic {
  font-size: 13.5px;
  margin-bottom: 8px;
}

.item-topic a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 600;
}

.item-hint {
  font-size: 13px;
  line-height: 1.7;
  color: #6d655d;
  padding-top: 10px;
  border-top: 1px dashed #e8e1d8;
}

.browse-path {
  margin-bottom: 48px;
  padding: 28px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.browse-path > h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: path;
}

.path-steps li {
  counter-increment: path;
  position: relative;
  min-width: 0;
  padding: 18px 18px 18px 18px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.path-steps li::before {
  content: "0" counter(path);
  display: block;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 15px;
  font-weight: 700;
  color: #a84438;
  margin-bottom: 8px;
}

.path-steps h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.path-steps p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

.update-note {
  padding: 24px 26px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-left: 3px solid #d97a68;
  border-radius: 0 8px 8px 0;
}

.update-note > h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.update-note p {
  font-size: 14px;
  line-height: 1.85;
  color: #4a443d;
}

.update-note p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   7. pages — 专题页
   -------------------------------------------------------------------------- */

.topic-nav {
  margin-bottom: 48px;
}

.topic-nav > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.topic-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  color: #1d1b18;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.topic-nav-list a:hover {
  border-color: #d97a68;
  color: #a84438;
}

.topic-grid {
  margin-bottom: 48px;
}

.topic-grid > h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.topic-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.topic-grid-inner .topic-card {
  min-width: 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.topic-grid-inner .topic-card:hover {
  border-color: #d97a68;
}

.topic-grid-inner .topic-card-wide {
  grid-column: span 2;
}

.topic-card-head {
  margin-bottom: 14px;
}

.topic-index {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a84438;
  margin-bottom: 6px;
}

.topic-card-head h3 {
  font-size: 20px;
  line-height: 1.4;
}

.topic-fields {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px 14px;
  margin-bottom: 16px;
}

.topic-fields dt {
  font-size: 13px;
  font-weight: 600;
  color: #6d655d;
  padding-top: 2px;
}

.topic-fields dd {
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
}

.topic-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px dashed #e8e1d8;
}

.topic-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 13.5px;
  font-weight: 600;
  color: #a84438;
}

.topic-rules {
  margin-bottom: 40px;
}

.topic-rules > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rule-list li {
  min-width: 0;
  padding: 20px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.rule-list h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.rule-list p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #6d655d;
}

.source-note {
  padding: 24px 26px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.source-note > h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.source-note p {
  font-size: 14px;
  line-height: 1.85;
  color: #4a443d;
}

.source-note p + p {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   8. pages — 排行页
   -------------------------------------------------------------------------- */

.ranking-layout {
  align-items: start;
}

.ranking-list .section-head {
  margin-bottom: 20px;
}

.ranking-list .rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #e8e1d8;
}

.ranking-list .rank-row:first-of-type {
  border-top: 1px solid #e8e1d8;
}

.rank-body {
  min-width: 0;
}

.rank-title {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.rank-channel {
  font-size: 12.5px;
  color: #a84438;
  margin-bottom: 8px;
}

.rank-reason {
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
  margin-bottom: 6px;
}

.rank-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 13.5px;
  font-weight: 600;
  color: #a84438;
}

.ranking-footnote {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #6d655d;
}

.ranking-footnote a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 600;
}

.ranking-method {
  min-width: 0;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: method;
}

.method-list li {
  counter-increment: method;
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a443d;
}

.method-list li::before {
  content: counter(method);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #a84438;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   9. pages — 观看指南
   -------------------------------------------------------------------------- */

.toc {
  min-width: 0;
  position: sticky;
  top: 96px;
}

.toc-card {
  padding: 22px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.toc-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.toc-list a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: #4a443d;
  border-bottom: 1px solid transparent;
}

.toc-list a:hover {
  color: #a84438;
  border-bottom-color: #d97a68;
}

.toc-check {
  padding-top: 14px;
  border-top: 1px solid #e8e1d8;
}

.toc-check h3 {
  font-size: 14px;
  margin-bottom: 8px;
  color: #6d655d;
}

.toc-check ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-check li {
  font-size: 13px;
  line-height: 1.7;
  color: #4a443d;
  padding-left: 14px;
  position: relative;
}

.toc-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d97a68;
}

.guide-content {
  min-width: 0;
}

.guide-content > section {
  margin-bottom: 48px;
  scroll-margin-top: 96px;
}

.guide-content > section > h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.guide-content > section > p {
  font-size: 15px;
  line-height: 1.85;
  color: #4a443d;
  max-width: 780px;
  margin-bottom: 20px;
}

.guide-content .step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: gstep;
}

.guide-content .step-list li {
  counter-increment: gstep;
  position: relative;
  padding: 18px 20px 18px 62px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.guide-content .step-list li::before {
  content: counter(gstep);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #a84438;
  background: #f7ece8;
  border-radius: 6px;
}

.guide-content .step-list h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.guide-content .step-list p {
  font-size: 14px;
  line-height: 1.8;
  color: #6d655d;
}

.field-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid #e8e1d8;
}

.field-list dt {
  padding: 14px 16px 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1d1b18;
  border-bottom: 1px solid #e8e1d8;
}

.field-list dd {
  min-width: 0;
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
  border-bottom: 1px solid #e8e1d8;
}

.entry-check .check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: cstep;
}

.entry-check .check-list li {
  counter-increment: cstep;
  position: relative;
  padding: 14px 18px 14px 56px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
  background: #f7f2ec;
  border-radius: 6px;
}

.entry-check .check-list li::before {
  content: counter(cstep);
  position: absolute;
  left: 18px;
  top: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #a84438;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 4px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.example-item {
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.example-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.scope-item {
  min-width: 0;
  padding: 18px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.scope-item h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.scope-item p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #6d655d;
}

.scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 16px;
  border-top: 1px solid #e8e1d8;
}

.scope-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 14px;
  font-weight: 600;
  color: #a84438;
}

/* --------------------------------------------------------------------------
   10. pages — 反馈页
   -------------------------------------------------------------------------- */

.page-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.page-primary {
  min-width: 0;
}

.page-aside {
  min-width: 0;
}

.feedback-scope > h2,
.feedback-checklist > h2,
.inapplicable > h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 15px;
  line-height: 1.85;
  color: #4a443d;
  max-width: 720px;
  margin-bottom: 20px;
}

.feedback-scope {
  margin-bottom: 48px;
}

.feedback-scope .scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none;
}

.feedback-scope .scope-item {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-left: 3px solid #d97a68;
  border-radius: 0 8px 8px 0;
}

.feedback-checklist {
  margin-bottom: 48px;
}

.feedback-checklist .check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.feedback-checklist .check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
}

.feedback-checklist .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a84438;
  font-weight: 700;
}

.checklist-note {
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6d655d;
  background: #f7f2ec;
  border-radius: 6px;
}

.inapplicable .inapplicable-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inapplicable-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a443d;
}

.inapplicable-list li::before {
  content: "×";
  position: absolute;
  left: 2px;
  top: 0;
  color: #a84438;
  font-weight: 700;
}

.selfcheck .step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: fstep;
}

.selfcheck .step-list li {
  counter-increment: fstep;
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a443d;
}

.selfcheck .step-list li::before {
  content: counter(fstep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #a84438;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 4px;
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.path-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: #a84438;
  border-bottom: 1px solid #e8e1d8;
}

.path-list li:last-child a {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   11. pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.error-panel {
  max-width: 720px;
  padding: 40px;
  background: #f7f2ec;
  border: 1px solid #e8e1d8;
  border-radius: 8px;
}

.error-code {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #a84438;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.error-desc {
  font-size: 15px;
  line-height: 1.85;
  color: #4a443d;
  margin-bottom: 24px;
  max-width: 560px;
}

.error-paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.error-paths li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  border-radius: 6px;
}

.error-paths a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14.5px;
  font-weight: 600;
}

.error-paths span {
  font-size: 13px;
  line-height: 1.7;
  color: #6d655d;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #a84438;
  border-radius: 6px;
}

.error-home:hover {
  background: #8a3329;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   12. responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .header-inner {
    height: 68px;
  }

  .site-nav a {
    padding: 0 10px;
    font-size: 14.5px;
  }

  .home-main .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 32px;
  }

  .channel-strip-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid {
    column-count: 2;
  }

  .latest-flow-body,
  .ranking-body {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 32px;
  }

  .home-main .topic-grid,
  .topic-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid-inner .topic-card-wide {
    grid-column: span 2;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 32px;
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }

  section.page-title {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 28px;
  }

  .page-title-figure img,
  .page-figure img {
    height: 200px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-focus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-focus-item:last-child {
    grid-column: span 2;
  }

  .latest-flow-body,
  .ranking-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-preview-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .rule-grid,
  .rule-list,
  .path-steps,
  .scope-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-steps li:last-child,
  .rule-list li:last-child {
    grid-column: span 2;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .sidebar-left .page-layout,
  .page-layout.sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-layout.sidebar-left > .toc {
    order: 2;
  }

  .page-layout.sidebar-left > .guide-content {
    order: 1;
  }

  .toc {
    position: static;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-col:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .site-main,
  .home-main,
  .inner-main,
  .container,
  .page-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main,
  .inner-main,
  .container,
  .page-container {
    padding-bottom: 56px;
  }

  .page-title {
    font-size: 1.875rem;
  }

  section.page-title {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0 32px;
    margin-bottom: 36px;
  }

  .page-title-figure img,
  .page-figure img {
    height: 200px;
  }

  .home-main .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 32px 0 40px;
  }

  .hero-main h1 {
    font-size: 1.875rem;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-focus-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hero-focus-item:last-child {
    grid-column: auto;
  }

  .channel-strip,
  .latest-flow,
  .topics,
  .ranking,
  .guide-preview {
    padding: 40px 0;
  }

  .channel-strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .work-grid {
    column-count: 1;
  }

  .work-media img {
    height: 200px;
  }

  .home-main .topic-grid,
  .topic-grid-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .topic-grid-inner .topic-card-wide {
    grid-column: auto;
  }

  .home-main .rank-row,
  .ranking-list .rank-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-no {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .feedback-scope-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .feedback-callout {
    padding-top: 40px;
  }

  .filter-tags {
    display: none;
  }

  .filter-drawer-trigger {
    display: block;
  }

  .filter-bar {
    padding: 18px;
  }

  .channel-fields,
  .topic-fields,
  .field-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .channel-fields dt,
  .topic-fields dt,
  .field-list dt {
    padding-top: 8px;
  }

  .channel-fields dd,
  .topic-fields dd,
  .field-list dd {
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8e1d8;
  }

  .field-list dt {
    border-bottom: none;
  }

  .item-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rule-grid,
  .rule-list,
  .path-steps,
  .scope-list,
  .example-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .path-steps li:last-child,
  .rule-list li:last-child {
    grid-column: auto;
  }

  .browse-path {
    padding: 20px;
  }

  .guide-content > section {
    margin-bottom: 36px;
  }

  .guide-content > section > h2 {
    font-size: 21px;
  }

  .guide-content .step-list li {
    padding: 16px 16px 16px 56px;
  }

  .guide-content .step-list li::before {
    left: 16px;
    top: 16px;
  }

  .entry-check .check-list li {
    padding: 12px 14px 12px 48px;
  }

  .entry-check .check-list li::before {
    left: 14px;
    top: 12px;
  }

  .error-main {
    padding: 40px 16px 64px;
  }

  .error-panel {
    padding: 24px;
  }

  .error-code {
    font-size: 44px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 16px 24px;
  }

  .footer-col:first-child {
    grid-column: auto;
  }

  .footer-desc,
  .footer-boundary {
    max-width: none;
  }

  .footer-copy {
    padding: 0 16px 28px;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .channel-strip-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head h2 {
    font-size: 23px;
  }

  .channel-item,
  .latest-item,
  .home-main .topic-card,
  .topic-grid-inner .topic-card,
  .aside-card,
  .flow-rules,
  .ranking-note {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .channel-strip-item:hover {
    transform: none;
  }
}
