/* ============================================================
   Love Station UI Enhancements — 情侣恋爱小站 UI 增强样式
   设计理念：柔美粉蓝调 × 丝滑微交互 × 玻璃拟态升级
   ============================================================ */

/* ── 动效缓动曲线 ── */
:root {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.15, 0.64, 1);

  /* 爱意配色 Token */
  --love-pink: #FF7A9C;
  --love-blue: #7AB9FF;
  --love-purple: #C084FC;
  --love-warm: #FBBF24;
  --love-green: #34D399;

  --glass-bg: rgba(255,255,255,0.22);
  --glass-border: rgba(255,255,255,0.45);
  --glass-shadow: 0 8px 32px rgba(31,38,135,0.10);
  --glass-blur: blur(18px);

  --card-radius: 20px;
  --btn-radius: 14px;

  --transition-silk: 280ms var(--ease-out-quart);
  --transition-fast: 160ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
}

/* ── Reduced Motion Baseline ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   1. 全局页面入场动画
   ================================================================ */

/* 渐入上升 */
@keyframes lv-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 渐入缩放 */
@keyframes lv-scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* 渐入左侧 */
@keyframes lv-fadeLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 渐入右侧 */
@keyframes lv-fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 弹入 */
@keyframes lv-popIn {
  0%   { opacity: 0; transform: scale(0.6); }
  70%  { opacity: 1; transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* 心跳升级 */
@keyframes lv-heartbeat {
  0%,100% { transform: scale(1); }
  15%     { transform: scale(1.25); }
  30%     { transform: scale(1); }
  45%     { transform: scale(1.18); }
  60%     { transform: scale(1); }
}

/* 浮动 */
@keyframes lv-float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-10px) rotate(3deg); }
  66%     { transform: translateY(-5px) rotate(-2deg); }
}

/* 脉冲光晕 */
@keyframes lv-pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,122,156,0.4); }
  50%     { box-shadow: 0 0 0 12px rgba(255,122,156,0); }
}

/* 涟漪 */
@keyframes lv-ripple {
  to { transform: scale(2.5); opacity: 0; }
}

/* 爱心粒子飞出 */
@keyframes lv-heartFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx),var(--ty)) scale(0.3) rotate(var(--rot)); }
}

/* 打字光标 */
@keyframes lv-blink {
  0%,50%  { opacity: 1; }
  51%,100%{ opacity: 0; }
}

/* 进度条流光 */
@keyframes lv-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* 彩虹渐变 */
@keyframes lv-rainbow {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* 雪花漂浮 */
@keyframes lv-snowfall {
  0%   { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* 加载旋转 */
@keyframes lv-spin {
  to { transform: rotate(360deg); }
}

/* 波浪文字 */
@keyframes lv-wave-char {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ================================================================
   2. 内容可见性触发类（JS 配合 IntersectionObserver）
   ================================================================ */

.lv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.lv-reveal.lv-visible {
  opacity: 1;
  transform: translateY(0);
}

.lv-reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.lv-reveal-left.lv-visible {
  opacity: 1;
  transform: translateX(0);
}

.lv-reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.lv-reveal-right.lv-visible {
  opacity: 1;
  transform: translateX(0);
}

.lv-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.lv-reveal-scale.lv-visible {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   3. 玻璃拟态卡片升级
   ================================================================ */

.lv-glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255,255,255,0.55);
  transition:
    transform var(--transition-silk),
    box-shadow var(--transition-silk);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.lv-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 60%,
    transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

.lv-glass-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow:
    0 16px 48px rgba(31,38,135,0.14),
    inset 0 1px 0 rgba(255,255,255,0.65);
}

/* ================================================================
   4. 按钮微交互升级
   ================================================================ */

.lv-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lv-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 200ms;
  border-radius: inherit;
}

.lv-btn:hover::after { opacity: 1; }

.lv-btn:active {
  transform: scale(0.95) !important;
}

/* 涟漪 Ripple */
.lv-ripple-container {
  position: relative;
  overflow: hidden;
}

.lv-ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: lv-ripple 500ms var(--ease-out-expo) forwards;
  pointer-events: none;
}

/* ================================================================
   5. 心跳图标升级
   ================================================================ */

.lv-heartbeat {
  animation: lv-heartbeat 2.4s var(--ease-out-quart) infinite;
  display: inline-block;
  will-change: transform;
}

.lv-float-icon {
  animation: lv-float 4s ease-in-out infinite;
  display: inline-block;
  will-change: transform;
}

/* ================================================================
   6. 顶部进度条
   ================================================================ */

#lv-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--love-pink), var(--love-blue), var(--love-purple));
  background-size: 200% auto;
  animation: lv-shimmer 2s linear infinite;
  transition: width 200ms var(--ease-out-expo);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ================================================================
   7. 浮动爱心粒子背景
   ================================================================ */

#lv-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ================================================================
   8. 点击爱心特效
   ================================================================ */

.lv-click-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-size: 1.4rem;
  animation: lv-heartFly 900ms var(--ease-out-quart) forwards;
  will-change: transform, opacity;
}

