/* The opponent card on an NFL team's schedule (nfl-opp.js): the team in that season, its record,
   place and playoffs, head coach and QB. Under us-players.js's person card (z-index 61), which a
   name in it opens. */

.nfo {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 300px;
  max-width: calc(100vw - 16px);
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}
.nfo-top { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.nfo-logo { display: block; flex: none; width: 44px; height: 44px; object-fit: contain; }
.nfo-id { display: grid; min-width: 0; }
.nfo-ey { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.nfo-n { font: 600 20px/1.15 var(--display); }
@media (any-hover: hover) {
  .nfo-top:hover .nfo-n { text-decoration: underline; text-underline-offset: 3px; }
}
/* Record, place and playoffs: a phrase never breaks, and the line breaks between them */
.nfo-rec { margin: 8px 0 0; color: var(--muted); line-height: 1.4; }
.nfo-ph { white-space: nowrap; }
.nfo-rec b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.nfo-d { display: grid; gap: 4px; margin: 10px 0 0; }
.nfo-d div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.nfo-d dt { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.8; text-transform: uppercase; }
.nfo-d dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.nfo-note { color: var(--muted); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nfo-wait { color: var(--faint); letter-spacing: .12em; }
.nfo-miss { color: var(--faint); }
