﻿/* ============================================================
   瑶台月下 - 全站样式表
   主题色：浅紫色 | 辅助色：蓝色、粉色
   ============================================================ */

/* ========== CSS 变量定义 ========== */
:root {
  /* 主色系 - 浅紫色 */
  --primary-50: #faf5ff;
  --primary-100: #f3e8ff;
  --primary-200: #e9d5ff;
  --primary-300: #d8b4fe;
  --primary-400: #c084fc;
  --primary-500: #a855f7;
  --primary-600: #9333ea;
  --primary-700: #7e22ce;
  --primary-800: #6b21a8;
  --primary-900: #581c87;

  /* 辅助色 - 蓝色（张月） */
  --blue-50: #f0f9fe;
  --blue-100: #e0f2fc;
  --blue-200: #b9e4f9;
  --blue-300: #94d5f3;
  --blue-400: #6cc3ed;
  --blue-500: #4ab0e6;
  --blue-600: #2e98d6;
  --blue-700: #1f7bb6;
  --blue-800: #1a5f8e;
  --blue-900: #164a6e;

  /* 辅助色 - 粉色（陈瑶） */
  --pink-50: #fff0f6;
  --pink-100: #ffe0ed;
  --pink-200: #fdcfe1;
  --pink-300: #fcc2d7;
  --pink-400: #f9a5c1;
  --pink-500: #f587ab;
  --pink-600: #ef6792;
  --pink-700: #e44978;
  --pink-800: #c93865;
  --pink-900: #a32c52;

  /* 中性色 */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* 背景色 */
  --bg-primary: #faf7ff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5f0ff;

  /* 文字色 */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-on-dark: #ffffff;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.3);
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* 字体 */
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif CJK SC', 'Songti SC', 'SimSun', serif;
}

/* ========== 重置样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

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

/* ========== 通用容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 60px;
}

/* ========== 按钮样式 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: white;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-logo {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'ZCOOL KuaiLe', 'Ma Shan Zheng', 'STKaiti', cursive;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--primary-600);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-600);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

/* ========== 页面标题区 ========== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
}

.fanworks-page-section {
  padding-top: 60px;
}

/* ========== 首页英雄区 ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.hero-scene {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(88, 28, 135, 0.06) 0%,
    rgba(88, 28, 135, 0) 25%,
    rgba(250, 247, 255, 0) 94%,
    rgba(250, 247, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 56px 24px 48px;
  text-align: center;
  background: var(--bg-primary);
}

.hero-content a {
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: #46364f;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  animation: fadeInUp 1s ease-out;
  font-family: var(--font-serif);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6a5873;
  margin: 0 0 28px;
  letter-spacing: 0.18em;
}

.hero-name-link {
  color: white;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0 4px;
}

.hero-name-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.hero-name-link:hover {
  text-shadow: 0 0 20px currentColor;
}

.hero-name-link:hover::after {
  width: 100%;
}

.hero-name-blue {
  color: #4877a8;
}

.hero-name-blue:hover {
  color: #315d89;
}

.hero-name-pink {
  color: #b25783;
}

.hero-name-pink:hover {
  color: #913d67;
}

.hero-subtitle-sep {
  margin: 0 4px;
  opacity: 0.8;
}

.hero-subtitle-suffix {
  margin-left: 6px;
  opacity: 0.8;
}

.hero-cta .btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: #8a7b90;
  font-size: 0.85rem;
  animation: bounce 2s infinite;
  pointer-events: none;
}

.hero-scroll-hint::after {
  content: '';
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.8;
}

/* ========== 固定标题效果 ========== */
.sticky-title {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-primary) 70%, transparent 100%);
  opacity: 0;
  transform: translateY(-20px);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.sticky-title.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.15em;
}

/* ========== 同人作品集 ========== */
.fanworks {
  background: var(--bg-secondary);
  position: relative;
}

.fanworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.fanwork-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.fanwork-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.fanwork-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-100);
}

.fanwork-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fanwork-card:hover .fanwork-cover img {
  transform: scale(1.08);
}

.fanwork-type {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-600);
}

.fanwork-info {
  padding: 20px;
}

.fanwork-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.fanwork-author {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.fanwork-author-link {
  color: var(--primary-500);
  text-decoration: none;
  transition: color 0.2s;
}

.fanwork-author-link:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.fanwork-cover-link {
  display: block;
  text-decoration: none;
}

.fanwork-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.fanwork-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 萌萌拼豆页 ========== */
.pingdou-header {
  background: linear-gradient(135deg, #f3e8ff 0%, #e0f2fe 50%, #fce7f3 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.pingdou-header .page-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.pingdou-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.pingdou-gallery {
  columns: 4;
  column-gap: 16px;
}

.pingdou-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-normal);
}

.pingdou-item:hover {
  transform: translateY(-3px);
}

.pingdou-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.pingdou-item:hover img {
  transform: scale(1.03);
}

.pingdou-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.pingdou-item:hover .pingdou-item-overlay {
  opacity: 1;
}

.pingdou-item-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pingdou-item-author {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .pingdou-gallery {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .pingdou-gallery {
    columns: 2;
    column-gap: 10px;
  }
  .pingdou-item {
    margin-bottom: 10px;
  }
}

/* 拼豆 lightbox */
.pingdou-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pingdou-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.pingdou-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.pingdou-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.pingdou-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pingdou-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.pingdou-lightbox-content img {
  max-width: 90vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pingdou-lightbox-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #f0f0f0;
  background: white;
}

.pingdou-lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.pingdou-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.pingdou-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.4);
}

.pingdou-download-btn span {
  font-size: 1rem;
}

@media (max-width: 640px) {
  .pingdou-lightbox-footer {
    padding: 12px 16px;
  }
  .pingdou-download-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .pingdou-lightbox-title {
    font-size: 0.9rem;
  }
}

/* ========== 留言板页 ========== */
.liuyan-header {
  background: linear-gradient(135deg, #fdf4ff 0%, #e0f2fe 40%, #fce7f3 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.liuyan-header .page-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.liuyan-input-section {
  padding-top: 40px;
  padding-bottom: 20px;
}

.liuyan-input-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 16px;
  border: 1px solid var(--primary-100);
}

.liuyan-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.liuyan-input-main {
  flex: 1;
  min-width: 0;
}

.liuyan-identity {
  display: none;
}

.liuyan-identity-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.liuyan-identity-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.liuyan-textarea {
  width: 100%;
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color var(--transition-fast);
  background: #fafafa;
  line-height: 1.6;
}

.liuyan-textarea:focus {
  outline: none;
  border-color: var(--primary-400);
  background: white;
}

.liuyan-textarea::placeholder {
  color: var(--text-tertiary);
}

.liuyan-input-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.liuyan-count {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.liuyan-submit-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary-500), #ec4899);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.liuyan-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.4);
}

.liuyan-submit-btn:active {
  transform: translateY(0);
}

.liuyan-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 1rem;
}

.liuyan-list-section {
  padding-top: 20px;
  padding-bottom: 80px;
}

