/* The kit: the one definition of each shared component's size, shape and type. It loads last on every page, so a page
   decides where a component sits and what colour it carries, never how big or how round it is. The old class names are
   listed beside each component's kit name until their markup moves over; check_ui.py stops new ones.
   The shape rule: no capsules. A corner is about a quarter of the height (the Get Pro button, 14 on 54):
   40px and up --r-act, 28-39 --r-act-in, smaller --r-tag. Only dots, avatars, rings and the camera shutter are round.
   Every component here is shown, with copy-ready markup, in ui.html (and components.html). */

/* ---------- Label: one uppercase word in the display face. Solid for a verdict (BUY, FAIR, SELL), tinted for a kind
   (NEWS, NEW SET, PRE-ORDER), gold-to-holo for PRO. 22 everywhere; .lg (28) beside a hero price ---------- */
.label, .xp-px .badge, .tc-px .badge, .v-nt, .ps-v, .wh-n, .pro, .pck-promini, .tl-pill, .yp-tag, .sp-pill, .dv-chips > span:not(.pill) {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-15); box-sizing: border-box; height: 22px; padding: 0 var(--sp-2);
  border-radius: var(--r-tag); font: 700 var(--fs-label)/1 var(--f-big); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.label.lg, .big .badge {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 28px; padding: 0 var(--sp-25);
  border-radius: var(--r-tag); font: 700 var(--fs-xs)/1 var(--f-big); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Badge: a value or a fact in a small box (−35%, 2.2×, 4/4 sources agree, In print, 21% 90 days, a section's
   count). 24 tall; each keeps its own weight and tone ---------- */
.badge-v, .sec-n, .b-h .num, .pill.xs-sup, .pk-chips i, .pck-upc, .pck-rt, .pck-read .pck-vb, .pck-vd > b:not(.num), .pck-vd b:not(.num), .pck-verdict b, .op-tag, .probeta, .ps-offers em, .marks .mk, .pill.trust {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1); box-sizing: border-box; height: 24px; padding: 0 var(--sp-2);
  border-radius: var(--r-tag); font-size: var(--fs-xs); line-height: 1; white-space: nowrap; vertical-align: middle; }
/* Count: a number riding on a chip, a button or a tab (News 40, Watch 3) */
.count, .v-qb b, .chip .n { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 20px; height: 20px; padding: 0 var(--sp-15);
  border-radius: var(--r-tag); font: 700 var(--fs-label)/1 var(--f-big); }

/* ---------- Button. Main (filled, page colour): L 52 for the one thing a screen or sheet is for, M 44 elsewhere.
   Secondary (surface and a line): M 44, S 36 (a header's See all, a button inside a row). ---------- */
.btn-l, .upbtn.big { min-height: 52px; padding: 0 var(--sp-5); font-size: var(--fs-l); }
.btn-m, .upbtn, .btn-sec, .s2-sub .s2-ghost, .s2-danger, .up-ghost { min-height: 44px; padding: 0 var(--sp-4); font-size: var(--fs-m); }
.btn-l, .upbtn, .btn-m { box-sizing: border-box; border-radius: var(--r-act); font-weight: 700; }
.btn-sec, .s2-sub .s2-ghost, .s2-danger, .up-ghost { box-sizing: border-box; border-radius: var(--r-act); font-weight: 600; }
.btn-l, .btn-m, .btn-sec, .btn-s, .upbtn, .up-ghost { display: inline-flex; align-items: center; justify-content: center; }
.upbtn.big { display: flex; align-items: center; justify-content: center; }
/* S: secondary, compact: a header's action, Wrong card?, Remind me. 36 tall, 44 on touch screens (Faris, 2026-11-26: one Small button, .btn-s, the old .linkbtn folded in) */
.btn-s, .v-remind { min-height: 36px; padding: 0 var(--sp-35); box-sizing: border-box; border-radius: var(--r-act-in); font-size: var(--fs-s); font-weight: 600; }
.v-remind { display: inline-flex; align-items: center; gap: var(--sp-15); }
.sec-act .w-addbtn, .sec-act .btn-s { min-height: 36px; padding: 0 var(--sp-3); border-radius: var(--r-act-in); font-size: var(--fs-s); }
@media (pointer: coarse), (max-width: 760px) { .btn-s { min-height: 44px; border-radius: var(--r-act); } }

/* ---------- Chip: a filter or a choice you toggle (and the status pill, which looks like one but isn't tappable).
   34, 44 on touch; the count rides as .n or b ---------- */
.pill, .chip, .hchip { appearance: none; border: 0; margin: 0; font: 600 var(--fs-s)/1 var(--f-ui); display: inline-flex; align-items: center; gap: var(--sp-2); height: 34px; padding: 0 var(--sp-3); box-sizing: border-box; border-radius: var(--r-act-in); white-space: nowrap; text-decoration: none; position: relative; }
.pill .dot, .chip .dot { width: 8px; height: 8px; border-radius: var(--r-xs); flex: none; }
.pill .n, .chip b, .hchip b { font: 700 var(--fs-s)/1 var(--f-big); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 0; }
.pill.stat .n { font-size: var(--fs-b); }
.pill.live .dot { border-radius: 50%; }
/* the other chip-shaped controls: Live on eBay, Compare with…, a sign-in choice, the page's jump links */
.lockchip, .v-qb, .cmpchip, .acc-chip, .how-toc a, .you-jump a, .hbadge, button.hbadge { display: inline-flex; align-items: center; gap: var(--sp-15); box-sizing: border-box; min-height: 34px; padding: 0 var(--sp-3); border-radius: var(--r-act-in); }
@media (pointer: coarse), (max-width: 760px) {
  .chip, .hchip, a.pill, button.pill, .lockchip, .v-qb, .cmpchip, .acc-chip, .you-jump a, button.hbadge { min-height: 44px; border-radius: var(--r-act); }
  .ranges button, .pk-x, .pck-mx { border-radius: var(--r-act); } }
