.feed-detail-view {
  gap: 0;
  padding-bottom: 16px;
}

.feed-detail-post {
  display: grid;
  gap: 14px;
}

.feed-detail-author {
  display: flex;
  padding: 8px 14px 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feed-detail-author > button {
  display: flex;
  min-width: 0;
  padding: 0;
  align-items: center;
  gap: 9px;
  background: transparent;
  text-align: left;
}

.feed-detail-author button[hidden],
.feed-liked-by[hidden],
.feed-comments-empty[hidden],
.feed-comments [data-feed-seeded-comment][hidden] {
  display: none;
}

.feed-detail-author img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: var(--radius-circle);
}

.feed-detail-author button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.feed-detail-author strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-detail-author small {
  color: var(--color-text-secondary);
}

.feed-detail-author > .privacy-chip {
  background: var(--component-badge-brand-bg);
  color: var(--component-badge-brand-fg);
}

.feed-detail-author > .privacy-chip svg {
  color: currentColor;
}

.feed-detail-media {
  position: relative;
  height: 264px;
  margin: 0 14px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.feed-detail-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-detail-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 46px;
  padding: 0 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--ref-white);
  background: var(--color-overlay-detail);
  backdrop-filter: blur(8px);
}

.feed-detail-media figcaption span {
}

.feed-detail-media figcaption button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  background: var(--ref-white);
  border-radius: var(--radius-circle);
  color: var(--color-text-primary);
}

.feed-detail-media figcaption svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.feed-detail-caption {
  display: grid;
  gap: 4px;
  padding: 0 14px;
}

.feed-detail-caption p {
  line-height: 1.42;
}

.feed-detail-caption strong {
  color: var(--color-action-primary);
}

.feed-adventure-card {
  display: grid;
  margin: 0 14px;
  padding: 10px;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  text-align: left;
}

.feed-adventure-copy {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 3px;
}

.feed-adventure-copy small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-action-primary);
  text-transform: uppercase;
}

.feed-adventure-copy small svg {
  width: 13px;
  height: 13px;
}

.feed-adventure-copy > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-adventure-copy > span {
  color: var(--color-text-secondary);
}

.feed-adventure-route {
  position: relative;
  height: 58px;
  overflow: hidden;
  border-radius: var(--radius-control);
}

.feed-adventure-route img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-adventure-route svg {
  position: absolute;
  right: 5px;
  top: 50%;
  width: 16px;
  height: 16px;
  padding: 3px;
  transform: translateY(-50%);
  background: var(--color-surface-translucent-soft);
  border-radius: var(--radius-circle);
}

.feed-adventure-stats {
  display: grid;
  padding-top: 9px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--color-border-subtle);
}

.feed-adventure-stats > span {
  display: grid;
  gap: 2px;
  text-align: center;
  border-right: 1px solid var(--color-border-subtle);
}

.feed-adventure-stats > :last-child {
  border-right: 0;
}

.feed-adventure-stats strong {
  color: var(--color-action-primary);
}

.feed-adventure-stats small {
  color: var(--color-text-secondary);
}

.feed-detail-social {
  display: grid;
  margin: 0 14px;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
}

.feed-detail-social.has-no-liked-by {
  grid-template-columns: 1fr;
}

.feed-detail-social.has-no-liked-by .post-actions {
  justify-content: space-around;
}

.feed-detail-social .post-actions {
  display: flex;
  width: auto;
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  justify-content: flex-start;
  gap: 20px;
  border-top: 0;
  border-radius: 0;
}

.feed-detail-social .post-actions button {
  width: auto;
  height: 46px;
  min-height: 46px;
}

.feed-liked-by {
  display: flex;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  align-items: center;
  gap: 8px;
  border-top: 0;
  border-left: 1px solid var(--color-border-subtle);
}

.feed-liked-by > span {
  display: flex;
}

.feed-liked-by img {
  width: 21px;
  height: 21px;
  margin-right: -5px;
  object-fit: cover;
  border: 2px solid var(--ref-white);
  border-radius: var(--radius-circle);
}

.feed-liked-by p {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-comments-empty {
  padding: 4px 14px 8px;
  color: var(--color-text-secondary);
}
