body[data-page=directory]{--dock: calc(58px + var(--sb));background:#141416!important}#directory{padding:calc(var(--st) + 94px) 14px calc(100px + var(--sb));background:#141416;scrollbar-width:none}#directory::-webkit-scrollbar{display:none}body.web #directory{padding-bottom:calc(118px + var(--sb))}body[data-page=directory] #logomark{opacity:1;font-size:17px;font-weight:650;text-shadow:none;gap:7px}body[data-page=directory] #logomark img{width:24px;height:24px}body[data-page=directory] #pagetitle{left:14px;right:14px;top:calc(var(--st) + 4px);height:38px;font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.5px;color:#fff}body[data-page=directory] #pagetitle:before{height:calc(var(--st) + 88px);background:#141416}body[data-page=directory] #sbtn{top:calc(var(--st) + 7px);right:14px;width:32px;height:32px;background:none;border:0;border-radius:10px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}body[data-page=directory] #sbtn svg{width:22px;height:22px}.directory-filters{display:none;position:fixed;top:calc(var(--st) + 50px);left:14px;right:14px;z-index:7;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body[data-page=directory] .directory-filters{display:grid}.directory-filters button{height:32px;border-radius:10px;background:#272729;color:#aaaab1;font-size:12px;line-height:1;font-weight:600}.directory-filters button[aria-pressed=true]{background:#f4f4f5;color:#141416}#directory .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#directory .card{position:relative;aspect-ratio:3 / 4;min-width:0;width:100%;padding:0;overflow:hidden;isolation:isolate;border-radius:12px;background:#242427;border:0!important;box-shadow:none!important;animation:none!important}#directory .card:before{content:none}#directory .card:after{content:"";position:absolute;inset:55% 0 0;z-index:1;background:linear-gradient(transparent,#00000057 55%,#000000d1);pointer-events:none;animation:none}#directory .card>.cover{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:0;border:0;box-shadow:none}#directory .copen{position:absolute;inset:0;z-index:2;border-radius:inherit}#directory .card-info{position:absolute;left:10px;right:10px;bottom:8px;z-index:3;pointer-events:none}#directory .card-name{display:flex;align-items:center;gap:4px;min-width:0;margin:0 0 5px;padding:0;font-size:13px;line-height:1.25;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap}#directory .card-name .nm{min-width:0;overflow:hidden;text-overflow:ellipsis}#directory .card-name .estat{display:block;flex:none;width:13px!important;height:13px!important;aspect-ratio:auto;background:none;object-fit:contain}#directory .cstats{display:flex;align-items:center;gap:8px;margin:0;padding:0 31px 0 0;color:#f1f1f4;font-size:10px;line-height:14px;opacity:1;white-space:nowrap}#directory .cstats .sc{color:#f1f1f4!important;gap:3px}#directory .cstats .sc svg{width:10px;height:10px;margin:0;opacity:1;filter:none!important}#directory .cstats .sc.fo svg path{fill:#b48aec!important}#directory .cstats .sc.li svg path{fill:#f18dbb!important}#directory .cstats .sc.vi svg path{fill:#7eaff1!important}#directory .cmsg{position:absolute;right:8px;bottom:7px;z-index:4;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:6px;border:0;border-radius:8px;background:#232327d9;color:#4bafff;box-shadow:none!important;animation:none!important;transform:none;margin:0}#directory .cmsg svg{width:16px;height:16px}#directory .cmsg svg path{fill:currentColor}#directory button:focus-visible{outline:2px solid #7fc4ff;outline-offset:-3px}body[data-page=directory] .chinv.soft{display:none}body[data-page=directory].web #tgbar{bottom:calc(58px + var(--sb))}@media(max-width:360px){#directory .card-info{left:8px;right:8px}#directory .card-name{font-size:12px;padding-right:24px}#directory .cstats{padding-right:0;gap:8px;font-size:9.5px}#directory .cmsg{width:26px;height:26px;bottom:29px}}@media(min-width:600px){#directory{padding-left:max(14px,calc((100% - 560px)/2));padding-right:max(14px,calc((100% - 560px)/2))}.directory-filters{left:max(14px,calc((100% - 560px)/2));right:max(14px,calc((100% - 560px)/2))}body[data-page=directory] #pagetitle{left:max(14px,calc((100% - 560px)/2))}body[data-page=directory] #sbtn{right:max(14px,calc((100% - 560px)/2))}}#grid[hidden],#members[hidden],#aigrid[hidden],#chans[hidden]{display:none!important}.directory-filters button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 4px;white-space:nowrap}.directory-filters .aiico{display:inline-block;padding:0 4px;border-radius:5px;background:linear-gradient(135deg,#a855f7,#7c3aed);color:#fff;font-size:9px;font-weight:800;letter-spacing:.03em;line-height:14px}.chans{display:flex;flex-direction:column;gap:2px;padding:2px 0 12px}.chrow{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:12px;text-align:left;color:inherit}.chrow:active{background:var(--glass)}.chrow img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#26262b;flex:none}.chrow .chn{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.chrow .chn b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chrow .chn small{font-size:12px;color:var(--dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chrow .chjn{flex:none;display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 16px;border-radius:15px;background:#2aabee;color:#fff;font-size:13px;font-weight:700}.chans .chempty{padding:24px 8px;text-align:center;color:var(--dim);font-size:13px}
