:root {
  --ink: #1c1a17;
  --soft: #6a6258;
  --card: rgba(250, 247, 241, 0.92);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #b9ad9b; color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
#stage { position: fixed; inset: 0; cursor: grab; touch-action: none; }
#stage canvas { display: block; width: 100%; height: 100%; }
body.grabbing #stage { cursor: grabbing; }

.quote {
  margin: 2px 0 8px; font-size: 18px; line-height: 1.32; font-style: italic; color: var(--ink);
  max-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s ease, max-height .35s ease;
}
.quote.show { max-height: 200px; opacity: 1; }

.hint { position: fixed; font-size: 15px; font-style: italic; color: var(--soft); pointer-events: none; transition: opacity .6s ease; white-space: nowrap; }
.hint.gone { opacity: 0; }

.placard {
  position: fixed; left: 28px; bottom: 28px; width: 280px; padding: 16px 18px 14px; background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .08); display: flex; flex-direction: column; gap: 4px;
}
.placard .title { font-size: 22px; font-weight: 500; line-height: 1.1; }
.placard .meta { font-size: 14px; color: var(--soft); font-style: italic; line-height: 1.3; }
.placard .price { font-size: 20px; margin: 4px 0 8px; }
.placard button {
  font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; cursor: pointer;
  background: var(--ink); color: #faf7f1; border: 0; border-radius: 0;
}
.placard button:hover:not(:disabled) { background: #000; }
.placard button:disabled { opacity: .45; cursor: default; }
.fine { font-size: 12px; color: var(--soft); text-align: center; letter-spacing: .04em; }
.fine[hidden] { display: none; }
.collect { font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-align: center; margin-top: 4px; }
.collect[hidden] { display: none; }
.status { font-size: 14px; color: var(--soft); font-style: italic; line-height: 1.35; word-break: break-word; margin-top: 4px; }
.status:empty { display: none; }

.mute { position: fixed; right: 20px; bottom: 20px; background: none; border: 0; font: inherit; font-size: 14px; font-style: italic; color: var(--soft); cursor: pointer; padding: 6px; }

@media (max-width: 719px) {
  .placard { left: 16px; right: 16px; bottom: 16px; width: auto; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 14px; }
  .placard .title { font-size: 19px; }
  .placard .meta { display: none; }
  .placard .price { grid-column: 1; margin: 0; font-size: 17px; }
  .placard button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .quote, .fine, .status, .collect { grid-column: 1 / -1; }
  .quote { font-size: 16px; }
  .quote.show { margin-top: 8px; }
  .mute { top: auto; bottom: auto; right: 12px; top: 64px; }
  .hint { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .quote, .hint { transition: none; } }
