:root {
  --bg: #000000;
  --bg2: #0a0a0a;
  --card: #16181c;
  --line: #2f3336;
  --text: #e7e9ea;
  --muted: #71767b;
  --accent: #a855f7;
  --accent2: #38bdf8;
  --pink: #f472b6;
  --like: #f91880;
  --repost: #00ba7c;
  --reply: #1d9bf0;
  --glow: none;
  --radius: 16px;
  --nav: 275px;
  --right: 350px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
}
[data-theme="light"] {
  --bg: #fff; --bg2: #f7f7f8; --card: #f7f9f9; --line: #eff3f4;
  --text: #0f1419; --muted: #536471;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: transparent; }
img, video { max-width: 100%; display: block; }
.vx-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vx-ico { width: 1.45rem; height: 1.45rem; display: block; fill: none; stroke: currentColor; flex-shrink: 0; }
.vx-ico-sm { width: 1.15rem; height: 1.15rem; }
.vx-ico-xs { width: .85rem; height: .85rem; }

.vx-app { display: grid; grid-template-columns: var(--nav) minmax(0, 600px) var(--right); max-width: 1260px; margin: 0 auto; min-height: 100vh; }
.vx-sidenav { position: sticky; top: 0; height: 100vh; padding: 8px 12px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.vx-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; padding: 12px 12px 16px; }
.vx-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem;
  background: linear-gradient(135deg, #7c3aed, #ec4899); }
.vx-sidenav nav { display: flex; flex-direction: column; gap: 2px; }
.vx-sidenav nav a { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 999px; font-size: 1.15rem; font-weight: 500; width: fit-content; max-width: 100%; }
.vx-sidenav nav a:hover { background: rgba(231,233,234,.08); }
.vx-sidenav nav a.on { font-weight: 700; }
.vx-sidenav nav b { margin-left: 4px; min-width: 18px; text-align: center; background: var(--accent); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 99px; font-weight: 700; }
.vx-btn { border: 0; background: var(--text); color: var(--bg); border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; }
.vx-btn-sm { padding: 7px 16px; font-size: 14px; }
.vx-btn-glow { background: var(--accent); color: #fff; }
.vx-btn-glow:hover { filter: brightness(1.08); }
.vx-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.vx-btn-ghost:hover { background: rgba(231,233,234,.06); }
.vx-compose-open { width: calc(100% - 16px); margin: 12px 8px 0; padding: 14px; font-size: 1.05rem; }
.vx-mechip { display: flex; gap: 10px; align-items: center; margin-top: auto; padding: 10px 12px; border-radius: 999px; }
.vx-mechip:hover { background: rgba(231,233,234,.08); }
.vx-mechip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vx-mechip strong, .vx-who strong { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.vx-mechip small, .vx-who small, .vx-muted { color: var(--muted); }
.vx-verified { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; vertical-align: middle; flex-shrink: 0; line-height: 0; }
.vx-verified-ico { width: 18px; height: 18px; display: block; }
.vx-admin-badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; background: rgba(168,85,247,.2); color: #c4b5fd; border: 1px solid rgba(168,85,247,.35); padding: 1px 6px; border-radius: 6px; }

.vx-main { border-right: 1px solid var(--line); min-height: 100vh; min-width: 0; }
.vx-topbar { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(20px); background: color-mix(in srgb, var(--bg) 75%, transparent); padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-topbar .vx-icon-btn { color: var(--text); }
.vx-topbar h1 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.vx-tabs { display: flex; border-bottom: 1px solid var(--line); }
.vx-tabs a, .vx-tabs button { flex: 1; text-align: center; padding: 16px 8px; background: none; border: 0; border-bottom: 4px solid transparent; cursor: pointer; color: var(--muted); font-weight: 600; }
.vx-tabs a:hover, .vx-tabs button:hover { background: rgba(231,233,234,.04); }
.vx-tabs .on { color: var(--text); border-bottom-color: var(--accent); }

.vx-right { padding: 8px 20px 24px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.vx-search { position: relative; margin: 4px 0 16px; }
.vx-search .vx-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.vx-search input { width: 100%; background: var(--card); border: 1px solid transparent; border-radius: 999px; padding: 12px 16px 12px 44px; outline: none; }
.vx-search input:focus { background: var(--bg); border-color: var(--accent); }
.vx-card { background: var(--card); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; }
.vx-card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.vx-trend { display: flex; flex-direction: column; padding: 10px 4px; border-radius: 8px; }
.vx-trend:hover, .vx-who:hover { background: rgba(231,233,234,.04); }
.vx-trend small { color: var(--muted); }
.vx-who { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; gap: 8px; border-radius: 8px; }
.vx-who a { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; }
.vx-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vx-legal { color: var(--muted); font-size: 12px; padding: 8px 4px; }

.vx-stories { display: flex; gap: 14px; overflow-x: auto; padding: 14px 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.vx-story { flex: 0 0 auto; width: 72px; text-align: center; font-size: 12px; color: var(--muted); cursor: pointer; position: relative; }
.vx-story img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; padding: 2px; border: 2px solid var(--accent); margin: 0 auto 6px; }
.vx-story.add img { border-color: var(--line); }
.vx-story.add .vx-story-plus { position: absolute; right: 6px; top: 38px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); }
.vx-story.add .vx-story-plus .vx-ico { width: 12px; height: 12px; }

.vx-composer { padding: 16px; display: flex; gap: 12px; border-bottom: 1px solid var(--line); }
.vx-composer img.av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.vx-composer textarea, .vx-modal textarea {
  width: 100%; border: 0; resize: none; outline: none; font-size: 1.2rem; min-height: 72px;
  background: transparent; color: var(--text); line-height: 1.4;
}
.vx-modal textarea { min-height: 140px; font-size: 1.35rem; }
.vx-composer textarea::placeholder, .vx-modal textarea::placeholder { color: var(--muted); }
.vx-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.vx-preview img, .vx-preview video { max-height: 140px; border-radius: 12px; border: 1px solid var(--line); }

.vx-feed .vx-post { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); position: relative; }
.vx-post:hover { background: rgba(231,233,234,.03); }
.vx-post .av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vx-post-head { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.vx-post-head .name { font-weight: 700; }
.vx-post-head .name:hover { text-decoration: underline; }
.vx-post-head .meta { color: var(--muted); font-size: 15px; font-weight: 400; }
.vx-post-head .vx-del { margin-left: auto; color: var(--muted); }
.vx-post .body { margin: 4px 0 8px; line-height: 1.5; font-size: 15px; word-break: break-word; }
.vx-tag, .vx-mention, .vx-link { color: var(--reply); }
.vx-media { display: grid; gap: 2px; border-radius: 16px; overflow: hidden; margin-top: 8px; border: 1px solid var(--line); background: #000; }
.vx-media.g2 { grid-template-columns: 1fr 1fr; }
.vx-media img, .vx-media video { width: 100%; max-height: 510px; object-fit: contain; background: #000; }
.vx-quote { border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-top: 8px; display: block; }
.vx-quote:hover { background: rgba(231,233,234,.04); }

.vx-actions { display: flex; justify-content: space-between; max-width: 480px; margin-top: 6px; color: var(--muted); }
.vx-actions button { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 99px; font-size: 13px; color: var(--muted); }
.vx-actions button:hover { color: var(--reply); }
.vx-actions button[data-act="repost"]:hover { color: var(--repost); }
.vx-actions button[data-act="like"]:hover, .vx-actions button.liked { color: var(--like); }
.vx-actions button.liked .vx-ico { fill: currentColor; }
.vx-actions button.booked { color: var(--accent); }
.vx-actions button[data-act="repost"].liked { color: var(--repost); }

.vx-poll { margin-top: 8px; display: grid; gap: 8px; }
.vx-poll button, .vx-poll .opt { position: relative; border: 1px solid var(--accent); background: transparent; border-radius: 999px; padding: 10px 14px; text-align: left; overflow: hidden; cursor: pointer; z-index: 0; }
.vx-poll .bar { position: absolute; inset: 0 auto 0 0; background: rgba(168,85,247,.22); z-index: -1; }

.vx-cover { height: 200px; background: linear-gradient(135deg, #1e1b4b, #7c3aed, #db2777); background-size: cover; background-position: center; }
.vx-profile { padding: 0 16px 20px; }
.vx-profile .av-xl { width: 134px; height: 134px; border-radius: 50%; border: 4px solid var(--bg); margin-top: -68px; object-fit: cover; }
.vx-profile-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 12px; }
.vx-profile h1 { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 1.35rem; }
.vx-stats { display: flex; gap: 18px; color: var(--muted); margin: 12px 0; }
.vx-stats b { color: var(--text); }
.vx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.vx-grid a { aspect-ratio: 1; background: var(--card); overflow: hidden; }
.vx-grid img, .vx-grid video { width: 100%; height: 100%; object-fit: cover; }

.vx-auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background:
  radial-gradient(circle at 20% 20%, rgba(168,85,247,.28), transparent 40%), var(--bg); }
.vx-auth-card { width: min(420px, 100%); background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.vx-auth-card h1 { margin: 0 0 6px; }
.vx-field { display: grid; gap: 6px; margin: 12px 0; color: var(--muted); font-size: 14px; }
.vx-field input, .vx-field textarea, .vx-field select { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; outline: none; color: var(--text); }
.vx-field input:focus { border-color: var(--accent); }
.vx-err { color: #f87171; font-size: 14px; }

.vx-notif { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.vx-notif img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vx-notif:hover { background: rgba(231,233,234,.03); }

.vx-thread { position: relative; }
.vx-thread-anc .vx-post { opacity: .88; }
.vx-thread-anc .vx-post::after {
  content: ""; position: absolute; left: 39px; top: 56px; bottom: -8px; width: 2px; background: var(--line);
}
.vx-thread-anc, .vx-thread-focus { position: relative; }
.vx-post-focus { background: rgba(168,85,247,.06); }
.vx-post-parent { border-bottom: 0; }
.vx-reply-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vx-reply-hint { margin: 0 0 4px; font-size: 13px; }
.vx-composer-body { flex: 1; min-width: 0; }
.vx-replies-label { padding: 14px 16px 4px; font-weight: 700; }

.vx-page-section { padding: 8px 0 16px; }
.vx-page-section h2 { margin: 8px 16px 12px; font-size: 1.15rem; }
.vx-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 0 16px; }
.vx-page-tile { display: flex; flex-direction: column; background: var(--card); border-radius: 16px; overflow: hidden; min-height: 160px; }
.vx-page-tile-cover { display: block; height: 64px; background: linear-gradient(135deg, #1e1b4b, #7c3aed); background-size: cover; background-position: center; }
.vx-page-tile img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: -28px 12px 8px; border: 3px solid var(--card); }
.vx-page-tile strong, .vx-page-tile small { padding: 0 12px; }
.vx-page-tile small { color: var(--muted); padding-bottom: 14px; }
.vx-page-row { padding: 12px 16px; }
.vx-page-form { padding: 8px 16px 40px; }
.vx-page-form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.vx-page-hero-edit { position: relative; margin-bottom: 48px; }
.vx-page-cover-pick { display: block; cursor: pointer; }
.vx-page-cover-prev { display: block; height: 160px; border-radius: 16px; background: linear-gradient(135deg, #1e1b4b, #7c3aed, #db2777); background-size: cover; background-position: center; }
.vx-page-cover-cta { position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.55); color: #fff; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.vx-page-av-pick { position: absolute; left: 16px; bottom: -36px; cursor: pointer; }
.vx-page-av-pick img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); }
.vx-page-av-pick span { position: absolute; right: 0; bottom: 4px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; }

.vx-confirm-modal { place-items: center; padding: 16px; z-index: 90; }
.vx-confirm-card { width: min(400px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px 16px; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.vx-confirm-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.vx-confirm-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.45; }
.vx-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.vx-btn-danger { background: #f91880; color: #fff; }

.vx-story-body { margin: 0; background: #000; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.vx-story-shell { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(ellipse at center, #1a1a1a, #000 70%); }
.vx-story-stage { position: relative; width: min(420px, 100vw); height: min(100dvh, calc(min(420px, 100vw) * 16 / 9)); background: #0a0a0a; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 80px rgba(0,0,0,.55); }
.vx-story-stage::before, .vx-story-stage::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
}
.vx-story-stage::before { top: 0; height: 140px; background: linear-gradient(to bottom, rgba(0,0,0,.72), transparent); }
.vx-story-stage::after { bottom: 0; height: 160px; background: linear-gradient(to top, rgba(0,0,0,.62), transparent); }
.vx-story-stage.paused .vx-story-media { filter: brightness(.82); }
.vx-story-bars { display: flex; gap: 3px; padding: 10px 12px 0; z-index: 4; position: relative; }
.vx-story-bars i { flex: 1; height: 2.5px; border-radius: 99px; background: rgba(255,255,255,.32); overflow: hidden; display: block; }
.vx-story-bars i b { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.vx-story-bars i.done b { width: 100%; }
.vx-story-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; z-index: 4; position: relative; }
.vx-story-user { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.vx-story-user img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.vx-story-user strong { display: flex; align-items: center; gap: 4px; font-size: 14px; text-shadow: 0 1px 6px #000; }
.vx-story-user small { display: block; color: rgba(255,255,255,.78); font-size: 12px; }
.vx-story-close { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; z-index: 5; }
.vx-story-close:hover { background: rgba(255,255,255,.12); }
.vx-story-media { flex: 1; display: grid; place-items: center; min-height: 0; background: #000; }
.vx-story-media img, .vx-story-media video { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.vx-story-cap { position: absolute; left: 16px; right: 16px; bottom: 36px; color: #fff; text-align: center; text-shadow: 0 1px 10px #000; z-index: 4; font-size: 15px; line-height: 1.4; }
.vx-story-hit { position: absolute; top: 0; bottom: 0; width: 34%; border: 0; background: transparent; cursor: pointer; z-index: 3; }
.vx-story-hit.left { left: 0; }
.vx-story-hit.right { right: 0; width: 66%; }

.vx-modal { position: fixed; inset: 0; background: rgba(91, 112, 131, .4); display: grid; place-items: start center; z-index: 50; padding: 40px 16px; overflow: auto; }
.vx-modal-card { width: min(600px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 16px; margin-top: 4vh; }
.vx-modal-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 1.15rem; }
.vx-x { width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--text); }
.vx-x:hover { background: rgba(231,233,234,.1); }
.vx-comp-bar { display: flex; align-items: center; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.vx-icon-btn { position: relative; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--accent); overflow: hidden; }
.vx-icon-btn:hover { background: rgba(168,85,247,.12); }
.vx-icon-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vx-type { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); font-size: 13px; cursor: pointer; }
.vx-count { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.vx-poll-box { display: grid; gap: 8px; margin-top: 10px; }
.vx-poll-box input { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; }
.vx-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 80; font-weight: 600; }
.vx-bottom { display: none; }
.vx-online { width: 10px; height: 10px; background: #00ba7c; border-radius: 50%; display: inline-block; }
.vx-admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.vx-admin nav { background: var(--bg2); border-right: 1px solid var(--line); padding: 18px; }
.vx-admin nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; margin: 4px 0; }
.vx-admin nav a.on, .vx-admin nav a:hover { background: rgba(168,85,247,.15); }
.vx-table { width: 100%; border-collapse: collapse; }
.vx-table th, .vx-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.vx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 16px; }
.vx-kpi { background: var(--card); border-radius: 16px; padding: 16px; }
.vx-kpi b { display: block; font-size: 1.6rem; }
.vx-empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.vx-empty .vx-btn { margin-top: 14px; display: inline-flex; }

.vx-menu-btn, .vx-scrim { display: none; }
.vx-edit-hero { position: relative; margin-bottom: 28px; }
.vx-edit-hero .vx-cover { height: 180px; border-radius: 0 0 16px 16px; }
.vx-edit-av { position: relative; width: 112px; margin: -56px 16px 0; }
.vx-edit-av img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); }
.vx-edit-av label, .vx-cover-edit { position: absolute; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; cursor: pointer; }
.vx-edit-av label { right: 4px; bottom: 8px; width: 36px; height: 36px; }
.vx-cover-edit { right: 16px; bottom: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; gap: 6px; flex-direction: row; width: auto; height: auto; display: flex; align-items: center; }
.vx-cover-edit input, .vx-edit-av input { display: none; }
.vx-settings { padding: 0 16px 32px; }
.vx-settings .vx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vx-page-edit { margin: 12px 16px; }

@media (max-width: 1100px) {
  .vx-app { grid-template-columns: 80px minmax(0,1fr); }
  .vx-right { display: none; }
  .vx-sidenav .vx-hide, .vx-compose-open, .vx-mechip span { display: none; }
  .vx-sidenav { width: 80px; padding: 8px; align-items: center; }
  .vx-sidenav nav a { justify-content: center; padding: 12px; width: 48px; }
  .vx-logo { padding: 12px 0; }
}
@media (max-width: 760px) {
  .vx-app { grid-template-columns: 1fr; }
  .vx-right { display: none; }
  .vx-menu-btn { display: grid; place-items: center; position: fixed; top: 8px; left: 8px; z-index: 45; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--card); color: var(--text); cursor: pointer; }
  .vx-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .vx-nav-open .vx-scrim { opacity: 1; pointer-events: auto; }
  .vx-nav-open .vx-menu-btn { opacity: 0; pointer-events: none; }
  .vx-sidenav {
    display: flex !important;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 40;
    width: min(86vw, 300px);
    height: 100vh;
    padding: 12px 14px 20px;
    align-items: stretch;
    transform: translateX(-105%);
    transition: transform .22s ease;
    background: var(--bg);
    box-shadow: 8px 0 40px rgba(0,0,0,.35);
  }
  .vx-nav-open .vx-sidenav { transform: translateX(0); }
  .vx-nav-open .vx-sidenav .vx-hide,
  .vx-nav-open .vx-compose-open,
  .vx-nav-open .vx-mechip span { display: unset; }
  .vx-sidenav .vx-compose-open { display: none; }
  .vx-nav-open .vx-compose-open { display: block !important; width: calc(100% - 8px); }
  .vx-sidenav nav a { width: auto !important; justify-content: flex-start !important; padding: 12px 16px !important; }
  .vx-logo { padding: 12px 12px 16px !important; }
  .vx-topbar { padding-left: 52px; }
  .vx-bottom { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; align-items: center; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + var(--safe-b)); z-index: 20; }
  .vx-bottom a { color: var(--muted); padding: 8px; position: relative; }
  .vx-bottom a.on { color: var(--text); }
  .vx-bottom b { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font-size: 10px; border-radius: 99px; padding: 0 5px; }
  .vx-main { padding-bottom: 72px; }
  .vx-story-stage { width: 100vw; height: 100dvh; max-height: none; }
  .vx-cover { height: 140px; }
  .vx-profile .av-xl { width: 84px; height: 84px; margin-top: -42px; }
  .vx-modal { padding: 0; place-items: stretch; }
  .vx-modal-card { width: 100%; min-height: 100%; border-radius: 0; margin: 0; }
  .vx-confirm-modal { padding: 16px; place-items: center; }
  .vx-confirm-card { min-height: 0; width: min(400px, 100%); border-radius: 20px; }
  .vx-settings .vx-grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
  .vx-story-stage { border-radius: 18px; }
}
[hidden] { display: none !important; }
