/* sst-qo-raw-tab-20261202: "RAW" top tab after PSA10 + panel (PSA10 filter area | raw single card grid).
 * The filter area reuses the PSA10 classes (.sst-psa-side…, .sst-psa-stock…, .sst-psa-price… from sidebar.css); the
 * box look that the live PSA10 tab gets from rules scoped to its .sst-qo__group is repeated here for .sst-raw-side
 * (values measured on the live PSA10 tab 12/02: search 38px, boxes 1px #e8e8e8 + 12px padding, selects 38px).
 */
.sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] {
  --tt-font: "SST Tab Archivo Black", "Archivo Black", "Arial Black", var(--sst-font, sans-serif);
  --tt-ls: .04em;
  --tt-fill: #5a648c; --tt-fill-on: #1e2a5a;
  --tt-bar: #1e2a5a;
  appearance: none;
  flex: 0 0 auto;
  min-height: 62px !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--tt-font) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  font-synthesis-weight: none;
  line-height: 1.1 !important;
  letter-spacing: var(--tt-ls) !important;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tt-fill) !important;
  -webkit-text-fill-color: var(--tt-fill);
  cursor: pointer;
}
.sst-qo [data-qo-family-tabs] > [data-sst-raw-tab]:is(:hover, [aria-pressed="true"]) { color: var(--tt-fill-on) !important; -webkit-text-fill-color: var(--tt-fill-on); }
.sst-qo [data-qo-family-tabs] > [data-sst-raw-tab][aria-pressed="true"] { border-bottom-color: var(--tt-bar) !important; }
.sst-qo [data-qo-family-tabs] > [data-sst-raw-tab]:focus-visible { outline: 2px solid var(--sst-focus, #1f6feb) !important; outline-offset: -3px !important; }
html[data-sst-theme="dark"] .sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] { --tt-fill: #8f9cc9; --tt-fill-on: #c9d4ff; --tt-bar: #c9d4ff; }
@media (min-width: 750px) and (max-width: 1599px) { .sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] { font-size: 20px !important; } }
@media (min-width: 750px) and (max-width: 1439px) { .sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] { font-size: 19px !important; padding-left: 14px !important; padding-right: 14px !important; } }
@media (max-width: 749px) { .sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] { min-height: 50px !important; padding: 10px 12px !important; font-size: 17px !important; } }
@media (prefers-reduced-motion: no-preference) { .sst-qo [data-qo-family-tabs] > [data-sst-raw-tab] { transition: color .15s ease, border-color .15s ease; } }

/* tab open: hide the product view (same set as the COUPONS shell) */
.sst-raw-panel[hidden] { display: none !important; }
.sst-raw--open .sst-qo__group,
.sst-raw--open .sst-top-block,
.sst-raw--open [data-qo-subgroup-tabs],
.sst-raw--open [data-qo-damaged-grade-tabs],
.sst-raw--open .sst-qo__count-top { display: none !important; }
/* 12/03 live test: Pokemon > All keeps its PSA10 part shown by box-toolbar.css
   (html body .sst-qo .sst-qo__group.sst-psa-side-on.sst-qo-in-all {display:block!important}) -> id-level here */
