/* Foresight — light paper shop. Motion: transform + opacity only. */
:root {
  --paper: #faf7f2;
  --paper-2: #f2ede6;
  --ink: #1a1612;
  --mute: #6e675f;
  --line: rgba(26, 22, 18, 0.12);
  --rust: #c45c26;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Plex Sans", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 1.25rem 1.25rem 4rem;
  max-width: 1080px;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, p, ol {
  margin: 0;
}

code {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(26, 22, 18, 0.06);
  padding: 0.05em 0.3em;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  border-radius: var(--r);
  z-index: 80;
}

.skip:focus {
  top: 0.75rem;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Mast */
.mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.75rem 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.mast--shop {
  position: sticky;
  top: 0;
  z-index: 40;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: -1.25rem -1.25rem 0;
  padding: 1.25rem 1.25rem 0.9rem;
  background: var(--paper);
}

.mast--shop .wordmark {
  grid-column: 1;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
}

.mast--shop .live-sale {
  grid-column: 1 / -1;
  margin-top: -0.15rem;
}

.mast--shop .mast-actions {
  grid-column: 2;
  grid-row: 1;
}

.wordmark {
  font-family: Fraunces, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mast-note {
  color: var(--mute);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mast-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
}

.chip[data-state="live"] {
  color: var(--ink);
  border-color: var(--rust);
}

.chip[data-state="polyfill"] {
  color: var(--ink);
  border-color: var(--rust);
}

.chip[data-cloud="live"] {
  border-color: var(--rust);
}

.cart-btn,
.text-btn,
.copy-btn,
.buy,
.add {
  background: none;
  border: 0;
  border-radius: var(--r);
}

.text-btn {
  color: var(--mute);
  padding: 0.45rem 0.2rem;
  min-height: 44px;
}

.text-btn:hover,
.text-btn:focus-visible {
  color: var(--ink);
}

.cart-btn {
  position: relative;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  min-height: 44px;
  min-width: 44px;
}

.cart-btn.cart-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0;
  padding: 0.35rem 0.15rem 0.35rem 0.45rem;
  min-width: auto;
}

.cart-icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.cart-btn:hover,
.cart-btn:focus-visible {
  border-color: rgba(26, 22, 18, 0.28);
}

.cart-btn.cart-fab:hover .cart-icon,
.cart-btn.cart-fab:focus-visible .cart-icon {
  color: var(--rust);
}

.cart-count,
.badge {
  display: inline-block;
  margin-left: 0.1rem;
  min-width: 1.5rem;
  padding: 0;
  font-family: Fraunces, "Times New Roman", serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--rust);
  transform: scale(1);
  transition: transform 200ms var(--ease);
}

.cart-count.is-tick,
.badge.is-tick {
  transform: scale(1.14);
}

/* Pass to agent */
.pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem 1.75rem;
  align-items: center;
  padding: 1rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.pass-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.35rem;
}

.pass-lede {
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 38rem;
}

.pass-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
}

a.pass-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pass-qr {
  margin: 0;
  padding: 0.45rem 0.45rem 0.35rem;
  background: #1a1612;
  border-radius: var(--r);
}

.pass-qr img {
  width: 124px;
  height: 124px;
}

.pass-qr figcaption {
  color: #faf7f2;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.3rem;
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

.pass-page .pass-main {
  max-width: 34rem;
}

.pass-page .tagline {
  padding-top: 1.1rem;
}

.pass-open-label {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.pass-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-top: 0.45rem;
}

.pass-apps a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 0.05rem;
}

.pass-apps a:hover,
.pass-apps a:focus-visible {
  color: var(--rust);
}

.pass-prompt {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--mute);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow: auto;
  max-height: 14rem;
}

.pass-back {
  margin-top: 1.5rem;
}

.pass-back a {
  color: var(--mute);
  text-decoration: none;
}

.pass-back a:hover,
.pass-back a:focus-visible {
  color: var(--ink);
}

.tagline {
  font-family: Fraunces, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding: 1.6rem 0 1.15rem;
}

/* Shelf */
.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.shelf .card:first-child {
  box-shadow: inset 2px 0 0 var(--rust);
}

.card {
  position: relative;
  background: var(--paper);
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transform: scale(1);
  opacity: 1;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  box-shadow: 0 1px 3px rgba(26, 22, 18, 0.04);
}

.card.is-hot,
.card.is-hit {
  z-index: 3;
}