.ranges button { border-radius: var(--r-act-in); }

/* ---------- Icon button: 44 (the corner for 40+), 36 compact (the inner corner). Round only for the camera shutter ---------- */
.ibtn, .xp-star, .v-b, .prail-b, .step, .bn-plus { border-radius: var(--r-act); }
.ibtn.sm, .star:not(.xp-star), .vhelp, .pck-x { border-radius: var(--r-act-in); }

/* ---------- Card. Feature (--r-l, --pad): a panel with its own heading, a hero, a sign-up. Card (--r, 16; 12 compact):
   an item in a grid or list. Tile (--r-s, 12): a small fact box inside a card. Media cards (a photo to the edge, the
   news cards) keep 0 padding ---------- */
.card-f, .v-gauge, .wh-flow li, .wp-card, .tr-side, .pck-deal2 { border-radius: var(--r-l); padding: var(--pad); }
/* a feature card that is mostly a picture and a price, in a carousel: the compact padding so its facts stay on one line */
.card-f.media, .v-rc { border-radius: var(--r-l); padding: var(--sp-3); }
.card-i, .w-quiet { border-radius: var(--r); padding: var(--sp-4); }
.card-i.sm, .cmp-card, .pck-verd { border-radius: var(--r); padding: var(--sp-3); }
.tile, .xt, .xgc-o, .xgc-v { border-radius: var(--r-s); padding: var(--sp-3); }

/* ---------- List card and rows. A list card (--r, inset 16) holds rows divided by a line: 56 tall, 64 with a 48px
   picture. A divided row on its own (a sheet's sources, a breakdown) has 12 above and below ---------- */
.list-card { border-radius: var(--r); padding: var(--sp-1) var(--sp-4); }
.row { min-height: 56px; gap: var(--sp-3); padding-top: var(--sp-25); padding-bottom: var(--sp-25); }   /* centred in 56, and never against its line when the text wraps */
.row.pic { min-height: 64px; gap: var(--sp-3); padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.row-d, .src, .co-list li { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }

/* ---------- Stepper: minus, the number, plus, in one 44px control (a quantity). Where a quantity can be large the number is
   an input you can type into, in the same place (Faris, 2026-11-26: one stepper; the sheets' .s2-step folded in) ---------- */
.stepper { display: inline-grid; grid-template-columns: 44px minmax(36px, auto) 44px; align-items: center; box-sizing: border-box; height: 44px; border-radius: var(--r-act); }
.stepper button { display: grid; place-items: center; height: 44px; border-radius: var(--r-act-in); font-size: var(--fs-d2); font-weight: 600; }
.stepper :is(output, input) { text-align: center; font: 700 var(--fs-l)/1 var(--f-big); }
.stepper input { box-sizing: border-box; width: 56px; min-width: 0; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: var(--r-act-in); background: none; color: inherit; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }

/* ---------- Sheet, pop-up, toast. A sheet rises from the bottom on phones with --r-l top corners (a centred pop-up on
   desktop, --r-l all round); a toast is a 44px bar with the control corner ---------- */
.s2, .sheet { border-top-left-radius: var(--r-l); border-top-right-radius: var(--r-l); }
#toast, .sync-news, .toast { min-height: 44px; box-sizing: border-box; border-radius: var(--r-act); font-size: var(--fs-m); font-weight: 600; }

/* ---------- Press feedback (motion audit #3): everything you tap gives a little as it's pressed. Zero specificity, so a
   component with its own press (the star's) keeps it ---------- */
:where(.btn-l, .btn-m, .btn-sec, .btn-s, .chip, .hchip, button.pill, a.pill, .seg button, .seg a, .ranges button, .upbtn, .lockchip, .v-qb, .cmpchip, .acc-chip, button.hbadge):active { transform: scale(.97); }
/* the taps that still gave nothing (2026-11-22, the app feeling native): their own rule starts with all: unset at a higher
   specificity than anything here, so these two win with !important, and only while the finger is down. A tile gives under
   the finger; a row or a small control dims, like an iOS button. The tab bar, segments and dots switch at once instead, as on iOS */
:is(.pk-tile, .card-f.media):active { scale: .97 !important; }
:is(.fd-rule, .scan, .mbar-brand, .fd-skip, .cmp-open, .fd-thinb, .fd-vt, .story-t, .s2-row, details > summary):active { opacity: .6 !important; }
/* a verdict that changes (a price check's ask crossing the limit) fades to its new colour instead of jumping */
.label, .badge-v, .pck-rt, .badge { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }

/* ---------- Focus (accessibility sweep, 2026-11-24): every control Tab reaches shows a ring. A part reset with all: unset lost the
   browser's; this gives it back (Show White on a moved page) at the specificity of one class, so a part that draws its own ring
   (a box-shadow, a lit tile) keeps it. A chart (.pc) draws its own ---------- */
:where(button, a[href], summary, select, [role=button], [role=tab], [role=link], [role=switch], [role=radio], [role=checkbox], [tabindex]:not([tabindex="-1"])):where(:not(.pc)):focus-visible { outline-style: solid; outline-width: 2px; }
:where(html[data-look=feed]) :where(button, a[href], summary, select, [role=button], [role=tab], [role=link], [role=switch], [role=radio], [role=checkbox], [tabindex]:not([tabindex="-1"])):where(:not(.pc)):focus-visible { outline-color: var(--fd-white); outline-offset: 2px; }   /* on a moved page every ring is Show White, as the feed's own are: a filled button's dark text colour drew none on the dark page */
label:has(> input.sr-only:focus-visible) { outline: 2px solid var(--fd-white); outline-offset: 2px; }   /* a file button (Import's Choose a file): its input is reachable by Tab, unseen, and the button it sits in shows the ring */
/* ---------- Tap area (accessibility sweep, 2026-11-24): a control drawn smaller than a finger keeps its drawn size and gets a taller
   tap area from an invisible layer over it (as Live's star and bell, 2026-11-24), 44px where the rows above and below leave room.
   Upward and downward only, so neighbours side by side keep their own. The story segments get 32: a figure sits right above them.
   Round 2: the chart's locked range (All, drawn 32 in its foil edge); the card stage's condition and grade (a clear border round
   the drawn pill) and the set page's era dots are in pv/feed.css with their parts ---------- */
:is(.ss-seg button, .mbar-brand, .wl-brand, :is(button, a).fd-rule, button.story-t, .segs > button, .ranges button.lockd) { position: relative; }
:is(.ss-seg button, .mbar-brand, .wl-brand, :is(button, a).fd-rule, button.story-t, .ranges button.lockd)::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 44px); translate: 0 -50%; }
.segs > button::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 32px; translate: 0 -50%; }
/* a range behind Pro (.lockd, the kit's: its size lives here): on the moved pages its word in the foil edge, drawn 32 (pv/feed.css), with the
   tap layer above; on Pulse pages a padlock after its word (access.css colours it) */
