/* 顶部样式 */
.fcircle_page .author-content.fcirclePage {
  height: 19rem;
  color: var(--anzhiyu-white);
  overflow: hidden;
  margin-top: 0px;
}
.fcircle_page {
  --fc-accent: #b95c95;
  --fc-accent-soft: #ffe7f7;
  --fc-accent-line: rgba(185, 92, 149, 0.28);
  --anzhiyu-shadow-main: 0 8px 24px rgba(185, 92, 149, 0.2);
  --style-border-hover: 1px solid var(--fc-accent);
  --anzhiyu-main: var(--fc-accent);
}
[data-theme="dark"] .fcircle_page {
  --fc-accent: #f1a6d5;
  --fc-accent-soft: #352338;
  --fc-accent-line: rgba(241, 166, 213, 0.3);
}
#web_bg ~ .page:has(.fcircle_page) {
  background-color: transparent;
}
[data-theme="dark"] #web_bg ~ .page:has(.fcircle_page) {
  background-color: transparent;
}

#page:has(.fcircle_page) .page-title {
  display: none;
}

#page:has(.fcircle_page) {
  border: 0;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.fcircle_page a {
  border-bottom: none !important;
}
.fcircle_page .cf-article-avatar a:hover {
  background: none !important;
  color: var(--anzhiyu-fontcolor) !important;
}
#fcircleContainer {
  width: 100%;
  max-width: 1500px;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cf-article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--anzhiyu-shadow-border);
  margin: 8px 0;
  border-radius: 8px;
  font-weight: bolder;
  overflow: hidden;
  transition: all ease-out 0.3s;
  position: relative;
  padding: 0.8rem;
  padding-bottom: 0.4rem;
  width: calc(50% - 12px);
  background: var(--anzhiyu-card-bg);
  border: var(--style-border-always);
}

#article-container .cf-article a.cf-article-title,
#article-container .cf-article-author,
#article-container .cf-article:hover .cf-article-floor,
#article-container .cf-article:hover .cf-time-created,
#article-container .cf-article:hover .cf-time-updated {
  color: var(--anzhiyu-fontcolor);
  opacity: 1;
}
#cf-change,
.cf-article-floor,
.cf-time-created,
.cf-time-updated {
  color: var(--anzhiyu-fontcolor);
  opacity: 0.4;
  transition: 0.3s;
}
.cf-article-avatar {
  line-height: 35px;
  display: flex;
  justify-content: space-between;
}

