/* ==========================================================================
   Hall of Fame (hall-of-fame.html, filled by assets/js/hof.js). Only what this page alone needs;
   panels, tier badges, ranks, heads and the stat strip come from zp.css, which loads after this
   sheet. Gold, silver and bronze mark places one to three; tier colours stay on tier badges.
   ========================================================================== */

/* The head sits inside main, which is already the shell. */
body[data-page="hall-of-fame"] main > .page-hero { width: auto; }

.hof-wrap { display: grid; gap: 0; }
.hof-sec { display: grid; gap: var(--s-4); padding: var(--s-6) 0; }
.hof-sec + .hof-sec { border-top: 1px solid var(--line); }
.hof-sec > .zp-sec-head { margin-bottom: var(--s-2); }
.hof-sec > .zp-sec-head > div { flex: 1 1 480px; }
.hof-sec h2 { font-size: var(--px-3); }
@media (min-width: 900px) { .hof-sec h2 { font-size: var(--px-4); } }
.hof-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hof-note { margin: var(--s-2) 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-2); max-width: 70ch; }
.hof-note b { color: var(--text); font-weight: 600; }
.hof-sub { margin: 0 0 var(--s-4); font-size: var(--fs-sm); line-height: 1.5; color: var(--text-3); }
.hof-cap-note { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; }
.hof-wrap .ph-empty { padding: var(--s-2) 0; }

/* ---------- the global top three: second and third either side of first ---------- */
.hof-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: var(--s-2); min-height: 300px; }
.hof-step { display: grid; justify-items: center; gap: 0; min-width: 0; color: inherit; text-decoration: none; }
.hof-step[data-place="1"] { order: 2; }
.hof-step[data-place="2"] { order: 1; }
.hof-step[data-place="3"] { order: 3; }
.hof-step[data-place="1"] { --mc: var(--gold); }
.hof-step[data-place="2"] { --mc: var(--silver); }
.hof-step[data-place="3"] { --mc: var(--bronze); }
.hof-fig { width: 80px; height: 160px; display: grid; place-items: end center; margin-bottom: -1px; }
.hof-step[data-place="1"] .hof-fig { width: 92px; height: 184px; }
.hof-fig img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.hof-block {
  width: 100%; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 10px 6px 12px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-top: 3px solid var(--mc, var(--line-3)); border-radius: var(--r-1) var(--r-1) 0 0;
  transition: background var(--fast);
}
a.hof-step:hover .hof-block { background: var(--surface-3); }
a.hof-step:hover .hof-name { color: var(--accent-hi); }
.hof-step[data-place="1"] .hof-block { min-height: 104px; }
.hof-step[data-place="2"] .hof-block { min-height: 82px; }
.hof-step[data-place="3"] .hof-block { min-height: 66px; }
.hof-place { font-family: var(--f-display); font-size: var(--mc-s2); font-weight: 800; line-height: 1; color: var(--mc, var(--text-3)); }
.hof-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; color: var(--text); }
.hof-pts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; font-family: var(--f-mono); font-size: var(--mc-s1); line-height: 1; color: var(--text-3); }
.hof-pts .zp-tier { height: 18px; min-width: 0; padding: 0 6px 0 7px; font-size: var(--mc-s1); font-family: var(--f-display); font-weight: 700; -webkit-font-smoothing: antialiased; }
.hof-podium .ph-empty { grid-column: 1 / -1; align-self: center; text-align: center; }

/* ---------- the weekly tournament ---------- */
.hof-cup { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.hof-cup > .hof-latest.is-empty { grid-column: 1 / -1; }
.hof-cup-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-4); }
.hof-cup-icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--surface-2); border: 1px solid var(--line-2); border-top: 3px solid var(--gold); border-radius: var(--r-2); }
.hof-cup-icon img { width: 40px; height: 40px; image-rendering: pixelated; }
.hof-cup-empty p { margin: 6px 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-2); max-width: 70ch; }
.hof-cup-empty p b { color: var(--text); }
.hof-cup-kitlink { grid-column: 2; justify-self: start; }
.hof-cup-kitlink img { width: 18px; height: 18px; }