/* ================================================================
   9. 情话卡片组件
   ================================================================ */

#lv-quote-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 5000;
  max-width: 320px;
  width: calc(100% - 48px);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: 0 16px 48px rgba(255,122,156,0.20), inset 0 1px 0 rgba(255,255,255,0.5);
  padding: 18px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease-out-expo), transform 350ms var(--ease-out-expo);
}

#lv-quote-toast.lv-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

#lv-quote-toast .lv-quote-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
}

#lv-quote-toast .lv-quote-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

#lv-quote-toast .lv-quote-close:hover {
  opacity: 1;
}

/* ================================================================
   10. 音乐播放悬浮球
   ================================================================ */

#lv-music-fab {
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 48px;
  height: 48px;
  z-index: 4999;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--love-pink), var(--love-blue));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,122,156,0.40);
  transition: transform var(--transition-silk), box-shadow var(--transition-silk);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  animation: lv-pulse-glow 2.5s ease-in-out infinite;
}

#lv-music-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(255,122,156,0.55);
}

#lv-music-fab:active {
  transform: scale(0.93);
}

#lv-music-fab .lv-music-icon {
  font-size: 18px;
  color: white;
  transition: transform 300ms var(--ease-out-quart);
}

#lv-music-fab.playing .lv-music-icon {
  animation: lv-spin 2s linear infinite;
}

/* 磁碟环（装饰） */
#lv-music-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.4);
  animation: lv-spin 4s linear infinite;
}

/* ================================================================
   11. 情话按钮（悬浮小胶囊）
   ================================================================ */

#lv-quote-fab {
  position: fixed;
  bottom: 88px;
  right: 76px;
  width: 48px;
  height: 48px;
  z-index: 4999;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--love-purple), var(--love-pink));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(192,132,252,0.40);
  transition: transform var(--transition-silk), box-shadow var(--transition-silk);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-size: 20px;
  color: white;
}

#lv-quote-fab:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 8px 32px rgba(192,132,252,0.55);
}

#lv-quote-fab:active {
  transform: scale(0.93);
}

/* ================================================================
   12. 页面切换过渡遮罩
   ================================================================ */

#lv-page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: linear-gradient(135deg, var(--love-pink), var(--love-purple));
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out-expo);
}

#lv-page-transition.lv-in {
  opacity: 0.85;
  pointer-events: all;
}

/* ================================================================
   13. 时间计数器美化
   ================================================================ */

.lv-counter-digit {
  display: inline-block;
  min-width: 2.4ch;
  text-align: center;
  transition: transform 300ms var(--ease-out-expo);
}

.lv-counter-digit.lv-flip {
  animation: lv-popIn 300ms var(--ease-spring) forwards;
}

/* ================================================================
   14. 卡片 Section 标题条
   ================================================================ */

.lv-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(90deg, var(--love-pink), var(--love-blue));
  background-size: 200% auto;
  animation: lv-shimmer 3s linear infinite;
  box-shadow: 0 4px 16px rgba(255,122,156,0.25);
  position: relative;
  overflow: hidden;
}

.lv-section-title::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-20deg);
  animation: lv-shimmer-bar 3s ease-in-out infinite;
}

@keyframes lv-shimmer-bar {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* ================================================================
   15. 倒计时卡片条目
   ================================================================ */

.lv-countdown-item {
  transition:
    transform var(--transition-silk),
    box-shadow var(--transition-silk);
}

.lv-countdown-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14) !important;
}

/* ================================================================
   16. 头像光晕升级
   ================================================================ */

.lv-avatar-glow-pink {
  animation: lv-glow-pink 3s ease-in-out infinite;
}

.lv-avatar-glow-blue {
  animation: lv-glow-blue 3s ease-in-out infinite;
}

@keyframes lv-glow-pink {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,122,156,0.6), 0 0 20px rgba(255,122,156,0.3); }
  50%     { box-shadow: 0 0 0 8px rgba(255,122,156,0), 0 0 30px rgba(255,122,156,0.5); }
}

@keyframes lv-glow-blue {
  0%,100% { box-shadow: 0 0 0 0 rgba(122,185,255,0.6), 0 0 20px rgba(122,185,255,0.3); }
  50%     { box-shadow: 0 0 0 8px rgba(122,185,255,0), 0 0 30px rgba(122,185,255,0.5); }
}

/* ================================================================
   17. 导航链接 hover 高亮下划线
   ================================================================ */

.nav-link {
  position: relative;
  color: #555;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--love-pink), var(--love-blue));
  transition: width var(--transition-silk);
}

.nav-link:hover::after,
.nav-link.text-primary::after {
  width: 100%;
}

