.andrew-secret-trigger {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.andrew-secret-trigger:enabled { cursor: pointer; }
.andrew-secret-trigger:enabled:hover { text-decoration: underline; }

.andrew-secret {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 28px clamp(18px, 5vw, 48px);
  border: 0;
  background: #08090b;
  color: #f2f0eb;
  overflow: auto;
  overscroll-behavior: contain;
}

.andrew-secret:open { display: grid; place-items: center; }
.andrew-secret:has([data-secret-crash]:not([hidden])) { background: #1045ad; }
html:has(.andrew-secret[open]) { overflow: hidden; }

.andrew-secret-help {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.andrew-secret-crash { width: min(100%, 800px); }
.andrew-secret-crash img { display: block; width: 100%; height: auto; }
.andrew-secret-poem { width: min(100%, 44rem); margin: 0; }
.andrew-secret-poem blockquote { display: grid; margin: 0; }
.andrew-secret-poem blockquote p {
  grid-area: 1 / 1;
  margin: 0;
  font: clamp(16px, 3vw, 27px)/1.65 ui-monospace, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.andrew-secret-poem [data-secret-text].is-typing { opacity: 0; }
.andrew-secret-poem figcaption { margin: 16px 0 24px; }