.hof-cup-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-5); align-items: end; }
.hof-cup-fig { display: grid; place-items: end center; width: 96px; height: 180px; }
.hof-cup-fig img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.hof-cup-main { display: grid; gap: 8px; min-width: 0; padding-bottom: 4px; }
.hof-cup-kit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0; text-transform: uppercase; color: var(--accent); }
.hof-cup-kit img { width: 22px; height: 22px; image-rendering: pixelated; }
.hof-cup-big { display: block; font-family: var(--f-display); font-size: var(--mc-s3); font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-cup-empty .hof-cup-big { font-size: var(--fs-xl); color: var(--text); white-space: normal; }
.hof-cup-big a { color: inherit; text-decoration: none; }
.hof-cup-big a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hof-cup-facts { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-3); }
.hof-cup-podium { display: grid; gap: 8px; margin: 6px 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.hof-cup-podium > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: center; gap: 10px; }
.hof-cup-podium dt { font-family: var(--f-mono); font-size: var(--mc-s1); letter-spacing: 0; text-transform: uppercase; color: var(--text-3); }
.hof-cup-podium > div:first-child dt { color: var(--silver); }
.hof-cup-podium > div + div dt { color: var(--bronze); }
.hof-cup-podium dd { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; min-width: 0; }

.hof-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; color: var(--text); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.hof-who img { width: 20px; height: 20px; border-radius: var(--r-1); image-rendering: pixelated; flex: none; background: var(--surface-3); }
.hof-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.hof-who:hover { color: var(--accent-hi); }
.hof-who.is-none { color: var(--text-3); font-weight: 400; }

