/* Shared Circle cards: keep the existing attribution and date in one byline.
   Positive phone layouts retain their separately reviewed inline header. */
@media (min-width: 768px) {
  body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
  }

  body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-time] {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    margin-inline: 0;
    white-space: nowrap;
  }

  body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution]:empty {
    display: none;
  }

  body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution]:empty + [data-post-time]::before {
    content: none;
    margin: 0;
  }
}

@media (max-width: 767px) {
  html:is([data-candao-device="desktop"], [data-candao-device="tablet"], :not([data-candao-device="phone"]):not([data-candao-ux-phone="true"])) body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
  }

  html:is([data-candao-device="desktop"], [data-candao-device="tablet"], :not([data-candao-device="phone"]):not([data-candao-ux-phone="true"])) body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html:is([data-candao-device="desktop"], [data-candao-device="tablet"], :not([data-candao-device="phone"]):not([data-candao-ux-phone="true"])) body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-time] {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    margin-inline: 0;
    white-space: nowrap;
  }

  html:is([data-candao-device="desktop"], [data-candao-device="tablet"], :not([data-candao-device="phone"]):not([data-candao-ux-phone="true"])) body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution]:empty {
    display: none;
  }

  html:is([data-candao-device="desktop"], [data-candao-device="tablet"], :not([data-candao-device="phone"]):not([data-candao-ux-phone="true"])) body :is([data-feed-alpha], [data-public-feed-root]) .feed-post.feed-circle-post .feed-post-meta > [data-post-attribution]:empty + [data-post-time]::before {
    content: none;
    margin: 0;
  }
}
