/* 全局字体 */
body {
  font-family: 'Saira', "yyb", serif !important;
}

/* ===== 页面布局 ===== */
.page-header { text-align: center; padding: 60px 24px 30px; }
.page-header h1 { font-size: 2.2rem; color: var(--accent); margin-bottom: 8px; }
.page-header p { color: var(--muted); }

.strat-container {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
  /* 【关键修复】隐藏浏览器原生滚动条，让它变干净 */
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
.strat-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

/* ===== 表格核心 ===== */
.strat-table {
  width: 100%;
  /* 把最小宽度改小，让它更容易适应屏幕 */
  min-width: 850px; 
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}

.strat-table th {
  background: #1e1e28;
  color: var(--accent);
  font-weight: bold;
  padding: 12px 8px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  font-family: 'Saira', "yyb", serif;
}

.strat-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #111;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px;
  vertical-align: middle;
  white-space: nowrap;
  transition: filter 0.2s;
  font-family: 'Saira', "yyb", serif;
}

/* 列宽重新分配 */
.cell-eon { width: 70px; }
.cell-era { width: 90px; }
.cell-period { width: 100px; }
.cell-epoch { width: 100px; }
.cell-age { width: 110px; }
.cell-chron { width: 90px; }

/* ===== 时间列 ===== */
.cell-time { 
  width: 150px; 
  background: #14141a !important; 
  /* 【关键修复】加粗这根竖线，让它更像一把标尺 */
  border-left: 3px solid var(--accent) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-right: none !important;
  position: relative;
  padding: 0 !important;
}

.time-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: visible;
}

/* 数字卡在单元格交界处 */
.time-mark {
  position: absolute;
  bottom: 0;
  left: 25px;
  transform: translateY(50%);
  font-family: 'Constantia', serif !important;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 10;
  white-space: nowrap;
}

/* 从竖线伸出来的小短横 */
.time-mark::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(201, 162, 39, 0.5);
}

.strat-table tbody tr:hover td {
  filter: brightness(1.2);
}