/* ==========================================================================
   星空传媒 · 全站样式表
   会议资料风：深蓝墨色页头 + 米白纸面内容区 + 频道色标系统
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base · 基础变量、重置、字体与通用元素
   -------------------------------------------------------------------------- */
:root {
  --ink-blue: #1f3a5f;
  --ink-blue-dark: #162a47;
  --paper: #f7f5f0;
  --paper-deep: #efece4;
  --orange: #e0692a;
  --orange-dark: #c75a20;
  --channel-blue: #2e6e9e;
  --channel-purple: #7a4e9e;
  --channel-green: #2e8b6e;
  --channel-brown: #b35c44;
  --text-main: #333333;
  --text-sub: #6b6f76;
  --line: #d9d4c9;
  --white: #ffffff;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --container: 1200px;
  --content-max: 960px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 3px rgba(31, 58, 95, 0.08), 0 1px 2px rgba(31, 58, 95, 0.04);
  --shadow-panel: 0 2px 8px rgba(31, 58, 95, 0.08);
  --header-h: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--channel-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-blue);
  line-height: 1.4;
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout · 全站骨架：页头、主容器、页脚、面包屑
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  background-color: var(--ink-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
  opacity: 0.9;
}

.brand-name {
  position: relative;
}

.brand-name::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--orange);
  margin-left: 6px;
  vertical-align: middle;
}

/* 主导航 */
.site-nav {
  height: var(--header-h);
}

.nav-list {
  display: flex;
  align-items: stretch;
  height: var(--header-h);
  gap: 0;
}

.nav-list li {
  display: flex;
  align-items: stretch;
}

.nav-list a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-list a.is-current {
  color: var(--white);
  background-color: rgba(224, 105, 42, 0.18);
  border-bottom-color: var(--orange);
  font-weight: 600;
}

/* 汉堡按钮（移动端显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--white);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 主内容区 */
.site-main {
  min-height: 60vh;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--channel-blue);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb-sep {
  color: var(--text-sub);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--text-sub);
  font-weight: 500;
}

/* 内页统一起始宽度与间距 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* 内页页面标题区 */
.page-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  position: relative;
}

.page-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--orange);
  margin-top: 16px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink-blue);
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 720px;
  line-height: 1.75;
}

.page-channel-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  background-color: rgba(46, 110, 158, 0.12);
  color: var(--channel-blue);
  margin-bottom: 12px;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink-blue-dark);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-nav a.is-current {
  color: var(--orange);
  font-weight: 600;
}

.footer-meta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-lang {
  display: inline-block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 2px 8px;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Components · 通用组件：频道色标、卡片、表格、链接、步骤等
   -------------------------------------------------------------------------- */

/* 色标系统 */
.dot-blue {
  background-color: var(--channel-blue);
}

.dot-purple {
  background-color: var(--channel-purple);
}

.dot-green {
  background-color: var(--channel-green);
}

.dot-brown {
  background-color: var(--channel-brown);
}

.dot-gray {
  background-color: #8a8f98;
}

.color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-drama {
  background-color: var(--channel-brown);
}

.dot-doc {
  background-color: var(--channel-blue);
}

.dot-anime {
  background-color: var(--channel-purple);
}

.dot-talk {
  background-color: var(--channel-green);
}

.color-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.5;
}

.chip-blue {
  background-color: rgba(46, 110, 158, 0.12);
  color: var(--channel-blue);
}

.chip-purple {
  background-color: rgba(122, 78, 158, 0.12);
  color: var(--channel-purple);
}

.chip-green {
  background-color: rgba(46, 139, 110, 0.12);
  color: var(--channel-green);
}

.chip-brown {
  background-color: rgba(179, 92, 68, 0.12);
  color: var(--channel-brown);
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.text-link:hover {
  color: var(--orange-dark);
  border-bottom-color: var(--orange-dark);
}

/* 表格包裹容器 */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.table-wrap table {
  min-width: 560px;
  font-size: 13.5px;
}

.table-wrap th {
  background-color: var(--ink-blue);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 10px 16px;
  white-space: nowrap;
}

.table-wrap td {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}

.table-wrap tbody tr:nth-child(even) {
  background-color: rgba(247, 245, 240, 0.5);
}

.table-wrap tbody tr:hover {
  background-color: rgba(46, 110, 158, 0.05);
}

/* 相关页面卡片 */
.related-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-panel);
  transform: translateY(-2px);
}

