.shuoshuo-item.post-list-show {
  opacity: 1;
  content-visibility: visible;
}

.diary-feed {
  max-width: 820px;
  margin: 0 auto;
}

.diary-feed-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 28px;
}

.shuoshuo-list {
  overflow: hidden;
}

.shuoshuo-title h3,
.entry-content .shuoshuo-title h3 {
  padding-left: 0;
}

.shuoshuo-title h3::before,
.shuoshuo-title h3::after,
.entry-content .shuoshuo-title h3::before,
.entry-content .shuoshuo-title h3::after {
  content: none !important;
  display: none !important;
}

.shuoshuo-mood {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  height: 20px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: var(--theme-skin-matching, #a4cdf6);
}

.shuoshuo-cover {
  display: block;
  margin: 8px 0 6px;
  max-width: 420px;
}

.shuoshuo-cover img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.shuoshuo-content img {
  max-width: 100%;
  border-radius: 10px;
}

.shuoshuo-content blockquote {
  margin: 8px 0;
  padding: 6px 12px;
  border-left: 3px solid var(--theme-skin-matching, #a4cdf6);
  color: #666;
  background: rgba(164, 205, 246, 0.12);
}

.diary-empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
}

.diary-detail {
  max-width: 820px;
  margin: 0 auto 16px;
  float: none;
}

.diary-feed .shuoshuo-content p,
.diary-detail-content p {
  margin-bottom: 10px !important;
}

.diary-back {
  max-width: 820px;
  margin: 8px auto 0;
}

.diary-back a {
  color: var(--theme-skin, #505050);
}

#aplayer-float {
  z-index: 98;
}

.aplayer.aplayer-fixed {
  z-index: 98;
}

.aplayer.aplayer-fixed .aplayer-body {
  left: 0;
  bottom: 0;
}

body.dark .shuoshuo-mood {
  color: #222;
}

body.dark .shuoshuo-content blockquote {
  color: #ccc;
  background: rgba(41, 74, 164, 0.25);
}

.bangumi-page {
  max-width: 960px;
  margin: 0 auto;
}

.bangumi-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 28px;
}

.bangumi-summary {
  text-align: center;
  color: #888;
  margin: 0 0 28px;
}

.bangumi-section-title {
  font-size: 20px;
  margin: 8px 0 16px;
  padding-left: 4px;
  border-left: 4px solid var(--theme-skin-matching, #a4cdf6);
}

.bangumi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.bangumi-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid #fff;
  border-radius: 12px;
  box-shadow: 0 1px 30px -4px #e8e8e8;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bangumi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 20px 10px #e8e8e8;
}

.bangumi-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: rgba(164, 205, 246, 0.18);
  overflow: hidden;
}

.bangumi-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bangumi-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 32px;
  color: #9bb8d4;
}

.bangumi-status {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(80, 80, 80, 0.82);
}

.bangumi-status.finished {
  background: rgba(50, 160, 90, 0.9);
}

.bangumi-status.watching {
  background: rgba(80, 140, 220, 0.9);
}

.entry-content .bangumi-name,
.bangumi-name {
  position: static;
  margin: 0;
  padding: 10px 12px 12px !important;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.entry-content .bangumi-name:after,
.bangumi-name:after {
  content: none !important;
  display: none !important;
}

.bangumi-empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
}

body.dark .bangumi-card {
  background: rgba(51, 51, 51, 0.7);
  border-color: #7d7d7d30;
  box-shadow: 0 1px 20px 2px rgba(26, 26, 26, 0.8);
}

body.dark .bangumi-name,
body.dark .bangumi-section-title {
  color: #ccc;
}

.links-page {
  max-width: 960px;
  margin: 0 auto;
}

.links-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 28px;
}

