/* Restock week */
.rs { display: flex; flex-direction: column; gap: var(--sp-15); }
.rs-row { display: grid; grid-template-columns: minmax(110px, 1.4fr) repeat(7, minmax(22px, 1fr)) minmax(70px, 1fr); gap: var(--sp-15); align-items: center; }
.rs-head span { text-align: center; font-size: var(--fs-label); font-weight: 600; color: var(--faint); }
.rs-head span.today { color: var(--text); }
.rs-store b { display: block; font-size: var(--fs-m); font-weight: 600; } .rs-store small { font-size: var(--fs-xs); color: var(--mute); }
.rs-d { display: block; height: 28px; border-radius: var(--r-tag); }
.rs-d.lv0 { background: transparent; box-shadow: inset 0 0 0 1px var(--line); opacity: .5; }
.rs-d.lv1 { background: color-mix(in srgb, var(--fair) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fair) 35%, transparent); }
.rs-d.lv2 { background: var(--buy); }
.rs-d.today { outline: 2px solid var(--text); outline-offset: 2px; }
.rs-next { font-size: var(--fs-label); color: var(--mute); text-align: right; line-height: 1.2; }
.rs-next b { display: block; font-size: var(--fs-s); color: var(--text); text-transform: capitalize; }
.rs-key { display: flex; flex-wrap: wrap; gap: var(--sp-15) var(--sp-35); align-items: center; margin-top: var(--sp-15); font-size: var(--fs-xs); color: var(--mute); }
.rs-key span { display: inline-flex; align-items: center; gap: var(--sp-15); } .rs-key .rs-d { width: 14px; height: 14px; border-radius: var(--r-xs); display: inline-block; }
/* Receipt */
.rc { background: var(--raise); border-radius: var(--r-s); padding: var(--sp-3) var(--sp-4); }
.rc-row { display: flex; justify-content: space-between; align-items: baseline; padding: var(--sp-15) 0; font-size: var(--fs-m); color: var(--mute); }
.rc-row b { color: var(--text); font-weight: 600; }
.rc-row.minus b { color: var(--mute); }
.rc-row.total { border-top: 1px dashed var(--line); margin-top: var(--sp-1); padding-top: var(--sp-25); color: var(--text); font-weight: 600; }
.rc-row.total b { font: 700 var(--fs-d3) var(--f-big); letter-spacing: -.02em; }
.rc-bars { display: grid; gap: var(--sp-15); margin-top: var(--sp-3); position: relative; }
.rc-bar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; gap: var(--sp-3); align-items: center; font-size: var(--fs-s); color: var(--mute); }
.rc-bar i { height: 10px; border-radius: var(--r-xs); display: block; } .rc-bar i.paid { background: var(--mute); } .rc-bar i.up { background: var(--buy); } .rc-bar i.dn { background: var(--wait); }
.rc-bar b { text-align: right; color: var(--text); font-weight: 600; }
.rc-result { justify-self: end; font: 700 var(--fs-l) var(--f-big); letter-spacing: -.02em; padding: var(--sp-1) var(--sp-25); border-radius: var(--r-act-in); }
.rc-result small { font: 600 var(--fs-xs) var(--f-ui); margin-left: var(--sp-1); }
.rc-result.up { color: var(--buy); background: color-mix(in srgb, var(--buy) 12%, transparent); } .rc-result.dn { color: var(--wait); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.rc-note { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-3); }
.rc-chip { background: var(--surface); color: var(--mute); } .rc-chip b { color: var(--text); }
/* Timeline */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-2) 0; position: relative; }
.tl li:not(:last-child)::after { content: ''; position: absolute; left: 36px; top: calc(var(--sp-2) + 26px); bottom: calc(-1 * var(--sp-2)); border-left: 1px dashed color-mix(in srgb, var(--mute) 55%, transparent); }   /* the line from each date down to the next (Faris, 2026-11-24: "can't see the full dotted line between the dates") */
.tl-date { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); background: var(--raise); border-radius: var(--r-tag); padding: var(--sp-1) var(--sp-15); text-align: center; align-self: start; }
.tl-body { font-size: var(--fs-m); display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); align-items: baseline; }
.tl-pill { color: var(--wait); background: color-mix(in srgb, var(--wait) 12%, transparent); }
.tl-line { color: var(--text); }
.tl details { width: 100%; font-size: var(--fs-s); color: var(--mute); } .tl summary { cursor: pointer; color: var(--fair); font-weight: 600; font-size: var(--fs-xs); } .tl details p { margin-top: var(--sp-1); line-height: 1.45; }
/* Locks inside free sections */
.lockrow { all: unset; cursor: pointer; display: grid; grid-template-columns: 12px minmax(150px, max-content) minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; width: 100%; box-sizing: border-box; padding: var(--sp-2) 0; border-top: 1px solid var(--line); font-size: var(--fs-m); }
.lockrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px var(--wait); }
.lockrow .n { font-weight: 600; } .lockrow .h { color: var(--faint); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* the name on one line when the row has room (it wrapped in a fixed 150px column); the hint takes what's left, cut short before it wraps */
.locktile { all: unset; cursor: pointer; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--sp-05); padding: var(--sp-3); border-radius: var(--r-s); background: var(--raise); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wait) 35%, transparent); }
.locktile span:first-child { color: var(--mute); font-size: var(--fs-xs); } .locktile b { margin: var(--sp-05) 0; } .locktile small { font-size: var(--fs-xs); color: var(--gold); }
.mk.lockd { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wait) 40%, transparent); }
.mk.lockd i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--wait); }
.callrow { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-2); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-s); background: var(--raise); }
.cta-card span { font-size: var(--fs-m); color: var(--mute); } .cta-card b { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .rs-row { grid-template-columns: minmax(84px, 1.3fr) repeat(7, minmax(18px, 1fr)); gap: var(--sp-1); }
  .rs-next { display: none; } .rs-d { height: 24px; border-radius: var(--r-tag); }
  .lockrow { grid-template-columns: 12px minmax(0, 1fr); } .lockrow .h { display: none; }   /* no empty last column on a phone: its gap cost the name 12px (it wrapped at 360) */
  .rc-bar { grid-template-columns: 90px minmax(0, 1fr) 60px; }
}
/* Outcome strip */
.oc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-15); height: 132px; align-items: end; padding-top: var(--sp-1); }
.oc-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: var(--sp-1); }
.oc-col i { width: 100%; border-radius: var(--r-tag) var(--r-tag) var(--r-xs) var(--r-xs); display: block; }
.oc-col.dn i { background: color-mix(in srgb, var(--wait) 70%, transparent); } .oc-col.flat i { background: var(--mute); } .oc-col.up i { background: var(--buy); }
.oc-n { font-size: var(--fs-xs); font-weight: 600; color: var(--text); }
.oc-l { font-size: var(--fs-label); color: var(--mute); text-align: center; white-space: nowrap; }
.oc-head { display: flex; flex-wrap: wrap; gap: var(--sp-15) var(--sp-4); align-items: baseline; margin-bottom: var(--sp-3); }
.oc-head b { font: 700 var(--fs-d2) var(--f-big); letter-spacing: -.02em; } .oc-head span { font-size: var(--fs-s); color: var(--mute); }
/* Month strip */
.mo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-1); }
.mo-c { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); }
.mo-c i { display: block; width: 100%; height: 30px; border-radius: var(--r-tag); background: color-mix(in srgb, var(--wait) calc(var(--f) * 75%), color-mix(in srgb, var(--buy) 75%, transparent)); opacity: calc(.45 + .55 * (1 - 2 * min(var(--f), 1 - var(--f)))); }
.mo-c b { font-size: var(--fs-label); font-weight: 600; color: var(--mute); }
.mo-c.now i { outline: 2px solid var(--text); outline-offset: 2px; } .mo-c.now b { color: var(--text); }
.mo-k.lo { background: color-mix(in srgb, var(--buy) 75%, transparent); } .mo-k.hi { background: var(--wait); }
@media (max-width: 760px) { .oc-l { font-size: var(--fs-label); white-space: normal; line-height: 1.1; } .oc { height: 150px; } }