.ranges button.lockd::after { content: ''; display: inline-block; width: 7px; height: 9px; margin-left: var(--sp-1); border-radius: 1.5px; background: currentColor; vertical-align: -1px; box-shadow: 0 -3px 0 -1px var(--surface), 0 -4px 0 0 currentColor; }
/* ---------- Ruler, slim (.zg.slim, UI.pricePos(..., 'slim'); Faris, 2026-11-26: the Ruler everywhere, Price position folded in): a list's
   rows and a pick card. The Ruler's thin track of zones, the price a round marker on it (the row shows its figure), the two marks
   named under it (Good, Top); no ticks and no zone words (its label says them) ---------- */
.zg.slim { position: relative; }
.zg.slim .zg-dot { position: absolute; top: 3px; left: var(--at); width: 12px; height: 12px; border-radius: 50%; translate: -50% -50%; }
.zg.slim .zg-key { height: 16px; margin-top: var(--sp-15); }
.zg.slim .zg-key > .zg-m { top: 0; display: flex; align-items: baseline; gap: var(--sp-05); }
.zg.slim .zg-key > .zg-m::before { content: none; }
.zg.slim .zg-key { container-type: inline-size; }   /* the two marks never touch (a narrow pick card): each stays centred on its mark until it would cross the middle of Fair, then Good ends there and Top starts there, both inside the track */
.zg.slim .zg-key > .zg-m:first-child { translate: max(min(-50%, calc(16.67cqw - 100% - var(--sp-05))), -33.33cqw) 0; }
.zg.slim .zg-key > .zg-m:last-child { translate: min(max(-50%, calc(var(--sp-05) - 16.67cqw)), calc(33.33cqw - 100%)) 0; }

/* ---------- Format strip: how a listing is sold, as a band across the top of its card (edge to edge, the card's top
   corners): Buy It Now, or Auction with when it ends and its bids; "Accepts offers" at the right when it does. In a row of
   a list, .fmt-k: the same words and icon inline, no box ---------- */
.fmt-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1) var(--sp-3); flex-wrap: wrap; margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) 0;
  padding: var(--sp-25) var(--sp-4); border-radius: var(--r) var(--r) 0 0; font: 600 var(--fs-s)/1.25 var(--f-ui); }
.fmt-strip > span, .fmt-k { display: inline-flex; align-items: center; gap: var(--sp-15); } .fmt-strip svg { width: 15px; height: 15px; flex: none; }
.fmt-strip b, .fmt-k b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fmt-k { font: 600 var(--fs-xs)/1.3 var(--f-ui); } .fmt-k svg { width: 13px; height: 13px; flex: none; }
/* ---------- Page switch (.pg-sw, pulse-nav.js): the segmented control as links between a tab's pages, each with its icon.
   44 tall, icon beside the word; on a phone the icon over a short word, 52 tall ---------- */
.pg-sw .seg a { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 44px; box-sizing: border-box; }
.pg-sw .seg a svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 560px) { .pg-sw .seg a { flex-direction: column; gap: var(--sp-1); min-height: 52px; padding: var(--sp-15) 0; font-size: var(--fs-xs); } }
/* wider than a phone each word stays on one line (2026-11-24: Sealed Index, Live on eBay and Trade check broke over two lines in a 104px cell on a
   computer): the short words up to 900px, the whole words beyond it, the switch as wide as they need */
@media (min-width: 561px) { .pg-sw .seg a { white-space: nowrap; } }
@media (min-width: 561px) and (max-width: 900px) { .pg-sw .sw-l { display: none; } .pg-sw .sw-s { display: inline; } }
@media (min-width: 901px) { .pg-sw .seg { max-width: none; width: fit-content; } .pg-sw .seg a { padding-inline: var(--sp-4); } }

/* ---------- Folded in from the pages (2026-10-26): components that had their own size or shape in a page's stylesheet.
   Each moved as it was, in its old order; they look exactly as before, and now live here with the rest ---------- */
