:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #ffffff;
  --raised: #ffffff;
  --hover: rgba(15, 20, 30, 0.055);
  --press: rgba(15, 20, 30, 0.1);
  --border: #e6e8ec;
  --text: #14171c;
  --muted: #68707d;
  --faint: #9aa1ad;
  --accent: #4b57d6;
  --accent-hover: #3f4ac2;
  --accent-soft: rgba(75, 87, 214, 0.11);
  --on-accent: #ffffff;
  --danger: #d43c4b;
  --star: #e2a012;
  --placeholder: #eceef1;
  --shadow: 0 8px 28px rgba(15, 20, 30, 0.14), 0 1px 3px rgba(15, 20, 30, 0.1);
  --bar: rgba(255, 255, 255, 0.86);
  --radius: 16px;
  --sidebar: 264px;
  --column: 600px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1012;
    --surface: #0f1012;
    --raised: #1a1c20;
    --hover: rgba(255, 255, 255, 0.07);
    --press: rgba(255, 255, 255, 0.12);
    --border: #2a2d33;
    --text: #e9ebee;
    --muted: #8d95a1;
    --faint: #6a717c;
    --accent: #8490ff;
    --accent-hover: #99a3ff;
    --accent-soft: rgba(132, 144, 255, 0.16);
    --on-accent: #0f1012;
    --danger: #ff6b78;
    --star: #f2b632;
    --placeholder: #1d2025;
    --shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --bar: rgba(15, 16, 18, 0.84);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.pad { padding: 10px 14px; margin: 0; }
.spacer { flex: 1 1 auto; }
.icon { flex: none; display: block; }

/* ---------------------------------------------------------- controls */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 999px;
  background: transparent; font-weight: 600; white-space: nowrap;
  transition: background 0.12s;
}
.btn:hover { background: var(--hover); }
.btn.primary { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.primary:disabled { opacity: 0.45; }
.btn.quiet { border-color: transparent; color: var(--muted); padding: 0 10px; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  transition: background 0.12s, color 0.12s;
}
.icon-btn.small { width: 30px; height: 30px; }
.icon-btn:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.icon-btn:disabled { opacity: 0.35; }
.icon-btn.accent { color: var(--accent); }
.icon-btn.accent:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent); }
.icon-btn.danger:hover:not(:disabled) { color: var(--danger); }

input[type="text"], input[type="password"], input[type="search"] {
  width: 100%; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); outline: none;
}
input[type="text"]:focus, input[type="password"]:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}

.chip {
  display: inline-flex; align-items: center; flex: none;
  height: 32px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--text);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip:hover { background: var(--hover); text-decoration: none; }
.chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip.small { height: 28px; padding: 0 11px; font-size: 13px; color: var(--muted); }
.chip.small.active { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.chip.manage { padding: 0 9px; color: var(--muted); }

.avatar {
  display: inline-grid; place-items: center; flex: none; overflow: hidden;
  border-radius: 50%; background: var(--placeholder);
  color: #fff; font-weight: 600; line-height: 1; user-select: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spinner {
  display: inline-block; width: 22px; height: 22px;
  border: 2.5px solid var(--border); border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- login */

.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: min(100%, 340px); display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  text-align: center;
}
.login-card h1 { margin: 4px 0 0; font-size: 24px; letter-spacing: 0.02em; }
.login-card p { margin: 0 0 6px; }
.login-card .brand-mark { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto; }
.login-card input { height: 44px; text-align: center; font-size: 16px; }
.login-card .btn { height: 44px; }
.form-error { min-height: 20px; margin: 0; color: var(--danger); font-size: 14px; }

.brand-mark {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent);
}

/* ---------------------------------------------------------- shell */

.shell {
  display: grid; grid-template-columns: var(--sidebar) minmax(0, var(--column));
  justify-content: center; min-height: 100dvh;
}

.sidebar {
  position: sticky; top: 0; height: 100dvh;
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 14px; color: var(--text);
  font-size: 19px; font-weight: 700; letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }

.side-nav { display: flex; flex-direction: column; gap: 2px; min-height: 0; flex: 1 1 auto; }
.nav-categories { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; margin: 0 -4px; padding: 0 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 42px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--text); font-size: 16px; text-align: left;
}
.nav-item:hover { background: var(--hover); text-decoration: none; }
.nav-item.active { font-weight: 700; background: var(--hover); }
.nav-item .icon { color: var(--muted); }
.nav-item.active .icon { color: var(--text); }
.nav-item.add { color: var(--muted); }
.nav-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-count { flex: none; color: var(--faint); font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
.nav-section {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 0 6px 2px 12px;
  color: var(--muted); font-size: 13px; font-weight: 600;
}

.side-profile { flex: none; padding-top: 8px; }
.profile-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 12px 8px 8px; border: 0; border-radius: 999px; background: transparent; text-align: left;
}
.profile-btn:hover { background: var(--hover); }
.profile-btn .icon { color: var(--muted); }
.profile-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.column { min-width: 0; border-inline: 1px solid var(--border); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bar); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
.topbar-row { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; }
.top-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 19px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-avatar { display: none; padding: 0; border: 0; border-radius: 50%; background: none; }
.search {
  display: flex; align-items: center; gap: 8px; flex: 0 1 220px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--hover); color: var(--muted);
}
.search:focus-within { box-shadow: 0 0 0 2px var(--accent); background: var(--surface); }
.search input { height: auto; padding: 0; border: 0; background: none; min-width: 0; color: var(--text); }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.chipbar { display: none; }

