.aura-community-head .circle-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  padding: 8px 13px;
  min-height: 32px;
  border: 1px solid #dbe8ef;
  border-radius: 999px;
  background: #f3f8fb;
  color: #386680;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.aura-community-head .circle-entry:hover { background: #e9f4fb; border-color: #bcd9ec; }
.circle-entry .circle-mark { width: 19px; height: 19px; }
.aura-community-head .aura-community-close { flex: 0 0 auto; }
.aura-community-head > div { min-width: 0; }
.aura-community-head .circle-notification-entry {
  position: relative; display: grid; place-items: center; flex: 0 0 36px;
  width: 36px; height: 36px; margin-left: auto; padding: 7px;
  border: 1px solid #e1ebf1; border-radius: 50%;
  background: #f6f9fb; color: #6c8799; cursor: pointer;
}
.circle-notification-entry svg { width: 21px; height: 21px; }
.circle-notification-entry:hover,.circle-notification-entry.has-unread { background: #edf7fd; color: #079fe5; border-color: #cce5f4; }
.circle-notification-entry:focus-visible,.circle-notifications button:focus-visible { outline: 2px solid #079fe5; outline-offset: 3px; }
.circle-notification-badge {
  position: absolute; top: -5px; right: -6px;
  display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px;
  border: 2px solid #fff; border-radius: 999px;
  background: #ec625f; color: #fff; font: 600 9px/1 system-ui,sans-serif;
}
.circle-notification-badge[hidden],.circle-notifications [hidden] { display: none !important; }
.circle-notifications .aura-community-head { align-items: center; }
.circle-notifications .aura-community-close { margin-left: auto; }
.circle-notification-back {
  display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px;
  border: 0; border-radius: 50%; background: #f2f6f9; color: #6c8799; font-size: 24px; cursor: pointer;
}
.circle-notification-list { list-style: none; margin: 0; padding: 0; }
.circle-notification-list li + li { border-top: 1px solid #edf1f4; }
.circle-notification-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 10px;
  border: 0; border-radius: 11px; background: #fff; text-align: left; color: #354957; font: inherit; cursor: pointer;
}
.circle-notification-row:hover { background: #f4f9fc; }
.circle-notification-row.is-unread { background: #f0f8fd; }
.circle-notification-info { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.circle-notification-info strong { font-size: 13px; overflow-wrap: anywhere; }
.circle-notification-detail { display: flex; align-items: center; gap: 5px; color: #64849a; font-size: 12px; }
.circle-notification-detail svg { width: 14px; height: 14px; color: #079fe5; }
.circle-notification-info time { color: #98a6b0; font-size: 10px; }
.circle-notification-preview {
  position: relative; flex: 0 0 58px; width: 58px; height: 58px; padding: 7px;
  overflow: hidden; border-radius: 7px; background: #edf2f6; color: #8a9ba7;
  font-size: 10px; line-height: 1.5; overflow-wrap: anywhere;
}
.circle-notification-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.circle-notification-status { margin: 12px 10px; color: #8093a0; font-size: 12px; text-align: center; line-height: 1.7; }
.circle-notification-status:empty { display: none; }
.circle-post-notified { border-radius: 10px; background: #f5faff; box-shadow: 0 0 0 8px #f5faff; }
.aura-circle .circle-post-notified:focus { outline: 0; box-shadow: 0 0 0 2px #b8dced,0 0 0 8px #f5faff; }
.circle-notification-context { margin: 0 0 8px; color: #6e96b0; font-size: 11px; }

dialog.aura-circle {
  --circle-ink: #28343e;
  --circle-muted: #77848f;
  --circle-accent: #079fe5;
  --circle-line: #e9eef2;
  position: fixed;
  inset: 0;
  width: min(740px, calc(100vw - 36px));
  height: min(860px, calc(100dvh - 52px));
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 22px;
  background: #fff;
  color: var(--circle-ink);
  box-shadow: 0 32px 100px #172b3c40;
  font: 14px/1.5 system-ui, "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
.aura-circle[open] { display: flex; flex-direction: column; }
.aura-circle::backdrop { background: #17273366; backdrop-filter: blur(5px); }
.aura-circle *, .aura-circle *::before, .aura-circle *::after { box-sizing: border-box; }
.aura-circle [hidden] { display: none !important; }
.aura-circle a { color: inherit; text-decoration: none; }
.aura-circle button { font: inherit; cursor: pointer; }
.aura-circle button:disabled { opacity: .48; cursor: default; }
.aura-circle :focus-visible, .circle-entry:focus-visible { outline: 2px solid #079fe5; outline-offset: 3px; }
.aura-circle svg { display: block; width: 19px; height: 19px; flex: none; }
.circle-header {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto 34px;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--circle-line);
  background: #fff;
}
.circle-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.circle-brand h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: .015em; white-space: nowrap; }
.circle-brand .circle-mark { width: 25px; height: 25px; }
.circle-mark { display: block; object-fit: contain; flex: none; }
.circle-quiet {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 0; border-radius: 11px;
  background: #f1f5f8; color: #6d8494;
}
.circle-quiet:hover { background: #e7f0f6; }
.circle-compose-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #d6e9f4;
  border-radius: 10px;
  background: #f2f9fd;
  color: #167eaf;
  font-size: 12px !important;
  white-space: nowrap;
}
.circle-compose-toggle:hover,.circle-compose-toggle[aria-expanded="true"] { background: #e6f4fc; }
.circle-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.circle-cover {
  position: relative;
  height: clamp(170px, 30vw, 245px);
  overflow: hidden;
  background: radial-gradient(ellipse at 16% 18%,#e4f6ff99,transparent 52%), linear-gradient(125deg,#afcadb,#5f91b3);
}
.circle-cover::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent,#162e422e);
  pointer-events: none;
}
.circle-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.circle-cover-tools { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: flex; gap: 6px; }
.circle-cover-tools button {
  padding: 6px 11px;
  border: 1px solid #ffffffb8;
  border-radius: 999px;
  background: #ffffffe8;
  color: #425d70;
  font-size: 11px;
}
.circle-cover-tools button:hover:not(:disabled) { background: #fff; }
.circle-cover-status {
  position: absolute; left: 16px; top: 10px; z-index: 1;
  max-width: calc(100% - 32px); margin: 0;
  padding: 5px 9px; border-radius: 8px;
  background: #ffffffe6; color: #425d70; font-size: 11px;
}
.circle-cover-status:empty { display: none; }
.circle-profile {
  position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px;
  min-height: 72px; margin: -34px 24px 6px;
}
.circle-profile strong { max-width: calc(100% - 96px); padding-bottom: 8px; font-size: 16px; font-weight: 620; overflow-wrap: anywhere; }
.circle-profile .circle-avatar { width: 72px; height: 72px; border: 3px solid #fff; border-radius: 16px; box-shadow: 0 4px 14px #14283a15; font-size: 20px; }
.circle-content { padding: 0 24px 26px; }
.circle-compose { margin: 12px 0 18px; padding: 14px; border: 1px solid var(--circle-line); border-radius: 14px; background: #f9fbfd; }
.circle-compose textarea,.circle-comment-form input {
  width: 100%; padding: 10px 11px;
  border: 1px solid #e2eaf0; border-radius: 10px;
  background: #fff; color: var(--circle-ink); font: inherit;
}
.circle-compose textarea { display: block; min-height: 78px; max-height: 230px; resize: vertical; }
.circle-compose textarea::placeholder,.circle-comment-form input::placeholder { color: #8193a0; }
.circle-compose-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.circle-primary { padding: 8px 15px; border: 1px solid transparent; border-radius: 10px; background: #1688bd; color: #fff; white-space: nowrap; }
.circle-primary:hover:not(:disabled) { background: #1075a4; }
.circle-action,.circle-text-button,.circle-load {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; min-height: 32px; padding: 5px 7px;
  border: 0; border-radius: 8px; background: none; color: var(--circle-muted);
}
.circle-action:hover:not(:disabled),.circle-text-button:hover:not(:disabled),.circle-load:hover:not(:disabled) { background: #f0f7fc; color: #167eaf; }
.circle-action[aria-pressed="true"],.circle-action[aria-expanded="true"] { color: var(--circle-accent); }
.circle-action[aria-pressed="true"] .circle-like-body { fill: currentColor; }
.circle-like-cuff { fill: #fff; }
.circle-section { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 0; padding-bottom: 7px; border-bottom: 1px solid var(--circle-line); }
.circle-section h3 { margin: 0; font-size: 13px; color: #7e8e99; font-weight: 500; }
.circle-section button { font-size: 11px; }
.circle-status,.circle-inline-status { color: var(--circle-muted); font-size: 12px; margin: 9px 0; }
.circle-status:empty,.circle-inline-status:empty { display: none; }
.circle-status.is-error { color: #94383d; }
.circle-post { padding: 22px 0 20px 58px; border-bottom: 1px solid var(--circle-line); }
.circle-post-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 25px; }
.circle-author-line { min-width: 0; }
.circle-author { color: #356181 !important; font-weight: 620; overflow-wrap: anywhere; font-size: 14px; }
.circle-author:hover,.circle-attribution a:hover,.circle-reply-meta a:hover { text-decoration: underline; }
.circle-author-photo { position: absolute; left: -58px; top: 0; }
.circle-time { color: #86939e; font-size: 11px; white-space: nowrap; }
.circle-avatar {
  position: relative; display: grid; place-items: center;
  flex: none; width: 44px; height: 44px;
  border-radius: 11px; overflow: hidden;
  background: #e9f2f8; color: #51758e; font-size: 12px; font-weight: 500;
}
.circle-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.circle-attribution { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: -4px 0 11px; color: var(--circle-muted); font-size: 11px; }
.circle-attribution svg { width: 14px; height: 14px; }
.circle-attribution time { margin-left: auto; }
.circle-post-text,.circle-reply-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.circle-post-text { margin: 5px 0 10px; font-size: 14px; line-height: 1.75; }
.circle-media { display: grid; width: min(100%,450px); grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 10px 0; }
.circle-media.is-single { grid-template-columns: minmax(0,1fr); width: min(100%,340px); }
.circle-media a { display: block; overflow: hidden; border-radius: 5px; background: #f0f4f7; }
.circle-media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.circle-media.is-single img { aspect-ratio: auto; max-height: 390px; object-fit: contain; }
.circle-post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; margin-top: 12px; }
.circle-post-actions > time { margin-right: auto; }
.circle-post-actions button { color: #4d5c66; font-size: 11px; }
.circle-post-actions svg { width: 21px; height: 21px; }
.circle-post-actions .circle-action[aria-pressed="true"] { color: var(--circle-accent); }
.circle-comments { margin-top: 10px; padding: 11px; background: #f4f7f9; border-radius: 9px; }
.circle-comment-form { display: flex; align-items: stretch; gap: 7px; margin-bottom: 12px; }
.circle-comment-form input { min-width: 0; }
.circle-comment-form .circle-primary { padding-inline: 12px; font-size: 12px; }
.circle-comment-list { display: grid; gap: 8px; }
.circle-reply { display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 1px 7px; padding: 5px 0; }
.circle-reply .circle-avatar { grid-row: span 2; width: 25px; height: 25px; border-radius: 7px; font-size: 9px; }
.circle-reply-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 11px; }
.circle-reply-meta a { color: #356181; font-weight: 550; }
.circle-reply-meta .circle-text-button { margin-left: auto; padding: 0 3px; min-height: 18px; font-size: 10px; }
.circle-reply-text { margin: 0; font-size: 13px; }
.circle-load { display: flex; margin: 12px auto 0; color: #167eaf; font-size: 12px; }
.circle-previews { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.circle-preview { position: relative; width: 58px; height: 58px; }
.circle-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.circle-remove-image { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 7px; background: #253b4bd9; color: #fff; }
.circle-empty { display: grid; justify-items: center; padding: 36px 10px; text-align: center; }
.circle-empty .circle-mark { width: 34px; height: 34px; }
.circle-empty h4 { margin: 12px 0 4px; font-size: 15px; }
.circle-empty p { margin: 0; color: var(--circle-muted); font-size: 12px; }
@media (max-width: 550px) {
  dialog.aura-circle { width: calc(100vw - 12px); height: calc(100dvh - 16px); border-radius: 17px; }
  .circle-header { padding: 11px 12px; gap: 8px; }
  .circle-brand h2 { font-size: 18px; }
  .circle-brand .circle-mark { width: 22px; height: 22px; }
  .circle-compose-toggle { padding-inline: 8px; }
  .circle-profile { margin-right: 16px; margin-bottom: 0; }
  .circle-content { padding: 0 14px 20px; }
  .circle-post { padding-left: 50px; }
  .circle-author-photo { left: -50px; }
  .circle-author-photo .circle-avatar { width: 38px; height: 38px; border-radius: 10px; }
  .aura-community-head .circle-entry { padding-inline: 9px; gap: 5px; }
  .aura-community-head { gap: 8px; padding-inline: 15px; }
  .circle-notification-row { gap: 9px; padding-inline: 6px; }
}
@media (max-width: 390px) {
  .circle-post-actions > time { width: 100%; margin-bottom: 2px; }
  .circle-post-actions { justify-content: flex-end; }
  .circle-header { gap: 5px; }
  .circle-compose-toggle svg { display: none; }
}
