/* ==========================================================
   Thème sombre + nouveaux éléments (messagerie, paiement,
   badges, boutique, portfolio). Chargé après style.css.
   ========================================================== */
:root{
  color-scheme:dark;
  --ink:#eef0ff;
  --ink-2:#c3c7ec;
  --muted:#9095c4;
  --red:#ff5a73;
  --red-2:#d9344c;
  --red-soft:rgba(255,90,115,.16);
  --glass:rgba(20,22,56,.62);
  --glass-strong:rgba(16,18,46,.88);
  --glass-line:rgba(255,255,255,.12);
  --surface:rgba(255,255,255,.06);
  --surface-2:rgba(255,255,255,.1);
  --surface-hi:rgba(255,255,255,.16);
  --line:rgba(255,255,255,.12);
  --shadow:0 18px 50px -18px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.25);
}
body{background:#0e1030}
.vignette{background:
  radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(6,6,24,.55) 100%),
  radial-gradient(60% 75% at 0% 32%, rgba(14,16,48,.72) 0%, rgba(14,16,48,.38) 45%, rgba(14,16,48,0) 75%)}
.logo,.intro h1{text-shadow:0 2px 18px rgba(0,0,0,.55)}
.intro h1 em{text-shadow:0 2px 18px rgba(0,0,0,.4)}
.lead.dark{text-shadow:none}

