.bluesky-feed {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px;
  color: #000;
  text-align: left;
}

.bluesky-feed__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  padding: 0 6px;
}

.bluesky-feed__title {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.bluesky-feed__profile,
.bluesky-feed__status {
  font-size: 0.8rem;
}

.bluesky-feed__status {
  margin: 0 0 4px;
  padding: 0 6px;
  color: #666;
  text-align: right;
}

.bluesky-feed__body {
  max-height: 360px;
  padding: 0 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid #c8c0dc;
  border-bottom: 1px solid #c8c0dc;
  scrollbar-color: #c0c0ff #fff;
}

.bluesky-post {
  padding: 12px 0;
  border-bottom: 1px dotted #aaa0c0;
}

.bluesky-post:last-child {
  border-bottom: 0;
}

.bluesky-post__meta {
  margin: 0 0 6px;
  color: #666;
  font-size: 0.8rem;
}

.bluesky-post__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bluesky-post__long-text summary {
  font-size: 0.9rem;
  line-height: 1.55;
  cursor: pointer;
}

.bluesky-post__long-text[open] summary {
  margin-bottom: 8px;
}

.bluesky-post__link-row {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.bluesky-post__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.bluesky-post__images img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: #f5f2fa;
}

.bluesky-post__external,
.bluesky-post__quote {
  margin-top: 10px;
  padding: 7px 9px;
  border-left: 3px solid #aaa0c0;
  background: #faf8fc;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.bluesky-post__external p,
.bluesky-post__quote p {
  margin: 0.3em 0;
}

.bluesky-feed__message {
  margin: 0;
  padding: 16px 4px;
  font-size: 0.9rem;
}

.bluesky-feed__message--error {
  color: #700;
}

.bluesky-feed__noscript {
  margin: 8px 6px;
  font-size: 0.9rem;
}
