/* ============================================================
   ACG导航站 - 内容专题与日历共享样式
   依赖 css/style.css 中的 CSS 变量
   ============================================================ */

/* ===== 通用：面包屑 ===== */
.topic-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.topic-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.topic-breadcrumb a:hover {
  color: var(--accent-cyan);
}
.topic-breadcrumb .sep {
  opacity: 0.5;
}
.topic-breadcrumb .current {
  color: var(--text-secondary);
}

/* ===== 通用：专题页 Hero ===== */
.topic-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.topic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 107, 157, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 82% 72%, rgba(180, 107, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(107, 181, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.topic-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.topic-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(180, 107, 255, 0.15));
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-pink);
  margin-bottom: 18px;
}
.topic-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topic-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}
.topic-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.topic-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topic-hero-meta .meta-strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== 通用：正文布局 ===== */
.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  padding: 40px 0 64px;
  align-items: start;
}
.topic-body {
  min-width: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.topic-body p {
  margin-bottom: 18px;
}
.topic-body p strong {
  color: var(--text-primary);
  font-weight: 600;
}
.topic-body a {
  color: var(--accent-cyan);
  border-bottom: 1px dashed rgba(107, 255, 224, 0.4);
  transition: all 0.2s ease;
}
.topic-body a:hover {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
}
.topic-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-pink);
  line-height: 1.3;
  scroll-margin-top: 90px;
}
.topic-body h2 .h2-icon {
  margin-right: 8px;
}
.topic-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
  scroll-margin-top: 90px;
}
.topic-body ul,
.topic-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.topic-body li {
  margin-bottom: 8px;
}
.topic-body li::marker {
  color: var(--accent-pink);
}
.topic-body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-size: 14px;
}
.topic-body code {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent-cyan);
}
.topic-body pre {
  background: #0a0a12;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 18px 0 22px;
  font-size: 13px;
  line-height: 1.6;
}
.topic-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #e8e8f0;
}
.topic-body img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: 18px 0;
}

/* ===== 通用：提示框 ===== */
.callout {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 22px 0;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid;
}
.callout-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.5;
}
.callout-body {
  flex: 1;
}
.callout-body strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.callout-info {
  background: linear-gradient(135deg, rgba(107, 181, 255, 0.08), rgba(107, 255, 224, 0.05));
  border-color: rgba(107, 181, 255, 0.35);
}
.callout-info .callout-icon,
.callout-info strong {
  color: var(--accent-blue);
}
.callout-tip {
  background: linear-gradient(135deg, rgba(124, 255, 180, 0.08), rgba(107, 255, 224, 0.05));
  border-color: rgba(124, 255, 180, 0.35);
}
.callout-tip .callout-icon,
.callout-tip strong {
  color: #7cffb4;
}
.callout-warn {
  background: linear-gradient(135deg, rgba(255, 159, 107, 0.08), rgba(255, 107, 107, 0.05));
  border-color: rgba(255, 159, 107, 0.4);
}
.callout-warn .callout-icon,
.callout-warn strong {
  color: var(--accent-orange);
}
.callout-danger {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(180, 30, 60, 0.06));
  border-color: rgba(255, 107, 107, 0.4);
}
.callout-danger .callout-icon,
.callout-danger strong {
  color: #ff6b6b;
}

