.feed-page { min-width: 0; }
.feed-prompt-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-bottom: 0; padding: 17px 18px 17px 10px; overflow: hidden; }
.feed-prompt-art { flex: 0 0 104px; aspect-ratio: 1; background: white; }
.feed-prompt-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.feed-prompt-content { min-width: 0; }
.feed-prompt-content .eyebrow { font-size: 8px; letter-spacing: .12em; color: var(--red); margin: 0 0 6px; }
.feed-prompt-content h2 { font: 800 31px/.98 var(--display); text-transform: uppercase; margin: 0; }
.feed-prompt-content > p:not(.eyebrow) { font-size: 11px; line-height: 1.5; color: var(--muted); margin: 7px 0 9px; }
.feed-prompt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.feed-prompt-chips button { min-height: 44px; background: #f5f5ef; border: 1px solid #dedfd4; border-radius: 3px; padding: 8px 10px; color: var(--ink); font: 700 10px var(--body); cursor: pointer; }
.feed-prompt-chips button:hover { border-color: var(--red); background: #fff2ec; }
.feed-prompt-confirm > p { font-size: 13px; line-height: 1.7; }
.feed-prompt-confirm .feed-prompt-preview { border-left: 3px solid var(--red); padding: 12px; background: var(--paper); font-weight: 600; }
.feed-prompt-confirm > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feed-sample-art { margin: -3px 0 17px; border: 1px solid var(--line); background: #fff; }
.feed-sample-art img { width: 100%; height: auto; max-height: 260px; aspect-ratio: 8 / 5; object-fit: contain; display: block; }
.feed-sample-art figcaption { font-size: 10px; line-height: 1.6; padding: 10px 12px; border-top: 1px solid var(--line); background: #f6f6f1; color: var(--muted); }
.feed-sample-art figcaption span { font-size: 8px; font-weight: 800; letter-spacing: .08em; color: var(--ink); margin-right: 8px; }
.feed-card.feed-moment-heat { animation: feed-heat-pulse 520ms ease-out 1; }
.feed-card.feed-moment-cold { animation: feed-cold-pulse 520ms ease-out 1; }
.feed-card.feed-moment-post { animation: feed-post-reveal 500ms ease-out 1; }
@keyframes feed-heat-pulse { 0% { box-shadow: inset 4px 0 #ec482e; background-color: #fff0e8; } 100% { box-shadow: inset 0 0 transparent; background-color: #fff; } }
@keyframes feed-cold-pulse { 0% { box-shadow: inset 4px 0 #4d87ad; background-color: #edf6fb; } 100% { box-shadow: inset 0 0 transparent; background-color: #fff; } }
@keyframes feed-post-reveal { 0% { opacity: .5; box-shadow: inset 4px 0 #287653; } 100% { opacity: 1; box-shadow: inset 0 0 transparent; } }
html[data-motion=off] .feed-card { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .feed-card { animation: none !important; } }
@media (max-width: 540px) {
  .feed-prompt-card { padding: 14px 12px; gap: 12px; align-items: flex-start; }
  .feed-prompt-art { flex-basis: 65px; }
  .feed-prompt-content h2 { font-size: 27px; }
  .feed-prompt-content .eyebrow { font-size: 7px; }
  .feed-prompt-chips { gap: 5px; }
  .feed-prompt-chips button { font-size: 9px; padding: 8px; }
}
.feed-heading { display: flex; justify-content: space-between; align-items: center; margin: 3px 0 25px; gap: 16px; }
.feed-heading .eyebrow { color: var(--red); margin: 0 0 6px; font-size: 11px; letter-spacing: .14em; }
.feed-heading h1 { font: 800 clamp(40px, 5vw, 61px)/.96 var(--display); letter-spacing: -.025em; margin: 0; text-transform: uppercase; }
.feed-heading-description { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feed-heading-mark { display: grid; place-items: center; border: 1px solid var(--line); width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; color: var(--red); }
.feed-callout { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #f1f1eb; border: 1px solid var(--line); margin-bottom: 14px; }
.feed-callout-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.feed-callout > div:nth-child(2) { flex: 1; min-width: 0; }
.feed-callout strong { display: block; font-size: 12px; margin-bottom: 3px; }
.feed-callout span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.feed-callout .btn { min-height: 44px; font-size: 10px; white-space: nowrap; padding: 9px 10px; flex-shrink: 0; }
.feed-composer { border: 1px solid var(--line); background: var(--white); padding: 20px; }
.feed-composer-top { display: flex; align-items: flex-start; gap: 13px; }
.feed-avatar { width: 44px; height: 44px; min-width: 44px; display: grid; place-items: center; border-radius: 50%; font: 800 12px var(--body); overflow: hidden; }
.feed-avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.feed-avatar-red { background: #fae9e4; color: #a93524; }
.feed-avatar-green { background: #e3ede4; color: #376347; }
.feed-avatar-blue { background: #e5eaf2; color: #395571; }
.feed-avatar-gold { background: #f2ebd9; color: #796023; }
.feed-avatar-ink { background: var(--ink); color: white; }
.feed-composer textarea { width: 100%; min-height: 77px; border: 0; resize: vertical; color: var(--ink); font: 14px/1.65 var(--body); padding: 5px 0; background: transparent; border-radius: 0; }
.feed-composer textarea::placeholder { color: #8b8d8c; }
.feed-composer textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.feed-composer-bottom { display: flex; align-items: center; gap: 12px; border-top: 1px solid #eeeeea; padding-top: 14px; margin-top: 10px; }
.feed-composer select, .feed-filters select { border: 1px solid var(--line); padding: 8px 27px 8px 10px; background: var(--white); border-radius: 3px; font: 11px var(--body); color: var(--ink); max-width: 100%; }
.feed-character-count { font-size: 10px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.feed-composer-bottom .btn { padding: 10px 14px; font-size: 11px; }
.feed-local-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.feed-draft-context { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; margin-top: 8px; padding: 0 10px; background: #f2ebd9; color: var(--ink); font: 700 11px/1.45 var(--body); overflow-wrap: anywhere; }
.feed-draft-context[hidden] { display: none; }
.feed-context-remove { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
.feed-toolbar { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1px solid var(--line); margin-top: 26px; }
.feed-tabs { display: flex; gap: 25px; }
.feed-tab { border: 0; border-bottom: 3px solid transparent; padding: 0 0 13px; background: none; color: var(--muted); font: 700 13px var(--body); cursor: pointer; }
.feed-tab.active { color: var(--ink); border-bottom-color: var(--red); }
.feed-tab > span { display: inline-grid; place-items: center; background: #e7e8e1; border-radius: 50%; font-size: 9px; width: 17px; height: 17px; margin-left: 5px; }
.feed-follow-manage { border: 0; display: flex; align-items: center; gap: 4px; padding: 0 0 13px; color: var(--muted); background: none; font: 11px var(--body); cursor: pointer; }
.feed-follow-manage:hover { color: var(--red); }
.feed-filters { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 0 0; }
.feed-filters > div { display: flex; gap: 7px; min-width: 0; }
.feed-filters select { font-size: 10px; padding-top: 7px; padding-bottom: 7px; max-width: 180px; }
.feed-filters > span { font-size: 10px; color: var(--muted); flex-shrink: 0; }
.feed-demo-note { color: var(--muted); font-size: 10px; margin: 12px 0 15px; line-height: 1.5; }
.feed-list { display: grid; gap: 14px; }
.feed-card { padding: 21px 22px 0; border: 1px solid var(--line); background: white; min-width: 0; }
.feed-card-head { display: flex; gap: 10px; align-items: center; }
.feed-identity { min-width: 0; flex: 1; }
.feed-identity strong { font-size: 12px; display: block; overflow-wrap: anywhere; }
.feed-identity > span { font-size: 10px; color: var(--muted); display: block; margin-top: 5px; line-height: 1.4; }
.feed-identity > span > span { padding: 0 4px; color: #b7b9b6; }
.feed-timestamp { color: #858984; font-size: 9px; align-self: flex-start; padding-top: 4px; white-space: nowrap; }
.feed-card-kicker { font: 700 9px var(--body); letter-spacing: .11em; margin: 21px 0 -6px; color: var(--red); }
.feed-game-badge { display: inline-flex; flex-wrap: wrap; gap: 3px 8px; margin-top: 14px; padding: 5px 8px; background: #f2ebd9; color: var(--ink); font: 11px/1.45 var(--body); overflow-wrap: anywhere; max-width: 100%; }
.feed-game-badge + .feed-body { margin-top: 10px; }
.feed-body { font: 500 16px/1.65 var(--body); letter-spacing: -.01em; color: var(--ink); margin: 18px 0 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.feed-actions { display: flex; align-items: center; gap: 19px; min-height: 45px; border-top: 1px solid #eeeeea; }
.feed-action { display: inline-flex; align-items: center; gap: 6px; padding: 11px 0; border: 0; background: none; color: var(--muted); font: 11px var(--body); cursor: pointer; }
.feed-action:hover, .feed-action.is-heat { color: var(--red); }
.feed-action.is-cold { color: #24638b; }
.feed-reaction-count { font-weight: 800; }
.feed-sample-label { margin-left: auto; font-size: 8px; color: #8a8e86; letter-spacing: .05em; }
.feed-replies { border-top: 1px solid var(--line); margin: 0 -22px; padding: 17px 22px; background: #fafaf7; }
.feed-replies[hidden] { display: none; }
.feed-reply { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.feed-reply-avatar { font-size: 9px; font-weight: 700; display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; background: #e7e8e1; color: var(--ink); }
.feed-reply > div { min-width: 0; }
.feed-reply strong { font-size: 10px; overflow-wrap: anywhere; }
.feed-reply p { font-size: 12px; margin: 5px 0 0; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.feed-reply-empty { font-size: 11px; color: var(--muted); margin: 0 0 13px; }
.feed-reply-form { display: flex; gap: 7px; }
.feed-reply-form input { min-width: 0; flex: 1; border: 1px solid var(--line); padding: 10px; font: 11px var(--body); border-radius: 3px; background: white; }
.feed-reply-form button { font-size: 11px; padding: 9px 12px; }
.feed-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.feed-empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--line); }
.feed-empty > svg { color: var(--muted); }
.feed-empty h3 { font: 700 27px var(--display); margin: 13px 0 8px; }
.feed-empty p { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 340px; margin: 0 auto 20px; }
.feed-follow-form p { font-size: 13px; line-height: 1.6; }
.feed-team-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.feed-team-options label { display: flex; align-items: center; gap: 9px; padding: 12px 10px; border: 1px solid var(--line); font-size: 12px; cursor: pointer; line-height: 1.4; }
.feed-team-options input { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.feed-follow-form .btn { width: 100%; justify-content: center; }
.feed-page button:focus-visible, .feed-page select:focus-visible, .feed-page input:focus-visible, .feed-follow-form input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 540px) {
  .feed-heading { margin-top: 4px; margin-bottom: 20px; }
  .feed-heading h1 { font-size: 43px; }
  .feed-heading-mark { width: 44px; height: 44px; }
  .feed-callout { gap: 8px; padding: 10px; }
  .feed-callout > div:nth-child(2) { min-width: 0; }
  .feed-callout .btn { margin-left: 0; }
  .feed-composer { padding: 16px 13px; }
  .feed-composer textarea { font-size: 13px; }
  .feed-composer-bottom { gap: 7px; flex-wrap: wrap; }
  .feed-composer select { max-width: 110px; font-size: 10px; }
  .feed-composer-bottom .btn { font-size: 10px; padding: 10px; }
  .feed-character-count { font-size: 9px; }
  .feed-filters { align-items: flex-start; }
  .feed-filters > div { flex-wrap: wrap; }
  .feed-filters select { max-width: 157px; }
  .feed-filters > span { padding-top: 9px; font-size: 9px; }
  .feed-tabs { gap: 20px; }
  .feed-follow-manage { font-size: 10px; }
  .feed-card { padding: 17px 14px 0; }
  .feed-body { font-size: 14px; }
  .feed-actions { gap: 14px; }
  .feed-action { font-size: 10px; gap: 4px; }
  .feed-sample-label { font-size: 7px; }
  .feed-replies { margin: 0 -14px; padding: 15px 14px; }
  .feed-team-options { grid-template-columns: 1fr; }
}
