/* =============================================================
   羞羞漫画 Site Kit 共享样式
   设计DNA：街头涂鸦 × 漫画网点 × 数据目录墙
   文件位置：/assets/site.css
   ============================================================= */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --bg-deep: #1a0a2e;
  --bg-deep-darker: #10051c;
  --bg-orange: #ff8c42;
  --bg-purple: #6b2d8b;
  --card-magenta: #e91e63;
  --card-yellow: #ffd500;
  --card-green: #00c853;
  --accent-blue: #00b0ff;
  --status-new: #00e676;
  --status-finished: #ff4081;
  --status-upcoming: #ff9800;
  --text-primary: #fafafa;
  --text-secondary: #bdbdbd;
  --border-line: #4a148c;

  --font-heading: Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: 42px;
  --fs-title: 34px;
  --fs-section: 26px;
  --fs-subsection: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-micro: 12px;

  --container-max: 1200px;
  --container-gutter: 24px;
  --header-height: 68px;
  --radius: 6px;
  --shadow-card: 8px 8px 0 rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

img, svg, video {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7ad4ff;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 3px solid var(--card-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

#main-content {
  display: block;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ---------- 2. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

.section-band {
  padding: 56px 0;
  position: relative;
}

.section-band--orange-purple {
  background: linear-gradient(120deg, var(--bg-orange) 0%, #e0494f 45%, var(--bg-purple) 100%);
  color: #fff;
}

.section-band--deep {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-darker) 100%);
  color: var(--text-primary);
}

.section-band--dark-card {
  background: #24103a;
  color: var(--text-primary);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-head::before {
  content: "";
  width: 10px;
  height: 28px;
  flex: 0 0 10px;
  background: var(--card-magenta);
  transform: skewX(-12deg);
  border-radius: 2px;
}

.section-head__title {
  font-family: var(--font-heading);
  font-size: var(--fs-section);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-right: auto;
  text-shadow:
    -2px -2px 0 var(--border-line),
    2px -2px 0 var(--border-line),
    -2px 2px 0 var(--border-line),
    2px 2px 0 var(--border-line),
    4px 4px 0 rgba(0, 0, 0, 0.3);
}

.section-head__link {
  font-size: var(--fs-small);
  font-weight: 700;
  background: rgba(0, 176, 255, 0.18);
  border: 2px solid rgba(0, 176, 255, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.section-head__link:hover {
  background: var(--accent-blue);
  color: #00324a;
  transform: translateY(-2px);
}

/* ---------- 3. 面包屑 ---------- */
.breadcrumb {
  margin: 24px 0 8px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb__item {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.breadcrumb__item + .breadcrumb__item {
  margin-left: 6px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-secondary);
}

.breadcrumb__item a {
  color: var(--accent-blue);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--accent-blue);
  color: #00324a;
  font-weight: 700;
  font-size: var(--fs-small);
  border: 2px solid #00324a;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  background: #7ad4ff;
  color: #00324a;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- 5. 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.card-grid--tight {
  gap: 12px;
}

.card {
  background: var(--card-magenta);
  color: #fff;
  padding: 20px;
  border-radius: 4px 16px 4px 16px;
  box-shadow: var(--shadow-card);
  transform: rotate(-0.5deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  min-height: 140px;
}

.card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.4);
}

.card--yellow {
  background: var(--card-yellow);
  color: #1a0a2e;
}

.card--green {
  background: var(--card-green);
  color: #003b1f;
}

.card--dark {
  background: linear-gradient(135deg, #2a1542, #1a0a2e);
  color: var(--text-primary);
  border: 2px solid var(--border-line);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-subsection);
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  color: inherit;
}

.card__meta {
  font-size: var(--fs-small);
  color: inherit;
  opacity: 0.85;
}

/* ---------- 6. 磁贴矩阵 ---------- */
.tile-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-subsection);
  letter-spacing: 1px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 64px;
}

.tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.3);
}

.tile--orange {
  background: linear-gradient(135deg, var(--bg-orange), #e9512e);
}

.tile--purple {
  background: linear-gradient(135deg, var(--bg-purple), #4a148c);
}

.tile--blue {
  background: linear-gradient(135deg, var(--accent-blue), #006a9e);
}

.tile__count {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- 7. 条目列表 ---------- */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid var(--border-line);
  border-radius: 4px 12px 4px 12px;
  padding: 12px;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.item-row:hover {
  background: rgba(0, 176, 255, 0.12);
}

.item-row__main {
  flex: 1 1 auto;
  min-width: 0;
}

.item-row__title {
  font-weight: 700;
  font-size: var(--fs-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-row__meta {
  font-size: var(--fs-micro);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ---------- 8. 标签 ---------- */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  font-size: var(--fs-micro);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--text-primary);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

button.tag-chip:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

button.tag-chip[data-active] {
  background: var(--accent-blue);
  color: #00324a;
  border-color: var(--accent-blue);
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* ---------- 9. 状态徽标 ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-size: var(--fs-micro);
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.6;
  white-space: nowrap;
}

.status-badge--new {
  background: var(--status-new);
  color: #003b1f;
}

.status-badge--finished {
  background: var(--status-finished);
  color: #fff;
}

.status-badge--upcoming {
  background: var(--status-upcoming);
  color: #3d2400;
}

/* ---------- 10. 序号标记 ---------- */
.index-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--accent-blue);
  color: #00324a;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* ---------- 11. 指标条 ---------- */
.metric-bar {
  display: block;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
  max-width: 260px;
}

.metric-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--status-new));
}

/* ---------- 12. 索引条 ---------- */
.index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(26, 10, 46, 0.7);
  border: 2px solid var(--border-line);
  border-radius: 4px 12px 4px 12px;
}

.index-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--fs-small);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.index-bar__link:hover,
.index-bar__link[aria-current="true"] {
  background: var(--card-magenta);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- 13. 横向滑轨 ---------- */
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-magenta) transparent;
}

