:root { color-scheme: light; --paper: #f4f0ec; --ink: #111; font-family: "neue-haas-grotesk-text", sans-serif;
font-weight: 400;
font-style: normal; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
#asking { min-height: 100svh; display: grid; place-items: center; padding: 28px; }
form { width: min(100%, 400px); text-align: center; transform: translateY(-3svh); }
h1 { margin: 0 0 22px; font-size: 18px; line-height: 1.4; font-weight: 400; letter-spacing: -.035em; }
textarea { display: block; width: 100%; min-height: 44px; max-height: 60svh; padding: 8px 0; resize: none; overflow: hidden; overflow-wrap: anywhere; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; text-align: center; outline: none; caret-color: var(--ink); }
textarea::placeholder { color: #77716d; opacity: 1; }
textarea.is-wrapped { text-align: left; }
#answer { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: auto; outline: none; background: var(--paper); display: grid; place-items: center; }
#answer img, #answer video, #answer iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; object-fit: contain; }
#answer .text-work {
  width: var(--text-width, min(400px, calc(100vw - 56px)));
  max-width: 86vw;
  min-width: 0;
  margin: auto;
  padding: max(32px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom));
  font: inherit;
  font-weight: var(--text-weight, 400);
  font-size: min(
  var(--text-size, 8px),
  max(
    9px,
    min(
      calc(var(--text-width, 400px) / 8),
      calc(var(--text-width, 400px) / 4 - 21px)
    )
  )
);

  line-height: 1.5;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: var(--text-align, left);
  text-align-last: var(--text-align-last, auto);
  text-transform: var(--text-case, none);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#answer .media-action { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: transparent; color: inherit; border: 0; font: inherit; font-size: 16px; padding: 16px; cursor: pointer; }
#answer .media-action:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button.sr-only:focus-visible { position: fixed; width: auto; height: auto; margin: 0; padding: 12px; clip: auto; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--paper); color: var(--ink); border: 1px solid; }
.no-script { position: fixed; bottom: 24px; width: 100%; text-align: center; font-size: 14px; }
@media (max-width: 600px) { form { transform: translateY(-5svh); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }



#answer img {
  width: auto;
  height: auto;
  max-width: 80vw;
  max-height: 80dvh;
}



::selection {
  background: var(--ink);
  color: var(--paper);
}



/* single line of text */
#answer .text-work.text-single {
  width: 86vw;
  max-width: 86vw;
  font-size: var(--text-size, 8px);
  text-align: center;
  text-align-last: center;
  white-space: nowrap;
  overflow-wrap: normal;
}





/* loader slow shuffle */
/* Only visible during a wait before the shuffle begins. */
#answer .shuffle-loading {
  font: inherit;
  font-size: 36px;
  font-weight: 400;
  animation: shuffle-wait 1.2s ease-in-out infinite;
}
@keyframes shuffle-wait {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #answer .shuffle-loading { animation: none; }
}
