:root {
  color-scheme: light;
  --page: #f3f6fa;
  --rail: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --ink: #172033;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #d9e0e8;
  --line-strong: #c8d1dc;
  --blue: #2474db;
  --blue-dark: #175fbd;
  --blue-soft: #e4f0ff;
  --red: #df3e48;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 20px rgba(16, 24, 40, .04);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); }
body.social-page { min-width: 320px; margin: 0; background: var(--page); color: var(--ink); font-size: 14px; line-height: 1.45; }
.social-page button, .social-page input, .social-page select { font: inherit; }
.social-page button, .social-page a, .social-page input, .social-page select { -webkit-tap-highlight-color: transparent; }
.social-page button { cursor: pointer; }
.social-page button:disabled { cursor: not-allowed; opacity: .55; }
.social-page a { color: inherit; text-decoration: none; }
.social-page a:hover { text-decoration: none; }
.social-page :focus-visible { outline: 3px solid rgba(36, 116, 219, .3); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 292px minmax(260px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 20px 0 24px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 21px; font-weight: 760; letter-spacing: -.45px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.brand-accent { color: var(--blue); }
.global-search { position: relative; min-width: 0; }
.global-search > i, .keyword-search > i { position: absolute; z-index: 1; left: 13px; top: 50%; transform: translateY(-50%); color: #475467; font-size: 18px; pointer-events: none; }
.global-search input, .keyword-search input, .social-page select, .account-search-form input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.global-search input { padding: 0 15px 0 42px; }
.global-search input:focus, .keyword-search input:focus, .social-page select:focus, .account-search-form input:focus { border-color: #80afe8; box-shadow: 0 0 0 3px rgba(36, 116, 219, .11); }
.social-page input::placeholder { color: #7b8492; }
.primary-button, .secondary-button, .icon-button, .view-button, .source-pill, .trend-list button, .rail-settings {
  border: 0;
  background: transparent;
  color: inherit;
}
.primary-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 650; box-shadow: 0 2px 4px rgba(23, 95, 189, .18); transition: background .16s ease, transform .16s ease; }
.primary-button:hover { background: var(--blue-dark); }
.primary-button:active { transform: translateY(1px); }
.topbar-subscribe { white-space: nowrap; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 19px; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.icon-button.loading i { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.language-control select { width: 66px; padding: 0 26px 0 10px; font-size: 12px; font-weight: 650; }
.auth-menu { position: relative; justify-self: end; }
body.social-page .auth-menu-trigger { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 5px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-weight: 650; white-space: nowrap; }
body.social-page .auth-menu-trigger:hover { background: var(--surface-soft); }
.user-dot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e9edf2; color: #667085; font-size: 18px; }
.auth-trigger-caret { color: var(--muted); font-size: 13px; }
body.social-page .auth-menu-panel { right: 0; top: calc(100% + 9px); z-index: 50; }

.app-frame { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 292px minmax(560px, 1fr) 304px; }
.left-rail { position: sticky; top: 66px; align-self: start; height: calc(100vh - 66px); display: flex; flex-direction: column; padding: 18px 13px; background: var(--rail); border-right: 1px solid var(--line); overflow-y: auto; }
.rail-nav, .accounts { display: grid; gap: 4px; }
.rail-link, .account, .rail-footer a { min-height: 42px; width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #283242; text-align: left; }
.rail-link > i, .account > i, .rail-footer i { flex: 0 0 auto; font-size: 20px; color: #344054; }
.rail-link > span:not(.rail-count):not(.rail-badge) { font-weight: 580; }
.rail-link:hover, .account:hover, .rail-footer a:hover { background: #edf2f7; }
.rail-link.selected, .account.selected { background: var(--blue-soft); border-color: #d4e7ff; color: #164f96; }
.rail-link.selected > i, .account.selected > i { color: #1767c4; }
.rail-count, .rail-badge { margin-left: auto; min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 999px; padding: 0 7px; background: #e8edf3; color: #4b5565; font-size: 11px; font-weight: 700; }
.rail-link.selected .rail-count { background: transparent; color: #164f96; }
.rail-badge { min-width: 22px; height: 22px; background: var(--red); color: #fff; }
.rail-divider { height: 1px; margin: 18px 0; background: var(--line); }
.rail-section-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 9px 13px; color: #667085; font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.rail-settings { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; font-size: 18px; }
.rail-settings:hover { background: #e9eef4; }
.account { min-height: 52px; }
.account-copy { min-width: 0; display: flex; flex-direction: column; }
.account-copy strong { overflow: hidden; color: inherit; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-state { margin-top: 2px; color: #7b8492; font-size: 9px; line-height: 1.3; white-space: normal; }
.rail-add { margin-top: 5px; }
.rail-footer { margin-top: auto; display: grid; gap: 3px; padding-top: 18px; border-top: 1px solid var(--line); }
.rail-footer a { min-height: 38px; font-size: 12px; }

.feed-workspace { min-width: 0; padding: 24px 26px 42px; }
.filter-panel { margin-bottom: 8px; }
.feed-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.keyword-search { position: relative; display: block; }
.keyword-search input { height: 39px; padding: 0 13px 0 40px; }
.account-finder-button { min-height: 39px; white-space: nowrap; }
.account-finder-button i { color: var(--blue); font-size: 18px; }
.source-pills { display: flex; align-items: center; gap: 7px; padding: 8px 0 9px; overflow-x: auto; scrollbar-width: none; }
.source-pills::-webkit-scrollbar { display: none; }
.source-pill { flex: 0 0 auto; min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 560; }
.source-pill:hover { background: #f5f7fa; }
.source-pill.selected { border-color: #74a9e4; background: var(--blue-soft); color: #164f96; box-shadow: inset 0 0 0 1px rgba(36, 116, 219, .08); }
.source-pill i { font-size: 16px; }
.platform-youtube { color: #e3232d; }
.platform-x { color: #111827; }
.platform-bluesky { color: #1686e8; }
.platform-mastodon { color: #6364ff; }
.platform-reddit { color: #ff4500; }
.filter-row { display: flex; align-items: center; gap: 18px; min-height: 28px; }
.filter-row label { display: flex; align-items: center; gap: 5px; color: #344054; font-size: 12px; white-space: nowrap; }
.filter-row select { width: auto; height: 28px; padding: 0 23px 0 2px; border: 0; background-color: transparent; color: var(--ink); font-size: 12px; font-weight: 650; box-shadow: none; }
.filter-spacer { flex: 1; }
.view-switch { display: flex; align-items: center; gap: 5px; color: #344054; font-size: 12px; white-space: nowrap; }
.view-button { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 6px; color: #667085; font-size: 17px; }
.view-button:hover, .view-button.selected { background: #e8eef6; color: var(--ink); }
.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.feed-kicker { margin: 0 0 4px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.feed-heading h1 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.35px; }
.feed-heading p:not(.feed-kicker) { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.live-indicator { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 2px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.live-indicator > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #27ae60; box-shadow: 0 0 0 4px rgba(39, 174, 96, .12); }
.notice { margin: 0 0 12px; padding: 10px 13px; border: 1px solid #f2d58a; border-radius: 9px; background: #fff8e6; color: #765314; font-size: 11px; }
.notice.error { border-color: #f0c4ca; background: #fff1f2; color: #9f2832; }
.new-posts { width: 100%; margin: 0 0 12px; padding: 9px 14px; border: 1px solid #bbd9fb; border-radius: 9px; background: #eaf4ff; color: #175fbd; font-weight: 650; }
.posts, .followed-posts { display: grid; gap: 12px; }
.post, .followed-post { position: relative; min-width: 0; padding: 14px 15px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow); }
.post-head, .followed-post-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.post-avatar, .watch-avatar { flex: 0 0 auto; width: 35px; height: 35px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #1c1d20; color: #fff; font-size: 17px; }
.post-avatar.youtube { background: #ed1d2b; }
.post-avatar.x { background: #111827; }
.post-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.post-author { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.post-author a { overflow: hidden; max-width: 260px; font-size: 13px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.post-author small { color: #5f6b7b; font-size: 11px; }
.post-menu { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #344054; font-size: 18px; }
.post-menu:hover { background: #f0f3f7; }
.post-content { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 16px; align-items: start; margin: 7px 0 9px 44px; }
.post-copy { min-width: 0; }
.video-title, .followed-post h4 { margin: 0 0 5px; font-size: 15px; font-weight: 690; line-height: 1.35; letter-spacing: -.15px; }
.video-title a:hover, .followed-post h4 a:hover { color: var(--blue); }
.video-excerpt, .followed-post > p { display: -webkit-box; overflow: hidden; margin: 0; color: #3e4857; font-size: 12px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.thumbnail, .media-fallback { position: relative; width: 148px; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #e9eef5; }
.thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.thumbnail::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .1); border-radius: inherit; pointer-events: none; }
.media-fallback { color: #697586; font-size: 26px; }
.post-actions { min-height: 30px; display: flex; align-items: center; gap: 18px; margin-left: 44px; }
.post-actions a, .post-actions button, .followed-original { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #263242; font-size: 11px; font-weight: 600; }
.post-actions a:hover, .post-actions button:hover, .followed-original:hover { color: var(--blue); }
.post-actions i { font-size: 17px; }
.post-actions .bookmark-action { margin-left: auto; }
.bookmark-action.selected { color: #eaa91d; }
.post-sync { color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.video-description { margin: 0 0 8px 44px; color: var(--muted); font-size: 11px; }
.video-description summary { cursor: pointer; }
.post-body { margin: 7px 0 0; white-space: pre-wrap; }
.empty { min-height: 270px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 34px; border: 1px dashed var(--line-strong); border-radius: 11px; background: rgba(255, 255, 255, .6); text-align: center; }
.empty > i { color: var(--blue); font-size: 30px; }
.empty h3 { margin: 0; font-size: 17px; }
.empty p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; }
.profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 7px; }
.profile-links a { padding: 5px 9px; border-radius: 999px; background: #eaf2fb; color: #175fbd; font-size: 10px; font-weight: 650; }
.load-more { width: 100%; margin-top: 14px; }
.stream-divider { margin: 16px 0 9px; }
.stream-divider h2 { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.followed-post { padding: 14px 15px 12px; }
.followed-post.unread { border-left: 3px solid var(--blue); }
.followed-post-head { gap: 7px; color: var(--muted); font-size: 10px; }
.followed-post-head .post-avatar { width: 35px; height: 35px; }
.post-avatar.bluesky { background: #1686e8; }
.post-avatar.mastodon { background: #6364ff; }
.post-avatar.reddit { background: #ff5722; }
.followed-post .post-content { display: block; margin: 7px 0 8px 44px; }
.followed-post .post-actions { margin-left: 44px; }
.platform-pill { padding: 2px 7px; border-radius: 999px; background: #e7f0fb; color: #175fbd; font-size: 9px; font-weight: 750; }
.followed-author { color: var(--ink); font-size: 12px; font-weight: 700; }
.followed-post h4 { margin-top: 7px; }
.followed-original { margin-top: 9px; color: var(--blue); }
body.compact-view .posts, body.compact-view .followed-posts { gap: 6px; }
body.compact-view .post, body.compact-view .followed-post { padding-top: 10px; padding-bottom: 9px; border-radius: 8px; box-shadow: none; }
body.compact-view .post-content { grid-template-columns: minmax(0, 1fr) 104px; margin-top: 4px; margin-bottom: 4px; }
body.compact-view .thumbnail, body.compact-view .media-fallback { width: 104px; }
body.compact-view .video-excerpt, body.compact-view .post-sync { display: none; }

.right-rail { position: sticky; top: 66px; align-self: start; height: calc(100vh - 66px); padding: 24px 24px 28px; border-left: 1px solid var(--line); background: #eef2f7; overflow-y: auto; }
.right-subscribe { width: 100%; margin-bottom: 18px; }
.summary-card { margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.summary-card h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 11px; font-size: 13px; }
.summary-card h2 i { color: var(--blue); font-size: 18px; }
#trending-title i { color: #ed6a2c; }
#actions-title i { color: #dfad20; }
.summary-card dl { display: grid; gap: 8px; margin: 0; }
.summary-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-card dt { color: #344054; font-size: 12px; }
.summary-card dd { margin: 0; font-size: 13px; }
.trend-list { display: flex; flex-wrap: wrap; gap: 6px; }
.trend-list button { padding: 4px 9px; border-radius: 999px; background: #eef1f5; color: #303847; font-size: 11px; }
.trend-list button:hover { background: var(--blue-soft); color: #175fbd; }
.quick-actions { display: grid; gap: 8px; }
.secondary-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: #283242; font-weight: 600; }
.secondary-button:hover { background: #f5f7fa; border-color: #aeb9c7; }
.source-note { display: flex; align-items: flex-start; gap: 8px; padding: 4px 2px; color: var(--muted); }
.source-note i { margin-top: 2px; color: #667085; }
.source-note p { margin: 0; font-size: 10px; line-height: 1.55; }

.subscription-overlay { position: fixed; z-index: 100; inset: 0; display: grid; justify-items: end; background: rgba(16, 24, 40, .32); backdrop-filter: blur(2px); }
body.drawer-open { overflow: hidden; }
.subscription-drawer { width: min(520px, 100%); height: 100%; padding: 24px; background: #f8fafc; border-left: 1px solid var(--line); box-shadow: -18px 0 45px rgba(16, 24, 40, .14); overflow-y: auto; animation: drawer-in .2s ease-out; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: .4; } }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.drawer-kicker { margin: 0 0 6px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.drawer-head h2 { margin: 0; font-size: 23px; letter-spacing: -.4px; }
.drawer-head p:not(.drawer-kicker) { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.watchlist-guest { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; padding: 13px; border: 1px solid #cde1f8; border-radius: 9px; background: #edf6ff; color: #245c99; font-size: 12px; }
.watchlist-guest a { margin-left: auto; font-weight: 700; }
.account-search-form { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 9px; }
.account-search-form select { width: 100%; height: 40px; padding: 0 10px; }
.account-query { min-width: 0; }
.account-search-form input { height: 40px; padding: 0 12px; }
.account-search-button { grid-column: 1 / -1; }
.account-search-help { margin: 8px 0 18px; color: var(--muted); font-size: 10px; }
.account-results, .followed-accounts { display: grid; gap: 8px; }
.account-result, .followed-account { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.watch-avatar { width: 38px; height: 38px; background: #dfe8f4; color: #40536a; font-size: 11px; font-weight: 750; }
.watch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.watch-account-copy { min-width: 0; display: flex; flex-direction: column; }
.watch-account-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.watch-account-copy small, .watch-state { color: var(--muted); font-size: 9px; }
.account-result .secondary-button, .followed-account .secondary-button { min-height: 32px; }
.followed-heading { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 9px; padding-top: 18px; border-top: 1px solid var(--line); }
.followed-heading h3 { margin: 0; font-size: 13px; }
.watchlist-empty { padding: 24px 14px; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--muted); text-align: center; font-size: 11px; }
footer { display: none; }

@media (min-width: 761px) {
  body.social-page { font-size: 16px; }
  .brand { font-size: 24px; }
  .rail-section-heading { font-size: 13px; }
  .account-copy strong { font-size: 15px; }
  .account-copy small { font-size: 12px; }
  .account-state { font-size: 10px; }
  .rail-footer a { font-size: 14px; }
  .source-pill { font-size: 15px; }
  .filter-row label, .filter-row select, .view-switch { font-size: 15px; }
  .feed-heading { display: none; }
  .post-author a { font-size: 16px; }
  .post-author small { font-size: 14px; }
  .post { min-height: 156px; }
  .post > .post-head { padding-right: 194px; }
  .post > .post-head .post-menu { position: absolute; top: 14px; right: 177px; }
  .post > .post-content { display: block; margin-right: 172px; }
  .video-title, .followed-post h4 { font-size: 17px; }
  .video-excerpt, .followed-post > p { font-size: 15px; }
  .post > .post-content > .thumbnail, .post > .post-content > .media-fallback { position: absolute; top: 14px; right: 15px; width: 156px; }
  .post-actions a, .post-actions button, .followed-original { font-size: 14px; }
  .post > .post-actions { margin-right: 172px; flex-wrap: wrap; }
  .post-sync { font-size: 11px; }
  .video-description { font-size: 13px; }
  body.compact-view .post { min-height: 126px; }
  body.compact-view .post > .post-head { padding-right: 143px; }
  body.compact-view .post > .post-head .post-menu { right: 127px; }
  body.compact-view .post > .post-content { margin-right: 120px; }
  body.compact-view .post > .post-content > .thumbnail, body.compact-view .post > .post-content > .media-fallback { width: 104px; }
  body.compact-view .post > .post-actions { margin-right: 120px; }
  .summary-card h2 { font-size: 16px; }
  .summary-card dt { font-size: 15px; }
  .summary-card dd { font-size: 16px; }
  .trend-list button { font-size: 14px; }
  .source-note p { font-size: 12px; }
}

@media (max-width: 1160px) {
  .topbar { grid-template-columns: 248px minmax(240px, 1fr) auto auto auto; }
  .topbar-subscribe { display: none; }
  .app-frame { grid-template-columns: 248px minmax(0, 1fr); }
  .right-rail { display: none; }
}

@media (max-width: 760px) {
  .topbar { position: relative; grid-template-columns: minmax(0, 1fr) auto auto; min-height: auto; padding: 11px 14px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .global-search { grid-column: 1 / -1; grid-row: 2; }
  .topbar #refresh { display: none; }
  body.social-page .auth-menu-trigger > span:not(.user-dot) { display: none; }
  .auth-trigger-caret { display: none; }
  .language-control select { width: 62px; }
  .app-frame { display: block; }
  .left-rail { position: relative; top: 0; width: 100%; height: auto; display: block; padding: 9px 12px; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .rail-link { justify-content: center; min-height: 40px; padding: 6px 8px; font-size: 11px; }
  .rail-link > i { font-size: 17px; }
  .rail-link .rail-count, .rail-link .rail-badge { display: none; }
  .rail-divider, .rail-section-heading, .accounts, .rail-add, .rail-footer { display: none; }
  .feed-workspace { padding: 16px 13px 34px; }
  .filter-row { gap: 8px; }
  .filter-spacer { display: none; }
  .filter-row label:first-child { flex: 1; }
  .filter-row label:first-child select { max-width: 115px; }
  .filter-row label:nth-of-type(2) { margin-left: auto; }
  .filter-row label > span, .view-switch > span { display: none; }
  .post { min-height: 0; padding: 12px; }
  .post > .post-head { padding-right: 0; }
  .post > .post-head .post-menu { position: static; }
  .post-content, .post > .post-content { grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; margin-left: 0; margin-right: 0; }
  .post > .post-content > .thumbnail, .post > .post-content > .media-fallback { position: relative; top: auto; right: auto; }
  .thumbnail, .media-fallback { width: 104px; }
  .post-actions, .post > .post-actions { gap: 13px; margin-right: 0; margin-left: 0; }
  .post-actions .bookmark-action { margin-left: 0; }
  .post-sync { margin-left: auto; }
  .subscription-drawer { padding: 18px 14px; }
}

@media (max-width: 460px) {
  .source-pills { margin-right: -13px; padding-right: 13px; }
  .filter-row { flex-wrap: wrap; }
  .view-switch { margin-left: auto; }
  .post-content { display: block; }
  .thumbnail, .media-fallback { width: 100%; margin-top: 10px; }
  .video-excerpt { -webkit-line-clamp: 3; }
  .post-actions { flex-wrap: wrap; }
  .post-sync { width: 100%; margin-left: 0; }
  .account-search-form { grid-template-columns: 1fr; }
  .account-search-button { grid-column: auto; }
}

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