/* 导航 active 态柔和背景光晕 */
.nav-link.text-primary {
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,122,156,0.08), rgba(122,185,255,0.08));
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.nav-link.text-primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,122,156,0.3), rgba(122,185,255,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 导航按钮入场交错动画 */
.nav-link {
  animation: lv-navStagger 500ms var(--ease-out-quart) both;
}
.hidden.md\:flex .nav-link:nth-child(1)  { animation-delay: 0.05s; }
.hidden.md\:flex .nav-link:nth-child(2)  { animation-delay: 0.10s; }
.hidden.md\:flex .nav-link:nth-child(3)  { animation-delay: 0.15s; }
.hidden.md\:flex .nav-link:nth-child(4)  { animation-delay: 0.20s; }
.hidden.md\:flex .nav-link:nth-child(5)  { animation-delay: 0.25s; }
.hidden.md\:flex .nav-link:nth-child(6)  { animation-delay: 0.30s; }
.hidden.md\:flex .nav-link:nth-child(7)  { animation-delay: 0.35s; }
.hidden.md\:flex .nav-link:nth-child(8)  { animation-delay: 0.40s; }
.hidden.md\:flex .nav-link:nth-child(9)  { animation-delay: 0.45s; }
.hidden.md\:flex .nav-link:nth-child(10) { animation-delay: 0.50s; }

@keyframes lv-navStagger {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   18. morph-card 动画升级（覆盖原有样式）
   ================================================================ */

.morph-card {
  transition:
    transform var(--transition-silk),
    box-shadow var(--transition-silk) !important;
}

.morph-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 20px 48px rgba(31,38,135,0.12),
    0 4px 12px rgba(255,122,156,0.1),
    inset 0 1px 0 rgba(255,255,255,0.55) !important;
}

/* ================================================================
   19. 日记卡片图片缩放
   ================================================================ */

.diary-card-img {
  transition: transform 400ms var(--ease-out-quart);
  will-change: transform;
}

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

/* ================================================================
   20. 滚动进度条（顶部彩条）
   ================================================================ */

#lv-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg,
    var(--love-pink) 0%,
    var(--love-purple) 50%,
    var(--love-blue) 100%);
  border-radius: 0 2px 2px 0;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ================================================================
   21. 打字机效果光标
   ================================================================ */

.lv-typewriter::after {
  content: '|';
  display: inline-block;
  animation: lv-blink 0.9s step-end infinite;
  color: var(--love-pink);
  margin-left: 2px;
  font-weight: 300;
}

/* ================================================================
   22. 模态弹窗动画
   ================================================================ */

.lv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 8000;
  opacity: 0;
  transition: opacity 250ms var(--ease-out-expo);
  pointer-events: none;
}

.lv-modal-overlay.lv-show {
  opacity: 1;
  pointer-events: auto;
}

.lv-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transition: transform 300ms var(--ease-spring);
  width: min(380px, calc(100vw - 32px));
  padding: 28px 24px;
}

.lv-modal-overlay.lv-show .lv-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

/* ================================================================
   23. Tag/Badge 动效
   ================================================================ */

.lv-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  animation: lv-popIn 400ms var(--ease-spring);
  transition: transform var(--transition-fast);
}

.lv-badge:hover {
  transform: scale(1.08);
}

/* ================================================================
   24. 情话横幅（Banner Ticker）
   ================================================================ */

#lv-quote-banner {
  overflow: hidden;
  white-space: nowrap;
}

#lv-quote-banner .lv-ticker-track {
  display: inline-block;
  animation: lv-ticker 20s linear infinite;
}

@keyframes lv-ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ================================================================
   25. 底部 Tab 弹性动画升级
   ================================================================ */

.mobile-tab-capsule-item {
  transition:
    transform 200ms var(--ease-spring),
    color var(--transition-fast),
    background 200ms var(--ease-out-quart) !important;
}

.mobile-tab-capsule-item:active {
  transform: scale(0.88) !important;
}

.mobile-tab-capsule-item.active {
  transform: scale(1.1) !important;
  animation: lv-tabPulse 2.5s var(--ease-out-quart) infinite;
}

/* Tab 活跃脉冲光晕 */
@keyframes lv-tabPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8); }
  50%      { box-shadow: 0 4px 22px rgba(255,122,156,0.25), inset 0 1px 0 rgba(255,255,255,0.95); }
}

/* Tab 入场交错动画 */
.mobile-tab-capsule-item {
  animation: lv-tabPopIn 450ms var(--ease-spring) both;
}
.mobile-tab-capsule-item:nth-child(1) { animation-delay: 0.04s; }
.mobile-tab-capsule-item:nth-child(2) { animation-delay: 0.08s; }
.mobile-tab-capsule-item:nth-child(3) { animation-delay: 0.12s; }
.mobile-tab-capsule-item:nth-child(4) { animation-delay: 0.16s; }
.mobile-tab-capsule-item:nth-child(5) { animation-delay: 0.20s; }
.mobile-tab-capsule-item:nth-child(6) { animation-delay: 0.24s; }
.mobile-tab-capsule-item:nth-child(7) { animation-delay: 0.28s; }

