/*
 * ps__search : interface client.
 * Parti pris : une interface monochrome qui laisse les photos produits porter la couleur ;
 * un seul élément mémorable, l'arc de flacons ; l'or est réservé au produit mis en avant et à la réglette de prix.
 */

.pss-root {
  --pss-ink: #000;
  --pss-paper: #fff;
  --pss-well: #f3f3f1;
  --pss-line: #e4e4e1;
  --pss-mute: #6d6d6a;
  --pss-gold: #b8975a;
  --pss-accent: #000;
  --pss-radius: 2px;
  --pss-font: inherit;
  --pss-ease: cubic-bezier(.2, .7, .1, 1);
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  font-family: var(--pss-font);
  color: var(--pss-ink);
  -webkit-font-smoothing: antialiased;
}
.pss-root[data-theme="dark"] {
  --pss-ink: #f5f5f3;
  --pss-paper: #121212;
  --pss-well: #1d1d1c;
  --pss-line: #2e2e2c;
  --pss-mute: #a2a29e;
}
.pss-root.is-open { display: block; }
.pss-root *, .pss-root *::before, .pss-root *::after { box-sizing: border-box; }
.pss-root button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.pss-root a { color: inherit; text-decoration: none; }
.pss-root :focus-visible { outline: 2px solid var(--pss-gold); outline-offset: 2px; }
.pss-root p, .pss-root li, .pss-root span, .pss-root label { color: inherit; }
.pss-root mark { padding: 0; background: none; }
.pss-root img { max-width: none; }
.pss-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pss-panel {
  position: absolute;
  inset: 0;
  background: var(--pss-paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: pss-in .28s var(--pss-ease);
}
/* ---------- ordinateur : la recherche s'ouvre dans une fenêtre au-dessus du site assombri ---------- */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .pss-root.is-open { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: pss-fade .2s ease; }
  .pss-panel {
    inset: auto;
    top: 32px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(1240px, calc(100vw - 64px));
    height: calc(100vh - 64px);
    max-height: 900px;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  }
  .pss-head { border-radius: 12px 12px 0 0; }
}
@keyframes pss-fade { from { background: rgba(0, 0, 0, 0); } }
@keyframes pss-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- barre de saisie ---------- */
.pss-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--pss-paper);
}
.pss-head-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pss-field { position: relative; flex: 1; min-width: 0; border-bottom: 1px solid var(--pss-ink); }
.pss-field svg.pss-loupe { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; opacity: .85; }
.pss-input, .pss-ghost {
  font: inherit;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.01em;
  padding: 6px 40px 6px 38px;
  width: 100%;
  border: 0;
  margin: 0;
  white-space: pre;
}
.pss-root .pss-input {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  height: auto !important;
  border-radius: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}
.pss-input {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--pss-ink);
  outline: none;
  caret-color: var(--pss-gold);
}
.pss-input::placeholder { color: var(--pss-mute); opacity: .75; transition: opacity .3s; }
.pss-input.is-rotating::placeholder { opacity: 0; }
.pss-input::-webkit-search-cancel-button { display: none; }
.pss-ghost {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: var(--pss-mute);
  opacity: .45;
  overflow: hidden;
  pointer-events: none;
}
.pss-ghost b { visibility: hidden; font-weight: inherit; }
.pss-ghost-hint {
  position: absolute; right: 44px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--pss-mute); border: 1px solid var(--pss-line); padding: 2px 6px; border-radius: 3px;
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.pss-field.has-ghost .pss-ghost-hint { opacity: 1; }
.pss-clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; z-index: 3; display: none; }
.pss-field.has-value .pss-clear { display: block; }
.pss-clear svg { width: 14px; height: 14px; }
.pss-clear { color: var(--pss-mute); }
.pss-clear:hover { color: var(--pss-ink); }
.pss-close svg { width: 24px; height: 24px; }

