/* v287 final.css - loaded LAST on every page. One palette, flat surfaces, no glow, no gradients, no emoji look.
   Palette: ink #14161b / coal #1b1e25 / line #343a46 / text #ece8de / amber #e0a424 (only accent) / paper #f4f0e6 (light bands). */
:root{--vi:#e0a424;--vi2:#c98f12;--bl:#e0a424;--card:#1b1e25;--bg0:#14161b;--bg1:#1b1e25;--bg2:#232730;--txt:#ece8de;--mut:#a7a99f;--line2:#343a46;
  --r:8px;--sans:'Hanken Grotesk','Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--head:'Bricolage Grotesque','Hanken Grotesk',system-ui,sans-serif}
html body{font-family:var(--sans);background:#14161b!important;color:#ece8de;-webkit-font-smoothing:antialiased}
html body::before,html body::after{display:none!important;background:none!important;animation:none!important}
.snow,.snow:where(section){background:#f4f0e6!important}
.stars,.aurora,.clouds,.cloud,.fxlayer,#fx,canvas.fx,.snowfall,.flake{display:none!important}
h1,h2,h3,.sectionHead h2,.hero h1{font-family:var(--head);letter-spacing:-.01em;font-weight:700}

/* ---------- buttons: flat, one amber, no glow ---------- */
html body .btn,html body button.btn,html body a.btn{background:#e0a424!important;background-image:none!important;color:#17130a!important;border:1px solid #e0a424!important;border-radius:var(--r)!important;box-shadow:none!important;text-shadow:none!important;font-weight:650;letter-spacing:0;transform:none!important;transition:background .15s,border-color .15s}
html body .btn:hover{background:#edb534!important;border-color:#edb534!important}
html body .btn.ghost,html body .btn.outline,html body .btn.ghost2{background:transparent!important;color:#ece8de!important;border:1px solid #4a515f!important}
html body .btn.ghost:hover,html body .btn.outline:hover{background:#232730!important;border-color:#6a7282!important}
html body .btn.bad{background:#b4442f!important;border-color:#b4442f!important;color:#fff!important}
html body .btn.ok{background:#4f8a5b!important;border-color:#4f8a5b!important;color:#fff!important}
html body .btn:focus-visible,html body a:focus-visible,html body button:focus-visible,html body input:focus-visible,html body select:focus-visible,html body textarea:focus-visible{outline:2px solid #e0a424;outline-offset:2px}

/* ---------- surfaces ---------- */
html body .card,html body .tile,html body .frow,html body .facts,html body .lxcard,html body .person,html body .mcard,html body .gcard,html body .order,html body .panel,html body .sec{background:#1b1e25!important;background-image:none!important;border:1px solid #2c313b!important;border-radius:var(--r)!important;box-shadow:none!important;backdrop-filter:none!important}
html body .card:hover,html body .gcard:hover,html body .tile:hover{transform:none!important;border-color:#4a515f!important}
.snow .card,.snow .frow,.snow .person,.snow .lxcard{background:#fffdf7!important;border-color:#cfc7b3!important;color:#14161b}
html body input,html body select,html body textarea{background:#14161b!important;border:1px solid #3a404c!important;border-radius:6px!important;color:#ece8de!important;box-shadow:none!important}
html body input::placeholder,html body textarea::placeholder{color:#7b7f78}
html body .pill{border-radius:4px!important;background:#232730!important;border:1px solid #3a404c!important;color:#ece8de!important;font-weight:600;text-transform:none;letter-spacing:0}
html body .pill.ok{border-color:#4f8a5b!important;color:#8fcf9d!important}.pill.pend{border-color:#e0a424!important;color:#e0a424!important}.pill.no{border-color:#b4442f!important;color:#e88a78!important}
html body .ptag{display:inline-block;margin-left:8px;padding:1px 7px;border:1px solid #e0a424;border-radius:4px;color:#e0a424;font:600 11px/1.6 var(--sans);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
html body .ic{display:inline-flex;width:1.15em;height:1.15em;margin-right:.5em;vertical-align:-.2em;color:#e0a424}.ic svg{width:100%;height:100%}
html body .e:not(.st-m){display:inline-flex;width:1.2em;height:1.2em;flex:none;color:#e0a424}.e svg{width:100%;height:100%}
html body .lk{font:600 10px/1 var(--sans);letter-spacing:.05em;text-transform:uppercase;color:#a7a99f;border:1px solid #3a404c;border-radius:4px;padding:2px 5px;margin-left:auto}

/* ---------- top bars (site + panels) ---------- */
html body .nav,html body .dtop,html body header.dtop{background:#14161b!important;background-image:none!important;border-bottom:1px solid #2c313b!important;box-shadow:none!important;backdrop-filter:none!important}
html body .nav a,html body .dtop a{color:#d6d2c6}
html body .nlinks a:hover,html body .dtop a:hover{color:#e0a424}
html body .nlinks a[aria-current=page]{color:#e0a424;box-shadow:inset 0 -2px #e0a424}

/* ---------- bot dashboard + owner panels: no logo, no purple, header never overlaps ---------- */
.dbrand img,.drawerlogo,.herologo,.ghlogo,.snlogo{display:none!important}
.dbrand span{display:none!important}
.dbrand b{font-family:var(--head);font-size:1.05rem;letter-spacing:.14em}
html body .dtop{padding-inline:20px;gap:18px;min-height:60px}
html body .hero2{padding:36px 28px;text-align:center}
html body .hero2 h1{font-size:clamp(1.7rem,4vw,2.4rem);margin:0 0 10px}
html body .statrow>*,html body .stat{background:#1b1e25!important;border:1px solid #2c313b!important;border-radius:var(--r)!important;box-shadow:none!important}
html body .perks li::marker{content:"- ";color:#e0a424}
html body .perks{list-style:none;padding-left:0}.perks li{padding-left:0}.perks li::before{content:none!important}
html body .tile .e{font-size:1.5rem;margin-bottom:6px}
html body .st-hero .big{font-size:1.4rem;font-family:var(--head);font-weight:700}
html body .st-av{font:700 11px/1 var(--sans);background:#e0a424;color:#17130a}
html body .sidenav button,html body .snav button{border-radius:6px;background:transparent;box-shadow:none}
html body .sidenav button.on,html body .snav button.on,html body [data-k].on{background:#232730!important;box-shadow:inset 2px 0 #e0a424!important;color:#fff}
html body .toast{background:#232730!important;border:1px solid #3a404c;border-radius:6px;box-shadow:0 6px 20px rgba(0,0,0,.35)}

/* ---------- public site: hero, bars, sections ---------- */
.hero .hbg{filter:saturate(.9) brightness(.82)}
.hero .hlogo{margin:0 0 10px}
.hero .hmark{width:84px!important;height:84px!important;border:2px solid #e0a424!important;box-shadow:none!important}
.hero .hbrand{font-family:var(--head)!important;font-weight:800;font-size:clamp(2.4rem,7vw,4.2rem);letter-spacing:.04em;color:#f4f0e6!important}
.hero .namaste{border-radius:4px;font-size:.9rem;letter-spacing:.02em}
.hero .htag{font-family:var(--head);font-weight:700;max-width:18em}
.flags{opacity:.85}
.hbar{border-radius:var(--r)!important}
.hcell{border-radius:0!important;background:rgba(20,22,27,.9)!important}
.hcell b,.hbrand{color:#e0a424}
.sectionHead h2{font-size:clamp(1.5rem,3vw,2.1rem)}
section{scroll-margin-top:76px}
footer{background:#101216!important;border-top:1px solid #2c313b}
.lbrow{border-radius:6px!important;background:#1b1e25!important;border:1px solid #2c313b!important}
.lbrow.r1 .lbn{color:#e0a424}
.live i{box-shadow:none!important}
.lxbanner{background:#1b1e25!important;border-bottom:1px solid #2c313b!important;box-shadow:none!important}
.lxchip{border-radius:4px!important;background:#232730!important;border:1px solid #343a46!important}
.lxsnd{background:#1b1e25!important;border:1px solid #343a46!important;box-shadow:none!important;backdrop-filter:none!important}
.lxhint{background:#1b1e25!important;border:1px solid #343a46;border-radius:6px!important;box-shadow:none!important}
@media(prefers-reduced-motion:no-preference){.rv{transition:opacity .45s,transform .45s}}

/* panels: remove drifting clouds, star canvas, purple nav pills, gradient buttons that premium.css / pcnav.js inject */
.lxclouds,#sky,canvas#sky{display:none!important}
html body .pcnav>a,html body .pcnav .nmore>button{color:#c9c5b8;font-family:var(--sans);font-weight:600;border-radius:6px}
html body .pcnav>a:hover,html body .pcnav .nmore>button:hover,html body .pcnav .nmore.open>button{background:#232730;color:#fff}
html body .pcnav>a[aria-current=page]{background:transparent;color:#e0a424;box-shadow:inset 0 -2px #e0a424;border-radius:0}
html body .pcnav .nmenu{background:#1b1e25;border:1px solid #343a46;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.45)}
html body .pcnav .nmenu a{font-family:var(--sans)}
html body .pcnav .nmenu a.adm,html body .drawer a.adm,html body .drawer a.invl{background:#e0a424!important;background-image:none!important;color:#17130a!important;box-shadow:none!important}
html body .drawer{background:#14161b!important;box-shadow:none!important;border-right:1px solid #2c313b}
html body .btn::after,html body .btn::before{display:none!important}
html body .btn:not(.ghost):not(.outline):not(.ok):not(.bad):not(.ghost2):not(.on),html body .btn:not(.ghost):not(.outline):not(.ok):not(.bad):not(.ghost2):not(.on):hover{background:#e0a424!important;background-image:none!important;color:#17130a!important;box-shadow:none!important}
html body .btn:not(.ghost):not(.outline):not(.ok):not(.bad):not(.ghost2):not(.on):hover{background:#edb534!important}
html body .btn.on{background:#e0a424!important;background-image:none!important;color:#17130a!important;box-shadow:none!important}
html body .ghead,html body .prem,html body .sec,html body .acard,html body .gcard,html body .logincard,html body .hero2,html body .snav,html body .stat2,html body .item,html body .staff .founder,html body .endcta .card,html body dialog{background:#1b1e25!important;background-image:none!important;border:1px solid #2c313b!important;box-shadow:none!important}
html body .gicon.ph{background:#232730!important;color:#e0a424}
html body .sec h3 .ic{background:none!important}
html body .btn{min-height:42px;font-size:15px}
html body .lbrow.r1,html body .lbrow.r2,html body .lbrow.r3{background:#1b1e25!important}
html body .steps li::before{background:#e0a424!important;color:#17130a!important;box-shadow:none!important}
html body .sectionHead h2::after{background:#e0a424!important;border-radius:0!important}
html body .cd{background:#e0a424!important}
html body .tgl:checked,html body input[type=checkbox]:checked{accent-color:#e0a424}

/* homepage bands that still carried gradients */
html body .band,html body .endcta,html body .endin,html body .rankband .band{background:#1b1e25!important;background-image:none!important;border:1px solid #2c313b!important;border-radius:var(--r)!important;box-shadow:none!important}
html body .band::before,html body .endcta::before,html body .facts::before,html body .hbar::before{background:#e0a424!important;height:3px!important}
html body .band .sectionHead h2,html body .endin h2{color:#f4f0e6!important}
html body .band .sectionHead p,html body .endin p{color:#a7a99f!important}
html body .endimg img{border-radius:var(--r);border:1px solid #2c313b}
html body .pr article,html body .snow .pr article,html body .steps li,html body .faq details{box-shadow:none!important;border-radius:var(--r)!important}
html body .snow .pr article{border:1px solid #cfc7b3!important;background:#fffdf7!important}
html body .pr article::before,html body .pr article::after{display:none!important}
html body .snow .steps li{background:#fffdf7!important;border:1px solid #cfc7b3!important}
html body .snow h2,html body .snow h3{color:#14161b!important}
.lxhint{z-index:80!important}

/* v520: Emojis & Stickers library + Soundboard panels */
.xl-stats{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.xl-chip{display:inline-block;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);font-size:.88em;font-weight:600}
.xl-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:12px;scrollbar-width:none}
.xl-tabs::-webkit-scrollbar{display:none}
.xl-tab{flex:0 0 auto;padding:10px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:inherit;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.xl-tab.on{background:rgba(242,181,58,.16);border-color:#e0a424;color:#f2b53a}
.xl-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.xl-search{flex:1 1 220px;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25);color:inherit;font:inherit}
.xl-sel{flex:1 1 40%;min-width:0;padding:11px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25);color:inherit;font:inherit}
.xl-seg{display:inline-flex;border:1px solid rgba(255,255,255,.14);border-radius:12px;overflow:hidden}
.xl-seg button{padding:11px 14px;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.xl-seg button.on{background:#e0a424;color:#1a1305}
.xl-info{margin:6px 0 10px}
.xl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
.xl-grid.busy{opacity:.45;pointer-events:none}
.xl-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px 10px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);cursor:pointer;text-align:center;transition:border-color .15s,background .15s}
.xl-card:hover{border-color:rgba(242,181,58,.5)}
.xl-card.on{border-color:#f2b53a;background:rgba(242,181,58,.14);box-shadow:0 0 0 2px rgba(242,181,58,.35) inset}
.xl-card img{width:64px;height:64px;object-fit:contain}
.xl-card span{font-size:.78em;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.xl-card.own{cursor:default}
.xl-gif{position:absolute;top:6px;left:6px;font-style:normal;font-size:.62em;font-weight:700;padding:2px 5px;border-radius:6px;background:#8b5cf6;color:#fff}
.xl-plus{position:absolute;top:4px;right:4px;width:34px;height:34px;border-radius:50%;border:0;background:#e0a424;color:#1a1305;font-size:1.3em;font-weight:700;line-height:1;cursor:pointer}
.xl-plus:disabled{opacity:.6}
.xl-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.xl-acts .btn{padding:6px 10px;font-size:.8em}
.xl-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0}
.xl-bar{position:sticky;bottom:10px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:10px 14px;margin-top:10px;border-radius:14px;background:#1d2029;border:1px solid #e0a424;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.xl-bar:empty{display:none}
.xl-drop{display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 14px;margin:6px 0 12px;border:2px dashed rgba(255,255,255,.22);border-radius:16px;text-align:center;cursor:pointer}
.xl-drop.on,.xl-drop:hover,.xl-drop:focus{border-color:#f2b53a;background:rgba(242,181,58,.07);outline:0}
.xl-prev{display:flex;align-items:center;gap:12px;margin:6px 0 10px}
.xl-prev img{width:72px;height:72px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.05)}
.xl-sounds{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.xl-sound{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.xl-sname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.xl-play{flex:0 0 auto;width:40px;height:40px;border-radius:50%;border:0;background:#e0a424;color:#1a1305;font-size:1em;font-weight:700;cursor:pointer}
@media(max-width:520px){.xl-grid{grid-template-columns:repeat(3,1fr)}.xl-seg button{padding:10px}}
.snow .xl-card,.snow .xl-sound,.snow .xl-chip,.snow .xl-tab{background:#fffdf7;border-color:#cfc7b3}
/* v521: member list */
.xl-members{display:flex;flex-direction:column;gap:8px}
.xl-members.busy{opacity:.45;pointer-events:none}
.xl-member{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.xl-member>img,.xl-av{flex:0 0 auto;width:42px;height:42px;border-radius:50%;object-fit:cover;background:rgba(255,255,255,.1)}
.xl-mname{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.xl-mname b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xl-tags{display:flex;flex-wrap:wrap;gap:4px}
.xl-tags .xl-chip{padding:1px 8px;font-size:.72em}
.xl-warn{background:rgba(239,68,68,.15);border-color:#ef4444}
/* v521: channels */
.xl-tpls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.xl-chans{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.xl-group{border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:6px 10px;background:rgba(255,255,255,.03)}
.xl-ghead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px;font-weight:700;cursor:pointer}
.xl-chan{display:flex;align-items:center;gap:10px;padding:8px 4px;border-top:1px solid rgba(255,255,255,.06)}
.xl-cname{flex:1;min-width:0;overflow-wrap:anywhere}

/* v549: library live preview */
.xl-eye{position:absolute;top:6px;left:6px;width:26px;height:26px;border-radius:50%;border:0;cursor:pointer;background:rgba(0,0,0,.55);color:#fff;font-size:13px;line-height:26px;padding:0;opacity:0;transition:opacity .15s}
.xl-card:hover .xl-eye,.xl-eye:focus-visible{opacity:1}
@media (hover:none){.xl-eye{opacity:.9}}
.xl-pv-ov{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.66);overflow:auto}
.xl-pv{width:min(440px,100%);max-height:100%;overflow:auto;border-radius:18px;padding:18px;background:#15171c;border:1px solid rgba(255,255,255,.12);color:#e8eaf0;display:flex;flex-direction:column;gap:10px}
.xl-pv h3{margin:0;font-size:1.05em;word-break:break-word}
.xl-pv-big{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.xl-pv-bg{display:flex;align-items:center;justify-content:center;padding:14px;border-radius:12px;min-height:150px}
.xl-pv-bg.dark{background:#313338}.xl-pv-bg.light{background:#f2f3f5}
.xl-pv-img{object-fit:contain;max-width:100%;height:auto}
.xl-pv-chat{display:flex;gap:10px;padding:10px;border-radius:10px;background:#313338;align-items:flex-start}
.xl-pv-av{width:34px;height:34px;border-radius:50%;background:#5865f2;display:flex;align-items:center;justify-content:center;flex:none}
.xl-pv-line{display:flex;align-items:center;gap:2px;margin-top:4px;color:#dbdee1;font-size:.92em}
.xl-pv-act{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.xl-pv .hint.bad{color:#f87171}