.related-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.related-card h3 a {
  color: var(--ink-blue);
}

.related-card h3 a:hover {
  color: var(--orange);
}

.related-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 12px;
}

.related-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

/* 通用 section 标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-blue);
  margin-bottom: 12px;
}

.section-desc,
.section-lead {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
  max-width: 640px;
}

/* 步骤导航 */
.step-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-main);
  border-left: 3px solid var(--line);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.step-nav-list a:hover {
  background-color: rgba(46, 110, 158, 0.06);
  border-left-color: var(--channel-blue);
  color: var(--ink-blue);
}

/* --------------------------------------------------------------------------
   Pages · 首页
   -------------------------------------------------------------------------- */

/* 首页主容器 */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* 首屏导览面板 */
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--ink-blue);
  margin: 24px 0 32px;
  box-shadow: var(--shadow-panel);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 36px 36px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* 频道索引（首屏） */
.channel-index {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
}

.channel-index h2 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.15s ease;
}

.channel-list li:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.channel-list .channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 焦点专题（首屏） */
.focus-topic {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
}

.focus-topic h2 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.topic-card-link {
  display: block;
  background-color: rgba(224, 105, 42, 0.2);
  border: 1px solid rgba(224, 105, 42, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: background-color 0.15s ease;
}

.topic-card-link:hover {
  background-color: rgba(224, 105, 42, 0.3);
}

.topic-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background-color: var(--orange);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.topic-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 6px;
}

.topic-meta {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* 观看路径（首屏） */
.watch-path {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
}

.watch-path h2 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.path-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  position: relative;
  padding-left: 4px;
}

.path-steps li::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 编辑室简介条 */
.editor-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.intro-text h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.intro-text p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 640px;
}

.boundary-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.boundary-item {
  display: inline-block;
  font-size: 12px;
  color: var(--text-sub);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 10px;
  line-height: 1.5;
}

.intro-image {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

/* 首页三栏布局 */
.layout-grid.home-grid {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

/* 左栏 */
.home-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-aside section {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.home-aside h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

/* 频道索引卡片（左栏） */
.channel-index-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-index-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
  font-size: 14px;
}

.channel-index-list li:hover {
  background-color: rgba(46, 110, 158, 0.06);
}

.channel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.channel-tag {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

/* 术语便签 */
.term-notes .term-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.term-notes .term-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.term {
  font-weight: 600;
  color: var(--ink-blue);
  flex-shrink: 0;
  border-bottom: 1px dashed var(--channel-blue);
  cursor: help;
}

.tip {
  color: var(--text-sub);
  font-size: 13px;
}

/* 中栏 */
.center-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* 焦点专题卡 */
.feature-topic {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--orange);
}

.feature-topic h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-topic p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* 最新条目 */
.latest-entries {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.latest-entries h3 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--paper-deep);
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-deep);
  font-size: 14px;
}

.entry-list li:last-child {
  border-bottom: none;
}

.entry-id {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background-color: rgba(224, 105, 42, 0.1);
  border-radius: 3px;
  padding: 2px 6px;
  flex-shrink: 0;
  font-family: "SF Mono", "Cascadia Code", monospace;
}

.entry-topic {
  font-size: 12px;
  color: var(--text-sub);
  flex-shrink: 0;
  min-width: 48px;
}

.entry-list a {
  color: var(--text-main);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-list a:hover {
  color: var(--orange);
}

/* 右栏 */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 整理动态 */
.update-feed {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.update-feed h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.update-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 1px dashed var(--paper-deep);
}

.update-list li:last-child {
  border-bottom: none;
}

.update-id {
  font-size: 12px;
  font-weight: 600;
  color: var(--channel-blue);
  background-color: rgba(46, 110, 158, 0.1);
  border-radius: 3px;
  padding: 1px 6px;
  flex-shrink: 0;
  font-family: "SF Mono", "Cascadia Code", monospace;
}

/* 帮助入口 */
.help-entry {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.help-entry h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

.help-card {
  display: block;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-blue);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.help-card:last-child {
  margin-bottom: 0;
}

.help-card:hover {
  background-color: rgba(46, 110, 158, 0.06);
  border-color: var(--channel-blue);
  color: var(--ink-blue);
}

/* 内容边界提示条 */
.boundary-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-sub);
}

.boundary-tip p {
  font-size: 13px;
  line-height: 1.6;
}

