/* =========================================================
   佳佳伦影院 · 站点样式
   分组：base / layout / components / pages / responsive
   ========================================================= */

/* ---------- base ---------- */
:root {
  --paper: #F6F1E7;
  --ink: #221F1A;
  --ink-soft: #6B6357;
  --pine: #17332E;
  --pine-soft: #2E6E63;
  --brick: #C1502B;
  --line: #D8CEBD;
  --card: #FFFFFF;
  --radius: 4px;
  --wrap: 1140px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--pine);
  line-height: 1.35;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--pine-soft);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brick);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--pine);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--pine-soft);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px max(20px, calc((100% - var(--wrap)) / 2));
  background: var(--brick);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.notice-bar__text {
  min-width: 0;
}

.notice-bar__home {
  flex: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 1px;
}

.notice-bar__home:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: none;
  color: var(--pine);
}

.brand:hover {
  color: var(--pine);
}

.brand__mark {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand__slogan {
  font-size: 12px;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.quick-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.quick-nav__link {
  position: relative;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  white-space: nowrap;
}

.quick-nav__link:hover {
  color: var(--pine-soft);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.quick-nav__link.is-current {
  color: var(--brick);
}

.quick-nav__link.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brick);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--pine);
  border-radius: 1px;
}

.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.site-nav__item {
  display: flex;
}