.rail > * {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.rail::-webkit-scrollbar {
  height: 8px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--card-magenta);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 14. 数据表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border-line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.data-table th {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  letter-spacing: 0.5px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-line);
  color: var(--text-primary);
}

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(74, 20, 140, 0.6);
  color: var(--text-primary);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(0, 176, 255, 0.08);
}

/* ---------- 15. 分页 ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 32px;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border-line);
  color: var(--text-primary);
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pagination__link:hover,
.pagination__link[aria-current="page"] {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #00324a;
}

/* ---------- 16. 图片容器 ---------- */
.media-frame {
  position: relative;
  background: var(--border-line);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.media-frame--poster {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.media-frame > img,
.media-frame > picture,
.media-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 17. 网点纹理 ---------- */
.halftone {
  position: relative;
}

.halftone::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1.6px);
  background-size: 12px 12px;
  pointer-events: none;
  mix-blend-mode: soft-light;
  border-radius: inherit;
}

/* ---------- 18. 头部 ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--card-yellow);
  color: #1a0a2e;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, #6b2d8b 0%, #4a148c 50%, #1a0a2e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-magenta) 0%, var(--card-yellow) 30%, var(--card-green) 60%, var(--accent-blue) 100%);
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-height);
  position: relative;
  z-index: 1;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-brand:hover {
  color: #fff;
}

.site-brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--card-yellow);
  color: #1a0a2e;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  transform: rotate(-8deg);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.site-brand__text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-shadow:
    -2px -2px 0 #4a148c,
    2px -2px 0 #4a148c,
    -2px 2px 0 #4a148c,
    2px 2px 0 #4a148c,
    4px 4px 0 rgba(0, 0, 0, 0.3);
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav__list {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow:
    -1px -1px 0 #2d1b69,
    1px -1px 0 #2d1b69,
    -1px 1px 0 #2d1b69,
    1px 1px 0 #2d1b69;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav__link:hover {
  background: rgba(0, 176, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.site-nav__link[aria-current="page"] {
  background: var(--accent-blue);
  color: #00324a;
  text-shadow: none;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  transform: skewX(-4deg);
}

.site-nav__link[aria-current="page"]:hover {
  color: #00324a;
  background: #7ad4ff;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 5px 6px 5px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.25);
}

.header-search__label {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--card-yellow);
  border-radius: 50%;
  position: relative;
  flex: 0 0 16px;
}

.header-search__label::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 8px;
  height: 2px;
  background: var(--card-yellow);
  transform: rotate(45deg);
}

.header-search__input {
  width: 140px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: var(--fs-small);
  outline: none;
}

.header-search__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.header-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease;
}

.header-search__clear:hover {
  background: var(--card-magenta);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 4px;
  background: rgba(0, 176, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 176, 255, 0.45);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 19. 页脚 ---------- */
.site-footer {
  background: var(--bg-deep-darker);
  margin-top: 64px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-magenta) 0%, var(--card-yellow) 30%, var(--card-green) 60%, var(--accent-blue) 100%);
  z-index: 2;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.site-footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 4px 4px 0 rgba(233, 30, 99, 0.6);
  margin-bottom: 8px;
}

.site-footer__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-subsection);
  color: var(--card-yellow);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.site-footer__links li + li {
  margin-top: 6px;
}

.site-footer__links a {
  color: var(--text-primary);
  font-size: var(--fs-small);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__links a::before {
  content: "›";
  margin-right: 6px;
  color: var(--card-yellow);
  font-weight: 900;
}

.site-footer__links a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.site-footer__contact-line {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-top: 4px;
}

.site-footer__contact-line a {
  color: var(--accent-blue);
}

.site-footer__icp {
  font-size: var(--fs-micro);
  color: var(--text-secondary);
  margin-top: 10px;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-line);
  padding: 16px 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.site-footer__copyright {
  margin-right: auto;
  font-size: var(--fs-micro);
  color: var(--text-secondary);
}

.site-footer__bottom-inner a {
  font-size: var(--fs-micro);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.site-footer__bottom-inner a:hover {
  color: var(--accent-blue);
}

/* ---------- 20. 显示状态 ---------- */
[data-hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  [data-reveal][data-revealed] {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1024px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: linear-gradient(180deg, #4a148c 0%, #1a0a2e 100%);
    border-top: 2px solid var(--border-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }

  .site-nav[data-open] {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .site-nav__item + .site-nav__item {
    margin-top: 2px;
  }

  .site-nav__link {
    padding: 12px 16px;
    font-size: var(--fs-lead);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
  }

  .site-nav__link[aria-current="page"] {
    transform: none;
    border-radius: 4px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-search__input {
    width: 110px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 680px) {
  .header-search {
    display: none;
  }

  .site-brand__text {
    font-size: 22px;
  }

  .site-brand__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .section-band {
    padding: 40px 0;
  }

  .section-head {
    flex-wrap: wrap;
  }

  .tile-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .rail > * {
    width: 180px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 22. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .card,
  .tile,
  .btn,
  .tag-chip,
  .site-nav__link,
  .item-row,
  .media-frame {
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
