/* tokens: bg #ffffff, ink #141414, highlight #8f889c (sampled from Marvin's own neck patch)
   type: Reenie Beanie only, everything reads as the same hand */
@font-face {
  font-family: 'Reenie Beanie';
  src: url('assets/fonts/reenie-beanie.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #ffffff;
  overscroll-behavior: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  overflow: hidden;
  color: #141414;
  font-family: 'Reenie Beanie', cursive;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1.4vh, 16px);
  padding: 16px;
  text-align: center;
}

.bird-wrap {
  position: relative;
  width: clamp(200px, 42vh, 500px);
  aspect-ratio: 1 / 1;
}

.bird {
  width: 100%;
  height: 100%;
  display: block;
}

.blink {
  position: absolute;
  left: 23.5%;
  top: 21%;
  width: 28.5%;
  height: 5.2%;
  opacity: 0;
  pointer-events: none;
  animation: blink 4s ease-in-out infinite;
}

@keyframes blink {
  0%, 90%, 100% { opacity: 0; }
  93%, 96% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; opacity: 0; }
}

.opinion {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  line-height: 1.15;
  transform: rotate(-0.6deg);
}

.chrome {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 26px);
  margin-top: 4px;
}

.ticker {
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
}

/* The address is the one thing on this page that must NOT be handwritten: base58 is case
   sensitive and the marker face made 1/l and 0/O indistinguishable, so nobody could read it
   off the screen (2026-08-31). Monospace, real case, click to copy. */
.ca {
  position: relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  letter-spacing: 0.01em;
  color: #141414;
  cursor: pointer;
  word-break: break-all;
}

.ca::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -4px;
  height: 7px;
  background: #8f889c;
  opacity: 0.55;
  border-radius: 2px;
  transform: rotate(-1.2deg);
  z-index: -1;
}

@media (max-height: 560px) {
  .bird-wrap { width: clamp(160px, 34vh, 420px); }
  .stage { gap: 2px; }
}

#boot-error {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  background: #3a0a0a;
  color: #ffdede;
  font-family: monospace;
  font-size: 13px;
  padding: 10px 14px;
  border-top: 2px solid #8f889c;
}
