/* tokens, sampled straight off the approved art:
   bg #e2c394 (the emoji's own flat background)
   ink #1b1a0d (the emoji's own line/pupil black)
   green #008d21 (the chart emoji's own green)
   type: Space Mono only, one face, real case for the CA value */

@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #e2c394;
}

body {
  font-family: 'Space Mono', monospace;
}

.stage {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px;
}

.art {
  width: auto;
  height: min(74vh, 82vw);
  max-width: 92vw;
  image-rendering: auto;
}

.ca {
  appearance: none;
  border: 2px solid #1b1a0d;
  border-radius: 0;
  background: transparent;
  color: #1b1a0d;
  padding: 10px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  max-width: 92vw;
}

.ca:hover,
.ca:focus-visible {
  background: #1b1a0d;
  color: #e2c394;
  outline: none;
}

.ca-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ca-value {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.ca.copied .ca-value::after {
  content: ' - copied';
  color: #008d21;
}

@media (max-width: 420px) {
  .ca { flex-direction: column; align-items: flex-start; gap: 4px; }
}
