:root { --bg-main:#121316; --bg-surface:#1e2024; --bg-elevated:#282b30; --border-soft:#33373e; --accent:#2196f3; }
body { background:var(--bg-main); color:#f1f3f4; padding-bottom:84px; font-family:'Segoe UI',system-ui,sans-serif; }
.surface-card { background:var(--bg-surface); border:1px solid var(--border-soft); border-radius:16px; box-shadow:0 4px 18px rgba(0,0,0,.25); }
.top-search-bar { background:var(--bg-surface); border:1px solid var(--border-soft); border-radius:14px; padding:6px 12px; }
.scroll-row { display:flex; align-items:flex-start; flex-wrap:nowrap; gap:14px; overflow-x:auto; padding-bottom:10px; scrollbar-width:thin; }
.app-card { width:112px; flex:0 0 auto; text-decoration:none; color:inherit; }
.app-icon { width:98px; height:98px; border-radius:22px; object-fit:cover; background:var(--bg-elevated); box-shadow:0 4px 12px rgba(0,0,0,.35); transition:transform .15s; }
.app-card:hover .app-icon { transform:scale(1.04); }
.editor-card { background:var(--bg-surface); border:1px solid var(--border-soft); border-radius:16px; width:280px; flex:0 0 auto; overflow:hidden; text-decoration:none; color:inherit; }
.editor-banner { width:100%; height:145px; object-fit:cover; background:#111; }
.pill-badge { display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border-radius:50px; font-size:.82rem; font-weight:600; text-decoration:none; border:1px solid transparent; white-space:nowrap; }
.pill-likes { background:#e65100; color:#fff; }
.pill-editor { background:#1e88e5; color:#fff; }
.pill-verified { background:#2e7d32; color:#fff; }
.pill-ai { background:linear-gradient(135deg,#7b1fa2,#512da8); color:#fff; }
.pill-outline { background:var(--bg-elevated); color:#e8eaed; border-color:#444952; }
.avatar-wrap { position:relative; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.avatar-img { border-radius:50%; object-fit:cover; border:2px solid var(--border-soft); }
.avatar-letter { border-radius:50%; background:var(--accent); color:#fff; font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
.avatar-badge-dot { position:absolute; bottom:-2px; right:-2px; border-radius:7px; background:#1565c0; border:2px solid var(--bg-surface); color:#fff; display:flex; align-items:center; justify-content:center; }
.badge-pill-sm { display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:50px; font-size:.7rem; font-weight:600; background:rgba(33,150,243,.18); color:#64b5f6; border:1px solid rgba(33,150,243,.4); }
.mention-link { color:#64b5f6; font-weight:600; text-decoration:none; }
.mention-dropdown { position:absolute; left:0; right:0; bottom:100%; background:#25282e; border:1px solid #3c4048; border-radius:10px; max-height:190px; overflow-y:auto; z-index:1050; display:none; }
.mention-item { padding:8px 12px; cursor:pointer; display:flex; align-items:center; gap:8px; border-bottom:1px solid #32353d; }
.mention-item:hover { background:#32363e; }
.shot-lightbox { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:2000; display:none; align-items:center; justify-content:center; cursor:zoom-out; padding:15px; }
.shot-lightbox img { max-width:96%; max-height:92vh; border-radius:12px; }
.bottom-nav { position:fixed; bottom:0; left:0; right:0; border-top:1px solid var(--border-soft); z-index:1030; display:flex; justify-content:space-around; padding:8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav a { color:#b0b5bd; text-decoration:none; font-size:.72rem; text-align:center; }
.bottom-nav a.active, .bottom-nav a:hover { color:#64b5f6; }
.bottom-nav i { font-size:1.2rem; display:block; }
.install-banner { position:fixed; left:12px; right:12px; bottom:74px; z-index:1040; background:#24262b; border:1px solid #3c4048; border-radius:16px; padding:12px 14px; display:none; align-items:center; gap:12px; box-shadow:0 10px 28px rgba(0,0,0,.5); }
.install-banner.show { display:flex; }
.admin-wrap { display:flex; min-height:100vh; }
.admin-sidebar { width:240px; background:#181a1f; border-right:1px solid var(--border-soft); padding:18px 0; flex-shrink:0; }
.admin-sidebar a { display:block; padding:11px 20px; color:#b0b5bd; text-decoration:none; font-size:.9rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background:#252830; color:#fff; border-right:3px solid var(--accent); }
.admin-main { flex:1; padding:24px; max-width:1200px; }
.audit-tag { font-size:.73rem; color:#64b5f6; background:rgba(33,150,243,.12); padding:2px 8px; border-radius:6px; display:inline-block; }
@media (max-width:768px) { .admin-wrap { display:block; } .admin-sidebar { position:fixed; left:-260px; top:0; bottom:0; z-index:1100; transition:left .2s; overflow-y:auto; } .admin-sidebar.open { left:0; } }