/* Site public. (L'admin garde style.css.)
   Direction : un site de produits où la photo fait la couleur. Interface neutre + un seul bleu outremer ; le seul aplat de couleur de la page est le bandeau du bonus.
   Titres en Bricolage Grotesque (large, serré), texte en Schibsted Grotesk. Coins presque droits : 4 px sur les photos, 6 px sur les boutons et champs. */

@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-grotesque.woff2?v=1) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk.woff2?v=1) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/fonts/space-grotesk.woff2?v=1) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url(/fonts/sora.woff2?v=1) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces.woff2?v=1) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(/fonts/outfit.woff2?v=1) format("woff2"); font-weight: 500 800; font-display: swap; }

:root {
  --bg: #eceef2;
  --surface: #ffffff;
  --surface-2: #f4f5f8;
  --line: #cdd1d9;
  --text: #0d0f14;
  --muted: #566074;
  --accent: #2b3bff;
  --accent-2: #1d2bd1;
  --accent-ink: #ffffff;
  --ok: #0a8a57;
  --warn: #b3261e;
  --foot-bg: #0d0f14;
  --foot-ink: #d7dae2;
  --r-photo: 4px;
  --r-ui: 6px;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --surface: #14161c;
    --surface-2: #1b1e26;
    --line: #2b2f3a;
    --text: #f1f2f5;
    --muted: #9aa1b2;
    --accent: #7886ff;
    --accent-2: #95a0ff;
    --accent-ink: #090b24;
    --ok: #3ddc97;
    --warn: #ff8f87;
    --foot-bg: #07080b;
    --foot-ink: #aab0bf;
    --bgfx: 1;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: 72px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ───── en-tête ───── */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.045em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-right: auto; height: 100%; }
.nav a { display: flex; align-items: center; white-space: nowrap; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--text); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.prefs { display: flex; gap: 6px; }
select.pref { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--r-ui); padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
select.pref:hover { border-color: var(--text); }
select.pref option { background: var(--surface); color: var(--text); }
.ssr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── boutons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--text); background: transparent; color: var(--text); padding: 12px 20px; border-radius: var(--r-ui); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ───── accueil ───── */
.hero > * { min-width: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: 64px 0 36px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 800; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 28px; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--text); border-radius: var(--r-ui); padding: 5px 5px 5px 18px; }
.searchbar:focus-within { border-color: var(--accent); }
.searchbar svg { flex: none; color: var(--muted); }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 17px; padding: 12px 0; outline: none; }
.searchbar input::placeholder { color: var(--muted); opacity: .8; }
.searchbar .btn { padding: 12px 22px; }
.hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 40em; }
.stat { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.stat b { color: var(--text); font-weight: 700; }
.search-msg { margin-top: 12px; font-size: 14px; color: var(--warn); min-height: 20px; }

/* mur de photos : de vrais produits du catalogue, ceux qui ont des photos QC en premier */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.wall a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-photo); background: var(--surface-2); }
.wall a:nth-child(3n + 2) { margin-top: 36px; }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.wall .wp { position: absolute; left: 8px; bottom: 8px; background: var(--surface); color: var(--text); border-radius: 3px; padding: 3px 8px; font-size: 13px; font-weight: 700; }
.wall .wq { position: absolute; left: 8px; top: 8px; background: var(--ok); color: #fff; border-radius: 3px; padding: 2px 7px; font-size: 12px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .wall a { animation: wall-in .75s cubic-bezier(.2, .7, .2, 1) both; }
  .wall a:nth-child(2) { animation-delay: .08s; } .wall a:nth-child(3) { animation-delay: .16s; }
  .wall a:nth-child(4) { animation-delay: .24s; } .wall a:nth-child(5) { animation-delay: .32s; } .wall a:nth-child(6) { animation-delay: .4s; }
  @keyframes wall-in { from { opacity: 0; transform: translateY(28px); } }
}

/* catégories */
.cats { display: flex; gap: 16px; overflow-x: auto; padding: 24px 8px 10px; margin-inline: -8px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 84px; font-size: 13.5px; color: var(--muted); }
.cat .bub { overflow: hidden; width: 84px; height: 84px; margin-bottom: 8px; border-radius: var(--r-photo); background: var(--surface-2); outline: 2px solid transparent; outline-offset: 2px; display: grid; place-items: center; }
.cat .bub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat .bub.all { grid-template-columns: repeat(2, 18px); grid-template-rows: repeat(2, 18px); gap: 6px; align-content: center; justify-content: center; place-items: stretch; }
.cat .bub.all i { background: var(--text); border-radius: 2px; }
.cat:hover { color: var(--text); }
.cat.active { color: var(--text); font-weight: 700; }
.cat.active .bub { outline-color: var(--text); }

/* sections + grille de produits */
.sec { margin-top: 52px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-size: 32px; letter-spacing: -.035em; line-height: 1; }
.sec-head a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; } .sec-head a:hover { color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 28px 18px; }
.card { display: flex; flex-direction: column; }
.card .im { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; border-radius: var(--r-photo); }
.card .im img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--surface); color: var(--text); border-radius: 3px; font-size: 12px; font-weight: 600; padding: 3px 8px; }
.badge.qc { left: auto; right: 8px; background: var(--ok); color: #fff; }
.badge.demo { top: auto; bottom: 8px; background: #ffd24a; color: #111; }
.card .bd { padding: 11px 0 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .t { font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.card .pr { margin-top: auto; display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.card .pr b { font-size: 17px; font-weight: 700; }
.card .pr small { color: var(--muted); }

/* étapes : c'est une vraie suite (coller, regarder, commander), donc numérotée */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { border-top: 2px solid var(--text); padding-top: 16px; }
.step .n { font: 800 56px/1 var(--display); letter-spacing: -.05em; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.02em; } .step p { margin: 0; color: var(--muted); max-width: 30em; }

/* bonus BBDBUY : le seul aplat de couleur du site */
.band { margin-top: 64px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-ui); padding: clamp(28px, 5vw, 56px); display: flex; gap: 28px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 54px); line-height: .98; letter-spacing: -.045em; }
.band p { margin: 0; max-width: 38em; opacity: .92; font-size: 17px; }
.band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); padding: 16px 26px; font-size: 17px; }
.band .btn:hover { background: transparent; color: var(--accent-ink); }

/* ───── pages ───── */
.page-title { margin: 44px 0 6px; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.045em; line-height: 1; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0; }
.toolbar .searchbar { flex: 1 1 260px; min-width: 0; border-width: 1px; padding: 3px 3px 3px 16px; }
.toolbar .searchbar input { font-size: 16px; padding: 10px 0; }
select.sel { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: var(--r-ui); font: inherit; }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-ui); }
.empty h3 { color: var(--text); margin: 0 0 6px; font-size: 22px; }