.site-nav__link {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover {
  color: var(--pine-soft);
}

.site-nav__link.is-current {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.site-main {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.home-main {
  padding-bottom: 56px;
}

.inner-main {
  padding-bottom: 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb__link {
  color: var(--ink-soft);
}

.breadcrumb__link:hover {
  color: var(--pine-soft);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.page-header {
  padding: 14px 0 0;
}

.page-title {
  font-size: 28px;
  line-height: 1.35;
  color: var(--pine);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.page-head__text {
  min-width: 0;
  max-width: 760px;
}

.page-head__lead {
  color: var(--ink-soft);
  font-size: 15px;
}

.page-head__meta {
  flex: none;
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.page-intro__text {
  max-width: 760px;
}

.page-intro__lead {
  color: var(--ink-soft);
  font-size: 15px;
}

.page-intro__meta {
  flex: none;
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-title {
  font-size: 22px;
  color: var(--pine);
}

.section-desc {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 640px;
}

.section-intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0 18px;
  max-width: 720px;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--pine-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.text-link:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

/* ---------- components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--pine);
  color: #fff;
}

.btn--primary:hover {
  background: var(--pine-soft);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--pine);
  border-color: var(--pine-soft);
}

.btn--outline {
  background: transparent;
  color: var(--pine);
  border-color: var(--pine);
}

.btn--outline:hover {
  background: var(--pine);
  color: #fff;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--pine);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.channel-chip:hover {
  border-color: var(--pine-soft);
  color: var(--pine-soft);
  transform: translateY(-2px);
}

.channel-chip.is-active {
  background: var(--brick);
  border-color: var(--brick);
  color: #fff;
}

.channel-chip.is-active:hover {
  color: #fff;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}

.tag--add {
  color: var(--pine-soft);
  border-color: var(--pine-soft);
}

.tag--adjust {
  color: var(--brick);
  border-color: var(--brick);
}

.tag--remove {
  color: var(--ink-soft);
  border-color: var(--line);
  background: var(--paper);
}

.update-row__type {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  white-space: nowrap;
  color: var(--ink-soft);
}

.update-row__type--add {
  color: var(--pine-soft);
  border-color: var(--pine-soft);
}

.update-row__type--edit {
  color: var(--brick);
  border-color: var(--brick);
}

.update-row__type--remove {
  color: var(--ink-soft);
  border-color: var(--line);
  background: var(--paper);
}

/* 日历通用 */
.calendar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.calendar__table {
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.calendar__caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 8px;
}

.calendar__table th {
  padding: 6px 0;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.calendar__cell {
  text-align: center;
  padding: 5px 0;
  color: var(--ink);
  border-radius: var(--radius);
}

.calendar__date {
  display: inline-block;
  min-width: 24px;
  line-height: 24px;
  font-variant-numeric: tabular-nums;
}

.calendar__cell.has-change .calendar__date {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pine);
}

.calendar__cell.is-today .calendar__date {
  background: var(--brick);
  border-color: var(--brick);
  color: #fff;
  border-radius: 50%;
}

.calendar__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--brick);
  vertical-align: middle;
}

.calendar__note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 更新分组（首页 / 更新页共用基础） */
.update-group {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.update-group:first-of-type {
  padding-top: 0;
}

.update-group__date {
  font-size: 15px;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.update-group__summary {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.update-row__title {
  flex: 1 1 220px;
  min-width: 0;
  color: var(--ink);
}

.update-row__channel {
  flex: none;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- pages ---------- */

/* 首页 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "board media"
    "actions actions";
  gap: 26px 34px;
  padding: 32px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero__board {
  grid-area: board;
  min-width: 0;
}

.hero__title {
  font-size: 34px;
  line-height: 1.3;
  color: var(--pine);
  margin-bottom: 12px;
}

.hero__lead {
  max-width: 640px;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.board-list__item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.board-list__num {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--brick);
  border: 1px solid var(--brick);
  border-radius: 50%;
}

.board-list__body {
  min-width: 0;
}

.board-list__title {
  font-size: 17px;
  color: var(--pine);
  margin-bottom: 4px;
}

.board-list__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero__media {
  grid-area: media;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hero__caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.hero__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-bar {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.channel-bar__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.channel-bar__scroll .channel-chip {
  flex: none;
}

.update-zone {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.update-zone__layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.update-groups {
  min-width: 0;
}

.update-groups__more {
  margin-top: 16px;
  font-size: 14px;
}

.feature-topic {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.feature-topic__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.feature-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card__media {
  min-width: 0;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.feature-card__body {
  min-width: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.feature-card__label {
  font-size: 12px;
  color: var(--brick);
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  padding: 1px 8px;
}

.feature-card__title {
  font-size: 20px;
  color: var(--pine);
}

.feature-card__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.feature-card__meta {
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.feature-card__body .btn {
  margin-top: 4px;
}

.topic-briefs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.brief-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.brief-item__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 4px;
}

.brief-item__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.brief-item__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.topic-shelf {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.topic-shelf__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.topic-card:hover {
  border-color: var(--pine-soft);
  transform: translateY(-2px);
}

.topic-card__media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.topic-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.topic-card__title {
  font-size: 17px;
  color: var(--pine);
}

.topic-card__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.topic-card__body .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.guide-steps {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-row__item {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brick);
  border-radius: var(--radius);
  min-width: 0;
}

.step-row__num {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--brick);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.step-row__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.step-row__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.guide-steps__more {
  margin-top: 18px;
  font-size: 14px;
}

.feedback-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 24px 26px;
  background: var(--pine);
  border-radius: var(--radius);
}

.feedback-band__text {
  min-width: 0;
  max-width: 720px;
}

.feedback-band .section-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
}

.feedback-band .section-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.feedback-band .btn--outline {
  background: #fff;
  color: var(--pine);
  border-color: #fff;
}

.feedback-band .btn--outline:hover {
  background: var(--brick);
  border-color: var(--brick);
  color: #fff;
}

/* 频道总览 */
.channel-filter {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.channel-filter__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.channel-filter__title {
  font-size: 20px;
  color: var(--pine);
}

.channel-filter__hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.channel-filter__bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.channel-focus {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.channel-focus__media {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.channel-focus__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.channel-focus__caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.channel-focus__info {
  min-width: 0;
}

.channel-focus__eyebrow {
  font-size: 12px;
  color: var(--brick);
  border: 1px solid var(--brick);
  border-radius: var(--radius);
  padding: 1px 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.channel-focus__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 14px;
}

.channel-focus__facts {
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
}

.channel-focus__fact {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.channel-focus__fact dt {
  flex: none;
  width: 96px;
  color: var(--ink-soft);
  font-size: 13px;
}

.channel-focus__fact dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
}

.channel-focus__link {
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.channel-list {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.channel-list__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 8px;
}

.channel-list__intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 760px;
}

.channel-table {
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.channel-table__caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--ink-soft);
  padding-bottom: 8px;
}

.channel-table th,
.channel-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.channel-table thead th {
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}

.channel-table tbody th {
  font-weight: 600;
  color: var(--pine);
  white-space: nowrap;
}

.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table td {
  color: var(--ink-soft);
}

.channel-judge {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.channel-judge__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 8px;
}

.channel-judge__intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 760px;
}

.channel-judge__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.channel-judge__item {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.channel-judge__item-title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.channel-judge__item-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.channel-judge__note {
  margin-top: 16px;
  font-size: 14px;
}

.channel-next__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 16px;
}

.channel-next__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.channel-next__card {
  display: block;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.channel-next__card:hover {
  border-color: var(--pine-soft);
  transform: translateY(-2px);
  color: var(--ink);
}

.channel-next__card-title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.channel-next__card-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 专题片单 */
.page-title__lead {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 760px;
}

.page-title__meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.topic-anchors {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.topic-anchors__label {
  font-size: 13px;
  color: var(--ink-soft);
  flex: none;
}

.topic-anchors__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topic-anchors__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--pine);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.topic-anchors__link:hover {
  border-color: var(--pine-soft);
  color: var(--pine-soft);
}

.topic-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.topic-block:last-of-type {
  border-bottom: 0;
}

.topic-block__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.topic-block__title {
  font-size: 22px;
  color: var(--pine);
}

.topic-block__meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.topic-block__body {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.topic-block__figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.topic-block__figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.topic-block__caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.topic-block__intro {
  min-width: 0;
}

.topic-block__subtitle {
  font-size: 17px;
  color: var(--pine);
  margin-bottom: 6px;
}

.topic-block__intro p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 720px;
}

.topic-block__list-wrap {
  min-width: 0;
}

.topic-block__list-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 12px;
}

.topic-list {
  border-top: 1px solid var(--line);
}

.topic-list__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 96px 150px 84px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.topic-list__index {
  font-variant-numeric: tabular-nums;
  color: var(--brick);
  font-weight: 600;
}

.topic-list__title {
  min-width: 0;
  color: var(--ink);
}

.topic-list__duration {
  font-size: 12px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.topic-list__note {
  font-size: 12px;
  color: var(--ink-soft);
}

.topic-list__controls {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.sort-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.sort-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-left: 2px solid var(--pine);
  border-top: 2px solid var(--pine);
}

.sort-btn--up::before {
  transform: translate(-50%, -30%) rotate(45deg);
}

.sort-btn--down::before {
  transform: translate(-50%, -70%) rotate(225deg);
}

.sort-btn:hover {
  border-color: var(--pine-soft);
  background: var(--paper);
}

.sort-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.topic-rules {
  padding: 30px 0 0;
}

.topic-rules__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 8px;
}

.topic-rules__lead {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 760px;
}

.topic-rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.rule-card {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.rule-card__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.rule-card__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.topic-rules__more {
  margin-top: 16px;
  font-size: 14px;
}

/* 更新记录 */
.month-note {
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brick);
  border-radius: var(--radius);
  margin-bottom: 26px;
}

.month-note__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 4px;
}

.month-note__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.layout-shell {
  display: block;
}

.layout-shell--calendar {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.calendar-panel {
  min-width: 0;
  position: sticky;
  top: 16px;
}

.calendar-panel__title {
  font-size: 20px;
  color: var(--pine);
  margin-bottom: 4px;
}

.calendar-panel__hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.calendar__head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 4px;
}

.calendar__weekday {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 4px 0;
}

.calendar__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calendar__row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-radius: var(--radius);
}

.calendar__day--muted {
  color: var(--line);
}

.calendar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  border-radius: var(--radius);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  position: relative;
}

.calendar__link:hover {
  background: var(--paper);
  color: var(--pine);
}

.calendar__day--active {
  background: var(--brick);
  color: #fff;
}

.calendar__day--active .calendar__dot {
  background: #fff;
}

.calendar__day .calendar__dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 0;
}

.calendar-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-legend__term {
  margin: 0;
  display: flex;
  align-items: center;
}

.calendar-legend__desc {
  margin: 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.update-list {
  min-width: 0;
}

.update-list__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 6px;
}

.update-list__intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 720px;
}

.update-media {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.update-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.update-media__caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.update-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.update-list__foot {
  margin-top: 16px;
  font-size: 14px;
}

.change-types {
  padding: 34px 0 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.change-types__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 8px;
}

.change-types__intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 760px;
}

.change-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.change-card {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.change-card__name {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.change-card__rule {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.change-card__example {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.change-types__note {
  margin-top: 16px;
  font-size: 14px;
}

/* 观看说明 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 60px;
  align-items: start;
}

.page-layout__main {
  min-width: 0;
}

.page-layout__aside {
  min-width: 0;
  position: sticky;
  top: 16px;
}

.page-layout__main section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.page-layout__main section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.guide-steps__figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.guide-steps__figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.figure-caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-item {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.step-item__num {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--brick);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.step-item__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.step-item__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.device-table,
.myth-table {
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.device-table th,
.device-table td,
.myth-table th,
.myth-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.device-table thead th,
.myth-table thead th {
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}

.device-table tbody tr:last-child th,
.device-table tbody tr:last-child td,
.myth-table tbody tr:last-child th,
.myth-table tbody tr:last-child td {
  border-bottom: 0;
}

.device-table td,
.myth-table td {
  color: var(--ink-soft);
}

.check-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.check-list__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.check-list__term {
  color: var(--pine);
  font-weight: 600;
}

.check-list__desc {
  margin: 0;
  min-width: 0;
  color: var(--ink-soft);
}

.aside-card {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.aside-card:last-child {
  margin-bottom: 0;
}

.aside-card__title {
  font-size: 17px;
  color: var(--pine);
  margin-bottom: 6px;
}

.aside-card__desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.quickcheck-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quickcheck-list__item {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.quickcheck-list__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--pine-soft);
  border-radius: 2px;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

/* 反馈与纠错 */
.field-figure {
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.field-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.field-figure__caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.checklist {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.checklist h2,
.faq h2,
.describe h2,
.boundary h2,
.related__title {
  font-size: 22px;
  color: var(--pine);
  margin-bottom: 6px;
}

.checklist__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.checklist__step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checklist__num {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--brick);
  border: 1px solid var(--brick);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

.checklist__body {
  min-width: 0;
}

.checklist__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 4px;
}

.checklist__body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.faq__item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--pine);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--pine-soft);
  border-bottom: 2px solid var(--pine-soft);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq__item[open] .faq__question::after {
  transform: rotate(225deg);
}

.faq__answer {
  padding: 0 14px 14px;
}

.faq__answer p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.describe {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.describe__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.describe__card {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.describe__name {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.describe__how {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 6px;
}

.describe__sample {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.boundary {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.boundary__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.boundary__item {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine-soft);
  border-radius: var(--radius);
  min-width: 0;
}

.boundary__title {
  font-size: 16px;
  color: var(--pine);
  margin-bottom: 6px;
}

.boundary__item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.related__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.related__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.related__item a {
  font-size: 15px;
  color: var(--pine);
}

.related__item a:hover {
  color: var(--brick);
}

.related__note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 404 */
.error-main {
  padding: 48px 20px 64px;
}

.error-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-block__code {
  font-size: 40px;
  font-weight: 600;
  color: var(--brick);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.error-block h1 {
  font-size: 26px;
  color: var(--pine);
  margin-bottom: 10px;
}

.error-block__lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 20px;
}

.error-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.error-block__subtitle {
  font-size: 17px;
  color: var(--pine);
  margin-bottom: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.error-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 20px;
  margin-bottom: 18px;
}

.error-links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-size: 15px;
  color: var(--pine-soft);
  border-bottom: 1px solid var(--line);
}

.error-links a:hover {
  color: var(--brick);
}

.error-block__note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--pine);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.footer-col {
  min-width: 0;
}

.footer-col__title {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col__text {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.footer-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-notes li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 12px;
  position: relative;
}

.footer-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--brick);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom__text,
.footer-bottom__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .hero__title {
    font-size: 30px;
  }

  .update-zone__layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
  }

  .feature-topic__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .feature-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .channel-focus {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 26px;
  }

  .topic-block__body {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 26px;
  }

  .topic-list__item {
    grid-template-columns: 30px minmax(0, 1fr) 84px 120px 84px;
    gap: 10px;
  }

  .layout-shell--calendar {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 720px) {
  body.site-body {
    font-size: 15px;
  }

  .notice-bar {
    padding: 7px 16px;
    font-size: 12px;
    gap: 10px;
  }

  .brand-row {
    padding: 10px 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .brand__slogan {
    display: none;
  }

  .quick-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: block;
  }

  .site-nav__list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }

  .site-nav__list.is-open {
    display: flex;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav__link.is-current {
    border-bottom-color: var(--line);
  }

  .site-main {
    padding: 0 16px;
  }

  .home-main,
  .inner-main {
    padding-bottom: 44px;
  }

  .breadcrumb {
    padding-top: 12px;
    font-size: 12px;
  }

  .page-header {
    padding-top: 10px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-head,
  .page-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 18px;
    margin-bottom: 22px;
  }

  .page-head__meta,
  .page-intro__meta {
    white-space: normal;
  }

  .section-title {
    font-size: 20px;
  }

  .section-head {
    gap: 6px;
    margin-bottom: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "board"
      "media"
      "actions";
    gap: 20px;
    padding: 22px 0 26px;
  }

  .hero__title {
    font-size: 25px;
  }

  .hero__media img {
    height: 200px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .channel-bar,
  .update-zone,
  .feature-topic,
  .topic-shelf,
  .guide-steps {
    padding: 24px 0;
  }

  .channel-bar__scroll {
    margin: 0 -16px;
    padding: 0 16px 6px;
  }

  .update-zone__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .update-zone__layout .calendar {
    order: -1;
  }

  .calendar__table {
    font-size: 12px;
  }

  .calendar__cell {
    padding: 3px 0;
  }

  .feature-topic__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .feature-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card__media img {
    height: 190px;
    min-height: 0;
  }

  .feature-card__body {
    padding: 16px;
  }

  .topic-shelf__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .topic-card__media img {
    height: 170px;
  }

  .step-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feedback-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-top: 24px;
  }

  .feedback-band .btn {
    width: 100%;
  }

  .channel-filter {
    padding-bottom: 20px;
    margin-bottom: 22px;
  }

  .channel-filter__bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 6px;
  }

  .channel-filter__bar .channel-chip {
    flex: none;
  }

  .channel-focus {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .channel-focus__media img {
    height: 200px;
  }

  .channel-focus__fact {
    flex-direction: column;
    gap: 2px;
  }

  .channel-focus__fact dt {
    width: auto;
  }

  .channel-table thead {
    display: none;
  }

  .channel-table,
  .channel-table tbody,
  .channel-table tr,
  .channel-table th,
  .channel-table td {
    display: block;
    width: 100%;
  }

  .channel-table {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .channel-table tbody tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 10px 14px;
  }

  .channel-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .channel-table th,
  .channel-table td {
    padding: 5px 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .channel-table tbody th {
    font-size: 16px;
    color: var(--pine);
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--line);
    white-space: normal;
  }

  .channel-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }

  .channel-judge__list,
  .channel-next__grid,
  .topic-rules__grid,
  .change-types__grid,
  .describe__grid,
  .boundary__list,
  .related__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .topic-anchors {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 14px 0;
  }

  .topic-anchors__label {
    display: none;
  }

  .topic-anchors__list {
    flex-wrap: nowrap;
  }

  .topic-anchors__link {
    flex: none;
  }

  .topic-block {
    padding: 24px 0;
  }

  .topic-block__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 20px;
  }

  .topic-block__figure img {
    height: 190px;
  }

  .topic-list__item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas:
      "index title controls"
      "index meta controls";
    gap: 4px 10px;
    align-items: start;
    padding: 12px 0;
  }

  .topic-list__index {
    grid-area: index;
    padding-top: 2px;
  }

  .topic-list__title {
    grid-area: title;
    font-size: 15px;
  }

  .topic-list__duration {
    grid-area: meta;
    font-size: 12px;
  }

  .topic-list__note {
    grid-area: meta;
    justify-self: end;
    font-size: 12px;
  }

  .topic-list__controls {
    grid-area: controls;
    flex-direction: column;
    justify-content: flex-start;
  }

  .sort-btn {
    width: 44px;
    height: 44px;
  }

  .month-note {
    padding: 12px 14px;
    margin-bottom: 20px;
  }

  .layout-shell--calendar {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .calendar-panel {
    position: static;
  }

  .calendar__day,
  .calendar__link {
    min-height: 40px;
  }

  .update-media img {
    height: 170px;
  }

  .change-types {
    padding-top: 24px;
    margin-top: 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-layout__aside {
    position: static;
  }

  .page-layout__main section {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .guide-steps__figure img {
    height: 190px;
  }

  .step-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .check-list__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .device-table,
  .myth-table {
    font-size: 13px;
  }

  .device-table thead,
  .myth-table thead {
    display: none;
  }

  .device-table,
  .device-table tbody,
  .device-table tr,
  .device-table td,
  .myth-table,
  .myth-table tbody,
  .myth-table tr,
  .myth-table td {
    display: block;
    width: 100%;
  }

  .device-table,
  .myth-table {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .device-table tbody tr,
  .myth-table tbody tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 10px 14px;
  }

  .device-table tbody tr:last-child,
  .myth-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .device-table td,
  .myth-table td {
    padding: 4px 0;
    border-bottom: 0;
    line-height: 1.7;
  }

  .field-figure {
    margin-bottom: 24px;
  }

  .field-figure img {
    height: 180px;
  }

  .checklist,
  .faq,
  .describe,
  .boundary {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .checklist__step {
    gap: 12px;
    padding: 12px 0;
  }

  .faq__question {
    min-height: 48px;
    font-size: 15px;
  }

  .error-main {
    padding: 30px 16px 44px;
  }

  .error-block {
    padding: 24px 18px;
  }

  .error-block__code {
    font-size: 32px;
  }

  .error-block h1 {
    font-size: 22px;
  }

  .error-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 28px 16px 20px;
  }

  .footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px 20px;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
