/* One official frame and one text record: identical geometry for latest and history. */
.actual-history {
  padding-top: 23px;
}

html[data-crossroad-phase="prelaunch"] .latest-official,
html[data-crossroad-phase="prelaunch"] .official-event {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 234.67px minmax(0, 1fr);
  grid-template-rows: minmax(0, 132px);
  width: min(650px, calc(100% - var(--axis-x) - 88px)) !important;
  height: 132px;
  min-height: 132px;
  padding: 0 !important;
  overflow: visible;
}

html[data-crossroad-phase="prelaunch"] .latest-official {
  max-width: none;
}

.latest-official .latest-head {
  position: static;
  display: block;
  width: 0;
  height: 0;
}

.latest-official .latest-head .official-badge {
  display: none;
}

.official-source-frame {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(180, 214, 232, .13);
  background:
    linear-gradient(135deg, rgba(127, 181, 211, .07), transparent 56%),
    repeating-linear-gradient(0deg, rgba(151, 201, 229, .035) 0 1px, transparent 1px 19px),
    rgba(2, 8, 13, .9);
}

.official-source-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 66%, rgba(3, 10, 16, .8));
  pointer-events: none;
}

.official-source-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.official-source-frame > span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(170, 205, 224, .28);
  font: 700 8px/1.2 var(--mono);
  letter-spacing: .17em;
}

.official-card-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
}

html[data-crossroad-phase="prelaunch"] .latest-official .official-card-copy :is(h1, h2),
html[data-crossroad-phase="prelaunch"] .official-event .official-card-copy h2 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: rgba(223, 233, 240, .82);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: .045em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

html[data-crossroad-phase="prelaunch"] .latest-official .official-card-copy p,
html[data-crossroad-phase="prelaunch"] .official-event .official-card-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(148, 167, 180, .58);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-official .official-card-copy .official-source,
.official-event .official-card-copy .official-source {
  align-self: flex-start;
  margin: 8px 0 0;
  color: var(--actual);
  font: 600 9px/1.4 var(--mono);
  letter-spacing: .12em;
}

@media (max-width: 760px) {
  html[data-crossroad-phase="prelaunch"] .latest-official,
  html[data-crossroad-phase="prelaunch"] .official-event {
    grid-template-columns: minmax(112px, 38%) minmax(0, 62%);
    grid-template-rows: minmax(0, 124px);
    width: calc(100% - var(--axis-x) - 46px) !important;
    height: 124px;
    min-height: 124px;
  }

  .official-card-copy {
    padding: 14px 14px 13px;
  }

  html[data-crossroad-phase="prelaunch"] .latest-official .official-card-copy :is(h1, h2),
  html[data-crossroad-phase="prelaunch"] .official-event .official-card-copy h2 {
    margin-bottom: 7px;
    font-size: 14px;
  }

  html[data-crossroad-phase="prelaunch"] .latest-official .official-card-copy p,
  html[data-crossroad-phase="prelaunch"] .official-event .official-card-copy p {
    font-size: 9px;
    -webkit-line-clamp: 3;
  }

  .latest-official .official-card-copy .official-source,
  .official-event .official-card-copy .official-source {
    margin-top: 9px;
    font-size: 8px;
  }
}
