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

:root {
  --bg: #f5f0eb;
  --card-bg: #ffffff;
  --text: #3a3026;
  --text-secondary: #6b5d4f;
  --text-tertiary: #a09080;
  --text-light: #b0a090;
  --border: #e8e0d6;
  --primary: #4a3f35;
  --green: #2e7d32;
  --orange: #e65100;
  --red: #c62828;
  --blue: #1565c0;
  --fs-base: 16px;
  --fs-title: 17px;
  --fs-meta: 13px;
  --fs-small: 12px;
  --fs-grid: 20px;
  --grid-size: 38px;
  --card-pad: 18px;
  --card-gap: 6px;
  --content-pad-v: 28px;
  --content-pad-h: 16px;
  --line-pad: 5px;
}

/* 小号字体 */
#view-detail[data-font-size="small"] {
  --fs-base: 15px;
  --fs-title: 16px;
  --fs-meta: 12px;
  --fs-small: 11px;
  --fs-grid: 19px;
  --grid-size: 36px;
  --card-pad: 16px;
  --card-gap: 5px;
  --content-pad-v: 24px;
  --content-pad-h: 14px;
  --line-pad: 4px;
}

/* 极小号字体 */
#view-detail[data-font-size="xsmall"] {
  --fs-base: 14px;
  --fs-title: 15px;
  --fs-meta: 11px;
  --fs-small: 10px;
  --fs-grid: 18px;
  --grid-size: 34px;
  --card-pad: 14px;
  --card-gap: 4px;
  --content-pad-v: 20px;
  --content-pad-h: 12px;
  --line-pad: 3px;
}

/* 微号字体 */
#view-detail[data-font-size="tiny"] {
  --fs-base: 13px;
  --fs-title: 14px;
  --fs-meta: 10px;
  --fs-small: 9px;
  --fs-grid: 17px;
  --grid-size: 32px;
  --card-pad: 12px;
  --card-gap: 4px;
  --content-pad-v: 18px;
  --content-pad-h: 10px;
  --line-pad: 2px;
}

/* 迷你号字体 */
#view-detail[data-font-size="mini"] {
  --fs-base: 12px;
  --fs-title: 13px;
  --fs-meta: 9px;
  --fs-small: 8px;
  --fs-grid: 16px;
  --grid-size: 30px;
  --card-pad: 10px;
  --card-gap: 3px;
  --content-pad-v: 16px;
  --content-pad-h: 8px;
  --line-pad: 2px;
}

/* 中等号字体 */
#view-detail[data-font-size="medium"] {
  --fs-base: 18px;
  --fs-title: 20px;
  --fs-meta: 15px;
  --fs-small: 13px;
  --fs-grid: 22px;
  --grid-size: 44px;
  --card-pad: 20px;
  --card-gap: 8px;
  --content-pad-v: 32px;
  --content-pad-h: 18px;
  --line-pad: 6px;
}

/* 大号字体 */
#view-detail[data-font-size="large"] {
  --fs-base: 22px;
  --fs-title: 24px;
  --fs-meta: 17px;
  --fs-small: 15px;
  --fs-grid: 26px;
  --grid-size: 52px;
  --card-pad: 24px;
  --card-gap: 10px;
  --content-pad-v: 40px;
  --content-pad-h: 22px;
  --line-pad: 8px;
}

/* 超大号字体 */
#view-detail[data-font-size="xlarge"] {
  --fs-base: 26px;
  --fs-title: 30px;
  --fs-meta: 20px;
  --fs-small: 17px;
  --fs-grid: 30px;
  --grid-size: 62px;
  --card-pad: 28px;
  --card-gap: 12px;
  --content-pad-v: 48px;
  --content-pad-h: 26px;
  --line-pad: 10px;
}

/* 巨无霸字体（iPad专用） */
#view-detail[data-font-size="xxlarge"] {
  --fs-base: 32px;
  --fs-title: 36px;
  --fs-meta: 24px;
  --fs-small: 20px;
  --fs-grid: 36px;
  --grid-size: 76px;
  --card-pad: 34px;
  --card-gap: 16px;
  --content-pad-v: 56px;
  --content-pad-h: 32px;
  --line-pad: 13px;
}
  --radius: 16px;
  --radius-sm: 12px;
}