@keyframes lv-tabPopIn {
  from { opacity: 0; transform: translateY(12px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================================================
   25.5 汉堡菜单按钮动画
   ================================================================ */

.morph-btn {
  transition: transform 300ms var(--ease-spring), filter 200ms ease;
}
.morph-btn:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 2px 8px rgba(255,122,156,0.3));
}
.morph-btn:active {
  transform: scale(0.9);
}

/* 移动端侧边菜单入场 */
.mobile-menu-right {
  transition: transform 380ms var(--ease-out-quart), box-shadow 380ms var(--ease-out-quart) !important;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}
.mobile-menu-right:not(.translate-x-0) {
  transform: translateX(100%) !important;
}

/* 菜单项入场 */
.nav-link-mobile {
  position: relative;
  padding: 12px 16px;
  border-radius: 12px;
  transition: 
    background 200ms var(--ease-out-quart),
    transform 200ms var(--ease-out-quart),
    color var(--transition-fast);
}
.nav-link-mobile:hover {
  background: linear-gradient(135deg, rgba(255,122,156,0.08), rgba(122,185,255,0.08));
  transform: translateX(6px);
}
.nav-link-mobile.text-primary {
  background: linear-gradient(135deg, rgba(255,122,156,0.1), rgba(122,185,255,0.1));
  border-radius: 12px;
}

/* 遮罩淡入 */
#menu-overlay {
  transition: opacity 350ms ease;
}
#menu-overlay:not(.hidden) {
  opacity: 1;
}

/* ================================================================
   26. 天气卡片图标旋转
   ================================================================ */

.weather-icon-spin {
  animation: lv-spin 6s linear infinite;
}

/* ================================================================
   27. 轮播指示点（Dot）
   ================================================================ */

.lv-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,122,156,0.3);
  transition: width 250ms var(--ease-out-quart), background 250ms;
  cursor: pointer;
}

.lv-carousel-dot.active {
  width: 20px;
  background: var(--love-pink);
}

/* ================================================================
   28. 骨架屏动画
   ================================================================ */

.lv-skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.1) 25%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: lv-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

/* ================================================================
   29. 快捷操作栏（Speed Dial）
   ================================================================ */

#lv-speed-dial {
  position: fixed;
  bottom: 92px;
  right: 18px;
  z-index: 4998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.lv-fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition:
    opacity 200ms var(--ease-out-expo),
    transform 200ms var(--ease-out-expo);
}

.lv-fab-item.lv-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lv-fab-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform var(--transition-silk), box-shadow var(--transition-silk);
  -webkit-tap-highlight-color: transparent;
}

.lv-fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.lv-fab-label {
  font-size: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

#lv-speed-dial-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--love-pink), var(--love-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  box-shadow: 0 6px 24px rgba(255,122,156,0.45);
  transition: transform 300ms var(--ease-spring), box-shadow var(--transition-silk);
  animation: lv-pulse-glow 3s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

#lv-speed-dial-trigger.active {
  transform: rotate(45deg) scale(1.1);
  animation: none;
}

/* ================================================================
   30. 情话 Toast 增强（彩虹边框）
   ================================================================ */

#lv-quote-toast::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--card-radius) + 2px);
  background: linear-gradient(90deg,
    var(--love-pink), var(--love-blue),
    var(--love-purple), var(--love-pink));
  background-size: 300% 100%;
  animation: lv-shimmer 3s linear infinite;
  z-index: -1;
}

/* ================================================================
   31. 页面回到顶部按钮
   ================================================================ */

#lv-scroll-top {
  position: fixed;
  bottom: 92px;
  left: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--love-pink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--transition-silk),
    transform var(--transition-silk);
  pointer-events: none;
  z-index: 4000;
}

#lv-scroll-top.lv-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#lv-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,122,156,0.3);
}

/* ================================================================
   32. 可爱贴纸弹出
   ================================================================ */

.lv-sticker {
  display: inline-block;
  animation: lv-float 3s ease-in-out infinite;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.lv-sticker:hover {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(255,122,156,0.35));
}

/* ================================================================
   33. 爱心计数（点赞）动画
   ================================================================ */

.lv-like-btn {
  transition: transform var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}

.lv-like-btn:hover {
  transform: scale(1.15) rotate(-8deg);
  color: var(--love-pink) !important;
}

.lv-like-btn.lv-liked {
  animation: lv-heartbeat 400ms var(--ease-spring);
  color: var(--love-pink) !important;
}

/* ================================================================
   34. 数字滚动（计数器动效）
   ================================================================ */