.pss-modes {
  display: inline-flex;
  border: 1px solid var(--pss-line);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.pss-mode {
  font-size: 13px !important;
  padding: 7px 14px !important;
  border-radius: 999px;
  color: var(--pss-mute) !important;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.pss-mode[aria-pressed="true"] { background: var(--pss-ink) !important; color: var(--pss-paper) !important; }
.pss-mode .pss-spark { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
/* croix de fermeture de la recherche : nettement plus grande que la croix qui efface la saisie */
.pss-root .pss-close { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pss-well); border: 1px solid var(--pss-line); transition: background .2s, color .2s; }
.pss-root .pss-close:hover { background: var(--pss-ink); color: var(--pss-paper); border-color: var(--pss-ink); }

.pss-status:empty { min-height: 0; padding: 0; }
.pss-status { max-width: 1280px; margin: 0 auto; padding: 8px 32px 0; font-size: 13px; color: var(--pss-mute); min-height: 26px; }
.pss-status button { text-decoration: underline; text-underline-offset: 3px; }
.pss-status strong { color: var(--pss-ink); font-weight: 700; }

/* ---------- bandeau de suggestion ---------- */
.pss-suggest {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px 28px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--pss-line);
}
.pss-words { list-style: none; margin: 0; padding: 0; }
.pss-word {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px 9px 0;
  font-size: 16px;
  line-height: 1.3;
  cursor: pointer;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: border-color .15s, background .15s;
}
.pss-word mark { background: none; color: var(--pss-mute); font-weight: 400; }
.pss-word strong { font-weight: 700; }
.pss-word .pss-kind { font-size: 12px; color: var(--pss-mute); margin-left: auto; white-space: nowrap; }
.pss-word[aria-selected="true"], .pss-word:hover { border-left-color: var(--pss-gold); background: linear-gradient(90deg, var(--pss-well), transparent); }
.pss-words-title, .pss-block-title { font-size: 13px; color: var(--pss-mute); margin: 6px 0 8px; font-weight: 400; }

/* L'arc : les flacons sont posés sur un arc de cercle, le produit mis en avant au sommet. */
.pss-arc-wrap { position: relative; min-height: 380px; }
.pss-arc { position: relative; height: 340px; margin: 0 auto; max-width: 860px; }
.pss-arc svg.pss-arc-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pss-arc svg.pss-arc-line path { fill: none; stroke: var(--pss-gold); stroke-opacity: .5; stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.pss-arc-item {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: var(--pss-well);
  overflow: hidden;
  transition: transform .55s var(--pss-ease), left .55s var(--pss-ease), top .55s var(--pss-ease), opacity .4s, box-shadow .3s;
  will-change: transform;
}
.pss-arc-item img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.pss-root[data-theme="dark"] .pss-arc-item img { mix-blend-mode: normal; }
.pss-arc-item.is-focus { box-shadow: 0 0 0 2px var(--pss-paper), 0 0 0 3px var(--pss-gold); }
.pss-arc-item.is-hover { box-shadow: 0 0 0 2px var(--pss-paper), 0 0 0 3px var(--pss-ink), 0 12px 30px rgba(0, 0, 0, .18); transition: transform .28s var(--pss-ease), left .55s var(--pss-ease), top .55s var(--pss-ease), opacity .4s, box-shadow .3s; }
/* rotation de l'anneau à la souris : les positions suivent le pointeur image par image, sans transition */
.pss-arc.is-spinning .pss-arc-item { transition: opacity .15s, box-shadow .3s; }
.pss-arc-nav {
  position: absolute; z-index: 25; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid var(--pss-line) !important; background: var(--pss-paper) !important; color: var(--pss-ink);
  font-size: 22px !important; line-height: 30px; text-align: center; opacity: .55; transition: opacity .2s, border-color .2s;
}
.pss-arc-nav:hover, .pss-arc:hover .pss-arc-nav { opacity: 1; }
.pss-arc-nav:hover { border-color: var(--pss-gold) !important; }
.pss-arc-caption .f { display: block; font-size: 13px; color: var(--pss-mute); margin: 0 0 6px; }
.pss-arc-caption .b em { font-style: normal; color: var(--pss-gold); margin-left: 6px; }
.pss-arc-item.is-out img { opacity: .45; }
.pss-arc-caption {
  position: absolute;
  left: 50%;
  top: 176px;
  transform: translateX(-50%);
  text-align: center;
  width: min(400px, 60%);
  pointer-events: none;
}
.pss-arc-caption .b { display: block; font-size: 12px; letter-spacing: .08em; color: var(--pss-mute); }
.pss-arc-caption .n { display: block; font-size: 17px; line-height: 1.3; margin: 4px 0; }
.pss-arc-caption .p { font-size: 15px; font-weight: 700; }
.pss-arc-caption .p s { font-weight: 400; color: var(--pss-mute); margin-left: 8px; }
.pss-arc-for { display: none; position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 13px; color: var(--pss-mute); white-space: nowrap; }
.pss-arc-empty { text-align: center; padding-top: 110px; color: var(--pss-mute); font-size: 14px; }

.pss-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pss-chip {
  font-size: 13px !important;
  padding: 7px 13px !important;
  border: 1px solid var(--pss-line) !important;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.pss-chip:hover { border-color: var(--pss-ink) !important; }
.pss-chip[aria-pressed="true"] { background: var(--pss-ink) !important; color: var(--pss-paper) !important; border-color: var(--pss-ink) !important; }
.pss-chip.is-excluded { text-decoration: line-through; color: var(--pss-mute) !important; border-style: dashed !important; }
.pss-chip small { color: var(--pss-mute); margin-left: 4px; }
.pss-chip[aria-pressed="true"] small { color: inherit; opacity: .7; }

/* ---------- bandeau de résultats ---------- */
.pss-results {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 32px 60px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}
.pss-count { font-size: 26px; line-height: 1.2; margin: 0 0 4px; font-weight: 400; }
.pss-count b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pss-facets section { padding: 18px 0; border-top: 1px solid var(--pss-line); }
.pss-facets section:first-of-type { border-top: 0; }
.pss-facets h3 { font-size: 14px; margin: 0 0 12px; font-weight: 700; display: flex; justify-content: space-between; }
.pss-facets h3 button { font-weight: 400; font-size: 12px; color: var(--pss-mute); text-decoration: underline; }
.pss-opt-sep { border: 0; border-top: 1px solid var(--pss-line); margin: 6px 0; height: 0; }
.pss-opt-sep[hidden] { display: none; }
.pss-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; width: 100%; text-align: left; }
.pss-opt .box { width: 16px; height: 16px; border: 1px solid var(--pss-mute); border-radius: 2px; flex: none; display: grid; place-items: center; }
.pss-opt[aria-checked="true"] .box { background: var(--pss-ink); border-color: var(--pss-ink); }
.pss-opt[aria-checked="true"] .box::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--pss-paper); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.pss-opt .c { margin-left: auto; color: var(--pss-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.pss-opt.is-child { padding-left: 14px; }
.pss-filter-search { width: 100%; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 8px 10px; font: inherit; font-size: 13px; margin-bottom: 8px; background: transparent; color: inherit; }
.pss-more-opts { font-size: 13px; text-decoration: underline; color: var(--pss-mute); margin-top: 6px; }

/* réglette de prix avec histogramme */
.pss-price { position: relative; }
.pss-hist { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.pss-hist i { flex: 1; background: var(--pss-line); min-height: 2px; border-radius: 1px 1px 0 0; transition: height .3s var(--pss-ease), background .2s; }
.pss-price.is-filtered .pss-hist i.in { background: var(--pss-gold); opacity: .85; }
.pss-hist i.in { background: #cfcfcb; }
.pss-range { position: relative; height: 26px; }
.pss-range .track { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--pss-line); }
.pss-range .fill { position: absolute; top: 12px; height: 2px; background: var(--pss-gold); }
.pss-range input[type=range] {
  position: absolute; left: 0; width: 100%; top: 0; height: 26px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.pss-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pss-paper); border: 2px solid var(--pss-ink); cursor: grab;
}
.pss-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--pss-paper); border: 2px solid var(--pss-ink); cursor: grab; }
.pss-range input[type=range]::-moz-range-track { background: transparent; }
.pss-price-vals { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pss-price-vals label { flex: 1; font-size: 12px; color: var(--pss-mute); text-align: left; margin: 0; font-weight: 400; }
.pss-price-vals input { width: 100%; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 7px 8px; font: inherit; font-size: 14px; color: var(--pss-ink); background: transparent; font-variant-numeric: tabular-nums; }

.pss-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pss-active { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.pss-active .pss-chip { padding: 5px 10px !important; }
.pss-active .pss-chip::after { content: "×"; margin-left: 6px; }
.pss-sort { margin-left: auto; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--pss-mute); }
.pss-sort select { font: inherit; font-size: 13px; border: 1px solid var(--pss-line); border-radius: var(--pss-radius); padding: 7px 28px 7px 10px; background: transparent; color: var(--pss-ink); }
.pss-filters-btn { display: none; }

.pss-banner { display: block; margin-bottom: 20px; position: relative; overflow: hidden; border-radius: var(--pss-radius); }
.pss-banner img { width: 100%; display: block; }
.pss-banner span { position: absolute; left: 20px; bottom: 16px; color: #fff; font-size: 20px; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }

.pss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; list-style: none; margin: 0; padding: 0; }
.pss-card a { display: block; }
.pss-card .img { position: relative; aspect-ratio: 1; background: var(--pss-well); overflow: hidden; border-radius: var(--pss-radius); }
.pss-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .35s, transform .6s var(--pss-ease); }
.pss-root[data-theme="dark"] .pss-card .img img { mix-blend-mode: normal; }
.pss-card .img img + img { opacity: 0; }
.pss-card a:hover .img img:first-child { transform: scale(1.03); }
.pss-card a:hover .img img + img { opacity: 1; }
.pss-card .badge { position: absolute; left: 10px; top: 10px; font-size: 11px; background: var(--pss-paper); padding: 3px 7px; border-radius: 2px; }
.pss-card .badge.out { color: var(--pss-mute); }
.pss-card .brand { display: block; font-size: 11px; letter-spacing: .08em; color: var(--pss-mute); margin-top: 12px; }
.pss-card .name { display: block; font-size: 14px; line-height: 1.35; margin: 4px 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pss-card .price { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pss-card .price s { font-weight: 400; color: var(--pss-mute); margin-left: 6px; }
.pss-card mark { background: none; color: inherit; font-weight: 700; }

.pss-foot { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pss-btn {
  display: inline-block; padding: 14px 28px !important; border: 1px solid var(--pss-ink) !important; border-radius: var(--pss-radius);
  font-size: 14px !important; transition: background .2s, color .2s;
}
.pss-btn:hover, .pss-btn.is-primary { background: var(--pss-ink) !important; color: var(--pss-paper) !important; }
.pss-link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--pss-mute); }

/* écran vide et aucun résultat */
.pss-zero { max-width: 1280px; margin: 0 auto; padding: 24px 32px 60px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.pss-zero ul { list-style: none; margin: 0 0 24px; padding: 0; }
.pss-zero li button { font-size: 15px; padding: 7px 0; display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; }
.pss-zero li button svg { width: 14px; height: 14px; opacity: .5; flex: none; }
.pss-zero .pss-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pss-empty { text-align: center; padding: 30px 0 10px; }
.pss-empty p { font-size: 20px; margin: 0 0 6px; }
.pss-empty small { color: var(--pss-mute); font-size: 14px; }

/* squelettes de chargement */
.pss-skel .img { animation: pss-pulse 1.2s ease-in-out infinite; }
.pss-skel .brand, .pss-skel .name, .pss-skel .price { height: 10px; background: var(--pss-well); margin-top: 10px; width: 60%; }
@keyframes pss-pulse { 50% { opacity: .55; } }
.pss-loading .pss-grid { opacity: .55; transition: opacity .2s; }

/* ---------- recherche IA ---------- */
.pss-ai { max-width: 900px; margin: 0 auto; padding: 28px 32px 60px; }
.pss-ai-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.pss-ai-answer { font-size: 18px; line-height: 1.6; white-space: pre-wrap; min-height: 24px; }
.pss-ai-answer .cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--pss-gold); vertical-align: -3px; animation: pss-blink 1s steps(1) infinite; }
@keyframes pss-blink { 50% { opacity: 0; } }
.pss-ai-note { font-size: 12px; color: var(--pss-mute); margin-top: 18px; }
.pss-ai .pss-grid { margin-top: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pss-ai-q { font-size: 14px; color: var(--pss-mute); margin-bottom: 10px; }

/* ---------- tablette ---------- */
@media (max-width: 1100px) {
  .pss-grid, .pss-zero .pss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pss-suggest { grid-template-columns: 240px 1fr; }
}

/* ---------- mobile : plein écran, mots en pastilles, arc en carrousel incurvé, filtres en tiroir ---------- */
@media (max-width: 760px) {
  .pss-head-in { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .pss-field { order: 1; flex-basis: calc(100% - 56px); }
  .pss-close { order: 2; }
  .pss-root .pss-close { width: 44px; height: 44px; }
  .pss-modes { order: 3; width: 100%; }
  .pss-mode { flex: 1; text-align: center; }
  .pss-input, .pss-ghost { font-size: 20px; padding: 10px 36px 10px 30px; }
  .pss-field svg.pss-loupe { width: 18px; height: 18px; }
  .pss-ghost-hint { display: none; }
  .pss-status { padding: 6px 14px 0; }
  .pss-suggest { display: block; padding: 4px 0 18px; }
  .pss-words-title { display: none; }
  .pss-words { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 12px; scrollbar-width: none; }
  .pss-words::-webkit-scrollbar { display: none; }
  .pss-word { flex: none; margin: 0; padding: 9px 14px; border: 1px solid var(--pss-line); border-radius: 999px; font-size: 14px; min-height: 40px; align-items: center; }
  .pss-word .pss-kind { display: none; }
  .pss-word[aria-selected="true"], .pss-word:hover { background: var(--pss-ink); color: var(--pss-paper); border-color: var(--pss-ink); }
  .pss-word[aria-selected="true"] mark, .pss-word:hover mark { color: inherit; opacity: .7; }
  .pss-arc-wrap { min-height: 0; }
  .pss-arc { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 14px 10px; scrollbar-width: none; }
  .pss-arc::-webkit-scrollbar { display: none; }
  .pss-arc svg.pss-arc-line, .pss-arc-for, .pss-arc-caption, .pss-arc-nav { display: none; }
  .pss-arc-item { position: relative; left: auto !important; top: auto !important; margin: 0; flex: none; width: 92px; height: 92px; scroll-snap-align: center; transition: transform .2s; }
  .pss-arc-m { flex: none; width: 92px; text-align: center; scroll-snap-align: center; }
  .pss-arc-m .t { font-size: 11px; line-height: 1.3; margin-top: 8px; color: var(--pss-mute); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pss-arc-m .pr { font-size: 12px; font-weight: 700; }
  .pss-chips { padding: 0 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pss-results { display: block; padding: 18px 14px 80px; }
  .pss-count { font-size: 20px; }
  .pss-facets {
    position: fixed; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: var(--pss-paper);
    z-index: 5; padding: 8px 18px 90px; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
    transform: translateY(105%); transition: transform .35s var(--pss-ease);
  }
  .pss-facets.is-open { transform: none; }
  .pss-facets .pss-sheet-bar { display: flex !important; }
  .pss-sheet-apply { position: fixed; left: 18px; right: 18px; bottom: 16px; }
  .pss-filters-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--pss-ink) !important; padding: 9px 14px !important; border-radius: 999px; font-size: 13px !important; }
  .pss-sort span { display: none; }
  .pss-grid, .pss-zero .pss-grid, .pss-ai .pss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pss-zero { display: block; padding: 18px 14px 60px; }
  .pss-ai { padding: 18px 14px 60px; }
  .pss-ai-answer { font-size: 16px; }
}
.pss-sheet-bar { display: none; justify-content: space-between; align-items: center; padding: 10px 0 6px; position: sticky; top: -8px; background: var(--pss-paper); z-index: 1; }
.pss-sheet-bar strong { font-size: 16px; }
.pss-sheet-actions { display: flex; align-items: center; gap: 14px; }
.pss-sheet-x { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; margin-right: -8px; }
.pss-sheet-x svg { width: 20px; height: 20px; }
.pss-sheet-backdrop { display: none; }
@media (max-width: 760px) {
  .pss-sheet-x { display: inline-flex; }
  .pss-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 4; background: rgba(0, 0, 0, .38); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .pss-filters-open .pss-sheet-backdrop { opacity: 1; pointer-events: auto; }
}
.pss-sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--pss-line); margin: 6px auto 0; display: none; }
@media (max-width: 760px) { .pss-sheet-grip { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .pss-root *, .pss-panel { animation: none !important; transition: none !important; }
}
html.pss-lock, html.pss-lock body { overflow: hidden !important; }
.pss-word svg { width: 14px; height: 14px; opacity: .45; flex: none; align-self: center; }
.pss-zero { padding-top: 0; }
@media (max-width: 760px) {
  .pss-facets .pss-chips { flex-wrap: wrap; padding: 0; overflow: visible; }
  .pss-facets.is-open { box-shadow: 0 -10px 40px rgba(0, 0, 0, .18), 0 0 0 100vmax rgba(0, 0, 0, .35); }
}
.pss-ai-examples .pss-chip { white-space: normal; text-align: left; line-height: 1.35; }
.pss-ai.is-asked .pss-ai-examples, .pss-ai.is-asked .pss-ai-examples + .pss-block-title { display: none; }
.pss-ai.is-asked > .pss-block-title:first-child { display: none; }