html, body {
  height: 100%;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#app {
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* ===== 视图切换 ===== */
.view {
  display: none;
  min-height: 100vh;
}
.view.active {
  display: block;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


/* ===== 头部 ===== */
.header {
  padding: 8px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.header-actions {
  display: flex;
  gap: 10px;
}
.btn-icon {
  width: 36px;
  height: 36px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s;
  user-select: none;
}
.btn-icon:active { transform: scale(0.9); }
.font-size-btn {
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  width: auto !important;
  min-width: 36px;
  padding: 0 8px;
  border-radius: 18px;
}
.header-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== 统计条 ===== */
.stats-bar {
  display: flex;
  margin: 0 12px 12px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border: none; }
.stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ===== 搜索 ===== */
.search-box {
  margin: 0 12px 14px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 2px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
#view-add .search-box {
  position: sticky;
  top: 44px;
  z-index: 10;
}
.search-icon { font-size: 15px; color: var(--text-light); }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 10px 0;
  font-family: inherit;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-light); }

/* ===== 标签 ===== */
.tags {
  display: flex;
  gap: 8px;
  padding: 0 12px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tags::-webkit-scrollbar { display: none; }
.tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  background: var(--card-bg);
  color: var(--text-secondary);
  white-space: nowrap;
  border: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tag:active { opacity: 0.7; }
.tag.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 古诗卡片列表 ===== */
.home-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding-top: env(safe-area-inset-top); /* 适配状态栏 */
}
.poem-list {
  padding: 0 12px 120px;
  display: flex;
  flex-direction: column;
}
.poem-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: var(--card-pad) 16px;
  margin-bottom: var(--card-gap);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.15s;
}
.poem-card:active { transform: scale(0.98); }
.poem-card:last-child { margin-bottom: 0; }

.poem-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-right: 6px;
}

.poem-info { flex: 1; min-width: 0; }
.poem-title {
  font-size: var(--fs-title);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}
