/* Track & Quack: shared styles for the hand-built pages (duck page, order forms).
   The homepage (index.html) is exported from the Claude Design canvas and carries its own inline styles;
   the brand bits here match it. Colors: duck #FFD23F, navy #14213D, cream #FFF6DA, paper #FFFDF5,
   orange #FF7A1A, focus blue #2F6FE4, water #5B97FF, sky #CFE4FF. */

:root {
  --duck: #FFD23F;
  --navy: #14213D;
  --cream: #FFF6DA;
  --paper: #FFFDF5;
  --orange: #FF7A1A;
  --focus: #2F6FE4;
  --water: #5B97FF;
  --sky: #CFE4FF;
  --muted: #4A5468;
  --display: 'Bagel Fat One', 'Cooper Black', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  min-width: 0;
}
a { color: var(--navy); }
a:hover { text-decoration-thickness: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 0.95; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1; }
p { margin: 0; text-wrap: pretty; }
.tq-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.tq-dots { background-image: radial-gradient(rgba(20,33,61,0.09) 2px, transparent 2.5px); background-size: 28px 28px; }
.tq-hidden { display: none !important; }
.tq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer (same as the homepage) */
.tq-header { background: var(--duck); border-bottom: 3px solid var(--navy); }
.tq-nav { max-width: 1240px; margin: 0 auto; padding: 18px var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.tq-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.tq-logo span { font-family: var(--display); font-size: 30px; line-height: 1; }
.tq-navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 700; font-size: 17px; }
.tq-navlinks a.tq-link { text-decoration: none; padding: 12px 0; }
.tq-footer { background: var(--navy); color: var(--cream); padding: 56px var(--pad); }
.tq-footer .tq-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 0; }
.tq-footer .tq-logo { color: var(--cream); }
.tq-footer .tq-logo span { font-size: 26px; }
.tq-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 700; font-size: 16px; }
.tq-footer nav a { color: var(--cream); text-decoration: none; padding: 12px 0; }
.tq-footer small { font-size: 15px; color: #D9D2BC; }

/* Buttons, pills, inputs */
.tq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 26px; border: 3px solid var(--navy); border-radius: 16px;
  background: var(--orange); color: var(--navy); box-shadow: 5px 5px 0 var(--navy);
  font-family: var(--body); font-weight: 800; font-size: 19px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tq-btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--navy); color: var(--navy); }
