/* ===== CSS Variables (unified design language) ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-light: rgba(99, 102, 241, 0.08);
  --accent-lighter: rgba(99, 102, 241, 0.04);
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --max-width: 720px;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #334155;
  --accent: #818cf8;
  --accent-hover: #6366f1;
  --accent-light: rgba(129, 140, 248, 0.12);
  --accent-lighter: rgba(129, 140, 248, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

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

html, body { overflow-x: hidden; width: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
}

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

/* ===== Header ===== */

[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.85);
}






/* ===== Header Navigation ===== */









/* ===== Main ===== */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 60px;
}

/* ===== Date / Issue ===== */
.date-section {
  text-align: center;
  margin-bottom: 28px;
}

.date-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.date-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.date-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.date-nav-btn {
  padding: 6px 18px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}

.date-nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.date-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== Category Filters ===== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.filter-tag {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.filter-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Today Comment (今日甬评) ===== */
.comment-section {
  margin-bottom: 24px;
}

.comment-card {
  background: linear-gradient(135deg, var(--accent-lighter) 0%, var(--accent-light) 100%);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}

.comment-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}

.comment-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.comment-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
}

/* ===== News Cards ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.category-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Category colors */
.category-tag[data-category="大模型动态"] {
  background: #ede9fe;
  color: #7c3aed;
}
[data-theme="dark"] .category-tag[data-category="大模型动态"] {
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

.category-tag[data-category="AI工具"] {
  background: #dbeafe;
  color: #2563eb;
}
[data-theme="dark"] .category-tag[data-category="AI工具"] {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
}

.category-tag[data-category="创业副业"] {
  background: #fef3c7;
  color: #d97706;
}
[data-theme="dark"] .category-tag[data-category="创业副业"] {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
}

.category-tag[data-category="行业应用"] {
  background: #d1fae5;
  color: #059669;
}
[data-theme="dark"] .category-tag[data-category="行业应用"] {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
}

.category-tag[data-category="政策监管"] {
  background: #fee2e2;
  color: #dc2626;
}
[data-theme="dark"] .category-tag[data-category="政策监管"] {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
}

.news-time {
  font-size: 12px;
  color: var(--text-muted);
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.5;
}

.news-title a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.news-title a:hover {
  color: var(--accent);
}

.news-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.news-comment {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-style: italic;
}

.news-source {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Archive Calendar ===== */
.archive-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.archive-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.archive-dates {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.archive-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.archive-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.archive-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.archive-btn .issue-num {
  display: block;
  font-size: 11px;
  opacity: 0.7;
}

/* ===== Subscribe ===== */
.subscribe-section {
  margin-top: 40px;
  padding: 32px 24px;
  background: var(--accent-lighter);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  text-align: center;
}

.subscribe-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subscribe-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.subscribe-qr-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin: 0 auto;
  display: block;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  .mobile-menu-btn { display: none; }




  .main { padding: 24px 16px 48px; }

  .date-title { font-size: 24px; }

  .filters { gap: 6px; }

  .filter-tag { padding: 5px 12px; font-size: 12px; }

  .news-card { padding: 16px; }

  .archive-dates { gap: 6px; }

  .archive-btn { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {

  .back-link span:first-child { font-size: 18px; display: inline; }

  .date-title { font-size: 20px; }
  .date-sub { font-size: 13px; }

  .news-title { font-size: 15px; }
  .news-summary { font-size: 13px; }

  .subscribe-section { padding: 24px 16px; }
}
