/* thanks.css — the end-of-flow thank-you panel: the thanks line + art, a small per-order status line (host tokens, so it
   reads in dark and light), and the feesh.fish Agentic Quaig awakening meter (recreated faithfully, dark-locked in its own
   card). No third-party requests. Reduced motion respected. See thanks.mjs for the data rules. */

.aq-thanks { margin: 14px 0 2px; }

.aq-thanks-head { display: flex; align-items: center; gap: 10px; }
.aq-thanks-art {
  flex: none; width: 34px; height: 34px; display: block;
  image-rendering: pixelated;                 /* 40x40 pixel stencil — keep the edges crisp */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
}
.aq-thanks-line {
  margin: 0; color: var(--ink);
  font: 700 15px/1.2 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ---- the buyer's OWN order (the only part about their piece) ---- */
.aq-order {
  margin-top: 12px; padding: 11px 12px 10px;
  border: 1px dashed var(--line); border-radius: 10px; background: var(--gold-bg);
}
.aq-order.is-complete { border-style: solid; border-color: var(--hot-line); }
.aq-order.is-halted { background: transparent; }
.aq-order-kicker {
  margin: 0; color: var(--dim);
  font: 600 11px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.aq-order-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 7px 0 5px; }
.aq-order-label { color: var(--ink); font: 600 13px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.aq-order-pct { color: var(--hot); font: 400 15px/1 "Share Tech Mono", ui-monospace, Consolas, monospace; }
.aq-order.is-complete .aq-order-pct { color: var(--ok); }
.aq-order-bar { position: relative; height: 10px; border-radius: 999px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.aq-order-fill {
  display: block; height: 100%; min-width: 10px; border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--hot) 86%, #fff) 0%, var(--hot) 60%, var(--hot-line) 100%);
  transition: width .6s cubic-bezier(.22, .61, .36, 1);
}
.aq-order.is-complete .aq-order-fill { background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 82%, #fff) 0%, var(--ok) 100%); }
.aq-order-status { margin: 7px 0 0; color: var(--ink); font: 600 14px/1.3 "Barlow", "Helvetica Neue", Arial, sans-serif; }
.aq-order-note { margin: 7px 0 0; color: var(--dim); font-size: 13px; line-height: 1.35; }

/* ---- the Agentic Quaig awakening meter (collective, from feesh.fish — dark-locked card) ---- */
.aq-awk {
  --awk-accent: #ff5a35; --awk-text: #ededea; --awk-muted: #9a9a94;
  --awk-track: #0f1013; --awk-panel: #121316; --awk-line: rgba(255, 255, 255, .12);
  margin-top: 12px; padding: 14px 14px 13px; border-radius: 10px;
  background: var(--awk-panel); border: 1px solid var(--awk-line); color: var(--awk-text);
}
.aq-awk-kicker { margin: 0; color: var(--awk-muted); font: 400 13px/1.3 "Barlow", "Helvetica Neue", Arial, sans-serif; }
.aq-awk-count { margin: 8px 0 0; line-height: 1; }
.aq-awk-n { font: 800 40px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--awk-text); }
.aq-awk-of { font: 400 18px/1 "Barlow", sans-serif; color: var(--awk-muted); }
.aq-awk-label { margin: 6px 0 0; color: var(--awk-muted); font-size: 13px; }
.aq-awk-pct { color: var(--awk-accent); font-weight: 700; }

.aq-awk-barwrap { margin-top: 12px; padding-top: 4px; }
.aq-awk-bar {
  position: relative; height: 10px; border-radius: 2px;
  background: var(--awk-track); box-shadow: inset 0 0 0 1px var(--awk-line); overflow: visible;
}
.aq-awk-fill {
  display: block; height: 100%; border-radius: 2px; background: var(--awk-accent);
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}
.aq-awk-tick {
  position: absolute; top: -3px; width: 2px; height: 16px; margin-left: -1px;
  background: var(--awk-muted); opacity: .6;
}
.aq-awk-tick.is-reached { background: var(--awk-accent); opacity: 1; }

.aq-awk-marks { display: flex; justify-content: space-between; gap: 4px; margin-top: 7px; }
.aq-awk-mark { color: var(--awk-muted); font-size: 11px; line-height: 1.2; white-space: nowrap; }
.aq-awk-mark:first-child { text-align: left; }
.aq-awk-mark:last-child { text-align: right; }
.aq-awk-mark.is-reached { color: var(--awk-accent); font-weight: 700; }

.aq-awk-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 13px; }
.aq-awk-stat { display: flex; flex-direction: column; gap: 2px; }
.aq-awk-stat-n { font: 800 18px/1 "Barlow Condensed", "Arial Narrow", sans-serif; color: var(--awk-text); font-variant-numeric: tabular-nums; }
.aq-awk-stat-cap { font-size: 11px; color: var(--awk-muted); }

.aq-awk.is-complete { border-color: var(--awk-accent); }
.aq-awk.is-complete .aq-awk-kicker { color: var(--awk-accent); font-weight: 600; }

@media (max-width: 420px) {
  .aq-awk-n { font-size: 34px; }
  .aq-awk-mark { font-size: 10px; }
  .aq-awk-stats { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .aq-order-fill, .aq-awk-fill { transition: none; }
}