/* Surfaces claires → sombres */
.nav a:hover{background:var(--surface-2)}
.nav a.is-active,.tabbar button.is-active,.auth-tabs button.is-on{background:var(--surface-hi);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,90,115,.55)}
.btn-white{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.btn-white:hover{background:var(--surface-hi)}
.close,.chat-back,.mini-btn,.fav,.mc-note{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.socials a,.social-card .socials a i,.about-pills span,.bubble,.hero-switch-pill{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.item,.product,.bopt,.sheet-foot{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.bopt.sel{background:var(--surface-hi);border-color:var(--red)}
input,textarea{background:rgba(0,0,0,.25);color:var(--ink);border-color:var(--line)}
input::placeholder,textarea::placeholder{color:var(--muted)}
.file span{background:rgba(0,0,0,.2);border-color:rgba(255,255,255,.22)}
.slot .lbl{background:rgba(10,12,36,.82);color:var(--ink)}
.map-pin em{background:rgba(255,255,255,.95);color:#1f2352;box-shadow:0 4px 10px -4px rgba(0,0,0,.45)}
.map-pin.here em{background:var(--red-2);color:#fff}
.msg,.typing{background:var(--surface-2);color:var(--ink);box-shadow:none}
.ct:hover,.playlist li:hover{background:var(--surface)}
.playlist li.is-on{background:var(--surface-2)}
.chat-lock{background:rgba(12,14,40,.72)}
.badge-count{box-shadow:0 0 0 2px #14163a}
.c-av{box-shadow:0 0 0 2px rgba(255,255,255,.25),0 6px 12px -6px rgba(0,0,0,.6)}
.c-av.on::after{box-shadow:0 0 0 2px #14163a}
.num{box-shadow:0 12px 24px -10px rgba(217,52,76,.9),0 0 0 5px rgba(255,255,255,.08)}
.bdg{background:var(--surface-2);box-shadow:0 6px 14px -6px rgba(0,0,0,.6)}
.bdg.empty{background:transparent;border-color:rgba(255,255,255,.22)}
.bdg[data-tip]:hover::after{background:#fff;color:#14163a;z-index:5}
.sheet-backdrop{}
body.sheet-open .sheet-backdrop{background:radial-gradient(ellipse at center, rgba(6,6,24,.25), rgba(6,6,24,.65))}
@media (max-width:900px){
  body.scrolled .topbar{background:rgba(16,18,46,.82)}
  .tabbar{background:rgba(16,18,46,.86)!important}
}
.vinyl-hole{background:#1b1e48}
.sheet a:not(.btn){color:var(--red);font-weight:700}
.dlg{color:var(--ink)}
.dlg::backdrop{background:rgba(6,6,24,.6)}

/* ---------- 1 · 2 : messagerie compacte + montgolfière ---------- */
.chat-card.chat-mini{padding:12px 12px 10px}
.chat-mini .chat-head{margin-bottom:4px}
.chat-mini .ct{padding:6px}
.chat-mini .c-av{width:32px;height:32px;font-size:16px}
.chat-mini .c-top b{font-size:12.5px}
.chat-mini .c-last{font-size:11.5px}
.chat-mini .chat-empty{font-size:12px;color:var(--muted);font-weight:600;padding:6px 4px}
.mini-link{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:800;color:var(--red);padding:4px 8px;border-radius:9px}
.mini-link:hover{background:var(--surface-2)}
.mini-link svg{width:13px;height:13px}
.mini-link.danger{color:var(--muted)}
.mini-link.danger:hover{color:var(--red)}
.balloon-tip{background:rgba(16,18,46,.8);box-shadow:inset 0 0 0 1px var(--line)}
.balloon-tip small{color:var(--ink-2)}
.balloon-dot{position:absolute;z-index:6;top:6%;right:12%;width:16px;height:16px;border-radius:50%;background:var(--red);
  box-shadow:0 0 0 3px rgba(16,18,46,.9),0 0 14px rgba(255,90,115,.9);animation:dotPulse 1.8s ease-in-out infinite}
@keyframes dotPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
.nav-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 8px rgba(255,90,115,.9)}
.nav-dot[hidden],.balloon-dot[hidden]{display:none!important}

/* ---------- 4 : page messagerie ---------- */
.msgr{position:relative;display:grid;grid-template-columns:minmax(230px,300px) 1fr;gap:18px;min-height:440px}
.msgr-side,.msgr-main{border-radius:20px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);padding:16px;min-width:0}
.msgr-side{display:flex;flex-direction:column;gap:10px}
.add-friend{display:flex;gap:8px}
.add-friend input{flex:1;min-width:0;padding:10px 12px;font-size:13px}
.friend-list{list-style:none;display:flex;flex-direction:column;gap:4px}
.friend-list .ct.is-open{background:var(--surface-2)}
.friend-list .empty{font-size:12.5px;color:var(--muted);font-weight:600;padding:4px}
.sugg .ct{opacity:.85}
.add-btn{flex:none;font-size:11.5px;font-weight:800;color:#fff;background:var(--red-2);padding:5px 10px;border-radius:9px}
.msgr-main{display:flex;flex-direction:column;min-height:440px}
.msgr-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.msgr-head .c-av:empty{display:none}
.msgr-who{flex:1;min-width:0;display:flex;flex-direction:column}
.msgr-who small{font-size:11px;font-weight:700;color:#3ccf86}
.msgr-thread{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px;padding:14px 2px;max-height:52vh;scrollbar-width:thin}
.msgr-thread .hint{margin:auto;text-align:center;color:var(--muted);font-weight:600;font-size:13.5px;max-width:280px;line-height:1.5}
.msgr-form{display:flex!important;padding-top:10px;border-top:1px solid var(--line)}
.msgr:not(.has-open) .msgr-form{opacity:.4;pointer-events:none}
.msgr .chat-back{display:none}
.msgr .chat-lock{border-radius:20px;z-index:3}
.demo-note{margin-top:14px}
@media (max-width:760px){
  .msgr{grid-template-columns:1fr}
  .msgr.has-open .msgr-side{display:none}
  .msgr:not(.has-open) .msgr-main{display:none}
  .msgr .chat-back{display:grid}
}

/* ---------- Badges (images) ---------- */
.bdg img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.bdg:has(img){background:none}
.badges{gap:8px;flex-wrap:wrap}
.pc-badges .badges .bdg{width:38px;height:38px;font-size:17px}
.badges.big{margin:14px 0 18px}
.badges.big .bdg{width:58px;height:58px;font-size:24px}
.badge-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.bopt .bdg{width:46px;height:46px}
.bopt.lock{opacity:.55}
.bopt.lock .bdg img{filter:grayscale(1) brightness(.6)}
.bopt .tick{margin-left:auto;font-size:12px;color:var(--red);font-weight:900}

/* ---------- 12 : profil empilé ---------- */
.profile-stack{display:flex;flex-direction:column;gap:22px}
.prof-form,.prof-badges{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.prof-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.prof-fields .span2{grid-column:1/-1}
.prof-id{flex:1;min-width:0}
.prof-level{display:flex;align-items:center;gap:10px;margin-top:12px;max-width:420px;font-size:13px}
.prof-level .bar{flex:1}
.prof-level b:last-child{color:var(--red)}
.prof-badges h3 small{font-size:12px;font-weight:700;margin-left:6px}
@media (max-width:640px){.prof-fields{grid-template-columns:1fr}}

/* ---------- 7 : boutique ---------- */
.sheet-head .cart-pill{margin-left:auto;align-self:center;gap:8px}
.cart-pill b{min-width:20px;height:20px;border-radius:10px;background:var(--red);color:#fff;font-size:11px;display:inline-grid;place-items:center;padding:0 6px}
.shop-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.shop-filters button{padding:8px 14px;border-radius:999px;font-weight:800;font-size:12.5px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink-2)}
.shop-filters button.is-on{background:var(--red-2);color:#fff;box-shadow:none}
.shop-feature:empty{display:none}
.shop-feature{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:24px;align-items:center;padding:18px;border-radius:22px;margin-bottom:22px;
  background:linear-gradient(135deg,rgba(255,90,115,.14),rgba(120,110,255,.12));box-shadow:inset 0 0 0 1px var(--line)}
.shop-feature img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:16px;box-shadow:0 20px 40px -18px rgba(0,0,0,.8)}
.shop-feature .tag{position:static;display:inline-block;margin-bottom:10px}
.shop-feature h3{font-size:24px!important;margin-bottom:6px}
.shop-feature p{color:var(--ink-2);font-weight:600;line-height:1.5;margin-bottom:16px;max-width:46ch}
.shop{grid-template-columns:repeat(auto-fill,minmax(min(210px,calc(50% - 9px)),1fr));gap:18px}   /* téléphone : 2 colonnes, comme une vitrine */
.product{padding:10px}
.product .pimg{background:radial-gradient(circle at 50% 40%,#2c2f6e 0%,#15173d 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.product .pimg img:not(.cover){filter:drop-shadow(0 10px 14px rgba(0,0,0,.55))}
.product .buy{margin:12px 4px 4px}
.product .buy .btn,.shop-feature .btn{width:100%;justify-content:center}
.btn-soon,.btn-soon:hover{background:var(--surface-2);color:var(--muted);box-shadow:inset 0 0 0 1px var(--line);cursor:default;transform:none}
.sticker-bg{background:radial-gradient(circle at 50% 40%,#2c2f6e 0%,#15173d 70%)}
@media (max-width:640px){.shop-feature{grid-template-columns:1fr}.shop-feature img{max-width:220px;margin:auto}}

/* ---------- 8 : collection ---------- */
.slot.locked{background:#14163a center/cover no-repeat;border-radius:14px;box-shadow:0 14px 26px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.12)}
.slot.locked::before{content:"";position:absolute;inset:8px;border-radius:10px;border:1px dashed rgba(255,255,255,.28);pointer-events:none}
.slot.locked img{display:none}

/* ---------- Mail club ---------- */
.mc-reserve{display:flex;flex-direction:column;align-items:center;gap:8px;margin:26px 0 8px}
.mc-price{font-weight:800;color:var(--ink-2);font-size:14px}
.mc-price:empty{display:none}
.howto{margin-top:20px}
.howto-lead{font-size:16px;line-height:1.6;font-weight:600;color:var(--ink);max-width:70ch;margin-bottom:20px}
.howto-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.step{position:relative;padding:20px 18px 18px;border-radius:20px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-direction:column;gap:8px}
.step b{font-size:15.5px}
.step p{font-size:13.5px;line-height:1.55;color:var(--ink-2);font-weight:600}
.step-n{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:14px;color:#fff;background:linear-gradient(145deg,#ff6b81,var(--red-2))}
.howto-ex{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:4px}
.howto-ex li{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.22);font-size:12.5px;font-weight:600;color:var(--ink-2)}
.howto-ex li i{font-style:normal;color:var(--red);font-weight:900;grid-row:1/3;grid-column:2;align-self:center}
.howto-ex li b{font-size:12.5px;color:var(--ink)}

/* ---------- 13 : portfolio ---------- */
.portfolio{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.pf{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/5;cursor:zoom-in;background:#15173d;box-shadow:inset 0 0 0 1px var(--line)}
.pf img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--spring)}
.pf img.contain{object-fit:contain;padding:10px}
.pf:hover img{transform:scale(1.05)}
.pf figcaption{position:absolute;left:0;right:0;bottom:0;padding:24px 12px 10px;font-size:12.5px;font-weight:800;background:linear-gradient(transparent,rgba(8,8,28,.85))}
.pf figcaption small{display:block;font-weight:600;color:var(--ink-2)}
.legal-link{margin-top:26px;font-size:13px;text-align:center}
.lightbox{width:min(900px,calc(100vw - 32px));padding:20px}
.lightbox img{width:100%;max-height:75vh;object-fit:contain;border-radius:14px}
.lb-cap{margin-top:10px;font-weight:700;text-align:center}

/* ---------- 14 : paiement ---------- */
.pay-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;align-items:start}
.pay-main{display:flex;flex-direction:column;gap:22px}
.pay-box{border-radius:22px;padding:22px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.pay-box h3{margin-bottom:12px}
.pay-box h3:not(:first-child){margin-top:20px}
.cart{list-style:none;display:flex;flex-direction:column;gap:10px}
.cart li{display:flex;align-items:center;gap:12px;padding:8px;border-radius:14px;background:rgba(0,0,0,.2)}
.cart img{width:46px;height:46px;border-radius:10px;object-fit:cover;background:#15173d}
.cart .ci{flex:1;min-width:0;display:flex;flex-direction:column}
.cart .ci small{color:var(--muted);font-weight:600;font-size:12px}
.cart .cp{font-weight:800;font-size:13px}
.cart .rm{width:28px;height:28px;border-radius:8px;color:var(--muted);font-size:18px}
.cart .rm:hover{color:var(--red);background:var(--surface-2)}
.cart .empty{background:none;color:var(--muted);font-weight:600;font-size:13.5px}
.cart-total{display:flex;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-weight:800}
.cart-total b{color:var(--red);font-size:17px}
.pay-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pay-fields .span2{grid-column:1/-1}
.pay-provider{padding:14px 16px;border-radius:14px;background:rgba(0,0,0,.22);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;line-height:1.5;color:var(--ink-2);font-weight:600}
.pay-provider b{color:var(--ink);display:block;margin-bottom:2px}
.check{flex-direction:row!important;align-items:flex-start;gap:10px!important;margin:16px 0 12px;font-size:13px;font-weight:600;line-height:1.45}
.check input{width:18px;height:18px;flex:none;margin-top:1px;accent-color:var(--red)}
#payForm .btn-lg{width:100%;justify-content:center;margin-bottom:8px}
.pay-err{margin-bottom:10px}
.legal{position:sticky;top:0;font-size:13px;line-height:1.55}
.legal-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin-bottom:14px}
.legal-dl dt{color:var(--muted);font-weight:700}
.legal-dl dd{font-weight:700}
.legal details{border-top:1px solid var(--line);padding:10px 0}
.legal summary{cursor:pointer;font-weight:800;list-style:none;display:flex;justify-content:space-between}
.legal summary::after{content:"+";color:var(--red);font-weight:900}
.legal details[open] summary::after{content:"–"}
.legal details p{margin-top:8px;color:var(--ink-2);font-weight:600}
.todo{color:#ffcf6b;font-weight:700}
@media (max-width:860px){.pay-grid{grid-template-columns:1fr}.legal{position:static}}
@media (max-width:520px){.pay-fields{grid-template-columns:1fr}}

/* Encadré Mail club de l'accueil : version sombre */
.card.glass.promo{background:linear-gradient(135deg,rgba(28,30,72,.88),rgba(58,28,64,.82));border-color:rgba(255,255,255,.14)}
.promo-tag{background:rgba(255,90,115,.18);color:#ff8095}
.promo-title{color:#fff}
.promo-list{color:var(--ink-2)}
.promo-list em,.promo-price{color:#fff}

/* Page Messagerie : occupe toute la hauteur du panneau */
.sheet[data-page="messagerie"]{display:flex;flex-direction:column}
.sheet[data-page="messagerie"] .sheet-head{margin-bottom:20px}
.msgr{flex:1;min-height:420px}
.msgr-main{min-height:0}
.msgr-side{min-height:0;overflow:auto}
.msgr-thread{max-height:none;min-height:0}
.demo-note{margin-top:10px}
/* Aperçu messagerie de l'accueil : moins large que l'encadré Mail club */
.chat-card.chat-mini{height:auto}

/* Salon commun */
.salon-list .ct{background:linear-gradient(135deg,rgba(255,180,110,.12),rgba(255,90,115,.12));box-shadow:inset 0 0 0 1px rgba(255,160,120,.25)}
.salon-list .ct.is-open{background:linear-gradient(135deg,rgba(255,180,110,.22),rgba(255,90,115,.22))}
.msg .who{display:block;font-size:11px;font-weight:800;color:#ffb08a;margin-bottom:2px}
#msgrStatus.muted{color:var(--muted)}

/* Derniers éléments clairs */
.toast{background:rgba(22,24,60,.95);color:var(--ink);box-shadow:0 14px 34px -12px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.14)}
.teaser-art{background:radial-gradient(circle at 50% 40%,#2c2f6e,#15173d 70%)}
.t-frame{border-color:rgba(255,90,115,.35)}
.auth-tabs{background:rgba(0,0,0,.25)}
.soon-big{background:rgba(255,90,115,.16)}

/* Enveloppe du Mail club : voir mailclub.css */
.lightbox{text-align:center}
.lb-flip{margin-top:10px}
.lb-duo{display:flex;justify-content:center;gap:4%;max-height:75vh}
.lb-duo[hidden]{display:none}
.lb-duo img{width:auto;max-width:46%;max-height:75vh;object-fit:contain;border-radius:6px;filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}

/* Créations : images entières, sans zoom */
.product .pimg{aspect-ratio:4/5}
.product .pimg img,.product .pimg img.cover,.product .pimg img:not(.cover){object-fit:contain;transform:none;padding:14px}
.product .pimg img.cover{padding:12px;filter:drop-shadow(0 10px 14px rgba(0,0,0,.5))}
.product:hover .pimg img,.product:hover .pimg img:not(.cover){transform:scale(1.04) rotate(-1.5deg)}
.shop-feature img{object-fit:contain;background:none;box-shadow:none;filter:drop-shadow(0 20px 30px rgba(0,0,0,.6))}
.product .pimg .tag{z-index:2}

/* Croix de fermeture bien visible sur tous les fonds */
.close{background:rgba(14,16,42,.9);color:#fff;box-shadow:0 6px 16px -6px rgba(0,0,0,.7),inset 0 0 0 1.5px rgba(255,255,255,.35)}
.close:hover{background:var(--red-2);box-shadow:0 6px 16px -6px rgba(217,52,76,.8)}
/* Listes de la messagerie : rien ne dépasse de la colonne */
.msgr-side>*{min-width:0;max-width:100%}
.friend-list .ct{min-width:0;max-width:100%;overflow:hidden}
.friend-list .ct:hover{transform:none}
.friend-list .c-last{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* À propos : voir apropos.css */
.sheet[data-page="apropos"] .about{grid-template-columns:1fr;max-width:560px;margin:0 auto 10px}
/* Panneaux : flou plus léger pour un défilement fluide */
.sheet.glass-strong{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(16,18,46,.92)}

/* Recette : on montre le verso, flouté */
.product .pimg img.blurred{filter:blur(5px) brightness(.85)}
.product:hover .pimg img.blurred{filter:blur(4px) brightness(.9)}
.peek{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:2;white-space:nowrap;padding:8px 14px;border-radius:999px;
  background:rgba(14,16,42,.85);color:#fff;font-size:12px;font-weight:800;box-shadow:0 8px 20px -8px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.2)}

/* Logo du salon */
.c-av.c-logo{background:none;box-shadow:none;overflow:visible}
.c-av.c-logo img{width:118%;height:118%;max-width:none;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}

/* ---------- Fluidité ----------
   1) Quand une page est ouverte, le décor derrière est figé (il est flouté et masqué) :
      plus de flou recalculé à chaque image.
   2) La page elle-même est presque opaque : pas besoin de backdrop-filter.
   3) Flou des encadrés « verre » allégé (il est recalculé à chaque flocon qui passe). */
body.sheet-open .scene,body.sheet-open .scene *,body.sheet-open .spots *,body.sheet-open .balloon,body.sheet-open .balloon *,body.sheet-open .home *{animation-play-state:paused!important}
.sheet.glass-strong{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(16,18,46,.96)}
.glass{-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3)}
.glass-strong:not(.sheet){-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
.sheet{contain:layout paint}

/* Pays de livraison (Suisse / France) */
.pay-fields select{font:inherit;font-weight:600;font-size:14px;color:var(--ink);padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:rgba(0,0,0,.25);outline:none;width:100%}
.pay-fields select:focus{border-color:var(--red);box-shadow:0 0 0 4px var(--red-soft)}
.pay-fields select option{color:#1f2352}
.js-min-note{margin-top:8px;color:#ffcf6b}
.legal-dl dd a{color:inherit}
@media (max-width:860px){ .pay-fields select{font-size:16px} }

.mc-fr{display:block;margin-top:2px;font-size:12px;font-weight:700;opacity:.8}

/* Fiche profil d'un membre */
[data-profile]{cursor:pointer}
.msg .who[data-profile]:hover{text-decoration:underline}
#msgrAv,#msgrName{cursor:pointer}
.pf-dlg{width:min(400px,calc(100vw - 32px))}
.pfv-head{display:flex;align-items:center;gap:16px;padding-right:30px}
.pfv-head .c-av{width:72px;height:72px;cursor:default}
.pfv-head h2{margin:0;font-size:24px;word-break:break-word}
.pfv-tag{display:inline-block;margin:4px 0;padding:3px 10px;border-radius:999px;background:var(--red-soft);color:var(--red);font-size:12px;font-weight:800}
.pfv-bio{margin:16px 0 0;padding:12px 14px;border-radius:14px;background:rgba(0,0,0,.2);font-weight:600;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.pfv-stats{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 0;padding:0}
.pfv-stats li{display:flex;flex-direction:column;align-items:center;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.06)}
.pfv-stats b{font-size:17px}.pfv-stats span{font-size:12px;color:var(--muted);font-weight:700}
.pfv-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.pfv-badges span{width:48px;height:48px;display:grid;place-items:center}
.pfv-badges img{width:100%;height:100%;object-fit:contain}
.pfv-actions{display:flex;gap:10px;margin-top:18px}

/* Anniversaires dans la messagerie */
.bday{font-size:.95em}
.ct.is-bday .c-av{box-shadow:0 0 0 2px #ffcf6b,0 0 14px rgba(255,207,107,.55)}
.bday-banner{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px;border-radius:16px;
  background:linear-gradient(120deg,rgba(255,207,107,.22),rgba(255,107,129,.2));box-shadow:inset 0 0 0 1px rgba(255,207,107,.35)}
.bday-banner div{display:flex;flex-direction:column}.bday-banner small{color:var(--ink-2);font-weight:600}
.bday-cake{font-size:28px;animation:bdayBob 2.4s ease-in-out infinite}
@keyframes bdayBob{50%{transform:translateY(-3px) rotate(-6deg)}}
.pfv-tag.bday-tag{background:rgba(255,207,107,.2);color:#ffcf6b;margin-right:6px}
.js-birth-field small{display:block;margin-top:4px;font-size:11.5px}
@media (prefers-reduced-motion:reduce){ .bday-cake{animation:none} }

/* Fiche profil : même carte que l'accueil */
.pf-dlg{width:min(360px,calc(100vw - 32px));padding:26px 22px 22px}
.pfv-card{padding:0;background:none;box-shadow:none}
.pfv-card .pc-top{padding-right:28px}
.pfv-card .pc-name{font-size:20px;word-break:break-word}
.pfv-card .pc-bio{white-space:pre-wrap;word-break:break-word}
.pfv-card .pfv-tag{margin:4px 6px 0 0}
.pfv-card .badges{display:flex;gap:8px;margin-top:8px}
.pfv-card .pfv-stats{margin-top:16px}
.pfv-card .pfv-stats b{font-size:14px;text-align:center}
.pf-dlg .pfv-actions .btn{flex:1;justify-content:center}
.pfv-card{margin-top:22px}
/* Fiche profil (popup) : la guirlande remonte dans la marge du haut pour ne plus passer sur le pseudo */
.profile-card.pfv-card{position:static}
.pf-dlg{position:fixed}
.pfv-card .pc-banner{top:4px;width:94%}
.profile-card.pfv-card .pc-top{margin-top:64px}

/* Boutique : les boutons de prix restent alignés en bas, quelle que soit la longueur de la description */
.grid.shop{align-items:stretch}
.product{height:100%}
.product .buy{margin-top:auto;padding-top:12px;flex-wrap:wrap}
.product .buy .btn{flex:1 1 auto;min-width:0}
.product .pimg{max-height:520px}
.mc-old-img,.ab-frame,.pf{overflow:hidden}
.product .buy{flex-direction:column;align-items:stretch;gap:6px}
.product .buy .btn{flex:none;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* L'image remplit exactement son cadre, même très haute (marque-page) : sans ça elle débordait et paraissait zoomée */
.product .pimg{position:relative}
.product .pimg img{position:absolute;inset:0;width:100%;height:100%;box-sizing:border-box}
.product .pimg .tag,.product .pimg .peek{z-index:2;transform:translateZ(0)}

/* Collection : la carte s'affiche entière, quelles que soient ses proportions */
.slot.owned img{object-fit:contain}

/* ==========================================================
   Mise à jour du 15.11
   ========================================================== */
/* Fenêtres (connexion, profil, aperçus) : toujours au milieu de l'écran, même si la page
   a défilé (sur téléphone, elles s'ouvraient en haut de la page, hors de vue) */
.dlg{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}

/* Téléphone : le fondu sous le titre de l'accueil était rose clair → texte blanc sur blanc */
@media (max-width:900px){
  .intro::before{background:linear-gradient(rgba(14,16,48,0),rgba(14,16,48,.9) 90px)}
  .intro h1,.intro .hello{text-shadow:0 2px 14px rgba(0,0,0,.6)}
}

/* Boutique : réduction des lots */
.product .pimg .deal{position:absolute;right:10px;top:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;
  font-weight:900;font-size:17px;line-height:1;color:#3b2a06;letter-spacing:-.02em;rotate:10deg;
  background:radial-gradient(circle at 35% 30%,#fff3c4,#f2cf5b 55%,#d9a93a);box-shadow:0 8px 18px -6px rgba(0,0,0,.6),inset 0 0 0 2px rgba(255,255,255,.45)}
.product .pimg .deal small{font-size:11px;margin-left:1px;align-self:center}
.product .pimg .deal::before{content:"";position:absolute;inset:4px;border-radius:50%;border:1.5px dashed rgba(59,42,6,.35)}
.deal-note{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin:6px 0 2px;font-size:13px}
.deal-note s{color:var(--muted);text-decoration-thickness:1.5px}
.deal-note b{color:#f2cf5b;font-weight:800}

/* Bouton « Me prévenir » déjà utilisé */
.notify.is-done{background:var(--surface-2);color:var(--ink);box-shadow:inset 0 0 0 1px rgba(242,207,91,.5)}

/* À propos : nombre de valeurs libre */
@media (min-width:761px){ .ab-values{grid-template-columns:repeat(var(--n,3),minmax(0,1fr))} }

/* Profils : guirlande en bannière et couronne autour de la photo */
.profile-card{position:relative}
.pc-banner{position:absolute;left:50%;top:-14px;translate:-50% 0;width:min(108%,420px);max-width:none;height:auto;pointer-events:none;z-index:3;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.profile-card .pc-top{margin-top:30px}
.pc-portrait .wreath-img,.wreath .wreath-img{position:absolute;left:50%;top:50%;width:150%;max-width:none;height:auto;translate:-50% -49%;pointer-events:none;z-index:2;
  filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.pc-portrait .ph{z-index:3}
.prof-head{position:relative;padding-top:clamp(64px,9vw,96px)}
.prof-banner{position:absolute;left:50%;top:-6px;translate:-50% 0;width:min(480px,78%);height:auto;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.wreath{position:relative;display:inline-grid;place-items:center;flex:none}
.wreath-xl{width:96px;height:96px;margin:10px 14px}
@media (max-width:760px){
  .prof-head{padding-top:58px}
  .prof-banner{width:86%}
  .wreath-xl{margin:8px 10px 8px 8px}
}

/* Salon de l'archipel : icône ronde (montgolfière) */
.c-av.c-logo img[src*="salon-montgolfiere"]{width:100%;height:100%;border-radius:50%}
/* Panier dans la barre du haut */
.cart-btn{position:relative}
.cart-btn .badge-count{top:-2px;right:-2px}

/* ==========================================================
   Mise à jour du 18.11
   ========================================================== */
/* Panier : toujours visible dans la barre du haut, aussi sur tablette et téléphone */
@media (max-width:900px){
  .top-actions .round.cart-btn{display:grid}
}
@media (max-width:600px){
  .top-actions{gap:8px}
  .top-actions .round.cart-btn{width:44px;height:44px}
}

/* Fiche profil (popup) : la guirlande est posée en haut de la fenêtre, dans le flux,
   sur toute la largeur : elle ne passe plus jamais sur le pseudo, la bio ou la croix */
.pf-dlg{padding-top:16px}
.pfv-card{margin-top:0}
.profile-card.pfv-card .pc-banner{position:static;display:block;translate:none;left:auto;top:auto;
  width:calc(100% - 52px);max-width:none;height:auto;margin:0 0 6px;z-index:auto;aspect-ratio:1600/321}
.profile-card.pfv-card .pc-top{margin-top:0}
.pf-dlg > .close{z-index:4}

/* Salon : les admins peuvent supprimer n'importe quel message */
.msg.can-del{position:relative;padding-right:30px}
.msg-del{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  background:rgba(0,0,0,.25);color:inherit;opacity:.0;transition:opacity .2s,background .2s}
.msg-del svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.msg.can-del:hover .msg-del,.msg-del:focus-visible{opacity:.85}
.msg-del:hover{background:#d9344c;color:#fff;opacity:1}
@media (hover:none){ .msg-del{opacity:.6} }

/* Boutique : clic sur une création = grande image */
.product .pimg.zoomable{cursor:zoom-in}
.product .pimg.zoomable img{transition:scale .4s var(--spring,ease)}
.product .pimg.zoomable::after{content:"";position:absolute;right:10px;bottom:10px;z-index:2;width:30px;height:30px;border-radius:50%;
  background:rgba(14,16,48,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/15px no-repeat;
  opacity:0;transition:opacity .25s}
.product .pimg.zoomable:hover::after{opacity:1}
@media (hover:none){ .product .pimg.zoomable::after{opacity:.85} }
.product.is-spot{box-shadow:0 0 0 3px #f2cf5b,0 18px 40px -16px rgba(242,207,91,.6);transition:box-shadow .4s}

/* Encadré News (accueil, en bas à droite) */
.news-card{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.news-card .card-head{margin-bottom:0}
.news-dot{width:7px;height:7px;border-radius:50%;background:#f2cf5b;box-shadow:0 0 0 0 rgba(242,207,91,.6);animation:newsPulse 2s infinite}
@keyframes newsPulse{70%{box-shadow:0 0 0 7px rgba(242,207,91,0)}100%{box-shadow:0 0 0 0 rgba(242,207,91,0)}}
.news-until{font-size:11px;font-weight:800;color:#f2cf5b}
.news-media{position:relative;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:var(--surface-2);cursor:zoom-in;flex:none}
.news-media img{width:100%;height:100%;object-fit:cover;display:block}
.news-badge{position:absolute;right:8px;top:8px;display:grid;place-items:center;min-width:54px;height:54px;padding:0 6px;border-radius:50%;rotate:10deg;
  font-weight:900;font-size:16px;line-height:1;color:#3b2a06;letter-spacing:-.02em;
  background:radial-gradient(circle at 35% 30%,#fff3c4,#f2cf5b 55%,#d9a93a);box-shadow:0 8px 18px -6px rgba(0,0,0,.6),inset 0 0 0 2px rgba(255,255,255,.45)}
.news-badge::before{content:"";position:absolute;inset:4px;border-radius:50%;border:1.5px dashed rgba(59,42,6,.35)}
.news-card.no-img .news-media{display:none}
.news-badge.solo{position:absolute;right:12px;top:34px;min-width:50px;height:50px;font-size:14px}
.news-card.no-img:has(.news-badge.solo:not([hidden])) .news-title{padding-right:56px}
.news-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.news-title{font-size:16px;line-height:1.25;font-weight:800;color:var(--ink)}
.news-text{margin:0;font-size:13px;line-height:1.45;color:var(--ink-2);font-weight:600;white-space:pre-line}
.news-foot{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}
.news-foot[hidden]{display:none}
.news-code{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;border:1.5px dashed rgba(242,207,91,.7);
  color:#f2cf5b;font-weight:900;font-size:13px;letter-spacing:.06em;background:rgba(242,207,91,.08)}
.news-code small{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.news-code svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.news-code[hidden],.news-cta[hidden],.news-badge[hidden],.news-media[hidden]{display:none}
.news-cta{margin-left:auto}
/* peu de hauteur d'écran : image en vignette à gauche, puis texte raccourci */
.side.tight .profile-card .pc-badges{display:none}
.news-card.compact{display:grid;grid-template-columns:128px 1fr;grid-template-rows:auto 1fr;column-gap:12px;row-gap:8px}
.news-card.compact .card-head{grid-column:1/-1}
.news-card.compact .news-media{aspect-ratio:1;align-self:start}
.news-card.compact.no-img{grid-template-columns:1fr}
.news-card.compact .news-badge{min-width:40px;height:40px;font-size:12px;right:4px;top:4px}
.news-card.compact .news-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-card.compact .news-cta{margin-left:0}
.news-card.squeezed .news-text,.news-card.squeezed .news-code{display:none}
#newsCard[hidden]{display:none}

/* News : prix du produit ou du lot à la une */
.news-price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:13px}
.news-price s{color:var(--muted);text-decoration-thickness:1.5px}
.news-price b{font-size:16px;font-weight:900;color:var(--ink)}
.news-price em{font-style:normal;font-weight:800;color:#f2cf5b;font-size:12px}
.news-card.squeezed .news-price em{display:none}

/* Cadrage manuel partout (espace fondatrice) */
/* pochette du vinyle */
span.vinyl-label{display:block;overflow:hidden}
span.vinyl-label img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;display:block}
/* collection : recto / dos cadrés dans la carte */
.slot .face{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:14px;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  box-shadow:0 14px 26px -12px rgba(20,20,70,.6)}
.slot .face img{box-shadow:none;border-radius:0}
.slot.locked.has-back{overflow:hidden;background:#14163a}
.slot.locked img.slot-bg{display:block;position:absolute;inset:0;width:100%;height:100%;border-radius:14px;filter:none;box-shadow:none;z-index:0}
.slot.locked.has-back::before,.slot.locked.has-back::after{z-index:1}
/* À propos : stickers et images du parcours cadrés */
.ab-stk.fitted{display:block;aspect-ratio:1;overflow:hidden}
.ab-stk.fitted img{width:100%;height:100%;display:block}
.tl-card .tl-fit{display:block;aspect-ratio:4/3;overflow:hidden;margin-top:12px;border-radius:14px}
.tl-card .tl-fit img{width:100%;height:100%;display:block}
/* Mail club (mise à plat) : verso cadré */
.fl-it.has-fit{overflow:hidden;border-radius:4px}

/* Marque-pages recto-verso : les deux faces côte à côte, légèrement penchées.
   Mise en page volontairement simple (flex + boîte en padding-top) : Safari sur iPhone ne dessinait pas le verso
   avec l'ancienne version (position absolue + aspect-ratio + masque + translateZ). */
.product .pimg.duo{display:flex;align-items:center;justify-content:center;padding:0 7%}
.product .pimg.duo .bm{position:relative;flex:0 0 41%;min-width:0;filter:drop-shadow(0 8px 10px rgba(0,0,0,.45));transition:transform .35s ease}
.product .pimg.duo .bm-in{position:relative;display:block;overflow:hidden;border-radius:3px}
.product .pimg.duo .bm img{position:static;display:block;width:100%;height:auto;padding:0;transform:none;filter:none}
.product .pimg.duo .bm-recto{z-index:2;margin-right:-5%;transform:rotate(-6deg)}
.product .pimg.duo .bm-verso{z-index:1;transform:rotate(4deg) translateY(3%)}
.product:hover .pimg.duo img{transform:none}
.product:hover .pimg.duo .bm-recto{transform:rotate(-9deg) translateX(-5%)}
.product:hover .pimg.duo .bm-verso{transform:rotate(6deg) translateX(5%) translateY(3%)}

/* Code promo du panier */
.promo-code{display:flex;gap:8px;margin-top:14px}
.promo-code input{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:0;background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-weight:800;letter-spacing:.06em;text-transform:uppercase;box-shadow:inset 0 0 0 1px var(--line)}
.promo-code input::placeholder{text-transform:none;letter-spacing:0;font-weight:600;color:var(--muted)}
.promo-code input:focus{outline:none;box-shadow:inset 0 0 0 2px #f2cf5b}
.promo-msg{margin:8px 2px 0;font-size:12.5px;font-weight:700;color:var(--red)}
.promo-msg.ok{color:#f2cf5b}
.promo-msg[hidden],.cart-line[hidden]{display:none}
.cart-line{display:flex;align-items:center;gap:8px;margin-top:12px;font-weight:700;font-size:13.5px;color:#f2cf5b}
.cart-line span{flex:1;min-width:0}
.cart-line .rm{width:26px;height:26px;border-radius:8px;color:var(--muted);font-size:17px}
.cart-total b s{color:var(--muted);font-size:13px;font-weight:700;margin-right:6px}

/* Créations : plusieurs photos qui défilent (verso, photos en plus) */
.product .pimg.has-slides .slides{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.product .pimg.has-slides .slides::-webkit-scrollbar{display:none}
.product .pimg.has-slides .sl{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;overflow:hidden}
.product:hover .pimg.has-slides img,.product:hover .pimg.has-slides img:not(.cover){transform:none}
.sl-btn{position:absolute;top:50%;z-index:3;width:34px;height:34px;margin-top:-17px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:900;line-height:1;color:#fff;
  background:rgba(12,14,44,.62);box-shadow:0 4px 12px -4px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.18);backdrop-filter:blur(6px);opacity:0;transition:opacity .2s;cursor:pointer;border:0}
.sl-btn.prev{left:8px}.sl-btn.next{right:8px}
.product .pimg.has-slides:hover .sl-btn,.sl-btn:focus-visible{opacity:1}
.pimg.at-start .sl-btn.prev,.pimg.at-end .sl-btn.next{visibility:hidden}
@media (hover:none){ .sl-btn{opacity:.9;width:30px;height:30px;margin-top:-15px;font-size:19px} }
.sl-dots{position:absolute;left:0;right:0;bottom:9px;z-index:3;display:flex;justify-content:center;gap:5px;pointer-events:none}
.sl-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45);box-shadow:0 1px 3px rgba(0,0,0,.5);transition:width .2s,background .2s}
.sl-dots i.is-on{width:16px;border-radius:3px;background:#fff}
.product .pimg.has-slides.zoomable::after{bottom:auto;top:10px}

/* Grand aperçu : flèches et compteur quand il y a plusieurs photos */
.lb-stage{position:relative}
.lb-nav{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:900;line-height:1;color:#fff;border:0;cursor:pointer;
  background:rgba(12,14,44,.6);box-shadow:0 6px 16px -6px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.2);backdrop-filter:blur(6px)}
.lb-nav.prev{left:6px}.lb-nav.next{right:6px}
.lb-nav[hidden]{display:none}
.lb-count{margin-top:8px;font-size:12.5px;font-weight:800;color:var(--ink-2);text-align:center;letter-spacing:.05em}
.lb-count[hidden]{display:none}
/* bouton de prix au nom long (ex. « Grand poster carré 40 cm · 22.90 CHF ») : passe à la ligne au lieu de déborder */
.product .buy .btn{white-space:normal;line-height:1.2;text-align:center;height:auto;min-height:36px}

/* Case « newsletter » (inscription, paiement, profil) */
.nl-check{margin:12px 0 6px!important;padding:12px 14px;border-radius:14px;background:rgba(255,210,122,.08);box-shadow:inset 0 0 0 1px rgba(255,210,122,.25)}
.nl-check[hidden]{display:none!important}
.nl-opt{display:flex;flex-direction:column;gap:3px;text-align:left}
.nl-opt>b{font-size:13.5px;color:var(--ink)}
.nl-opt small{font-size:12px;line-height:1.45;font-weight:600;color:var(--ink-2)}
.nl-opt small b{color:#ffd27a}

/* News (colonne de droite) : aussi large que la carte du profil, et calée sur la même ligne du bas que « Retrouve-nous » */
@media (min-width:901px){
  .side{bottom:22px}
  .side .news-card{margin-top:auto;margin-left:-80px;flex:none}
}

/* ==========================================================
   Téléphone : boutique en vitrine (2 fiches par ligne, comme sur ordinateur en plus serré)
   ========================================================== */
@media (max-width:600px){
  /* Boutique : fiches compactes (2 par ligne) */
  .grid.shop{gap:10px}
  .product{padding:7px;border-radius:16px}
  .product .pimg{border-radius:11px}
  .product .pimg img,.product .pimg img.cover,.product .pimg img:not(.cover){padding:7px}
  .product .pimg .tag{font-size:10px;padding:3px 7px;top:7px;left:7px}
  .product .pimg .deal{width:40px;height:40px;font-size:13px;right:6px;top:6px}
  .product h4{font-size:13.5px;line-height:1.2;margin:8px 2px 2px}
  .product p{font-size:11.5px;line-height:1.35;margin:0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product .buy{padding-top:8px;gap:5px}
  .product .buy .btn{font-size:12px;padding:8px 6px;min-height:34px}
  .product .lot-list{font-size:11px}
  .shop-filters{gap:6px;margin-bottom:14px}
  .shop-filters button{padding:7px 12px}
}

/* Téléphone : menu ☰ lisible (fond opaque, grandes zones à toucher), mêmes pages que sur ordinateur */
@media (max-width:600px){
  .nav{top:70px;left:10px;right:10px;padding:8px;gap:2px;border-radius:22px;background:rgba(16,18,46,.97)!important;
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 0 0 1px var(--line),0 24px 50px -20px rgba(0,0,0,.85)}
  .nav a{font-size:14px;padding:14px 16px;border-radius:14px;color:var(--ink);display:flex;align-items:center;gap:10px}
  .nav a .soon{margin-left:auto}
  body.menu-open .tabbar{opacity:.35}
}

/* ==========================================================
   Téléphone v3 : accueil et profil (lisibles, l'essentiel d'abord)
   Ordre de l'accueil : titre + raccourcis + Mail club du mois, profil, news, messagerie, musique, réseaux
   ========================================================== */
.pl-toggle,.prof-next:empty{display:none}
.prof-next{margin-top:6px;font-size:12.5px;font-weight:700;color:var(--ink-2)}
.prof-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px}
.prof-stats .ps{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px;border-radius:16px;font:inherit;color:var(--ink);
  background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.prof-stats button.ps{cursor:pointer}
.prof-stats .ps b{font-size:18px;font-weight:900}
.prof-stats .ps small{font-size:11.5px;font-weight:800;color:var(--ink-2);text-transform:uppercase;letter-spacing:.05em}
.prof-level .bar{height:8px;margin:0;background:rgba(255,255,255,.12)}
@media (max-width:600px){
  /* Accueil : la scène en fond (comme avant) ; un bandeau News discret en haut ;
     puis titre + Mail club du mois, boutique, messagerie, musique, réseaux */
  .home{gap:14px}
  .side{display:contents}
  .news-card{order:0}.intro{order:1}.m-shop{order:2}.chat-card{order:3}.music-card{order:4}.social-card{order:5}
  .profile-card,.map-card{display:none!important}
  .intro .hello{font-size:12px}
  .intro h1{font-size:30px;line-height:1.08}
  .balloon-tip{display:none}
  .home .reveal{opacity:1!important;translate:none!important;filter:none!important;transition:none!important}

  /* News : bandeau d'une ligne, ouvert au toucher */
  .news-card{display:flex;flex-direction:row;align-items:center;gap:10px;padding:8px 12px 8px 14px;border-radius:999px;cursor:pointer}
  .news-card .card-head{justify-content:flex-start}
  .news-card .card-head{margin:0;flex:none}
  .news-card .news-until,.news-card .news-text,.news-card .news-price,.news-card .news-cta,.news-card .news-badge{display:none}
  .news-card .news-media{order:-1;flex:none;width:40px;height:40px;aspect-ratio:auto!important;border-radius:10px;margin-left:-6px;cursor:pointer}
  .news-card .news-media[hidden]{display:none}
  .news-card .news-body{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
  .news-card .news-title{flex:1;min-width:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .news-card .news-foot{margin:0;flex:none}
  .news-card .news-code{padding:3px 8px;font-size:11px}
  .news-card::after{content:"▾";flex:none;font-size:12px;color:var(--ink-2)}
  .news-card.is-open{flex-wrap:wrap;align-items:flex-start;border-radius:20px;padding:12px 14px}
  .news-card.is-open::after{content:"▴";position:absolute;top:12px;right:14px}
  .news-card.is-open .news-media{flex-basis:100%;width:100%;height:auto;aspect-ratio:16/10!important;margin:0 0 4px;border-radius:14px}
  .news-card.is-open .news-badge{display:grid}
  .news-card.is-open .news-body{flex-direction:column;align-items:flex-start;flex-basis:100%}
  .news-card.is-open .news-title{white-space:normal;font-size:15px}
  .news-card.is-open .news-text,.news-card.is-open .news-price{display:block}
  .news-card.is-open .news-cta:not([hidden]){display:inline-flex}
  .news-card.is-open .news-foot{display:flex;gap:8px;flex-wrap:wrap}
  /* vote : caché dans le bandeau fermé (petite pastille « Vote »), en pleine largeur une fois ouvert */
  .news-card .news-poll{display:none}
  .news-card.has-poll:not(.is-open) .news-code{display:none}
  .news-card.has-poll:not(.is-open) .news-title::before{content:"Vote";display:inline-block;margin-right:7px;padding:1px 7px;border-radius:999px;vertical-align:1px;
    font-size:10px;font-weight:900;letter-spacing:.04em;color:#3b2a06;background:#f2cf5b}
  .news-card.poll-only:not(.is-open) .news-title::before{content:"✦";padding:0;margin-right:5px;color:#f2cf5b;background:none;font-size:12px}
  /* pastille « Bientôt / −20 % » sans image : petite étiquette à côté de la flèche, ne cache plus le texte */
  .news-card.is-open .news-badge.solo{top:9px;right:34px;min-width:0;height:auto;padding:3px 9px;border-radius:999px;rotate:0deg;font-size:10.5px}
  .news-card.is-open .news-badge.solo::before{display:none}
  .news-card.is-open .news-poll{display:flex;align-self:stretch;width:100%;margin-top:6px}
  .news-card.is-open.poll-only .news-poll{margin-top:2px}
  .news-card.is-open .poll-opt{min-height:44px;font-size:14px}
  .news-card.is-open .news-title{padding-right:20px}

  /* boutique : fiches qui défilent */
  .m-shop{display:block;padding:14px 0 12px}
  .m-head{display:flex;align-items:center;justify-content:space-between;margin:0 16px 10px}
  .m-head h2{font-size:16px;font-weight:900}
  .m-shop-row{display:flex;gap:10px;overflow-x:auto;padding:0 16px 4px;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none}
  .m-shop-row::-webkit-scrollbar{display:none}
  .m-prod{flex:none;width:132px;display:flex;flex-direction:column;gap:4px;padding:7px;border-radius:16px;text-align:left;color:var(--ink);scroll-snap-align:start;
    background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px var(--line)}
  .m-prod b{margin-top:3px;font-size:12.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .m-prod em{font-style:normal;font-size:12.5px;font-weight:900;color:#f6dc8c}

  /* messagerie : hauteur selon le contenu */
  .chat-card{height:auto}

  /* musique : lecteur en une bande, liste des morceaux repliable */
  .music-card{--disc:52px!important;padding:12px 14px}
  .music-card .card-head{display:flex;align-items:center;gap:10px}
  .music-card .wave{margin-left:auto}
  .music-card .mc-progress{display:none!important}
  .pl-toggle{display:inline-flex;padding:5px 11px;border-radius:999px;font:inherit;font-size:12px;font-weight:800;color:var(--ink);
    background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px var(--line)}
  .pl-toggle::after{content:"▾";margin-left:5px;transition:rotate .25s}
  .music-card.pl-open .pl-toggle::after{rotate:180deg}
  .music-card .playlist{display:none!important}
  .music-card.pl-open .playlist{display:flex!important}

  /* page Profil : en-tête serré, niveau sur toute la largeur, badges avant le formulaire */
  .prof-head{flex-direction:column;align-items:center;gap:6px;padding:40px 0 0;text-align:center}
  .prof-banner{width:70%;top:-10px}
  .wreath-xl{width:84px;height:84px;margin:8px 0 4px}
  .prof-id{width:100%}
  .prof-head h2{font-size:24px}
  .prof-head .js-bio{font-size:13px}
  .prof-level{max-width:none;margin-top:12px;text-align:left}
  .prof-level .bar{height:9px}
  .prof-badges{order:-1}
  .prof-form,.prof-badges{padding:18px 16px}
  .badges.big{gap:8px;margin:10px 0 14px}
  .badges.big .bdg{width:50px;height:50px}
  /* tous les badges d'un coup d'œil : grille de 4, le critère s'affiche en touchant un badge verrouillé */
  .badge-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .bopt{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;padding:10px 4px 8px;text-align:center}
  .bopt .bdg{width:44px;height:44px}
  .bopt>span:not(.bdg){min-width:0;width:100%}
  .bopt b{font-size:10.5px;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;hyphens:auto;overflow-wrap:anywhere}
  .bopt small{display:none}
  .bopt .tick{position:absolute;top:4px;right:6px;margin:0}
  .prof-form .row{flex-direction:column;align-items:stretch;gap:8px}
  .prof-form .row .btn{justify-content:center}
}

/* Profil : Mes commandes (statut et suivi du colis) */
.prof-orders{display:flex;flex-direction:column;gap:12px;border-radius:22px;padding:22px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.my-order{display:grid;gap:10px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px var(--line)}
.my-order header{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.my-order header b{font-size:15px;color:#f6dc8c}
.my-order header span{font-size:12.5px;font-weight:700;color:var(--ink-2)}
.mo-pill{margin-left:auto;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:800;background:rgba(255,255,255,.1)}
.mo-pill.off{color:#ff8a9c}
.mo-items{margin:0;font-size:13px;color:var(--ink-2)}
.mo-steps{display:grid;grid-template-columns:repeat(4,1fr);margin:4px 0 0;padding:0;list-style:none}
.mo-steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font-size:11.5px;font-weight:800;color:var(--muted)}
.mo-steps li::before{content:"";position:absolute;top:6px;left:-50%;width:100%;height:2px;background:rgba(255,255,255,.12)}
.mo-steps li:first-child::before{display:none}
.mo-steps li.done::before{background:var(--red)}
.mo-steps i{position:relative;z-index:1;width:14px;height:14px;border-radius:50%;background:rgba(255,255,255,.15)}
.mo-steps li.done{color:var(--ink)}
.mo-steps li.done i{background:var(--red)}
.mo-steps li.now i{box-shadow:0 0 0 4px rgba(255,90,115,.25)}
.mo-steps small{font-size:10.5px;font-weight:700;color:var(--muted)}
.mo-track{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;font-size:13px}
.mo-track .btn{margin-left:auto}
@media (max-width:600px){
  .prof-orders{order:-1;padding:18px 16px}
  .mo-track .btn{margin-left:0;width:100%;justify-content:center}
}

/* image carrée d'une création (accueil téléphone, souhaits) */
.m-img{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.m-img img{width:100%;height:100%;object-fit:contain;padding:6px}
.m-img i{display:grid;place-items:center;height:100%;font-style:normal;color:var(--muted)}
/* Boutique : souhaits et créations épuisées */
.p-name{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.p-name h4{flex:1;min-width:0}
.wish{flex:none;display:grid;place-items:center;width:32px;height:32px;margin:8px 2px 0 0;border-radius:50%;color:var(--ink-2);background:rgba(255,255,255,.06);transition:color .2s,background .2s,transform .2s}
.wish svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.wish:hover{color:var(--red)}
.wish.on{color:#fff;background:var(--red)}
.wish.on svg{fill:currentColor}
.wish:active{transform:scale(.88)}
.product.is-sold .pimg img{filter:grayscale(.55) brightness(.85)}
.sold-tag{align-self:flex-start;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#ff8a9c;background:rgba(255,138,156,.14)}
.product .buy .wait-btn{width:100%;justify-content:center}
/* Profil : souhaits et parrainage */
.prof-wish,.prof-ref,.prof-gifts{display:flex;flex-direction:column;gap:12px;border-radius:22px;padding:22px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.prof-wish h3 small{font-size:12px;font-weight:700;margin-left:6px}
.wish-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.wish-it{position:relative}
.wish-go{display:flex;flex-direction:column;gap:4px;width:100%;padding:7px;border-radius:16px;text-align:left;font:inherit;color:var(--ink);background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}
.wish-go b{margin-top:3px;font-size:12.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wish-go em{font-style:normal;font-size:12.5px;font-weight:900;color:#f6dc8c}
.wish-it .wish{position:absolute;top:10px;right:10px;margin:0;width:28px;height:28px;background:rgba(14,16,48,.7)}
.ref-lead{margin:0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.ref-lead b{color:var(--ink)}
.ref-link{display:flex;gap:8px}
.ref-link input{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:0;font:inherit;font-size:13px;color:var(--ink);background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px var(--line)}
.ref-gifts{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ref-gifts li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:8px 12px;border-radius:12px;font-size:13px;background:rgba(255,255,255,.04)}
.ref-gifts li span{flex:1}
.ref-gifts b{color:#f6dc8c;letter-spacing:.04em}
.ref-gifts b.used{color:var(--muted);text-decoration:line-through}
.ref-gifts small{color:var(--muted)}
.ref-gifts em{font-style:normal;font-weight:800;color:var(--red)}
.ref-gifts li.off{opacity:.6}
.ref-steps-h{margin:4px 0 0;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ref-steps{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ref-steps li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;font-size:13px;font-weight:700;color:var(--ink-2);background:rgba(255,255,255,.04)}
.ref-steps li b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:13px;color:#2a1d05;background:#f2cf5b}
.ref-steps li span{flex:1}
.ref-steps li small{font-weight:900;color:var(--muted)}
.ref-steps li.done{color:var(--ink);box-shadow:inset 0 0 0 1.5px #f2cf5b}
.ref-steps li.done small{color:#f2cf5b}
@media (max-width:600px){
  .prof-wish,.prof-ref,.prof-gifts{order:-1;padding:18px 16px}
  .wish-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
}

/* Boutique : derniers exemplaires (pastille sur l'image, qui pulse doucement) */
.few-left{position:absolute;left:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 8px;border-radius:999px;
  font-size:11.5px;font-weight:900;letter-spacing:.01em;color:#2a1d05;background:linear-gradient(135deg,#ffe49a,#f2b84b);box-shadow:0 6px 16px -6px rgba(242,184,75,.8);transform:translateZ(0)}
.few-left i{width:7px;height:7px;border-radius:50%;background:#d9344c;box-shadow:0 0 0 0 rgba(217,52,76,.6);animation:newsPulse 1.8s infinite}

/* Cartes à collectionner : contour selon la rareté (normale · stylée · exclusivité) */
.product.rar-normale,.product.rar-stylee,.product.rar-exclusive{--rar:#9fb3ff;box-shadow:inset 0 0 0 1.5px var(--rar),0 0 0 0 transparent}
.product.rar-stylee{--rar:#f2cf5b;box-shadow:inset 0 0 0 2px var(--rar),0 14px 34px -18px rgba(242,207,91,.55)}
.product.rar-exclusive{--rar:#ff8fc8;box-shadow:inset 0 0 0 2px var(--rar),0 14px 34px -16px rgba(255,143,200,.6);
  background:linear-gradient(160deg,rgba(255,143,200,.12),rgba(182,156,255,.07) 55%,rgba(126,224,255,.07))}
.product[class*="rar-"] .pimg{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rar) 45%,transparent)}
.slot.owned.rar-normale img{box-shadow:0 0 0 2px #9fb3ff,0 14px 26px -12px rgba(0,0,0,.6)}
.slot.owned.rar-stylee img{box-shadow:0 0 0 2.5px #f2cf5b,0 0 22px -4px rgba(242,207,91,.65)}
.slot.owned.rar-exclusive img{box-shadow:0 0 0 2.5px #ff8fc8,0 0 0 5px rgba(182,156,255,.45),0 0 26px -2px rgba(255,143,200,.7)}
.excl-tag{display:block;width:100%;padding:10px 12px;border-radius:12px;text-align:center;font-size:12.5px;font-weight:900;color:#ffd6ec;
  background:rgba(255,143,200,.12);box-shadow:inset 0 0 0 1.5px rgba(255,143,200,.55)}

/* Cartes cadeaux (onglet de la boutique) */
.gift-shop{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;padding:24px;border-radius:22px}
.gift-visual img{width:100%;border-radius:18px;display:block}
.gift-art{aspect-ratio:1.6;border-radius:20px;padding:22px 24px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;
  background:radial-gradient(circle at 80% 15%,rgba(255,210,122,.45),transparent 40%),linear-gradient(150deg,#2a2f78,#1d2054 55%,#ff5a73 140%);
  box-shadow:0 26px 50px -22px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.16)}
.gift-art span{font-family:Georgia,serif;font-style:italic;font-size:26px;line-height:1.05}
.gift-art span em{display:block;font-size:15px;color:#ffd27a}
.gift-art b{font-size:42px;font-weight:900;letter-spacing:-.02em}
.gift-art small{font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#ffd27a}
.gift-form{display:flex;flex-direction:column;gap:12px}
.gift-form h3{margin:0;font-size:22px}
.gift-form p{margin:0}
.gift-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:800;color:var(--ink-2)}
.gift-form input,.gift-form textarea{padding:10px 12px;border-radius:12px;border:0;font:inherit;font-size:14px;color:var(--ink);background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px var(--line)}
.gift-amounts{display:flex;flex-wrap:wrap;gap:8px}
.gift-amounts button{padding:10px 16px;border-radius:12px;font-weight:900;color:var(--ink);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.gift-amounts button.is-on{color:#fff;background:var(--red);box-shadow:0 10px 22px -10px rgba(255,90,115,.8)}
.ci-gift{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:10px;font-size:20px;color:#ffd27a;background:linear-gradient(150deg,#2a2f78,#1d2054)}
.cart-line small{font-weight:800;color:var(--muted);margin-left:4px}
@media (max-width:760px){ .gift-shop{grid-template-columns:1fr;padding:18px;gap:18px} }
/* lien discret depuis les Créations vers la page Cartes cadeaux */
.gift-teaser{display:flex;align-items:center;gap:10px;width:100%;margin-top:22px;padding:14px 18px;border-radius:18px;border:0;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.gift-teaser[hidden]{display:none}
.gift-teaser>span{font-size:22px}
.gift-teaser b{font-weight:900}
.gift-teaser small{flex:1;color:var(--muted);font-weight:700}
.gift-teaser svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.gift-page .gift-shop{margin-top:6px}
@media (max-width:600px){ .gift-teaser small{display:none} .gift-teaser b{flex:1} }

/* Profil : cartes cadeaux, après-vente des commandes */
.my-gift{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px var(--line)}
.my-gift b{font-size:17px;color:#f6dc8c}
.my-gift span{flex:1;font-size:13px;font-weight:700;color:var(--ink-2)}
.my-gift code{font-size:13px;font-weight:900;letter-spacing:.06em;color:var(--ink)}
.my-gift small{width:100%;font-size:11.5px;color:var(--muted)}
.my-gift.used{opacity:.55}
.mo-after{margin:0;font-size:12.5px;font-weight:700;color:#f6dc8c}
.mo-after a{color:inherit}

/* Vote de l'encadré News */
.news-poll{display:flex;flex-direction:column;gap:8px;margin-top:4px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.14)}
.news-card.poll-only .news-poll{margin:0;padding:0;border:0}
.news-card.poll-only .poll-q{display:none}   /* la question est déjà le titre */
.poll-q{margin:0;font-size:14px;line-height:1.35;font-weight:900;color:var(--ink)}
.poll-opts{display:grid;gap:6px}
.poll-opt{position:relative;display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 12px;border-radius:12px;overflow:hidden;text-align:left;
  font:inherit;font-size:13px;font-weight:800;color:var(--ink);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}
.poll-opt::before{content:"";position:absolute;inset:0 auto 0 0;width:0;background:rgba(255,90,115,.22);transition:width .6s var(--spring,ease)}
.poll-opt.shown::before{width:var(--p)}
.poll-opt.is-mine{box-shadow:inset 0 0 0 1.5px var(--red)}
.poll-opt img{position:relative;width:28px;height:28px;border-radius:8px;object-fit:cover;flex:none}
.poll-opt span{position:relative;flex:1;min-width:0}
.poll-opt b{position:relative;font-size:12px;color:#f6dc8c}
.poll-opt:hover{background:rgba(255,255,255,.1)}
.poll-foot{margin:0;font-size:11.5px;font-weight:700;color:var(--muted)}
.news-card.squeezed .poll-opt img{display:none}
