/* ==========================================================================
   米兰新版 Site Kit — 共享 CSS
   版本：pulse-milanapp.com.cn
   ========================================================================== */

/* 1. 变量
   ========================================================================== */
:root {
  --primary-red: #E02A23;
  --primary-black: #0B0B0D;
  --secondary-black: #141417;
  --surface-dark: #1C1C1F;
  --accent-gold: #C9A063;
  --text-high: #F5F5F7;
  --text-mid: #A0A0A8;
  --text-low: #6C6C72;
  --border-line: #2E2E33;
  --success-green: #00D26A;
  --warning-orange: #FF8C00;

  --font-heading: "ZCOOL KuaiHei", "站酷高端黑", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Sans CN", "思源黑体", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --container-w: 1200px;
  --header-h: 72px;
  --header-h-mobile: 64px;
  --radius: 2px;
  --space-section: 112px;
  --space-section-mobile: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset 与基础
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-high);
  background: var(--primary-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--primary-red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-black);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-line);
}

/* 3. 辅助功能
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--primary-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#main-content {
  display: block;
  min-height: 70vh;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* 4. 布局
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }
}

.section {
  padding-block: var(--space-section);
}

@media (max-width: 768px) {
  .section {
    padding-block: var(--space-section-mobile);
  }
}

.section[data-tinted="red"] {
  background: linear-gradient(180deg, rgba(224, 42, 23, 0.1) 0%, transparent 100%);
}

.section[data-tinted="gold"] {
  background: linear-gradient(180deg, rgba(201, 160, 99, 0.08) 0%, transparent 100%);
}

/* 5. 页头
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.35);
  border-bottom: 1px solid rgba(46, 46, 51, 0.45);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header[data-scrolled] {
  background: rgba(11, 11, 13, 0.92);
  border-bottom-color: var(--border-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

@media (max-width: 768px) {
  .header-inner {
    min-height: var(--header-h-mobile);
  }
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-gold) 100%);
  z-index: 10;
  pointer-events: none;
}

/* 品牌标识 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #7A1512 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  transform: skewX(-8deg);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-high);
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
}

@media (max-width: 380px) {
  .brand-text small {
    display: none;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-mid);
  position: relative;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--text-high);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (max-width: 1099px) {
  .nav-list a {
    padding: 10px 10px;
    font-size: 14px;
  }
}

.nav-download {
  display: none;
}

.nav-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 105;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body[data-nav-open] .nav-mask {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body[data-nav-open] {
  overflow: hidden;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 120;
  position: relative;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text-high);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* 6. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--secondary-black);
  border-top: 2px solid var(--primary-red);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 160px at 10% 0%, rgba(224, 42, 23, 0.08), transparent 70%),
    repeating-linear-gradient(-55deg, transparent, transparent 22px, rgba(255, 255, 255, 0.012) 22px, rgba(255, 255, 255, 0.012) 23px);
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-line);
}

.brand-footer .brand-text strong {
  font-size: 20px;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-high);
  transform: skewX(-4deg);
}

.footer-slogan::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--primary-red);
  transform: rotate(45deg);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 56px;
}

.footer-col {
  min-width: 0;
}

.footer-about {
  padding-right: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-high);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-red);
}

.footer-trust {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
}

.footer-list li + li {
  margin-top: 6px;
}

.footer-list a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--accent-gold);
}

.footer-contact li {
  font-size: 14px;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer-about {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border-line);
  background: var(--primary-black);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-block: 16px;
  font-size: 13px;
  color: var(--text-low);
}

.footer-bottom-inner a:hover {
  color: var(--text-mid);
}

/* 7. 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  transform: skewX(-6deg);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn > span {
  display: inline-block;
  transform: skewX(6deg);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 0 rgba(224, 42, 23, 0);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}

.btn-primary:hover {
  background: #C21E18;
  box-shadow: 0 4px 24px rgba(224, 42, 23, 0.4);
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-outline {
  border-color: var(--border-line);
  color: var(--text-high);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #A07D43 100%);
  color: var(--primary-black);
}

.btn-gold:hover {
  filter: brightness(1.08);
}

/* 8. 标签与数据标识
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transform: skewX(-6deg);
  border-radius: 1px;
}

.tag-red {
  background: var(--primary-red);
  color: #fff;
}

.tag-gold {
  background: var(--accent-gold);
  color: var(--primary-black);
}

.tag-outline {
  border: 1px solid var(--border-line);
  color: var(--text-mid);
  background: transparent;
}

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-high);
  background: var(--primary-black);
  border: 1px solid var(--border-line);
  border-radius: 999px;
  white-space: nowrap;
}

.data-chip[data-tone="live"] {
  color: #fff;
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.data-chip[data-tone="gold"] {
  color: var(--primary-black);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* 9. 数据表
   ========================================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text-mid);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-line);
  text-align: left;
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-high);
  background: var(--secondary-black);
}

.data-table tbody tr:hover {
  background: rgba(224, 42, 23, 0.06);
}

/* 10. 卡片
   ========================================================================== */
