/* The console Easter egg has no visible effect until stutely.surprise() is called. */
.js-backstage {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(820px, calc(100vw - 2rem));
  max-width: min(90vh, 90dvh);
  padding: 0;
  overflow: auto;
  border: 1px solid #b99b68;
  border-radius: 4px;
  background: #0b1b2e;
  color: #e4edf7;
  box-shadow: 0 24px 100px rgb(0 0 0 / .5);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}
.js-backstage::backdrop { background: rgb(3 11 22 / .84); backdrop-filter: blur(5px); }
.js-backstage__shell { padding: clamp(1.3rem, 5vw, 3.8rem); }
.js-backstage__top { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.js-backstage__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .16em; color: #d8b67b; }
.js-backstage__close {
  color: #e4edf7; background: transparent; border: 1px solid #8ea7bc;
  padding: .55rem .8rem; font: inherit; font-size: .85rem; cursor: pointer;
}
.js-backstage__close:hover { background: #1a3550; }
.js-backstage__close:focus-visible { outline: 3px solid #d8b67b; outline-offset: 3px; }
.js-backstage__rule { height: 2px; background: linear-gradient(90deg, #d8b67b, #9fc4e5 66%, transparent); margin: 1.5rem 0 2.2rem; }
.js-backstage__title { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 690; letter-spacing: -.045em; line-height: 1.1; margin: 0 0 2rem; }
.js-backstage__lines { display: grid; gap: 1rem; }
.js-backstage__line { color: #e4edf7; font-size: clamp(1rem, 2vw, 1.2rem); margin: 0; }
.js-backstage__line--signal { color: #afd2ee; font-weight: 600; }
.js-backstage__foot { border-top: 1px solid #435b71; padding-top: 1.5rem; margin: 2.4rem 0 0; color: #d8b67b; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
@media (prefers-reduced-motion: no-preference) {
  .js-backstage[open] .js-backstage__line { animation: js-backstage-reveal .55s backwards; }
  .js-backstage[open] .js-backstage__line:nth-child(2) { animation-delay: .35s; }
  .js-backstage[open] .js-backstage__line:nth-child(3) { animation-delay: .75s; }
  @keyframes js-backstage-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (forced-colors: active) {
  .js-backstage { background: Canvas; color: CanvasText; border-color: CanvasText; forced-color-adjust: auto; }
  .js-backstage__title, .js-backstage__line, .js-backstage__line--signal, .js-backstage__kicker, .js-backstage__foot { color: CanvasText; }
  .js-backstage__close { color: ButtonText; border-color: ButtonText; }
  .js-backstage__rule { background: CanvasText; }
}
[data-appearance="contrast"] .js-backstage { background: #000; color: #fff; border: 2px solid #fff; }
[data-appearance="contrast"] .js-backstage__kicker,
[data-appearance="contrast"] .js-backstage__line--signal,
[data-appearance="contrast"] .js-backstage__foot { color: #ffe466; }
[data-appearance="contrast"] .js-backstage__close { border-color: #fff; color: #fff; }