@property --hit-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.hit-ring {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  padding: 2px;
  background: conic-gradient(
    from var(--hit-a),
    #c45c26 0deg,
    #8b3e1a 48deg,
    #e08a3c 110deg,
    #c45c26 180deg,
    #d47841 260deg,
    #c45c26 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card.is-hit {
  box-shadow:
    0 0 0 1px rgba(196, 92, 38, 0.95),
    0 0 18px rgba(196, 92, 38, 0.4),
    0 0 42px rgba(196, 92, 38, 0.18);
  animation: hit-lift 1.35s var(--ease);
}

.card.is-hit .hit-ring {
  animation: hit-spin 0.8s linear 2, hit-fade 1.45s var(--ease) forwards;
}

@keyframes hit-spin {
  to { --hit-a: 360deg; }
}

@keyframes hit-fade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hit-lift {
  0%, 100% { transform: scale(1); }
  16% { transform: scale(1.018); }
}

.card.is-sold {
  opacity: 0.72;
}

.card.is-arriving .mark {
  animation: arrive 1.6s var(--ease) infinite;
}

.ribbon {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--rust);
  padding: 0.18rem 0.4rem;
  border-radius: 4px;
}

.name {
  font-family: Fraunces, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-top: 0.85rem;
}

.flavor {
  color: var(--mute);
  font-size: 0.84rem;
  margin-top: 0.35rem;
  flex: 1;
}

.price {
  margin-top: 0.85rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 1.05rem;
}

.pips {
  display: flex;
  gap: 4px;
  margin-top: 0.55rem;
}

.pip {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: rgba(26, 22, 18, 0.14);
}

.pip.is-on {
  background: var(--rust);
}

.stock {
  margin-top: 0.45rem;
  color: var(--mute);
  font-size: 0.8rem;
}

.stock .count {
  display: inline-block;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 1.05rem;
  transform-origin: center bottom;
}

.stock .count.is-pop {
  animation: stock-pop 720ms cubic-bezier(0.16, 1.12, 0.32, 1);
}

@keyframes stock-pop {
  0% { transform: scale(1); color: var(--ink); }
  22% { transform: scale(1.9); color: #1a1612; }
  100% { transform: scale(1); color: var(--ink); }
}

.acts {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
}

.buy {
  background: var(--rust);
  color: var(--ink);
  border: 1px solid transparent;
  padding: 0.55rem 0.9rem;
  min-height: 44px;
  min-width: 44px;
}

.buy:hover,
.buy:focus-visible {
  filter: brightness(1.08);
}

.buy:disabled {
  background: transparent;
  color: var(--mute);
  border-color: var(--line);
  cursor: not-allowed;
  filter: none;
}

.add {
  color: var(--mute);
  padding: 0.55rem 0.2rem;
  min-height: 44px;
}

.add:hover,
.add:focus-visible {
  color: var(--ink);
}

.eta {
  margin-top: 0.55rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  color: var(--mute);
  background: var(--paper);
}

/* Product art — flush photo, no well, natural height */
.product-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 0.55rem;
  padding: 0;
  background: transparent;
  border-radius: 6px;
}

.card:has(.product-art) .mark {
  display: none;
}

.card:has(.product-art) {
  padding-top: 0.75rem;
}

/* Marks — CSS geometry, one per SKU */
.mark {
  width: 44px;
  height: 44px;
  position: relative;
  color: var(--ink);
}

.mark-signal-mug {
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 10px 10px;
  width: 28px;
  height: 32px;
  margin-top: 6px;
}
.mark-signal-mug::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 8px;
  width: 8px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}
.mark-signal-mug::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 4px;
  height: 2px;
  background: var(--rust);
}

.mark-threshold-lamp {
  width: 28px;
}
.mark-threshold-lamp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 22px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
}
.mark-threshold-lamp::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 2px;
  height: 18px;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow: 0 18px 0 3px currentColor;
}

.mark-field-ledger {
  width: 30px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.mark-field-ledger::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.mark-day-tote {
  width: 36px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 0 0 6px 6px;
  margin-top: 12px;
}
.mark-day-tote::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: -12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.mark-wick-hour {
  width: 22px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 0 0 11px 11px;
  margin-top: 10px;
}
.mark-wick-hour::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 5px;
  height: 8px;
  border: 1.5px solid var(--rust);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  transform: translateX(-50%);
}

.mark-table-deck {
  width: 30px;
  height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  transform: rotate(-8deg);
}
.mark-table-deck::after {
  content: "";
  position: absolute;
  inset: -3px -3px 3px 3px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.55;
}

.mark-window-fern {
  width: 36px;
}
.mark-window-fern::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-top: 0;
  transform: translateX(-50%);
}
.mark-window-fern::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 2px;
  height: 14px;
  background: currentColor;
  transform: translateX(-50%);
  box-shadow:
    -8px -8px 0 -5px currentColor,
    8px -8px 0 -5px currentColor,
    -4px -16px 0 -5px currentColor,
    4px -16px 0 -5px currentColor;
}

.mark-shelf-weight {
  width: 36px;
  height: 18px;
  background: currentColor;
  border-radius: 2px;
  margin-top: 18px;
}
.mark-shelf-weight::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -8px;
  height: 8px;
  background: var(--rust);
  border-radius: 1px 1px 0 0;
}