.card {
  position: relative;
  background: var(--surface-dark);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(224, 42, 23, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* 11. Bento 信息板
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-cell {
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
  padding: 28px;
  background: var(--surface-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.bento-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-red) 0%, transparent 100%);
  opacity: 0.6;
}

.bento-cell[data-float="true"] {
  background: linear-gradient(160deg, rgba(224, 42, 23, 0.12), var(--surface-dark) 55%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .bento-cell[data-span="3"] { grid-column: span 3; }
  .bento-cell[data-span="4"] { grid-column: span 4; }
  .bento-cell[data-span="5"] { grid-column: span 5; }
  .bento-cell[data-span="6"] { grid-column: span 6; }
  .bento-cell[data-span="7"] { grid-column: span 7; }
  .bento-cell[data-span="8"] { grid-column: span 8; }
  .bento-cell[data-span="9"] { grid-column: span 9; }
  .bento-cell[data-span="12"] { grid-column: 1 / -1; }
}

/* 12. 图片容器与图文
   ========================================================================== */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--primary-black) 100%);
}

.media-frame::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 45%;
  height: 120%;
  background: linear-gradient(115deg, rgba(224, 42, 23, 0.28), rgba(224, 42, 23, 0.02) 70%);
  transform: skewX(-12deg);
  z-index: 1;
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 160, 99, 0.25);
  z-index: 2;
  pointer-events: none;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.media-frame[data-ratio="1/1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="4/5"] { aspect-ratio: 4 / 5; }
.media-frame[data-ratio="21/9"] { aspect-ratio: 21 / 9; }
.media-frame[data-ratio="3/2"] { aspect-ratio: 3 / 2; }

.figure {
  margin: 28px 0;
}

.figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
  margin-top: 12px;
}

.figcaption::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 1em;
  background: var(--primary-red);
}

/* 13. 分区标题
   ========================================================================== */
.section-head {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-red) 0%, var(--accent-gold) 100%);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-high);
  transform: skewX(-4deg);
  transform-origin: left center;
}

.section-note {
  display: inline-block;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-low);
  padding-bottom: 4px;
}

.diag-line {
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--primary-red) 0%, rgba(224, 42, 23, 0) 100%);
  transform: skewX(-30deg);
  position: relative;
}

.diag-line::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  transform: rotate(45deg);
}

/* 14. 内页头部
   ========================================================================== */
.page-head {
  position: relative;
  padding-block: calc(var(--header-h) + 56px) 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-line);
  background: linear-gradient(180deg, var(--secondary-black) 0%, var(--primary-black) 100%);
}

.page-head::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(210deg, rgba(224, 42, 23, 0.16), rgba(224, 42, 23, 0) 70%);
  transform: skewX(-14deg);
  transform-origin: top right;
  pointer-events: none;
}

.page-head .breadcrumbs {
  position: relative;
  margin-bottom: 28px;
}

.page-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-high);
  transform: skewX(-4deg);
  transform-origin: left center;
}

.page-intro {
  position: relative;
  max-width: 60ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .page-head {
    padding-block: calc(var(--header-h-mobile) + 40px) 40px;
  }
}

/* 15. 面包屑
   ========================================================================== */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--text-low);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-high);
  font-weight: 600;
}

/* 16. 筛选
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 32px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-line);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  background: var(--secondary-black);
  border: 1px solid var(--border-line);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  color: var(--text-high);
  border-color: var(--text-low);
}

.filter-btn.is-active {
  color: #fff;
  background: var(--primary-red);
  border-color: var(--primary-red);
}

[data-filter-item].is-hidden {
  display: none !important;
}

/* 17. 图例
   ========================================================================== */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--primary-red);
  background: linear-gradient(90deg, rgba(224, 42, 23, 0.08), transparent);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary-red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.legend-dot.is-gold {
  background: var(--accent-gold);
}

.legend-dot.is-outline {
  background: transparent;
  border: 1px solid var(--text-mid);
}

/* 18. 正文容器
   ========================================================================== */
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--text-high);
  font-family: var(--font-heading);
  margin-top: 2em;
}

.entry-content h2 {
  font-size: 26px;
  transform: skewX(-2deg);
}

.entry-content h3 {
  font-size: 20px;
}

.entry-content strong {
  color: var(--text-high);
}

.entry-content a {
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(201, 160, 99, 0.4);
  transition: border-color 0.2s ease;
}

.entry-content a:hover {
  border-bottom-color: var(--accent-gold);
}

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 16px 24px;
  border-left: 4px solid var(--primary-red);
  background: linear-gradient(90deg, rgba(224, 42, 23, 0.08), transparent);
  color: var(--text-high);
  font-weight: 600;
}

.entry-content ul li {
  position: relative;
  padding-left: 20px;
}

.entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  transform: rotate(45deg);
}

/* 19. 表单基础
   ========================================================================== */
input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--secondary-black);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  color: var(--text-high);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-low);
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-high);
}

/* 20. 回到顶部
   ========================================================================== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-line);
  background: rgba(11, 11, 13, 0.85);
  color: var(--text-mid);
  border-radius: 50%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* 21. 滚动显现协议
   ========================================================================== */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 22. 移动端导航抽屉（断点）
   ========================================================================== */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav-download {
    display: flex;
    margin-top: 24px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 32px 40px;
    background: var(--secondary-black);
    border-left: 1px solid var(--border-line);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    z-index: 110;
  }

  .main-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 17px;
    border-left: 3px solid transparent;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    border-left-color: var(--primary-red);
    background: linear-gradient(90deg, rgba(224, 42, 23, 0.15), transparent);
  }
}

/* 23. 减少动效
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
