body[data-view='notes'] .notes-view { padding-inline: clamp(24px, 3vw, 72px); }
body[data-view='notes'] .notes-shell { width: min(100%, 1440px); }
body[data-view='notes'] .notes-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.8fr); gap: clamp(24px, 3vw, 48px); }
.claus-updates { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.social-feeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; min-height: 0; }
.claus-posts { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
.posts-window { min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #0005 transparent; overflow-anchor: none; outline-offset: -2px; padding-right: 6px; }
#public-posts, #public-replies { display: flex; flex-direction: column; gap: 12px; }
.public-post { position: relative; flex: none; min-width: 0; overflow-wrap: anywhere; }
.post-fallback { margin: 0; padding: 14px 16px; color: #f7f9f9; background: #15202b; border: 1px solid #425364; border-radius: 12px; font-size: 17px; line-height: 1.45; }
.post-fallback p { white-space: pre-wrap; margin: 12px 0; }
.post-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; }
.post-byline a { font-weight: 500; }
.post-byline time { font-size: 14px; }
.post-fallback a:hover, .post-fallback a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.post-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.post-media img { display: block; width: 100%; height: auto; border-radius: 8px; }
.post-quote { font-size: 15px; }
.post-embed { min-width: 0; }
.post-embed:empty { display: none; }
.post-embed .twitter-tweet { margin: 0 !important; }
.public-post[data-embedded='true'] > .post-fallback { display: none; }
#posts-status, #replies-status { margin: 0; font-size: 16px; line-height: 1.5; }
@media (min-width: 851px) and (max-width: 950px) {
  .social-feeds { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .claus-updates { display: block; margin-top: 40px; }
  .social-feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claus-posts { height: min(540px, 65svh); min-height: 300px; }
  .claus-updates .claus-log { margin-top: 36px; }
  .claus-updates .log-list li + li { margin-top: 24px; }
  .posts-window { padding-right: 4px; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 650px) {
  .social-feeds { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
