@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{--bg:#0d1118;--panel:#111827;--panel2:#151f2f;--text:#f8fafc;--muted:#9aa7b8;--line:#253247;--gold:#d8a441;--blue:#3b82f6;--danger:#ef4444;--ok:#22c55e}*{box-sizing:border-box}body{color:var(--text);background:radial-gradient(circle at 0 0,#1f3760 0,#0d1118 36%,#080b10 100%);min-height:100vh;margin:0;font-family:Inter,system-ui,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;padding-bottom:82px}.top-header{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d1118c7;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;padding:14px 22px;display:flex;position:sticky;top:0}.logo-btn,.top-actions{align-items:center;gap:10px;display:flex}.logo-btn{color:#fff;background:0 0;border:0;font-size:18px;font-weight:800}.brand-mark{background:linear-gradient(135deg, var(--blue), var(--gold));color:#fff;border-radius:16px;place-items:center;width:44px;height:44px;font-weight:900;display:grid;box-shadow:0 16px 40px #3b82f63d}.brand-mark.small{border-radius:12px;width:34px;height:34px}.pill,.user-chip{border:1px solid var(--line);color:var(--muted);background:#ffffff0a;border-radius:999px;align-items:center;gap:7px;padding:9px 12px;font-size:13px;display:flex}.main-grid{grid-template-columns:300px minmax(0,780px);gap:22px;max-width:1160px;margin:24px auto;padding:0 18px;display:grid}.card{background:linear-gradient(#151f2ff2,#0d1118f2);border:1px solid #ffffff14;border-radius:28px;box-shadow:0 24px 80px #00000040}.glass{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.sidebar{height:max-content;padding:18px;position:sticky;top:86px}.brand-panel{gap:12px;margin-bottom:18px;display:flex}.brand-panel h1{margin:0;font-size:20px}.brand-panel p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.35}.desktop-nav{gap:9px;display:grid}.nav-btn{color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:17px;align-items:center;gap:10px;padding:13px 14px;display:flex}.nav-btn:hover,.nav-btn.active{color:#fff;background:#3b82f61f;border-color:#3b82f640}.content-area{min-width:0}.page-stack{gap:18px;display:grid}.hero-card{padding:26px}.hero-card h2{margin:0 0 8px;font-size:30px}.hero-card p,.empty-state p,.composer p{color:var(--muted);line-height:1.5}.post-card{overflow:visible;box-shadow:none!important;background:0 0!important;border:none!important;border-bottom:1px solid #94a3b83d!important;border-radius:0!important;margin:0!important;padding:16px 4px 18px!important}.post-card:last-child{border-bottom:none!important}.post-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.profile-link{color:#fff;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.profile-link small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.avatar{object-fit:cover;border:2px solid #ffffff1f;border-radius:50%}.avatar.fallback{background:linear-gradient(135deg,#253247,#3b82f6);place-items:center;font-weight:800;display:grid}.post-text{white-space:pre-wrap;color:#e5e7eb;margin:0 0 10px;font-size:15px;line-height:1.45}.post-image{object-fit:cover;background:#0b111b;border:1px solid #ffffff14;border-radius:14px;width:100%;max-height:430px;margin-top:8px;display:block}.post-card small{color:var(--muted);margin-top:8px;font-size:12px;display:block}.post-actions{gap:12px;margin-top:12px;display:flex}.post-actions button,.mini-actions button{border:1px solid var(--line);color:var(--text);background:#ffffff0d;border-radius:999px;align-items:center;gap:7px;padding:10px 13px;display:flex}.primary-btn,.ghost-btn{color:#fff;background:linear-gradient(135deg, var(--blue), #1d4ed8);border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:700;display:inline-flex}.ghost-btn{border:1px solid var(--line);background:#ffffff0f}.primary-btn.full{border-radius:17px;width:100%}.icon-btn{color:#fff;background:#ffffff0f;border:0;border-radius:14px;place-items:center;width:40px;height:40px;display:grid}.icon-btn.danger{color:#fecaca}.icon-btn.ok{color:#bbf7d0}.composer{gap:14px;padding:22px;display:grid}.composer h2,.modal h2{margin:0}.composer textarea,.modal textarea,input{color:#fff;border:1px solid var(--line);background:#0b111b;border-radius:18px;outline:none;width:100%;padding:14px}.composer textarea,.modal textarea{resize:vertical;min-height:130px}.upload-box{color:#fde68a;background:#d8a44114;border:1px dashed #d8a44180;border-radius:20px;align-items:center;gap:10px;padding:18px;display:flex}.upload-box input{display:none}.hint{color:var(--muted);font-size:13px}.error-text{color:#fecaca}.search-card{align-items:center;gap:10px;padding:12px;display:flex}.search-card input{background:0 0;border:0}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.person-card{text-align:left;color:#fff;border:1px solid #ffffff14;padding:20px}.person-card h3{margin:12px 0 5px}.person-card p,.person-card small{color:var(--muted);line-height:1.45}.profile-hero{gap:20px;padding:24px;display:flex}.profile-info{flex:1}.profile-info h2{margin:0 0 8px;font-size:30px}.profile-info p{color:var(--muted);line-height:1.5}.request-box{gap:10px;margin:16px 0;display:flex}.mini-actions{gap:10px;display:flex}.section-title{margin:8px 4px 0}.request-card{grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:16px;display:grid}.request-card p{color:var(--muted)}.chat-layout{grid-template-columns:280px 1fr;min-height:620px;display:grid;overflow:hidden}.chat-list{border-right:1px solid var(--line);padding:16px;overflow:auto}.chat-item{text-align:left;color:#fff;background:0 0;border:1px solid #0000;border-radius:16px;gap:4px;width:100%;margin-bottom:8px;padding:13px;display:grid}.chat-item small{color:var(--muted)}.chat-item.active{background:#3b82f624;border-color:#3b82f640}.chat-window{flex-direction:column;min-height:620px;display:flex}.messages{flex-direction:column;flex:1;gap:10px;padding:18px;display:flex;overflow:auto}.bubble{background:#1f2937;border-radius:18px 18px 18px 5px;max-width:72%;padding:11px 13px}.bubble.mine{background:#1d4ed8;border-radius:18px 18px 5px;align-self:flex-end}.bubble p{margin:0}.bubble small{color:#cbd5e1;margin-top:5px;font-size:11px;display:block}.message-form{border-top:1px solid var(--line);gap:10px;padding:14px;display:flex}.modal-backdrop{z-index:30;background:#000000ad;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{gap:13px;width:min(520px,100%);padding:22px;display:grid}.modal label{color:var(--muted);gap:7px;font-size:14px;display:grid}.empty-state{text-align:center;color:var(--muted);padding:28px}.empty-state h2{color:#fff}.loading-screen{min-height:100vh;color:var(--muted);place-items:center;display:grid}.loader{border:4px solid var(--line);border-top-color:var(--blue);border-radius:50%;width:46px;height:46px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.bottom-nav{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d1118f0;border-top:1px solid #ffffff14;grid-template-columns:repeat(6,1fr);gap:2px;padding:8px 6px;display:none;position:fixed;bottom:0;left:0;right:0}.bottom-btn{color:var(--muted);background:0 0;border:0;place-items:center;gap:3px;font-size:10px;display:grid}.bottom-btn.active{color:#fff}.bottom-btn svg{width:21px;height:21px}@media (width<=900px){.main-grid{grid-template-columns:1fr;margin:14px auto;padding:0 12px}.sidebar{display:none}.top-header{padding:12px}.pill,.user-chip{display:none}.bottom-nav{display:grid}.hero-card h2{font-size:24px}.people-grid{grid-template-columns:1fr}.profile-hero{text-align:center;display:grid}.request-box{display:grid}.chat-layout{grid-template-columns:1fr;min-height:70vh}.chat-list{border-right:0;border-bottom:1px solid var(--line);max-height:210px}.chat-window{min-height:460px}.top-actions{gap:6px}.primary-btn,.ghost-btn{padding:10px 12px;font-size:13px}.post-card{padding:14px 0 16px!important}.post-image{border-radius:26px;max-height:360px}}@media (width>=901px){.post-image{max-height:460px}}.profile-photo-picker{gap:14px;display:grid}.profile-photo-preview{width:116px;height:116px;color:var(--muted);background:#0b111b;border:2px solid #ffffff1f;border-radius:50%;place-items:center;margin:0 auto;display:grid;overflow:hidden}.profile-photo-preview img{object-fit:cover;width:100%;height:100%}.crop-modal-backdrop{z-index:90;background:#000000c7;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.crop-modal{background:#0d1118;border:1px solid #ffffff1f;border-radius:28px;width:min(460px,100%);padding:18px;box-shadow:0 28px 90px #0000008c}.crop-modal h2{margin:0 0 8px;font-size:20px}.crop-modal p{color:var(--muted);margin:0 0 14px;font-size:14px;line-height:1.45}.crop-area{background:#05070b;border-radius:24px;width:100%;height:360px;position:relative;overflow:hidden}.zoom-control{color:var(--muted);gap:8px;margin-top:16px;font-size:14px;display:grid}.zoom-control input{padding:0}.crop-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.profile-own-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.ghost-btn.full{border-radius:17px;width:100%}.clickable-photo{cursor:zoom-in}.image-viewer-backdrop{z-index:120;background:#000000eb;flex-direction:column;display:flex;position:fixed;inset:0}.image-viewer-top{color:#fff;background:#0d1118b8;border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;gap:10px;height:64px;display:flex}.image-viewer-top button{color:#fff;background:#ffffff14;border:1px solid #ffffff1f;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.image-viewer-top span{text-align:center;color:#cbd5e1;min-width:62px;font-weight:700}.image-viewer-content{flex:1;place-items:center;padding:24px;display:grid;overflow:auto}.image-viewer-content img{object-fit:contain;transform-origin:50%;border-radius:18px;max-width:92vw;max-height:82vh;transition:transform .18s}.post-image{border-radius:28px}.drawer-backdrop{z-index:150;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0000009e;justify-content:flex-end;display:flex;position:fixed;inset:0}.info-drawer{background:linear-gradient(#111827,#0d1118);border-left:1px solid #ffffff1a;width:min(420px,92vw);height:100%;padding:18px;animation:.22s ease-out drawerIn;overflow-y:auto;box-shadow:-30px 0 80px #00000073}@keyframes drawerIn{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.drawer-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:9999!important;background:#0000009e!important;justify-content:flex-end!important;align-items:stretch!important;display:flex!important;position:fixed!important;inset:0!important}.info-drawer{animation:.22s ease-out drawerIn;background:linear-gradient(#111827,#0d1118)!important;border-left:1px solid #ffffff1a!important;width:min(420px,92vw)!important;height:100vh!important;max-height:100vh!important;padding:18px!important;position:relative!important;overflow-y:auto!important;box-shadow:-30px 0 80px #00000073!important}.drawer-header{border-bottom:1px solid #94a3b82e;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:18px;display:flex}.drawer-header h2{margin:0;font-size:22px}.drawer-header p{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:1.45}.drawer-close{color:#fff;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.drawer-section{gap:14px;padding:18px 0;display:grid}.drawer-item{background:#ffffff09;border:1px solid #ffffff14;border-radius:20px;grid-template-columns:auto 1fr;gap:12px;padding:14px;display:grid}.drawer-item svg{color:var(--gold);margin-top:2px}.drawer-item h3{margin:0 0 6px;font-size:15px}.drawer-item p{color:var(--muted);margin:0 0 8px;font-size:13px;line-height:1.5}.drawer-item a{color:#93c5fd;word-break:break-word;font-weight:700;text-decoration:none}.drawer-footer{color:var(--muted);border-top:1px solid #94a3b82e;align-items:center;gap:8px;padding-top:16px;font-size:13px;display:flex}.hamburger-btn{color:#fff;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:14px;place-items:center;width:42px;height:42px;display:grid}