.liuyan-list-header {
  margin-bottom: 20px;
}

.liuyan-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.liuyan-list-icon {
  font-size: 1.3rem;
}

.liuyan-list-count {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-500);
  background: var(--primary-50);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.liuyan-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.liuyan-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  border: 1px solid #f3f4f6;
  transition: all var(--transition-fast);
}

.liuyan-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
  transform: translateY(-2px);
}

.liuyan-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-300), #f9a8d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.liuyan-item-content {
  flex: 1;
  min-width: 0;
}

.liuyan-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.liuyan-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-600);
}

.liuyan-item-time {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.liuyan-item-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

.liuyan-item-footer {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

.liuyan-item-action {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color var(--transition-fast);
  user-select: none;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.liuyan-item-action:hover {
  color: var(--primary-500);
  background: var(--primary-50);
}

.liuyan-item-action.liked {
  color: #ec4899;
}

.liuyan-item-action.active {
  color: var(--primary-500);
  background: var(--primary-50);
}

.liuyan-item-action.liuyan-delete:hover {
  color: #ef4444;
  background: #fef2f2;
}

.liuyan-item-action .delete-icon {
  font-size: 0.8rem;
}

.liuyan-item-action .like-icon,
.liuyan-item-action .comment-icon {
  font-size: 0.8rem;
}

/* 评论区 */
.liuyan-comments-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.liuyan-comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.liuyan-comment-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.liuyan-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-200), #fbcfe8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.liuyan-comment-body {
  flex: 1;
  min-width: 0;
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 8px 10px;
}

.liuyan-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.liuyan-comment-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.liuyan-comment-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-600);
}

.liuyan-comment-time {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.liuyan-comment-delete {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.liuyan-comment-delete:hover {
  color: #ef4444;
  opacity: 1;
}

.liuyan-comment-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

/* 评论输入框 */
.liuyan-comment-input-area {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.liuyan-comment-input {
  flex: 1;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: inherit;
  resize: none;
  min-height: 36px;
  max-height: 100px;
  transition: border-color var(--transition-fast);
  background: white;
  line-height: 1.5;
}

.liuyan-comment-input:focus {
  outline: none;
  border-color: var(--primary-400);
}

.liuyan-comment-submit {
  padding: 0 14px;
  background: linear-gradient(135deg, var(--primary-500), #ec4899);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.liuyan-comment-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.liuyan-comment-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.liuyan-empty {
  text-align: center;
  padding: 60px 20px;
  display: none;
}

.liuyan-empty.show {
  display: block;
}

.liuyan-empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.liuyan-empty-text {
  font-size: 1rem;
  color: var(--text-tertiary);
}

@media (max-width: 640px) {
  .liuyan-input-card {
    padding: 16px;
    gap: 12px;
  }
  .liuyan-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .liuyan-item {
    padding: 16px;
  }
}

/* ========== 合作舞台区 ========== */
.stage {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.stage-container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.stage-video {
  flex: 1;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--gray-200);
}

.stage-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.stage-video:hover img {
  transform: scale(1.05);
}

.stage-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.stage-video:hover .stage-video-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.stage-video:hover .play-btn {
  transform: scale(1.1);
  background: white;
}

.play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid var(--primary-600);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.stage-info {
  flex: 1;
}

.stage-label {
  font-size: 0.9rem;
  color: var(--primary-500);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.stage-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.stage-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* 倒计时 */
.countdown {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--pink-500), var(--blue-500));
}

.countdown-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.countdown-number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.countdown-unit {
  font-size: 1.2rem;
  color: var(--text-tertiary);
}

/* ========== 双人交互按钮区 ========== */
.duo-section {
  background: var(--bg-secondary);
  padding: 120px 0;
}

.duo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.duo-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.duo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0.1;
  z-index: 0;
}

.duo-card.blue {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 2px solid var(--blue-200);
}

.duo-card.pink {
  background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
  border: 2px solid var(--pink-200);
}

.duo-card:hover {
  transform: translateY(-8px);
}

.duo-card.blue:hover {
  box-shadow: var(--shadow-glow-blue);
  border-color: var(--blue-400);
}

.duo-card.pink:hover {
  box-shadow: var(--shadow-glow-pink);
  border-color: var(--pink-400);
}

.duo-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.duo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duo-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.duo-card.blue .duo-name {
  color: var(--blue-700);
}

.duo-card.pink .duo-name {
  color: var(--pink-700);
}

.duo-role {
  font-size: 0.95rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.duo-card.blue .duo-role {
  color: var(--blue-500);
}

.duo-card.pink .duo-role {
  color: var(--pink-500);
}

.duo-btn {
  position: relative;
  z-index: 1;
}

/* ========== 个人页面 - 英雄区 ========== */
.profile-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.profile-hero.blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
}

.profile-hero.pink {
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.profile-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  height: 140%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  transform: rotate(6deg);
  transform-origin: right center;
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 85%);
  mask-image: linear-gradient(to left, black 40%, transparent 85%);
}

.profile-hero.blue::after {
  background-image: url('../images/zhangyue-person-bg.png');
}

.profile-hero.pink::after {
  background-image: url('../images/chenyao-person-bg.png');
}

.profile-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
}

.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-xl);
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.profile-info .english-name {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.profile-info .bio {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  line-height: 1.7;
}

.back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 500;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-4px);
}

/* ========== 个人页面 - 内容区 ========== */
.profile-content {
  padding: 80px 0;
}

.profile-section {
  margin-bottom: 80px;
}

.profile-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  border-radius: 3px;
}

.profile-page.blue .profile-section-title::before {
  background: var(--blue-500);
}

.profile-page.pink .profile-section-title::before {
  background: var(--pink-500);
}

/* 基本信息卡片 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.info-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-page.blue .info-value {
  color: var(--blue-700);
}

.profile-page.pink .info-value {
  color: var(--pink-700);
}

/* 应援信息 */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
}

.profile-page.blue .support-card {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

.profile-page.pink .support-card {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}

.support-card-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 12px;
}

.support-card-value {
  font-size: 2rem;
  font-weight: 700;
}

