.team-feed {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.feed-post {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.feed-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 22px;
  padding: 18px clamp(16px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
}

.feed-title-group {
  flex: 1 1 240px;
  min-width: 0;
}

.feed-badges,
.feed-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.feed-post-head h2 {
  margin-top: 7px;
  font: 400 clamp(24px, 2.3vw, 35px)/1.12 Georgia, serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.feed-revision,
.feed-small-label {
  color: var(--faint);
  font: 650 9px/1.45 "Segoe UI", Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.feed-revision {
  padding-left: 7px;
  border-left: 1px solid var(--line);
}

.feed-series {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.feed-series-name,
.feed-series-group {
  padding: 0;
  color: var(--gold);
  font-size: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.feed-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(225px, 1fr);
}

.feed-preview {
  min-width: 0;
  padding: clamp(14px, 2vw, 26px);
  background: color-mix(in srgb, var(--surface) 60%, var(--bg));
}

.feed-preview .pv-preview {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.feed-margin {
  min-width: 0;
  padding: clamp(16px, 2vw, 27px);
  border-left: 1px solid var(--line);
}

.feed-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.feed-byline > div {
  min-width: 0;
}

.feed-byline :is(strong, small),
.feed-small-label {
  display: block;
  overflow-wrap: anywhere;
}

.feed-byline strong {
  margin-top: 2px;
  font-size: 13px;
}

.feed-original,
.feed-note-when {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.45;
}

.feed-thread-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font: 400 23px/1.15 Georgia, serif;
  letter-spacing: -.04em;
}

.feed-note-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font: 600 10px/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}

.feed-no-feedback,
.feed-tip {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.feed-feedback-form {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.feed-feedback-form .btn {
  justify-self: start;
}

.feed-feedback-form textarea {
  width: 100%;
  min-height: 64px;
  padding: 9px 10px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font: 400 13px/1.45 "Segoe UI", Arial, sans-serif;
}

.feed-label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}

.feed-note-error {
  color: var(--rose);
  font-size: 12px;
}

.feed-notes {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.feed-note {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.feed-note .feed-avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
}

.feed-note-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.feed-note-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  font-size: 12px;
}

.feed-note-byline span {
  color: var(--faint);
  font-size: 10px;
}

.feed-note p {
  margin: 2px 0 3px;
  color: var(--ink);
  font-size: 13px;
  white-space: pre-wrap;
}

.feed-earlier-notes summary {
  padding: 4px 0 7px;
  cursor: pointer;
  color: var(--gold);
  font-size: 12px;
}

.feed-margin > .feed-tip {
  margin-top: 14px;
}

.feed-master {
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feed-master-copy {
  font: 400 19px/1.45 Georgia, serif;
  white-space: pre-wrap;
}

.feed-master figure,
.feed-master-links {
  margin: 0;
}

.feed-master img {
  display: block;
  max-width: 100%;
  max-height: 340px;
  border-radius: 6px;
}

.feed-master figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.feed-master-links {
  padding-left: 19px;
}

.feed-master-links a {
  display: inline;
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .feed-card-body {grid-template-columns: minmax(0, 1.4fr) minmax(200px, 1fr)}
}

@media (max-width: 820px) {
  .feed-card-body {grid-template-columns: minmax(0, 1fr)}
  .feed-margin {border-top: 1px solid var(--line); border-left: 0}
  .feed-byline {margin-bottom: 13px; padding-bottom: 12px}
}

@media (max-width: 490px) {
  .team-feed {gap: 18px}
  .feed-post-head {gap: 12px; padding: 14px}
  .feed-preview, .feed-margin {padding: 13px}
}
.feed-package-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px 16px;margin:0 0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
