/* ============================================
   复原力 - Liquid Glass 液态玻璃设计
   参考: Apple iOS 26 Liquid Glass (WWDC25)
   核心特征: 半透明层叠 / 彩色光斑折射 / 镜面高光 / 柔和过渡
   ============================================ */

:root {
  /* 基础 */
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --text-2: #6B6B80;
  --text-3: #B0B0C0;
  --sep: rgba(0,0,0,0.05);

  /* 模块色 (光斑色) */
  --c1: #FF6B6B;  /* emotion - 珊瑚红 */
  --c2: #4ECDC4;  /* self - 薄荷绿 */
  --c3: #A78BFA;  /* meaning - 薰衣草紫 */
  --c4: #FFB347;  /* energy - 暖橙 */

  /* 功能色 (tools.css 使用) */
  --color-red: #FF6B6B;
  --color-green: #4ECDC4;
  --color-blue: #5B7FFF;
  --color-yellow: #FFB347;
  --color-purple: #A78BFA;
  --color-orange: #FF9F1A;
  --color-bg: #F5F5F7;
  --color-bg-card: #FFFFFF;
  --color-text: #1A1A2E;
  --color-label: #1A1A2E;
  --color-label-secondary: #6B6B80;
  --color-label-tertiary: #B0B0C0;
  --color-text-muted: #B0B0C0;
  --color-separator: rgba(0,0,0,0.05);

  /* 字体大小 */
  --font-xs: 11px;
  --font-xxs: 10px;
  --font-sm: 13px;
  --font-md: 15px;
  --font-lg: 17px;
  --font-xl: 22px;

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* 玻璃阴影 */
  --shadow-s: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-m: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-l: 0 8px 30px rgba(0,0,0,0.08);
  --glass-shadow: inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -1px 1px rgba(255,255,255,0.25), 0 8px 32px rgba(0,0,0,0.06);

  --nav-h: 52px;
  --tab-h: 64px;
  --max-w: 420px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

/* 选中文字样式 - 确保选中文字清晰可见 */
::selection {
  background: rgba(91, 127, 255, 0.35);
  color: inherit;
}
::-moz-selection {
  background: rgba(91, 127, 255, 0.35);
  color: inherit;
}

body {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  height: 100vh;
}

button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; font-size: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; border: none; outline: none; background: transparent; user-select: text; -webkit-user-select: text; }
a { color: inherit; text-decoration: none; }

#app {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100vh;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ============ 彩色光斑背景层 (折射感来源) ============ */
.bg-blobs {
  position: fixed;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-w);
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.85;
}

.blob-1 { top: -8%; left: -15%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,107,107,0.85), transparent 65%); }
.blob-2 { top: 8%; right: -20%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(78,205,196,0.8), transparent 65%); }
.blob-3 { bottom: 18%; left: -18%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, rgba(167,139,250,0.85), transparent 65%); }
.blob-4 { bottom: -10%; right: -10%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,179,71,0.85), transparent 65%); }

/* 玻璃容器基础 mixin */
.glass {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glass-shadow);
}

/* ============ 顶部导航 (玻璃浮岛) ============ */
.top-nav {
  position: fixed;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 16px); max-width: calc(var(--max-w) - 16px);
  height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 10px;
  z-index: 100;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 22px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 16px rgba(0,0,0,0.05);
}

.nav-back {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: transform 0.15s;
}
.nav-back:active { transform: scale(0.88); }
.nav-back svg { width: 9px; height: 18px; }

.nav-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  text-align: center;
  letter-spacing: -0.2px;
}

.nav-spacer { width: 32px; }

/* ============ 主内容 ============ */
.main-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 52px;
  padding-bottom: calc(var(--tab-h) + 16px);
  position: relative;
  z-index: 1;
}

.main-content::-webkit-scrollbar { display: none; }

/* ============ 底栏 Tab (浮动玻璃胶囊) ============ */
.tab-bar {
  position: fixed;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: calc(var(--max-w) - 32px);
  height: 56px;
  z-index: 100;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 28px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), 0 8px 28px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 6px;
}

