
:root { color-scheme:dark;
  --fond:#1a1e26; --fond2:#1f242e; --carte:#232934; --carte2:#2a313d; --encre:#ece6da; --doux:#a3a8b2; --ligne:#343c4a;
  --accent:#e2725b; --accent-doux:rgba(226,114,91,.14); --lien:#f2a48f; --or:#cdae66; --kiwi:#a8cf6a; --or-doux:rgba(205,174,102,.16);
  --vert:#8ccf9f; --rouge:#ec8676; --orange:#e5b26b; --zone-v:rgba(140,207,159,.09); --zone-r:rgba(236,134,118,.08);
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,Cambria,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif; }
* { box-sizing:border-box; }
html { background-color:#1a1e26; }
body { margin:0; background-color:var(--fond); color:var(--encre); font:16px/1.6 var(--sans); -webkit-font-smoothing:antialiased; }
a { color:var(--lien); text-decoration:none; } a:hover { text-decoration:underline; text-underline-offset:3px; }
.page { max-width:980px; margin:0 auto; padding:0 18px 56px; }

header.haut { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding:18px 0 14px; margin-bottom:26px; border-bottom:1px solid var(--ligne); }
.logo { font-family:var(--serif); font-size:1.55rem; font-weight:700; color:var(--encre); letter-spacing:-.01em; line-height:1; }
.logo { display:flex; align-items:center; gap:10px; } .logo img { display:block; flex:none; }
.logo:hover { text-decoration:none; } .logo em { font-style:italic; color:var(--kiwi); font-weight:600; }
.logo small { display:block; font:500 .68rem/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--doux); margin-top:5px; }
nav { display:flex; gap:4px; flex-wrap:wrap; }
nav a { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-radius:8px; color:var(--encre);
  font-weight:550; font-size:.93rem; border:1px solid transparent; }
nav a:hover { text-decoration:none; background:var(--carte); }
nav a.actif { background:var(--carte); border-color:var(--ligne); box-shadow:inset 0 -2px 0 var(--accent); }
nav a.boutique { border-color:var(--accent); color:var(--lien); }
nav a.boutique:hover, nav a.boutique.actif { background:var(--accent-doux); }
nav svg, .bouton svg { width:17px; height:17px; flex:none; opacity:.85; }
@media (max-width:600px) { header.haut { padding-top:14px; } nav { width:100%; display:grid; grid-template-columns:repeat(6, 1fr); gap:3px; }
  nav a { flex-direction:column; gap:3px; padding:8px 1px; font-size:.66rem; background:var(--carte); border-color:var(--ligne); } }

h1, h2, h3 { font-family:var(--serif); font-weight:700; letter-spacing:-.01em; }
h1 { font-size:2rem; line-height:1.15; margin:6px 0 10px; }
h2 { font-size:1.35rem; margin:38px 0 14px; padding-bottom:8px; border-bottom:1px solid var(--ligne); }
.sous { color:var(--doux); margin:0 0 16px; }
.hero { padding:14px 0 6px; }
.hero h1 { font-size:2.6rem; max-width:22ch; }
.hero h1 em { color:var(--accent); font-style:italic; }
.hero .mascotte { float:right; margin:-6px 0 0 18px; filter:drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
@media (max-width:600px) { .hero .mascotte { width:96px; height:96px; margin:0 0 0 8px; } }
.hero .sous { font-size:1.05rem; max-width:60ch; }
@media (max-width:600px) { .hero h1 { font-size:2rem; } h1 { font-size:1.6rem; } }

.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin:16px 0; }
.kpi { background:var(--carte); border:1px solid var(--ligne); border-radius:12px; padding:14px 16px; }
.kpi b { display:block; font:700 1.5rem/1.2 var(--serif); } .kpi > span { color:var(--doux); font-size:.85rem; }
.boite { background:var(--carte); border:1px solid var(--ligne); border-radius:12px; padding:16px; margin:12px 0; }
.vert { color:var(--vert); } .rouge { color:var(--rouge); } .orange { color:var(--orange); }

table { width:100%; border-collapse:collapse; font-size:.94rem; }
th, td { text-align:left; padding:10px 8px; border-bottom:1px solid var(--ligne); vertical-align:middle; }
tbody tr:hover { background:var(--fond2); }
th { color:var(--doux); font-weight:600; font-size:.72rem; text-transform:uppercase; letter-spacing:.09em; }
td.n, th.n { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
td.cote b { font-weight:650; }
td a { color:var(--encre); font-weight:550; } td a:hover { color:var(--lien); }
.pastille { display:inline-block; font-size:.7rem; font-weight:600; padding:1px 8px; border-radius:99px; white-space:nowrap;
  background:color-mix(in srgb, currentColor 13%, transparent); }
.grille2 { display:grid; grid-template-columns:1fr 1fr; gap:22px; } @media (max-width:760px) { .grille2 { grid-template-columns:1fr; } }
.grille2 h2 { margin-top:30px; }

svg.courbe { width:100%; height:auto; display:block; }
svg .grille { stroke:var(--ligne); stroke-width:1; } svg .ref { stroke:var(--doux); stroke-width:1; stroke-dasharray:4 4; }
svg .axe { fill:var(--doux); font-size:14px; font-family:var(--sans); }
svg .ligne { fill:none; stroke:var(--accent); stroke-width:2.4; stroke-linejoin:round; }
svg .aire { fill:var(--accent); opacity:.09; } svg .zv { fill:var(--zone-v); } svg .zr { fill:var(--zone-r); }
svg .pv { fill:var(--vert); } svg .pr { fill:var(--rouge); } svg .pt { fill:var(--accent); }

input.cherche { width:100%; padding:14px 16px; font:inherit; font-size:1.05rem; border:1px solid var(--ligne); border-radius:10px;
  background:var(--carte); color:var(--encre); margin:10px 0 12px; outline:none; }
input.cherche::placeholder { color:var(--doux); }
input.cherche:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-doux); }
.table-scroll { overflow-x:auto; }
footer { margin-top:56px; padding-top:18px; border-top:1px solid var(--ligne); color:var(--doux); font-size:.8rem; line-height:1.55; }

