:root {
  --paper-cream: #faf8f3;
  --paper-aged: #f5f1e8;
  --ink-black: #1a1614;
  --ink-gray: #4a4542;
  --accent-burnt: #c85a3e;
  --accent-gold: #d4a574;
  --border-subtle: #e8e3d8;
  --shadow-soft: rgba(26, 22, 20, 0.08);
}

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

html {
  overflow-x: clip;
}

body {
  font-family: 'Crimson Text', 'Noto Serif SC', Georgia, serif;
  background: var(--paper-cream);
  color: var(--ink-black);
  line-height: 1.6;
  overflow-x: clip;
}

/* Masthead - Editorial Header */
.masthead {
  background: var(--paper-aged);
  border-bottom: 1px solid var(--ink-black);
  padding: 0.75rem 3rem 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.masthead-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.publication-info {
  flex: 1;
}

.publication-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  margin: 0;
  line-height: 1;
}

.publication-title a {
  color: inherit;
  text-decoration: none;
}

.publication-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-gray);
  margin-top: 0.2rem;
}

.masthead-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.masthead-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.current-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--ink-gray);
  letter-spacing: 0.05em;
}

.btn-about,
.btn-feedback {
  padding: 0.4rem 0.8rem;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-gray);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}
.btn-about:hover,
.btn-feedback:hover {
  color: var(--ink-black);
  border-color: var(--ink-gray);
}

.btn-admin {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-gray);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-admin:hover {
  color: var(--ink-black);
  border-color: var(--ink-black);
  text-decoration: none;
}



/* Layout */
.layout {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  padding: 2rem 3rem;
  min-height: calc(100vh - 180px);
  align-items: start;
}

/* Sidebar - Archive */
.sidebar {
  background: var(--paper-aged);
  border: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem 1.5rem;
  position: sticky;
  top: 95px;
  box-shadow: 0 2px 12px var(--shadow-soft);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 115px);
}

.sidebar-header {
  border-bottom: 2px solid var(--ink-black);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-black);
}

.sidebar-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-gray);
  margin-top: 0.25rem;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 380px;
  flex-shrink: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.archive-list::-webkit-scrollbar {
  width: 4px;
}

.archive-list::-webkit-scrollbar-track {
  background: transparent;
}

.archive-list::-webkit-scrollbar-thumb {
  background: rgba(200, 180, 150, 0.35);
  border-radius: 4px;
}

.archive-list.disabled {
  opacity: 0.45;
  pointer-events: none;
  position: relative;
  user-select: none;
}

.archive-list.disabled .report-item {
  cursor: not-allowed;
}

.report-item {
  background: var(--paper-cream);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.report-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-burnt);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.report-item:hover {
  background: #fff;
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

.report-item:hover::before {
  transform: scaleY(1);
}

.report-item.active {
  background: #fff;
  border-color: var(--accent-burnt);
  box-shadow: inset 0 0 0 1px var(--accent-burnt), 0 2px 8px var(--shadow-soft);
}

.report-item.active::before {
  transform: scaleY(1);
}

.report-date {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-black);
  display: block;
}

.report-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-gray);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* Subscribe Section */
.subscribe-section {
  margin-top: 1.5rem;
}

.subscribe-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent);
  margin-bottom: 1.25rem;
}

.subscribe-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 0.375rem;
}

.subscribe-desc {
  font-size: 0.8rem;
  color: var(--ink-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subscribe-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--paper-cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--ink-black);
  outline: none;
  transition: border-color 0.2s ease;
}

.subscribe-input::placeholder {
  color: #bbb;
}

.subscribe-input:focus {
  border-color: var(--accent-burnt);
}

.subscribe-row {
  display: flex;
  gap: 0.5rem;
}

.subscribe-select {
  flex: 1;
  padding: 0.625rem 2rem 0.625rem 0.625rem;
  border: 1px solid var(--border-subtle);
  background: var(--paper-cream);
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.8rem;
  color: var(--ink-black);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a8a78'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
}

.subscribe-select:focus {
  border-color: var(--accent-burnt);
}