.tl li.new .tl-date { background: color-mix(in srgb, var(--buy) 14%, var(--raise)); color: var(--text); }
.tl-new { display: block; font: 700 var(--fs-label) var(--f-big); letter-spacing: .06em; text-transform: uppercase; color: var(--buy); }

/* multiChart: calm % change lines, one dash per line, a crosshair; values are shown beside the chart, not over it */
.mc { height: 250px; border-radius: var(--r-s); -webkit-tap-highlight-color: transparent; }   /* compare charts: the Pulse chart in % mode */
@media (max-width: 480px) { .mc { height: 210px; } }

/* store mark: a placeholder until each retailer's official logo comes from its affiliate brand kit */
.store-mark.ic { background: var(--text); } .store-mark.ic img { width: 20px; height: 20px; object-fit: contain; }   /* the store's own icon on a light tile */
.store-mark { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-tag); font: 800 var(--fs-label)/1 var(--f-big); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px #ffffff1a; }

/* ---------- shared since Explore: section header (UI.secHead), dropdown (.w-dd), segmented control (.seg) ---------- */
.w-band { padding-top: var(--sp-6); border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.sec-h { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-3) var(--sp-4); align-items: center; margin-bottom: var(--sp-5); }
.sec-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-act); background: var(--raise); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.w-sec .sec-h h2 { font: 700 var(--fs-d1)/1.2 var(--f-big); letter-spacing: -.02em; margin: 0; display: flex; align-items: center; gap: var(--sp-25); flex-wrap: wrap; }
.sec-n { font: 700 var(--fs-s) var(--f-big); color: var(--mute); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); letter-spacing: 0; }
.sec-sub { margin: var(--sp-1) 0 var(--sp-5) calc(var(--sp-65) + var(--sp-4)); font-size: var(--fs-m); color: var(--mute); }
.sec-h.has-sub { margin-bottom: 0; }
.sec-stick + .sec-sub { margin-left: 0; margin-top: 0; margin-bottom: var(--sp-4); }
.sec-act { display: flex; align-items: center; gap: var(--sp-2); }
.w-addbtn { gap: var(--sp-2); white-space: nowrap; }
.w-addbtn.ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }      /* going somewhere (See all), not adding: it was only in explore.css, so it showed green on pages without it */
@media (hover: hover) and (pointer: fine) { .w-addbtn:hover { filter: brightness(1.08); } } .w-addbtn:focus-visible { box-shadow: 0 0 0 2px var(--deep), 0 0 0 4px var(--text); }
.sec-more { width: 40px; height: 40px; color: var(--mute); }
.w-band h3 { font: 600 var(--fs-l) var(--f-ui); margin: 0 0 var(--sp-3); }
.w-band .w-two { margin-bottom: var(--sp-5); }
.w-dd { all: unset; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); height: 44px; padding: 0 var(--sp-35); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; box-sizing: border-box; transition: background var(--dur-1); }
.w-dd .k { font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; } .w-dd b, .w-dd select { font: 600 var(--fs-m) var(--f-ui); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-dd .n { font: 700 var(--fs-xs) var(--f-big); color: var(--faint); } .w-dd > svg:last-child { color: var(--mute); flex: none; }
.w-dd > svg:first-child { color: var(--text); flex: none; }
@media (hover: hover) and (pointer: fine) { .w-dd:hover { background: var(--raise); } } .w-dd:focus-visible, .w-dd:focus-within { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px var(--text); }
.w-dd-sel select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0 var(--pad) 0 0; margin-right: calc(-1 * var(--sp-5)); cursor: pointer; outline: none; max-width: 170px; }
.w-dd-sel select option { background: var(--surface); color: var(--text); }
.w-dd-sel > svg { pointer-events: none; }
/* the app-wide select rule (pulse.css) gives every select a dark box and its own chevron: not inside this one, which has both */
.w-dd-sel select:not([multiple]):not([size]) { background-color: transparent; background-image: none !important; padding-right: var(--pad); }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: var(--sp-1); margin: var(--sp-4) 0 var(--sp-4); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { all: unset; position: relative; z-index: 1; cursor: pointer; text-align: center; height: 36px; line-height: 36px; border-radius: var(--r-act-in); font: 600 var(--fs-s) var(--f-ui); color: var(--mute); transition: color var(--dur-2); }
.seg button[aria-pressed=true], .seg button[aria-checked=true], .seg button[aria-selected=true] { color: var(--text); }
.seg button[aria-pressed=true] { background: var(--raise); }   /* no indicator slides on a pressed-style switch: the option itself lit */
.seg :is(button, a):focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }   /* all: unset took the ring away; inside, so the track never clips it (a11y, 2026-11-24) */
.seg-ind { opacity: 0; } .seg-ind[data-on] { transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2); }   /* transform only: the options are equal, so its width is set, not animated */
.seg.is-off { opacity: .45; } .seg.is-off .seg-ind { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .seg-ind[data-on] { transition: none; } } @media (hover: hover) and (pointer: fine) { .seg button:hover { color: var(--text); } }
.seg button:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: var(--r-act-in); background: var(--raise); box-shadow: 0 2px 10px #0007, inset 0 0 0 1px var(--line); }
@media (max-width: 760px) {
  .sec-h { grid-template-columns: 40px minmax(0, 1fr) auto; margin-bottom: var(--sp-4); }
  .sec-ic { width: 40px; height: 40px; border-radius: var(--r-s); }
  .sec-act { white-space: nowrap; }
  .sec-act:has(.ranges), .sec-h.wide-act .sec-act { grid-column: 1 / -1; }      /* a switch, or a long action (View all Charizard cards), gets its own row: the title keeps the width */      /* a switch (Chase cards / Hottest) is too wide to share the title's row: it gets its own */
  .sec-more { width: 44px; height: 44px; }
  /* the title may take two lines beside the action, its count staying with its last word; every header the same height */
  .w-sec .sec-h { min-height: 48px; }
  .w-sec .sec-h h2 { font-size: var(--fs-lead); display: block; }
  .w-sec .sec-h h2 .sec-n { margin-left: var(--sp-15); vertical-align: 2px; white-space: nowrap; }
  .w-band { scroll-margin-top: 56px; }
}
@media (pointer: coarse), (max-width: 760px) { .seg button { height: 44px; line-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .seg-ind { transition: none; } }

/* shared: cards that act as a chart legend, the calm empty state, Show more, the live dot */
.dotlive { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--buy); margin-right: var(--sp-15); vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--buy) 25%, transparent); }
.w-quiet { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--r); background: var(--surface); }
.w-quiet i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-act); background: color-mix(in srgb, var(--buy) 14%, transparent); color: var(--buy); }
.w-quiet b { display: block; font-size: var(--fs-l); font-weight: 600; margin-bottom: var(--sp-05); } .w-quiet span { font-size: var(--fs-m); color: var(--mute); }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-2); margin-top: var(--sp-4); }
.cmp-card { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: var(--sp-05); min-width: 0; padding: var(--sp-3) var(--sp-35); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: opacity var(--dur-2), box-shadow var(--dur-2); }
@media (hover: hover) and (pointer: fine) { .cmp-card:hover { background: color-mix(in srgb, var(--raise) 60%, var(--surface)); } }
.cmp-card:focus-visible { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px var(--text); }
.cmp-card.on { box-shadow: inset 0 0 0 1.5px var(--text); } .cmp-card.dim { opacity: .5; }
.cc-top { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; } .cc-top svg { flex: none; }
.cc-n { font-size: var(--fs-s); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-top { align-items: flex-start; } .cc-top svg { margin-top: var(--sp-1); }
.cmp-card b { font: 700 var(--fs-d3)/1.1 var(--f-big); letter-spacing: -.03em; margin-top: var(--sp-15); font-variant-numeric: tabular-nums; }
.cmp-card small { font-size: var(--fs-xs); color: var(--mute); } .cmp-card .cc-now { color: var(--faint); margin-top: var(--sp-05); }
@media (max-width: 760px) { .cmp-cards { grid-template-columns: 1fr 1fr; } .cmp-card b { font-size: var(--fs-d2); } }
@media (pointer: coarse), (max-width: 760px) { .cmp-card { min-height: 44px; } }

/* shared: loading skeleton, Retry button, spinner */
.w-skel { padding: var(--sp-6) 0; } .w-skel i { display: block; border-radius: var(--r-s); background: linear-gradient(90deg, var(--surface) 0%, var(--raise) 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.1s linear infinite; }
.w-skel-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); } .w-skel-row i { height: 210px; }
.w-retry { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-2); height: 40px; padding: 0 var(--sp-4); border-radius: var(--r-act); background: var(--text); color: var(--deep); font-weight: 700; font-size: var(--fs-m); }
.w-retry[disabled] { opacity: .7; cursor: default; } .w-retry:focus-visible { box-shadow: 0 0 0 2px var(--deep), 0 0 0 4px var(--text); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .w-skel i { animation: none; } .spin { animation-duration: 2s; } }