/* the sheet (pulse-sheets.css #sheet2): a centred pop-up on desktop, rising from the bottom on phones */
#sheet2 .s2 { border-radius: var(--r-l); padding: var(--sp-5); }
@media (max-width: 760px) { #sheet2 .s2 { border-radius: var(--r-l) var(--r-l) 0 0; padding-top: var(--sp-3); } }
@media (pointer: coarse), (max-width: 760px) { #sheet2 .pk-x, #upsell .pk-x { width: 44px; height: 44px; display: grid; place-items: center; } }
/* Text link (.tlink): the blue underlined link inside a sentence or a note. Its own class: the Small button is .btn-s */
.tlink { all: unset; display: inline; cursor: pointer; white-space: nowrap; font-size: var(--fs-s); font-weight: 600; color: var(--fair); text-decoration: underline; text-underline-offset: 3px; }
.tlink:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; } .tlink:active { opacity: .7; }
/* the account sheet's lead line; the sign-up sheet's two-way choice */
.acc .s2-sub { margin: 0; text-align: left; color: var(--mute); font-size: var(--fs-b); line-height: 1.5; }
.co-seg .chip { justify-content: center; height: 44px; padding: 0 var(--sp-15); white-space: normal; text-align: center; line-height: 1.15; font-size: var(--fs-xs); }
/* the price check sheet: its card header, its action bar, its three actions on a small phone */
.pck-sheet .pck-hero { height: auto; min-height: 0; grid-template-columns: 84px minmax(0, 1fr); gap: var(--sp-35); padding: var(--sp-35); }
.pck-sheet .pck-bar .s2-save { min-width: 0; white-space: nowrap; padding-left: var(--sp-25); padding-right: var(--sp-25); }
@media (max-width: 360px) { .pck-sheet .pck-acts3 .btn-s:not(.pck-bin) { padding-left: var(--sp-25); padding-right: var(--sp-25); font-size: var(--fs-xs); } }
/* the scanner's result label, floating over the camera: the card, its name and price, and what tapping it does */
/* the product picker's back and next steps (phone), and the collection's month picker */
@media (max-width: 760px) { .pick .step { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-act); background: var(--surface); color: var(--mute); flex: none; } }
.cm-pick .step { all: unset; box-sizing: border-box; cursor: pointer; width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-act); background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--dur-2), transform var(--dur-1); }
.pick .step:active { transform: scale(.95); }   /* a product's previous / next gives under the finger, as .cm-pick's does */
.lockrow { border-radius: var(--r-act-in); padding-inline: var(--sp-3); }   /* a lock row wears the foil edge (access.css), so it takes the corner and room of a part */
/* a grade's tile (PSA 10, Raw) in a card's price list; a highlighted word in the briefing; a colour key; the compare chip's remove */
.xg-badge { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-act-in); background: var(--raise); font: 700 var(--fs-label)/1.1 var(--f-big); text-align: center; color: var(--mute); letter-spacing: .02em; }
.b-pill { display: inline-block; padding: 0 .32em; margin: 0 .04em; border-radius: .32em; background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); font-weight: 700; text-decoration: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background var(--dur-2); }
.mo-k { width: 14px; height: 14px; border-radius: var(--r-xs); display: inline-block; }
.cmpchip button { all: unset; cursor: pointer; width: 24px; height: 24px; border-radius: var(--r-tag); display: grid; place-items: center; color: var(--mute); background: var(--raise); }
/* ---------- Search with suggestions (.xs-search around a .srch, its .xq-list): a combobox that suggests as you type,
   in groups (.xq-h), each a picture, a name and a line (.xq-o), the last one the search for the words alone (.xq-all).
   Explore (sets, products, cards) and Live on eBay (products, sets, eras, kinds, cards). Moved from explore.css 2026-10-29 ---------- */
.xs-search { position: relative; max-width: 760px; margin-top: var(--sp-3); }
.xs-search .srch { display: flex; align-items: center; gap: var(--sp-25); width: 100%; box-sizing: border-box; height: 48px; padding: 0 var(--sp-4); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }
.xs-search.big .srch { height: 60px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px -18px #000c; }
.xs-search .srch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 var(--fs-l) var(--f-ui); color: var(--text); }
.xs-search.big .srch input { font-size: var(--fs-lead); }
.xs-search .srch:focus-within { box-shadow: inset 0 0 0 1.5px var(--text); }
.xq-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: var(--sp-15); list-style: none; max-height: min(60vh, 520px); overflow: auto; border-radius: var(--r-act); background: var(--raise); box-shadow: 0 18px 50px #000c, inset 0 0 0 1px var(--line); }
.xq-h { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-25) var(--sp-25) var(--sp-1); font: 700 var(--fs-label) var(--f-big); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.xq-clear { font: 600 var(--fs-xs) var(--f-ui); letter-spacing: 0; text-transform: none; }
.xq-o { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; padding: var(--sp-15) var(--sp-25); border-radius: var(--r-act); cursor: pointer; color: var(--mute); }
.xq-o[aria-selected=true] { background: color-mix(in srgb, var(--text) 9%, transparent); } @media (hover: hover) and (pointer: fine) { .xq-o:hover { background: color-mix(in srgb, var(--text) 9%, transparent); } }
/* every row's name starts at one line (overnight 2026-11-24): the picture is a 44px column, a box's square, a card's own shape (.tall,
   its art its frame), a set's logo or the clock of words searched centred in it; the quick search (pulse-search.js) draws these rows too.
   The picture is the Add sheet's (Faris, 2026-11-25: one product row): a box whole on the row, no white plate; a card 40 by 56 */