.lv-number-roll {
  display: inline-block;
  transition: transform 500ms var(--ease-out-expo);
}

/* ================================================================
   35. 响应式适配
   ================================================================ */

@media (max-width: 768px) {
  #lv-music-fab {
    bottom: 80px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  #lv-quote-fab {
    bottom: 80px;
    right: 66px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  #lv-speed-dial {
    bottom: 84px;
    right: 14px;
  }

  #lv-scroll-top {
    bottom: 84px;
    left: 14px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ================================================================
   32. 📊 数据统计面板 (Stats Dashboard)
   ================================================================ */

.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats-dashboard--desktop {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* 统计卡片 */
.stats-card {
  position: relative;
  border-radius: 18px;
  padding: 16px 10px 14px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-quart);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
}

.stats-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-quart);
  z-index: 0;
}

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

.stats-card:hover::before {
  opacity: 1;
}

.stats-card:active {
  transform: scale(0.96);
}

.stats-card > * {
  position: relative;
  z-index: 1;
}

/* 卡片颜色变体 */
.stats-card--love {
  background: linear-gradient(135deg, rgba(255,122,156,0.15), rgba(255,150,180,0.08));
}
.stats-card--love::before {
  background: linear-gradient(135deg, rgba(255,122,156,0.28), rgba(255,150,180,0.18));
}
.stats-card--love .stats-card-icon { color: #FF7A9C; }

.stats-card--diary {
  background: linear-gradient(135deg, rgba(122,169,255,0.15), rgba(140,180,255,0.08));
}
.stats-card--diary::before {
  background: linear-gradient(135deg, rgba(122,169,255,0.28), rgba(140,180,255,0.18));
}
.stats-card--diary .stats-card-icon { color: #7AB9FF; }

.stats-card--photo {
  background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(180,155,255,0.08));
}
.stats-card--photo::before {
  background: linear-gradient(135deg, rgba(167,139,250,0.28), rgba(180,155,255,0.18));
}
.stats-card--photo .stats-card-icon { color: #A78BFA; }

.stats-card--msg {
  background: linear-gradient(135deg, rgba(52,211,153,0.15), rgba(80,220,170,0.08));
}
.stats-card--msg::before {
  background: linear-gradient(135deg, rgba(52,211,153,0.28), rgba(80,220,170,0.18));
}
.stats-card--msg .stats-card-icon { color: #34D399; }

.stats-card--plan {
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(255,210,60,0.08));
}
.stats-card--plan::before {
  background: linear-gradient(135deg, rgba(251,191,36,0.28), rgba(255,210,60,0.18));
}
.stats-card--plan .stats-card-icon { color: #FBBF24; }

.stats-card--visitor {
  background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(255,140,200,0.08));
}
.stats-card--visitor::before {
  background: linear-gradient(135deg, rgba(244,114,182,0.28), rgba(255,140,200,0.18));
}
.stats-card--visitor .stats-card-icon { color: #F472B6; }

.stats-card-icon {
  font-size: 20px;
  margin-bottom: 6px;
  transition: transform 0.3s var(--ease-out-quart);
}
.stats-card:hover .stats-card-icon {
  transform: scale(1.2) rotate(-8deg);
}

.stats-card-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2937;
  line-height: 1.1;
  margin-bottom: 2px;
  transition: transform 0.3s var(--ease-out-quart);
}
.stats-card:hover .stats-card-value {
  transform: scale(1.05);
}

.stats-card-label {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.05em;
}

.stats-card-sub {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .stats-card-value { font-size: 24px; }
  .stats-card { padding: 13px 8px 11px; border-radius: 14px; }
  .stats-card-icon { font-size: 17px; }
  .stats-dashboard { gap: 8px; }
}

/* ================================================================
   33. 🌤️ 增强天气卡片 (Enhanced Weather Card)
   ================================================================ */

.weather-enhanced {
  border-radius: 18px;
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transition: all 0.35s var(--ease-out-quart);
  overflow: hidden;
}

.weather-enhanced:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.weather-enhanced__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.weather-enhanced__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--love-pink);
}

.weather-enhanced__title i {
  font-size: 16px;
}

.weather-enhanced__loc {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}

.weather-enhanced__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weather-enhanced__main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-enhanced__icon {
  font-size: 42px;
  color: var(--love-pink);
  transition: transform 0.5s var(--ease-out-quart);
}
.weather-enhanced:hover .weather-enhanced__icon {
  transform: scale(1.1);
}

.weather-enhanced__temp {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--love-pink), #7AB9FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.weather-enhanced__desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.weather-enhanced__details {
  display: flex;
  gap: 16px;
}

.weather-enhanced__detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.weather-enhanced__detail-value {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.weather-enhanced__detail-label {
  font-size: 10px;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .weather-enhanced { padding: 14px 12px; border-radius: 14px; }
  .weather-enhanced__icon { font-size: 34px; }
  .weather-enhanced__temp { font-size: 26px; }
}

/* ================================================================
   34. ⏳ 增强纪念日倒计时卡片 (Enhanced Countdown)
   ================================================================ */

.countdown-enhanced {
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quart);
}

