/* 背景透明度 */
:root {
  --trans-light: rgba(255,255,255,0.8);
  --trans-dark: rgba(25,25,25,0.8);
}
/* 首页文章卡片 */
#recent-posts>.recent-post-item {
  background: var(--trans-light);
}
/* 首页侧栏卡片 */
#aside-content .card-widget {
  background: var(--trans-light);
}
/* 文章页、归档页、普通页面 */
div#post,
div#page,
div#archive {
  background: var(--trans-light);
}
/* 导航栏 */
#page-header.nav-fixed #nav {
  background: rgba(255,255,255,0.88);
}
[data-theme="dark"] #page-header.nav-fixed #nav {
  background: rgba(0,0,0,0.7) !important;
}
/* 夜间模式遮罩 */
[data-theme="dark"] #recent-posts>.recent-post-item,
[data-theme="dark"] #aside-content .card-widget,
[data-theme="dark"] div#post,
[data-theme="dark"] div#archive,
[data-theme="dark"] div#page {
  background: var(--trans-dark);
}
/* 阅读模式 */
.read-mode #aside-content .card-widget {
  background: rgba(249,245,233,0.9) !important;
}
.read-mode div#post {
  background: rgba(249,245,233,0.9) !important;
}
/* 夜间模式下的阅读模式 */
[data-theme="dark"] .read-mode #aside-content .card-widget {
  background: rgba(25,25,25,0.9) !important;
  color: #fff;
}
[data-theme="dark"] .read-mode div#post {
  background: rgba(25,25,25,0.9) !important;
  color: #fff;
}
/*https://codepen.io/poojanahelia/pen/Exabvdy*/
#footer {
  background-color: rgba(0,0,0,0); /* 修改透明色 */
  color: #fff;
  padding: 0;
}
#footer .footer-other {
  padding: 0;
}
.footer-copyright {
  padding: 0;
}
.my-footer-logo {
  color: #fff;
}
.my-footer-wave-svg {
  height: 50px;
  width: 100%;
  transform: scale(-1, -1) translateY(-10px); /*;*/
}
.my-footer-wave-path {
  fill: #177ecd;
}
.my-footer-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 1230px;
  padding: 40px 15px 450px;
  position: relative;
}
.my-footer-content-column {
  box-sizing: border-box;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  color: #fff;
}
.my-footer-content-column ul li a {
  color: #fff;
  text-decoration: none;
}
.my-footer-logo-link {
  display: inline-block;
}
.my-footer-menu {
  margin-top: 15px;
}
.my-footer-menu-name {
  color: #fffff2;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 18px;
  margin-bottom: 0;
  margin-top: 0;
  text-transform: uppercase;
}
.my-footer-menu-list {
  list-style: none;
  margin-bottom: 0;
  margin-top: 10px;
  padding-left: 0;
}
.my-footer-menu-list li {
  margin-top: 5px;
}
.my-footer-call-to-action-description {
  color: #fffff2;
  margin-top: 10px;
  margin-bottom: 20px;
}
.my-footer-call-to-action-button:hover {
  background-color: #fffff2;
  color: #00bef0;
}
.button:last-of-type {
  margin-right: 0;
}
.my-footer-call-to-action-button {
  background-color: #03708c;
  border-radius: 21px;
  color: #fffff2;
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 18px;
  padding: 12px 30px;
  margin: 0 10px 10px 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
  cursor: pointer;
  position: relative;
}
.my-footer-call-to-action {
  margin-top: 17px;
}
.my-footer-call-to-action-title {
  color: #fffff2;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 18px;
  margin-bottom: 0;
  margin-top: 0;
  text-transform: uppercase;
}
.my-footer-call-to-action-link-wrapper {
  margin-bottom: 0;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
}
.my-footer-call-to-action-link-wrapper a {
  color: #fff;
  text-decoration: none;
}
.my-footer-social-links {
  bottom: -1px;
  height: 54px;
  position: absolute;
  right: 0;
  width: 236px;
}
.my-footer-social-amoeba-svg {
  height: 54px;
  left: 0;
  display: block;
  position: absolute;
  top: 0;
  width: 236px;
}
.my-footer-social-amoeba-path {
  fill: #03708c;
}
.my-footer-social-link.email {
  height: 41px;
  left: 5px;
  top: 14px;
  width: 41px;
}
.my-footer-social-link {
  display: block;
  padding: 10px;
  position: absolute;
}
.hidden-link-text {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  top: 50%;
}
.my-footer-social-icon-svg {
  display: block;
}
.my-footer-social-icon-path {
  fill: #fffff2;
  transition: fill 0.2s;
}
.my-footer-social-link.follow {
  height: 42px;
  left: 124px;
  top: 13px;
  width: 42px;
}
.my-footer-social-link.rss {
  height: 43px;
  left: 178px;
  top: 10px;
  width: 43px;
}
.my-footer-social-link.github {
  height: 62px;
  left: 54px;
  top: -4px;
  width: 62px;
}
.my-footer-copyright {
  background-color: #03708c;
  color: #fff;
  padding: 15px 30px;
  text-align: center;
}
.my-footer-copyright-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}
.my-footer-copyright-text {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 0;
  margin-top: 0;
}
.my-footer-copyright-link {
  color: #fff;
  text-decoration: none;
}
.my-footer-content-div {
  background: #177ecd;
}
.my-footer-svg-div {
  width: 100%;
  max-height: 200px;
  margin-bottom: -2px;
}
/* Media Query For different screens */
@media (min-width: 320px) and (max-width: 479px) {
  .my-footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 649px;
    position: relative;
  }
  .my-footer-logo {
    display: none;
  }
}
@media (min-width: 480px) and (max-width: 599px) {
  .my-footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 738px;
    position: relative;
  }
  .my-footer-logo {
    padding-left: 177px; /* Qlogo 稍微偏移一点 */
    padding-right: 170px;
  }
}
@media (min-width: 600px) and (max-width: 800px) {
  .my-footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 758px;
    position: relative;
  }
}
@media (min-width: 760px) {
  .my-footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 10px 15px 237px;
    position: relative;
  }
  .my-footer-content-column {
/*五列的话 19.99 %*/
    width: 24.99%;
  }
}
@media (min-width: 600px) and (max-width: 760px) {
  .my-footer-logo {
    padding-left: 212px; /* Qlogo 稍微偏移一点 */
    padding-right: 204px;
  }
}
/* 文章外链卡片 */
:root {
  --tag-link-bg-color: #eee;
  --tag-link-text-color: #000;
  --tag-link-border-color: #fff;
  --tag-link-hover-bg-color: #d5f6ff;
  --tag-link-hover-border-color: #ebebeb;
  --tag-link-tips-border-color: #c2c2c2;
  --tag-link-sitename-color: #909090;
  --tag-link-hover-sitename-color: #000;
  --tag-link-card-backgroud: #fff;
  --tag-link-card-icon-color: #363636;
}
[data-theme=dark] {
  --tag-link-bg-color: #282828;
  --tag-link-text-color: #ccc;
  --tag-link-border-color: #000;
  --tag-link-hover-bg-color: #414141;
  --tag-link-hover-border-color: #545454;
  --tag-link-tips-border-color: #5d5d5d;
  --tag-link-sitename-color: #909090;
  --tag-link-hover-sitename-color: #fff;
  --tag-link-card-backgroud: #727272;
  --tag-link-card-icon-color: #e9e9e9;
}
#article-container .tag-link {
  background: var(--tag-link-bg-color);
  border-radius: 12px !important;
  display: flex;
  border: 1px solid var(--tag-link-border-color);
  flex-direction: column;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  text-decoration: none !important;
  color: var(--tag-link-text-color);
  margin-bottom: 10px;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#article-container .tag-link:hover {
  border-color: var(--tag-link-hover-border-color);
  background-color: var(--tag-link-hover-bg-color);
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
#article-container .tag-link .tag-link-tips {
  color: var(--tag-link-text-color);
  border-bottom: 1px solid var(--tag-link-tips-border-color);
  padding-bottom: 4px;
  font-size: 0.6rem;
  font-weight: normal;
}
#article-container .tag-link .tag-link-bottom {
  display: flex;
  margin-top: 0.5rem;
  align-items: center;
  justify-content: space-around;
}
#article-container .tag-link .tag-link-bottom .tag-link-left {
  width: 50px;
  min-width: 50px;
  height: 50px;
  background-size: cover !important;
  border-radius: 8px;
  background: var(--tag-link-card-backgroud);
  pointer-events: none;
  display: flex;
}
#article-container .tag-link .tag-link-bottom .tag-link-left i {
  padding: 0;
  margin: auto;
  font-size: 24px;
  color: var(--tag-link-card-icon-color);
}
#article-container .tag-link .tag-link-bottom .tag-link-right {
  margin-left: 1rem;
}
#article-container .tag-link .tag-link-bottom .tag-link-right .tag-link-title {
  font-size: 1rem;
  line-height: 1.2;
}
#article-container .tag-link .tag-link-bottom .tag-link-right .tag-link-sitename {
  font-size: 0.7rem;
  color: var(--tag-link-sitename-color);
  font-weight: normal;
  margin-top: 4px;
  transition: color 0.3s;
}
#article-container .tag-link .tag-link-bottom .tag-link-right:hover .tag-link-sitename {
  color: var(--tag-link-hover-sitename-color);
}
#article-container .tag-link .tag-link-bottom i {
  margin-left: auto;
}
/* 页面渐变切换 */
/* 默认（白天模式） */
body {
  background-color: #fff;
  color: #000;
}
[data-theme="dark"] body {
  background-color: #121212;
  color: #fff;
}
.pjax-leave-active {
  opacity: 0;
  background-color: inherit;
/* 使用继承的背景色 */
}
.pjax-enter-active {
  transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 1s ease-in-out, transform 1s ease-in-out;
  opacity: 1;
  background-color: inherit;
/* 使用继承的背景色 */
}
/* 帧率检测 */
#fps {
  position: fixed;
/* 指定位置 */
  left: 10px;
  bottom: 10px;
  z-index: 1919810;
}
[data-theme="light"] #fps {
  background-color: rgba(255,255,255,0.85);
  backdrop-filter: var(--backdrop-filter);
  padding: 4px;
  border-radius: 4px;
}
[data-theme="dark"] #fps {
  background-color: rgba(0,0,0,0.72);
  backdrop-filter: var(--backdrop-filter);
  padding: 4px;
  border-radius: 4px;
}
/* 页脚底部图片对齐文字 */
.my-footer-copyright-text img {
  vertical-align: middle; /* 关键：中线对齐 */
  margin: 0 2px; /* 徽章左右留点空隙，可删 */
}
.my-footer-copyright-text {
  line-height: 1.4; /* 让整行高度一致，可选 */
}
/* 版权样式调整 */
:root {
  --daliyuer-card-bg: #fff;
}
[data-theme='dark'] {
  --daliyuer-card-bg: #1b1c20;
}
/* 整个标题块水平居中 */
.post-header {
  text-align: center;
}
/* 让 meta 里的各个 inline 元素也居中 */
.post-meta {
  justify-content: center; /* flex 布局时 */
/* 或者 */
  text-align: center; /* 非 flex 时 */
}
