@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Nunito:ital,wght@0,700;0,800;0,900;1,700&display=swap');

/* ============================================================
   CSS 自定义属性
   ============================================================ */
:root {
  --c-red:    #FF6B6B;
  --c-yellow: #FFE66D;
  --c-teal:   #4ECDC4;
  --c-dark:   #1a1a2e;
  --c-mid:    #2d2d44;
  --c-light:  #f7f5ff;
  --c-white:  #ffffff;
  --c-border: #e0dff5;
  --c-text:   #22223b;
  --c-muted:  #6b6b8a;

  --r-card:   18px;
  --r-pill:   999px;

  --nav-h:    68px;

  --font-sans: 'DM Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-display: 'Nunito', 'PingFang SC', 'Hiragino Sans GB', sans-serif;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   重置 & 基础
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-light);
  overflow-x: hidden;
  padding-bottom: var(--nav-h);
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================================
   站点容器
   ============================================================ */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ============================================================
   底部固定导航（药丸胶囊）
   ============================================================ */
.site-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(26, 26, 46, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-top: 2px solid var(--c-red);
}

.nav-inner {
  width: min(1120px, 100% - 1.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.nav-right {
  justify-content: flex-end;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--c-yellow);
  white-space: nowrap;
  letter-spacing: -0.02em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-yellow);
  transition: background 0.2s var(--ease-out), color 0.2s;
}

.nav-brand:hover {
  background: var(--c-yellow);
  color: var(--c-dark);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  min-height: 40px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.nav-pill:hover,
.nav-pill--active {
  border-color: var(--c-red);
  background: var(--c-red);
  color: var(--c-white);
}

/* ============================================================
   跑马灯
   ============================================================ */
.marquee-strip {
  overflow: hidden;
  background: var(--c-red);
  color: var(--c-white);
  padding-block: 0.6rem;
  white-space: nowrap;
}

.marquee-strip--sm {
  background: var(--c-teal);
  padding-block: 0.4rem;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  will-change: transform;
  -webkit-animation: marquee-run 28s linear infinite;
  animation: marquee-run 28s linear infinite;
}

@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mq-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding-inline: 1.5rem;
}

.mq-sep {
  opacity: 0.6;
  padding-inline: 0.25rem;
}

/* ============================================================
   Hero（首页）
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  background: var(--c-dark);
}

.hero__bg-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 25vw, 22rem);
  color: rgba(255,230,109,0.07);
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero__collage {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.hero-img {
  position: absolute;
  width: 55%;
  border-radius: var(--r-card);
  object-fit: cover;
}

.hero-img--a {
  top: 12%;
  left: 10%;
  aspect-ratio: 3/4;
  border: 3px solid var(--c-red);
  z-index: 2;
}

.hero-img--b {
  top: 35%;
  left: 40%;
  aspect-ratio: 4/3;
  border: 3px solid var(--c-yellow);
  z-index: 3;
}

.hero__copy {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 3rem 4rem 3rem 2rem;
  gap: 1.25rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--c-teal);
  text-transform: uppercase;
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--c-white);
  letter-spacing: -0.03em;
}

.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 26ch;
}

/* ============================================================
   频道 Hero
   ============================================================ */
.ch-hero {
  position: relative;
  background: var(--c-dark);
  overflow: hidden;
  padding: 5rem 0 3rem;
  display: flex;
  align-items: center;
}

.ch-hero__bg-num {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 16rem);
  color: rgba(78,205,196,0.08);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.ch-hero__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ch-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--c-teal);
  text-transform: uppercase;
}

.ch-hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  color: var(--c-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ch-hero__desc {
  color: rgba(255,255,255,0.65);
  max-width: 55ch;
}

.ch-siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.sibling-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  min-height: 40px;
  transition: border-color 0.2s, background 0.2s;
}

.sibling-pill:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

/* ============================================================
   文章 Hero
   ============================================================ */
.art-hero {
  position: relative;
  background: var(--c-dark);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.art-hero__bg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 14rem);
  color: rgba(255,107,107,0.06);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  padding: 1rem;
}

.art-hero__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.art-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-hero__copy {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 3rem 3rem 2.5rem;
  gap: 1rem;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.art-meta__channel {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--c-red);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 32px;
}

.art-meta__date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.art-hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--c-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.art-hero__desc {
  color: rgba(255,255,255,0.6);
  max-width: 45ch;
}

/* ============================================================
   关于页 Hero
   ============================================================ */
.about-hero,
.privacy-hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-dark) 60%, var(--c-mid) 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.about-hero__bg,
.privacy-hero__bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 18rem);
  color: rgba(255,230,109,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.about-hero__inner,
.privacy-hero__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-hero__eyebrow,
.privacy-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--c-yellow);
  text-transform: uppercase;
}