/* ===== 通用：步骤教程 ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}
.step {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all 0.25s ease;
  position: relative;
}
.step:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-hover);
  box-shadow: 0 4px 20px rgba(107, 255, 224, 0.1);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(107, 255, 224, 0.25);
}
.step-body {
  flex: 1;
  min-width: 0;
}
.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 通用：对比表格 ===== */
.compare-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  position: sticky;
  top: 0;
}
.compare-table tbody tr {
  transition: background 0.15s ease;
}
.compare-table tbody tr:hover {
  background: var(--bg-hover);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table .col-feat {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.compare-table .yes {
  color: #7cffb4;
  font-weight: 600;
}
.compare-table .no {
  color: #ff6b6b;
  font-weight: 600;
}
.compare-table .mid {
  color: var(--accent-orange);
  font-weight: 600;
}

/* ===== 通用：平台/项目卡片 ===== */
.platform-card,
.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 16px 0;
  transition: all 0.25s ease;
}
.platform-card:hover,
.rank-card:hover {
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.platform-head,
.rank-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.platform-logo,
.rank-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(180, 107, 255, 0.15));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.platform-name,
.rank-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.platform-meta,
.rank-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.platform-desc,
.rank-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.platform-tags,
.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag {
  padding: 3px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-secondary);
}
.tag-good { background: rgba(124, 255, 180, 0.1); border-color: rgba(124, 255, 180, 0.3); color: #7cffb4; }
.tag-bad { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.3); color: #ff6b6b; }
.tag-neutral { background: rgba(107, 181, 255, 0.1); border-color: rgba(107, 181, 255, 0.3); color: var(--accent-blue); }

/* 优缺点 */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.pros-box,
.cons-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.pros-box {
  background: rgba(124, 255, 180, 0.06);
  border: 1px solid rgba(124, 255, 180, 0.25);
}
.cons-box {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.25);
}
.pros-box-title,
.cons-box-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pros-box-title { color: #7cffb4; }
.cons-box-title { color: #ff6b6b; }
.pros-box ul,
.cons-box ul {
  margin: 0;
  padding-left: 18px;
}
.pros-box li,
.cons-box li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
}
.pros-box li::marker { color: #7cffb4; }
.cons-box li::marker { color: #ff6b6b; }

/* ===== 通用：右侧 TOC ===== */
.topic-toc {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.topic-toc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.topic-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.topic-toc-list a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.5;
}
.topic-toc-list a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.topic-toc-list a.active {
  color: var(--accent-pink);
  border-left-color: var(--accent-pink);
  background: rgba(255, 107, 157, 0.06);
}

/* ===== 通用：CTA / 相关推荐 ===== */
.topic-cta {
  margin: 36px 0 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(180, 107, 255, 0.08));
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: var(--radius-lg);
  text-align: center;
}
.topic-cta h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.topic-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.topic-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}
.topic-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
.related-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.related-card-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
.related-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.related-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   专题导航 Hub 页 (topics.html)
   ============================================================ */
.topics-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.topics-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107, 255, 224, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.topics-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.topics-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 14px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topics-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.topics-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 8px;
}
.topics-filter-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topics-filter-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.topics-filter-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
  padding: 20px 0 56px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent-pink));
  box-shadow: var(--shadow-lg);
  background: var(--bg-hover);
}
.topic-card:hover::before {
  transform: scaleX(1);
}
.topic-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--card-accent, var(--accent-pink));
  align-self: flex-start;
  margin-bottom: 14px;
}
.topic-card-icon {
  font-size: 34px;
  margin-bottom: 12px;
}
.topic-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.topic-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.topic-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.topic-card-foot .read-more {
  color: var(--card-accent, var(--accent-pink));
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.topic-card:hover .read-more {
  gap: 8px;
}

/* 分类配色 */
.topic-card[data-cat="guide"] { --card-accent: var(--accent-pink); }
.topic-card[data-cat="compare"] { --card-accent: var(--accent-purple); }
.topic-card[data-cat="tutorial"] { --card-accent: #7cffb4; }
.topic-card[data-cat="region"] { --card-accent: var(--accent-cyan); }
.topic-card[data-cat="recommend"] { --card-accent: var(--accent-orange); }

/* ============================================================
   ACG 日历 (calendar.html)
   ============================================================ */
.cal-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 44px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.cal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(107, 255, 224, 0.13) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(180, 107, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.cal-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cal-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #6bffe0 0%, #b46bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cal-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}
.cal-hero-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
}
.cal-hero-now .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cffb4;
  box-shadow: 0 0 10px #7cffb4;
  animation: calPulse 1.6s ease-in-out infinite;
}
@keyframes calPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cal-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 8px;
}
.cal-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cal-tab:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.cal-tab.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(107, 255, 224, 0.3);
}
.cal-tab .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.cal-tab:not(.active) .count {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.cal-section {
  padding: 24px 0 56px;
  display: none;
}
.cal-section.active {
  display: block;
}

.cal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.cal-section-title {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cal-section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
}
.cal-note {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
}

/* 新番时间表：星期网格 */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.week-day {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 120px;
  transition: all 0.2s ease;
}
.week-day:hover {
  border-color: var(--accent-pink);
}
.week-day.is-today {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(107, 255, 224, 0.18);
  background: linear-gradient(180deg, rgba(107, 255, 224, 0.05), var(--bg-card));
}
.week-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.week-day-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.week-day-name.today {
  color: var(--accent-cyan);
}
.week-day-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 1px 7px;
  border-radius: 8px;
}
.week-anime {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.week-anime:last-child {
  border-bottom: none;
}
.week-anime .time {
  color: var(--accent-pink);
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.week-anime .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 事件列表行 */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-purple);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.2s ease;
}
.event-row:hover {
  background: var(--bg-hover);
  transform: translateX(4px);
}
.event-row.is-soon {
  border-left-color: var(--accent-cyan);
}
.event-row.is-today {
  border-left-color: #7cffb4;
  box-shadow: 0 0 14px rgba(124, 255, 180, 0.12);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.event-date .d {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.event-date .m {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.event-date .weekday {
  font-size: 11px;
  color: var(--accent-pink);
  margin-top: 2px;
  font-weight: 600;
}
.event-body {
  min-width: 0;
}
.event-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.event-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.event-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* 声优生日：卡片网格 */
.bday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.bday-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
}
.bday-card:hover {
  border-color: var(--accent-pink);
  transform: translateY(-2px);
}
.bday-card.is-today {
  border-color: #7cffb4;
  background: linear-gradient(135deg, rgba(124, 255, 180, 0.06), var(--bg-card));
}
.bday-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.bday-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.bday-works {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.bday-card.is-today .bday-date {
  color: #7cffb4;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .topic-layout {
    grid-template-columns: 1fr;
  }
  .topic-toc {
    position: static;
    max-height: none;
    order: -1;
  }
}

@media (max-width: 768px) {
  .topic-hero {
    padding: 40px 0 28px;
  }
  .topic-hero h1 {
    font-size: 26px;
  }
  .topic-hero-desc {
    font-size: 14px;
  }
  .topics-hero h1,
  .cal-hero h1 {
    font-size: 30px;
  }
  .topics-hero p,
  .cal-hero p {
    font-size: 14px;
  }
  .topic-body {
    font-size: 14px;
  }
  .topic-body h2 {
    font-size: 20px;
  }
  .topic-body h3 {
    font-size: 16px;
  }
  .pros-cons {
    grid-template-columns: 1fr;
  }
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .week-grid {
    grid-template-columns: 1fr;
  }
  .event-row {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .event-row .event-tags {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .event-date .d {
    font-size: 18px;
  }
  .bday-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
