:root {
  --bg: #070b12;
  --bg2: #0b1220;
  --panel: #0f1726;
  --panel2: #131d2f;
  --line: #1e2a40;
  --line2: #2a3a57;
  --text: #e8ecf4;
  --muted: #93a2ba;
  --dim: #64748b;
  --gold: #d8b44a;
  --gold2: #f0cf6e;
  --green: #1fc47f;
  --red: #f27070;
  --blue: #5aa9ff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(216, 180, 74, .10), transparent 60%),
    radial-gradient(900px 450px at 95% 0%, rgba(90, 169, 255, .07), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 14px/1.45 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 12px 26px;
  background: rgba(7, 11, 18, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold2), var(--gold));
  color: #1a1204; font-weight: 900; font-size: 12px; letter-spacing: .5px;
}
.brand-text { font-size: 14px; letter-spacing: .2px; }
.brand-text b { color: var(--gold2); font-weight: 700; }
.dim { color: var(--dim); }

.tabs { display: flex; gap: 6px; margin-left: 8px; }
.tab {
  background: transparent; color: var(--muted); border: 1px solid transparent;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 13px;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.tab.active {
  color: #1a1204;
  background: linear-gradient(145deg, var(--gold2), var(--gold));
  border-color: rgba(255, 255, 255, .15);
}
.snapshot { margin-left: auto; color: var(--dim); font-size: 12px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 30px 26px 8px; max-width: 1400px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 6px; font-size: 38px; line-height: 1.05; letter-spacing: -.8px;
  background: linear-gradient(100deg, #fff 20%, var(--gold2) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 18px; color: var(--muted); max-width: 760px; font-size: 14.5px; }
.kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.kpi {
  display: flex; align-items: baseline; gap: 8px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px;
}
.kpi b { font-size: 20px; letter-spacing: -.3px; }
.kpi span { color: var(--muted); font-size: 12px; }
.kpi.gold b { color: var(--gold2); }
.kpi.green b { color: var(--green); }

/* ---------- panel ---------- */
.panel {
  max-width: 1400px; margin: 14px auto 40px; padding: 0 26px;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px 14px 0 0;
  padding: 12px;
  border-bottom: 0;
}
.input {
  background: #0a1120; color: var(--text);
  border: 1px solid var(--line2); border-radius: 9px;
  padding: 8px 10px; font: inherit; font-size: 13px; outline: none;
  min-width: 130px;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 180, 74, .12); }
.input.search { flex: 1 1 240px; min-width: 200px; }
.input.small { width: 110px; min-width: 100px; }
select.input { cursor: pointer; }
.check {
  display: flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 12.5px; padding: 0 6px; cursor: pointer; user-select: none;
}
.check input { accent-color: var(--gold); }
.ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line2); border-radius: 9px;
  padding: 8px 12px; font: inherit; font-size: 12.5px; cursor: pointer;
}
.ghost:hover:not(:disabled) { color: var(--text); border-color: var(--gold); }
.ghost:disabled { opacity: .4; cursor: default; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-top: 1px solid var(--line);
  padding: 10px 14px;
}
.count { color: var(--muted); font-size: 12.5px; }
.count b { color: var(--text); }
.sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }

/* ---------- table ---------- */
.table-wrap {
  background: var(--panel); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 14px 14px; overflow: auto;
}
table.deals { width: 100%; border-collapse: collapse; min-width: 860px; }
table.deals thead th {
  position: sticky; top: 0; z-index: 5;
  background: #0c1424;
  color: var(--dim); text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
table.deals td { padding: 10px 12px; border-bottom: 1px solid rgba(30, 42, 64, .55); vertical-align: middle; }
table.deals tbody tr { cursor: default; }
table.deals tbody tr.unlocked { cursor: pointer; }
table.deals tbody tr:hover { background: rgba(216, 180, 74, .035); }
.c-item { width: 46%; }
.c-price, .c-comp { width: 10%; }
.c-decote { width: 9%; }
.c-end { width: 11%; }
.c-seller { width: 11%; }
.c-link { width: 3%; }

.item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.thumb {
  width: 52px; height: 52px; border-radius: 8px; object-fit: cover;
  background: #0a1120; border: 1px solid var(--line); flex: 0 0 auto;
}
.thumb.placeholder { display: grid; place-items: center; color: var(--dim); font-size: 10px; text-align: center; }
.item .txt { min-width: 0; }
.title {
  font-weight: 600; font-size: 13.5px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 640px;
}
.meta { color: var(--dim); font-size: 11.5px; margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.meta .grade { color: var(--gold2); font-weight: 700; }
.chip {
  display: inline-block; padding: 1px 6px; border-radius: 5px;
  background: rgba(90, 169, 255, .10); color: #9cc7ff; font-size: 10.5px; font-weight: 600;
}
.lockchip { background: rgba(242, 112, 112, .12); color: #ff9a9a; }

.price { font-weight: 700; font-size: 14px; }
.price small { color: var(--dim); font-weight: 500; font-size: 10.5px; display: block; }
.comp { color: var(--muted); font-size: 13px; }
.badge {
  display: inline-block; min-width: 52px; text-align: center;
  padding: 4px 8px; border-radius: 7px; font-weight: 800; font-size: 12.5px;
}
.badge.hot { background: rgba(31, 196, 127, .14); color: var(--green); border: 1px solid rgba(31, 196, 127, .25); }
.badge.mid { background: rgba(216, 180, 74, .14); color: var(--gold2); border: 1px solid rgba(216, 180, 74, .25); }
.badge.low { background: rgba(147, 162, 186, .10); color: var(--muted); border: 1px solid rgba(147, 162, 186, .18); }
.end { font-size: 12.5px; color: var(--muted); }
.end.soon { color: var(--red); font-weight: 700; }
.end.none { color: var(--dim); }
.seller { font-size: 12px; color: var(--muted); }
.seller small { display: block; color: var(--dim); font-size: 10.5px; }
.link-cell { text-align: right; }
.ext {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 7px; border: 1px solid var(--line2); color: var(--muted);
}
tr.unlocked:hover .ext { color: var(--gold2); border-color: var(--gold); }
.empty { text-align: center; color: var(--dim); padding: 50px 12px !important; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0 4px; }
#page { color: var(--muted); font-size: 12.5px; min-width: 140px; text-align: center; }
.foot { color: var(--dim); font-size: 11.5px; text-align: center; padding: 0 20px 30px; }

@media (max-width: 900px) {
  .topbar { padding: 10px 14px; gap: 12px; flex-wrap: wrap; }
  .snapshot { display: none; }
  .hero { padding: 20px 14px 6px; }
  .hero h1 { font-size: 30px; }
  .panel { padding: 0 14px; }
  .c-comp, .c-seller { display: none; }
  .title { max-width: 300px; }
  table.deals { min-width: 640px; }
}

/* ---------- page Prix marché ---------- */
.market { max-width: 1400px; margin: 0 auto; padding: 26px 26px 60px; }
.market h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -.6px;
  background: linear-gradient(100deg, #fff 20%, var(--gold2) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.market .sub { color: var(--muted); margin: 0 0 18px; max-width: 780px; }
.market-search { display: flex; gap: 8px; margin: 0 0 18px; }
.market-search input { flex: 1; background: #0a1120; color: var(--text); border: 1px solid var(--line2);
  border-radius: 10px; padding: 11px 14px; font: inherit; outline: none; }
.market-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,180,74,.12); }
.market-search button { background: linear-gradient(145deg, var(--gold2), var(--gold)); color: #1a1204;
  border: 0; border-radius: 10px; padding: 0 22px; font: inherit; font-weight: 800; cursor: pointer; }
.market-grid { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }
.market-results { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; max-height: 72vh; overflow: auto; }
.mresult { display: flex; gap: 10px; align-items: center; padding: 9px 10px; cursor: pointer; border-bottom: 1px solid rgba(30,42,64,.6); }
.mresult:hover, .mresult.sel { background: rgba(216,180,74,.06); }
.mresult img { width: 44px; height: 61px; object-fit: contain; background: #0a1120; border-radius: 5px; flex: 0 0 auto; }
.mresult .n { font-size: 13px; font-weight: 600; line-height: 1.25; }
.mresult .s { font-size: 11px; color: var(--dim); margin-top: 3px; }
.market-detail { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; min-height: 320px; }
.mhead { display: flex; gap: 20px; align-items: flex-start; }
.mhead img { width: 210px; border-radius: 10px; background: #0a1120; }
.mname { font-size: 24px; margin: 0 0 4px; letter-spacing: -.3px; }
.mset { color: var(--muted); font-size: 13px; }
.mprice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 18px; }
.mprice { background: #0b1424; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.mprice b { display: block; font-size: 22px; letter-spacing: -.4px; }
.mprice span { color: var(--dim); font-size: 11px; }
.mprice small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.msource { color: var(--dim); font-size: 11px; margin-top: 16px; line-height: 1.5; }
.mempty { color: var(--dim); text-align: center; padding: 90px 20px; }
@media (max-width: 900px) {
  .market { padding: 18px 14px 50px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-results { max-height: 40vh; }
  .mhead { flex-direction: column; }
  .mhead img { width: 160px; }
}

/* ---------- fiche carte ---------- */
.card-page { max-width: 1200px; margin: 0 auto; padding: 26px 26px 60px; }
.card-hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 22px; }
.card-hero img { width: 240px; border-radius: 12px; background: #0a1120; border: 1px solid var(--line); }
.card-hero h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.5px; }
.card-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.card-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 26px; }
.grade-card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; }
.grade-card .g { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.grade-card .p { font-size: 20px; font-weight: 800; margin: 4px 0 2px; }
.grade-card .d { font-size: 11.5px; color: var(--muted); }
.ctable { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ctable th { text-align: left; padding: 9px 12px; background: #0c1424; color: var(--dim); font-size: 11px;
  text-transform: uppercase; letter-spacing: .7px; border-bottom: 1px solid var(--line); }
.ctable td { padding: 9px 12px; border-bottom: 1px solid rgba(30,42,64,.55); font-size: 13px; vertical-align: middle; }
.ctable tr:hover { background: rgba(216,180,74,.035); }
.ctable .t { font-weight: 600; font-size: 13px; }
.ctable .muted { color: var(--dim); font-size: 11.5px; }
.card-note { color: var(--dim); font-size: 11.5px; margin-top: 14px; line-height: 1.5; }
.card-empty { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 800px) {
  .card-hero { flex-direction: column; }
  .card-hero img { width: 180px; }
  .card-page { padding: 18px 14px 50px; }
}

/* ---------- page Vinted ---------- */
.vinted { max-width: 1400px; margin: 0 auto; padding: 26px 26px 60px; }
.vinted h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -.6px;
  background: linear-gradient(100deg, #fff 20%, #7ee0b0 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.vinted .sub { color: var(--muted); margin: 0 0 16px; max-width: 820px; }
.vfilters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.vfilters input, .vfilters select { background: #0a1120; color: var(--text); border: 1px solid var(--line2);
  border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 13px; outline: none; }
.vfilters input[type=search] { flex: 1 1 300px; min-width: 220px; }
.vfilters input[type=number] { width: 120px; }
.vfilters select { cursor: pointer; }
.vfilters input:focus, .vfilters select:focus { border-color: #7ee0b0; }
.vfilters button { background: linear-gradient(145deg, #9af0c4, #4fd39a); color: #062015; border: 0;
  border-radius: 9px; padding: 0 18px; font: inherit; font-weight: 800; cursor: pointer; }
.vmeta { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
.vmeta b { color: var(--text); }
.vinted-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.vitem { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; transition: border-color .15s, transform .15s; }
.vitem:hover { border-color: #4fd39a; transform: translateY(-2px); }
.vitem img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #0a1120; }
.vbody { padding: 9px 10px 11px; }
.vtitle { font-size: 12.5px; font-weight: 600; line-height: 1.3; height: 3.9em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.vprice { color: #9af0c4; font-weight: 800; font-size: 16px; margin: 7px 0 3px; }
.vprice small { color: var(--dim); font-weight: 500; font-size: 11px; }
.vmeta2 { color: var(--dim); font-size: 10.5px; margin-top: 2px; }
.vempty { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 40px; text-align: center; color: var(--muted); }
.verror { background: rgba(242,112,112,.08); border: 1px solid rgba(242,112,112,.3); color: #ffb3b3;
  border-radius: 12px; padding: 16px 18px; font-size: 13px; line-height: 1.6; }
.verror a { color: #ffd0d0; text-decoration: underline; }
@media (max-width: 700px) {
  .vinted { padding: 18px 14px 50px; }
  .vinted-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

img.mark { background: transparent; border: 1px solid var(--line); object-fit: contain; }

/* ---------- rapport de deal ---------- */
.report { max-width: 1000px; margin: 0 auto; padding: 26px 26px 60px; }
.report h1 { font-size: 32px; margin: 0 0 4px; letter-spacing: -.5px; }
.report h2 { font-size: 18px; margin: 26px 0 10px; }
.report .sub { color: var(--muted); margin: 0 0 16px; }
.rverdict { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.rverdict.good { border-color: rgba(31,196,127,.35); background: rgba(31,196,127,.06); }
.rverdict.mid { border-color: rgba(216,180,74,.35); background: rgba(216,180,74,.06); }
.rverdict.bad { border-color: rgba(242,112,112,.35); background: rgba(242,112,112,.06); }
.rverdict p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0 8px; }
.rbox { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.rbox span { display: block; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .7px; }
.rbox b { font-size: 20px; }
.rbullets { color: var(--muted); font-size: 13.5px; line-height: 1.7; padding-left: 20px; }
.rlinks { display: flex; gap: 8px; flex-wrap: wrap; }
.bars { display: grid; gap: 7px; margin: 8px 0 4px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 86px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-row span { color: var(--muted); }
.bar-row b { text-align: right; color: var(--text); font-weight: 700; }
.bar-track { height: 10px; background: #0a1120; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #7ee0b0); border-radius: 999px; }

/* ---------- structure de table façon Cardboard Terminal ---------- */
table.deals { min-width: 1180px; }
table.deals thead th { font-size: 10px; padding: 9px 8px; }
table.deals td { padding: 8px; }
.c-end { width: 62px; }
.c-card { width: 80px; }
.c-auction { width: 260px; }
.c-est { width: 86px; }
.c-price { width: 94px; }
.c-vs { width: 64px; }
.c-actions { width: 76px; }
.c-set { width: 132px; }
.c-year { width: 52px; }
.c-grade { width: 64px; }
.c-seller { width: 112px; }
.c-country { width: 52px; }

.cardcell { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cardcell .thumb { width: 44px; height: 59px; }
.catlabel { font-size: 9px; letter-spacing: .6px; text-transform: uppercase; color: var(--dim); text-align: center; }
.c-auction .title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.3; }
.openebay { display: inline-block; margin-top: 3px; font-size: 10px; color: var(--gold2); text-decoration: underline; }
.c-est .comp, .c-price .price { font-size: 13px; }
.c-price small { display: block; color: var(--dim); font-size: 10px; }
.c-vs .badge { min-width: 48px; padding: 3px 6px; font-size: 11.5px; }
.rowbtns { display: flex; flex-direction: column; gap: 4px; }
.rowbtn { display: block; text-align: center; font-size: 10px; font-weight: 700; color: var(--gold2); border: 1px solid rgba(216,180,74,.35); border-radius: 5px; padding: 3px 4px; background: rgba(216,180,74,.06); }
.rowbtn:hover { background: rgba(216,180,74,.15); border-color: var(--gold); }
.c-set { color: var(--muted); font-size: 11px; }
.c-year, .c-country { color: var(--dim); font-size: 11px; }
.c-grade .grade { font-size: 11px; }
.c-seller .seller small { display: block; }
@media (max-width: 1100px) { .c-set, .c-year, .c-country { display: none; } }
@media (max-width: 760px) { .c-est, .c-grade { display: none; } table.deals { min-width: 640px; } }

/* ---------- nuage de points (annonces en cours) ---------- */
.scatter { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 6px; overflow: hidden; }
.scatter svg { display: block; width: 100%; height: auto; }
.scatter-legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: 11px; padding: 6px 2px 4px; }
.scatter-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }

/* ---------- source eBay / Vinted ---------- */
.srcline { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.src { font-size: 9px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 2px 5px; border-radius: 4px; background: rgba(90,169,255,.12); color: #9cc7ff; }
.src.v { background: rgba(126,224,176,.12); color: #7ee0b0; }
.srcline .openebay { margin-top: 0; }

/* ---------- page Enchères pleine largeur ---------- */
.panel { max-width: none; margin: 0; padding: 0; }
.filters { border-radius: 0; border-left: 0; border-right: 0; }
.table-wrap { border-radius: 0; border-left: 0; border-right: 0; }
table.deals { min-width: 1500px; }
table.deals td { padding: 6px 8px; }
table.deals thead th { padding: 8px; font-size: 9.5px; }
.c-fav { width: 26px; text-align: center; color: var(--dim); font-size: 12px; }
.fav { background: none; border: 0; color: #475569; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; }
.fav.on { color: #f27070; }
.c-auction .title { font-size: 12px; }
.c-price .price, .c-est .comp { font-size: 12.5px; }
.rowbtn { font-size: 9px; padding: 2px 3px; }

/* ---------- page Potentiel ---------- */
.potential { max-width: 1600px; margin: 0 auto; padding: 24px 26px 60px; }
.potential h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -.6px;
  background: linear-gradient(100deg, #fff 20%, var(--gold2) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.potential .sub { color: var(--muted); margin: 0 0 18px; max-width: 900px; }
.pfilters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pfilters select, .pfilters input { background: #0a1120; color: var(--text); border: 1px solid var(--line2);
  border-radius: 9px; padding: 9px 10px; font: inherit; font-size: 13px; outline: none; }
.pfilters input[type=search] { flex: 1 1 240px; min-width: 200px; }
.pfilters select:focus, .pfilters input:focus { border-color: var(--gold); }
.pfilters button { background: linear-gradient(145deg, var(--gold2), var(--gold)); color: #1a1204; border: 0;
  border-radius: 9px; padding: 0 18px; font: inherit; font-weight: 800; cursor: pointer; }
.psummary { color: var(--muted); font-size: 12.5px; margin: 6px 0 12px; }
.psummary b { color: var(--text); }
.ptable .t { font-weight: 600; font-size: 13px; }
.ptable .muted { color: var(--dim); font-size: 11px; }
.ptable td { font-size: 12.5px; }
@media (max-width: 900px) { .potential { padding: 18px 14px 50px; } }

/* ---------- MOBILE (site public) ---------- */
@media (max-width: 760px) {
  body { font-size: 13px; }
  .topbar { flex-wrap: wrap; gap: 6px 8px; padding: 10px 12px; }
  .brand { width: 100%; }
  .brand-text { font-size: 15px; }
  .topbar .tab { padding: 6px 9px; font-size: 11.5px; white-space: nowrap; }
  .topbar .tabs { order: 2; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .topbar > a.tab { order: 2; }
  .snapshot { display: none; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 12px; }
  .filters .search { grid-column: 1 / -1; }
  .filters .input, .filters .ghost { width: 100%; }
  .filters .check { font-size: 11px; }
  .toolbar { flex-wrap: wrap; padding: 8px 12px; gap: 6px; }
  .toolbar .sort { margin-left: auto; }
  .table-wrap { border-radius: 0; border-left: 0; border-right: 0; }
  table.deals { display: block; min-width: 0; }
  table.deals thead { display: none; }
  table.deals tbody { display: block; }
  table.deals tr { display: grid; width: 100%; grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas: "card auction price" "card vs actions" "end end end";
    gap: 3px 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
  table.deals td { display: block; border: 0; padding: 0; }
  .c-fav, .c-est, .c-set, .c-year, .c-grade, .c-seller, .c-country { display: none; }
  .c-card { grid-area: card; }
  .c-auction { grid-area: auction; }
  .c-price { grid-area: price; text-align: right; }
  .c-vs { grid-area: vs; }
  .c-actions { grid-area: actions; }
  .c-end { grid-area: end; color: var(--dim); font-size: 10px; }
  .c-card .cardcell .thumb { width: 56px; height: 76px; }
  .c-card .catlabel { display: none; }
  .c-auction .title { font-size: 12.5px; }
  .c-price .price { font-size: 14px; }
  .c-actions .rowbtns { flex-direction: row; gap: 4px; }
  .c-actions .rowbtn { padding: 2px 6px; }
  .c-vs .badge { font-size: 12px; }
  .pager { flex-wrap: wrap; padding: 10px 12px; }
  .potential { padding: 14px 10px 40px; }
  .potential h1 { font-size: 26px; }
  .pfilters { display: grid; grid-template-columns: 1fr 1fr; }
  .pfilters input[type=search] { grid-column: 1 / -1; }
  .ptable th:nth-child(2), .ptable td:nth-child(2),
  .ptable th:nth-child(8), .ptable td:nth-child(8) { display: none; }
  .ptable td, .ptable th { padding: 6px; font-size: 11.5px; }
  .card, .report, .market { padding: 12px; }
}

/* ---------- Vinted : grille de cartes ---------- */
.vwrap { max-width: 1560px; margin: 0 auto; padding: 20px 22px 60px; }
.vhead { display: flex; align-items: flex-end; gap: 18px; margin: 4px 0 14px; flex-wrap: wrap; }
.vhead h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -.5px;
  background: linear-gradient(100deg, #fff 25%, var(--gold2) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.vsub { color: var(--muted); margin: 0; font-size: 12.5px; }
.vsearch { display: flex; gap: 8px; margin-left: auto; flex: 1 1 320px; max-width: 480px; }
.vsearch input { flex: 1; }
.vsearch button, .vfilters button { background: linear-gradient(145deg, var(--gold2), var(--gold)); color: #1a1204;
  border: 0; border-radius: 9px; padding: 9px 16px; font: inherit; font-weight: 800; cursor: pointer; }
.vfilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 16px; }
.vfilters input, .vfilters select { background: #0a1120; color: var(--text); border: 1px solid var(--line2);
  border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 12.5px; outline: none; }
.vfilters input:focus, .vfilters select:focus { border-color: var(--gold); }
.vfilters input[type=number] { width: 110px; }
.vfilters .check { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.vfilters .ghost { color: var(--muted); padding: 8px 10px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.vcard { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform .16s, border-color .16s, box-shadow .16s; }
.vcard:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 18px 34px -22px #000; }
.vthumb { position: relative; aspect-ratio: 3 / 4; background: #0d131c; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vfallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: #2a3546; font-weight: 800; }
.vfallback.big { position: static; display: grid; place-items: center; aspect-ratio: 3 / 4; font-size: 64px; }
.vprice { position: absolute; left: 9px; bottom: 9px; background: rgba(6,10,14,.84); backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 9px; font-weight: 800; font-size: 13.5px; }
.vgrade { position: absolute; top: 9px; left: 9px; background: rgba(6,10,14,.82); color: var(--gold2);
  border: 1px solid rgba(212,169,66,.45); font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; }
.vdeal { position: absolute; top: 9px; right: 9px; background: var(--green); color: #032015;
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; }
.vbody { padding: 10px 11px 12px; }
.vbody h3 { margin: 0 0 5px; font-size: 12.9px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.vmeta { font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11px; color: var(--dim); }
.vsrc { color: var(--gold2); }
.vempty { border: 1px dashed var(--line2); border-radius: 14px; padding: 44px 20px; text-align: center; color: var(--muted); }
.vempty b { display: block; color: var(--text); margin-bottom: 6px; }
.vpager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 12.5px; }
.vpager a { color: var(--gold2); }
.vnote { color: var(--dim); font-size: 11.5px; margin-top: 20px; }

/* fiche annonce Vinted */
.vitem { max-width: 1100px; margin: 0 auto; padding: 24px 22px 60px; display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr; gap: 26px; align-items: start; }
.vitem-media { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.vitem-media img { width: 100%; display: block; }
.vitem-info h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -.4px; }
.vitem-sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.vitem-price { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 18px; }
.vitem-price > div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.vitem-price span { display: block; color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.vitem-price b { font-size: 17px; }
.vitem-price b.good { color: var(--green); }
.vitem-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.vitem-facts > div { border-bottom: 1px solid var(--line); padding: 7px 0; }
.vitem-facts dt { color: var(--dim); font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; }
.vitem-facts dd { margin: 2px 0 0; font-size: 13px; }
.vitem-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vitem-actions .primary, .vitem-actions .ghost { display: inline-block; padding: 9px 14px; border-radius: 9px; font-weight: 700; }
.vitem-actions .primary { background: linear-gradient(145deg, var(--gold2), var(--gold)); color: #1a1204; }
.vitem-actions .ghost { border: 1px solid var(--line2); color: var(--text); }
@media (max-width: 760px) {
  .vwrap { padding: 12px 12px 50px; }
  .vhead h1 { font-size: 24px; }
  .vsearch { max-width: none; width: 100%; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vbody h3 { font-size: 12px; }
  .vitem { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
  .vitem-price { grid-template-columns: 1fr 1fr; }
  .vitem-facts { grid-template-columns: 1fr; }
}

/* ---------- Vinted Live (visuel vinted-live) ---------- */
.vlive-body { background:
  radial-gradient(1100px 520px at 12% -10%, rgba(9,177,186,.16), transparent 60%),
  radial-gradient(900px 420px at 100% 0%, rgba(120,90,255,.10), transparent 55%),
  #0b0f14; min-height: 100vh; }
.vlive-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px;
  padding: 12px 22px; background: rgba(11,15,20,.82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.vlive-brand { display: flex; align-items: center; gap: 9px; font-size: 16px; color: #e8eef7; white-space: nowrap; }
.vlive-brand b { color: #fff; }
.vlive-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; font-weight: 800;
  color: #04121a; background: linear-gradient(135deg, #09b1ba, #0a7c85); box-shadow: 0 4px 14px rgba(9,177,186,.35); }
.vlive-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #8fa0b5;
  padding: 5px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(255,255,255,.02); }
.vlive-status i { width: 7px; height: 7px; border-radius: 50%; background: #63748a; }
.vlive-status.on i { background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: vpulse 2s infinite; }
.vlive-status.warn i { background: #ffc857; }
@keyframes vpulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55); } 70% { box-shadow: 0 0 0 7px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.vlive-metrics { display: flex; gap: 20px; margin-left: auto; }
.vlive-metric { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.vlive-metric b { font-size: 15px; color: #e8eef7; font-variant-numeric: tabular-nums; }
.vlive-metric span { font-size: 10.5px; color: #63748a; text-transform: uppercase; letter-spacing: .09em; }
.vlive-link { color: #8fa0b5; font-size: 12.5px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 7px 12px; background: rgba(255,255,255,.04); }
.vlive-link:hover { color: #bff4f7; border-color: #09b1ba; }
.vlive-main { max-width: 1560px; margin: 0 auto; padding: 22px 22px 60px; }
.vlive-filter { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 14px; box-shadow: 0 18px 50px -30px #000; }
.vlive-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.vlive-row.chips { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.08); align-items: center; }
.vlive-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vlive-field.grow { flex: 1 1 280px; }
.vlive-field.narrow { width: 104px; }
.vlive-field > span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: #63748a; padding-left: 2px; }
.vlive-field input, .vlive-field select { background: #0d131c; border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 9px 11px; color: #e8eef7; font: inherit; font-size: 13px; outline: none; width: 100%; }
.vlive-field input:focus, .vlive-field select:focus { border-color: #09b1ba; box-shadow: 0 0 0 3px rgba(9,177,186,.16); }
.vlive-actions { display: flex; gap: 8px; margin-left: auto; }
.vlive-primary { background: linear-gradient(180deg, #09b1ba, #0d7f86); color: #04191c; font-weight: 650; border: 0;
  border-radius: 10px; padding: 9px 15px; cursor: pointer; font: inherit; }
.vlive-ghost { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); color: #e8eef7;
  border-radius: 10px; padding: 9px 12px; font-size: 12.5px; }
.vlive-chip-label { font-size: 12px; color: #63748a; margin-right: 2px; }
.vl-chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #8fa0b5; }
.vl-chip:hover { border-color: #09b1ba; color: #e8eef7; }
.vl-chip.active { background: rgba(9,177,186,.16); border-color: #09b1ba; color: #bff4f7; }
.vlive-listhead { display: flex; align-items: baseline; gap: 12px; margin: 22px 2px 12px; flex-wrap: wrap; }
.vlive-listhead h2 { font-size: 15px; margin: 0; color: #e8eef7; font-weight: 650; }
.vlive-sub { font-size: 12.5px; color: #63748a; }
.vlive-localfilter { margin-left: auto; width: 230px; background: #0d131c; border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 8px 11px; color: #e8eef7; font: inherit; font-size: 12.5px; outline: none; }
.vlive-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); align-items: start; grid-auto-rows: max-content; }
.vlive-card { position: relative; display: flex; flex-direction: column; align-self: start; height: 330px; background: #141b26; border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden; transition: transform .16s, border-color .16s, box-shadow .16s; }
.vlive-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.14); box-shadow: 0 18px 34px -22px #000; }
.vlive-thumb { position: relative; flex: 0 0 230px; height: 230px; aspect-ratio: auto; background: linear-gradient(160deg, #16202e, #0d131c 60%); overflow: hidden; }
.vlive-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vlive-card:hover .vlive-thumb img { transform: scale(1.035); }
.vlive-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; font-size: 34px; color: #2a3546; font-weight: 800; }
.vlive-price { position: absolute; left: 9px; bottom: 9px; background: rgba(6,10,14,.82); backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 9px; font-weight: 700; font-size: 13.5px; color: #fff; }
.vlive-new { position: absolute; top: 9px; left: 9px; background: #3ddc97; color: #032015; font-size: 10px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.vlive-grade { position: absolute; top: 9px; right: 9px; background: rgba(6,10,14,.8); color: #ffc857; font-size: 10px;
  font-weight: 700; padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(255,200,87,.35); }
.vlive-deal { position: absolute; right: 9px; bottom: 9px; background: #3ddc97; color: #032015; font-size: 10px;
  font-weight: 800; padding: 3px 7px; border-radius: 999px; }
body.vlive-body { padding: 0; overflow: visible; }
.vlive-cardbody h3 { margin: 0 0 5px; font-size: 12.9px; font-weight: 600; line-height: 1.35; color: #e8eef7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.vlive-meta { font-size: 11.8px; color: #8fa0b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlive-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.vl-tag { font-size: 10.5px; color: #9fb4c9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  padding: 2px 7px; border-radius: 6px; }
.vlive-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; font-size: 11px; color: #63748a; }
.vlive-empty { border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; padding: 44px 20px; text-align: center; color: #8fa0b5; }
.vlive-empty b { display: block; color: #e8eef7; margin-bottom: 6px; font-size: 15px; }
.vlive-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; color: #8fa0b5; font-size: 12.5px; }
.vlive-pager a { color: #bff4f7; }
.vlive-note { color: #63748a; font-size: 11.5px; margin-top: 20px; }
@media (max-width: 760px) {
  .vlive-top { flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
  .vlive-brand { font-size: 14px; }
  .vlive-metrics { gap: 12px; margin-left: 0; }
  .vlive-metric b { font-size: 13px; }
  .vlive-link { margin-left: auto; padding: 6px 9px; font-size: 11px; }
  .vlive-main { padding: 12px 12px 50px; }
  .vlive-field.grow, .vlive-field { flex: 1 1 100%; width: 100%; }
  .vlive-field.narrow { width: calc(50% - 5px); }
  .vlive-actions { width: 100%; margin-left: 0; }
  .vlive-primary, .vlive-ghost { flex: 1; text-align: center; }
  .vlive-listhead h2 { font-size: 13px; }
  .vlive-localfilter { width: 100%; margin-left: 0; }
  .vlive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vlive-thumb { flex: 0 0 200px; height: 200px; }
  .vlive-card { height: 300px; }
  .vlive-cardbody h3 { font-size: 12px; }
  .vlive-price { font-size: 12px; }
}

.vl-fav { position: absolute; top: 8px; right: 8px; z-index: 3; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(6,10,14,.72); border: 1px solid rgba(255,255,255,.22); color: #8fa0b5; font-size: 14px;
  line-height: 1; cursor: pointer; display: grid; place-items: center; }
.vl-fav:hover { color: #ff8fa0; border-color: #ff8fa0; }
.vl-fav.on { color: #ff6b81; border-color: #ff6b81; background: rgba(255,107,129,.14); }
.vlive-grade { top: 40px; }
.vlive-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; background: #141b26; border: 1px solid #09b1ba;
  border-radius: 12px; padding: 10px 14px; box-shadow: 0 18px 40px -12px #000; color: #e8eef7; font-size: 13px; }
.vlive-banner.hidden { display: none; }
.vlive-banner button { background: linear-gradient(180deg,#09b1ba,#0d7f86); color: #04191c; border: 0;
  border-radius: 8px; padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .vlive-banner { left: 12px; right: 12px; transform: none; bottom: 12px; }
}

/* ---------- MOBILE : navigation basse + filtres repliables ---------- */
.mnav { display: none; }
.mfilter-toggle { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(8, 12, 20, .96); border-top: 1px solid var(--line); backdrop-filter: blur(12px);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .mnav a { flex: 1; text-align: center; font-size: 11px; color: var(--muted); padding: 9px 4px; border-radius: 8px; }
  .mnav a.on { color: var(--gold2); background: rgba(212, 169, 66, .10); }
  .vlive-body .mnav a.on { color: #bff4f7; background: rgba(9, 177, 186, .14); }
  .mfilter-toggle { display: block; width: calc(100% - 24px); margin: 10px 12px 0; padding: 11px 12px;
    background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; color: var(--text);
    font: inherit; font-weight: 600; text-align: left; }
  .filters:not(.mopen), .vlive-filter:not(.mopen) { display: none; }
  .filters.mopen { margin-top: 8px; }
  .vlive-filter.mopen { margin-top: 10px; }
  .report { padding: 14px 12px 50px; }
  .report h1 { font-size: 24px; }
  .report table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .card-page { padding: 14px 12px 50px; }
  .card-hero h1 { font-size: 23px; }
  .card-hero img { width: 150px; }
  .vitem-actions { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 20;
    background: rgba(11, 15, 20, .94); padding: 9px; border-top: 1px solid var(--line); border-radius: 10px; }
  .market-search { flex-wrap: wrap; }
  .market-search button { width: 100%; }
}

/* ---------- MOBILE : lisibilité, zoom iOS, cibles tactiles ---------- */
@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
  input, select, textarea { font-size: 16px !important; }
  .tab, .mnav a, .mfilter-toggle, .filters button, .vlive-primary, .vlive-ghost { min-height: 40px; }
  .table-wrap, .ptable { -webkit-overflow-scrolling: touch; }
  .ptable th:nth-child(4), .ptable td:nth-child(4),
  .ptable th:nth-child(6), .ptable td:nth-child(6) { display: none; }
  .ptable { display: block; overflow-x: auto; }
  .card-hero, .report-head, .report-grid { flex-direction: column; }
  .report h2 { font-size: 20px; }
}
@media (max-width: 760px) {
  .vlive-banner { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- filtres avancés + filtres sauvegardés ---------- */
.vlive-advanced { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.08); }
.vlive-advanced summary { cursor: pointer; color: #8fa0b5; font-size: 12.5px; padding: 4px 0; list-style: none; }
.vlive-advanced summary::-webkit-details-marker { display: none; }
.vlive-advanced summary::before { content: "▸ "; color: #09b1ba; }
.vlive-advanced[open] summary::before { content: "▾ "; }
.vlive-advanced .vlive-row { margin-top: 8px; }
.vlive-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 2px 0; }
.vlive-presetlist { display: flex; gap: 6px; flex-wrap: wrap; }
.vlive-preset { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); font-size: 12px; color: #8fa0b5; }
.vlive-preset a { color: #cfe8eb; }
.vlive-preset a:hover { color: #bff4f7; }
.vlive-preset button { background: none; border: 0; color: #63748a; cursor: pointer; padding: 0; font-size: 14px; line-height: 1; }
.vlive-preset button:hover { color: #ff8080; }
.vlive-presets input { background: #0d131c; border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  padding: 7px 9px; color: #e8eef7; font: inherit; font-size: 12.5px; width: 170px; outline: none; }
.vlive-presets .vlive-ghost { padding: 7px 10px; }
@media (max-width: 760px) {
  .vlive-presets { align-items: stretch; }
  .vlive-presets input { width: 100%; }
  .vlive-presets .vlive-ghost { width: 100%; }
}

/* ============================================================
   AUDIT MOBILE 360–430 px — correctifs consolidés
   ============================================================ */
:root { --dim: #8494ad; }

@media (max-width: 760px) {
  .topbar { position: static; }
  .topbar > a.tab { display: none; }
  .topbar .tabs { margin-left: 0; }

  .filters .check { min-height: 44px; padding: 6px 8px; font-size: 12.5px;
    border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.02); }
  .check input { width: 20px; height: 20px; }

  table.deals td.empty { grid-column: 1 / -1; padding: 40px 16px !important; }
  table.deals tbody tr:has(> td.empty) { display: block; }
  table.deals tr { grid-template-areas: "card auction price" "card vs end" "actions actions actions"; }
  .c-end { grid-area: end; text-align: right; align-self: end; font-size: 11px; color: var(--muted); }
  .c-actions { margin-top: 2px; }
  .c-actions .rowbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .c-actions .rowbtn { display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 8px; font-size: 11.5px; border-radius: 8px; }
  .c-actions .rowbtns > .rowbtn:only-child { grid-column: 1 / -1; }

  .pager .ghost, .filters .ghost { min-height: 44px; }
  .ext { width: 44px; height: 44px; }
  .openebay { display: inline-flex; align-items: center; min-height: 44px; font-size: 11.5px; }
  .mnav a { min-height: 48px; font-size: 11.5px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .src { font-size: 10px; }
  .foot { font-size: 12px; color: var(--muted); }

  .pfilters:not(.mopen) { display: none; }
  .pfilters.mopen { margin-top: 8px; }
  .pfilters button { min-height: 44px; padding: 11px 18px; }

  .ptable { display: block; border: 0; border-radius: 0; overflow: visible; background: transparent; }
  .ptable thead { display: none; }
  .ptable tbody { display: block; }
  .ptable tr { display: grid; align-items: center; gap: 3px 8px; padding: 10px 12px;
    grid-template-columns: auto auto auto 1fr auto;
    grid-template-areas: "name name name name score" "grade price decote . ext";
    border-bottom: 1px solid var(--line); background: var(--panel); }
  .ptable td { display: block; padding: 0; border: 0; font-size: 12px; }
  .ptable td:nth-child(1) { grid-area: name; min-width: 0; }
  .ptable td:nth-child(3) { grid-area: grade; color: var(--muted); }
  .ptable td:nth-child(5) { grid-area: price; font-weight: 700; }
  .ptable td:nth-child(7) { grid-area: decote; color: var(--green); }
  .ptable td:nth-child(9) { grid-area: score; justify-self: end; font-size: 15px; }
  .ptable td:nth-child(10) { grid-area: ext; justify-self: end; }
  .ptable .t { font-size: 13px; line-height: 1.35; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ptable td:nth-child(7)::before,
  .ptable td:nth-child(9)::before { font-size: 10px; text-transform: uppercase;
    letter-spacing: .5px; color: var(--dim); }
  .ptable td:nth-child(7)::before { content: "décote "; }
  .ptable td:nth-child(9)::before { content: "score "; }
  .ptable .ext { width: 44px; height: 44px; }

  .card-page .ctable { display: block; width: 100%; overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  .card-page .ctable th, .card-page .ctable td { white-space: nowrap; }
  .card-page .ctable td:first-child { white-space: normal; }
  .card-page .ctable .ext { width: 44px; height: 44px; }

  .scatter { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .scatter svg { width: 820px; max-width: none; height: 240px; }

  .market-search button { width: 100%; min-height: 46px; padding: 12px 22px; }
  .market-detail { scroll-margin-top: 110px; }
  .card-badges .chip { display: inline-flex; align-items: center; min-height: 32px;
    padding: 6px 10px; font-size: 12px; border-radius: 999px; }
  .card-badges a.chip { color: var(--gold2); border: 1px solid rgba(216,180,74,.35);
    background: rgba(216,180,74,.10); }

  .ctable th { font-size: 11.5px; letter-spacing: .5px; }
  .ctable .muted, .card-note, .scatter-legend, .mresult .s,
  .mprice span, .mprice small, .msource, .grade-card .g { font-size: 12px; }
  .card-hero h1, .card-meta, .mname, .mset, .report .sub,
  .ctable .t, .ctable .muted, .mresult .n, .mresult .s,
  .grade-card .d { overflow-wrap: anywhere; }

  .tab:active, .mnav a:active, .mresult:active,
  .card-badges a.chip:active, .market-search button:active { filter: brightness(1.18); }
}

@media (max-width: 480px) {
  .rverdict { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rverdict .badge { align-self: flex-start; }
}

@media (max-width: 430px) {
  .pager { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  #page { grid-column: 1 / -1; order: -1; min-width: 0; text-align: center; }
  .pager .ghost { width: 100%; }
}

@media (min-width: 761px) and (max-width: 900px) {
  table.deals { display: block; min-width: 0; }
  table.deals thead { display: none; }
  table.deals tbody { display: block; }
  table.deals tr { display: grid; width: 100%; grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas: "card auction price" "card vs end" "actions actions actions";
    gap: 3px 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
  table.deals td { display: block; border: 0; padding: 0; }
  .c-fav, .c-est, .c-set, .c-year, .c-grade, .c-seller, .c-country { display: none; }
  .c-card { grid-area: card; }
  .c-auction { grid-area: auction; }
  .c-price { grid-area: price; text-align: right; }
  .c-vs { grid-area: vs; }
  .c-actions { grid-area: actions; }
  .c-end { grid-area: end; text-align: right; font-size: 11px; }
  .c-card .cardcell .thumb { width: 56px; height: 76px; }
  .c-card .catlabel { display: none; }
  .c-actions .rowbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .c-actions .rowbtn { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; }
}

/* ============================================================
   AUDIT MOBILE VINTED — correctifs
   ============================================================ */
.vlive-card { height: auto; }
.vlive-cardbody { flex: 1 1 auto; padding: 10px 11px 11px; overflow: visible; }
.vlive-cardbody h3 { margin: 0 0 5px; font-size: 12.9px; font-weight: 600; line-height: 1.35; color: #e8eef7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }

main.vitem { background: transparent; border: 0; border-radius: 0; overflow: visible; }
main.vitem:hover { transform: none; border-color: transparent; box-shadow: none; }

@media (max-width: 760px) {
  .vlive-card { height: auto; }
  .vlive-thumb { flex: 0 0 190px; height: 190px; }
  .vlive-cardbody h3 { font-size: 12px; }

  .vlive-field.narrow { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); }

  .vl-fav { width: 36px; height: 36px; top: 6px; right: 6px; }
  .vl-fav::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
  .vlive-grade { top: 48px; right: 6px; }
  .vl-chip { min-height: 40px; padding: 8px 12px; }
  .vlive-preset button { min-width: 32px; min-height: 32px; margin: -4px -6px -4px 0;
    display: inline-grid; place-items: center; }
  .vlive-advanced summary { min-height: 40px; display: flex; align-items: center; }
  .vlive-presets input { min-height: 40px; }

  .vlive-presets { gap: 6px; margin-top: 8px; }
  .vlive-presets input { flex: 1 1 150px; width: auto; min-width: 0; }
  .vlive-presets .vlive-ghost { flex: 0 0 auto; width: auto; }
  .vlive-presetlist { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .vlive-preset { flex: 0 0 auto; max-width: 80vw; }
  .vlive-preset a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .vitem-media { display: grid; place-items: center; padding: 8px; }
  .vitem-media img { width: auto; max-width: 100%; max-height: 38vh; aspect-ratio: auto; object-fit: contain; }
  .vitem-actions { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .vitem-info h1 { font-size: clamp(20px, 5.6vw, 24px); overflow-wrap: anywhere; }
  .vlive-cardbody h3 { overflow-wrap: anywhere; }

  .vlive-foot, .vlive-note, .vlive-field > span, .vlive-chip-label,
  .vlive-metric span, .vitem-facts dt, .vitem-price span { color: #7d8ea6; }
  .vlive-foot, .vl-tag { font-size: 11.5px; }
}

@media (max-width: 420px) {
  .vlive-metric:nth-child(3) { display: none; }
  .vlive-top { padding: 8px 12px; gap: 6px 8px; }
  .vlive-status { font-size: 11px; padding: 4px 9px; }
}

@media (max-width: 360px) {
  .vlive-price { font-size: 11px; padding: 3px 7px; white-space: nowrap; }
  .vlive-deal { font-size: 9.5px; padding: 3px 6px; }
}

/* ============================================================
   REFONTE PREMIUM — accueil Deal Finder
   ============================================================ */
.gh-header { position: sticky; top: 0; z-index: 60; background: rgba(7,11,20,.88);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(212,169,66,.14); }
.gh-head-main { max-width: 1600px; margin: 0 auto; padding: 12px 26px; display: flex; align-items: center; gap: 24px; }
.gh-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.gh-logo { border-radius: 10px; box-shadow: 0 8px 20px rgba(212,169,66,.18); }
.gh-word { display: flex; flex-direction: column; font-size: 18px; font-weight: 700; letter-spacing: .2px; line-height: 1.05; }
.gh-word b { color: var(--gold2); }
.gh-word small { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-top: 4px; }
.gh-nav { display: flex; gap: 3px; margin-left: 6px; }
.gh-link { padding: 9px 14px; border-radius: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: .15s; }
.gh-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.gh-link.active { color: var(--gold2); background: rgba(212,169,66,.10); box-shadow: inset 0 0 0 1px rgba(212,169,66,.22); }
.gh-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.gh-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--green);
  border: 1px solid rgba(66,192,138,.28); background: rgba(66,192,138,.08); padding: 6px 11px; border-radius: 999px; }
.gh-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: ghPulse 2s infinite; }
@keyframes ghPulse { 0% { box-shadow: 0 0 0 0 rgba(66,192,138,.55); } 70% { box-shadow: 0 0 0 7px rgba(66,192,138,0); } 100% { box-shadow: 0 0 0 0 rgba(66,192,138,0); } }
.gh-menu { display: none; width: 40px; height: 40px; place-items: center; border-radius: 10px;
  border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--text); font-size: 18px; cursor: pointer; }
.gh-feedbar { max-width: 1600px; margin: 0 auto; padding: 0 26px 10px; display: flex; align-items: center; gap: 14px; }
.gh-feedbar .tabs { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gh-feedbar .tabs::-webkit-scrollbar { display: none; }
.gh-feedbar .tab { white-space: nowrap; }
.gh-feedbar .snapshot { color: var(--dim); font-size: 11px; white-space: nowrap; }
.gh-drawer { display: none; }
.gh-drawer.open { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 16px;
  border-top: 1px solid var(--line); background: rgba(7,11,20,.98); }
.gh-drawer a { padding: 13px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 14px; }
.gh-drawer a:hover { background: rgba(212,169,66,.10); color: var(--gold2); }

.gh-hero { max-width: 1600px; margin: 0 auto; padding: 26px 26px 14px; display: flex; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.gh-hero-copy { flex: 1 1 430px; min-width: 0; }
.gh-eyebrow { color: var(--gold2); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.gh-hero h1 { font-size: 38px; line-height: 1.04; letter-spacing: -1.1px; margin: 9px 0 9px;
  background: linear-gradient(100deg, #fff 28%, var(--gold2) 86%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.gh-hero p { color: var(--muted); margin: 0; max-width: 640px; font-size: 14px; }
.gh-hero .kpis { flex: 1 1 560px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gh-hero .kpi { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0;
  box-shadow: 0 14px 30px -26px #000; }
.gh-hero .kpi b { display: block; font-size: 20px; letter-spacing: -.4px; line-height: 1.1; }
.gh-hero .kpi span { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.gh-hero .kpi.gold b { color: var(--gold2); }
.gh-hero .kpi.green b { color: var(--green); }

.gh-footer { max-width: 1600px; margin: 34px auto 0; padding: 22px 26px 96px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; color: var(--dim); font-size: 12px; }
.gh-foot-brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 14px; }
.gh-foot-brand b { color: var(--gold2); }
.gh-foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.gh-foot-links a { color: var(--muted); }
.gh-foot-links a:hover { color: var(--gold2); }
.gh-footer p { margin: 0; margin-left: auto; max-width: 520px; text-align: right; }

@media (max-width: 1000px) {
  .gh-nav { display: none; }
  .gh-menu { display: grid; }
  .gh-hero .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gh-head-main { padding: 10px 14px; gap: 10px; }
  .gh-word { font-size: 16px; }
  .gh-word small { font-size: 8.5px; }
  .gh-live { display: none; }
  .gh-feedbar { padding: 0 12px 8px; }
  .gh-feedbar .snapshot { display: none; }
  .gh-hero { padding: 18px 14px 10px; gap: 16px; }
  .gh-hero h1 { font-size: 27px; letter-spacing: -.7px; }
  .gh-hero p { font-size: 13px; }
  .gh-hero .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .gh-hero .kpi b { font-size: 18px; }
  .gh-footer { padding: 18px 14px 96px; }
  .gh-footer p { margin-left: 0; text-align: left; }
}

/* correctif scroll mobile : clip au lieu de hidden (ne crée pas de conteneur de scroll) */
@media (max-width: 760px) {
  body { overflow-x: clip; }
}

/* masquage forcé des colonnes secondaires dans la carte mobile */
@media (max-width: 900px) {
  table.deals td.c-fav,
  table.deals td.c-est,
  table.deals td.c-set,
  table.deals td.c-year,
  table.deals td.c-grade,
  table.deals td.c-seller,
  table.deals td.c-country { display: none !important; }
  table.deals td.c-actions { display: block; }
  table.deals td.c-end { display: block; }
}

/* prix et badges au-dessus de l'image */
.vlive-thumb .vlive-price,
.vlive-thumb .vlive-new,
.vlive-thumb .vlive-grade,
.vlive-thumb .vlive-deal { z-index: 2; }
.vlive-thumb .vl-fav { z-index: 3; }

.vlive-price small { display: block; font-size: 10px; font-weight: 500; color: #8fa0b5; line-height: 1.15; margin-top: 1px; }
.vitem-price small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

/* badge nouveau : apparition discrète */
.vlive-new { animation: newPulse 2s ease-in-out infinite; }
@keyframes newPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,220,151,.35); }
  50% { box-shadow: 0 0 0 6px rgba(61,220,151,0); }
}
a.vlive-metric { color: inherit; }

.vlive-super { position: absolute; top: 9px; left: 9px; z-index: 2;
  background: linear-gradient(135deg, #ffc857, #ff6b35); color: #2a0d00;
  font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; animation: superPulse 2s ease-in-out infinite; }
@keyframes superPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,.45); }
  50% { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}
@media (max-width: 760px) {
  .vlive-super { font-size: 9px; padding: 3px 6px; top: 7px; left: 7px; }
}

.vlive-promo { display: flex; align-items: center; gap: 10px; margin: 12px 2px 0; padding: 10px 14px;
  border-radius: 12px; background: linear-gradient(100deg, rgba(255,107,53,.14), rgba(255,200,87,.07));
  border: 1px solid rgba(255,107,53,.30); color: #ffd9c9; font-size: 13px; }
.vlive-promo b { color: #ffc857; }
.vlive-promo-fire { font-size: 18px; line-height: 1; }
.vlive-promo-cta { margin-left: auto; color: #ffc857; font-weight: 800; white-space: nowrap; }
@media (max-width: 760px) {
  .vlive-promo { flex-wrap: wrap; font-size: 12px; padding: 10px 12px; gap: 6px 8px; }
  .vlive-promo-cta { margin-left: 0; }
}

/* header PC : wordmark sur une ligne, nav plus aérée */
.gh-head-main, .gh-feedbar, .gh-hero, .gh-footer { max-width: 1800px; }
.gh-word { display: block; font-size: 19px; line-height: 1.05; white-space: nowrap; }
.gh-word small { display: block; }
.gh-nav { margin-left: 14px; gap: 5px; }
.gh-link { font-size: 14px; padding: 9px 15px; }
@media (max-width: 760px) {
  .gh-word { font-size: 16px; }
}

/* hero desktop : KPI pleine largeur sous le titre */
.gh-name { white-space: nowrap; }
.gh-hero { display: block; }
.gh-hero-copy { max-width: 920px; }
.gh-hero .kpis { margin-top: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .gh-hero .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
}

/* drawer latéral annonce Vinted */
.vdrawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
  z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s; }
.vdrawer-bg.open { opacity: 1; pointer-events: auto; }
.vdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(430px, 94vw); background: #0b131c;
  border-right: 1px solid rgba(9,177,186,.25); z-index: 110; transform: translateX(-102%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1); overflow-y: auto;
  box-shadow: 30px 0 60px -30px #000; }
.vdrawer.open { transform: none; }
body.drawer-open { overflow: hidden; }
.vd-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(6,10,14,.8); border: 1px solid rgba(255,255,255,.18);
  color: #e8eef7; font-size: 16px; cursor: pointer; }
.vd-media img { width: 100%; display: block; max-height: 300px; object-fit: contain; background: #0d131c; }
.vd-body { padding: 16px 18px 30px; }
.vd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.vd-tags span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: #9fb4c9; }
.vd-tags span.super { background: linear-gradient(135deg, #ffc857, #ff6b35); color: #2a0d00; }
.vd-body h2 { font-size: 19px; line-height: 1.25; margin: 0 0 5px; color: #fff; }
.vd-sub { color: #8fa0b5; font-size: 12px; margin: 0 0 14px; }
.vd-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.vd-prices > div { background: #101a26; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 9px 11px; }
.vd-prices span { display: block; color: #63748a; font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; }
.vd-prices b { font-size: 17px; color: #fff; }
.vd-prices b.good { color: #3ddc97; }
.vd-prices small { display: block; color: #8fa0b5; font-size: 10.5px; margin-top: 1px; }
.vd-seller { color: #8fa0b5; font-size: 12px; margin: 0 0 14px; }
.vd-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.vd-primary, .vd-ghost { display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 12.5px; }
.vd-primary { background: linear-gradient(135deg, #09b1ba, #0d7f86); color: #04191c; }
.vd-ghost { border: 1px solid rgba(255,255,255,.16); color: #e8eef7; }
.vd-favbtn { width: 100%; min-height: 44px; border-radius: 9px; border: 1px solid rgba(255,107,129,.35);
  background: rgba(255,107,129,.08); color: #ff8fa0; font: inherit; font-weight: 700; cursor: pointer; }
.vd-favbtn.on { background: rgba(255,107,129,.18); color: #ff6b81; }
@media (max-width: 760px) {
  .vdrawer { width: 100%; border-right: 0; }
  .vd-media img { max-height: 36vh; }
}

.vd-media { padding-top: 46px; }
@media (max-width: 760px) {
  .vd-media { padding-top: 42px; }
}

.c-est .eur, .c-price .eur { display: block; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.2; }

/* header PC une seule rangée + barre de flux dans le contenu */
.gh-head-main { padding: 14px 26px; gap: 30px; }
.gh-nav { gap: 4px; margin-left: 6px; }
.gh-link { padding: 9px 14px; }
.gh-fluxbar { max-width: 1800px; margin: 0 auto; padding: 0 26px; display: flex; align-items: center;
  gap: 14px; border-bottom: 1px solid var(--line); }
.gh-flux-label { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  font-weight: 700; white-space: nowrap; }
.gh-fluxbar .tabs { flex: 1; display: flex; gap: 4px; overflow-x: auto; padding: 7px 0; scrollbar-width: none; }
.gh-fluxbar .tabs::-webkit-scrollbar { display: none; }
.gh-fluxbar .tab { font-size: 12.5px; padding: 7px 12px; white-space: nowrap; }
.gh-fluxbar .snapshot { color: var(--dim); font-size: 11px; white-space: nowrap; }
@media (max-width: 760px) {
  .gh-head-main { padding: 10px 14px; gap: 10px; }
  .gh-fluxbar { padding: 0 12px; gap: 8px; }
  .gh-flux-label { display: none; }
  .gh-fluxbar .tabs { padding: 6px 0; }
  .gh-fluxbar .snapshot { display: none; }
}

/* ============================================================
   HEADER PC v2 — une barre, gouttière unique
   ============================================================ */
:root { --shell: 1400px; --gutter: 26px; }
.gh-head-main, .gh-hero, .gh-fluxbar, .gh-footer {
  max-width: var(--shell); margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.gh-head-main { min-height: 64px; padding-top: 0; padding-bottom: 0; gap: 24px; }
.gh-nav { height: 64px; align-self: stretch; align-items: stretch; gap: 0; margin-left: 4px; }
.gh-link { display: inline-flex; align-items: center; height: auto; align-self: stretch;
  padding: 0 14px; border-radius: 0; background: none; box-shadow: none; position: relative;
  color: var(--muted); font-size: 14px; font-weight: 600; }
.gh-link:hover { color: var(--text); background: linear-gradient(180deg, transparent, rgba(255,255,255,.045)); }
.gh-link.active { color: var(--gold2); background: none; box-shadow: none; }
.gh-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  box-shadow: 0 0 14px rgba(240,207,110,.35); }
.gh-status { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.gh-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,180,74,.13); }
.gh-hero { padding-top: 24px; padding-bottom: 12px; }
.gh-fluxbar { padding-top: 0; padding-bottom: 0; }
.gh-footer { padding-top: 22px; padding-bottom: 96px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold2); outline-offset: 2px; }
@media (max-width: 760px) {
  :root { --gutter: 14px; }
  .gh-head-main { min-height: 56px; gap: 8px; }
  .gh-status { display: none; }
  .gh-nav { display: none; height: auto; }
  .gh-menu { display: grid; }
  .gh-fluxbar { padding-left: 12px; padding-right: 12px; }
  .gh-hero { padding-top: 18px; }
  .gh-footer { padding-bottom: 96px; }
}

/* tri par en-tête de colonne */
table.deals thead th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
table.deals thead th.sortable::after { content: "↕"; font-size: 8px; margin-left: 4px; opacity: .35; }
table.deals thead th.sortable:hover { color: var(--gold2); }
table.deals thead th.sortable.sorted-asc::after { content: "↑"; opacity: .95; color: var(--gold2); }
table.deals thead th.sortable.sorted-desc::after { content: "↓"; opacity: .95; color: var(--gold2); }