.about-hero__h1,
.privacy-hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--c-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-hero__desc,
.privacy-hero__desc {
  color: rgba(255,255,255,0.6);
  max-width: 52ch;
}

/* ============================================================
   主内容区
   ============================================================ */
main {
  flex: 1;
}

.content-section {
  padding-block: 3rem;
}

.page-content {
  max-width: 72ch;
}

.ch-intro {
  max-width: 80ch;
}

.art-body,
.about-body,
.privacy-body {
  max-width: 68ch;
}

/* 正文排版 */
.page-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--c-dark);
  margin-block: 2rem 0.75rem;
  letter-spacing: -0.02em;
}

.page-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-mid);
  margin-block: 1.5rem 0.5rem;
}

.page-content p {
  margin-block: 0 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-block: 0 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-block: 0 0.4rem;
}

.page-content blockquote {
  border-left: 4px solid var(--c-red);
  padding-left: 1.25rem;
  margin-block: 1.5rem;
  color: var(--c-muted);
  font-style: italic;
}

.page-content time {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-dark);
  font-size: 0.8rem;
  font-weight: 700;
  margin-block: 0 1rem;
}

/* ============================================================
   Section 标题
   ============================================================ */
.section-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--c-dark);
  letter-spacing: -0.03em;
  margin-block: 0 1.5rem;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 4px;
  border-radius: 99px;
  background: var(--c-red);
  margin-block: 0.4rem 0;
}

/* ============================================================
   频道卡片
   ============================================================ */
.channels-section,
.ch-articles-section,
.about-channels,
.recent-section,
.related-section {
  padding-block: 2.5rem;
  border-top: 1.5px solid var(--c-border);
}

.ch-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ch-card-item {
  list-style: none;
}

.ch-card {
  position: relative;
  border: 2px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: border-color 0.22s var(--ease-out), transform 0.22s var(--ease-bounce);
  background: var(--c-white);
}

.ch-card:hover {
  border-color: var(--c-red);
  transform: translateY(-3px);
}

.ch-card__num {
  position: absolute;
  top: -0.2em;
  right: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  color: var(--c-yellow);
  opacity: 0.35;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}

.ch-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.ch-card__title a {
  color: var(--c-dark);
  transition: color 0.18s;
}

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

.ch-card__desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.55;
}

.ch-card__arts {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.ch-art-link {
  font-size: 0.8rem;
  color: var(--c-teal);
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-art-link:hover {
  color: var(--c-red);
}

/* ============================================================
   文章卡片
   ============================================================ */
.art-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.art-card-item {
  list-style: none;
  opacity: 0;
  transform: translateY(24px);
}

.art-card-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-out) calc(var(--i, 0) * 0.08s),
              transform 0.5s var(--ease-out) calc(var(--i, 0) * 0.08s);
}

.art-card {
  border: 2px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.22s var(--ease-out), transform 0.22s var(--ease-bounce);
}

.art-card:hover {
  border-color: var(--c-teal);
  transform: translateY(-4px);
}

.art-card__media {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.art-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.art-card:hover .art-card__img {
  transform: scale(1.05);
}

.art-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.art-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.art-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
}

.art-card__title a {
  color: var(--c-dark);
  transition: color 0.18s;
}

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

.art-card__desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   按钮
   ============================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  min-height: 44px;
  cursor: pointer;
  transition: transform 0.18s var(--ease-bounce), filter 0.18s;
}

.btn-pill:hover {
  transform: scale(1.04);
  filter: brightness(1.07);
}

.btn-pill--primary {
  background: var(--c-red);
  color: var(--c-white);
  border: 2px solid var(--c-red);
}

.btn-pill--outline {
  background: transparent;
  color: var(--c-dark);
  border: 2px solid var(--c-dark);
}

.art-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 2rem;
}

/* ============================================================
   Kinetic / 动效
   ============================================================ */
.kinetic-split .ks-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  will-change: opacity, transform;
}

.kinetic-split.is-visible .ks-char {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  transition: opacity 0.45s var(--ease-out) calc(var(--ci, 0) * 0.04s),
              transform 0.45s var(--ease-bounce) calc(var(--ci, 0) * 0.04s);
}

.kinetic-word {
  display: inline-block;
}

/* 打字机用于小元素 */
@keyframes blink-caret {
  0%, 100% { border-right-color: transparent; }
  50%       { border-right-color: var(--c-red); }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.75);
  padding-block: 4rem 2.5rem;
}

.footer-brand-row {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  overflow: hidden;
  margin-bottom: 2rem;
}

