/* Copyright Ayers Electronics Inc. All rights reserved. */
/* what the captions key does, taught once on the first press. */

/* ---- the captions key card (js/captions-key-card.js) ----
   A notice, not a dialog: it stands at the right of the picture on its own ground, nothing behind
   it is dimmed and nothing under it stops working. Inside the player, so full screen carries it. */
#captionsKeyCard {
  position: absolute;
  right: var(--safe-right);
  top: 50%;
  transform: translateY(-50%);
  z-index: 82;
  max-width: 420px;
  padding: 14px 16px;
  background: var(--band-ground);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  pointer-events: none;
}
.captions-key-card-title {
  margin-bottom: 10px;
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  text-transform: uppercase;
}
.captions-key-card-row {
  display: flex;
  align-items: flex-start;
}
.captions-key-card-row > * + * {
  margin-left: 10px;
}
.captions-key-card-row + .captions-key-card-row {
  margin-top: 10px;
}
/* The key as it is printed on the remote, so the row names a press rather than describing one. */
.captions-key-card-chip {
  flex: none;
  min-width: 34px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--elevated);
  font-size: var(--type-micro);
  text-align: center;
  white-space: nowrap;
}
.captions-key-card-line {
  font-size: var(--type-label);
  line-height: 1.25;
}
