/* ===== 全局样式 ===== */
:root {
  --primary: #e8a0b0;
  --primary-light: #fce4ec;
  --primary-dark: #d4778f;
  --secondary: #b8a9d4;
  --accent: #a8d8c8;
  --bg: #fef9f5;
  --bg-card: #ffffff;
  --bg-soft: #fff5f8;
  --text: #4a4048;
  --text-light: #8b7d88;
  --text-lighter: #b0a4ac;
  --border: #f0e4ec;
  --shadow: 0 2px 20px rgba(200, 160, 180, 0.12);
  --shadow-hover: 0 8px 30px rgba(200, 160, 180, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #1a1620;
  --bg-card: #241e2c;
  --bg-soft: #2d2638;
  --text: #e8dde4;
  --text-light: #b0a0bc;
  --text-lighter: #8b7d98;
  --border: #3a3045;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
  --primary-light: #3a2a38;
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  transition: background 0.5s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(248, 187, 208, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 60%, rgba(184, 169, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(168, 216, 200, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 { font-family: 'Noto Serif SC', serif; font-weight: 600; }

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

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 22, 32, 0.85);
}

.nav-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo-icon { font-size: 1.5rem; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 3em;
  margin-left: 3em;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(20deg) scale(1.1);
  box-shadow: var(--shadow);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 160px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 36px 0 16px;
  font-size: 0.85rem;
  background: var(--bg-card);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.search-box input:focus {
  width: 200px;
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  right: 12px;
  font-size: 0.85rem;
  pointer-events: none;
}

/* ===== 移动端导航（汉堡按钮 + 抽屉菜单，PC 端隐藏） ===== */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-toggle:hover { box-shadow: var(--shadow); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 200;
}
.mobile-overlay.open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  max-width: 80vw;
  background: var(--bg-card);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-drawer-close {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
}
.mobile-drawer-links a .mobile-link-icon { font-size: 1.2rem; }
.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  background: var(--bg-soft);
  color: var(--primary-dark);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-container { padding: 0 20px; }
  .nav-right { margin-right: 12px; margin-left: 12px; gap: 10px; }
}

/* ===== 布局 ===== */
.main-container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
}

.content-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.main-container-full {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}

/* ===== 卡片通用 ===== */
.section-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.section-card:hover {
  box-shadow: var(--shadow-hover);
}

.section-card h2 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 { margin-bottom: 0; }

.section-more {
  font-size: 0.85rem;
  color: var(--primary-dark);
  transition: var(--transition);
}

.section-more:hover { opacity: 0.7; }

/* ===== Hero Card ===== */
.hero-card {
  background: linear-gradient(135deg, #fff, #fff5f8);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-soft));
}

.hero-decoration {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 4s ease-in-out infinite;
}

.decoration-1 { top: 20px; right: 60px; animation-delay: 0s; }
.decoration-2 { bottom: 30px; right: 100px; animation-delay: 1.5s; }
.decoration-3 { top: 50%; right: 30px; animation-delay: 0.8s; }

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

.hero-content {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero-avatar .avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce4ec, #f3e5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.hero-text h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.highlight {
  background: linear-gradient(180deg, transparent 70%, #fce4ec 70%);
  padding: 0 4px;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-pink { background: #fce4ec; color: #d4778f; }
.tag-purple { background: #ede7f6; color: #9575cd; }
.tag-blue { background: #e0f2f1; color: #4db6ac; }

.hero-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 120, 160, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ===== 最新说说（首页短心情流） ===== */
.shuoshuo-list { display: flex; flex-direction: column; gap: 16px; }

.shuoshuo-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.shuoshuo-item:hover {
  background: var(--bg-soft);
  transform: translateX(4px);
}

.shuoshuo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.shuoshuo-body {
  flex: 1;
  min-width: 0;
}

.shuoshuo-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.shuoshuo-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-lighter);
  flex-wrap: wrap;
}

.shuoshuo-tag {
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.7rem;
}

/* ===== 说说页（独立页面说说流） ===== */
.shuoshuo-feed { display: flex; flex-direction: column; gap: 20px; }

.shuoshuo-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.shuoshuo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.shuoshuo-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.shuoshuo-card-head .shuoshuo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.shuoshuo-head-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.shuoshuo-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.shuoshuo-time {
  font-size: 0.72rem;
  color: var(--text-lighter);
}

.shuoshuo-card-head .shuoshuo-tag {
  margin-left: auto;
  font-size: 0.72rem;
}

.shuoshuo-card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

.shuoshuo-card-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.shuoshuo-share {
  margin-left: auto;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.shuoshuo-share:hover { opacity: 0.7; }

/* ===== 长文卡片（说说页内穿插） ===== */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.post-cover {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-cover-icon {
  font-size: 3.5rem;
  opacity: 0.8;
}

.post-body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-meta-top .shuoshuo-tag {
  font-size: 0.72rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
}

.post-date {
  font-size: 0.72rem;
  color: var(--text
lighter);
}

/* ===== 筛选栏 ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 6px 18px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary-dark); }

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* ===== 作品展示 ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: var(--radius-sm);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

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

.work-icon { font-size: 2rem; }

/* ===== 侧边栏 ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.side-card:hover { box-shadow: var(--shadow-hover); }

.side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--text);
}

.mood-text { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.mood-detail { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.mood-music { font-size: 0.8rem; color: var(--text-light); }
.music-name { color: var(--primary-dark); }

.habit-list { display: flex; flex-direction: column; gap: 14px; }

.habit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.habit-icon { font-size: 1.3rem; flex-shrink: 0; }

.habit-item h4 { font-size: 0.9rem; }
.habit-item p { font-size: 0.78rem; color: var(--text-lighter); }

/* 友情链接（侧栏 mini） */
.friend-mini-list { display: flex; flex-direction: column; gap: 12px; }

.friend-mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.friend-mini-item:hover { background: var(--bg-soft); }

.friend-mini-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.friend-mini-info h4 { font-size: 0.88rem; }
.friend-mini-info span { font-size: 0.75rem; color: var(--text-lighter); }

/* 我在追 */
.chasing-list { display: flex; flex-direction: column; gap: 8px; }

.chasing-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chasing-emoji { font-size: 1.2rem; }

.chasing-info { flex: 1; display: flex; align-items: center; gap: 8px; }
.chasing-info h4 { font-size: 0.88rem; }
.chasing-tag {
  font-size: 0.68rem;
  padding: 1px 8px;
  border-radius: 8px;
  color: #fff;
}
.chasing-tag-drama { background: #f48fb1; }
.chasing-tag-book { background: #9575cd; }
.chasing-tag-show { background: #4db6ac; }

.chasing-ep { font-size: 0.78rem; color: var(--text-lighter); }

.chasing-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.chasing-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* ===== 全宽小目标 ===== */
.universe-band {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.universe-band-inner {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.universe-band-header { text-align: center; margin-bottom: 28px; }
.universe-band-header h2 { font-size: 1.3rem; }
.universe-band-sub { font-size: 0.82rem; color: var(--text-lighter); }

.universe-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.universe-side { display: flex; flex-direction: column; gap: 16px; }

.universe-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
}

.universe-emoji { font-size: 1.8rem; flex-shrink: 0; }

.universe-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.universe-num { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.universe-label { font-size: 0.82rem; color: var(--text-light); }
.universe-progress {
  height: 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.universe-progress i { display: block; height: 100%; background: rgba(255,255,255,0.95); border-radius: 3px; }

.universe-center {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}
.universe-center-emoji { font-size: 2rem; }

/* ===== 页面标题 ===== */
.page-header {
  text-align: center;
  padding: 40px 0 28px;
  position: relative;
}
.page-header-decoration {
  font-size: 2.5rem;
  margin-bottom: 8px;
  opacity: 0.5;
}
.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.page-header p {
  font-size: 0.85rem;
  color: var(--text-lighter);
}

/* ===== 关于页 ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.about-hero-left { display: flex; align-items: center; gap: 18px; }
.about-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce4ec, #f3e5f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow);
}
.about-basic h2 { font-size: 1.4rem; margin-bottom: 4px; }
.about-role { font-size: 0.88rem; color: var(--text-light); margin-bottom: 12px; }
.about-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.about-intro { font-size: 0.92rem; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.about-quote {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.95rem;
  color: var(--primary-dark);
  padding: 14px 18px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hobby-list, .trait-list, .skill-list, .like-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hobby-item, .trait-item {
  display: flex; gap: 14px;
}
.hobby-icon, .trait-icon { font-size: 1.6rem; flex-shrink: 0; }
.hobby-item h4, .trait-item h4 { font-size: 0.95rem; }
.hobby-item p, .trait-item p { font-size: 0.82rem; color: var(--text-lighter); }

.skill-item { display: flex; flex-direction: column; gap: 6px; }
.skill-name { font-size: 0.88rem; }
.skill-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

.like-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-direction: row;
}
.like-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.about-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-item { display: flex; gap: 12px; align-items: center; }
.contact-icon { font-size: 1.6rem; }
.contact-label { font-size: 0.75rem; color: var(--text-lighter); }
.contact-value { font-size: 0.92rem; font-weight: 600; }

/* ===== 友情链接页 ===== */
.links-intro-content { display: flex; gap: 14px; align-items: flex-start; }
.links-intro-icon { font-size: 1.8rem; }
.links-intro-content h3 { font-size: 1.05rem; margin-bottom: 4px; }
.links-intro-content p { font-size: 0.85rem; color: var(--text-light); }

.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: var(--transition);
  border: 1px solid transparent;
}
.friend-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.friend-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.friend-info { text-align: center; }
.friend-info h4 { font-size: 0.95rem; }
.friend-info p { font-size: 0.78rem; color: var(--text-lighter); }

.contact-add { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 10px; }
.contact-add-item { display: flex; gap: 14px; align-items: center; }
.contact-add-icon { font-size: 1.6rem; }
.contact-add-item h4 { font-size: 0.9rem; }
.contact-add-item p { font-size: 0.82rem; color: var(--text-lighter); }
.contact-add-tip { text-align: center; font-size: 0.82rem; color: var(--text-lighter); margin-top: 8px; }

/* ===== 文章页 ===== */
.article-wrap {
  max-width: 820px;
  margin: 32px auto;
  padding: 0 24px;
}
.article-header { margin-bottom: 32px; }
.article-header-cover {
  height: 220px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.article-header-icon { font-size: 4rem; opacity: 0.8; }
.article-crumbs { font-size: 0.82rem; color: var(--text-lighter); margin-bottom: 12px; }
.article-crumbs a { color: var(--primary-dark); }
.article-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-title { font-size: 1.7rem; margin-bottom: 10px; line-height: 1.4; }
.article-subtitle { font-size: 0.95rem; color: var(--text-light); margin-bottom: 18px; }
.article-author { display: flex; align-items: center; gap: 12px; }
.article-author .shuoshuo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.shuoshuo-time { font-size: 0.75rem; color: var(--text-lighter); }

.article-content { font-size: 0.95rem; line-height: 2; }
.article-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.article-lead { font-size: 1rem; color: var(--text); margin-bottom: 20px; }
.article-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-family: 'Noto Serif SC', serif;
  color: var(--primary-dark);
  font-style: italic;
}
.article-image {
  height: 240px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-lighter);
  margin: 24px 0;
}
.article-list { padding-left: 20px; margin: 16px 0; }
.article-list li { margin-bottom: 8px; }
.article-tags { display: flex; gap: 10px; margin-top: 28px; }

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.pager-item {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}
.pager-item:hover { box-shadow: var(--shadow); }
.pager-next { text-align: right; }
.pager-label { font-size: 0.78rem; color: var(--text-lighter); }
.pager-title { font-size: 0.92rem; font-weight: 600; }

/* ===== 发布页 ===== */
.publish-wrap {
  max-width: 640px;
  margin: 40px auto;
  padding: 0 20px;
}
.publish-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.publish-card h1 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; color: var(--text-light); margin-bottom: 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  box-sizing: border-box;
}
.field textarea { min-height: 100px; resize: vertical; }
.field-row { display: flex; gap: 16px; }

.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(200, 120, 160, 0.35);
}
.submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }

.result { margin-top: 18px; padding: 14px; border-radius: var(--radius-sm); font-size: 0.88rem; display: none; }
.result.ok { background: #e8f8f0; color: #1e7e4e; display: block; }
.result.err { background: #fdecea; color: #c0392b; display: block; }
.hint { font-size: 0.82rem; color: var(--text-light); margin-top: 16px; line-height: 1.7; }

/* ===== 页脚 ===== */
.footer {
  max-width: 1200px;
  margin: 40px auto 24px;
  padding: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-lighter);
}
.footer p { margin-bottom: 6px; }
.footer a { color: var(--primary-dark); }

/* ===== 鼠标跟随 ===== */
.cursor-trail {
  position: fixed;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,176,0.5), transparent);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .main-container { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .about-hero { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .friend-grid { grid-template-columns: repeat(2, 1fr); }
  .universe-split { grid-template-columns: 1fr; }
  .universe-center { order: 2; }
  .nav-right .search-box { display: none; }
}

@media (max-width: 600px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .work-grid, .friend-grid { grid-template-columns: 1fr; }
  .about-contact .contact-grid { grid-template-columns: 1fr; }
  .article-pager { grid-template-columns: 1fr; }
  .nav-right .theme-toggle { display: none; }
}