.xq-o img { flex: none; width: 44px; height: 44px; margin: 0; padding: 0; object-fit: contain; border-radius: var(--r-tag); background: none; }
.xq-o img.wide { height: 32px; }
.xq-o img.tall { width: 40px; height: 56px; object-fit: cover; margin-inline: var(--sp-05); }
.xq-o > svg { flex: none; width: 44px; color: var(--faint); }
.xq-o span { min-width: 0; } .xq-o b { display: block; font-size: var(--fs-m); font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .xq-o small { font-size: var(--fs-xs); color: var(--mute); }
.xq-all { border-top: 1px solid var(--line); margin-top: var(--sp-1); border-radius: 0 0 var(--r-act-in) var(--r-act-in); } .xq-all b { color: var(--fair); }
.xq-none { padding: var(--sp-35) var(--sp-25); } .xq-none b { display: block; font-size: var(--fs-m); } .xq-none small { color: var(--mute); font-size: var(--fs-s); }
.xs-search.sm .srch { height: 44px; }   /* compact: beside other 44px controls (Live on eBay's sort and filters) */
/* Search as a layer (.xs-search.on: Explore's, Faris 2026-11-18): the bar lifted to the top of the screen with a Cancel (.btn-s .xs-cancel)
   beside it, its suggestions under it filling the screen without their card, the page under a veil (.xs-veil), the bar's place held
   (.xs-hold) so nothing behind moves. explore.js moves it there and back */
/* Segments: which of a few in one place is showing and how long until the next, as a story's: a short bar each (3px, corners a third of
   that, never round ends), the one showing filling left to right as it waits (--turn, its wait; --turn-wait, a first delay), the ones
   before it full. Each a button 22px wide for the thumb. Its colour is the text's around it */
.segs { display: flex; justify-content: center; }
.segs > button { all: unset; box-sizing: border-box; display: grid; align-items: center; width: 22px; height: 16px; padding: 0 var(--sp-05); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.segs > button > span { display: block; height: 3px; border-radius: 1px; background: color-mix(in srgb, currentColor 30%, transparent); overflow: hidden; }
.segs > button > span::after { content: ''; display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.segs > button[aria-current] > span::after { animation: seg-fill var(--turn, 4.2s) linear var(--turn-wait, 0s) both; }
.segs > button:has(~ [aria-current]) > span::after, .held .segs > button[aria-current] > span::after { animation: none; transform: none; }
:focus-within > .segs > button > span::after, .fd-still .segs > button > span::after, .xs-on .segs > button > span::after { animation-play-state: paused; } @media (hover: hover) and (pointer: fine) { :hover > .segs > button > span::after { animation-play-state: paused; } }
.segs > button:focus-visible { outline: 2px solid currentColor; outline-offset: 0; border-radius: var(--r-xs); }
@keyframes seg-fill { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .segs > button[aria-current] > span::after { animation: none; transform: none; } }
.xs-search.on { position: fixed; z-index: 5; top: calc(env(safe-area-inset-top) + var(--sp-3)); left: var(--gut, var(--sp-4)); right: var(--gut, var(--sp-4)); margin: 0; max-width: none; display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sp-2); }   /* nowrap: .big wraps, which put Cancel under the bar */
.xs-search.on .srch { flex: 1 1 auto; width: auto; min-width: 0; }
@media (min-width: 761px) { .xs-search.on { left: max(var(--gut, var(--sp-4)), calc(50% - 380px)); right: max(var(--gut, var(--sp-4)), calc(50% - 380px)); } }   /* on a computer it keeps the stage's 760px column: a price 1,100px from its name was hard to read across (overnight 2026-11-24) */
.xs-search.on .xs-cancel { flex: none; } .xs-cancel[hidden] { display: none; }
.xs-search.on .xq-list { top: calc(100% + var(--sp-3)); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.xs-veil { position: fixed; inset: 0; z-index: 4; background: var(--fd-page, var(--bg)); }
html.xs-on, html.xs-on body { overflow: hidden; overscroll-behavior: none; }
.xs-search.on .xq-list { overscroll-behavior: contain; }   /* its end never hands the scroll to the page behind (Faris, 2026-11-21) */
/* ---------- The tick on a picture tile (.lt-have > .lt-t + .lt-tick): a 32px target on the picture's corner, a quarter-height corner.
   The set page's All cards ticks a card into your Collection from the grid (2026-11-03) ---------- */
.lt-tick { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-act-in); }
.lt-tick:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.lt-tick svg { width: 16px; height: 16px; }
/* ---------- Select (the sheet's): 44 tall, the action corner, a hairline, on a moved page */
.sys select:not([multiple]):not([size]) { box-sizing: border-box; min-height: 44px; padding-left: var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-act); font: 600 var(--fs-s) var(--f-ui); }
/* ---------- Not enough data yet (.nodata, UI.noData): a section with too little to show. A clock mark, what's missing, when
   it arrives, and the section's own action when it has one. A dashed outline: a place waiting to be filled, never a made-up
   example (Faris, 2026-11-06). In the section's place, so the page doesn't jump when the data comes */
.nodata { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--sp-3); box-sizing: border-box; margin-top: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-l); border: 1px dashed; }
.nodata-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-act-in); }
.nodata-ic svg { width: 18px; height: 18px; }
.nodata-t { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 0; }
.nodata-t b { font: 700 var(--fs-b)/1.3 var(--f-ui); }
.nodata-t span { font: 500 var(--fs-s)/1.45 var(--f-ui); }
.nodata > .nodata-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.nodata > .nodata-a > * { margin: 0; }
/* ---------- Data Panel (UI.dataPanel: .src-g.blk.dp; Faris, 2026-11-24: "establish this as an actual component... TITLE, CONTENT,
   SUB CONTENT, EXTRA TEXT"). Title (h4.dp-title: .sc-ic, .dp-t > span + small, b.num) is laid out in feed.css over the old heading
   rules; here its Sub Content's parts and its Extra Text. ---------- */