.tq-btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--navy); }
.tq-btn:focus-visible, .tq-link:focus-visible, .tq-pick:focus-within { outline: 4px solid var(--focus); outline-offset: 3px; }
.tq-btn--cream { background: var(--cream); }
.tq-btn--yellow { background: var(--duck); }
.tq-btn--small { height: 48px; padding: 0 20px; font-size: 17px; border-radius: 14px; box-shadow: 4px 4px 0 var(--navy); }
.tq-btn--big { height: 68px; padding: 0 32px; font-size: 21px; }
.tq-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.tq-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--navy); color: var(--cream); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.tq-pill--light { background: var(--cream); color: var(--navy); border: 3px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); padding: 8px 16px; font-size: 14px; letter-spacing: 0.1em; }
.tq-pill--yellow { background: var(--duck); color: var(--navy); border: 2px solid var(--navy); }
.tq-pill--blue { background: var(--water); color: var(--navy); border: 2px solid var(--navy); }
.tq-pill--orange { background: var(--orange); color: var(--navy); border: 2px solid var(--navy); }
.tq-label { display: block; font-weight: 800; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.tq-label small { display: block; font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 2px; }
.tq-input, .tq-select, .tq-textarea {
  width: 100%; height: 60px; padding: 0 18px; border: 3px solid var(--navy); border-radius: 16px; background: var(--paper);
  font-family: var(--body); font-weight: 700; font-size: 18px; color: var(--navy);
}
.tq-textarea { height: auto; min-height: 96px; padding: 14px 18px; resize: vertical; }
.tq-input::placeholder, .tq-textarea::placeholder { color: #5B6478; font-weight: 500; }
.tq-input:focus, .tq-select:focus, .tq-textarea:focus { outline: 4px solid var(--focus); outline-offset: 2px; }
.tq-input--mono { font-family: var(--mono); font-size: 22px; letter-spacing: 0.06em; height: 64px; }
.tq-input[aria-invalid="true"] { border-color: #C8102E; box-shadow: 0 0 0 3px rgba(200,16,46,0.18); }
.tq-error { display: none; margin-top: 8px; font-weight: 700; font-size: 16px; color: #C8102E; }
.tq-error.is-on { display: block; }
.tq-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px; }
.tq-field { display: flex; flex-direction: column; min-width: 0; }
.tq-grid { display: grid; gap: 18px 20px; }
.tq-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.tq-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.tq-shake { animation: tq-shake .35s ease; }
@keyframes tq-shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }

/* Cards and sections */
.tq-card { background: var(--paper); color: var(--navy); border: 3px solid var(--navy); border-radius: 28px; box-shadow: 8px 8px 0 var(--navy); padding: clamp(22px, 3.5vw, 40px); }
.tq-section--navy .tq-card h2, .tq-section--navy .tq-card h3 { color: var(--navy); }
.tq-section--navy .tq-card .tq-eyebrow { color: var(--navy); }
.tq-card--flat { box-shadow: none; }
.tq-card--yellow { background: var(--duck); }
.tq-card--sky { background: var(--sky); }
.tq-section { padding: clamp(56px, 8vw, 112px) 0; }
.tq-section--hero { background: var(--duck); border-bottom: 3px solid var(--navy); padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.tq-section--navy { background: var(--navy); color: var(--cream); }
.tq-section--navy h2 { color: var(--cream); }
.tq-eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.tq-section--navy .tq-eyebrow { color: var(--duck); }
.tq-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.tq-crumbs a { text-underline-offset: 4px; }
.tq-crumbs span[aria-hidden] { opacity: .5; }
.tq-stack { display: flex; flex-direction: column; gap: 20px; }
.tq-lede { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; max-width: 60ch; }
.tq-mono { font-family: var(--mono); font-weight: 700; letter-spacing: 0.06em; }
.tq-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border: 3px dashed var(--navy); border-radius: 16px; background: rgba(255,253,245,0.7); font-weight: 500; font-size: 16px; }
.tq-note strong { font-weight: 800; }
.tq-note svg { flex: 0 0 auto; margin-top: 2px; }

/* Trail */
.tq-trail { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.tq-trail li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 2px dashed rgba(20,33,61,0.3); }
.tq-trail li:first-child { border-top: 0; padding-top: 0; }
.tq-trail li:last-child { padding-bottom: 0; }
.tq-trail .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--orange); border: 3px solid var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.tq-trail .body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.tq-trail .place { font-size: 21px; font-weight: 800; }
.tq-trail .detail { font-size: 17px; font-weight: 500; }
.tq-trail .meta { font-size: 15px; font-weight: 500; color: var(--muted); }
.tq-trail li.is-new { animation: tq-pop .45s ease; }
@keyframes tq-pop { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* Pickers: duck and vibe choices rendered as radio cards */
.tq-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(124px, 100%), 1fr)); gap: 14px; }
.tq-pick { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 3px solid var(--navy); border-radius: 18px; background: var(--paper); cursor: pointer; box-shadow: 4px 4px 0 var(--navy); transition: transform .12s ease, box-shadow .12s ease; }
.tq-pick:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--navy); }
.tq-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tq-pick .art { aspect-ratio: 4 / 5; border: 2px solid var(--navy); border-radius: 12px; background: var(--water); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.tq-pick .art svg { width: 100%; height: 100%; display: block; }
.tq-pick .name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.tq-pick .num { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.tq-pick:has(input:checked) { background: var(--duck); }
.tq-pick:has(input:checked)::after { content: ""; position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD23F' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.tq-vibes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(124px, 100%), 1fr)); gap: 12px; }
.tq-vibe { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 10px 12px; border: 3px solid var(--navy); border-radius: 16px; background: var(--paper); cursor: pointer; box-shadow: 4px 4px 0 var(--navy); }
.tq-vibe input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tq-vibe .sample { font-size: 30px; line-height: 1; }
.tq-vibe .lab { font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tq-vibe:has(input:checked) { background: var(--duck); }
.tq-vibe:has(input:checked) .lab { color: var(--navy); }

/* Photo drop zone (license-only order) */
.tq-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 220px; padding: 24px; border: 3px dashed var(--navy); border-radius: 20px; background: var(--paper); text-align: center; cursor: pointer; position: relative; }
.tq-drop.is-over { background: var(--sky); }
.tq-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tq-drop img { max-height: 220px; border-radius: 12px; border: 3px solid var(--navy); }
.tq-drop .hint { font-weight: 500; font-size: 15px; color: var(--muted); max-width: 36ch; }

/* Order layout */
.tq-order { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.tq-order__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 960px) { .tq-order { grid-template-columns: 1fr; } .tq-order__side { display: contents; } .tq-order__side > :first-child { order: -1; } }
.tq-step { display: flex; flex-direction: column; gap: 22px; }
.tq-step__head { display: flex; align-items: center; gap: 16px; }
.tq-step__num { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--cream); border: 3px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 24px; }
.tq-summary { display: flex; flex-direction: column; gap: 10px; font-weight: 500; font-size: 17px; }
.tq-summary div { display: flex; justify-content: space-between; gap: 16px; }
.tq-summary .total { border-top: 2px dashed rgba(20,33,61,0.3); padding-top: 12px; margin-top: 4px; font-weight: 800; font-size: 24px; }
.tq-price { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.tq-qty { display: inline-flex; align-items: center; border: 3px solid var(--navy); border-radius: 16px; background: var(--paper); overflow: hidden; }
.tq-qty button { width: 52px; height: 56px; border: 0; background: var(--cream); font-family: var(--body); font-weight: 800; font-size: 24px; color: var(--navy); cursor: pointer; }
.tq-qty button:hover { background: var(--duck); }
.tq-qty input { width: 64px; height: 56px; border: 0; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--navy); background: var(--paper); }
.tq-qty input:focus { outline: none; }

/* Toast */
.tq-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50; max-width: min(92vw, 560px); padding: 14px 20px; border: 3px solid var(--navy); border-radius: 16px; background: var(--duck); box-shadow: 5px 5px 0 var(--navy); font-weight: 700; font-size: 16px; transition: transform .2s ease, opacity .2s ease; }
.tq-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* The license card. The template is drawn at 972 x 612 (3x of a CR80 card at 96 dpi); every size below is
   template px / 972 of the card's width, so the card scales with its container. */
.tq-lic-wrap { container-type: inline-size; width: 100%; }
.tq-lic {
  --u: calc(100cqw / 972);
  position: relative; width: 100%; aspect-ratio: 972 / 612; overflow: hidden;
  background: var(--paper); border: calc(3 * var(--u)) solid var(--navy); border-radius: calc(36 * var(--u));
  font-family: var(--body); color: var(--navy); font-weight: 700; line-height: 1.2;
  box-shadow: calc(10 * var(--u)) calc(10 * var(--u)) 0 var(--navy);
}
.tq-lic--flat { box-shadow: none; }
.tq-lic .lab { font-size: calc(18 * var(--u)); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tq-lic .val { font-size: calc(24 * var(--u)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tq-lic .waves { position: absolute; left: 0; top: calc(108 * var(--u)); width: 100%; height: calc(448 * var(--u)); opacity: .55; }
.tq-lic .band { position: absolute; left: 0; top: 0; width: 100%; height: calc(105 * var(--u)); background: var(--duck); border-bottom: calc(3 * var(--u)) solid var(--navy); display: flex; align-items: center; gap: calc(22 * var(--u)); padding: 0 calc(30 * var(--u)); }
.tq-lic .band svg { width: calc(76 * var(--u)); height: calc(84 * var(--u)); flex: 0 0 auto; }
.tq-lic .band .t1 { font-size: calc(15 * var(--u)); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.tq-lic .band .t2 { font-family: var(--display); font-size: calc(36 * var(--u)); line-height: .95; letter-spacing: 0.01em; font-weight: 400; }
.tq-lic .band .t3 { font-size: calc(15 * var(--u)); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; }
.tq-lic .band > div { display: flex; flex-direction: column; gap: calc(4 * var(--u)); }
.tq-lic .stamp { position: absolute; left: calc(798 * var(--u)); top: calc(26 * var(--u)); width: calc(150 * var(--u)); height: calc(150 * var(--u)); transform: rotate(-12deg); opacity: .9; mix-blend-mode: multiply; }
.tq-lic .photo { position: absolute; left: calc(30 * var(--u)); top: calc(130 * var(--u)); width: calc(252 * var(--u)); height: calc(315 * var(--u)); background: var(--water); border: calc(4 * var(--u)) solid var(--navy); border-radius: calc(18 * var(--u)); overflow: hidden; }
.tq-lic .photo img, .tq-lic .photo svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.tq-lic .photo .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10%; background: var(--cream); border: calc(3 * var(--u)) dashed var(--navy); border-radius: calc(14 * var(--u)); margin: calc(10 * var(--u)); font-size: calc(18 * var(--u)); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.25; }
.tq-lic .class { position: absolute; left: calc(30 * var(--u)); top: calc(456 * var(--u)); width: calc(252 * var(--u)); display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.tq-lic .class div { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(18 * var(--u)); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.tq-lic .class .tag { background: var(--navy); color: var(--paper); padding: calc(3 * var(--u)) calc(9 * var(--u)); border-radius: calc(6 * var(--u)); }
.tq-lic .class .donor { color: #C8102E; }
.tq-lic .class .donor svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.tq-lic .num { position: absolute; left: calc(312 * var(--u)); top: calc(128 * var(--u)); width: calc(630 * var(--u)); height: calc(52 * var(--u)); display: flex; align-items: baseline; gap: calc(14 * var(--u)); }
.tq-lic .num .v { font-family: var(--mono); font-weight: 700; font-size: calc(44 * var(--u)); line-height: 1; background: var(--duck); padding: calc(2 * var(--u)) calc(12 * var(--u)) calc(4 * var(--u)); border-radius: calc(10 * var(--u)); letter-spacing: 0.02em; }
.tq-lic .name { position: absolute; left: calc(312 * var(--u)); top: calc(188 * var(--u)); width: calc(630 * var(--u)); height: calc(58 * var(--u)); display: flex; align-items: baseline; gap: calc(14 * var(--u)); white-space: nowrap; }
.tq-lic .name .v { font-family: var(--display); font-weight: 400; line-height: 1; font-size: calc(var(--name-size, 48) * var(--u)); overflow: hidden; text-overflow: ellipsis; }
.tq-lic .row { position: absolute; left: calc(312 * var(--u)); width: calc(630 * var(--u)); display: grid; gap: calc(10 * var(--u)); }
.tq-lic .row > div { display: flex; flex-direction: column; gap: calc(4 * var(--u)); min-width: 0; }
.tq-lic .row1 { top: calc(256 * var(--u)); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tq-lic .row2 { top: calc(316 * var(--u)); grid-template-columns: 90fr 130fr 230fr 170fr; }
.tq-lic .row3 { top: calc(376 * var(--u)); grid-template-columns: 230fr 190fr 190fr; }
.tq-lic .never { color: var(--orange); font-weight: 800; }
.tq-lic .sig { position: absolute; left: calc(312 * var(--u)); top: calc(436 * var(--u)); width: calc(630 * var(--u)); height: calc(110 * var(--u)); border-top: calc(2 * var(--u)) dashed var(--navy); padding-top: calc(6 * var(--u)); }
.tq-lic .sig .hand { position: absolute; left: calc(40 * var(--u)); right: calc(40 * var(--u)); top: calc(8 * var(--u)); bottom: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; font-weight: 400; }
.tq-lic .sig .fl { position: absolute; left: calc(150 * var(--u)); bottom: calc(2 * var(--u)); width: calc(330 * var(--u)); height: calc(44 * var(--u)); }
.tq-lic .sig .d1 { position: absolute; right: calc(18 * var(--u)); top: calc(10 * var(--u)); width: calc(34 * var(--u)); height: calc(34 * var(--u)); transform: rotate(14deg); }
.tq-lic .sig .d2 { position: absolute; left: calc(110 * var(--u)); bottom: calc(10 * var(--u)); width: calc(30 * var(--u)); height: calc(30 * var(--u)); transform: rotate(-10deg); }
.tq-lic .foot { position: absolute; left: 0; top: calc(556 * var(--u)); width: 100%; height: calc(50 * var(--u)); background: var(--navy); color: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(30 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.tq-lic .foot .fine { opacity: .8; font-weight: 700; letter-spacing: 0.04em; text-transform: none; }
.tq-lic .foot .url { color: var(--duck); font-size: calc(22 * var(--u)); letter-spacing: 0.02em; text-transform: none; }

/* Mini license (the small card used on the homepage), for pickers and summaries */
.tq-mini { width: 100%; max-width: 290px; background: var(--paper); border: 3px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 var(--navy); overflow: hidden; display: flex; flex-direction: column; }
.tq-mini .head { background: var(--navy); color: var(--cream); padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.tq-mini .head b { color: var(--duck); font-weight: 800; }
.tq-mini .body { display: flex; gap: 14px; padding: 14px; }
.tq-mini .art { flex: 0 0 68px; height: 80px; border: 2px solid var(--navy); border-radius: 8px; background: var(--water); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.tq-mini .art svg, .tq-mini .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tq-mini .cols { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tq-mini .cols .lab { font-weight: 800; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; }
.tq-mini .cols .n { font-weight: 800; font-size: 16px; line-height: 1.2; }
.tq-mini .cols .num { font-family: var(--mono); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; line-height: 1.2; }
.tq-mini .foot { border-top: 2px dashed rgba(20,33,61,0.3); padding: 7px 14px; font-weight: 700; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .tq-btn, .tq-pick, .tq-toast { transition: none; }
  .tq-shake, .tq-trail li.is-new { animation: none; }
}
