.blog-custom-shuoshuo-page-content {
  position: relative;
  left: 50%;
  width: calc(100vw - 40px);
  max-width: none;
  transform: translateX(-50%);
}

.blog-custom-shuoshuo-main {
  padding: 48px 0 80px;
}

.blog-custom-shuoshuo-stream {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 38px;
  box-sizing: border-box;
  color: var(--theme-skin, #505050);
  background: rgba(255, 255, 255, var(--homepage_widget_transparency, .92));
  border: 1px solid rgba(255, 255, 255, var(--homepage_widget_transparency, .92));
  border-radius: 14px;
  box-shadow: 0 1px 30px -4px rgba(160, 160, 160, .35);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

.blog-custom-shuoshuo-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(125, 125, 125, .16);
}

.blog-custom-shuoshuo-item:last-child {
  border-bottom: 0;
}

.blog-custom-shuoshuo-avatar {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.blog-custom-shuoshuo-avatar img {
  display: block;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  box-sizing: border-box;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(80, 80, 80, .16);
}

.blog-custom-shuoshuo-body {
  min-width: 0;
}

.blog-custom-shuoshuo-item-header {
  margin-bottom: 10px;
}

.blog-custom-shuoshuo-author {
  color: var(--theme-skin, #505050);
  font-size: 16px;
  font-weight: 600;
}

.blog-custom-shuoshuo-author:hover,
.blog-custom-shuoshuo-author:focus-visible {
  color: var(--theme-skin-matching, #8a90d4);
}

.blog-custom-shuoshuo-item-title {
  margin: 4px 0 0;
  color: var(--theme-skin, #505050);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.blog-custom-shuoshuo-content {
  color: var(--theme-skin, #505050);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-custom-shuoshuo-content > :first-child {
  margin-top: 0;
}

.blog-custom-shuoshuo-content > :last-child {
  margin-bottom: 0;
}

.blog-custom-shuoshuo-content a {
  color: var(--theme-skin-matching, #8a90d4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-custom-shuoshuo-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 600px;
  margin: 16px 0 0;
}

.blog-custom-shuoshuo-images--count-1 {
  grid-template-columns: minmax(0, 520px);
}

.blog-custom-shuoshuo-images--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.blog-custom-shuoshuo-images--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.blog-custom-shuoshuo-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(125, 125, 125, .1);
}

.blog-custom-shuoshuo-images--count-1 .blog-custom-shuoshuo-photo {
  aspect-ratio: 4 / 3;
}

.blog-custom-shuoshuo-photo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-custom-shuoshuo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.blog-custom-shuoshuo-photo:hover .blog-custom-shuoshuo-image,
.blog-custom-shuoshuo-photo:focus-within .blog-custom-shuoshuo-image {
  transform: scale(1.025);
  filter: brightness(.94);
}

.blog-custom-shuoshuo-photo-link:focus-visible,
.blog-custom-shuoshuo-image[role="button"]:focus-visible {
  outline: 2px solid var(--theme-skin-matching, #8a90d4);
  outline-offset: -3px;
}

.blog-custom-shuoshuo-photo-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  pointer-events: none;
}

.blog-custom-shuoshuo-photo-more::after {
  content: "+" attr(data-count);
  font-size: 22px;
  font-weight: 600;
}

.blog-custom-shuoshuo-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: #929292;
  font-size: 13px;
  line-height: 1.5;
}

.blog-custom-shuoshuo-meta time i {
  margin-right: 5px;
}

.blog-custom-shuoshuo-emotion {
  font-family: "Font Awesome 6 Free", FontAwesome, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.blog-custom-shuoshuo-empty {
  margin: 0;
  padding: 52px 20px;
  color: #888;
  text-align: center;
}

.blog-custom-shuoshuo-pagination {
  margin: 36px auto 0;
  text-align: center;
}

.blog-custom-shuoshuo-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-custom-shuoshuo-pagination .page-numbers {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  margin: 0;
  padding: 0 10px;
  place-items: center;
  box-sizing: border-box;
  color: #777;
  background: rgba(255, 255, 255, .78);
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(100, 100, 100, .12);
}

.blog-custom-shuoshuo-pagination .page-numbers.current {
  color: #fff;
  background: var(--theme-skin-matching, #8a90d4);
}

body.dark .blog-custom-shuoshuo-stream {
  color: var(--dark-text-primary);
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
  box-shadow: var(--dark-shadow-normal);
}

body.dark .blog-custom-shuoshuo-item {
  border-color: var(--dark-border-color);
}

body.dark .blog-custom-shuoshuo-author,
body.dark .blog-custom-shuoshuo-item-title,
body.dark .blog-custom-shuoshuo-content {
  color: var(--dark-text-primary);
}

body.dark .blog-custom-shuoshuo-content a,
body.dark .blog-custom-shuoshuo-author:hover,
body.dark .blog-custom-shuoshuo-author:focus-visible {
  color: var(--theme-skin-dark);
}

body.dark .blog-custom-shuoshuo-avatar img {
  border-color: var(--dark-border-color);
  box-shadow: var(--dark-shadow-normal);
}

body.dark .blog-custom-shuoshuo-meta,
body.dark .blog-custom-shuoshuo-empty {
  color: var(--dark-text-secondary);
}

body.dark .blog-custom-shuoshuo-pagination .page-numbers {
  color: var(--dark-text-secondary);
  background: var(--dark-bg-secondary);
  border: 1px solid var(--dark-border-color);
  box-shadow: var(--dark-shadow-normal);
}

body.dark .blog-custom-shuoshuo-pagination .page-numbers.current {
  color: var(--dark-text-primary);
  background: var(--theme-skin-dark);
}

@media (max-width: 860px) {
  .blog-custom-shuoshuo-page-content {
    width: calc(100vw - 24px);
  }

  .blog-custom-shuoshuo-main {
    padding: 32px 0 56px;
  }

  .blog-custom-shuoshuo-stream {
    padding: 8px 18px;
    border-radius: 12px;
  }

  .blog-custom-shuoshuo-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .blog-custom-shuoshuo-avatar,
  .blog-custom-shuoshuo-avatar img {
    width: 44px;
    height: 44px;
  }

  .blog-custom-shuoshuo-images {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .blog-custom-shuoshuo-page-content {
    width: calc(100vw - 16px);
  }

  .blog-custom-shuoshuo-stream {
    padding: 6px 12px;
  }

  .blog-custom-shuoshuo-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .blog-custom-shuoshuo-avatar,
  .blog-custom-shuoshuo-avatar img {
    width: 40px;
    height: 40px;
  }

  .blog-custom-shuoshuo-content {
    font-size: 14px;
  }

  .blog-custom-shuoshuo-meta {
    gap: 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-custom-shuoshuo-image {
    transition: none;
  }

  .blog-custom-shuoshuo-photo:hover .blog-custom-shuoshuo-image,
  .blog-custom-shuoshuo-photo:focus-within .blog-custom-shuoshuo-image {
    transform: none;
  }
}