.subscribe-btn {
  padding: 0.625rem 1.25rem;
  background: var(--accent-burnt);
  color: #fff;
  border: none;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.subscribe-btn:hover {
  background: #b04d32;
}

.subscribe-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.edition-badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 3px;
  background: var(--accent-burnt, #c45630);
  color: #fff;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.edition-select {
  padding: 8px 12px;
  border: 1px solid var(--border-subtle, #ddd);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  outline: none;
}

.edition-select:focus {
  border-color: var(--accent-burnt, #c45630);
}

.freq-select {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
  background: #fafafa;
  cursor: pointer;
  outline: none;
  color: #333;
}

.freq-select:focus {
  border-color: #2563eb;
}

.subscribe-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-gray);
  margin-top: 0.75rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/* Loading Skeleton */
.loading-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-item {
  height: 80px;
  background: linear-gradient(90deg, var(--paper-cream) 25%, var(--paper-aged) 50%, var(--paper-cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: 1px solid var(--border-subtle);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Main Content */
.content {
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px var(--shadow-soft);
  position: relative;
  min-height: calc(100vh - 200px);
  margin: 0;
  padding: 2rem;
}

/* Empty State */
.content-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;
  min-height: 600px;
}

.empty-illustration {
  color: var(--accent-gold);
  margin-bottom: 2rem;
  opacity: 0.6;
}

.empty-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 0.75rem;
}

.empty-text {
  font-size: 1rem;
  color: var(--ink-gray);
  max-width: 400px;
}




/* Report Header */
.report-header {
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--ink-black);
  margin-bottom: 2rem;
}

.report-date-badge {
  background: var(--accent-burnt);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  box-shadow: 0 2px 8px rgba(200, 90, 62, 0.3);
}

.badge-day {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.badge-month {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.report-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.report-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 0.5rem;
}

.report-stats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--ink-gray);
}

/* View Tabs */
.view-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0;
}

.tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.5rem;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  top: 1px;
}

.tab:hover {
  color: var(--ink-black);
  background: var(--paper-cream);
}

.tab.active {
  color: var(--accent-burnt);
  border-bottom-color: var(--accent-burnt);
}

.tab-icon {
  font-size: 1.125rem;
}

/* View Container */
.view-container {
  position: relative;
  min-height: calc(100vh - 380px);
}

.view-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.report-preview {
  border: 1px solid var(--border-subtle);
  background: var(--paper-cream);
  overflow: hidden;
  border-radius: 4px;
  container-type: inline-size;
}

.image-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.report-image {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px var(--shadow-soft);
}

.image-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--ink-gray);
  margin-top: 1rem;
  font-style: italic;
}

.btn-download {
  background: var(--accent-burnt);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(200, 90, 62, 0.3);
}

.btn-download:hover {
  background: #b04d32;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200, 90, 62, 0.4);
}

.btn-download:active {
  transform: translateY(0);
}

.raw-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--ink-black);
  padding: 4rem 1.5rem 1.5rem;
  background: var(--paper-cream);
  border: 1px solid var(--border-subtle);
  max-height: none;
  overflow: visible;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.raw-text-wrapper {
  position: relative;
}