/* 社交平台 */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.social-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.profile-page.blue .social-card:hover {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.profile-page.pink .social-card:hover {
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.social-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.profile-page.blue .social-icon {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
}

.profile-page.pink .social-icon {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
}

.social-platform {
  font-weight: 600;
  color: var(--text-primary);
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
}

.profile-page.blue .timeline::before {
  background: linear-gradient(to bottom, var(--blue-400), var(--blue-200));
}

.profile-page.pink .timeline::before {
  background: linear-gradient(to bottom, var(--pink-400), var(--pink-200));
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-sm);
}

.profile-page.blue .timeline-dot {
  background: var(--blue-500);
}

.profile-page.pink .timeline-dot {
  background: var(--pink-500);
}

.timeline-year {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-page.blue .timeline-year {
  color: var(--blue-600);
}

.profile-page.pink .timeline-year {
  color: var(--pink-600);
}

.timeline-event {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 作品网格 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

.work-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-cover {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-cover img {
  transform: scale(1.06);
}

.work-year {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.work-info {
  padding: 10px 12px;
}

.work-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-primary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-role {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== 婚礼纪录片 ========== */
.wedding-doc {
  background: linear-gradient(180deg, var(--primary-50), var(--bg-light));
}

.section-desc {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.wedding-main {
  margin-bottom: 50px;
}

.wedding-main-video {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(167, 139, 250, 0.3);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wedding-main-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(167, 139, 250, 0.4);
}

.wedding-main-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-300), var(--pink-300), var(--blue-300));
  background-size: cover;
  background-position: center;
}

.wedding-main-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.wedding-main-video:hover .wedding-main-overlay {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.wedding-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.wedding-main-video:hover .wedding-play-btn {
  transform: scale(1.15);
  box-shadow: 0 12px 40px rgba(167, 139, 250, 0.7);
}

.wedding-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.wedding-main-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wedding-main-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-400));
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 2px;
}

.wedding-main-duration {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.wedding-clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.wedding-clip-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.wedding-clip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(167, 139, 250, 0.25);
}

.wedding-clip-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  background-size: cover;
  background-position: center;
}

.wedding-clip-cover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.wedding-clip-card:hover .wedding-clip-cover::after {
  background: rgba(167, 139, 250, 0.3);
}

.wedding-clip-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 1;
}

.wedding-clip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.wedding-clip-card:hover .wedding-clip-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.wedding-clip-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.wedding-clip-info {
  padding: 18px 20px;
}

.wedding-clip-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.wedding-clip-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* 婚礼纪录片响应式 */
@media (max-width: 900px) {
  .wedding-clips {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .wedding-play-btn {
    width: 70px;
    height: 70px;
  }
  
  .wedding-play-btn svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 600px) {
  .wedding-clips {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .wedding-main-video {
    border-radius: 14px;
  }
  
  .wedding-play-btn {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .wedding-play-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .section-desc {
    font-size: 0.9rem;
    margin-bottom: 35px;
  }
}

/* ========== 共创视频 ========== */
.co-creation {
  background: linear-gradient(180deg, var(--bg-light), var(--primary-50));
}

.cocreate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.cocreate-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
  transition: all 0.3s ease;
}

.cocreate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}

.cocreate-cover-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cocreate-cover-link:not([data-placeholder="true"]):hover .cocreate-cover {
  transform: scale(1.02);
}

.cocreate-cover {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cocreate-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cocreate-platform {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
}

/* 封面 hover 遮罩 + 播放按钮 */
.cocreate-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(147, 112, 219, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.cocreate-cover-link:hover .cocreate-cover-overlay {
  opacity: 1;
}

.cocreate-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-600);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cocreate-cover-link:hover .cocreate-play-btn {
  transform: scale(1.1);
  background: white;
}

.cocreate-info {
  padding: 18px 20px 20px;
}

.cocreate-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

/* 共创视频占位卡片 */
.cocreate-placeholder {
  pointer-events: none;
}

.cocreate-placeholder .cocreate-cover {
  background: linear-gradient(135deg, var(--primary-100), var(--pink-100)) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cocreate-placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-500);
  opacity: 0.6;
  letter-spacing: 2px;
}

.cocreate-placeholder .cocreate-link {
  opacity: 0.4;
  cursor: default;
}

/* 响应式 */
@media (max-width: 768px) {
  .cocreate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cocreate-links {
    flex-direction: column;
  }
}

/* ========== 糖点页面 ========== */
.sugar-hero {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--pink-100) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.sugar-timeline-section {
  background: var(--bg-light);
}

/* ===== 分组式双列交错时间线 ===== */
.sugar-timeline {
  max-width: 960px;
  margin: 50px auto 0;
  position: relative;
  padding: 20px 0;
}

/* 中间的竖轴线 */
.sugar-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--primary-200) 0%,
    var(--primary-400) 20%,
    var(--pink-400) 50%,
    var(--primary-400) 80%,
    var(--primary-200) 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
}

/* 阶段标题 */
.timeline-phase {
  position: relative;
  margin: 50px 0 30px;
  text-align: center;
  z-index: 2;
}

.timeline-phase-header {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(147, 112, 219, 0.15);
  border: 2px solid var(--primary-200);
  position: relative;
}

.timeline-phase-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.timeline-phase-text {
  text-align: left;
}

.timeline-phase-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-700);
  margin: 0;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-phase-period {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.timeline-phase-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-300), transparent);
  z-index: -1;
}

/* 事件卡片容器 */
.timeline-card-item {
  position: relative;
  width: 45%;
  margin-bottom: 25px;
  z-index: 1;
}

.timeline-card-item.left {
  left: 0;
  text-align: right;
}

.timeline-card-item.right {
  left: 55%;
  text-align: left;
}

.timeline-card-item.timeline-card-big {
  width: 48%;
}

.timeline-card-item.timeline-card-big.left {
  left: 0;
}

.timeline-card-item.timeline-card-big.right {
  left: 52%;
}

/* 卡片本体 */
.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(147, 112, 219, 0.1);
  border: 1px solid var(--primary-100);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(147, 112, 219, 0.18);
  border-color: var(--primary-300);
}

.timeline-card-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 8px;
  font-family: 'Georgia', serif;
}

.timeline-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.4;
}

.timeline-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* 重要事件卡片 */
.timeline-card-important {
  background: linear-gradient(135deg, #fdf4ff, #fff0f5);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.timeline-card-important::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-400), var(--pink-400));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.timeline-card-important .timeline-card-date {
  font-size: 0.9rem;
  color: var(--pink-600);
}

.timeline-card-important .timeline-card-title {
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-card-important .timeline-card-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* 有媒体的卡片提示图标 */
.timeline-media-icon {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== hover 弹出浮层 ===== */
.timeline-popup {
  position: absolute;
  top: 50%;
  width: 260px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(147, 112, 219, 0.25);
  border: 1px solid var(--primary-200);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  pointer-events: none;
}

.timeline-popup.left {
  right: calc(100% + 20px);
  transform-origin: right center;
}

.timeline-popup.right {
  left: calc(100% + 20px);
  transform-origin: left center;
}

.timeline-card-item.has-media:hover .timeline-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.timeline-popup-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: linear-gradient(135deg, var(--primary-100), var(--pink-100));
  overflow: hidden;
}

.timeline-popup-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-popup-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-600);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.timeline-popup-media:hover .timeline-popup-play {
  background: var(--primary-500);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.timeline-popup-info {
  padding: 12px 16px;
}

.timeline-popup-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-popup-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: Georgia, serif;
}

.timeline-popup-link {
  display: block;
  margin: 0 16px 12px;
  padding: 8px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.timeline-popup-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(147, 112, 219, 0.3);
}

/* 时间轴上的圆点 */
.timeline-card-dot {
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary-400);
  box-shadow: 0 0 0 4px var(--primary-100);
  z-index: 3;
}

