/* 勇头条 - 公众号排版样式 v2.1.0 */
/* 配色：墨绿主色 + 米色背景 + 橄榄绿强调（早间阅读色调，沉稳不刺眼） */

:root {
  --fz-primary: #2d5a2d;
  --fz-primary-dark: #1f3f1f;
  --fz-gold: #6b8e4e;
  --fz-bg: #f7f4ed;
  --fz-bg-card: #ffffff;
  --fz-text: #2c2c2c;
  --fz-text-muted: #6b6b6b;
  --fz-border: #e8e0d0;
  --fz-shadow: 0 2px 8px rgba(45, 93, 45, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--fz-bg);
  color: var(--fz-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fz-primary);
  text-decoration: none;
}

a:hover {
  color: var(--fz-primary-dark);
  text-decoration: underline;
}

/* ============ 顶部公众号头图 ============ */
.fz-header {
  background: linear-gradient(135deg, var(--fz-primary) 0%, var(--fz-primary-dark) 100%);
  color: #fff;
  padding: 24px 16px 18px;
  text-align: center;
  border-bottom: 3px solid var(--fz-gold);
}

.fz-header h1 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.fz-header .slogan {
  font-size: 13px;
  opacity: 0.9;
  letter-spacing: 1px;
}

.fz-header .meta {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.75;
}

/* ============ 布局 ============ */
.fz-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.fz-card {
  background: var(--fz-bg-card);
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--fz-border);
}

.fz-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fz-primary);
  border-left: 4px solid var(--fz-primary);
  padding-left: 10px;
  margin-bottom: 12px;
}

/* ============ 栏目导航 ============ */
.fz-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.fz-nav-item {
  background: #fff;
  border: 1px solid var(--fz-border);
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  font-size: 14px;
  color: var(--fz-text);
  transition: all 0.2s;
}

.fz-nav-item:hover {
  border-color: var(--fz-primary);
  color: var(--fz-primary);
  background: #fff8f8;
  text-decoration: none;
}

.fz-nav-item .icon {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}

/* ============ 最新推文卡片 ============ */
.fz-article-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  margin-bottom: 16px;
  overflow: hidden;
}

.fz-article-card .cover {
  background: linear-gradient(135deg, var(--fz-primary) 0%, var(--fz-gold) 100%);
  color: #fff;
  padding: 22px 18px;
}

.fz-article-card .cover .date {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.fz-article-card .cover h2 {
  font-size: 19px;
  line-height: 1.5;
}

.fz-article-card .body {
  padding: 16px 18px;
}

.fz-article-card .preview {
  font-size: 14px;
  color: var(--fz-text-muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fz-article-card .read-more {
  display: inline-block;
  background: var(--fz-primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
}

.fz-article-card .read-more:hover {
  background: var(--fz-primary-dark);
  color: #fff;
  text-decoration: none;
}

/* ============ 文章正文排版 ============ */
.fz-article {
  background: #fff;
  padding: 20px 18px;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.3px;
}

.fz-article h1.article-title {
  font-size: 21px;
  color: var(--fz-primary);
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.5;
}

.fz-article .article-meta {
  text-align: center;
  font-size: 12px;
  color: var(--fz-text-muted);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--fz-border);
}

.fz-article h2.section-title {
  font-size: 18px;
  color: var(--fz-primary);
  background: linear-gradient(transparent 65%, #fff3d4 65%);
  padding: 6px 0;
  margin: 24px 0 12px;
  border-left: 4px solid var(--fz-primary);
  padding-left: 10px;
}

.fz-article ol.news-list {
  list-style: none;
  counter-reset: news-counter;
  padding-left: 0;
  margin: 8px 0;
}

.fz-article ol.news-list li {
  counter-increment: news-counter;
  padding: 6px 0 6px 28px;
  position: relative;
  border-bottom: 1px dotted var(--fz-border);
  font-size: 15px;
}

.fz-article ol.news-list li::before {
  content: counter(news-counter) "）";
  position: absolute;
  left: 0;
  color: var(--fz-primary);
  font-weight: 600;
}

.fz-article ol.news-list li:last-child {
  border-bottom: none;
}

.fz-article .ad-block {
  background: linear-gradient(135deg, #fff8e8 0%, #fff 100%);
  border: 1px dashed var(--fz-gold);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--fz-gold);
}

.fz-article .ad-block strong {
  color: var(--fz-primary);
  font-size: 15px;
}

.fz-article .article-source {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--fz-border);
  font-size: 13px;
  color: var(--fz-text-muted);
  text-align: center;
  line-height: 1.9;
}

.fz-article .audio-tip {
  text-align: center;
  background: #fff3d4;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fz-gold);
  margin: 10px 0 18px;
  display: inline-block;
  width: 100%;
}

/* ============ 推荐阅读 ============ */
.fz-recommend {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  padding: 18px;
  margin-top: 16px;
}

.fz-recommend .title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fz-primary);
  margin-bottom: 14px;
  text-align: center;
  border-bottom: 2px dashed var(--fz-border);
  padding-bottom: 8px;
}

.fz-recommend ul {
  list-style: none;
}

.fz-recommend ul li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--fz-border);
  font-size: 14px;
}