.links-summary {
  text-align: center;
  color: #888;
  margin: 0 0 28px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.links-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid #fff;
  border-radius: 14px;
  box-shadow: 0 1px 30px -4px #e8e8e8;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.links-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 20px 10px #e8e8e8;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

.links-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(164, 205, 246, 0.22);
  box-shadow: 0 1px 8px rgba(80, 80, 80, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.entry-content .links-avatar img,
.links-avatar img {
  display: block;
  float: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.links-card:hover .links-avatar img {
  transform: scale(1.06);
}

.links-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.links-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--theme-skin, #505050);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.links-desc {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.links-card:hover .links-name {
  color: var(--theme-skin-matching, #a4cdf6);
}

body.dark .links-card {
  background: rgba(51, 51, 51, 0.7);
  border-color: #7d7d7d30;
  box-shadow: 0 1px 20px 2px rgba(26, 26, 26, 0.8);
}

body.dark .links-card:hover {
  background: rgba(51, 51, 51, 0.88);
  box-shadow: 0 1px 30px -2px rgba(26, 26, 26, 0.95);
}

body.dark .links-name,
body.dark .links-page-title {
  color: #ccc;
}

body.dark .links-desc,
body.dark .links-summary {
  color: #999;
}

.links-apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 36px auto 8px;
  width: 100%;
}

.links-apply-toggle,
.links-apply-submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 45px;
  padding: 10px 28px;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  background: var(--article-theme-highlight, var(--theme-skin-matching, #a4cdf6));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0 1px 30px -4px #e8e8e8;
  cursor: pointer;
  text-shadow: none;
}

.links-apply-toggle:hover,
.links-apply-submit:hover {
  background: #fff;
  color: var(--theme-skin, #505050);
  box-shadow: 0 1px 20px 10px #e8e8e8;
}

.links-apply-toggle[hidden],
.links-apply-form[hidden],
.links-apply-error[hidden],
.links-apply-done[hidden] {
  display: none !important;
}

.links-apply-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  padding: 22px 24px 16px;
  background: rgb(255 255 255 / 50%);
  border-radius: 15px;
  box-shadow: 0 1px 30px -4px #e8e8e8;
  border: 1.5px solid #ffffff;
}

.links-apply-form:hover {
  background: rgb(255 255 255 / 80%);
  box-shadow: 0 1px 20px 4px #e8e8e8;
}

.links-apply-field {
  position: relative;
  min-width: 0;
}

.links-apply-field-full,
.links-apply-error,
.links-apply-actions {
  grid-column: 1 / -1;
}

.links-apply-form input,
.links-apply-form textarea {
  width: 100%;
  margin: 0;
  font-size: 14px;
  color: #505050;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 30px -4px #e8e8e8;
  box-sizing: border-box;
}

.links-apply-form input {
  height: 48px;
  padding: 14px 16px;
}

.links-apply-form textarea {
  min-height: 120px;
  padding: 20px 16px 14px;
  resize: vertical;
  display: block;
}

.links-apply-form .commentbody::placeholder {
  color: transparent;
}

.links-apply-form .input-label {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 0 6px;
  color: #888;
  background: transparent;
  transform-origin: 0 0;
  pointer-events: none;
}

.links-apply-form .commentbody:not(:placeholder-shown) ~ .input-label,
.links-apply-form .commentbody:focus ~ .input-label {
  color: #fff;
  background-color: var(--theme-skin, #505050);
  transform: scale(.75) translate(-2px, -30px);
  border-radius: 3px;
}

.links-apply-form textarea.commentbody:not(:placeholder-shown) ~ .input-label,
.links-apply-form textarea.commentbody:focus ~ .input-label {
  transform: scale(.75) translate(-2px, -32px);
}

.links-apply-form input:focus,
.links-apply-form textarea:focus {
  outline: 0;
  border-color: var(--article-theme-highlight, var(--theme-skin-matching, #a4cdf6));
}

.links-apply-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.entry-content .links-apply-error,
.links-apply-error {
  margin: 0;
  text-align: center;
  color: #d9534f;
  font-size: 13px;
}

.entry-content .links-apply-done,
.links-apply-done {
  margin: 8px 0 0;
  text-align: center;
  color: #888;
  font-size: 15px;
}

body.dark .links-apply-form,
body.dark .links-apply-form input,
body.dark .links-apply-form textarea {
  background: rgb(26 26 26 / 60%);
  box-shadow: var(--dark-shadow-normal, 0 1px 20px 2px rgba(26, 26, 26, 0.8));
  border: 1.5px solid var(--dark-border-color, #7d7d7d30);
  color: #ccc;
}

body.dark .links-apply-form:hover {
  background: var(--dark-bg-hover, rgba(26, 26, 26, 0.8));
}

body.dark .links-apply-toggle,
body.dark .links-apply-submit {
  color: #f0f0f0;
  background: var(--article-theme-highlight, var(--theme-skin-dark, #294aa4));
  border-color: var(--article-theme-highlight, var(--theme-skin-dark, #294aa4));
}

body.dark .links-apply-toggle:hover,
body.dark .links-apply-submit:hover {
  background: var(--dark-bg-hover, rgba(26, 26, 26, 0.8));
  color: #ccc;
}

body.dark .links-apply-done {
  color: #999;
}

@media (max-width: 860px) {
  .shuoshuo-cover {
    max-width: 100%;
  }

  .aplayer.aplayer-fixed {
    max-width: 100vw;
  }

  .bangumi-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .links-apply-form {
    grid-template-columns: 1fr;
    padding: 18px 16px 12px;
  }
}