/* ---------- motion and sticky headers (pulse-motion.js), on every page ---------- */
/* sections rise in once as they come into view; children key off .in (bars grow, lines draw, numbers count) */
/* one reveal for every page: pulse-motion's sections end on .in, a page's own (Explore, the set page, Picks, News, Mine) on .rv-in;
   the Showroom look moves them with `translate` (pv/feed.css), so the transform here is the Pulse look's only, or a revealed section
   kept its 18px. A section passed without being seen (a jump, Back) is shown at once: .shown, no transition (pulse-motion.js) */
.rv { opacity: 0; }
:where(html:not([data-look=feed])) .rv { transform: translateY(18px); }
.rv:is(.in, .rv-in) { opacity: 1; transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); }
:where(html:not([data-look=feed])) .rv:is(.in, .rv-in) { transform: none; }
.rv.shown { transition: none; }
/* a section's header (with its filters, when wrapped in .sec-stick) sticks while you're inside that section */
:root { --stick-top: 0px; --top-bar: 0px; }
/* phones: the slim top bar (#mbar, sync.js) slides away as you scroll down and back as you scroll up. While it shows,
   every sticky header sits under it instead of behind it, and slides with it */
@media (max-width: 760px) { :root[data-mbar]:not([data-xpbar]):not([data-reel]) { --top-bar: calc(52px + env(safe-area-inset-top)); } }
/* a page inside a section (Explore's sets, a set, a card, its lists) has a nav bar instead of the logo: Back and the title, as an app
   does below its tabs (Faris, 2026-11-04). The logo bar steps aside while it shows */