.left .timeline-card-dot {
  right: -31px;
}

.right .timeline-card-dot {
  left: -31px;
}

.timeline-dot-big {
  width: 24px;
  height: 24px;
  top: 20px;
  border-color: var(--pink-500);
  box-shadow: 0 0 0 5px var(--pink-100), 0 0 16px rgba(239, 103, 146, 0.5);
}

.left .timeline-dot-big {
  right: -35px;
}

.right .timeline-dot-big {
  left: -35px;
}

/* 响应式：移动端改成单列 */
@media (max-width: 768px) {
  .sugar-timeline::before {
    left: 20px;
  }

  .timeline-phase-header {
    padding: 12px 20px;
  }

  .timeline-phase-title {
    font-size: 1rem;
  }

  .timeline-phase-icon {
    font-size: 1.4rem;
  }

  .timeline-card-item,
  .timeline-card-item.left,
  .timeline-card-item.right,
  .timeline-card-item.timeline-card-big.left,
  .timeline-card-item.timeline-card-big.right {
    width: calc(100% - 50px);
    left: 50px;
    text-align: left;
  }

  .timeline-card-dot,
  .left .timeline-card-dot,
  .right .timeline-card-dot {
    left: -38px;
    right: auto;
  }

  .timeline-dot-big,
  .left .timeline-dot-big,
  .right .timeline-dot-big {
    left: -42px;
    right: auto;
  }
}

/* 糖点分类标签 */
.sugar-categories {
  background: linear-gradient(180deg, var(--bg-light), var(--primary-50));
}

.sugar-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.sugar-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--primary-200);
  background: white;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.sugar-tab-btn:hover {
  border-color: var(--primary-400);
  color: var(--primary-600);
  transform: translateY(-2px);
}

.sugar-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-500), var(--pink-400));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.sugar-tab-icon {
  font-size: 1.1rem;
}

.sugar-tab-content {
  margin-top: 40px;
}

.sugar-category-desc {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.sugar-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.sugar-item-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.08);
  transition: all 0.3s ease;
  display: block;
}

.sugar-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(239, 103, 146, 0.15);
}

.sugar-item-cover {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: linear-gradient(135deg, var(--pink-200), var(--primary-300));
  overflow: hidden;
}

.sugar-item-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sugar-item-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.sugar-item-info {
  padding: 16px;
}

.sugar-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.sugar-item-author {
  font-size: 0.8rem;
  color: var(--primary-500);
  margin: 0 0 8px 0;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

a.sugar-item-author:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.sugar-item-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

.fanwork-placeholder {
  cursor: default;
  pointer-events: none;
}

.fanwork-placeholder .fanwork-cover {
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200)) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fanwork-placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-500);
  opacity: 0.7;
}

/* 首页糖点入口卡片 */
.sugar-entrance {
  background: linear-gradient(180deg, var(--primary-50), var(--bg-light));
}

.sugar-entrance-card {
  background: linear-gradient(135deg, var(--pink-100) 0%, var(--primary-100) 100%);
  border-radius: 24px;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.sugar-entrance-content {
  flex: 1;
  max-width: 500px;
}

.sugar-entrance-subtitle {
  font-size: 0.95rem;
  color: var(--primary-600);
  margin: 0 0 10px 0;
  font-weight: 500;
}

.sugar-entrance-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sugar-entrance-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 28px 0;
  line-height: 1.8;
}

.btn-sugar {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-400));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-sugar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 103, 146, 0.4);
}

.sugar-entrance-deco {
  position: relative;
  width: 200px;
  height: 200px;
}

.deco-heart {
  position: absolute;
  font-size: 3rem;
  color: var(--pink-300);
  animation: float 3s ease-in-out infinite;
}

.deco-heart-2 {
  top: 40px;
  right: 30px;
  font-size: 4rem;
  color: var(--primary-300);
  animation-delay: 0.5s;
}

.deco-heart-3 {
  bottom: 20px;
  left: 20px;
  font-size: 2.5rem;
  color: var(--pink-400);
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* 响应式 */
@media (max-width: 768px) {
  .sugar-entrance-card {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }

  .sugar-entrance-title {
    font-size: 1.8rem;
  }

  .sugar-entrance-deco {
    width: 120px;
    height: 120px;
    margin-top: 20px;
  }

  .sugar-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sugar-tabs {
    gap: 8px;
  }

  .sugar-tab-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

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

/* ========== 页脚 ========== */
.footer {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.footer-subtitle {
  font-size: 0.9rem;
  margin-bottom: 24px;
  opacity: 0.8;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--primary-500);
  margin: 0 auto 24px;
  border-radius: 1px;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-icp {
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 10px;
}

.footer-icp a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-icp a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 968px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .stage-container {
    flex-direction: column;
    gap: 40px;
  }

  .stage-info {
    text-align: center;
  }

  .duo-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .profile-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-info .bio {
    margin: 0 auto;
  }

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

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

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .navbar .container {
    gap: 10px;
  }

  .nav-logo {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .countdown-number {
    font-size: 3rem;
  }

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

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .duo-card {
    padding: 40px 24px;
    min-height: 250px;
  }

  .duo-avatar {
    width: 90px;
    height: 90px;
  }

  .duo-name {
    font-size: 1.4rem;
  }

  .profile-hero {
    height: auto;
    padding: 80px 0 60px;
  }

  .profile-avatar {
    width: 140px;
    height: 140px;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .info-card {
    padding: 16px;
  }

  .back-btn {
    top: 20px;
    left: 16px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* ========== 浪七糖点汇总页 ========== */
.langqi-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.langqi-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  opacity: 0.9;
}

.langqi-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(148, 213, 243, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(252, 194, 215, 0.3) 0%, transparent 50%);
}

.langqi-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.langqi-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #fff, #f0e6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.langqi-subtitle {
  font-size: 1.3rem;
  margin-bottom: 12px;
  opacity: 0.95;
  font-weight: 500;
}

.langqi-desc {
  font-size: 1rem;
  opacity: 0.85;
}

/* 阶段导航 */
.langqi-phases-nav {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-100);
  padding: 12px 0;
  overflow-x: auto;
}

.phase-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.phase-tab {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.phase-tab:hover {
  background: var(--primary-100);
  transform: translateY(-1px);
}

.phase-tab.active {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  box-shadow: 0 4px 15px rgba(147, 112, 219, 0.3);
}

.phase-tab-icon {
  margin-right: 6px;
}

/* 主体内容 */
.langqi-main {
  padding: 40px 0 80px;
}

.langqi-phase {
  margin-bottom: 60px;
  scroll-margin-top: 120px;
}

.langqi-phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-100);
}

.langqi-phase-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border-radius: 16px;
}

.langqi-phase-info h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.langqi-phase-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* 糖点条目 */
.langqi-items {
  position: relative;
  padding-left: 40px;
}

.langqi-items::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-300), var(--primary-500), var(--pink-300));
  border-radius: 2px;
}

.langqi-item {
  position: relative;
  margin-bottom: 30px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(147, 112, 219, 0.08);
  transition: all 0.3s;
}