/* The bracket: one column per round, each game between the two it came from. */
.hof-bracket-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.hof-bracket { display: grid; grid-template-columns: repeat(var(--rounds, 3), minmax(180px, 1fr)); gap: var(--s-4); min-width: min-content; }
.hof-round { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-width: 0; }
.hof-round-name { margin: 0; font-family: var(--f-mono); font-size: var(--mc-s1); letter-spacing: 0; text-transform: uppercase; color: var(--text-3); }
.hof-games { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.hof-game { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--surface-sunk); overflow: hidden; }
.hof-game li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; }
.hof-game li + li { border-top: 1px solid var(--line); }
.hof-game img { width: 16px; height: 16px; border-radius: 1px; image-rendering: pixelated; }
.hof-game .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); color: var(--text-2); text-decoration: none; }
.hof-game a.nm:hover { color: var(--text); text-decoration: underline; }
.hof-game .sc { font-family: var(--f-display); font-size: var(--mc-s1); font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.hof-game .is-win { box-shadow: inset 3px 0 0 var(--accent); }
.hof-game .is-win .nm { color: var(--text); font-weight: 600; }
.hof-game .is-win .sc { color: var(--text); }
.hof-game .is-bye { grid-template-columns: minmax(0, 1fr); }
.hof-game .is-bye .nm { color: var(--text-3); }
.hof-game.is-bye { opacity: 0.6; }
.hof-game .hof-game-note { grid-template-columns: minmax(0, 1fr); min-height: 24px; font-family: var(--f-mono); font-size: var(--mc-s1); letter-spacing: 0; text-transform: uppercase; color: var(--text-3); }
.hof-round:last-child .hof-game .is-win { box-shadow: inset 3px 0 0 var(--gold); }
.hof-round:last-child .hof-game .is-win .nm { color: var(--gold); }

/* Past champions, and every UHC champion under the latest result */
.hof-past { list-style: none; margin: 0; padding: 0; display: grid; }
.hof-past li { display: grid; grid-template-columns: 7.5em minmax(7em, 11em) minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); min-height: 48px; padding: 8px var(--s-4); border-bottom: 1px solid var(--line); }
.hof-past li:last-child { border-bottom: 0; }
.hof-past li:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.hof-past.is-uhc { margin-top: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-2); }
.hof-past.is-uhc li { grid-template-columns: 7.5em minmax(0, 1fr) auto; padding: 8px var(--s-3); }
.hof-past-when { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hof-past-kit { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-sm); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hof-past-kit img { width: 18px; height: 18px; image-rendering: pixelated; flex: none; }
.hof-past-who { min-width: 0; }
.hof-past-meta { font-family: var(--f-mono); font-size: var(--mc-s1); color: var(--text-3); white-space: nowrap; }

/* ---------- the number one on every kit ---------- */
.hof-kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.hof-kit {
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-3); min-width: 0; padding: var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--lip), var(--raise);
  color: inherit; text-decoration: none; transition: border-color var(--fast), background var(--fast);
}
.hof-kit:hover { border-color: var(--line-3); background: var(--surface-2); }
.hof-kit-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hof-kit-top .zp-kit-ico { width: 32px; height: 32px; }
.hof-kit-top .zp-kit-ico img { width: 22px; height: 22px; }
.hof-kit-top b { min-width: 0; font-family: var(--f-display); font-size: var(--mc-s1); font-weight: 700; letter-spacing: 0; text-transform: uppercase; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-kit-top::after { content: "No. 1"; margin-left: auto; flex: none; font-family: var(--f-mono); font-size: var(--mc-s1); font-weight: 500; letter-spacing: 0; text-transform: uppercase; color: var(--gold); }
.hof-kit.is-best .hof-kit-top::after { content: "Top ZP"; }
.hof-kit.is-best { border-color: rgba(245, 197, 66, 0.35); }
.hof-holder { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; }
.hof-holder .who { min-width: 0; display: grid; }
.hof-holder .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.hof-kit:hover .hof-holder .who b { color: var(--accent-hi); }
.hof-holder .who small { margin-top: 2px; font-family: var(--f-display); font-size: var(--mc-s1); font-weight: 700; line-height: 1; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hof-holder.is-none { grid-template-columns: minmax(0, 1fr); font-size: var(--fs-sm); color: var(--text-3); }
.hof-most { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: var(--mc-s1); line-height: 1.4; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-most b { color: var(--text-2); font-weight: 500; }

/* ---------- records: streaks and the UHC champions ---------- */
.hof-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.hof-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: calc(3 * 40px + 2 * 4px); align-content: start; }
.hof-bars li { display: grid; grid-template-columns: 24px 28px minmax(84px, 9rem) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 40px; }
.hof-bars li:has(> .ph-empty) { grid-template-columns: minmax(0, 1fr); }
.hof-bars li[tabindex] { outline: none; border-radius: var(--r-1); }
.hof-bars li[tabindex]:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.hof-bars .zp-rank { min-width: 0; font-size: var(--px-2); }
.hof-bars .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); font-weight: 600; color: var(--text); text-decoration: none; }
.hof-bars a.nm:hover { color: var(--accent-hi); }
.hof-bars .track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hof-bars .bar { flex: none; height: 14px; min-width: 4px; background: var(--accent-lo); border-radius: 0 var(--r-1) var(--r-1) 0; transition: background-color var(--fast); }
.hof-bars li:first-child .bar { background: var(--accent); }
.hof-bars li:hover .bar, .hof-bars li:focus-visible .bar { background: var(--accent-hi); }
.hof-bars .v { flex: none; font-family: var(--f-display); font-size: var(--mc-s1); font-weight: 700; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.hof-bars .k { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: var(--mc-s1); color: var(--text-3); }
.hof-champ { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: var(--s-4); min-height: 92px; padding: var(--s-3) var(--s-4); background: var(--surface-sunk); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-2); }
.hof-champ > img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: var(--r-1); }
.hof-champ b { display: block; font-family: var(--f-display); font-size: var(--fs-xl); font-weight: 800; line-height: 1.05; text-transform: uppercase; color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-champ small { display: block; margin-top: 6px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-3); }
.hof-champ a { color: inherit; text-decoration: none; }
.hof-champ.is-empty { border-left-color: var(--line-3); }
.hof-champ.is-empty b { font-size: var(--fs-lg); color: var(--text); white-space: normal; }
.hof-uhc .hof-sub { margin: var(--s-3) 0 0; }