@media (max-width: 760px) { :root[data-xpbar] #mbar { display: none; } }
/* a set's, a card's or a product's stage: its own top row (Back, where you are, the arrows) is the bar, so no bar above it */
/* a product's or set's stage takes the whole screen (its own Back); Collection's stage is a tab's own page, so the logo bar stays over it
   (Faris, 2026-11-13: "Why don't i see the header in the Mine page"); so is Explore's main page (2026-11-18) */
@media (max-width: 760px) { :root[data-reel-stage] :is(#mbar, #xpBar) { display: none; } html[data-look=feed][data-reel-stage] .fd-reel :is(.fd-top, .fd-steps) { margin-top: env(safe-area-inset-top); } }
:root[data-xp-bar] { --stick-top: 57px; } :root[data-w-nav] { --stick-top: 53px; } :root[data-cv-switch] { --stick-top: 57px; }
@media (pointer: coarse) { :root[data-w-nav] { --stick-top: 61px; } }
.st-sentinel { display: block; height: 0; }
.w-sec > .sec-h, .sec-stick { position: sticky; top: calc(var(--stick-top) + var(--top-bar)); transition: top var(--dur-3) var(--ease-out); z-index: 8; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: var(--sp-1) var(--gut); background: color-mix(in srgb, var(--deep) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }   /* always opaque, so nothing ever shows through */
/* stuck: only a shadow and hairline fade in. Nothing that changes its height, so the page never jumps as it sticks and unsticks */
.w-sec > .sec-h::after, .sec-stick::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); box-shadow: 0 10px 24px -6px #000; opacity: 0; transition: opacity var(--dur-2); pointer-events: none; }
.w-sec > .sec-h.stuck::after, .sec-stick.stuck::after { opacity: 1; }
.sec-stick > .sec-h { margin-bottom: var(--sp-3); }
@media (prefers-reduced-motion: reduce) { .rv, .rv:is(.in, .rv-in) { opacity: 1; transform: none; translate: none; transition: none; } .w-sec > .sec-h, .sec-stick, .stepbar, .pick, .xp-bar, .w-nav, .cv-switch, .hm-switch, .cm-pick, .xs-era-h { transition: none; } }

/* ---------- the Pulse chart (pulse-chart.js): one look for every chart ---------- */
:root { --v: var(--fair); }   /* the chart's colour; product pages set it by verdict, holdings and cards by which way the price went */
.pc { position: relative; touch-action: pan-y; cursor: crosshair; outline: none; }
.pc:focus-visible { box-shadow: 0 0 0 2px var(--text); border-radius: var(--r-s); }
.pc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pc .line:not(.pc-sub) { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--v) 60%, transparent)); }
/* a stock-style chart (PCHART.mount glow: Collection's worth; Faris, 2026-11-12: "a glowy style easy to read"): the line lit twice over in
   its own colour, a tight core and a wide halo, its fill deeper (the gradient in pulse-chart.js), the dot at today lit the same way */
.pc.glow .line:not(.pc-sub) { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--v) 85%, transparent)) drop-shadow(0 0 14px color-mix(in srgb, var(--v) 50%, transparent)); }
.pc.glow .pc-dot:not(.sub) { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--v) 80%, transparent)); }
.pc .line, .pc .pc-dot { transition: opacity var(--dur-2); } .pc .dim { opacity: .22; }
.pc-g { stroke: var(--line); } .pc-z { stroke: color-mix(in srgb, var(--text) 30%, transparent); }
.pc-yl { fill: var(--faint); font: 500 var(--fs-label) var(--f-ui); } .pc-xl { fill: var(--faint); font: 500 var(--fs-xs) var(--f-ui); } .pc-xl.now { fill: var(--mute); }
.pc-xh { stroke: var(--text); stroke-opacity: .4; stroke-dasharray: 2 3; }
.pc-dot { stroke: var(--deep); stroke-width: 3; } .pc-dot.sub { stroke-width: 2; }
.pc-spark { display: block; overflow: visible; } .pc-spark.none line { stroke: var(--line); stroke-dasharray: 3 3; }
/* the readout above a chart: the value at the date you're reading, and what it's done */
.pc-read b { display: block; font: 700 var(--fs-d2) var(--f-big); letter-spacing: -.02em; } .pc-read small { font-size: var(--fs-xs); color: var(--mute); }
.pc-read .up { color: var(--buy); } .pc-read .dn { color: var(--wait); }
@media (prefers-reduced-motion: reduce) { .w-sec > .sec-h::after, .sec-stick::after { transition: none; } }

/* ---------- back to where you came from (pulse-nav.js) ---------- */
.nav-backrow { margin: 0 0 var(--sp-2); }
.nav-back { display: inline-flex; align-items: center; gap: var(--sp-05); min-height: 44px; padding: 0 var(--sp-25) 0 var(--sp-05); margin-left: calc(-1 * var(--sp-05)); border-radius: var(--r-s); color: var(--gold); font-weight: 600; font-size: var(--fs-m); text-decoration: none; max-width: 100%; box-sizing: border-box; }
.nav-back span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .nav-back:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); } } .nav-back:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
@media (max-width: 760px) { .sec-sub { margin-left: calc(var(--sp-65) + var(--sp-3)); margin-bottom: var(--sp-4); } .sec-stick + .sec-sub { margin-left: 0; } }
@media (max-width: 760px) { .ov-fab ~ * .sec-stick .sec-act, :root[data-ov-fab] .sec-stick > .sec-h .sec-act { display: none; } }   /* phones: the floating bar already has Manage, so the sticky header stays one line */