.langqi-item:hover {
  box-shadow: 0 8px 30px rgba(147, 112, 219, 0.15);
  transform: translateX(4px);
}

.langqi-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 30px;
  width: 14px;
  height: 14px;
  background: var(--primary-400);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(147, 112, 219, 0.3);
}

.langqi-item.important::before {
  width: 20px;
  height: 20px;
  left: -37px;
  top: 27px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-400));
  box-shadow: 0 0 15px rgba(238, 130, 238, 0.5);
}

.langqi-item.important {
  border: 2px solid var(--primary-200);
  background: linear-gradient(135deg, #fff, #faf5ff);
}

.langqi-item-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-600);
  background: var(--primary-100);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.langqi-item.important .langqi-item-date {
  background: linear-gradient(135deg, var(--primary-500), var(--pink-400));
  color: white;
}

.langqi-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.langqi-item.important .langqi-item-title {
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.langqi-item-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.langqi-item-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.langqi-item-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s;
  background: linear-gradient(135deg, var(--primary-200), var(--primary-300));
}

.langqi-item-img:hover {
  transform: scale(1.05);
}

.langqi-item-source {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.langqi-item-source a {
  color: var(--primary-500);
  text-decoration: none;
}

.langqi-item-source a:hover {
  text-decoration: underline;
}

/* ========== 浪七汇总 - 合集卡片 ========== */
.langqi-collections-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary-100), var(--pink-100));
  color: var(--primary-600);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.langqi-collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(147, 112, 219, 0.15);
  border-color: var(--primary-300);
}

.collection-card-cover {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  overflow: hidden;
}

.collection-card-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-card-cover img {
  transform: scale(1.05);
}

.collection-cover-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-300), var(--pink-300));
}

.collection-cover-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  opacity: 0.8;
}

.collection-card-period {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-700);
  font-weight: 500;
}

.collection-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.collection-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.collection-tag {
  padding: 3px 10px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 500;
}

.collection-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.collection-read-more {
  font-size: 0.85rem;
  color: var(--primary-500);
  font-weight: 500;
  transition: color 0.2s ease;
}

.collection-card:hover .collection-read-more {
  color: var(--primary-600);
}

/* ========== 浪七汇总 - 分割线 ========== */
.langqi-divider {
  padding: 30px 0;
  background: var(--bg-secondary);
}

.divider-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.divider-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-300), transparent);
}

.divider-text {
  font-size: 0.9rem;
  color: var(--primary-500);
  font-weight: 500;
  white-space: nowrap;
}

/* ========== 合集详情页 ========== */
.detail-back-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.detail-back-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.detail-back-btn:hover {
  color: var(--primary-700);
}

.detail-hero {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.detail-period-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-700);
  font-weight: 500;
  margin-bottom: 20px;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(147, 112, 219, 0.3);
}

.detail-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 24px;
}

.detail-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.detail-highlight-tag {
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--primary-700);
  font-weight: 500;
}

.detail-source-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: white;
  color: var(--primary-600);
  text-decoration: none;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(147, 112, 219, 0.2);
}

.detail-source-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 112, 219, 0.3);
}

.detail-main {
  padding: 50px 0 80px;
  background: var(--bg-secondary);
}

.detail-items {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.detail-items::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-300), var(--pink-300));
  border-radius: 2px;
}

.detail-item {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.detail-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--primary-400);
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(147, 112, 219, 0.12);
  border-color: var(--primary-300);
}

.detail-item:hover::before {
  background: var(--primary-500);
  transform: scale(1.2);
}

.detail-item.important {
  border-left: 4px solid var(--primary-500);
}

.detail-item.important::before {
  width: 18px;
  height: 18px;
  left: -36px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  box-shadow: 0 0 12px rgba(147, 112, 219, 0.4);
}

.detail-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.detail-item-date {
  font-size: 0.85rem;
  color: var(--primary-500);
  font-weight: 600;
}

.detail-item-star {
  font-size: 0.75rem;
  color: #f59e0b;
  font-weight: 500;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 10px;
}

.detail-item-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.detail-item.important .detail-item-title {
  font-size: 1.25rem;
}

.detail-item-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-item-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-item-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.detail-item-img:hover {
  transform: scale(1.05);
}

.detail-item-link {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.detail-link-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-500);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.detail-link-btn:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.detail-empty {
  text-align: center;
  padding: 80px 20px;
}

.detail-empty-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.detail-empty-sub {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.detail-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-style: italic;
}

/* ========== 糖点联产详情页 ========== */
.sugar-detail-main {
  padding: 50px 0 80px;
  background: var(--bg-secondary);
}

/* 分阶段小合集模式 */
.sugar-detail-phases {
  max-width: 1000px;
  margin: 0 auto;
}

.sugar-phase {
  margin-bottom: 50px;
}

.sugar-phase:last-child {
  margin-bottom: 0;
}

.sugar-phase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-200);
}

.sugar-phase-title-row {
  flex: 1;
}

.sugar-phase-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sugar-phase-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary-500), var(--pink-500));
  border-radius: 2px;
}

.sugar-phase-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 14px;
}

.sugar-phase-count {
  font-size: 0.85rem;
  color: var(--primary-500);
  font-weight: 500;
  padding: 4px 12px;
  background: var(--primary-100);
  border-radius: 12px;
  white-space: nowrap;
}

/* ===== 古风篇章模式（七夕联产） ===== */
.sugar-detail-chapters {
  padding: 50px 0 80px;
}

.sugar-chapters-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.sugar-chapters-divider {
  color: var(--primary-300);
  font-size: 0.8rem;
}

.sugar-chapters-intro-text {
  font-size: 1rem;
  color: var(--primary-500);
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
}

/* 蝶恋花主题专属装饰 */
.die-lian-hua-intro-text {
  max-width: 500px;
  width: 80%;
  height: auto;
  opacity: 0.9;
}

/* hero区蝴蝶装饰 */
.die-lian-hua-hero {
  position: relative;
}

.detail-hero-butterfly {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  animation: butterfly-float 4s ease-in-out infinite;
}

.detail-hero-butterfly-1 {
  top: -10px;
  left: 10%;
  width: 60px;
  transform: rotate(-15deg);
  animation-delay: 0s;
}

.detail-hero-butterfly-2 {
  top: 20px;
  right: 8%;
  width: 50px;
  transform: rotate(20deg) scaleX(-1);
  animation-delay: 1.5s;
}

@keyframes butterfly-float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-12px) rotate(var(--rotate, 5deg));
  }
}

