/* Hall of Heroes: a twilight hall with gold plaques for every Wardkeeper */
.hh-sky { position: relative; overflow: hidden; color: #f4efe0;
          background: linear-gradient(#1b1640 0%, #2a2150 45%, #4a3570 100%); }
.hh-stars { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 99%, transparent), radial-gradient(1px 1px at 28% 12%, #fff 99%, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #ffe9a8 99%, transparent), radial-gradient(1px 1px at 61% 14%, #fff 99%, transparent),
    radial-gradient(2px 2px at 76% 26%, #fff 99%, transparent), radial-gradient(1px 1px at 88% 10%, #ffe9a8 99%, transparent),
    radial-gradient(1px 1px at 6% 46%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 93% 44%, #fff 99%, transparent),
    radial-gradient(1px 1px at 36% 52%, #fff 99%, transparent), radial-gradient(1px 1px at 70% 50%, #fff 99%, transparent);
  animation: hh-twinkle 6s ease-in-out infinite alternate; }
@keyframes hh-twinkle { from { opacity: .55; } to { opacity: 1; } }
.hh-sky-in { position: relative; z-index: 2; display: grid; gap: 10px; padding-top: 14px; padding-bottom: 70px; }
.hh-sign { justify-self: center; text-align: center; margin-top: 10px; padding: 14px 28px 16px; border-radius: 8px;
           background: linear-gradient(#5b4796, #3d2f6e); border: 3px solid #c9a24a; box-shadow: 0 0 0 3px #2a2150, 0 0 36px rgba(244,183,64,.35); }
.hh-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #f4d27a; }
.hh-sign h1 { font-size: var(--step-4); font-weight: 850; letter-spacing: -.02em; color: #fff6dc; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.hh-sign p:last-child { margin: var(--sp-1) 0 0; font-weight: 700; font-size: var(--step--1); color: #e6dcff; }
.hh-sky .mk-status { margin-top: var(--sp-4); }
.hh-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 1;
            background: repeating-linear-gradient(90deg, #6c6577 0 46px, #5d5768 46px 48px), #6c6577;
            border-top: 4px solid #8a8396; box-shadow: inset 0 10px 18px rgba(0,0,0,.35); }

.hh-main { padding-top: var(--sp-5); padding-bottom: var(--sp-7); display: grid; gap: var(--sp-5); }
.hh-intro { background: var(--surface-1); border: 1px solid var(--border); border-left: 4px solid var(--magic); border-radius: var(--radius); box-shadow: var(--hi);
            padding: var(--sp-4) var(--sp-5); }
.hh-intro p { margin: 0 0 var(--sp-2); max-width: 70ch; }
.hh-intro p:last-child { margin: 0; }
.hh-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); }
.hh-count { font-size: var(--step--1); font-weight: 750; color: var(--fg-muted); }

/* room for one plaque before the hall loads, so nothing jumps */
.hh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--sp-3); min-height: 300px; align-content: start; }
.hh-card { position: relative; background: linear-gradient(var(--surface-2), var(--surface-1) 60%); border: 1px solid var(--border); border-radius: var(--radius);
           box-shadow: var(--hi); padding: var(--sp-4) var(--sp-3) var(--sp-4); display: grid; justify-items: center; gap: var(--sp-2); text-align: center; }
.hh-card.first { border-color: var(--reward); box-shadow: inset 0 0 0 1px var(--reward), 0 0 26px color-mix(in oklch, var(--reward) 22%, transparent); }
.hh-rank { position: absolute; top: var(--sp-3); left: var(--sp-3); background: var(--surface-3); color: var(--fg-muted); border: 1px solid var(--border);
           font-weight: 850; font-size: 13px; padding: 2px 10px; border-radius: var(--radius-pill); }
.hh-card.first .hh-rank { background: var(--reward); color: var(--on-reward); border-color: transparent; }
.hh-fig { width: 72px; height: 144px; image-rendering: pixelated; margin-top: var(--sp-2); filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); }
.hh-fig.blank { background: linear-gradient(var(--surface-3), var(--surface-2)); border-radius: var(--radius-xs); }
.hh-plinth { width: 108px; height: 14px; margin-top: -10px; background: #8a8396; border-radius: 3px; box-shadow: inset 0 -4px 0 #6c6577; }
.hh-name { font-size: var(--step-1); font-weight: 850; overflow-wrap: anywhere; }
.hh-badge { font-size: 13px; font-weight: 800; color: var(--on-reward); background: var(--reward); padding: 2px 10px; border-radius: var(--radius-pill); }
.hh-meta { font-size: var(--step--1); color: var(--fg-muted); margin: 0; }
.hh-meta b { color: var(--fg); font-weight: 700; }

.hh-empty { grid-column: 1 / -1; background: var(--surface-1); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: var(--sp-5) var(--sp-4); text-align: center; }
.hh-empty .hh-fig { margin: 0 auto var(--sp-2); }
.hh-empty h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.hh-empty p { margin: 0 auto; max-width: 52ch; color: var(--fg-muted); }
.hh-empty p b { color: var(--fg); }
.hh-empty a { display: inline-flex; align-items: center; min-height: 40px; }
@media (prefers-reduced-motion: reduce) { .hh-stars { animation: none; } }