@keyframes arrive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

/* Fold */
.fold {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  color: var(--mute);
}

.fold summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.fold-body {
  max-width: 42rem;
  padding: 0.3rem 0 1rem;
}

.fold-body p + p {
  margin-top: 0.7rem;
}

.mcp-form {
  margin-top: 1rem;
}

.mcp-form .buy {
  background: transparent;
  color: var(--mute);
  border: 1px solid var(--line);
}

.mcp-form .buy:hover,
.mcp-form .buy:focus-visible {
  color: var(--ink);
  border-color: rgba(26, 22, 18, 0.28);
  filter: none;
}

form:tool-form-active {
  outline: 1px dashed var(--rust);
  outline-offset: 4px;
}

/* Bag popover */
.bag-panel {
  position: fixed;
  right: 1.25rem;
  top: 4.2rem;
  width: min(320px, calc(100vw - 2rem));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem;
  z-index: 30;
  box-shadow: 0 4px 24px rgba(26, 22, 18, 0.08);
}

.bag-title {
  font-family: Fraunces, serif;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.bag-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--line);
}

.bag-line em {
  font-style: normal;
  color: var(--mute);
}

.empty-bag,
.bag-receipt {
  color: var(--mute);
  font-size: 0.85rem;
}

.bag-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.bag-total {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.bag-receipt {
  margin-top: 0.75rem;
}

/* Agent panel */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.35);
  z-index: 40;
  opacity: 1;
}

.agent-panel {
  position: fixed;
  z-index: 50;
  background: var(--paper-2);
  border: 1px solid var(--line);
  flex-direction: column;
  padding: 1rem 1.05rem 1.15rem;
  box-shadow: -2px 0 24px rgba(26, 22, 18, 0.08);
}

.agent-panel:not([hidden]) {
  display: flex;
}

.agent-panel[hidden],
.backdrop[hidden] {
  display: none !important;
}

.agent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.agent-head h2 {
  font-family: Fraunces, serif;
  font-weight: 500;
  font-size: 1.2rem;
}

.agent-lede {
  color: var(--mute);
  margin: 0.45rem 0 0.8rem;
  font-size: 0.88rem;
}

.copy-btn {
  align-self: flex-start;
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  color: var(--ink);
}

.copy-btn:hover,
.copy-btn:focus-visible {
  border-color: rgba(26, 22, 18, 0.28);
}

.agent-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.agent-form input {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  outline: none;
}

.agent-form input:focus {
  border-color: rgba(196, 92, 38, 0.7);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.08);
}

.agent-hint {
  color: var(--mute);
  font-size: 0.75rem;
  margin-top: 0.45rem;
}

.agent-log {
  margin-top: 0.9rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.log-empty {
  color: var(--mute);
  font-size: 0.82rem;
}

.log-row {
  margin-bottom: 0.7rem;
}

.log-row header {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rust);
}

.log-row.is-err header {
  color: var(--mute);
}

.log-row pre {
  margin: 0.25rem 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--mute);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Toasts */
.toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--rust);
  border-radius: var(--r);
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(6px);
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  box-shadow: 0 4px 12px rgba(26, 22, 18, 0.1);
}

.toast.is-in {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-out {
  opacity: 0;
  transform: translateY(4px);
}

.toast-err {
  border-left-color: var(--mute);
}

.toast-ship {
  border-left-color: var(--ink);
}

body.agent-open {
  overflow: hidden;
}

/* Desktop drawer */
@media (min-width: 721px) {
  .agent-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 100%);
    border-radius: 0;
    transform: translateX(0);
  }
}

/* Mobile: stack shelf, bottom sheet */
@media (max-width: 920px) {
  .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pass {
    grid-template-columns: 1fr;
  }
  .pass-qr {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body {
    padding: 1rem 1rem 5rem;
  }
  .mast {
    grid-template-columns: 1fr auto;
  }
  .mast-note {
    display: none;
  }
  .agent-panel {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 72vh;
    border-radius: 6px 6px 0 0;
    transform: translateY(0);
  }
  .agent-panel::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--line);
    border-radius: 2px;
    margin: 0 auto 0.7rem;
  }
  .toasts {
    bottom: 5.5rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}

@media (max-width: 430px) {
  .shelf {
    grid-template-columns: 1fr;
  }
  .pass {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .wordmark {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .card.is-hit {
    outline: 2px solid var(--rust);
    outline-offset: -2px;
    box-shadow: none;
    transform: none;
  }
  .card.is-hit .hit-ring {
    opacity: 1;
    background: var(--rust);
    padding: 2px;
  }
}

.live-sale {
  grid-column: 1 / -1;
  min-height: 1.25em;
  margin: 0.15rem 0 0;
  color: var(--rust);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.live-sale:empty { display: none; }