.dp-sub { display: grid; gap: var(--sp-3); }
.dp-extra { margin: 0; font: 500 var(--fs-s)/1.4 var(--f-ui); }
/* Sum: terms and their total reading across, + and =, each column centred (Faris, 2026-11-24: "centre the sum") */
.dp-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--sp-2); }   /* fixed columns: two sums in a panel line up term over term */
.dp-sum.n4 { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sp-1); }
.dp-sum > span { display: grid; justify-items: center; gap: var(--sp-1); text-align: center; }
.dp-sum > span > small { font: 500 var(--fs-xs)/1.2 var(--f-ui); }
.dp-sum > i { font-style: normal; padding-bottom: var(--sp-05); }
.dp-sum + .dp-sum { padding-top: var(--sp-3); border-top: 1px solid; }
/* Arrow (UI.arrow): a change's direction beside its figure, in its colour; .dn turned down */
.ar { display: inline-block; width: .7em; height: .7em; margin-right: .12em; vertical-align: .05em; }
.ar.dn { transform: rotate(180deg); }
/* Bar tiles: a list whose figures compare, each a tile with its name, a grey line, its figure and a bar to scale; the ones that
   apply lit (.on), saying so after the name (PSA's services, the levels a card needs) */
.bt-l { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.bt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--sp-15) var(--sp-3); padding: var(--sp-3); border-radius: var(--r-act-in); }
.bt > .n { display: grid; gap: var(--sp-05); min-width: 0; font: 600 var(--fs-b)/1.2 var(--f-ui); }
.bt > .n small { font: 500 var(--fs-s)/1.3 var(--f-ui); }
.bt > .n em { margin-left: var(--sp-15); font: 700 var(--fs-label)/1 var(--f-ui); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.bt > i { position: relative; grid-column: 1 / -1; height: var(--sp-15); border-radius: var(--r-xs); }
.bt > i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: inherit; }
/* a Bar tile with a picture first (.pic: a product, 44; .pic.logo: a set's logo, 72 wide) and a name that stays one line */
.bt.pic { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; } .bt.pic.logo { grid-template-columns: 72px minmax(0, 1fr) auto; }
.bt > .bt-pic { display: grid; place-items: center; } .bt > .bt-pic > img { display: block; width: 44px; height: 44px; object-fit: contain; } .bt.logo > .bt-pic > img { width: 72px; height: 36px; }
.bt.pic > .n > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
a.bt { cursor: pointer; }

/* ---------- Measured photo (.mshots > button.mshot, the grade page's photo check; Faris, 2026-11-24: "AI grading... is this something we can
   do also?"): the card's front and back side by side, each in a card's shape (63 x 88) with a card's corner; empty, a dashed outline with
   a camera and its word (a photo that couldn't be read says why in the same place); read, the straightened card with the borders measured
   drawn on it and its side named on its corner. A tap takes it again */
.mshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); max-width: 440px; }   /* two cards a phone wide, never a desktop wide */
.mshot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1); box-sizing: border-box; width: 100%; aspect-ratio: 63 / 88; padding: var(--sp-3); border-radius: var(--r-s); border: 1px dashed; overflow: hidden; text-align: center; font: 600 var(--fs-s)/1.3 var(--f-ui); }
.mshot.on { padding: 0; border-style: solid; }
.mshot > svg { width: 24px; height: 24px; flex: none; }
.mshot > em { font: 500 var(--fs-xs)/1.4 var(--f-ui); font-style: normal; }
.mshot > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mshot > small { position: absolute; left: var(--sp-2); bottom: var(--sp-2); padding: var(--sp-05) var(--sp-2); border-radius: var(--r-tag); font: 700 var(--fs-xs)/1.3 var(--f-ui); }

/* ---------- Pokemon Center mark (.pk-pc, UI.pcMark): the Pokemon Center symbol on the bottom-right corner of a small product
   card's picture, in place of "[Pokemon Center]" in its name (Faris, 2026-11-10) */
.pk-art:has(> .pk-pc) { position: relative; }
.pk-art > .pk-pc { position: absolute; right: calc(-1 * var(--sp-1)); bottom: calc(-1 * var(--sp-1)); width: 26px; height: 26px; background: url(img/stores/pokemoncenter-mark.webp) center / contain no-repeat; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }   /* drawn as a background, so the card's picture rules never size it */
.xl-art > .pk-pc { position: absolute; right: var(--sp-1); bottom: var(--sp-1); width: 26px; height: 26px; background: url(img/stores/pokemoncenter-mark.webp) center / contain no-repeat; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }   /* on a sealed tile (UI.xlTile pc): bottom-right on every tile (Faris, 2026-11-26: "Keep it bottom right"); the owned tick takes the bottom-left */

/* ---------- a long press never selects (Faris, 2026-11-12: "holding too long to drag enables the copy and paste select tool"):
   whatever you tap or drag (buttons, links, tabs, tiles, every chart) keeps its text unselectable and opens no callout; text
   you read (sentences, figures in a sheet) stays selectable */
button, a, [role=button], [role=tab], label, summary, .plot, .pc, .lt-t, .qsw, .pk-card, .fd-reel, .seg, .ss-seg, .cx-day { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-touch-callout: none; }
/* the installed app draws behind the iPhone's status bar (Faris, 2026-11-14: "make the bar transparent"), so a card's stage runs up behind
   the clock. Every other page keeps a strip of the page's own ink there, so nothing ever scrolls under the clock unreadably; a card page
   has its own fade (.xcd-top) */
/* a stage title that picks what the page shows (.fd-pick: Collection's lists; Faris, 2026-11-16: "a drop down in the hero to select your
   diff list... or entire collection"): the title itself as the button, its chevron after it, a 44px tap; a long list name ends in … */
