/* ============================================================
   YellenHub v0.19 — Profil Pro + options de publication
   ============================================================ */
.yh-pf{position:absolute;inset:0;display:flex;flex-direction:column;background:var(--bg,#0A0A0B);color:#F5F5F2;z-index:1}
.yh-pf-top{position:relative;z-index:5;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:6px;
  padding:calc(env(safe-area-inset-top,0px) + 8px) 8px 8px;background:rgba(10,10,11,.92);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06)}
.yh-pf-top-t{text-align:center;font-weight:800;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;gap:5px}
.yh-ib{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:transparent}
.yh-ib:active{background:rgba(255,255,255,.08)}
.yh-ib svg{width:24px;height:24px;fill:currentColor}
.yh-ib svg[fill="none"]{fill:none}
.yh-pf-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}
.yh-pf-scroll::-webkit-scrollbar{display:none}

/* couverture + tête */
.yh-pf-cover{height:150px;background:#18181c center/cover no-repeat;
  background-image:radial-gradient(120% 140% at 0% 0%,rgba(255,197,49,.35),transparent 55%),radial-gradient(120% 140% at 100% 0%,rgba(255,46,99,.35),transparent 55%),linear-gradient(180deg,#1c1c22,#111114)}
.yh-pf-head{position:relative;padding:0 16px;text-align:center;margin-top:-52px}
.yh-pf-av{width:104px;height:104px;margin:0 auto;border-radius:50%;padding:3px;background:linear-gradient(135deg,#FFC531,#FF6A3D,#FF2E63);cursor:pointer;position:relative}
.yh-pf-av>img,.yh-pf-av>.init{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #0A0A0B;display:grid;place-items:center;background:#202024;font-size:40px;font-weight:800;color:#fff}
.yh-pf-av.me::after{content:"+";position:absolute;right:4px;bottom:4px;width:26px;height:26px;border-radius:50%;background:#FF2E63;color:#fff;font-weight:900;display:grid;place-items:center;border:3px solid #0A0A0B;font-size:16px;line-height:1}
.yh-pf-name{margin:10px 0 2px;font-size:21px;font-weight:850;letter-spacing:-.01em;display:flex;align-items:center;justify-content:center;gap:6px}
.yh-vf{display:inline-flex;width:18px;height:18px}.yh-vf svg{width:100%;height:100%}
.yh-pf-handle{color:rgba(245,245,242,.6);font-size:14px}
.yh-pf-handle em{font-style:normal;font-size:11px;background:rgba(255,255,255,.1);padding:2px 7px;border-radius:6px;margin-left:4px;color:#ddd}

/* stats */
.yh-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:16px 0 14px}
.yh-stats button{display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff;padding:4px 0;position:relative}
.yh-stats button+button::before{content:"";position:absolute;left:0;top:25%;height:50%;width:1px;background:rgba(255,255,255,.12)}
.yh-stats b{font-size:18px;font-weight:850}
.yh-stats span{font-size:11.5px;color:rgba(245,245,242,.6)}

/* boutons */
.yh-actions{display:flex;gap:8px;justify-content:center}
.yh-actions .yh-btn{flex:1;max-width:190px}
.yh-actions .yh-btn.sq{flex:0 0 46px;max-width:46px;padding:0}
.yh-btn{height:44px;border-radius:12px;padding:0 12px;font-weight:800;font-size:14px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#fff;transition:transform .12s}
.yh-btn:active{transform:scale(.97)}
.yh-btn svg{width:18px;height:18px}
.yh-btn.grad{background:linear-gradient(103deg,#FFC531 0%,#FF6A3D 46%,#FF2E63 100%);color:#111}
.yh-btn.soft{background:#222227;border:1px solid rgba(255,255,255,.06)}
.yh-btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.18)}
.yh-btn.danger{background:#FF2E63}
.yh-btn.wa{background:#25D366;color:#fff}.yh-btn.wa svg{width:22px;height:22px}
.yh-btn.block{width:100%;margin-top:14px;height:50px;font-size:15.5px}
.yh-btn:disabled{opacity:.6}

.yh-bio{margin:14px auto 0;max-width:520px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.yh-addbio{margin-top:12px;color:rgba(245,245,242,.6);font-size:13.5px;padding:6px 12px;border:1px dashed rgba(255,255,255,.2);border-radius:10px}
.yh-infos{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin-top:10px}
.yh-info{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:rgba(245,245,242,.72);text-decoration:none;max-width:100%}
.yh-info svg{width:15px;height:15px;flex:none}
.yh-info span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
a.yh-info{color:#FFC531;font-weight:700}
.yh-contacts{display:flex;justify-content:center;gap:8px;margin-top:14px}
.yh-ct{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:999px;background:#1a1a1e;border:1px solid rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:13px;font-weight:700}
.yh-ct svg{width:17px;height:17px}
.yh-ct:first-child svg{color:#25D366}

/* tableau de bord perso */
.yh-dash{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 4px}
.yh-dash button{display:flex;align-items:center;gap:8px;text-align:left;padding:10px;border-radius:14px;background:#151518;border:1px solid rgba(255,255,255,.07);color:#fff;font-size:18px;min-width:0}
.yh-dash button svg{width:20px;height:20px;flex:none;color:#FFC531}
.yh-dash span{display:flex;flex-direction:column;min-width:0}
.yh-dash b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yh-dash small{font-size:10.5px;color:rgba(245,245,242,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yh-req-slot #req-block{margin:14px 16px 0}

/* onglets */
.yh-tabs{position:sticky;top:0;z-index:4;display:flex;margin-top:18px;background:rgba(10,10,11,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08);overflow-x:auto;scrollbar-width:none}
.yh-tabs::-webkit-scrollbar{display:none}
.yh-tabs button{flex:1 0 auto;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 8px 9px;color:rgba(245,245,242,.5);position:relative;font-size:11px;font-weight:700}
.yh-tabs button svg{width:21px;height:21px}
.yh-tabs button.on{color:#fff}
.yh-tabs button.on::after{content:"";position:absolute;bottom:0;left:22%;right:22%;height:2.5px;border-radius:2px;background:linear-gradient(90deg,#FFC531,#FF2E63)}

/* grille */
.yh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
@media (min-width:700px){.yh-grid{grid-template-columns:repeat(4,1fr)}.yh-pf-cover{height:220px}}
.yh-card{position:relative;aspect-ratio:3/4;background:#16161a;overflow:hidden;cursor:pointer;user-select:none;-webkit-user-select:none}
.yh-card img{width:100%;height:100%;object-fit:cover;display:block}
.yh-card::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(transparent,rgba(0,0,0,.65));pointer-events:none}
.yh-noth{width:100%;height:100%;display:grid;place-items:center;font-size:28px;opacity:.5}
.yh-views{position:absolute;left:6px;bottom:5px;z-index:1;font-size:12px;font-weight:800;display:flex;align-items:center;gap:3px;text-shadow:0 1px 3px #000}
.yh-views svg{width:13px;height:13px}
.yh-dur{position:absolute;right:6px;bottom:5px;z-index:1;font-size:11px;font-weight:700;text-shadow:0 1px 3px #000}
.yh-by{position:absolute;left:6px;top:6px;z-index:1;font-size:11px;font-weight:800;text-shadow:0 1px 3px #000;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yh-bdgs{position:absolute;left:5px;top:5px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.yh-bdg{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:800;padding:2px 6px;border-radius:6px;background:rgba(0,0,0,.6);color:#fff;backdrop-filter:blur(4px)}
.yh-bdg svg{width:10px;height:10px}
.yh-bdg.pin{background:#FF2E63}
.yh-bdg.boost{background:linear-gradient(135deg,#FFC531,#FF6A3D);color:#111}
.yh-bdg.wait{background:#3b3b44}.yh-bdg.bad{background:#b3261e}
.yh-card-more{position:absolute;top:4px;right:4px;z-index:2;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.45);display:grid;place-items:center;color:#fff}
.yh-card-more svg{width:16px;height:16px;fill:#fff}

.yh-empty{text-align:center;padding:48px 24px;color:rgba(245,245,242,.6)}
.yh-empty-ic{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;border:2px solid rgba(255,255,255,.18);display:grid;place-items:center}
.yh-empty-ic svg{width:28px;height:28px}
.yh-empty b{display:block;color:#fff;font-size:16px;margin-bottom:4px}
.yh-empty p{font-size:13.5px;margin:0 0 16px;line-height:1.4}
.yh-loading{text-align:center;padding:36px;color:rgba(245,245,242,.55)}

/* boutique */
.yh-sellbtn{margin:12px;width:calc(100% - 24px)}
.yh-shop{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:12px}
@media (min-width:700px){.yh-shop{grid-template-columns:repeat(4,1fr)}}
.yh-prod{background:#141416;border:1px solid #232326;border-radius:14px;overflow:hidden;cursor:pointer}
.yh-prod-img{position:relative;aspect-ratio:1;background:#0d0d0f}
.yh-prod-img img{width:100%;height:100%;object-fit:cover}
.yh-prod-img .yh-bdg{position:absolute;top:6px;left:6px}
.yh-sold{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.55);font-weight:900;letter-spacing:.1em}
.yh-prod-t{padding:8px 9px 0;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yh-prod-p{padding:2px 9px 9px;color:#FF6A3D;font-weight:850;font-size:14px}
.yh-note{font-size:12px;color:rgba(245,245,242,.5);text-align:center;margin:12px 16px;line-height:1.4}

/* squelette */
.sk{background:linear-gradient(90deg,#17171b 25%,#222228 50%,#17171b 75%);background-size:200% 100%;animation:yhsk 1.2s infinite}
.sk-line{height:14px;border-radius:7px;margin:10px auto}
@keyframes yhsk{to{background-position:-200% 0}}

/* ---------------- feuilles ---------------- */
.yh-sheet{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center}
.yh-sheet-bg{position:absolute;inset:0;background:rgba(0,0,0,.6);opacity:0;transition:opacity .2s}
.yh-sheet-panel{position:relative;width:100%;max-width:560px;max-height:82vh;display:flex;flex-direction:column;background:#141417;border-radius:22px 22px 0 0;
  padding:6px 0 calc(14px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.8,.2,1);color:#fff}
.yh-sheet-panel.tall{max-height:90vh}
.yh-sheet.open .yh-sheet-bg{opacity:1}.yh-sheet.open .yh-sheet-panel{transform:none}
.yh-sheet-grip{width:40px;height:4px;border-radius:2px;background:rgba(255,255,255,.22);margin:4px auto 6px}
.yh-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:4px 16px 8px}
.yh-sheet-head b{font-size:16px}
.yh-x{width:34px;height:34px;border-radius:50%;background:#26262b;color:#fff;font-size:15px}
.yh-sheet-body{overflow-y:auto;padding:0 16px 4px}

.yh-ps-head{display:flex;gap:12px;align-items:center;padding:6px 0 12px;border-bottom:1px solid rgba(255,255,255,.07)}
.yh-ps-head img,.yh-ps-head .yh-noth{width:48px;height:64px;border-radius:8px;object-fit:cover;flex:none;background:#222}
.yh-ps-head b{font-size:14px}
.yh-ps-head p{margin:2px 0 0;font-size:12.5px;color:rgba(245,245,242,.6);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.yh-share-row{display:flex;gap:6px;overflow-x:auto;padding:14px 0 10px;scrollbar-width:none}
.yh-share-row::-webkit-scrollbar{display:none}
.yh-share-ic{flex:0 0 74px;display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;text-decoration:none;font-size:11.5px;text-align:center}
.yh-share-ic i{width:52px;height:52px;border-radius:50%;background:#26262b;display:grid;place-items:center;font-style:normal;font-size:20px}
.yh-share-ic i svg{width:24px;height:24px}
.yh-share-ic i.wa{background:#25D366}
.yh-share-ic i.wa svg{fill:#fff}

.yh-opts{display:flex;flex-direction:column;gap:2px;padding-top:4px}
.yh-opt{display:flex;align-items:center;gap:12px;width:100%;padding:12px 6px;border-radius:12px;text-align:left;color:#fff;cursor:pointer}
.yh-opt:active{background:rgba(255,255,255,.05)}
.yh-opt .i{width:38px;height:38px;flex:none;border-radius:11px;background:#212126;display:grid;place-items:center;font-size:18px}
.yh-opt .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.yh-opt .t b{font-size:14.5px;font-weight:700}
.yh-opt .t small{font-size:12px;color:rgba(245,245,242,.55)}
.yh-opt .c{color:rgba(255,255,255,.35);font-size:22px}
.yh-opt.hl .i{background:linear-gradient(135deg,#FFC531,#FF2E63)}
.yh-opt.danger b{color:#FF4D73}
.yh-opt input{display:none}
.yh-sw{width:46px;height:26px;border-radius:999px;background:#44444b;position:relative;transition:.2s;flex:none}
.yh-sw::after{content:"";position:absolute;width:22px;height:22px;top:2px;left:2px;border-radius:50%;background:#fff;transition:.2s}
.yh-opt input:checked+.yh-sw{background:#FF2E63}
.yh-opt input:checked+.yh-sw::after{left:22px}
.yh-state{padding:10px 12px;margin-top:6px;border-radius:12px;background:#22222a;font-size:13.5px;font-weight:700}
.yh-state.bad{background:rgba(179,38,30,.25)}
.yh-state small{display:block;font-weight:400;color:rgba(245,245,242,.6);margin-top:3px}

.yh-menu{display:flex;flex-direction:column;padding:4px 0 6px}
.yh-menu button{display:flex;align-items:center;gap:14px;padding:14px 6px;color:#fff;font-size:15px;font-weight:600;text-align:left;border-bottom:1px solid rgba(255,255,255,.05)}
.yh-menu button:last-child{border-bottom:0}
.yh-menu button span{width:26px;text-align:center;font-size:18px}
.yh-menu button.danger{color:#FF4D73}

.yh-confirm{text-align:center;padding:10px 4px}
.yh-confirm h3{margin:6px 0;font-size:18px}
.yh-confirm p{margin:0 0 18px;color:rgba(245,245,242,.65);font-size:14px;line-height:1.4}
.yh-row2{display:flex;gap:10px}.yh-row2 .yh-btn{flex:1;height:48px}

/* boost */
.yh-boost-hero{display:flex;gap:12px;align-items:center;padding:12px;border-radius:16px;background:linear-gradient(135deg,rgba(255,197,49,.14),rgba(255,46,99,.14));border:1px solid rgba(255,106,61,.25)}
.yh-boost-hero img{width:56px;height:74px;border-radius:9px;object-fit:cover;flex:none}
.yh-boost-hero b{font-size:15px}
.yh-boost-hero p{margin:4px 0 0;font-size:12.5px;line-height:1.4;color:rgba(245,245,242,.75)}
.yh-boost-hero em{font-style:normal;font-weight:800;color:#FFC531}
.yh-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}
.yh-plan{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 4px;border-radius:14px;background:#1d1d22;border:2px solid transparent;color:#fff}
.yh-plan b{font-size:15px}.yh-plan span{font-size:12.5px;color:#FFC531;font-weight:800}.yh-plan small{font-size:10.5px;color:rgba(245,245,242,.5)}
.yh-plan em{position:absolute;top:-8px;right:-4px;font-style:normal;font-size:14px}
.yh-plan.on{border-color:#FF2E63;background:#26161c}
.yh-boost-sum{display:flex;justify-content:space-between;align-items:center;padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.06);font-size:14px}
.yh-boost-sum span{color:rgba(245,245,242,.65)}
.yh-boost-sum b.low{color:#FF4D73}
.yh-bar{height:6px;border-radius:3px;background:#26262b;overflow:hidden;margin:6px 0 4px}
.yh-bar i{display:block;height:100%;background:linear-gradient(90deg,#FFC531,#FF2E63)}
.yh-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:8px}
.yh-stat{padding:12px;border-radius:14px;background:#1b1b20}
.yh-stat b{display:block;font-size:20px;font-weight:850}
.yh-stat span{font-size:12px;color:rgba(245,245,242,.55)}

.yh-ta{width:100%;padding:14px;border-radius:14px;background:#1d1d22;color:#fff;border:1px solid #2e2e34;font-size:15px;resize:vertical;outline:none}
.yh-ta:focus{border-color:#FF2E63}
.yh-count{text-align:right;font-size:12px;color:rgba(245,245,242,.5);margin-top:4px}
.yh-choices{display:flex;flex-direction:column;gap:8px;padding:6px 0}
.yh-choice{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:#1b1b20;border:2px solid transparent;color:#fff;text-align:left}
.yh-choice i{font-style:normal;font-size:22px}
.yh-choice span{display:flex;flex-direction:column;gap:2px}
.yh-choice small{color:rgba(245,245,242,.55);font-size:12px}
.yh-choice.on{border-color:#FF2E63}

/* champs profil enrichis */
#yh-e-extra{display:flex;flex-direction:column}
#edit-sheet .sheet-panel{max-height:88vh;overflow-y:auto}

/* visionneuse */
.yh-ov{position:absolute;inset:0;pointer-events:none;z-index:3}
.yh-ov-rail{position:absolute;right:10px;bottom:calc(90px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:16px;pointer-events:auto}
.yh-ov-rail button{display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;font-size:12px;font-weight:800;text-shadow:0 1px 3px #000}
.yh-ov-rail svg{width:32px;height:32px;fill:#fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.7))}
.yh-ov-rail svg[fill="none"]{fill:none;stroke:#fff}
.yh-ov-rail button.on svg{fill:#FF2E63}
.yh-ov-info{position:absolute;left:14px;right:80px;bottom:calc(30px + env(safe-area-inset-bottom,0px));pointer-events:none;text-shadow:0 1px 3px #000}
.yh-ov-info b{font-size:15px}
.yh-ov-info p{margin:4px 0 0;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yh-ov-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:26px;pointer-events:auto;display:none}
.yh-ov-nav.prev{left:10px}.yh-ov-nav.next{right:10px}
.yh-ov-nav:disabled{opacity:.25}
@media (hover:hover){.yh-ov-nav{display:block}}
body.yh-viewer-open #sheet,body.yh-viewer-open #share-sheet{z-index:120}

/* fil : bouton Plus */
#view-feed .rail .act.yh-more-act{min-height:38px}
#view-feed .rail .act.yh-more-act svg{width:24px;height:24px;fill:#fff}
#view-feed .rail .act.yh-more-act .n{display:none}

/* toast */
#yh-toast{position:fixed;left:50%;bottom:calc(100px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);z-index:400;max-width:88vw;
  background:rgba(30,30,34,.96);color:#fff;padding:11px 16px;border-radius:12px;font-size:14px;font-weight:600;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 8px 24px rgba(0,0,0,.4);text-align:center}
#yh-toast.show{opacity:1;transform:translate(-50%,0)}
#yh-toast.err{background:#8e1b34}

/* icônes vectorielles (aucun emoji) */
.yh-opt .i{color:#e9e9ec}
.yh-opt .i svg{width:20px;height:20px}
.yh-opt.hl .i{color:#fff}
.yh-opt.danger .i{color:#FF4D73}
.yh-opt .c{display:flex;align-items:center}
.yh-opt .c svg{width:18px;height:18px}
.yh-menu button span{display:flex;align-items:center;justify-content:center}
.yh-menu button span svg{width:21px;height:21px}
.yh-dash button svg{width:22px;height:22px;flex:none;color:#FFC531}
.yh-actions .yh-btn.sq svg{width:20px;height:20px}
.yh-bdg svg{width:11px;height:11px}
.yh-plan em{color:#FFC531}.yh-plan em svg{width:15px;height:15px}
.yh-x{display:grid;place-items:center}.yh-x svg{width:16px;height:16px}
.yh-choice i{display:flex;color:#fff}.yh-choice i svg{width:22px;height:22px}
.yh-noth svg{width:28px;height:28px}
.yh-btn.block svg{width:20px;height:20px}