/* fiche produit */
.crumbs { margin: 28px 0 16px; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery .main { aspect-ratio: 1; border-radius: var(--r-photo); overflow: hidden; background: var(--surface-2); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 0; border-radius: var(--r-photo); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); }
.thumbs button.on { border-color: var(--text); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.noimg { aspect-ratio: 1; border-radius: var(--r-photo); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 14px, var(--bg) 14px, var(--bg) 28px); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.info h1 { margin: 10px 0 14px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; letter-spacing: -.04em; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 3px 10px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.tag.via { color: var(--ok); border-color: var(--ok); background: transparent; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 22px; font-variant-numeric: tabular-nums; }
.price b { font: 800 46px/1 var(--display); letter-spacing: -.045em; } .price span { color: var(--muted); font-size: 17px; }
.facts { display: grid; gap: 0; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 11px 16px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts .k { color: var(--muted); }
.facts b { text-align: right; }
.cta { display: grid; gap: 10px; margin-bottom: 20px; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); font-size: 15px; }
.note strong { color: var(--text); }
.desc { color: var(--muted); margin-top: 18px; }

.qc-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 64px 0 18px; }
.qc-head h2 { margin: 0; font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.qc-head .count { color: var(--ok); font-weight: 700; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { background: transparent; border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--r-ui); font-weight: 600; color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.qc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.qc-grid button { padding: 0; border: 0; border-radius: var(--r-photo); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.qc-grid button:hover { outline: 2px solid var(--text); }
.qc-grid img { width: 100%; height: 100%; object-fit: cover; }
.qc-meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* liens */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.lk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.lk:hover { border-color: var(--text); }
.lk h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; display: flex; gap: 10px; align-items: center; }
.lk p { margin: 0; color: var(--muted); flex: 1; }
.lk .tag { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* pied de page */
.footer { background: var(--foot-bg); color: var(--foot-ink); padding: 40px 0 48px; }
.footer .logo { color: #fff; }
.footer .muted { color: var(--foot-ink); }
.footer-top { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-top p { margin: 0; max-width: 560px; }
.fine { color: #8b92a3; font-size: 13px; max-width: 860px; margin: 0 0 8px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

/* visionneuse, notification, contribution */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: grid; place-items: center; }
.lightbox[hidden], .toast[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; border-radius: var(--r-photo); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #bbb; font-size: 14px; }
.lb-report { position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.12); border: 0; color: #ddd; padding: 8px 16px; border-radius: var(--r-ui); font-size: 13px; }
.lb-report:hover { background: rgba(255,255,255,.24); }
.lb-report[hidden] { display: none; }
.contrib { margin-top: 28px; border: 1px dashed var(--line); border-radius: var(--r-ui); padding: 20px 24px; }
.contrib-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.contrib-head p { margin: 4px 0 0; max-width: 560px; }
.contrib-form { display: grid; gap: 12px; max-width: 560px; }
.contrib input.in { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--r-ui); padding: 11px 14px; font: inherit; }
.contrib .filepick { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
.contrib .filepick input { font-weight: 400; color: var(--muted); }
.contrib .fine { margin: 0; color: var(--muted); }
.contrib .row-btn { display: flex; gap: 10px; flex-wrap: wrap; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--r-ui); font-weight: 600; z-index: 120; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-photo); min-height: 280px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ───── mobile ───── */
@media (max-width: 1100px) { .topbar-in > .btn { display: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .burger { display: block; }
  .prefs { margin-left: auto; }
  .topbar-in { gap: 12px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; height: auto; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 16px 14px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
  .nav a.active { border-bottom-color: var(--line); font-weight: 700; }
  .nav.open { display: flex; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card .pr b { font-size: 16px; }
  .searchbar .btn { padding: 12px 16px; }
  .wall a:nth-child(3n + 2) { margin-top: 22px; }
  .hero { padding: 22px 0 14px; gap: 22px; }
  .hero h1 { font-size: 34px; line-height: 1; margin-bottom: 12px; }
  .hero p.lead { font-size: 15px; margin-bottom: 16px; }
  .searchbar { flex-wrap: wrap; padding: 6px; gap: 6px; }
  .searchbar svg { margin-left: 8px; }
  .searchbar input { flex: 1 1 calc(100% - 44px); font-size: 16px; }
  .searchbar .btn { flex: 1 0 100%; padding: 13px 16px; }
  .hint { font-size: 13px; margin-top: 10px; }
  /* estimation : un champ par ligne, les 3 dimensions côte à côte */
  div.est-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; align-items: stretch; }
  .est-form label { grid-column: 1 / -1; margin-top: 8px; font-size: 14px; }
  .est-form select, .est-form #est-weight, .est-form #est-order { grid-column: 1 / -1; width: 100% !important; }
  .est-form input.sel { width: 100% !important; font-size: 16px; padding: 12px; }
  .est-form select.sel { font-size: 16px; }
  .qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ───── fenêtre « Rejoins le Discord » (reste sombre, comme Discord, quel que soit le thème du site) ───── */
.dc-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(6,7,12,.7); backdrop-filter: blur(6px); }
.dc-modal { --dc: #5865f2; --surface: #15161b; --surface-2: #1d1f26; --line: #2a2c35; --text: #f4f4f6; --muted: #a3a6b4; --ok: #3ddc97; position: relative; width: min(400px, 100%); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(88,101,242,.25); }
.dc-banner { position: relative; height: 128px; background: linear-gradient(120deg, #5865f2, #8b5cf6 45%, #ec4899 100%); background-size: 200% 200%; background-position: center; }
.dc-banner.has-img { background-size: cover; background-position: center; }
.dc-badge { position: absolute; left: 16px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.dc-icon { position: relative; z-index: 1; display: block; width: 88px; height: 88px; margin: -44px 0 0 24px; border-radius: 50%; border: 5px solid var(--surface); background: var(--surface-2); object-fit: cover; }
.dc-icon-fallback { display: grid; place-items: center; font-size: 36px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5865f2, #8b5cf6); }
.dc-body { padding: 12px 24px 22px; }
.dc-body h2 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.dc-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 12px; color: var(--muted); font-size: 14px; }
.dc-online { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.dc-online i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.dc-body p { margin: 0 0 18px; color: var(--muted); }
.dc-join { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 18px; border-radius: 12px; background: var(--dc); color: #fff; font-weight: 700; font-size: 16px; }
.dc-join:hover { background: #4752c4; }
.dc-arrow { transition: transform .2s ease; }
.dc-join:hover .dc-arrow { transform: translateX(4px); }
.dc-later { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 0; background: none; color: var(--muted); font-size: 14px; }
.dc-later:hover { color: var(--text); }
.dc-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 22px; line-height: 1; }
.dc-x:hover { background: rgba(0,0,0,.6); }
.dc-join:focus-visible, .dc-later:focus-visible, .dc-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--dc); }
@media (prefers-reduced-motion: no-preference) {
  .dc-back { animation: dc-fade .25s ease-out; }
  .dc-modal { animation: dc-pop .45s cubic-bezier(.2, .9, .3, 1.25); }
  .dc-banner:not(.has-img) { animation: dc-shift 9s ease-in-out infinite alternate; }
  .dc-icon { animation: dc-icon-in .55s .12s cubic-bezier(.2, .9, .3, 1.4) both, dc-float 3.4s 1s ease-in-out infinite; }
  .dc-online i { animation: dc-live 1.8s ease-out infinite; }
  .dc-join::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: dc-shine 3.6s 1.2s ease-in-out infinite; }
  @keyframes dc-fade { from { opacity: 0; } }
  @keyframes dc-pop { from { opacity: 0; transform: translateY(18px) scale(.92); } }
  @keyframes dc-shift { to { background-position: 100% 60%; } }
  @keyframes dc-icon-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); } }
  @keyframes dc-float { 50% { transform: translateY(-4px); } }
  @keyframes dc-live { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 100% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } }
  @keyframes dc-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
}

/* ───── fenêtre d'inscription BBDBUY : un « coupon » qui prend la couleur du site ───── */
.af-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(6,7,12,.72); backdrop-filter: blur(5px); }
.af-modal { position: relative; width: min(440px, 100%); background: var(--surface); color: var(--text); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.af-ticket { position: relative; padding: 24px 26px 26px; background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.3), transparent 62%), var(--accent); color: var(--accent-ink); text-align: center; }
.af-ticket::before, .af-ticket::after { content: ""; position: absolute; bottom: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); z-index: 1; }
.af-ticket::before { left: -11px; } .af-ticket::after { right: -11px; }
.af-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.22); font-size: 13px; font-weight: 700; }
.af-big { margin-top: 8px; }
.af-big b { display: block; font: 900 clamp(68px, 20vw, 100px)/.88 var(--display); letter-spacing: -.07em; text-shadow: 0 4px 0 rgba(0,0,0,.14); }
.af-big span { display: block; margin-top: 4px; font-weight: 800; font-size: clamp(18px, 5vw, 22px); letter-spacing: -.01em; }
.af-chip { display: inline-block; margin-top: 14px; padding: 7px 16px; border-radius: 999px; background: #ffd23f; color: #1a1300; font-weight: 900; font-size: 17px; transform: rotate(-2deg); box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.af-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.af-perks li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.af-perks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 13px; font-weight: 900; }
.af-free { margin: 8px 0 0 !important; text-align: center; font-size: 13px; }
.af-count { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 8px; background: #d10f1c; color: #fff; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 16px; white-space: nowrap; max-width: 100%; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.af-count::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.af-count.hot { font-size: 18px; }
.af-body { padding: 26px 26px 22px; border-top: 2px dashed var(--line); }
.af-body h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.af-body p { margin: 0 0 18px; color: var(--muted); }
.af-join { position: relative; overflow: hidden; display: block; text-align: center; padding: 16px 18px; border-radius: var(--r-ui); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18px; }
.af-join:hover { background: var(--accent-2); }
.af-later { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.af-later:hover { color: var(--text); }
.af-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font-size: 22px; line-height: 1; }
.af-x:hover { background: rgba(0,0,0,.5); }
.af-join:focus-visible, .af-later:focus-visible, .af-x:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .af-back { animation: af-fade .2s ease-out; }
  .af-modal { animation: af-pop .4s cubic-bezier(.2, .9, .3, 1.2); }
  .af-join { animation: af-pulse 1.6s ease-out .6s infinite, af-wiggle 3.2s ease-in-out 1.4s infinite; }
  .af-join::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-18deg); animation: af-shine 2.4s ease-in-out .8s infinite; }
  .af-count::before { animation: af-blink 1s steps(2, jump-none) infinite; }
  .af-count.hot { animation: af-throb .9s ease-in-out infinite; }
  @keyframes af-wiggle { 0%, 82%, 100% { transform: none; } 86% { transform: rotate(-1.6deg) scale(1.03); } 90% { transform: rotate(1.6deg) scale(1.03); } 94% { transform: rotate(-1deg) scale(1.02); } }
  @keyframes af-shine { 0%, 45% { left: -70%; } 100% { left: 140%; } }
  @keyframes af-blink { 50% { opacity: .2; } }
  @keyframes af-throb { 50% { transform: scale(1.06); } }
  .af-big b { animation: af-bump 2.8s ease-in-out 1.2s infinite; }
  .af-chip { animation: af-wiggle 3.6s ease-in-out 1s infinite; }
  @keyframes af-fade { from { opacity: 0; } }
  @keyframes af-pop { from { opacity: 0; transform: translateY(16px) scale(.94); } }
  @keyframes af-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
  @keyframes af-bump { 0%, 88%, 100% { transform: scale(1); } 94% { transform: scale(1.05); } }
}

/* ───── vidéo « Comment commander » et estimation de livraison ───── */
.vid-wrap { margin: 24px 0 8px; }
.vid { position: relative; display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-photo); overflow: hidden; background: #000; color: #fff; text-align: left; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.vid-play::after { content: ""; position: absolute; left: 30px; top: 22px; border-left: 24px solid var(--accent-ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.vid:hover .vid-play { background: var(--accent-2); }
.vid-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); display: grid; gap: 2px; }
.vid-cap strong { font: 800 clamp(20px, 3vw, 28px)/1.1 var(--display); letter-spacing: -.03em; }
.vid-cap small { font-size: 14px; opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .vid-play { animation: vid-pulse 2s ease-out infinite; } @keyframes vid-pulse { 0% { box-shadow: 0 8px 30px rgba(0,0,0,.45), 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,.45), 0 0 0 20px transparent; } } }
.est-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.est-form label { color: var(--muted); font-weight: 600; }
.est-list { display: grid; gap: 8px; max-width: 640px; }
.est-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); font-variant-numeric: tabular-nums; }
.est-row.best { border-color: var(--ok); box-shadow: inset 4px 0 0 var(--ok); }
.est-row b { font-size: 20px; }
.est-note { max-width: 640px; margin: 14px 0; font-size: 14px; }