.sugar-chapters-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.sugar-chapter-card {
  position: relative;
  display: block;
  padding: 30px 36px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 245, 255, 0.9));
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.sugar-chapter-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-400), var(--pink-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sugar-chapter-card::after {
  content: '🦋';
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.sugar-chapter-card.die-lian-hua-card::after {
  opacity: 0.15;
}

.sugar-chapter-card:hover {
  transform: translateX(8px);
  border-color: var(--primary-200);
  box-shadow: 0 12px 32px rgba(147, 112, 219, 0.15);
  background: linear-gradient(135deg, rgba(249, 245, 255, 0.95), rgba(252, 231, 243, 0.9));
}

.sugar-chapter-card:hover::before {
  opacity: 1;
}

.sugar-chapter-card.die-lian-hua-card:hover::after {
  opacity: 0.5;
  transform: translateY(-4px) rotate(-10deg);
}

.sugar-chapter-number {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary-100), var(--pink-100));
  color: var(--primary-600);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.sugar-chapter-title-group {
  margin-bottom: 10px;
}

.sugar-chapter-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  font-family: 'STKaiti', 'KaiTi', 'SimKai', serif;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--primary-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sugar-chapter-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 1px;
}

.sugar-chapter-date {
  font-size: 0.82rem;
  color: var(--primary-400);
  margin-bottom: 12px;
  font-weight: 500;
}

.sugar-chapter-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px 0;
  max-width: 500px;
}

.sugar-chapter-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-500);
  font-weight: 500;
  font-size: 0.88rem;
}

.sugar-chapter-arrow {
  transition: transform 0.3s ease;
}

.sugar-chapter-card:hover .sugar-chapter-arrow {
  transform: translateX(6px);
}

.sugar-chapter-connector {
  display: none;
}

.sugar-phase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sugar-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 18px 18px;
  background: var(--bg-card);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.sugar-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-400), var(--pink-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sugar-list-item:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(251, 207, 232, 0.08));
  border-color: var(--primary-200);
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 8px 24px rgba(147, 112, 219, 0.12);
}

.sugar-list-item:hover::before {
  opacity: 1;
}

.sugar-list-item.featured {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(251, 207, 232, 0.08));
  border: 1px solid var(--primary-200);
}

.sugar-list-item.featured::before {
  opacity: 1;
  width: 4px;
}

.sugar-list-item.featured::after {
  content: '✦';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.7rem;
  color: var(--primary-300);
}

/* 彩蛋专属样式 */
.sugar-list-item.egg {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 207, 232, 0.08));
  border: 1px solid #fde68a;
}

.sugar-list-item.egg::before {
  opacity: 1;
  width: 4px;
  background: linear-gradient(180deg, #fbbf24, #f472b6);
}

.sugar-list-item.egg::after {
  content: '🥚';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.9rem;
}

.sugar-list-item.egg .sugar-list-order {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.sugar-list-item.egg:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 207, 232, 0.12));
  border-color: #fbbf24;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}

/* 封面缩略图 */
.sugar-list-cover {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  display: flex;
  align-items: center;
  justify-content: center;
}

.sugar-list-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sugar-list-cover-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sugar-list-cover-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

/* 主体内容 */
.sugar-list-item-main {
  flex: 1;
  min-width: 0;
}

.sugar-list-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sugar-list-order {
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  color: white;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.sugar-list-type {
  padding: 3px 10px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}

.sugar-list-star {
  padding: 3px 10px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #92400e;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.sugar-list-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.sugar-list-item:hover .sugar-list-title {
  color: var(--primary-600);
}

.sugar-list-item.featured .sugar-list-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.sugar-list-author {
  font-size: 0.82rem;
  color: var(--primary-500);
  font-weight: 500;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sugar-list-author-icon {
  color: var(--pink-400);
  font-size: 0.7rem;
}

.sugar-list-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 右侧箭头 */
.sugar-list-item-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sugar-list-arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-100), var(--pink-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sugar-list-item:hover .sugar-list-arrow-circle {
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(147, 112, 219, 0.3);
}

/* 时间线列表模式 */
.sugar-detail-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.sugar-detail-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-300), var(--pink-300));
  border-radius: 2px;
}

.sugar-timeline-list {
  position: relative;
}

.sugar-timeline-item {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.sugar-timeline-item.clickable {
  cursor: pointer;
}

.sugar-timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--primary-400);
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  transition: all 0.3s ease;
  z-index: 1;
}

.sugar-timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(147, 112, 219, 0.12);
  border-color: var(--primary-300);
}

.sugar-timeline-item:hover::before {
  background: var(--primary-500);
  transform: scale(1.2);
}

.sugar-timeline-item.important {
  border-left: 4px solid var(--primary-500);
}

.sugar-timeline-item.important::before {
  width: 18px;
  height: 18px;
  left: -36px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  box-shadow: 0 0 12px rgba(147, 112, 219, 0.4);
}

.sugar-timeline-dot {
  display: none;
}

.sugar-timeline-content {
  position: relative;
}

.sugar-timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.sugar-timeline-order {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-100);
  padding: 4px 12px;
  border-radius: 12px;
}

.sugar-timeline-type {
  font-size: 0.78rem;
  color: var(--primary-500);
  background: var(--primary-50);
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
}

.sugar-timeline-star {
  font-size: 0.75rem;
  color: #f59e0b;
  font-weight: 500;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 10px;
}

.sugar-timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.sugar-timeline-item.important .sugar-timeline-title {
  font-size: 1.2rem;
}

.sugar-timeline-author {
  font-size: 0.85rem;
  color: var(--primary-500);
  margin-bottom: 12px;
  font-weight: 500;
}

.sugar-timeline-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sugar-timeline-image {
  margin-bottom: 16px;
}

.sugar-timeline-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sugar-timeline-image img:hover {
  transform: scale(1.02);
}

.sugar-timeline-link {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.sugar-timeline-link-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-500);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sugar-timeline-link-btn:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.sugar-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.sugar-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.sugar-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(147, 112, 219, 0.15);
  border-color: var(--primary-300);
}

.sugar-detail-card.featured {
  border: 2px solid var(--primary-400);
}

.sugar-detail-card-cover {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: linear-gradient(135deg, var(--primary-200), var(--pink-200));
  overflow: hidden;
}

.sugar-detail-card-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sugar-detail-card:hover .sugar-detail-card-cover img {
  transform: scale(1.05);
}

.sugar-detail-cover-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-300), var(--pink-300));
}

.sugar-detail-cover-placeholder span {
  font-size: 3rem;
  opacity: 0.8;
}

.sugar-detail-card-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-700);
  font-weight: 600;
}

.sugar-detail-card-order {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary-500), var(--pink-500));
  color: white;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(147, 112, 219, 0.3);
}

