/* The public ledger shares the character chronicle's parchment, ink, and brass. */
:root {
  --bg: #1b120d;
  --panel: #ddc59a;
  --line: #8a6845;
  --text: #352519;
  --dim: #70563c;
  --gold: #844422;
  --live: #376f3b;
}
body {
  color: #eee0bf;
  background:
    radial-gradient(ellipse at 50% -10%, #624126 0, transparent 52%),
    repeating-linear-gradient(90deg, #ffffff05 0 1px, transparent 1px 13px),
    #1b120d;
  font: 14px/1.5 Georgia, 'Palatino Linotype', serif;
  padding: 0 22px 76px;
}
main { max-width: 1110px; }
.skip-link { position: absolute; left: 14px; top: -70px; z-index: 10; color: #332013; background: #ead2a2; padding: 9px 13px; }
.skip-link:focus { top: 10px; }
.hall-heading {
  position: relative;
  text-align: center;
  margin: 0 auto 45px;
  padding: 31px 16px 38px;
  border-bottom: 1px solid #ae834b;
  background: linear-gradient(90deg, transparent, #2d1d14c7 20%, #2d1d14c7 80%, transparent);
}
.hall-heading::after {
  content: '✦';
  position: absolute;
  bottom: -12px;
  left: calc(50% - 11px);
  width: 22px;
  color: #dab77a;
  background: #24170f;
  font-size: 16px;
}
.hall-brand {
  color: #d8b472;
  text-decoration: none;
  letter-spacing: .27em;
  font: 700 13px/1.2 Georgia, serif;
}
.hall-brand span { font-size: 21px; vertical-align: -2px; letter-spacing: 0; }
.hall-kicker {
  color: #c3a574;
  font: 700 10px/1.3 Georgia, serif;
  letter-spacing: .27em;
  margin: 23px 0 9px;
}
h1 {
  color: #f7e8c7;
  font: normal clamp(48px, 7vw, 78px)/1 Georgia, 'Palatino Linotype', serif;
  letter-spacing: -.035em;
  margin: 0;
}
.hall-intro { color: #d3bd9a; margin: 13px 0 12px; font-size: 16px; }
.sub { color: #a98d65; font: 11px/1.3 Georgia, serif; margin: 0; }
h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #edd5a3;
  font: normal 31px/1.13 Georgia, 'Palatino Linotype', serif;
  letter-spacing: -.02em;
  text-transform: none;
  margin: 45px 0 15px;
  border-bottom: 1px solid #6e4e2f;
  padding-bottom: 11px;
}
h2::before { content: '❧'; font-size: 19px; color: #c79a5b; }
.hint { color: #bca37d; font: 12px/1.4 Georgia, serif; letter-spacing: 0; margin-left: auto; }
.cards { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.card {
  position: relative;
  color: #352519;
  text-align: center;
  background: linear-gradient(150deg, #ead7b0 0%, #d2b787 100%);
  border: 1px solid #a98859;
  border-radius: 0;
  outline: 3px solid #3a2719;
  outline-offset: -5px;
  box-shadow: inset 0 0 22px #77502924, 0 7px 15px #0004;
  padding: 20px 12px 17px;
  min-height: 105px;
}
.card::before { content: '◆'; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); color: #a47b47; font-size: 8px; }
.card .n { color: #65341e; font: normal 31px/1.1 Georgia, serif; margin-top: 6px; }
.card .k { color: #644e35; font: 700 10px/1.3 Georgia, serif; letter-spacing: .1em; margin-top: 6px; }
.scroll {
  color: #37271b;
  background: linear-gradient(135deg, #ead8b5 0, #d9c198 52%, #e7d2a9 100%);
  border: 6px solid #4d3320;
  outline: 1px solid #bd955b;
  box-shadow: inset 0 0 28px #8a5a2f22, 0 14px 28px #0005;
}
table { font-size: 13px; }
th {
  color: #472c1c;
  background: #c9a978;
  border-bottom: 2px solid #825e36;
  font: 700 10px/1.2 Georgia, serif;
  letter-spacing: .1em;
  padding: 13px 12px;
}
th.sortable:hover, th.sorted { color: #682c1b; background: #d6b886; }
th.sortable:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #d7a44c;
  outline-offset: 2px;
}
td { color: #38281d; border-bottom: 1px solid #96734b6b; padding: 11px 12px; }
tbody tr:nth-child(even) { background: #6d44220c; }
tbody tr:hover { background: #f7e9ca9c; }
.num, .rank { font-family: Georgia, serif; font-variant-numeric: tabular-nums; }
.rank { color: #715438; }
.name { color: #4e2d1d; font-weight: 700; }
.scroll a { color: #77361f; text-underline-offset: 3px; }
.scroll a:hover { color: #a24b27; }
.bar { background: #c1a475; height: 7px; }
.dot { background: #3c793d; box-shadow: 0 0 0 2px #3c793d32; }
.empty { color: #705a40; }
.tabs, .day-controls { gap: 8px; margin-bottom: 15px; }
.tab, .pager button, .day-controls button, .day-controls input {
  color: #e8d3ab;
  background: #332217;
  border: 1px solid #927047;
  border-radius: 0;
  font: 700 11px/1.2 Georgia, serif;
  letter-spacing: .07em;
  padding: 9px 13px;
  box-shadow: inset 0 0 0 2px #1e140e;
}
.tab:hover, .pager button:hover:not(:disabled), .day-controls button:hover { color: #fff0cc; border-color: #d2aa69; }
.tab.active, .day-controls button.active {
  color: #3d2418;
  background: #dfc498;
  border-color: #d9b77e;
  box-shadow: inset 0 0 0 2px #b28d5d;
}
.day-controls label, .day-summary, .pager { color: #cbb28a; }
.day-controls input { color-scheme: dark; }
.pager { margin-top: 15px; }
.pager button:disabled { color: #9c815d; }
footer { border-top: 1px solid #6e4e2f; padding-top: 22px; color: #b69a70; font-family: Georgia, serif; }
footer a { color: #dfbb7d; }
@media (max-width: 650px) {
  body { padding: 0 15px 60px; }
  .hall-heading { margin: 0 -15px 31px; padding: 23px 17px 32px; }
  .hall-intro { font-size: 14px; }
  h2 { font-size: 26px; flex-wrap: wrap; margin-top: 35px; }
  .hint { width: 100%; margin-left: 29px; }
  .card { min-height: 92px; padding: 17px 8px 12px; }
  .card .n { font-size: 27px; }
  .scroll { border-width: 4px; }
  th, td { padding: 10px 9px; }
  .tab { padding: 8px 9px; }
  .pager { flex-wrap: wrap; }
}