.fz-recommend ul li:last-child {
  border-bottom: none;
}

.fz-recommend ul li::before {
  content: "▶ ";
  color: var(--fz-primary);
}

/* ============ 留言区 ============ */
.fz-comments {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  padding: 18px;
  margin-top: 16px;
}

.fz-comments .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fz-primary);
  margin-bottom: 12px;
}

.fz-comments .comment-item {
  padding: 8px 0;
  border-bottom: 1px dotted var(--fz-border);
  font-size: 13px;
}

.fz-comments .comment-item .author {
  color: var(--fz-gold);
  font-weight: 600;
  margin-right: 6px;
}

.fz-comment-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fz-border);
}

.fz-comment-form input,
.fz-comment-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--fz-border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
  font-family: inherit;
}

.fz-comment-form button {
  background: var(--fz-primary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 14px;
}

.fz-comment-form button:hover {
  background: var(--fz-primary-dark);
}

/* ============ 底部 ============ */
.fz-footer {
  background: #2c2c2c;
  color: #ccc;
  text-align: center;
  padding: 22px 16px;
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.9;
}

.fz-footer a {
  color: #fff;
  margin: 0 8px;
}

/* ============ 历史列表 ============ */
.fz-history-list {
  list-style: none;
}

.fz-history-list li {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--fz-border);
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fz-history-list li .date {
  font-size: 12px;
  color: var(--fz-text-muted);
}

.fz-history-list li a {
  flex: 1;
  margin-right: 10px;
}

/* ============ 栏目卡片矩阵（首页） ============ */
.fz-columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.fz-column-card {
  background: #fff;
  border: 1px solid var(--fz-border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  transition: all 0.2s;
}

.fz-column-card:hover {
  border-color: var(--fz-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.fz-column-card .col-icon {
  font-size: 26px;
  margin-bottom: 4px;
}

.fz-column-card .col-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fz-primary);
}

.fz-column-card .col-desc {
  font-size: 11px;
  color: var(--fz-text-muted);
  margin-top: 2px;
}

/* ============ 单篇栏目文章 ============ */
.fz-poem-card {
  background: linear-gradient(135deg, #fff8e8 0%, #fff 100%);
  border: 1px solid var(--fz-border);
  border-radius: 8px;
  padding: 22px 18px;
  margin: 14px 0;
  text-align: center;
}

.fz-poem-card .poem-title {
  font-size: 20px;
  color: var(--fz-gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.fz-poem-card .poem-author {
  font-size: 13px;
  color: var(--fz-text-muted);
  margin-bottom: 14px;
}

.fz-poem-card .poem-body {
  font-size: 17px;
  line-height: 2.2;
  color: var(--fz-text);
  letter-spacing: 1px;
}

.fz-poem-card .poem-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--fz-border);
  font-size: 13px;
  color: var(--fz-text-muted);
  text-align: left;
  line-height: 1.7;
}

/* ============ 历史上的今天 ============ */
.fz-today-event {
  padding: 12px 0;
  border-bottom: 1px dotted var(--fz-border);
}

.fz-today-event:last-child {
  border-bottom: none;
}

.fz-today-event .year {
  display: inline-block;
  background: var(--fz-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.fz-today-event .event {
  font-size: 15px;
  color: var(--fz-text);
}

/* ============ 每周一曲 ============ */
.fz-song-card {
  background: #fff;
  border: 1px solid var(--fz-border);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.fz-song-cover {
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  flex-shrink: 0;
}

.fz-song-info {
  flex: 1;
}

.fz-song-info .song-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--fz-primary);
  margin-bottom: 4px;
}

.fz-song-info .song-artist {
  font-size: 13px;
  color: var(--fz-text-muted);
  margin-bottom: 6px;
}

.fz-song-info .song-desc {
  font-size: 13px;
  color: var(--fz-text);
  line-height: 1.5;
}

/* ============ 医疗/财经/看天下 ============ */
.fz-news-item {
  padding: 14px 0;
  border-bottom: 1px dotted var(--fz-border);
}

.fz-news-item:last-child {
  border-bottom: none;
}

.fz-news-item .news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fz-text);
  margin-bottom: 4px;
  line-height: 1.5;
}

.fz-news-item .news-summary {
  font-size: 13px;
  color: var(--fz-text-muted);
  line-height: 1.6;
}

.fz-news-item .news-meta {
  font-size: 11px;
  color: var(--fz-text-muted);
  margin-top: 4px;
}

/* ============ 响应式（PC 端） ============ */
@media (min-width: 768px) {
  .fz-container {
    max-width: 720px;
    padding: 24px;
  }
  .fz-nav {
    grid-template-columns: repeat(4, 1fr);
  }
  .fz-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fz-header h1 {
    font-size: 26px;
  }
}

/* ============ v1.3.0 手机端公众号排版贴近真公众号 ============ */

/* 顶部头图：左标题 + 右关注按钮 */
.fz-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.fz-header-bar .header-text {
  flex: 1;
}

.fz-header-bar .header-text h1 {
  margin-bottom: 4px;
}

.fz-follow-btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--fz-primary);
  border: 1.5px solid #fff;
  border-radius: 18px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.fz-follow-btn:hover {
  background: rgba(255,255,255,0.92);
}

.fz-follow-btn.is-followed {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.fz-follow-btn.is-followed::before {
  content: "✓ ";
}

/* 公众号简介（在头图下方） */
.fz-account-intro {
  background: #fff;
  margin: 14px 16px 0;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: var(--fz-shadow);
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.fz-account-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.fz-account-info {
  flex: 1;
  min-width: 0;
}

.fz-account-info .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fz-text);
  margin-bottom: 2px;
}

.fz-account-info .desc {
  font-size: 12px;
  color: var(--fz-text-muted);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fz-account-intro .follow-btn-mini {
  flex-shrink: 0;
  background: var(--fz-primary);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.fz-account-intro .follow-btn-mini.is-followed {
  background: #e0e0e0;
  color: #999;
}

/* 点赞 / 在看 / 分享三件套 */
.fz-action-bar {
  display: flex;
  justify-content: space-around;
  padding: 18px 16px;
  margin: 18px 0 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
  border: 1px solid var(--fz-border);
}

.fz-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
}

.fz-action-item:hover {
  background: #fff8f8;
}

.fz-action-item .icon {
  font-size: 22px;
}

.fz-action-item .label {
  font-size: 12px;
  color: var(--fz-text-muted);
}

.fz-action-item.is-active .label {
  color: var(--fz-primary);
  font-weight: 600;
}

.fz-action-item.is-active .icon {
  transform: scale(1.15);
}

/* 阅读量 + 在看数 显示 */
.fz-meta-stats {
  background: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 12px;
  box-shadow: var(--fz-shadow);
  font-size: 13px;
  color: var(--fz-text-muted);
  display: flex;
  justify-content: space-around;
  border: 1px solid var(--fz-border);
}

.fz-meta-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fz-meta-stats .stat-value {
  color: var(--fz-primary);
  font-weight: 700;
  font-size: 14px;
}

/* 留言区公众号风格（圆形头像emoji） */
.fz-comment-item-v2 {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--fz-border);
}

.fz-comment-item-v2:last-child {
  border-bottom: none;
}

.fz-comment-item-v2 .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  font-weight: 700;
}