.btn-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(250, 248, 243, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.85rem;
  color: var(--ink-gray);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.btn-copy:hover {
  background: var(--accent-burnt);
  color: #fff;
  border-color: var(--accent-burnt);
}

.btn-copy.copied {
  background: #27ae60;
  color: #fff;
  border-color: #27ae60;
}



/* Status Toast */
.status-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--ink-black);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.status-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 260px 1fr;
    padding: 2rem 1.5rem;
  }

  .masthead {
    padding: 0.5rem 2rem 0.4rem;
  }

  .publication-title {
    font-size: 1.75rem;
  }

  .subscribe-form {
    flex-wrap: nowrap;
  }

  .subscribe-input {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  /* — 顶部导航栏 — */
  .masthead {
    padding: 0.5rem 1rem 0.4rem;
  }

  .masthead-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .publication-title {
    font-size: 1.25rem;
    white-space: nowrap;
  }

  .publication-subtitle {
    display: none;
  }

  .masthead-meta {
    gap: 0.4rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .masthead-links {
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .current-date {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .btn-about,
  .btn-feedback {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .btn-admin {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .btn-admin span:last-child {
    display: none;
  }

  /* — 主布局：全宽无多余留白 — */
  .layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow-x: clip;
  }

  /* — 侧边栏变横向折叠列表 — */
  .sidebar {
    position: static;
    max-height: none;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: none;
    overflow-x: hidden;
  }

  .sidebar-header {
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom-width: 1px;
  }

  .sidebar-title {
    font-size: 1.1rem;
  }

  .archive-list {
    max-height: 150px;
    gap: 0.5rem;
    padding-right: 0;
  }

  .report-item {
    padding: 0.65rem 0.75rem;
  }

  .report-date {
    font-size: 0.95rem;
  }

  .report-meta {
    margin-top: 0.25rem;
    font-size: 0.65rem;
  }

  /* 订阅区 */
  .subscribe-section {
    margin-top: 1rem;
  }

  .subscribe-title {
    font-size: 1rem;
  }

  .subscribe-desc {
    font-size: 0.75rem;
  }

  /* — 主内容区：边距最小化 — */
  .content {
    padding: 1rem;
    border: none;
    box-shadow: none;
    min-height: auto;
    overflow-x: hidden;
  }

  /* — 报告头部 — */
  .report-header {
    flex-direction: row;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom-width: 1px;
  }

  .report-date-badge {
    padding: 0.6rem 0.8rem;
    min-width: 64px;
  }

  .badge-day {
    font-size: 1.75rem;
  }

  .badge-month {
    font-size: 0.6rem;
  }

  .report-title {
    font-size: 1.25rem;
  }

  .report-stats {
    font-size: 0.75rem;
  }

  /* — Tab 切换栏：等宽居中 — */
  .view-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
    gap: 0.35rem;
  }

  .tab-icon {
    font-size: 1rem;
    line-height: 1;
  }

  .tab-label {
    font-size: 0.85rem;
  }

  /* — 视图区域 — */
  .view-container {
    min-height: auto;
  }

  .report-preview {
    border: none;
    border-radius: 0;
  }

  /* — 原文视图 — */
  .raw-text {
    font-size: 0.8rem;
    padding: 3rem 1rem 1rem;
  }

  /* — 图片视图 — */
  .report-image {
    border: none;
  }

  .image-caption {
    font-size: 0.7rem;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  /* — 空状态 — */
  .content-empty {
    min-height: 400px;
    padding: 1.5rem;
  }

  .empty-title {
    font-size: 1.25rem;
  }

  .empty-text {
    font-size: 0.9rem;
  }

  /* — Toast 和返回顶部 — */
  .status-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  /* — 加载遮罩层 — */
  .content {
    position: relative;
  }

  #reportLoadingOverlay .loading-inner {
    height: 60vh;
  }

  .loading-text {
    font-size: 0.85rem;
  }
}

/* 超小屏幕优化（< 375px） */
@media (max-width: 375px) {
  .masthead {
    padding: 0.4rem 0.75rem 0.3rem;
  }

  .publication-title {
    font-size: 1.1rem;
  }

  .content {
    padding: 0.75rem;
  }

  .tab {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }

  .report-title {
    font-size: 1.1rem;
  }

  #reportLoadingOverlay .loading-inner {
    height: 50vh;
  }

  .loading-dot {
    width: 8px;
    height: 8px;
  }
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ink-brown, #5a4a3a);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 0.85;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* Loading Overlay */
.content-loaded {
  position: relative;
  min-height: 400px;
}

#reportLoadingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#reportLoadingOverlay .loading-inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#reportLoadingOverlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-pulse {
  display: flex;
  gap: 8px;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-burnt, #c85a3e);
  animation: loadPulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.15s; }
.loading-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes loadPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.loading-text {
  font-family: 'Crimson Text', 'Noto Serif SC', serif;
  font-size: 0.95rem;
  color: var(--ink-gray, #4a4542);
  letter-spacing: 0.05em;
}

/* Site Footer */
.site-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper-aged);
}

.site-footer p {
  font-size: 13px;
  color: #A8A29E;
  margin-bottom: 8px;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer-links a {
  font-size: 13px;
  color: var(--ink-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: var(--ink-black);
}