.countdown-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.countdown-enhanced--countdown {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.countdown-enhanced--memorial {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.countdown-enhanced__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.countdown-enhanced__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-enhanced__icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.countdown-enhanced__text h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.countdown-enhanced__text p {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 1px;
}

.countdown-enhanced__days {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.countdown-enhanced__days-num {
  font-size: 28px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}

.countdown-enhanced__days-unit {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.countdown-enhanced__badge {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  color: white;
  font-size: 10px;
  font-weight: 500;
}

.countdown-enhanced__progress {
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}

.countdown-enhanced__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: rgba(255,255,255,0.6);
  transition: width 1s var(--ease-out-quart);
}

/* ================================================================
   35. 🎯 Section 标题装饰 (Section Title)
   ================================================================ */

.lv-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.lv-section-title__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.lv-section-title__icon--pink {
  background: linear-gradient(135deg, #FF7A9C, #FF9AB2);
}

.lv-section-title__icon--blue {
  background: linear-gradient(135deg, #7AB9FF, #93c5fd);
}

.lv-section-title__icon--purple {
  background: linear-gradient(135deg, #A78BFA, #c4b5fd);
}

.lv-section-title__icon--green {
  background: linear-gradient(135deg, #34D399, #6ee7b7);
}

.lv-section-title__text {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.lv-section-title__badge {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,122,156,0.15), rgba(122,169,255,0.15));
  color: var(--love-pink);
  margin-left: auto;
}

.lv-section-title__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,122,156,0.3), transparent);
}

@media (max-width: 768px) {
  .lv-section-title__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 14px;
  }
  .lv-section-title__text { font-size: 15px; }
}

/* ================================================================
   36. 💫 Shimmer 扫光效果
   ================================================================ */

.lv-shimmer {
  position: relative;
  overflow: hidden;
}

.lv-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  transform: skewX(-15deg);
  animation: lv-shimmerMove 2.5s ease-in-out infinite;
}

@keyframes lv-shimmerMove {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ================================================================
   37. 📸 照片预览网格动画
   ================================================================ */

.lv-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.lv-photo-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-quart);
}

.lv-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-quart);
}

.lv-photo-item:hover img {
  transform: scale(1.08);
}

.lv-photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-quart);
}

.lv-photo-item:hover::after {
  opacity: 1;
}

.lv-photo-item__count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  z-index: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease-out-quart);
}

.lv-photo-item:hover .lv-photo-item__count,
.lv-photo-item__count--always {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   38. 🎵 迷你音乐播放器样式
   ================================================================ */

.lv-mini-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quart);
  overflow: hidden;
  position: relative;
}

.lv-mini-player:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.lv-mini-player__disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2937, #374151);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: lv-discSpin 4s linear infinite;
  position: relative;
}

.lv-mini-player__disc::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--love-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes lv-discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lv-mini-player__disc i {
  color: white;
  font-size: 18px;
}

.lv-mini-player__info {
  flex: 1;
  min-width: 0;
}

.lv-mini-player__title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lv-mini-player__artist {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}

.lv-mini-player__play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,122,156,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--love-pink);
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.lv-mini-player:hover .lv-mini-player__play {
  background: var(--love-pink);
  color: white;
}

.lv-mini-player__wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  flex-shrink: 0;
}

.lv-mini-player__wave-bar {
  width: 2px;
  border-radius: 1px;
  background: var(--love-pink);
  animation: lv-waveAnim 1s ease-in-out infinite;
}

.lv-mini-player__wave-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.lv-mini-player__wave-bar:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.lv-mini-player__wave-bar:nth-child(3) { height: 6px; animation-delay: 0.3s; }
.lv-mini-player__wave-bar:nth-child(4) { height: 12px; animation-delay: 0.45s; }

@keyframes lv-waveAnim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}

/* ================================================================
   39. 🏷️ 标签徽章
   ================================================================ */

.lv-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
}

.lv-tag--new {
  background: linear-gradient(135deg, #34D399, #10B981);
  color: white;
  animation: lv-tagPulse 2s ease-in-out infinite;
}

@keyframes lv-tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.lv-tag--hot {
  background: linear-gradient(135deg, #F97316, #EF4444);
  color: white;
}

/* ================================================================
   40. 🎴 通用列表项增强
   ================================================================ */

.lv-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quart);
  margin-bottom: 8px;
}

.lv-list-item:hover {
  background: rgba(255,255,255,0.25);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.lv-list-item:active {
  transform: scale(0.98);
}

.lv-list-item__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.6);
}

.lv-list-item__content {
  flex: 1;
  min-width: 0;
}