.fz-comment-item-v2 .body {
  flex: 1;
  min-width: 0;
}

.fz-comment-item-v2 .author {
  color: var(--fz-gold);
  font-weight: 600;
  font-size: 13px;
  margin-right: 6px;
}

.fz-comment-item-v2 .text {
  font-size: 14px;
  color: var(--fz-text);
  line-height: 1.6;
}

.fz-comment-item-v2 .time {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}

/* 关注引导浮窗 */
.fz-follow-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.fz-follow-popup .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.fz-follow-popup .info {
  flex: 1;
  min-width: 0;
}

.fz-follow-popup .info .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fz-text);
}

.fz-follow-popup .info .desc {
  font-size: 12px;
  color: var(--fz-text-muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fz-follow-popup .follow-btn {
  background: var(--fz-primary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

.fz-follow-popup .follow-btn.is-followed {
  background: #e0e0e0;
  color: #999;
}

.fz-follow-popup .close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 在看朋友列表 */
.fz-readers {
  background: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: var(--fz-shadow);
  font-size: 13px;
  color: var(--fz-text-muted);
  border: 1px solid var(--fz-border);
}

.fz-readers .avatars {
  display: flex;
  margin-bottom: 6px;
}

.fz-readers .mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a9a4f, #2d5a2d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -8px;
  border: 2px solid #fff;
  font-weight: 700;
}

.fz-readers .mini-avatar:nth-child(2) { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.fz-readers .mini-avatar:nth-child(3) { background: linear-gradient(135deg, #f6d365, #fda085); }
.fz-readers .mini-avatar:nth-child(4) { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.fz-readers .mini-avatar:nth-child(5) { background: linear-gradient(135deg, #84fab0, #8fd3f4); }

.fz-readers .mini-avatar:first-child {
  margin-left: 0;
}

/* ============ v1.4.0 搜索 + 归档 ============ */

/* 顶部搜索框 */
.fz-search-container {
  background: #fff;
  margin: 14px 16px 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: var(--fz-shadow);
}

.fz-search-box {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 8px;
}

.fz-search-box .search-icon {
  font-size: 18px;
  color: var(--fz-text-muted);
}

.fz-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 6px 4px;
  background: transparent;
  color: var(--fz-text);
  font-family: inherit;
}

.fz-search-box input::placeholder {
  color: #bbb;
}

.fz-search-box button {
  background: var(--fz-primary);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.fz-search-box button:hover {
  background: var(--fz-primary-dark);
}

/* 归档页 */
.archive-month {
  border: 1px solid var(--fz-border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.archive-month-head {
  background: #fff8e8;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--fz-gold);
}

.archive-month-head:hover {
  background: #fff3d4;
}

.archive-month-head .caret {
  display: inline-block;
  width: 18px;
  font-size: 12px;
  color: var(--fz-primary);
}

.archive-month-head .month-name {
  flex: 1;
}

.archive-month-head .month-count {
  font-size: 12px;
  color: var(--fz-text-muted);
  font-weight: 400;
  background: #fff;
  padding: 2px 8px;
  border-radius: 10px;
}

.archive-month-body {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background: #fff;
}

.archive-month.is-open .archive-month-body {
  display: block;
}

.archive-day {
  border-bottom: 1px dotted var(--fz-border);
}

.archive-day:last-child {
  border-bottom: none;
}

.archive-day a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--fz-text);
  transition: background 0.15s;
}

.archive-day a:hover {
  background: #fff8f8;
}

.archive-day .day {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--fz-primary);
  font-size: 14px;
  min-width: 40px;
}

.archive-day .weekday {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--fz-text-muted);
  min-width: 32px;
}

.archive-day .title {
  flex: 1;
  font-size: 13px;
  color: var(--fz-text);
}

.archive-day.is-placeholder .title {
  color: #aaa;
  font-style: italic;
}

.archive-day.is-placeholder a:hover {
  background: #f7f4ed;
  cursor: not-allowed;
}

/* 搜索页 */
.search-page-box {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--fz-shadow);
  border: 1px solid var(--fz-border);
}

.search-page-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 8px 4px;
  background: transparent;
  color: var(--fz-text);
  font-family: inherit;
}

.search-page-box input::placeholder {
  color: #bbb;
}

.search-empty {
  background: #fff;
  border-radius: 8px;
  padding: 30px 18px;
  text-align: center;
  color: #999;
  font-size: 14px;
  border: 1px solid var(--fz-border);
}

.search-summary {
  background: #fff8e8;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--fz-gold);
}

.search-summary strong {
  color: var(--fz-primary);
}

.search-group {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--fz-shadow);
  border: 1px solid var(--fz-border);
}

.search-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fz-primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--fz-border);
}

.search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-results li {
  border-bottom: 1px dotted var(--fz-border);
}

.search-results li:last-child {
  border-bottom: none;
}

.search-results li a {
  display: block;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--fz-text);
  transition: background 0.15s;
  border-radius: 4px;
}

.search-results li a:hover {
  background: #f5faf5;
}

.search-results li.is-placeholder .r-title {
  color: #aaa;
}

.search-results .r-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fz-text);
  margin-bottom: 3px;
}