html[data-look=feed] .fd-cap .xp-h1:has(> .fd-pick) { display: block; overflow: visible; }
html[data-look=feed] .fd-cap .xp-h1 > .fd-pick { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--sp-15); max-width: 100%; min-height: 44px; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; -webkit-tap-highlight-color: transparent; transition: transform var(--dur-1) ease-out; }
html[data-look=feed] .fd-pick > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-look=feed] .fd-pick > svg { flex: none; width: 26px; height: 26px; }
html[data-look=feed] .fd-pick:active { transform: scale(.98); }
html[data-look=feed] :is(.fd-pick, .fd-cap .xp-h1 > .fd-pick):focus-visible { outline: 2px solid var(--fd-white); outline-offset: 2px; border-radius: var(--r-tag); }
/* a dot on a tab (Mine, while something you watch is in stock at your price; Faris, 2026-11-18): the Buy colour, round as a dot is,
   on the icon's corner in the bottom bar and after the word in the top bar */
.bottom a[data-tab] { position: relative; }
.bottom a[data-tab] > .dot { position: absolute; top: var(--sp-2); left: calc(50% + var(--sp-2)); width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 2px var(--deep); }
.tabs a[data-tab] > .dot { width: 8px; height: 8px; margin-left: var(--sp-15); border-radius: 50%; background: var(--buy); }
/* the Selection bar (.sel-bar: Collection's Select; Faris, 2026-11-17: "a floating bar... with selected #, worth as figures... then below CTA to
   SELL/MOVE/REMOVE/EXPORT/DONE"): floating glass over the bottom bar, as the Buy bar floats; the figures and Select all over one row of
   .btn-sec sharing its width. It rises once as Select comes on and sinks as it goes; the list under it never moves; it carries data-floatbar, so the page's room at its foot (--float-clear, pulse-motion.js) takes it in */
