/* The Hall of Souls. Builds on ../appraise.css (fonts, palette, buttons, footer). */
.hall { width: min(100%, 1180px); margin: 0 auto; padding: 36px 16px 48px; display: grid; gap: 28px; align-content: start; }
.hall-intro { display: grid; justify-items: center; text-align: center; gap: 4px; }
.week-line { margin: 18px 0 0; font-weight: 600; text-wrap: balance; }
.seat-line { margin: 0; color: var(--muted); }
.week-line:empty, .seat-line:empty { display: none; }
.mine { margin: 12px 0 0; padding: 8px 14px; border-radius: 6px; color: var(--cold-white); background: var(--graphite); font-weight: 600; }

.period-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; margin-top: 22px; padding: 4px; gap: 4px; border: 1px solid #9aa4aa; border-radius: 8px; background: var(--cold-white); }
.period-switch button {
  min-height: 44px; padding: 10px 16px; border: 0; border-radius: 5px; cursor: pointer;
  font: 600 15px/1 var(--body); color: var(--graphite); background: transparent;
}
.period-switch button[aria-pressed="true"] { color: #fff; background: var(--graphite); }

/* Board chips wrap onto new lines: no sideways scroll at 360px. */
.board-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; max-width: 760px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #9aa4aa; border-radius: 999px;
  color: var(--graphite); background: #ffffff8c; font-size: 14px; font-weight: 600; text-decoration: none;
}
.chip:hover { background: #fff; }

.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.board {
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-width: 0; padding: 22px 20px 20px; scroll-margin-top: 16px;
  border: 1px solid #ffffffb3; border-radius: 12px; background: linear-gradient(160deg, #f8f9f9e6, #e9ecedd9);
  box-shadow: 0 14px 34px #1212121a, inset 0 1px 0 #fff;
}
.board h2 { margin: 0; font: 800 34px/.95 var(--poster); letter-spacing: -.01em; }
.board .blurb { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.board-rows { margin: 0; padding: 0; list-style: none; display: grid; align-content: start; }
.board-rows li + li { border-top: 1px solid var(--line); }
.board-row {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 4px 0;
  color: inherit; text-decoration: none; border-radius: 6px;
}
a.board-row:hover { background: #ffffff8c; }
.board-row .rank { font: 900 22px/1 var(--poster); color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.board-rows li:first-child .rank { color: var(--blood); }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.who .soul, .who .handle { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.who .avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #cfd5d9; }
.who .archetype { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.badge { padding: 3px 8px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--graphite); font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.board-row .figures { display: grid; justify-items: end; text-align: right; }
.board-row .value { font: 800 22px/1 var(--poster); }
.board-row .detail { color: var(--muted); font-size: 12px; }
.board .empty { margin: 0; color: var(--muted); font-size: 15px; }
.board .share { justify-self: start; min-height: 44px; padding: 10px 16px; font-size: 14px; }

.hall-cta { margin: 0; text-align: center; }
.rules { width: min(100%, 760px); }
.hall .get-sould { justify-self: center; }

@media (max-width: 560px) {
  .hall { padding-top: 24px; }
  .board { padding: 18px 14px 16px; }
  .board h2 { font-size: 30px; }
  .board .share { justify-self: stretch; }
}
