/* Player stats pages [spec-player-stats]: /player/<name>, /records, /season/<id>/<name>, the class tab.
   Only site.css tokens -- these pages are the public site, not a second skin. */

.ps-name { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.ps-name:hover { color: var(--accent); border-bottom-color: var(--accent-line); }

/* class ladder: two columns of fifty on a wide screen, one column on a phone */
.ps-split { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.ps-lv { white-space: nowrap; }
.ps-foot { text-align: center; margin-top: 18px; }

/* profile / records / recap */
.ps-page { padding-top: 34px; padding-bottom: 40px; }
.ps-head h2 { margin-bottom: 4px; }
.ps-head .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ps-on { font-size: 12px; font-weight: 600; color: var(--ok); vertical-align: middle; margin-left: 6px; }
.ps-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.ps-card.wide { grid-column: 1 / -1; }
.ps-card table.ladder td { padding: 6px 10px; }
.ps-kv td:first-child { color: var(--tx-mid); }
.ps-sub { margin: 10px 0 0; font-size: 13px; color: var(--tx-mid); }
.ps-h4 { margin: 16px 0 6px; font-size: 13px; color: var(--tx-mid); font-weight: 600; }

/* the luck card reads like the community one: green wins, red losses, gold for the headline numbers */
.ps-luck tr.ok td.num { color: var(--ok); }
.ps-luck tr.bad td.num { color: var(--crit); }
.ps-luck tr.gold td.num { color: var(--accent); font-weight: 600; }

/* kills log: three columns of the full list */
.ps-cols3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.ps-tag { font: 600 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent-line); border-radius: var(--r-pill); padding: 2px 6px; margin-left: 4px; vertical-align: middle; }

/* Collection Book: every gem as a tile, greyed until found */
.ps-book { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ps-book span { padding: 9px 11px; border-radius: var(--r-md); font-size: 12.5px; border: 1px solid var(--line); }
.ps-book .got { background: var(--accent-bg); border-color: var(--accent-line); color: var(--tx-hi); font-weight: 600; }
.ps-book .got i { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--tx-mid); margin-top: 2px; }
.ps-book .miss { color: var(--tx-faint); background: rgba(255, 255, 255, .02); }
.ps-card td.num { white-space: nowrap; }