/* ---------- Your position (pulse-yours.js): what you own of one thing, wherever it's shown ---------- */
.yp { margin: var(--sp-4) 0; padding: var(--sp-45); border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.yp-h { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-35); }
.yp-h h2 { margin: 0; font: 700 var(--fs-xl) var(--f-big); letter-spacing: -.02em; }
.yp-m { display: inline-flex; align-items: center; gap: var(--sp-15); min-height: 44px; padding: 0 var(--sp-25); margin-right: calc(-1 * var(--sp-25)); border-radius: var(--r-s); color: var(--gold); font-size: var(--fs-m); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .yp-m:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); } } .yp-m:focus-visible { outline: 2px solid var(--text); }
.yp-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--sp-2); margin: 0; }
.yp-sum > div { padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); background: color-mix(in srgb, var(--deep) 55%, transparent); }
.yp-sum dt { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .yp-sum dd { margin: var(--sp-05) 0 0; } .yp-sum b { display: block; font: 700 var(--fs-xl) var(--f-big); letter-spacing: -.02em; } .yp-sum small { font-size: var(--fs-xs); color: var(--faint); }
.yp .up { color: var(--buy); } .yp .dn { color: var(--wait); }
.yp-sh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-25); flex-wrap: wrap; margin: var(--pad) 0 var(--sp-15); font: 700 var(--fs-m) var(--f-ui); color: var(--text); } .yp-sh small { font-size: var(--fs-xs); font-weight: 500; color: var(--faint); }
.yp-list { list-style: none; margin: 0; padding: 0; }
.yp-row { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; grid-template-areas: 'top top edit' 'fig gain edit'; gap: var(--sp-15) var(--sp-3); align-items: end; min-height: 60px; padding: var(--sp-2) var(--sp-15); border-top: 1px solid var(--line); }
.yp-list li:first-child .yp-row { border-top: 0; }
button.yp-row { cursor: pointer; border-radius: var(--r-s); transition: background var(--dur-2); } @media (hover: hover) and (pointer: fine) { button.yp-row:hover { background: color-mix(in srgb, var(--raise) 70%, transparent); } } button.yp-row:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.yp-top { grid-area: top; display: flex; align-items: center; gap: var(--sp-2); min-width: 0; } .yp-top small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); color: var(--mute); }
.yp-tag { flex: none; background: var(--raise); color: var(--mute); white-space: nowrap; }
.yp-tag.slab { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); } .yp-tag.sold { background: color-mix(in srgb, var(--buy) 16%, transparent); color: var(--buy); }
.yp-t { grid-area: fig; min-width: 0; } .yp-t b { display: block; font-size: var(--fs-m); font-weight: 600; } .yp-t small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.yp-t em { display: block; margin-top: var(--sp-05); font-style: normal; font-size: var(--fs-xs); color: var(--mute); } .yp-t em::before { content: '“'; } .yp-t em::after { content: '”'; }
.yp-v { grid-area: gain; text-align: right; } .yp-v b { display: block; font: 700 var(--fs-b) var(--f-big); } .yp-v small { font-size: var(--fs-label); font-weight: 600; color: var(--faint); }
.yp-e { grid-area: edit; align-self: center; color: var(--faint); display: grid; place-items: center; } @media (hover: hover) and (pointer: fine) { button.yp-row:hover .yp-e { color: var(--text); } }
.yp-sold .yp-row { grid-template-areas: 'top top top' 'fig gain gain'; }
.yp-acts { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }
.yp-a { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 1 120px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); border-radius: var(--r-act); background: var(--raise); font-weight: 600; font-size: var(--fs-m); }
.yp-a.main { background: var(--buy); color: var(--deep); } @media (hover: hover) and (pointer: fine) { .yp-a:hover { filter: brightness(1.08); } } .yp-a:focus-visible { box-shadow: 0 0 0 2px var(--text); }
@media (max-width: 560px) {
  .yp { padding: var(--sp-4); } .yp-sum { grid-template-columns: 1fr 1fr; }
}

/* stepping through your holdings on an item page that has no bar of its own (the card page) */
.yp { scroll-margin-top: 76px; }
.xcd .yp { scroll-margin-top: 140px; }   /* the card page has two sticky bars above it */

/* ---------- Pulse rail (pulse-rail.js): every sideways scroller, in our style ---------- */
.prail { --rail-bg: var(--deep); position: relative; }
.prail-s { scrollbar-width: none !important; } .prail-s::-webkit-scrollbar { display: none !important; }
.prail::before, .prail::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 18px; width: 56px; pointer-events: none; transition: opacity var(--dur-3) var(--ease-out); }
.prail::before { left: 0; background: linear-gradient(90deg, var(--rail-bg), transparent); } .prail::after { right: 0; background: linear-gradient(270deg, var(--rail-bg), transparent); }
.prail.at-start::before, .prail.at-end::after, .prail.none::before, .prail.none::after { opacity: 0; }
.prail-b { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; z-index: 4; top: calc(50% - 9px); transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-act);
  color: var(--text); background: color-mix(in srgb, var(--raise) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 26px -8px #000c, inset 0 0 0 1px var(--line);
  opacity: 0; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), background var(--dur-2); }