.search-results .r-desc {
  font-size: 12px;
  color: var(--fz-text-muted);
  line-height: 1.5;
  margin-bottom: 3px;
}

.search-results .r-date {
  font-size: 11px;
  color: var(--fz-text-muted);
}

.search-results mark {
  background: #fff3d4;
  color: var(--fz-primary);
  padding: 0 2px;
  border-radius: 2px;
}

/* ============ v1.6.0 留言体验优化 ============ */

.emoji-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.emoji-btn {
  background: #fafafa;
  border: 1px solid var(--fz-border);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.emoji-btn:hover {
  background: #fff8e8;
  border-color: var(--fz-gold);
  transform: scale(1.1);
}

.char-counter {
  font-weight: 500;
}

/* ============ v1.7.0 工具栏（TTS + 复制） ============ */

.fz-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.fz-tool-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff8e8 0%, #fff 100%);
  border: 1px solid var(--fz-gold);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fz-gold);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.fz-tool-btn:hover {
  background: linear-gradient(135deg, #fff3d4 0%, #fff8e8 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.15);
}

.fz-tool-btn .icon {
  font-size: 18px;
}

.fz-tool-btn.is-active {
  background: var(--fz-primary);
  color: #fff;
  border-color: var(--fz-primary);
}

@media (max-width: 480px) {
  .fz-tool-btn .label {
    font-size: 12px;
  }
}

/* ============ v1.9.0 视频号片尾脚本 ============ */

.video-script {
  background: #fff8e8;
  border-left: 3px solid var(--fz-gold);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fz-text);
}