img.cf-img-avatar {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.cf-img-avatar {
  align-self: center;
  text-align: center;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 50%;
  background: #fff;
  margin-right: 0.3rem;
}
.cf-article-author {
  line-height: 35px;
  font-size: 14px;
  font-weight: 400;
  margin-left: 5px;
  align-self: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.3s;
}
.cf-article-time {
  font-size: 14px;
  text-align: right;
  float: right;
  font-weight: 400;
}

.cf-time-created,
.cf-time-updated {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
}
.cf-time-created,
.cf-time-updated {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
}
.cf-time-created i.far,
.cf-time-updated i.fas {
  padding-right: 8px;
}
.cf-article:hover {
  transition: 0.3s;
  border: var(--style-border-hover);
  box-shadow: var(--anzhiyu-shadow-main);
}

#fcircleContainer a {
  text-decoration: none;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.cf-article-floor {
  position: absolute;
  top: 0;
  right: 0.5rem;
  font-style: italic;
  font-size: 3rem;
  line-height: 1.5rem;
  z-index: 1;
  font-weight: 400;
  display: none;
}

.cf-article-title {
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-right: auto;
  display: block;
  letter-spacing: 1.5px;
  font-size: 18px;
  align-self: start;
  text-align: left;
  line-height: 1.2;
  padding: 0;
  margin-bottom: 10px;
  transition: 0.3s;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
}

#cf-more,
#cf-state {
  background: var(--anzhiyu-card-bg);
  color: var(--anzhiyu-fontcolor);
  border: var(--style-border);
  box-shadow: var(--anzhiyu-shadow-border);
}
#cf-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  min-height: 74px;
  margin: 0.75rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--fc-accent-line);
  border-radius: 14px;
  background: var(--anzhiyu-card-bg);
  color: var(--anzhiyu-fontcolor);
  text-align: center;
}
#cf-feedback[hidden] {
  display: none;
}
#cf-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.25rem;
  border-color: var(--fc-accent-line);
  border-radius: 14px;
}
.cf-state-data,
.cf-state-actions,
#cf-change {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cf-state-data {
  gap: clamp(1rem, 3vw, 2.5rem);
}
.cf-state-data > div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.cf-state-data .cf-label {
  color: var(--anzhiyu-secondtext);
  font-size: 0.8rem;
}
.cf-state-data .cf-message {
  color: var(--anzhiyu-fontcolor);
  font-size: 1.25rem;
  font-weight: 700;
}
#cf-change {
  opacity: 1;
}
#cf-state button,
#cf-feedback button,
.cf-profile-feedback button {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--fc-accent-line);
  border-radius: 999px;
  background: transparent;
  color: var(--anzhiyu-fontcolor);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
}
#cf-state button:hover,
#cf-state button.cf-change-now,
#cf-feedback button:hover,
.cf-profile-feedback button:hover {
  background: var(--fc-accent-soft);
  color: var(--anzhiyu-fontcolor);
}
#cf-state button:focus-visible,
#cf-more:focus-visible,
#cf-feedback button:focus-visible,
.cf-profile-feedback button:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 2px;
}
#cf-more {
  width: min(100%, 360px);
  min-height: 42px;
  margin: auto;
  margin-top: 1rem;
  border: 1px solid var(--fc-accent-line);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  transition: 0.3s;
}
#cf-footer {
  margin: 1rem 0;
  text-align: right;
  font-size: 13px;
}
.cf-data-lastupdated {
  font-size: 13px;
  text-align: right;
  display: block;
  color: var(--anzhiyu-secondtext);
}
.cf-data-lastupdated {
  font-size: 13px;
  text-align: right;
  display: block;
  color: var(--anzhiyu-secondtext);
}
#cf-more:hover {
  width: min(100%, 360px);
  background: var(--fc-accent-soft);
  color: var(--anzhiyu-fontcolor);
  border-color: var(--fc-accent);
  box-shadow: 0 8px 22px var(--fc-accent-line);
}
#cf-more:disabled {
  cursor: default;
  opacity: 0.7;
  box-shadow: none;
}
#cf-more:disabled:hover {
  border-color: var(--fc-accent-line);
  background: var(--anzhiyu-card-bg);
}
.cf-profile-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: var(--anzhiyu-fontcolor);
  background: var(--anzhiyu-card-bg);
}

/* 点击头像弹窗样式 */
#cf-overlay.cf-show-now {
  left: 0;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
#cf-overlay {
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.1s ease;
  z-index: 998;
}

#cf-overshow.cf-show-now {
  bottom: 0;
  transition: 0.3s;
}

#cf-overshow {
  bottom: 100%;
  left: 0;
  transition: all 0.3s ease;
  z-index: 999;
  transition: 0.3s;
}
#cf-overlay,
#cf-overshow {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cf-overshow .cf-overshow-close {
  position: sticky;
  display: block;
  width: 100%;
  height: 100%;
}
.cf-overshow {
  text-align: center;
  border-radius: 20px;
  position: absolute;
  width: 320px;
  min-height: 170px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 40px rgb(0 0 0 / 9%);
  background: linear-gradient(135deg, #ffd7f0, #e4b5ea);
}
[data-theme="dark"] #cf-overlay {
  background-color: rgba(16, 13, 21, 0.6);
}

.cf-overshow .cf-overshow-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cf-overshow img.cf-img-avatar {
  background: #fff;
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  margin: 15px auto 0 !important;
  box-shadow: 0 12px 40px rgb(0 0 0 / 9%);
  transform: rotate(-360deg);
  transition: 0.8s;
  display: inline !important;
}
.cf-overshow .cf-overshow-head a {
  color: #432743 !important;
  display: block;
  text-align: center;
  font-weight: 700;
  margin-top: -5px;
  padding: 5px 8px 5px;
  text-decoration: none;
}
.cf-overshow .cf-overshow-content {
  padding: 10px 15px 10px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: var(--anzhiyu-card-bg);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  overflow: scroll;
}
.cf-overshow .cf-overshow-content .cf-article-title {
  margin: 0;
}

#article-container #cf-overshow.cf-show-now p a.cf-article-title {
  text-decoration: none !important;
  display: block;
  text-align: justify;
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: normal;
  max-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--anzhiyu-fontcolor);
}

#article-container #cf-overshow.cf-show-now p a.cf-article-title:hover,
#page .fcircle_page #fcircleContainer .cf-article a.cf-article-title:hover,
#page #article-container .fcircle_page .title-h2-a-right a.random-post-all:hover,
#page #article-container .fcircle_page .title-h2-a-left a.random-post-start:hover {
  background: none;
  box-shadow: none;
  color: var(--anzhiyu-theme);
}