/* ---------------------------------------------------------- composer */

.composer { display: flex; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); }
.compose-main { flex: 1 1 auto; min-width: 0; }
.composer textarea {
  display: block; width: 100%; min-height: 40px; padding: 8px 0; resize: none;
  border: 0; outline: none; background: none; font-size: 18px; line-height: 1.4;
}
.composer textarea::placeholder { color: var(--muted); }

.previews { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 10px; }
.preview {
  position: relative; width: 92px; height: 92px; overflow: hidden;
  border-radius: 12px; background: var(--placeholder); border: 1px solid var(--border);
}
.preview img, .preview video { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview.error { border-color: var(--danger); }
.preview-name {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 6px;
  color: var(--muted); font-size: 11px; line-height: 1.3; text-align: center; overflow-wrap: anywhere;
}
.preview-remove, .preview-done {
  position: absolute; top: 4px; right: 4px; display: grid; place-items: center;
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.62); color: #fff;
}
.preview-remove:hover { background: rgba(0, 0, 0, 0.85); }
.preview-track, .preview-done { visibility: hidden; }
.preview.uploading .preview-track, .preview.done .preview-track, .preview.done .preview-done { visibility: visible; }
.composer.busy .preview-remove { display: none; }
.preview-track { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(0, 0, 0, 0.45); }
.preview-bar { display: block; height: 100%; background: #fff; transform-origin: left; transition: transform 0.15s linear; }

.compose-bar { display: flex; align-items: center; gap: 8px; margin-left: -8px; padding-top: 4px; }
.compose-chips { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.compose-chips::-webkit-scrollbar { display: none; }
.compose-progress { height: 3px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: var(--border); }
.compose-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.15s linear; }

/* ---------------------------------------------------------- posts */

.post { display: flex; gap: 12px; padding: 12px 16px 6px; border-bottom: 1px solid var(--border); }
.post.fresh { animation: arrive 0.5s ease-out; }
@keyframes arrive { from { background: var(--accent-soft); } }
.post-avatar { flex: none; width: 40px; }
.post-main { flex: 1 1 auto; min-width: 0; }

.post-head { display: flex; align-items: center; gap: 5px; min-height: 22px; line-height: 20px; }
.post-head .icon-btn { margin: -6px -6px -6px 0; }
.post-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.post-handle { flex: 0 2 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.post-dot, .post-time { flex: none; color: var(--muted); white-space: nowrap; }

.post-text { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }

.post-source {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px;
  color: var(--muted); font-size: 13px;
}
.post-source:hover { color: var(--accent); text-decoration: none; }

.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; min-height: 38px; margin: 2px 0 0 -8px; }
.action {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 8px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px;
  transition: background 0.12s, color 0.12s;
}
.action:hover { background: var(--accent-soft); color: var(--accent); }
.action.star:hover { background: color-mix(in srgb, var(--star) 16%, transparent); color: var(--star); }
.action.star.on { color: var(--star); }
.action.star.on .icon { fill: currentColor; }
.post-chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; margin-left: 2px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 500;
}
.post-chip:hover { text-decoration: none; filter: brightness(0.94); }

/* media */

.media { position: relative; margin-top: 10px; }
.media.one, .media.grid { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.media.one { display: grid; max-width: 100%; }
.media.grid { display: grid; gap: 2px; grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; }
.media.grid.n3, .media.grid.n4 { grid-template-rows: 1fr 1fr; }
.media.grid.n3 .tile:first-child { grid-row: span 2; }

.tile {
  position: relative; display: block; min-width: 0; min-height: 0; padding: 0; overflow: hidden;
  border: 0; background: var(--placeholder); cursor: zoom-in;
}
.tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tile:focus-visible { outline-offset: -3px; }
.tile.video { background: #16181c; cursor: pointer; }

.play-badge {
  position: absolute; inset: 0; margin: auto; display: grid; place-items: center;
  width: 54px; height: 54px; padding-left: 3px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.58); color: #fff; pointer-events: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.play-badge.small { width: 28px; height: 28px; padding-left: 2px; }
.duration {
  position: absolute; left: 8px; bottom: 8px; padding: 1px 6px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.68); color: #fff; font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums; pointer-events: none;
}

.strip {
  display: flex; gap: 4px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius);
}
.strip::-webkit-scrollbar { display: none; }
.strip .tile { flex: none; height: 270px; scroll-snap-align: start; border-radius: 6px; }
.strip .tile:first-child { border-radius: var(--radius) 6px 6px var(--radius); }
.strip .tile:last-child { border-radius: 6px var(--radius) var(--radius) 6px; }
.strip-nav {
  position: absolute; top: 50%; display: none; place-items: center;
  width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); color: #fff;
}
.strip-nav.prev { left: 8px; }
.strip-nav.next { right: 8px; }
.strip-nav:hover { background: rgba(0, 0, 0, 0.8); }
@media (hover: hover) { .strip-wrap:hover .strip-nav { display: grid; } }
.strip-count {
  position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.62); color: #fff;
  font-size: 12px; font-weight: 600; pointer-events: none;
}