.tab-bar-inner {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.tab-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  padding: 6px 18px;
  border-radius: 18px;
  color: var(--text-3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-item span { font-size: 10px; font-weight: 600; }
.tab-item svg { width: 22px; height: 22px; transition: transform 0.25s; }
.tab-item.active {
  color: var(--text);
  background: rgba(255,255,255,0.55);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 2px 8px rgba(0,0,0,0.04);
}
.tab-item.active svg { transform: scale(1.05); }
.tab-item:active { transform: scale(0.92); }

/* ============ Toast ============ */
.toast-container {
  position: fixed; top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; pointer-events: none;
}

.toast {
  background: rgba(26,26,46,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 12px 22px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: tIn 0.25s ease;
}

.toast.hide { animation: tOut 0.2s forwards; }

/* ============ 蒙层 ============ */
.overlay {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-w); height: 100%;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0; transition: opacity 0.2s ease;
}

.overlay.show { opacity: 1; }
.overlay.hidden { display: none; }
.hidden { display: none !important; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.12s ease;
}

.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: 0 6px 20px rgba(26,26,46,0.25);
}
.btn-secondary {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--text);
  box-shadow: var(--glass-shadow);
}
.btn-ghost { background: transparent; color: var(--text-2); font-weight: 500; }
.btn-block { width: 100%; }

/* ============ 首页 Hero (紧凑) ============ */
.home-hero {
  padding: 4px 20px 14px;
  position: relative;
  z-index: 1;
}

.home-greeting {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.home-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  background: linear-gradient(135deg, #1A1A2E 30%, #5B7FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-subtitle {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============ 快速练习 (紧凑横滚) ============ */
.quick-wrap {
  padding: 0 0 10px;
  position: relative;
  z-index: 1;
}

.quick-label {
  padding: 0 20px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.quick-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px;
  scroll-padding-left: 20px;
}

.quick-scroll::-webkit-scrollbar { display: none; }

.quick-card {
  flex-shrink: 0;
  width: 108px;
  height: 64px;
  border-radius: var(--r-md);
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 14px rgba(0,0,0,0.08);
}

.quick-card:active { transform: scale(0.94); }

/* 镜面高光 - 模拟光线折射 */
.quick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent);
  border-radius: var(--r-md) var(--r-md) 0 0;
  pointer-events: none;
}

/* 装饰光斑 */
.quick-card::after {
  content: '';
  position: absolute;
  top: -16px; right: -12px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.quick-card-icon svg { width: 18px; height: 18px; color: white; position: relative; z-index: 1; }

.quick-card-name {
  font-size: 12px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

/* ============ Bento Grid 模块卡片 (玻璃质感) ============ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 16px 16px;
  position: relative;
  z-index: 1;
}

.bento-card {
  border-radius: var(--r-lg);
  padding: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), 0 8px 24px rgba(0,0,0,0.1);
}

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

/* 镜面高光 - Specular Highlight */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  pointer-events: none;
  z-index: 0;
}

/* 装饰光圈 */
.bento-card::after {
  content: '';
  position: absolute;
  bottom: -28px; right: -18px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.bento-icon {
  width: 34px; height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.3);
}

.bento-icon svg { width: 18px; height: 18px; color: white; }

.bento-text { position: relative; z-index: 1; }

.bento-name {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bento-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

/* ============ 今日状态 (玻璃卡片) ============ */
.today-card {
  margin: 0 16px 14px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.today-icon {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 12px rgba(0,0,0,0.1);
}

.today-icon svg { width: 18px; height: 18px; color: white; }

.today-text { z-index: 1; }

.today-label { font-size: 13px; font-weight: 700; }
.today-sub { font-size: 11px; color: var(--text-2); margin-top: 1px; }

/* ============ 每日金句 (玻璃卡片) ============ */
.daily-card {
  margin: 0 16px 14px;
  background: rgba(26,26,46,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.daily-card:active { transform: scale(0.97); }

.daily-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

.daily-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,127,255,0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.daily-card-inner { position: relative; z-index: 1; }

.daily-quote {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.daily-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============ 模块详情页 ============ */
.mod-header {
  text-align: center;
  padding: 16px 24px 14px;
  position: relative;
  z-index: 1;
}

.mod-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), 0 8px 20px rgba(0,0,0,0.12);
}

.mod-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent);
  border-radius: 18px 18px 0 0;
}

.mod-icon svg { width: 30px; height: 30px; color: white; z-index: 1; }

.mod-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 3px;
}

.mod-desc { font-size: 13px; color: var(--text-2); }

/* ============ 工具列表 (玻璃容器) ============ */
.tool-list {
  margin: 0 16px 16px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.tool-row:active { background: rgba(255,255,255,0.4); }

.tool-row-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), 0 2px 6px rgba(0,0,0,0.08);
}

