/* tokens (sampled off assets/avatar.png)
   paper: #eee7d9, the flat cream the lettering sits on
   ink: #14140f, the printed T-O-A-D
   marker: #3b912f, the hand-drawn E and the toad
   marker-light: #4c9f35, toad highlight
   type: Manrope (caption, plate), Inconsolata (ticker/CA, real case, copyable) -
   the word TOADE itself is already baked into the art, no display face needed here
   corner radius: 0 everywhere, this is a printed page, not a rounded card
   motion: one soft one-shot sheen crosses the art on load, like light catching wet marker ink. it never repeats
*/

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inconsolata";
  src: url("assets/fonts/inconsolata-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inconsolata";
  src: url("assets/fonts/inconsolata-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: #eee7d9;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2.5vh 4vw;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  color: #14140f;
}

.sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
}

.art {
  position: relative;
  width: min(74vw, 60vh);
  overflow: hidden;
}

.word {
  display: block;
  width: 100%;
  height: auto;
}

.sheen {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: sheen-pass 1.1s ease-out 0.4s 1 both;
}

@keyframes sheen-pass {
  from { left: -60%; }
  to { left: 130%; }
}

.caption {
  margin: 2.6vh 0 0;
  max-width: 30rem;
  font-size: clamp(12px, 1.9vw, 14px);
  line-height: 1.5;
  text-align: center;
  color: #5c5646;
}

.plate {
  margin-top: 2.2vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 14px;
  background: #f6f1e6;
  border: 1px solid #d8cfb8;
  min-width: min(84vw, 360px);
}

.plate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tk {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3b912f;
}

.ca {
  appearance: none;
  border: 1px dashed #b9ac86;
  background: transparent;
  font-family: "Inconsolata", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: clamp(11px, 1.7vw, 13px);
  color: #14140f;
  padding: 4px 7px;
  cursor: pointer;
  word-break: break-all;
  text-align: right;
}
.ca:hover { border-color: #3b912f; color: #3b912f; }

.status {
  padding-top: 4px;
  border-top: 1px solid #d8cfb8;
}

.status-label {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #3b912f;
  text-transform: uppercase;
}

.status-time {
  font-family: "Inconsolata", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a8266;
}

.links {
  margin-top: 1.8vh;
  display: flex;
  gap: 1.8em;
}
.links a {
  font-family: "Inconsolata", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8a8266;
  text-decoration: none;
}
.links a:hover { color: #14140f; }

@media (prefers-reduced-motion: reduce) {
  .sheen { animation: none; display: none; }
}

@media (max-width: 480px) {
  .art { width: min(86vw, 50vh); }
  .plate { margin-top: 2vh; padding: 8px 11px; }
  .caption { margin-top: 2vh; }
}

@media (max-height: 620px) {
  .caption { margin-top: 1.6vh; }
  .links { margin-top: 1vh; }
}
