/* IdentityCard module (card template of the G001-G003 filler applications).
   Static card at the top left, over the linear content of the Persistent
   Media Player. Region, surface and fonts follow the shared tester UI style
   (.claude/rules/tester-ui-style.md) so every on-screen panel of the suite
   looks alike. Three deviations, explained in the README ("Assumptions and
   risks"): the color band and swatch take the card's color code, which is
   test payload; the virtual channel is 72px; and content that doesn't fit
   is cut off instead of paged, since the card has no keys. */

.identity-card {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 43%;
  max-height: 90%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: rgba(14, 21, 32, 0.92);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #eef2f6;
  /* Tiresias and Verdana are the fonts Ginga-NCL receivers must provide
     (ITU-T H.761, canvas:attrFont); Arial is the fallback elsewhere. */
  font-family: Tiresias, Verdana, Arial, Helvetica, sans-serif;
  /* A long service name breaks instead of running past the right edge. */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.identity-card-hidden {
  display: none;
}

.identity-card-color-band {
  height: 12px;
}

.identity-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 28px 10px;
}

.identity-card-label {
  min-width: 0;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.identity-card-set-marker {
  flex-shrink: 0;
  margin-left: 16px;
  white-space: nowrap;
  color: #8cc8ff;
  font-size: 18px;
  font-weight: bold;
}

.identity-card-body {
  padding: 10px 28px;
}

.identity-card-service-name {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.25;
}

.identity-card-channel {
  margin-top: 18px;
}

.identity-card-channel-caption {
  color: #a9b8c8;
  font-size: 18px;
  font-weight: bold;
}

/* The virtual channel number is what the tester compares with the catalog
   order, so it is the largest text on the card. */
.identity-card-channel-number {
  font-size: 72px;
  font-weight: bold;
  line-height: 1.1;
}

.identity-card-description {
  margin-top: 12px;
  color: #a9b8c8;
  font-size: 22px;
  line-height: 1.35;
}

.identity-card-description-hidden {
  display: none;
}

.identity-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 28px 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.identity-card-field {
  margin-top: 6px;
  margin-right: 24px;
}

.identity-card-field-name {
  display: block;
  color: #a9b8c8;
  font-size: 18px;
  font-weight: bold;
}

.identity-card-field-value {
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
}

.identity-card-swatch {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 6px;
}
