/* Hub pages: /player/<slug>, /set/<category>/<slug>, /cards/<category> (lib/hub-page.mjs).
   Documents, like the method page: beta/legal.css supplies the tokens, the type and the chrome;
   this adds the answer block, the value table and the link lists. Nothing scrolls sideways
   but the table, inside its own track. */
.legal-top, .legal.hub, .legal-foot.hub-foot { width: min(960px, calc(100% - 32px)); }
.legal.hub { padding-top: 40px; }
.hub-crumbs { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; overflow-wrap: anywhere; }
.hub-crumbs a { text-decoration: none; }
.hub-crumbs i { font-style: normal; margin: 0 6px; opacity: .6; }
.hub h1 { overflow-wrap: anywhere; }
.hub-answer {
  margin: 28px 0 0; padding: 22px 24px; max-width: 70ch;
  border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 14px;
  background: var(--panel); color: var(--text) !important; font-size: 18px; line-height: 1.6;
}
.hub-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); -webkit-overflow-scrolling: touch; }
.hub-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hub-table th, .hub-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.hub-table th { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hub-table td { color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-table td:first-child { white-space: normal; min-width: 220px; }
.hub-table td:first-child a { color: var(--text); font-weight: 600; text-decoration: none; }
.hub-table td:first-child a:hover { color: var(--link); text-decoration: underline; }
.hub-table td:nth-child(3) { color: var(--text); font-family: var(--mono); }
.hub-table tr:last-child td { border-bottom: 0; }
.hub-table .hub-unpriced { color: var(--faint); font-style: italic; }
.hub-note { font-size: 14px; color: var(--faint) !important; margin-top: 12px; }
.hub-links { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 20px; }
.hub-links li { margin: 0 !important; padding: 8px 0; border-bottom: 1px solid var(--line-soft); line-height: 1.4; }
.hub-links a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.hub-links a:hover { text-decoration: underline; }
.hub-links span { display: block; font: 400 12px var(--mono); color: var(--faint); margin-top: 2px; }
.hub-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; margin-bottom: 10px; }
.hub-foot nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 600px) {
  .legal.hub { padding-top: 28px; }
  .hub-answer { padding: 18px; font-size: 16px; }
  .hub-table th, .hub-table td { padding: 10px 12px; }
  .hub-table td:first-child { min-width: 180px; }
}
