* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #0a0e14;
  --bg-1: #0f141c;
  --bg-2: #141a25;
  --bg-3: #1a2230;
  --bg-elev: #1e2734;
  --line-1: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.10);
  --line-3: rgba(255,255,255,0.16);
  --text-1: #f0ede4;
  --text-2: #a8b0bc;
  --text-3: #6b7280;
  --text-muted: #4b5563;
  --accent: #d4a574;
  --accent-hi: #e9c08a;
  --accent-lo: #a87f4f;
  --accent-glow: rgba(212,165,116,0.18);
  --owner: #e0b95a;
  --danger: #e85d5d;
  --success: #5dbb8a;
  --like: #e85d8a;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;
  --shadow-soft: 0 10px 30px -12px rgba(0,0,0,0.5);
  --shadow-deep: 0 24px 60px -20px rgba(0,0,0,0.7);
}

html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* AUTH */
.auth-screen { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; overflow: hidden; }
.auth-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at top, #161e2c 0%, var(--bg-0) 60%), var(--bg-0); }
.grain { position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; }
.orb-1 { width: 480px; height: 480px; top: -180px; left: -160px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); }
.orb-2 { width: 600px; height: 600px; bottom: -240px; right: -200px; background: radial-gradient(circle, rgba(102,126,234,0.12), transparent 70%); }

.auth-container { position: relative; z-index: 1; width: 100%; max-width: 420px; animation: fadeUp 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: translateY(0);} }

.auth-brand { text-align: center; margin-bottom: 32px; }
.brand-mark { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 16px; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: var(--shadow-soft); }
.brand-wordmark { font-family: var(--font-display); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.brand-arabic { font-family: var(--font-arabic); font-size: 24px; color: var(--accent); margin-top: 4px; }
.brand-tagline { margin-top: 12px; color: var(--text-3); font-size: 13px; }

.auth-card { background: linear-gradient(180deg, rgba(30,39,52,0.7), rgba(20,26,37,0.7)); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-deep); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-1); border-radius: var(--radius-m); padding: 4px; margin-bottom: 24px; border: 1px solid var(--line-1); }
.auth-tab { background: transparent; border: none; padding: 10px 12px; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--text-3); cursor: pointer; border-radius: var(--radius-s); transition: all 0.2s; }
.auth-tab.active { background: var(--bg-3); color: var(--text-1); }
.auth-tab:hover:not(.active) { color: var(--text-2); }

.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeUp 0.3s ease; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.field .optional { color: var(--text-muted); font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 11px 14px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-m); color: var(--text-1); font-family: inherit; font-size: 14px; transition: all 0.18s; }
.field input:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-2); }
.field-hint { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.btn-primary { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; background: var(--accent); color: #1a1208; border: none; border-radius: var(--radius-m); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hi); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.auth-note { margin-top: 14px; font-size: 12px; text-align: center; min-height: 16px; }
.auth-note.error { color: var(--danger); }
.auth-note.success { color: var(--success); }

/* APP */
.app { display: grid; grid-template-columns: 240px minmax(0,1fr) 300px; max-width: 1280px; margin: 0 auto; min-height: 100vh; }

/* LEFT NAV */
.nav-left { padding: 20px 16px; border-right: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.brand-row { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; color: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-1); line-height: 1; }
.brand-sub { font-family: var(--font-arabic); font-size: 12px; color: var(--accent); margin-top: 2px; }

.nav-items { display: flex; flex-direction: column; gap: 2px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: transparent; border: none; color: var(--text-2); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: var(--radius-m); transition: all 0.15s; text-align: left; width: 100%; }
.nav-item .nav-label { flex: 1; }
.nav-item:hover { background: var(--bg-2); color: var(--text-1); }
.nav-item.active { background: var(--bg-2); color: var(--accent); }

.compose-btn { margin: 12px 0; padding: 12px; background: var(--accent); color: #1a1208; border: none; border-radius: 100px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.compose-btn:hover { background: var(--accent-hi); }

.me-card { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-m); background: var(--bg-2); border: 1px solid var(--line-1); }
.me-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a1208; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.me-info { flex: 1; min-width: 0; }
.me-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-handle { font-size: 11px; color: var(--text-muted); }
.icon-btn { background: transparent; border: none; color: var(--text-3); padding: 6px; border-radius: var(--radius-s); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; }
.icon-btn:hover { background: var(--bg-3); color: var(--text-1); }

/* MAIN FEED */
.feed-main { border-right: 1px solid var(--line-1); min-width: 0; }
.feed-header { padding: 16px 22px; border-bottom: 1px solid var(--line-1); position: sticky; top: 0; background: rgba(10,14,20,0.85); backdrop-filter: blur(12px); z-index: 10; }
.feed-header h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

.composer-card { display: flex; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-1); }
.composer-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #1a1208; font-weight: 600; font-size: 14px; }
.composer-body { flex: 1; min-width: 0; }
.composer-body textarea, #postInput, #replyInput { width: 100%; background: transparent; border: none; color: var(--text-1); font-family: inherit; font-size: 16px; resize: none; padding: 8px 0; line-height: 1.5; }
.composer-body textarea:focus, #postInput:focus, #replyInput:focus { outline: none; }
.composer-body textarea::placeholder, #postInput::placeholder, #replyInput::placeholder { color: var(--text-3); }

.composer-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line-1); margin-top: 6px; }
.char-count { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.char-count.warn { color: var(--accent); }
.char-count.danger { color: var(--danger); }
.post-btn { width: auto !important; padding: 8px 18px !important; font-size: 13px !important; border-radius: 100px !important; }

.feed { display: flex; flex-direction: column; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--text-muted); }

