.opening-launch[hidden],
.launch-banner[hidden] {
  display: none !important;
}

.masthead .opening.opening-launch {
  justify-self: end;
}

.masthead .launch-header-link {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 11px 14px 11px 17px;
  border-inline-start: 1px solid #a77c40;
  background: linear-gradient(90deg, #282039ed, #161222c4 75%, #16122225);
  text-decoration: none;
}

.masthead .launch-header-link strong {
  color: #f3cd89;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.masthead .launch-header-link time {
  color: #fff1d2;
  font: 700 clamp(15px, 1.5vw, 21px)/1.2 var(--serif, Georgia), serif;
}

.masthead .launch-header-link small {
  display: block;
  color: #dfcfe8;
  font-size: 11px;
  line-height: 1.3;
}

.launch-banner,
#launch-countdown-dialog[open] {
  --launch-art: url("launch-20261130-pixel-v2.webp");
  color: #fdf1d7;
  background-color: #160e20;
  background-image:
    linear-gradient(90deg, #130d1bf5 3%, #1d1229e8 32%, #20133066 66%, #190f221f 100%),
    var(--launch-art);
  background-position: center, right center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid #9b7146;
  box-shadow: 0 8px 26px #08050fc7, inset 0 0 28px #100a19a8;
}

.launch-banner {
  position: relative;
  isolation: isolate;
  margin: 0 0 14px;
  scroll-margin-top: 14px;
}

.launch-banner::before,
#launch-countdown-dialog[open]::before {
  content: "";
  position: absolute;
  inset: 0 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f2c575, transparent);
  pointer-events: none;
}

.launch-content {
  position: relative;
  width: min(100%, 525px);
  padding: clamp(22px, 4vw, 39px);
  box-sizing: border-box;
}

.launch-content .launch-brand {
  margin: 0 0 6px;
  color: #edc887;
  font: 700 11px/1.2 var(--sans, Arial), sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.launch-content h2 {
  margin: 0 0 11px;
  color: #ffe4a5;
  font: 700 clamp(33px, 5vw, 59px)/.99 var(--serif, Georgia), serif;
  letter-spacing: -.025em;
  text-shadow: 0 2px 16px #170922;
}

.launch-content .launch-date {
  margin: 0;
  color: #fff4db;
  font: 700 clamp(14px, 2vw, 18px)/1.35 var(--sans, Arial), sans-serif;
}

.launch-content .launch-timezone {
  margin: 3px 0 0;
  color: #e4cfe9;
  font: 500 12px/1.35 var(--sans, Arial), sans-serif;
}

.launch-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 8px);
  margin-block: 17px 0;
}

.launch-timer[hidden],
.launch-elapsed[hidden] {
  display: none;
}

.launch-timer > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 2px;
  border: 1px solid #ba925b;
  background: linear-gradient(180deg, #48304be6, #1d1328f5);
  text-align: center;
  box-shadow: inset 0 1px #e7b97140;
}

.launch-timer strong {
  color: #ffe5aa;
  font: 700 clamp(23px, 3.8vw, 36px)/1 var(--serif, Georgia), serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.launch-timer span {
  color: #f0ddee;
  font: 700 clamp(8px, 1.05vw, 10px)/1.2 var(--sans, Arial), sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.launch-content .launch-elapsed {
  margin: 15px 0 0;
  color: #f0ddee;
  font: 600 13px/1.4 var(--sans, Arial), sans-serif;
}

.launch-content .launch-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  box-sizing: border-box;
  margin-top: 15px;
  padding: 0 17px;
  border: 1px solid #f5d58b;
  background: linear-gradient(180deg, #ffe0a1, #cc984c);
  color: #24142a;
  font: 700 13px/1.2 var(--sans, Arial), sans-serif;
  text-decoration: none;
}

.launch-content .launch-action:hover {
  background: #ffe5af;
  color: #24142a;
}

.launch-header-link:focus-visible,
.launch-action:focus-visible,
.launch-close button:focus-visible {
  outline: 2px solid #fff2c4;
  outline-offset: 3px;
}

#launch-countdown-dialog[open] {
  display: block;
  position: fixed;
  inset: 0;
  width: min(740px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100% - 28px);
  margin: auto;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
}

#launch-countdown-dialog::backdrop {
  background: #090611db;
}

#launch-countdown-dialog .launch-content {
  padding-inline-end: clamp(24px, 6vw, 62px);
}

.launch-close {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 1;
  margin: 0;
}

.launch-close button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ca9d66;
  background: #1c1028ed;
  color: #ffebc6;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.launch-close button:hover {
  background: #472f54;
}

html.detona-launch-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .masthead .opening.opening-launch {
    justify-self: center;
  }

  .masthead .launch-header-link {
    border-inline-start: 0;
    border-top: 1px solid #a77c40;
    background: linear-gradient(180deg, #282039e8, #161222b0);
    text-align: center;
  }
}

@media (max-width: 520px) {
  .launch-banner,
  #launch-countdown-dialog[open] {
    background-image:
      linear-gradient(90deg, #160e23f7 0%, #1c122ace 62%, #21142d92 100%),
      var(--launch-art);
    background-position: center, 72% center;
  }

  #launch-countdown-dialog .launch-content {
    padding: 40px 17px 19px;
  }

  .launch-content {
    padding-inline: 16px;
  }
}