/* estimation : prix sans / avec le lien */
.est-form input.sel { padding: 10px 12px; }
.est-name { min-width: 0; }
.est-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.est-price s { color: var(--muted); font-size: 14px; }
.est-price b { font-size: 22px; color: var(--ok); }
.est-save { font-size: 13px; font-weight: 700; color: var(--ok); }
.est-promo { max-width: 640px; margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r-ui); background: var(--accent); color: var(--accent-ink); }
.est-promo strong { font: 800 20px/1.2 var(--display); letter-spacing: -.02em; }
.est-promo span { display: block; margin-top: 4px; opacity: .92; font-size: 15px; }

/* bandeau d'annonce (créé dans l'admin, Apparence) */
.announce { display: block; text-align: center; padding: 9px 16px; font-size: 14px; font-weight: 600; background: var(--accent); color: var(--accent-ink); }
.announce.dark { background: #0d0f14; color: #fff; }
.announce.light { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); }
a.announce:hover { text-decoration: underline; }

/* favoris, filtres, barre d'achat mobile */
.card .im { position: relative; }
.fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(4px); }
.fav.on { color: #ff4d6d; background: rgba(255,255,255,.92); }
.fav:hover { transform: scale(1.08); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
.filters .sel { width: 120px; }
.fchk { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text); }
.buybar { display: none; }
@media (max-width: 700px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .buybar .bb-t { flex: 1; min-width: 0; display: grid; }
  .buybar .bb-t b { font-size: 17px; }
  .buybar .bb-t span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .fav { position: static; background: var(--surface-2); color: var(--muted); flex: none; }
  .buybar .fav.on { color: #ff4d6d; }
  main { padding-bottom: 96px; }
}

/* cœur des favoris, en haut à droite */
.favlink { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); border: 1px solid var(--line); background: var(--surface); flex: none; }
.favlink:hover, .favlink.active { color: #ff4d6d; border-color: #ff4d6d; }
.favlink.has { color: #ff4d6d; }
.favlink b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff4d6d; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* communauté : pastille de connexion, page, classement, concours */
.memberlink { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: 14px; flex: none; position: relative; }
.memberlink:hover { border-color: var(--accent); }
.memberlink.in { padding: 0 12px 0 6px; }
.memberlink .dot { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #ff4d6d; border: 2px solid var(--surface); }
.avt { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; color: #fff; font-weight: 800; flex: none; }
@media (max-width: 700px) { .memberlink .ml-t { display: none; } .memberlink { padding: 0 11px; } }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .cm-grid { grid-template-columns: 1fr; } }
.cm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); padding: 22px; margin-bottom: 18px; }
.cm-card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.cm-id { display: flex; gap: 14px; align-items: center; }
.cm-lv { display: inline-block; margin-top: 4px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
.cm-sim { margin-left: 8px; font-size: 12px; color: var(--muted); }
.cm-pts { margin: 18px 0 8px; display: flex; align-items: baseline; gap: 10px; }
.cm-pts b { font: 900 56px/1 var(--display); letter-spacing: -.05em; }
.cm-pts span { color: var(--muted); font-weight: 700; }
.cm-bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.cm-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .6s; }
.cm-stats { display: flex; gap: 16px; margin: 12px 0; font-weight: 700; }
.cm-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cm-del { color: var(--warn); }
.cm-discord { display: flex; width: 100%; margin-top: 10px; }
.cm-simbox { margin-top: 12px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-ui); }
.cm-notifs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cm-notifs li { padding: 10px 12px; border-radius: var(--r-ui); background: var(--surface-2); font-size: 14px; }
.cm-notifs li.new { border-left: 4px solid var(--accent); font-weight: 700; }
.cm-levels { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.cm-levels li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: var(--r-ui); background: var(--surface-2); }
.cm-levels span { color: var(--muted); }
.cm-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cm-tabs button { background: none; border: 0; padding: 6px 14px; font-size: 13px; color: var(--muted); }
.cm-tabs button.on { background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.lb { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.lb li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-ui); background: var(--surface-2); }
.lb li:nth-child(-n + 3) { border: 1px solid var(--accent); }
.lb-r { width: 28px; text-align: center; font-weight: 800; }
.lb-n { flex: 1; min-width: 0; display: grid; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-n small { color: var(--muted); font-weight: 500; }
.gw-list { display: grid; gap: 14px; }
.gw { border: 1px solid var(--line); border-radius: var(--r-ui); padding: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.gw.ended { opacity: .8; background: var(--surface-2); }
.gw h3 { margin: 10px 0 6px; font-size: 20px; }
.gw-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.gw-pill { padding: 3px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 800; }
.gw-pill.active { background: #d10f1c; color: #fff; }
.gw-prize { margin: 0 0 8px; }
.gw-tk { font-weight: 800; font-size: 18px; margin: 8px 0 0; }
.gw-win { font-weight: 800; margin: 8px 0 0; }
.gw-rules summary { cursor: pointer; color: var(--muted); margin-top: 8px; font-size: 14px; }
.gw-rules pre { white-space: pre-wrap; font: inherit; font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.contrib-pts { margin: 6px 0 0; font-weight: 700; color: var(--accent); }

.cm-input { flex: 1; min-width: 140px; padding: 10px 14px; border-radius: var(--r-ui); border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }

/* suivis, offres, avis */
.follow-box { margin-top: 10px; }
.follow-box .btn.on { border-color: var(--accent); color: var(--accent); }
.cm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px 14px; margin: 12px 0; }
.cm-fp { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.cm-x { background: none; border: 0; color: var(--muted); font-size: 16px; line-height: 1; padding: 0 2px; }
.cm-dm { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.cm-dm .hint { margin: 6px 0 0; font-size: 12.5px; }
.cm-guild { border-color: var(--accent); }
.cm-offers { display: grid; gap: 10px; }
.cm-offer { padding: 12px 14px; border-radius: var(--r-ui); background: var(--surface-2); }
.cm-offer p { margin: 4px 0 8px; }
.reviews { margin-top: 36px; }
.rvw-avg { color: var(--accent); font-weight: 800; }
.rvw-list { display: grid; gap: 12px; margin-bottom: 18px; }
.rvw-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-ui); background: var(--surface); }
.rvw-item p { margin: 6px 0 0; }
.rvw-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rvw-stars { color: #f5a623; letter-spacing: 1px; }
.rvw-form { display: grid; gap: 10px; max-width: 640px; padding: 16px; border: 1px dashed var(--line); border-radius: var(--r-ui); }
.rvw-pick { display: flex; gap: 2px; }
.rvw-pick button { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--line); padding: 0 2px; }
.rvw-pick button.on { color: #f5a623; }
textarea.cm-input { resize: vertical; min-height: 80px; width: 100%; }

/* recherche instantanée, survol des vignettes, liste avec livraison */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card .im img { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); }
  .card:hover .im img { transform: scale(1.12); }
}
.qc-pop { position: fixed; z-index: 90; width: 340px; display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 30px 70px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04) inset; pointer-events: none; animation: qc-in .2s cubic-bezier(.2, .8, .2, 1); }
.qc-pop::before { content: ""; position: absolute; top: calc(var(--ay, 40px) - 8px); width: 16px; height: 16px; background: inherit; border: inherit; transform: rotate(45deg); }
.qc-pop.at-r::before { left: -9px; border-top: 0; border-right: 0; }
.qc-pop.at-l::before { right: -9px; border-bottom: 0; border-left: 0; }
.qc-pop.n1 { width: 300px; }
.qc-pop-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qc-pop-h small, .qc-more { color: var(--muted); font-size: 12.5px; }
.qc-pop-t { font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-pop.n1 .qc-mini { grid-template-columns: 1fr; } .qc-pop.n2 .qc-mini { grid-template-columns: 1fr 1fr; }
@keyframes qc-in { from { opacity: 0; transform: translateX(var(--qx, 0)) scale(.96); } }
.qc-pop.at-r { --qx: -8px; } .qc-pop.at-l { --qx: 8px; }
.qc-tag { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.qc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.qc-mini img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.searchbar { position: relative; }
.sg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ui); box-shadow: 0 18px 44px rgba(0,0,0,.35); overflow: hidden; text-align: left; }
.sg[hidden] { display: none; }
.sg-r { display: flex; align-items: center; gap: 12px; padding: 9px 12px; color: var(--text); }
.sg-r:hover, .sg-r.on { background: var(--surface-2); }
.sg-i { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--surface-2); }
.sg-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.sg-p { color: var(--accent); font-size: 13px; }
.sg-all { display: block; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.sg-all:hover { color: var(--text); background: var(--surface-2); }
.ls { display: grid; gap: 10px; margin-bottom: 18px; }
.ls-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto auto; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-ui); background: var(--surface); }
.ls-im img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-photo); }
.ls-t { display: grid; gap: 2px; min-width: 0; } .ls-t a { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-step { display: inline-flex; align-items: center; gap: 10px; }
.ls-step button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); font-size: 18px; line-height: 1; }
.ls-w { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.ls-g { width: 74px; padding: 6px 8px; border-radius: var(--r-ui); border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; text-align: right; }
.ls-sum { min-width: 70px; text-align: right; }
@media (max-width: 700px) { .ls-row { grid-template-columns: 56px minmax(0, 1fr) auto; } .ls-w, .ls-sum { grid-column: 2; } }
.ls-foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 20px; align-items: start; padding: 20px; border-radius: var(--r-ui); background: var(--surface-2); margin-bottom: 28px; }
@media (max-width: 800px) { .ls-foot { grid-template-columns: 1fr; } }
.ls-left h2 { margin: 0 0 10px; font-size: 20px; }
.ls-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.ls-form label { color: var(--muted); font-size: 14px; }
.ls-left .hint { margin: 0 0 12px; font-size: 12.5px; }
.ls-more { display: inline-block; margin: 8px 14px 0 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ls-total { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-ui); background: var(--surface); border: 1px solid var(--line); }
.ls-lines { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.ls-lines b { color: var(--text); }
.ls-grand { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.ls-grand b { font: 900 30px/1 var(--display); letter-spacing: -.04em; }
/* fond dégradé et bandeau de concours discret */
body { background-color: var(--bg); isolation: isolate; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(1200px 700px at 0% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 65%), radial-gradient(1000px 700px at 105% 10%, color-mix(in srgb, #8b5cf6 30%, transparent), transparent 68%), radial-gradient(900px 600px at 50% 115%, color-mix(in srgb, #ec4899 20%, transparent), transparent 70%); }
/* bannière de concours : grosse, vivante, donne envie */
.gwh { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 6px 0 26px; padding: 26px 30px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #ff3d71, #ff7a1a 45%, #ffc233); background-size: 200% 200%; animation: gwh-bg 9s ease-in-out infinite; box-shadow: 0 22px 60px -22px #ff3d71, 0 0 0 1px rgba(255,255,255,.25) inset; transition: transform .25s; }
.gwh:hover { transform: translateY(-3px) scale(1.005); }
@keyframes gwh-bg { 50% { background-position: 100% 50%; } }
.gwh::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.35), transparent 45%), repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.06) 22px 44px); pointer-events: none; }
.gwh::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: gwh-shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes gwh-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.gwh > * { position: relative; z-index: 1; }
.gwh-gift { font-size: 76px; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); animation: gwh-bob 2.6s ease-in-out infinite; }
@keyframes gwh-bob { 50% { transform: translateY(-8px) rotate(-6deg); } }
.gwh-live { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.35); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.gwh h2 { margin: 10px 0 4px; font: 900 clamp(26px, 3.4vw, 40px)/1.05 var(--display); letter-spacing: -.03em; text-shadow: 0 3px 14px rgba(0,0,0,.25); }
.gwh-prize { margin: 0; font-size: 19px; } .gwh-prize b { background: rgba(0,0,0,.28); padding: 1px 10px; border-radius: 8px; }
.gwh-meta { margin: 8px 0 0; font-size: 14px; opacity: .92; font-weight: 600; }
.gwh-side { display: grid; gap: 14px; justify-items: center; }
.gwh-count { display: flex; gap: 8px; }
.gwh-n { display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(4px); }
.gwh-n b { font: 900 28px/1 var(--display); font-variant-numeric: tabular-nums; } .gwh-n small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.gwh-cta { padding: 13px 26px; border-radius: 999px; background: #fff; color: #c2255c; font-weight: 900; font-size: 17px; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); animation: gwh-pulse 1.8s ease-in-out infinite; }
@keyframes gwh-pulse { 50% { transform: scale(1.06); } }
@media (max-width: 820px) { .gwh { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; } .gwh-gift { font-size: 56px; } }
@media (prefers-reduced-motion: reduce) { .gwh, .gwh::after, .gwh-gift, .gwh-cta { animation: none; } }
.gw { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: linear-gradient(140deg, color-mix(in srgb, #ff3d71 22%, var(--surface)), color-mix(in srgb, #ff7a1a 14%, var(--surface))); box-shadow: 0 16px 40px -24px #ff3d71; }
.gw h3 { font-size: 26px; }
/* barre du haut animée : verre dépoli, compacte au défilement, se cache en descendant */
.topbar { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background-color .3s; will-change: transform; }
.topbar-in { transition: height .3s cubic-bezier(.2, .8, .2, 1); }
.topbar.scrolled { box-shadow: 0 10px 34px -18px rgba(0,0,0,.6); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.topbar.scrolled .topbar-in { height: 54px; }
.nav-search { flex: 0 1 0; width: 0; min-width: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: flex-basis .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.nav-search.on { flex-basis: 380px; opacity: 1; pointer-events: auto; overflow: visible; }
.topbar-in > .nav-search { margin-left: auto; }
@media (min-width: 901px) { .topbar.searching .prefs { display: none; } }
@media (max-width: 1500px) { .topbar.searching #navcta { display: none; } }
#navcta { white-space: nowrap; }
.nav-search.on { flex-basis: 360px; }
.nav-search .searchbar { margin: 0; padding: 2px 6px 2px 12px; min-height: 40px; border-radius: 999px; }
.nav-search .searchbar .btn { display: none; }
.nav-search .searchbar input { padding: 6px 4px; font-size: 14px; }
.nav-search .search-msg { display: none; }
@media (max-width: 900px) { .nav-search { display: none; } }
@media (prefers-reduced-motion: reduce) { .topbar, .topbar-in, .nav-search { transition: none; } }
/* mobile : la barre tient sur la largeur (rien ne déborde) */
@media (max-width: 900px) { .nav { top: 100%; } }
@media (max-width: 520px) {
  .topbar-in { gap: 8px; }
  select.pref { padding: 6px 0 6px 5px; font-size: 12px; max-width: 78px; min-width: 0; }
  .prefs { min-width: 0; flex-shrink: 1; }
  .burger, .favlink, .memberlink, .logo { flex-shrink: 0; }
  .prefs { gap: 4px; }
  .memberlink { padding: 0 10px; }
  .favlink { width: 38px; height: 38px; }
}
/* liste : bouton supprimer discret, disposition mobile lisible */
.ls-row > .btn-sm { width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.ls-row > .btn-sm:hover { color: #ff6b6b; border-color: #ff6b6b; }
@media (max-width: 700px) {
  .ls-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "im t x" "im w step" "im w sum"; gap: 8px 12px; }
  .ls-im { grid-area: im; align-self: start; } .ls-t { grid-area: t; } .ls-row > .btn-sm { grid-area: x; justify-self: end; }
  .ls-w { grid-area: w; grid-column: auto; } .ls-step { grid-area: step; justify-self: end; } .ls-sum { grid-area: sum; grid-column: auto; }
  .ls-step button { width: 28px; height: 28px; }
}
/* mode clair / sombre choisi par le visiteur (prioritaire sur le réglage de l'appareil) */
html[data-scheme="light"]:not([data-theme]):root { --bg: #eceef2; --surface: #ffffff; --surface-2: #f4f5f8; --line: #cdd1d9; --text: #0d0f14; --muted: #566074; --accent: #2b3bff; --accent-2: #1d2bd1; --accent-ink: #ffffff; --ok: #0a8a57; --warn: #b3261e; --foot-bg: #0d0f14; --foot-ink: #d7dae2; --bgfx: .5; color-scheme: light; }
html[data-scheme="dark"]:not([data-theme]):root { --bg: #0b0c10; --surface: #14161c; --surface-2: #1b1e26; --line: #2b2f3a; --text: #f1f2f5; --muted: #9aa1b2; --accent: #7886ff; --accent-2: #95a0ff; --accent-ink: #090b24; --ok: #3ddc97; --warn: #ff8f87; --foot-bg: #07080b; --foot-ink: #aab0bf; --bgfx: 1; color-scheme: dark; }
body::before { opacity: var(--bgfx, .5); }
html.scheme-anim, html.scheme-anim * { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* barre du haut épurée, toujours visible */
.topbar { border-bottom: 1px solid transparent; }
.topbar.scrolled { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.topbar-in { gap: 14px; height: 66px; }
.topbar.scrolled .topbar-in { height: 58px; }
.topbar .logo { margin-right: 10px; }
.nav { gap: 2px; height: auto; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav a { padding: 7px 15px; border-radius: 999px; border: 0; margin: 0; font-size: 14.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.nav a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.nav a.active { color: var(--accent-ink); background: var(--accent); border: 0; }
.topbar-in > .nav { margin-right: auto; }
select.pref { background: transparent; border-color: transparent; color: var(--muted); padding: 7px 6px; }
select.pref:hover, select.pref:focus { border-color: transparent; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }
.prefs { gap: 0; }
.iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; flex: none; transition: background-color .2s, color .2s; }
.iconbtn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn .i-moon { fill: currentColor; stroke: none; }
.iconbtn .i-sun { display: none; }
html[data-scheme="dark"] .iconbtn .i-sun { display: block; } html[data-scheme="dark"] .iconbtn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { html:not([data-scheme="light"]) .iconbtn .i-sun { display: block; } html:not([data-scheme="light"]) .iconbtn .i-moon { display: none; } }
.memberlink, .favlink { border-color: transparent; background: transparent; }
.memberlink:hover, .favlink:hover { background: color-mix(in srgb, var(--text) 8%, transparent); border-color: transparent; }
.favlink.active { border-color: transparent; background: color-mix(in srgb, #ff4d6d 14%, transparent); }
.memberlink .dot { border-color: var(--bg); }
#navcta { border-radius: 999px; padding-left: 18px; padding-right: 18px; }
@media (max-width: 900px) {
  .nav { border-radius: 0 0 18px 18px; padding: 6px 16px 12px; background: var(--bg); border: 0; border-bottom: 1px solid var(--line); }
  .nav a { border-radius: 10px; padding: 12px 14px; border-bottom: 0; }
  .nav a.active { border-bottom: 0; }
}
@media (max-width: 520px) { .iconbtn { width: 36px; height: 36px; } .topbar-in { gap: 4px; } .topbar .logo { margin-right: 4px; } }
@media (max-width: 520px) { #lang, #cur { flex: none; } }
select.pref { -webkit-appearance: none; appearance: none; padding-right: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a90a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; background-size: 10px 7px; }
@media (max-width: 520px) { select.pref { padding-right: 18px; background-position: right 4px center; } #lang { min-width: 0; } }
/* connexion Discord : carte qui donne envie */
.dc-card { position: relative; overflow: hidden; background: linear-gradient(150deg, #5865f2, #4752c4 55%, #3c45a5); border: 0; color: #fff; box-shadow: 0 22px 50px -24px #5865f2; }
.dc-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.dc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.dc-head h2 { margin: 0 0 2px; font-size: 26px; letter-spacing: -.03em; }
.dc-head p { margin: 0; opacity: .85; font-size: 14.5px; }
.dc-logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.16); flex: none; }
.dc-logo svg { width: 32px; height: 32px; }
.dc-perks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.1); }
.dc-perks b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.dc-perks span:not(.dc-ico) { font-size: 13px; opacity: .85; line-height: 1.35; }
.dc-ico { font-size: 20px; line-height: 1; }
.dc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 20px; border-radius: 12px; background: #fff; color: #4752c4; font-weight: 800; font-size: 17px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transition: transform .15s, box-shadow .15s; }
.dc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.dc-btn svg { width: 24px; height: 24px; }
.dc-count { margin: 12px 0 0; text-align: center; font-weight: 700; font-size: 14px; }
.dc-safe { margin: 10px 0 0; text-align: center; font-size: 12.5px; opacity: .8; }
.dc-card .cm-simbox { background: rgba(255,255,255,.12); border-radius: 12px; padding: 14px; color: #fff; }
.dc-card .cm-simbox .muted { color: rgba(255,255,255,.8); }
@media (max-width: 600px) { .dc-perks { grid-template-columns: 1fr; } }
/* pastille de la barre : aux couleurs de Discord tant qu'on n'est pas connecté */
.memberlink.out { background: #5865f2; color: #fff; border-color: transparent; }
.memberlink.out:hover { background: #4752c4; color: #fff; }
.ml-dc { display: grid; place-items: center; } .ml-dc svg { width: 18px; height: 18px; }
/* barre du haut : tient sur une ligne même avec un nom de site long (ex. « Monster Finds ») */
.logo { white-space: nowrap; flex: none; }
.nav-search:not(.on) { display: none; }
.nav-search.on { animation: navs-in .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes navs-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1240px) and (min-width: 901px) {
  .topbar-in { gap: 10px; }
  .nav a { padding: 7px 11px; font-size: 14px; }
  .memberlink .ml-t { display: none; }
  .memberlink { padding: 0 11px; }
  .nav-search.on { flex-basis: 260px; }
}
@media (max-width: 1040px) and (min-width: 901px) {
  .nav a { padding: 6px 9px; font-size: 13.5px; }
  .topbar .logo { font-size: 21px; margin-right: 4px; }
}
@media (max-width: 400px) { .topbar .logo { font-size: 19px; } }
/* menu burger (téléphone) : langue, devise et mode clair/sombre en bas du menu */
.nav-tools { display: flex; align-items: center; gap: 10px; padding: 12px 14px 4px; margin-top: 4px; border-top: 1px solid var(--line); }
.nav-tools .prefs { margin: 0; gap: 8px; }
.nav-tools select.pref { font-size: 14px; padding: 9px 26px 9px 12px; max-width: none; background-color: var(--surface); border: 1px solid var(--line); background-position: right 10px center; }
.nav-tools .iconbtn { margin-left: auto; border: 1px solid var(--line); }
@media (max-width: 520px) { .topbar-in > .logo { margin-right: auto; } }
/* bulle « ce que tu gagnes » au survol du bouton Connexion */
.ml-pop { display: none; position: absolute; top: calc(100% + 12px); right: 0; z-index: 70; width: 320px; padding: 16px; border-radius: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(0,0,0,.55); text-align: left; font-weight: 400; cursor: pointer; }
.ml-pop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.ml-pop::after { content: ""; position: absolute; top: -7px; right: 28px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
@media (hover: hover) and (min-width: 701px) { .memberlink.out:hover .ml-pop, .memberlink.out:focus-visible .ml-pop { display: grid; gap: 10px; animation: qc-in .18s ease-out; } }
.ml-pop-t { font-size: 15px; color: #5865f2; }
html[data-scheme="dark"] .ml-pop-t { color: #8b95ff; }
@media (prefers-color-scheme: dark) { html:not([data-scheme="light"]) .ml-pop-t { color: #8b95ff; } }
.ml-pop-r { display: flex; gap: 10px; align-items: flex-start; }
.ml-pop-r > i { font-style: normal; font-size: 18px; line-height: 1.2; }
.ml-pop-r b { display: block; font-size: 13.5px; }
.ml-pop-r small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; font-weight: 400; }
.ml-pop-f { color: var(--muted); font-size: 11.5px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 400; }
.topbar.tight #navcta { display: none; } .topbar.tighter .memberlink .ml-t { display: none; } .topbar.tighter .memberlink { padding: 0 11px; }
@media (max-width: 1400px) and (min-width: 1241px) { .nav a { padding: 7px 13px; } }
.topbar .wrap.topbar-in { width: min(1360px, 100% - 32px); }
/* profil membre : sobre et centré */
.pf { max-width: 620px; margin: 44px auto 64px; display: grid; gap: 22px; }
.pf-head { display: grid; justify-items: center; gap: 6px; text-align: center; }
.pf-head .avt { width: 72px; height: 72px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(0,0,0,.45); font-size: 26px; }
.pf-head h1 { margin: 8px 0 0; font-size: 24px; letter-spacing: -.02em; }
.pf-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-tile { display: grid; justify-items: center; gap: 4px; padding: 20px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
a.pf-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.pf-tile b { font: 800 26px/1 var(--display); }
.pf-tile small { color: var(--muted); font-size: 12.5px; }
.pf-ico { display: grid; place-items: center; color: var(--muted); }
.pf-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.pf-tile:first-child .pf-ico { color: #e5484d; }
.pf-sec { display: grid; gap: 12px; }
.pf-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pf-sec-h h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.pf-pts { font-size: 13px; font-weight: 700; color: var(--accent); }
.pf-empty { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.pf-empty .pf-ico svg { width: 26px; height: 26px; }
.pf-empty small { color: var(--muted); max-width: 240px; }
.pf-revs { display: grid; gap: 10px; }
.pf-rev { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.pf-rev:hover { border-color: var(--accent); }
.pf-rev img, .pf-noimg { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface-2); display: block; }
.pf-rev b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-rev p { margin: 4px 0 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-stars { color: #f5a524; font-size: 13px; letter-spacing: 1px; }
.pf-pend { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; }
.pf-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.pf-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; }
.pf-link:hover { color: var(--text); }
.pf-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-del:hover { color: #e5484d; }
.pf .dc-card { margin: 0; }
@media (max-width: 520px) { .pf { margin-top: 24px; } }
.pf .gw { background: var(--surface); border: 1px solid var(--line); box-shadow: none; border-radius: 16px; } .pf .gw h3 { font-size: 19px; }
/* profil : carte de membre façon pass (identité | ligne perforée | compteurs) */
.mb { max-width: 920px; margin: 36px auto 64px; display: grid; gap: 26px; }
.mb-pass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mb-pass::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent); }
.mb-id { display: flex; align-items: center; gap: 16px; padding: 22px 24px 22px 28px; min-width: 0; }
.mb-id .avt { width: 64px; height: 64px; font-size: 22px; flex: none; }
.mb-id h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.025em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-id p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 13px; }
.mb-dc { display: inline-grid; place-items: center; color: #5865f2; } .mb-dc svg { width: 16px; height: 16px; }
.mb-since::before { content: "·"; margin-right: 10px; }
.mb-cut { align-self: stretch; width: 0; border-left: 2px dashed var(--line); position: relative; margin: 0 4px; }
.mb-cut::before, .mb-cut::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.mb-cut::before { top: -12px; } .mb-cut::after { bottom: -12px; }
.mb-stats { display: flex; gap: 6px; padding: 14px 18px; }
.mb-stats > * { display: grid; justify-items: center; min-width: 84px; padding: 10px 8px; border-radius: 12px; color: var(--text); }
.mb-stats a:hover { background: var(--surface-2); }
.mb-stats b { font: 800 28px/1 var(--display); letter-spacing: -.03em; }
.mb-stats small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.mb-cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; align-items: start; }
.mb h2 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.mb-none { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line); }
.mb-none p { margin: 0; color: var(--muted); font-size: 14px; }
.mb-side { display: grid; gap: 0; }
.mb-seen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.mb-seen a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.mb-seen img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.mb-seen a:hover img { transform: scale(1.06); }
.mb-seen small { grid-column: 1 / -1; font-size: 13px; }
.mb-acts { display: grid; justify-items: start; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.mb .gw { background: var(--surface); border: 1px solid var(--line); box-shadow: none; border-radius: 16px; }
@media (max-width: 760px) {
  .mb { margin-top: 20px; }
  .mb-pass { grid-template-columns: 1fr; }
  .mb-cut { width: auto; height: 0; border-left: 0; border-top: 2px dashed var(--line); margin: 0 4px; }
  .mb-cut::before, .mb-cut::after { top: -12px; bottom: auto; }
  .mb-cut::before { left: -16px; } .mb-cut::after { left: auto; right: -16px; }
  .mb-stats { justify-content: space-around; }
  .mb-cols { grid-template-columns: 1fr; }
  .mb-seen { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 760px) { .mb-since { flex-basis: 100%; } .mb-since::before { display: none; } }
/* connexion refusée : pas encore sur le serveur Discord */
.dc-guild { display: grid; gap: 8px; padding: 16px; margin-bottom: 4px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.dc-guild b { font-size: 17px; }
.dc-guild p { margin: 0; font-size: 14px; opacity: .9; }
.dc-guild-acts { display: grid; gap: 10px; margin-top: 6px; }
.dc-retry { text-align: center; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
/* signalement de contenu */
.nt { max-width: 680px; margin: 0 auto 64px; }
.nt-intro { color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.nt-form { display: grid; gap: 18px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nt-row { display: grid; gap: 6px; min-width: 0; align-content: start; }
.nt-row label { font-weight: 700; font-size: 14px; }
.nt-row small { color: var(--muted); font-size: 12px; }
.nt-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.nt-in:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea.nt-in { resize: vertical; min-height: 120px; line-height: 1.5; }
.nt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; padding: 4px; border-radius: 8px; }
.nt-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.nt-form .bad { border-color: #e5484d; outline: 2px solid #e5484d; outline-offset: 1px; }
.nt-msg { margin: 0; color: #e5484d; font-weight: 600; min-height: 0; }
.nt-msg:empty { display: none; }
.nt-form .btn { justify-self: start; }
.nt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nt-ok { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nt-ok h2 { margin: 0 0 6px; }
.nt-ok p { margin: 0; color: var(--muted); }
.pp-report { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pp-report:hover { color: var(--text); }
@media (max-width: 560px) { .nt-two { grid-template-columns: 1fr; } .nt-form { padding: 18px; } .nt-form .btn { justify-self: stretch; } }
