.center-box{max-width:440px;margin:60px auto;padding:0 24px;}
.center-card{padding:30px 28px;}
.center-card h1{font-family:"Space Grotesk",sans-serif;margin-bottom:8px;}
.modal-desc{margin-bottom:22px;font-size:14px}
.center-card label{font-size:12px;display:block;margin-bottom:6px;}
.center-card input{width:100%;color:var(--text);font-family:"Inter",sans-serif;font-size:14px;padding:13px 15px;transition:border-color 0.15s;}
.btn-lien{display:block;text-align:center;text-decoration:none}
#cancel-modal textarea{resize:vertical;}
.btn{width:100%;padding:15px;font-family:"Inter",sans-serif;font-size:14px;cursor:pointer;transition:all 0.15s;margin-top:16px;}
.btn-primary:hover{background:#2affa0;}
.btn-primary:disabled{opacity:0.5;cursor:not-allowed;}
.error-msg{color:var(--red);font-size:13px;margin-top:12px;display:none;}
.error-msg.visible{display:block;}
.back-link{font-size:13px;cursor:pointer;margin-top:16px;font-family:"Inter",sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:13px;background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99));border:1px solid rgba(255,255,255,.075);color:#f3f6f4;box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 28px rgba(0,0,0,.22)}
.sec{display:none;margin:0 auto;position:relative;isolation:isolate}
.sec.on{display:block;}
.page-title{display:flex;align-items:center;gap:10px;letter-spacing:-1px!important;text-shadow:0 14px 40px rgba(0,0,0,.35);font-size:26px}
.page-title svg.pt-ico{width:22px;height:22px;flex-shrink:0;stroke:var(--accent);}
.oc{padding:20px;text-align:left;}

