/* Feed presentation refinements; keeps the existing NOVEAM palette and structure. */
.card { transition: box-shadow .18s ease, transform .18s ease; }
.composer textarea { min-height: 92px; resize: vertical; font-size: 16px; line-height: 1.5; }
.composer textarea:focus, .composer select:focus, .topSearch:focus { outline: 3px solid #315efb55; outline-offset: 1px; }
.actions button, .row button { min-height: 42px; transition: transform .15s ease, background-color .15s ease; }
.actions button:hover, .row button:hover { transform: translateY(-1px); }
.postimg { width: auto; object-fit: contain; }
@media (max-width: 760px) {
  body { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .wrap { padding: 12px 10px !important; }
  .card { border-radius: 15px; padding: 14px; margin-bottom: 11px; }
  .composer .row { display: grid; grid-template-columns: 1fr 1fr; }
  .composer .row button { grid-column: 1 / -1; width: 100%; }
  .posthead { align-items: flex-start; }
  .posthead > div { min-width: 0; overflow-wrap: anywhere; }
  .actions { gap: 7px; }
  .actions button { flex: 1 1 auto; }
  .postimg { max-height: 65vh; }
}
@media (prefers-reduced-motion: reduce) { .card, .actions button, .row button { transition: none; } }
/* Chrome layout stabilization for Feed/Profile */
html { font-size: 16px; }
body { font-size: 16px; }
.shell { width: min(1180px, calc(100vw - 32px)); margin-inline: auto; }
.feedcol { width: 100%; min-width: 0; }
.feedcol #feed > .card { width: 100%; min-width: 0; }
.feedcol #feed .postimg { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: min(52vh, 420px) !important; object-fit: contain; margin: 12px auto; }
.feedcol #feed .mediaVideo { width: 100%; max-height: min(52vh, 420px); object-fit: contain; }
@media (min-width: 1000px) {
  html { font-size: 16px !important; }
  body { zoom: 1 !important; }
  .shell { display:grid !important; grid-template-columns: minmax(210px,240px) minmax(0,600px) minmax(250px,300px) !important; width:min(1180px,calc(100% - 32px)) !important; margin:18px auto !important; gap:16px !important; }
  .leftcol,.rightcol,.feedcol { min-width:0 !important; }
  .feedcol { width:100% !important; max-width:600px !important; }
  .wrap,main { font-size:16px; }
}
@media(max-width:999px) { .shell { display:block !important; width:calc(100% - 20px) !important; margin:10px auto !important; } }