html[data-look=feed] .sel-bar { position: fixed; z-index: 31; left: var(--sp-3); right: var(--sp-3); bottom: calc(66px + env(safe-area-inset-bottom) + var(--sp-2)); max-width: 560px; margin-inline: auto; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
@starting-style { html[data-look=feed] .sel-bar { transform: translateY(calc(100% + var(--sp-4))); opacity: 0; } }
html[data-look=feed] .sel-bar.out { transform: translateY(calc(100% + var(--sp-4))); opacity: 0; pointer-events: none; }
html[data-look=feed] .sel-bar-in { display: grid; gap: var(--sp-2); padding: var(--sp-2); border-radius: var(--r-l); background: var(--fd-glass); box-shadow: inset 0 0 0 1px var(--fd-hair), 0 18px 40px -16px #000; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
/* the figures and Select all on one line, one height: the two tiles share what Select all leaves */
/* the figures, Select all and Done on one line, one height; Done is the bar's close, white (Faris, 2026-11-17: "make done a different color to indicate it's a close action") */
html[data-look=feed] .sel-bar-figs { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: stretch; gap: var(--sp-15); }
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-figs > .ss-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--sp-15); margin: 0; padding: 0; }
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-figs > .ss-stats > div { display: grid; align-content: center; gap: var(--sp-05); min-width: 0; margin: 0; padding: var(--sp-15) var(--sp-2); border: 0; border-radius: var(--r-act-in); background: var(--raise); box-shadow: none; }
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-figs > .ss-stats > div > span { font-size: var(--fs-label); line-height: 1; letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* Selected whole on a 360 phone: its label in the sentence case of the tiles' labels, not cut to Select… */
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-figs > .ss-stats > div > b { font-size: var(--fs-d2); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-figs > :is(.btn-s, .btn-sec) { display: inline-flex; align-items: center; justify-content: center; min-height: 0; margin: 0; padding: 0 var(--sp-25); }
html[data-look=feed] :is(#page, .sys) :is(#selBar, .sel-bar) .sel-bar-done { background: var(--fd-white); box-shadow: none; color: var(--fd-void); }
html[data-look=feed] .sel-bar-acts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-15); }
html[data-look=feed] .sel-bar-acts > .btn-sec { min-width: 0; min-height: 44px; padding-inline: 0; }
@media (prefers-reduced-motion: reduce) { html[data-look=feed] .sel-bar { transition: opacity var(--dur-2) ease; } @starting-style { html[data-look=feed] .sel-bar { transform: none; } } html[data-look=feed] .sel-bar.out { transform: none; } }
/* ---------- Settings list (You; Faris, 2026-11-23: "make it feel more like an iOS app when it's in a settings page"): groups, each a
   small grey heading (.set-h), a rounded list of rows (.set-l) and an optional grey note under it (.set-f). A row (.set-r, 52 tall):
   its name and a line under it (.set-n), then a value (.set-v); .go adds a chevron and opens its screen (Pushed screen); a switch
   sits at its end; .red for the one row that deletes. Never a dropdown ---------- */
.set-g { display: flex; flex-direction: column; min-width: 0; }   /* one group: its heading, its list, its note */
.set-pg { display: flex; flex-direction: column; gap: var(--sp-55); margin: var(--sp-5) var(--gut) 0; }
.set-h { margin: 0 0 var(--sp-2) var(--sp-4); line-height: 1; }   /* the Eyebrow (.eyebrow) as a group's heading */
.set-l { list-style: none; margin: 0; padding: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.set-l > li { list-style: none; margin: 0; }
.set-l:empty { display: none; }
.set-l > li + li { background: linear-gradient(var(--line), var(--line)) no-repeat right top / calc(100% - var(--sp-4)) 1px; }
.set-r { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: var(--sp-3); width: 100%; min-height: 52px; padding: var(--sp-25) var(--sp-4); color: var(--fd-white); text-decoration: none; -webkit-tap-highlight-color: transparent; }
:is(button, a, label).set-r { cursor: pointer; }
:is(button, a).set-r:active, :is(button, a).set-r:focus-visible { background: var(--raise); outline: none; }
.set-n { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-05); }
.set-n b { font: 500 var(--fs-l)/1.3 var(--fd-ui); color: var(--fd-white); }
.set-n small { font: 400 var(--fs-s)/1.35 var(--fd-ui); color: var(--fd-fog); }
.set-v { flex: 0 1 auto; min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 var(--fs-b)/1.3 var(--fd-ui); color: var(--fd-fog); }
.set-r.go::after { content: ''; flex: none; width: 7px; height: 7px; margin: 0 var(--sp-05) 0 var(--sp-05); border-top: 2px solid var(--fd-fog); border-right: 2px solid var(--fd-fog); transform: rotate(45deg); }
.set-r.red .set-n b { color: var(--bad); }
.set-n:has(+ .set-v) { flex-shrink: 0; max-width: 100%; }   /* a name beside a value stays one line: the value gives way (ellipsis), as iOS's */
.set-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-r[role=radio] { cursor: pointer; }
.set-r:is([role=radio], :has(> .set-n[role=radio]))::after { content: ''; flex: none; width: 12px; height: 6px; margin: 0 var(--sp-1) var(--sp-05); border-left: 2px solid var(--fd-white); border-bottom: 2px solid var(--fd-white); transform: rotate(-45deg); opacity: 0; }   /* one of a few (Which offers count): a tick at its end on the one in use */
.set-r:is([role=radio][aria-checked=true], :has(> .set-n[role=radio][aria-checked=true]))::after { opacity: 1; }   /* a row that holds a box you type in names its radio on its name (Bulk alerts' percent) */.set-r.do .set-n b { color: var(--buy); }   /* a row that does something there and then (Sign out, Send a test alert, Save) */
.set-r :is(input[type=text], input[type=email], input[inputmode]) { all: unset; flex: 1 1 auto; min-width: 0; min-height: 44px; color: var(--fd-white); font: 400 var(--fs-l)/44px var(--fd-ui); text-align: right; }   /* typed straight into its row, as iOS's */
.set-r :is(input[type=text], input[type=email], input[inputmode])::placeholder { color: var(--fd-fog); }
.set-r :is(input[type=text], input[type=email], input[inputmode]):focus-visible { outline: 2px solid var(--fd-white); outline-offset: 2px; border-radius: var(--r-xs); }   /* the box you type in shows where you are (all: unset took the browser's ring) */
.set-r input[inputmode=decimal] { flex: 0 0 6ch; }   /* a number keeps beside its unit */
.set-r .set-v + input[inputmode=decimal] { flex-basis: 5ch; text-align: left; }   /* $ before it */
.set-r .btn-s { flex: none; white-space: nowrap; }
.set-r input[type=time] { all: unset; flex: none; min-height: 44px; color: var(--fd-fog); font: 400 var(--fs-l)/44px var(--fd-ui); text-align: right; color-scheme: dark; cursor: pointer; }   /* a time picked on the row, as iOS's */
.set-f { margin: var(--sp-2) var(--sp-4) 0; font: 400 var(--fs-s)/1.4 var(--fd-ui); color: var(--fd-fog); }
.set-g[data-pro] > .set-l { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; box-shadow: none; }   /* a Pro group (You's Plan on Free): the list wears the foil edge itself, its one Unlock at the row's end; no Pro mark inside */
.set-r > .upbtn { flex: none; margin: 0; }
.set-pg[role=tabpanel].in { animation: set-in var(--dur-3) var(--ease-out); }   /* a tab's list fading in as the tab changes; the tabs over it hold still */
@keyframes set-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .set-pg[role=tabpanel].in { animation: none; } }

/* ---------- Pushed screen (.push): a setting's own screen, sliding in from the right over its list as an iOS app's does; its bar
   (.push-bar) has "< You" (.push-back, the way back; the phone's Back and the installed app's edge swipe close it too) and its title
   (.push-t); its content scrolls on its own (.push-in), so the list under it never moves. The bottom bar stays ---------- */
.push { position: fixed; z-index: 30; top: 0; left: 0; right: 0; bottom: var(--push-b, 0px); display: flex; flex-direction: column; background: var(--fd-page); }
.push.in { animation: push-in var(--dur-4) var(--ease-drawer); }
.push.out { animation: push-in var(--dur-3) var(--ease-drawer) reverse forwards; }
@keyframes push-in { from { transform: translateX(100%); box-shadow: -12px 0 30px rgba(0, 0, 0, .4); } to { transform: none; } }
.push-bar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding: env(safe-area-inset-top, 0px) var(--sp-2) 0; border-bottom: 1px solid var(--line); }
.push-back { justify-self: start; display: inline-flex; align-items: center; gap: var(--sp-15); -webkit-tap-highlight-color: transparent; }   /* a small secondary button (.btn-s): the chevron, then You */
.push-back::before { content: ''; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: var(--sp-05); }
.push-t { margin: 0; font: 600 var(--fs-lead)/1.2 var(--fd-ui); color: var(--fd-white); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.push-in { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-5) var(--gut) var(--sp-7); }
.push-in > .set-pg { margin: 0; }
@media (prefers-reduced-motion: reduce) { .push.in, .push.out { animation: none; } }

@media (display-mode: standalone) {
  body::before { content: ''; position: fixed; z-index: 32; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: var(--deep); pointer-events: none; }
  :root[data-xcd] body::before { display: none; }
}

