/* 📡 /tracker and /tracker/live (views/_tracker_grid.php) */
.wrap:has(.trk) { max-width: 1400px; }
.trk { --trk-green: #15803d; }
.trk h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 8px 0 6px; }
.trk-lede { color: var(--muted); font-size: 17px; margin: 0 0 16px; max-width: 44em; }
.trk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.trk-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.trk-status b { color: var(--text); }
.trk-dot { width: 10px; height: 10px; border-radius: 50%; background: #e0a100; flex: none; margin-right: 4px; }
.trk-status.is-live .trk-dot { background: #22a35a; animation: trk-pulse 1.6s ease-out infinite; }
@keyframes trk-pulse { from { box-shadow: 0 0 0 0 rgba(34, 163, 90, .55); } to { box-shadow: 0 0 0 10px rgba(34, 163, 90, 0); } }

.trk-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.trk-scan { position: absolute; inset: 0 0 auto; height: 3px; display: none; background: linear-gradient(90deg, transparent, #22a35a, transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: trk-scan 3.2s linear infinite; }
.trk-card.is-live .trk-scan { display: block; }
@keyframes trk-scan { from { background-position: -60% 0; } to { background-position: 160% 0; } }

.trk-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 6px; }
.trk-table thead th { font-size: 14px; font-weight: 800; padding: 8px 4px; text-align: center; vertical-align: bottom; }
.trk-table thead th:first-child { width: 21%; }
.trk-table thead .sw-logo, .trk-store .sw-logo, .trk-recent .sw-logo { display: inline-block; width: 22px; height: 22px; border-radius: 6px; background: #fff; flex: none; object-fit: contain; }
.trk-table thead .sw-logo { display: block; margin: 0 auto 6px; }
.trk-table thead .sw-logo-emoji { display: grid; place-items: center; background: none; }
.trk-product { text-align: left; font-weight: 800; font-size: 15px; line-height: 1.25; padding: 6px; }
.trk-product { display: table-cell; vertical-align: middle; }
.trk-product img, .trk-noimg { display: block; width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-bottom: 6px; }
.trk-noimg { display: grid; place-items: center; color: #5b6b7a; font-size: 22px; }
.trk-hot { font-style: normal; font-size: 12px; white-space: nowrap; color: var(--accent); }

.trk-cell { height: 1px; padding: 0; border-radius: 14px; background: var(--surface-2); vertical-align: top; }
.trk-cell a { display: block; height: 100%; padding: 12px 8px; color: var(--text); text-decoration: none; border-radius: 14px; text-align: center; font-size: 13px; line-height: 1.3; }
.trk-cell a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.trk-cell a:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.trk-store { display: none; }
.trk-body { display: block; }
.trk-body b { display: block; font-weight: 750; }
.trk-kicker { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.trk-body small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.trk-msg { display: block; margin-bottom: 6px; padding: 5px 8px; border-radius: 10px; background: var(--text); color: var(--surface); font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; }
.trk-now .trk-msg { margin: 6px 0 0; background: #fff; color: #14532d; }
.trk-msgonly .trk-msg { margin: 0; }
.trk-empty-cell { background: none; text-align: center; color: var(--muted); vertical-align: middle; }
.trk-quip-in { display: block; padding: 12px 8px; font-size: 13px; font-style: italic; line-height: 1.3; }
.trk-none b, .trk-msgonly b { color: var(--muted); font-weight: 600; }
.trk-reseller { background: #fef3c7; }
.trk-reseller a, .trk-reseller b { color: #92400e; }
.trk-reseller small { color: #92400e; }
.trk-now { background: var(--trk-green); }
.trk-now a, .trk-now b, .trk-now small { color: #fff; }
.trk-now b { font-size: 16px; font-weight: 850; }
.trk-justout { background: #dcfce7; }
.trk-justout a, .trk-justout b, .trk-justout small { color: #166534; }
.trk-invite { background: #ecfccb; }
.trk-invite a, .trk-invite b, .trk-invite small { color: #3f6212; }
.trk-flash { animation: trk-flash 1.4s ease-out; }
@keyframes trk-flash { from { box-shadow: 0 0 0 3px #22a35a; } to { box-shadow: 0 0 0 3px rgba(34, 163, 90, 0); } }

.trk-recent { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 2px 0; padding: 0; font-size: 13px; color: var(--muted); }
.trk-recent li { display: flex; align-items: center; gap: 7px; min-width: 0; }
.trk-recent-label { font-weight: 800; color: var(--text); }
.trk-recent b { color: var(--text); font-weight: 700; }
.trk-feed { margin-top: 26px; }
.trk-feed h2 { font-size: 20px; margin: 0 0 10px; }
.trk-feed ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 10px; }
.trk-feed a { display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; }
.trk-feed a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.trk-feed a:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.trk-feed-img, .trk-feed .trk-noimg { width: 48px; height: 48px; flex: none; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); margin: 0; }
.trk-feed-main { flex: 1; min-width: 0; }
.trk-feed-main b { display: block; font-size: 15px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.trk-feed-meta { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.trk-feed-meta .sw-logo { width: 16px; height: 16px; border-radius: 4px; background: #fff; flex: none; object-fit: contain; }
.trk-feed-tag { flex: none; max-width: 40%; text-align: right; }
.trk-feed-tag b { display: block; font-size: 16px; font-weight: 850; white-space: nowrap; }
.trk-feed-tag small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.trk-feed-tag.is-drop b { color: var(--accent); }
.trk-feed-tag.is-in b { color: var(--trk-green); }
/* Two columns: Latest restocks (the watcher) and Price drop picks from our editors (a person's call, byline and face) */
.trk-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 26px 18px; margin-top: 26px; align-items: start; }
.trk-feeds .trk-feed { margin-top: 0; }
.trk-feeds .trk-feed ul { grid-template-columns: 1fr; }
.trk-feed a.trk-pick { flex-direction: column; align-items: stretch; gap: 9px; }
.trk-pick-top { display: flex; align-items: center; gap: 12px; }
.trk-pick-note { font-size: 14px; line-height: 1.45; }
.trk-pick-by { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.trk-pick-by b { color: var(--text); font-weight: 700; }
.trk-face { width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--line); color: var(--text); font-size: 12px; font-weight: 800; }
.trk-face-brand { box-sizing: border-box; padding: 5px; background: #fff; }
.trk-face-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.trk-pick-fine { margin: 8px 2px 0; font-size: 12px; color: var(--muted); }
.trk-feed-empty { margin: 0; padding: 14px 12px; border: 1px dashed var(--line); border-radius: 14px; font-size: 14px; color: var(--muted); }
.trk-note { margin: 14px 2px 0; font-size: 13px; color: var(--muted); }
.trk-empty { color: var(--muted); }

/* The share image: /tracker/card, photographed at 1600x900 by the watcher */
.trk-shot { margin: 0; width: 1600px; height: 900px; overflow: hidden; position: relative; background: var(--brand-navy); }
.trk-shot-bg { position: absolute; inset: 40px; filter: blur(7px); opacity: .32; pointer-events: none; }
.trk-shot-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-sizing: border-box; width: 660px; display: grid; justify-items: center; gap: 12px; padding: 30px 40px 26px; border-radius: 32px; background: var(--surface); box-shadow: 0 24px 80px rgba(0, 0, 0, .55); text-align: center; color: var(--text); }
.trk-shot-by { display: grid; justify-items: center; gap: 6px; margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--muted); }
.trk-shot-by span { display: flex; align-items: center; gap: 10px; }
.trk-shot-by img { display: block; height: 44px; width: auto; }
.trk-shot-by time { color: var(--text); font-size: 20px; font-weight: 800; }
.trk-shot-photo { display: grid; place-items: center; box-sizing: border-box; width: 300px; height: 300px; padding: 18px; border-radius: 32px; background: #fff; color: #5b6b7a; font-size: 96px; font-weight: 800; }
.trk-shot-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.trk-shot-card .trk-ring-state { font-size: 16px; padding: 5px 14px; }
.trk-shot-card h1 { margin: 0; font-size: 32px; font-weight: 850; line-height: 1.15; }
.trk-shot-card .trk-ring-store { font-size: 18px; }
.trk-shot-go { display: block; box-sizing: border-box; width: 100%; padding: 15px; border-radius: 999px; background: var(--trk-green); color: #fff; font-size: 19px; font-weight: 800; }

/* Readers' alarms: kept in their browser, one per product (tracker.js) */
.trk-bell { display: flex; align-items: center; gap: 5px; width: fit-content; margin-top: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.trk-bell:hover { box-shadow: inset 0 0 0 1px var(--accent); border-color: var(--accent); }
.trk-bell:focus-visible, .trk-alarmbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.trk-bell[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.trk-alarmbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.trk-alarmbar p { flex: 1 1 320px; margin: 0; font-size: 15px; }
.trk-alarmbar.is-on { border-color: var(--accent); }
/* "Important ↷" pointing at Unmute: the article pages' hand-written "Pass it on!", same font, arrow and tilt */
.trk-important { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px 0 6px; font: 700 22px/1 Kalam, "Comic Sans MS", cursive; color: var(--accent); transform: rotate(-4deg); white-space: nowrap; }
.trk-important[hidden] { display: none; }
.trk-important::after { content: ""; width: 34px; height: 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 18'%3E%3Cpath d='M1 13 C 9 3, 20 3, 28 9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M22 4 L 29 9.5 L 21.5 14' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 18'%3E%3Cpath d='M1 13 C 9 3, 20 3, 28 9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M22 4 L 29 9.5 L 21.5 14' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trk-important { color: #ff5a5a; } }
:root[data-theme="dark"] .trk-important { color: #ff5a5a; }
@media (max-width: 420px) { .trk-important { margin: 0 2px 0 0; font-size: 19px; } .trk-important::after { width: 24px; } }   /* stays on the button's line */
@media (max-width: 360px) { .trk-important::after { transform: rotate(75deg) translate(6px, -2px); } }   /* too narrow to share a line: point down at the button */
.trk-alarmbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.trk-alarmbtn:hover { border-color: var(--accent); }
.trk-alarmbtn[data-bell-wake] { background: var(--accent); border-color: var(--accent); color: #fff; }
.trk-ringing { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; margin: auto; padding: 24px; overflow-y: auto; border: 0; border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.trk-ringing::backdrop { background: rgba(15, 23, 32, .62); backdrop-filter: blur(4px); }
.trk-ringing ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 20px; }
.trk-ringing li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; }
.trk-ring-photo { display: grid; place-items: center; box-sizing: border-box; width: 72px; height: 72px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: #5b6b7a; font-size: 26px; font-weight: 800; animation: trk-ring-glow 1.4s ease-out infinite; }
.trk-ring-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes trk-ring-glow { from { box-shadow: 0 0 0 0 rgba(21, 128, 61, .55); } to { box-shadow: 0 0 0 16px rgba(21, 128, 61, 0); } }
.trk-ring-text { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.trk-ring-text b { font-size: 17px; font-weight: 850; line-height: 1.2; }
.trk-ring-state { padding: 4px 11px; border-radius: 999px; background: var(--trk-green); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2; }
.trk-ring-store { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 15px; }
.trk-ring-store .sw-logo { display: inline-block; width: 22px; height: 22px; border-radius: 6px; background: #fff; flex: none; object-fit: contain; }
.trk-ringing .is-go { justify-content: center; background: var(--trk-green); border-color: var(--trk-green); color: #fff; white-space: nowrap; }
.trk-ringing .is-go:hover { background: #116a32; border-color: #116a32; }
.trk-ringing [data-ring-stop] { justify-content: center; width: 100%; background: none; }
.trk-ringing li:only-child { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
.trk-ringing li:only-child .trk-ring-photo { width: min(220px, 32vh); height: min(220px, 32vh); padding: 14px; border-radius: 28px; font-size: 72px; animation-name: trk-ring-glow-big; }
@keyframes trk-ring-glow-big { from { box-shadow: 0 0 0 0 rgba(21, 128, 61, .5); } to { box-shadow: 0 0 0 22px rgba(21, 128, 61, 0); } }
.trk-ringing li:only-child .trk-ring-text { justify-items: center; gap: 8px; }
.trk-ringing li:only-child .trk-ring-text b { font-size: 28px; line-height: 1.15; }
.trk-ringing li:only-child .is-go { width: 100%; min-height: 54px; font-size: 17px; }
.trk-ringing .is-gone .trk-ring-photo { animation: none; opacity: .55; filter: grayscale(1); }
.trk-ringing .is-gone .trk-ring-state { background: var(--surface-2); color: var(--muted); }
.trk-ringing .is-gone .is-go { background: var(--surface-2); border-color: var(--line); color: var(--text); }
@media (max-width: 560px) {
  .trk-ringing { padding: 18px; }
  .trk-ringing li { grid-template-columns: 56px 1fr; }
  .trk-ringing li .trk-ring-photo { width: 56px; height: 56px; }
  .trk-ringing li .is-go { grid-column: 1 / -1; }
  .trk-ringing li:only-child { grid-template-columns: 1fr; }
  .trk-ringing li:only-child .trk-ring-photo { width: min(180px, 28vh); height: min(180px, 28vh); }
  .trk-ringing li:only-child .trk-ring-text b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .trk-ring-photo { animation: none; } }
.trk-stream .trk-bell { display: none; }

/* Phones and small windows: each product is a card, each store a row */
@media (max-width: 900px) {
  .trk-card { background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; }
  .trk-scan { display: none !important; }
  .trk-table, .trk-table tbody, .trk-table tr { display: block; width: 100%; }
  .trk-table thead { display: none; }
  .trk-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; margin-bottom: 12px; }
  .trk-product { display: flex; align-items: center; gap: 12px; font-size: 17px; padding: 0 0 10px; }
  .trk-bell { min-height: 40px; }
  .trk-product img, .trk-noimg { margin: 0; flex: none; }
  .trk-cell { display: block; height: auto; margin-top: 6px; }
  .trk-empty-cell { display: none; }
  .trk-empty-cell.trk-quip { display: block; }
  .trk-quip-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; box-sizing: border-box; padding: 10px 12px; text-align: right; }
  .trk-quip-in .trk-store { font-style: normal; color: var(--text); }
  .trk-cell a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; text-align: right; padding: 10px 12px; }
  .trk-store { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-align: left; flex: none; }
  .trk-body b { display: inline; }
  .trk-body b + b::before { content: ", "; }
  .trk-body small { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .trk-status.is-live .trk-dot, .trk-scan, .trk-flash { animation: none; }
}

/* /tracker/live: fills a 1920×1080 browser source. TasKing mix: dark bar, soft gray page, white cards */
.trk-stream { margin: 0; width: 1920px; height: 1080px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--bg); color: var(--text); }
.trk-stream .trk-bar { display: flex; align-items: center; gap: 28px; padding: 22px 40px; background: var(--brand-navy); color: #fff; }
.trk-stream .trk-bar h1 { font-size: 38px; margin: 0; color: #fff; }
.trk-stream .trk-bar img { height: 56px; width: auto; }
.trk-stream .trk-clock { margin-left: auto; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.trk-stream .trk { padding: 22px 40px; min-height: 0; overflow: hidden; }
.trk-stream .trk-status { font-size: 24px; }
.trk-stream .trk-table thead th { font-size: 22px; }
.trk-stream .trk-table thead .sw-logo { width: 38px; height: 38px; }
.trk-stream .trk-product { font-size: 23px; }
.trk-stream .trk-product img, .trk-stream .trk-noimg { width: 76px; height: 76px; }
.trk-stream .trk-cell a { font-size: 20px; padding: 14px 10px; }
.trk-stream .trk-now b { font-size: 26px; }
.trk-stream .trk-msg, .trk-stream .trk-quip-in { font-size: 17px; }
.trk-stream .trk-kicker, .trk-stream .trk-body small { font-size: 17px; }
.trk-stream .trk-recent, .trk-stream .trk-note { font-size: 19px; }
.trk-stream .trk-recent .sw-logo { width: 28px; height: 28px; }
.trk-stream .trk-recent { display: none; }
.trk-stream .trk-table .trk-product img, .trk-stream .trk-table .trk-noimg { float: left; margin: 0 12px 0 0; }
.trk-stream .trk-feeds { display: block; }
.trk-stream .trk-picks, .trk-stream .trk-feed.is-empty { display: none; } /* the stream overlay keeps to restocks, and shows none rather than an empty box */
.trk-stream .trk-feed li:nth-child(n+4) { display: none; }
.trk-stream .trk-feed { margin-top: 18px; }
.trk-stream .trk-feed h2 { font-size: 24px; }
.trk-stream .trk-feed ul { grid-template-columns: repeat(3, 1fr); }
.trk-stream .trk-feed-main b { font-size: 19px; }
.trk-stream .trk-feed-meta { font-size: 15px; }
.trk-stream .trk-feed-tag b { font-size: 21px; }
.trk-stream .trk-feed-tag small { font-size: 15px; }
.trk-stream .trk-note { display: none; }

/* 🔐 /tracker/sign-in (views/tracker_signin.php) */
.wrap:has(.trk-signin) { max-width: 640px; }
.trk-signin { padding: 8px 0 24px; }
.trk-signin-form { display: grid; gap: 10px; margin: 0 0 18px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.trk-signin-form label { font-weight: 750; font-size: 15px; }
.trk-signin-form input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 18px; }
.trk-signin-form input[name=code] { font-size: 26px; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.trk-signin-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; box-sizing: border-box; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 17px; font-weight: 800; text-decoration: none; cursor: pointer; }
.trk-signin-go:hover { filter: brightness(1.06); }
.trk-signin-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.trk-signin-more form { margin: 0; }
.trk-signin-msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; }
.trk-signin-fine { color: var(--muted); font-size: 15px; }
/* The teaser: a still of the real grid fading into a red members banner, wider than the 640px column (up to 1000px). Phones see it
   edge to edge, cropped to its left part (products and the first stores) so the cells stay readable */
.trk-teaser { position: relative; width: min(1000px, 100vw - 32px); margin: 6px 0 22px calc(50% - min(500px, 50vw - 16px)); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #f4f5f7; box-shadow: var(--shadow); }
.trk-teaser img { display: block; width: 100%; height: auto; }
.trk-teaser figcaption { position: relative; margin: 0; padding: 12px 16px 13px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 800; line-height: 1.3; text-align: center; }
.trk-teaser figcaption::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; background: linear-gradient(to bottom, transparent, var(--accent)); pointer-events: none; }
@media (max-width: 560px) {
  .trk-teaser { width: 100vw; margin-left: calc(50% - 50vw); border-width: 1px 0; border-radius: 0; }
  .trk-teaser img { aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }
  .trk-teaser figcaption { font-size: 15px; }
}
/* The sign-in and join headings sit centered over the wide teaser, on one line where it fits */
.trk-signin .trk-signin-head { width: min(1000px, 100vw - 32px); margin-left: calc(50% - min(500px, 50vw - 16px)); text-align: center; }
.trk-signin .trk-signin-head + .trk-lede { text-align: center; }
/* What members get: hanging emoji, then the newest restock we watched sell out */
.trk-pitch { margin: 0 0 22px; }
.trk-pitch-lead { margin: 0 0 12px; font-size: clamp(21px, 3vw, 25px); font-weight: 850; line-height: 1.2; letter-spacing: -.01em; }
.trk-pitch ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trk-pitch li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; font-size: 17px; line-height: 1.4; }
.trk-pitch li > span { font-size: 20px; line-height: 1.2; text-align: center; }
.trk-pitch li p { margin: 0; color: var(--muted); }
.trk-pitch li b { color: var(--text); }
.trk-proof { display: grid; grid-template-columns: 28px 1fr; gap: 8px; margin: 16px 0 0; padding: 12px 14px 12px 10px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: 16px; font-weight: 650; line-height: 1.4; }
.trk-proof > span { font-size: 20px; line-height: 1.2; text-align: center; }
.trk-signin-hint { margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.trk-signin-form input::placeholder { color: var(--muted); opacity: .7; }
.trk-signin .trk-signin-fine { margin: 0; text-align: center; font-size: 16px; }
/* sign-in step: the form sits up top, then the teaser and pitch for readers who aren't members yet */
.trk-signin .trk-signin-fine + .trk-teaser { margin-top: 32px; }
.trk-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -8px 0 14px; color: var(--muted); font-size: 14px; }
.trk-who form { margin: 0; }
.trk-who button { padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.trk-who button:hover { color: var(--accent); }
.trk-signin-fine a { color: var(--accent); font-weight: 700; text-decoration: none; }
.trk-signin-fine a:hover { text-decoration: underline; }