@media (min-width: 640px) {
  .hof-kits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .hof-kit { padding: var(--s-4); }
}
@media (min-width: 1000px) {
  .hof-two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hof-sec { padding: var(--s-7) 0; }
}
@media (min-width: 1100px) {
  .hof-kits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hof-cup:has(> #cupTitlesCard:not([hidden])) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .hof-kit { grid-template-rows: auto auto auto; gap: 10px; }
  .hof-kit-top { gap: 8px; }
  .hof-kit-top .zp-kit-ico { width: 28px; height: 28px; }
  .hof-kit-top .zp-kit-ico img { width: 18px; height: 18px; }
  .hof-kit-top b { font-size: var(--mc-s1); }
  .hof-kit-top::after { display: none; }
  .hof-holder { grid-template-columns: 32px minmax(0, 1fr); gap: 6px 8px; min-height: 66px; align-content: center; }
  .hof-holder .zp-head { width: 32px; height: 32px; }
  .hof-holder .who b { font-size: var(--fs-sm); }
  .hof-holder .zp-tier { grid-column: 2; justify-self: start; }
  .hof-most { white-space: normal; min-height: calc(2 * 1.4em + 10px); }
  .hof-podium { min-height: 260px; gap: 6px; }
  .hof-fig { width: 64px; height: 128px; }
  .hof-step[data-place="1"] .hof-fig { width: 76px; height: 152px; }
  .hof-cup-empty { grid-template-columns: minmax(0, 1fr); }
  .hof-cup-kitlink { grid-column: 1; }
  .hof-cup-top { grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-3); }
  .hof-cup-fig { width: 64px; height: 128px; }
  .hof-cup-big { font-size: var(--fs-xl); }
  .hof-cup-podium > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hof-bracket { grid-template-columns: repeat(var(--rounds, 3), 160px); gap: var(--s-3); }
  .hof-past li, .hof-past.is-uhc li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .hof-past-when { grid-column: 1 / -1; }
  .hof-past-who { grid-column: 1; grid-row: 2; }
  .hof-past-kit { grid-column: 2; grid-row: 2; justify-self: end; }
  .hof-past-meta { grid-column: 1 / -1; white-space: normal; }
  .hof-past.is-uhc .hof-past-meta { grid-column: 2; grid-row: 2; }
  .hof-bars li { grid-template-columns: 20px 24px minmax(64px, 7rem) minmax(0, 1fr); gap: 8px; }
  .hof-bars .zp-head { width: 24px; height: 24px; }
  .hof-champ { grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-3); }
  .hof-champ > img { width: 48px; height: 48px; }
  .hof-champ b { white-space: normal; font-size: var(--fs-lg); }
  .hof-cap-note { white-space: normal; text-align: right; }
}

/* ==========================================================================
   Minecraft look (2026-10-19)
   This sheet loads before zp.css and mc.css, so the rules carry [data-page="hall-of-fame"].
   - The global top three stand on our gold, iron and copper blocks, names on a dark plate.
   - Trophies and champions sit in GUI panels; the kit tiles are dark GUI cards with the item in
     an inventory slot.
   - Streaks and titles are experience bars, the count in the XP level's green.
   - The bracket: each game a sunken box, the rounds joined by grey lines.
   ========================================================================== */