.sugar-detail-card-star {
  position: absolute;
  top: 44px;
  right: 12px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.sugar-detail-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sugar-detail-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sugar-detail-card-author {
  font-size: 0.8rem;
  color: var(--primary-500);
  margin-bottom: 10px;
  font-weight: 500;
}

.sugar-detail-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sugar-detail-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.sugar-detail-read-more {
  font-size: 0.85rem;
  color: var(--primary-500);
  font-weight: 500;
  transition: color 0.2s ease;
}

.sugar-detail-card:hover .sugar-detail-read-more {
  color: var(--primary-600);
}

@media (max-width: 768px) {
  .langqi-title {
    font-size: 2.2rem;
  }

  .langqi-subtitle {
    font-size: 1rem;
  }

  .langqi-items {
    padding-left: 30px;
  }

  .langqi-item::before {
    left: -26px;
    width: 12px;
    height: 12px;
  }

  .langqi-item.important::before {
    width: 16px;
    height: 16px;
    left: -28px;
  }

  .langqi-item-img {
    width: 90px;
    height: 90px;
  }

  .langqi-phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .langqi-collections-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .langqi-collections-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .collection-card-body {
    padding: 12px;
  }

  .collection-card-title {
    font-size: 0.9rem;
  }

  .collection-card-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  .collection-card-tags {
    display: none;
  }

  .collection-card-footer {
    padding: 10px 12px;
  }

  .collection-read-more {
    font-size: 0.75rem;
  }

  .collection-cover-placeholder span {
    font-size: 2rem;
  }

  .divider-line {
    max-width: 60px;
  }

  .detail-hero {
    padding: 40px 0 35px;
  }

  .detail-title {
    font-size: 1.5rem;
  }

  .detail-description {
    font-size: 0.9rem;
  }

  .detail-highlight-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .detail-main {
    padding: 30px 0 60px;
  }

  .detail-items {
    padding-left: 30px;
  }

  .detail-items::before {
    left: 8px;
  }

  .detail-item {
    padding: 16px;
    margin-bottom: 18px;
  }

  .detail-item::before {
    left: -26px;
    width: 12px;
    height: 12px;
    top: 22px;
  }

  .detail-item.important::before {
    width: 14px;
    height: 14px;
    left: -27px;
  }

  .detail-item-title {
    font-size: 1rem;
  }

  .detail-item.important .detail-item-title {
    font-size: 1.05rem;
  }

  .detail-item-content {
    font-size: 0.85rem;
  }

  .detail-item-img {
    width: 80px;
    height: 80px;
  }

  .sugar-detail-main {
    padding: 30px 0 60px;
  }

  .sugar-detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  .sugar-detail-card-body {
    padding: 12px;
  }

  .sugar-detail-card-title {
    font-size: 0.9rem;
  }

  .sugar-detail-card-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  .sugar-detail-card-footer {
    padding: 10px 12px;
  }

  .sugar-detail-read-more {
    font-size: 0.75rem;
  }

  .sugar-detail-cover-placeholder span {
    font-size: 2rem;
  }

  .sugar-detail-card-type {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .sugar-detail-card-order {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .sugar-detail-card-star {
    font-size: 0.65rem;
    padding: 3px 8px;
    top: 38px;
  }

  /* 分阶段模式移动端 */
  .sugar-phase {
    margin-bottom: 36px;
  }

  .sugar-phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }

  .sugar-phase-title {
    font-size: 1.1rem;
  }

  .sugar-phase-title::before {
    height: 20px;
  }

  .sugar-phase-desc {
    font-size: 0.8rem;
    margin-left: 14px;
  }

  .sugar-phase-count {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .sugar-phase-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  /* 古风篇章移动端 */
  .sugar-detail-chapters {
    padding: 30px 0 60px;
  }

  .sugar-chapters-intro {
    margin-bottom: 28px;
    gap: 12px;
  }

  .sugar-chapters-intro-text {
    font-size: 0.88rem;
    letter-spacing: 1px;
  }

  .sugar-chapters-container {
    gap: 14px;
  }

  .sugar-chapter-card {
    padding: 22px 24px;
    border-radius: 16px;
  }

  .sugar-chapter-card::after {
    top: 18px;
    right: 20px;
    font-size: 1.2rem;
  }

  .sugar-chapter-number {
    font-size: 0.72rem;
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .sugar-chapter-title {
    font-size: 1.3rem;
    letter-spacing: 3px;
  }

  .sugar-chapter-subtitle {
    font-size: 0.8rem;
  }

  .sugar-chapter-desc {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  /* 分阶段列表移动端 */
  .sugar-list-item {
    padding: 14px 16px 14px 14px;
    gap: 14px;
    border-radius: 14px;
  }

  .sugar-list-cover {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .sugar-list-cover-icon {
    font-size: 1.4rem;
  }

  .sugar-list-badge-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .sugar-list-order {
    font-size: 0.68rem;
    padding: 2px 8px;
  }

  .sugar-list-type {
    font-size: 0.65rem;
    padding: 2px 8px;
  }

  .sugar-list-star {
    font-size: 0.65rem;
    padding: 2px 8px;
  }

  .sugar-list-title {
    font-size: 0.95rem;
  }

  .sugar-list-item.featured .sugar-list-title {
    font-size: 1rem;
  }

  .sugar-list-author {
    font-size: 0.75rem;
  }

  .sugar-list-desc {
    display: none;
  }

  .sugar-list-arrow-circle {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  /* 时间线模式移动端 */
  .sugar-detail-timeline {
    padding-left: 30px;
  }

  .sugar-detail-timeline::before {
    left: 8px;
  }

  .sugar-timeline-item {
    padding: 16px;
    margin-bottom: 18px;
  }

  .sugar-timeline-item::before {
    left: -26px;
    width: 12px;
    height: 12px;
    top: 20px;
  }

  .sugar-timeline-item.important::before {
    width: 14px;
    height: 14px;
    left: -27px;
  }

  .sugar-timeline-title {
    font-size: 1rem;
  }

  .sugar-timeline-item.important .sugar-timeline-title {
    font-size: 1.05rem;
  }

  .sugar-timeline-text {
    font-size: 0.85rem;
  }

  .sugar-timeline-order {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .sugar-timeline-type {
    font-size: 0.7rem;
    padding: 2px 8px;
  }

  .sugar-timeline-star {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
}

/* ========== Q版装饰元素 ========== */

/* 标题旁的Q版小头像 */
.qban-title-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 8px;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
  border: 2px solid white;
  object-fit: cover;
}

/* 页面底部双人Q版装饰 */
.qban-footer-decor {
  display: flex;
  justify-content: center;
  padding: 40px 20px 20px;
}

.qban-footer-decor img {
  width: 180px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.15));
}

/* 板块标题Q版装饰 */
.section-title-qban {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.section-title-qban .qban-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* 留言板Q版头像 */
.liuyan-item-avatar.qban-avatar {
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.liuyan-item-avatar.qban-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* 侧边浮动Q版装饰（只在大屏显示） */
@media (min-width: 1024px) {
  .qban-float-left,
  .qban-float-right {
    position: fixed;
    bottom: 80px;
    width: 100px;
    height: auto;
    opacity: 0.6;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .qban-float-left:hover,
  .qban-float-right:hover {
    opacity: 0.9;
  }

  .qban-float-left {
    left: 20px;
  }

  .qban-float-right {
    right: 20px;
  }
}

/* 个人页hero区Q版头像 */
.person-hero-qban {
  position: absolute;
  bottom: -30px;
  right: 40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  object-fit: cover;
  z-index: 2;
}

@media (max-width: 768px) {
  .person-hero-qban {
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: -20px;
  }

  .qban-footer-decor img {
    width: 120px;
  }

  .qban-title-icon {
    width: 36px;
    height: 36px;
  }
}

/* ========== 手绘装饰元素 ========== */

/* 首页 hero 装饰 */
.hero-decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

.hero-decor-1 {
  top: 15%;
  left: 8%;
  width: 80px;
  transform: rotate(-15deg);
  animation: float 4s ease-in-out infinite;
}

.hero-decor-2 {
  top: 25%;
  right: 10%;
  width: 90px;
  transform: rotate(12deg);
  animation: float 5s ease-in-out infinite 0.5s;
}

.hero-decor-3 {
  bottom: 25%;
  left: 12%;
  width: 70px;
  transform: rotate(8deg);
  animation: float 4.5s ease-in-out infinite 1s;
}

.hero-decor-4 {
  bottom: 30%;
  right: 8%;
  width: 75px;
  transform: rotate(-10deg);
  animation: float 5.5s ease-in-out infinite 0.3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-15px) rotate(var(--rotate, 0deg));
  }
}

/* 板块标题手绘装饰 */
.section-title-handdrawn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.section-title-handdrawn .hd-decor {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.85;
}

.section-title-handdrawn .hd-decor.left {
  transform: scaleX(-1);
}

/* 个人页手绘装饰 */
.profile-decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

/* 张月页 - 红枣 + 小狗 */
.profile-hero.blue .profile-decor-reddate {
  top: 12%;
  left: 5%;
  width: 90px;
  opacity: 0.6;
  transform: rotate(-12deg);
  animation: float 5s ease-in-out infinite;
}

.profile-hero.blue .profile-decor-dog {
  bottom: 15%;
  left: 8%;
  width: 100px;
  opacity: 0.55;
  transform: rotate(8deg);
  animation: float 6s ease-in-out infinite 0.8s;
}

/* 陈瑶页 - 橘子 + 兔子 */
.profile-hero.pink .profile-decor-orange {
  top: 15%;
  left: 5%;
  width: 85px;
  opacity: 0.6;
  transform: rotate(-15deg);
  animation: float 5s ease-in-out infinite 0.3s;
}

.profile-hero.pink .profile-decor-rabbit {
  bottom: 18%;
  left: 6%;
  width: 95px;
  opacity: 0.55;
  transform: rotate(8deg);
  animation: float 6s ease-in-out infinite 1s;
}

/* 内容区小装饰 */
.section-decor-corner {
  position: absolute;
  width: 60px;
  opacity: 0.25;
  pointer-events: none;
}

.section-decor-tl {
  top: 20px;
  left: 20px;
  transform: rotate(-10deg);
}

.section-decor-tr {
  top: 20px;
  right: 20px;
  transform: rotate(10deg);
}

.section-decor-bl {
  bottom: 20px;
  left: 20px;
  transform: rotate(10deg);
}

.section-decor-br {
  bottom: 20px;
  right: 20px;
  transform: rotate(-10deg);
}

/* 响应式 - 装饰元素 */
@media (max-width: 768px) {
  .hero-decor-1,
  .hero-decor-2,
  .hero-decor-3,
  .hero-decor-4 {
    width: 50px;
  }

  .profile-hero.blue .profile-decor-orange,
  .profile-hero.blue .profile-decor-dog,
  .profile-hero.pink .profile-decor-reddate,
  .profile-hero.pink .profile-decor-rabbit {
    width: 60px;
  }

  .section-title-handdrawn .hd-decor {
    width: 32px;
    height: 32px;
  }
}

/* ========== 首页微缩场景底部穿透动画 ========== */
.hero-sitting-videos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -298px;
  height: 55%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.sitting-video {
  position: absolute;
  bottom: 0;
  width: auto;
  height: 100%;
  max-height: 420px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(to top, black 55%, transparent 100%);
  mask-image: linear-gradient(to top, black 55%, transparent 100%);
}

.sitting-zhangyue {
  left: 10%;
  transform: scaleX(-1);
}

.sitting-chenyao {
  right: 10%;
}

@media (max-width: 900px) {
  .hero-sitting-videos {
    bottom: -178px;
    height: 45%;
  }
  .sitting-video {
    max-height: 260px;
  }
  .sitting-zhangyue { left: 2%; }
  .sitting-chenyao { right: 2%; }
}

@media (max-width: 640px) {
  .hero-sitting-videos {
    bottom: -98px;
    height: 38%;
  }
  .sitting-video {
    max-height: 180px;
  }
}

/* ========== 个人页坐立动画 ========== */
.profile-sitting-video {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  height: 85%;
  max-height: 520px;
  bottom: -158px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}

.profile-sitting-zhangyue {
  right: -2%;
  transform: scaleX(-1);
}

.profile-sitting-chenyao {
  right: -2%;
}

@media (max-width: 900px) {
  .profile-sitting-video {
    height: 65%;
    max-height: 320px;
    bottom: -98px;
  }
}

@media (max-width: 640px) {
  .profile-sitting-video {
    height: 50%;
    max-height: 220px;
    bottom: -68px;
  }
}
/* ============ 背景音乐唱片 ============ */
.bgm-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.bgm-toggle:hover { transform: scale(1.08); }
.bgm-toggle:active { transform: scale(0.95); }

/* 黑胶唱片 */
.bgm-record {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #2a2a2a 0%, #0a0a0a 55%, #000 100%);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.35),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  animation: bgm-spin 4s linear infinite;
  animation-play-state: paused;
}
.bgm-toggle.playing .bgm-record { animation-play-state: running; }

/* 唱片纹路 */
.bgm-record::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.03) 2px,
    rgba(255,255,255,0.03) 3px
  );
}

/* 唱片区（粉色/蓝色匹配主题） */
.bgm-record-inner {
  position: absolute;
  top: 50%; left: 50%;
  width: 42%; height: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb6c1, #ff6b9d);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
}
.bgm-record-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 22%; height: 22%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #111;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}

/* 播放/暂停图标（叠在唱片上，不旋转） */
.bgm-play-icon, .bgm-pause-icon {
  position: absolute;
  width: 18px; height: 18px;
  color: rgba(255,255,255,0.85);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s ease;
}
.bgm-toggle:not(.playing) .bgm-play-icon {
  opacity: 1; transform: scale(1);
}
.bgm-toggle.playing .bgm-pause-icon {
  opacity: 1; transform: scale(1);
}
.bgm-toggle.playing .bgm-play-icon { opacity: 0; }
.bgm-toggle:not(.playing) .bgm-pause-icon { opacity: 0; }

@keyframes bgm-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 导航栏滚动后遮挡问题 */
.navbar.scrolled ~ .bgm-toggle,
body.scrolled .bgm-toggle { top: 14px; }

/* 移动端 */
@media (max-width: 640px) {
  .bgm-toggle { width: 42px; height: 42px; top: 12px; right: 12px; }
  .bgm-play-icon, .bgm-pause-icon { width: 15px; height: 15px; }
}
