/* pages/hall-of-fame.css — "Wall of Fame". All classes are .hof-* prefixed so a
   style bug here cannot bleed into any other page (module isolation, A18). */
.hof-wrap { max-width: 1180px; margin: 0 auto; padding: 4px 2px 40px; }

/* ── board tabs (the 7 buttons) ── */
.hof-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hof-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 9px; cursor: pointer;
  background: var(--bg2, #161b26); border: 1px solid var(--border, #2a3142);
  color: var(--text2, #aeb6c6); font-size: 13px; font-weight: 600; transition: all .12s;
}
.hof-tab:hover { border-color: #2f9e6b; color: var(--text, #fff); }
.hof-tab.active { background: linear-gradient(180deg,#1f8a5b,#15663f); border-color: #2fbd7e; color: #fff; }
.hof-tab-ic { font-size: 15px; }

/* ── header / navigator ── */
.hof-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 16px; }
.hof-title { font-size: 17px; font-weight: 700; color: var(--text, #fff); text-align: center; }
.hof-live { font-size: 11px; color: #08110b; background: #34d399; border-radius: 6px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; font-weight: 700; }
.hof-nav {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  background: var(--bg2, #161b26); border: 1px solid var(--border, #2a3142);
  color: var(--text, #fff); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.hof-nav:hover:not([disabled]) { border-color: #2fbd7e; }
.hof-nav[disabled] { opacity: .3; cursor: default; }

/* ── podium ── */
.hof-podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; flex-wrap: nowrap; margin-bottom: 22px; min-height: 180px; overflow-x: auto; padding-bottom: 4px; }
.hof-pod { display: flex; flex-direction: column; align-items: center; width: 120px; flex-shrink: 0; }
.hof-pod-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg2, #161b26); border: 1px solid var(--border, #2a3142);
  border-radius: 12px 12px 0 0; padding: 12px 8px 10px; width: 100%; text-align: center;
}
.hof-pod-g1 { width: 150px; } .hof-pod-g1 .hof-pod-card { border-color: #d4af37; box-shadow: 0 0 18px rgba(212,175,55,.25); }
.hof-pod-g2 .hof-pod-card { border-color: #b9c2cc; }
.hof-pod-g3 .hof-pod-card { border-color: #cd7f32; }
.hof-pod-name { font-size: 13px; font-weight: 700; color: #34d399; line-height: 1.15; word-break: break-word; }
.hof-pod-g1 .hof-pod-name { font-size: 15px; }
.hof-pod-val { font-size: 13px; font-weight: 700; color: var(--text, #fff); margin-top: 2px; }
.hof-pod-base {
  display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%;
  background: linear-gradient(180deg, #232a38, #161b26); border: 1px solid var(--border, #2a3142); border-top: none;
  border-radius: 0 0 8px 8px; padding: 5px 0; font-weight: 800; color: var(--text2, #aeb6c6);
}
.hof-pod-g1 .hof-pod-base { height: 46px; font-size: 22px; }
.hof-pod-g2 .hof-pod-base { height: 36px; font-size: 19px; }
.hof-pod-g3 .hof-pod-base { height: 30px; font-size: 17px; }
.hof-pod-gx .hof-pod-base { height: 22px; font-size: 14px; }
.hof-pod-medal { font-size: 16px; }

/* ── avatars ── */
.hof-av { border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--border, #2a3142); }
.hof-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hof-av-ini { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#2a3142,#1b2130); color: #8aa0c0; font-weight: 700; }

/* ── location badge ── */
.hof-loc { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text3, #7d869a); }
.hof-loc-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; display: inline-block; }

/* ── table ── */
.hof-tablewrap { overflow-x: auto; border: 1px solid var(--border, #2a3142); border-radius: 10px; }
.hof-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hof-table th { text-align: right; padding: 9px 12px; color: var(--text3, #7d869a); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--border, #2a3142); background: var(--bg2, #161b26); }
.hof-th-rank { width: 38px; text-align: center !important; }
.hof-th-ph { width: 52px; }
.hof-th-model { text-align: left !important; }
.hof-table td { padding: 8px 12px; border-bottom: 1px solid var(--border, #222838); text-align: right; color: var(--text, #e7ecf3); }
.hof-table tr:last-child td { border-bottom: none; }
.hof-table tr:hover td { background: rgba(52,211,153,.05); }
.hof-td-rank { text-align: center; color: var(--text3, #7d869a); font-weight: 700; }
.hof-td-ph { width: 52px; }
.hof-td-model { text-align: left; }
.hof-td-name { color: #34d399; font-weight: 600; }
.hof-td-num { font-variant-numeric: tabular-nums; }

/* ── states / footer ── */
.hof-loading, .hof-empty { width: 100%; text-align: center; color: var(--text3, #7d869a); padding: 36px 0; font-size: 14px; }
.hof-foot { margin-top: 16px; }
.hof-note { font-size: 12px; color: var(--text3, #7d869a); text-align: center; }
.hof-formula { font-size: 12px; color: var(--text2, #aeb6c6); background: var(--bg2, #161b26); border: 1px solid var(--border, #2a3142); border-radius: 8px; padding: 10px 12px; margin-top: 10px; line-height: 1.5; }

@media (max-width: 560px) {
  .hof-title { font-size: 14px; }
  .hof-pod { width: 92px; } .hof-pod-g1 { width: 112px; }
  .hof-tab { padding: 7px 10px; font-size: 12px; }
}