.sec .page-title{margin-bottom:8px;}
.wiz-progress{display:flex;gap:6px;}
.wiz-bar{flex:1;height:4px;border-radius:999px;background:var(--border);transition:background 0.3s;}
.wiz-bar.on{background:var(--accent);}
.wiz-sub{color:var(--text-muted);}
.wiz-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;}
.wiz-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.wiz-back{background:transparent;border:none;color:var(--text-muted);font-family:"Inter",sans-serif;font-size:14px;font-weight:600;cursor:pointer;}
.wiz-back:hover{color:var(--text);}
.wiz-champ-err{color:var(--red);font-size:12px;margin-top:5px;min-height:1px;}
.range{width:100%;accent-color:var(--accent);margin:14px 0;}
.small{font-size:12px;color:var(--text-muted);}
.skeleton{position:relative;overflow:hidden;background:#181c1c;}
.skeleton::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.05),transparent);animation:shimmer 1.3s infinite;}
@keyframes shimmer{100%{transform:translateX(100%);}}.sk-row{height:56px;border-radius:12px;margin-bottom:8px;}
.card-title{margin-bottom:4px;font-family:"Space Grotesk",sans-serif;font-size:16px;font-weight:700;letter-spacing:-.25px}
.blurable{cursor:pointer;display:inline-flex;align-items:center;gap:7px;user-select:none;}
.blurable .bl-txt{transition:filter 0.2s;}
.blurable.blurred .bl-txt{filter:blur(5px);}
.blurable .bl-eye{font-size:13px;opacity:0.6;transition:opacity 0.15s;}
.blurable:hover .bl-eye{opacity:1;}
.tg-badge{display:inline-flex;align-items:center;gap:6px;background:var(--accent-dim);color:var(--accent);font-size:12px;font-weight:600;padding:5px 12px;border-radius:20px;border:1px solid rgba(9,229,118,0.3);}.unsub-link{background:none;border:none;color:var(--text-muted);text-decoration:underline;cursor:pointer;font-family:"Inter",sans-serif;}
.unsub-link:hover{color:var(--red);}
.toggle-info p{color:var(--text-muted);}
.big-toggle{width:52px;height:30px;background:var(--surface2);border:1px solid var(--border);border-radius:20px;position:relative;cursor:pointer;transition:all 0.2s;}
.big-toggle::after{content:"";position:absolute;width:22px;height:22px;background:#888;border-radius:50%;top:3px;left:3px;transition:all 0.2s;}
.big-toggle.on{background:var(--accent-dim);border-color:var(--accent);}
.big-toggle.on::after{background:var(--accent);left:26px;}
.dash-input{width:100%;font-family:"Inter",sans-serif;font-size:14px;padding:13px 14px;outline:none;transition:border-color 0.15s;}
.field-label{font-size:12px;color:var(--text-muted);display:block;margin-bottom:6px;margin-top:14px;}.tmpl-grid{display:grid;}
.tmpl-lbl{font-size:13px;font-weight:700;color:var(--text-muted);}
.tmpl-textarea{width:100%;border-radius:11px;padding:12px;color:var(--text);font-family:"SF Mono","Menlo",monospace;font-size:13px;resize:vertical;}
.tmpl-textarea:focus{outline:none;}
.tmpl-vars-label{font-size:12px;color:var(--text-dim);}
.tmpl-vars{display:flex;flex-wrap:wrap;gap:6px;}
.tmpl-var{font-size:12px;background:var(--accent-dim);color:var(--accent);padding:4px 9px;border-radius:7px;cursor:pointer;border:1px solid transparent;transition:all .12s;font-family:"SF Mono","Menlo",monospace}
.tmpl-var:hover{border-color:var(--accent);}
.tmpl-hint{color:var(--text-dim);}
.tmpl-actions{display:flex;gap:10px;flex-wrap:wrap;}
.tmpl-save{background:var(--accent);color:#02110a;border:none;border-radius:11px;padding:11px 22px;font-weight:700;font-size:14px;cursor:pointer;font-family:"Inter",sans-serif;transition:all .15s;}
.tmpl-save:hover{background:#0cf870;}
.tmpl-test{padding:11px 22px;}
.tmpl-test:hover{border-color:var(--accent);}
.tmpl-reset{background:transparent;border:none;cursor:pointer;font-family:"Inter",sans-serif;}
.tmpl-reset:hover{color:var(--text);}
.tmpl-feedback{font-size:13px;font-weight:600;}

.items-empty{text-align:center;color:var(--text-dim);font-size:13px;padding:16px 0;line-height:1.5;}
.items-more{margin-top:8px;font-family:"Inter",sans-serif;font-size:13px;font-weight:600;cursor:pointer;}
.hist-grid{display:grid}
.hist-day-head{padding-bottom:6px;border-bottom:1px solid var(--border);}
.premium-hero{background:linear-gradient(160deg,rgba(245,197,66,0.13),rgba(245,197,66,0.02));border:1.5px solid rgba(245,197,66,0.45);border-radius:14px;}
.premium-hero .ph-badge{display:inline-block;background:var(--gold);color:#000;font-size:12px;font-weight:700;padding:4px 11px;border-radius:20px;margin-bottom:12px;}
.premium-hero h2{font-family:"Space Grotesk",sans-serif;font-size:16px;color:#fff;line-height:1.25;}
.premium-features{list-style:none;display:grid;font-size:13px;color:#e8e8e8;margin:16px 0 20px}
.premium-features .ck{color:var(--accent);font-weight:700;margin-right:6px;}
.btn-gold{padding:13px;font-size:14px;cursor:pointer;font-family:"Inter",sans-serif;}
.pm-close{
  position:absolute;cursor:pointer;z-index:2;
  font-size:19px;
  top:16px;right:16px;width:42px;height:42px;
  border-radius:14px;border:1px solid rgba(255,255,255,.08);
  background:#080c0a;color:#f3f5f4;box-shadow:0 10px 26px rgba(0,0,0,.30);
}
.dressing-error{color:var(--red);font-size:13px;margin-top:10px;display:none;}
.dressing-error.show{display:block;}
@keyframes drspin{to{transform:rotate(360deg);}}
.btn-withdraw{padding:12px 22px;font-size:14px;font-family:"Inter",sans-serif;}
.btn-withdraw:hover{background:#2affa0;}
.btn-withdraw:disabled{opacity:0.45;cursor:not-allowed;}
.wd-overlay{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:20px;}
.wd-overlay.open{display:flex;}
.wd-modal{max-width:420px;width:100%;padding:30px 28px;}
.wd-modal h2{font-family:"Space Grotesk",sans-serif;margin-bottom:8px;}
.wd-modal .wd-desc{margin-bottom:20px;white-space:pre-line;color:var(--text-muted)}
.method-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:4px;}
.method-btn{background:var(--bg);border:1px solid var(--border);border-radius:9px;padding:12px 6px;text-align:center;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;transition:all 0.15s;}
.method-btn.active{border-color:var(--accent);background:var(--accent-dim);color:var(--accent);}
.bot-alert{background:linear-gradient(135deg,rgba(255,77,77,0.16),rgba(255,77,77,0.04));border:1.5px solid rgba(255,77,77,0.5);border-radius:12px;padding:15px 18px;display:none;align-items:center;gap:14px;margin-bottom:20px;}
.bot-alert.show{display:flex;}
.bot-alert .ba-ico{font-size:26px;flex-shrink:0;}
.bot-alert .ba-txt{flex:1;}
.bot-alert .ba-txt h3{font-size:14px;color:#ff9d9d;}
.bot-alert .ba-txt p{font-size:13px;color:#c9a0a0;line-height:1.45;}
.price-field{position:relative;display:flex;align-items:center;}
.price-field .pf-unit{position:absolute;color:var(--text-muted);font-weight:600;pointer-events:none;}
/* Carte d'alerte : l'icône, le nom et les boutons, ses chiffres sous le nom ;
   le détail des filtres s'ouvre en bas. Liste assez large : les chiffres
   remplissent la ligne, entre le nom et les boutons (voir .ac-stats). */
.alert-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"icone nom actions" "icone stats stats" "details details details";
  row-gap:2px;align-items:center;border:1px solid var(--border);border-radius:14px;}
/* Estompage appliqué au contenu, PAS à la carte : une opacité < 1 sur le
   conteneur crée un contexte d'empilement, et le menu « … » (.ac-menu) se
   retrouvait enfermé dedans, donc affiché derrière les cartes suivantes. */
.alert-card.is-paused .ac-icon,
.alert-card.is-paused .ac-name,
.alert-card.is-paused .ac-stats,
.alert-card.is-paused .ac-details{opacity:0.6;}
.alert-card:has(.ac-menu.open){z-index:60;}
/* Icône de catégorie sur les cartes d'alerte : certaines (manette) ont des
   points pleins dessinés en currentColor, qui doit donc être la couleur
   d'accent et non celle du texte. */
.ac-icon{grid-area:icone;background:#0d1010;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--accent)}
.ac-name{grid-area:nom;font-family:"Space Grotesk",sans-serif;font-weight:800;letter-spacing:-0.3px;display:flex;align-items:center;gap:8px;}
.ac-paused-tag{font-size:12px;font-weight:700;background:#2a2320;color:#f79009;border-radius:999px;padding:2px 8px;letter-spacing:0.3px;}
/* Notifications Telegram coupées : la cloche barrée, en bleu (sans étiquette à côté du nom). */
.ac-btn.ac-tg.coupe{color:#a9b4ff!important;}
/* Le nom de l'alerte et sa flèche : un clic déroule tous ses filtres. */
.ac-nom{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:0;border:0;background:none;
  color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
.ac-fleche{width:16px;height:16px;flex-shrink:0;color:#7f8a85;transition:transform .2s ease,color .15s ease}
.ac-nom:hover .ac-fleche{color:var(--accent)}
.ac-nom[aria-expanded="true"] .ac-fleche{transform:rotate(180deg);color:var(--accent)}
.ac-details{grid-area:details;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px 18px;
  margin:10px 0 2px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.02);}
.ac-details[hidden]{display:none;}
.ac-details dt{font-size:11px;font-weight:600;color:#7f8a85;}
.ac-details dd{margin:2px 0 0;font-size:13px;color:#e4ede9;overflow-wrap:anywhere;}
.ac-actions{grid-area:actions;display:flex;align-items:center;gap:6px;position:relative;flex-shrink:0;}
.ac-btn{cursor:pointer;display:flex;align-items:center;justify-content:center;}
.ac-btn:hover{color:var(--accent);}
.ac-btn svg{width:16px;height:16px;}
.ac-menu{
  position:absolute;
  top:44px;
  right:0;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:11px;
  box-shadow:0 12px 40px rgba(0,0,0,0.5);
  padding:6px;
  min-width:170px;
  display:none;
  flex-direction:column;
  gap:2px;
  /* Au-dessus des cartes suivantes et de l'en-tête. */
  z-index:200;
}
.ac-menu.open{display:flex;}
/* Ses entrées : des boutons, et un lien (« Voir sur Vinted »), même apparence. */
.ac-menu button,.ac-menu a{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:none;color:var(--text);font-family:"Inter",sans-serif;font-size:13px;font-weight:500;padding:9px 11px;border-radius:7px;cursor:pointer;text-align:left;text-decoration:none;}
.ac-menu button:hover,.ac-menu a:hover{background:#0d1010;}
.ac-menu button svg,.ac-menu a svg{width:16px;height:16px;flex-shrink:0;opacity:0.7;}
/* Une ligne par entrée : « Voir dans l'Explorer » passait sur deux. */
.ac-menu button,.ac-menu a{white-space:nowrap}
.ac-menu .ac-menu-del{color:var(--red);}
.ac-menu .ac-menu-del svg{opacity:1;}
.ac-empty{text-align:center;color:var(--text-muted);padding:28px;font-size:13px;border:1px dashed var(--border);border-radius:12px;}
/* Sur téléphone : l'icône, le nom et les boutons sur une ligne, le résumé
   des filtres dessous sur toute la largeur (à côté des boutons, il ne lui
   restait qu'une centaine de pixels). */
@media (max-width:560px){
.ac-details{margin-top:4px;grid-template-columns:1fr 1fr;}}

/* Les chiffres d'une alerte : reçues, en 24 h, la dernière, les affaires et
   le prix médian. Liste large (700 px et plus) : sur la ligne du nom, juste
   avant les boutons, chacun en colonne. Liste étroite : une ligne de texte
   sous le nom ; ce qui n'y tient pas passe à la ligne, masquée, plutôt que
   d'être coupé au milieu. La carte garde ainsi sa hauteur. */
#al-kwrows{container-type:inline-size}
.ac-stats{grid-area:stats;display:flex;flex-wrap:wrap;min-width:0;height:15px;margin-top:2px;overflow:hidden;font-size:11.5px;line-height:15px}
.ac-stat{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.ac-stat+.ac-stat::before{content:"·";margin:0 6px;color:#4f5a55}
.ac-stat.ac-stat-der{flex-direction:row-reverse}
.ac-stat.ac-stat-der::before{order:1}
.ac-stat b{font-weight:700;color:#cfdcd5;font-variant-numeric:tabular-nums}
.ac-stat span{color:#7f8a85}
@container (min-width:700px){
  #al-kwrows .alert-card{grid-template-columns:auto minmax(0,1fr) auto auto;
    grid-template-areas:"icone nom stats actions" "details details details details"}
  .ac-stats{height:auto;margin:0;overflow:visible;line-height:normal}
  /* Largeurs fixes : d'une carte à l'autre, les chiffres tombent en colonnes. */
  .ac-stat{box-sizing:border-box;min-width:54px;flex-direction:column;align-items:flex-start;gap:1px;padding:0 9px}
  .ac-stat.ac-stat-der{min-width:64px;flex-direction:column}
  .ac-stat:last-child{min-width:76px}
  .ac-stat+.ac-stat{border-left:1px solid rgba(255,255,255,.06)}
  .ac-stat+.ac-stat::before{content:none}
  .ac-stat b{font:700 14px/1.25 "Space Grotesk",sans-serif;color:#eef5f1}
  .ac-stat span{font-size:11px}
}

/* Historique des actions : une ligne par action, jamais plus — l'icône, la
   phrase (coupée par « … » si elle est trop longue, entière dans l'info-bulle)
   et l'heure à droite. */
.ja-liste{list-style:none;margin:0;padding:0}
.ja-ligne{display:flex;align-items:center;gap:10px;min-width:0;padding:9px 0}
/* Un trait fin entre deux actions. */
.ja-ligne+.ja-ligne{border-top:1px solid rgba(255,255,255,.06)}
.ja-ico{flex-shrink:0;width:14px;height:14px;color:#7f8a85}
.ja-vert .ja-ico{color:#13f28a}
.ja-rouge .ja-ico{color:#ff8a8a}
.ja-orange .ja-ico{color:#f7a23b}
.ja-bleu .ja-ico{color:#a9b4ff}
.ja-ligne p{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#a9b6af}
.ja-ligne b{font-weight:600;color:#eef5f1}
.ja-ligne time{flex-shrink:0;font-size:11.5px;color:#6f7a74;font-variant-numeric:tabular-nums}
.ja-vide{font-size:13px;line-height:1.5;color:#7f8a85}
.ja-tout :is(.ja-liste,.as-liste){max-height:340px;overflow-y:auto;padding-right:4px}
.ja-plus{margin-top:8px;padding:0;border:0;background:none;color:#13f28a;font:700 12.5px "Inter",sans-serif;cursor:pointer}
.ja-plus:hover{text-decoration:underline;text-underline-offset:3px}
.ja-plus[hidden]{display:none}

/* Alertes supprimées : le nom et ce qu'elle a reçu, l'icône de ses annonces
   et « Réactiver », sur une ligne. */
#as-card[hidden]{display:none}
.as-liste{list-style:none;margin:0;padding:0}
.as-ligne{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 0}
.as-ligne+.as-ligne{border-top:1px solid rgba(255,255,255,.06)}
.as-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.as-txt b,.as-txt small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.as-txt b{font-size:13px;font-weight:600;color:#eef5f1}
.as-txt small{font-size:11.5px;color:#7f8a85}
.as-voir,.as-reactiver{flex-shrink:0;height:30px;border-radius:8px;cursor:pointer}
.as-voir{display:grid;place-items:center;width:30px;padding:0;border:1px solid rgba(255,255,255,.08);background:none;color:#a9b6af}
.as-voir svg{width:15px;height:15px}
.as-voir:hover{border-color:rgba(255,255,255,.18);color:#eef5f1}
.as-reactiver{padding:0 11px;border:1px solid rgba(19,242,138,.3);background:rgba(19,242,138,.08);color:#13f28a;font:700 12px "Inter",sans-serif}
.as-reactiver:hover{background:rgba(19,242,138,.15)}
.as-reactiver:disabled{opacity:.6;cursor:default}
@media (max-width:760px){.as-voir,.as-reactiver{height:34px}.as-voir{width:34px}}

/* « Pourquoi je n'ai pas reçu cette annonce ? » : le lien, l'annonce, le
   verdict (vert : reçue ; orange : une raison à corriger ; bleu : à savoir),
   les alertes une par ligne, puis les boutons. */
.wd-modal.pq-modal,.wd-modal.as-modal{max-width:480px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto}
.wd-modal.as-modal{max-width:440px}
.pq-modal .wd-desc{margin-bottom:14px}
.pq-form{display:flex;gap:8px}
.pq-modal .pq-form input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:12px;color:#eef5f1;font:500 14px "Inter",sans-serif}
.pq-form .vs-btn{width:auto;height:44px;padding:0 18px}
.pq-attente,.pq-err{margin:14px 0 0;font-size:13px;color:#7f8a85}
.pq-err{color:#ff8a8a}
.pq-annonce{display:flex;align-items:center;gap:12px;margin-top:16px;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;color:inherit;text-decoration:none}
.pq-annonce:hover{border-color:rgba(255,255,255,.16)}
.pq-annonce img,.pq-photo-vide{flex-shrink:0;width:48px;height:48px;border-radius:10px;object-fit:cover;background:#0d1210}
.pq-annonce-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.pq-annonce-txt b,.pq-annonce-txt small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pq-annonce-txt b{font-size:13.5px;font-weight:600;color:#eef5f1}
.pq-annonce-txt small{font-size:12px;color:#7f8a85}
.pq-verdict{--pq:#a9b4ff;margin-top:10px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--pq) 30%,transparent);border-radius:14px;background:color-mix(in srgb,var(--pq) 7%,transparent)}
.pq-verdict.pq-ok{--pq:#13f28a}
.pq-verdict.pq-alerte{--pq:#f7a23b}
.pq-verdict b{display:block;font:700 14.5px/1.3 "Space Grotesk",sans-serif;color:var(--pq)}
.pq-verdict p{margin:4px 0 0;font-size:13px;line-height:1.5;color:#c3cec8}
.pq-titre-liste{margin:16px 0 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6f7a74}
.pq-liste{list-style:none;margin:0;padding:0}
.pq-l{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:7px 0;font-size:13px;line-height:1.4}
.pq-l+.pq-l,.pq-plus{border-top:1px solid rgba(255,255,255,.06)}
.pq-pt{flex-shrink:0;width:7px;height:7px;margin-top:6px;border-radius:50%;background:#4f5a55}
.pq-passe .pq-pt{background:#13f28a}
.pq-pause .pq-pt{background:#f7a23b}
.pq-filtre .pq-pt{background:#ff8a8a}
.pq-l b{flex-shrink:0;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:#eef5f1}
.pq-raison{min-width:0;color:#a9b6af}
.pq-plus{padding-top:7px;font-size:12px;color:#6f7a74}
.pq-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px}
.pq-actions .pq-btn{width:auto;height:44px;padding:0 20px}
.pq-lien{padding:0;border:0;background:none;color:#13f28a;font:700 13px "Inter",sans-serif;cursor:pointer}
.pq-lien:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:480px){.wd-modal.pq-modal{padding:24px 18px}.pq-actions .pq-btn{flex:1 1 100%}}

@media (max-width:760px){.dash-input,.center-card input,input[type="text"],input[type="number"],input[type="email"],input[type="search"],textarea{font-size:16px!important;}}
.shell{position:relative;width:100%;max-width:100vw;overflow-x:hidden;min-height:100vh}
.app-topbar{position:fixed;z-index:70;top:0;left:0;right:0;display:grid;align-items:center;justify-content:space-between;gap:24px;backdrop-filter:blur(18px);height:var(--topbar-h);background:linear-gradient(180deg,rgba(5,9,7,.91),rgba(3,6,5,.78));border-bottom:1px solid rgba(255,255,255,.06);box-shadow:0 18px 44px rgba(0,0,0,.20)}
.app-top-left{display:flex;align-items:center;min-width:0;}
.topbar-brand{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--text);cursor:default;font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:18px;letter-spacing:-.03em;}
.topbar-brand .dot{position:relative;width:30px;height:30px;border-radius:10px;background:linear-gradient(145deg,#28ff9d,#08c96f);box-shadow:0 8px 22px rgba(19,242,138,.20),inset 0 1px 0 rgba(255,255,255,.48),0 0 26px rgba(19,242,138,.12);}
.topbar-brand .dot::after{content:"ϟ";position:absolute;inset:0;display:grid;place-items:center;color:#03140d;font:900 19px/1 "Space Grotesk",sans-serif;transform:translateY(-1px);}
.topbar-brand .brand-word{white-space:nowrap;}
/* Un bloc amené en vue (scrollIntoView, lien) s'arrête sous l'en-tête fixe,
   et sous le bandeau Premium quand il est fixe (ordinateur). */
html{scroll-padding-top:calc(var(--topbar-h) + 16px);}
@media (min-width:901px){html:has(body.show-premium-ticker){scroll-padding-top:calc(var(--topbar-h) + var(--premium-ticker-h) + 16px);}}
.app-top-actions{display:flex;align-items:center;gap:10px;}
.app-cta{height:38px;padding:0 15px;cursor:pointer;font-family:"Inter",sans-serif;}
.icon-btn{color:#8f9994;display:grid;place-items:center;cursor:pointer;position:relative;width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,#111714,#080c0a);border-color:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 30px rgba(0,0,0,.18)}
.icon-btn svg{width:17px;height:17px;}
.app-avatar{width:18px;height:18px;display:grid;place-items:center;font-weight:800;font-size:12px;border-color:transparent}
.main{flex:1;padding:calc(var(--topbar-h) + 28px) 30px 60px;}
.page-title,.sec .page-title{font-family:"Space Grotesk",sans-serif;font-weight:700;line-height:1.1;}
.card,.deals-section,.oc,.stat{border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,rgba(14,20,17,.94),rgba(8,13,11,.94))}
.card{padding:20px;margin-bottom:14px;}
.card-desc{font-size:12.5px;color:var(--text-muted);}.estimate-btn,.aff-copy,.btn-withdraw{min-height:40px;letter-spacing:-.01em;}.estimate-btn:hover,.aff-copy:hover{background:#2bf29a;}
.dash-input,.history-search,.aff-link-box{border-radius:10px;color:var(--text);}

#sec-dress > .card:first-of-type{background:linear-gradient(135deg,rgba(18,232,131,.07),rgba(8,13,11,.96));border-color:rgba(18,232,131,.2);}
@media (max-width:1100px){.app-topbar{padding:0 20px;grid-template-columns:minmax(0,1fr) auto;}
.app-top-left{gap:12px;}
.main{padding-left:22px;padding-right:22px;}}
@media (max-width:760px){
.main{padding:24px 18px 50px;}
}
.v3-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px;}
.v3-page-head .page-sub{max-width:720px;}
.v3-head-pill{display:inline-flex;align-items:center;gap:8px;color:#c9d0d0;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap;}
.v3-live-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent);display:inline-block;}
.v3-secondary-btn{font:700 13px "Inter",sans-serif;cursor:pointer;}

.v3-panel h3{font:700 17px "Space Grotesk",sans-serif;}
.v3-panel{border:1px solid var(--border);border-radius:18px;padding:18px;}

.v3-command-card{padding:20px 22px;}
/* « Mes mots-clés » et le nombre d'alertes configurées sur le maximum. */
.al-kw-tete{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.al-kw-tete .card-title{margin:0;margin-right:auto}
.al-kw-compte{flex-shrink:0;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;color:#9aa5a0;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);font-variant-numeric:tabular-nums;}
.al-kw-compte b{color:#13f28a;font-weight:800;}
/* Les deux icônes de « Mes alertes », avant le compteur : annonce pas reçue (?)
   et alertes supprimées. */
.al-kw-outils{display:flex;gap:6px;flex-shrink:0}
.al-kw-ico{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.02);color:#a9b6af;cursor:pointer;transition:color .15s,border-color .15s}
.al-kw-ico svg{width:16px;height:16px}
.al-kw-ico:hover{border-color:rgba(19,242,138,.35);color:#13f28a}
/* Petits écrans : « + Nouvelle », « Limite » ; en dessous de 340 px, le bouton
   passe sur sa propre ligne. */
@media(max-width:400px){.al-kw-tete .kw-add-suite{display:none}}
@media(max-width:340px){.al-kw-tete{flex-wrap:wrap}.al-kw-tete .kw-add-btn{flex:1 1 100%}}
.al-kw-compte.plein b{color:#e1ba5d;}
.v3-history-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start;}
.v3-history-main{margin:0;min-width:0;}
.v3-history-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:12px;}
.v3-search-wrap{position:relative;}
.v3-search-wrap svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#697171;z-index:1;}
.v3-search-wrap .dash-input{padding-left:42px;}
.v3-mini-bars{display:flex;align-items:flex-end;gap:7px;padding:8px 0 2px;border-bottom:1px solid #1f2625;background:repeating-linear-gradient(to top,transparent 0,transparent 31px,rgba(255,255,255,.025) 32px);height:128px}
.v3-mini-bars i{flex:1;min-height:7px;border-radius:5px 5px 2px 2px;background:linear-gradient(to top,rgba(18,232,131,.16),var(--accent));box-shadow:0 0 16px rgba(18,232,131,.10);}
.v3-axis{display:flex;justify-content:space-between;color:var(--text-dim);font-size:10px;margin-top:6px;}
#sec-hist .hist-day-head{font:700 12px "Inter",sans-serif;color:#8f9998;text-transform:uppercase;letter-spacing:.08em;margin:20px 0 8px;}
.v3-history-main .hist-grid{display:grid;grid-template-columns:1fr!important;}
.hist-row-card{display:grid;align-items:center;border:1px solid #202625;transition:.16s;border-radius:15px;background:linear-gradient(180deg,#090d0b,#060908);border-color:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.hist-row-thumb{background:#151a19 center/cover no-repeat;border:1px solid var(--border);border-color:rgba(255,255,255,.10);box-shadow:0 10px 24px rgba(0,0,0,.28)}
.hist-row-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;}
.hist-row-main small{color:var(--text-dim);}
.hist-row-keyword{font-size:11px;border:1px solid rgba(18,232,131,.12);border-radius:999px;padding:5px 8px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(19,242,138,.07);border-color:rgba(19,242,138,.13);color:#bfe9d4}
.hist-row-time{font-size:11px;color:var(--text-muted);}
.v3-plan-card{overflow:hidden;}
#sec-over .card,#sec-over .deals-section{background:linear-gradient(145deg,#101414,#0a0d0d)}
@media (max-width:1250px){.v3-history-layout{grid-template-columns:1fr;}
.v3-history-side{position:static;display:grid;}
}
.v3-head-pill{background:linear-gradient(180deg,rgba(18,24,21,.92),rgba(9,13,12,.92));border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 20px rgba(0,0,0,.18);}
.app-cta:hover{color:#04150d;background:linear-gradient(180deg,#2ef29a,#14de82);}
.icon-btn:hover{background:linear-gradient(180deg,#151b19,#0c100f);border-color:rgba(18,232,131,.26);color:#dce6e1;}.v3-secondary-btn,.v3-share-btn,.hist-row-link,.items-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;text-decoration:none;}.v3-secondary-btn:hover,.v3-share-btn:hover,.hist-row-link:hover,.items-more:hover{color:var(--text)!important;}
/* Navigation dans l'en-tête : Vue d'ensemble,
   Mes alertes et Historique à gauche de « Outils », puis Affiliation et Mon
   compte. Le bouton de l'onglet ouvert s'allume. */
.app-nav{display:flex;align-items:center;gap:inherit}
/* PC : le nom de l'onglet à droite de son icône ; sur téléphone, l'icône seule. */
.nav-txt{display:none}
/* Affiliation, partout : l'icône puis « Gagne jusqu'à 600 € par mois » sur deux lignes. */
.app-top-actions [data-s="affi"]{width:auto;grid-auto-flow:column;gap:7px;padding:0 11px 0 9px}
.affi-promo{display:grid;text-align:left;font:500 9.5px/1.2 "Inter",sans-serif;color:#8f9a95;white-space:nowrap}
.affi-promo b{font:700 11.5px/1.2 "Inter",sans-serif;color:#13f28a}
@media (min-width:901px){
  .app-top-actions .icon-btn{width:auto;grid-auto-flow:column;gap:7px;padding:0 13px;font:600 13px/1 "Inter",sans-serif;white-space:nowrap}
  .nav-txt{display:inline}
  .affi-promo{font-size:10.5px}
  .affi-promo b{font-size:13px}
}
.icon-btn.on{color:#04150d;background:linear-gradient(145deg,#2cff9f,#10d879);border-color:rgba(92,255,179,.54);
  box-shadow:0 8px 20px rgba(19,242,138,.16),inset 0 1px 0 rgba(255,255,255,.45)}
.icon-btn.on .affi-promo,.icon-btn.on .affi-promo b{color:inherit}
.icon-btn.on svg{stroke-width:2}
.v3-share-btn,.hist-row-link{padding:0 13px;font-size:12px;font-weight:800;}.hist-row-link::before,.v3-secondary-btn::before{content:"";opacity:.9;flex:0 0 auto;display:inline-block}.v3-secondary-btn::before{-webkit-mask:none;mask:none;width:16px;height:16px;opacity:.86;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");background-size:16px 16px;background-repeat:no-repeat;background-position:center;}
.hist-row-link::before{-webkit-mask:none;mask:none;width:16px;height:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");background-size:16px 16px;background-repeat:no-repeat;background-position:center;display:none!important;content:none}
.v3-share-btn::before{content:"";width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5 15.4 17.5M15.4 6.5 8.6 10.5'/%3E%3C/svg%3E");background-size:15px 15px;background-repeat:no-repeat;background-position:center;opacity:.85;}
.items-more{padding:12px 14px;}

.v3-page-head .page-title{letter-spacing:-.035em;}
body{font-family:"Inter",sans-serif;font-size:14px;line-height:1.6;min-height:100vh;letter-spacing:-.01em;color:#f7faf8;position:relative;}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.17;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.95),transparent 86%);}
body::after{content:"";position:fixed;inset:0;z-index:9999;pointer-events:none;box-shadow:inset 0 0 180px rgba(0,0,0,.58);}
::selection{background:rgba(19,242,138,.26);color:#fff;}
*{margin:0;padding:0;box-sizing:border-box;scrollbar-color:#22332c #050807;scrollbar-width:thin;}
*::-webkit-scrollbar{width:10px;height:10px;}
*::-webkit-scrollbar-track{background:#050807;}
*::-webkit-scrollbar-thumb{background:linear-gradient(#17221e,#24352d);border:2px solid #050807;border-radius:999px;}
.app-topbar::after{content:"";position:absolute;left:24px;right:24px;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(19,242,138,.18),transparent);}
.app-cta,.estimate-btn,.aff-copy{text-shadow:0 1px rgba(255,255,255,.12);}
.main{padding-top:calc(var(--topbar-h) + 34px);}
.sec::before{content:"";position:absolute;z-index:-1;pointer-events:none;width:520px;height:360px;right:-120px;top:-110px;border-radius:50%;filter:blur(16px);opacity:.7;}
#sec-over::before{background:radial-gradient(circle,rgba(19,242,138,.07),transparent 67%);}
#sec-alerts::before{background:radial-gradient(circle,rgba(19,242,138,.065),transparent 68%);}
#sec-hist::before{background:radial-gradient(circle,rgba(55,139,255,.035),transparent 68%);}
#sec-dress::before{background:radial-gradient(circle,rgba(19,242,138,.075),transparent 67%);}
#sec-affi::before{background:radial-gradient(circle,rgba(19,242,138,.055),transparent 67%);}
#sec-acc::before{background:radial-gradient(circle,rgba(19,242,138,.045),transparent 67%);}
.page-sub{margin-top:7px;color:#8b9791!important;}
.v3-card-eyebrow{margin-bottom:5px;font-size:10px;letter-spacing:.15em;color:#75847d;font-weight:800;}
.card,.v3-panel,.v3-aff-hero,.v3-account-card,.deals-section,.stat,.alert-card,.history-table{position:relative;border-color:rgba(255,255,255,.075)!important;background:radial-gradient(400px 160px at 92% -10%,rgba(19,242,138,.035),transparent 65%),
    linear-gradient(180deg,rgba(14,20,17,.965),rgba(6,10,8,.985))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),var(--lux-shadow);}
.card::before,.v3-panel::before,.v3-aff-hero::before,.v3-account-card::before,.deals-section::before,.stat::before,.alert-card::before{content:"";position:absolute;pointer-events:none;left:18px;right:18px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(111,255,189,.20),transparent);opacity:.8;}
.card:hover,.v3-panel:hover,.v3-account-card:hover,.stat:hover,.alert-card:hover{border-color:rgba(100,255,179,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 30px 78px rgba(0,0,0,.52),0 0 0 1px rgba(19,242,138,.018)!important;}
.card,.v3-panel,.v3-account-card,.stat,.alert-card{transition:border-color .22s ease,transform .22s ease,box-shadow .22s ease;}
.v3-secondary-btn,.v3-share-btn,.hist-row-link,.items-more,.ac-btn{border-radius:13px;background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99));border:1px solid rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 28px rgba(0,0,0,.22);color:#f3f6f4!important;transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease!important;}.v3-secondary-btn:hover,.v3-share-btn:hover,.hist-row-link:hover,.items-more:hover,.ac-btn:hover{transform:translateY(-1px);border-color:rgba(19,242,138,.27)!important;background:linear-gradient(180deg,#17201c,#0a0f0d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.075),0 16px 34px rgba(0,0,0,.26),0 0 22px rgba(19,242,138,.035)!important;}
.dash-input,.history-search,.aff-link-box,.tmpl-textarea,.center-card input{background:linear-gradient(180deg,#050807,#070a09);border:1px solid rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 8px 20px rgba(0,0,0,.12);}
.dash-input:focus,.history-search:focus,.tmpl-textarea:focus,.center-card input:focus{border-color:rgba(19,242,138,.45)!important;box-shadow:0 0 0 4px rgba(19,242,138,.055),inset 0 1px 0 rgba(255,255,255,.025)!important;}
#sec-alerts .v3-command-card{border-radius:22px!important;}
#sec-alerts .big-toggle{box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.18);}
#sec-alerts .big-toggle.on{box-shadow:0 0 0 1px rgba(19,242,138,.18),0 0 22px rgba(19,242,138,.08);}
.hist-row-card:hover{transform:translateX(2px);border-color:rgba(19,242,138,.22)!important;background:linear-gradient(180deg,#0d1410,#070b09)!important;}
.hist-row-price{font:700 16px "Space Grotesk",sans-serif;font-size:17px!important;color:var(--accent);text-shadow:0 0 18px rgba(19,242,138,.07);}
#sec-dress .res-total{background:linear-gradient(180deg,#56ffb3,#0dd677);-webkit-background-clip:text;background-clip:text;color:transparent;}
#sec-acc .v3-account-card{border-radius:22px!important;}
#sec-acc .tg-badge{box-shadow:0 0 24px rgba(19,242,138,.045);}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;}}
@media (max-width:650px){body::after{box-shadow:inset 0 0 80px rgba(0,0,0,.38);}
}.btn,.btn-primary,.btn-gold,.aff-copy,.estimate-btn,.btn-withdraw,.app-cta{position:relative;overflow:hidden;border-radius:15px;border:1px solid rgba(116,255,194,.46);background:linear-gradient(135deg,#37ffa2 0%,#14e587 48%,#08ca70 100%)!important;color:#04140d;font-weight:800!important;box-shadow:0 16px 38px rgba(19,242,138,.16),inset 0 1px 0 rgba(255,255,255,.56),inset 0 -1px 0 rgba(0,0,0,.16);}.btn::after,.btn-primary::after,.btn-gold::after,.aff-copy::after,.estimate-btn::after,.btn-withdraw::after,.app-cta::after{content:"";position:absolute;top:-80%;bottom:-80%;width:44px;left:-60px;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transition:left .48s ease;}.btn:hover::after,.btn-primary:hover::after,.btn-gold:hover::after,.aff-copy:hover::after,.estimate-btn:hover::after,.btn-withdraw:hover::after,.app-cta:hover::after{left:calc(100% + 26px);}.btn:hover,.btn-primary:hover,.btn-gold:hover,.aff-copy:hover,.estimate-btn:hover,.btn-withdraw:hover,.app-cta:hover{transform:translateY(-1px);filter:saturate(1.08) brightness(1.04);}

#cancel-confirm{background:linear-gradient(135deg,#f2c65f 0%,#ddb14c 100%)!important;border-color:rgba(244,201,101,.42);color:#0b0b09;}
#toggle-confirm-modal .btn{background:linear-gradient(135deg,#f2c65f 0%,#ddb14c 100%)!important;border-color:rgba(244,201,101,.42);color:#0b0b09;}
.back-link:hover{color:#fff!important;border-color:rgba(19,242,138,.24)!important;background:linear-gradient(180deg,#17201c,#0a0f0d)!important;}
.wd-overlay{background:radial-gradient(circle at 50% 18%,rgba(19,242,138,.06),transparent 22%),rgba(2,4,4,.78);backdrop-filter:blur(10px);}.wd-modal,.center-card,.wiz-modal{position:relative;overflow:hidden;border-radius:26px;border:1px solid rgba(255,255,255,.08);background:radial-gradient(320px 140px at 92% -6%,rgba(19,242,138,.055),transparent 62%),
    linear-gradient(180deg,#0d1210,#060908);box-shadow:0 36px 110px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.045);}.wd-modal::before,.center-card::before,.wiz-modal::before{content:"";position:absolute;left:22px;right:22px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(111,255,189,.24),transparent);}
.wd-modal h2,.center-card h1,.wiz-step h2{letter-spacing:-.04em;font-size:21px;}
.modal-desc,.wd-desc,.center-card label,.wd-modal label:not(.tmpl-lbl){color:#95a19a!important;}
.wd-modal .dash-input,.wd-modal input,.wd-modal textarea:not(.tmpl-textarea),.center-card input{background:linear-gradient(180deg,#050807,#070a09);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.02),0 10px 28px rgba(0,0,0,.14);}
.wd-modal .dash-input:focus,.wd-modal input:focus,.wd-modal textarea:not(.tmpl-textarea):focus,.center-card input:focus{border-color:rgba(19,242,138,.45)!important;box-shadow:0 0 0 4px rgba(19,242,138,.055),0 10px 28px rgba(0,0,0,.18)!important;}
.pm-close:hover{border-color:rgba(19,242,138,.22)!important;color:var(--accent)!important;}
#wiz-modal .btn,#alerte-info-modal .btn,#withdraw-modal .btn,#cancel-modal .btn,#toggle-confirm-modal .btn,#delkw-modal .btn{margin-top:18px!important;}
#wiz-modal .back-link,#toggle-confirm-modal .back-link,#cancel-modal .back-link{margin-top:14px;}
@media (max-width:1100px){
.topbar-brand .brand-word{display:none;}}
@media (min-width:901px){.shell{display:block!important;}
.main{overflow-x:hidden;width:100%;max-width:100%;padding-bottom:126px}
.sec{width:100%!important;max-width:1480px;}}
@media (min-width:1101px){.app-topbar{grid-template-columns:minmax(0,760px) max-content;gap:28px;padding-left:34px;padding-right:34px;}
.app-top-left{width:100%;gap:18px;}
.topbar-brand{white-space:nowrap;}
.app-top-actions{flex:0 0 auto;gap:12px;white-space:nowrap;}
.app-cta{height:38px;padding:0 16px;border-radius:12px;text-shadow:none;}
.app-cta::after{display:none;}
.app-cta:hover{transform:translateY(-1px)!important;background:linear-gradient(180deg,rgba(16,38,26,.99),rgba(8,23,15,.99))!important;border-color:rgba(19,242,138,.62)!important;color:#40ffa9!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 16px 34px rgba(0,0,0,.26),0 0 30px rgba(19,242,138,.08)!important;}}
@media (min-width:901px){.app-topbar{right:auto;width:100%;max-width:100%;}}
.shell[style*="display:none"],.shell[style*="display: none"]{display:none!important;}
#sec-hist #hist-more{width:fit-content!important;min-width:280px;max-width:100%;margin:16px auto 0!important;padding-left:24px;padding-right:24px;}
.hist-btn-effect{border-radius:13px;background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99));border:1px solid rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 28px rgba(0,0,0,.22);color:#f3f6f4;font-family:"Inter",sans-serif;font-size:13px;font-weight:600;transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease!important;cursor:pointer;}
.hist-btn-effect:hover{transform:translateY(-1px)!important;border-color:rgba(19,242,138,.27)!important;background:linear-gradient(180deg,#17201c,#0a0f0d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.075),0 16px 34px rgba(0,0,0,.26),0 0 22px rgba(19,242,138,.035)!important;color:#f3f6f4!important;}

#sec-hist .v3-mini-bars i{position:relative;cursor:default;transition:filter .15s ease,transform .15s ease;}
#sec-hist .v3-mini-bars i:hover{filter:brightness(1.14);transform:translateY(-2px);z-index:5;}
#sec-hist .v3-mini-bars i::after{content:attr(data-value);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%,4px);opacity:0;pointer-events:none;min-width:28px;padding:5px 7px;border-radius:8px;border:1px solid rgba(255,255,255,.09);background:rgba(8,12,10,.96);color:#f2f6f4;font:800 10px/1 "Inter",sans-serif;text-align:center;box-shadow:0 8px 18px rgba(0,0,0,.24);transition:opacity .15s ease,transform .15s ease;white-space:nowrap;}
#sec-hist .v3-mini-bars i:hover::after{opacity:1;transform:translate(-50%,0);}
html,body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none;background:#050806;}

/* ===== Boutons verts, cartes d'alerte actives, étiquettes et pagination du flux ===== */
.btn-green-lux,button.btn-green-lux,.app-cta.btn-green-lux{border:1px solid rgba(19,242,138,.55);background:linear-gradient(135deg,#17b378,#0a1710)!important;color:#d6ffec;box-shadow:0 10px 26px rgba(0,0,0,.22),0 0 20px rgba(19,242,138,.08);}
.btn-green-lux:not(:disabled):hover,.app-cta.btn-green-lux:not(:disabled):hover{border-color:rgba(19,242,138,.75)!important;color:#eafff6!important;transform:translateY(-1px);filter:none!important;box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 34px rgba(19,242,138,.16)!important;}
.btn-green-lux::after{background:linear-gradient(90deg,transparent,rgba(125,255,192,.28),transparent);}
.alert-card:not(.is-paused){border-color:rgba(19,242,138,.30)!important;}
.alert-card:not(.is-paused):hover{border-color:rgba(19,242,138,.5)!important;}
.ai-deal-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;border:1px solid rgba(18,232,131,.28);background:rgba(18,232,131,.10);color:var(--accent);font-size:10px;line-height:1.35;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;}
@media (max-width:760px){.ai-deal-tag{padding:1px 6px;font-size:9px;}}
.all-item-new-badge{
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  padding:2px 7px;
  border-radius:999px;
  border:1px solid rgba(18,232,131,.28);
  background:rgba(18,232,131,.10);
  color:var(--accent);
  font-size:10px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  vertical-align:middle;
}

.all-items-pager{align-items:center;justify-content:center;flex-wrap:wrap;display:flex}
.ai-page-btn{padding:9px 14px;border-radius:11px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,#111714,#0b0f0d);color:#d6e2dc;font-size:13px;font-weight:700;cursor:pointer;transition:.15s;}
.ai-page-btn:not(:disabled):hover{border-color:rgba(19,242,138,.4);color:#eafff6;}
.ai-page-btn:disabled{opacity:.35;cursor:not-allowed;}
.ai-page-info{font-size:13px;font-weight:700;color:#8f9a94;min-width:110px;text-align:center;}

/* ===== Fenêtre des offres (Casual, Pro, Max) =====
   Tout son style est ici : l'en-tête, puis les trois offres en colonnes,
   la recommandée (Pro) en avant (dorée) ; sur téléphone, l'une sous l'autre,
   elle en premier. */
.pm-overlay{position:fixed;inset:0;z-index:2500;display:none;align-items:center;justify-content:center;overflow-y:auto;padding:16px;
  background:rgba(0,0,0,.86);backdrop-filter:blur(18px) saturate(.9)}
.pm-overlay.open{display:flex}
.pm-card{position:relative;width:100%;max-width:860px;max-height:calc(100dvh - 32px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-color:rgba(241,189,69,.28) transparent;border-radius:22px;border:1px solid rgba(231,190,91,.35);
  background:radial-gradient(600px 260px at 50% -80px,rgba(232,190,84,.20),transparent 64%),radial-gradient(320px 160px at 100% 0,rgba(19,242,138,.045),transparent 72%),
    linear-gradient(180deg,#0d0e0b 0%,#080a08 52%,#050706 100%);
  box-shadow:0 45px 140px rgba(0,0,0,.70),0 0 0 1px rgba(255,255,255,.025) inset,0 0 70px rgba(218,170,58,.08)}
.pm-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.055),transparent 24%,transparent 72%,rgba(216,170,67,.05))}
.pm-card::-webkit-scrollbar{width:5px}
.pm-card::-webkit-scrollbar-thumb{background:rgba(241,189,69,.28);border-radius:999px}
#premium-modal .pm-close{top:12px;right:12px;width:32px;height:32px;border-radius:10px;font-size:16px}
.pm-head{position:relative;text-align:center;padding:18px 20px 14px;border-bottom:1px solid rgba(241,189,69,.18)}
.pm-title{font-family:"Space Grotesk",sans-serif;font-size:22px;font-weight:800;line-height:1.05;letter-spacing:-.05em;color:#f6f7f6}
.pm-subline{margin-top:5px;color:#8e9893;font-size:12px;font-weight:600}
.pm-cta{width:100%;min-height:46px;padding:0 16px;border-radius:13px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(180deg,#f4d276 0%,#ddb247 100%);
  box-shadow:0 18px 44px rgba(216,170,67,.18),inset 0 1px 0 rgba(255,255,255,.42);color:#100d05;font:900 14.5px "Inter",sans-serif;letter-spacing:-.025em;cursor:pointer}
.pm-cta:hover{transform:translateY(-1px);filter:brightness(1.03)}
.pm-offres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px 16px 4px}
.pm-offre{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px 14px 14px;border-radius:16px;
  border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}
.pm-offre.pm-en-avant{border-color:rgba(241,189,69,.5);background:linear-gradient(180deg,rgba(241,189,69,.10),rgba(241,189,69,.025));
  box-shadow:0 18px 44px rgba(0,0,0,.35),0 0 0 1px rgba(241,189,69,.08) inset}
.pm-offre.pm-actuelle{border-color:rgba(19,242,138,.45)}
.pm-pastille{position:absolute;top:-11px;left:50%;transform:translateX(-50%);padding:3px 11px;border-radius:999px;white-space:nowrap;
  background:linear-gradient(180deg,#f4d276,#ddb247);color:#1d1404;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.pm-offre-nom{font:800 17px/1.1 "Space Grotesk",sans-serif;letter-spacing:-.02em;color:#f6f7f6}
.pm-offre-prix{color:#8e9893;font-size:12px;font-weight:600}
.pm-offre-prix b{font:800 26px/1 "Space Grotesk",sans-serif;letter-spacing:-.05em;color:#f6f7f6;white-space:nowrap}
.pm-offre ul{display:grid;align-content:start;gap:7px;flex:1;margin:2px 0 4px;padding:0;list-style:none;color:#dfe7e3;font-size:12px;line-height:1.35}
.pm-offre li{display:flex;align-items:flex-start;gap:7px}
.pm-offre li .ck{flex:0 0 auto;color:#e3b84f;font-weight:800}
.pm-offre li.pm-sans{color:#6f7a75}
.pm-offre li.pm-sans .ck{color:#6f7a75}
.pm-offre .pm-cta{min-height:42px;font-size:13px}
.pm-offre:not(.pm-en-avant) .pm-cta{background:linear-gradient(180deg,#1a211e,#0c100e);border-color:rgba(255,255,255,.12);color:#f1f5f3}
.pm-offre .pm-cta[disabled]{opacity:.55;cursor:default;transform:none}
/* Le code promo du moment, en vert en haut des offres : une flèche qui
   pointe le code déjà rempli. */
.pm-cadeau{display:flex;align-items:center;gap:16px;margin:16px 16px 0;padding:14px 16px;border-radius:16px;
  border:1px solid rgba(19,242,138,.45);background:linear-gradient(135deg,rgba(19,242,138,.16),rgba(19,242,138,.05));
  box-shadow:0 0 0 4px rgba(19,242,138,.06),0 10px 30px -12px rgba(19,242,138,.45)}
.pm-cadeau[hidden]{display:none}
.pm-cadeau-txt{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.pm-cadeau-txt b{color:#5dffb0;font:800 16px/1.2 "Inter",sans-serif}
.pm-cadeau-txt span{color:#c8f5de;font-size:12.5px;line-height:1.35}
.pm-cadeau-fleche{flex:none;display:grid;place-items:center;width:34px;height:34px;color:#13f28a;animation:pm-pointe 1.1s ease-in-out infinite}
.pm-cadeau-fleche svg{width:30px;height:30px;filter:drop-shadow(0 0 6px rgba(19,242,138,.6))}
@keyframes pm-pointe{0%,100%{transform:translateX(-3px)}50%{transform:translateX(5px)}}
.pm-cadeau-form{display:flex;gap:8px;flex:none}
.pm-cadeau-form input{width:150px;height:44px;padding:0 12px;border-radius:12px;border:2px solid #13f28a;background:#06140d;
  color:#f1f5f3;font:800 15px "Inter",sans-serif;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.pm-cadeau-form input:focus{outline:none;box-shadow:0 0 0 3px rgba(19,242,138,.25)}
.pm-cadeau-form button{height:44px;padding:0 18px;border:0;border-radius:12px;background:linear-gradient(180deg,#3df5a0,#13c873);
  color:#03140d;font:800 14px "Inter",sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 6px 18px -6px rgba(19,242,138,.7)}
.pm-cadeau-form button:hover{filter:brightness(1.07)}
@media (prefers-reduced-motion:reduce){.pm-cadeau-fleche{animation:none}}
@media (max-width:760px){
  .pm-cadeau{flex-direction:column;align-items:stretch;gap:8px;margin:14px 12px 0;padding:14px 12px;text-align:center}
  .pm-cadeau-fleche{align-self:center;transform:rotate(90deg);animation:pm-pointe-bas 1.1s ease-in-out infinite}
  .pm-cadeau-form{flex-direction:column}
  .pm-cadeau-form input{width:100%}
}
@keyframes pm-pointe-bas{0%,100%{transform:rotate(90deg) translateX(-3px)}50%{transform:rotate(90deg) translateX(5px)}}
.pm-code{display:flex;justify-content:center;padding:12px 16px 0}
.pm-code-lien{border:0;background:none;color:#a9b4ae;font:600 12px "Inter",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pm-code-lien:hover{color:#f1f5f3}
.pm-code[hidden],.pm-code-form[hidden],.pm-code-lien[hidden]{display:none}
.pm-code-form{display:flex;gap:8px;width:100%;max-width:340px}
.pm-code-form input{flex:1;min-width:0;height:40px;padding:0 12px;border-radius:11px;border:1px solid rgba(255,255,255,.14);background:#0b0f0d;
  color:#f1f5f3;font:700 14px "Inter",sans-serif;letter-spacing:.06em;text-transform:uppercase}
.pm-code-form input:focus{outline:none;border-color:rgba(241,189,69,.6)}
.pm-code-form button{height:40px;padding:0 16px;border-radius:11px;border:1px solid rgba(241,189,69,.4);background:rgba(241,189,69,.12);
  color:#f4d276;font:800 13px "Inter",sans-serif;cursor:pointer}
.pm-secure{padding:10px 16px 16px;text-align:center;color:#69736e;font-size:10.5px;line-height:1.4}
@media (max-width:760px){
  .pm-overlay{padding:8px}
  .pm-card{max-width:420px;max-height:calc(100dvh - 16px);border-radius:18px;-webkit-overflow-scrolling:touch}
  #premium-modal .pm-close{top:10px;right:10px;width:30px;height:30px;font-size:15px}
  .pm-head{padding:14px 12px 11px}
  .pm-title{padding:0 28px;font-size:19px;line-height:1.08;letter-spacing:-.045em}
  .pm-subline{padding:0 8px;font-size:11px;line-height:1.35}
  .pm-offres{grid-template-columns:1fr;gap:16px;padding:20px 12px 4px}
  .pm-offre.pm-en-avant{order:-1}
  .pm-offre .pm-cta{min-height:44px}
  .pm-secure{font-size:9.4px;line-height:1.3}
}
@media (max-width:350px){
  .pm-card{max-width:calc(100vw - 10px)}
  .pm-title{font-size:18px}
}

.premium-feature-lock{
  text-align:center;border-radius:16px;border:1px solid rgba(216,170,67,.18);
  background:radial-gradient(280px 120px at 50% 0,rgba(216,170,67,.08),transparent 70%),#070a08;
  display:none;
}
.premium-feature-lock .pfl-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 11px;border-radius:999px;background:rgba(216,170,67,.09);border:1px solid rgba(216,170,67,.18);color:#e1ba5d;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;}
.premium-feature-lock strong{display:block;margin:12px 0 5px;font:700 18px/1.15 'Space Grotesk',sans-serif;color:#f1f4f2;letter-spacing:-.03em;}
.premium-feature-lock p{margin:0 auto 14px;color:#77827c;font-size:12.5px;line-height:1.5;}
.premium-feature-lock button{width:100%;min-height:44px;border:1px solid rgba(216,170,67,.28);border-radius:13px;background:linear-gradient(180deg,rgba(216,170,67,.16),rgba(216,170,67,.07));color:#e9c66f;font:800 13px 'Inter',sans-serif;cursor:pointer;}

/* ===== Compte gratuit : fonctions verrouillées ; fenêtre Premium compacte ===== */

#ac-premium-card.free-plan-lock{align-self:start;padding-bottom:20px!important;background:radial-gradient(320px 150px at 50% 0,rgba(216,170,67,.055),transparent 72%),linear-gradient(180deg,rgba(12,16,14,.98),rgba(7,10,8,.99))!important}
.account-feature-lock{display:block!important}
#ac-premium-card.free-plan-lock>.card-title{margin-bottom:14px}
.account-feature-lock{padding:22px 18px}
.account-feature-lock strong{font-size:19px}
.account-feature-lock p{max-width:480px}
.account-feature-lock button{max-width:460px;margin:0 auto}

.hist-row-card.free-deal-blur{position:relative;overflow:hidden;cursor:pointer;}
.hist-row-card.free-deal-blur>:not(.free-deal-badge){filter:blur(6px);opacity:.28;pointer-events:none;user-select:none}
.hist-row-card.free-deal-blur::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(4,7,5,.48),rgba(7,10,8,.66),rgba(4,7,5,.48));pointer-events:none}
.hist-row-card.free-deal-blur:hover .free-deal-badge{border-color:rgba(232,193,92,.55);background:rgba(29,22,7,.96)}

@media(max-width:760px){
 .account-feature-lock{padding:20px 14px}
}
.free-deal-badge{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(22,17,6,.92);border:1px solid rgba(216,170,67,.34);color:#edca73;font:800 11px/1 'Inter',sans-serif;letter-spacing:.015em;box-shadow:0 12px 30px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05);max-width:calc(100% - 28px);min-height:38px;padding:9px 14px;line-height:1.25!important;text-align:center}

/* Bouton « Débloquer » des verrous Premium, sur téléphone. */
@media (max-width:760px){.premium-feature-lock button{min-height:46px!important;}}
/* Croix de fermeture des fenêtres, sur téléphone. */
@media (max-width:760px){.pm-close{top:10px;right:10px;width:36px;height:36px;border-radius:12px;font-size:18px;}}

/* Mon compte : changer d'offre, à côté du nom de l'offre */
.ac-changer-offre{margin-left:auto;padding:6px 11px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);
  color:#cfd8d3;font:700 12px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ac-changer-offre:hover{border-color:rgba(19,242,138,.35);color:#a6ffd2}

/* ===== Notes sous les verrous Premium ===== */
.account-premium-note{margin-top:12px;text-align:center;font:700 11.5px/1.4 'Inter',sans-serif;letter-spacing:.005em}
.account-premium-note{color:#a79f88}
@media(max-width:760px){.account-premium-note{font-size:11px;margin-top:10px;padding:0 6px}}

/* ===== Mobile (900 px et moins) : mise en page ===== */
@media (max-width:900px){
  :root{--topbar-h:52px!important;}
  html,body{max-width:100%;overflow-x:hidden;}

  /* En-tête : la même barre qu'à l'ordinateur, le logo seul, sans le nom
     (masqué dès 1100 px ; il revient sur téléphone, voir la barre du bas). */
  .app-topbar{height:var(--topbar-h);padding:0 14px;gap:10px;grid-template-columns:auto auto;}
  /* Il part avec la page au défilement : collé en haut, il passait par-dessus
     les annonces, à moitié transparent. */
  .app-topbar{position:absolute;}
  html{scroll-padding-top:16px;}
  .app-top-actions{gap:8px;white-space:nowrap;}

  .shell{display:block!important;width:100%;max-width:100vw;overflow:visible;}
  .main{
    width:100%;max-width:100vw;
    padding:calc(var(--topbar-h) + 18px) 14px calc(40px + env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden;
  }
  .sec{width:100%!important;margin:0 auto;}

  /* Mise en page mobile générale. */
  .page-title,.sec .page-title{line-height:1.08;letter-spacing:-.045em!important;}
  .page-sub{font-size:13px;line-height:1.5;margin-top:7px;margin-bottom:16px;}
  .v3-page-head{display:block;margin-bottom:16px;}
  .v3-page-head>.v3-head-pill,.v3-page-head>.v3-secondary-btn{margin-top:10px;max-width:100%;}
  .v3-head-pill{white-space:normal;line-height:1.3;}

  .card,.v3-panel,.v3-aff-hero,.v3-account-card,.deals-section{
    min-width:0;border-radius:18px!important;padding:16px!important;
  }

  .v3-history-layout,.v3-account-grid{
    display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px;
  }
  .v3-history-side{position:static;display:grid;gap:12px;}

  .hist-row-link{grid-row:1/3;grid-column:3;min-width:66px;padding:0 10px!important;}

  .tmpl-textarea{min-height:145px;}

  .wd-modal,.wiz-modal,.center-card{max-width:calc(100vw - 20px)!important;}

}

/* En-tête du téléphone : logo, les trois onglets, « Outils », Affiliation et
   Mon compte tiennent sur une ligne, jusqu'à 320 px de large. */
@media (max-width:600px){
  .app-topbar{padding:0 10px;}
  .app-top-actions{gap:5px;}
  .topbar-brand .dot{width:29px;height:29px;}
  .icon-btn{width:33px;height:33px;border-radius:10px;}
  .icon-btn svg{width:16px;height:16px;}
  .app-cta{height:33px;padding:0 11px;border-radius:10px;font-size:13px;}
}
@media (max-width:360px){
  .app-top-actions{gap:4px;}
  .topbar-brand .dot{width:26px;height:26px;}
  .icon-btn{width:30px;height:30px;border-radius:9px;}
  .icon-btn svg{width:15px;height:15px;}
  .app-cta{height:30px;padding:0 8px;font-size:12px;}
}

@media (max-width:430px){
  .main{padding-left:10px!important;padding-right:10px!important;}

  .card,.v3-panel,.v3-aff-hero,.v3-account-card,.deals-section{padding:14px!important;}
}

/* Mobile - annonces de l'Historique ; le bouton icône est commun avec la Vue d'ensemble */
@media (max-width:760px){
  #sec-hist .hist-grid{
    gap:9px!important;
  }
  #all-items-card .all-item-row .hist-row-link::after,
  #sec-hist .hist-row-card .hist-row-link::after{display:block!important}

  #sec-hist .hist-row-card .hist-row-main strong{
    font-size:13px;
    line-height:1.24;
    display:block;
  }

  #all-items-card .all-item-row .hist-row-link::after,
  #sec-hist .hist-row-card .hist-row-link::after{
    content:"";
    width:17px;
    height:17px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:17px 17px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef3f0' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
  }

  #all-items-card .all-item-row .hist-row-link::before,
  #sec-hist .hist-row-card .hist-row-link::before{
    display:none!important;
    content:none;
  }

  #all-items-card .free-deal-badge,
  #sec-hist .free-deal-badge{
    max-width:calc(100% - 28px);
    text-align:center;
    line-height:1.25;
    padding:8px 12px;
  }
}

/* ── Filtres de la vue d'ensemble et de l'historique ──────────────────────
   Bloc unique : chaque sélecteur n'est défini qu'une fois, et aucune règle
   n'en corrige une autre. C'est ce qui évite d'avoir à écrire !important.
   ------------------------------------------------------------------------ */

/* Ligne du haut : recherche à gauche, bouton à droite.
   .v3-search-wrap porte un margin-bottom:16px hérité du reste du dashboard ;
   on l'annule ici et on reporte l'espacement sur la barre, sinon le bouton
   se retrouve désaligné verticalement. */
.flux-barre{
  display:flex;align-items:center;gap:10px;
  margin-bottom:16px;
}
.flux-barre .v3-search-wrap{flex:1;min-width:0;}

/* Le bouton : icône, « Filtres », nombre de filtres actifs, chevron. */
.flux-filtres-toggle{
  display:flex;align-items:center;gap:9px;
  flex-shrink:0;white-space:nowrap;
  padding:0 14px;min-height:46px;
  border:1px solid rgba(164,190,177,.14);border-radius:12px;
  background:rgba(12,18,15,.5);color:#cfe0d7;
  font:700 13px "Inter",sans-serif;cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}
.flux-filtres-toggle:hover,.flux-filtres-toggle.is-open{border-color:rgba(19,242,138,.3);background:rgba(16,24,20,.7);color:#eef6f2}
.flux-filtres-toggle .ff-ico{flex-shrink:0;width:18px;height:18px;color:#13f28a}
.flux-filtres-toggle .ff-chevron{flex-shrink:0;width:15px;height:15px;color:#7f8c86;transition:transform .2s ease}
.flux-filtres-toggle.is-open .ff-chevron{transform:rotate(180deg)}
.flux-filtres-toggle .ff-compte{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;
  background:#13f28a;color:#04150c;font-size:11px;font-weight:800;
}
.flux-filtres-toggle .ff-compte:empty{display:none}

/* Le panneau, compact : les rails (afficher, statut, vendeur, période, tri),
   chacun son nom à gauche, passent à la ligne s'il le faut ; puis les saisies,
   leur nom en indication ; puis l'état et les deux boutons. La largeur du
   panneau décide, pas celle de l'écran (l'historique a une colonne de plus). */
.flux-filtres{
  container-type:inline-size;
  margin:0 0 14px;padding:12px;
  border:1px solid rgba(164,190,177,.12);border-radius:14px;
  background:linear-gradient(180deg,rgba(14,22,18,.72),rgba(8,13,10,.6));
}
.ff-panneau{display:flex;flex-direction:column;gap:8px}
.ff-rails{display:flex;flex-wrap:wrap;gap:8px}
.ff-saisies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ff-bas{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ff-champ{min-width:0}
.ff-nom{flex-shrink:0;padding:0 5px 0 7px;font-size:11.5px;font-weight:600;color:#6f7f77;white-space:nowrap}
.ff-cache{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ff-panneau .dash-input{height:36px;padding:0 12px;font-size:13px}
.ff-prix{display:flex;gap:6px}
.ff-prix .dash-input{min-width:0}

/* Pastilles, dans un rail. Choix unique : une seule allumée. Choix multiple
   (l'état) : une coche sur celles qui sont prises. */
.ff-seg,.ff-puces{
  display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px;padding:3px;
  border:1px solid rgba(164,190,177,.12);border-radius:11px;background:rgba(255,255,255,.03);
}
.ff-puce{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:28px;padding:0 10px;border:1px solid transparent;border-radius:8px;
  background:transparent;color:#a8b6af;
  font:600 12px "Inter",sans-serif;white-space:nowrap;cursor:pointer;
  transition:color .15s ease,background .15s ease,border-color .15s ease;
}
.ff-puce:hover{color:#eef6f2}
.ff-puces .ff-puce::before{content:"";display:none;width:7px;height:3px;margin-top:-3px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg)}
.ff-puces .ff-puce[aria-pressed="true"]::before{display:block}
.ff-puce[aria-pressed="true"]{background:rgba(19,242,138,.13);border-color:rgba(19,242,138,.4);color:#eafff4}

.ff-pied{display:flex;align-items:center;gap:8px;margin-left:auto}
.ff-reset,.ff-voir{height:34px;padding:0 14px;border-radius:10px;font:700 12.5px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.ff-reset{border:1px solid rgba(255,255,255,.09);background:transparent;color:#a3b0a9;transition:color .18s ease,border-color .18s ease}
.ff-reset:hover{color:#eef6f2;border-color:rgba(19,242,138,.28)}

/* Panneau étroit : saisies deux par deux ; puis rails et boutons sur toute
   la largeur. */
@container (max-width:759px){
  .ff-saisies{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:519px){
  .ff-seg,.ff-puces{display:flex;width:100%;box-sizing:border-box}
  .ff-seg .ff-puce{flex:1 1 auto;padding:0 6px}
  .ff-pied{width:100%}
  .ff-pied>button{flex:1}
}

/* Au-dessus de la liste : les filtres actifs, chacun avec sa croix. */
.ff-actifs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px}
.ff-actifs[hidden]{display:none}
.ff-tout{
  padding:5px 6px;border:0;background:none;color:#8c9a93;cursor:pointer;
  font:600 12.5px "Inter",sans-serif;text-decoration:underline;text-underline-offset:3px;
}
.ff-tout:hover{color:#eef6f2}

@media(max-width:760px){
  .flux-barre{align-items:stretch}
  .flux-filtres-toggle{min-width:46px;padding:0 12px;gap:6px;justify-content:center}
  .flux-filtres-toggle .ff-libelle,.flux-filtres-toggle .ff-chevron{display:none}
  .flux-filtres{padding:14px}
}

/* Badge « Vendu ». Discret : c'est une information de contexte, pas une alerte.
   Affiché uniquement quand la page Vinted indique explicitement la vente. */
.sold-badge{
  display:inline-flex;align-items:center;
  margin-left:7px;padding:1px 7px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#a8b3ad;
  font-size:10px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;vertical-align:middle;
}

/* Téléphone : le titre est coupé, son badge « Vendu » avec. La photo porte
   alors un bandeau « Vendu », dans les coins arrondis de la vignette
   (pas d'overflow:hidden : les pastilles de l'historique en débordent). */
.thumb-vendue{display:none}
@media(max-width:760px){
  #all-items-card .all-item-row>.hist-row-thumb{position:relative}
  .hist-row-thumb .thumb-vendue{display:block;position:absolute;left:0;right:0;bottom:0;padding:2px 0 3px;
    border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:rgba(5,8,7,.84);
    color:#f2f6f4;font:800 8.5px/1.2 "Inter",sans-serif;letter-spacing:.07em;text-align:center;text-transform:uppercase;pointer-events:none}
  #all-items-card .hist-row-main .sold-badge,#sec-hist .hist-row-main .sold-badge{display:none}
}

/* ── Estimateur : bouton, état vide ─────────────────────────────────────── */
.es-go{
  min-height:44px;padding:0 22px;border-radius:12px;
  font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;
  transition:transform .16s ease,opacity .16s ease;
}
.es-go:hover:not(:disabled){transform:translateY(-1px)}
.es-go:disabled{opacity:.55;cursor:default}

.es-vide{
  margin-top:20px;padding:30px 18px;text-align:center;
  border:1px dashed rgba(164,190,177,.16);border-radius:15px;color:#8b9891;
}
.es-vide strong{display:block;color:#f2f6f4;font-size:16px;margin-bottom:6px}
.es-vide span{font-size:13.5px;line-height:1.7}

/* Recherche élargie : l'estimation ne porte pas exactement sur la demande. */
.es-elargi{
  padding:11px 14px;
  border:1px solid rgba(255,180,60,.22);border-radius:12px;
  background:rgba(255,180,60,.06);color:#d9c7a4;font-size:13px;
}
.es-elargi strong{color:#ffb545}

/* ── Créer une alerte depuis l'estimation ───────────────────────────────── */
.es-alerte{
  padding:16px 18px;
  border:1px solid rgba(19,242,138,.2);border-radius:16px;
  background:radial-gradient(420px 160px at 50% 0,rgba(19,242,138,.07),transparent 70%),rgba(9,15,12,.72);
  container-type:inline-size;
}
.es-alerte-t{
  font-family:"Space Grotesk",sans-serif;
  font-size:16px;font-weight:700;letter-spacing:-.3px;
}
.es-alerte-p{margin:3px 0 12px;font-size:13px;color:#8b9891;line-height:1.55}
.es-pcs{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
.es-pc{
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:8px 6px;border-radius:12px;
  border:1px solid rgba(164,190,177,.14);background:rgba(11,16,13,.6);
  color:#cfe0d7;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.es-pc:hover{border-color:rgba(19,242,138,.28);transform:translateY(-1px)}
.es-pc.on{border-color:rgba(19,242,138,.6);background:rgba(19,242,138,.1);color:#fff}
.es-pc i{font-style:normal;font-size:11.5px;font-weight:600;color:#8b9891}
.es-pc.on i{color:#7fe8b4}
.es-alerte-go{
  width:100%;margin-top:13px;min-height:46px;border-radius:12px;
  border:1px solid rgba(19,242,138,.5);
  background:linear-gradient(135deg,#17b378,#0d6d49);
  color:#e6fff2;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;
  transition:opacity .16s ease;
}
.es-alerte-go:disabled{opacity:.45;cursor:default}

/* Message d'erreur affiché dans le bloc d'alerte lui-même. */
.es-alerte-msg{margin-top:10px;font-size:13px;color:#ffb545;line-height:1.55}
.es-alerte-msg:empty{display:none}

/* ── Remplacement d'une alerte quand le quota est atteint ───────────────── */
.es-remplace{margin-top:14px}
.es-remplace:empty{display:none}
.es-rempl-t{
  font-size:13.5px;font-weight:700;color:#ffb545;line-height:1.55;margin-bottom:10px;
}
.es-rempl-liste{display:grid;gap:7px;margin-bottom:11px}
.es-rempl{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 13px;border-radius:11px;
  border:1px solid rgba(164,190,177,.14);background:rgba(11,16,13,.6);
  color:#cfe0d7;font-family:inherit;font-size:13.5px;cursor:pointer;text-align:left;
  transition:border-color .16s ease,background .16s ease;
}
.es-rempl:hover{border-color:rgba(255,180,60,.3)}
.es-rempl.on{border-color:rgba(255,150,60,.6);background:rgba(255,150,60,.08);color:#fff}
.es-rempl-kw{font-weight:700}
.es-rempl-px{font-size:12px;color:#5d6a64;white-space:nowrap}
.es-rempl.on .es-rempl-px{color:#d9b78a}

/* ── Popups : débordement sur petits écrans ──────────────────────────────────
   .wd-modal n'avait ni hauteur maximale ni défilement. Dès que le contenu
   dépassait la hauteur de l'écran - le formulaire d'alerte avec ses sept
   champs, typiquement - le bas sortait de la fenêtre et le bouton devenait
   inatteignable. L'overlay étant en position:fixed, on ne pouvait pas non
   plus faire défiler la page pour l'atteindre. */

/* La croix de fermeture reste accessible même après défilement.

   « position:sticky + float:right » la sortait du coin : elle se plaçait à
   l'endroit où elle tombait dans le flux du texte, donc au milieu de la
   fenêtre. On l'ancre au coin, et c'est le conteneur qui défile sous elle. */
.wd-modal{
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  overscroll-behavior:contain;
  /* le défilement ne fuit pas vers la page */
  -webkit-overflow-scrolling:touch;
  }
.wd-modal .pm-close{
  top:14px;right:14px;
  z-index:5;
}

@media(max-width:680px){
  /* Ancrage en haut plutôt qu'au centre : une modale haute centrée voit ses
     deux extrémités sortir de l'écran. */
  .wd-overlay{align-items:flex-start;padding:12px 12px 16px}
  .wd-modal{max-height:calc(100dvh - 28px);padding:24px 18px}

  /* Les boutons d'action collent au bas de la zone visible : le membre les
     voit sans avoir à deviner qu'il faut faire défiler. */
  /* Le pied descend jusqu'au bord de la fenêtre (marge négative = la marge
     intérieure de 24 px de .wd-modal) : sans cela, ces 24 px restaient
     sous lui, d'une autre teinte, comme une bande vide. */
  .wiz-actions{
    position:sticky;bottom:-24px;
    padding:14px 18px 20px;
    margin-left:-18px;margin-right:-18px;margin-bottom:-24px;
    background:linear-gradient(180deg,rgba(11,16,13,0),rgba(11,16,13,.96) 22%);
    backdrop-filter:blur(6px);
    z-index:3;
  }
}

/* Fenêtres sur téléphone. Sous la barre d'adresse de Safari (iOS 26), qui
   flotte au-dessus de la page, Safari affiche la page elle-même, jamais les
   calques fixes : le voile d'une fenêtre s'arrêtait sous la barre et le haut
   de la page restait visible, net. Tant qu'une fenêtre est ouverte, la page
   elle-même s'efface et ne défile plus. */
/* Une fenêtre ouverte : un enfant direct de <body> qui porte « open » (toutes
   les fenêtres du tableau de bord sont posées là, hors de .shell). */
@media(max-width:760px){
  .shell{transition:opacity .2s ease}
  html:has(body>.open){overflow:hidden}
  html:has(body>.open) .shell{opacity:.12}
}

/* Menu d'alerte ouvert vers le haut, quand la place manque en dessous. */
.ac-menu.vers-haut{top:auto;bottom:44px}

/* Bascule des alertes verrouillée hors Premium. */
.is-locked{opacity:.42;}

/* Fenêtre de connexion du bot Telegram. */
.tg-modal{max-width:470px}
.tg-modal h2{margin:0 0 6px;}
.tg-modal .modal-desc{margin:0 0 18px;font-size:14px}
.tg-modal .bot-progress{
  margin-bottom:14px;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#5d6a64;
}
.tg-modal .bot-sub-card{
  display:flex;gap:13px;align-items:flex-start;
  padding:14px;margin-bottom:14px;border-radius:13px;
  border:1px solid rgba(164,190,177,.13);background:rgba(11,16,13,.55);
}
.tg-modal .bot-sub-ico{
  flex-shrink:0;width:38px;height:38px;display:grid;place-items:center;
  border-radius:11px;background:rgba(19,242,138,.1);color:#13f28a;
}
.tg-modal .bot-sub-ico svg{width:19px;height:19px}
.tg-modal .bot-sub-txt b{display:block;font-size:14.5px;margin-bottom:3px;color:#eef5f1}
.tg-modal .bot-sub-txt span{font-size:13px;color:#8b9891;line-height:1.55}
.tg-modal code{
  padding:1px 5px;border-radius:5px;background:rgba(19,242,138,.1);
  color:#7fe8b4;font-size:12.5px;
}
.tg-modal input[type=text]{
  width:100%;min-height:46px;padding:0 13px;
  color:#e8f2ec;font-family:inherit;font-size:14px;
}
.tg-modal .token-ok{
  margin-top:10px;padding:10px 12px;border-radius:10px;font-size:13px;
  border:1px solid rgba(19,242,138,.3);background:rgba(19,242,138,.08);color:#7fe8b4;
}
.tg-modal .error-msg{margin-top:10px;color:#ff8f7a;display:none}
.tg-modal .error-msg.visible{display:block}
.tg-modal .btn{margin-top:12px;min-height:46px}
.tg-modal .waiting-box{
  display:none;align-items:center;gap:11px;margin-top:14px;padding:13px 15px;
  border-radius:12px;border:1px solid rgba(164,190,177,.13);
  background:rgba(11,16,13,.55);font-size:13.5px;color:#8b9891;
}
.tg-modal .waiting-spin{
  width:17px;height:17px;flex-shrink:0;border-radius:50%;
  border:2px solid rgba(19,242,138,.22);border-top-color:#13f28a;
  animation:tgspin .8s linear infinite;
}
@keyframes tgspin{to{transform:rotate(360deg)}}
.tg-modal .check-big{
  width:52px;height:52px;margin:0 auto 14px;display:grid;place-items:center;
  border-radius:50%;background:rgba(19,242,138,.12);color:#13f28a;font-size:26px;
}
.tg-modal .success-box{text-align:center;padding:8px 0}

/* Le bouton d'ajout de mot-clé est masqué PAR DÉFAUT : seul updateAddBtn()
   peut l'afficher. Tout chemin de code qui oublierait de le masquer le laisse
   ainsi invisible, au lieu de le révéler par accident. */
.kw-add-btn{display:none}

/* ── Suggestions de saisie ───────────────────────────────────────────────────
   Remplacent les <datalist> natifs : leur position était laissée au navigateur
   (liste décalée sur ordinateur) et Safari mobile ne les affichait pas. */
.sugg-liste{
  position:absolute;z-index:9999;display:none;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  /* Le doigt agit sur la liste, pas sur la page derrière : sans cela, un
     geste vertical faisait défiler le dashboard au lieu des suggestions. */
  overscroll-behavior:contain;touch-action:pan-y;
  padding:5px;border-radius:12px;
  border:1px solid rgba(164,190,177,.16);
  background:linear-gradient(180deg,#121816,#0a0f0c);
  box-shadow:0 16px 44px rgba(0,0,0,.6);
}
.sugg-liste.on{display:block}
.sugg-item{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 11px;border-radius:9px;cursor:pointer;
  color:#cfe0d7;
}
.sugg-item:hover,.sugg-item.on{background:rgba(19,242,138,.1);color:#eef5f1}
.sugg-nom{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg-n{flex-shrink:0;font-size:11.5px;color:#5d6a64}

@media(max-width:680px){
  /* Cibles plus larges au doigt. */
  .sugg-item{padding:13px 12px;font-size:15px}
}

/* ── Carte Telegram du compte ────────────────────────────────────────────── */
.tg-badge-off{
  background:rgba(226,187,97,.12);
  border-color:rgba(226,187,97,.32);
  color:#e2bb61;
}
.tg-badge-ko{
  background:rgba(255,110,90,.12);
  border-color:rgba(255,110,90,.32);
  color:#ff8f7a;
}
.tg-note{
  margin-top:14px;font-size:13px;color:#8b9891;
}
.tg-cta{margin-top:12px;min-height:44px}

/* ── Bandeau Premium (restauré avec ses contextes média) ───────────────── */
:root{--red:#ff5e68;--text:#f4f7f5;--text-muted:#8c9792;--text-dim:#5d6763;--topbar-h:64px;--bg:#030504;--surface:#090d0b;--surface2:#060908;--border:rgba(164,190,177,.12);--accent:#13f28a;--accent-dim:rgba(19,242,138,.085);--gold:#e9b84e;--gold-dim:rgba(233,184,78,.095);--lux-shadow:0 28px 80px rgba(0,0,0,.52),0 0 0 1px rgba(255,255,255,.018);--premium-ticker-h:30px}
@keyframes premiumTicker{to{transform:translateX(-50%)}}

.premium-ticker{position:fixed;top:0;left:0;right:0;height:var(--premium-ticker-h);z-index:140;overflow:hidden;align-items:center;background:linear-gradient(90deg,#0a0b08,#151108 48%,#0a0b08);border-bottom:1px solid rgba(226,183,77,.24);box-shadow:0 8px 28px rgba(0,0,0,.26);cursor:pointer;display:none}

.premium-ticker::before,.premium-ticker::after{content:"";position:absolute;top:0;bottom:0;width:72px;z-index:2;pointer-events:none}
.premium-ticker::before{left:0;background:linear-gradient(90deg,#080a07,transparent)}
.premium-ticker::after{right:0;background:linear-gradient(-90deg,#080a07,transparent)}

.premium-ticker-track{display:flex;width:max-content;will-change:transform;animation:premiumTicker 22s linear infinite}

.premium-ticker-segment{display:flex;align-items:center;gap:24px;padding-right:24px;white-space:nowrap;color:#e9c96f;font:800 11px/1 'Inter',sans-serif;letter-spacing:.055em;text-transform:uppercase}

.premium-ticker-segment i{width:4px;height:4px;border-radius:50%;background:#d9ad43;box-shadow:0 0 10px rgba(217,173,67,.45)}

body.show-premium-ticker .app-topbar{top:var(--premium-ticker-h)}
/* La barre du code promo du thème (app.py, THEME_CSS) prend la place du
   bandeau Premium défilant : même hauteur, mêmes décalages. */
#evt-bandeau{position:fixed;top:0;left:0;right:0;z-index:140;height:var(--premium-ticker-h);min-height:0;padding-top:0;padding-bottom:0}

body.show-premium-ticker .main{padding-top:calc(var(--topbar-h) + var(--premium-ticker-h) + 34px)}

/* ===== Bandeau Premium défilant ===== */

.premium-ticker:hover .premium-ticker-track{animation-play-state:paused}
@media(max-width:900px){

  .premium-ticker{position:absolute;top:var(--topbar-h);left:0;right:0;z-index:60;}
  #evt-bandeau{position:absolute;top:var(--topbar-h);z-index:60;}
  body.show-premium-ticker .app-topbar{top:0;}
  body.show-premium-ticker .main{padding-top:calc(var(--topbar-h) + var(--premium-ticker-h) + 18px)!important;}
}

/* Volume vide : message plutôt que sept barres au plancher, qui donnaient
   l'illusion d'une activité. */
.hv-vide{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;padding:0 12px;text-align:center;
  font-size:12.5px;color:#5d6a64;line-height:1.5;
}

/* ── Changement d'adresse e-mail ────────────────────────────────────────── */
.ae-label{
  display:block;margin:14px 0 6px;font-size:11px;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;color:#5d6a64;
}
.ae-err{margin-top:8px;font-size:12.5px;color:#ff8f7a;min-height:1px}
/* Les deux boutons doivent faire exactement la même hauteur : .btn porte un
   padding de 15px qui le rendait plus grand que le bouton secondaire, calé
   lui sur une hauteur minimale. On impose la même à chacun. */
.ae-actions{display:flex;gap:8px;margin-top:12px;align-items:stretch}
.ae-actions .btn,
.ae-actions .ae-annuler{
  height:46px;min-height:46px;
  padding:0 18px;margin-top:0!important;
  display:inline-flex;align-items:center;justify-content:center;
}
.ae-actions .btn{flex:1}
.ae-actions .ae-annuler{flex:0 0 auto}
.ae-note{margin-top:10px;font-size:11.5px;color:#5d6a64;line-height:1.55}
.ae-ok{
  margin-top:14px;padding:11px 13px;border-radius:11px;font-size:12.5px;
  border:1px solid rgba(19,242,138,.28);background:rgba(19,242,138,.07);
  color:#7fe8b4;
}
.ae-ok b{color:#a9f5cf}

@media(max-width:680px){
  .ae-actions{flex-direction:column}
  .ae-actions .ae-annuler{width:100%;flex:1 1 auto}
}

/* .v3-secondary-btn réserve 16 px devant le texte pour une icône : ces deux
   boutons n'en ont pas, l'espace vide décalait leur libellé. */
.ae-annuler::before{display:none}

/* ── Taille des titres de page ───────────────────────────────────────────────
   Huit règles se disputaient cette propriété (32, 30, 27, 34 px, un clamp…),
   départagées par des !important empilés au fil des correctifs. Il en reste
   deux, sans priorité forcée : plus rien ne les concurrence. */
@media(max-width:900px){
  .page-title{font-size:22px}
  .page-title svg.pt-ico{width:20px;height:20px}
}

/* ── Choix des couleurs dans l'assistant d'alerte ─────────────────────────
   Le filtre couleur est appliqué par Vinted, pas par AdsiFast : la couleur
   n'apparaît nulle part dans les annonces qu'on lit. */
.wiz-colors{
  display:flex;flex-wrap:wrap;gap:8px;
}
.wiz-col{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 12px 7px 9px;border-radius:9px;cursor:pointer;
  border:1px solid var(--border);background:#0b0e0e;
  color:var(--text-mid,#98a8a1);
  font:500 13px/1 "Inter",system-ui,sans-serif;
  transition:border-color .14s ease,color .14s ease,background .14s ease;
}
.wiz-col i{
  border-radius:50%;flex-shrink:0;
  /* Un contour clair : sans lui, la pastille noire disparaît sur le fond
     sombre, et la blanche éblouit. */
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.wiz-col:hover{border-color:var(--text-dim,#5f6f68);color:var(--text)}
.wiz-col[aria-pressed="true"]{
  border-color:var(--accent,#13f28a);
  background:rgba(19,242,138,.09);
  color:var(--text);
}

@media(max-width:560px){
  /* Une grille plutôt qu'un flux libre : les pastilles gardent une cible
     confortable pour le doigt.

     Deux colonnes et non trois : sur un écran de 360 px, trois colonnes ne
     laissent que 69 px au texte, et « Multicolore » en réclame 72. Le nom
     serait tronqué, ce qui rend la couleur méconnaissable. */
  .wiz-colors{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
  .wiz-col{padding:10px 8px;justify-content:flex-start;font-size:12.5px}
  .wiz-col span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ── Tailles choisies, sous le champ ──────────────────────────────────────
   Une taille Vinted contient déjà des barres obliques (« 5 ans / 110 cm ») :
   plusieurs tailles séparées par des virgules devenaient illisibles. Chacune
   s'affiche donc à part, et se retire d'un clic. */
.size-tags{
  flex-wrap:wrap;gap:6px;margin-top:8px;display:flex
}
.size-tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 8px 5px 10px;border-radius:8px;cursor:pointer;
  border:1px solid rgba(19,242,138,.3);
  background:rgba(19,242,138,.08);
  color:var(--text,#e4ede9);
  font:500 12.5px/1 "Inter",system-ui,sans-serif;
  transition:border-color .14s ease,background .14s ease;
}
.size-tag i{
  font-style:normal;font-size:14px;
  color:var(--text-dim,#5f6f68);
}
.size-tag:hover{
  border-color:rgba(240,113,92,.5);
  background:rgba(240,113,92,.10);
}
.size-tag:hover i{color:#f0715c}

/* ── Assistant d'alerte, sur écran large ──────────────────────────────────
   L'étape des filtres compte huit champs plus quatorze couleurs : à 640 px
   elle débordait et imposait un défilement, alors que la place horizontale
   était inutilisée. On élargit et on répartit sur deux colonnes. */
@media(min-width:900px){

  /* Les couleurs sur une seule ligne de sept, deux rangées : elles
     occupaient quatre rangées en largeur réduite. */
  .wiz-colors{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}
  .wiz-col{padding:8px 6px;justify-content:center;font-size:12.5px}
  .wiz-col span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ── Étapes du désabonnement ──────────────────────────────────────────────
   Trois traits qui se remplissent, comme dans l'assistant d'alerte : le
   membre voit où il en est et combien il reste. */
.cx-bar{display:flex;gap:6px;margin:0 0 20px}
.cx-bar i{
  flex:1;height:3px;border-radius:2px;
  background:var(--border,#1c2824);
  transition:background .2s ease;
}
.cx-bar i.on{background:var(--accent,#13f28a)}

/* ── Assistant d'alerte : choix de la catégorie (première étape) ─────────────
   Quatre tuiles. Un clic suffit : il n'y a pas de bouton « Continuer », la
   catégorie choisie mène directement au mot-clé. Deux colonnes sur mobile,
   quatre sur écran large. */
.wiz-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px}
@media(min-width:680px){.wiz-cats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}
.wiz-cat{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  min-height:128px;padding:20px 10px;border-radius:16px;cursor:pointer;
  border:1px solid var(--border);background:#0b0e0e;
  color:var(--text-mid,#98a8a1);
  font:600 14.5px/1.2 "Inter",system-ui,sans-serif;
  transition:border-color .14s ease,color .14s ease,background .14s ease,transform .14s ease;
}
.wiz-cat-ico{
  display:flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;
  background:rgba(19,242,138,.07);color:var(--accent,#13f28a);
}
.wiz-cat-ico svg{width:28px;height:28px}
.wiz-cat:hover{border-color:rgba(19,242,138,.45);color:var(--text);transform:translateY(-1px)}
.wiz-cat:focus-visible{outline:2px solid var(--accent,#13f28a);outline-offset:2px}
.wiz-cat[aria-pressed="true"]{
  border-color:var(--accent,#13f28a);
  background:rgba(19,242,138,.09);
  color:var(--text);
}
/* Huit catégories : deux rangées de quatre sur grand écran, en tuiles basses ;
   sur téléphone, deux colonnes de rangées (icône à gauche du nom) : l'étape
   tient sur un écran avec Bonnes affaires et Vendeur suivi en dessous. */
@media(min-width:680px){.wiz-cat{min-height:98px;padding:14px 10px;gap:10px}.wiz-cat-ico{width:44px;height:44px;border-radius:13px}.wiz-cat-ico svg{width:24px;height:24px}}
@media(max-width:679px){
  .wiz-cat{flex-direction:row;justify-content:flex-start;min-height:54px;padding:8px 10px;gap:10px;border-radius:14px;
    font-size:13.5px;text-align:left}
  .wiz-cat-ico{flex:0 0 36px;width:36px;height:36px;border-radius:10px}
  .wiz-cat-ico svg{width:20px;height:20px}
}
.wiz-cat-nom{line-height:1.25}

/* Les deux groupes de l'étape : « Par mot-clé », « Sans mot-clé ». */
.wiz-groupe{display:flex;align-items:center;gap:10px;margin:18px 0 10px;
  color:var(--text-dim,#5d6763);font:800 10.5px/1 "Inter",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.wiz-groupe::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.08),transparent)}
#wiz-step-0 .wiz-sub+.wiz-groupe{margin-top:4px}

/* ── Sans mot-clé : Bonnes affaires et Vendeur suivi (rendreOutilsAlerte) ──────
   Les mêmes tuiles que les catégories (.wiz-cat), dans la même grille : deux
   par rangée sur téléphone ; sur grand écran, chacune occupe deux colonnes,
   à la même hauteur que les catégories. Bonnes affaires garde sa teinte
   ambre, celle des affaires partout ailleurs. */
#wiz-outils{margin-top:14px}            /* la place des mentions posées sur le bord */
@media(min-width:680px){.wiz-outils .wiz-outil{grid-column:span 2}}
.wo-affaires .wiz-cat-ico{background:rgba(255,168,62,.09);color:#ffa83e}
.wiz-cat.wo-affaires:hover{border-color:rgba(255,168,62,.45)}
.wiz-cat.wo-affaires:focus-visible{outline-color:#ffa83e}
.wiz-outil.actif{border-color:rgba(255,168,62,.3)}
/* La mention (Pro et Max, Active, 2 suivis) posée sur le bord de la tuile,
   comme « Actuel » dans l'éditeur de message : la tuile garde la hauteur
   des catégories. */
.wiz-outil{position:relative}
.wo-tag{position:absolute;top:-8px;right:10px;padding:2px 8px;border-radius:999px;white-space:nowrap;
  font:800 9.5px/1.3 "Inter",sans-serif;letter-spacing:.04em;text-transform:uppercase;
  color:#13f28a;background:#0b1410;border:1px solid rgba(19,242,138,.32)}
.wo-tag-pro{color:var(--gold,#f5c542);background:#14110a;border-color:rgba(245,197,66,.32)}

/* ── Vendeur suivi : la recherche, puis l'aperçu (_vsDessiner) ───────────────── */
#wiz-step-vs .vs-form{display:flex;gap:10px}
#wiz-step-vs .vs-form .dash-input{height:48px}
#wiz-step-vs .vs-btn{height:48px;padding:0 24px}
#wiz-step-vs .vs-apercu{margin-top:2px;padding:16px;border-radius:16px;border:1px solid rgba(19,242,138,.2);
  background:radial-gradient(320px 140px at 0% 0%,rgba(19,242,138,.08),transparent 70%),#0b0e0e}
#wiz-step-vs .vs-av{width:56px;height:56px}
#wiz-step-vs .vs-login{font:700 17px/1.2 "Space Grotesk",sans-serif}
#wiz-step-vs .vs-question{margin:14px 0 0}
#wiz-step-vs .vs-actions{gap:8px 18px}
#wiz-modal .wiz-actions-seul{justify-content:flex-start}
@media(max-width:560px){
  #wiz-step-vs .vs-btn{padding:0 16px}
  #wiz-step-vs .vs-actions .btn-green-lux{flex:1 1 100%}
}

/* ── Assistant d'alerte : mise en page de l'étape des filtres ───────────────
   Tous les sélecteurs passent par #wiz-modal : la feuille empile plusieurs
   couches de règles en !important sur .wd-modal et .dash-input, il faut une
   spécificité supérieure pour les remplacer proprement ici sans toucher au
   reste du tableau de bord. */

/* 940 px étiraient les champs. 880 px gardent trois colonnes confortables et
   sept pastilles de couleur par ligne sans couper « Multicolore ». */
@media(min-width:900px){
  #wiz-modal .wiz-modal{max-width:880px}
}

/* La barre de progression s'arrête avant la croix au lieu de passer dessous. */
#wiz-modal .wiz-progress{margin-right:48px;margin-bottom:16px}
#wiz-modal .wiz-sub{margin-bottom:14px}

/* Une seule grille de douze colonnes, quatre champs par ligne sur PC :
     taille · marque · prix min · prix max
     vendeur · note · avis · mots exclus
   puis les pastilles (état, couleur) sur toute la largeur. La fenêtre faisait
   825 px de haut sur PC et 1 360 sur téléphone : elle débordait de l'écran. */
#wiz-modal .wiz-filtres{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  gap:12px;align-items:start;
}
/* Sur téléphone, deux champs par ligne aussi : un par ligne, la fenêtre
   faisait trois écrans de haut. */
#wiz-modal .wf{grid-column:span 6;}
#wiz-modal .wf-etat,#wiz-modal .wf-couleur,
#wiz-modal.wiz-sans-taille .wf-marque{grid-column:span 12}

/* Champs selon la catégorie (WIZ_CAT_CONFIG dans dashboard.js). La marque est
   partout ; sans taille, elle prend la ligne seule (téléphone) :
     wiz-sans-taille   Sacs & luxe, High-tech, Jeux vidéo, Pokémon, Lego
     wiz-sans-couleur  Jeux vidéo, Pokémon, Lego, Bonnes affaires */
#wiz-modal.wiz-sans-taille .wf-taille,
#wiz-modal.wiz-sans-couleur .wf-couleur,
#wiz-modal.wiz-sans-marque .wf-marque{display:none!important}

@media(min-width:560px){
  /* Deux champs par ligne, les prix ensemble. */
  #wiz-modal .wf-pmin,#wiz-modal .wf-pmax{grid-column:span 3}
  #wiz-modal .wf-exclus{grid-column:span 12}
}
@media(min-width:900px){
  #wiz-modal .wf-taille,#wiz-modal .wf-marque,#wiz-modal .wf-pmin,#wiz-modal .wf-pmax,
  #wiz-modal .wf-vendeur,#wiz-modal .wf-etoiles,#wiz-modal .wf-avis,#wiz-modal .wf-exclus{grid-column:span 3}
  /* Sans taille : les mots exclus prennent la place libre. */
  #wiz-modal.wiz-sans-taille .wf-marque{grid-column:span 3}
  #wiz-modal.wiz-sans-taille .wf-exclus{grid-column:span 6}
}
/* Recherche par marque (wiz-sans-marque) : pas de champ Marque, les mots
   exclus prennent sa place pour garder des rangées pleines. */
#wiz-modal.wiz-sans-marque .wf-exclus{grid-column:span 12}
@media(min-width:560px){#wiz-modal.wiz-sans-marque .wf-exclus{grid-column:span 6}}

/* Libellés courts, sans « (optionnel) » : le sous-titre le dit une fois. */
#wiz-modal .wiz-label{
  font-size:12.5px;
  color:#9aa5a0!important;
}

/* Champs : même hauteur pour les zones de texte et les menus déroulants,
   même rayon, sans l'ombre portée qui alourdissait chaque case. */
#wiz-modal .dash-input{
  height:42px;padding:0 14px;font-size:14.5px;
  border-radius:12px;box-shadow:none;
}
#wiz-modal .wiz-input{height:50px;font-size:16px}
#wiz-modal .dash-input::placeholder{color:#5d6763}
#wiz-modal .dash-input:focus{
  border-color:rgba(19,242,138,.5)!important;
  box-shadow:0 0 0 3px rgba(19,242,138,.12)!important;
}
#wiz-modal .price-field .dash-input{padding-right:34px}
#wiz-modal .price-field .pf-unit{right:14px}

/* Prix : sans les flèches d'incrément du navigateur, qui se superposaient
   au symbole €. */
#wiz-modal input[type=number]{-moz-appearance:textfield;appearance:textfield}
#wiz-modal input[type=number]::-webkit-inner-spin-button,
#wiz-modal input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Menus déroulants : flèche dessinée, alignée comme le € des prix. La flèche
   native était minuscule et collée au bord. */
#wiz-modal select.dash-input{
  -webkit-appearance:none;appearance:none;cursor:pointer;
  padding-right:38px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238c9792' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center/12px 12px,
             linear-gradient(180deg,#050807,#070a09);
}
#wiz-modal select.dash-input option{background:#0b0f0d;color:#e9efec}

/* Taille, prix : la ligne d'erreur ne réserve de place que lorsqu'elle
   s'affiche, et le champ fautif passe en rouge (la bordure des champs est
   imposée en !important plus haut dans la feuille). */
#wiz-modal .wiz-champ-err:empty{display:none}
#wiz-modal .dash-input.input-err{border-color:rgba(240,113,92,.75)}

/* Couleurs : le rappel « aucune sélection = toutes » passe sur la ligne du
   titre, et les pastilles s'alignent à gauche, pour que les ronds de couleur
   forment une colonne d'une rangée à l'autre. */
#wiz-modal .wf-tete{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px}
#wiz-modal .wf-tete .wiz-label{margin:0}
#wiz-modal .wf-note{font-size:11.5px;color:var(--text-dim,#5d6763);text-align:right;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#wiz-modal .wiz-colors{gap:7px}
#wiz-modal .wiz-col{height:34px;padding:0 10px;border-radius:10px;justify-content:flex-start}
/* États : sur une ligne sur PC ; sur téléphone, chaque pastille prend sa
   largeur (deux lignes au lieu de trois). */
@media(min-width:900px){
  #wiz-modal .wiz-etats{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:560px){
  #wiz-modal .wiz-etats{display:flex;}
  #wiz-modal .wiz-etats .wiz-col{padding:0 12px}
}
/* Couleurs : des pastilles carrées, toutes sur une ligne sur PC. Le nom reste
   lu par les lecteurs d'écran et s'affiche au survol. */
#wiz-modal .wf-couleur .wiz-colors{display:flex;gap:8px}
#wiz-modal .wf-couleur .wiz-col{width:36px;height:36px;padding:0;justify-content:center;}
#wiz-modal .wf-couleur .wiz-col i{width:18px;height:18px}
#wiz-modal .wf-couleur .wiz-col span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#wiz-modal .wf-couleur .wiz-col[aria-pressed="true"]{box-shadow:0 0 0 2px rgba(19,242,138,.35)}
#wiz-modal .wf-couleur .wiz-col[aria-pressed="true"] i{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 0 0 3px #0b0e0e,0 0 0 4px var(--accent,#13f28a)}
#wiz-modal .wf-couleur .wf-note.choix{color:var(--text,#e4ede9)}

/* Pied de l'étape : un trait sépare les actions des champs. Le bouton prend
   sa largeur naturelle sur écran large au lieu de traverser toute la fenêtre,
   et « ← Retour » ne se coupe plus sur deux lignes. */
#wiz-modal .wiz-actions{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06)}
/* Une règle plus ancienne impose margin-top:18px!important aux boutons de
   cette fenêtre : le bouton tombait 18 px sous « ← Retour ». */
#wiz-modal .wiz-actions .btn{margin-top:0!important}
#wiz-modal .wiz-back{white-space:nowrap;padding:11px 2px}
@media(min-width:681px){
  #wiz-modal .wiz-actions .btn{width:auto;min-width:210px;padding:13px 28px}
}

/* ── Connexion : écran « Regarde tes emails » ────────────────────────────────
   .success-box et .check-big n'étaient stylés que dans la fenêtre du bot
   Telegram (.tg-modal) : ici l'icône restait minuscule et collée à gauche.
   Même présentation que l'écran équivalent de la page d'accueil ; le reste
   de l'écran : static/connexion.css. */
#login-box .success-box{text-align:center;padding:6px 0 0}
#login-box .check-big{
  width:64px;height:64px;margin:0 auto 18px;display:grid;place-items:center;
  border-radius:50%;background:rgba(19,242,138,.1);border:2px solid #13f28a;
  font-size:28px;line-height:1;color:#13f28a;
}

/* ── Encarts de la colonne de droite (onglet Alertes) et vendeur suivi ─────────── */
.vs-card{padding:22px 24px}
/* « Mes alertes » : la liste à gauche, l'éditeur d'annonce et l'historique
   des actions à droite sur PC ; l'un sous l'autre en dessous de 1024 px. La
   liste descend jusqu'au bas de la colonne de droite. */
.al-duo{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:16px;align-items:stretch;margin-bottom:16px}
.al-cote{align-self:start}
.al-duo>.card,.al-cote>.card{margin:0!important}
@media(max-width:1023px){.al-duo{grid-template-columns:minmax(0,1fr)}}
/* Colonne de droite : l'encart de l'éditeur, puis l'historique des actions. */
.al-cote{display:flex;flex-direction:column;gap:16px;min-width:0}
.vs-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}
.vs-titres{flex:1;min-width:0}
/* Titre et badge « Premium » côte à côte dans les encarts ; colonne étroite :
   le badge passe sous le titre, plutôt que de couper le titre en deux. */
.vs-card .card-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.vs-badge{flex-shrink:0;padding:5px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:#e1ba5d;background:rgba(216,170,67,.09);border:1px solid rgba(216,170,67,.18)}

.vs-form{display:flex;gap:10px}
.vs-form .dash-input{flex:1;min-width:0;height:46px}
.vs-btn{flex-shrink:0;height:46px;padding:0 22px;border-radius:12px;font:700 14px/1 "Inter",sans-serif;cursor:pointer}
.vs-btn:disabled{opacity:.6;cursor:default}
.vs-lien{background:none;border:0;padding:8px 2px;color:#9aa5a0;font:600 13px "Inter",sans-serif;cursor:pointer}
.vs-lien:hover{color:#e8f2ec}
.vs-lien-stop:hover{color:#ff6b6b}
.vs-lien:disabled{opacity:.5;cursor:default}
.vs-err{margin-top:10px;color:#ff6b6b;font-size:13px}

.vs-profil{display:flex;align-items:center;gap:13px}
.vs-av{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid rgba(255,255,255,.1)}
.vs-av-vide{display:grid;place-items:center;background:#141a17;color:#13f28a;font-weight:800;font-size:18px}
.vs-id{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.vs-login{color:#f4f7f5;font-weight:700;font-size:16px;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vs-login:hover{color:#13f28a}
.vs-meta{color:#7f8a85;font-size:12.5px}
.vs-question{margin:14px 0 4px;color:#c7d2cc;font-size:13.5px}
.vs-actions{display:flex;align-items:center;gap:16px;margin-top:12px;flex-wrap:wrap}


@media(max-width:560px){
  .vs-badge{display:none}
}

/* ── Éditeur d'annonce (onglet Alertes) ────────────────────────────────────────
   Un encart d'une ligne en haut de la colonne : le titre, le format actuel et
   « Éditer » ; l'éditeur lui-même s'ouvre dans une fenêtre large (#tm-modal).
   Il garde son rendu : ses styles portent sur #tmpl-editor, où qu'il soit. */
/* Même marge à gauche que les autres encarts de la colonne : les titres s'alignent. */
#ac-template-card{padding:16px 24px}
.tm-ligne{display:flex;align-items:center;gap:14px}
.tm-ligne .card-title{margin:0}
.tm-resume-txt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
/* « Format actuel · Classique » ; modifié : « Classique · modifications non enregistrées » */
.tm-resume-ligne{display:flex;align-items:center;gap:5px;min-width:0;color:#7f8a85;font-size:12.5px;white-space:nowrap}
.tm-resume-ligne b{color:#e8f2ec;overflow:hidden;text-overflow:ellipsis}
#tm-resume-etat::after{content:" :"}
#tm-resume-etat.modifie{color:#e1ba5d;overflow:hidden;text-overflow:ellipsis}
#tm-resume-etat.modifie::before{content:"· "}
#tm-resume-etat.modifie::after{content:none}
.tm-resume-ico{flex-shrink:0;line-height:1}
.tm-resume-ico svg{display:block;width:14px;height:14px}
/* Le bouton garde sa largeur : sur carte étroite, .vs-btn passe à 100 %. */
.tm-ligne .vs-btn{width:auto;height:40px;padding:0 20px}
.tm-fenetre{max-width:1080px;padding-top:24px;padding-bottom:24px}

/* ── Assistant d'alerte : messages dans la fenêtre ─────────────────────────────
   Les toasts étant désactivés dans ce projet, erreurs et notes s'affichent
   dans l'étape en cours. Vides, ils ne prennent aucune place. */
#wiz-modal .wiz-err{
  display:flex;align-items:flex-start;gap:7px;margin-top:14px;
  color:#ff6b6b;font-size:13px;line-height:1.45;font-weight:500;
}
#wiz-modal .wiz-err::before{
  content:"!";flex-shrink:0;display:grid;place-items:center;width:16px;height:16px;margin-top:1px;
  border-radius:50%;background:rgba(255,107,107,.14);font-size:11px;font-weight:800;
}
#wiz-modal .wiz-note{
  margin:0 0 16px;padding:10px 13px;border-radius:11px;font-size:13px;line-height:1.45;
  color:#cfe0d7;background:rgba(19,242,138,.06);border:1px solid rgba(19,242,138,.18);
}
#wiz-modal .wiz-err:empty,#wiz-modal .wiz-note:empty{display:none}
#wiz-step-1 .wiz-note{margin:12px 0 0}
#wiz-step-mq .wiz-note{margin:12px 0 0}

/* ── Recherche par marque ─────────────────────────────────────────────────────
   Tuile « Une marque » avec Bonnes affaires et Vendeur suivi : trois tuiles
   d'une colonne chacune sur PC ; sur téléphone, la marque prend la première
   rangée seule (ouverte à tous), les deux outils en dessous. Puis l'étape
   « mq » : le champ, et les marques les plus vues en pastilles. */
@media(min-width:680px){
  .wiz-outils{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wiz-outils .wiz-outil{grid-column:auto}
}
@media(max-width:679px){.wiz-outils .wo-marque{grid-column:1 / -1}}
.wiz-mq-pop{margin-top:16px}
.wiz-mq-pop:empty{display:none}
.wiz-mq-pop-t{display:block;margin-bottom:9px;color:var(--text-dim,#5d6763);
  font:800 10.5px/1 "Inter",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.wiz-mq-chips{display:flex;flex-wrap:wrap;gap:8px}
.wiz-mq-chip{padding:8px 13px;border-radius:999px;cursor:pointer;
  border:1px solid var(--border);background:#0b0e0e;color:var(--text-mid,#98a8a1);
  font:600 13px/1.2 "Inter",system-ui,sans-serif;transition:border-color .14s ease,color .14s ease,background .14s ease}
.wiz-mq-chip:hover{border-color:rgba(19,242,138,.45);color:var(--text)}
.wiz-mq-chip[aria-pressed="true"]{border-color:var(--accent,#13f28a);background:rgba(19,242,138,.09);color:var(--text)}
.wiz-mq-chip:focus-visible{outline:2px solid var(--accent,#13f28a);outline-offset:2px}
.wiz-mq-chip:focus:not(:focus-visible){outline:none}

/* Choix de l'alerte à remplacer dans la fenêtre d'information d'une alerte. */
#alerte-info-modal .es-rempl-liste{margin-top:4px}

/* ── Parcours d'activation (onglet Alertes) ──────────────────────────────────
   Étiquette d'une alerte qui ne part pas encore, et encart de l'étape
   suivante (« Active ton alerte », puis « connecte ton bot ») sous les cartes. */
.ac-attente-tag{font-size:11.5px;font-weight:700;background:rgba(216,170,67,.1);color:#e1ba5d;
  border:1px solid rgba(216,170,67,.22);border-radius:999px;padding:2px 9px;letter-spacing:.2px;
  white-space:nowrap;vertical-align:middle}
.ac-etape-suivante{
  margin-top:14px;
  display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;
  border:1px dashed rgba(19,242,138,.22);background:rgba(19,242,138,.035);
}

/* ── Valeur Dressing, compte gratuit ─────────────────────────────────────────
   Le profil s'affiche (photo, note, annonces) ; total, prix moyen et article le plus cher sont des
   marques floutées (le serveur n'envoie aucune valeur), avec l'accès Premium. */
#dr-result.dr-verrouille #dr-total,
#dr-result.dr-verrouille #dr-average,
#dr-result.dr-verrouille #dr-max{filter:blur(7px);user-select:none;opacity:.85}

.ai-suspect-tag{display:inline-flex;align-items:center;margin-left:5px;padding:1px 6px;border-radius:999px;
  border:1px solid rgba(247,201,72,.3);background:rgba(247,201,72,.1);color:#f7c948;font-size:9px;line-height:1.35;
  font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;white-space:nowrap}
.ai-preuve{font-size:11px;color:#7d8882;line-height:1.35}

/* Contenu réservé au Premium (affaires du moment, idées) : rayures et cadenas doré. */
#deals-section .deal-photo-lock,.cache-premium{color:#e2b74d;
  background:radial-gradient(120px 80px at 50% 40%,rgba(226,183,77,.12),transparent 70%),repeating-linear-gradient(135deg,#0c100e 0 10px,#0a0d0b 10px 20px)!important;}

/* ── Historique, mobile : le mot-clé à côté du prix ──────────────────────────
   Prix, mot-clé et heure sur une seule ligne sous le titre : la carte perd
   une ligne et se lit d'un coup d'œil. */
@media (max-width:760px){
  #sec-hist .hist-row-card{
    grid-template-rows:auto auto;
  }
  #sec-hist .hist-row-card .hist-row-thumb{grid-column:1;border-radius:11px;align-self:center;grid-row:1/3;}
  #sec-hist .hist-row-card .hist-row-main{min-width:0;align-self:end;grid-column:2/5;grid-row:1;}
  #sec-hist .hist-row-card .hist-row-price{justify-self:start;align-self:center;font-size:16px!important;line-height:1.05;grid-column:2;grid-row:2;}
  #sec-hist .hist-row-card>.hist-row-etiquettes{grid-column:3;grid-row:2;justify-self:start;align-self:center;max-width:100%}
  #sec-hist .hist-row-etiquettes>span,#sec-hist .hist-row-etiquettes>.ex-mot-lien{padding:3px 8px;font-size:9.5px;line-height:1.15}
  #sec-hist .hist-row-card .hist-row-time{justify-self:end;align-self:center;font-size:10px;line-height:1;color:#7d8983;white-space:nowrap;grid-column:4;grid-row:2;}
  #sec-hist .hist-row-card .hist-row-link{
    padding:0!important;
    border-radius:11px;
    align-self:center;
    justify-self:end;
    font-size:0;
    position:relative;
    grid-column:5;
    grid-row:1/3;
  }
}

/* ── Paiement refusé ─────────────────────────────────────────────────────────
   Fenêtre sans croix : le tableau de bord reste en pause jusqu'au règlement. */
#impaye-modal{z-index:3000;}
.impaye-modal{max-width:440px;text-align:center;}
.impaye-ico{width:54px;height:54px;margin:0 auto 14px;border-radius:16px;display:grid;place-items:center;
  color:#ffb4a8;background:rgba(255,94,104,.1);border:1px solid rgba(255,94,104,.3);}
.impaye-ico svg{width:26px;height:26px;}
.impaye-modal .wd-desc{margin-bottom:16px;}
.impaye-modal .wd-desc strong{color:#f1f4f2;}
.impaye-facture{display:none;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;
  border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);}
.impaye-facture:not(:empty){display:flex;}
.impaye-facture span{font-size:12px;color:var(--text-muted);font-weight:700;}
.impaye-facture b{font:700 20px "Space Grotesk",sans-serif;color:#f1f4f2;}
.impaye-facture small{font-size:12px;color:var(--text-muted);}
.impaye-payer{display:block;text-decoration:none;margin-top:0;
  }
.impaye-payer:hover{filter:brightness(1.04);}
.impaye-payer.attente{opacity:.55;pointer-events:none;}
.impaye-msg{margin-top:10px;font-size:12.5px;color:var(--text-muted);}
.impaye-msg:empty{display:none;}
.impaye-msg.ok{color:var(--accent);font-weight:700;}
.impaye-bas{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);font-size:12.5px;color:#5d6a64;}
.impaye-bas[hidden]{display:none;}
.impaye-bas a{color:var(--text-muted);text-decoration:underline;}
body.paiement-bloque{overflow:hidden;}

/* ── Historique : la fenêtre des mots-clés ─────────────────────────────────── */
.hm-modal{max-width:520px;}
.hm-liste{display:grid;gap:7px;max-height:min(56vh,480px);overflow:auto;margin-top:2px;padding-right:2px;}
.hm-ligne{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;width:100%;
  padding:11px 13px;border-radius:13px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);
  color:var(--text);text-align:left;font:inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease;}
.hm-ligne:hover{border-color:rgba(19,242,138,.3);background:rgba(19,242,138,.035);}
.hm-ligne.on{border-color:rgba(19,242,138,.5);background:rgba(19,242,138,.06);}
.hm-nom{min-width:0;font-size:13.5px;font-weight:700;overflow-wrap:anywhere;}
.hm-ancien{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;vertical-align:1px;
  background:rgba(255,255,255,.06);color:var(--text-muted);font-size:10.5px;}
.hm-n{font:700 14px "Space Grotesk",sans-serif;color:var(--accent);}
.hm-barre{grid-column:1 / -1;height:4px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden;}
.hm-barre i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0fbf6c,#13f28a);}
.hm-date{grid-column:1 / -1;font-size:11px;color:var(--text-dim);}

/* ── Éditeur du message Telegram ──────────────────────────────────────────
   L'éditeur reste dans le style du tableau de bord ; l'aperçu, lui, reprend
   les couleurs et la police de Telegram (thème sombre) pour se lire comme
   l'écran du téléphone. */
/* Modèles : une pastille par modèle, sa description en info-bulle. */
.tm-modeles{display:flex;gap:8px;margin:0 0 10px;padding:10px 0 4px;overflow-x:auto;scroll-snap-type:x proximity;}
.tm-modele{position:relative;flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;
  border-radius:12px;white-space:nowrap;cursor:pointer;scroll-snap-align:start;
  border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);color:var(--text);font:inherit;
  transition:border-color .15s ease,background .15s ease}
.tm-modele:hover{border-color:rgba(19,242,138,.28)}
.tm-modele.on{border-color:rgba(19,242,138,.55);background:rgba(19,242,138,.06)}
.tm-modele:focus-visible,.tm-exemple:focus-visible,.tm-outil:focus-visible,.tmpl-var:focus-visible,.tm-vue:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:2px}
.tm-modele-ico{font-size:17px;line-height:1}
.tm-modele-ico svg{display:block;width:18px;height:18px}
.tm-modele-nom{font-size:13.5px;font-weight:700;line-height:1.25}
/* « Actuel » posé sur le bord haut de la pastille. */
.tm-modele-nom em{position:absolute;top:-9px;right:10px;padding:1px 8px;border-radius:999px;font-style:normal;
  font-size:10.5px;line-height:16px;color:#7fe8b4;background:#0b1712;border:1px solid rgba(19,242,138,.45)}
/* Bascule Message / Aperçu : seulement sur téléphone (voir plus bas). */
.tm-vues{display:none}
#tmpl-editor .tmpl-grid{grid-template-columns:minmax(0,1fr) minmax(290px,.72fr);grid-template-rows:auto 1fr;
  grid-template-areas:"edition apercu" "bas apercu";column-gap:24px;row-gap:0;align-items:start}
.tm-edition{grid-area:edition;min-width:0}
.tm-apercu{grid-area:apercu;min-width:0}
.tm-bas{grid-area:bas;min-width:0}
/* Haut de colonne : titre et outils (message), choix de l'annonce (aperçu). */
.tm-entete{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;margin-bottom:8px}
.tm-entete .tmpl-lbl{white-space:nowrap}
.tm-outils{display:flex;gap:6px}
.tm-outil{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:32px;height:32px;padding:0 9px;
  border-radius:9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);color:#d6e2dc;
  font:600 13px "Inter",sans-serif;cursor:pointer}
.tm-outil:hover{border-color:rgba(19,242,138,.3);color:#fff}
.tm-outil svg{width:16px;height:16px}
.tm-outil b{font-weight:800}
.tm-outil i{font-family:Georgia,serif;font-size:15px}
#tmpl-editor .tmpl-textarea{height:160px;line-height:1.55}
#tmpl-editor .tmpl-vars-label{margin:10px 0 6px}
.tm-remarques{list-style:none;margin:10px 0 0;gap:6px}
.tm-remarques:empty{display:none}
.tm-remarques li{padding:8px 11px;border-radius:10px;font-size:12.5px;line-height:1.45;color:#e9d9a8;
  background:rgba(247,201,72,.06);border:1px solid rgba(247,201,72,.22)}
/* Boutons, puis l'état du message (et « Annuler » s'il a changé). */
#tmpl-editor .tmpl-actions{margin-top:14px;align-items:center}
#tmpl-editor .tmpl-feedback:not(:empty){margin-top:10px}
.tm-etat-ligne{display:inline-flex;align-items:center;gap:2px;margin-left:auto}
.tm-etat{font-size:12px;font-weight:700;color:#6f8a7c}
.tm-etat.modifie{color:var(--gold)}
#tmpl-editor .tmpl-reset{padding:6px 8px;font-size:12px;font-weight:700;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
#tmpl-editor .tmpl-reset:hover{color:var(--text)}
.tm-exemples{display:flex;flex-wrap:wrap;gap:6px}
.tm-exemple{padding:5px 11px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.02);
  color:var(--text-muted);font:600 12px "Inter",sans-serif;cursor:pointer}
.tm-exemple:hover{color:var(--text);border-color:rgba(19,242,138,.25)}
.tm-exemple.on{background:rgba(19,242,138,.12);border-color:rgba(19,242,138,.4);color:#9fffcd}
.tm-apercu .tmpl-hint{margin-top:6px;font-size:11.5px}

.tg{--tg-fond:#0e1621;--tg-barre:#17212b;--tg-bulle:#182533;--tg-texte:#f5f5f5;--tg-lien:#6ab3f3;--tg-gris:#6d7f8f;
  border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:var(--tg-fond);
  color:var(--tg-texte);font:400 14.5px/1.42 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  box-shadow:0 18px 44px rgba(0,0,0,.4)}
.tg-barre{display:flex;align-items:center;gap:10px;padding:6px 12px;background:var(--tg-barre)}
.tg-retour,.tg-plus{flex-shrink:0;width:20px;height:20px;color:var(--tg-gris)}
.tg-avatar{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,#25e894,#0c9a59);color:#04140b}
.tg-avatar svg{width:17px;height:17px}
.tg-qui{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.tg-qui b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg-qui small{font-size:12px;color:var(--tg-gris)}
.tg-fil{display:flex;flex-direction:column;padding:10px 12px 10px 18px;
  background-color:var(--tg-fond);
  background-image:radial-gradient(rgba(255,255,255,.035) 1px,transparent 1.3px),radial-gradient(rgba(106,179,243,.035) 1px,transparent 1.3px);
  background-size:22px 22px,34px 34px;background-position:0 0,11px 17px}
.tg-bulle{position:relative;align-self:flex-start;max-width:min(100%,380px);padding:7px 11px 6px;border-radius:14px 14px 14px 5px;background:var(--tg-bulle)}
.tg-bulle::before{content:"";position:absolute;left:-7px;bottom:0;width:12px;height:15px;background:var(--tg-bulle);
  clip-path:path("M12 0 L12 15 L0 15 C6 13.5 10 8.5 12 0 Z")}
.tg-texte{white-space:pre-wrap;overflow-wrap:anywhere}
.tg-texte b{font-weight:600}
.tg-texte a,.tg-site{color:var(--tg-lien);text-decoration:none}
.tg-texte a:hover{text-decoration:underline}
.tg-texte code,.tg-texte pre{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:13.5px;color:#dfe6ec}
.tg-texte code{padding:0 3px;border-radius:4px;background:rgba(255,255,255,.07)}
.tg-texte pre{margin:4px 0;padding:6px 8px;border-radius:6px;background:rgba(0,0,0,.25);white-space:pre-wrap}
.tg-vide{color:var(--tg-gris)}
.tg-carte{display:grid;gap:1px;margin-top:7px;padding:6px 9px 8px 10px;border-left:3px solid var(--tg-lien);border-radius:6px;background:rgba(106,179,243,.08)}
.tg-carte[hidden]{display:none}
.tg-site,.tg-carte-titre{font-size:14px;font-weight:600}
.tg-carte-desc{font-size:14px;color:#dfe6ec;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* La photo de la carte, recadrée en bandeau : l'aperçu reste compact. */
.tg-photo{width:100%;height:90px;margin-top:7px;border-radius:8px;object-fit:cover;background:#22303f}
.tg-photo-vide{display:grid;place-items:center;font-size:44px;background:radial-gradient(circle at 30% 25%,#2c3f55,#16212d 72%)}
.tg-photo-vide svg{width:42px;height:42px;color:rgba(255,255,255,.42)}
.tg-heure{display:block;margin-top:3px;text-align:right;font-size:12px;color:var(--tg-gris)}
/* Colonne du message étroite : le bouton lien garde son icône (et son info-bulle). */
@media(max-width:899px){.tm-outil-lien span{display:none}}
@media(max-width:699px){
  #tmpl-editor .tmpl-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"edition" "apercu" "bas"}
  .tm-vues{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 12px;padding:4px;border-radius:12px;
    border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
  .tm-vue{height:34px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font:700 13px "Inter",sans-serif;cursor:pointer}
  .tm-vue.on{background:rgba(19,242,138,.12);color:#9fffcd}
  #tmpl-editor:not(.vue-apercu) .tm-apercu,#tmpl-editor.vue-apercu .tm-edition{display:none}
  /* La bascule nomme déjà la vue. */
  .tm-entete .tmpl-lbl{display:none}
  .tm-exemples{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .tm-exemples::-webkit-scrollbar{display:none}
  .tm-exemple{flex-shrink:0;padding:5px 9px;font-size:11.5px}
  /* Ici la place ne manque pas : le message se lit sans défiler. */
  #tmpl-editor .tmpl-textarea{height:230px}
  .tmpl-vars{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .tmpl-vars::-webkit-scrollbar{display:none}
  .tmpl-var{flex-shrink:0}
  #tmpl-editor .tmpl-save,#tmpl-editor .tmpl-test{flex:1 1 auto}
  .tm-etat-ligne{flex-basis:100%;margin-left:0}
}

/* ── Historique : rangement personnel ─────────────────────────────────────
   Onglets (Toutes, Favoris, Achetées, Retirées), actions sur chaque annonce,
   sélection de plusieurs, barre « Annuler ». Tout est sous #sec-hist ou en
   .hp-* : la carte .hist-row-card est partagée avec la vue d'ensemble. */
.hp-barre{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.hp-vues{display:inline-flex;gap:2px;padding:4px;border-radius:14px;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06);max-width:100%;overflow-x:auto;scrollbar-width:none}
.hp-vues::-webkit-scrollbar{display:none}
.hp-vue{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:0;border-radius:10px;background:none;color:#97a39d;font:700 12.5px "Inter",sans-serif;white-space:nowrap;cursor:pointer;transition:color .15s,background .15s}
.hp-vue:hover{color:#e6eeea}
.hp-vue svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hp-vue[data-vue="favoris"] svg{color:var(--gold)}
.hp-vue b{min-width:20px;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.06);color:#c3ccc7;font-size:11px;}
.hp-vue b:empty{display:none}
.hp-vue.on{background:linear-gradient(180deg,rgba(19,242,138,.15),rgba(19,242,138,.06));color:#ecfff6;box-shadow:inset 0 0 0 1px rgba(19,242,138,.28)}
.hp-vue.on b{background:rgba(19,242,138,.2);color:#a6ffd2}
.hp-outils,.hp-bandeau-btns{display:flex;gap:8px}
.hp-outil{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99));color:#dfe7e3;font:700 12px "Inter",sans-serif;white-space:nowrap;cursor:pointer;transition:border-color .15s,color .15s}
.hp-outil svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hp-outil:hover,.hp-outil.on{border-color:rgba(19,242,138,.4);color:#a6ffd2}
.hp-outil.hp-rouge:hover{border-color:rgba(255,94,104,.45);color:#ffb3b8}
.hp-outil:disabled{opacity:.42;cursor:default;}
.hp-bandeau{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02)}
.hp-bandeau[hidden]{display:none}
.hp-bandeau p{font-size:12.5px;line-height:1.45;color:#a3afa9}
.hp-bandeau p b{color:#e6eeea}
.hp-bandeau-achetees{flex-direction:column;align-items:stretch;gap:8px;border-color:rgba(19,242,138,.2);background:rgba(19,242,138,.045)}
.hp-bilan{display:flex;flex-wrap:wrap;gap:6px 22px}
.hp-bilan span{font-size:12.5px;color:#93a09a}
.hp-bilan b{margin-right:5px;font:700 18px "Space Grotesk",sans-serif;color:#eef5f1}
.hp-bilan .hp-eco b{color:var(--accent)}
.hp-bilan .hp-perte b{color:#ff8a8a}
.hp-bilan:empty{display:none}
.hp-marques{margin:0;font-size:12.5px;color:#93a09a}
.hp-marques b{color:var(--accent);font-weight:700;white-space:nowrap}

/* La carte : pastilles, coche de sélection, actions */
#sec-hist .hist-row-thumb{position:relative}
.hp-pastille{position:absolute;right:-5px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.55),0 0 0 2px #070a09}
.hp-pastille svg{width:12px;height:12px}
.hp-p-fav{top:-5px;background:var(--gold);color:#1d1404}
.hp-p-fav svg{fill:currentColor}
.hp-p-achat{bottom:-5px;background:var(--accent);color:#03150b}
.hp-p-achat svg{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linejoin:round}
.hp-coche{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:21px;height:21px;border-radius:7px;border:2px solid rgba(255,255,255,.88);background:rgba(0,0,0,.5);transition:background .12s,border-color .12s}
.hp-coche svg{width:14px;height:14px;fill:none;stroke:#03150b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.hp-choisie .hp-coche{background:var(--accent);border-color:var(--accent)}
.hp-choisie .hp-coche svg{opacity:1}
#sec-hist .hist-row-card.hp-choisie{border-color:rgba(19,242,138,.55);background:linear-gradient(180deg,rgba(19,242,138,.08),rgba(19,242,138,.025))}
#hist-content.hp-sel-on .hp-carte{cursor:pointer;user-select:none}
#hist-content.hp-sel-on .hp-actions,#hist-content.hp-sel-on .hp-plus{display:none}
.hp-retiree .hist-row-thumb,.hp-retiree .hist-row-main,.hp-retiree .hist-row-price,.hp-retiree .hist-row-etiquettes{opacity:.55}
#sec-hist .hist-row-card.hp-part{opacity:0;transform:translateX(18px)!important;transition:opacity .17s ease,transform .17s ease!important}
.hp-achat-tag{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:999px;border:1px solid rgba(19,242,138,.25);background:rgba(19,242,138,.1);color:#a6ffd2;font-size:10.5px;font-weight:700}
.hp-achat-tag svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
#sec-hist .hp-fin{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.hp-actions{display:flex;gap:4px}
.hp-act{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);color:#7c8882;cursor:pointer;transition:color .14s,border-color .14s,background .14s}
.hp-act svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-act:hover{color:#eef4f0;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.05)}
.hp-act-favori:hover,.hp-act-favori.on{color:var(--gold);border-color:rgba(233,184,78,.38);background:var(--gold-dim)}
.hp-act-favori.on svg{fill:currentColor}
.hp-act-achat:hover,.hp-act-achat.on{color:var(--accent);border-color:rgba(19,242,138,.34);background:rgba(19,242,138,.07)}
.hp-act-retirer:hover,.hp-act-supprimer:hover{color:#ff8f96;border-color:rgba(255,94,104,.38);background:rgba(255,94,104,.08)}
.hp-act-txt{width:auto;padding:0 11px;color:#cfd8d3;font:700 11.5px "Inter",sans-serif}
.hp-act-remettre:hover{color:#a6ffd2;border-color:rgba(19,242,138,.34);background:rgba(19,242,138,.07)}
.hp-plus{display:none;align-items:center;justify-content:center;border-radius:11px;border:1px solid rgba(255,255,255,.075);background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99));color:#dfe7e3;cursor:pointer}
.hp-plus svg{width:18px;height:18px;fill:currentColor}

/* Sélection de l'historique (dans .barres-bas) : seulement dans son onglet. */
.hp-selbar[hidden],body:not(:has(#sec-hist.on)) .hp-selbar{display:none}
.hp-selbar{display:grid;gap:10px;width:min(640px,100%);padding:10px 12px 12px;border-radius:18px;border:1px solid rgba(19,242,138,.26);background:linear-gradient(180deg,#121a17,#0a0f0d);box-shadow:0 24px 60px rgba(0,0,0,.6)}
.hp-sel-haut{display:flex;align-items:center;gap:10px}
.hp-sel-haut strong{flex:1;min-width:0;font-size:13.5px;color:#eef5f1}
.hp-sel-tout{padding:4px 6px;border:0;background:none;color:var(--accent);font:700 12.5px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.hp-sel-x{flex:0 0 30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#c9d2cd;font-size:18px;line-height:1;cursor:pointer}
.hp-sel-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
.hp-sel-act{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 8px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#e3ebe7;font:700 12.5px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.hp-sel-act svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hp-sel-act:hover:not(:disabled){border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.06)}
.hp-sel-act:disabled{opacity:.4;cursor:default}
.hp-sel-favori svg,.hp-sel-favori_off svg{color:var(--gold)}
.hp-sel-achete svg,.hp-sel-achete_off svg,.hp-sel-remettre svg{color:var(--accent)}
.hp-sel-retirer,.hp-sel-supprimer{color:#ffb0b5}
body:has(#hp-selbar:not([hidden])) #sec-hist .v3-history-main{padding-bottom:140px}

/* Fenêtres : achat, confirmation */
.hp-modal{max-width:440px}
.hp-achat-annonce{display:flex;align-items:center;gap:12px;margin:4px 0 16px;padding:10px;border-radius:14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02)}
.hp-aa-img{flex:0 0 52px;height:52px;border-radius:10px;background:#151a19 center/cover no-repeat}
.hp-aa-txt{min-width:0}
.hp-aa-txt strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.3;color:#eef4f0}
.hp-aa-txt small{display:block;margin-top:3px;font-size:12px;color:#7f8b85}
.hp-champ{display:block;margin-bottom:6px;font-size:12px;font-weight:700}
.hp-champ i{font-style:normal;font-weight:500;color:#7f8b85}
.hp-champ-suite{margin-top:14px}
.hp-prix{position:relative}
.hp-prix .dash-input{height:50px;padding:0 40px 0 16px;font:700 18px "Space Grotesk",sans-serif}
.hp-prix .dash-input.hp-erreur{border-color:rgba(255,94,104,.7)!important}
.hp-prix em{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-style:normal;font-weight:700;color:#7f8b85;pointer-events:none}
.hp-aide{margin:8px 0 0;font-size:12px;line-height:1.5;color:#7f8b85}
/* Bas des fenêtres : le lien « Annuler » ou « Retour », centré. */
.fenetre-bas{margin-top:12px;text-align:center}
.hp-lien-rouge{padding:8px;border:0;background:none;color:#ff8f96;font:700 13px "Inter",sans-serif;cursor:pointer}
.hp-points{display:grid;gap:8px;margin:-6px 0 14px;list-style:none}
.hp-points li{position:relative;padding-left:22px;font-size:13px;line-height:1.45;color:#aab5af}
.hp-points li::before{content:"";position:absolute;left:3px;top:5px;width:10px;height:6px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.hp-case{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);font-size:13px;line-height:1.4;cursor:pointer}
.hp-case[hidden]{display:none}
.wd-modal .hp-case input{flex:0 0 auto;width:17px;height:17px;margin:1px 0 0;accent-color:var(--accent);box-shadow:none}
/* Le style commun des .btn (vert, !important) l'emporterait sans l'id. */
#hp-confirm-modal .hp-btn-rouge{border-color:rgba(255,140,147,.5);background:linear-gradient(135deg,#ff7a82 0%,#ef4a55 55%,#d93641 100%)!important;color:#fff;box-shadow:0 16px 38px rgba(255,94,104,.16),inset 0 1px 0 rgba(255,255,255,.35)}
#hp-confirm-modal .hp-btn-rouge:hover{filter:brightness(1.07)}

/* Mobile : feuille d'actions */
.hp-feuille{position:fixed;inset:0;z-index:2100;display:none;align-items:flex-end;justify-content:center;background:rgba(2,4,4,.66);backdrop-filter:blur(6px)}
.hp-feuille.open{display:flex}
.hp-feuille-box{width:100%;max-width:520px;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;border:1px solid rgba(255,255,255,.08);border-bottom:0;background:linear-gradient(180deg,#0f1513,#080b0a);box-shadow:0 -24px 60px rgba(0,0,0,.6);animation:hpMonte .22s ease}
.hp-feuille-box::before{content:"";display:block;width:38px;height:4px;margin:0 auto 12px;border-radius:9px;background:rgba(255,255,255,.18)}
@keyframes hpMonte{from{transform:translateY(40px);opacity:.4}}
.hp-feuille-tete{display:flex;align-items:center;gap:12px;margin-bottom:6px;padding:0 4px 12px;border-bottom:1px solid rgba(255,255,255,.06)}
.hp-feuille-tete>div:last-child{min-width:0}
.hp-feuille-img{flex:0 0 46px;height:46px;border-radius:10px;background:#151a19 center/cover no-repeat}
.hp-feuille-tete strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.hp-feuille-tete small{display:block;margin-top:3px;font-size:12px;color:#7f8b85}
.hp-feuille-actions{display:grid;gap:2px}
.hp-f-act{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:0 10px;border:0;border-radius:12px;background:none;color:#e8efeb;font:600 14.5px "Inter",sans-serif;text-align:left;cursor:pointer}
.hp-f-act:active,.hp-f-act:hover{background:rgba(255,255,255,.05)}
.hp-f-act svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#9aa6a0}
.hp-f-favori svg{color:var(--gold)}
.hp-f-favori.on svg{fill:currentColor}
.hp-f-achat svg,.hp-f-remettre svg{color:var(--accent)}
.hp-f-act.hp-rouge{color:#ff9aa0}
.hp-f-act.hp-rouge svg{color:#ff7a82}
.hp-feuille-fermer{width:100%;min-height:48px;margin-top:8px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#dfe7e3;font:700 14px "Inter",sans-serif;cursor:pointer}

@media (max-width:760px){
  .hp-outils{grid-template-columns:1fr 1fr;display:flex;gap:6px}
  .hp-bandeau-btns{width:100%}
  .hp-bandeau-btns .hp-outil{flex:1}
  #sec-hist .hist-row-card .hp-fin{grid-column:5;grid-row:1/3;justify-content:center;gap:4px}
  #sec-hist .hp-fin .hist-row-link{order:-1}
  .hp-actions{display:none}
  .hp-plus{display:inline-flex;}
  .hp-sel-act{flex-direction:column;gap:3px;min-height:50px;font-size:11.5px}
}
@media (max-width:480px){
  .hp-vues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .hp-vue{flex-direction:column;gap:3px;padding:7px 4px;font-size:11.5px}
  .hp-vue svg{display:none}
}
@media (prefers-reduced-motion:reduce){#sec-hist .hist-row-card.hp-part{transition:none!important}}

/* ── Barres du bas : message de confirmation ──────────────────────────────
   « Lien copié », « Annonce retirée… · Annuler » : une barre unique pour tout
   le tableau de bord, en bas de l'écran. */
.barres-bas{position:fixed;left:16px;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:150;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
.barres-bas>*{pointer-events:auto}
.notif{display:flex;align-items:center;gap:10px;max-width:100%;padding:8px 8px 8px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:#121816;box-shadow:0 18px 44px rgba(0,0,0,.55);color:#e8efeb;font-size:13px;font-weight:600}
.notif[hidden],#notif-btn[hidden]{display:none}
#notif-btn{padding:7px 12px;border-radius:9px;border:1px solid rgba(19,242,138,.38);background:rgba(19,242,138,.1);color:#a6ffd2;font:700 12.5px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
#notif-btn:disabled{opacity:.6;cursor:default}
.notif-x{flex:0 0 28px;height:28px;border:0;background:none;color:#7d8983;font-size:19px;line-height:1;cursor:pointer}
.notif-entre{animation:notifEntre .22s ease}
@keyframes notifEntre{from{opacity:0;transform:translateY(10px)}}
@media (max-width:760px){.barres-bas{left:12px;right:12px}}
/* La bulle du support (static/support.css) s'efface pendant un message ou une
   sélection en bas de l'écran : elle en cacherait le bouton de droite. */
body:has(.barres-bas > :not([hidden])) .support-bubble{display:none}

/* ── Barre de navigation du bas (téléphone) ──────────────────────────────────
   Comme TikTok ou YouTube : Accueil, Alertes, « + », Historique, Compte. Une
   barre flottante aux coins arrondis, au-dessus de la barre de l'iPhone
   (safe-area). L'en-tête garde le logo et son nom, Affiliation et « Outils ».
   Elle s'efface quand le clavier est ouvert (un champ a le focus). */
.bas-nav{display:none}
@media (max-width:760px){
  .bas-nav{position:fixed;z-index:80;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;height:62px;padding:0 4px;border-radius:22px;
    border:1px solid rgba(255,255,255,.09);background:rgba(9,13,11,.86);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
    box-shadow:0 14px 40px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.05)}
  .bas-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:54px;
    margin:0 2px;padding:0;border:0;border-radius:16px;background:none;color:#8f9a95;font:600 10.5px/1 "Inter",sans-serif;
    cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .15s ease,background .15s ease}
  .bas-nav button svg{width:22px;height:22px}
  .bas-nav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bas-nav button.on{color:#13f28a;background:rgba(19,242,138,.09)}
  .bas-nav button.on svg{stroke-width:2.1}
  .bas-nav .bas-plus span{display:grid;place-items:center;width:48px;height:34px;border-radius:12px;color:#03150b;
    background:linear-gradient(135deg,#34ff9f,#0fd87a);box-shadow:0 6px 18px rgba(19,242,138,.28),inset 0 1px 0 rgba(255,255,255,.5)}
  .bas-nav .bas-plus svg{width:20px;height:20px}
  .bas-nav .bas-plus:active span{transform:scale(.95)}
  html:has(:is(input,textarea,select):focus) .bas-nav{display:none}
  /* L'en-tête : ces onglets sont en bas. Il reste le nom à côté du logo
     (comme sur PC), Affiliation (« Gagne jusqu'à 600 € par mois ») et « Outils ». */
  .app-topbar .app-nav,.app-topbar [data-s="acc"]{display:none}
  .topbar-brand .brand-word{display:inline}
  /* La page et les messages du bas passent au-dessus de la barre. */
  .main{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
  .barres-bas{bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  :root{--support-bas:calc(82px + env(safe-area-inset-bottom,0px))}
}
/* Petits écrans (jusqu'à 320 px) : le nom et « Gagne jusqu'à 600 € » tiennent encore. */
@media (max-width:360px){
  .topbar-brand{gap:7px;font-size:16px}
  .app-top-actions [data-s="affi"]{gap:5px;padding:0 8px 0 7px}
  .affi-promo b{font-size:11px}
}

/* ── Vue d'ensemble ──────────────────────────────────────────────────────────
   Toutes les règles de l'onglet sont ici : l'en-tête avec l'état réel du
   scan, les affaires du moment en cartes compactes, le flux en lignes basses.
   Les lignes du flux gardent les classes .hist-row-* de l'Historique pour
   leur habillage ; leur disposition est fixée ici, place par place, pour ne
   rien hériter des règles mobiles de l'Historique. */

/* État du scan, à droite du titre */
.ov-live[hidden]{display:none!important}
.ov-live-age{color:#7f8a85;font-weight:600}
.ov-live:not(.arret) .v3-live-dot{animation:ovPouls 1.8s ease-in-out infinite}
.ov-live.arret{color:#f2c86b;border-color:rgba(247,201,72,.28)}
.ov-live.arret .v3-live-dot{background:var(--gold);box-shadow:0 0 10px var(--gold)}
@keyframes ovPouls{50%{opacity:.35}}

/* Affaires du moment : photo à gauche, la carte entière ouvre l'annonce */
#sec-over #deals-section,#sec-over #ov-alertes{margin-top:14px;padding:18px 20px 20px!important}
#deals-section .deals-head,#ov-alertes .deals-head{margin-bottom:12px}
#deals-section .deals-title,#ov-alertes .deals-title{font:700 17px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.3px;color:#f5f8f6}
#deals-section .deals-sub,#ov-alertes .deals-sub{margin-top:3px;font-size:11.5px;line-height:1.45;color:#76817b}
/* Encart « Mes alertes » : le titre et « + Nouvelle alerte », cinq chiffres,
   puis ce qui manque pour recevoir les annonces (gratuit, bot à relier). */
#ov-alertes .deals-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kw-add-btn.ova-ajout{display:inline-flex}
.ova-tuiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ova-tuile{display:flex;flex-direction:column;gap:3px;min-width:0;min-height:98px;padding:14px 16px;border-radius:14px;
  border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);text-align:left;font-family:"Inter",sans-serif;color:inherit}
.ova-lbl{font-size:11.5px;font-weight:600;color:#7f8a85}
.ova-val{font:700 24px/1.15 "Space Grotesk",sans-serif;letter-spacing:-.5px;color:#13f28a}
.ova-val small{font-size:14px;color:#7f8a85;letter-spacing:0}
.ova-nom{display:block;font-size:17px;color:#f5f8f6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ova-sous{margin-top:auto;font-size:11.5px;line-height:1.4;color:#76817b}
button.ova-tuile{cursor:pointer;transition:border-color .15s ease,background .15s ease}
button.ova-tuile:hover{border-color:rgba(19,242,138,.35);background:rgba(19,242,138,.04)}
.ova-etat{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 14px;border-radius:12px;
  border:1px solid rgba(19,242,138,.18);background:rgba(19,242,138,.05);font-size:13px;line-height:1.45;color:#cfe0d8}
.ova-etat[hidden]{display:none}

.ova-tuiles[hidden],.kw-add-btn.ova-ajout[hidden]{display:none}
/* Démarrage : les trois étapes (alerte, activation, Telegram) tant que les annonces
   ne partent pas. Faite : coche verte et ce qu'elle a donné ; en cours :
   encadrée, avec son bouton ; à venir : en retrait. */
.ob{margin-top:12px}
.ob[hidden]{display:none}
#ova-tuiles[hidden]+.ob{margin-top:0}
.ob-tete{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:12.5px;font-weight:600;color:#cfe0d8}
.ob-compte{flex-shrink:0;padding:2px 9px;border-radius:99px;background:rgba(19,242,138,.08);color:#13f28a;font-size:11.5px;font-variant-numeric:tabular-nums}
.ob-etapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.ob-etape{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:14px 16px;border-radius:14px;
  border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02)}
.ob-etape.courante{border-color:rgba(19,242,138,.4);background:rgba(19,242,138,.05)}
.ob-etape.a-venir{opacity:.5}
.ob-haut{display:flex;align-items:center;gap:10px;min-width:0}
.ob-num{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid rgba(255,255,255,.16);
  font:700 12px "Inter",sans-serif;color:#cfd8d3}
.ob-etape.courante .ob-num{border-color:#13f28a;color:#13f28a}
.ob-etape.fait .ob-num{border-color:#13f28a;background:#13f28a;color:#04150c}
.ob-num svg{width:13px;height:13px}
.ob-titre{font:700 14px/1.3 "Inter",sans-serif;color:#f2f6f4}
.ob-texte{margin:0;font-size:12.5px;line-height:1.5;color:#87928d}
.ob-resultat{color:#9ff5c9;font-weight:600;overflow-wrap:anywhere}
.ob-btn{margin-top:auto;height:36px;padding:0 16px;border-radius:11px;font:700 13px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
/* Téléphone : les étapes l'une sous l'autre ; faites et à venir sur une ligne. */
@media(max-width:760px){
  .ob-etapes{grid-template-columns:1fr;gap:8px}
  .ob-etape{padding:12px 14px}
  .ob-etape.fait,.ob-etape.a-venir{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
  .ob-etape.a-venir .ob-texte{display:none}
  .ob-etape.fait .ob-texte{text-align:right;min-width:0}
  .ob-etape.courante .ob-btn{align-self:stretch}
}
@media(max-width:1100px){.ova-tuiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ova-top{grid-column:span 2}}
@media(max-width:600px){
  .ova-tuiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ova-tuile{min-height:88px;padding:12px}
  .ova-val{font-size:21px}
  .ova-etat{flex-direction:column;align-items:stretch}
}
#deals-section .deals-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.deal-card{position:relative;display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border-radius:15px;
  border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,#0a0e0c,#070a09);color:inherit;
  font:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:transform .18s ease,border-color .18s ease}
.deal-card:hover{transform:translateY(-2px);border-color:rgba(24,236,141,.25)}
.deal-photo{flex:0 0 84px;width:84px;height:84px;border-radius:11px;background:#101512 center/cover no-repeat;
  border:1px solid rgba(255,255,255,.06);
  /* 2e calque (_photoCarte) : l'icône d'image, visible sans photo */
  --photo-vide:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23414c47' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E");
  background-size:cover,28px 28px}
.deal-card.is-sold .deal-photo{filter:grayscale(.6) brightness(.6)}
.deal-body{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.deal-kw{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#66d9a7;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  display:block;}
.deal-vendue{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);color:#a8b3ad;font-size:9px;letter-spacing:.04em}
.deal-title,.deal-preuve{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deal-title{font-size:13.5px;font-weight:700;line-height:1.3;color:#f1f5f3}
.deal-preuve{font-size:11px;line-height:1.35;color:#7d8882}
.deal-bas{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;margin-top:3px;min-width:0}
/* Un prix ou une étiquette ne se coupe jamais (avant : « 80 » / « € ») ; si
   la place manque, l'étiquette passe entière sous le prix. */
.deal-price,.deal-avg,.deal-saving{white-space:nowrap}
.deal-price{font:800 19px/1 "Space Grotesk",sans-serif;letter-spacing:-.03em;color:#18ec8d}
.deal-avg{font-size:11px;color:#56615c;text-decoration:line-through}
.deal-saving{padding:2px 6px;border-radius:7px;font-size:10.5px;font-weight:800;color:#52e6a2;
  background:rgba(24,236,141,.08);border:1px solid rgba(24,236,141,.14)}
/* Compte gratuit : l'écart et la preuve, sans l'annonce */
.deal-verrou .deal-kw{color:#e2b74d}
.deal-photo-lock{display:flex;align-items:center;justify-content:center}
.deal-photo-lock svg{width:26px;height:26px}
.deal-verrou .deal-btn{margin-left:auto;padding:5px 11px;border-radius:9px;background:linear-gradient(180deg,#e9c463,#c99a2e);
  color:#141006;font-size:12px;font-weight:800}
@media(max-width:1180px){#deals-section .deals-track{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* « Liste / Cartes » (vue d'ensemble et historique) : collé au titre, même
   bouton que les vues de l'historique, le repère à droite. Les cartes : celles
   des affaires du moment, en grille (.cartes-annonces). */
.cartes-annonces{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px}
.liste-tete.tete-vues{align-items:center}
.vue-annonces{margin-right:auto}
.vue-annonces .hp-vue{padding:6px 11px}
.deal-quand{text-transform:none;letter-spacing:0;font-weight:600;color:#7d8882}
.deal-kw .all-item-new-badge{margin-left:6px;padding:1px 6px;font-size:9px}
/* Historique en cartes : « ⋯ » en haut à droite ; coche et pastilles sur la photo */
.hp-carte-vue{position:relative;min-width:0;display:flex}
.hp-carte-vue .deal-card{flex:1;min-width:0}
.hp-carte-vue .deal-kw,.hp-carte-vue .deal-title{padding-right:30px}   /* la place de « ⋯ » */
.hp-carte-vue .hp-plus{display:inline-flex;position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:9px}
.hp-carte-vue .hp-plus svg{width:16px;height:16px}
.hp-carte-photo{position:absolute;left:11px;top:50%;width:84px;height:84px;margin-top:-42px;pointer-events:none}
.hp-carte-vue.hp-choisie .deal-card{border-color:rgba(19,242,138,.55);background:linear-gradient(180deg,rgba(19,242,138,.08),rgba(19,242,138,.025))}
.hp-carte-vue.hp-retiree .deal-card{opacity:.55}
@media(max-width:760px){
  .liste-tete.tete-vues{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px}
  .tete-vues .liste-meta{grid-column:1/-1}
  .hp-carte-photo{width:76px;height:76px;margin-top:-38px}
}
@media(max-width:480px){        /* téléphone : les icônes seules, le titre garde sa ligne */
  .vue-annonces{display:inline-flex}
  .vue-annonces .hp-vue{flex-direction:row;padding:7px 9px}
  .vue-annonces .hp-vue svg{display:block;width:16px;height:16px}
  .vue-annonces .hp-vue span{display:none}
}

/* Flux : titre et total sur une ligne, puis recherche, puis les annonces */
.liste-tete{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.liste-tete h3{font:700 17px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.3px;color:#f3f6f4}
.liste-meta{font-size:12px;font-weight:600;color:#7f8a85;white-space:nowrap}
#all-items-card .flux-barre{margin-bottom:12px}
#all-items-card .all-items-grid{display:grid;grid-template-columns:1fr;gap:6px}
#all-items-card .all-item-row{grid-template-columns:46px minmax(0,1fr) 84px minmax(110px,170px) 82px auto!important;
  grid-template-rows:auto;gap:12px;padding:7px 10px;min-height:0;border-radius:13px}
#all-items-card .all-item-row>.hist-row-thumb{grid-column:1;grid-row:1;width:46px;height:46px;border-radius:9px}
#all-items-card .all-item-row>.hist-row-main{grid-column:2;grid-row:1;min-width:0}
#all-items-card .all-item-row>.hist-row-price{grid-column:3;grid-row:1;font-size:15.5px!important}
#all-items-card .all-item-row>.hist-row-etiquettes{grid-column:4;grid-row:1}
#all-items-card .all-item-row>.hist-row-time{grid-column:5;grid-row:1}
#all-items-card .all-item-row>.hist-row-link{grid-column:6;grid-row:1;min-height:34px;height:34px;padding:0 12px!important}
#all-items-card .all-item-row .hist-row-main strong{font-size:13.5px}
/* Sous le titre, une seule ligne : les étiquettes et la preuve (Vue
   d'ensemble et Historique) */
#all-items-card .all-item-row .hist-row-main small,#sec-hist .hist-row-card .hist-row-main small{display:flex;align-items:center;gap:6px;
  margin-top:3px;font-size:11px;white-space:nowrap;overflow:hidden}
#all-items-card .all-item-row .hist-row-main small:empty,#sec-hist .hist-row-card .hist-row-main small:empty{display:none}
/* Le mot-clé et, à côté, la taille (orange clair) */
.hist-row-etiquettes{display:flex;align-items:center;gap:5px;min-width:0}
.hist-row-etiquettes>.hist-row-keyword{min-width:0}
/* Le mot-clé cliquable : vers sa fiche dans l'Explorer (exMotCleClic). La
   boussole n'apparaît qu'au survol, à la souris. */
button.ex-mot-lien{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-family:inherit;font-weight:inherit;line-height:inherit;margin:0;
  cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}
button.ex-mot-lien{max-width:100%}
.ex-mot-txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.ex-mot-lien svg{display:none;flex:none;width:12px;height:12px}
@media(hover:hover){
  button.ex-mot-lien:hover{background:rgba(19,242,138,.16);border-color:rgba(19,242,138,.4);color:#eafff4}
  button.ex-mot-lien:hover svg{display:block}
}
button.ex-mot-lien:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:2px}
button.ex-mot-lien:focus:not(:focus-visible){outline:none}
.hist-row-taille{flex-shrink:0;max-width:90px;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,170,90,.34);
  background:rgba(255,170,90,.13);color:#ffbd7a;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#all-items-card .ai-deal-tag,#all-items-card .ai-suspect-tag,#sec-hist .ai-deal-tag,#sec-hist .ai-suspect-tag,#sec-hist .hp-achat-tag{flex-shrink:0;}
#all-items-card .ai-preuve,#sec-hist .ai-preuve{min-width:0;overflow:hidden;text-overflow:ellipsis}
#all-items-card .all-items-pager{margin-top:14px;gap:8px}

/* Tablette et téléphone : l'état du scan reste à droite du titre au lieu de
   prendre une ligne dessous. */
@media(max-width:900px){
  #sec-over .v3-page-head{position:relative}
  #sec-over .v3-page-head>.ov-live{position:absolute;top:2px;right:0;margin:0;padding:6px 10px;font-size:11px}
}
@media(max-width:760px){
  #sec-over .ov-live-age{display:none}
  /* Affaires : elles défilent de côté */
  #sec-over #deals-section,#sec-over #ov-alertes{padding:14px!important}
  #deals-section .deals-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  #deals-section .deals-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:2px}
  #deals-section .deals-track::-webkit-scrollbar{display:none}
  #deals-section .deal-card{flex:0 0 86%;scroll-snap-align:start}
  #deals-section .deal-card:only-child{flex-basis:100%}
  .deal-photo{flex-basis:76px;width:76px;height:76px}
  /* Flux */
  .liste-tete{flex-direction:column;align-items:flex-start;gap:2px}
  /* Ligne : le titre, puis prix, mot-clé et heure ; le bouton à droite */
  #all-items-card .all-item-row{grid-template-columns:48px auto minmax(0,1fr) auto 38px!important;grid-template-rows:auto auto;
    gap:5px 8px;padding:8px 10px;align-items:center}
  #all-items-card .all-item-row>.hist-row-thumb{grid-row:1/3;width:48px;height:48px}
  #all-items-card .all-item-row>.hist-row-main{grid-column:2/5;align-self:end}
  #all-items-card .all-item-row>.hist-row-price{grid-column:2;grid-row:2;font-size:15px!important;line-height:1}
  #all-items-card .all-item-row>.hist-row-etiquettes{grid-column:3;grid-row:2;justify-self:start;max-width:100%}
  #all-items-card .hist-row-etiquettes>span,#all-items-card .hist-row-etiquettes>.ex-mot-lien{padding:3px 8px;font-size:10px}
  #all-items-card .all-item-row>.hist-row-time{grid-column:4;grid-row:2;font-size:10px;white-space:nowrap}
  #all-items-card .all-item-row>.hist-row-link{grid-column:5;grid-row:1/3;width:38px;min-width:38px;
    height:38px;min-height:38px;padding:0!important;font-size:0;border-radius:11px}
  #all-items-card .all-item-row .hist-row-main small,#sec-hist .hist-row-card .hist-row-main small{font-size:10.5px}
  /* Pages : les flèches seules */
  #all-items-card .ai-txt{display:none}
  #all-items-card .ai-page-btn{min-width:42px;padding:9px 12px}
  #all-items-card .ai-page-info{min-width:0}
}

/* ── Mes alertes ─────────────────────────────────────────────────────────────
   L'interrupteur général passe dans l'en-tête (il remplace une pastille
   « Surveillance 24/7 » qui restait affichée même en pause) ; l'ajout d'une
   alerte rejoint le titre de la liste ; cartes plus basses. */
.al-etat{display:flex;align-items:center;gap:14px;padding:9px 10px 9px 16px;border-radius:16px;
  border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(18,24,21,.92),rgba(9,13,12,.92))}
.al-etat .toggle-info h2{font-size:14px;white-space:nowrap}
.al-etat .toggle-info p{margin:1px 0 0;font-size:12px;white-space:nowrap}
.al-etat .big-toggle{flex-shrink:0}
.al-etat .big-toggle:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:3px}
.v3-command-card .al-kw-tete{margin-bottom:12px}
/* Masqué par défaut : seul updateAddBtn() l'affiche (voir plus haut). */
.kw-add-btn{align-items:center;justify-content:center;flex-shrink:0;height:34px;padding:0 14px;border-radius:11px;
  font:700 13px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.kw-add-btn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.5)}
/* Cartes d'alerte : le nom, puis le résumé complet des filtres dessous */
#al-kwrows .alert-card{padding:13px 14px;margin-bottom:8px;column-gap:14px;row-gap:0}
#al-kwrows .ac-icon{width:40px;height:40px;border-radius:11px}
#al-kwrows .ac-icon svg{width:20px;height:20px}
#al-kwrows .ac-name{min-width:0;font-size:15px}
.ac-nom-txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-name>span[class$="-tag"]{flex-shrink:0}
#al-kwrows .ac-btn{width:32px;height:32px}
/* Étape suivante (Premium, puis bot) : une phrase et un bouton */
.acv-txt{flex:1;min-width:0}
.acv-t{display:block;font-size:13.5px;color:#eef5f1}
.acv-p{margin:2px 0 0;font-size:12.5px;line-height:1.5;color:#8b9891}
.acv-cta{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}
.acv-btn{height:36px;padding:0 16px;border-radius:11px;font:700 13px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.acv-note{font-size:11px;color:#7f8a85;white-space:nowrap}
/* Colonne de droite : le badge « Premium » ne parle qu'aux comptes gratuits. */
body:not(.is-free-user) .al-cote .vs-badge{display:none}

/* Tablette : l'interrupteur reste à droite du titre. Téléphone : dessous,
   sur toute la largeur. */
@media(min-width:561px) and (max-width:900px){
  #sec-alerts .v3-page-head{display:flex;align-items:center}
}
@media(max-width:560px){
  #sec-alerts .v3-page-head>.al-etat{margin-top:12px;width:100%;justify-content:space-between}
}
@media(max-width:560px){
  .al-kw-tete .card-title{white-space:nowrap}
  .kw-add-btn{padding:0 11px;font-size:12.5px}
  .al-kw-tete{gap:6px}
  .al-kw-outils{gap:4px}
  .al-kw-ico{width:30px;height:30px;border-radius:10px}
  .al-kw-ico svg{width:15px;height:15px}
  .al-kw-compte{padding:3px 8px;font-size:11.5px}
  #al-kwrows .ac-name>span[class$="-tag"]{padding:1px 6px;font-size:10px;letter-spacing:0}
  #al-kwrows .ac-name{font-size:14px}
  #al-kwrows .ac-actions{gap:4px}
  #al-kwrows .ac-btn{width:30px;height:30px}
  #al-kwrows .ac-btn svg{width:15px;height:15px}
  .ac-etape-suivante{flex-direction:column;align-items:stretch;text-align:left}
  .acv-cta{flex-direction:row;justify-content:space-between}
}

/* ── Mes alertes ─────────────────────────────────────────────────────────────
   À toutes les largeurs : l'icône de la catégorie, le nom sur la première
   ligne, le résumé complet des filtres dessous, les boutons à droite (sous
   560 px, le résumé prend toute la largeur). Le détail s'ouvre dessous. */
@media(max-width:560px){
  #al-kwrows .alert-card{padding:12px;column-gap:10px}
  #al-kwrows .ac-icon{width:34px;height:34px;border-radius:10px}
  #al-kwrows .ac-icon svg{width:18px;height:18px}
}
/* Offre Premium (comptes gratuits) : les avantages sur deux colonnes */
#al-premium-offer{padding:20px 22px}
#al-premium-offer .premium-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:14px 0 16px}
@media(max-width:699px){#al-premium-offer .premium-features{grid-template-columns:1fr}}

/* ── Historique ──────────────────────────────────────────────────────────────
   La liste en lignes basses ; à droite, le résumé (volume des 7 derniers
   jours et chiffres), qui remplace les quatre tuiles du haut et l'ancienne
   carte « Surveillance active » des quotas gratuits. Les lignes gardent les
   classes .hist-row-* ; leur disposition est fixée ici, place par place. */
@media(min-width:761px){
  #sec-hist .hist-row-card{grid-template-columns:46px minmax(0,1fr) 84px minmax(100px,150px) 86px auto!important;
    grid-template-rows:auto;gap:12px;padding:7px 10px;min-height:0;border-radius:13px}
  #sec-hist .hist-row-card>.hist-row-thumb{grid-column:1;grid-row:1;width:46px;height:46px;border-radius:9px}
  #sec-hist .hist-row-card>.hist-row-main{grid-column:2;grid-row:1;min-width:0}
  #sec-hist .hist-row-card>.hist-row-price{grid-column:3;grid-row:1;font-size:15.5px!important}
  #sec-hist .hist-row-card>.hist-row-etiquettes{grid-column:4;grid-row:1}
  #sec-hist .hist-row-card>.hist-row-time{grid-column:5;grid-row:1}
  #sec-hist .hist-row-card>.hp-fin{grid-column:6;grid-row:1}
  #sec-hist .hist-row-card .hist-row-link{min-height:34px;height:34px;padding:0 12px!important}
}
#sec-hist .v3-history-main .hist-grid{gap:6px}
/* Résumé. Il suit le défilement (sticky) : son décalage se compte depuis le
   haut de la zone de contenu, qui commence déjà sous la barre du haut (une
   valeur de 96 px le décalait de 8 px dès l'ouverture). */
.hist-resume{padding:16px 18px}
.hist-resume-tete{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.hist-resume-tete h3{font:700 15px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.2px;color:#f3f6f4}
#sec-hist .v3-mini-bars{height:96px}
.hist-chiffres{list-style:none;margin:12px 0 0;padding:8px 0 0;border-top:1px solid rgba(255,255,255,.06)}
.hist-chiffres li,.hist-kpi-clic{display:flex;align-items:baseline;gap:6px;font-size:12.5px;color:#8f9a94}
.hist-chiffres li{padding:5px 0}
.hist-chiffres li>span:first-child,.hist-kpi-clic>span{flex:1;min-width:0}
.hist-chiffres b{font:700 15px "Space Grotesk",sans-serif;color:#eef4f0;white-space:nowrap}
.hist-chiffres small{font-size:11px;color:#6f7a75;white-space:nowrap}
.hist-chiffres small:empty{display:none}
.hist-chiffres .hist-dernier{color:var(--accent)}
.hist-kpi-clic{width:100%;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.hist-kpi-clic em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--accent)}
.hist-kpi-clic:hover b{color:var(--accent)}
.hist-kpi-clic:focus-visible{outline:2px solid rgba(19,242,138,.55);outline-offset:3px;border-radius:6px}
/* Sous 1250 px, le résumé passe sous la liste : le graphique et les chiffres
   côte à côte. */
@media(max-width:1250px){
  #sec-hist .v3-history-side{grid-template-columns:1fr!important}
  .hist-resume{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;align-items:end}
  .hist-chiffres{margin:0;padding:0;border:0}
}
@media(max-width:560px){
  .hist-resume{grid-template-columns:1fr}
  .hist-chiffres{padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}
}
@media(max-width:760px){
  /* Onglets et outils sur une ligne ; les outils en icônes */
  .hp-barre{align-items:center;flex-wrap:nowrap}
  .hp-vues{flex:1;min-width:0}
  .hp-outils .hp-outil{width:38px;padding:0}
  .hp-outils .hp-outil span{display:none}
  /* Ligne : titre (et étiquettes), puis prix, mot-clé et heure ; à droite,
     « Voir » et « ⋯ » côte à côte */
  #sec-hist .hist-row-card{grid-template-columns:48px auto minmax(0,1fr) auto auto!important;gap:4px 8px;
    padding:8px 10px;min-height:0}
  #sec-hist .hist-row-card .hist-row-thumb{width:48px;height:48px}
  #sec-hist .hist-row-card .hist-row-link,#sec-hist .hist-row-card .hp-plus{width:34px;min-width:34px;
    height:34px;min-height:34px}
}

/* ===== Ligne de chiffres (Idées) ===== */
/* Des colonnes séparées d'un filet, sans cadre : .fort met la valeur en vert,
   .lc-2x2 passe en deux rangées de deux sur téléphone. */
#sec-idees .ligne-chiffres{display:flex}
#sec-idees .lc{flex:1 1 0;min-width:0;padding:0 12px;border-left:1px solid rgba(255,255,255,.07)}
#sec-idees .lc:first-child{padding-left:0;border-left:0}
#sec-idees .lc-val{font:700 16px/1.2 "Space Grotesk",sans-serif;color:#f3f6f4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sec-idees .lc-lbl{margin-top:2px;font-size:11px;color:#7f8a85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sec-idees .lc.fort .lc-val{color:var(--accent)}
@media(max-width:760px){
  #sec-idees .lc{padding:0 8px}
  #sec-idees .lc-val{font-size:14.5px}
  #sec-idees .lc-lbl{font-size:10.5px}
  #sec-idees .lc-2x2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 0}
  #sec-idees .lc-2x2 .lc:nth-child(3){padding-left:0;border-left:0}
  #sec-idees .lc-2x2 .lc-lbl{white-space:normal}
}

/* ===== Estimer un article ===== */
/* Formulaire : l'article sur deux colonnes, puis marque, taille, état, bouton. */
.es-form{display:grid;gap:11px;align-items:end;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.es-champ{display:flex;flex-direction:column;gap:6px;min-width:0}
.es-champ-large{grid-column:span 2}
.es-champ>span{font-size:11px;font-weight:700;color:#8fa197;letter-spacing:.02em}

/* Sortie : le même écart entre chaque bloc (liste, prix, tranches, alerte). */
#es-sortie>*{margin:12px 0 0}
#es-sortie>:first-child{margin-top:14px}
#es-sortie .st-h{margin-bottom:10px}

/* Les trois prix, puis les repères du marché sur une ligne. */
.es-cards{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.es-card{padding:12px 14px;text-align:center;border:1px solid rgba(164,190,177,.13);border-radius:14px;background:rgba(11,16,13,.6)}
.es-card-main{border-color:rgba(19,242,138,.3);
  background:radial-gradient(300px 120px at 50% 0,rgba(19,242,138,.1),transparent 70%),rgba(9,17,13,.8)}
.es-card-lbl{font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#5d6a64}
.es-card-val{margin:3px 0 1px;font:700 24px/1.15 "Space Grotesk",sans-serif;letter-spacing:-.8px}
.es-card-main .es-card-val{color:#13f28a;font-size:30px}
.es-card-sub{font-size:11.5px;color:#8b9891}
.es-card-stop{border-color:rgba(255,150,60,.3)}
.es-card-stop .es-card-val{color:#ff9d3c}
.es-chiffres{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin-top:12px;font-size:12.5px;color:#7d8882}
.es-chiffres strong{color:#dfe8e3;}
.es-criteres{margin-top:6px;text-align:center;font-size:12px;color:#5d6a64}

/* Âge médian par tranche de prix : prix, barre et âge sur une ligne. */
.es-tranches{display:grid;gap:9px}
.es-tr{display:flex;align-items:center;gap:10px}
.es-tr-prix{flex:0 0 112px;font-size:12.5px;color:#8b9891;white-space:nowrap}
.es-tr-barre{flex:1;min-width:0;height:8px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden}
.es-tr-barre i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,rgba(19,242,138,.5),rgba(19,242,138,.75))}
.es-tr-barre i.lent{background:linear-gradient(90deg,rgba(255,150,60,.5),rgba(255,120,50,.8))}
.es-tr-age{flex:0 0 42px;text-align:right;font-size:12.5px;font-weight:700;color:#8b9891}
.es-tr-note{margin-top:10px;font-size:11.5px;color:#5d6a64;line-height:1.55}

/* Annonces (comparables et liste à vérifier) : une ligne compacte, sur deux
   colonnes quand la place le permet. */
.es-liste,.es-sel-liste{display:grid;gap:6px;grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr))}
.es-item,.es-sel-item{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 10px;border-radius:11px}
.es-item{border:1px solid rgba(164,190,177,.13);background:rgba(11,16,13,.5);text-decoration:none;color:inherit;transition:border-color .16s ease}
.es-item:hover{border-color:rgba(19,242,138,.28)}
.es-item img,.es-sel-item img,.es-item-vide{width:38px;height:38px;border-radius:8px;flex-shrink:0;object-fit:cover;background:#0e1512}
.es-item-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.es-item-t{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.es-item-a{font-size:11.5px;color:#5d6a64;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.es-item-p{font-size:15px;font-weight:800;color:#13f28a;white-space:nowrap}

/* Liste à vérifier avant le calcul : le membre décoche ce qui ne correspond
   pas ; l'estimation ne porte que sur ce qu'il garde. */
.es-sel{padding:18px!important}
.es-sel-tete{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}
.es-sel-t{font:700 17px "Space Grotesk",sans-serif;letter-spacing:-.4px;color:#f2f6f4}
.es-sel-sub{margin-top:3px;font-size:12.5px;line-height:1.5;color:#7d8882}
.es-sel-sub strong{color:#dfe8e3}
.es-sel-tout{display:flex;gap:6px;flex-shrink:0}
.es-sel-tout button,.es-sel-rappel button{padding:7px 11px;border-radius:999px;border:1px solid rgba(164,190,177,.16);
  background:rgba(11,16,13,.6);color:#cfe0d7;font:600 12px/1 "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.es-sel-tout button:hover,.es-sel-rappel button:hover{border-color:rgba(19,242,138,.32);color:#fff}
.es-sel-liste{max-height:min(60vh,560px);overflow-y:auto;align-content:start;padding-right:4px;overscroll-behavior:contain}
.es-sel-item{border:1px solid rgba(19,242,138,.22);background:rgba(11,16,13,.55);cursor:pointer;transition:opacity .15s ease,border-color .15s ease}
.es-sel-item input{width:17px;height:17px;flex-shrink:0;accent-color:#13f28a;cursor:pointer}
.es-sel-item.off{opacity:.42;border-color:rgba(164,190,177,.1)}
.es-sel-item.off .es-item-p{color:#7d8882;text-decoration:line-through}
.es-sel-lien{flex-shrink:0;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;
  border:1px solid rgba(164,190,177,.14);color:#cfe0d7;text-decoration:none;font-size:13px}
.es-sel-lien:hover{border-color:rgba(19,242,138,.32);color:#13f28a}
.es-sel-pied{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(164,190,177,.1)}
.es-sel-compte{font-size:13px;color:#9aa6a0}
.es-sel-pied .es-go{min-width:240px}
.es-sel-rappel{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:#9aa6a0}

/* Colonne de gauche du résultat : tranches puis alerte, à leur hauteur. */
.es-col{display:grid;gap:12px;align-content:start;min-width:0}
#es-sortie .es-col>.st-bloc{height:auto}

/* Alerte depuis l'estimation : les décotes et le bouton sur une ligne, ou
   l'un sous l'autre quand le bloc est étroit (colonne de gauche sur tablette,
   téléphone). Mesuré sur le bloc lui-même, pas sur l'écran. */
.es-alerte-ligne{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,260px);gap:8px}
.es-alerte-ligne .es-alerte-go{margin-top:0;min-height:0}
@container (max-width:560px){
  .es-alerte-ligne{grid-template-columns:1fr}
  .es-alerte-ligne .es-alerte-go{min-height:44px}
}

@media(max-width:760px){
  /* La description dit déjà que les annonces sont lues en direct. */
  #sec-estim .v3-page-head>.v3-head-pill{display:none}
}
@media(max-width:680px){
  /* Article sur toute la largeur ; marque et taille, puis état et bouton. */
  .es-form{grid-template-columns:1fr 1fr;gap:10px}
  .es-champ-large{grid-column:1 / -1}
  /* Le prix conseillé en premier, sur toute la largeur. */
  .es-cards{grid-template-columns:1fr 1fr;gap:8px}
  .es-card-main{grid-column:1 / -1;order:-1}
  .es-card{padding:10px}
  .es-card-val{font-size:20px}
  .es-card-main .es-card-val{font-size:28px}
  .es-card-sub{font-size:11px}
  .es-chiffres{gap:3px 14px;font-size:12px}
  .es-tr-prix{flex-basis:96px;font-size:12px}
  .es-tr-age{flex-basis:38px;font-size:12px}
  /* Le titre peut prendre deux lignes : c'est lui qui permet de vérifier. */
  .es-item-t{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  /* Liste à vérifier : le lien en haut à droite, le prix dessous, pour
     laisser au titre toute la largeur. */
  .es-sel-item{display:grid;grid-template-columns:17px 38px minmax(0,1fr) auto;gap:2px 10px}
  .es-sel-item input,.es-sel-item img,.es-sel-item .es-item-vide{grid-row:1 / 3}
  .es-sel-item .es-item-main{display:contents}
  .es-sel-item .es-item-t{grid-column:3;grid-row:1}
  .es-sel-item .es-item-a{grid-column:3;grid-row:2}
  .es-sel-item .es-sel-lien{grid-column:4;grid-row:1;justify-self:end;width:26px;height:22px;font-size:12px}
  .es-sel-item .es-item-p{grid-column:4;grid-row:2;justify-self:end;font-size:14px}
  .es-sel-tete{flex-direction:column;gap:10px}
  .es-sel-pied{flex-direction:column;align-items:stretch}
  .es-sel-pied .es-go{width:100%;min-width:0}
  .es-alerte{padding:14px 13px}
  .es-pc{padding:8px 4px;font-size:13px}
  .es-pc i{font-size:10.5px}
  /* Choix de l'alerte à remplacer (aussi dans la fenêtre d'information d'une alerte). */
  .es-rempl{flex-direction:column;align-items:flex-start;gap:3px;padding:10px 12px}
  .es-rempl-px{font-size:11.5px}
}

/* ===== Affiliation ===== */
/* Ton lien à gauche, le partage à droite, sur une ligne. */
.v3-aff-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px 22px;
  border:1px solid var(--border);border-radius:20px;padding:16px 20px;margin-bottom:12px}
.v3-aff-main{min-width:0}
.aff-link-row{display:flex;gap:10px}
/* Bloc et non flex : sans cela, un lien trop long était coupé net, sans « … ». */
.aff-link-box{flex:1;min-width:0;padding:0 14px;line-height:42px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aff-copy{min-height:44px;padding:0 18px;font-size:13px;cursor:pointer;font-family:"Inter",sans-serif;transition:all .2s;white-space:nowrap}
.aff-copy.copied{transform:scale(1.05);}
.aff-partage{display:flex;gap:7px;flex-wrap:wrap}
#sec-affi .v3-share-btn{min-height:44px;font:700 11px "Inter",sans-serif;cursor:pointer}

/* Le parcours des filleuls en une ligne : clics, inscrits, en test gratuit, Premium
   (avec la part des inscrits), commissions. Il tenait deux blocs. */
.aff-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 12px}
.aff-stats .stat{min-width:0;padding:12px 14px 12px 54px;border-radius:14px;text-align:left}
.v3-stat-icon{position:absolute;left:14px;top:14px;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  background:var(--accent-dim);color:var(--accent);font-weight:900}
.v3-stat-icon svg{width:17px;height:17px;}
.aff-stats .num{font:700 21px/1.2 "Space Grotesk",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aff-stats .lbl{margin-top:1px;font-size:11.5px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aff-taux{margin-top:1px;font-size:10.5px;color:var(--text-dim)}
.aff-taux:empty{display:none}

/* Les gains à retirer et le simulateur, côte à côte. */
.v3-aff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.aff-h{font:700 16px "Space Grotesk",sans-serif;letter-spacing:-.3px;color:#f3f6f4}
.v3-withdraw-card{display:flex;flex-direction:column;gap:8px;margin:0}
.v3-withdraw-progress{display:flex;align-items:baseline;gap:8px;margin-top:2px}
.v3-withdraw-progress strong{font:700 28px/1.1 "Space Grotesk",sans-serif;color:var(--accent)}
.v3-withdraw-progress span{font-size:12px;color:var(--text-muted)}
/* Jauge vers le minimum de retrait */
.aff-jauge{height:6px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}
.aff-jauge i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#10b86a,#2cff9f)}
.aff-gains-sub{font-size:12px;color:var(--text-muted)}
.v3-withdraw-card .btn-withdraw{width:100%;margin-top:auto}
/* Retrait pas encore possible : un bouton sombre, comme les boutons secondaires. */
.v3-withdraw-card .btn-withdraw:disabled{opacity:1;color:#8b9791;border-color:rgba(255,255,255,.075);box-shadow:none;
  background:linear-gradient(180deg,rgba(21,27,25,.98),rgba(8,11,10,.99))!important}
.v3-withdraw-card .btn-withdraw:disabled::after{display:none}
.sim{display:flex;flex-direction:column;gap:12px}
.sim-tete{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 10px}
.sim h3{font:700 16px "Space Grotesk",sans-serif;letter-spacing:-.3px}
.sim-count-row{font-size:13px;color:var(--text-muted)}
.sim-count{font:700 18px "Space Grotesk",sans-serif;color:#fff}
.sim input[type=range]{width:100%;height:6px;accent-color:var(--accent);cursor:pointer}
.sim-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sim-box{padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:rgba(0,0,0,.3);text-align:center}
.sim-val{font:700 22px/1.15 "Space Grotesk",sans-serif}
.sim-val.m{color:var(--accent)}
.sim-box .l{font-size:11.5px;color:var(--text-muted)}
.sim-note{font-size:11.5px;line-height:1.5;color:var(--text-dim);text-align:center}

/* Tablette : trois chiffres puis deux, sans quoi les libellés se coupent. */
@media(max-width:1080px){
  .aff-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
  .aff-stats .stat{grid-column:span 2}
  .aff-stats .stat:nth-child(n+4){grid-column:span 3}
}
@media(max-width:1000px){
  .v3-aff-hero{grid-template-columns:1fr}
}
@media(max-width:760px){
  .aff-partage>*{flex:1 1 auto;}
  .aff-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .aff-stats .stat,.aff-stats .stat:nth-child(n+4){grid-column:auto}
  .aff-stats .stat:last-child{grid-column:1 / -1}
  .v3-aff-grid{grid-template-columns:1fr}
}

/* ===== Mon compte ===== */
/* Le compte et Telegram à gauche, l'abonnement à droite. */
/* Les deux colonnes finissent à la même hauteur : l'abonnement s'étire, le
   lien de désabonnement reste en bas ; à gauche, les cartes gardent leur taille. */
.v3-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.v3-account-grid .ac-col{align-content:start}
.v3-account-grid .v3-plan-card{display:flex;flex-direction:column}
.ac-col{display:grid;gap:12px;min-width:0}
.v3-account-grid .card{margin:0;padding:18px 20px}
.v3-account-grid .card-title{margin-bottom:6px}
.ac-tete{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.ac-tete .card-title{margin:0}

/* Lignes libellé / valeur, séparées par un filet */
.tg-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border)}
.tg-label{flex-shrink:0;font-size:13px;color:var(--text-muted)}
.tg-value{min-width:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.ac-email-val{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px}
.ae-ouvrir{flex-shrink:0;padding:4px 10px;border-radius:8px;border:1px solid rgba(164,190,177,.16);background:rgba(11,16,13,.6);
  color:#cfe0d7;font:600 12px "Inter",sans-serif;cursor:pointer}
.ae-ouvrir:hover{border-color:rgba(19,242,138,.32);color:#fff}

/* Abonnement : la formule, son état, les derniers paiements */
.v3-plan-visual{align-items:center;justify-content:space-between;gap:10px;padding:2px 0 10px;display:flex}
#ac-plan-name{font:700 26px/1.1 "Space Grotesk",sans-serif;letter-spacing:-1px}
/* Une ligne sous la formule seulement si elle apprend quelque chose (dates, renouvellement). */
.ac-plan-info{margin-top:-4px;padding-bottom:12px;font-size:13px;color:var(--text-muted)}
.ac-invoices{margin-bottom:10px;padding-top:10px;border-top:1px solid var(--border)}
.ac-invoices-title{margin-bottom:2px;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--text-muted)}
.ac-inv-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;line-height:1.3}
.ac-inv-row+.ac-inv-row{border-top:1px solid rgba(255,255,255,.04)}
.ac-inv-left{display:flex;align-items:center;gap:10px;min-width:0}
.ac-inv-info{min-width:0}
.ac-inv-label{font-size:13px;font-weight:600;color:#e8e8e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-inv-date{font-size:11.5px;color:var(--text-muted)}
.ac-inv-right{flex-shrink:0;text-align:right}
.ac-inv-amount{font-size:13px;font-weight:700;color:#fff}
.ac-inv-status{font-size:11px;color:var(--text-muted)}
.ac-inv-ico{display:inline-flex;flex-shrink:0;width:16px;height:16px;color:var(--accent,#09E576)}
.ac-inv-ico svg{width:16px;height:16px}
.ac-inv-failed .ac-inv-ico{color:var(--red,#ff5e68)}
.ac-inv-failed .ac-inv-status{color:#ff8f7a}
.ac-inv-cache{display:none}
.ac-inv-plus{margin-top:6px;padding:6px 11px;border-radius:999px;border:1px solid rgba(164,190,177,.16);background:rgba(11,16,13,.6);
  color:#cfe0d7;font:600 12px "Inter",sans-serif;cursor:pointer}
.ac-inv-plus:hover{border-color:rgba(19,242,138,.32);color:#fff}
.ac-desabo{margin-top:auto;padding-top:10px;border-top:1px solid var(--border)}
.ac-desabo .unsub-link{font-size:13px}
.ac-desabo-attente{font-size:13px;color:var(--gold)}

@media(max-width:900px){
  /* Déconnexion à droite du titre plutôt que sur une ligne à part */
  #sec-acc .v3-page-head{position:relative}
  #sec-acc .v3-page-head .page-title{padding-right:136px}
  #sec-acc .v3-page-head>.v3-secondary-btn{position:absolute;top:0;right:0;margin:0}
}

/* ===== Valeur Dressing ===== */
/* L'estimateur : le pseudo, puis le résultat en une bande dans la même carte. */
.dr-carte{margin-bottom:12px}
.dr-carte .field-label{margin-top:0}
.v3-dress-inputrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:720px}
.estimate-btn{padding:0 22px;font-size:15px;white-space:nowrap;cursor:pointer;font-family:"Inter",sans-serif}
.estimate-btn:disabled{opacity:.6;cursor:not-allowed}
.v3-secure-note{margin-top:8px;font-size:11px;color:#72807c}

/* Pendant l'analyse : la roue, le texte et les trois étapes sur une ligne */
.dr-loading{display:none;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.dr-loading.show{display:flex}
.dr-loader{width:30px;height:30px;flex-shrink:0;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:drspin .8s linear infinite}
.dr-loading-txt strong{display:block;font:700 15px "Space Grotesk",sans-serif}
.dr-loading-txt p{font-size:12.5px;color:var(--text-muted)}
.dr-steps{display:flex;flex-wrap:wrap;gap:8px 18px;margin-left:auto}
.dr-step{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-muted);transition:color .3s}
.dr-step i{width:22px;height:22px;flex-shrink:0;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  font-size:11px;font-style:normal;font-weight:700;transition:all .3s}
.dr-step.done{color:var(--text)}
.dr-step.done i{background:var(--accent);border-color:var(--accent);color:#03140d}
.dr-step.active i{border-color:var(--accent);color:var(--accent)}

/* Le résultat : le profil, la valeur et son rang, puis les chiffres */
.dressing-result{display:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:14px 24px;
  margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.dressing-result.show{display:grid}
.v3-profile-line{display:flex;align-items:center;gap:12px;min-width:0}
.dr-avatar{width:48px;height:48px;flex-shrink:0;border-radius:50%;object-fit:cover;border:2px solid var(--accent)}
.dr-profil{min-width:0}
.dr-username{font:700 17px "Space Grotesk",sans-serif;letter-spacing:-.4px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dr-note{margin-top:2px;font-size:12px;font-weight:600;color:#e1ba5d}
.res-sub{font-size:12px;color:var(--text-muted)}
.res-total{margin:1px 0 4px;font:700 36px/1.05 "Space Grotesk",sans-serif;letter-spacing:-1.5px;}
.dr-rank{padding:4px 11px;border-radius:999px;border:1px solid rgba(247,201,72,.4);background:var(--gold-dim);
  color:var(--gold);font-size:12px;font-weight:700;
  display:inline-block;}
.dr-deverrouiller{margin-top:6px}
.dr-deverrouiller .btn{min-height:40px;margin-top:0;padding:0 14px}
.dr-deverrouiller-note{margin-top:6px;font-size:12px;color:#9aa5a0;text-align:center}
.res-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.res-stat{min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#080b0b}
.res-stat .n{font:700 19px/1.15 "Space Grotesk",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.res-stat .n.gold{color:var(--gold)}
.res-stat .l{margin-top:1px;font-size:11.5px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Le classement : recherche et tri, puis une ligne par vendeur */
.v3-community-card{margin:0}
.history-controls{display:flex;gap:10px;margin-bottom:12px}
.history-search{flex:1;min-width:0;padding:12px 14px;font:14px "Inter",sans-serif;outline:none}
/* Le tri : un sélecteur compact, le même que « Liste / Cartes » (.hp-vues). */
.history-sorts{display:inline-flex;align-self:center;gap:2px;padding:3px;border-radius:12px;
  background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06)}
.hsort{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 10px;border:0;border-radius:9px;
  background:none;color:#97a39d;font:700 12px "Inter",sans-serif;white-space:nowrap;cursor:pointer;transition:color .15s,background .15s}
.hsort svg{width:13px;height:13px;flex:none}
.hsort:hover{color:#e6eeea}
.hsort.active{background:linear-gradient(180deg,rgba(19,242,138,.15),rgba(19,242,138,.06));color:#ecfff6;box-shadow:inset 0 0 0 1px rgba(19,242,138,.28)}
.dr-partiel{margin-top:12px;padding:10px 13px;border-radius:11px;border:1px solid rgba(245,197,66,.22);
  background:rgba(245,197,66,.06);color:#e2c887;font-size:12.5px;line-height:1.45}
.history-table{border:1px solid var(--border);border-radius:14px;overflow:hidden}
.history-row{display:grid;grid-template-columns:minmax(0,1.8fr) 1fr .7fr .8fr .6fr 64px;gap:10px;align-items:center;padding:8px 14px;border-top:1px solid #1a221f}
.history-header,#dr-history-rows>.history-row:first-child{border-top:0}
#dr-history-rows{border-top:1px solid #1a221f}
.history-row:not(.history-header):hover{background:rgba(18,232,131,.025)}
.history-header{padding-top:10px;padding-bottom:10px;background:var(--bg);font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:var(--text-dim)}
.history-row .r{text-align:right}
.history-row .total{font-weight:800;color:var(--text)}
.history-row .cnt{font-weight:600;color:var(--text-muted)}
.cnt-suffixe{display:none}
.history-row .date{font-size:12px;color:var(--text-dim)}
.hv{display:flex;align-items:center;gap:10px;min-width:0;font-weight:700}
.hv-col{display:flex;align-items:baseline;gap:10px;min-width:0}
.hv-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hv-stars{flex-shrink:0;font-size:12px;font-weight:600;color:var(--gold);white-space:nowrap}
.hv-stars b{font-weight:700;color:var(--text)}
.lb-av{width:30px;height:30px;flex-shrink:0;border-radius:50%;object-fit:cover;border:1px solid var(--border)}
.lb-av-ph{display:flex;align-items:center;justify-content:center;background:var(--accent-dim);color:var(--accent);font:800 13px "Space Grotesk",sans-serif}
#dr-history-rows .hist-row-link{min-height:32px;height:32px;padding:0 12px}
.history-empty{padding:20px;text-align:center;font-size:13px;line-height:1.5;color:var(--text-dim)}
.history-pagination{align-items:center;justify-content:center;gap:14px;margin-top:12px;display:flex}
.hpage-btn{padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface2);color:var(--text);font:600 13px "Inter",sans-serif;cursor:pointer}
.hpage-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.hpage-btn:disabled{opacity:.4;cursor:not-allowed}
.hpage-info{font-size:13px;color:var(--text-muted)}

@media(max-width:1000px){
  .dressing-result{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dressing-result .res-grid{grid-column:1 / -1}
}
@media(max-width:760px){
  /* La description dit déjà que l'estimation est immédiate. */
  #sec-dress .v3-page-head>.v3-head-pill{display:none}
  .v3-dress-inputrow{grid-template-columns:1fr}
  .v3-dress-inputrow .estimate-btn{min-height:46px}
  .dr-steps{margin-left:0}
  .dressing-result{grid-template-columns:1fr;gap:12px}
  .res-total{font-size:32px}
  .res-stat{padding:9px 10px}
  .res-stat .n{font-size:17px}
  .res-stat .l{white-space:normal;line-height:1.3}
  .history-controls{flex-direction:column;gap:8px}
  .history-sorts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:stretch}
  .hsort{padding:6px 4px;font-size:12px}
  /* Un vendeur sur deux lignes : pseudo et total, puis note et annonces */
  .history-header{display:none}
  #dr-history-rows{border-top:0}
  .history-row{grid-template-columns:30px minmax(0,1fr) auto auto;gap:2px 10px;padding:9px 12px}
  .history-row .hv,.history-row .hv-col{display:contents}
  .history-row .lb-av{grid-column:1;grid-row:1 / 3}
  .history-row .hv-name{grid-column:2;grid-row:1}
  .history-row .hv-stars{grid-column:2;grid-row:2}
  .history-row .total{grid-column:3;grid-row:1}
  .history-row .cnt{grid-column:3;grid-row:2;font-size:12px}
  .cnt-suffixe{display:inline;font-size:inherit}
  .history-row>span:nth-child(4),.history-row>span:nth-child(5){display:none}
  .history-row>span:nth-child(6){grid-column:4;grid-row:1 / 3}
  #dr-history-rows .hist-row-link{min-width:0;padding:0 10px}
}

/* ===== Idées ===== */
/* L'idée au hasard : la question et le bouton, les filtres, puis la carte. */
#sec-idees .idee-hasard{padding:20px 22px}
.idee-hasard-tete{display:flex;align-items:center;justify-content:space-between;gap:16px}
.idee-hasard-tete h2{font:700 23px/1.15 "Space Grotesk",sans-serif;letter-spacing:-.035em;color:#f4f7f5}
.idee-go{position:relative;overflow:hidden;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:44px;padding:0 20px;border-radius:13px;font:800 14px "Inter",sans-serif;cursor:pointer}
.idee-go svg{width:19px;height:19px;flex-shrink:0}
.idee-go.chargement svg{animation:ideeTourne .9s linear infinite}
.idee-go:disabled{cursor:progress;opacity:.85}
@keyframes ideeTourne{to{transform:rotate(360deg)}}
.idee-filtres{display:flex;align-items:center;gap:14px;margin:14px 0}
.idee-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.idee-chip{padding:6px 11px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.02);color:#aab5b0;
  font:700 12px "Inter",sans-serif;white-space:nowrap;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.idee-chip small{margin-left:5px;font-size:11px;color:#5f6b66}
.idee-chip:hover{border-color:rgba(19,242,138,.35);color:#e7ede9}
.idee-chip.on{border-color:rgba(19,242,138,.6);background:rgba(19,242,138,.1);color:#d6ffec}
.idee-chip.on small{color:#7fdcb0}
.idee-budget{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:12px;font-weight:700;color:var(--text-muted);white-space:nowrap}
.idee-budget input{width:84px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#080b0a;color:var(--text);font:600 13px "Inter",sans-serif}
.idee-budget input:focus{border-color:var(--accent)}
.idee-budget b{font-weight:700;color:#7c8a83}

/* La carte : univers, nom et verdict, les actions à droite ; les quatre
   chiffres ; les annonces, la note du relevé en bout de titre. */
.idee-carte{padding:18px 20px;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:#080b0a;transition:opacity .2s ease}
#idee-carte.idee-attente .idee-carte{opacity:.45}
.idee-carte-vide{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:150px;text-align:center}
.idee-carte-vide b{font:700 16px "Space Grotesk",sans-serif;color:#dfe6e2}
.idee-carte-vide span{font-size:12.5px;color:var(--text-muted)}
.idee-carte-tete{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 20px}
.idee-titre{min-width:0}
.idee-univ{font-size:10.5px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#7c8a83}
.idee-nom-ligne{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:4px}
.idee-nom{font:700 29px/1.1 "Space Grotesk",sans-serif;letter-spacing:-.04em;color:#f4f7f5;overflow-wrap:anywhere}
.idee-verdict{flex-shrink:0;display:inline-flex;align-items:center;padding:6px 11px;border:1px solid;border-radius:999px;font:800 12px "Inter",sans-serif;white-space:nowrap}
.idee-verdict.feu{border-color:rgba(92,255,179,.5);background:linear-gradient(145deg,#2cff9f,#10d879);color:#04150d}
.idee-verdict.moyen{border-color:rgba(216,170,67,.32);background:rgba(216,170,67,.1);color:#e9c66f}
.idee-verdict.dort{border-color:rgba(143,160,181,.24);background:rgba(143,160,181,.08);color:#9aabc0}
.idee-verdict.test,.idee-verdict.neuve{border-color:var(--border);background:rgba(255,255,255,.03);color:#aab5b0}
.idee-verdict.verrou{gap:6px;border-color:rgba(226,183,77,.34)}
.idee-verdict.verrou svg{width:14px;height:14px}
.idee-actions{display:flex;flex-wrap:wrap;gap:8px}
.idee-actions>*{min-height:40px}
.idee-alerte{padding:0 16px;border-radius:12px;font:800 13px "Inter",sans-serif;cursor:pointer}
.idee-debloquer{padding:0 16px;border:0;border-radius:12px;background:linear-gradient(180deg,#e9c463,#c99a2e);color:#141006;
  font:800 13px "Inter",sans-serif;cursor:pointer}
.idee-debloquer:hover{filter:brightness(1.05)}
.idee-chiffres{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.idee-chiffres>*{min-width:0;padding:10px 13px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.015)}
.idee-chiffres strong{display:block;font:700 20px/1.15 "Space Grotesk",sans-serif;letter-spacing:-.03em;color:#f4f7f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.idee-chiffres span{display:block;margin-top:3px;font-size:11.5px;line-height:1.35;color:var(--text-muted)}
.idee-chiffres .fort{border-color:rgba(19,242,138,.3);background:rgba(19,242,138,.05)}
.idee-chiffres .fort strong{color:var(--accent)}
.idee-chiffres .verrou{border-color:rgba(226,183,77,.18)}
.idee-chiffres .verrou strong{height:23px;color:inherit}
.idee-chiffres .verrou strong svg{width:22px;height:22px}
.idee-note{margin-top:10px;font-size:11.5px;color:var(--text-dim)}
.idee-ex-bloc{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06)}
.idee-ex-titre{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 16px;margin-bottom:10px}
.idee-ex-titre b{font-size:12px;font-weight:800;color:#9aa6a0}
.idee-ex-titre .idee-note{margin:0}
.idee-exemples{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
.idee-ex{position:relative;aspect-ratio:1/1;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#141818;transition:border-color .15s,transform .15s}
.idee-ex:hover{border-color:rgba(19,242,138,.45);transform:translateY(-1px)}
.idee-ex-ph{position:absolute;inset:0;background:center/cover no-repeat}
.idee-ex b{position:absolute;left:6px;bottom:6px;padding:2px 7px;border-radius:7px;background:rgba(5,8,7,.84);color:#fff;font:700 11.5px "Inter",sans-serif}
.idee-ex em{position:absolute;left:6px;top:6px;right:6px;width:max-content;max-width:calc(100% - 12px);padding:2px 6px;border-radius:6px;
  background:rgba(5,8,7,.84);color:#aab5b0;font:800 10px "Inter",sans-serif;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.idee-ex.vendue{border-color:rgba(19,242,138,.55)}
.idee-ex.vendue em{background:linear-gradient(145deg,#2cff9f,#10d879);color:#04150d}
.idee-ex.invendue .idee-ex-ph,.idee-ex.supprimee .idee-ex-ph,.idee-ex.inconnu .idee-ex-ph{filter:saturate(.55) brightness(.8)}
.idee-ex.verrou{display:grid;place-items:center;border-color:rgba(226,183,77,.18)}
.idee-ex.verrou:hover{border-color:rgba(226,183,77,.45)}
.idee-ex.verrou svg{width:20px;height:20px}
/* Hors Premium, les chiffres sont des boutons qui ouvrent l'offre */
button.cache-premium{font:inherit;text-align:inherit;cursor:pointer}
.cache-premium:hover{color:#f3cf72}
.cache-premium svg{display:block;flex-shrink:0}

/* Tirage et classement : titre et repère à droite, une phrase, puis la liste */
.idee-bloc{padding:18px 20px}
.idee-sous{max-width:760px;margin:-6px 0 14px;font-size:12.5px;color:var(--text-muted)}
/* Les chiffres de la méthode, entre deux filets (ligne de chiffres) */
.idee-totaux{margin-bottom:14px;padding:12px 0;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
/* Les idées du tirage : le nom, puis leur résultat */
.idee-puces{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.idee-puce{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:9px 12px;border:1px solid var(--border);border-radius:12px;
  background:rgba(255,255,255,.015);color:var(--text);font-family:"Inter",sans-serif;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.idee-puce:hover{border-color:rgba(19,242,138,.4);background:rgba(19,242,138,.04)}
.idee-puce b{max-width:100%;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.idee-puce em{max-width:100%;font-size:11.5px;font-style:normal;font-weight:800;color:#aab5b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.idee-puce em.feu{color:var(--accent)}
.idee-puce em.moyen{color:#e9c66f}
.idee-puce em.dort{color:#9aabc0}
.idee-puce em.verrou{display:inline-flex;align-items:center;gap:5px;color:#e2b74d}
.idee-puce em.verrou svg{width:13px;height:13px}
.idee-plus{margin-top:12px;text-align:center}
.idee-plus .items-more{min-width:240px}
.idee-plus-mobile{display:none}
/* Le classement : rang, idée, barre, taux, prix, alerte */
.idee-rangs{display:flex;flex-direction:column}
.idee-rang{display:grid;grid-template-columns:26px minmax(0,1.5fr) minmax(80px,1.3fr) 78px 72px auto;align-items:center;gap:14px;
  padding:8px 0;border-top:1px solid rgba(255,255,255,.05)}
.idee-rang-n{font:700 14px "Space Grotesk",sans-serif;color:#5f6b66}
.idee-rang-nom{min-width:0;border:0;background:none;color:var(--text);font-family:"Inter",sans-serif;text-align:left;cursor:pointer}
.idee-rang-nom b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.idee-rang-nom small{font-size:11.5px;color:#6f7a75}
.idee-rang-nom:hover b{color:var(--accent)}
.idee-barre{height:8px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.05)}
.idee-barre i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#10d879,#2cff9f)}
.idee-barre.moyen i{background:linear-gradient(90deg,#b8902f,#e9c66f)}
.idee-barre.dort i{background:#566475}
.idee-barre.verrou{display:grid;place-items:center;height:22px;border:1px solid rgba(226,183,77,.18);border-radius:8px}
.idee-barre.verrou svg{width:14px;height:14px}
.idee-rang-taux{font:700 16px "Space Grotesk",sans-serif;text-align:right;white-space:nowrap}
.idee-rang-prix{font-weight:700;text-align:right;white-space:nowrap}
.idee-rang-taux small,.idee-rang-prix small{display:block;font:600 11px "Inter",sans-serif;color:#6f7a75}
.idee-rang-taux.verrou,.idee-rang-prix.verrou{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;
  min-height:36px;padding:4px 10px;border:1px solid rgba(226,183,77,.18);border-radius:10px}
.idee-rang-taux.verrou svg,.idee-rang-prix.verrou svg{width:15px;height:15px}
.idee-rang-alerte{padding:7px 11px;border:1px solid rgba(19,242,138,.35);border-radius:10px;background:rgba(19,242,138,.06);color:#9fffcd;
  font:800 12px "Inter",sans-serif;white-space:nowrap;cursor:pointer}
.idee-rang-alerte:hover{border-color:rgba(19,242,138,.7);color:#eafff6}
.idee-vide-ligne{padding:18px 0 4px;border-top:1px solid rgba(255,255,255,.05);font-size:13px;color:var(--text-muted)}
.idee-vide{color:var(--text-muted)}

@media (max-width:980px){
  .idee-chiffres{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  /* Écran tactile : univers et annonces en bandes qui défilent, sur une ligne */
  .idee-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .idee-chips::-webkit-scrollbar{display:none}
  .idee-exemples{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:2px}
  .idee-exemples::-webkit-scrollbar{display:none}
  .idee-ex{flex:0 0 104px;scroll-snap-align:start}
}
@media (max-width:760px){
  /* La description dit déjà que le tirage est quotidien. */
  #sec-idees .v3-page-head>.v3-head-pill{display:none}
  .idee-hasard-tete{flex-direction:column;align-items:stretch;gap:12px}
  .idee-hasard-tete h2{font-size:20px}
  .idee-filtres{flex-direction:column;align-items:stretch;gap:10px}
  .idee-chips{margin:0 -16px;padding:0 16px}
  .idee-budget span{flex:1}
  .idee-budget input{flex:0 0 112px;padding:7px 10px}
  /* La carte : nom et verdict, les chiffres, les boutons, puis les annonces */
  .idee-carte{display:flex;flex-direction:column;padding:15px}
  .idee-carte-tete{display:contents}
  .idee-chiffres{order:1}
  .idee-actions{order:2;margin-top:12px}
  .idee-ex-bloc,.idee-carte>.idee-note{order:3}
  .idee-actions>*{flex:1;justify-content:center}
  .idee-debloquer{flex-basis:100%}
  .idee-nom{font-size:24px}
  .idee-chiffres strong{font-size:18px}
  .idee-exemples{margin:0 -15px;padding:0 15px 2px}
  .idee-bloc{padding:16px}
  /* Le tirage : six idées, le reste derrière « Voir les 20 » */
  .idee-puces{grid-template-columns:repeat(2,minmax(0,1fr))}
  .idee-puces.replie .idee-puce:nth-child(n+7){display:none}
  .idee-plus-mobile{display:block}
  .idee-plus .items-more{width:100%;min-width:0}
  .idee-rang{grid-template-columns:22px minmax(0,1fr) auto;grid-template-areas:"n nom taux" "n barre taux";gap:6px 10px}
  .idee-rang-n{grid-area:n}
  .idee-rang-nom{grid-area:nom}
  .idee-barre{grid-area:barre}
  .idee-rang-taux{grid-area:taux}
  .idee-rang-prix,.idee-rang-prix.verrou,.idee-rang-alerte{display:none}
}

/* ===== Cartes communes (Estimer, Explorer) ===== */
.st-h{font-family:"Space Grotesk",sans-serif;font-size:18px;font-weight:700;letter-spacing:-.4px}
.st-bloc{padding:20px 22px}
.st-bloc:last-child{margin-bottom:0}
.st-duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.st-duo .st-bloc{margin-bottom:0;height:100%}
/* Une phrase sous le titre d'une carte */
.st-sub{max-width:760px;margin:-6px 0 14px;font-size:12.5px;line-height:1.5;color:#8b9891}

@media(max-width:760px){
  .st-duo{grid-template-columns:1fr}
}
@media(max-width:680px){
  .st-bloc{margin-bottom:11px}
}

/* ===== Outils ===== */
.outils-liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* Un nombre impair d'outils : le dernier prend toute la largeur. */
.outils-liste>.outil:last-child:nth-child(odd){grid-column:1 / -1}
.outil{display:flex;align-items:flex-start;gap:14px;width:100%;margin:0;padding:20px 22px;text-align:left;color:var(--text);font:inherit;cursor:pointer;transition:border-color .15s,transform .15s}
.outil:hover{border-color:rgba(19,242,138,.35);transform:translateY(-1px)}
.outil>svg{flex:0 0 auto;width:42px;height:42px;padding:10px;border-radius:12px;color:var(--accent);background:rgba(19,242,138,.08);border:1px solid rgba(19,242,138,.2)}
.outil-txt{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.outil-nom{font:700 16px/1.25 "Space Grotesk",sans-serif;letter-spacing:-.02em}
.outil-desc{font-size:13px;line-height:1.5;color:var(--text-muted)}
.outil-go{flex:0 0 auto;align-self:center;font-size:13px;font-weight:700;color:var(--accent);white-space:nowrap}
@media (max-width:760px){
  .outils-liste{grid-template-columns:minmax(0,1fr);gap:10px}
  .outil-go{display:none}
}

/* ===== Questionnaire d'arrivée ===== */
.qz-fenetre{max-width:480px}
.qz-tete{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 34px 10px 0;font-size:12.5px;font-weight:700;color:var(--text-muted)}
.qz-bienvenue{color:var(--accent)}
.qz-barre{height:4px;margin-bottom:18px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}
.qz-barre i{display:block;width:0;height:100%;border-radius:inherit;background:var(--accent);transition:width .25s ease}
#qz-aide:empty{display:none}
.qz-choix{display:grid;gap:8px;margin-top:14px}
.qz-choix button{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);
  color:var(--text);font:600 14px/1.35 "Inter",sans-serif;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.qz-choix button:hover{border-color:rgba(19,242,138,.35)}
.qz-choix button[aria-pressed="true"]{border-color:rgba(19,242,138,.6);background:rgba(19,242,138,.09);color:#eafff4}
.qz-bas{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.qz-passer{padding:6px 0;border:0;background:none;color:var(--text-muted);font:600 13px "Inter",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.qz-suivant{min-width:130px;margin:0!important}
.qz-suivant[hidden]{display:none}

/* Vue « Cartes » sur téléphone (flux et historique) : deux cartes par ligne,
   la photo au-dessus du texte, comme une vitrine. Sur ordinateur, rien ne
   change. */
@media(max-width:640px){
  .cartes-annonces{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cartes-annonces .deal-card{flex-direction:column;align-items:stretch;gap:8px;padding:7px 7px 9px;border-radius:13px}
  .cartes-annonces .deal-card:hover{transform:none}
  .cartes-annonces .deal-photo{flex:none;width:100%;height:auto;aspect-ratio:4/5;border-radius:9px}
  .cartes-annonces .deal-body{gap:2px;padding:0 2px}
  .cartes-annonces .deal-kw{font-size:9.5px}
  .cartes-annonces .deal-quand{display:none}
  .cartes-annonces .deal-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    font-size:12.5px;line-height:1.3;min-height:2.6em}
  .cartes-annonces .deal-preuve{font-size:10.5px}
  .cartes-annonces .deal-price{font-size:16px}
  .cartes-annonces .deal-verrou .deal-btn{margin-left:0}
  /* Historique : la coche, les pastilles et « ⋯ » passent sur la photo */
  .cartes-annonces .hp-carte-vue .deal-kw,.cartes-annonces .hp-carte-vue .deal-title{padding-right:0}
  .cartes-annonces .hp-carte-photo{left:7px;right:7px;top:7px;width:auto;height:auto;aspect-ratio:4/5;margin-top:0}
  .cartes-annonces .hp-carte-photo .hp-p-fav{top:auto;bottom:6px;right:32px}
  .cartes-annonces .hp-carte-photo .hp-p-achat{bottom:6px;right:6px}
  .cartes-annonces .hp-carte-vue .hp-plus{top:11px;right:11px;width:28px;height:28px;background:rgba(5,8,7,.72);
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
}

/* Offre Illimité (abonné Max à sa limite) : la fenêtre, une seule offre, et
   l'encart sous les listes de remplacement. */
.ill-card{max-width:440px}
#illimite-modal .pm-close{top:12px;right:12px;width:32px;height:32px;border-radius:10px;font-size:16px}
.ill-offres{grid-template-columns:1fr;padding:26px 18px 8px}
.ill-encart{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;
  border-radius:14px;border:1px solid rgba(241,189,69,.35);background:linear-gradient(180deg,rgba(241,189,69,.09),rgba(241,189,69,.02))}
.ill-encart-txt{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:12.5px;color:#a9b3ae}
.ill-encart-txt b{color:#f6f7f6;font-size:13.5px}
.ill-encart-btn{flex:0 0 auto;min-height:36px;padding:0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg,#f4d276,#ddb247);color:#100d05;font:800 12.5px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
@media(max-width:480px){.ill-encart{flex-direction:column;align-items:stretch}.ill-encart-btn{min-height:40px}}

#illimite-modal .pm-head{padding-left:48px;padding-right:48px}

/* ── Explorer (#sec-explorer) ─────────────────────────────────────────────────
   Liste : quatre chiffres de la période, les onglets Marchés / Marques /
   Articles, puis un tableau (une grille par ligne). Sur téléphone, chaque
   ligne devient une carte : nom, photos, puis trois chiffres côte à côte.
   Fiche : en-tête avec mosaïque, six chiffres, graphiques, répartitions,
   annonces en photo. Couleurs : vert = annonces, violet = ventes. */
#sec-explorer{--ex-v:#a78bfa;--ex-ligne:rgba(255,255,255,.06)}
.ex-tete{align-items:flex-end}
/* Le bouton retour d'une fiche, à gauche des périodes, sur la même ligne. */
.ex-per-ligne{display:flex;align-items:center;gap:10px;flex:none;min-width:0}
.ex-retour-place{min-width:0}
.ex-retour-place:empty{display:none}
#sec-explorer .ex-per-ligne .ex-retour{margin:0;max-width:100%;padding:8px 12px 8px 8px}
#sec-explorer .ex-per-ligne .ex-retour span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#sec-explorer .ex-per-ligne .ex-retour svg{flex:none}
@media (max-width:900px){
  .ex-per-ligne{width:100%;justify-content:space-between}
  .ex-retour-place{flex:1 1 auto;display:flex}
  #sec-explorer .ex-per-ligne .ex-retour{padding:7px 10px 7px 6px;font-size:12.5px}
}
@media (max-width:420px){
  .ex-per-ligne{gap:6px}
  #sec-explorer .ex-per-ligne .ex-per{padding:7px 8px;font-size:12px}
}
.ex-periodes{display:inline-flex;gap:2px;padding:3px;border-radius:12px;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06);flex:none}
.ex-per{padding:7px 12px;border:0;border-radius:9px;background:none;color:#97a39d;font:700 12.5px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ex-per:hover{color:#e6eeea}
.ex-per.on{background:linear-gradient(180deg,rgba(19,242,138,.15),rgba(19,242,138,.06));color:#ecfff6;box-shadow:inset 0 0 0 1px rgba(19,242,138,.28)}

.ex-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.ex-kpi{display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:16px;border:1px solid var(--ex-ligne);
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008))}
.ex-kpi-ico{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(19,242,138,.08);color:#13f28a}
.ex-kpi-ico svg{width:18px;height:18px}
.ex-kpi-txt{display:grid;gap:1px;min-width:0}
.ex-kpi-txt b{font:700 21px/1.1 "Space Grotesk",sans-serif;color:#f3f6f4;letter-spacing:-.4px;white-space:nowrap}
.ex-kpi-txt b em{font-style:normal;color:#5d6762}
.ex-kpi-txt span{font-size:12.5px;font-weight:600;color:#c3ccc7}
.ex-kpi-txt small{font-size:11.5px;color:#76817b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.ex-carte{padding:16px 16px 12px}
/* Les onglets défilent de côté quand ils débordent (téléphone), jamais de
   haut en bas (overflow-y:hidden, soulignement dans la barre). La molette et
   le doigt qui vont de haut en bas font défiler la page, comme ailleurs. */
.ex-onglets{display:flex;gap:4px;border-bottom:1px solid var(--ex-ligne);margin:-2px -2px 14px;
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none}
/* Écran tactile : rien ne se sélectionne au maintien du doigt. */
@media (hover:none){ .ex-onglets{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none} }
.ex-onglets::-webkit-scrollbar{display:none}
.ex-onglet{position:relative;display:inline-flex;align-items:center;gap:7px;padding:10px 14px 12px;border:0;background:none;color:#8b9691;
  font:700 14px "Inter",sans-serif;cursor:pointer;white-space:nowrap;flex:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}
.ex-onglet:hover{color:#e6eeea}
.ex-onglet.on{color:#f3f6f4}
.ex-onglet.on::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px;background:#13f28a}
.ex-onglet-n{font:700 11px "Inter",sans-serif;color:#7f8a85;background:rgba(255,255,255,.05);border-radius:999px;padding:2px 7px}
.ex-onglet-n:empty{display:none}
.ex-lien-profil{color:#13f28a;text-decoration:none;font-weight:700}
.ex-lien-profil:hover{text-decoration:underline}
/* Téléphone : les onglets défilent de côté, comptes compris. */
@media (max-width:600px){
  .ex-onglets{gap:0;-webkit-overflow-scrolling:touch}
  .ex-onglet{flex:0 0 auto;justify-content:center;gap:5px;padding:10px 11px 12px;font-size:13.5px}
  .ex-onglet.on::after{left:6px;right:6px}
  .ex-onglet-n{padding:2px 6px;font-size:10.5px}
  #sec-explorer .ex-sims{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #sec-explorer .ex-sim{padding:11px 12px}
}
.ex-barre{margin-bottom:10px}
/* Ce qu'est la vue choisie, sous les onglets. */
.ex-choix{width:auto;min-width:200px;flex:none}

.ex-table{display:grid;gap:8px;transition:opacity .15s}
.ex-table.ex-charge{opacity:.45;pointer-events:none}
.ex-attente{display:flex;align-items:center;gap:12px;margin:6px 2px 14px;font-size:13px;color:#9aa6a0}
.ex-attente .dr-loader{width:20px;height:20px;border-width:2px}
/* Une ligne : nom · étiquettes · dernières ventes · prix · activité · taux · › */
.ex-ligne{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) 196px minmax(0,.8fr) minmax(0,1.15fr) minmax(0,.9fr) 22px;
  align-items:center;gap:16px;padding:12px 14px;border-radius:14px;border:1px solid var(--ex-ligne);background:rgba(255,255,255,.012);
  cursor:pointer;transition:border-color .15s,background .15s;text-align:left}
.ex-ligne:hover{border-color:rgba(19,242,138,.26);background:rgba(19,242,138,.025)}
.ex-ligne:focus-visible{outline:2px solid #13f28a;outline-offset:2px}
/* Pas de contour au clic ou au toucher, seulement au clavier. */
#sec-explorer :focus:not(:focus-visible){outline:none}
#sec-explorer .ex-onglet:focus-visible,#sec-explorer .ex-per:focus-visible,#sec-explorer .ex-sim:focus-visible,
#sec-explorer .ex-rep.lien:focus-visible,#sec-explorer .ex-retour:focus-visible,#sec-explorer .ex-annonce:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:2px;border-radius:10px}
#sec-explorer .ex-onglet,#sec-explorer .ex-per,#sec-explorer .ex-sim,#sec-explorer .ex-rep.lien,#sec-explorer .ex-ligne{-webkit-tap-highlight-color:transparent}
.ex-entete{cursor:default;border-color:transparent;background:none;padding-top:2px;padding-bottom:2px;
  font:700 11px "Inter",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6d7872}
.ex-entete:hover{border-color:transparent;background:none}
.ex-c-nom{display:flex;align-items:center;gap:12px;min-width:0}
.ex-nom-txt{display:grid;gap:3px;min-width:0}
.ex-nom-txt b{font:700 15px/1.2 "Space Grotesk",sans-serif;color:#f3f6f4;letter-spacing:-.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-nom-txt small{font-size:12px;color:#7f8a85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-direct{display:inline-flex;align-items:center;gap:5px;color:#5fe3a6;font-weight:600}
.ex-direct i{width:6px;height:6px;border-radius:50%;background:#13f28a;box-shadow:0 0 0 3px rgba(19,242,138,.15);animation:exPouls 2s ease-in-out infinite}
@keyframes exPouls{50%{box-shadow:0 0 0 5px rgba(19,242,138,0)}}
.ex-c-etiq{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.ex-chip{display:inline-flex;align-items:center;max-width:100%;padding:4px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);color:#c8d1cc;font:600 11.5px/1.2 "Inter",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-chip.plus{color:#7f8a85}
.ex-vide-txt{color:#55605a}
.ex-c-photos{display:grid;gap:5px}
.ex-c-photos small,.ex-c-prix small,.ex-c-ventes small{font-size:11.5px;color:#76817b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-photos{display:grid;grid-template-columns:repeat(3,58px);gap:6px}
.ex-ph{position:relative;display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#151a18;border:1px solid rgba(255,255,255,.06)}
.ex-ph img{width:100%;height:100%;object-fit:cover;display:block}
.ex-ph.vide::after,.ex-ph:empty::after{content:"";position:absolute;inset:30%;border-radius:4px;border:1.5px dashed rgba(255,255,255,.12)}
.ex-ph em{position:absolute;left:4px;bottom:4px;padding:1px 5px;border-radius:6px;background:rgba(5,8,7,.82);color:#f3f6f4;font:700 10px/1.4 "Inter",sans-serif;font-style:normal}
.ex-vignette{flex:none;width:44px;height:44px;border-radius:12px}
.ex-c-prix,.ex-c-ventes,.ex-c-act{display:grid;gap:3px;min-width:0}
.ex-c-prix b,.ex-c-ventes b,.ex-act-val b{font:700 16px/1.15 "Space Grotesk",sans-serif;color:#f3f6f4;white-space:nowrap}
.ex-act-val{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ex-tend{display:inline-flex;padding:2px 6px;border-radius:7px;font:700 11px/1.3 "Inter",sans-serif;white-space:nowrap}
.ex-tend.haut{color:#5fe3a6;background:rgba(19,242,138,.1)}
.ex-tend.bas{color:#ff8a8a;background:rgba(255,107,107,.1)}
.ex-tend.stable{color:#a5b0ab;background:rgba(255,255,255,.05)}
.ex-tend.neuf{color:#c4b5fd;background:rgba(167,139,250,.12)}
.ex-spark{display:block;width:100%;max-width:150px;height:30px}
.ex-spark-aire{fill:rgba(19,242,138,.1)}
.ex-spark-ligne{fill:none;stroke:#13f28a;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.ex-spark-auj{fill:none;stroke:#13f28a;stroke-width:1.4;stroke-dasharray:2 3;opacity:.55;vector-effect:non-scaling-stroke}
.ex-spark.v .ex-spark-aire{fill:rgba(167,139,250,.12)}.ex-spark.v .ex-spark-ligne,.ex-spark.v .ex-spark-auj{stroke:#a78bfa}
.ex-jauge{display:block;height:5px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden;max-width:120px}
.ex-jauge i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c6cf0,var(--ex-v))}
.ex-c-go{color:#55605a;display:grid;place-items:center}
.ex-c-go svg{width:18px;height:18px}
.ex-ligne:hover .ex-c-go{color:#13f28a}
.ex-mobile-lbl{display:none}
.ex-note{margin:12px 2px 2px;font-size:11.5px;line-height:1.55;color:#6d7872}
/* ── L'Explorer dans la Vue d'ensemble (chargerOvExplorer) ───────────────────
   L'en-tête et « Ouvrir l'Explorer », puis trois colonnes de trois marchés ;
   sur téléphone, une colonne à la fois (onglets). */
#ov-explorer{margin-top:16px}
.ovx-tete{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.ovx-titre{display:flex;align-items:center;gap:12px;min-width:0}
.ovx-titre h3{margin:0;font:700 17px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.3px;color:#f3f6f4}
.ovx-sous{display:block;margin-top:2px;font-size:12px;font-weight:600;color:#7f8a85}
.ovx-ouvrir{flex:none;display:inline-flex;align-items:center;gap:4px;padding:8px 10px 8px 13px;border-radius:11px;border:1px solid rgba(19,242,138,.25);
  background:rgba(19,242,138,.06);color:#13f28a;font:700 12.5px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ovx-ouvrir svg{width:15px;height:15px}
.ovx-ouvrir:hover{background:rgba(19,242,138,.12)}
.ovx-onglets{display:none}
.ovx-cols{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px}
.ovx-col{display:grid;align-content:start;gap:6px;min-width:0;padding:12px;border-radius:16px;border:1px solid var(--ex-ligne,rgba(255,255,255,.06));background:rgba(255,255,255,.012)}
.ovx-col h4{margin:0 0 4px 2px;font:800 10.5px/1 "Inter",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#6f7a75}
.ovx-ligne{display:flex;align-items:center;gap:11px;width:100%;min-width:0;padding:7px;border:1px solid transparent;border-radius:12px;background:none;
  color:inherit;text-align:left;cursor:pointer;transition:background .14s ease,border-color .14s ease}
.ovx-ligne:hover{background:rgba(255,255,255,.03);border-color:rgba(19,242,138,.18)}
.ovx-ligne .ex-vignette{width:40px;height:40px;border-radius:11px}
.ovx-txt{display:grid;gap:2px;min-width:0;flex:1}
.ovx-txt b{font:700 14px/1.2 "Space Grotesk",sans-serif;color:#eef3f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ovx-txt small{font-size:11.5px;color:#76817b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ovx-val{flex:none;padding:4px 9px;border-radius:999px;font:800 12.5px/1.2 "Inter",sans-serif;color:#dfe7e2;background:rgba(255,255,255,.05);font-variant-numeric:tabular-nums}
.ovx-val.haut{color:#13f28a;background:rgba(19,242,138,.1)}
.ovx-val.taux{color:#c4b5fd;background:rgba(124,108,240,.14)}
#ov-explorer .ovx-ligne:focus-visible,#ov-explorer .ovx-onglet:focus-visible,#ov-explorer .ovx-ouvrir:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:2px}
#ov-explorer :focus:not(:focus-visible){outline:none}
@media(max-width:900px){
  .ovx-sous{font-size:11.5px}
  .ovx-ouvrir{padding:8px 9px 8px 11px}
  .ovx-onglets{display:flex;gap:2px;padding:3px;margin-bottom:10px;border-radius:12px;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06)}
  .ovx-onglet{flex:1;min-width:0;padding:8px 4px;border:0;border-radius:9px;background:none;color:#97a39d;font:700 12.5px "Inter",sans-serif;cursor:pointer;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}
  .ovx-onglet.on{background:linear-gradient(180deg,rgba(19,242,138,.15),rgba(19,242,138,.06));color:#ecfff6;box-shadow:inset 0 0 0 1px rgba(19,242,138,.28)}
  .ovx-cols{display:block}
  .ovx-col{display:none;padding:6px;border:0;background:none}
  .ovx-col.on{display:grid}
  .ovx-col h4{display:none}
}
@media(max-width:420px){.ovx-ouvrir{font-size:0;gap:0;padding:8px}.ovx-ouvrir svg{width:17px;height:17px}}

/* Moyen écran : les étiquettes passent sous le nom. */
@media(max-width:1180px){
  .ex-ligne{grid-template-columns:minmax(0,1.5fr) 196px minmax(0,.8fr) minmax(0,1.1fr) minmax(0,.9fr) 22px}
  .ex-c-etiq{display:none}
}
/* Téléphone et tablette : une carte par ligne. */
@media(max-width:900px){
  .ex-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ex-kpi{padding:12px 13px}
  .ex-kpi-ico{display:none}
  .ex-kpi-txt b{font-size:19px}
  .ex-kpi-txt span{font-size:12px}
  .ex-kpi-txt small{font-size:11px}
  .ex-tete{flex-wrap:wrap;align-items:flex-start}
  .ex-carte{padding:12px 12px 10px}
  .ex-barre{flex-wrap:wrap;gap:8px}
  .ex-barre .v3-search-wrap{flex:1 1 100%}
  .ex-choix{min-width:0;width:100%;flex:1 1 100%}
  .ex-entete{display:none}
  .ex-ligne{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"nom nom go" "etiq etiq etiq" "photos photos photos" "prix act ventes";
    gap:10px 10px;padding:12px}
  .ex-c-nom{grid-area:nom}.ex-c-etiq{grid-area:etiq;display:flex}.ex-c-photos{grid-area:photos}.ex-c-prix{grid-area:prix}
  .ex-c-act{grid-area:act}.ex-c-ventes{grid-area:ventes}.ex-c-go{grid-area:go;justify-self:end}
  .ex-c-etiq:has(.ex-vide-txt){display:none}
  .ex-c-photos{display:flex;align-items:center;gap:12px}
  .ex-c-photos small{white-space:normal;line-height:1.35}
  .ex-photos{grid-template-columns:repeat(3,64px)}
  .ex-mobile-lbl{display:block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6d7872}
  .ex-c-prix b,.ex-c-ventes b,.ex-act-val b{font-size:15px}
  .ex-spark{height:24px}
}

/* ── Fiche ── */
.ex-retour{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:8px 12px 8px 8px;border-radius:11px;border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);color:#c8d1cc;font:700 13px "Inter",sans-serif;cursor:pointer}
.ex-retour:hover{color:#f3f6f4;border-color:rgba(19,242,138,.3)}
.ex-retour svg{width:16px;height:16px}
.ex-f-tete{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:20px;align-items:center}
.ex-mosaique{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;width:120px;height:120px;border-radius:18px;overflow:hidden}
.ex-mosaique.n1{grid-template-columns:1fr}
.ex-mosaique .ex-mos{border-radius:0;border:0;aspect-ratio:auto;height:100%}
.ex-mosaique.n1 .ex-mos{grid-row:span 2}
.ex-mosaique.n3 .ex-mos:first-child{grid-row:span 2}
.ex-mosaique.n0{position:relative;background:#151a18;border:1px solid rgba(255,255,255,.06)}
.ex-mosaique.n0::after{content:"";position:absolute;inset:32%;border-radius:6px;border:1.5px dashed rgba(255,255,255,.12)}
.ex-f-vue{font:700 11px "Inter",sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#13f28a}
.ex-f-titre h2{margin:4px 0 6px;font:700 30px/1.1 "Space Grotesk",sans-serif;letter-spacing:-.8px;color:#f3f6f4;overflow-wrap:anywhere}
/* Pendant la lecture d'une fiche : ce que la liste en sait, puis la place des blocs. */
.ex-f-attente{padding:20px 22px;margin-bottom:14px}
.ex-f-attente h2{margin:4px 0 6px;font:700 30px/1.1 "Space Grotesk",sans-serif;letter-spacing:-.8px;color:#f3f6f4;overflow-wrap:anywhere}
.ex-f-attente-chiffres{margin:0 0 4px;font-size:13.5px;color:#aeb8b3}
.ex-f-attente .ex-attente{margin:12px 0 0}
.ex-f-attente-blocs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ex-f-attente-blocs .skeleton{height:250px;border-radius:16px}
@media(max-width:900px){
  .ex-f-attente{padding:16px}
  .ex-f-attente h2{font-size:23px}
  .ex-f-attente-blocs{grid-template-columns:minmax(0,1fr)}
  .ex-f-attente-blocs .skeleton:not(:first-child){display:none}
}
.ex-f-reperes{margin:0 0 10px;font-size:13px;color:#8b9691;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.ex-sep{color:#454e4a}
.ex-f-chips{display:flex;flex-wrap:wrap;gap:6px}
.ex-f-alerte{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:13px;border:0;font:800 14px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ex-f-alerte svg{width:17px;height:17px}
.ex-fkpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.ex-fk{display:grid;gap:2px;align-content:start;padding:14px;border-radius:15px;border:1px solid var(--ex-ligne);background:rgba(255,255,255,.015);min-width:0}
.ex-fk b{font:700 22px/1.15 "Space Grotesk",sans-serif;color:#f3f6f4;letter-spacing:-.5px;white-space:nowrap}
.ex-fk span{font-size:12.5px;font-weight:600;color:#c3ccc7}
.ex-fk small{font-size:11.5px;line-height:1.4;color:#76817b}
.ex-fk.fort b{color:#c4b5fd}
.ex-fk.haut b{color:#5fe3a6}
.ex-fk.bas b{color:#ff8a8a}
.ex-f-grille2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
.ex-f-grille2 .card{margin-bottom:14px}
/* Activité, prix médian et répartition des prix côte à côte sur grand écran ;
   en dessous de 1180 px, la répartition passe sous les deux graphiques. */
.ex-f-grille3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ex-f-grille3 .card{margin-bottom:14px}
@media(min-width:1181px){
  /* Une étiquette de prix sur deux : la colonne est plus étroite. */
  .ex-f-grille3 .ex-hcol:nth-child(even) .ex-hlbl{visibility:hidden}
}
@media(max-width:1180px){
  .ex-f-grille3{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
  .ex-f-grille3>.ex-f-histo{grid-column:1 / -1}
}
@media(max-width:900px){
  .ex-f-grille3{grid-template-columns:minmax(0,1fr);gap:0}
}
.ex-f-bloc{min-width:0}
.ex-leg{display:inline-flex;align-items:center;gap:6px}
.ex-leg i{width:9px;height:9px;border-radius:3px;margin-left:6px}
.ex-leg i.a{background:#13f28a}.ex-leg i.v{background:var(--ex-v)}
.ex-graphe{position:relative;width:100%;min-height:210px}
/* Cartes des graphiques : titre et « i », légende dessous, graphique en bas
   de la carte ; sur grand écran, les trois à la même hauteur. */
.ex-f-grille3>.ex-f-bloc,.ex-f-grille2>.ex-f-bloc{display:flex;flex-direction:column}
.ex-f-grille3>.ex-f-bloc>.ex-graphe,.ex-f-grille3>.ex-f-bloc>.ex-histo,.ex-f-grille2>.ex-f-bloc>.ex-graphe{margin-top:auto}
.liste-tete.ex-g-tete{position:relative;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:12px}
.ex-g-tete h3{display:flex;align-items:center;gap:8px;margin:0}
.ex-g-tete .ex-leg{flex-wrap:wrap;row-gap:4px}
@media(min-width:901px){
  .ex-f-grille3 .ex-graphe,.ex-f-grille2 .ex-graphe{min-height:240px}
  .ex-f-grille3 .ex-histo{height:240px}
}
/* Échelle des graphiques (24 h, 7 j, 30 j…), en haut à droite des deux
   courbes, sur la ligne du titre ; à droite de la légende de l'histogramme,
   la période qu'il couvre. */
.ex-g-titre{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;align-self:stretch}
.ex-zoom{display:flex;align-items:center;gap:2px;margin-left:auto}
.ex-zoom-btn{padding:3px 8px;border-radius:7px;border:1px solid transparent;background:none;color:#7f8a85;font:600 11px/1.2 "Inter",sans-serif;cursor:pointer}
.ex-zoom-btn:hover{color:#f3f6f4;background:rgba(255,255,255,.04)}
.ex-zoom-btn.on{color:#13f28a;background:rgba(19,242,138,.1);border-color:rgba(19,242,138,.25)}
.ex-f-histo .ex-g-tete .ex-leg{align-self:stretch}
.ex-g-periode{margin-left:auto;color:#6d7872}
#sec-explorer .ex-zoom-btn{-webkit-tap-highlight-color:transparent}
/* Le « i » d'un titre et son explication (survol, ou toucher). */
.ex-i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;padding:0;border-radius:50%;
  border:1px solid rgba(255,255,255,.2);background:none;color:#86918c;font:700 11px/1 "Inter",sans-serif;cursor:help}
.ex-i:hover,.ex-i.on{color:#f3f6f4;border-color:rgba(19,242,138,.5)}
.ex-i-bulle{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:6;max-width:340px;padding:10px 12px;border-radius:11px;
  border:1px solid rgba(255,255,255,.1);background:rgba(8,11,10,.97);box-shadow:0 12px 28px rgba(0,0,0,.5);
  font:500 12.5px/1.5 "Inter",sans-serif;color:#c8d1cc;text-align:left;white-space:normal;letter-spacing:0;text-transform:none;cursor:default}
.ex-i.on .ex-i-bulle{display:block}
@media(hover:hover){.ex-i:hover .ex-i-bulle{display:block}}
/* Les jours de coupure de collecte, en rouge. */
/* Cachées tant que « Coupure » n'est pas cliqué (#sec-explorer.ex-voir-coupures). */
.ex-g-coupure,.ex-g-coupure-trait{display:none}
.ex-voir-coupures .ex-g-coupure,.ex-voir-coupures .ex-g-coupure-trait{display:inline}
.ex-g-coupure{fill:rgba(248,113,113,.18)}
.ex-g-coupure-trait{fill:rgba(248,113,113,.75)}
/* Le bouton « Coupure » de la légende : éteint (carré vide), puis allumé. */
.ex-leg-coupure{display:inline-flex;align-items:center;gap:6px;margin:0;padding:2px 8px 2px 2px;border:1px solid transparent;border-radius:999px;
  background:none;color:inherit;font:inherit;cursor:pointer}
.ex-leg-coupure:hover{color:#f3f6f4;border-color:rgba(248,113,113,.35)}
.ex-leg .ex-leg-coupure i.c{background:none;box-shadow:inset 0 0 0 1.5px #f87171}
.ex-leg-coupure[aria-pressed="true"]{color:#fca5a5;border-color:rgba(248,113,113,.35);background:rgba(248,113,113,.08)}
.ex-leg .ex-leg-coupure[aria-pressed="true"] i.c{background:#f87171;box-shadow:none}
.ex-leg i.c,.ex-g-bulle i.c{background:#f87171}
.ex-g-bulle .coupe{color:#fca5a5}
.ex-graphe svg{display:block;width:100%;height:auto;touch-action:pan-y}
.ex-g-grille{stroke:rgba(255,255,255,.055);stroke-width:1}
.ex-g-axe{fill:#6d7872;font:600 10.5px "Inter",sans-serif}
.ex-g-aire.a{fill:rgba(19,242,138,.12)}
.ex-g-ligne{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ex-g-ligne.a{stroke:#13f28a}.ex-g-ligne.p{stroke:#fbbf24}
.ex-g-ligne.auj{stroke-dasharray:3 4;opacity:.55}
.ex-g-point.p{fill:#fbbf24}.ex-g-point.a{fill:#13f28a}
.ex-g-barre.v{fill:var(--ex-v);opacity:.85}
.ex-g-barre.auj{opacity:.4}
.ex-g-curseur{stroke:rgba(255,255,255,.25);stroke-width:1;stroke-dasharray:3 3}
.ex-g-bulle{position:absolute;top:0;z-index:2;display:grid;gap:3px;padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.1);
  background:rgba(8,11,10,.96);box-shadow:0 10px 26px rgba(0,0,0,.45);font-size:12px;color:#c8d1cc;pointer-events:none;white-space:nowrap}
.ex-g-bulle b{color:#f3f6f4;font-size:12px}
.ex-g-bulle span{display:flex;align-items:center;gap:6px}
.ex-g-bulle i{width:8px;height:8px;border-radius:2px}
.ex-g-bulle i.a{background:#13f28a}.ex-g-bulle i.v{background:var(--ex-v)}.ex-g-bulle i.p{background:#fbbf24}
.ex-histo{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;align-items:end;height:190px;padding-top:6px}
.ex-hcol{display:grid;grid-template-rows:1fr auto;gap:6px;height:100%;min-width:0}
.ex-hbar{position:relative;align-self:end;display:flex;align-items:flex-end;border-radius:7px 7px 3px 3px;background:rgba(19,242,138,.18);overflow:hidden}
.ex-hbar i{display:block;width:100%;background:var(--ex-v);opacity:.9}
/* La tranche survolée (bulle de _exHistoBulle) ressort. */
.ex-histo{position:relative}
.ex-hcol{cursor:default}
.ex-hcol.on .ex-hbar{background:rgba(19,242,138,.32)}
.ex-hcol.on .ex-hbar i{opacity:1}
.ex-histo .ex-g-bulle small{color:#86918c;font-size:11.5px}
/* Une fiche aux ventes encore peu suivies : on l'explique. */
.ex-f-info{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;padding:12px 14px;border-radius:14px;
  border:1px solid rgba(167,139,250,.22);background:rgba(167,139,250,.07);color:#b9c2bd;font-size:13px;line-height:1.5}
.ex-f-info svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:var(--ex-v)}
.ex-f-info p{margin:0}
.ex-f-info b{color:#eef2f0;font-weight:600}
.ex-hlbl{font:600 10.5px "Inter",sans-serif;color:#6d7872;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Répartitions (marques ou recherches, articles, tailles, états) : sur une
   ligne sur grand écran (--n cartes), deux par ligne en dessous de 1180 px,
   une sur téléphone. Le nom et sa part en trait fin, puis trois colonnes. */
.ex-reps{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:14px;margin-bottom:14px}
.ex-reps .card{margin-bottom:0}
.ex-rep-carte{padding:16px 16px 12px}
.ex-rep-titre{margin:0 0 6px 4px;font:700 14px/1.2 "Space Grotesk",sans-serif;letter-spacing:-.2px;color:#f3f6f4}
.ex-rep{display:grid;grid-template-columns:minmax(0,1fr) 40px 46px 32px;align-items:center;gap:6px;padding:5px 4px;border-radius:8px;font-size:11.5px}
.ex-rep-cols{padding-top:0;padding-bottom:4px;border-bottom:1px solid var(--ex-ligne);margin-bottom:4px;border-radius:0}
.ex-rep-cols span{font-size:9px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5f6a65;text-align:right}
.ex-rep.lien{cursor:pointer}
.ex-rep.lien:hover{background:rgba(19,242,138,.05)}
.ex-rep.lien:hover .ex-rep-nom b{color:#13f28a}
.ex-rep-nom{display:grid;gap:3px;min-width:0}
.ex-rep-nom b{color:#dfe7e2;font-weight:500;line-height:1.3;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ex-rep-bar{display:block;height:2px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden}
.ex-rep-bar i{display:block;height:100%;border-radius:inherit;background:rgba(19,242,138,.7)}
.ex-rep-n,.ex-rep-prix,.ex-rep-taux{text-align:right;white-space:nowrap;color:#a5b0ab;font-variant-numeric:tabular-nums}
.ex-rep-taux{color:#c4b5fd}
.ex-rep-taux.vide{color:#56615c}
/* Cinq cartes (avec Modèles) : sur une ligne en très grand écran, sinon
   trois puis deux. */
@media(max-width:1399px) and (min-width:1181px){
  .ex-reps[data-n="5"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1180px){
  .ex-reps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.ex-rep-titre{position:relative;display:flex;align-items:center;gap:6px}
.ex-rep-titre .ex-i{width:16px;height:16px;flex-basis:16px;font-size:10px}
.ex-rep-titre .ex-i-bulle{top:calc(100% + 6px)}
/* Les annonces sur une ligne qui défile : pas de dernière rangée à moitié vide. */
.ex-annonces{display:grid;grid-auto-flow:column;grid-auto-columns:158px;gap:12px;overflow-x:auto;padding-bottom:8px;
  scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.12) transparent}
.ex-annonce{scroll-snap-align:start}
.ex-annonce{position:relative;display:grid;gap:3px;align-content:start;text-decoration:none;color:inherit;min-width:0}
.ex-an-ph{aspect-ratio:4/5;border-radius:12px;margin-bottom:5px}
.ex-an-ph em{font-size:11.5px;left:6px;bottom:6px;padding:2px 7px}
.ex-badge-v{position:absolute;top:7px;left:7px;padding:2px 7px;border-radius:7px;background:rgba(124,108,240,.92);color:#fff;font:800 10px/1.4 "Inter",sans-serif;letter-spacing:.03em;text-transform:uppercase}
.ex-an-titre{font-size:12.5px;font-weight:600;color:#dfe7e2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-an-meta,.ex-an-quand{font-size:11.5px;color:#76817b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-annonce:hover .ex-an-titre{color:#13f28a}
.ex-sims{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.ex-sim{display:grid;gap:3px;text-align:left;padding:12px 14px;border-radius:13px;border:1px solid var(--ex-ligne);background:rgba(255,255,255,.015);cursor:pointer;min-width:0}
.ex-sim:hover{border-color:rgba(19,242,138,.3)}
.ex-sim b{font:700 14px "Space Grotesk",sans-serif;color:#f3f6f4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-sim small{font-size:12px;color:#7f8a85}
.ex-sim-taux i{font-style:normal;font-weight:700;color:#c4b5fd}

/* ── Toutes les annonces d'une entrée (exToutes) ─────────────────────────────
   Accès : bouton de l'en-tête de la fiche et « Toutes les … » au-dessus des
   bandeaux d'annonces. Puis la grille, ses filtres et « Voir plus ». */
.ex-f-actions{display:grid;gap:8px}
.ex-f-toutes{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border-radius:12px;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:#dfe7e2;font:700 13px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ex-f-toutes svg{width:16px;height:16px;color:#13f28a}
.ex-f-toutes:hover{border-color:rgba(19,242,138,.35);color:#fff}
.ex-tete-tout{align-items:center}
.ex-tete-tout h3{display:inline;margin-right:10px}
.ex-tout-voir{display:inline-flex;align-items:center;gap:4px;flex:none;padding:7px 10px 7px 12px;border-radius:10px;border:1px solid rgba(19,242,138,.25);
  background:rgba(19,242,138,.06);color:#13f28a;font:700 12.5px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ex-tout-voir svg{width:15px;height:15px}
.ex-tout-voir:hover{background:rgba(19,242,138,.12)}
.ex-tout-tete{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.ex-tout-tete h2{margin:4px 0 0;font:700 26px/1.1 "Space Grotesk",sans-serif;letter-spacing:-.6px;color:#f3f6f4}
.ex-seg{display:inline-flex;gap:2px;padding:3px;border-radius:12px;background:rgba(255,255,255,.022);border:1px solid rgba(255,255,255,.06)}
.ex-seg-b{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:0;border-radius:9px;background:none;color:#97a39d;font:700 13px "Inter",sans-serif;cursor:pointer;white-space:nowrap}
.ex-seg-b em{font-style:normal;font-size:11px;color:#7f8a85;background:rgba(255,255,255,.05);border-radius:999px;padding:2px 7px}
.ex-seg-b.on{background:linear-gradient(180deg,rgba(19,242,138,.15),rgba(19,242,138,.06));color:#ecfff6;box-shadow:inset 0 0 0 1px rgba(19,242,138,.28)}
.ex-seg-b.on em{color:#bff5da;background:rgba(19,242,138,.12)}
.ex-tout-filtres{display:grid;grid-template-columns:minmax(0,2fr) repeat(auto-fit,minmax(120px,1fr));gap:10px;align-items:end}
.ex-tf{display:grid;gap:5px;min-width:0}
.ex-tf>span{font-size:12px;font-weight:600;color:#8b9691}
.ex-tf .dash-input{height:42px;padding:0 12px;font-size:14px;border-radius:12px;min-width:0;width:100%}
.ex-tf-autres{display:contents}
.ex-tf-bouton{display:none}
.ex-tout-bilan{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0 12px;font-size:13px;color:#8b9691}
.ex-tout-bilan b{color:#f3f6f4}
.ex-tout-raz{border:0;background:none;padding:4px 0;color:#13f28a;font:700 12.5px "Inter",sans-serif;cursor:pointer}
.ex-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:16px 12px;transition:opacity .15s ease}
.ex-grille.ex-charge{opacity:.45;pointer-events:none}
.ex-grille .es-vide,.ex-grille .skeleton{grid-column:1 / -1}
.ex-tout-plus{display:flex;width:100%;margin-top:18px}
#sec-explorer .ex-seg-b:focus-visible,#sec-explorer .ex-tout-voir:focus-visible,#sec-explorer .ex-f-toutes:focus-visible{outline:2px solid rgba(19,242,138,.6);outline-offset:2px}
@media(max-width:900px){
  .ex-f-toutes{width:100%}
  .ex-tout-tete h2{font-size:22px}
  .ex-tout-tete .ex-seg{width:100%}
  .ex-seg-b{flex:1;justify-content:center}
  .ex-tout-filtres{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .ex-tf-bouton{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 12px 0 14px;border-radius:12px;
    border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:#dfe7e2;font:700 13px "Inter",sans-serif;cursor:pointer}
  .ex-tf-bouton em{font-style:normal;font-size:11px;color:#06120c;background:#13f28a;border-radius:999px;padding:1px 7px}
  .ex-tf-bouton svg{width:15px;height:15px;transition:transform .15s ease}
  .ex-tout.deplie .ex-tf-bouton svg{transform:rotate(180deg)}
  .ex-tf-autres{display:none;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ex-tout.deplie .ex-tf-autres{display:grid}
  .ex-grille{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .ex-tete-tout{flex-direction:row!important;align-items:center!important;justify-content:space-between}
  .ex-tete-tout .liste-meta{display:block}
}
@media(max-width:1180px){
  .ex-fkpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .ex-f-tete{grid-template-columns:84px minmax(0,1fr);gap:14px}
  .ex-mosaique{width:84px;height:84px;border-radius:14px}
  .ex-f-titre h2{font-size:23px}
  .ex-f-actions{grid-column:1 / -1}
  .ex-f-alerte{width:100%;justify-content:center}
  .ex-fkpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ex-fk{padding:12px}
  .ex-fk b{font-size:19px}
  .ex-f-grille2{grid-template-columns:minmax(0,1fr);gap:0}
  .ex-reps{grid-template-columns:minmax(0,1fr)}
  .ex-annonces{grid-auto-columns:140px;gap:10px}
  .ex-histo{height:160px;gap:3px}
  .ex-hlbl{font-size:9px}
}
@media(max-width:900px){
  /* Une étiquette de prix sur trois : elles se chevauchaient. */
  .ex-hcol:not(:nth-child(3n+1)) .ex-hlbl{visibility:hidden}
}
/* En-tête entre 901 et 1180 px : avec Explorer, les noms des onglets ne
   tenaient plus (« Outils » sortait de l'écran) ; l'icône seule, le nom au survol. */
@media(min-width:901px) and (max-width:1180px){
  .app-nav .nav-txt{display:none}
  .app-top-actions .app-nav .icon-btn{padding:0 12px}
}

/* La catégorie Vinted d'une alerte, dans l'assistant (posée depuis l'Explorer). */
.wiz-catalogue{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;border-radius:12px;
  border:1px solid rgba(19,242,138,.35);background:rgba(19,242,138,.07);color:#c8f5de;font-size:13px}
.wiz-catalogue[hidden]{display:none}
.wiz-catalogue-txt b{color:#5dffb0;margin-left:6px}
.wiz-catalogue-x{flex:none;border:1px solid rgba(255,255,255,.14);background:transparent;color:#a9b4ae;border-radius:9px;padding:5px 10px;
  font:600 12px "Inter",sans-serif;cursor:pointer}
.wiz-catalogue-x:hover{color:#f1f5f3;border-color:rgba(255,255,255,.3)}

/* Les onglets, et à leur droite la recherche et le tri (une ligne) ; sur un
   écran étroit, la recherche et le tri passent dessous. */
.ex-tete-liste{display:flex;align-items:flex-end;gap:16px;border-bottom:1px solid var(--ex-ligne);margin:-2px -2px 14px}
/* Les onglets gardent toute leur largeur (aucun coupé) : c'est la recherche
   qui se resserre. */
.ex-tete-liste .ex-onglets{flex:0 0 auto;min-width:0;border-bottom:0;margin:0}
/* Sur une ligne : la recherche et le tri centrés à la hauteur du texte des
   onglets (36 px de haut, posés 3 px au-dessus du trait). */
@media (min-width:1181px){
  .ex-tete-liste .ex-onglet{padding:10px 10px 12px}
  .ex-tete-liste .ex-barre .dash-input{height:36px;min-height:36px;padding-top:0;padding-bottom:0;font-size:13.5px}
  .ex-tete-liste .ex-barre{margin-bottom:3px !important}
}
.ex-tete-liste .ex-barre{flex:0 1 420px;min-width:300px;margin:0 0 8px 0;margin-left:auto;gap:8px}
.ex-tete-liste .ex-barre .v3-search-wrap{flex:1 1 auto;min-width:0}
.ex-tete-liste .ex-barre .ex-choix{flex:0 1 auto;width:auto;min-width:0;max-width:190px;text-overflow:ellipsis}
@media (max-width:1180px){
  .ex-tete-liste{flex-wrap:wrap;border-bottom:0}
  .ex-tete-liste .ex-onglets{flex:1 1 100%;border-bottom:1px solid var(--ex-ligne)}
  .ex-tete-liste .ex-barre{flex:1 1 100%;min-width:0;margin:4px 0 0}
}
@media (max-width:760px){
  .ex-tete-liste .ex-barre{flex-wrap:wrap}
  .ex-tete-liste .ex-barre .v3-search-wrap,.ex-tete-liste .ex-barre .ex-choix{flex:1 1 100%;max-width:none}
}
/* Recherche dans tous les onglets : aucun onglet en cours, un groupe par onglet. */
.ex-onglets.ex-partout .ex-onglet.on{color:#8b9691}
.ex-onglets.ex-partout .ex-onglet.on::after{display:none}
.ex-groupe+.ex-groupe{margin-top:22px}
.ex-groupe-tete{display:flex;align-items:center;gap:8px;margin:0 2px 8px}
.ex-groupe-tete b{font-size:16px;color:#f1f5f3}
.ex-groupe-tout{margin-left:auto;display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#5dffb0;
  font:700 13px "Inter",sans-serif;cursor:pointer;padding:4px 0}
.ex-groupe-tout svg{width:14px;height:14px}
.ex-groupe-tout:hover{color:#8dffc8}

/* Explorer, gratuit pour tous : mis en avant dans le menu, une pastille
   « Gratuit » à côté de son nom (PC), un point vert quand l'icône est seule. */
.app-nav [data-s="explorer"]:not(.on){color:#bff5da;border-color:rgba(19,242,138,.32);
  background:linear-gradient(180deg,rgba(19,242,138,.10),rgba(19,242,138,.03)),#080c0a}
.app-nav [data-s="explorer"]:not(.on):hover{border-color:rgba(19,242,138,.55)}
.nav-gratuit{display:none}
@media (min-width:1240px){
  .nav-gratuit{display:inline-block;padding:3px 7px;border-radius:999px;background:#13f28a;color:#03140d;
    font:800 9.5px/1 "Inter",sans-serif;letter-spacing:.05em;text-transform:uppercase}
  .icon-btn.on .nav-gratuit{background:#04150d;color:#5dffb0}
}
@media (max-width:1239px){
  .app-nav [data-s="explorer"]::after{content:"";position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;
    background:#13f28a;box-shadow:0 0 0 2px #080c0a}
  .app-nav [data-s="explorer"].on::after{display:none}
}
.membre-payant .nav-gratuit,.membre-payant .app-nav [data-s="explorer"]::after{display:none !important}