/* 首页相关链接 */
.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-blue);
}

.related-links-item {
  font-size: 14px;
  color: var(--channel-blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.related-links-item:hover {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Pages · 核心业务页（xkcm/core.html）
   -------------------------------------------------------------------------- */

.business-table {
  margin-bottom: 36px;
}

.business-table .table-wrap {
  margin-bottom: 20px;
}

.media-block {
  margin: 16px 0 0;
}

.media-block img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.media-block figcaption {
  font-size: 13px;
  color: var(--text-sub);
  padding: 8px 2px 0;
  line-height: 1.6;
}

.scenes {
  margin-bottom: 36px;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scene-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.scene-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

.scene-item p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 8px;
}

.related-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Pages · 工作方式页（xkcm/method.html）
   -------------------------------------------------------------------------- */

.page-method .page-header {
  display: block;
}

.channel-tag-method {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  background-color: rgba(46, 139, 110, 0.12);
  color: var(--channel-green);
  margin-bottom: 12px;
}

.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.aside-nav {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

.process-content {
  min-width: 0;
}

.process-figure {
  margin-bottom: 20px;
}

.process-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.process-figure figcaption {
  font-size: 13px;
  color: var(--text-sub);
  padding: 8px 2px 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--channel-blue);
}

.step-card:nth-child(2) {
  border-left-color: var(--channel-green);
}

.step-card:nth-child(3) {
  border-left-color: var(--channel-purple);
}

.step-card:nth-child(4) {
  border-left-color: var(--channel-brown);
}

.step-card:nth-child(5) {
  border-left-color: var(--orange);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ink-blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-blue);
}

.step-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-output {
  font-size: 13px;
  color: var(--text-sub);
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: inline-block;
  line-height: 1.5;
}

.standard-table {
  margin-bottom: 36px;
}

.standard-table .section-title {
  font-size: 20px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Pages · 内容参考页（xkcm/reference.html）
   -------------------------------------------------------------------------- */

.topic-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.topic-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-blue);
}

.topic-nav-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topic-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background-color: var(--paper);
  color: var(--text-main);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.topic-link:hover {
  background-color: rgba(46, 110, 158, 0.08);
  border-color: var(--channel-blue);
}

.topic-drama {
  border-left: 3px solid var(--channel-brown);
}

.topic-doc {
  border-left: 3px solid var(--channel-blue);
}

.topic-anime {
  border-left: 3px solid var(--channel-purple);
}

.topic-talk {
  border-left: 3px solid var(--channel-green);
}

.topic-table-section {
  margin-bottom: 36px;
}

.topic-table-section > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.topic-group {
  margin-bottom: 28px;
}

.topic-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--paper-deep);
}

.topic-group-title .color-dot {
  width: 12px;
  height: 12px;
}

.archive-table {
  min-width: 640px;
}

.archive-table th {
  background-color: var(--ink-blue);
  color: var(--white);
}

.channel-table-section {
  margin-bottom: 28px;
}

.channel-table-section > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.channel-table {
  min-width: 560px;
}

.archive-figure {
  margin: 24px 0;
}