.footer-bigword {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 15vw, 10rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  background: linear-gradient(90deg, var(--c-red), var(--c-yellow));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

.footer-cols {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.footer-col__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--c-yellow);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col__text {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  padding-block: 0.25rem;
  transition: color 0.18s;
}

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

.footer-bottom {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-link-sm {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.18s;
}

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

/* ============================================================
   空提示
   ============================================================ */
.empty-tip {
  color: var(--c-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* ============================================================
   响应式断点
   ============================================================ */
@media (max-width: 768px) {
  body {
    padding-bottom: var(--nav-h);
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
  }

  .hero__collage {
    grid-column: 1;
    grid-row: 1;
    min-height: 55vw;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 1.5rem;
  }

  .hero-img--a {
    top: 5%;
    left: 5%;
    width: 50%;
  }

  .hero-img--b {
    top: 30%;
    left: 38%;
    width: 50%;
  }

  .art-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 40vw auto;
    min-height: auto;
  }

  .art-hero__media {
    grid-row: 1;
  }

  .art-hero__copy {
    grid-row: 2;
    padding: 1.75rem 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-inner {
    gap: 0.25rem;
  }

  .nav-pill {
    font-size: 0.68rem;
    padding: 0.35rem 0.5rem;
  }

  .nav-brand {
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__h1 {
    font-size: 1.75rem;
  }

  .nav-pill {
    font-size: 0.62rem;
    padding: 0.3rem 0.4rem;
    min-height: 40px;
  }

  .hero__collage {
    display: none;
  }

  .hero {
    grid-template-rows: 1fr;
  }

  .hero__copy {
    grid-row: 1;
    min-height: 100vh;
    justify-content: center;
  }
}

/* ============================================================
   prefers-reduced-motion 关闭动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    -webkit-animation: none;
    animation: none;
  }

  .kinetic-split .ks-char {
    opacity: 1;
    transform: none;
  }

  .art-card-item {
    opacity: 1;
    transform: none;
  }

  .art-card-item.is-visible {
    transition: none;
  }

  .art-card,
  .ch-card,
  .btn-pill {
    transition: none;
  }
}

/* ── 差异化增强层：减少 CSS 指纹重叠 ── */
@layer base {
  :root {
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-in-expo: cubic-bezier(.95,.05,.795,.035);
    --radius-pill: 9999px;
    --shadow-float: 0 8px 32px -8px rgba(0,0,0,.18);
    --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  }
}
@layer layout {
  .scroll-snap-x {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .scroll-snap-x > * { scroll-snap-align: start; }
  .aspect-video { aspect-ratio: 16 / 9; }
  .aspect-square { aspect-ratio: 1; }
  .aspect-portrait { aspect-ratio: 3 / 4; }
  .content-auto { content-visibility: auto; contain-intrinsic-size: 0 400px; }
  .contain-layout { contain: layout; }
  .contain-paint { contain: paint; }
}
@layer motion {
  @keyframes fade-up {
    from { opacity: 0; translate: 0 24px; }
    to   { opacity: 1; translate: 0 0; }
  }
  @keyframes scale-in {
    from { opacity: 0; scale: .94; }
    to   { opacity: 1; scale: 1; }
  }
  @keyframes shimmer {
    from { mask-position: 200% center; }
    to   { mask-position: -200% center; }
  }
  .anim-fade-up  { animation: fade-up .45s var(--ease-spring) both; }
  .anim-scale-in { animation: scale-in .3s var(--ease-in-expo) both; }
  .skeleton {
    mask-image: linear-gradient(90deg, #0001 25%, #0004 50%, #0001 75%);
    mask-size: 400% 100%;
    animation: shimmer 1.6s infinite linear;
  }
}
@layer components {
  .badge {
    isolation: isolate;
    mix-blend-mode: multiply;
    border-inline: 1px solid currentColor;
    padding-inline: .5em;
    border-radius: var(--radius-pill);
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7em;
  }
  .card-elevated {
    box-shadow: var(--shadow-float);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
  }
  .card-elevated:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow-float), var(--shadow-card);
  }
  .divider {
    border-block-start: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    margin-block: 1.5rem;
  }
  .text-balance { text-wrap: balance; }
  .text-pretty { text-wrap: pretty; }
  .sr-only {
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    block-size: 1px;
    inline-size: 1px;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
  }
  .writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .overline {
    text-decoration: overline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }
  .hyphen { hyphens: auto; overflow-wrap: break-word; }
  .tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
}
@layer print {
  @media print {
    .no-print { display: none !important; }
    body { orphans: 3; widows: 3; }
    h2, h3 { break-after: avoid; page-break-after: avoid; }
    img { max-inline-size: 100%; break-inside: avoid; }
  }
}
