/* The session header. Fixed across the top, the way a timing screen carries it.
   Dense, monospaced, tabular: this strip is the page's single loudest claim to
   being a race rather than a document with racing words in it. */

.ses {
  position: fixed; left: 0; right: 0; top: 0; z-index: 45;
  display: flex; align-items: stretch; gap: 0;
  height: var(--ses-h);
  background: rgba(11, 13, 16, .92);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate);
}
@media (prefers-reduced-transparency: reduce) {
  .ses { background: var(--asphalt); backdrop-filter: none; }
}

.ses > * {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 0 var(--sp-4);
  border-right: 1px solid var(--line);
}
.ses b { color: var(--bone); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ses small { font-size: .85em; color: var(--slate); }

/* The flag. Amber while anything is still under review, green when it is not. */
.ses-flag { font-weight: 400; letter-spacing: .18em; }
.ses-flag i {
  width: 8px; height: 8px; border-radius: 2px; display: block;
}
.ses-flag--green { color: var(--green); }
.ses-flag--green i { background: var(--green); }
.ses-flag--amber { color: var(--amber); }
.ses-flag--amber i { background: var(--amber); }
/* The flag does not pulse. Its state is derived once from the publication list
   and cannot change while the page is open, so a pulse would be simulating a
   liveness that does not exist. The colour already carries the meaning: amber
   while something is under review, green when it is not. */

.ses-where b { font-family: var(--font-display); letter-spacing: .02em; font-size: 1.15em; }

.ses-lap { font-variant-numeric: tabular-nums; }
.ses-lap-n { font-family: var(--font-display); font-size: 1.3em; }

.ses-cond { display: none !important; }
@media (max-width: 700px) {
  .ses-where small, .ses-lap { display: none; }
  .ses > * { padding: 0 var(--sp-3); }
}
@media (max-width: 480px) {
  .ses {
    font-size: .52rem;
    letter-spacing: .06em;
  }
  .ses > * {
    padding: 0 6px;
    gap: 4px;
  }
}