.tool-row-icon svg { width: 17px; height: 17px; color: white; }

.tool-row-content { flex: 1; min-width: 0; }

.tool-row-name { font-size: 15px; font-weight: 600; }
.tool-row-desc { font-size: 12px; color: var(--text-2); margin-top: 1px; }

.tool-row-chevron { color: var(--text-3); flex-shrink: 0; opacity: 0.5; }
.tool-row-chevron svg { width: 7px; height: 12px; }

.tool-row-sep {
  height: 1px;
  background: var(--sep);
  margin-left: 58px;
}

.tool-count {
  text-align: center;
  padding: 14px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

/* ============ 统计 (玻璃卡片) ============ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 16px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--glass-shadow);
}

.stat-card:first-child {
  grid-column: span 2;
  padding: 18px;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
}

.stat-value {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-card:first-child .stat-value { font-size: 44px; color: white; }
.stat-card:first-child .stat-label { color: rgba(255,255,255,0.65); }

.stat-label {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
}

/* ============ 记录列表 ============ */
.record-list { padding: 0 16px; position: relative; z-index: 1; }

.record-item {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  padding: 13px 15px;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--glass-shadow);
  transition: opacity 0.15s, transform 0.15s;
}

.record-item:active { opacity: 0.7; transform: scale(0.98); }

.record-module-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), 0 2px 6px rgba(0,0,0,0.08);
}

.record-module-icon svg { width: 16px; height: 16px; color: white; }

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

.record-tool-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }

.record-summary {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.record-time { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.record-delete {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  flex-shrink: 0;
}

.record-delete:active { background: rgba(255,107,107,0.1); color: var(--c1); }
.record-delete svg { width: 14px; height: 14px; }

/* ============ Segmented 筛选器 (玻璃) ============ */
.seg-filter {
  display: flex;
  margin: 8px 16px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  padding: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--glass-shadow);
}

.seg-filter::-webkit-scrollbar { display: none; }

.seg-filter__btn {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.seg-filter__btn.active {
  background: var(--text);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ============ 格式切换 ============ */
.fmt-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  padding: 4px 16px 8px;
}

.fmt-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  transition: all 0.15s ease;
}

.fmt-btn.active { color: var(--text); }
.fmt-btn svg { width: 14px; height: 14px; }

/* ============ 空状态 ============ */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  position: relative;
  z-index: 1;
}

.empty-state-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--glass-shadow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

.empty-state-icon svg { width: 30px; height: 30px; color: var(--text-3); }

.empty-state-text { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.empty-state-hint { font-size: 13px; color: var(--text-2); }

/* ============ 关于页 ============ */
.about-section { padding: 8px 16px 24px; position: relative; z-index: 1; }

.about-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--glass-shadow);
}

.about-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }

.about-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.about-list { list-style: none; padding: 0; }

.about-list li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-2);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.6;
}

.about-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0; margin-top: 8px;
  background: var(--c2);
}

/* ============ 动画 ============ */
@keyframes tIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes tOut { to { opacity: 0; transform: scale(0.85); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.fade-up { animation: fadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

/* 浮动光斑缓慢漂移 */
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -8px) scale(1.05); }
}

.blob-1 { animation: blobFloat 12s ease-in-out infinite; }
.blob-2 { animation: blobFloat 14s ease-in-out infinite reverse; }
.blob-3 { animation: blobFloat 16s ease-in-out infinite; }
.blob-4 { animation: blobFloat 13s ease-in-out infinite reverse; }