.archive-figure img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.archive-figure figcaption {
  font-size: 13px;
  color: var(--text-sub);
  padding: 8px 2px 0;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Pages · 联系页（xkcm/contact.html）
   -------------------------------------------------------------------------- */

.contact-layout.page-layout {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.contact-scenes,
.contact-checklist,
.contact-process {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.contact-scenes .section-title,
.contact-checklist .section-title,
.contact-process .section-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.contact-scenes .section-lead,
.contact-checklist .section-lead,
.contact-process .section-lead {
  font-size: 13px;
  margin-bottom: 14px;
}

.scene-card {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.scene-card:last-child {
  margin-bottom: 0;
}

.scene-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-blue);
  margin-bottom: 6px;
}

.scene-desc {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 6px;
}

.scene-note {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

.checklist-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.checklist-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: start;
}

.checklist-row:last-child {
  border-bottom: none;
}

.checklist-head {
  background-color: var(--ink-blue);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.checklist-head .col-scene,
.checklist-head .col-info,
.checklist-head .col-expect {
  color: var(--white);
}

.col-scene {
  font-weight: 600;
  color: var(--ink-blue);
}

.col-info {
  color: var(--text-main);
  line-height: 1.5;
}

.col-expect {
  color: var(--text-sub);
  line-height: 1.5;
}

.checklist-tip {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
  padding: 0 4px;
}

.contact-process .process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-blue);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.feedback-path {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.feedback-path .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.path-media {
  margin-bottom: 16px;
}

.path-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.path-figure figcaption {
  font-size: 13px;
  color: var(--text-sub);
  padding: 8px 2px 0;
}

.path-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   Pages · 404 页
   -------------------------------------------------------------------------- */

.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--ink-blue);
  line-height: 1;
  margin-bottom: 16px;
  font-family: "SF Mono", "Cascadia Code", monospace;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-home,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-home {
  background-color: var(--orange);
  color: var(--white);
}

.btn-home:hover {
  background-color: var(--orange-dark);
  color: var(--white);
}

.btn-nav {
  background-color: var(--paper);
  color: var(--ink-blue);
  border: 1px solid var(--line);
}

.btn-nav:hover {
  background-color: var(--paper-deep);
  color: var(--ink-blue);
}

.error-help {
  font-size: 13px;
  color: var(--text-sub);
}

/* --------------------------------------------------------------------------
   Responsive · 响应式断点
   -------------------------------------------------------------------------- */

/* ===== 1024px 平板 ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .watch-path {
    grid-column: 1 / -1;
  }

  .layout-grid.home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .center-column {
    grid-column: 1 / -1;
    order: -1;
  }

  .contact-layout.page-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-process {
    grid-column: 1 / -1;
  }

  .scene-list {
    grid-template-columns: 1fr;
  }
}

/* ===== 768px 手机 ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: auto;
    background-color: var(--ink-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    height: auto;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    display: block;
  }

  .nav-list a {
    display: block;
    padding: 14px 24px;
    border-bottom: none;
    border-left: 3px solid transparent;
    color: rgba(255, 255, 255, 0.85);
    min-height: 44px;
  }

  .nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .nav-list a.is-current {
    border-left-color: var(--orange);
    background-color: rgba(224, 105, 42, 0.18);
  }

  .inner-main {
    padding: 0 16px 32px;
  }

  .home-main {
    padding: 0 16px 32px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .page-header {
    padding: 20px 0 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-content {
    padding: 24px 20px 28px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .watch-path {
    grid-column: auto;
  }

  .editor-intro {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .intro-image {
    width: 100%;
    height: 160px;
  }

  .layout-grid.home-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .center-column {
    grid-column: auto;
    order: 0;
  }

  .boundary-tip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 20px;
  }

  .footer-desc {
    max-width: 100%;
  }

  /* 工作方式页 */
  .layout-shell.sidebar-left {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aside-nav {
    position: static;
    order: 2;
  }

  .process-content {
    order: 1;
  }

  /* 联系页 */
  .contact-layout.page-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-process {
    grid-column: auto;
  }

  .checklist-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }

  .checklist-head {
    display: none;
  }

  /* 相关卡片 */
  .related-card-list,
  .related-cards {
    grid-template-columns: 1fr;
  }

  /* 场景列表 */
  .scene-list {
    grid-template-columns: 1fr;
  }

  /* 参考页 */
  .topic-nav {
    padding: 12px 16px;
  }
}

/* ===== 480px 小屏手机 ===== */
@media (max-width: 480px) {
  .brand {
    font-size: 17px;
  }

  .hero-media {
    display: block;
  }

  .hero-content {
    padding: 20px 16px 24px;
  }

  .hero-content h1 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .channel-index,
  .focus-topic,
  .watch-path {
    padding: 14px;
  }

  .topic-card-link {
    padding: 12px;
  }

  .feature-topic,
  .latest-entries {
    padding: 18px;
  }

  .home-aside section {
    padding: 16px;
  }

  .entry-list li {
    flex-wrap: wrap;
    gap: 6px;
  }

  .entry-list a {
    width: 100%;
    white-space: normal;
  }

  .boundary-list {
    flex-direction: column;
    gap: 6px;
  }

  .boundary-item {
    display: block;
    text-align: left;
  }

  .page-title {
    font-size: 22px;
  }

  .page-description {
    font-size: 14px;
  }

  .related-links {
    gap: 10px;
  }

  .related-links-label {
    width: 100%;
  }

  .related-links-item {
    font-size: 13px;
  }

  .step-card {
    padding: 16px;
  }

  .step-head {
    gap: 8px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .step-title {
    font-size: 16px;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-home,
  .btn-nav {
    width: 100%;
  }
}