.cf-overshow p span {
  color: var(--anzhiyu-fontcolor);
  opacity: 0.4;
}

.cf-overshow p span {
  z-index: 1;
  font-size: 12px;
  margin-left: auto;
}
.cf-overshow p {
  margin: 0.3rem 5px !important;
  position: relative;
  display: flex;
  flex-direction: column;
}
#cf-overlay,
#cf-overshow {
  transition: 0.3s;
}
.cf-overshow p a:hover {
  color: var(--anzhiyu-lighttext) !important;
}

.title-h2-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.title-h2-a-left {
  display: flex;
  align-items: center;
}
.title-h2-a-left h2 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.title-h2-a a {
  margin-left: 0.5rem;
  color: var(--anzhiyu-secondtext);
  font-weight: 700;
}
#random-post {
  min-height: 32px;
  background: var(--card-bg);
  border: var(--style-border-always);
  box-shadow: var(--anzhiyu-shadow-border);
  padding: 20px 30px;
  border-radius: 12px;
  margin-top: 8px;
}
#random-post .random-friends-post {
  text-decoration: none;
  border-bottom: 2px solid var(--anzhiyu-lighttext) !important;
  color: var(--anzhiyu-fontcolor);
  font-weight: 700;
  padding: 0 4px;
}

#random-post .random-friends-post:hover {
  text-decoration: none;
  border-bottom: 2px solid var(--anzhiyu-none) !important;
  color: var(--anzhiyu-white) !important;
  background: var(--anzhiyu-main) !important;
  border-radius: 4px;
  box-shadow: var(--anzhiyu-shadow-main);
}
#article-container .title-h2-a a:hover {
  color: var(--anzhiyu-hovertext) !important;
}

.fcircle_page .author-content-item .card-content .banner-button-group .banner-button:hover {
  background: var(--anzhiyu-main) !important;
  color: var(--anzhiyu-white) !important;
  border-radius: 20px !important;
}

@media screen and (max-width: 768px) {
  #cf-state {
    padding: 0.9rem;
  }
  .cf-state-data {
    width: 100%;
    justify-content: space-between;
  }
  .cf-state-actions {
    width: 100%;
  }
  .cf-article {
    box-shadow: none !important;
    width: 100%;
  }
  #page .fcircle_page .author-content-item .card-content .banner-button-group .banner-button {
    background-color: transparent;
  }
  #page .fcircle_page .author-content-item .card-content .banner-button-group .banner-button .banner-button-text {
    display: none;
  }
  .fcircle_page .author-content-item .card-content .banner-button-group .banner-button i {
    font-size: 1.5rem;
    background: white;
    border-radius: 50%;
    padding: 6px;
    margin-left: 80px;
  }
}

.fcircle_page-page-background#web_bg {
  background: var(--anzhiyu-background) !important;
}
[data-theme="dark"] .fcircle_page-page-background#web_bg {
  background: var(--global-bg) !important;
}
[data-theme="light"] .page:has(.fcircle_page) #footer #footer-wrap,
[data-theme="light"] .page:has(.fcircle_page) #footer #footer-wrap a {
  color: var(--font-color);
}
.fcircle_page .author-content.author-content-item.fcirclePage {
  position: relative;
  border-radius: 15px;
}
.fcircle_page .author-content-item .card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
}
.fcircle_page .author-content-item .author-content-item-tips {
  opacity: 0.8;
  font-size: 0.6rem;
  margin-bottom: 0.5rem;
}
.fcircle_page .author-content-item .card-content .author-content-item-title {
  margin-bottom: 0.5rem;
}
.fcircle_page .author-content-item .author-content-item-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.fcircle_page .author-content-item .content-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fcircle_page .author-content-item .card-content .banner-button-group {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
}
.fcircle_page .author-content-item .card-content .banner-button-group .banner-button {
  height: 40px;
  width: 124px;
  border-radius: 20px;
  justify-content: center;
  background: var(--anzhiyu-card-bg);
  color: var(--font-color);
  display: flex;
  align-items: center;
  z-index: 1;
  transition: 0.3s;
  cursor: pointer;
  border-bottom: 0 !important;
}
.fcircle_page .author-content-item .card-content .banner-button-group .banner-button i {
  margin-right: 8px;
  font-size: 1rem;
}

.fcircle_page b,
.fcircle_page strong {
  color: var(--anzhiyu-lighttext);
}