.prail-b.prev { left: 6px; } .prail-b.next { right: 6px; }
@media (hover: hover) and (pointer: fine) { .prail:hover .prail-b { opacity: 1; } } @media (hover: hover) and (pointer: fine) { .prail-b:hover { background: var(--raise); transform: translateY(-50%) scale(1.06); } }
.prail.at-start .prail-b.prev, .prail.at-end .prail-b.next, .prail.none .prail-b { opacity: 0 !important; pointer-events: none; }
@media (pointer: coarse) { .prail-b { display: none; } }
.prail-bar { position: relative; width: min(180px, 42%); height: 4px; margin: var(--sp-2) auto 0; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.prail-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, var(--buy), var(--fair)); box-shadow: 0 0 10px color-mix(in srgb, var(--buy) 50%, transparent); transition: transform var(--dur-1) linear; }
.prail.none .prail-bar { display: none; }
/* the page's own scrollbars, in our colours */
html { scrollbar-color: color-mix(in srgb, var(--fair) 40%, var(--raise)) transparent; }
* { scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 99px; background: linear-gradient(180deg, color-mix(in srgb, var(--fair) 55%, var(--raise)), color-mix(in srgb, var(--buy) 45%, var(--raise))) padding-box; }
@media (hover: hover) and (pointer: fine) { ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--fair), var(--buy)) padding-box; } }
@media (prefers-reduced-motion: reduce) { .prail-bar i { transition: none; } }

/* product pictures with the white background cut out: no white tile behind them anywhere */
img[src^="img/p/"] { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; object-fit: contain !important; object-position: center bottom; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }

/* ---------- Quick search (pulse-search.js): / or Ctrl+K on any page ---------- */
.ab-search { all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto; display: inline-flex; align-items: center; gap: var(--sp-2); height: 40px; padding: 0 var(--sp-2) 0 var(--sp-3); min-width: 200px; border-radius: var(--r-act); background: var(--surface); color: var(--mute); font-size: var(--fs-m); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-2), color var(--dur-2); }
.ab-search span { flex: 1; } @media (hover: hover) and (pointer: fine) { .ab-search:hover { color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 25%, transparent); } } .ab-search:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.ab-search + .ab-add { margin-left: 0; }
.ab-search kbd, .qs kbd { font: 600 var(--fs-label) var(--f-ui); padding: var(--sp-05) var(--sp-15); border-radius: var(--r-tag); background: var(--raise); color: var(--mute); box-shadow: inset 0 -1px 0 #0006; }
@media (max-width: 1000px) { .ab-search { min-width: 0; } .ab-search span, .ab-search kbd { display: none; } .ab-search { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 760px) { .ab-search { display: none; } }
html.qs-on { overflow: hidden; }
.qs { position: fixed; inset: 0; z-index: 200; display: grid; justify-items: center; align-items: start; padding: min(12vh, 120px) var(--sp-4) var(--sp-4); }
.qs-scrim { position: absolute; inset: 0; background: #020a0dcc; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: qs-fade var(--dur-2) var(--ease-out); }
.qs-box { position: relative; width: min(640px, 100%); max-height: min(70vh, 640px); display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--surface); box-shadow: 0 40px 80px -20px #000, inset 0 0 0 1px var(--line); overflow: hidden; animation: qs-in var(--dur-3) var(--ease-out); }
@keyframes qs-fade { from { opacity: 0; } } @keyframes qs-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.qs-in { display: flex; align-items: center; gap: var(--sp-3); padding: 0 var(--sp-4); min-height: 60px; border-bottom: 1px solid var(--line); color: var(--mute); }
.qs-in input { all: unset; flex: 1; min-width: 0; font: 500 var(--fs-lead) var(--f-ui); color: var(--text); } .qs-in input::placeholder { color: var(--faint); } .qs-in input::-webkit-search-cancel-button { display: none; }
.qs-list { list-style: none; margin: 0; padding: var(--sp-15); overflow-y: auto; flex: 1; }
/* its rows are Explore's search rows (.xq-h, .xq-o, .xq-none in kit.css; overnight 2026-11-24: one design for both searches), each a link */
.qs-list .xq-o { text-decoration: none; }
.qs-foot { display: flex; gap: var(--sp-4); padding: var(--sp-25) var(--sp-4); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--faint); } .qs-foot kbd { margin-right: var(--sp-05); }
@media (max-width: 760px) { .qs { padding: var(--sp-3); } .qs-box { max-height: calc(100dvh - 24px); } .qs-foot { display: none; } }
@media (prefers-reduced-motion: reduce) { .qs-scrim, .qs-box { animation: none; } }

/* ---------- Install the app (pulse-app.js) ---------- */
.app-install { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-25) var(--sp-3) var(--sp-3); border-radius: var(--r);
  background: color-mix(in srgb, var(--raise) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -14px #000, inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(16px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.app-install.on { opacity: 1; transform: none; }
.app-install img { width: 40px; height: 40px; border-radius: var(--r-act-in); flex: none; }
.ai-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ai-t b { font-size: var(--fs-m); } .ai-t small { font-size: var(--fs-xs); color: var(--mute); } .ai-t small svg { vertical-align: -3px; }
.ai-go { all: unset; cursor: pointer; background: var(--buy); color: var(--deep); display: inline-flex; align-items: center; }
.ai-x { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-act); color: var(--mute); font-size: var(--fs-d2); }
.ai-go:focus-visible, .ai-x:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (min-width: 761px) { .app-install { bottom: 24px; left: 24px; right: auto; } }
@media (prefers-reduced-motion: reduce) { .app-install { transition: none; } }
/* inside the installed app: no "All designs" mockup switch, and taps don't flash */
html.is-app #accessDev { display: none; }
html.is-app { -webkit-tap-highlight-color: transparent; }

/* 16px or more, so iPhone and iPad don't zoom in when it's tapped */
.w-dd select { font-size: var(--fs-l); }

/* Pro in holo foil everywhere, not gold: the Pro pane's edge, locked tiles and rows, the beta pill */
.pane.pro-pane { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, #39E6A0cc, #6FB6FF66 30%, #C79BFF33 60%, #FFB84D22) border-box;
  border: 1.5px solid transparent; box-shadow: 0 0 40px -18px rgba(199, 155, 255, .55); }
.locktile { box-shadow: none; border: 1px solid transparent; background: linear-gradient(var(--raise), var(--raise)) padding-box, var(--holo) border-box; }
.locktile small { color: var(--pro-ink); }
.mk.lockd { box-shadow: none; border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; }
.lockrow::before { box-shadow: none; background: var(--holo); }
.probeta { color: var(--pro-ink); background: color-mix(in srgb, var(--sell) 14%, transparent); }

/* today's picks (picks.js): cards in the style of Home's mover cards, the page (picks.html) */
.pk-card { --k: var(--buy); } .pk-card.sell { --k: var(--sell); } .pk-card.wait { --k: var(--wait); } .pk-card.fair { --k: var(--fair); } .pk-card.off { --k: var(--faint); }
.pk-a { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 84px; grid-template-areas: "head head" "n art" "p art" "line line" "chips chips";
  column-gap: var(--sp-3); height: 100%; min-height: 230px; box-sizing: border-box; padding: var(--sp-35); border-radius: var(--r-l); background: var(--surface); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
@media (hover: hover) and (pointer: fine) { .pk-a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 45%, var(--line)); } } .pk-a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.pk-spark { position: absolute; inset: auto 0 0 0; height: 90px; z-index: -1; opacity: .55; pointer-events: none; }
.pk-spark svg { width: 100%; height: 100%; display: block; }
.pk-a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--k) 14%, transparent), transparent 70%); pointer-events: none; }
.pk-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: var(--sp-25); }
.pk-k { color: var(--deep); background: var(--k); }
.pk-tag { font: 700 var(--fs-s) var(--f-big); color: var(--k); }
.pk-art { grid-area: art; align-self: start; display: grid; place-items: center; width: 84px; height: 84px; }
.pk-art img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 12px #0009); }
.pk-n { grid-area: n; font-size: var(--fs-m); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-p { grid-area: p; align-self: end; font: 700 var(--fs-d4)/1 var(--f-big); letter-spacing: -.03em; margin-top: var(--sp-2); }
.pk-line { grid-area: line; margin-top: var(--sp-15); font-size: var(--fs-xs); color: var(--mute); }
.pk-chips { grid-area: chips; display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: auto; padding-top: var(--sp-3); align-self: end; }
.pk-chips i { font-style: normal; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--deep) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(4px); }
.pk-chips i.buy { color: var(--buy); } .pk-chips i.wait { color: var(--wait); }
.pk-rail { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 290px); gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pk-rail::-webkit-scrollbar { display: none; } .pk-rail > li { scroll-snap-align: start; }
/* the page */
.pickspage { padding-bottom: var(--sp-65); }
.pk-hero { padding: clamp(var(--sp-45), 4vw, var(--sp-65)) 0 var(--sp-15); } .pk-hero .eyebrow { display: flex; align-items: center; gap: var(--sp-2); color: var(--mute); }
.pk-hero h1 { margin-top: var(--sp-25); font: 700 clamp(32px, 6vw, 56px)/1.02 var(--f-big); letter-spacing: -.035em; }
.pk-lede { margin-top: var(--sp-25); color: var(--mute); font-size: var(--fs-l); max-width: 46ch; }
.pk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-25); margin-top: var(--sp-5); }
.pk-tile { all: unset; box-sizing: border-box; cursor: pointer; --k: var(--buy); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--sp-05); padding: var(--sp-35) var(--sp-4); border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--dur-2), box-shadow var(--dur-2); }
.pk-tile.sell { --k: var(--sell); } .pk-tile.wait { --k: var(--wait); }
.pk-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* four lists (Sold: All, Buy, Fair, Wait); two across on a phone */