/* POST */
.post { display: flex; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line-1); cursor: pointer; transition: background 0.12s; animation: fadeUp 0.25s cubic-bezier(0.2,0.7,0.2,1) both; }
.post:hover { background: var(--bg-1); }
.post-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #1a1208; font-weight: 600; font-size: 14px; }
.post-body { flex: 1; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.post-author { font-size: 14px; font-weight: 600; color: var(--text-1); }
.post-handle { font-size: 13px; color: var(--text-3); }
.post-dot { color: var(--text-muted); font-size: 12px; }
.post-time { font-size: 13px; color: var(--text-3); }
.post-role { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 4px; font-weight: 600; background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line-1); }
.post-role.owner { background: linear-gradient(135deg, var(--owner), #b89345); color: #1a1208; border-color: var(--owner); }
.post-role.admin { background: rgba(102,126,234,0.18); color: #a5b4fc; border-color: rgba(102,126,234,0.3); }
.post-content { font-size: 15px; color: var(--text-1); line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; margin-top: 2px; }
.post-content a { color: var(--accent); text-decoration: none; }
.post-content a:hover { text-decoration: underline; }

.post-actions { display: flex; gap: 32px; margin-top: 10px; }
.action-btn { display: flex; align-items: center; gap: 6px; background: transparent; border: none; color: var(--text-3); font-family: inherit; font-size: 12px; cursor: pointer; padding: 4px 8px; border-radius: 100px; transition: all 0.15s; }
.action-btn:hover { color: var(--accent); background: var(--accent-glow); }
.action-btn.liked { color: var(--like); }
.action-btn.liked:hover { color: var(--like); background: rgba(232,93,138,0.15); }
.action-btn.delete:hover { color: var(--danger); background: rgba(232,93,93,0.15); }
.action-btn.pin:hover { color: var(--accent); background: var(--accent-glow); }
.action-btn.pinned { color: var(--accent); }
.action-btn .count { font-variant-numeric: tabular-nums; }

/* RIGHT */
.nav-right { padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side-card { background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--radius-l); padding: 16px; }
.side-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.side-card p { font-size: 13px; color: var(--text-2); }
.side-card strong { color: var(--accent); font-weight: 600; }
.muted { color: var(--text-muted); font-size: 13px; }

.suggest-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.suggest-row:not(:last-child) { border-bottom: 1px solid var(--line-1); }
.suggest-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a1208; font-weight: 600; font-size: 12px; flex-shrink: 0; }
.suggest-info { flex: 1; min-width: 0; }
.suggest-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-handle { font-size: 11px; color: var(--text-muted); }
.follow-btn { padding: 6px 14px; background: var(--text-1); color: var(--bg-0); border: none; border-radius: 100px; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.follow-btn:hover { background: var(--accent); }
.follow-btn.following { background: transparent; color: var(--text-1); border: 1px solid var(--line-3); }
.follow-btn.following:hover { background: rgba(232,93,93,0.15); border-color: var(--danger); color: var(--danger); }
.follow-btn.following:hover .follow-text::before { content: 'Unfollow'; }
.follow-btn.following:hover .follow-text-inner { display: none; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
.modal-card { position: relative; width: 100%; max-width: 420px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 0; box-shadow: var(--shadow-deep); animation: fadeUp 0.25s cubic-bezier(0.2,0.7,0.2,1); max-height: 85vh; overflow-y: auto; }
.modal-wide { max-width: 600px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: var(--bg-3); border: none; color: var(--text-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: all 0.15s; }
.modal-close:hover { background: var(--bg-elev); color: var(--text-1); }

.reply-composer { padding: 14px 22px; border-bottom: 1px solid var(--line-1); border-top: 1px solid var(--line-1); background: var(--bg-1); }
.replies { background: var(--bg-1); }
.replies .post { padding-left: 22px; }

/* TOAST */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--bg-elev); color: var(--text-1); border: 1px solid var(--line-2); padding: 10px 18px; border-radius: var(--radius-m); font-size: 13px; box-shadow: var(--shadow-deep); opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.2,0.7,0.2,1); z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(232,93,93,0.5); color: var(--danger); }
.toast.success { border-color: rgba(93,187,138,0.5); color: var(--success); }

/* PROFILE VIEW */
.profile-header { padding: 24px 22px; border-bottom: 1px solid var(--line-1); }
.profile-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1a1208; font-weight: 600; font-size: 22px; flex-shrink: 0; }
.profile-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.profile-handle { font-size: 13px; color: var(--text-3); }
.profile-bio { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.profile-stats { display: flex; gap: 20px; margin-top: 12px; font-size: 13px; }
.profile-stats span strong { color: var(--text-1); margin-right: 4px; }
.profile-stats span { color: var(--text-3); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

/* ============== V3 ADDITIONS ============== */

/* Verified badges */
.verified-badge { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 3px; }
.verified-badge svg { width: 14px; height: 14px; }
.verified-badge.blue { color: #1d9bf0; }
.verified-badge.gold { color: #f0c000; }
.verified-badge.crown { color: var(--owner); }

/* Nav badge (notification count) */
.nav-item { position: relative; }
.nav-badge { position: absolute; top: 4px; right: 8px; background: var(--danger); color: white; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* Image preview in composer */
.image-preview { position: relative; margin-top: 10px; border-radius: var(--radius-m); overflow: hidden; max-width: 100%; }
.image-preview img { display: block; max-width: 100%; max-height: 300px; border-radius: var(--radius-m); }
.image-remove-btn { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.7); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.image-remove-btn:hover { background: rgba(0,0,0,0.9); }

/* Post image */
.post-image { margin-top: 10px; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line-1); max-width: 100%; }
.post-image img { display: block; max-width: 100%; max-height: 500px; cursor: pointer; }

/* Embedded quote (repost) */
.quoted-post { margin-top: 10px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--radius-m); background: var(--bg-1); cursor: pointer; transition: background 0.12s; }
.quoted-post:hover { background: var(--bg-2); }
.quoted-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 13px; }
.quoted-author { font-weight: 600; color: var(--text-1); }
.quoted-handle { color: var(--text-3); }
.quoted-content { font-size: 14px; color: var(--text-2); white-space: pre-wrap; }

/* Repost indicator */
.repost-indicator { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); margin-bottom: 4px; padding-left: 50px; }

/* New posts pill */
.new-posts-pill { position: sticky; top: 60px; align-self: center; margin: 8px auto; display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--accent); color: #1a1208; border: none; border-radius: 100px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-soft); transition: all 0.2s; z-index: 5; left: 50%; transform: translateX(-50%); }
.new-posts-pill:hover { background: var(--accent-hi); transform: translateX(-50%) translateY(-2px); }

/* Search bar */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-bottom: 1px solid var(--line-1); color: var(--text-3); }
.search-bar input { flex: 1; background: transparent; border: none; color: var(--text-1); font-family: inherit; font-size: 15px; padding: 6px 0; }
.search-bar input:focus { outline: none; }

/* Notifications */
.notif-item { display: flex; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line-1); cursor: pointer; transition: background 0.12s; }
.notif-item:hover { background: var(--bg-1); }
.notif-item.unread { background: rgba(212,165,116,0.04); border-left: 3px solid var(--accent); padding-left: 19px; }
.notif-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.notif-icon.like { color: var(--like); }
.notif-icon.follow { color: #5dbb8a; }
.notif-icon.reply, .notif-icon.repost { color: var(--accent); }
.notif-icon.mention { color: #7ba8d4; }
.notif-body { flex: 1; min-width: 0; }
.notif-text { font-size: 14px; color: var(--text-1); }
.notif-text strong { font-weight: 600; }
.notif-time { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.notif-preview { font-size: 13px; color: var(--text-2); margin-top: 4px; padding: 8px 12px; background: var(--bg-1); border-radius: var(--radius-m); border-left: 2px solid var(--line-2); }

/* Reports dashboard (owner only) */
.report-card { padding: 16px 22px; border-bottom: 1px solid var(--line-1); }
.report-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.report-status { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; font-weight: 600; }
.report-status.open { background: rgba(232,93,93,0.18); color: var(--danger); border: 1px solid rgba(232,93,93,0.3); }
.report-status.reviewed { background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line-2); }
.report-status.actioned { background: rgba(93,187,138,0.18); color: var(--success); border: 1px solid rgba(93,187,138,0.3); }
.report-status.dismissed { background: var(--bg-2); color: var(--text-3); border: 1px solid var(--line-1); }
.report-reason { padding: 10px 14px; background: var(--bg-1); border-radius: var(--radius-m); border-left: 2px solid var(--danger); font-size: 14px; color: var(--text-1); margin: 8px 0; }
.report-actions { display: flex; gap: 8px; margin-top: 10px; }
.report-action-btn { padding: 6px 14px; background: var(--bg-2); color: var(--text-1); border: 1px solid var(--line-2); border-radius: var(--radius-s); font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.report-action-btn:hover { background: var(--bg-3); border-color: var(--line-3); }
.report-action-btn.danger { color: var(--danger); border-color: rgba(232,93,93,0.3); }
.report-action-btn.danger:hover { background: rgba(232,93,93,0.15); }
.report-action-btn.success { color: var(--success); border-color: rgba(93,187,138,0.3); }
.report-action-btn.success:hover { background: rgba(93,187,138,0.15); }

/* Hashtag link */
.hashtag { color: var(--accent); cursor: pointer; }
.hashtag:hover { text-decoration: underline; }
.mention-link { color: var(--accent); cursor: pointer; }
.mention-link:hover { text-decoration: underline; }

/* Trending top card */
.trending-card { padding: 14px 22px; border-bottom: 1px solid var(--line-1); }
.trending-rank { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--accent); width: 36px; flex-shrink: 0; }

/* Admin user row */
.admin-user-row { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line-1); }
.admin-user-info { flex: 1; min-width: 0; }
.admin-actions { display: flex; gap: 6px; }
.admin-actions select { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-s); color: var(--text-1); font-family: inherit; font-size: 12px; padding: 4px 8px; }

/* Quote preview in modal */
#quotePreview .post-author { color: var(--text-1); }

/* MOBILE */
@media (max-width: 1000px) {
  .app { grid-template-columns: 70px minmax(0,1fr); }
  .nav-right { display: none; }
  .nav-item .nav-label, .brand-row > div, .me-info, .compose-btn { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .compose-btn { padding: 12px; font-size: 0; }
  .compose-btn::before { content: '+'; font-size: 22px; }
  .me-card { justify-content: center; padding: 6px; }
  .me-card .icon-btn { display: none; }
  .nav-left { padding: 16px 8px; }
}

@media (max-width: 600px) {
  .app { grid-template-columns: 1fr; }
  .nav-left { display: none; }
  .feed-header { padding: 14px 16px; }
  .composer-card, .post { padding-left: 16px; padding-right: 16px; }
}
