/* ===== Fosible UI2 — TikTok-style layout, Fosible palette (#0a0a0a / #1c1c1c / #d8a183) ===== */
:root{--fx-sw:240px;--fx-rail:72px;--fx-dw:380px;--fx-hov:rgba(255,255,255,.06);--fx-ln:rgba(255,255,255,.08)}
.fx-side,.fx-drawer,.fx-pop{display:none}
.fx-shell .main.fx-main{max-width:none;border:0;margin:0;width:auto}
.fx-page{max-width:760px;margin:0 auto;padding:22px 20px 40px;box-sizing:border-box}
.fx-page.fx-wide{max-width:1240px}
.fx-ttl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 18px}
.fx-ttl h1{font-size:26px;font-weight:900;margin:0;letter-spacing:-.3px;flex:1;min-width:140px}
.fx-h2{font-size:18px;font-weight:800;margin:26px 0 12px}
.fx-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:70px 20px;color:var(--mut)}
.fx-empty .ic{width:46px;height:46px;color:var(--acc);opacity:.9}
.fx-empty h3{color:var(--tx);margin:6px 0 0;font-size:18px}.fx-empty p{margin:0;max-width:340px;line-height:1.45}
.fx-empty.sm{padding:26px 14px}.fx-empty.sm .ic{width:30px;height:30px}
.fx-note{display:flex;align-items:center;gap:8px;color:var(--mut);font-size:12.5px;margin:10px 2px}.fx-note .ic{width:15px;height:15px;flex:none}
.fx-cimg{object-fit:contain;flex:none;vertical-align:middle}
.fx-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;scrollbar-width:none}.fx-chips::-webkit-scrollbar{display:none}
.fx-chip{flex:none;height:34px;padding:0 15px;border-radius:10px;background:var(--card);color:var(--tx);font-weight:700;font-size:14px;border:1px solid transparent;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}
.fx-chip small{color:var(--mut);font-weight:600}.fx-chip:hover{background:var(--card2)}
.fx-chip.on{background:var(--tx);color:var(--bg)}
.fx-seg{display:inline-flex;background:var(--card);border-radius:12px;padding:3px}.fx-seg button{height:34px;padding:0 16px;border-radius:10px;font-weight:800;color:var(--mut)}.fx-seg button.on{background:var(--card2);color:var(--tx)}
/* ---- sidebar ---- */
@media (min-width:900px){
 .fx-shell{padding-left:var(--fx-sw)!important;transition:padding-left .22s ease}
 html.fx-col .fx-shell,body.fx-dr .fx-shell{padding-left:var(--fx-rail)!important}
 .fx-side{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:var(--fx-sw);padding:14px 10px 12px;box-sizing:border-box;background:var(--bg);border-right:1px solid var(--fx-ln);z-index:60;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;transition:width .22s ease}
 html.fx-col .fx-side,body.fx-dr .fx-side{width:var(--fx-rail)}
 html.fx-col .fx-lb,body.fx-dr .fx-lb{display:none!important}
 .fx-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:2px 4px 12px}
 .fx-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:900;letter-spacing:-.4px;color:var(--tx);min-width:0}
 .fx-brand img{width:36px;height:36px;border-radius:10px;flex:none}
 .fx-tog{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--mut2);flex:none}.fx-tog:hover{background:var(--fx-hov);color:var(--tx)}
 html.fx-col .fx-head,body.fx-dr .fx-head{flex-direction:column;padding:2px 0 10px}
 html.fx-col .fx-brand,body.fx-dr .fx-brand{display:none}
 .fx-search{display:flex;align-items:center;height:40px;border-radius:20px;background:var(--card);margin:0 2px 10px;padding:0 4px 0 2px}
 .fx-search input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--tx);font:inherit;font-size:14.5px;padding:0 10px 0 2px}
 .fx-sbtn{width:36px;height:36px;display:grid;place-items:center;color:var(--mut)}.fx-sbtn .ic{width:19px;height:19px}
 html.fx-col .fx-search,body.fx-dr .fx-search{background:none;margin:0 0 6px;justify-content:center}
 html.fx-col .fx-search input,body.fx-dr .fx-search input{display:none}
 html.fx-col .fx-sbtn,body.fx-dr .fx-sbtn{width:48px;height:44px;border-radius:12px;color:var(--tx)}
 html.fx-col .fx-sbtn:hover,body.fx-dr .fx-sbtn:hover{background:var(--fx-hov)}
 .fx-menu{display:flex;flex-direction:column;gap:2px}
 .fx-it{display:flex;align-items:center;gap:14px;height:46px;padding:0 12px;border-radius:12px;font-size:16.5px;font-weight:800;color:var(--tx);position:relative;white-space:nowrap}
 .fx-it .ic{width:25px;height:25px;flex:none}.fx-it:hover{background:var(--fx-hov)}
 .fx-it.on{color:var(--acc)}.fx-it.on .ic-home{fill:var(--acc)}
 .fx-it .fx-av,.fx-it .av-ph{width:26px!important;height:26px!important;border-radius:50%;flex:none;object-fit:cover}
 .fx-it.on .fx-av{box-shadow:0 0 0 2px var(--acc)}
 html.fx-col .fx-it,body.fx-dr .fx-it{justify-content:center;padding:0;width:48px;margin:0 auto}
 .fx-dot{width:8px;height:8px;border-radius:50%;background:var(--acc);display:inline-block;margin-left:auto}
 .fx-badge{margin-left:auto;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--acc);color:#111;font-size:11px;font-weight:900;font-style:normal;display:inline-grid;place-items:center}
 html.fx-col .fx-it .fx-dot,body.fx-dr .fx-it .fx-dot,html.fx-col .fx-it .fx-badge,body.fx-dr .fx-it .fx-badge{position:absolute;top:6px;right:6px;margin:0}
 .fx-sec{border-top:1px solid var(--fx-ln);margin:12px 4px 0;padding-top:12px}
 .fx-sh{font-size:13px;font-weight:800;color:var(--mut2);padding:0 8px 6px}
 html.fx-col .fx-sec,body.fx-dr .fx-sec{margin:10px 0 0;padding-top:10px}
 .fx-fe{font-size:13px;color:var(--mut);padding:4px 8px}
 html.fx-col .fx-fe,body.fx-dr .fx-fe{display:none}
 .fx-fu{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;color:var(--tx);min-width:0}
 .fx-fu:hover{background:var(--fx-hov)}.fx-fu img,.fx-fu .av-ph{width:32px!important;height:32px!important;flex:none;border-radius:50%}
 .fx-fu b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-fu small{display:block;font-size:12px;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html.fx-col .fx-fu,body.fx-dr .fx-fu{justify-content:center;padding:5px 0}
 .fx-coin{display:flex;align-items:center;gap:10px;margin:12px 2px 6px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,rgba(216,161,131,.18),rgba(216,161,131,.06));border:1px solid rgba(216,161,131,.25);color:var(--tx)}
 .fx-coin:hover,.fx-coin.on{border-color:var(--acc)}.fx-coin b{display:block;font-size:15px;font-weight:900}.fx-coin small{display:block;color:var(--acc);font-weight:800;font-size:12.5px}
 html.fx-col .fx-coin,body.fx-dr .fx-coin{justify-content:center;padding:8px 0;margin:10px 4px 6px}
 .fx-foot{display:flex;flex-wrap:wrap;gap:4px 10px;padding:12px 8px 4px;font-size:11.5px;color:var(--mut)}.fx-foot a{color:var(--mut)}.fx-foot a:hover{color:var(--tx)}
 .fx-pop{display:block;position:fixed;z-index:9000;min-width:236px;background:var(--card);color:var(--tx);border:1px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 18px 50px rgba(0,0,0,.6);animation:fade .14s ease}
 .fx-pop a{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border-radius:10px;font-weight:700;color:var(--tx)}.fx-pop a:hover{background:var(--fx-hov)}.fx-pop .ic{width:20px;height:20px}
 .fx-pop hr{border:0;border-top:1px solid var(--line);margin:6px 4px}
 /* drawer */
 .fx-drawer{display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:var(--fx-rail);width:var(--fx-dw);background:var(--bg);border-right:1px solid var(--fx-ln);z-index:55;transform:translateX(-110%);visibility:hidden;transition:transform .22s ease,visibility .22s}
 .fx-drawer.open{transform:none;visibility:visible}
 body.fx-dr .fx-shell{padding-left:calc(var(--fx-rail) + var(--fx-dw))!important}
 /* hide old side if present */
 .fx-shell .side{display:none!important}
}
/* ---- drawer content ---- */
.fx-dh{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 10px}.fx-dh h3{margin:0;font-size:22px;font-weight:900}
.fx-dl{flex:1;overflow-y:auto;padding:4px 8px 16px}
.fx-cv{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border-radius:12px;text-align:left;color:var(--tx)}
.fx-cv:hover{background:var(--fx-hov)}.fx-cv .tt{flex:1;min-width:0}.fx-cv b{display:flex;align-items:center;gap:4px;font-size:15px;overflow:hidden;white-space:nowrap}
.fx-cv small{display:block;color:var(--mut);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-cv.unread small{color:var(--tx);font-weight:800}
.fx-drawer .fx-chat{height:100%;padding-bottom:0}
/* ---- feed ---- */
body.fx-feedpage{overflow:hidden}
.fx-main.full{padding:0!important;min-height:0}
.fx-feed{position:relative;height:100vh;height:100dvh}
.fx-fs{height:100vh;height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.fx-fs::-webkit-scrollbar{display:none}
.fx-fs>.fx-empty{height:100%}
.fx-sl{height:100vh;height:100dvh;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;box-sizing:border-box;position:relative}
.fx-wrap{display:flex;align-items:flex-end;gap:18px}
.fx-stage{position:relative;background:#000;border-radius:16px;overflow:hidden;aspect-ratio:var(--ar);max-height:calc(100dvh - 36px)}
.fx-stage>video,.fx-stage>img{width:100%;height:100%;object-fit:contain;display:block;background:#000}
.fx-pp{position:absolute;inset:0;display:none;place-items:center;pointer-events:none}.fx-pp .ic{width:64px;height:64px;color:rgba(255,255,255,.85);filter:drop-shadow(0 2px 10px rgba(0,0,0,.5))}
.fx-stage.paused .fx-pp{display:grid}
.fx-tl,.fx-tr{position:absolute;top:12px;display:flex;align-items:center;gap:6px;z-index:3;opacity:.0;transition:opacity .18s}
.fx-tl{left:12px}.fx-tr{right:12px}
.fx-stage:hover .fx-tl,.fx-stage:hover .fx-tr,.fx-stage:focus-within .fx-tl,.fx-stage:focus-within .fx-tr{opacity:1}
.fx-cb{height:36px;min-width:36px;padding:0 9px;border-radius:18px;background:rgba(0,0,0,.45);color:#fff;display:inline-grid;place-items:center;font-weight:900;font-size:13px;backdrop-filter:blur(8px)}
.fx-cb .ic{width:19px;height:19px}.fx-cb.on{color:var(--acc)}
.fx-vol{width:0;opacity:0;transition:width .18s,opacity .18s;accent-color:var(--acc)}
.fx-tl:hover .fx-vol,.fx-vol:focus{width:84px;opacity:1}
.fx-meta{position:absolute;left:0;right:0;bottom:0;padding:60px 16px 22px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;z-index:2;pointer-events:none}
.fx-meta a,.fx-mc{pointer-events:auto}.fx-mn{font-weight:900;font-size:16px;color:#fff;display:inline-flex;align-items:center;gap:4px}.fx-md{font-size:13px;color:rgba(255,255,255,.75)}
.fx-mc{margin-top:6px;font-size:14.5px;line-height:1.38;max-height:4.2em;overflow:hidden;word-break:break-word}.fx-mc a{color:#fff;font-weight:800}
.fx-prog{position:absolute;left:0;right:0;bottom:0;width:100%;height:14px;margin:0;z-index:4;-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;--p:0%}
.fx-prog::-webkit-slider-runnable-track{height:3px;background:linear-gradient(90deg,#fff var(--p),rgba(255,255,255,.3) var(--p))}
.fx-prog::-moz-range-track{height:3px;background:linear-gradient(90deg,#fff var(--p),rgba(255,255,255,.3) var(--p))}
.fx-prog::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#fff;margin-top:-4.5px;opacity:0}
.fx-prog::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#fff;opacity:0}
.fx-prog:hover{height:18px}.fx-prog:hover::-webkit-slider-thumb{opacity:1}.fx-prog:hover::-moz-range-thumb{opacity:1}
.fx-gl,.fx-gr{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;display:grid;place-items:center;z-index:3}
.fx-gl{left:10px}.fx-gr{right:10px}.fx-gc{position:absolute;top:14px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.5);color:#fff;font-size:12px;font-weight:800;padding:3px 9px;border-radius:10px;z-index:3}
.fx-act{display:flex;flex-direction:column;align-items:center;gap:14px;padding-bottom:6px}
.fx-aav{position:relative;margin-bottom:8px}.fx-aav img,.fx-aav .av-ph{width:48px!important;height:48px!important;border-radius:50%;object-fit:cover;display:block}
.fx-fol{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);width:22px;height:22px;border-radius:50%;background:var(--acc);color:#111;display:grid;place-items:center}.fx-fol .ic{width:14px;height:14px;stroke-width:3}
.fx-ab{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--tx);font-size:12px;font-weight:800}
.fx-ai{width:48px;height:48px;border-radius:50%;background:var(--card);display:grid;place-items:center;font-style:normal;transition:transform .12s}
.fx-ai .ic{width:24px;height:24px}.fx-ab:hover .fx-ai{background:var(--card2)}.fx-ab:active .fx-ai{transform:scale(.9)}
.fx-ab.on[data-like] .fx-ai{color:#ff3b5c}.fx-ab.on[data-like] .fx-ai .ic{fill:#ff3b5c;stroke:#ff3b5c}
.fx-ab.on[data-save] .fx-ai{color:var(--acc)}.fx-ab.on[data-save] .fx-ai .ic{fill:var(--acc);stroke:var(--acc)}
.fx-ftabs{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:20;display:flex;gap:22px;font-weight:900;font-size:16.5px;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.fx-ftabs a{color:rgba(255,255,255,.62);padding-bottom:4px;border-bottom:2px solid transparent}.fx-ftabs a.on{color:#fff;border-color:#fff}
.fx-fnav{position:absolute;right:22px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:20}
.fx-fnav button{width:44px;height:44px;border-radius:50%;background:var(--card);color:var(--tx);display:grid;place-items:center}.fx-fnav button:hover{background:var(--card2)}
.fx-mmsg{display:none}
.fx-ov{position:fixed;inset:0;z-index:9500;background:rgba(5,5,5,.97)}
.fx-ov .fx-fs{height:100%}.fx-ov .fx-sl{height:100vh;height:100dvh}
.fx-ovx{position:absolute;top:16px;left:16px;z-index:30;width:44px;height:44px;border-radius:50%;background:var(--card)!important}
/* ---- grid ---- */
.grid.fx-grid{grid-template-columns:repeat(6,1fr);gap:6px}
.fx-gi{position:relative;display:block;aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:#141414}
.fx-gi img,.fx-gi video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.fx-gi:hover img{transform:scale(1.04)}
.fx-gt{padding:12px;font-size:13px;color:#ddd;height:100%;box-sizing:border-box;overflow:hidden}
.fx-gv{position:absolute;left:8px;bottom:7px;display:flex;align-items:center;gap:4px;color:#fff;font-size:13px;font-weight:800;text-shadow:0 1px 4px rgba(0,0,0,.8)}.fx-gv .ic{width:15px;height:15px}
.fx-gm{position:absolute;top:7px;right:7px;color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.7))}.fx-gm .ic{width:18px;height:18px}
@media (max-width:1400px){.grid.fx-grid{grid-template-columns:repeat(5,1fr)}}
@media (max-width:1150px){.grid.fx-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:899px){.grid.fx-grid{grid-template-columns:repeat(3,1fr);gap:2px}.fx-gi{border-radius:0}}
/* ---- explore ---- */
.fx-xs{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:21px;background:var(--card);flex:2;min-width:200px;max-width:460px}
.fx-xs .ic{width:19px;height:19px;color:var(--mut)}.fx-xs input{flex:1;background:none;border:0;outline:0;color:var(--tx);font:inherit;font-size:15px}
.fx-users{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.fx-uc{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px;border-radius:16px;background:var(--card);color:var(--tx);text-align:center}
.fx-uc b{display:flex;align-items:center;gap:4px;font-size:14.5px}.fx-uc small{color:var(--mut)}.fx-uc:hover{background:var(--card2)}
/* ---- profile ---- */
.fx-ph{display:flex;gap:28px;align-items:flex-start;padding:10px 0 22px}
.fx-pav{flex:none;width:180px;height:180px;border-radius:50%;overflow:hidden;background:var(--card)}
.fx-pav .pav,.fx-pav img,.fx-pav .av-ph{width:100%!important;height:100%!important;border-radius:50%;object-fit:cover;display:block}
.fx-pav.ring{width:180px;height:180px;padding:4px;border:3px solid var(--acc);box-sizing:border-box;cursor:pointer;overflow:visible;background:var(--bg)}
.fx-pi{flex:1;min-width:0}
.fx-pn{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fx-pn h1{margin:0;font-size:28px;font-weight:900;letter-spacing:-.3px;word-break:break-all}
.fx-lock .ic{width:18px;height:18px;color:var(--mut)}
.fx-pdn{font-size:17px;font-weight:700;margin:4px 0 14px}
.fx-pbtns{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.fx-pbtns .btn{height:40px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800;padding:0 18px;margin:0;width:auto}
.fx-pb1{min-width:130px}.fx-pbtns .fx-pb2{width:40px;min-width:40px;padding:0}.fx-pb2 .ic{width:20px;height:20px}
.fx-pst{display:flex;gap:22px;margin-bottom:12px}.fx-pst a,.fx-pst span{color:var(--mut2);font-size:15px}.fx-pst b{color:var(--tx);font-size:17px;font-weight:900;margin-right:6px}
.fx-pbio{white-space:pre-wrap;line-height:1.45;font-size:15px;max-width:560px;word-break:break-word}.fx-pbio.mut{color:var(--mut)}
.fx-plink{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:var(--acc);font-weight:800;font-size:14.5px}.fx-plink .ic{width:16px;height:16px}
.fx-ptabs{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--fx-ln);margin-bottom:12px;flex-wrap:wrap}
.fx-pt{display:flex}.fx-pt button{display:flex;align-items:center;gap:8px;height:46px;padding:0 22px;font-weight:800;font-size:16px;color:var(--mut);border-bottom:2px solid transparent;margin-bottom:-1px}
.fx-pt button .ic{width:19px;height:19px}.fx-pt button.on{color:var(--tx);border-color:var(--tx)}
.fx-sort{display:flex;background:var(--card);border-radius:10px;padding:3px;margin-bottom:6px}
.fx-sort button{height:30px;padding:0 13px;border-radius:8px;font-weight:800;font-size:13.5px;color:var(--mut)}.fx-sort button.on{background:var(--card2);color:var(--tx)}
.fx-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.fx-colc{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:16px;background:var(--card);color:var(--tx)}.fx-colc .ic{color:var(--acc)}.fx-colc small{color:var(--mut)}
/* ---- activity ---- */
.fx-nl{display:flex;flex-direction:column;gap:2px}
.fx-nr{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;color:var(--tx)}
.fx-nr:hover{background:var(--fx-hov)}.fx-nr.unread{background:rgba(216,161,131,.07)}
.fx-nr .tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.fx-nr .t1{font-size:14.5px;line-height:1.35;word-break:break-word}.fx-nr .t2{font-size:12.5px;color:var(--mut)}
.fx-nic{display:grid;place-items:center;border-radius:50%;background:var(--card2);color:var(--acc);flex:none}.fx-nic .ic{width:22px;height:22px}
.fx-nth{width:46px;height:60px;border-radius:6px;object-fit:cover;flex:none}
/* ---- upload ---- */
.fx-upg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px}
.fx-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:380px;border:2px dashed #333;border-radius:18px;background:var(--card);text-align:center;padding:24px;cursor:pointer;transition:border-color .15s}
.fx-drop .ic{width:52px;height:52px;color:var(--acc)}.fx-drop b{font-size:18px}.fx-drop small{color:var(--mut)}.fx-drop .btn{margin-top:8px;width:auto;padding:0 26px}
.fx-drop.over,.fx-drop:hover{border-color:var(--acc)}.fx-drop.has{min-height:120px}
.fx-prev{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:12px}
.fx-prev img,.fx-prev video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:10px;background:#000}
.fx-upf{display:flex;flex-direction:column;gap:14px}
.fx-fl{display:flex;flex-direction:column;gap:6px;position:relative}.fx-fl>span{font-weight:800;font-size:14.5px}.fx-fl small{color:var(--mut);font-size:12.5px}
.fx-fl textarea,.fx-fl select,.fx-fl input,.fx-sel2{background:var(--card);border:1px solid #2a2a2a;border-radius:12px;color:var(--tx);font:inherit;font-size:15px;padding:12px 14px;outline:0;resize:vertical;box-sizing:border-box;width:100%}
.fx-fl input{resize:none}
.fx-fl textarea:focus,.fx-fl select:focus,.fx-fl input:focus{border-color:var(--acc)}
.fx-fl [data-cc]{position:absolute;right:12px;top:4px}
.fx-upb{display:flex;gap:10px;justify-content:flex-end;margin-top:6px}.fx-upb .btn{width:auto;min-width:140px;margin:0}
.fx-uplive{max-width:440px;margin:0 auto;padding:4px 0 calc(28px + env(safe-area-inset-bottom,0px))}
.fx-livcard{border-radius:20px;padding:22px 20px 20px;background:linear-gradient(145deg,rgba(216,161,131,.16),rgba(216,161,131,.04) 58%),var(--card);border:1px solid rgba(216,161,131,.24);box-sizing:border-box}
.fx-livehd{display:flex;flex-direction:column;align-items:center;text-align:center}
.fx-liveb{background:var(--acc);color:#111;font-weight:900;font-size:11px;letter-spacing:.1em;padding:5px 11px;border-radius:999px;line-height:1}
.fx-liveic{width:68px;height:68px;border-radius:18px;background:rgba(216,161,131,.2);color:var(--acc);display:grid;place-items:center;margin:14px 0 12px;flex:none}
.fx-liveic .ic{width:34px;height:34px}
.fx-livet{color:var(--tx);margin:0;font-size:21px;font-weight:900;letter-spacing:-.3px;line-height:1.25}
.fx-lives{margin:10px 0 0;max-width:340px;font-size:14.5px;line-height:1.5;color:var(--mut2)}
.fx-livebd{margin-top:22px;display:flex;flex-direction:column;gap:16px;width:100%}
.fx-livefl{text-align:left}
.fx-liveacts{display:flex;flex-direction:column;gap:10px;width:100%}
.fx-liveacts .btn{width:100%;margin:0;height:46px;border-radius:23px;font-size:15px;box-sizing:border-box}
.fx-liveacts .fx-livepri{font-weight:800}
.fx-liveacts .fx-livestu{height:44px;border:1px solid rgba(255,255,255,.1);background:var(--card2);gap:10px;padding:0 18px}
.fx-liveacts .fx-livestu .ic{width:18px;height:18px;flex:none;opacity:.95}
.fx-liveacts .fx-livestu span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-uplive>.err{margin-top:14px;text-align:center;font-size:14px}
/* ---- live ---- */
.fx-live{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:20px}
.fx-livec{text-align:center;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--mut)}
.fx-livec .ic{width:64px;height:64px;color:var(--acc)}.fx-livec h1{color:var(--tx);margin:4px 0 0;font-size:24px}.fx-livec p{margin:0}
.fx-liveb{background:var(--acc);color:#111;font-weight:900;font-size:12px;letter-spacing:.08em;padding:4px 10px;border-radius:6px}
/* ---- coin ---- */
.fx-coinp .fx-ttl .btn{width:auto;margin:0;display:inline-flex;align-items:center;gap:8px;padding:0 16px;height:40px}.fx-coinp .fx-ttl .btn .ic{width:18px;height:18px}
.fx-cu{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 20px;border-radius:20px;background:var(--card)}
.fx-cuu{display:flex;align-items:center;gap:12px}.fx-cuu b{display:block;font-size:16px}.fx-cuu small{color:var(--mut)}
.fx-cub{text-align:right}.fx-cbal{display:flex;align-items:center;gap:8px;justify-content:flex-end}.fx-cbal b{font-size:30px;font-weight:900}.fx-cbal span{color:var(--mut);font-weight:700}.fx-cub small{color:var(--mut)}
.fx-inv{margin-top:16px;padding:20px;border-radius:20px;background:linear-gradient(135deg,rgba(216,161,131,.16),rgba(216,161,131,.04) 60%),var(--card);border:1px solid rgba(216,161,131,.22)}
.fx-invh{display:flex;align-items:center;gap:14px}.fx-invh h3{margin:0 0 4px;font-size:18px}.fx-invh p{margin:0;color:var(--mut2);font-size:14px;line-height:1.45}.fx-invh>div{flex:1}
.fx-invi{width:48px;height:48px;border-radius:14px;background:rgba(216,161,131,.18);color:var(--acc);display:grid;place-items:center;flex:none}.fx-invi .ic{width:26px;height:26px}
.fx-pct{font-size:30px;font-weight:900;color:var(--acc)}
.fx-invc{display:grid;grid-template-columns:1fr 1.6fr;gap:10px;margin-top:16px}
.fx-icode{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;border-radius:14px;background:rgba(0,0,0,.28);min-width:0}
.fx-icode small{color:var(--mut);font-size:12px;white-space:nowrap}.fx-icode b{font-size:20px;letter-spacing:.12em;font-weight:900;flex:1}
.fx-lnk{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;color:var(--mut2)}
.fx-icode .btn{width:auto;height:36px;margin:0;padding:0 12px;display:inline-flex;align-items:center;gap:6px;font-size:13.5px}.fx-icode .btn .ic{width:16px;height:16px}
.fx-trk{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.fx-trk>div{padding:12px;border-radius:14px;background:rgba(0,0,0,.22);text-align:center}.fx-trk b{display:flex;align-items:center;justify-content:center;gap:6px;font-size:20px;font-weight:900}.fx-trk small{color:var(--mut);font-size:12.5px}
.fx-invl{margin-top:10px;display:flex;flex-direction:column;gap:4px}.fx-invl>div{display:flex;justify-content:space-between;font-size:13.5px;color:var(--mut2);padding:4px 2px}.fx-invl b{color:var(--acc)}
.fx-apply{display:flex;gap:8px;margin-top:12px}.fx-apply input{flex:1;height:40px;border-radius:10px;background:rgba(0,0,0,.28);border:1px solid #333;color:var(--tx);font:inherit;padding:0 12px;text-transform:uppercase;letter-spacing:.1em;outline:0}.fx-apply .btn{width:auto;margin:0;height:40px;padding:0 18px}
.fx-pk{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.fx-pkc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 10px;border-radius:16px;background:var(--card);border:2px solid transparent;color:var(--tx);cursor:pointer;min-height:140px;box-sizing:border-box;transition:border-color .12s,transform .12s}
.fx-pkc:hover{background:var(--card2)}.fx-pkc.on{border-color:var(--acc);background:rgba(216,161,131,.08)}
.fx-pkc b{font-size:20px;font-weight:900}.fx-pkc small{color:var(--mut2);font-weight:700}.fx-pkc small.bad{color:var(--red)}
.fx-pkx input{width:100%;max-width:150px;height:36px;border-radius:10px;border:1px solid #333;background:rgba(0,0,0,.3);color:var(--tx);font:inherit;font-weight:800;text-align:center;outline:0}.fx-pkx input:focus{border-color:var(--acc)}
.fx-pay{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:16px 20px;border-radius:18px;background:var(--card);position:sticky;bottom:12px;z-index:5;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.fx-payt small{display:block;color:var(--mut)}.fx-payt b{font-size:24px;font-weight:900;margin-right:10px}.fx-payt span{display:inline-flex;align-items:center;gap:5px;color:var(--mut2);font-weight:700}
.fx-paybtn{width:auto!important;min-width:180px;height:48px;margin:0!important;font-size:16px}.fx-paybtn:disabled{opacity:.45}
.fx-tops{display:flex;flex-direction:column;gap:6px}
.fx-top{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--card);flex-wrap:wrap}
.fx-tc{display:flex;align-items:center;gap:6px;min-width:110px}.fx-ta{font-weight:800;min-width:90px}.fx-td{color:var(--mut);font-size:13px;flex:1}
.fx-st{font-size:12px;font-weight:900;padding:3px 9px;border-radius:8px;background:var(--card2);color:var(--mut2)}.fx-st.completed{background:rgba(63,191,111,.15);color:var(--green)}.fx-st.pending{background:rgba(216,161,131,.15);color:var(--acc)}.fx-st.failed{background:rgba(229,72,77,.15);color:var(--red)}
.fx-top .btn{width:auto;margin:0;height:34px;padding:0 12px;font-size:13px}
.fx-txl{padding:4px 18px 18px}.fx-tx{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--fx-ln)}.fx-tx span b{display:block;font-size:14.5px}.fx-tx small{color:var(--mut);font-size:12px}.fx-tx .cr{color:var(--green)}.fx-tx .db{color:var(--tx)}
/* ---- settings ---- */
.fx-set{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:100vh;min-height:100dvh}
.fx-sn{border-right:1px solid var(--fx-ln);padding:22px 12px;position:sticky;top:0;align-self:start;max-height:100dvh;overflow-y:auto;box-sizing:border-box}
.fx-sn h1{font-size:24px;font-weight:900;margin:0 10px 12px}
.fx-sg{font-size:12.5px;font-weight:900;color:var(--mut);text-transform:uppercase;letter-spacing:.06em;padding:16px 12px 6px}
.fx-sr{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border-radius:12px;color:var(--tx);font-weight:700}.fx-sr:hover{background:var(--fx-hov)}.fx-sr.on{background:var(--card);color:var(--acc)}
.fx-sr .ic{width:20px;height:20px;flex:none}.fx-sr span{flex:1}.fx-sr .chev{width:16px;height:16px;color:var(--mut);opacity:.6}.fx-sr.danger{color:var(--red);margin-top:12px}
.fx-sb{padding:22px 28px 60px;max-width:760px;box-sizing:border-box;width:100%}
.fx-sbh{display:flex;align-items:center;gap:10px;margin-bottom:12px}.fx-sbh h2{margin:0;font-size:22px;font-weight:900}.fx-sback{display:grid!important;place-items:center;background:var(--card2);border-radius:50%;flex:none}
.fx-sbb .srow{border-radius:12px}
.fx-sw{width:22px;height:22px;accent-color:var(--acc)}
.fx-sel2{padding:8px 12px;font-size:14px}
.fx-app{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:rgba(216,161,131,.1);border:1px solid rgba(216,161,131,.25);margin:10px 0 14px}
.fx-app .ic{width:22px;height:22px;color:var(--acc);flex:none;margin-top:2px}.fx-app b{display:block;margin-bottom:2px}.fx-app p{margin:0;color:var(--mut2);font-size:13.5px;line-height:1.45}
/* ---- mobile ---- */
@media (max-width:899px){
 .fx-page{padding:16px 14px 120px}
 .fx-ttl h1{font-size:22px}
 .fx-drawer{display:flex;flex-direction:column;position:fixed;inset:0;z-index:9000;background:var(--bg);transform:translateY(100%);visibility:hidden;transition:transform .22s ease,visibility .22s}
 .fx-drawer.open{transform:none;visibility:visible}
 .fx-drawer .fx-chat{padding-bottom:env(safe-area-inset-bottom)}
 .fx-stage{width:100vw;height:100dvh;max-height:none;border-radius:0;aspect-ratio:auto}
 .fx-wrap{position:relative}
 .fx-act{position:absolute;right:8px;bottom:calc(var(--nav-h) + 40px + env(safe-area-inset-bottom));z-index:5;gap:12px}
 .fx-ai{background:rgba(0,0,0,.28);width:44px;height:44px;color:#fff}.fx-ab{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
 .fx-meta{padding-right:76px;padding-bottom:calc(var(--nav-h) + 40px + env(safe-area-inset-bottom))}
 .fx-prog{bottom:calc(var(--nav-h) + 30px + env(safe-area-inset-bottom))}
 .fx-tl,.fx-tr{opacity:1;top:56px}
 .fx-fnav{display:none}
 .fx-mmsg{display:grid;position:absolute;top:8px;right:10px;z-index:21;color:#fff}
 .fx-ftabs{top:16px}
 .fx-ph{flex-direction:column;align-items:center;text-align:center;gap:14px}
 .fx-pav,.fx-pav.ring{width:112px;height:112px}
 .fx-pn,.fx-pbtns,.fx-pst{justify-content:center}.fx-pn h1{font-size:22px}.fx-pbio{margin:0 auto}
 .fx-pt button{padding:0 14px;font-size:14.5px}.fx-pt button span{display:none}
 .fx-ptabs{justify-content:center}
 .fx-upg{grid-template-columns:1fr}.fx-drop{min-height:220px}
 .fx-uplive{max-width:440px;padding:0 2px 16px}
 .fx-livcard{padding:14px 12px;border-radius:16px}
 .fx-livehd{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"icon title badge" "icon info info";gap:3px 10px;align-items:center;text-align:start}
 .fx-liveb{grid-area:badge;font-size:9px;padding:4px 7px;white-space:nowrap}
 .fx-liveic{grid-area:icon;width:40px;height:40px;border-radius:13px;margin:0}.fx-liveic .ic{width:22px;height:22px}
 .fx-livet{grid-area:title;font-size:16px}.fx-lives{grid-area:info;margin:0;font-size:12px;line-height:1.35}
 .fx-livebd{margin-top:12px;gap:9px}.fx-liveacts{gap:5px}.fx-liveacts .btn{height:44px;font-size:13px}
 .fx-liveacts .fx-livestu{display:none}.fx-uplive>.err{margin-top:8px;font-size:13px}
 .fx-pk{grid-template-columns:repeat(2,1fr)}
 .fx-invc{grid-template-columns:1fr}
 .fx-pay{bottom:calc(var(--nav-h) + 30px + env(safe-area-inset-bottom))}
 .fx-set{grid-template-columns:1fr}
 .fx-set.sub .fx-sn{display:none}.fx-set:not(.sub) .fx-sb{display:none}
 .fx-sn{position:static;max-height:none;border:0;padding:16px 8px 120px}
 .fx-sb{padding:14px 14px 120px}.fx-sback{display:grid!important}
}
@media (min-width:900px) and (max-width:1200px){.fx-pk{grid-template-columns:repeat(3,1fr)}}
/* ---- light theme compatibility ---- */
html[data-theme=light]{--fx-hov:rgba(0,0,0,.05);--fx-ln:rgba(0,0,0,.09)}
@media (prefers-color-scheme:light){html[data-theme=system]{--fx-hov:rgba(0,0,0,.05);--fx-ln:rgba(0,0,0,.09)}}
html[data-theme=light] .fx-pop{box-shadow:0 18px 50px rgba(0,0,0,.16)}
html[data-theme=light] .fx-chip.on{background:#111;color:#fff}
html[data-theme=light] .fx-icode,html[data-theme=light] .fx-trk>div,html[data-theme=light] .fx-apply input{background:rgba(0,0,0,.05)}

/* ---- guest auth modal + sidebar legal ---- */
.fx-amov{position:fixed;inset:0;z-index:12000;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.fx-am{width:100%;max-width:400px;background:#1c1c1c;border:1px solid #2a2a2a;border-radius:24px;padding:26px 22px 18px;position:relative;box-shadow:0 28px 80px rgba(0,0,0,.7);max-height:calc(100dvh - 36px);overflow:auto}
.fx-amx{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#bbb}.fx-amx:hover{background:rgba(255,255,255,.08);color:#fff}
.fx-am .fx-amlogo{width:52px;height:52px;border-radius:14px;display:block;margin:6px auto 10px}
.fx-am h2{text-align:center;font-size:22px;font-weight:900;margin:0 0 20px;letter-spacing:-.3px}
.fx-amp{display:flex;align-items:center;gap:14px;width:100%;height:52px;border-radius:26px;background:#2a2a2a;color:#fff;font-weight:800;font-size:15.5px;padding:0 18px;margin:0 0 10px;border:1px solid #333;box-sizing:border-box}
.fx-amp:hover{background:#333;border-color:#444}.fx-amp .ic,.fx-amp svg{width:24px;height:24px;flex:none}
.fx-amp span{flex:1;text-align:center;padding-right:24px}
.fx-amt{font-size:12px;color:var(--mut);text-align:center;margin:14px 8px 4px;line-height:1.5}.fx-amt a{color:var(--acc);font-weight:800}
.fx-amn{text-align:center;color:var(--mut2);font-weight:600;font-size:14.5px;margin-top:14px}.fx-amn a{color:var(--acc);font-weight:800}
.fx-am .af{display:flex;flex-direction:column;gap:8px}.fx-am .fgt{align-self:flex-end}
.fx-am .abtn{width:100%}.fx-am-back{display:inline-flex;align-items:center;gap:4px;color:var(--mut2);font-weight:700;font-size:14px;margin:0 0 8px;padding:0}
.fx-am-back:hover{color:var(--tx)}
.fx-foot{gap:6px 12px}.fx-foot a{font-size:11.5px}
html[data-theme=light] .fx-am{background:#fff;border-color:#e4e4e6}
html[data-theme=light] .fx-amp{background:#f3f3f4;color:#111;border-color:#e4e4e6}
@media (prefers-color-scheme:light){html[data-theme=system] .fx-am{background:#fff;border-color:#e4e4e6}html[data-theme=system] .fx-amp{background:#f3f3f4;color:#111;border-color:#e4e4e6}}

/* ---- profile banner ---- */
.fx-page.fx-prof{padding-top:0}
.fx-ban{height:240px;margin:0 -20px 0;border-radius:0 0 22px 22px;background:#141414 center/cover no-repeat;position:relative}
.fx-ban:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(10,10,10,0) 42%,var(--bg) 100%)}
.fx-page.fx-prof.has-ban .fx-ph{margin-top:-72px;position:relative;z-index:1;align-items:flex-end;padding-top:0}
.fx-pav,.fx-pav.ring{border:4px solid var(--bg);box-sizing:border-box;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.fx-pav.ring{background:var(--bg)}

/* ---- share sheet ---- */
.fx-share{padding:6px 4px 10px}
.fx-shl{display:flex;align-items:center;gap:8px;background:#2a2a2a;border:1px solid #333;border-radius:16px;padding:6px 6px 6px 14px}
.fx-shl input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--tx);font:inherit;font-size:13.5px}
.fx-shl .btn{flex:none;height:38px;width:auto;margin:0;border-radius:12px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;font-weight:800}
.fx-shl .btn .ic{width:16px;height:16px;flex:none}
.fx-shs{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:20px;padding:0 2px}
.fx-sha{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1 1 0;min-width:0;color:var(--tx);font-size:11.5px;font-weight:700;text-align:center;line-height:1.2}
.fx-sha svg{width:52px;height:52px;display:block;border-radius:50%;flex:none;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.fx-sha span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme=light] .fx-shl{background:#f3f3f4;border-color:#e4e4e6}

/* ---- explore reload placement ---- */
.fx-ttl{flex-wrap:nowrap}
.fx-exh{gap:16px}
.fx-exh h1{flex:none;min-width:0}
.fx-extools{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:560px;margin-left:auto}
.fx-extools .fx-xs{flex:1;max-width:none;min-width:0;margin:0}
.fx-xr{flex:none;width:42px;height:42px;border-radius:50%;background:var(--card);display:grid;place-items:center;margin:0;flex-shrink:0}

/* ---- navbar/sidebar icons never shift ---- */
.fx-it{flex-shrink:0}
.fx-it .ic,.fx-it>svg{flex:0 0 25px;width:25px;height:25px;min-width:25px;min-height:25px;flex-shrink:0;overflow:visible}
.fx-it .fx-av,.fx-it .av-ph{flex:0 0 26px;width:26px!important;height:26px!important;min-width:26px;flex-shrink:0}
.fx-it .fx-lb{min-width:0}
.fx-it .fx-dot,.fx-it .fx-badge{position:absolute;top:6px;right:8px;margin:0}
.nav a,.nav .me-wrap{flex:0 0 52px;width:52px;height:52px;min-width:52px;flex-shrink:0;position:relative}
.nav a .ic,.nav .me-wrap .ic{flex-shrink:0;width:25px;height:25px;min-width:25px;min-height:25px}
.nav .fx-dot,.nav .dot,.nav .fx-badge{position:absolute;top:8px;right:8px;margin:0}

/* ---- coin currency switcher ---- */
.fx-ccy{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
.fx-ccb{height:34px;padding:0 14px;border-radius:17px;background:var(--card);color:var(--mut2);font-weight:800;font-size:13.5px;border:1px solid transparent}
.fx-ccb.on{background:rgba(216,161,131,.18);color:var(--acc);border-color:rgba(216,161,131,.4)}
.fx-ccb:hover{color:var(--tx)}
.fx-crate{margin:0 0 18px;color:var(--mut);font-size:13px;font-weight:700}
.fx-trate{display:block;margin-top:4px;color:var(--mut);font-size:12.5px;font-weight:700;line-height:1.35}
.fx-payt small.fx-trate{display:block}

@media (max-width:733px){
 .fx-ban{height:148px;margin:0 -20px;border-radius:0 0 18px 18px}
 .fx-page.fx-prof.has-ban .fx-ph{margin-top:-52px;align-items:center}
 .fx-exh{flex-wrap:wrap}
 .fx-exh h1{width:100%}
 .fx-extools{margin-left:0;max-width:none;width:100%}
 .fx-shs{gap:6px}
 .fx-sha svg{width:48px;height:48px}
}

/* ---- hidden sidebar scrollbar + custom app scrollbars ---- */
.fx-side,.fx-side *{scrollbar-width:none}
.fx-side::-webkit-scrollbar,.fx-side *::-webkit-scrollbar{display:none;width:0;height:0}
.fx-main,.main,.fx-fs,.fx-dl,.fx-drawer,.fx-am,.fx-nl,.fx-page,textarea,pre{
  scrollbar-width:thin;scrollbar-color:#3a3a3a transparent}
.fx-main::-webkit-scrollbar,.main::-webkit-scrollbar,.fx-fs::-webkit-scrollbar,.fx-dl::-webkit-scrollbar,
.fx-drawer::-webkit-scrollbar,.fx-am::-webkit-scrollbar,.fx-nl::-webkit-scrollbar,.fx-page::-webkit-scrollbar{
  width:8px;height:8px}
.fx-main::-webkit-scrollbar-thumb,.main::-webkit-scrollbar-thumb,.fx-fs::-webkit-scrollbar-thumb,
.fx-dl::-webkit-scrollbar-thumb,.fx-drawer::-webkit-scrollbar-thumb,.fx-am::-webkit-scrollbar-thumb,
.fx-nl::-webkit-scrollbar-thumb,.fx-page::-webkit-scrollbar-thumb{
  background:#3a3a3a;border-radius:8px;border:2px solid transparent;background-clip:padding-box}
.fx-main::-webkit-scrollbar-track,.main::-webkit-scrollbar-track,.fx-fs::-webkit-scrollbar-track,
.fx-dl::-webkit-scrollbar-track{background:transparent}

/* ---- activity tabs + clickable rows ---- */
.fx-atabs{margin:0 0 16px;width:100%;max-width:520px}
.fx-actp .fx-seg{display:flex;width:100%;max-width:520px}
.fx-actp .fx-seg button{flex:1;height:40px;padding:0 12px;font-size:14px}
.fx-actmsg{min-height:240px}
.fx-actmsg .fx-chat{min-height:60vh}
.fx-na,.fx-nthw{flex:none;display:block;line-height:0}
.fx-nu{color:inherit;font-weight:900}
.fx-nt{color:inherit}
.fx-nthw .fx-nth{display:block}

/* ---- compact /coin ---- */
.fx-coinp{padding-top:10px}
.fx-coinp .fx-ttl{margin:0 0 10px}
.fx-cu{padding:12px 14px;border-radius:16px;gap:10px}
.fx-cbal b{font-size:22px}
.fx-inv{margin-top:10px;padding:14px;border-radius:16px}
.fx-invh h3{font-size:16px}
.fx-invi{width:40px;height:40px;border-radius:12px}
.fx-pct{font-size:22px}
.fx-invc{margin-top:10px;gap:8px}
.fx-icode{padding:8px 8px 8px 12px;border-radius:12px}
.fx-icode b{font-size:16px}
.fx-trk{gap:8px;margin-top:8px}
.fx-trk>div{padding:8px;border-radius:12px}.fx-trk b{font-size:16px}
.fx-pk{gap:8px}
.fx-pkc{padding:12px 8px;border-radius:14px;min-height:100px;gap:4px}
.fx-pkc b{font-size:17px}
.fx-pay{margin-top:10px;padding:10px 14px;border-radius:14px}
.fx-payt b{font-size:20px}
.fx-paybtn{min-width:140px;height:42px;font-size:15px}
.fx-crate{margin:0 0 10px;font-size:12.5px}
.fx-ccy{margin:2px 0 6px;gap:6px}
.fx-ccb{height:30px;padding:0 11px;font-size:12.5px}
.fx-top{padding:8px 10px;border-radius:12px}

/* ---- search results ---- */
.fx-stabs{margin-bottom:8px}
.fx-stabs .fx-chip i{margin-left:6px;font-style:normal;font-weight:800;color:var(--acc);font-size:12px}
.fx-srl{display:flex;flex-direction:column;gap:8px;margin:0 0 18px}
.fx-sr{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:10px 12px;border-radius:16px;background:var(--card);color:var(--tx);text-align:left;min-height:72px}
.fx-sr:hover{background:var(--card2)}
.fx-sr .av,.fx-sr .av-ph, .fx-sr img{flex:none;width:52px!important;height:52px!important;border-radius:50%;object-fit:cover}
.fx-sri{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.fx-sri b{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-sri small{color:var(--mut);font-size:13px}
.fx-srb{display:block;color:var(--mut2);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-srp{flex:none;width:auto!important;min-width:76px;height:36px;margin:0;padding:0 14px;pointer-events:none}
.fx-stags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.fx-stag{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:12px;background:var(--card);color:var(--tx);font-weight:800}
.fx-stag small{color:var(--mut);font-weight:700}
.fx-stag:hover{background:var(--card2)}

/* ---- download progress ---- */
.fx-dlui{position:fixed;left:50%;bottom:calc(28px + var(--nav-h,0px) + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:13000;width:min(420px,calc(100vw - 24px));pointer-events:none;animation:fade .16s ease}
.fx-dlcard{pointer-events:auto;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;border-radius:18px;background:#1c1c1c;border:1px solid #2c2c2c;box-shadow:0 16px 40px rgba(0,0,0,.55)}
.fx-dlic{width:40px;height:40px;border-radius:12px;background:rgba(216,161,131,.16);color:var(--acc);display:grid;place-items:center;flex:none}
.fx-dlic .ic{width:20px;height:20px}
.fx-dlm{flex:1;min-width:0}
.fx-dlm b{display:block;font-size:14.5px;font-weight:800}
.fx-dlm span{display:block;color:var(--mut);font-size:12px;font-weight:700;margin-top:1px;min-height:1em}
.fx-dlbar{margin-top:8px;height:5px;border-radius:99px;background:#2a2a2a;overflow:hidden}
.fx-dlbar i{display:block;height:100%;width:8%;border-radius:99px;background:var(--acc);transition:width .18s ease}
.fx-dlui.indet .fx-dlbar i{width:36%;animation:fxdl 1s ease-in-out infinite}
.fx-dlui.done .fx-dlbar i{width:100%}
@keyframes fxdl{0%{transform:translateX(-120%)}100%{transform:translateX(280%)}}
@media (max-width:733px){
 .fx-pkc{min-height:88px;padding:10px 6px}
 .fx-cuu img,.fx-cuu .av-ph{width:44px!important;height:44px!important}
 .fx-sr{padding:9px 10px;min-height:66px;border-radius:14px}
 .fx-srp{min-width:68px;height:34px;padding:0 10px;font-size:13px}
}

/* t584u: compact /coin (TikTok Coins style) + grouped settings */
.fx-coinp .fx-ttl{display:flex;align-items:center;gap:10px}
.fx-coinp .fx-ttl h1{flex:1;min-width:0;font-size:22px;margin:0}
.fx-coinp .fx-cback{display:none}
.fx-coinp .fx-cu{flex-wrap:nowrap;padding:10px 12px;border-radius:16px;gap:10px;margin:0}
.fx-coinp .fx-cuu{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.fx-coinp .fx-cuu>div{min-width:0}
.fx-coinp .fx-cuu b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-coinp .fx-cuu small{display:block;color:var(--mut);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fx-coinp .fx-cub{display:flex;align-items:center;gap:8px;flex:none;flex-direction:row}
.fx-coinp .fx-cbal{display:flex;align-items:center;gap:6px}
.fx-coinp .fx-cbal b{font-size:20px;font-weight:900}
.fx-ccs{appearance:none;-webkit-appearance:none;height:30px;padding:0 24px 0 10px;border-radius:999px;border:1px solid var(--line);background:var(--card2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center/12px;color:var(--tx);font:800 12.5px/1 inherit;cursor:pointer}
.fx-coinp .fx-crate{margin:6px 2px 0;font-size:12px;color:var(--mut);font-weight:700;display:flex;flex-wrap:wrap;gap:0 2px}
.fx-coinp .fx-crate [data-ce]:empty,.fx-coinp .fx-crate [data-ce]:empty~*{display:none}
.fx-coinp .fx-inv{margin:10px 0 0;padding:0;border-radius:14px;background:linear-gradient(135deg,rgba(216,161,131,.14),rgba(216,161,131,.03) 60%),var(--card);border:1px solid rgba(216,161,131,.22)}
.fx-coinp .fx-invs{list-style:none;display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;user-select:none;min-height:44px;box-sizing:border-box}
.fx-coinp .fx-invs::-webkit-details-marker{display:none}
.fx-coinp .fx-invs .fx-invi{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(216,161,131,.16);color:var(--acc);flex:none}
.fx-coinp .fx-invs .fx-invi .ic{width:17px;height:17px}
.fx-coinp .fx-invs b{flex:1;font-size:14.5px;font-weight:800}
.fx-coinp .fx-invs .fx-pct{color:var(--acc);font-weight:900;font-size:14px}
.fx-coinp .fx-invs .chev{width:16px;height:16px;color:var(--mut);transition:transform .2s}
.fx-coinp .fx-inv[open] .fx-invs .chev{transform:rotate(90deg)}
.fx-coinp .fx-invb{padding:0 12px 12px;animation:fade .18s ease}
.fx-coinp .fx-invsub{margin:0 0 10px;font-size:12.5px;color:var(--mut2);line-height:1.45}
.fx-coinp .fx-icode{padding:8px 10px;border-radius:12px;gap:8px}
.fx-coinp .fx-icode .btn{height:32px;padding:0 10px;font-size:12.5px}
.fx-coinp .fx-trk>div{padding:8px 6px}
.fx-coinp .fx-h2{margin:14px 2px 8px;font-size:16px}
.fx-coinp .fx-pk{grid-template-columns:repeat(3,1fr);gap:8px}
@media (min-width:900px){.fx-coinp .fx-pk{grid-template-columns:repeat(4,1fr)}}
.fx-coinp .fx-pkc{min-height:78px;padding:10px 6px;gap:3px;border-radius:14px}
.fx-coinp .fx-pkc b{font-size:16px}
.fx-coinp .fx-pkc small{font-size:12px}
.fx-coinp .fx-pkx input{width:100%;box-sizing:border-box;height:28px;font-size:13px;text-align:center;border-radius:8px}
.fx-coinp .fx-pay{padding:10px 14px;border-radius:16px;margin-top:10px}
.fx-coinp .fx-pay .fx-paybtn{height:44px;padding:0 22px;width:auto;margin:0}
@media (max-width:899px){
 body.fx-onc .nav{display:none!important}
 body.fx-onc .main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
 .fx-coinp .fx-cback{display:grid;margin-left:-6px}
 .fx-coinp .fx-ttl .btn span{display:none}
 .fx-coinp .fx-ttl .btn{padding:0 11px;height:36px}
 .fx-coinp .fx-pay{position:fixed;left:0;right:0;bottom:0;top:auto;margin:0;z-index:60;border-radius:18px 18px 0 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -10px 28px rgba(0,0,0,.35);border-top:1px solid var(--line)}
 .fx-coinp .fx-payt b{font-size:18px}
}
/* settings: one rounded container per section, hairline dividers */
.fx-sn .fx-sg{padding:14px 14px 6px;font-size:12px}
.fx-sn .fx-sgc{background:var(--card);border-radius:16px;overflow:hidden;margin:0 2px}
.fx-sn .fx-sgx{margin-top:16px}
.fx-sn .fx-sgc [data-sadm]:empty{display:none}
.fx-sn .fx-sgc .fx-sr{position:relative;display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;min-height:50px;height:auto;padding:12px 14px;margin:0;border-radius:0;background:transparent}
.fx-sn .fx-sgc .fx-sr .ic{width:20px;height:20px}
.fx-sn .fx-sgc .fx-sr+.fx-sr::before{content:"";position:absolute;left:46px;right:0;top:0;height:1px;background:var(--line)}
.fx-sn .fx-sgc .fx-sr:hover{background:var(--card2)}
.fx-sn .fx-sgc .fx-sr.on{background:var(--card2);color:var(--acc)}
.fx-sn .fx-sgc .fx-sr.danger{margin-top:0;color:var(--red)}
.fx-sbb .srow{position:relative;width:100%;box-sizing:border-box;margin:0;height:auto;min-height:56px;padding:10px 14px;gap:12px;border-radius:0}
.fx-sbb .srow .ib{width:34px;height:34px;flex:none}
.fx-sbb .srow .ib .ic{width:18px;height:18px}
.fx-sbb .srow .lb{font-size:15px}
.fx-sbb .srow:not(.srow + .srow){border-top-left-radius:16px;border-top-right-radius:16px;margin-top:10px}
.fx-sbb .srow:not(:has(+ .srow)){border-bottom-left-radius:16px;border-bottom-right-radius:16px;margin-bottom:10px}
.fx-sbb .srow+.srow::before{content:"";position:absolute;left:14px;right:0;top:0;height:1px;background:var(--line)}
@media (max-width:899px){
 .fx-sn{padding:8px 12px calc(var(--nav-h) + 60px + env(safe-area-inset-bottom))!important}
 .fx-sbb{padding:0 12px calc(var(--nav-h) + 60px + env(safe-area-inset-bottom))}
}
.fx-sbb .srow .lb{white-space:nowrap}
.fx-sbb .srow .vl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}

/* Read-only gift catalog; full category lists with pixel-art nearest-neighbor display. */
.fw-gift-dialog{box-sizing:border-box;width:min(calc(100% - 24px),620px);max-width:none;max-height:min(82dvh,650px);padding:0;border:1px solid var(--line);border-radius:22px;background:var(--card);color:var(--tx);overflow:hidden}
.fw-gift-dialog[open]{display:flex;flex-direction:column}
.fw-gift-dialog::backdrop{background:rgba(0,0,0,.65)}
.fw-gift-dialog>header,.fw-gift-dialog>nav,.fw-gift-dialog>footer{padding:10px 16px;flex:none}
.fw-gift-dialog>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.fw-gift-dialog>header h3{margin:0}.fw-gift-dialog>header button{color:inherit}
.fw-gift-dialog>nav{display:flex;gap:6px;overflow:auto;scrollbar-width:thin;white-space:nowrap}
.fw-gift-dialog>nav button{color:inherit;background:transparent;border:1px solid var(--line);border-radius:999px;padding:7px 12px;font:inherit;cursor:pointer}
.fw-gift-dialog>nav button[aria-pressed=true]{color:#17110e;background:#d8a58d;border-color:#d8a58d;font-weight:700}
.fw-gift-dialog>footer{border-top:1px solid var(--line);font-size:12px;color:var(--mut)}
.fw-gift-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 16px 12px}
.fw-gift-body h4{margin:9px 0;font-size:14px}.fw-gift-body h4 small{font-weight:500;color:var(--mut)}
.fw-gift-body ul{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(min(90px,100%),1fr))}
.fw-gift-body li{display:grid;grid-template-rows:60px 1fr auto auto;justify-items:center;text-align:center;gap:4px;padding:8px 4px;background:var(--card2);border:1px solid var(--line);border-radius:12px}
.fw-gift-body li img{object-fit:contain;image-rendering:pixelated}
.fw-gift-body li strong{font-size:12px;overflow-wrap:anywhere}
.fw-gift-body li span{font-size:11px;white-space:nowrap;color:var(--mut)}

.fx-coinp .fx-crate [data-ce]{font-variant-numeric:tabular-nums}

/* Gift-level badge browser: image assets use a hard pixel grid. */
.bsh .lvbig img,.gift-level-card img,img.lv{image-rendering:pixelated}
.gift-level-launch{width:100%;text-align:start;color:inherit;cursor:pointer}
.gift-level-guide{padding:12px 16px 20px}
.gift-level-guide h4{margin:17px 0 7px}
.gift-level-guide p{margin:0 0 12px;color:var(--mut,#a0a0a0)}
.gift-level-grid,.gift-level-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.gift-level-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.gift-level-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:8px 4px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.04);color:inherit}
.gift-level-card img{width:46px;height:46px;object-fit:contain}
.gift-level-card b,.gift-level-card small{display:block;font-size:11px;text-align:center}
.gift-level-card.on{border-color:var(--acc,#d8a58d)}
.gift-level-card:disabled{opacity:.5}

/* Public badge guide link in the mobile-friendly Explore header. */
.badge-explore-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--acc);padding:6px 9px;margin:0 0 6px;border-radius:6px;background:rgba(216,165,141,.1)}
.badge-explore-link:hover,.badge-explore-link:focus-visible{background:rgba(216,165,141,.2)}
.badge-explore-link .ic{width:15px;height:15px}

/* Verification artwork and gift-level effects. Feed/list marks deliberately stay still. */
.gv-visual{position:relative;display:inline-grid;place-items:center;isolation:isolate;vertical-align:middle;flex:none}
.gv-visual>.gv-fallback,.gv-visual>.gv-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.gv-visual>.gv-art{image-rendering:pixelated;opacity:0}
.gv-visual.gv-loaded>.gv-art{opacity:1}
.gv-visual.gv-loaded>.gv-fallback{visibility:hidden}
.gv-level{width:22px;height:22px}
.nm .gv-level{width:18px;height:18px}
.pname .gv-level{width:24px;height:24px}
.gv-level>.gv-fallback{display:grid;place-items:center;border-radius:6px;color:var(--acc);background:var(--card2);font-size:10px;font-weight:900}
.gv-visual[data-lvl],.gv-visual[data-bdg]{cursor:pointer}
.gv-visual:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.gv-visual.gv-sparkle,.gv-visual.gv-orbit{--gv-size:3px;--gv-offset:40%;--gv-ink:#f2c695;--gv-speed:2.45s}
.gv-visual.gv-int-2{--gv-size:4px;--gv-offset:45%;--gv-ink:#fad8a2}
.gv-visual.gv-int-3{--gv-size:4px;--gv-offset:53%;--gv-ink:#ffe4ae;--gv-speed:2.1s}
.gv-loaded.gv-sparkle::before,.gv-loaded.gv-sparkle::after,.gv-loaded.gv-orbit::after{content:"";position:absolute;z-index:2;width:var(--gv-size);height:var(--gv-size);pointer-events:none;background:var(--gv-ink);opacity:0}
.gv-loaded.gv-sparkle::after{top:4%;right:0;transform:rotate(45deg)}
.gv-loaded.gv-sparkle::before{bottom:4%;left:0;transform:rotate(45deg)}
.gv-loaded.gv-orbit::after{top:47%;left:47%;border-radius:50%;box-shadow:0 0 3px var(--gv-ink)}
@media(prefers-reduced-motion:no-preference){
 .gv-loaded.gv-sparkle::after{animation:gv-twinkle var(--gv-speed) ease-in-out 3}
 .gv-loaded.gv-sparkle::before{animation:gv-twinkle var(--gv-speed) .65s ease-in-out 3}
 .gv-loaded.gv-orbit::after{animation:gv-circle var(--gv-speed) linear 3}
}
@keyframes gv-twinkle{0%,65%,100%{opacity:0;transform:rotate(45deg) scale(.4)}35%{opacity:.8;transform:rotate(45deg) scale(1)}}
@keyframes gv-circle{from{opacity:.68;transform:rotate(0deg) translateX(13px)}to{opacity:.68;transform:rotate(360deg) translateX(13px)}}

.fx-ban.fx-ach-blank{height:154px;background:radial-gradient(ellipse at 88% 12%,#c7866040,transparent 64%),linear-gradient(132deg,var(--card,#202020),var(--bg,#101010))}
.fx-ach-dock{position:absolute;right:12px;bottom:9px;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #ffffff24;border-radius:999px;background:#101014e8;color:#fff;box-shadow:0 3px 12px #0006;z-index:3}
.fx-ach-dock button{appearance:none;display:grid;place-items:center;min-width:32px;height:32px;padding:0 3px;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer;font:700 12px/1 system-ui}
.fx-ach-dock button:hover,.fx-ach-dock button[aria-expanded=true]{background:#ffffff1b}
.fx-ach-dock button:focus-visible,.fx-ach-pop button:focus-visible,.fx-ach-list button:focus-visible{outline:2px solid #f2b598;outline-offset:1px}
.fx-ach-dock img,.fx-ach-pop img,.fx-ach-list img{width:26px;height:26px;image-rendering:pixelated;display:block}
.fx-ach-item--compact-extra{display:grid}
.fx-ach-more--compact{display:none!important}
.fx-ach-pop{position:absolute;right:12px;top:calc(100% + 7px);z-index:4;display:flex;align-items:center;gap:10px;padding:10px 12px;max-width:calc(100% - 24px);border:1px solid var(--line,#383838);border-radius:14px;background:var(--card,#202020);color:var(--fg,#fff);box-shadow:0 7px 26px #0005;font-size:13px}
.fx-ach-pop[hidden]{display:none}
.fx-ach-pop button{appearance:none;background:transparent;color:inherit;border:0;border-radius:8px;padding:6px;cursor:pointer;font-size:17px}
.fx-ach-pop img,.fx-ach-list img{height:36px;width:36px;flex:none}
.fx-ach-list{padding:8px 15px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fx-ach-list button{appearance:none;border:1px solid var(--line,#383838);border-radius:12px;padding:7px;display:flex;align-items:center;text-align:start;gap:8px;color:inherit;background:var(--card,#202020);font:600 13px/1.2 system-ui;cursor:pointer}
@media (max-width:620px){.fx-ach-dock .fx-ach-item--compact-extra,.fx-ach-dock .fx-ach-more--wide{display:none}.fx-ach-dock .fx-ach-more--compact{display:grid!important}.fx-ban.fx-ach-blank{height:111px}.fx-ach-dock{right:8px;bottom:8px}}

@media(max-width:620px){.fx-prof.fx-has-ach.has-ban .fx-pav{align-self:flex-start;margin-left:8px}}


/* Keep the profile photo centered at every width; the dock fits beside it. */
.fx-ach-dock{gap:1px;padding:2px;right:10px;bottom:8px}
.fx-ach-dock button{min-width:24px;height:25px;padding:0 2px;font-size:10px}
.fx-ach-dock img{width:19px;height:19px}
@media(max-width:620px){
 .fx-prof.fx-has-ach.has-ban .fx-pav{align-self:center;margin-left:0}
 .fx-ach-dock{right:6px;bottom:8px}
 .fx-ach-dock button{min-width:22px;height:23px;padding:0 1px}
 .fx-ach-dock img{width:17px;height:17px}
}
@media(max-width:310px){.fx-ach-dock{bottom:54px}}


/* Scoped web-only glints: four distinct paths, paint-only motion, no network requests. */
.fx-star-anchor{position:relative;display:inline-grid;place-items:center;vertical-align:middle;overflow:visible}
.fx-ach-illustration{position:relative;display:inline-grid;place-items:center;flex:none}
.fx-glint{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:2;--fx-star:#ffce9a;--fx-star-soft:#e8a66f}
.fx-glint>i{display:block;position:absolute;width:6px;height:6px;background:var(--fx-star);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);opacity:0}
.fx-glint>i:nth-child(1){top:-3px;left:33%;--x:2px;--y:-3px;--dx:5px;--dy:-1px;--off:-.3s}
.fx-glint>i:nth-child(2){right:-3px;top:29%;--x:3px;--y:1px;--dx:1px;--dy:5px;--off:-1.9s}
.fx-glint>i:nth-child(3){bottom:-3px;right:27%;--x:-2px;--y:3px;--dx:-5px;--dy:1px;--off:-3.5s}
.fx-glint>i:nth-child(4){left:-3px;bottom:20%;--x:-3px;--y:-1px;--dx:-1px;--dy:-5px;--off:-5.1s}
.fx-glint>i:nth-child(even){width:5px;height:5px;background:var(--fx-star-soft)}
.fx-glint-blue>.fx-glint{--fx-star:#a9ccff;--fx-star-soft:#7696fe}
.fx-glint-green>.fx-glint{--fx-star:#abf5c7;--fx-star-soft:#61d4a5}
.fx-glint-white>.fx-glint{--fx-star:#fff;--fx-star-soft:#b9c8e7}
.fx-glint-red>.fx-glint{--fx-star:#ffb1b8;--fx-star-soft:#ff7a96}
.fx-glint-orange>.fx-glint{--fx-star:#ffe5a7;--fx-star-soft:#f8b75d}
.fx-glint-vip>.fx-glint{--fx-star:#ffe1d3;--fx-star-soft:#f1a289}
.fx-glint-level>.fx-glint{--fx-star:#fff0bc;--fx-star-soft:#eab16e}
.fx-ach-illustration[data-set=hours]>.fx-glint{--fx-star:#c8d8ff;--fx-star-soft:#8fa7ff}
.fx-ach-dock .fx-glint>i{width:4px;height:4px}
:is(.fx-glint-spot,.gv-visual:hover,.gv-visual:focus-visible,.bc-tile:hover .fx-star-anchor,.bc-tile:focus-within .fx-star-anchor,tr:hover .fx-star-anchor)>.fx-glint>i{opacity:.55}
@media(prefers-reduced-motion:no-preference){
 :is(.fx-glint-spot,.gv-visual:hover,.gv-visual:focus-visible,.bc-tile:hover .fx-star-anchor,.bc-tile:focus-within .fx-star-anchor,tr:hover .fx-star-anchor)>.fx-glint>i{animation:fx-four-star-drift 6.8s ease-in-out var(--off) infinite both}
}
@keyframes fx-four-star-drift{
 0%,78%,100%{opacity:0;transform:translate(0,0) scale(.45)}
 14%{opacity:.95;transform:translate(var(--x),var(--y)) scale(1)}
 33%{opacity:.72;transform:translate(var(--dx),var(--dy)) scale(.72)}
 53%{opacity:.28;transform:translate(var(--x),var(--y)) scale(.6)}
}
/* Align with profile content instead of the full-bleed banner edge. */
.fx-ach-dock,.fx-ach-pop{right:20px}
@media(max-width:620px){.fx-ach-dock,.fx-ach-pop{right:18px}}
@media(max-width:344px){.fx-ach-dock{bottom:54px}}

/* Activity public story rail */
[data-inbox-stories] .stories{padding:8px 0 12px;text-align:center}
.fw-story-rec{display:block;padding-top:3px;font-size:.63rem;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mut,#999)}
.sv [data-react]:disabled{opacity:.65}

/* Keep avatar, result name and small verification artwork independent. */
.fx-srl .fx-sr{height:auto;gap:10px}
.fx-srl .fx-sr .fx-sri{flex:1 1 0;min-width:0}
.fx-srl .fx-sri b{overflow:visible;min-width:0}
.fx-srl .fx-sr .fx-srname{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.fx-srl .fx-sr .gv-visual{flex:0 0 20px;width:20px;height:20px}
.fx-srl .fx-sr .gv-visual>.gv-art{width:100%!important;height:100%!important;object-fit:contain;border-radius:0}
.fx-srl .fx-sr .fx-srp{flex:0 0 auto;min-width:0;max-width:30%;padding:0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-stabs{box-sizing:border-box;max-width:100%;padding-inline:2px 10px;scroll-padding-inline:2px 10px}
.fx-stabs .fx-chip{flex:0 0 auto}
@media(max-width:420px){.fx-srl .fx-sr{gap:8px}.fx-srl .fx-sr .av,.fx-srl .fx-sr .av-ph{width:42px!important;height:42px!important}.fx-srl .fx-sr .fx-srp{height:31px;padding-inline:8px;font-size:12px}.fx-srl .fx-sr .gv-visual{width:17px;height:17px;flex-basis:17px}.fx-stabs{gap:5px}.fx-stabs .fx-chip{padding-inline:9px}}

.fx-req-list{margin:5px 4px 9px;border:1px solid var(--line);border-radius:12px;color:var(--tx)}
.fx-req-list summary{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px;font-weight:800;cursor:pointer;list-style:none}
.fx-req-list summary::-webkit-details-marker{display:none}
.fx-req-list summary .ic{width:17px;height:17px}
.fx-req-count{display:inline-grid;min-width:20px;padding:2px 5px;place-items:center;border-radius:999px;color:var(--acc);background:var(--card2);font-size:12px}
.fx-req-items{padding:0 9px 8px;color:var(--mut)}
.fx-req-row,.fx-req-row a,.fx-req-row>div{display:flex;align-items:center;gap:6px;min-width:0}
.fx-req-row{justify-content:space-between;flex-wrap:wrap;padding:7px 0;border-top:1px solid var(--line)}
.fx-req-row a{color:var(--tx);font-weight:700;overflow-wrap:anywhere}
.fx-req-row .btn{margin:0;padding:4px 8px;min-height:30px;font-size:12px}

/* Explore: full-bleed vertical poster tiles while profile grids stay unchanged. */
.fx-explore{--fx-poster-edge:20px}
.fx-explore .fx-poster-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
.fx-explore .fx-poster-grid .fx-poster{aspect-ratio:9 / 16;isolation:isolate;border-radius:2px;background:#181719}
.fx-explore .fx-poster::after{position:absolute;inset:38% 0 0;content:"";pointer-events:none;background:linear-gradient(transparent 12%,rgba(0,0,0,.28) 65%,rgba(0,0,0,.8) 100%)}
.fx-explore .fx-poster-fallback,.fx-explore .fx-poster img,.fx-explore .fx-poster video{position:absolute;inset:0;width:100%;height:100%}
.fx-explore .fx-poster-fallback{display:grid;place-items:center;padding:10%;background:linear-gradient(145deg,#242128,#101013);color:#eee;font-size:clamp(10px,2.9vw,16px);font-weight:700}
.fx-explore .fx-poster-copy{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-width:100%;overflow:hidden;overflow-wrap:anywhere}
.fx-explore .fx-poster-fallback .ic{width:28px;height:28px;opacity:.72}
.fx-explore .fx-poster-invalid{visibility:hidden}
.fx-explore .fx-poster-stats{position:absolute;bottom:0;left:0;right:0;z-index:1;display:flex;align-items:center;gap:clamp(4px,1vw,10px);padding:6px clamp(3px,1.1vw,10px);overflow:hidden;pointer-events:none;color:#fff;font-size:clamp(10px,2.65vw,14px);font-weight:850;font-variant-numeric:tabular-nums;line-height:1.25;text-shadow:0 1px 3px #000}
.fx-explore .fx-poster-stats>span{display:inline-flex;align-items:center;gap:3px;min-width:0;white-space:nowrap}
.fx-explore .fx-poster-stats .ic{width:1.07em;height:1.07em;flex:none}
.fx-explore .fx-poster-likes .ic{color:#ff718f;fill:currentColor}
.fx-explore .fx-poster-marker{position:absolute;right:6px;top:6px;z-index:1;color:#fff;pointer-events:none;filter:drop-shadow(0 1px 2px #000)}
.fx-explore .fx-poster-marker .ic{width:15px;height:15px}
.fx-explore .fx-poster:focus-visible{outline:2px solid var(--acc);outline-offset:-3px;z-index:2}
.fx-explore [data-chips] .fx-chip{border-radius:999px}
.fx-explore [data-xs] input{min-width:0;width:100%}
.fx-explore .fx-xs-toggle{display:none}
@media(max-width:1400px){.fx-explore .fx-poster-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1150px){.fx-explore .fx-poster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:899px){
 .fx-explore{--fx-poster-edge:14px}
 .fx-explore .fx-poster-grid{width:calc(100% + 2 * var(--fx-poster-edge));margin-inline:calc(-1 * var(--fx-poster-edge));grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
 .fx-explore .fx-poster-grid .fx-poster{border-radius:0}
}
@media(max-width:733px){
 .fx-explore .fx-exh{gap:10px;flex-wrap:nowrap}
 .fx-explore .fx-exh h1{width:auto;white-space:nowrap}
 .fx-explore .fx-extools{flex:0 1 auto;width:auto;margin-left:auto;gap:6px}
 .fx-explore .fx-extools:not(.fx-search-open) .fx-xs{display:none}
 .fx-explore .fx-extools.fx-search-open{flex:1 1 0}
 .fx-explore .fx-xs-toggle,.fx-explore .fx-xr{display:grid;place-items:center;flex:none;margin:0;width:36px;height:36px;border-radius:50%;background:var(--card)}
 .fx-explore .fx-extools.fx-search-open .fx-xs-toggle{display:none}
 .fx-explore .fx-xs{height:36px;padding-inline:7px}
 .fx-explore .fx-xs .ic{width:15px;height:15px;flex:none}
 .fx-explore .fx-xs input{font-size:16px}
}

/* Story carousel gives every active story its own selector, including reused media. */
.story .ring{position:relative}
.fw-story-count{position:absolute;z-index:2;top:0;right:-3px;display:grid;min-width:18px;height:18px;padding:0 4px;place-items:center;border:1px solid var(--bg,#101010);border-radius:10px;background:var(--acc,#d8a58d);color:#161213;font-size:10px;font-weight:900}
.sv-bars{gap:3px;padding-top:4px}
.sv-bars button{position:relative;flex:1 1 0;height:17px;min-width:0;border:0;padding:0;background:none;overflow:hidden;cursor:pointer}
.sv-bars button::after,.sv-bars button b{position:absolute;left:0;top:7px;height:3px;border-radius:3px}
.sv-bars button::after{content:"";width:100%;background:rgba(255,255,255,.32);z-index:0}
.sv-bars button b{display:block;background:#fff;z-index:1}
.sv-bars button:focus-visible{outline:1px solid #fff;outline-offset:-1px}
/* Owner-only story viewer analytics. */
.sv-owner{position:fixed;inset:0;z-index:9200;height:100vh;height:100dvh;display:flex;justify-content:center;overflow:hidden;background:#101010;color:#fff}
.sv-owner-in{box-sizing:border-box;position:relative;width:100%;max-width:540px;height:100%;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.sv-owner header{display:flex;justify-content:space-between;align-items:center;padding:12px 12px 0}
.sv-owner header .ibtn{background:#222;color:#fff;width:40px;height:40px;border-radius:50%}
.sv-owner header [data-svo-del]{color:#ff8a95}
.sv-owner-rail{padding:8px 0 22px;flex:none}
.sv-owner-track{position:relative;display:flex;align-items:center;gap:7px;overflow-x:auto;padding:7px 14px;scrollbar-width:none;min-height:112px;box-sizing:border-box}
.sv-owner-track::before,.sv-owner-track::after{content:"";flex:1 0 0}
.sv-owner-track::-webkit-scrollbar{display:none}
.sv-owner-tile{position:relative;display:grid;place-items:center;flex:0 0 48px;width:48px;aspect-ratio:3/4;border:1px solid #3c3b3b;border-radius:8px;overflow:hidden;background:#222;color:#eee;opacity:.77}
.sv-owner-tile.selected{flex-basis:65px;width:65px;border:2px solid var(--acc,#d8a58d);opacity:1}
.sv-owner-tile img,.sv-owner-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sv-owner-add{border-style:dashed;color:var(--acc,#d8a58d);opacity:1}
.sv-owner-panel{position:relative;display:flex;flex-direction:column;min-height:0;flex:1;background:#1d1c1d;border-radius:22px 22px 0 0;padding:0 14px env(safe-area-inset-bottom)}
.sv-owner-panel::before{content:"";position:absolute;top:-6px;left:calc(50% - 7px);width:14px;height:14px;transform:rotate(45deg);border-radius:2px;background:inherit}
.sv-owner-panel h2{font-size:15px;font-weight:900;text-align:center;position:relative;margin:0;padding:15px 8px 13px;border-bottom:1px solid #363435}
.sv-owner-list{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}
.sv-owner-person{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:9px 0}
.sv-owner-person>a{display:flex;align-items:center;gap:9px;min-width:0;color:#fff}
.sv-owner-person>a>span:not(.av-ph){min-width:0}
.sv-owner-person strong,.sv-owner-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-owner-person small{margin-top:3px;color:#aeaaad;font-size:12px}
.sv-owner-person small.liked{color:#ff8a9f}
.sv-owner-person small .ic{width:13px;height:13px;margin-right:4px;vertical-align:-2px}
.sv-owner-person .btn{flex:none;margin:0;height:auto;min-height:32px;border-radius:16px;padding:6px 10px;background:#2b292b;color:#fff;border:1px solid #3a383a;font-size:12px}
.sv-owner-empty{text-align:center;color:#aeaaad;padding:16px 4px}
@media(min-width:750px){.sv-owner-in{margin:16px 0;height:calc(100% - 32px);background:#151415;border:1px solid #272527;border-radius:24px;overflow:hidden}.sv-owner-panel{padding-inline:22px}}

/* Tap zones remain visually silent; keyboard focus stays visibly highlighted. */
.sv-m{touch-action:pan-y}
.sv-m .nav-l,.sv-m .nav-r{border:0;padding:0;background:transparent;cursor:pointer}
.sv-m .nav-l:focus-visible,.sv-m .nav-r:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:10px}
@media(max-width:370px){.fx-explore .fx-exh h1{font-size:19px}.fx-explore .fx-extools{gap:4px}.fx-explore .fx-xs-toggle,.fx-explore .fx-xr{width:32px;height:32px}.sv-owner-panel{padding-inline:10px}}

/* The same full-page shell for email, WhatsApp, verification and recovery. */
.fx-amov.fx-auth-screen{align-items:flex-start;justify-content:center;padding:0;overflow:auto;overscroll-behavior:contain;background:var(--bg,#111);backdrop-filter:none;-webkit-backdrop-filter:none}
.fx-auth-screen .fx-am{box-sizing:border-box;width:min(100%,480px);max-width:none;max-height:none;overflow:visible;min-height:100dvh;padding:max(48px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));background:transparent;border:none;border-radius:0;box-shadow:none}
.fx-auth-screen .fx-amx{top:max(10px,env(safe-area-inset-top))}
.fx-auth-screen .fx-amlogo{margin-top:0}
.fx-auth-screen .fx-am h2{font-size:clamp(23px,5.5vw,32px);line-height:1.2}
.fx-auth-note{color:var(--mut2);font-size:14px;line-height:1.5;margin:8px 0 14px}
.fx-auth-action{display:block;max-width:100%;margin:12px auto;text-align:center;color:var(--acc);font-weight:750}
.fx-auth-action[disabled]{opacity:.55;cursor:default}
.fx-auth-otp label{color:var(--mut2);font-weight:700;font-size:13px}
.fx-auth-otp input{width:100%;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:.65em;color:var(--tx);background:var(--card,#262626);border:1px solid var(--bd,#555);border-radius:14px;padding:12px 4px;font-size:24px;line-height:1.25}
.fx-auth-otp input:focus-visible{outline:2px solid var(--acc);outline-offset:3px}

.fx-auth-suspension{color:#ff676e;text-align:center;margin:10px 0 8px;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.fx-auth-suspension p{color:inherit;margin:0;font-weight:750}
.fx-auth-suspension p[data-suspension-clock]{font-size:.8125rem;margin-top:3px;font-variant-numeric:tabular-nums;font-weight:650}
.fx-auth-suspension p:empty{display:none}
html.light .fx-auth-suspension{color:#b91c2c}

/* WhatsApp phone and country picker */
.fx-wa-phone{display:grid;grid-template-columns:minmax(88px,auto) minmax(0,1fr);gap:10px;width:100%;direction:ltr}
.fx-wa-country,.fx-wa-field{box-sizing:border-box;min-width:0;height:52px;display:flex;align-items:center;gap:8px;background:var(--card,#1c1c1c);color:var(--tx,#fff);border:1px solid var(--line,var(--fx-ln));border-radius:16px;text-align:left;font:inherit}
.fx-wa-country{justify-content:center;padding:0 10px;cursor:pointer;white-space:nowrap}
.fx-wa-country b,.fx-wa-option b{font-variant-numeric:tabular-nums;font-weight:760}
.fx-wa-flag{display:block;width:24px;height:18px;object-fit:cover;border-radius:3px;flex:0 0 24px}
.fx-wa-country .ic{width:13px;height:13px;flex:none}
.fx-wa-field{padding:0 12px}
.fx-wa-field:focus-within,.fx-wa-country:focus-visible,.fx-wa-search:focus-within{border-color:var(--acc,#d8a183);outline:none}
.fx-wa-field .ic,.fx-wa-search .ic{width:18px;height:18px;flex:none;color:var(--mut)}
.fx-wa-field input,.fx-wa-search input{box-sizing:border-box;min-width:0;width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;outline:none}
.fx-wa-field input::placeholder,.fx-wa-search input::placeholder{color:var(--mut2,var(--mut,#aaa))}
.fx-wa-dialog{box-sizing:border-box;width:min(calc(100% - 32px),440px);max-height:min(78dvh,610px);padding:0;background:var(--card,#1c1c1c);color:var(--tx,#fff);border:1px solid var(--line,var(--fx-ln));border-radius:22px;overflow:hidden}
.fx-wa-dialog::backdrop{background:#0009}
.fx-wa-picker{display:flex;flex-direction:column;max-height:min(78dvh,610px);padding:16px;box-sizing:border-box}
.fx-wa-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.fx-wa-picker-head h3{font-size:20px;line-height:1.2;margin:0;font-weight:800;text-align:start}
.fx-wa-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;color:var(--tx,#fff);background:var(--fx-hov);cursor:pointer}
.fx-wa-close .ic{width:16px;height:16px}
.fx-wa-search{display:flex;align-items:center;gap:9px;min-height:44px;flex:none;border:1px solid var(--line,var(--fx-ln));border-radius:14px;padding:0 11px}
.fx-wa-countries{overflow:auto;overscroll-behavior:contain;min-height:0;margin-top:8px}
.fx-wa-option{width:100%;display:flex;gap:10px;align-items:center;min-height:44px;padding:8px 9px;color:inherit;text-align:start;border-radius:10px;cursor:pointer;font:inherit}
.fx-wa-option>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-wa-option[aria-pressed=true],.fx-wa-option:hover,.fx-wa-option:focus-visible{background:var(--fx-hov)}
.fx-wa-option b{font-size:.88em;flex:none;color:var(--mut,var(--tx))}
.fx-wa-empty{margin:14px 8px;color:var(--mut);text-align:start}
@media(max-width:540px){.fx-wa-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:360px){.fx-wa-phone{gap:7px}.fx-wa-country{padding:0 8px;gap:5px}.fx-wa-field{padding:0 9px;gap:6px}}

@media (prefers-color-scheme:light){html[data-theme=system] .fx-pop{box-shadow:0 18px 50px rgba(0,0,0,.16)}}

/* Keep the mobile floating navigation compact without shrinking hit targets. */
@media (max-width:899px){
 :root{--nav-h:56px}
 .nav{width:min(280px,calc(100% - 24px));padding-inline:1px;border-radius:calc(var(--nav-h) / 2)}
 .nav-bub{left:-1px;width:44px;height:44px}
}

/* Explore opens in portrait, with an optional uncropped desktop landscape stage. */
.fx-discovery-stage .fx-wide-toggle{position:absolute;z-index:5;top:54px;right:12px;height:36px;min-width:50px;line-height:1}
.fx-discovery-stage .fx-wide-toggle[hidden]{display:none!important}
.fx-discovery-stage .fx-wide-toggle[aria-pressed=true]{color:var(--acc)}
.fx-discovery-stage .fx-wide-toggle:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
@media(max-width:899px){
 .fx-discovery-stage .fx-wide-toggle{display:none!important}
 .fx-discovery-stage .fx-stage{width:min(100vw,56.25dvh);height:min(100dvh,177.7778vw);aspect-ratio:9 / 16}
 .fx-explore-view .fx-meta,.fx-explore-view .fx-act{padding-bottom:12px}
 .fx-explore-view .fx-act{bottom:22px}
 .fx-explore-view .fx-prog{bottom:0}
}
/* Viewport-centred home tabs; leave an even, compact bottom gutter. */
.fx-snav-head{display:flex;align-items:center;gap:10px;padding:0 8px 12px}
.fx-snav-head h1{margin:0}
@media(min-width:900px){
 .fx-home-feed{--fx-home-side:var(--fx-sw)}
 html.fx-col .fx-home-feed,body.fx-dr .fx-home-feed{--fx-home-side:var(--fx-rail)}
 .fx-home-feed .fx-ftabs{left:calc(50% - var(--fx-home-side)/2);white-space:nowrap}
 .fx-home-feed .fx-sl{align-items:flex-end;padding:44px 0 8px}
 .fx-home-feed .fx-wrap{transform:translateX(var(--fx-stage-shift,0px))}
 .fx-discovery-stage .fx-sl.fx-sl-wide{align-items:center;padding-inline:12px 76px}
}