.lv-list-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lv-list-item__meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lv-list-item__arrow {
  font-size: 14px;
  color: #d1d5db;
  flex-shrink: 0;
  align-self: center;
  transition: transform 0.3s;
}

.lv-list-item:hover .lv-list-item__arrow {
  transform: translateX(3px);
  color: var(--love-pink);
}

/* ================================================================
   41. 📐 全局排版增强
   ================================================================ */

/* 卡片间距统一 */
.morph-card + .morph-card {
  margin-top: 0;
}

/* 专区标题 */
.lv-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lv-block-header__title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lv-block-header__more {
  font-size: 12px;
  color: var(--love-pink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap 0.25s;
}

.lv-block-header__more:hover {
  gap: 8px;
}

/* 内容区块间距 */
.lv-content-block {
  margin-bottom: 24px;
}

.lv-content-block:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .lv-content-block { margin-bottom: 18px; }

/* ================================================================
   42. 随机一言横幅
   ================================================================ */

#lv-quote-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 10px 16px;
  text-align: center;
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #FF7A9C 0%, #FF6B8A 40%, #FF5185 100%);
  box-shadow: 0 2px 12px rgba(255,122,156,0.35);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out-quart);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#lv-quote-bar.show {
  transform: translateY(0);
}

#lv-quote-bar .quote-icon {
  font-size: 16px;
  flex-shrink: 0;
  animation: lv-quotePulse 2s ease-in-out infinite;
}

#lv-quote-bar .quote-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  animation: lv-quoteFadeIn 0.5s ease forwards;
}

@keyframes lv-quotePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes lv-quoteFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  #lv-quote-bar {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ================================================================
   43. 胶囊音乐播放器
   ================================================================ */

#lv-music-capsule {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,122,156,0.2);
  border-radius: 50px;
  padding: 8px 16px 8px 8px;
  box-shadow:
    0 4px 20px rgba(255,122,156,0.15),
    0 1px 3px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-quart);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  max-width: calc(100vw - 48px);
  animation: lv-capsuleFloat 4s ease-in-out infinite;
}

@keyframes lv-capsuleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

#lv-music-capsule:hover {
  box-shadow:
    0 8px 30px rgba(255,122,156,0.25),
    0 2px 6px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

#lv-music-capsule.playing .lv-capsule-disc {
  animation-play-state: running;
}

#lv-music-capsule.paused .lv-capsule-disc {
  animation-play-state: paused;
}

.lv-capsule-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(255,122,156,0.3);
  animation: lv-discRotate 3s linear infinite;
  animation-play-state: paused;
  position: relative;
}

.lv-capsule-disc::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

@keyframes lv-discRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lv-capsule-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.lv-capsule-title {
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.lv-capsule-artist {
  font-size: 10px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.lv-capsule-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  border: none;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lv-capsule-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(255,122,156,0.4);
}

.lv-capsule-vis {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

#lv-music-capsule.playing .lv-capsule-vis {
  opacity: 1;
}

.lv-capsule-vis span {
  width: 2px;
  background: #FF7A9C;
  border-radius: 1px;
  animation: lv-visBounce 0.5s ease-in-out infinite alternate;
}

.lv-capsule-vis span:nth-child(1) { height: 6px; animation-delay: 0s; }
.lv-capsule-vis span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.lv-capsule-vis span:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.lv-capsule-vis span:nth-child(4) { height: 14px; animation-delay: 0.1s; }
.lv-capsule-vis span:nth-child(5) { height: 6px; animation-delay: 0.25s; }

@keyframes lv-visBounce {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}

@media (max-width: 768px) {
  #lv-music-capsule {
    bottom: 100px;
    right: 16px;
    padding: 6px 12px 6px 6px;
    gap: 8px;
  }
  .lv-capsule-disc {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .lv-capsule-disc::after {
    width: 8px;
    height: 8px;
  }
  .lv-capsule-title { max-width: 80px; }
  .lv-capsule-artist { max-width: 80px; }
}

/* ================================================================
   44. 打卡签到卡片 (MySQL 后端版)
   ================================================================ */

.lv-checkin-card {
  padding: 16px;
}
.lv-checkin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lv-checkin-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lv-checkin-fire-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}
.lv-checkin-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}
.lv-checkin-sub {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}
.lv-checkin-sub strong {
  color: #ff6b6b;
  font-size: 16px;
}
.lv-checkin-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}
.lv-checkin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,107,107,0.4);
}
.lv-checkin-btn.checked {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  cursor: default;
}
.lv-checkin-btn.checked:hover {
  transform: none;
}
/* 日历网格 */
.lv-cal-month {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
  text-align: center;
}
.lv-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.lv-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.lv-cal-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(0,0,0,0.3);
  transition: all 0.2s;
}
.lv-cal-cell.empty {
  visibility: hidden;
}
.lv-cal-cell.checked {
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,122,156,0.3);
}
.lv-cal-cell.checked i {
  font-size: 12px;
  animation: lv-heartPop 0.3s ease;
}
.lv-cal-cell.today {
  border: 2px solid #FF7A9C;
  font-weight: 700;
  color: #FF7A9C;
}
.lv-cal-cell.today.checked {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.lv-checkin-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}
.lv-checkin-stats strong {
  color: #FF7A9C;
}
.lv-checkin-percent {
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes lv-heartPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ================================================================
   45. 恋爱清单卡片 (参考站 lovelist 风格)
   ================================================================ */

.lv-lovelist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .lv-lovelist-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
  .lv-lovelist-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.lv-lovelist-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.lv-lovelist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.lv-lovelist-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}
