:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --text-muted: #6b7280;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #22c55e;
  --radius: 8px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

/* 流动贝塞尔曲线背景 */
.curves-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.curves-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curve {
  transform-origin: center center;
  animation: curveFlow 18s ease-in-out infinite;
}

.curve-1 { animation-delay: 0s; animation-duration: 20s; }
.curve-2 { animation-delay: -4s; animation-duration: 22s; }
.curve-3 { animation-delay: -8s; animation-duration: 24s; }
.curve-4 { animation-delay: -2s; animation-duration: 19s; }
.curve-5 { animation-delay: -6s; animation-duration: 21s; }

@keyframes curveFlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translate(2%, -1.5%) scale(1.02);
    opacity: 0.95;
  }
  50% {
    transform: translate(-1.5%, 2%) scale(0.98);
    opacity: 1;
  }
  75% {
    transform: translate(1%, 1%) scale(1.01);
    opacity: 0.97;
  }
}

/* ---------- Header & 主导航 ---------- */
.header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  min-height: 3.5rem;
  overflow: visible;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 2rem;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-link:hover .logo,
.brand-link:hover .tagline {
  color: var(--text);
}

.logo {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tagline {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.main-nav {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid var(--border);
  flex: 1;
  min-width: 0;
}

/* 顶栏右侧：登录/用户区，置于主导航下层避免遮挡下拉菜单 */
.header-auth {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 7rem;
  padding-left: 1.5rem;
  margin-left: 1rem;
  border-left: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.02);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem 0.85rem;
  margin-bottom: -2px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(59, 130, 246, 0.06);
}

.nav-icon {
  font-size: 1rem;
  opacity: 0.9;
}

/* 设置下拉菜单：悬停或 .is-open 时显示，避免被 main 遮挡 */
.nav-dropdown {
  position: relative;
  margin-bottom: -2px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem 0.85rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown-active .nav-dropdown-trigger {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(59, 130, 246, 0.06);
}

.nav-dropdown-active .nav-dropdown-trigger {
  border-bottom-color: var(--accent);
}

.nav-dropdown-trigger .nav-icon {
  font-size: 1rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  margin: 0;
  padding: 0.35rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  z-index: 9999;
  display: none;
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
}

.nav-dropdown-menu a.active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  font-weight: 500;
}

/* 日志页 */
.log-list {
  min-height: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.log-list:empty::before {
  content: "暂无日志";
  color: var(--text-muted);
}

.log-hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

/* 用户管理表格 */
.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.users-table th,
.users-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.users-table th {
  font-weight: 600;
  color: var(--text-muted);
}

/* 关于页 */
.about-content p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ---------- 视图模块与页面容器 ---------- */
.view-module {
  display: none;
}

.view-module.active {
  display: block;
}

.main {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.75rem 2rem 3rem;
  width: 100%;
  box-sizing: border-box;
}

.module-page {
  animation: moduleFade 0.25s ease-out;
}

@keyframes moduleFade {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.module-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.module-desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section {
  margin-bottom: 1.75rem;
}

.card-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card-block .block-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.card-block .block-title:first-child {
  margin-top: 0;
}

.block-title-list {
  margin-top: 1.25rem !important;
  margin-bottom: 0.75rem !important;
}

.article-list-total {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.stats-section .stat-card {
  background: rgba(0, 0, 0, 0.03);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stats-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.filters-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters-quick-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.filters-quick .btn-quick {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
}

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

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

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.stats-filters label,
.filters label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

input[type="date"],
input[type="number"],
select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

.fetch-section .hint,
.task-section .hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.fetch-result {
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  white-space: pre-wrap;
  max-height: 200px;
  overflow: auto;
}

.fetch-result:empty {
  display: none;
}

/* 正文抓取任务详情 */
.task-section #btn-content-fill-start {
  margin-bottom: 0.5rem;
}

.task-message {
  min-height: 1.5em;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.task-message-error {
  color: #dc2626;
}

.task-section .task-detail {
  margin-top: 0;
}

.task-empty {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.task-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.task-card.hidden {
  display: none;
}

.task-empty.hidden {
  display: none;
}

.task-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.task-status {
  font-weight: 600;
  color: var(--accent);
}

.task-status.running {
  color: var(--accent);
}

.task-job-id {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.task-cancel-btn {
  margin-left: auto;
}

.task-cancel-btn.hidden {
  display: none;
}

.task-progress-wrap {
  position: relative;
  height: 24px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.task-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
  transition: width 0.3s ease;
  width: 0%;
}

.task-progress-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-shadow: 0 0 2px var(--surface);
}

.task-counts,
.task-times {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.task-counts strong,
.task-times span {
  font-variant-numeric: tabular-nums;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0;
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.article-card {
  cursor: pointer;
}

.article-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.article-card-head .article-title {
  flex: 1;
  min-width: 0;
}

.article-has-content {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.article-title {
  font-weight: 500;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.article-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 搜索关键字高亮（列表标题/摘要、详情页标题/摘要/正文） */
.article-title mark,
.article-desc mark,
#detail-title mark,
#detail-description mark,
#detail-content mark,
.detail-content mark {
  background: rgba(251, 191, 36, 0.45);
  padding: 0 0.1em;
  border-radius: 2px;
  font-weight: 500;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.pagination-pages {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  justify-content: center;
  min-width: 0;
}

.pagination-page-btn {
  min-width: 2.25rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
}

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

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

.pagination-select {
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  min-width: 0;
  max-width: 100%;
}

/* 搜索历史（登录用户可见，默认折叠） */
.search-history-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.search-history-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
}

.search-history-toggle:hover {
  color: var(--accent);
}

.search-history-toggle-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.search-history-block:not(.search-history-expanded) .search-history-toggle-icon {
  transform: rotate(0deg);
}

.search-history-block.search-history-expanded .search-history-toggle-icon {
  transform: rotate(90deg);
}

.search-history-body {
  overflow: hidden;
}

.search-history-body.collapsed {
  display: none;
}

.search-history-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.5rem;
}

/* 列表最大高度约 10 条，超出显示滚动条 */
.search-history-list-wrap {
  max-height: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.search-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-history-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.search-history-item:last-child {
  border-bottom: none;
}

.search-history-time {
  color: var(--text-muted);
  min-width: 4.5rem;
}

.search-history-summary {
  flex: 1 1 12rem;
  min-width: 0;
  color: var(--text);
}

.search-history-use {
  flex-shrink: 0;
}

.search-history-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

/* 关于页 · 依赖库与运行环境 */
.deps-section {
  margin-top: 1.5rem;
}

.deps-section .block-title {
  margin-bottom: 1rem;
}

.deps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .deps-grid {
    grid-template-columns: 1fr;
  }
}

.deps-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.deps-list {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.deps-category {
  margin-bottom: 0.75rem;
}

.deps-category:last-child {
  margin-bottom: 0;
}

.deps-cat-name {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.deps-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.deps-spec {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.15rem 0.4rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.deps-version-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.deps-new-version {
  font-size: 0.8rem;
  color: var(--accent);
  margin-left: 0.25rem;
}

.deps-software-item {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.deps-software-item:last-child {
  margin-bottom: 0;
}

/* 关于页 · 更新日志卡片 */
.changelog-section {
  margin-top: 1.5rem;
}

.changelog-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.changelog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.changelog-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.changelog-card-version {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

.changelog-card-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.changelog-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0.5rem 0 0.35rem;
  color: var(--text);
}

.changelog-card-content {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin-top: 0.5rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.changelog-card-content br {
  white-space: normal;
}

.changelog-pagination {
  margin-top: 1.25rem;
}

/* 搜索历史独立页 */
.search-history-page-toolbar {
  margin-bottom: 0.75rem;
}

.search-history-page-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-history-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.search-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.search-history-table th,
.search-history-table td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.search-history-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

.search-history-table td {
  color: var(--text);
}

.search-history-table .sh-cell-time {
  white-space: nowrap;
  color: var(--text-muted);
}

.search-history-table .sh-cell-actions {
  white-space: nowrap;
}

.search-history-table .sh-link-use {
  margin-right: 0.5rem;
}

/* 阅读记录页 */
.reading-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.reading-history-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reading-history-filters .input-text {
  padding: 0.35rem 0.5rem;
  min-width: 10rem;
}

.reading-history-page-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.reading-history-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.reading-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.reading-history-table th,
.reading-history-table td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.reading-history-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

.reading-history-table .rh-cell-id {
  white-space: nowrap;
  color: var(--text-muted);
  width: 5rem;
}

.reading-history-table .rh-cell-title {
  max-width: 28rem;
}

.reading-history-table .rh-cell-title a {
  color: var(--link);
  text-decoration: none;
}

.reading-history-table .rh-cell-title a:hover {
  text-decoration: underline;
}

.reading-history-table .rh-cell-times {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reading-history-table .rh-read-time {
  display: inline-block;
  margin-right: 0.25rem;
}

/* 天气 */
.module-breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.module-breadcrumb a {
  color: var(--link);
  text-decoration: none;
}

.module-breadcrumb a:hover {
  text-decoration: underline;
}

.weather-loading {
  padding: 1rem;
  color: var(--text-muted);
}

.weather-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.weather-country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.weather-country-card:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--link);
}

.weather-country-name {
  font-weight: 600;
}

.weather-country-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.weather-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.weather-city-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.weather-city-card:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--link);
}

.weather-city-name {
  font-weight: 600;
}

.country-info-section {
  margin-bottom: 1.5rem;
}

.country-info-card {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.country-info-loading {
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.country-info-body {
  display: block;
}

.country-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 100%);
  border-bottom: 1px solid var(--border);
}

.country-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.country-info-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  background: var(--bg);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.country-info-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 480px) {
  .country-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .country-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.country-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  min-height: 3.5rem;
  justify-content: center;
}

.country-info-grid .country-info-item:nth-child(3n) {
  border-right: none;
}

.country-info-item:last-child {
  border-bottom: none;
  border-right: none;
}

@media (min-width: 480px) {
  .country-info-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}

@media (min-width: 768px) {
  .country-info-item {
    border-right: 1px solid var(--border);
  }
  .country-info-item:nth-child(3n) {
    border-right: none;
  }
}

.country-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.country-info-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

.country-info-value.country-info-value--stat {
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.country-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-info-tags li {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.weather-cities-list {
  position: relative;
}

.weather-today-block .weather-today-loading,
.weather-today-block .weather-today-card {
  margin-top: 0.5rem;
}

.weather-today-card {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.weather-today-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.weather-today-temps {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

.weather-today-label {
  font-size: 0.95rem;
}

.weather-today-precip {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.weather-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.weather-history-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.weather-history-page-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.weather-history-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.weather-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.weather-history-table th,
.weather-history-table td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.weather-history-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.error-msg {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* 帮助中心：左侧模块 + 右侧列表联动 */
.help-center-page .module-desc {
  margin-bottom: 1rem;
}

.help-center-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.help-sidebar {
  flex: 0 0 auto;
  width: 12rem;
  position: sticky;
  top: 1rem;
}

.help-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.help-module-btn {
  display: block;
  width: 100%;
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.help-module-btn:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--accent);
}

.help-module-btn.active {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.help-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.help-content-placeholder {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.help-content-placeholder.hidden,
.help-menu-list.hidden {
  display: none !important;
}

.help-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.help-menu-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.help-menu-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.help-item-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.help-item-content {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.help-menu-item .help-item-link {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--link);
  text-decoration: none;
  padding: 0.25rem 0;
}

.help-menu-item .help-item-link:hover {
  text-decoration: underline;
}

/* 帮助详情页 */
.help-detail-page .module-breadcrumb {
  margin-bottom: 0.75rem;
}

.help-detail-article {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.help-detail-heading {
  font-size: 1.35rem;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.help-detail-content {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 640px) {
  .help-center-layout {
    flex-direction: column;
  }
  .help-sidebar {
    width: 100%;
    position: static;
  }
  .help-module-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .help-module-btn {
    flex: 1 1 auto;
    min-width: 8rem;
  }
}

/* 详情弹层 */
.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.detail-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.detail-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.detail-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.detail-close:hover {
  color: var(--text);
  background: var(--border);
}

.detail-meta {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.detail-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.detail-description,
.detail-content {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.detail-description:last-child,
.detail-content:last-child {
  margin-bottom: 0;
}

.detail-content p,
.main-detail .detail-article .detail-content p {
  margin: 0 0 0.75em 0;
}

.detail-content p:last-child,
.main-detail .detail-article .detail-content p:last-child {
  margin-bottom: 0;
}

/* 保留原文排版：换行、空格、缩进按原文显示，自动换行 */
.detail-content .content-para-pre,
.main-detail .detail-article .detail-content .content-para-pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* 正文为 HTML 时的原文样式：链接、标题、列表等 */
.detail-content a {
  color: var(--link-color, #2563eb);
  text-decoration: underline;
}
.detail-content a:hover {
  text-decoration: none;
}
.detail-content strong,
.detail-content b { font-weight: 700; }
.detail-content em,
.detail-content i { font-style: italic; }
.detail-content h1 { font-size: 1.4em; margin: 0.75em 0 0.35em; }
.detail-content h2 { font-size: 1.25em; margin: 0.6em 0 0.3em; }
.detail-content h3, .detail-content h4, .detail-content h5, .detail-content h6 { font-size: 1.1em; margin: 0.5em 0 0.25em; }
.detail-content ul, .detail-content ol { margin: 0.5em 0; padding-left: 1.5em; }
.detail-content li { margin: 0.2em 0; }
.detail-content blockquote { margin: 0.5em 0; padding-left: 1em; border-left: 3px solid var(--border); color: var(--text-muted); }
.detail-content pre, .detail-content code { font-family: ui-monospace, monospace; font-size: 0.9em; }
.detail-content pre { white-space: pre-wrap; margin: 0.5em 0; }

.detail-body .text-muted {
  color: var(--text-muted);
  font-style: italic;
}

.detail-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.detail-footer .btn {
  display: inline-block;
  text-decoration: none;
}

/* 详情独立页（detail.html） */
.main-detail .detail-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.main-detail .detail-article .detail-title {
  margin: 0;
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.main-detail .detail-article .detail-meta {
  padding: 0.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.main-detail .detail-article .block {
  padding: 0 1.5rem 1.25rem;
  line-height: 1.6;
}

/* 正文显示设置工具栏（右上角） */
.content-style-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.content-style-toolbar-header {
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  gap: 0.4rem 0.75rem;
  flex-shrink: 0;
  align-items: center;
}

.content-style-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.content-style-toolbar-header .content-style-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.content-style-fonts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.btn-content-style {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-weight: 500;
}

.btn-content-style:hover {
  background: var(--bg);
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-content-style.active {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.14);
  color: var(--accent);
}

.content-style-toolbar-header .btn-content-style {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.content-style-size {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.content-style-toolbar-header .content-style-size {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

.content-style-size .btn-size {
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 600;
}

.content-style-size-value {
  font-size: 0.85rem;
  min-width: 1.75rem;
  text-align: center;
  color: var(--text);
  font-weight: 500;
}

.main-detail .detail-article .detail-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.detail-loading,
.detail-error {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.detail-error.error-msg {
  color: #dc2626;
}

.hidden {
  display: none !important;
}

.main-nav-detail .nav-link {
  margin-bottom: 0;
  border-bottom: none;
}

.header-auth .nav-auth,
#nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-auth .nav-link {
  margin-bottom: 0;
  border-bottom: none;
  padding: 0.5rem 0.75rem;
}

.nav-user {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-logout.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

/* 后台管理 */
.admin-main-nav {
  min-width: 420px;
  overflow-x: auto;
}

.btn.btn-sm {
  padding: 0.3rem 0.55rem;
  font-size: 0.82rem;
}

.text-muted {
  color: var(--text-muted);
}

.admin-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-actions-left,
.admin-actions-right,
.admin-toolbar,
.admin-quick-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-toolbar {
  margin-top: 0.3rem;
}

.input-text {
  min-width: 160px;
  max-width: 280px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}

.input-text.input-small {
  min-width: 120px;
  max-width: 160px;
}

.admin-table-wrap {
  margin-top: 0.5rem;
}

.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.admin-data-table th,
.admin-data-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.admin-data-table th {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.admin-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.admin-kv-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}

.admin-kv-key {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.admin-kv-value {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
  word-break: break-word;
}

@media (max-width: 980px) {
  .admin-actions-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 登录页 */
.login-page .module-desc {
  margin-bottom: 1rem;
}

.login-form-section {
  max-width: 360px;
}

.login-form .login-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.login-form .login-label input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}

.login-form .login-error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.login-form .btn-login {
  margin-top: 0.25rem;
}

/* 原文 iframe 弹层 */
.original-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.original-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.original-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.original-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 85vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.original-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.original-title {
  font-weight: 600;
  flex: 1;
}

.original-external {
  font-size: 0.9rem;
}

.original-frame-wrap {
  flex: 1;
  min-height: 0;
  background: var(--bg);
}

.original-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 详情页顶栏：正文工具栏在右侧 */
.header-detail .header-inner {
  align-items: center;
}

.header-detail .content-style-toolbar-header {
  order: 10;
}

/* 小屏：主导航与内容区 */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
  .header-detail .content-style-toolbar-header {
    order: 0;
    margin-left: 0;
    padding: 0.5rem 0;
    justify-content: flex-end;
    border-left: none;
    padding-left: 0;
  }
  .brand {
    padding: 0.75rem 0 0.5rem;
  }
  .main-nav {
    border-bottom-width: 1px;
  }
  .header-auth {
    margin-left: 0;
    padding: 0.5rem 0 0.75rem;
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: auto;
    justify-content: flex-end;
  }
  .nav-link {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    margin-bottom: -1px;
  }
  .main {
    padding: 1.25rem 1rem 2rem;
  }
  .module-title {
    font-size: 1.35rem;
  }
  .card-block {
    padding: 1.1rem 1.2rem;
  }
}
