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

:root {
  --c-red: #FF1E1E;
  --c-red-dark: #B30000;
  --c-red-pale: #FF6B6B;
  --c-blue: #003366;
  --c-blue-bright: #00AEEF;
  --c-silver: #C0C0C0;
  --c-black: #1A1A1A;
  --c-white: #FFFFFF;

  --font-display: "Arial Black", "Impact", sans-serif;
  --font-body: "Segoe UI", "Microsoft YaHei", sans-serif;

  --content-max: 1280px;
  --gap-sm: 16px;
  --gap-md: 32px;
  --gap-lg: 64px;
  --radius: 6px;

  --header-h: 64px;
  --topbar-h: 0px;
  --header-total: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.3s;
}

@media (min-width: 820px) {
  :root {
    --header-h: 76px;
    --topbar-h: 38px;
    --header-total: 114px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-total);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--c-black);
  color: var(--c-white);
  min-height: 100vh;
  padding-top: var(--header-total);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--c-blue);
  text-decoration: none;
  transition: color var(--speed) var(--ease-out);
}

a:hover {
  color: var(--c-red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

::selection {
  background: var(--c-red);
  color: var(--c-white);
}

:focus-visible {
  outline: 3px solid var(--c-blue-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--gap-sm);
  z-index: 1500;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--speed) var(--ease-out);
}

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

/* ============ 页头 ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(16, 16, 18, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-topbar {
  display: none;
  height: var(--topbar-h);
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--c-red-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 820px) {
  .header-topbar {
    display: flex;
  }
}

.header-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-trust::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-red-pale);
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.85);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.header-season {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.header-main {
  position: relative;
  height: var(--header-h);
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.95) 0%, rgba(28, 28, 28, 0.95) 55%, rgba(34, 10, 10, 0.95) 100%);
  border-bottom: 3px solid var(--c-red);
}

.header-main::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-red) 0%, var(--c-red-dark) 70%, transparent 100%);
  pointer-events: none;
}

.header-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-blue-bright) 92%, transparent 100%);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--content-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--c-white);
}

.brand:hover {
  color: var(--c-white);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  color: var(--c-white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  border-radius: 4px;
  transform: skewX(-10deg);
  box-shadow: 0 4px 18px rgba(255, 30, 30, 0.35);
}

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

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--c-white);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-silver);
  white-space: nowrap;
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--speed) var(--ease-out);
}

.nav-link:hover {
  color: var(--c-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--speed) var(--ease-out);
}

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

.nav-link[aria-current="page"] {
  color: var(--c-white);
  text-shadow: 0 0 16px rgba(255, 30, 30, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.language-switch {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-silver);
  cursor: default;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 12px;
}

.language-switch .lang-active {
  color: var(--c-red-pale);
  font-weight: 900;
}

@media (min-width: 1024px) {
  .language-switch {
    display: inline-block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 4px;
  transition: background var(--speed) var(--ease-out), color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out), transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  display: none;
  background: var(--c-red);
  color: var(--c-white);
  transform: skewX(-8deg);
  box-shadow: 0 4px 20px rgba(255, 30, 30, 0.4);
}

.btn-primary:hover {
  background: var(--c-red-pale);
  color: var(--c-white);
  box-shadow: 0 6px 26px rgba(255, 107, 107, 0.5);
  transform: skewX(-8deg) translateY(-1px);
}

.btn-primary:active {
  transform: skewX(-8deg) translateY(1px);
}

@media (min-width: 768px) {
  .btn-primary {
    display: inline-flex;
  }
}

.btn-ghost {
  border: 1px solid var(--c-silver);
  color: var(--c-white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--c-red);
  color: var(--c-red-pale);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}

.nav-toggle:hover {
  border-color: var(--c-red);
  background: rgba(255, 30, 30, 0.12);
}

.nav-toggle-text {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 16px;
}

.nav-icon > span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease-out), opacity var(--speed) var(--ease-out);
}

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

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

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

@media (max-width: 1023.98px) {
  .main-nav {
    position: fixed;
    top: var(--header-total);
    left: 0;
    right: 0;
    z-index: 950;
    max-height: calc(100vh - var(--header-total));
    overflow-y: auto;
    padding: 14px 18px 22px;
    background: rgba(10, 10, 12, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 3px solid var(--c-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity var(--speed) var(--ease-out), transform var(--speed) var(--ease-out), visibility var(--speed);
  }

  .main-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link::after {
    height: 2px;
    left: 4px;
    right: 4px;
  }

  .nav-link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(255, 30, 30, 0.18), transparent 70%);
    padding-left: 16px;
  }
}

/* ============ 页脚 ============ */

.site-footer {
  position: relative;
  background: linear-gradient(165deg, #0E0E10 0%, #161616 45%, #200A0A 100%);
  color: rgba(255, 255, 255, 0.82);
  margin-top: var(--gap-lg);
}

.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--c-red) 0 18px, #2A0A0A 18px 36px);
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--gap-lg) 24px var(--gap-md);
}