.sst-qo.sst-raw--open .sst-qo__group:not(#sst-raw-never),
.sst-qo.sst-raw--open .sst-top-block:not(#sst-raw-never),
.sst-qo.sst-raw--open [data-qo-subgroup-tabs]:not(#sst-raw-never),
.sst-qo.sst-raw--open [data-qo-damaged-grade-tabs]:not(#sst-raw-never),
.sst-qo.sst-raw--open .sst-qo__count-top:not(#sst-raw-never) { display: none !important; }
.sst-raw--open [data-qo-family-tabs] [data-qo-family-tab] { border-bottom-color: transparent !important; transition: none !important; }

/* ---- panel: 240px filter column | cards (PSA10: 240px + 20px gap; 200px + 14px at 901–1200) */
.sst-raw-panel {
  --raw-ink: #1a1a1a;
  --raw-muted: #6b6b6b;
  --raw-line: #e8e8e8;
  --raw-field: #d9d9d9;
  --raw-bg: #fff;
  --raw-soft: #fafafa;
  --raw-price: #9e2c5f;
  --raw-ok: #1f7a3f;
  --raw-sold: #9a9a9a;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  min-width: 0;
  padding: 20px 0 40px;
  color: var(--raw-ink);
  font-family: var(--sst-font, sans-serif);
}
html[data-sst-theme="dark"] .sst-raw-panel {
  --raw-ink: #ececec;
  --raw-muted: #a7a7a7;
  --raw-line: #2c2c30;
  --raw-field: #3a3a3f;
  --raw-bg: #1a1a1c;
  --raw-soft: #202023;
  --raw-price: #e06a9d;
  --raw-ok: #5fcf8a;
  --raw-sold: #6f6f6f;
}
@media (min-width: 901px) and (max-width: 1200px) {
  .sst-raw-panel { grid-template-columns: 200px minmax(0, 1fr); column-gap: 14px; }
}

/* ---- left column, desktop: sticky; search + filter box stay, the category list scrolls (psa-search-side) */
@media (min-width: 901px) {
  .sst-raw-panel > .sst-raw-side {
    position: sticky; top: 72px; max-height: calc(100vh - 84px);
    display: flex; flex-direction: column; min-width: 0;
  }
  .sst-raw-side > .sst-raw-searchwrap, .sst-raw-side > .sst-raw-tb { flex: none; }
  .sst-raw-side > .sst-psa-side__panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.sst-raw-searchwrap { position: relative; display: block; width: 100%; margin: 0 0 10px; }
.sst-qo input.sst-raw-search {
  display: block; box-sizing: border-box; width: 100% !important; min-width: 0 !important; height: 38px; min-height: 0; margin: 0;
  padding: 0 13px; border: 1px solid var(--raw-field); border-radius: 2px; background: var(--raw-bg); color: var(--raw-ink);
  font: 400 12px/18.6px var(--sst-font, sans-serif); box-shadow: none; outline-offset: 0;
}
.sst-qo input.sst-raw-search::placeholder { color: #757575; opacity: 1; }
.sst-qo .sst-raw-tb {
  display: block !important; box-sizing: border-box; width: auto; margin: 0 0 10px; padding: 12px;
  border: 1px solid var(--raw-line); border-radius: 0; background: var(--raw-bg); box-shadow: none;
}
.sst-raw-tb > .sst-qo__filters { display: flex !important; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; gap: 12px; margin: 0; padding: 0; }
.sst-raw-tb .sst-psa-stock { align-self: stretch; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 8px; }
.sst-qo .sst-raw-tb select.sst-raw-sort { padding: 0 28px 0 10px !important; }
.sst-raw-tb .sst-psa-price[hidden] { display: none; }
.sst-qo select.sst-raw-sort {
  display: block; box-sizing: border-box; width: 100%; min-width: 0; height: 38px; margin: 0;
  padding: 0 28px 0 10px; border: 1px solid var(--raw-field); border-radius: 2px; background-color: var(--raw-bg); color: var(--raw-ink);
  font: 600 11px var(--sst-font, sans-serif) !important;
}
.sst-raw-side > .sst-psa-side__panel { box-sizing: border-box; padding: 12px; border: 1px solid var(--raw-line); background: var(--raw-bg); }
.sst-raw-side .sst-psa-side__sec > .sst-psa-side__head.is-empty { opacity: .5; cursor: default; }

/* ---- head */
.sst-raw-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.sst-raw-crumb { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.sst-raw-count { color: var(--raw-muted); font-size: 13px; }
.sst-raw-mtools:empty { display: none; }

/* ---- cards: same feel as the PSA10 cards (centred name, info box, − 0 + stepper from sidebar.css) */
.sst-raw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.sst-raw-card {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; box-sizing: border-box;
  padding: 8px; border: 1px solid var(--raw-line); background: var(--raw-bg);
}
.sst-raw-card__img { display: block; aspect-ratio: 63 / 88; overflow: hidden; background: var(--raw-soft); }
.sst-raw-card__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sst-raw-card__name {
  min-height: calc(2 * 1.4em); color: inherit; text-decoration: none; text-align: center;
  font-size: 12px; font-weight: 500; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (hover: hover) { .sst-raw-card__name:hover { text-decoration: underline; } }
.sst-raw-card__buy {
  display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin-top: auto;
  padding: 6px; border: 1px solid var(--raw-line); background: var(--raw-soft); text-align: center;
}
.sst-raw-card__stock { color: var(--raw-ok); font-size: 11px; font-weight: 650; }
.sst-raw-card__price { color: var(--raw-price); font-size: 15px; font-weight: 700; line-height: 1.3; }
.sst-raw-card .sst-raw-qty { margin-top: 6px !important; }
.sst-raw-card.is-sold .sst-raw-card__stock, .sst-raw-card.is-sold .sst-raw-card__price { color: var(--raw-sold); }
.sst-raw-card.is-sold .sst-raw-card__img { opacity: .5; }
.sst-raw-card.is-picked { border-color: var(--raw-price); box-shadow: 0 0 0 1px var(--raw-price) inset; }
.sst-raw-status { padding: 16px 0; color: var(--raw-muted); font-size: 14px; }
.sst-raw-status:empty { display: none; }
.sst-raw-more { display: block; margin: 8px auto 0; }
.sst-raw-more[hidden] { display: none !important; }
.sst-raw-sentinel { height: 1px; }
.sst-qo .sst-raw-btn {
  appearance: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; max-width: 100%; padding: 6px 16px; margin-top: 6px;
  border: 1px solid var(--raw-ink); border-radius: 2px; background: transparent; color: var(--raw-ink);
  font: 600 12px/1.2 var(--sst-font, sans-serif); white-space: nowrap; text-decoration: none; cursor: pointer;
}
@media (hover: hover) { .sst-qo .sst-raw-btn:hover { background: var(--raw-ink); color: var(--raw-bg); } }

/* ---- phones / narrow: "Box / Set" drawer (sidebar.css toggle + psa-side-drawer.js), search + filters above the cards */
@media (max-width: 900px) {
  .sst-raw-panel { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .sst-raw-side { margin: 0 0 12px; }
  .sst-raw-mtools .sst-raw-searchwrap { margin: 0 0 10px; }
  .sst-qo .sst-raw-mtools input.sst-raw-search { height: 42px; font-size: 16px; } /* 16px: no iOS zoom */
  .sst-qo .sst-raw-mtools .sst-raw-tb { margin: 0 0 12px; padding: 10px 12px; }
  .sst-raw-mtools .sst-raw-tb > .sst-qo__filters { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; }
  .sst-raw-mtools .sst-raw-tb .sst-psa-stock { grid-column: 1 / -1; flex-direction: row; gap: 6px 18px; }
  .sst-raw-mtools .sst-raw-tb .sst-psa-price { grid-column: 1 / -1; }
  .sst-raw-mtools .sst-raw-tb .sst-raw-sort { grid-column: 1 / -1; height: 40px; font-size: 13px !important; }
  .sst-raw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sst-raw-crumb { font-size: 16px; }
}

/* ---- sst-qo-raw-photos-20261204 (owner 12/04): a card with 2+ pictures (official first, then our own photos of the
 * copy) = a sideways strip inside the SAME picture space + ‹ › on the picture + dots. One picture = nothing changes. */
.sst-raw-card__media { position: relative; }
.sst-raw-card__track {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sst-raw-card__track::-webkit-scrollbar { display: none; }
/* sst-qo-raw-photo-slide-20261204: each photo in its own slide; the slide (never turned, overflow hidden) is the snap child */
.sst-raw-card__img .sst-raw-card__track > .sst-raw-card__slide {
  display: block; position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.sst-raw-card__img .sst-raw-card__track img {
  display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none;
}
/* sst-qo-raw-photo-turn-20261204: a sideways real photo (wider than tall) turned upright inside its own space */
.sst-raw-card__img .sst-raw-card__track img.is-turned { transform: rotate(90deg) scale(var(--raw-turn, 1.333)); }
html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never) {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid !important; place-items: center; box-sizing: border-box !important;
  width: 30px !important; height: 30px !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important;
  border: 1px solid var(--raw-line) !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, .9) !important; color: var(--raw-ink) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14) !important;
  font-size: 0 !important; line-height: 0 !important; cursor: pointer; opacity: .88;
  transition: opacity .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
html body .sst-qo .sst-raw-card__nav.is-prev:not(#sst-raw-never) { left: 6px; right: auto; }
html body .sst-qo .sst-raw-card__nav.is-next:not(#sst-raw-never) { right: 6px; left: auto; }
.sst-raw-card__nav svg {
  display: block; width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) {
  html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never):hover { opacity: 1; background: #fff !important; }
}
html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never):active { transform: translateY(-50%) scale(.94); }
html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never):focus-visible { outline: 2px solid var(--raw-price); outline-offset: 2px; opacity: 1; }
html[data-sst-theme="dark"] body .sst-qo .sst-raw-card__nav:not(#sst-raw-never) {
  background: rgba(26, 26, 28, .88) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .45) !important;
}
@media (hover: hover) {
  html[data-sst-theme="dark"] body .sst-qo .sst-raw-card__nav:not(#sst-raw-never):hover { background: #2a2a2e !important; }
}
.sst-raw-card__dots {
  position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1;
  display: flex; justify-content: center; gap: 5px; pointer-events: none;
}
.sst-raw-card__dots i {
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
  transition: background-color .15s ease, transform .15s ease;
}
.sst-raw-card__dots i.is-on { background: var(--raw-price); transform: scale(1.2); }
html[data-sst-theme="dark"] .sst-raw-card__dots i { background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
html[data-sst-theme="dark"] .sst-raw-card__dots i.is-on { background: var(--raw-price); }
.sst-raw-card.is-sold .sst-raw-card__nav, .sst-raw-card.is-sold .sst-raw-card__dots { opacity: .6; }
@media (max-width: 749px) {
  html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never) { width: 28px !important; height: 28px !important; }
  html body .sst-qo .sst-raw-card__nav.is-prev:not(#sst-raw-never) { left: 4px; }
  html body .sst-qo .sst-raw-card__nav.is-next:not(#sst-raw-never) { right: 4px; }
}

/* ---- sst-qo-raw-filters-20261204 (owner 12/04, boss): left bar = 年代 / 発売年 / 属性 / ポケモン instead of box / set.
 * Same look as the PSA10 side (pill chips, --side-* colours from sidebar.css). Theme buttons carry min-height 40px +
 * !important colours, so the option buttons are set at id level (:not(#sst-raw-never)). */
.sst-raw-facet__body { padding: 2px 0 12px; }
.sst-raw-facet__body[hidden] { display: none !important; }
.sst-raw-facet__body--year, .sst-raw-facet__body--type { display: grid; gap: 6px; }
.sst-raw-facet__body--year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sst-raw-facet__body--type { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sst-raw-facet__body--era, .sst-raw-facet__body--dex { display: flex; flex-direction: column; gap: 2px; }
html body .sst-qo .sst-raw-opt:not(#sst-raw-never) {
  appearance: none; box-sizing: border-box; display: flex; align-items: center; gap: 6px;
  width: 100%; min-width: 0; min-height: 32px !important; height: auto !important; margin: 0 !important; padding: 5px 8px !important;
  border: 1px solid transparent !important; border-radius: 3px !important; background: transparent !important; box-shadow: none !important;
  color: var(--side-ink, #1e2a5a) !important; font: 600 12px/1.25 var(--sst-font, sans-serif) !important;
  text-align: left; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s, color .15s;
}
html body .sst-qo .sst-raw-opt:not(#sst-raw-never)[hidden] { display: none !important; }
.sst-raw-opt__label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sst-raw-opt__sub { flex: none; color: var(--side-muted, #6b6b6b); font-size: 11px; font-weight: 500; }
.sst-raw-opt__n { flex: none; min-width: 1.6em; color: var(--side-muted, #6b6b6b); font-size: 11px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
/* rows (年代 / ポケモン): a tick box in front */
.sst-raw-opt--era::before, .sst-raw-opt--dex::before {
  content: ""; flex: none; box-sizing: border-box; width: 15px; height: 15px; margin-right: 2px;
  border: 1.5px solid var(--side-btn-line, #d9d9d9); border-radius: 3px; background: var(--raw-bg, #fff) center / 11px no-repeat;
}
.sst-raw-opt--era[aria-pressed="true"]::before, .sst-raw-opt--dex[aria-pressed="true"]::before {
  border-color: var(--side-on, #9e2c5f);
  background-color: var(--side-on, #9e2c5f);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* chips (発売年 / 属性): bordered like the PSA10 popular chips */
html body .sst-qo :is(.sst-raw-opt--year, .sst-raw-opt--type):not(#sst-raw-never) {
  justify-content: center; border-color: var(--side-btn-line, #d9d9d9) !important; border-radius: 999px !important; background: var(--raw-bg, #fff) !important; padding: 5px 8px !important;
}
html body .sst-qo .sst-raw-opt--year:not(#sst-raw-never) { gap: 4px; font-variant-numeric: tabular-nums; }
.sst-raw-opt--year .sst-raw-opt__label { flex: 0 1 auto; }
.sst-raw-opt--year .sst-raw-opt__n, .sst-raw-opt--type .sst-raw-opt__n { min-width: 0; font-size: 10px; }
.sst-raw-opt--type .sst-raw-opt__label { flex: 1 1 auto; }
.sst-raw-opt--type::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--raw-type, #bdbdbd); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12) inset; }
.sst-raw-type--grass { --raw-type: #43a047; }
.sst-raw-type--fire { --raw-type: #e5533d; }
.sst-raw-type--water { --raw-type: #2f80ed; }
.sst-raw-type--lightning { --raw-type: #f2c200; }
.sst-raw-type--psychic { --raw-type: #9b51e0; }
.sst-raw-type--fighting { --raw-type: #b5651d; }
.sst-raw-type--darkness { --raw-type: #34495e; }
.sst-raw-type--metal { --raw-type: #8e9ba8; }
.sst-raw-type--dragon { --raw-type: #b8962e; }
.sst-raw-type--fairy { --raw-type: #e57fae; }
.sst-raw-type--colorless { --raw-type: #e4e4e4; }
.sst-raw-type--other { --raw-type: transparent; }
.sst-raw-type--other::before { box-shadow: 0 0 0 1px var(--side-btn-line, #d9d9d9) inset; }
@media (hover: hover) {
  html body .sst-qo .sst-raw-opt:not(#sst-raw-never):not(:disabled):hover { background: var(--side-soft, #eef1fb) !important; color: var(--side-on, #9e2c5f) !important; }
  html body .sst-qo :is(.sst-raw-opt--year, .sst-raw-opt--type):not(#sst-raw-never):not(:disabled):hover { border-color: var(--side-on, #9e2c5f) !important; }
}
html body .sst-qo :is(.sst-raw-opt--year, .sst-raw-opt--type):not(#sst-raw-never)[aria-pressed="true"] {
  background: var(--side-on, #9e2c5f) !important; border-color: var(--side-on, #9e2c5f) !important; color: #fff !important;
}
:is(.sst-raw-opt--year, .sst-raw-opt--type)[aria-pressed="true"] .sst-raw-opt__n { color: rgba(255, 255, 255, .85); }
.sst-raw-opt--type[aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px #fff; }
html body .sst-qo :is(.sst-raw-opt--era, .sst-raw-opt--dex):not(#sst-raw-never)[aria-pressed="true"] { color: var(--side-on, #9e2c5f) !important; }
html body .sst-qo .sst-raw-opt:not(#sst-raw-never):disabled { opacity: .4; cursor: default; }
html body .sst-qo .sst-raw-opt:not(#sst-raw-never):focus-visible { outline: 2px solid var(--side-on, #9e2c5f) !important; outline-offset: 1px !important; }
.sst-qo input.sst-raw-dexfind {
  display: block; box-sizing: border-box; width: 100% !important; height: 32px; min-height: 0; margin: 0 0 6px;
  padding: 0 10px; border: 1px solid var(--raw-field); border-radius: 2px; background: var(--raw-bg); color: var(--raw-ink);
  font: 400 12px/1.2 var(--sst-font, sans-serif); box-shadow: none;
}
.sst-qo input.sst-raw-dexfind::placeholder { color: #757575; opacity: 1; }
html[data-sst-theme="dark"] body .sst-qo :is(.sst-raw-opt--year, .sst-raw-opt--type):not(#sst-raw-never):not([aria-pressed="true"]) { background: #232326 !important; }
html[data-sst-theme="dark"] .sst-raw-type--darkness { --raw-type: #6c7a89; }

/* chosen filters above the cards (each × takes one away) */
.sst-raw-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
.sst-raw-active[hidden], .sst-raw-crumb[hidden] { display: none !important; }
html body .sst-qo .sst-raw-chip:not(#sst-raw-never) {
  appearance: none; display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box;
  min-height: 30px !important; height: auto !important; margin: 0 !important; padding: 4px 10px 4px 12px !important;
  border: 1px solid var(--raw-price) !important; border-radius: 999px !important; background: var(--raw-bg) !important; box-shadow: none !important;
  color: var(--raw-price) !important; font: 650 12px/1.2 var(--sst-font, sans-serif) !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
}
html body .sst-qo .sst-raw-chip:not(#sst-raw-never)::after { content: "×"; font-size: 15px; font-weight: 500; line-height: 1; }
html body .sst-qo .sst-raw-chip--clear:not(#sst-raw-never) { border-color: transparent !important; color: var(--raw-muted) !important; text-decoration: underline; padding-left: 6px !important; }
html body .sst-qo .sst-raw-chip--clear:not(#sst-raw-never)::after { content: none; }
@media (hover: hover) { html body .sst-qo .sst-raw-chip:not(#sst-raw-never):not(.sst-raw-chip--clear):hover { background: var(--raw-price) !important; color: #fff !important; } }

/* "Show N cards" = phones only, at the foot of the drawer */
.sst-qo .sst-raw-showbtn { display: none; }
@media (max-width: 900px) {
  html body .sst-qo .sst-raw-showbtn:not(#sst-raw-never) {
    display: flex; position: sticky; bottom: 0; z-index: 2; width: 100%; min-height: 46px !important; margin: 14px 0 0 !important;
    border: 0 !important; border-radius: 4px !important; background: var(--side-on, #9e2c5f) !important; color: #fff !important;
    font: 700 14px/1.2 var(--sst-font, sans-serif) !important; box-shadow: 0 -6px 14px rgba(0, 0, 0, .12) !important;
  }
  html body .sst-qo .sst-raw-opt:not(#sst-raw-never) { min-height: 38px !important; font-size: 13px !important; }
  .sst-qo input.sst-raw-dexfind { height: 38px; font-size: 16px; }   /* 16px: no iOS zoom */
}

/* sst-qo-raw-photo-swipe-20261205 (owner 12/05: swipe / drag the pictures, good feel on phones): the strip takes
 * sideways moves itself (JS follows the finger / mouse and settles on a picture); up/down stays the page's scroll. */
.sst-raw-card__track, .sst-raw-card__media .sst-raw-card__nav { touch-action: pan-y; }
.sst-raw-card__track.is-dragging { scroll-behavior: auto; }
@media (hover: hover) and (pointer: fine) {
  .sst-raw-card__track { cursor: grab; }
  .sst-raw-card__track.is-dragging { cursor: grabbing; }
}
/* phones: a bigger target round ‹ › (the look stays 28px; the touch area grows to 40px) and clearer dots */
@media (max-width: 749px) {
  html body .sst-qo .sst-raw-card__nav:not(#sst-raw-never)::before { content: ""; position: absolute; inset: -6px; }
  .sst-raw-card__dots { bottom: 5px; gap: 6px; }
  .sst-raw-card__dots i { width: 7px; height: 7px; }
}