.lv-lovelist-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.lv-lovelist-card:hover .lv-lovelist-card__thumb img {
  transform: scale(1.05);
}
.lv-lovelist-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 36px;
  color: rgba(255,122,156,0.3);
}
.lv-lovelist-card__img-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.lv-lovelist-card__status {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.lv-lovelist-card__status--done {
  background: rgba(16,185,129,0.85);
  color: #fff;
}
.lv-lovelist-card__status--pending {
  background: rgba(245,158,11,0.85);
  color: #fff;
}
.lv-lovelist-card__body {
  padding: 12px;
}
.lv-lovelist-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lv-lovelist-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 11px;
  color: #9ca3af;
}
.lv-lovelist-card__meta i {
  margin-right: 3px;
  font-size: 10px;
}
.lv-lovelist-card__note {
  margin-top: 6px;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 筛选 Tab */
.lv-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lv-filter-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.lv-filter-tab:hover {
  color: #FF7A9C;
  border-color: #FF7A9C;
}
.lv-filter-tab.active {
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  color: #fff;
  border-color: transparent;
}

/* ================================================================
   46. 留言卡片 (参考站 messages 风格)
   ================================================================ */

.lv-msg-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.lv-msg-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.lv-msg-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.lv-msg-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.lv-msg-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.lv-msg-card__user {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lv-msg-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}
.lv-msg-card__badge {
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}
.lv-msg-card__badge--admin {
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  color: #fff;
}
.lv-msg-card__badge--dev {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}
.lv-msg-card__badge--vip {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
}
.lv-msg-card__time {
  font-size: 12px;
  color: #9ca3af;
}
.lv-msg-card__content {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 8px;
}
.lv-msg-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11px;
  color: #9ca3af;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.lv-msg-card__meta i {
  margin-right: 3px;
}
.lv-msg-reply {
  margin-left: 20px;
  padding: 12px;
  background: rgba(255,122,156,0.04);
  border-radius: 10px;
  border-left: 3px solid #FF7A9C;
  margin-top: 8px;
}
.lv-msg-reply .lv-msg-card__header {
  margin-bottom: 6px;
}
.lv-msg-reply .lv-msg-card__avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

/* 留言表单 */
.lv-msg-form {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.lv-msg-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  font-size: 14px;
  resize: vertical;
  background: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.lv-msg-form textarea:focus {
  outline: none;
  border-color: #FF7A9C;
  box-shadow: 0 0 0 3px rgba(255,122,156,0.1);
}
.lv-msg-form__submit {
  margin-top: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255,122,156,0.3);
}
.lv-msg-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,122,156,0.4);
}

/* ================================================================
   47. 日记列表卡片 (参考站 page.php/diary 风格)
   ================================================================ */

.lv-diary-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.lv-diary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.lv-diary-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.lv-diary-card__day {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF7A9C, #FF5185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lv-diary-card__day-label {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
}
.lv-diary-card__author {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.lv-diary-card__date {
  font-size: 11px;
  color: #9ca3af;
  margin-left: auto;
}
.lv-diary-card__body {
  padding: 14px 16px;
}
.lv-diary-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.lv-diary-card__excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.lv-diary-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 8px 16px;
  border-top: 1px solid rgba(0,0,0,0.04);
  font-size: 11px;
  color: #9ca3af;
}
.lv-diary-card__footer i {
  margin-right: 3px;
}
.lv-diary-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.lv-diary-tag--mood {
  background: rgba(255,122,156,0.1);
  color: #FF7A9C;
}
.lv-diary-tag--weather {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}
.lv-diary-tag--location {
  background: rgba(16,185,129,0.1);
  color: #10b981;
}
.lv-diary-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.lv-diary-actions span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ================================================================
   48. 响应式补充
   ================================================================ */

@media (max-width: 768px) {
  .lv-lovelist-grid { gap: 10px; }
  .lv-lovelist-card__body { padding: 10px; }
  .lv-lovelist-card__title { font-size: 13px; }
  .lv-msg-card { padding: 12px; }
  .lv-msg-reply { margin-left: 12px; padding: 10px; }
  .lv-checkin-card { padding: 12px; }
}
}