.footer-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-blue-bright) 0%, transparent 80%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--gap-lg);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--c-white);
}

.footer-brand-en {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-silver);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--c-red);
  padding-left: 12px;
  margin-bottom: 14px;
}

.footer-trust {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 46ch;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red-pale);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--c-blue-bright);
  flex-shrink: 0;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--speed) var(--ease-out), padding-left var(--speed) var(--ease-out);
}

.footer-list a:hover {
  color: var(--c-red-pale);
  padding-left: 4px;
}

.footer-contact-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-season {
  color: var(--c-red-pale);
  font-weight: 700;
}

/* ============ 页面骨架 ============ */

.page-main {
  background: var(--c-white);
  color: var(--c-black);
  min-height: 60vh;
}

.section {
  padding: var(--gap-lg) 0;
}

.section-tight {
  padding: var(--gap-md) 0;
}

.section-dark {
  background: var(--c-black);
  color: var(--c-white);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.grid {
  display: grid;
  gap: var(--gap-md);
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-heading {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0C0C0F 0%, #1A1A1D 50%, #2A0A0A 100%);
  color: var(--c-white);
  padding: var(--gap-lg) 0;
  margin-bottom: var(--gap-lg);
}

.page-heading::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 30, 30, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 30, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-heading .container {
  position: relative;
  z-index: 1;
}

/* ============ 编号章节 ============ */

.chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: var(--gap-md);
  flex-wrap: wrap;
}

.chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.9;
  flex-shrink: 0;
  color: rgba(255, 30, 30, 0.28);
}

.chapter-num::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--c-blue-bright);
  margin-left: 14px;
  vertical-align: middle;
}

@supports (-webkit-text-stroke: 2px var(--c-red)) {
  .chapter-num {
    color: transparent;
    -webkit-text-stroke: 2px var(--c-red);
  }
}

.chapter-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: inherit;
}

.chapter-desc {
  max-width: 60ch;
  opacity: 0.72;
  line-height: 1.7;
}

.section-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}

/* ============ 面包屑与分页 ============ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--c-silver);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-silver);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-black);
  font-weight: 700;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--gap-md) 0;
}

.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-black);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease-out), color var(--speed) var(--ease-out), background var(--speed) var(--ease-out);
}

.page-link:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}

.page-link[aria-current="page"] {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

/* ============ 卡片与数据模块 ============ */

.card {
  position: relative;
  padding: 24px;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-dark {
  background: linear-gradient(135deg, var(--c-black) 0%, #222222 100%);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.08);
}

.card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--c-black);
  margin-bottom: 8px;
}

.card-dark .card-title {
  color: var(--c-white);
}

.card-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.62);
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.65);
}

.card-stat {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: var(--c-red);
  margin-bottom: 6px;
}

.research-card {
  position: relative;
  padding: 28px;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.research-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0 30%, var(--c-blue-bright) 30% 45%, transparent 45%);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ============ 图片占位容器 ============ */

.media-box,
.media-box-sm {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #2A2A2E 0%, #101014 100%);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}

.media-box-sm {
  aspect-ratio: 4 / 3;
}

.media-box::after,
.media-box-sm::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0 16px;
}

.media-frame {
  position: relative;
  overflow: hidden;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, transparent 42%, rgba(255, 255, 255, 0.12) 42% 44%, transparent 44%);
  pointer-events: none;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  padding: var(--gap-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-frame::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 30, 30, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 4px;
  background: var(--c-red);
}

/* ============ 交互组件 ============ */

[data-scroll-progress] {
  position: fixed;
  top: var(--header-total);
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1200;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-red-pale) 50%, var(--c-blue-bright) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

[data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--gap-md);
}

[data-filter] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--speed) var(--ease-out), color var(--speed) var(--ease-out), border-color var(--speed) var(--ease-out), box-shadow var(--speed) var(--ease-out);
}

[data-filter]:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}

[data-filter][data-active="true"] {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(255, 30, 30, 0.3);
}

.filter-bar-dark [data-filter] {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.28);
}

.filter-bar-dark [data-filter]:hover {
  border-color: var(--c-red-pale);
  color: var(--c-red-pale);
}

.filter-bar-dark [data-filter][data-active="true"] {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

[data-filter-item][data-filtered="true"] {
  display: none;
}

/* ============ 动效与无障碍 ============ */

@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;
  }

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