.timeline-status { display: grid; place-items: center; min-height: 72px; padding: 20px 16px 40px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 40px 0; color: var(--muted); text-align: center; }
.empty strong { color: var(--text); font-size: 18px; }
.sentinel { height: 1px; }

/* ---------------------------------------------------------- popovers & dialogs */

.popover {
  position: absolute; z-index: 60; min-width: 190px; max-width: min(300px, calc(100vw - 16px));
  padding: 6px; border-radius: 14px; background: var(--raised); box-shadow: var(--shadow);
}
dialog .popover { position: fixed; }
.menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px;
  border: 0; border-radius: 9px; background: none; text-align: left; font-weight: 500;
}
.menu-item:hover { background: var(--hover); }
.menu-item .icon { color: var(--muted); }
.menu-item.danger, .menu-item.danger .icon { color: var(--danger); }

.picker { width: 232px; }
.picker-title { padding: 6px 10px 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.check-list { max-height: 280px; overflow-y: auto; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 9px; cursor: pointer; }
.check-row:hover { background: var(--hover); }
.check-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.check-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-add { display: flex; align-items: center; gap: 4px; margin-top: 4px; padding: 6px 4px 2px 6px; border-top: 1px solid var(--border); }
.inline-add input { height: 32px; border-color: transparent; background: var(--hover); font-size: 14px; }

dialog.modal {
  width: min(440px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 48px));
  padding: 0; border: 0; border-radius: 18px;
  background: var(--raised); color: var(--text); box-shadow: var(--shadow);
}
dialog.modal[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgba(10, 12, 16, 0.5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px 20px; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { min-height: 0; overflow-y: auto; padding: 6px 20px 20px; }

.manage-list { display: flex; flex-direction: column; gap: 6px; margin: 0 -6px; }
.manage-row { display: flex; align-items: center; gap: 4px; }
.manage-row input { flex: 1 1 auto; min-width: 0; margin: 0 4px; }
.manage-row .nav-count { width: 34px; text-align: right; padding-right: 4px; }
.manage-add { display: flex; gap: 8px; margin-top: 16px; }

.profile-form { display: flex; flex-direction: column; gap: 14px; }
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-picture.busy { opacity: 0.5; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input { font-weight: 400; font-size: 15px; color: var(--text); }
.profile-form p { margin: 0; }
.form-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }

/* ---------------------------------------------------------- lightbox */

dialog.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(8, 9, 11, 0.96); color: #fff;
}
dialog.lightbox::backdrop { background: #08090b; }
.lb-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide {
  flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; overflow: hidden;
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center;
  scroll-snap-align: center; scroll-snap-stop: always;
}
.lb-slide img, .lb-slide video { display: block; width: 100%; height: 100%; object-fit: contain; }
.lb-slide img { user-select: none; -webkit-user-drag: none; }
.lb-slide video { background: #000; }

.lb-bar {
  position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 12px 26px;
  background: linear-gradient(rgba(0, 0, 0, 0.55), transparent); pointer-events: none;
}
.lb-bar > * { pointer-events: auto; }
.lb-counter { font-size: 14px; font-variant-numeric: tabular-nums; white-space: pre; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.lb-btn {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(40, 42, 48, 0.72); color: #fff;
}
.lb-btn:hover { background: rgba(70, 73, 82, 0.9); text-decoration: none; }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }

/* ---------------------------------------------------------- misc */

.drop-overlay {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}
.drop-overlay > div {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 44px;
  border: 2px dashed var(--accent); border-radius: 22px; background: var(--raised); color: var(--accent);
}
.drop-overlay strong { color: var(--text); font-size: 17px; }

.toasts {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 100;
  display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none;
}
.toast {
  padding: 9px 16px; border-radius: 999px; background: var(--text); color: var(--bg);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: rise 0.2s ease-out;
  transition: opacity 0.3s;
}
.toast.error { background: var(--danger); color: #fff; }
.toast.leaving { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------- narrow screens */

@media (max-width: 900px) {
  :root { --sidebar: 220px; }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .column { border: 0; }
  .top-avatar { display: block; flex: none; }
  .topbar-row { gap: 10px; height: 50px; padding: 0 12px; }
  .search { flex: 0 1 180px; }
  .chipbar {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 12px 10px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .chipbar::-webkit-scrollbar { display: none; }
  .composer { padding: 12px 12px 8px; gap: 10px; }
  .post { padding: 12px 12px 4px; gap: 10px; }
  .strip .tile { height: 230px; }
  .lb-nav { display: none; }
  dialog.modal { margin-bottom: 12px; border-radius: 18px; }
  input[type="text"], input[type="password"], input[type="search"], .composer textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
