/* Mes Travaux Faciles — PWA — design fidèle à la trame */
:root{
  --or:#F4622D; --or-d:#D94F1E; --or-soft:#FFE9E0;
  --ink:#14181B; --sub:#57636C; --bg:#F1F4F8; --line:#E0E3E7;
  --teal:#249689; --white:#FFF;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{height:100%}
body{font-family:'Inter',-apple-system,'Segoe UI',Roboto,sans-serif;background:#E9EDF2;color:var(--ink);min-height:100%}
#shell{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;position:relative;box-shadow:0 0 40px rgba(20,24,27,.12)}
#view{min-height:100vh;padding-bottom:0}
.padnav{padding-bottom:110px !important}
.pad{padding:26px 22px 30px}
.hidden{display:none !important}

/* ------- communs ------- */
.back{width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}
.back svg{width:20px;height:20px;stroke:var(--ink)}
.topbar{display:flex;align-items:center;gap:12px;padding:16px 18px 8px}
.topbar .ttl{flex:1;text-align:center;font-size:16.5px;font-weight:700}
.topbar .spacer{width:42px}
.h-or{color:var(--or);font-size:16.5px;font-weight:700;text-align:center;padding:12px 0;border-bottom:2px solid var(--or);margin:0 22px 18px}
.bigor{color:var(--or);font-size:27px;font-weight:800;text-align:center;line-height:1.22;margin:4px 0 20px}
.big{font-size:26px;font-weight:800;text-align:center;letter-spacing:-.02em}
.sub{font-size:14px;color:var(--sub);text-align:center;line-height:1.55;margin-top:10px}
.lbl{display:block;font-size:13.5px;font-weight:500;margin:16px 0 7px}
.field{width:100%;background:var(--bg);border:0;border-radius:12px;padding:15px 16px;font-size:15px;font-family:inherit;color:var(--ink);outline:none}
.field::placeholder{color:#95A1AA}
textarea.field{resize:none}
select.field{appearance:auto}
.field:focus{box-shadow:0 0 0 2px var(--or-soft),inset 0 0 0 1.5px var(--or)}
.btn{display:block;width:100%;background:var(--or);color:#fff;border:0;border-radius:28px;padding:16px;font-size:15.5px;font-weight:700;font-family:inherit;cursor:pointer;text-align:center}
.btn:active{transform:translateY(1px);background:var(--or-d)}
.btn:disabled{opacity:.55}
.btn-line{display:block;width:100%;background:#fff;color:var(--or);border:1.5px solid var(--or);border-radius:28px;padding:14px;font-size:15px;font-weight:700;font-family:inherit;cursor:pointer;text-align:center}
.btn-danger{display:block;width:100%;background:#fff;color:#D64545;border:1.5px solid #D64545;border-radius:28px;padding:14px;font-size:15px;font-weight:700;font-family:inherit;cursor:pointer}
.link{color:var(--or);text-decoration:underline;font-weight:600;cursor:pointer}
.center{text-align:center}
.mt8{margin-top:8px}.mt14{margin-top:14px}.mt20{margin-top:20px}.mt26{margin-top:26px}
.rightlink{display:block;text-align:right;font-size:13px;margin-top:8px}
.mini{font-size:12px;color:#95A1AA;text-align:center;margin-top:10px;font-style:italic;line-height:1.5}
.check{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:14px}
.check input{width:20px;height:20px;accent-color:var(--or)}
.pwrap{position:relative}
.pwrap .field{padding-right:48px}
.eye{position:absolute;right:14px;top:50%;transform:translateY(-50%);background:none;border:0;cursor:pointer;color:#95A1AA}
.eye svg{width:20px;height:20px}
.rangewrap{display:flex;align-items:center;gap:12px;margin-top:8px}
input[type=range]{flex:1;accent-color:var(--or);height:4px}
.kmval{font-size:13.5px;font-weight:700;min-width:52px;text-align:right}

/* avatars */
.av{border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;position:relative;flex:0 0 auto;overflow:hidden;background:linear-gradient(135deg,#FFB199,#FF6A3D);user-select:none}
.av img{width:100%;height:100%;object-fit:cover}
.verif{width:16px;height:16px;flex:0 0 auto}
.chipwrap{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.spec{border:0;background:var(--bg);color:var(--ink);border-radius:22px;padding:11px 16px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer}
.spec.on{background:var(--or);color:#fff}
.chiprow{display:flex;gap:8px;overflow-x:auto;padding:4px 18px 10px;scrollbar-width:none}
.chiprow::-webkit-scrollbar{display:none}
.chiprow .spec{flex:0 0 auto;padding:8px 14px;font-size:13px}

/* succès / avatar géant */
.successck{width:96px;height:96px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center;margin:34px auto 0}
.successck svg{width:46px;height:46px}
.avbig{width:110px;height:110px;margin:26px auto 0;background:var(--bg);color:var(--or)}
.camfab{position:absolute;right:-2px;bottom:0;width:36px;height:36px;border-radius:50%;background:var(--or);color:#fff;display:flex;align-items:center;justify-content:center;border:3px solid #fff;cursor:pointer}
.camfab svg{width:16px;height:16px}

/* feed */
.feedhead{display:flex;align-items:center;gap:8px;padding:10px 18px 7px;position:sticky;top:0;background:#fff;z-index:20}
.pill-pour{background:var(--or);color:#fff;font-size:13px;font-weight:700;border-radius:18px;padding:7px 13px}
.applogo{width:40px;height:40px;border-radius:12px;background:var(--or);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.applogo svg{width:30px;height:30px}
.brand{font-size:15.5px;font-weight:800}
.brand em{font-style:normal;color:var(--or)}
.feedhead .rt{margin-left:auto;display:flex;gap:10px}
.cbtn{width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;flex:0 0 auto}
.cbtn svg{width:19px;height:19px}
.cbtn .reddot{position:absolute;top:3px;right:3px;min-width:16px;height:16px;border-radius:9px;background:var(--or);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}
.post{padding:10px 18px 18px;border-bottom:6px solid #F5F6F8}
.phead{display:flex;align-items:center;gap:10px}
.phead .who{flex:1;min-width:0;cursor:pointer}
.phead .nm{display:flex;align-items:center;gap:5px;font-size:14.5px;font-weight:700}
.phead .hd{font-size:12.5px;color:var(--sub)}
.ptxt{font-size:14px;margin:10px 2px;white-space:pre-wrap;word-break:break-word}
.pimgs{border-radius:16px;overflow:hidden;display:grid;gap:3px}
.pimgs img{width:100%;display:block;object-fit:cover;max-height:420px;background:#EDE9E4}
.pimgs.multi{grid-template-columns:1fr 1fr}
.pimgs.multi img{aspect-ratio:1/1;max-height:none}
.pact{display:flex;align-items:center;gap:18px;margin-top:12px}
.pact .a{display:flex;align-items:center;gap:5px;font-size:13.5px;font-weight:600;cursor:pointer;background:none;border:0;font-family:inherit;color:var(--ink)}
.pact svg{width:21px;height:21px}
.pact .a.liked{color:var(--or)}
.pact .a.liked svg{fill:var(--or);stroke:var(--or)}
.pact .save{margin-left:auto}
.pact .save.on{color:var(--or)}
.pact .save.on svg{fill:var(--or)}
.adcard{margin:14px 18px;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.adcard .tag{font-size:11px;color:#95A1AA;font-weight:600;padding:9px 14px 0}
.adcard .vis{height:96px;background:linear-gradient(120deg,#FFD98A,#F4622D);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:17px;margin:8px 14px;border-radius:12px;text-align:center;padding:0 14px}
.adcard .bd{font-size:12px;color:var(--sub);padding:0 14px 12px;line-height:1.4}

/* barre de navigation */
#navbar{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:calc(100% - 32px);max-width:448px;background:#fff;border-radius:22px;box-shadow:0 8px 26px rgba(20,24,27,.18);display:none;align-items:center;justify-content:space-around;padding:10px 8px;z-index:40}
#navbar.show{display:flex}
#navbar .nb{background:none;border:0;cursor:pointer;color:#8A959D;display:flex;flex-direction:column;align-items:center;gap:3px;width:60px;font-family:inherit;position:relative}
#navbar .reddot{top:-3px;right:9px}
#navbar .nb span{font-size:10px;font-weight:600;line-height:1}
#navbar .nb svg{width:23px;height:23px}
#navbar .nb.on{color:var(--or)}
#navbar .nb.on::after{content:"";width:16px;height:3px;border-radius:3px;background:var(--or)}
#navbar .plusbtn{width:52px;height:52px;border-radius:50%;background:var(--or);color:#fff;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:-26px;box-shadow:0 6px 16px rgba(244,98,45,.45)}
#navbar .plusbtn svg{width:24px;height:24px}

/* profils */
.cover{height:140px;background:linear-gradient(135deg,#12151C,#232B38);position:relative}
.cover .topr{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between}
.pcard{background:#fff;border-radius:26px 26px 0 0;margin-top:-26px;position:relative;padding:0 20px 20px}
.pcard.flat{margin-top:0;border-radius:0}
.pavatar{width:96px;height:96px;border:4px solid #fff;margin:-48px auto 0;font-size:30px}
.pavatar.noshift{margin-top:10px;border:0}
.pname{text-align:center;font-size:17.5px;font-weight:800;margin-top:10px;display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.pjob{text-align:center;font-size:13px;color:var(--sub);margin-top:3px}
.plink{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:8px;font-size:12.5px;color:var(--or);font-weight:600;cursor:pointer}
.plink svg{width:15px;height:15px}
.pstats{display:flex;justify-content:space-between;margin:18px 2px 0}
.pstats .st{flex:1;text-align:center;border-right:1px solid #EEF1F4}
.pstats .st:last-child{border-right:0}
.pstats b{display:block;font-size:17px;font-weight:800}
.pstats span{font-size:11px;color:var(--sub)}
.pbtns{display:flex;gap:12px;margin-top:16px}
.pbtns .btn,.pbtns .btn-line{padding:12px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:7px}
.pbtns svg{width:17px;height:17px}
.tabs{display:flex;border-bottom:1px solid #EEF1F4;margin-top:14px}
.tabs button{flex:1;background:none;border:0;font-family:inherit;font-size:13.5px;font-weight:600;color:var(--sub);padding:12px 4px 11px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;border-bottom:2.5px solid transparent}
.tabs button svg{width:17px;height:17px}
.tabs button.on{color:var(--or);border-bottom-color:var(--or)}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.gtile{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:linear-gradient(160deg,#E8C9A0,#B98A54);position:relative;cursor:pointer}
.gtile img,.gtile video{width:100%;height:100%;object-fit:cover}
.gtile .clap{position:absolute;top:6px;right:6px;width:17px;height:17px;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}

/* qr */
.qrscreen{background:var(--or);min-height:100vh}
.qrscreen .back{border:0}
.qrbody{display:flex;flex-direction:column;align-items:center;padding-top:34px}
.qrcard{background:#fff;border-radius:26px;padding:20px}
.qrcard canvas,.qrcard img{display:block;border-radius:6px}
.qrhandle{color:#fff;font-weight:700;margin-top:16px;font-size:14.5px}
.qrsheet{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;background:#fff;border-radius:26px 26px 0 0;padding:20px 22px 26px;display:flex;gap:14px}

/* listes */
.srow{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #EEF1F4;cursor:pointer}
.srow .ic{width:34px;height:34px;border-radius:9px;background:var(--or-soft);color:var(--or);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.srow .ic svg{width:18px;height:18px}
.srow .nm{flex:1;font-size:14.5px;font-weight:600}
.srow .chev{color:var(--or);width:18px;height:18px}
.srow.danger .ic{background:#FDEAEA;color:#D64545}
.srow.danger .nm{color:#D64545}
.cardg{background:#F5F6F8;border-radius:14px;padding:15px 16px;margin-bottom:13px}
.cardg h4{font-size:14px;font-weight:700;margin-bottom:6px}
.cardg p,.cardg li{font-size:13px;color:var(--sub);line-height:1.6}
.cardg ul{padding-left:18px;margin-top:4px}
.rowflex{display:flex;align-items:center;justify-content:space-between}
.sechead{font-size:11px;letter-spacing:.28em;color:#95A1AA;font-weight:600;margin:20px 0 6px}
.urow{display:flex;align-items:center;gap:12px;padding:11px 0;cursor:pointer}
.urow .tx{flex:1;min-width:0}
.urow .nm{font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px}
.urow .cat{font-size:12.5px;color:var(--sub)}
.fbtn{border-radius:20px;padding:8px 18px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;border:1.5px solid var(--or);background:var(--or);color:#fff;min-width:92px}
.fbtn.on{background:#fff;color:var(--or)}
.pbtn{border:0;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}
.pbtn.fill{background:var(--or);color:#fff}
.pbtn.line{background:#fff;color:var(--or);border:1.5px solid var(--or)}
.okd{color:var(--teal);font-size:13px;font-weight:700}
.searchbar{display:flex;align-items:center;gap:10px;background:var(--bg);border-radius:14px;padding:12px 14px;flex:1}
.searchbar svg{width:18px;height:18px;color:var(--or)}
.searchbar input{flex:1;border:0;background:none;outline:none;font-family:inherit;font-size:14px}
.bigsearch{flex:1;display:flex;align-items:center;gap:11px;background:#fff;border:1.5px solid var(--line);border-radius:15px;padding:10px 15px;box-shadow:0 5px 16px rgba(20,24,27,.07);cursor:pointer}
.bigsearch svg{color:var(--or);flex:0 0 auto}
.acbox{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.acitem{text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:14px;font-family:inherit;cursor:pointer;font-weight:600;color:var(--ink)}
.acitem:active,.acitem:hover{border-color:var(--or);color:var(--or)}
.nrow{display:flex;align-items:center;gap:11px;padding:11px 0}
.nrow .tx{flex:1;min-width:0}
.nrow .nm{font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px}
.nrow .ac{font-size:12.5px;color:var(--sub);margin-top:1px}
.nrow .acts{display:flex;gap:8px}
.sw{position:relative;display:inline-block;width:48px;height:28px;flex:0 0 auto}
.sw input{opacity:0;width:0;height:0}
.sw i{position:absolute;inset:0;border-radius:20px;background:#D5DBE0;transition:.2s;cursor:pointer}
.sw i::before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.sw input:checked+i{background:var(--or)}
.sw input:checked+i::before{transform:translateX(20px)}
.faqcard{background:#F5F6F8;border-radius:14px;padding:14px 16px;margin-bottom:12px}
.faqcard h4{font-size:14px;font-weight:700}
.faqcard p{font-size:13px;color:var(--sub);line-height:1.55;margin-top:5px}
.empty{padding:44px 24px;text-align:center;color:var(--sub);font-size:13.5px;line-height:1.6}

/* messagerie */
.msghead{background:var(--or);color:#fff;padding:16px 18px 20px}
.msghead .row1{display:flex;align-items:center;gap:12px}
.msghead .row1 .ttl{flex:1;text-align:center;font-weight:700;font-size:15.5px}
.msghead .back{border:0}
.msglist{background:#fff;border-radius:24px 24px 0 0;margin-top:-14px;position:relative;padding:14px 16px 120px}
.mrow{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #F0F2F5;box-shadow:0 2px 8px rgba(20,24,27,.05);border-radius:16px;padding:12px 14px;margin-bottom:11px;cursor:pointer}
.mrow .tx{flex:1;min-width:0}
.mrow .nm{font-size:14px;font-weight:700}
.mrow .lm{font-size:12.5px;color:var(--sub);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow .tm{font-size:11.5px;color:#95A1AA}
.chathead{background:var(--or);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:20}
.chathead .back{border:0}
.chathead .nm{font-weight:700;font-size:15px}
.chathead .st{font-size:12px;opacity:.92}
.chatbody{padding:16px 16px 120px}
.mline{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#95A1AA;margin:10px 0 5px}
.mline.right{justify-content:flex-end}
.bub{max-width:78%;border-radius:14px;padding:11px 14px;font-size:13.5px;line-height:1.45;word-break:break-word}
.bub.them{background:var(--or);color:#fff;border-top-left-radius:4px}
.bub.me{background:var(--bg);color:var(--ink);border-top-right-radius:4px;margin-left:auto}
.bub img{max-width:100%;border-radius:10px;display:block}
.chatbar{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:calc(100% - 28px);max-width:452px;background:#fff;border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;gap:8px;padding:8px 8px 8px 10px;z-index:40}
.chatbar .add{width:34px;height:34px;border-radius:11px;background:#fff;border:1px solid var(--line);color:var(--or);font-size:20px;font-weight:700;cursor:pointer}
.chatbar input{flex:1;border:0;outline:none;font-family:inherit;font-size:14px}
.chatbar .send{width:40px;height:40px;border-radius:13px;background:var(--or);border:0;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.chatbar .send svg{width:19px;height:19px}

/* shorts */
.shortwrap{height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;background:#101215}
.shortitem{height:100vh;height:100dvh;scroll-snap-align:start;position:relative}
.shortitem video{width:100%;height:100%;object-fit:cover}
.rail{position:absolute;right:14px;bottom:190px;display:flex;flex-direction:column;gap:20px;align-items:center;color:#fff;z-index:5}
.rail .r{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12.5px;font-weight:600;cursor:pointer;text-shadow:0 1px 4px rgba(0,0,0,.4)}
.rail svg{width:27px;height:27px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.4))}
.rail .r.liked{color:#FF5A5A}
.short-meta{position:absolute;left:16px;right:80px;bottom:120px;color:#fff;z-index:5;text-shadow:0 1px 4px rgba(0,0,0,.45)}
.short-meta .u{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14.5px;flex-wrap:wrap}
.short-meta .cap{font-size:13px;margin-top:7px}
.shortfilters{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:30;display:flex;gap:8px;width:calc(100% - 32px);max-width:448px;justify-content:center}
.shortfilters .pbtn{background:rgba(255,255,255,.94);color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.25)}

/* overlays */
#ad-ov{position:fixed;inset:0;background:rgba(16,18,21,.55);display:none;align-items:center;justify-content:center;z-index:70;padding:26px}
#ad-ov.show{display:flex}
.adbox{background:#fff;border-radius:22px;width:100%;max-width:420px;overflow:hidden;position:relative}
.adbox .lab{font-size:11px;font-weight:700;color:#95A1AA;padding:12px 16px 0;letter-spacing:.04em}
.adbox .hero{margin:10px 16px 0;height:160px;border-radius:16px;background:linear-gradient(130deg,#2B2F3A,#F4622D);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;gap:6px;text-align:center;padding:0 16px}
.adbox .hero b{font-size:22px;font-weight:800}
.adbox .cta{padding:14px 16px 8px}
.adbox .note{font-size:11px;color:#95A1AA;text-align:center;padding:0 16px 14px;line-height:1.45}
#adClose{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid var(--line);font-weight:800;font-size:13px;color:#95A1AA;cursor:default}
#adClose.rdy{color:var(--ink);cursor:pointer}
#sheet{position:fixed;inset:0;background:rgba(16,18,21,.45);display:none;align-items:flex-end;justify-content:center;z-index:120}
.askbrand{font-size:11px;color:#95A1AA;font-weight:600;letter-spacing:.03em}
.askbrand b{color:var(--or);font-weight:800}
#consent{position:fixed;left:0;right:0;bottom:0;z-index:110;display:flex;justify-content:center;padding:12px}
#consent.hidden{display:none}
#consent .cbox{background:#fff;border-radius:18px;box-shadow:0 -4px 30px rgba(20,24,27,.25);max-width:456px;width:100%;padding:16px 18px}
#consent b{font-size:14.5px;color:var(--ink)}
#consent p{font-size:12.5px;color:var(--sub);line-height:1.55;margin:7px 0 12px}
#consent .cbtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cb-ok{flex:1;background:var(--or);color:#fff;border:0;border-radius:14px;padding:12px;font-weight:800;font-size:13.5px;font-family:inherit;cursor:pointer}
.cb-no{flex:1;background:#fff;color:var(--ink);border:1.5px solid var(--line);border-radius:14px;padding:12px;font-weight:700;font-size:13.5px;font-family:inherit;cursor:pointer}
.cb-link{background:none;border:0;color:var(--sub);font-size:12.5px;font-weight:600;text-decoration:underline;cursor:pointer;font-family:inherit;width:100%}
#sheet.show{display:flex}
#sheet .inner{background:#fff;border-radius:22px 22px 0 0;width:100%;max-width:480px;padding:18px 20px 30px;max-height:78vh;overflow-y:auto;position:relative}
.sheetx{position:absolute;top:12px;right:14px;width:32px;height:32px;border-radius:50%;background:var(--bg);border:0;color:var(--sub);font-size:14px;font-weight:800;cursor:pointer}
.pstats .st{cursor:pointer}
#sheet .grab{width:44px;height:4px;border-radius:3px;background:#D5DBE0;margin:0 auto 14px}
#toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(14px);background:#14181B;color:#fff;font-size:13px;font-weight:600;border-radius:20px;padding:10px 18px;opacity:0;pointer-events:none;transition:.25s;z-index:90;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
#loader{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#F4622D,#D94E1E);z-index:100;flex-direction:column;gap:0;transition:opacity .45s ease}
#loader.fade{opacity:0;pointer-events:none}
.splash-logo{width:104px;height:104px;border-radius:28px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;animation:splashin .7s cubic-bezier(.2,1.4,.4,1) both}
.splash-logo svg{width:78px;height:78px}
.splash-name{margin-top:18px;color:#fff;font-size:22px;font-weight:600;letter-spacing:-.02em;animation:splashup .6s .25s ease both}
.splash-name b{font-weight:800}
.splash-annuaire{color:#FFE9E0;font-size:15.5px;font-weight:800;letter-spacing:.01em;margin-top:10px;animation:splashup .7s .25s ease both}
.splash-tag{margin-top:7px;color:rgba(255,233,224,.82);font-size:13px;font-weight:500;text-align:center;padding:0 32px;line-height:1.45;animation:splashup .6s .45s ease both}
.splash-dots{margin-top:26px;display:flex;gap:7px;animation:splashup .6s .65s ease both}
.splash-dots span{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.35;animation:dotpulse 1.1s infinite}
.splash-dots span:nth-child(2){animation-delay:.18s}
.splash-dots span:nth-child(3){animation-delay:.36s}
@keyframes splashin{0%{transform:scale(.5);opacity:0}100%{transform:scale(1);opacity:1}}
@keyframes splashup{0%{transform:translateY(10px);opacity:0}100%{transform:translateY(0);opacity:1}}
@keyframes dotpulse{0%,100%{opacity:.35}50%{opacity:1}}
.splash-ver{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#FFD3C0;font-size:11px;font-weight:600;letter-spacing:.04em}
@keyframes spin{to{transform:rotate(360deg)}}

/* ===== v1.2 ===== */
.pimgs{position:relative}
.hb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.hb svg{width:84px;height:84px;fill:var(--or);stroke:var(--or);filter:drop-shadow(0 4px 14px rgba(0,0,0,.35));animation:hb .75s ease forwards}
@keyframes hb{0%{transform:scale(.4);opacity:0}30%{transform:scale(1.15);opacity:1}70%{transform:scale(1);opacity:1}100%{transform:scale(1.3);opacity:0}}
.ckgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.ckitem{display:flex;align-items:center;gap:9px;background:var(--bg);border-radius:12px;padding:11px 12px;font-size:13px;font-weight:600;cursor:pointer;user-select:none}
.ckitem input{width:18px;height:18px;accent-color:var(--or);flex:0 0 auto}
#seMap{height:270px;border-radius:16px;margin-top:14px;overflow:hidden;z-index:1;border:1px solid var(--line)}
.disttag{font-size:11.5px;color:var(--or);font-weight:700}
.tagx{color:var(--or);font-weight:700;cursor:pointer}
.stars{color:var(--or);letter-spacing:2px;font-size:14px}
.spon{background:var(--or-soft);color:var(--or);font-size:10px;font-weight:800;border-radius:8px;padding:2px 7px;letter-spacing:.03em;white-space:nowrap}
.starbtns{display:flex;justify-content:center;gap:6px;margin:8px 0 4px}
.starbtns button{font-size:34px;background:none;border:0;color:#D5DBE0;cursor:pointer;line-height:1;font-family:inherit}
.starbtns button.on{color:var(--or)}
.reply{background:var(--bg);border-left:3px solid var(--or);border-radius:0 10px 10px 0;padding:9px 11px;margin-top:8px;font-size:12.5px;color:var(--sub)}
.reply b{color:var(--ink);font-size:12px}
.extlink{display:inline-block;margin-top:9px;font-size:12.5px;color:var(--or);font-weight:700;text-decoration:none;border:1.5px solid var(--or);border-radius:14px;padding:6px 12px}
.leaflet-popup-content a{color:var(--or);font-weight:700}
.maplbl{background:#fff;border:1.5px solid var(--or);border-radius:10px;color:var(--ink);font-family:'Inter',sans-serif;font-size:11px;font-weight:700;padding:2px 8px;box-shadow:0 2px 6px rgba(20,24,27,.2);white-space:nowrap}

/* ===== v2.3 stories ===== */
.stwrap{padding:0 0 4px}
.strail{display:flex;gap:11px;overflow-x:auto;padding:2px 18px 6px;scrollbar-width:none}
.strail::-webkit-scrollbar{display:none}
.stcell{display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 auto;cursor:pointer}
.stcirc{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}
.strng{background:conic-gradient(#F4622D,#FF9A62,#F4622D);padding:3px}
.strngoff{background:#D5DBE0;padding:3px}
.stcirc .av{border:2.5px solid #fff}
.stadd{background:var(--or-soft);padding:3px}
.stplus{position:absolute;right:-2px;bottom:-2px;width:22px;height:22px;border-radius:50%;background:var(--or);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px;border:2px solid #fff}
.stname{font-size:10.5px;color:var(--sub);font-weight:600;max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hllabel{font-size:13px;font-weight:800;padding:16px 18px 8px;color:var(--ink)}
.hlthumb{overflow:hidden}
.hlthumb img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:2.5px solid #fff}
.hlplay{color:#fff;background:#14181B;width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;border:2.5px solid #fff}
.stview{position:fixed;inset:0;background:#0B0D0F;z-index:95;display:flex;flex-direction:column}
.stprog{display:flex;gap:4px;padding:10px 12px 6px}
.stprog span{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.28)}
.stprog span.done{background:#fff}
.stprog span.cur{background:#fff}
.sthead{display:flex;align-items:center;gap:9px;padding:6px 14px;color:#fff;position:relative;z-index:3}
.sthead .nm{font-weight:700;font-size:14px}
.sthead .tm{color:#9aa4ab;font-size:12px;flex:1}
.stbtn{background:rgba(255,255,255,.14);border:0;color:#fff;width:34px;height:34px;border-radius:50%;font-size:14px;cursor:pointer;flex:0 0 auto}
.stmedia{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.stmedia img,.stmedia video{max-width:100%;max-height:100%;object-fit:contain}
.stzone{position:absolute;top:70px;bottom:96px;width:34%;z-index:2}
.stl{left:0}
.str{right:0;width:66%}
.stfoot{display:flex;gap:10px;padding:14px 16px calc(16px + env(safe-area-inset-bottom));justify-content:center;position:relative;z-index:3}
.gtile{position:relative}
.arcbadge{position:absolute;left:6px;bottom:6px;background:rgba(11,13,15,.72);color:#fff;font-size:10px;font-weight:700;border-radius:8px;padding:3px 7px;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.svmore{position:absolute;top:4px;right:4px;width:26px;height:26px;border-radius:50%;background:rgba(11,13,15,.6);color:#fff;border:0;font-size:15px;cursor:pointer;line-height:1}
.spec.on{background:var(--or);color:#fff;border-color:var(--or)}
.adslide{display:flex;align-items:center;justify-content:center;background:#181B1F;position:relative}
.adslide .fullm{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.adslide .adlab{position:absolute;left:16px;bottom:120px;color:#fff;z-index:2;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.adslide .adlab b{font-size:17px;display:block}
.adslide .adlab .spon{margin-top:6px;display:inline-block}
.adsl{background:#fff;border-radius:20px;padding:28px 22px;width:min(320px,82%);text-align:center;display:flex;flex-direction:column;gap:9px;align-items:center}
.adsl .tag{background:var(--or-soft);color:var(--or);font-size:10px;font-weight:800;border-radius:8px;padding:3px 9px;letter-spacing:.04em}
.adsl b{font-size:16px;color:var(--ink)}
.adsl span{font-size:12.5px;color:var(--sub)}
.adpost{padding:14px 18px 16px;border-bottom:6px solid #F5F6F8}
.adpost .tag{display:inline-block;background:var(--or-soft);color:var(--or);font-size:10px;font-weight:800;border-radius:8px;padding:3px 9px;letter-spacing:.04em;margin-bottom:9px}
.advid video,.advid img{width:100%;border-radius:16px;display:block;background:#000}
.adcap{display:flex;flex-direction:column;gap:2px;padding:10px 2px 0}
.adcap b{font-size:14px;color:var(--ink)}
.adcap span{font-size:12px;color:var(--sub)}
.adhead{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.adhead .tag{margin-bottom:0}
.adlogo{width:26px;height:26px;border-radius:8px;background:var(--or);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.adlogo svg{width:18px;height:18px}
.promoband{padding:2px 0 10px}
.promohead{font-size:13px;font-weight:800;padding:0 18px 8px;color:var(--ink)}
.promorow{display:flex;gap:10px;overflow-x:auto;padding:0 18px 4px;scrollbar-width:none}
.promorow::-webkit-scrollbar{display:none}
.promocard{flex:0 0 150px;background:#fff;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer}
.promocard .pm{height:110px;background:var(--bg)}
.promocard .pm img,.promocard .pm video{width:100%;height:100%;object-fit:cover;display:block}
.promocard .pm .pmav{display:flex;align-items:center;justify-content:center;height:100%}
.promocard .pi{padding:8px 10px 10px}
.promocard .pi .nm{font-size:12.5px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.promocard .pi .sc{font-size:10.5px;color:var(--sub);margin-top:2px}
.promocard .pi .spon{margin-top:5px;display:inline-block}
.ph2{font-size:14px;font-weight:800;color:var(--ink);padding:14px 2px 10px}
.ph2 a{float:right;color:var(--or);font-size:12.5px;font-weight:700;text-decoration:none;cursor:pointer}
.prow{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none}
.prow::-webkit-scrollbar{display:none}
.pcell{display:flex;flex-direction:column;align-items:center;gap:6px;width:66px;flex:0 0 auto;cursor:pointer}
.pcell .pnm{font-size:10.5px;color:var(--ink);font-weight:600;max-width:66px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.libh{font-size:13px;font-weight:800;color:var(--ink);padding:12px 2px 8px}
.libh span{color:var(--sub);font-weight:600;font-size:12px}
.libgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-bottom:6px}
.stspon{font-size:8.5px;color:var(--sub);font-weight:700;letter-spacing:.03em}
.strail .av{width:48px!important;height:48px!important}
#seQdrop:empty{display:none}
.phead + .pimgs{margin-top:10px}
.rxs{margin-top:5px;font-size:12.5px;background:rgba(20,24,27,.06);border-radius:10px;padding:2px 8px;display:inline-block}
.bub.me .rxs{background:rgba(255,255,255,.25)}
.stwith{color:rgba(255,255,255,.85);font-size:11.5px;margin-left:6px}
.stwith b{color:#FF8A50;cursor:pointer}
.libcards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.libcard{position:relative;border-radius:16px;overflow:hidden;border:1.5px solid var(--line);aspect-ratio:1;cursor:pointer;background:var(--bg)}
.libcard img,.libcard video{width:100%;height:100%;object-fit:cover;display:block}
.libcap{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(20,24,27,.74));color:#fff;padding:20px 10px 8px;font-size:12.5px;font-weight:800;line-height:1.35}
.libcap span{font-weight:600;font-size:10.5px;opacity:.85}
.bioimg{width:100%;border-radius:14px;margin:8px 0;display:block}
.bioVid iframe,.bioVid video{width:100%;aspect-ratio:16/9;border:0;border-radius:14px;background:#000;display:block}
.qualrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.qualb{width:74px;height:74px;border:1.5px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.qualb img{max-width:88%;max-height:88%}
.qualb .qx{position:absolute;top:2px;right:5px;color:var(--sub);font-size:13px;cursor:pointer}
.qadd{border-style:dashed;color:var(--or);font-size:26px;cursor:pointer}
.feedfix{position:sticky;top:0;z-index:40;background:var(--bg);box-shadow:0 8px 16px -14px rgba(20,24,27,.28)}
img{-webkit-touch-callout:none;-webkit-user-drag:none}
video{-webkit-touch-callout:none}
.pimgs img,.gtile img,.gtile video,.advid img,.advid video,.bioimg,.shortitem video{user-select:none;-webkit-user-select:none}
.shcard{display:flex;gap:10px;align-items:center;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:8px;cursor:pointer;max-width:230px}
.shcard img,.shcard video{width:54px;height:54px;object-fit:cover;border-radius:10px;background:var(--bg)}
.shcard span{font-size:12px;color:var(--ink);font-weight:700;line-height:1.35}
#pv{position:fixed;inset:0;background:rgba(20,24,27,.95);z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;animation:fadein .16s ease}
.pvx{position:absolute;top:14px;right:16px;background:rgba(255,255,255,.14);border:0;color:#fff;width:38px;height:38px;border-radius:50%;font-size:17px;cursor:pointer;z-index:2}
.pvtrack{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;width:100%;max-width:560px;scrollbar-width:none}
.pvtrack::-webkit-scrollbar{display:none}
.pvslide{flex:0 0 100%;scroll-snap-align:center;display:flex;align-items:center;justify-content:center}
.pvslide img{max-width:100%;max-height:68vh;border-radius:18px;object-fit:contain;box-shadow:0 18px 50px rgba(0,0,0,.5)}
.pvdots{display:flex;gap:6px;margin-top:14px}
.pvdot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35)}
.pvdot.on{background:var(--or)}
.pvbar2{background:#fff;border-radius:999px;padding:12px 26px;display:flex;gap:28px;align-items:center;margin-top:18px;box-shadow:0 12px 34px rgba(0,0,0,.4)}
.pvbar2 button{background:none;border:0;color:var(--ink);cursor:pointer;display:flex;align-items:center}
.pvbar2 button.liked,.pvbar2 button.on{color:var(--or)}
.betapill{background:var(--or-soft);color:var(--or-d);font-size:10px;font-weight:800;padding:3px 8px;border-radius:10px;margin-left:7px;cursor:pointer;letter-spacing:.05em;flex:0 0 auto}
.betabar{position:fixed;left:50%;transform:translateX(-50%);bottom:88px;width:calc(100% - 28px);max-width:452px;background:var(--ink);color:#fff;border-radius:18px;padding:14px 52px 14px 16px;z-index:45;box-shadow:0 14px 34px rgba(20,24,27,.38);animation:fadein .22s ease}
.betabar b{font-size:14px;letter-spacing:.01em}
.betabar p{font-size:12.5px;color:#C8CED4;margin-top:4px;line-height:1.5}
.betabar a{color:#FF8A50;font-weight:800;cursor:pointer;text-decoration:none}
.betabar .bx{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.16);border:0;color:#fff;width:32px;height:32px;border-radius:50%;font-size:15px;font-weight:800;cursor:pointer;line-height:1}
.cpmedia{position:relative;border:2px dashed var(--line);border-radius:18px;min-height:150px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;overflow:hidden}
.cpmedia .cpadd{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--or);padding:22px;text-align:center}
.cpmedia .cpadd span{color:var(--ink);font-weight:700;font-size:14px}
.cpmedia .cpadd .mini2{color:var(--sub);font-weight:500;font-size:12px}
.mini2{color:var(--sub);font-weight:500;font-size:12px}
.cpthumbs{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;width:100%}
.cpthumbs img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.cpvid{width:100%;max-height:300px;object-fit:cover;display:block}
.cpclear{position:absolute;top:10px;right:10px;background:rgba(20,24,27,.68);border:0;color:#fff;width:32px;height:32px;border-radius:50%;font-size:14px;font-weight:800;cursor:pointer}
.ppart{font-size:12.5px;color:var(--sub);padding:2px 16px 6px}
.ppart a{color:var(--or);font-weight:700;cursor:pointer;text-decoration:none}

.rxbtn{background:#fff;border:1.5px solid var(--line);border-radius:14px;font-size:26px;padding:8px 10px;cursor:pointer}
.rxbtn:active{transform:scale(1.15)}

/* v4.13.2 — surfaces tapables : jamais de selection de texte */
.nrow,.urow,.mrow,.shortitem,.acitem,.acbox,.srow,.pmi,.sheet button,.rxbtn,.chip,.navbar,.tabbar,.stbtn{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
