/* history.css - bffr.fr/shop/history et /shop/en/history (historique du stock des Dealers).
 * S'ajoute à /shop/style.css (variables, menu, pied de page). Sobre : fond uni, cartes plates à bordure fine,
 * aucun halo ni dégradé décoratif. Une seule teinte par graphique : celle du marchand filtré (Dealer = sarcelle,
 * Mirage = violet, comme sur /shop), blanc neutre quand les deux sont affichés ; l'intensité dit la quantité. */

.sh-page { background: var(--bg); }
/* 2026-12-02 (retour ratox sur iPhone : « on ne peut pas scroller jusqu'au bout ») : /shop/style.css pose
   overflow-x: hidden sur body, ce qui en fait sur iOS une zone de défilement à part. clip coupe le
   débordement sans créer de défilement (même choix que /value/style.css). */
body.sh-page { overflow-x: clip; overflow-y: visible; }
.sh { max-width: 1120px; padding-top: 112px; padding-bottom: 48px; }
.sh a { color: var(--accent); }
.sh a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-muted { color: var(--ink-3); }

/* Fil d'Ariane */
.sh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 30px; }
.sh-crumbs a { color: var(--ink-2); }
.sh-crumbs [aria-current] { color: var(--ink); }
.sh-lang { margin-left: auto; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; color: var(--ink-2) !important; }
.sh-lang:hover { border-color: var(--accent); color: #fff !important; text-decoration: none !important; }

/* En-tête */
.sh-head { margin-bottom: 44px; }
.sh-kicker { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.sh h1 { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; letter-spacing: -.03em; line-height: 1; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 18px; color: #fff; max-width: 15ch; }
.sh-lead { max-width: 62ch; font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 32px; }
.sh-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sh-figs > div { padding: 20px 20px 20px 0; }
.sh-figs > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.sh-figs dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.sh-figs dd { margin: 0; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.05; }
.sh-figs p { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.4; }

/* Sections */
.sh-sec, .sh-explorer { margin-top: 56px; }
.sh-sec h2, .sh-explorer h2 { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.75rem); letter-spacing: -.02em; color: #fff; margin: 0 0 16px; }
.sh-sec h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin: 26px 0 8px; }
.sh-sec p { color: var(--ink-2); line-height: 1.7; margin: 0 0 12px; max-width: 75ch; }
.sh-sec__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sh-sec__h h2 { margin: 0; }
.sh-note { font-size: 14px; color: var(--ink-3) !important; }
.shist-cta { font-weight: 700; margin-top: 18px !important; }

/* Rareté */
.sh-r { --c: var(--r-common); display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--c)); border: 1px solid rgba(var(--c), .4); vertical-align: 2px; }
.sh-r--uncommon { --c: var(--r-uncommon); } .sh-r--rare { --c: var(--r-rare); } .sh-r--legendary { --c: var(--r-legendary); } .sh-r--mythical { --c: var(--r-mythical); }

