/* Admin > Pre-Scout Archive (js/prescout-archive.js) and the archive tab
   it opens (index.html?archive=<gameId>). */

#prescout-archive-body { overflow: auto; flex: 1; min-height: 0; }
.psa-empty { padding: 1.5rem 0; color: var(--text2); font-size: 0.85rem; }
.psa-season {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text2); margin: 0.75rem 0 0.35rem;
}
.psa-season:first-child { margin-top: 0; }
.psa-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.psa-table th {
  text-align: left; font-size: 0.68rem; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.04em; padding: 0.3rem 0.5rem;
  border-bottom: 1px solid var(--border);
}
.psa-table td { padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--grid); vertical-align: middle; }
.psa-table tbody tr:hover { background: var(--surface2); }
.psa-num { font-variant-numeric: tabular-nums; color: var(--text2); width: 3.5rem; }
.psa-opp { font-weight: 600; white-space: nowrap; }
.psa-ha { display: inline-block; width: 1.4rem; font-weight: 400; color: var(--text2); }
.psa-logo {
  display: inline-block; width: 18px; height: 18px; margin-right: 0.35rem; vertical-align: -4px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.psa-saved { color: var(--text2); white-space: nowrap; }
.psa-by { color: var(--text3); margin-left: 0.25rem; }
.psa-err { color: #b42318; margin-left: 0.5rem; font-weight: 600; }
.psa-open {
  font: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.9rem; cursor: pointer;
  border: 1px solid var(--accent); color: var(--accent); background: transparent; border-radius: 4px;
}
.psa-open:hover { background: var(--accent); color: #fff; }

/* The archive tab: a bar along the bottom, and only Pre-Scout Prep in the
   header (the copy holds what Prep needs, nothing else). */
#archive-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
  background: var(--oilers-orange); color: #fff; font-size: 0.78rem;
  padding: 0.35rem 1rem; text-align: center; box-shadow: 0 -1px 4px rgba(0,0,0,0.2);
}
#archive-banner b { letter-spacing: 0.06em; }
body.archive-mode .hdr-tabs .header-btn:not(#h2h-btn),
body.archive-mode .hdr-tabs .upload-again,
body.archive-mode #admin-menu-btn,
body.archive-mode #xg-settings-btn,
body.archive-mode #logout-btn,
body.archive-mode #prescout-rail { display: none !important; }