.poem-title .badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 400;
  white-space: nowrap;
}
.badge.familiar { background: #e8f5e9; color: var(--green); }
.badge.unfamiliar { background: #fff3e0; color: var(--orange); }
.badge.new { background: #e3f2fd; color: var(--blue); }

.poem-meta {
  font-size: var(--fs-meta);
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.5;
}
/* ===== 预设诗集 ===== */
.preset-grade-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 0 4px;
  margin: 0;
  letter-spacing: 1px;
}
.preset-grade-header:first-child {
  padding-top: 0;
}
.preset-list {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}
.preset-card {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.preset-header {
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.preset-header:active { background: #f8f4f0; }
.preset-info { flex: 1; min-width: 0; }
.preset-title {
  font-size: var(--fs-title);
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}
.preset-meta {
  font-size: var(--fs-meta);
  color: var(--text-tertiary);
  margin-top: 3px;
  line-height: 1.5;
}
.preset-expand-icon {
  font-size: 12px;
  color: var(--text-light);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.preset-card.expanded .preset-expand-icon {
  transform: rotate(180deg);
}
.preset-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}
.preset-btn:active { opacity: 0.7; }
.preset-btn.added {
  background: var(--border);
  color: var(--text-tertiary);
  pointer-events: none;
}

.preset-body {
  display: none;
  padding: 0 14px 12px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.preset-card.expanded .preset-body {
  display: block;
}
.preset-body .line {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  letter-spacing: 1px;
}

.poem-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  min-width: 60px;
}
.poem-count {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.4;
}
.poem-count strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}
.level-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  line-height: 1.4;
}
.level-badge.familiar { background: #e8f5e9; color: var(--green); }
.level-badge.unfamiliar { background: #fff3e0; color: var(--orange); }
.level-badge.na { background: #f0f0f0; color: var(--text-light); }
.last-date {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.4;
}

/* ===== 分割线 ===== */
.divider-line {
  border: none;
  border-top: 1px dashed #d0c8c0;
  display: block;
}

/* ===== FAB ===== */
.fab-area {
  text-align: center;
  padding: 12px 0;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(74,63,53,0.25);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.fab:active { opacity: 0.85; transform: scale(0.96); }
.fab-full { width: calc(100% - 32px); justify-content: center; margin: 0 16px; }
.fab-outline {
  background: var(--card-bg);
  color: var(--primary);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.fab-file { cursor: pointer; }

/* ===== 悬浮按钮 ===== */
.fab-float {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 28px;
  font-weight: 300;
  box-shadow: 0 4px 20px rgba(74,63,53,0.35);
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.fab-float:active { transform: scale(0.92); }

.fab-detail {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 28px;
  font-weight: 300;
  box-shadow: 0 4px 20px rgba(74,63,53,0.35);
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.fab-detail:active { transform: scale(0.92); }

/* ===== 译文 ===== */
.trans-section {
  margin: 0 12px 16px;
}
.trans-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.trans-btn:active { background: #f0ece6; }
.trans-body {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== 朗读按钮 ===== */
.speak-btn {
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.speak-btn:active { background: #f0ece6; }

/* ===== 详情页 ===== */
.detail-scroll { padding-bottom: 20px; }

.detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 4px;
  padding-top: calc(12px + env(safe-area-inset-top)); /* 适配状态栏 */
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}
.back-btn {
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  user-select: none;
}

.detail-header { text-align: center; padding: 10px 20px 18px; }
.detail-header h2 { font-size: var(--fs-title); font-weight: 700; color: var(--text); }
.detail-header .author { font-size: var(--fs-meta); color: var(--text-tertiary); margin-top: 6px; }

/* 环形进度 */
.progress-ring-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 10px 0 24px;
}
.ring-item { text-align: center; }
.ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring svg { transform: rotate(-90deg); }
.ring .ring-text {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.ring-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* 古诗正文 */
.poem-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: var(--content-pad-v) var(--content-pad-h);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 0 auto 16px;
  width: fit-content; /* 核心修改：内容多宽，卡片就多宽 */
  max-width: calc(100% - 24px); /* 保证在小屏上不会超出屏幕 */
  min-width: 200px; /* 给个保底宽度，防止太窄不好看 */
}
.poem-content .line {
  display: flex;
  justify-content: center;
  padding: var(--line-pad) 0;
  gap: 6px; /* 默认间距稍微缩小，为多字行腾空间 */
  min-width: max-content; /* 确保行容器不被压缩 */
  margin: 0 auto;
}
.char-block {
  flex-shrink: 0; /* 核心修改：强制不被挤压，保证田字格是方的 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: var(--grid-size);
}
.char-block .py {
  font-size: var(--fs-small);
  color: var(--text-light);
  line-height: 1.6;
  white-space: nowrap;
}
.char-block .cn {
  width: var(--grid-size);
  height: var(--grid-size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-grid);
  color: var(--text);
  font-weight: 500;
  border: 1px solid #ede5db;
  background-color: #faf8f5;
  background-image:
    linear-gradient(to right, transparent calc(50% - 0.5px), #ede5db calc(50% - 0.5px), #ede5db calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), #ede5db calc(50% - 0.5px), #ede5db calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.char-block .cn.punct {
  width: auto;
  height: auto;
  border: none;
  background: none;
  background-image: none;
  font-size: var(--fs-grid);
  color: var(--text);
  min-width: 0.4em;
  padding: 0 2px;
}

/* 背诵记录 */
.section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 16px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 12px;
}
.history-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.history-left { display: flex; align-items: center; gap: 10px; }
.history-date { font-size: 14px; color: var(--text); font-weight: 500; }
.history-note { font-size: 12px; color: var(--text-light); }
.history-level { font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 10px; }
.history-level.familiar { background: #e8f5e9; color: var(--green); }
.history-level.unfamiliar { background: #fff3e0; color: var(--orange); }
.history-empty {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  padding: 30px 0;
}

/* ===== 表单页 ===== */
.form-page {
  padding: 0 0 20px;
}
.form-page .detail-header-bar h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.form-group {
  padding: 0 16px;
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-row {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 18px;
}
.form-row .form-group {
  padding: 0;
  margin-bottom: 0;
}
.flex-1 { flex: 1; }

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--card-bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group textarea {
  resize: vertical;
  line-height: 1.6;
}

/* 掌握程度选择 */
.level-selector {
  display: flex;
  gap: 8px;
}
.level-btn {
  flex: 1;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--card-bg);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.level-btn:active { transform: scale(0.96); }
.level-btn.selected {
  border-color: var(--primary);
  background: #f0ece6;
}
.level-btn[data-level="familiar"].selected {
  border-color: var(--green);
  background: #e8f5e9;
  color: var(--green);
}
.level-btn[data-level="unfamiliar"].selected {
  border-color: var(--orange);
  background: #fff3e0;
  color: var(--orange);
}

.record-poem-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 0;
}

/* ===== 自动拼音 ===== */
.auto-py-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  padding: 6px 10px;
  background: #f8f4f0;
  border-radius: 8px;
  line-height: 1.6;
  min-height: 20px;
  word-break: break-all;
}
.auto-py-hint .py-line {
  display: block;
}
.auto-py-hint .py-line + .py-line {
  margin-top: 2px;
}

/* ===== 弹窗 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  width: calc(100% - 48px);
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.modal-close {
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
}

/* ===== 动画 ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.poem-card, .history-item {
  animation: fadeIn 0.25s ease-out both;
}
.poem-card:nth-child(2) { animation-delay: 0.03s; }
.poem-card:nth-child(3) { animation-delay: 0.06s; }
.poem-card:nth-child(4) { animation-delay: 0.09s; }
.poem-card:nth-child(5) { animation-delay: 0.12s; }

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-light);
}
.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

/* ===== 关于弹窗 ===== */
.about-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.about-text .app-icon { font-size: 48px; margin-bottom: 8px; display: block; }

/* ===== 录音动画 ===== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}
