.forja-stream{display:grid;gap:14px;width:min(100%,740px);margin:0 auto;padding:18px 16px calc(var(--nav-clearance,94px) + 16px);box-sizing:border-box}
.forja-stream h1{margin:0;font-size:clamp(1.65rem,5vw,2.3rem);letter-spacing:-.04em}
.forja-stream header .text-button{margin-bottom:10px}
.stream-compose,.stream-person,.stream-post{border:1px solid var(--forja-border,#373d50);border-radius:16px;background:var(--forja-surface,#1c2032);padding:14px;display:grid;gap:12px;color:inherit}
.stream-compose textarea,.forja-stream input[type=search],.stream-compose select,.group-reference input,.spaces-market-scroll>input[type=search]{box-sizing:border-box;width:100%;font:inherit;border-radius:10px;color:inherit;padding:11px;background:var(--forja-bg,#101424);border:1px solid var(--forja-border,#41475a)}
.stream-compose textarea{resize:vertical;min-height:72px}.stream-compose label,.group-reference{display:grid;gap:5px}
.stream-byline,.stream-person,.stream-actions,.stream-team-row{display:flex;align-items:center;gap:10px}.stream-actions,.stream-person{justify-content:space-between}
.stream-byline small,.stream-person small,.stream-team-row small,.stream-team-row strong{display:block}.stream-byline small,.stream-person small,.stream-team-row small{font-size:.78rem;color:var(--forja-muted,#b9c0cf)}
.stream-avatar{background:#343c2c;color:#dcfa51;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:750;flex:none}
.stream-person .stream-manager{color:var(--forja-accent,#d2f638);font-weight:700}.stream-person{flex-wrap:wrap}.stream-person>div{flex:1}
.stream-post p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.5}.stream-photo,.stream-preview img{width:100%;max-height:480px;object-fit:contain;border-radius:10px}
.stream-actions .button,.stream-person .button{width:auto;min-height:42px}.stream-compose .stream-file{position:relative;display:inline-flex;align-items:center;min-height:44px;cursor:pointer;color:var(--forja-accent,#d2f638);font-weight:650}
.stream-file input{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer}.stream-file:focus-within{outline:2px solid currentColor}.stream-preview{display:grid;gap:5px}
.stream-team-row{width:100%;text-align:left;min-height:54px;border:1px solid var(--forja-border,#373d50);border-radius:12px;padding:9px;margin:5px 0;background:var(--forja-surface,#1c2032);color:inherit}
.stream-team-follow{margin:8px 0}.stream-team-row .stream-avatar{width:44px;height:44px}.stream-team-row img.stream-avatar{object-fit:cover}
.stream-profile-link{display:block;width:calc(100% - 32px);margin:12px auto;max-width:710px}.community-center{margin:0;min-height:100vh;background:#101424;color:#f1f3f8;font:16px/1.45 system-ui}.community-center>header{padding:18px 5%;border-bottom:1px solid #393e51}.community-center a{color:#d6fb3a}
.community-center button{font:inherit;cursor:pointer;border-radius:12px;padding:9px 15px;background:#242b3c;color:inherit;border:1px solid #495165}.community-center .primary,.community-center .selected{color:#121719;background:#d6fb3a}
.app-content.community-content{padding-inline:0}
.community-content .forja-stream{width:100%;max-width:none}
.forja-stream:has(.stream-wall-composer){--wall-gutter:16px;padding-inline:0;gap:0}
.forja-stream:has(.stream-wall-composer)>:is(header,nav,p,small,.team-panel){margin-inline:var(--wall-gutter)}
.forja-stream:has(.stream-wall-composer)>header{padding-bottom:14px}
.app-content.community-content{scrollbar-width:none;scrollbar-gutter:auto}
.app-content.community-content::-webkit-scrollbar{display:none}
.stream-wall-composer{padding:13px var(--wall-gutter,16px);border-block:1px solid var(--forja-border);background:var(--forja-bg)}
.stream-wall-composer .team-compose-row{display:flex;align-items:center;gap:10px}
.stream-wall-composer .team-composer-trigger{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.stream-avatar{object-fit:cover}
.stream-photo-picker{position:relative;display:grid;place-items:center;flex:0 0 44px;height:44px;color:var(--forja-text-muted,var(--forja-muted));cursor:pointer}
.stream-photo-picker svg{width:23px;height:23px}
.stream-photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.stream-photo-picker:focus-within{outline:2px solid currentColor;border-radius:8px}
.stream-wall-composer .stream-compose{border:0;border-radius:0;background:transparent;padding:14px 0 0}
.forja-stream .stream-post{border:0;border-bottom:1px solid var(--forja-border);border-radius:0;padding:16px 0 0;gap:12px;min-width:0;background:var(--forja-bg)}
.stream-post>.stream-byline,.stream-post>p{margin-inline:var(--wall-gutter,16px)}
.stream-post > .stream-byline { justify-content: space-between; gap: 8px; }
.stream-author-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: start;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stream-author-trigger :is(strong,small) { display: block; overflow-wrap: anywhere; }
.stream-author-trigger:focus-visible strong { text-decoration: underline 2px; text-underline-offset: 4px; }
.stream-author-trigger:focus,.stream-post-more:focus { outline: none; }
.stream-post-menu { position: relative; flex: none; }
.stream-post-more {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forja-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stream-post-more:focus-visible,.stream-post-more[aria-expanded="true"] { background: var(--forja-surface-alt,var(--forja-surface)); }
.stream-post-popover {
  position: absolute;
  inset: calc(100% + 3px) 0 auto auto;
  z-index: 8;
  width: max-content;
  max-width: calc(100vw - 40px);
  padding: 4px;
  border: 1px solid var(--forja-border);
  border-radius: 12px;
  background: var(--forja-surface);
  box-shadow: 0 8px 22px #080b1840;
}
.stream-post-popover button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  width: 100%;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--forja-text);
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.stream-post-popover svg { flex: none; }
.stream-post-popover button:focus-visible { outline: 2px solid var(--forja-text); outline-offset: -2px; }
.stream-report-status { color: var(--forja-text-muted,var(--forja-muted)); font-size: .86rem; }
.stream-report-dialog {
  width: min(430px,calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 18px;
  border: 1px solid var(--forja-border);
  border-radius: 16px;
  background: var(--forja-surface);
  color: var(--forja-text);
  overscroll-behavior: contain;
}
.stream-report-dialog::backdrop { background: #0b0d18ab; }
.stream-report-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stream-report-dialog h2 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.stream-report-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--forja-border);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.stream-report-close:focus-visible { outline: none; border-color: var(--forja-text-muted,var(--forja-text)); }
.stream-report-dialog form { display: grid; gap: 13px; }
.stream-report-dialog form p { margin: 0; overflow-wrap: anywhere; }
.stream-report-dialog label { display: grid; gap: 5px; }
.stream-report-dialog label small { color: var(--forja-text-muted,var(--forja-muted)); }
.stream-report-dialog :is(select,textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px;
  border: 1px solid var(--forja-control-border,var(--forja-border));
  border-radius: 8px;
  background: var(--forja-bg);
  color: var(--forja-text);
  font: inherit;
  font-size: 1rem;
}
.stream-report-dialog .button { min-height: 44px; }
.admin-report details img { display: block; max-width: min(100%,360px); max-height: 260px; margin: 8px 0; object-fit: contain; }
.stream-post>:last-child:not(.stream-photo-trigger){margin-bottom:16px}
.stream-photo-trigger>.stream-photo{display:block;width:100%;max-height:none;height:auto;border-radius:0}
.forja-stream:has(.stream-wall-composer)>:is(p[role],small[role],.team-panel){padding-block:12px}
.forja-stream:has(.stream-wall-composer)>.team-panel{margin-block-start:var(--wall-gutter)}
.stream-conversation{margin-inline:var(--wall-gutter,16px);min-width:0;color:var(--forja-text)}
.stream-post>.stream-conversation:last-child{margin-bottom:4px}
.stream-social-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--forja-border)}
.stream-photo-trigger+.stream-conversation .stream-social-actions{border-top:0}
.stream-social-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:transparent;border:0;border-radius:8px;padding:6px;color:var(--forja-text-muted,inherit);font:inherit;font-size:.875rem;font-weight:600;cursor:pointer}
.stream-conversation svg{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stream-social-actions button[aria-pressed=true]{color:var(--accent-ink,var(--forja-text))}
.stream-social-count{font-variant-numeric:tabular-nums}
.stream-replies{display:grid;gap:12px;padding:10px 0 14px;border-top:1px solid var(--forja-border)}
.stream-reply{display:flex;align-items:flex-start;gap:8px;min-width:0}
.stream-reply .stream-avatar{width:30px;height:30px;font-size:.7rem}
.stream-reply p{min-width:0;padding:8px 12px;border-radius:4px 14px 14px;background:var(--forja-surface);font-size:.875rem}
.stream-reply strong{display:block;margin-bottom:2px}
.stream-replies .stream-reply-field{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;width:100%;min-width:0;padding:2px 3px 2px 14px;gap:4px;margin:0;background:var(--forja-surface);border:1px solid var(--forja-border);border-radius:25px}
.stream-reply-field:focus-within{border-color:var(--forja-accent)}
.stream-replies .stream-reply-field input{width:100%;min-width:0;min-height:44px;margin:0;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:16px;outline:none}
.stream-reply-field input::placeholder{color:var(--forja-text-muted,var(--forja-muted))}
.stream-replies .stream-reply-field button{display:grid;place-items:center;width:44px;height:44px;min-width:0;padding:0;border:0;border-radius:50%;background:var(--forja-lime,#d8fb41);color:#141924;cursor:pointer}
.stream-replies .stream-reply-field button:disabled{opacity:1;background:transparent;color:var(--forja-text-muted,var(--forja-muted));cursor:default}
.stream-comment-content{min-width:0}
.stream-reply.is-response{margin-inline-start:clamp(18px,7vw,36px)}
.stream-reply[data-addressed=true] p{border-inline-start:3px solid var(--forja-accent)}
.stream-respond,.stream-mention,.stream-reply-context button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.stream-respond{min-height:32px;padding:3px 10px;font-size:.78rem;font-weight:650}
.stream-mention{padding:0;text-decoration:underline;text-underline-offset:2px;font-weight:650}
.stream-reply-context,.stream-mention-options button{display:flex;align-items:center;gap:8px}
.stream-reply-context{justify-content:space-between}
.stream-reply-context button{width:36px;height:36px;font-size:1.3rem}
.stream-mention-options{display:grid;gap:2px;padding:4px;border-radius:12px;background:var(--forja-surface)}
.stream-mention-options button{min-height:44px;text-align:start;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.stream-mention-options .stream-avatar{height:30px;width:30px;font-size:.7rem}
.stream-person-dialog{width:min(320px,90vw);padding:20px;border:1px solid var(--forja-border);border-radius:16px;background:var(--forja-surface);color:var(--forja-text)}
.stream-person-dialog::backdrop{background:#090c18ad}

.stream-photo-trigger {
  display: block;
  justify-self: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.stream-photo-trigger:focus { outline: none; box-shadow: none; }
.stream-photo-trigger:focus-visible:not([data-pointer-return]) { outline: 2px solid var(--forja-text); outline-offset: -3px; }
.stream-photo-trigger[data-format] {
  width: min(100%, 850px);
}
.stream-photo-trigger[data-format="landscape"] > .stream-photo { aspect-ratio: 16 / 9; object-fit: cover; }
.stream-photo-trigger[data-format="square"] {
  width: min(100%, 580px);
}
.stream-photo-trigger[data-format="square"] > .stream-photo { aspect-ratio: 1; object-fit: cover; }
.stream-photo-trigger:has(> .stream-flyer) { width: min(100%, 540px); }

.stream-flyer {
  position: relative;
  isolation: isolate;
  justify-self: center;
  display: grid;
  align-items: stretch;
  width: min(100%, 540px);
  min-height: 360px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #101524;
  color: #fff;
}
.stream-flyer > .stream-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: 71% center;
}
.stream-flyer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,#101524be 0%,transparent 32%,transparent 41%,#101524de 73%,#101524 100%);
}
.stream-flyer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 66px;
  padding: clamp(18px,5vw,32px);
}
.stream-flyer-content > img { width: clamp(90px,26%,120px); height: auto; }
.stream-flyer-copy { display: grid; gap: 10px; }
.stream-flyer-content strong {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2rem,8vw,3.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.stream-flyer-content small { color: #e4e7f1; font-size: .94rem; }
.stream-text-link {
  color: var(--accent-ink,var(--forja-text));
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}
.stream-text-link:focus { outline: none; }
.stream-text-link:focus-visible {
  text-decoration-style: double;
  text-decoration-thickness: 2px;
}

.stream-photo-viewer[open] {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  background: #101421;
  color: #f6f7fc;
  animation: stream-viewer-in 180ms ease-out both;
}
.stream-photo-viewer.is-leaving { animation: stream-viewer-out 180ms ease-in both; }
.stream-photo-viewer::backdrop { background: #0b0e17; }
.stream-photo-viewer-layout {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-block: max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-bottom));
}
.stream-photo-viewer header { padding-inline: clamp(10px,3vw,22px); }
.stream-viewer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #464d64;
  border-radius: 50%;
  background: #1d2335;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stream-photo-viewer :focus-visible { outline: 2px solid #d8fb41; outline-offset: 3px; }
.stream-photo-viewer .stream-viewer-close:focus-visible {
  outline: none;
  border-color: #d4d9e7;
  background: #30384e;
}
.stream-photo-stage {
  container-type: size;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}
.stream-photo-stage > .stream-photo {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}
.stream-photo-stage > .stream-flyer {
  width: min(100%,540px);
  width: min(100cqw,80cqh,540px);
  min-height: 0;
}
.stream-photo-stage > [role="status"] {
  position: absolute;
  color: #dee1ef;
  pointer-events: none;
}
.stream-photo-error { display: grid; justify-items: center; gap: 8px; padding: 14px; text-align: center; }
.stream-photo-error p { margin: 0; }
.stream-photo-error button { min-height: 44px; color: #d8fb41; background: transparent; font: inherit; cursor: pointer; }
.stream-photo-author {
  display: grid;
  gap: 10px;
  padding: 13px clamp(14px,4vw,28px) 4px;
}
.stream-photo-attribution { display: flex; align-items: center; gap: 12px; }
.stream-photo-author strong,.stream-photo-author small { display: block; overflow-wrap: anywhere; }
.stream-photo-author small { margin-top: 2px; color: #c0c6d9; font-size: .87rem; }
.stream-photo-engagement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 10px;
  border-top: 1px solid #33394d;
  color: #dee1ef;
  font-size: .86rem;
}
.stream-photo-engagement > span { display: inline-flex; align-items: center; gap: 6px; }
.stream-photo-engagement svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stream-photo-engagement button { min-height: 44px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
@keyframes stream-viewer-in { from { opacity: 0; } }
@keyframes stream-viewer-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .stream-photo-viewer[open],.stream-photo-viewer.is-leaving { animation: none; }
}

.stream-preview > img { background: var(--forja-surface); }
.stream-attach { border-block: 1px solid var(--forja-border); }
.stream-attach summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 650; list-style: none; }
.stream-attach summary::-webkit-details-marker { display: none; }
.stream-link-plus { flex: none; color: var(--accent-ink,var(--forja-text)); }
.stream-attach[open] .stream-link-plus { transform: rotate(45deg); }
.stream-link-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; margin: 3px 0 9px; }
.stream-link-field input { min-width: 0; min-height: 44px; padding: 7px 10px; font-size: 1rem; }
.stream-link-field button { min-height: 44px; }
.stream-attach > [role="alert"] { margin: 0 0 10px; }

.forja-offer-share {
  width: min(420px,calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 18px;
  border: 1px solid var(--forja-control-border,var(--forja-border));
  border-radius: 16px;
  background: var(--forja-surface);
  color: var(--forja-text);
}
.forja-offer-share::backdrop { background: #080b17ad; }
.forja-offer-share header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.forja-offer-share h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; text-wrap: balance; }
.forja-offer-share label { display: grid; gap: 5px; }
.forja-offer-share input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--forja-control-border,var(--forja-border));
  border-radius: 8px;
  background: var(--forja-bg);
  color: var(--forja-text);
  font-size: 1rem;
}
.offer-share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.forja-offer-share button { min-height: 44px; }
.forja-offer-share [role="status"] { display: block; margin-top: 6px; }
