/* tokens: pure black/white/grey only (brief: zero color), Anton for inked comic lettering,
   DM Mono for the CA (real case, must stay legible/copyable). radius 0, no shadows - ink has edges. */
@font-face {
  font-family: 'Anton';
  src: url('fonts/anton-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

* { box-sizing: border-box; }

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

.panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.caption {
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: min(78vw, 340px);
  background: #fff;
  border: 3px solid #000;
  padding: 14px 16px;
  transform: rotate(-1.4deg);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
}

.caption__ticker,
.caption__line {
  font-family: 'Anton', sans-serif;
  color: #000;
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.caption__ticker {
  font-size: clamp(18px, 4.2vw, 22px);
}

.caption__line {
  font-size: clamp(13px, 3.2vw, 15px);
  margin-top: 4px;
  text-transform: lowercase;
}

.caption__ca {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 2px solid #000;
  padding-top: 8px;
}

.ca__label {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  color: #000;
  text-transform: lowercase;
}

.ca__value {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #000;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.ca__value:active { opacity: 0.6; }

.caption__links {
  margin-top: 8px;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  text-transform: lowercase;
}

.caption__links a {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #000;
}

.caption__links .sep {
  margin: 0 6px;
  color: #000;
}

.canary {
  position: fixed;
  right: 14px;
  bottom: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #fff;
  opacity: 0.7;
  letter-spacing: 0.04em;
  pointer-events: none;
}

@media (max-width: 480px) {
  .caption {
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}