.pk-tl { font: 700 var(--fs-xs) var(--f-big); letter-spacing: .07em; text-transform: uppercase; color: var(--k); }
.pk-tile b { font: 700 var(--fs-d5)/1.05 var(--f-big); letter-spacing: -.03em; } .pk-tile small { color: var(--mute); font-size: var(--fs-xs); line-height: 1.35; }
.pk-tile[aria-selected=true] { background: color-mix(in srgb, var(--k) 12%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--k); }
.pk-tile:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.pk-rule { margin-top: var(--sp-4); color: var(--mute); font-size: var(--fs-s); line-height: 1.5; } .pk-rule b { color: var(--text); } .pk-rule a { color: var(--fair); }
.pk-grid { list-style: none; margin: var(--pad) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--sp-3); }
.pk-fine { margin-top: var(--sp-5); color: var(--faint); font-size: var(--fs-xs); }
@media (max-width: 560px) { .pk-tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pk-tiles { gap: var(--sp-15); } .pk-tile { padding: var(--sp-3) var(--sp-25); } .pk-tile b { font-size: var(--fs-d3); } .pk-tile small { font-size: var(--fs-label); } }
@media (prefers-reduced-motion: reduce) { .pk-a { transition: none; } }

/* trade check (trade.html) */
.tr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-35); margin-top: var(--sp-5); align-items: start; }
.tr-side { padding: var(--sp-4); border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); --k: var(--wait); } .tr-side.get { --k: var(--buy); }
.tr-sh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-25); } .tr-sh h2 { font: 700 var(--fs-s) var(--f-big); letter-spacing: .08em; text-transform: uppercase; color: var(--k); }
.tr-sh b { font: 700 var(--fs-d4) var(--f-big); letter-spacing: -.03em; } .tr-sh .tr-sclear { margin-left: auto; } .tr-new { margin-top: var(--sp-4); }   /* empty one side, or start the whole trade again */
.tr-q { margin-top: var(--sp-3); display: flex; } .tr-q input { flex: 1; min-width: 0; }
.tr-res { list-style: none; margin: var(--sp-2) 0 0; padding: var(--sp-15); border-radius: var(--r-act); background: var(--raise); display: grid; gap: var(--sp-05); max-height: 340px; overflow: auto; }
.tr-res button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; padding: var(--sp-2); border-radius: var(--r-act); }
.tr-res button:focus-visible { background: var(--surface); } @media (hover: hover) and (pointer: fine) { .tr-res button:hover { background: var(--surface); } } .tr-res button:focus-visible { outline: 2px solid var(--text); }
.tr-res img { width: 36px; height: 36px; object-fit: contain; border-radius: var(--r-xs); } .tr-res b { display: block; font-size: var(--fs-s); font-weight: 600; } .tr-res small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.tr-res em { font-style: normal; font-size: var(--fs-label); font-weight: 600; color: var(--mute); }
.tr-items { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.tr-items li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; padding: var(--sp-25) var(--sp-6) var(--sp-25) var(--sp-25); border-radius: var(--r); background: var(--deep); }
.tr-art img { width: 52px; height: 52px; object-fit: contain; } .tr-items li.card .tr-art img { width: 40px; height: 56px; }
.tr-t b { display: block; font-size: var(--fs-s); font-weight: 600; line-height: 1.3; } .tr-t small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.tr-g { display: inline-flex; gap: var(--sp-05); margin-top: var(--sp-15); padding: var(--sp-05); border-radius: var(--r-act-in); background: var(--surface); }
.tr-g button { all: unset; cursor: pointer; padding: var(--sp-05) var(--sp-2); border-radius: var(--r-act-in); font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .tr-g button[aria-pressed=true] { background: var(--raise); color: var(--text); }
.tr-v { display: grid; justify-items: end; gap: var(--sp-15); } .tr-v b { font-size: var(--fs-b); font-weight: 700; }
.tr-qty { display: inline-flex; align-items: center; gap: var(--sp-1); } .tr-qty button { all: unset; cursor: pointer; width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--r-act-in); background: var(--surface); font-weight: 700; }
.tr-qty span { min-width: 18px; text-align: center; font-size: var(--fs-s); }
.tr-x { all: unset; cursor: pointer; position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--r-act); color: var(--mute); font-size: var(--fs-xl); } @media (hover: hover) and (pointer: fine) { .tr-x:hover { color: var(--text); } }
.tr-qty button:focus-visible, .tr-x:focus-visible, .tr-g button:focus-visible { outline: 2px solid var(--text); }
.tr-empty { margin-top: var(--sp-35); color: var(--faint); font-size: var(--fs-s); }
.tr-meter { --k: var(--mute); margin-top: var(--sp-4); padding: var(--pad); border-radius: var(--r-l); background: linear-gradient(160deg, color-mix(in srgb, var(--k) 12%, var(--surface)), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.tr-meter.fair { --k: var(--fair); } .tr-meter.buy { --k: var(--buy); } .tr-meter.wait { --k: var(--wait); } .tr-meter.empty p { color: var(--mute); }
.tr-call { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-1) var(--sp-35); } .tr-call span { font: 700 var(--fs-d3) var(--f-big); letter-spacing: -.02em; color: var(--k); }
.tr-call b { font: 700 var(--fs-d3) var(--f-big); } .tr-call small { color: var(--mute); font-size: var(--fs-s); }
.tr-bar { position: relative; height: 10px; margin: var(--sp-4) 0 var(--sp-15); border-radius: 99px; background: linear-gradient(90deg, var(--wait), var(--fair) 45% 55%, var(--buy)); }
.tr-bar i { position: absolute; top: 50%; width: 6px; height: 26px; border-radius: var(--r-xs); background: var(--text); box-shadow: 0 0 0 3px var(--deep); transform: translate(-50%, -50%); transition: left var(--dur-4) var(--ease-out); }
.tr-ends { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--mute); }
.tr-fine { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--faint); line-height: 1.5; }
.tr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-35); margin-top: var(--sp-35); }
@media (max-width: 760px) { .tr-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tr-bar i { transition: none; } }