.bouton { display:inline-flex; align-items:center; gap:8px; background:var(--accent); color:#fff; padding:10px 18px; border-radius:9px; font-weight:650; }
.bouton:hover { text-decoration:none; background:#d4634c; }
.bouton.inactif { background:var(--carte2); color:var(--doux); }
.achat-rapide { display:inline-flex; align-items:center; gap:5px; margin-left:10px; padding:3px 10px; border-radius:99px; font-size:.78rem;
  font-weight:650; color:var(--lien); border:1px solid var(--accent); background:var(--accent-doux); white-space:nowrap; }
.achat-rapide:hover { text-decoration:none; background:var(--accent); color:#fff; }
.achat-rapide svg { width:12px; height:12px; }
.avec-vig .achat-rapide { display:flex; width:max-content; margin:6px 0 0; }
.kpi .achat-rapide { margin:10px 0 0; font-size:.85rem; padding:6px 12px; white-space:normal; border-radius:9px; line-height:1.3; max-width:100%; }

/* Cadres : filet doré pour les légendaires, filet irisé pour les shiny */
.cadre { display:inline-block; flex:none; padding:2px; border-radius:8px; line-height:0;
  background:linear-gradient(145deg, #e8d29b, var(--or) 45%, #8f7640); }
.cadre.shiny { background:linear-gradient(135deg, #f4a3a3, #f3d38a, #9fd9b4, #9cc7f0, #c7b2f5); }
.cadre.grand { padding:3px; border-radius:14px; }
.vig { width:38px; height:38px; border-radius:6px; object-fit:cover; display:block; background:var(--carte2); }
.vig.vide { display:block; }
.grande { width:132px; height:132px; border-radius:11px; object-fit:cover; display:block; background:var(--carte2); }
.avec-vig { display:flex; align-items:center; gap:12px; }
.entete-carte { display:flex; gap:20px; align-items:center; }
.rarete { display:inline-block; font-size:.7rem; font-weight:650; letter-spacing:.14em; text-transform:uppercase; color:var(--or); }
.fil { font-size:.85rem; }
@media (max-width:480px) { .grande { width:92px; height:92px; } .entete-carte { gap:14px; } }
img.flou { filter:blur(14px); cursor:pointer; }

.barres { display:grid; gap:9px; }
.barre { display:grid; grid-template-columns:minmax(110px, 38%) 1fr 52px; gap:12px; align-items:center; font-size:.9rem; }
.barre .piste { background:var(--carte2); border-radius:99px; height:9px; overflow:hidden; }
.barre .piste span { display:block; height:100%; background:var(--accent); border-radius:99px; }
.barre .val { text-align:right; font-variant-numeric:tabular-nums; font-weight:650; }
.affaires { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.affaire { background:var(--carte); border:1px solid var(--ligne); border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.affaire b a { color:var(--encre); } .sous-petit { color:var(--doux); font-size:.83rem; }
.affaire .prix { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; font-size:.88rem; color:var(--doux); }
.affaire .prix b { color:var(--encre); }
.bouton.petit { padding:7px 14px; font-size:.88rem; align-self:flex-start; margin-top:auto; }
@media (max-width:760px) { .affaires { grid-template-columns:1fr; } }
.filtres .cherche { margin:0 0 12px; }
.ligne-filtres { display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; font-size:.92rem; }
.ligne-filtres select, .ligne-filtres input[type=number] { font:inherit; background:var(--carte2); color:var(--encre); border:1px solid var(--ligne);
  border-radius:8px; padding:5px 8px; }
.ligne-filtres input[type=number] { width:5.5em; }
.mini-label { display:block; font-size:.7rem; color:var(--doux); }
.lien-jeu { font-size:.8rem; font-weight:600; }
button.bouton { border:0; font:inherit; cursor:pointer; }
@media (max-width:600px) { table.encheres th:nth-child(4), table.encheres td:nth-child(4) { display:table-cell; }
  table.encheres th:nth-child(2), table.encheres td:nth-child(2) { display:none; } }
.lien-plus { display:inline-flex; align-items:center; gap:6px; font-weight:600; margin-top:6px; }
@media (max-width:600px) { 
  table th:nth-child(4), table td:nth-child(4) { display:none; } th, td { padding:10px 5px; }
  .vig { width:32px; height:32px; } .avec-vig { gap:8px; } .avec-vig .achat-rapide { font-size:.68rem; padding:3px 7px; margin-left:0; letter-spacing:-.01em; white-space:normal; width:auto; border-radius:9px; line-height:1.3; } .pastille { font-size:.64rem; padding:0 6px; } }