/* Sélecteur de fruits */
.sh-search input { width: 220px; max-width: 70vw; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
.sh-search input::placeholder { color: var(--ink-3); }
.sh-search input:focus { outline: none; border-color: var(--accent); }
.sh-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 18px; overflow: hidden; }
.sh-picker__g { min-width: 0; }
.sh-picker__g[hidden], .sh-chip[hidden] { display: none; }
.sh-picker__r { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sh-picker__r.sh-r--mythical { color: rgb(var(--r-mythical)); } .sh-picker__r.sh-r--legendary { color: rgb(var(--r-legendary)); }
.sh-picker__r.sh-r--rare { color: rgb(var(--r-rare)); } .sh-picker__r.sh-r--uncommon { color: rgb(var(--r-uncommon)); }
.sh-picker__l { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .15s, background-color .15s; }
.sh-chip:hover { border-color: var(--line-2); background: var(--bg-3); }
.sh-chip[aria-current="true"] { border-color: #fff; background: #fff; color: var(--bg) !important; }
.sh-chip img, .sh-chip__ph { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.04); }
.sh-chip__c { font-size: 12px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sh-chip[aria-current="true"] .sh-chip__c { color: #55556a; }

/* Fiche d'un fruit */
.sh-fruit { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--card); min-height: 120px; min-width: 0; overflow: hidden; }
.shx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; }
.shx-img { width: 64px; height: 64px; object-fit: contain; }
.shx-head__t { flex: 1 1 auto; min-width: 0; }
.shx-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.shx-name { margin: 0; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.03em; color: #fff; line-height: 1; }
.shx-seg { display: inline-flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg); }
.shx-seg button { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.shx-seg button[aria-pressed="true"] { background: #fff; color: var(--bg); }
.shx-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.shx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.shx-tile { background: var(--card); padding: 16px 18px; }
.shx-tile__t { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.shx-tile__v { margin: 0; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.shx-tile__s { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }

/* Couleur du marchand filtré (une teinte par graphique) */
.sh-fruit { --hm: 242,242,246; --cell: 14px; --gap: 4px; }
.sh-fruit[data-m="normal"] { --hm: var(--d-normal-rgb); }
.sh-fruit[data-m="mirage"] { --hm: var(--d-mirage-rgb); }

/* Calendrier */
.shx-cal, .shx-chart { margin: 0; }
.shx-cal figcaption, .shx-chart figcaption, .shx-last__t { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.shx-cal__s { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.shx-cal__b { display: flex; gap: 6px; width: max-content; }
.shx-cal__wd { display: grid; grid-template-rows: repeat(7, var(--cell)); gap: var(--gap); margin-top: 19px; font-size: 10px; color: var(--ink-3); line-height: var(--cell); }
.shx-cal__m { display: grid; grid-template-columns: repeat(53, var(--cell)); gap: var(--gap); height: 16px; font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.shx-cal__g { display: grid; grid-template-rows: repeat(7, var(--cell)); grid-auto-flow: column; grid-auto-columns: var(--cell); gap: var(--gap); }
.shx-day { width: var(--cell); height: var(--cell); border-radius: 3px; background: rgba(255,255,255,.05); }
.shx-day.l1 { background: rgba(var(--hm), .22); } .shx-day.l2 { background: rgba(var(--hm), .42); }
.shx-day.l3 { background: rgba(var(--hm), .66); } .shx-day.l4 { background: rgb(var(--hm)); }
.shx-day.is-vide { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.shx-day.is-futur { visibility: hidden; }
.shx-cal__g .shx-day:hover { outline: 1px solid #fff; outline-offset: 1px; }
.shx-legend { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 10px; font-size: 11px; color: var(--ink-3); }
.shx-legend .shx-day { width: 11px; height: 11px; }
.shx-legend span:first-child { margin-right: 4px; } .shx-legend span:last-child { margin-left: 4px; }

/* Colonnes */
.shx-charts { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr; gap: 26px; margin-top: 30px; }
.shx-bars { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; height: 120px; align-items: end; }
.shx-bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; cursor: default; }
.shx-bar__f { width: 100%; max-width: 22px; border-radius: 4px 4px 0 0; background: rgb(var(--hm)); min-height: 0; }
.shx-bar__l { margin-top: 6px; font-size: 10px; color: var(--ink-3); height: 12px; line-height: 12px; white-space: nowrap; }
.shx-bar__v { font-size: 11px; font-weight: 700; color: var(--ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.shx-bar:hover .shx-bar__f, .shx-bar:focus-visible .shx-bar__f { opacity: .8; }
.shx-bars::after { content: ''; grid-column: 1 / -1; }

/* Derniers passages */
.shx-last { margin-top: 30px; }
.shx-last ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shx-last li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.shx-dl { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.shx-dl--n { color: rgb(var(--d-normal-rgb)); } .shx-dl--m { color: rgb(var(--d-mirage-rgb)); }

/* Infobulle */
.shx-tip { position: fixed; z-index: 120; pointer-events: none; padding: 7px 10px; border-radius: 8px; background: #fff; color: #0a0a0c; font-size: 12px; font-weight: 600; max-width: 260px; line-height: 1.35; }

/* Records */
.sh-records { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sh-records li { background: var(--card); padding: 18px 20px; }
.sh-records__t { margin: 0 0 8px !important; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3) !important; }
.sh-records__v { margin: 0 0 6px !important; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff !important; letter-spacing: -.02em; line-height: 1.25; }
.sh-records__s { margin: 0 !important; font-size: 13px; line-height: 1.5 !important; color: var(--ink-3) !important; }

/* Tableaux */
.sh-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.sh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sh-table caption { text-align: left; padding: 12px 16px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.sh-table th, .sh-table td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-table tbody tr:last-child th, .sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table thead th { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.sh-table tbody th { font-weight: 700; white-space: nowrap; }
.sh-table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sh-table td small { color: var(--ink-3); font-size: 12px; margin-left: 4px; }
.sh-table time { color: var(--ink); white-space: nowrap; }
.sh-table a, .sh-records a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); text-underline-offset: 3px; }
.sh-table a:hover, .sh-records a:hover { color: var(--accent); text-decoration-color: currentColor; }
.sh-all tbody tr:target { background: rgba(255,255,255,.04); }
.sh-sort { all: unset; cursor: pointer; }
.sh-sort:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sh-all th[aria-sort="ascending"] .sh-sort::after { content: ' \2191'; }
.sh-all th[aria-sort="descending"] .sh-sort::after { content: ' \2193'; }

/* Aperçu sur /shop (bloc injecté dans .sseo) */
.sseo .sh-scroll { margin: 8px 0 52px; }
.sseo .sh-table { font-size: 14px; }

@media (max-width: 900px) {
  .sh-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sh-figs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shx-tiles, .sh-records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shx-charts { grid-template-columns: 1fr; }
  .sh-fruit { --cell: 12px; --gap: 3px; }
}
@media (max-width: 560px) {
  .sh { padding-top: 92px; }
  .wrap.sh { padding: 92px 16px 36px; }
  .sh-fruit { padding: 18px; }
  .sh-picker { padding: 14px 0 14px 14px; gap: 10px; }
  .sh-picker__l { flex-wrap: nowrap; overflow-x: auto; padding: 0 14px 6px 0; scrollbar-width: none; }
  .sh-picker__l::-webkit-scrollbar { display: none; }
  .sh-chip { flex: none; }
  .shx-seg { width: 100%; }
  .shx-seg button { flex: 1 1 auto; padding: 7px 8px; font-size: 12px; }
  .shx-tiles, .sh-records { grid-template-columns: 1fr; }
  .sh-table th, .sh-table td { padding: 9px 10px; }
  .sh-lang { margin-left: 0; }
  .sh-search input { width: 100%; max-width: none; }
  .sh-pc { display: none; }
  .sh-sec__h { flex-direction: column; align-items: stretch; }
  /* Tableaux en fiches : plus de colonnes coupées ni de défilement horizontal caché. */
  .sh-scroll { overflow: visible; }
  .sh-stack thead { display: none; }
  .sh-stack, .sh-stack tbody, .sh-stack tr, .sh-stack caption { display: block; }
  .sh-stack caption { padding: 12px 14px; }
  .sh-stack tbody tr { padding: 14px; border-bottom: 1px solid var(--line); }
  .sh-stack tbody tr:last-child { border-bottom: 0; }
  .sh-stack tbody th, .sh-stack td { display: block; padding: 0; border: 0; }
  .sh-stack tbody th { font-size: 15px; margin-bottom: 8px; white-space: normal; }
  .sh-stack td::before { content: attr(data-l); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
  .sh-stack td:empty { display: none; }
  .sh-stack td small { margin-left: 2px; }
  /* Tous les fruits, compact : le fruit, puis « Dealer · Mirage · dernière fois » sur une ligne.
     Le total et la plus longue absence restent dans l'explorateur. */
  .sh-all tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 11px 14px; }
  .sh-all tbody th { flex: 1 0 100%; margin: 0 0 3px; }
  .sh-all td { display: inline-block; font-size: 13px; }
  .sh-all td:nth-of-type(1), .sh-all td:nth-of-type(5) { display: none; }
  .sh-all td:nth-of-type(4)::before { content: none; }
  /* Dernières heures : l'heure, puis Dealer et Mirage, libellé sur la même ligne. */
  .sh-last tbody tr { padding: 11px 14px; }
  .sh-last tbody th { margin-bottom: 4px; }
  .sh-last td { font-size: 14px; line-height: 1.5; }
  /* Repli des longues listes (history.js) : le contenu reste dans la page, seul l'affichage est raccourci. */
  .sh-stack tr.is-replie { display: none !important; }
  .sh-plus { display: block; width: 100%; margin: 10px 0 0; padding: 11px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) { .sh-chip { transition: none; } }

/* ================= Composants dans la DA de /shop (2026-12-02, ratox : « suis la DA du site ») =================
   Mêmes briques que la page du stock : intitulé « // ... », titres Archivo Expanded, cartes à liseré et fond de la
   couleur de rareté, badges Dealer (sarcelle) et Mirage (violet), boutons en pilule. */
.hx-sec { padding: 9vh 0 3vh; }
.hx-head { max-width: 760px; margin-bottom: 26px; }
.hx-head .eyebrow { display: block; margin-bottom: 14px; }
.hx-head h2 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.03; color: #fff; }
.hx-head p { margin: 16px 0 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }
.hx-head p strong { color: #fff; }

.hx-r--common { --rc: var(--r-common); } .hx-r--uncommon { --rc: var(--r-uncommon); } .hx-r--rare { --rc: var(--r-rare); }
.hx-r--legendary { --rc: var(--r-legendary); } .hx-r--mythical { --rc: var(--r-mythical); }

.hx-rares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.hx-card { --rc: var(--r-common); position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--rc), .1), rgba(var(--rc), .02) 42%, #0c0c12 100%); border: 1px solid rgba(var(--rc), .32);
  color: var(--ink) !important; text-decoration: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.hx-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, rgba(var(--rc), 0), rgba(var(--rc), 1), rgba(var(--rc), 0)); }
.hx-card:hover { transform: translateY(-4px); border-color: rgba(var(--rc), .7); }
.hx-card__media { flex: none; width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(var(--rc), .22), rgba(255,255,255,.02) 70%); border: 1px solid rgba(var(--rc), .22); }
.hx-card__media img { width: 58px; height: 58px; object-fit: contain; }
.hx-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hx-card__r { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--rc)); }
.hx-card__n { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: -.01em; }
.hx-card__v { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 900; font-size: 1.7rem; color: #fff; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hx-card__v small { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0; color: var(--ink-3); }
.hx-card__s { font-size: 12px; color: var(--ink-3); }

.hx-sub { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.hx-sub h3 { margin: 0; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.01em; }
.hx-sub span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.hx-frise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-row { display: grid; grid-template-columns: 116px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.hx-row.is-replie { display: none; }
.hx-time { font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 14px; color: #fff; white-space: nowrap; padding-top: 4px; font-variant-numeric: tabular-nums; }
.hx-time small { display: block; font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); margin-top: 2px; }
.hx-deal { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.hx-badge { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 10px; font-family: 'Archivo Expanded', 'Archivo', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .03em; }
.hx-badge--normal { color: var(--teal); background: rgba(var(--d-normal-rgb), .1); border: 1px solid rgba(var(--d-normal-rgb), .3); }
.hx-badge--mirage { color: var(--accent); background: rgba(var(--d-mirage-rgb), .12); border: 1px solid rgba(var(--d-mirage-rgb), .32); }
.hx-pills { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.hx-pill { --rc: var(--r-common); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 5px; border-radius: 99px;
  border: 1px solid rgba(var(--rc), .38); background: rgba(var(--rc), .09); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.hx-pill img { width: 22px; height: 22px; object-fit: contain; }
a.hx-pill:hover { border-color: rgba(var(--rc), .85); background: rgba(var(--rc), .16); }
.hx-none { font-size: 13px; line-height: 30px; color: var(--ink-3); }

.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.hx-actions .btn-accent { color: var(--bg) !important; text-decoration: none !important; }
.hx-actions span { font-size: 14px; color: var(--ink-3); }

.sh-ico { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 8px; }

@media (max-width: 760px) {
  .hx-rares { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hx-card { padding: 14px; }
  .hx-card__media { width: 60px; height: 60px; border-radius: 14px; }
  .hx-card__media img { width: 46px; height: 46px; }
  .hx-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 13px 14px; }
  .hx-time { padding-top: 0; }
  .hx-time small { display: inline; margin-left: 6px; }
  .hx-badge { width: 70px; justify-content: center; }
}