/* a shared collection (share.html) and the Share link on Collection */
.cp-share { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-25) 0 calc(-1 * var(--sp-05)); }
.sh-tot { display: flex; align-items: baseline; gap: var(--sp-25); margin-top: var(--sp-35); } .sh-tot b { font: 700 clamp(30px, 6vw, 44px) var(--f-big); letter-spacing: -.03em; color: var(--buy); } .sh-tot span { color: var(--mute); }
.sh-grid { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-25); }
.sh-grid a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-25) var(--sp-3); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .sh-grid a:hover { box-shadow: inset 0 0 0 1px var(--mute); } } .sh-grid a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.sh-art img { width: 56px; height: 56px; object-fit: contain; } .sh-grid li.sh-card .sh-art img { width: 42px; height: 58px; margin: 0 var(--sp-15); border-radius: var(--r-xs); }
.sh-t b { display: block; font-size: var(--fs-s); font-weight: 600; line-height: 1.3; } .sh-t small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.sh-m { display: grid; justify-items: end; gap: var(--sp-1); } .sh-m em { font-style: normal; font-size: var(--fs-xs); font-weight: 700; color: var(--mute); } .sh-m em.g { color: var(--pro-ink); } .sh-m b { font-size: var(--fs-m); font-weight: 700; }
.sh-end { margin-top: var(--sp-55); padding: var(--sp-45); border-radius: var(--r-l); background: color-mix(in srgb, var(--buy) 10%, var(--surface)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.sh-end p { color: var(--text); font-weight: 600; } .sh-cta { border: 0; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Market's and Mine's page switch (pulse-nav.js): above the page, in its column; short words on a narrow phone ---------- */
.pg-sw { max-width: 1160px; margin: 0 auto; padding: var(--sp-3) var(--gut) var(--sp-5); box-sizing: border-box; }   /* clear of the hero under it */
@media (max-width: 560px) { .pg-sw { padding-bottom: var(--sp-4); } } .pg-sw .seg { margin: 0; max-width: 560px; }
.sw-s { display: none; }   /* a switch's short words: phones only (the page switch, Live's views) */
@media (max-width: 560px) { .sw-l { display: none; } .sw-s { display: inline; } }
/* ---------- the page column, on every page (it was only in explore.css, so You and Admin lost their side margins) ---------- */
.xpage { max-width: 1160px; margin: 0 auto; padding: 0 var(--gut) var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-6); }
@media (max-width: 760px) {
  .xpage { padding-bottom: calc(var(--float-clear, 96px) + var(--sp-5)); gap: var(--sp-5); } }