[data-page="hall-of-fame"] .hof-sec + .hof-sec { border-top: 0; box-shadow: 0 -2px 0 #000, 0 -4px 0 rgba(255, 255, 255, 0.05); }
[data-page="hall-of-fame"] .hof-note, [data-page="hall-of-fame"] .hof-sub { font-size: var(--mc-s1); }
[data-page="hall-of-fame"] .hof-sub { color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-cap-note { font-size: var(--mc-s1); color: var(--mc-gui-ink-2); text-shadow: var(--mc-shadow); }
[data-page="hall-of-fame"] .hof-sec h2 { font-size: var(--mc-s2); }
@media (min-width: 900px) { [data-page="hall-of-fame"] .hof-sec h2 { font-size: var(--mc-s3); } }

/* ---------- the global top three on blocks ---------- */
[data-page="hall-of-fame"] .hof-podium { gap: 0; }
[data-page="hall-of-fame"] .hof-block {
  gap: 0; padding: 10px 4px 10px; border: 0; border-radius: 0; transition: none;
  background: var(--mc-iron-block) 0 0 / 48px 48px; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45);
}
[data-page="hall-of-fame"] .hof-step[data-place="1"] .hof-block { background: var(--mc-gold-block) 0 0 / 48px 48px; }
[data-page="hall-of-fame"] .hof-step[data-place="3"] .hof-block { background: var(--mc-copper-block) 0 0 / 48px 48px; }
[data-page="hall-of-fame"] a.hof-step:hover .hof-block { background-color: transparent; }
[data-page="hall-of-fame"] .hof-place { margin-bottom: 6px; font-size: var(--mc-s3); font-weight: 400; color: #fff; text-shadow: 0.1111em 0.1111em 0 #3f3f3f; }
[data-page="hall-of-fame"] .hof-step[data-place="1"] .hof-place { font-size: var(--mc-s4); }
[data-page="hall-of-fame"] .hof-name, [data-page="hall-of-fame"] .hof-pts { width: 100%; background: rgba(0, 0, 0, 0.74); text-align: center; }
[data-page="hall-of-fame"] .hof-name { padding: 4px 4px 2px; font-size: var(--mc-s1); font-weight: 400; color: #fff; }
[data-page="hall-of-fame"] a.hof-step:hover .hof-name { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-pts { padding: 2px 4px 6px; font-size: var(--mc-s1); line-height: 1.2; color: var(--mc-red); }
[data-page="hall-of-fame"] .hof-pts .zp-tier { height: 24px; min-width: 0; padding: 0 4px; font-size: var(--mc-s1); font-weight: 400; }
[data-page="hall-of-fame"] .hof-fig img { filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.45)); }
@media (max-width: 639px) {
  [data-page="hall-of-fame"] .hof-place { font-size: var(--mc-s2); }
  [data-page="hall-of-fame"] .hof-step[data-place="1"] .hof-place { font-size: var(--mc-s3); }
}

/* ---------- the weekly tournament ---------- */
[data-page="hall-of-fame"] .hof-cup-icon {
  width: 64px; height: 64px; border: 2px solid transparent; border-radius: 0;
  border-image: var(--mc-slot) 1 fill / 2px / 0 stretch; background: none;
}
[data-page="hall-of-fame"] .hof-cup-icon img { width: 40px; height: 40px; }
[data-page="hall-of-fame"] .hof-cup-empty p { font-size: var(--mc-s1); }
[data-page="hall-of-fame"] .hof-cup-big { font-size: var(--mc-s2); font-weight: 400; line-height: 1.15; color: var(--mc-gold); }
[data-page="hall-of-fame"] .hof-cup-empty .hof-cup-big { font-size: var(--mc-s2); color: #fff; }
[data-page="hall-of-fame"] .hof-cup-kit { font-size: var(--mc-s1); color: var(--accent); }
[data-page="hall-of-fame"] .hof-cup-facts { font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-cup-fig {
  background: #000; border: 2px solid; border-color: #37353d #8b8b8b #8b8b8b #37353d; padding: 6px 4px 0; overflow: hidden;
}
[data-page="hall-of-fame"] .hof-cup-fig img { filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.5)); }
[data-page="hall-of-fame"] .hof-cup-podium { border-top: 0; box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.06); }
[data-page="hall-of-fame"] .hof-cup-podium dt { font-size: var(--mc-s1); }
[data-page="hall-of-fame"] .hof-who { font-size: var(--mc-s1); font-weight: 400; }
[data-page="hall-of-fame"] .hof-who img { width: 20px; height: 20px; border-radius: 0; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
[data-page="hall-of-fame"] a.hof-who:hover { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-who.is-none { color: var(--mc-gray); }

/* the bracket: rounds as columns of equal slots, each game centred in its slot and joined to
   the game it feeds by a grey line (right stub, a vertical join per pair, left stub) */
[data-page="hall-of-fame"] .hof-bracket { --bk: 28px; gap: var(--bk); grid-template-columns: repeat(var(--rounds, 3), minmax(190px, 1fr)); }
[data-page="hall-of-fame"] .hof-round-name { font-size: var(--mc-s1); color: var(--mc-gray); text-align: center; }
[data-page="hall-of-fame"] .hof-games { display: grid; grid-auto-rows: 1fr; gap: 10px; }
[data-page="hall-of-fame"] .hof-game {
  --line: #8b8b8b;
  position: relative; display: flex; flex-direction: column; justify-content: center;
  border: 0; border-radius: 0; background: none; overflow: visible;
}
[data-page="hall-of-fame"] .hof-game li {
  position: relative; min-height: 36px; padding: 0 10px; gap: 8px;
  background: var(--mc-well-bg); box-shadow: inset 2px 0 0 #000, inset -2px 0 0 #4a4556;
}
[data-page="hall-of-fame"] .hof-game li:first-child { box-shadow: inset 2px 2px 0 #000, inset -2px 0 0 #4a4556; }
[data-page="hall-of-fame"] .hof-game li:last-child { box-shadow: inset 2px 0 0 #000, inset -2px -2px 0 #4a4556; }
[data-page="hall-of-fame"] .hof-game li + li { border-top: 0; margin-top: 2px; }
[data-page="hall-of-fame"] .hof-game img { width: 18px; height: 18px; border-radius: 0; }
[data-page="hall-of-fame"] .hof-game .nm { font-size: var(--mc-s1); color: var(--text-2); }
[data-page="hall-of-fame"] .hof-game a.nm:hover { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-game .sc { font-size: var(--mc-s1); font-weight: 400; color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-game .is-win .nm { color: #fff; font-weight: 400; }
[data-page="hall-of-fame"] .hof-game .is-win .sc { color: var(--mc-green); }
[data-page="hall-of-fame"] .hof-game .is-out .nm { color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-game li.is-win { box-shadow: inset 4px 0 0 var(--accent), inset -2px 0 0 #4a4556; }
[data-page="hall-of-fame"] .hof-round:last-child .hof-game li.is-win { box-shadow: inset 4px 0 0 var(--mc-gold), inset -2px 0 0 #4a4556; }
[data-page="hall-of-fame"] .hof-round:last-child .hof-game .is-win .nm { color: var(--mc-gold); }
[data-page="hall-of-fame"] .hof-game .hof-game-note { min-height: 26px; font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-game.is-bye { opacity: 0.55; }
/* the lines */
[data-page="hall-of-fame"] .hof-round:not(:last-child) .hof-game::after {
  content: ""; position: absolute; left: 100%; top: calc(50% - 1px); width: calc(var(--bk) / 2); height: 2px; background: var(--line);
}
[data-page="hall-of-fame"] .hof-round:not(:last-child) .hof-game:nth-child(odd):not(:last-child)::before {
  content: ""; position: absolute; left: calc(100% + var(--bk) / 2 - 1px); top: calc(50% - 1px); width: 2px; height: calc(50% + 6px); background: var(--line);
}
[data-page="hall-of-fame"] .hof-round:not(:last-child) .hof-game:nth-child(even)::before {
  content: ""; position: absolute; left: calc(100% + var(--bk) / 2 - 1px); bottom: calc(50% - 1px); width: 2px; height: calc(50% + 6px); background: var(--line);
}
[data-page="hall-of-fame"] .hof-round + .hof-round .hof-game {
  margin-left: calc(var(--bk) / -2); padding-left: calc(var(--bk) / 2);
  background: linear-gradient(var(--line), var(--line)) no-repeat 0 calc(50%) / calc(var(--bk) / 2) 2px;
}
@media (max-width: 639px) {
  [data-page="hall-of-fame"] .hof-bracket { --bk: 20px; grid-template-columns: repeat(var(--rounds, 3), 170px); }
}

/* past champions: player-list strips */
[data-page="hall-of-fame"] .hof-past { gap: 2px; }
[data-page="hall-of-fame"] .hof-past li { border-bottom: 0; background: rgba(255, 255, 255, 0.04); }
[data-page="hall-of-fame"] .hof-past li:nth-child(even) { background: rgba(255, 255, 255, 0.08); }
[data-page="hall-of-fame"] .hof-past li:first-child { box-shadow: inset 4px 0 0 var(--mc-gold); }
[data-page="hall-of-fame"] .hof-past.is-uhc { border: 2px solid transparent; border-radius: 0; border-image: var(--mc-well) 1 fill / 2px / 0 stretch; padding: 2px; }
[data-page="hall-of-fame"] .hof-past-when, [data-page="hall-of-fame"] .hof-past-meta { font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-past-kit { font-size: var(--mc-s1); color: #e0e0e0; }

/* ---------- best on every kit: dark GUI cards, the item in a slot ---------- */
[data-page="hall-of-fame"] .hof-kits { gap: 6px; }
[data-page="hall-of-fame"] .hof-kit {
  border: 8px solid transparent; border-radius: 0; border-image: var(--mc-gui-dark) 4 fill / 8px / 0 stretch;
  background: none; box-shadow: none; padding: 8px 10px; gap: 10px; transition: none;
}
[data-page="hall-of-fame"] .hof-kit:hover { background: rgba(255, 255, 255, 0.04); outline: 2px solid var(--accent); outline-offset: -4px; border-color: transparent; }
[data-page="hall-of-fame"] .hof-kit.is-best { border-color: transparent; border-image-source: var(--mc-gui-dark); }
[data-page="hall-of-fame"] .hof-kit-top .zp-kit-ico {
  width: 40px; height: 40px; border: 2px solid transparent; border-radius: 0;
  border-image: var(--mc-slot) 1 fill / 2px / 0 stretch; background: none; box-shadow: none;
}
[data-page="hall-of-fame"] .hof-kit-top .zp-kit-ico img { width: 32px; height: 32px; image-rendering: pixelated; }
[data-page="hall-of-fame"] .hof-kit-top b { font-size: var(--mc-s1); font-weight: 400; }
[data-page="hall-of-fame"] .hof-kit:hover .hof-kit-top b { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-kit-top::after { font-size: var(--mc-s1); font-weight: 400; color: var(--mc-gold); }
[data-page="hall-of-fame"] .hof-holder .zp-head { width: 40px; height: 40px; border-radius: 0; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
[data-page="hall-of-fame"] .hof-holder .who b { font-size: var(--mc-s1); font-weight: 400; }
[data-page="hall-of-fame"] .hof-kit:hover .hof-holder .who b { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-holder .who small { font-size: var(--mc-s1); font-weight: 400; color: var(--mc-red); }
[data-page="hall-of-fame"] .hof-holder.is-none { font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-most { border-top: 0; box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.06); font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-most b { font-weight: 400; color: #e0e0e0; text-shadow: var(--mc-shadow); }
@media (max-width: 639px) {
  [data-page="hall-of-fame"] .hof-kit-top .zp-kit-ico { width: 36px; height: 36px; }
  [data-page="hall-of-fame"] .hof-kit-top .zp-kit-ico img { width: 24px; height: 24px; }
  [data-page="hall-of-fame"] .hof-holder .zp-head { width: 32px; height: 32px; }
}

/* ---------- streaks and titles: experience bars ---------- */
[data-page="hall-of-fame"] .hof-bars { gap: 2px; }
[data-page="hall-of-fame"] .hof-bars li { padding: 0 8px; background: rgba(255, 255, 255, 0.04); }
[data-page="hall-of-fame"] .hof-bars li:nth-child(even) { background: rgba(255, 255, 255, 0.08); }
[data-page="hall-of-fame"] .hof-bars li[aria-hidden] { background: rgba(255, 255, 255, 0.04); }
[data-page="hall-of-fame"] .hof-bars li[tabindex]:hover { background: rgba(255, 255, 255, 0.14); }
[data-page="hall-of-fame"] .hof-bars li[tabindex]:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px #fff; }
[data-page="hall-of-fame"] .hof-bars .zp-rank { font-size: var(--mc-s1); }
[data-page="hall-of-fame"] .hof-bars .zp-head { border-radius: 0; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
[data-page="hall-of-fame"] .hof-bars .nm { font-size: var(--mc-s1); font-weight: 400; }
[data-page="hall-of-fame"] .hof-bars a.nm:hover { color: var(--mc-hover); }
[data-page="hall-of-fame"] .hof-bars .track { gap: 10px; }
[data-page="hall-of-fame"] .hof-bars .bar {
  flex: 0 1 200px; min-width: 60px; height: 10px; border-radius: 0; overflow: hidden;
  background: var(--mc-xp-track) 0 0 / 20px 10px repeat-x; box-shadow: 0 0 0 2px #000; transition: none;
}
[data-page="hall-of-fame"] .hof-bars .bar > i { display: block; height: 100%; background: var(--mc-xp-fill) 0 0 / 20px 10px repeat-x; }
[data-page="hall-of-fame"] .hof-bars li:first-child .bar, [data-page="hall-of-fame"] .hof-bars li:hover .bar, [data-page="hall-of-fame"] .hof-bars li:focus-visible .bar { background: var(--mc-xp-track) 0 0 / 20px 10px repeat-x; }
[data-page="hall-of-fame"] .hof-bars .v { font-size: var(--mc-s1); font-weight: 400; color: var(--mc-green); text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000; }
[data-page="hall-of-fame"] .hof-bars .k { font-size: var(--mc-s1); color: var(--mc-gray); }
@media (max-width: 639px) {
  [data-page="hall-of-fame"] .hof-bars li { grid-template-columns: 20px 24px minmax(0, 1fr); grid-template-rows: auto auto; padding: 6px 8px; row-gap: 4px; }
  [data-page="hall-of-fame"] .hof-bars .track { grid-column: 1 / -1; padding-left: 4px; }
  [data-page="hall-of-fame"] .hof-bars .bar { flex: 0 0 45%; }
}

/* ---------- the UHC champion ---------- */
[data-page="hall-of-fame"] .hof-champ { border: 0; border-radius: 0; background: rgba(255, 255, 255, 0.04); box-shadow: inset 4px 0 0 var(--mc-gold); }
[data-page="hall-of-fame"] .hof-champ.is-empty { box-shadow: inset 4px 0 0 #565064; }
[data-page="hall-of-fame"] .hof-champ > img { border-radius: 0; }
[data-page="hall-of-fame"] .hof-champ b { font-size: var(--mc-s2); font-weight: 400; line-height: 1.15; color: var(--mc-gold); }
[data-page="hall-of-fame"] .hof-champ.is-empty b { font-size: var(--mc-s1); color: #fff; }
[data-page="hall-of-fame"] .hof-champ small { font-size: var(--mc-s1); color: var(--mc-gray); }
[data-page="hall-of-fame"] .hof-champ a:hover b { color: var(--mc-hover); }

/* v3: the podium figures are still renders of the real skin (zp.css .zp-skin.is-still) */
.hof-fig .zp-skin.is-still { width: 100%; height: 100%; }