.video-script strong {
  color: var(--fz-gold);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

/* ============ v2.0.0 AI 语音新闻播放器 ============ */

.audio-player-card {
  background: #fff;
  border: 1px solid var(--fz-border);
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
  box-shadow: var(--fz-shadow);
}

.audio-player-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fz-border);
}

.audio-cover {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.audio-info {
  flex: 1;
  min-width: 0;
}

.audio-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fz-text);
  margin-bottom: 2px;
}

.audio-subtitle {
  font-size: 12px;
  color: var(--fz-text-muted);
}

.audio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fz-text-muted);
  margin-bottom: 10px;
  font-family: monospace;
}

.audio-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--fz-border);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fz-primary), var(--fz-gold));
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-play-btn {
  background: var(--fz-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-play-btn:hover {
  background: var(--fz-primary-dark);
}

.audio-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  font-size: 14px;
}

.audio-volume-wrap input[type="range"] {
  flex: 1;
  height: 4px;
}

.audio-chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--fz-border);
}

.audio-chapter {
  background: #fafafa;
  border: 1px solid var(--fz-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.audio-chapter:hover {
  background: #fff8e8;
  border-color: var(--fz-gold);
  transform: translateY(-1px);
}

.audio-generate-box {
  text-align: center;
  padding: 12px;
}

.audio-generate-btn {
  background: linear-gradient(135deg, var(--fz-primary), var(--fz-gold));
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.audio-generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 93, 45, 0.25);
}

.audio-generate-tip {
  font-size: 12px;
  color: var(--fz-text-muted);
  margin-top: 8px;
}

.audio-loading {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--fz-gold);
}

.audio-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--fz-border);
  border-top-color: var(--fz-primary);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}