:root {
  --theme-color-pri: #8183ff;
  --theme-color-sub: #67c3d3;
  --theme-color-op70: #8183ffb3;
  --theme-color-op50: #8183ff80;
  --theme-color-op30: #8183ff4d;
  --theme-color-op20: #8183ff33;
  --theme-color-op15: #8183ff26;
  --theme-color-op10: #8183ff1a;
  --theme-color-op05: #8183ff0d;
  --html: #fff;
  --container: #fafafa;
  --header: rgba(255, 255, 255, .7);
  --header-m: #fff;
  --border-header: #f5f5f5;
  --border-menu: #f3f3f4;
  --border-box: #f2f2f2;
  --border-pagination: #fff;
  --border-hr: rgba(0, 0, 0, .1);
  --border-table: #e2e2e2;
  --border-copyright: #e5e7eb;
  --bgc-box: #fff;
  --bgc-single: var(--html);
  --bgc-footer: #f5f5f5;
  --bgc-search-m: #f5f5f5;
  --bgc-menu: #fff;
  --bgc-comment-bubble: #fff;
  --text: #000;
  --text-menu: #333;
  --text-menu-hover: #777;
  --text-excerpt: #999;
  --text-footer: #999;
  --text-cc: #333;
  --text-cc-logo: #e5e5e5;
  --text-svg: #666;
  --text-quote: #52525b;
  --header-height: 60px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", 
                "Segoe UI Emoji", "Segoe UI Symbol";
}

[data-theme-mode = dark] {
  /* color-scheme: dark; */
  --html: #0e0e0e;
  --container: var(--html);
  --header: rgba(23, 23, 23, 0.7);
  --header-m: #171717;
  --border-header: #262626;
  --border-menu: var(--border-header);
  --border-box: var(--border-header);
  --border-pagination: var(--border-header);
  --border-hr: rgba(255, 255, 255, .1);
  --border-table: #333;
  --border-copyright: var(--border-header);
  --bgc-box: #171717;
  --bgc-single: var(--html);
  --bgc-footer: #151515;
  --bgc-search-m: #333;
  --bgc-menu: #151515;
  --bgc-comment-bubble: #232323;
  --text: #fff;
  --text-menu: var(--text);
  --text-menu-hover: #ccc;
  --text-excerpt: #ccc;
  --text-footer: #999;
  --text-cc: #ddd;
  --text-cc-logo: #232323;
  --text-svg: #999;
  --text-quote: #ccc;
}

/* transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1); */

::-moz-selection {
  background-color: var(--theme-color-pri);
  color: #fff;
}
::-webkit-selection {
  background-color: var(--theme-color-pri);
  color: #fff;
}
::selection {
  background-color: var(--theme-color-pri);
  color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0 0 0 / 0);
}

html {
  scroll-padding-top: 110px;
  /* scroll-behavior: smooth; */
  -webkit-text-size-adjust: none;
  font-family: Overpass,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  line-height: 1.4;
  background-color: var(--html);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

html.sr .header-reveal,
html.sr .banner-reveal,
html.sr .main-reveal,
html.sr .text-reveal,
html.sr .img-reveal,
html.sr .homeimg-reveal {
  visibility: hidden;
}

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--container);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  z-index: 1;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--theme-color-op05), transparent);
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  vertical-align: middle;
  user-select: none;
}

.icon {
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

main .socialize li.gitee a {
  background: linear-gradient(45deg, #D90013, #d90013cc);
}
main .socialize li.fb a {
  background: linear-gradient(45deg, #0068FF, #1673ffcc);
}
main .socialize li.twitch a {
  background: linear-gradient(45deg, #5C23B0, #5C23B0cc);
}
main .socialize li.link a {
  background: linear-gradient(45deg, var(--theme-color-pri), var(--theme-color-op70));
}
main .socialize li.in a {
  background: linear-gradient(45deg, #0C66BF, #0C66BFcc);
}
main .socialize li.ins a {
  background: linear-gradient(45deg, #FFB601, #FB00B7);
}
main .socialize li.bili-b a {
  background: linear-gradient(45deg, #01A3D9, #01A3D9cc);
}
main .socialize li.bili a {
  background: linear-gradient(45deg, #FF6699, #FF6699cc);
}
main .socialize li.github a {
  background: linear-gradient(45deg, #1F2328, #1F2328cc);
}
main .socialize li.tg a {
  background: linear-gradient(45deg, #1D96C8, #1D96C8cc);
}
main .socialize li.qq a {
  background: linear-gradient(45deg, #0099FF, #0099FFcc);
}
main .socialize li.twitter a {
  background: linear-gradient(45deg, #1D9BF0, #1D9BF0cc);
}
main .socialize li.zhihu a {
  background: linear-gradient(45deg, #0066FF, #0066FFcc);
}
main .socialize li.mess a {
  background: linear-gradient(45deg, #118FF3, #6B55FF, #BF3DD3, #E94BA0, #F56F63);
}
main .socialize li.yb a {
  background: linear-gradient(45deg, #FF0000, #FF0000cc);
}
main .socialize li.dribbble a {
  background: linear-gradient(45deg, #EF4F8E, #EF4F8Ecc);
}
main .socialize li.wechat a {
  background: linear-gradient(45deg, #1AAD19, #1AAD19cc);
}
main .socialize li.email a {
  background: linear-gradient(45deg, #e1b531, #e1b531cc);
}
main .socialize li.douban a {
  background: linear-gradient(45deg, #007711, #007711cc);
}
main .socialize li.netease a {
  background: linear-gradient(45deg, #D81E06, #D81E06cc);
}
main .socialize li.tieba a {
  background: linear-gradient(45deg, #2482FD, #2482FDcc);
}
main .socialize li.weibo a {
  background: linear-gradient(45deg, #D52C2B, #D52C2Bcc);
}
main .socialize li.redbook a {
  background: linear-gradient(45deg, #FF0000, #FF0000cc);
}
main .socialize li.jianshu a {
  background: linear-gradient(45deg, #F1412A, #F1412Acc);
}
main .socialize li.kuaishou a {
  background: linear-gradient(45deg, #FF4906, #FF4906cc);
}
main .socialize li.douyin a {
  background: linear-gradient(45deg, #111111, #111111cc);
}


/* hader */
header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--header);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              backdrop-filter .4s cubic-bezier(0.345, 0.045, 0.345, 1);       
}

main.active header {
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  background-color: transparent;
}

header .navbar {
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--border-header);
  transition: all .3s,
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main.active header .navbar {
  border-bottom: 1px solid transparent;
}

header nav {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

header nav.active .nav-menu,
header nav.active .nav-title span {
  transform: translateY(-100%);
}

header .nav-menu,
header .nav-title span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all .3s;
}

header .nav-menu {
  opacity: 1;
  justify-content: space-between;
}

header .nav-title {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  visibility: hidden;
}

header .nav-title span {
  justify-content: center;
  position: relative;
  top: 100%;
  opacity: 0;
}

header nav.active .nav-menu {
  opacity: 0;
}

header nav.active .nav-title {
  visibility: visible;
}

header nav.active .nav-title span {
  opacity: 1;
}

header nav .title {
  transition: opacity .2s;
}

header nav .title a {
  /* font-size: 18px; */
  display: inline-block;
  padding: 5px 0;
  font-weight: 700;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

header .nav-title span h2 {
  display: inline-block;
  min-width: 150px;
  position: relative;
  cursor: pointer;
  padding: 8px 10px;
  font-size: 15px;
}

header .nav-title span h2 p {
  color: var(--text-menu);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: opacity .1s, color .1s;
}

header .nav-title span h2 p.active {
  opacity: 0;
}

header .nav-title span h2 .backtop {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color-pri);
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  border-radius: 999px;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s;
}

/* header .nav-title span h2 .backtop.active {
  opacity: 1;
} */

header nav.active .nav-title h2:hover div {
  opacity: 1;
}

header .nav-menu .left,
header .nav-menu .right {
  display: flex;
  align-items: center;
}

header .nav-menu .menu-group {
  padding-left: 50px;
}

header .nav-menu .menu {
  display: flex;
  position: relative;
}

header .nav-menu .menu a {
  color: var(--text-menu);
  font-size: 15px;
  display: block;
  cursor: pointer;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
header .nav-menu .menu a:hover {
  color: var(--theme-color-pri);
}

header .nav-menu .menu > li {
  margin-right: 20px;
  position: relative;
  /* padding: 10px 0; */
}

header .nav-menu .menu > li.menu-item-has-children > a::after {
  content: '\e60b';
  font-family: 'iconfont';
  margin-left: 4px;
}

header .nav-menu .menu > li > a {
  padding: 10px 0;
}

header .nav-menu .menu > li:last-child {
  margin-right: 0;
}

header .nav-menu .menu > li > ul {
  position: absolute;
  left: -25px;
  top: 100%;
  padding: 10px 0;
  background-color: var(--bgc-menu);
  border-radius: 10px;
  border: 1px solid var(--border-menu);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity 0.2s ease-in-out 0.05s,
              visibility 0.2s ease-in-out 0.05s,transform 0.3s  0.45s,
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s;

}

header .nav-menu .menu > li:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity 0.2s ease-in-out 0.05s,visibility 0.2s ease-in-out 0.05s,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

header .nav-menu .menu > li:hover > a,
header .nav-menu .menu .current-menu-item > a {
  color: var(--theme-color-pri);
}

/* header .nav-menu .menu > li > ul .current-menu-item > a {
  background-color: var(--theme-color-op10);
} */

header .nav-menu .menu > li > ul > li {
  /* padding-right: 30px; */
  white-space: nowrap;
  transition: background-color .3s;
}

header .nav-menu .menu > li > ul > li:hover {
  background-color: var(--theme-color-op10);
}

header .nav-menu .menu > li > ul > li a {
  padding: 6px 40px 6px 25px;
  color: var(--text-menu-hover);
  /* margin: 5px 0; */
  transition: all .3s;
}

header .nav-menu .menu > li > ul > li:hover a {
  color: var(--theme-color-pri);
  transform: translateX(5px);
  /* padding-left: 30px; */
  /* padding-right: 30px; */
  /* padding-right: calc(30px - 5px); */
  /* transform: translateX(5px); */
  
}

header .nav-menu .menu > li > .sub-menu .sub-menu {
  display: none;
}


header .right > * svg {
  font-size: 20px;
  color: var(--text-menu);
  transition: all .3s;
}
header .right > *:hover svg {
  color: var(--theme-color-pri);
}


header .menu-btn {
  display: none;
}


/* searchform.php */
header .search-m {
  display: none;
  margin-bottom: 12px;
}

header .search-m form {
  width: 100%;
  height: auto;
}

header .search-m input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  font-size: 15px;
  border: 0;
  outline: 0;
  background-color: var(--bgc-search-m);
  color: var(--text);
  border-radius: 10px;
}

header .search-m input::placeholder {
  font-size: 14px;
  color: #999;
}

header .search {
  width: 40px;
  height: 40px;
  position: relative;
  /* border-radius: 999px; */
  /* padding-right: 40px; */
  border-radius: 8px;
  overflow: hidden;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

header .search:hover {
  /* background-color: #f5f5f5; */
}

header .search.active {
  width: 240px;
  border-radius: 30px;
  /* background-color: #f5f5f5; */
}

header .search input {
  position: relative;
  right: 0;
  outline: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  /* background-color: transparent; */
  background-color: var(--theme-color-op10);
  padding: 0 40px 0 20px;
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: var(--text-menu);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

header .search.active input {
  opacity: 1;
  visibility: visible;
  border-radius: 30px;
}

header .search button {
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all .3s;
}

header .search button:hover {
  background-color: var(--theme-color-op20);
}

header .search.active button {
  background-color: transparent;
  border-radius: 30px;
}

header .search.active button svg {
  color: var(--theme-color-pri);
}

header .nav-menu .right > *:not(:first-child) {
  margin-left: 10px;
}

header .nav-menu .user {
  position: relative;
}

header .nav-menu .user .box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  /* border-radius: 50%; */
  border-radius: 8px;
  overflow: hidden;
  /* border: 2px solid #fff; */
  /* box-shadow: 0 0 20px 1px rgb(0 0 0 / .05); */
  cursor: pointer;
  user-select: none;
  transition: all .3s;
}

header .nav-menu .user.active svg {
  /* border-radius: 50%; */
  color: var(--theme-color-pri);
}

header .nav-menu .user .box:hover {
  background-color: var(--theme-color-op20);
}

header .nav-menu .user .info {
  position: absolute;
  top: 100%;
  /* left: 50%; */
  left: calc(100% - 200px);
  width: 200px;
  padding: 10px;
  margin-top: 6px;
  background-color: var(--bgc-box);
  border-radius: 12px;
  border: 1px solid var(--border-menu);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1), 
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity 0.2s ease-in-out 0.05s, 
              visibility 0.2s ease-in-out 0.05s, 
              transform 0.3s 0.45s, 
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s;
}

header .nav-menu .user.active .info {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.2s ease-in-out 0.05s, 
              visibility 0.2s ease-in-out 0.05s, 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s, 
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

header .nav-menu .user .info .top {
  display: flex;
  align-items: center;
}

header .nav-menu .user .info .msg {
  padding-left: 10px;
  width: calc(100% - 40px);
}

header .nav-menu .user .info .msg > * {
  
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

header .nav-menu .user .info h2 {
  font-size: 14px;
  color: var(--text-menu);
}

header .nav-menu .user .info p {
  font-size: 12px;
  color: var(--text-menu-hover);
}

header .nav-menu .user .info .avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
}

header .nav-menu .user .info .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header .nav-menu .user .info .content {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
header .nav-menu .user .info .content.logged {
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

header .nav-menu .user .info .content a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--theme-color-pri);
  background: linear-gradient(120deg, var(--theme-color-pri), var(--theme-color-sub));
  color: #fff;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all .3s;
}

header .nav-menu .user .info .content a.setting {
  /* margin-bottom: 5px; */
}

header .nav-menu .user .info .content a.logout {
  color: #D03050;
  background: #D030501A;
  border: 1px solid transparent;
  padding: 5px 0;
}

header .nav-menu .user .info .content a:not(.logout):hover {
  opacity: .8;
}

header .nav-menu .user .info .content a.logout:hover {
  border: 1px solid #D030504d;
}

header .nav-menu .toc-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: all .3s;
}

header .nav-menu .toc-btn:hover {
  background-color: var(--theme-color-op20);
}

header .nav-menu .toc-btn.on svg {
  color: var(--theme-color-pri);
}


/* main */
main {
  width: 100%;
  height: auto;
  padding-top: var(--header-height);
  position: relative;
}

main section {
  width: 100%;
}

main .screen {
  width: 1000px;
  height: auto;
  margin: 0 auto;
  padding: 30px 0;
}

main .screen-title {
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .screen-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  position: absolute;
  left: 0;
  bottom: 5px;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, transparent, var(--theme-color-pri));
  z-index: -1;
}

/* 加载条 */
.load-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--theme-color-pri);
  /* background: linear-gradient(to right, var(--theme-color-op05), var(--theme-color-pri)); */
  z-index: 2001;
  transform: translateX(calc(-100% - 5px));
  pointer-events: none;
}

.load-bar.loading {
  transform: translateX(-20%);
  transition: background-color 1s, transform 5s;
}

.load-bar.loaded {
  transform: translateX(-1px);
  transition: background-color 1s, transform .5s;
}

.load-bar.ready {
  transform: translateY(-5px);
  transition: all 1s;
}

/* 通知类 */
.toast {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-header);
  background-color: var(--header);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  /* background-color: var(--theme-color-op70); */
  transform: translateY(-100%);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              transform .5s,
              color 0s;
}

.toast.active.runing {
  transform: translateY(0);
}

.toast .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background-color: var(--theme-color-op20);
  /* background-color: var(--theme-color-pri); */
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  z-index: 1;
}

.toast.active .mask {
  animation: toRight 4s ease-in-out forwards;
}

.toast .msg {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  z-index: 2;
}


/* 提示类 */
main .notice.primary,
main .notice.success,
main .notice.danger,
main .notice.warning,
main .notice.info {
  width: 100%;
  font-size: 16px;
  padding: 20px 25px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
}

main .notice.primary {
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op15);
}
main .notice.success {
  color: #18A058;
  background-color: #18a05826;
}
main .notice.danger {
  color: #D03050;
  background-color: #D0305026;
}
main .notice.warning {
  color: #ff9500;
  background-color: #ff950026;
}
main .notice.info {
  color: #2080F0;
  background-color: #2080F026;
}

main .notice.primary svg,
main .notice.success svg,
main .notice.danger svg,
main .notice.warning svg,
main .notice.info svg {
  width: 20px;
  height: 20px;
  font-size: 20px;
  margin-right: 10px;
}

main .notice.primary p,
main .notice.success p,
main .notice.danger p,
main .notice.warning p,
main .notice.info p {
  width: calc(100% - 30px);
  /* word-break: break-all; */
  word-wrap: break-word;
  white-space: pre-line;
}

/* 弹窗 */
.notice-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0 0 0 / .5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  animation: popupFadeIn .5s ease .5s forwards;
  z-index: 1001;
}
.notice-popup.close {
  opacity: 1;
  visibility: visible;
  animation: popupFadeOut .3s ease .2s forwards;
}
.notice-popup .popup-content {
  position: relative;
  background-color: var(--bgc-box);
  border-radius: 15px;
  border: 1px solid var(--border-box);
  width: 100%;
  max-width: 500px;
  max-height: 70%;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(.95);
  opacity: 0;
  visibility: hidden;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1), transform .3s;
  animation: popupScaleIn .3s ease .5s forwards;
}
.notice-popup.close .popup-content {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  animation: popupScaleOut .3s ease forwards;
}
.notice-popup .popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--theme-color-op05), transparent);
  z-index: 1;
}
.notice-popup .popup-header {
  position: relative;
  padding: 20px;
  /* border-bottom: 1px solid #f2f2f2; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.notice-popup .popup-header h3 {
  font-size: 16px;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
.notice-popup .popup-header button {
  border: 0;
  outline: 0;
  background-color: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-excerpt);
  cursor: pointer;
  transition: background-color .2s,
              color .2s;
}
.notice-popup .popup-header button:hover {
  background-color: var(--theme-color-op20);
  color: var(--theme-color-pri);
}
.notice-popup .popup-body {
  padding: 0 20px;
  overflow-y: auto;
  flex-grow: 1;
  z-index: 2;
}
.notice-popup .popup-body::-webkit-scrollbar {
  width: 6px;
}
.notice-popup .popup-body:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op30);
  border-radius: 5px;
}
.notice-popup .popup-body p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-line;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

.notice-popup .popup-footer {
  font-size: 0;
  padding: 20px;
  text-align: right;
  z-index: 2;
}
.notice-popup .popup-footer button {
  font-size: 14px;
  padding: 5px 12px;
  border: 0;
  outline: 0;
  border-radius: 6px;
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op20);
  cursor: pointer;
  transition: background-color .2s,
              color .2s;
}
.notice-popup .popup-footer button:not(:last-child) {
  margin-right: 10px;
}
.notice-popup .popup-footer button.popup-prevent {
  background-color: transparent;
}
.notice-popup .popup-footer button:hover {
  background-color: var(--theme-color-pri);
  color: #fff;
}

/* 简码-tip */
main .shortcode-tip {
  padding: 16px;
  border-radius: 10px;
}

main .shortcode-tip span {
  font-size: 14px !important;
}

main .shortcode-tip p {
  margin: 8px 0 0 0 !important;
  font-size: 14px !important;
  line-height: 1.4rem !important;
}

/* tip */
main .shortcode-tip.info {
  border: 1px solid #2080F080;
  background-color: #2080f00d;
}
main .shortcode-tip.info svg,
main .shortcode-tip.info span,
main .shortcode-tip.info a {
  color: #2080F0 !important;
}
main .shortcode-tip.info a::after {
  background-color: #2080F0 !important;
}

/* warning */
main .shortcode-tip.warning {
  border: 1px solid #ff950080;
  background-color: #ff95000d;
}
main .shortcode-tip.warning svg,
main .shortcode-tip.warning span,
main .shortcode-tip.warning a {
  color: #ff9500 !important;
}
main .shortcode-tip.warning a::after {
  background-color: #ff9500 !important;
}

/* success */
main .shortcode-tip.success {
  border: 1px solid #18A05880;
  background-color: #18A0580d;
}
main .shortcode-tip.success svg,
main .shortcode-tip.success span,
main .shortcode-tip.success a {
  color: #18A058 !important;
}
main .shortcode-tip.success a::after {
  background-color: #18A058 !important;
}

/* danger */
main .shortcode-tip.danger {
  border: 1px solid #D0305080;
  background-color: #D030500d;
}
main .shortcode-tip.danger svg,
main .shortcode-tip.danger span,
main .shortcode-tip.danger a {
  color: #D03050 !important;
}
main .shortcode-tip.danger a::after {
  background-color: #D03050 !important;
}


/* index.php */

/* home1-banner */
main .home1-bannar {
  width: 100%;
  height: 100vh;
  margin-bottom: 30px;
}
main .home1-bannar .screen {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  margin-top: calc(-1 * var(--header-height));
  padding: 0;
  overflow: hidden;
}

main .home1-bannar .screen .imgbox {
  width: 100%;
  height: 100%;
  position: relative;
  transform: scale(1.4);
  opacity: 0;
  visibility: hidden;
}

main .home1-bannar .screen .imgbox.loaded {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  transition: all, opacity 1.8s cubic-bezier(0.5, 0, 0, 1), 
              transform 1.8s cubic-bezier(0.5, 0, 0, 1);
}

main .home1-bannar .screen .imgbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  min-height: 60px;
  background: linear-gradient(to bottom, var(--html), #00000000);
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

main .home1-bannar .screen .imgbox::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .2);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

main .home1-bannar .screen .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

main .home1-bannar .screen .imgbox .nav-news {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 15% var(--header-height) 15%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

main .home1-bannar .screen .imgbox .nav-news .text {
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

main .home1-bannar .screen .imgbox .nav-news .text > h1 {
  font-size: 72px;
  line-height: 1.2em;
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1.5s cubic-bezier(0.5, 0, 0, 1) 1s,
              opacity 2s cubic-bezier(0.5, 0, 0, 1) 1s,
              visibility 2s cubic-bezier(0.5, 0, 0, 1) 1s;
}

main .home1-bannar .screen .imgbox.loaded .nav-news .text > h1 {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

main .home1-bannar .screen .imgbox .nav-news .text > p {
  font-size: 28px;
  /* font-family: -apple-system, Arial, sans-serif; */
  /* letter-spacing: normal; */
  padding-top: 20px;
  line-height: 1.2em;
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1.5s cubic-bezier(0.5, 0, 0, 1) 1.1s,
              opacity 2s cubic-bezier(0.5, 0, 0, 1) 1.1s,
              visibility 2s cubic-bezier(0.5, 0, 0, 1) 1.1s;
}

main .home1-bannar .screen .imgbox.loaded .nav-news .text > p {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

main .home1-bannar .screen .imgbox .nav-news .text span {
  color: #f5c920;
  color: var(--theme-color-pri);
  color: transparent;
  background: linear-gradient(135deg, var(--theme-color-pri), var(--theme-color-sub));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  line-height: inherit;
  font-weight: 700;
  animation: hueRotate 5s ease infinite;
}

main .home1-bannar .screen .preloader {
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: var(--header-height);
}

main .home1-bannar .screen .preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s,
              visibility .3s;
}

.loader {
  width: 48px;
  height: 48px;
  margin: auto;
  position: relative;
}

.loader:before {
  content: '';
  width: 48px;
  height: 5px;
  background: var(--theme-color-op50);
  position: absolute;
  top: 60px;
  left: 0;
  border-radius: 50%;
  animation: shadow324 0.5s linear infinite;
}

.loader:after {
  content: '';
  width: 100%;
  height: 100%;
  background: var(--theme-color-pri);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  animation: jump7456 0.5s linear infinite;
}

@keyframes jump7456 {
  15% {
    border-bottom-right-radius: 3px;
  }

  25% {
    transform: translateY(9px) rotate(22.5deg);
  }

  50% {
    transform: translateY(18px) scale(1, .9) rotate(45deg);
    border-bottom-right-radius: 40px;
  }

  75% {
    transform: translateY(9px) rotate(67.5deg);
  }

  100% {
    transform: translateY(0) rotate(90deg);
  }
}

@keyframes shadow324 {

  0%,
    100% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.2, 1);
  }
}


main .home1-bannar .waves-box {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

main .home1-bannar .waves-box .waves {
  position: relative;
  width: 100%;
  height: 100px;
  margin-bottom: -7px; /*Fix for safari gap*/
}
/* waves animation */
main .home1-bannar .waves-box .parallax > use {
  fill: var(--container);
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
  transition: fill .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-bannar .waves-box .parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  opacity: 0.7;
}
main .home1-bannar .waves-box .parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  opacity: 0.5;
}
main .home1-bannar .waves-box .parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  opacity: 0.3;
}
main .home1-bannar .waves-box .parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

/* main .home1-newest {
  padding-top: 60px;
} */

/* main .home1-newest h2,
main .home1-sticky h2,
main .home1-popular h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest h2::after,
main .home1-sticky h2::after,
main .home1-popular h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  position: absolute;
  left: 0;
  bottom: 5px;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, transparent, var(--theme-color-pri));
  z-index: -1;
} */
main .home1-newest .tab {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding-bottom: 15px;
  overflow: auto;
}
main .home1-newest .tab::-webkit-scrollbar {
  width: 0;
  height: 0;
}
main .home1-newest .tab ul {
  display: flex;
  position: relative;
}
main .home1-newest .tab ul li {
  white-space: nowrap;
  display: block;
  padding: 4px 12px;
  color: var(--text-menu);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .tab ul li:not(:first-child) {
  margin-left: 5px;
}
main .home1-newest .tab ul li:hover {
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op15);
}
main .home1-newest .tab ul li.active {
  color: var(--theme-color-pri);
}
main .home1-newest .tab ul .slider {
  position: absolute;
  top: calc(100% + 5px);
  height: 3px;
  border-radius: 999px;
  background-color: var(--theme-color-pri);
  transition: all .3s;
}
main .home1-newest .content {
  position: relative;
  width: 100%;
  /* overflow: hidden; */
  transition: height .3s;
}
main .home1-newest .content > li {
  width: 100%;
  /* padding: 0 5px; */
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility .3s,
              opacity .3s;
}
main .home1-newest .content > li.active {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  /* animation: .4s cubic-bezier(0.345, 0.045, 0.345, 1) 0s 1 normal none running fade_to_top; */
}

main .home1-newest .content .bloger .warp {
  width: 100%;
}
main .home1-newest .content .bloger .info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
main .home1-newest .content .bloger .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}
main .home1-newest .content .bloger .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
main .home1-newest .content .bloger .n-d {
  width: calc(100% - 100px);
  padding-left: 20px;
}
main .home1-newest .content .bloger .n-d .name {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bloger .n-d .desc {
  font-size: 15px;
  color: #999;
  margin-top: 4px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bloger .socialize > ul {
  display: flex;
  gap: 12px;
  padding-bottom: 5px;
}
main .home1-newest .content .bloger .socialize > ul::-webkit-scrollbar {
  width: 0;
  height: 0;
}
main .home1-newest .content .bloger .socialize a {
  white-space: nowrap;
  display: inline-block;
  height: 55px;
  background-color: #333;
  border-radius: 30px;
  border: 2px solid var(--border-pagination);
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: border-radius .3s,
              transform .3s, 
              box-shadow .3s,
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bloger .socialize a:hover {
  border-radius: 14px;
  transform: scale(1.1);
  box-shadow: 0 5px 20px 1px rgb(0 0 0 / .08);
}
main .home1-newest .content .bloger .socialize li:first-child a {
  padding: 0 10px;
}
main .home1-newest .content .bloger .socialize li:not(:first-child) a {
  min-width: 55px;
}
main .home1-newest .content .bloger .socialize .sub-menu,
main .home1-newest .content .bloger .socialize > ul li:nth-child(n+8) {
  display: none;
}
main .home1-newest .content .bloger .socialize a svg, 
main .home1-newest .content .bloger .socialize a i {
  font-size: 30px;
}
main .home1-newest .content .bloger .socialize a span {
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}
main .home1-newest .content .bloger .socialize li:first-child a span {
  padding-left: 5px;
}

main .home1-newest .content .comment ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
main .home1-newest .content .comment ul li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-header);
  border-radius: 18px;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .comment ul li a:hover {
  border: 1px solid var(--theme-color-pri);
  background-color: var(--theme-color-op10);
}
main .home1-newest .content .comment ul li .avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
}
main .home1-newest .content .comment ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
main .home1-newest .content .comment ul li .info {
  display: flex;
  align-items: center;
}
main .home1-newest .content .comment ul li .info .msg {
  padding-left: 10px;
  width: calc(100% - 50px);
}
main .home1-newest .content .comment ul li .info .msg .name {
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .comment ul li .info .msg .date {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
main .home1-newest .content .comment ul li .text {
  padding: 0 2px;
  margin-top: 10px;
  font-size: 14px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}
main .home1-newest .content .comment ul li .text .at {
  color: var(--theme-color-pri);
}
main .home1-newest .content .comment ul li .text > p {
  display: inline;
  color: var(--text-menu);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .home1-newest .content .moment ul.group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

main .home1-newest .content .moment ul li.item {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-header);
  border-radius: 18px;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item:hover {
  border: 1px solid var(--theme-color-pri);
  
}
main .home1-newest .content .moment ul li.item::before {
  content: '';
  display: block;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, var(--bgc-box) 15px, #00000000);
  z-index: 1;
  pointer-events: none;
}
main .home1-newest .content .moment ul li.item::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item:hover::after {
  background-color: var(--theme-color-op10);
}
main .home1-newest .content .moment ul li.item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
}
main .home1-newest .content .moment ul li.item a .date {
  font-size: 12px;
  color: var(--text-excerpt);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-table);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item a .text {
  max-height: 120px;
  overflow: hidden;
  color: var(--text-menu);
  line-height: 1.4;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item a .text * {
  font-size: 14px;
  word-break: break-all;
  word-wrap: break-word;
}
main .home1-newest .content .moment ul li.item a .text > * {
  margin-bottom: 5px;
}
main .home1-newest .content .moment ul li.item a .text img,
main .home1-newest .content .moment ul li.item a .text video {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
main .home1-newest .content .moment ul li.item a .text video {
  background-color: #000;
}
main .home1-newest .content .moment ul li.item a .text ul li {
  list-style: disc;
}

main .home1-newest .content .moment ul li.item a .text ol li {
  list-style: decimal;
}

main .home1-newest .content .moment ul li.item a .text ul li, 
main .home1-newest .content .moment ul li.item a .text ol li {
  margin-left: 1.25rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}
main .home1-newest .content .moment ul li.item a .text code {
  font-size: 13px;
  border-radius: 4px;
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  padding: 2px 6px;
  font-family: 'PingFang SC','Consolas','Courier New','monospace';
}
main .home1-newest .content .moment ul li.item a .text pre {
  font-size: 13px;
  border-radius: 6px;
  background-color: var(--bgc-footer);
  color: var(--text-menu);
  padding: 10px;
  font-family: 'PingFang SC','Consolas','Courier New','monospace';
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item a .text pre code {
  padding: 0;
  font-size: 13px;
  background-color: transparent;
}
main .home1-newest .content .moment ul li.item a .text .wp-block-quote {
  border-left: 3px solid var(--theme-color-op50);
  padding: 1px 0 1px 10px;
}
main .home1-newest .content .moment ul li.item a .text .wp-block-quote > * {
  margin: 4px 0;
  color: var(--text-quote);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .moment ul li.item a .text .wp-block-quote cite {
  display: inline-block;
  color: #999;
}
main .home1-newest .content .moment ul li.item a .text .wp-block-image figcaption {
  display: none;
}

main .home1-newest .content .post ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
main .home1-newest .content .post ul li {
  width: 100%;
  overflow: hidden;
  padding: 15px;
  border-radius: 18px;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-header);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .post ul li:hover {
  background-color: var(--theme-color-op10);
  border: 1px solid var(--theme-color-pri);
}
main .home1-newest .content .post ul li.item > a {
  display: flex;
}
main .home1-newest .content .post ul li.item > a .cover {
  width: 85px;
  height: 85px;
  border-radius: 10px;
  overflow: hidden;
}
main .home1-newest .content .post ul li.item > a .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
main .home1-newest .content .post ul li.item > a .info {
  width: calc(100% - 85px);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main .home1-newest .content .post ul li.item > a .info .cate {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--theme-color-pri);
  word-break: break-all;
  word-wrap: break-word;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}
main .home1-newest .content .post ul li.item > a .info .cate .url {
  margin-right: 5px;
  color: inherit;
}
main .home1-newest .content .post ul li.item > a .info .cate .url:last-child {
  margin-right: 0;
}
main .home1-newest .content .post ul li.item > a .info .title {
  color: var(--text);
  font-size: 14px;
  /* font-weight: 700; */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .post ul li.item > a .info .date {
  font-size: 13px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .home1-newest .content .bookmark ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
main .home1-newest .content .bookmark ul li {
  width: 100%;
  border-radius: 15px;
  border: 1px solid var(--border-box);
  overflow: hidden;
  background-color: var(--bgc-box);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li:hover {
  border: 1px solid var(--theme-color-pri);
}
main .home1-newest .content .bookmark ul li a {
  position: relative;
  display: flex;
  padding: 15px;
  transition: background .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li:hover a {
  background-color: var(--theme-color-op10);
}
main .home1-newest .content .bookmark ul li .icon {
  position: relative;
  width: 64px;
  height: 64px;
  z-index: 2;
}
main .home1-newest .content .bookmark ul li a p.from {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 10px;
  color: var(--text-excerpt);
  z-index: 2;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
main .home1-newest .content .bookmark ul li a .icon::before {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 2;
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li a.on .icon::before {
  border: 2px solid #fff;
  background: linear-gradient(to bottom, #38F090, #0cd07e);
}
main .home1-newest .content .bookmark ul li a.off .icon::before {
  border: 2px solid #fff;
  background: linear-gradient(to bottom, #ff7e94, #ff5c77);
}
main .home1-newest .content .bookmark ul li .icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
  /* border: 2px solid #fff; */
}
main .home1-newest .content .bookmark ul li .info {
  padding-left: 10px;
  width: calc(100% - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}
main .home1-newest .content .bookmark ul li .info h3 {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li .info p {
  font-size: 13px;
  color: var(--text-footer);
  margin-top: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li .profile {
  position: absolute;
  width: 110%;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
main .home1-newest .content .bookmark ul li .profile .imgbox {
  position: relative;
  width: 100%;
  opacity: .2;
  transition: opacity .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .bookmark ul li:hover .profile .imgbox {
  opacity: .4;
}
main .home1-newest .content .bookmark ul li .profile .imgbox::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, var(--bgc-box) 30%, #00000000);
  pointer-events: none;
}
main .home1-newest .content .bookmark ul li .profile .imgbox img {
  width: 70%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  user-select: none;
  pointer-events: none;
}

main .home1-newest .content .gallery ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
main .home1-newest .content .gallery ul li {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-header);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .gallery ul li:hover {
  background-color: var(--theme-color-op10);
  border: 1px solid var(--theme-color-pri);
}
main .home1-newest .content .gallery ul li.item > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
main .home1-newest .content .gallery ul li a .cover {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
main .home1-newest .content .gallery ul li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .gallery ul li:hover img {
  transform: scale(1.05);
}
main .home1-newest .content .gallery ul li a .info {
  height: calc(100% - 160px);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main .home1-newest .content .gallery ul li a .info .cate {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--theme-color-pri);
  word-break: break-all;
  word-wrap: break-word;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}
main .home1-newest .content .gallery ul li a .info .cate .url {
  margin-right: 8px;
  color: inherit;
}
main .home1-newest .content .gallery ul li a .info .title {
  font-size: 15px;
  /* font-weight: 700; */
  color: var(--text-menu);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .home1-newest .content .gallery ul li a .info .date {
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .notice {
  width: 100%;
}
main .notice .notify {
  border-radius: 15px;
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op15);
  
}
main .notice .notify-header {
  padding: 20px;
}
main .notice .notify-body {
  max-height: 500px;
  padding: 0 20px 20px 20px;
  overflow-y: auto;
  flex-grow: 1;
}
main .notice .notify-body::-webkit-scrollbar {
  width: 6px;
}
main .notice .notify-body:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op30);
  border-radius: 5px;
}
main .notice .notify-body p {
  font-size: 15px;
  line-height: 1.6;
  word-wrap: break-word;
  white-space: pre-line;
}


/* banner */
/* main .banner {
  padding-top: 60px;
} */
main .banner .screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  align-items: start;
}

main .banner .author,
main .banner .widget {
  background-color: var(--bgc-box);
  width: 100%;
  /* height: 200px; */
  border-radius: 20px;
  border: 1px solid var(--border-header);
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              box-shadow .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .banner .author:hover,
main .banner .widget:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 10px 15px -3px rgb(0 0 0/0.1), 0 4px 6px -4px rgb(0 0 0/0.1);
}


main .banner .author .info {
  width: 100%;
  /* height: 120px; */
  display: flex;
  align-items: center;
  padding: 20px;
}

main .banner .author .avatar {
  width: 80px;
  height: 80px;
  /* border-radius: 50%; */
  border-radius: 12px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .banner .author .avatar:hover {
  transform: scale(1.1);
}

main .banner .author .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .banner .author .n-h {
  padding-left: 20px;
  width: calc(100% - 80px);
}

main .banner .author .n-h .name {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .banner .author .n-h .hobby {
  font-size: 15px;
  color: #999;
  margin-top: 4px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

main .banner .author .socialize {
  width: 100%;
  /* height: calc(100% - 120px); */
  padding: 20px;
  /* background-color: var(--bgc-footer); */
  /* background-color: var(--theme-color-op30); */
  /* background: linear-gradient(to right, var(--theme-color-op20), transparent); */
  /* transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1); */
}

main .banner .author .socialize > ul {
  display: flex;
  /* justify-content: space-between; */
  gap: 16px;
}

main .banner .author .socialize > ul li:nth-child(n+6) {
  display: none;
}

main .banner .author .socialize .sub-menu {
  display: none;
}

main .banner .author .socialize a {
  display: inline-block;
  /* min-width: 50px; */
  height: 55px;
  /* height: 60px; */
  background-color: #333;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .banner .author .socialize li:first-child a {
  padding: 0 10px;
  min-width: 55px;
}

main .banner .author .socialize li:not(:first-child) a {
  /* aspect-ratio: 1/1; */
  width: 55px;
}

main .banner .author .socialize a svg,
main .banner .author .socialize a i {
  font-size: 30px;
}

main .banner .author .socialize li:first-child a span {
  padding-left: 5px;
}

main .banner .author .socialize li:nth-child(n+1) a span {
  display: none;
}

main .banner .author .socialize li:first-child a span {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

main .banner .author .socialize a:hover {
  transform: scale(.95);
}

main .banner .widget {
  padding: 20px;
}

main .banner .widget > h2 {
  display: block;
  height: 30px;
  font-size: 16px;
}

main .banner .widget > h2 svg {
  /* font-size: 24px; */
  margin-right: 4px;
  /* color: var(--theme-color-pri); */
}

main .banner .widget > h2 span {
  color: var(--text);
  font-size: inherit;
  box-shadow: inset 0 -0.7rem var(--theme-color-op20);
  transition: color .1s;
}

main .banner .widget .widget-box {
  height: calc(100% - 30px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 5px;
}

main .banner .widget .widget-box::-webkit-scrollbar {
  width: 6px;
}

main .banner .widget .widget-box:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op50);
  border-radius: 5px;
}

main .banner .widget .widget-box > p {
  font-size: 13px;
  padding-top: 5px;
  color: var(--text-footer);
}


main .banner .widget .new-comments ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  height: 100%;
}

main .banner .widget .new-comments li:not(:last-child) {
  /* margin-bottom: 10px; */
}

main .banner .widget .new-comments li a {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  transition: background-color .3s;
}

main .banner .widget .new-comments li a:hover {
  background-color: var(--theme-color-op15);
}

main .banner .widget .new-comments li a .avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
}

main .banner .widget .new-comments li a .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .banner .widget .new-comments li a .info {
  padding-left: 8px;
  width: calc(100% - 40px);
}

main .banner .widget .new-comments li a .info .name,
main .banner .widget .new-comments li a .info .text {
  font-size: 12px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .banner .widget .new-comments li a .info .name {
  padding-bottom: 3px;
  font-weight: 700;
  color: var(--theme-color-pri);
}

main .banner .widget .new-comments li a .info .text {
  color: var(--text-menu);
}


main .banner .widget .recommend-post li {
  font-size: 0;
  line-height: 1.4;
  position: relative;
  padding: 5px 0;
  padding-left: 25px;
}

main .banner .widget .recommend-post li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--theme-color-pri);
  display: inline-block;
  vertical-align: middle;
  margin-top: 4px;
  margin-right: 10px;
  margin-left: -24px;
  border-radius: 100%;
  border: 2px solid #fff;
  z-index: 100;
  position: relative;
  box-shadow: 0 0 10px rgb(0 0 0 / .1);
}


main .banner .widget .recommend-post li:not(:last-child)::after {
  content: '';
  height: 100%;
  width: 2px;
  background: var(--theme-color-pri);
  position: absolute;
  left: 6px;
  top: 16px;
}

main .banner .widget .recommend-post li p {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

main .banner .widget .recommend-post li a {
  color: var(--text-menu);
  word-wrap: break-word;
  font-size: 14px;
  display: inline-block;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  box-shadow: inset 0 -0.55em var(--theme-color-op10);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .banner .widget .recommend-post li a:hover {
  box-shadow: inset 0 -0.55em var(--theme-color-op30);
}

/* main .banner .widget .recommend-post ol li {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  list-style: decimal;
  font-size: 14px;
}

main .banner .widget .recommend-post ol li:first-child {
  margin-top: 0;
}

main .banner .widget .recommend-post ol li:last-child {
  margin-bottom: 0;
}

main .banner .widget .recommend-post ol li a {
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
} */


/* lastest card */
main .lastest .screen {
  padding: 30px 0 40px 0;
}

main .lastest ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 40px;
}

main .lastest ul li {
  width: 100%;
  height: 100%;
}

main .lastest ul li > a {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-box);
  display: flex;
  overflow: hidden;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .lastest ul li > a:hover {
  transform: scale(.95) translateZ(0);
  box-shadow: 0 10px 20px 1px rgb(0 0 0 / .05);
}

main .lastest ul li a .cover {
  overflow: hidden;
}

main .lastest ul li a .cover .pic-box {
  width: 100%;
  height: 100%;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .lastest ul li a:hover .cover .pic-box {
  transform: scale(1.05) translateZ(0);
}

main .lastest ul li a .cover .pic-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .lastest ul li a:hover .cover .pic-box img {
  filter: brightness(.7);
}

main .lastest ul li a .info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

main .lastest ul li a .info .cate {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--theme-color-pri);
  word-break: break-all;
  word-wrap: break-word;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

main .lastest ul li a .info .cate .url {
  margin-right: 10px;
  color: inherit;
}

main .lastest ul li a .info .cate .url:last-child {
  margin-right: 0;
}

main .lastest ul li.full-width a .info .cate {
  -webkit-line-clamp: 3;
}

main .lastest ul li a .info .title {
  font-weight: 700;
  color: var(--text-menu);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .lastest ul li a .info .datetime {
  font-size: 14px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}


/* 第一行 */
main .lastest ul li.full-width {
  grid-column: span 6;
  width: 100%;
  height: 360px;
}

main .lastest ul li.full-width a .cover {
  width: 620px;
  height: 100%;
}

main .lastest ul li.full-width a .info {
  width: calc(100% - 620px);
}

main .lastest ul li.full-width a .info .title {
  font-size: 28px;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}

/* 第二行 */
main .lastest ul li.half-width {
  grid-column: span 3;
  width: 100%;
  height: 440px;
}

main .lastest ul li.half-width a .cover {
  width: 100%;
  height: 260px;
}

main .lastest ul li.half-width a .info {
  height: calc(100% - 260px);
}

main .lastest ul li.half-width a .info .title {
  font-size: 24px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-wrap: break-word;
}

/* 第三行 */
main .lastest ul li.quarter-width {
  grid-column: span 2;
  width: 100%;
  height: 340px;
}

main .lastest ul li.quarter-width a .cover {
  width: 100%;
  height: 180px;
}

main .lastest ul li.quarter-width a .info {
  height: calc(100% - 180px);
}

main .lastest ul li.quarter-width a .info .title {
  font-size: 18px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}


main .lastest ul li.half-width > a,
main .lastest ul li.quarter-width > a {
  flex-direction: column;
}


/* popular */
/* main .popular {
  background-color: #fff;
} */

main .popular ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}

main .popular ul li {
  /* background-color: var(--theme-color-pri); */
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

main .popular ul li::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  /* background-color: #fff; */
  border: 1px solid transparent;
  z-index: 1;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .popular ul li:hover::after {
  width: calc(100% - 19px);
  height: calc(100% - 19px);
  left: 9px;
  top: 9px;
  border: 1px solid var(--border-box);
  background-color: var(--bgc-box);
  box-shadow: 0 0 20px 1px rgb(0 0 0 / .05);
}

main .popular ul li > a {
  display: flex;
  width: calc(100% - 20px);
  padding: 15px;
  border-radius: 30px;
  overflow: hidden;
  /* background-color: #f5f5f5; */
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  z-index: 2;
}

/* main .popular ul li a:hover {
  background-color: var(--bgc-box);
} */

main .popular ul li .cover {
  width: 130px;
  height: 130px;
  border-radius: 20px;
  overflow: hidden;
}

main .popular ul li .cover .box {
  width: 100%;
  height: 100%;
  transform: scale(1.1);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .popular ul li:hover .cover .box {
  transform: scale(1);
  filter: brightness(.8);
}

main .popular ul li .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .popular ul li .info {
  width: calc(100% - 145px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0 2px 15px;
}

main .popular ul li .info .cate {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--theme-color-pri);
  word-break: break-all;
  word-wrap: break-word;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

main .popular ul li .info .cate .url {
  margin-right: 5px;
  color: inherit;
}

main .popular ul li .info .cate .url:last-child {
  margin-right: 0;
}

/* main .lastest ul li .info .cate span.separator,
main .popular ul li .info .cate span.separator {
  margin: 0 8px;
  user-select: none;
} */

/* main .lastest ul li .info .cate span:last-child,
main .popular ul li .info .cate span:last-child {
  display: none;
} */

main .popular ul li .info .title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-menu);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .popular ul li .info .date {
  font-size: 14px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .popular ul li .info .date span {
  margin: 0 8px;
  user-select: none;
}


/* single.php */
/* main .post-info .screen {
  padding-left: 100px;
  padding-right: 100px;
} */

main .narrow .screen {
  padding: 30px 100px;
}


main .post-info .category {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
main .post-info .category a {
  color: var(--theme-color-pri);
  font-size: 14px;
  /* font-weight: 700; */
  word-break: break-all;
  word-wrap: break-word;
  margin-right: 10px;
}

main .post-info .category a:last-child {
  margin-right: 0;
}

/* main .post-info .category span {
  margin: 0 8px;
  user-select: none;
  color: var(--theme-color-pri);
} */

/* main .post-info .category span:last-child {
  display: none;
} */

main .post-info .msg {
  font-size: 0;
  margin-bottom: 30px;
}

main .post-info .msg span {
  color: var(--text-menu-hover);
  font-size: 14px;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-info .msg span.drop {
  margin: 0 8px;
  user-select: none;
}

main .post-info .title {
  display: inline-block;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(120deg, var(--theme-color-pri), var(--theme-color-sub));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-all;
  word-wrap: break-word;
}

main .post-info .excerpt {
  font-size: 24px;
  margin-top: 15px;
  color: var(--text-excerpt);
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-cover {
  text-align: center;
}
main .post-cover .screen {
  padding: 15px 0 35px 0;
}

main .post-cover .cover {
  width: 100%;
  position: relative;
}

main .post-cover .cover::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 9/16的比例 */
}

main .post-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  user-select: none;
  pointer-events: none;
}


main .post-cover .screen.hr {
  padding: 10px 100px 20px 100px;
}
main .post-cover .screen.hr hr {
  border: 0;
  height: 2px;
  border-top: 1px solid var(--border-hr);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}


main .post-cc .screen {
  padding-top: 0;
}

main .post-cc .tag-list {
  font-size: 0;
  margin-bottom: 10px;
}

main .post-cc .tag-list a {
  display: inline-block;
  color: var(--theme-color-pri);
  border: 1px solid var(--theme-color-pri);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 13px;
  transition: all .3s;
}

main .post-cc .tag-list a:hover {
  color: #fff;
  background-color: var(--theme-color-pri);

}

main .post-cc .tag-list a {
  margin-right: 10px;
  margin-bottom: 10px;
}

main .post-cc .tag-list a i {
  font-size: inherit;
  /* margin-right: 2px; */
}


main .post-protocol {
  width: 100%;
  padding: 20px 20px 18px 20px;
  border-radius: 15px;
  border: 1px solid var(--border-header);
  background-color: var(--bgc-footer);
  position: relative;
  overflow: hidden;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-protocol::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #00000000;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  z-index: 2;
  transition: backdrop-filter .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-protocol:hover::before {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

main .post-protocol a:hover {
  color: var(--theme-color-pri) !important;
}

main .post-protocol > svg {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 240px;
  /* color: var(--text-cc-logo); */
  color: var(--theme-color-op10);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

/* main .post-protocol:hover > svg {
  font-size: 100px;
  right: 15px;
} */

main .post-protocol .post-head {
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

main .post-protocol .post-head p {
  color: var(--text);
  margin-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-protocol .post-head span {
  color: #999;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

main .post-protocol .post-head a {
  color: #999;
  font-size: 14px;
  
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-protocol .post-cc {
  position: relative;
  display: flex;
  align-items: start;
  z-index: 2;
}

main .post-protocol .post-cc li:not(:last-child) {
  padding-right: 20px;
}

main .post-protocol .post-cc li p {
  font-size: 14px;
  color: var(--text-footer);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
main .post-protocol .post-cc li p:last-child {
  color: var(--text-cc);
  margin-top: 2px;
}

main .post-protocol .post-cc li p a {
  color: var(--text-cc);
  font-size: inherit;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-protocol .post-cc li p a i {
  font-size: inherit;
}

main .post-protocol .post-cc li p.cc {
  display: flex;
}

main .post-protocol .post-cc li p.cc a:not(:last-child) {
  margin-right: 5px;
}


main .post-pre-next .screen {
  padding-top: 0;
}

main .post-pre-next .box {
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr; */
  display: flex;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 15px;
}

main .post-pre-next .box a {
  display: block;
  position: relative;
  width: 50%;
  height: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

main .post-pre-next .box a .cover {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  transform: scale(1.2);
  transition: transform .3s;
} 

main .post-pre-next .box a:hover .cover {
  transform: scale(1);
}

main .post-pre-next .box a .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: brightness(.6) blur(5px);
  transition: filter .3s;
}

main .post-pre-next .box a:hover .cover img {
  filter: brightness(.9) blur(0);
}



/* main .post-pre-next .box .cover {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
} 

main .post-pre-next .box .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
  filter: brightness(.6) blur(5px);
  transform: scale(1.15);
  transition: all .3s;
}

main .post-pre-next .box a:hover img {
  filter: brightness(.9) blur(0);
  transform: scale(1);
} */

main .post-pre-next .box .text {
  position: relative;
  width: 100%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

main .post-pre-next .box .next .text {
  text-align: right;
}

main .post-pre-next .box .text span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

main .post-pre-next .box .text p {
  /* font-size: 15px; */
  font-weight: 700;
  color: #fff;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}


main .post-comments {
  width: 100%;
  height: calc(100% - var(--header-height));
  /* height: 100%; */
  position: fixed;
  top: var(--header-height);
  /* top: 0px; */
  left: 0;
  padding: 20px;
  z-index: 1002;
  pointer-events: none;
}

main .post-comments .comment-container {
  position: relative;
  pointer-events: all;
  width: 400px;
  height: 100%;
  background-color: var(--header);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  box-shadow: 0 0 15px 1px rgb(0 0 0 / .05);
  border: 1px solid var(--border-box);
  overflow: hidden;
  transform: translateX(-30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              transform .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              visibility .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1); */
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1), 
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity 0.2s ease-in-out 0.05s, 
              visibility 0.2s ease-in-out 0.05s, 
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

main .post-comments .comment-container.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}


main .post-comments .comment-container .comment-body::-webkit-scrollbar,
main .post-comments .comment-container .comment-response textarea::-webkit-scrollbar {
  width: 6px;
}
main .post-comments .comment-container .comment-body:hover::-webkit-scrollbar-thumb,
main .post-comments .comment-container .comment-response textarea:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op30);
  border-radius: 5px;
}


main .post-comments .comment-container .comment-top {
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  /* background-color: var(--bgc-box); */
  /* border-bottom: 1px solid var(--border-box); */
  /* box-shadow: 0 0px 15px 1px rgb(0 0 0 / .05); */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-top h3 {
  color: var(--text-menu);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-top .close {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-excerpt);
  cursor: pointer;
  transition: color .3s,
              background-color .3s;
}

main .post-comments .comment-container .comment-top .close:hover {
  background-color: var(--theme-color-op20);
  color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-top .close svg {
  font-size: 22px;
}

main .post-comments .comment-container .comment-top .close-tip {
  position: absolute;
  left: 20px;
  font-size: 12px;
  color: var(--text-footer);
  display: none;
  align-items: center;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  /* animation: fadeOut .5s ease 3s forwards; */
}

main .post-comments .comment-container .comment-top .close-tip svg {
  transform: rotate(90deg);
  font-size: 14px;
  /* animation: levelMove .6s ease .5s 2; */
}

main .post-comments .comment-container .comment-top .close-tip span {
  padding-left: 2px;
}

main .post-comments .comment-container .comment-body {
  /* height: calc(100% - 260px); */
  height: calc(100% - 180px);
  /* padding: 0 20px; */
  overflow-x: hidden;
  overflow-y: auto;
  /* background-color: var(--header); */
  /* -webkit-backdrop-filter: blur(20px); */
  /* backdrop-filter: blur(20px); */
  transition: height .3s;
}

main .post-comments .comment-container.expand .comment-body {
  height: calc(100% - 240px);
  position: relative;
}

main .post-comments .comment-container .comment-body .next-comments {
  display: flex;
  justify-content: center;
  /* padding-top: 20px; */
}

main .post-comments .comment-container .comment-body .next-comments a {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
}

main .post-comments .comment-container .comment-body .next-comments a span {
  color: var(--text-footer);
  font-size: 13px;
  transition: color .3s;
}

main .post-comments .comment-container .comment-body .next-comments a.loading,
main .post-comments .comment-container .comment-body .next-comments a.end {
  cursor: default;
  pointer-events: none;
}

main .post-comments .comment-container .comment-body .next-comments a:hover span,
main .post-comments .comment-container .comment-body .next-comments a.loading span {
  color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-body .next-comments a svg {
  display: none;
  margin-right: 2px;
  /* font-size: 16px; */
  color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-body .next-comments a.loading svg {
  display: block;
  margin-right: 2px;
  animation: rotate .5s linear infinite;
}


main .post-comments .comment-container .comment-body ul {
  padding: 20px 0;
  /* overflow: hidden; */
}

main .post-comments .comment-container .comment-body ul li {
  padding: 0 10px
}

main .post-comments .comment-container .comment-body ul li .box {
  display: flex;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  animation: fadeToRight .8s cubic-bezier(0.5, 0, 0, 1) forwards;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-body ul li.at .box {
  background-color: var(--theme-color-op10);
  border: 1px solid var(--theme-color-op10);
}

main .post-comments .comment-container .comment-body ul li.own .box {
  animation: fadeToLeft .8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

main .post-comments .comment-container .comment-body ul li:not(:last-child) {
  /* margin-bottom: 20px; */
}

main .post-comments .comment-container .comment-body ul li .datetime {
  font-size: 13px;
  color: var(--text-footer);
  text-align: center;
  padding-bottom: 20px;
}

main .post-comments .comment-container .comment-body ul li:not(:first-child) .datetime {
  padding-top: 20px;
}

main .post-comments .comment-container .comment-body ul li .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  user-select: none;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0px 15px 1px rgb(0 0 0 / .05);
}

main .post-comments .comment-container .comment-body ul li .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  transition: filter .3s;
}

main .post-comments .comment-container .comment-body ul li .avatar .at-user {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .3s;
}

main .post-comments .comment-container .comment-body ul li .avatar.at .at-user,
main .post-comments .comment-container .comment-body ul li .avatar:hover .at-user {
  opacity: 1;
}

main .post-comments .comment-container .comment-body ul li .avatar.at img,
main .post-comments .comment-container .comment-body ul li .avatar:hover img {
  filter: brightness(.8);
  
}

main .post-comments .comment-container .comment-body ul li .avatar .at-user svg {
  font-size: 24px;
  color: #fff;
  transition: color .3s;
}

main .post-comments .comment-container .comment-body ul li .reply-info {
  padding-left: 10px;
  width: calc(100% - 90px);
  display: flex;
  flex-direction: column;
}

main .post-comments .comment-container .comment-body ul li .reply-user {
  display: flex;
  align-items: center;
}

main .post-comments .comment-container .comment-body ul li .reply-user .name {
  color: var(--text-menu-hover);
  font-size: 12px;
  /* max-width: 85px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden; */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-body ul li .reply-user > *:not(:last-child) {
  margin-right: 8px;
}

main .post-comments .comment-container .comment-body ul li .reply-user .tag {
  color: var(--text-footer);
  font-size: 10px;
  display: flex;
  align-items: center;
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  border-radius: 4px;
  padding: 2px 4px;
  white-space: nowrap;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-body ul li .reply-user .tag svg {
  margin-right: 2px;
  /* font-size: 14px; */
}

main .post-comments .comment-container .comment-body ul li .reply-content {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}

main .post-comments .comment-container .comment-body ul li .reply-content .text {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: var(--bgc-comment-bubble);
  color: var(--text-menu);
  font-size: 14px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
  /* margin-top: 5px; */
  border: 1px solid var(--border-pagination);
  box-shadow: 0 0px 15px 1px rgb(0 0 0 / .05);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-body ul li .reply-content .text a {
  color: var(--theme-color-pri);
  text-decoration: underline;
}

main .post-comments .comment-container .comment-body ul li .reply-content .text p {
  display: inline;
  padding-right: 8px;
}

main .post-comments .comment-container .comment-body ul li .reply-content .text .at {
  color: var(--theme-color-pri);
  user-select: none;
  cursor: default;
}

main .post-comments .comment-container .comment-body ul li .reply-content .text .date {
  color: var(--text-footer);
  font-size: 10px;
  /* padding-left: 8px; */
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}


main .post-comments .comment-container .comment-body ul li.own .box {
  flex-direction: row-reverse;
}

main .post-comments .comment-container .comment-body ul li.own .reply-info {
  padding: 0;
  padding-right: 10px;
  align-items: flex-end;
}

main .post-comments .comment-container .comment-body ul li.own .reply-user {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

main .post-comments .comment-container .comment-body ul li.own .reply-user > *:not(:last-child) {
  margin: 0;
  margin-left: 8px;
}

main .post-comments .comment-container .comment-body ul li.own .reply-user .name {
  margin: 0;
  margin-left: 10px;
}

main .post-comments .comment-container .comment-body ul li.own .reply-content {
  align-items: flex-end;
}

main .post-comments .comment-container .comment-body ul li.own .reply-content .text {
  background-color: var(--theme-color-pri);
  /* background: linear-gradient(120deg, var(--theme-color-pri), var(--theme-color-sub)); */
  border: 0;
  color: #fff;
}

main .post-comments .comment-container .comment-body ul li.own .reply-content .text a {
  color: #fff;
}

main .post-comments .comment-container .comment-body ul li.own .reply-content p::-webkit-selection,
main .post-comments .comment-container .comment-body ul li.own .reply-content p::selection {
  background-color: #fff;
  color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-body ul li.own .reply-content .text .at {
  color: #fff;
}

main .post-comments .comment-container .comment-body ul li.own .reply-content .text .date {
  color: #f5f5f5;
}

main .post-comments .comment-container .comment-response {
  width: 100%;
  /* height: 190px; */
  height: 110px;
  /* padding: 20px; */
  /* background-color: var(--bgc-box); */
  background-color: var(--header);
  border-top: 1px solid var(--border-box);
  position: relative;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              height .3s;
}

main .post-comments .comment-container.expand .comment-response {
  height: 170px;
}

main .post-comments .comment-container .comment-response .emoji-box {
  position: absolute;
  top: -241px;
  left: 0;
  width: 100%;
  height: 240px;
  padding: 10px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out 0.05s,
              visibility 0.2s ease-in-out 0.05s,transform 0.3s  0.45s,
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s;
  z-index: 2;
}

main .post-comments .comment-container .comment-response .emoji-box.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.2s ease-in-out 0.05s,visibility 0.2s ease-in-out 0.05s,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
              -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

main .post-comments .comment-container .comment-response .emoji-box .emoji-content {
  width: 100%;
  height: 100%;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-box);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-response .emoji-box .tab {
  border-bottom: 1px solid var(--border-box);
  height: 40px;
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-response .emoji-box .tab ul {
  height: 100%;
  font-size: 0;
}

main .post-comments .comment-container .comment-response .emoji-box .tab ul li {
  display: inline-block;
  font-size: 14px;
  height: 100%;
  padding: 0 15px;
  line-height: 40px;
  /* border-right: 1px solid var(--border-box); */
  cursor: pointer;
  user-select: none;
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .2s,
              color .2s;
}

main .post-comments .comment-container .comment-response .emoji-box .tab ul li:hover {
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-response .emoji-box .tab ul li.active {
  background-color: var(--theme-color-op20);
  color: var(--theme-color-pri);
}


main .post-comments .comment-container .comment-response .emoji-box .list::-webkit-scrollbar {
  width: 6px;
}
main .post-comments .comment-container .comment-response .emoji-box .list:hover::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op30);
  border-radius: 5px;
}

main .post-comments .comment-container .comment-response .emoji-box .list {
  height: calc(100% - 40px);
  overflow: auto;
}

main .post-comments .comment-container .comment-response .emoji-box .list > ul > li {
  display: none;
}

main .post-comments .comment-container .comment-response .emoji-box .list > ul > li.active {
  display: block;
}

main .post-comments .comment-container .comment-response .emoji-box .list ul li .item {
  cursor: pointer;
  display: flex;
  justify-content: center;
  font-size: 20px;
  border-radius: 6px;
  padding: 5px 0;
  user-select: none;
  transition: background-color .2s;
}

main .post-comments .comment-container .comment-response .emoji-box .list ul li .item:hover {
  background-color: var(--theme-color-op20);
}

/* 表情1 */
main .post-comments .comment-container .comment-response .emoji-box .list > ul > li .emoji-1 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  padding: 5px;
}

main .post-comments .comment-container .comment-response .emoji-box .list > ul > li .emoji-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
}
main .post-comments .comment-container .comment-response .emoji-box .list > ul > li .emoji-2 .item {
  font-size: 12px;
  padding: 8px 5px;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .2s;
}


main .post-comments .comment-container .comment-response .go-bottom {
  position: absolute;
  top: -50px;
  right: 20px;
  padding-right: 5px;
  width: 80px;
  height: 30px;
  border-radius: 6px;
  background-color: var(--bgc-box);
  border: 1px solid var(--border-box);
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  user-select: none;
  pointer-events: none;
  cursor: pointer;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity .3s,
              visibility .3s,
              transform .3s;
  z-index: 1;
}

main .post-comments .comment-container .comment-response .go-bottom.active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

main .post-comments .comment-container .comment-response .go-bottom svg {
  font-size: 16px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-response .go-bottom span {
  font-size: 12px;
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}


main .post-comments .comment-container .comment-response .commentForm {
  font-size: 0;
  height: 100%;
  position: relative;
  /* border-top: 1px solid var(--border-box);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1); */
}

main .post-comments .comment-container .comment-response .textarea {
  width: 100%;
  height: calc(100% - 70px);
  padding: 15px 20px 0 20px;
  transition: opacity .3s,
              visibility .3s,
              transform .3s;
}

main .post-comments .comment-container .comment-response textarea {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background-color: transparent;
  font-family: sans-serif;
  font-size: 14px;
  color: var(--text);
  resize: none;
  line-height: 1.5;
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-response .commentForm .visitor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 0;
  height: calc(100% - 70px);
  /* background-color: var(--bgc-box); */
  padding: 15px 20px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 1;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              opacity .3s,
              visibility .3s,
              transform .3s;
}

main .post-comments .comment-container .comment-response .commentForm .visitor.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

main .post-comments .comment-container .comment-response .commentForm .visitor.active + .textarea {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

main .post-comments .comment-container .comment-response .commentForm .visitor .basic-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
main .post-comments .comment-container .comment-response .commentForm .visitor .basic-info > * {
  width: 100%;
  padding: 5px 0;
}

main .post-comments .comment-container .comment-response .commentForm .visitor .basic-info > input {
  font-size: 13px;
  border: 0;
  outline: 0;
  border-radius: 0;
  color: var(--text-menu);
  background-color: transparent;
  border-bottom: 1px dashed transparent;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border-bottom .3s;
}

main .post-comments .comment-container .comment-response .commentForm .visitor .basic-info > input:focus {
  border-bottom: 1px dashed var(--theme-color-pri);
}

main .post-comments .comment-response .visitor .comment-cookies {
  cursor: pointer;
  display: flex;
  user-select: none;
  align-items: center;
  font-size: 13px;
}
main .post-comments .comment-response .visitor .comment-cookies span {
  color: var(--text-menu-hover);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);

}
main .post-comments .comment-response .visitor .comment-cookies input {
  display: none;
}
main .post-comments .comment-response .visitor .comment-cookies svg {
  overflow: visible;
  margin-right: 8px;
}
main .post-comments .comment-response .visitor .comment-cookies .path {
  fill: none;
  stroke: var(--text-menu-hover);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease,
              stroke .4s cubic-bezier(0.345, 0.045, 0.345, 1);
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;

}
main .post-comments .comment-response .visitor .comment-cookies input:checked ~ svg .path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
}


main .post-comments .comment-container .comment-response .form-tool {
  font-size: 13px;
  padding: 0 20px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  position: relative;
  z-index: 2;
  /* background-color: var(--bgc-box); */
  /* background-color: var(--header); */
  /* border-top: 1px solid var(--border-box); */
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-comments .comment-container .comment-response .form-tool .reply {
  display: flex;
  align-items: center;
}

main .post-comments .comment-container .comment-response .form-tool .reply > *:not(:first-child) {
  margin-left: 5px;
}

main .post-comments .comment-container .comment-response .form-tool .reply button {
  font-size: 12px;
  display: flex;
  height: 30px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  border-radius: 6px;
  align-items: center;
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op20);
  user-select: none;
  cursor: pointer;
  transition: color .2s,
              background-color .2s,
              opacity .2s;
}

main .post-comments .comment-container .comment-response .form-tool .reply button:disabled {
  opacity: .6;
  cursor: no-drop;
}

main .post-comments .comment-container .comment-response .form-tool .reply button:not(:disabled):hover {
  color: #fff;
  background-color: var(--theme-color-pri);
}

main .post-comments .comment-container .comment-response .form-tool .reply button svg {
  font-size: 12px;
}

main .post-comments .comment-container .comment-response .form-tool .reply button span {
  padding: 0 2px;
}

main .post-comments .comment-container .comment-response .form-tool .reply.loading button.send svg {
  animation: rotate .5s linear infinite;
}


main .post-comments .comment-container .comment-response .form-tool .reply button.cancel {
  color: #D03050;
  background-color: #D0305026;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

main .post-comments .comment-container .comment-response .form-tool .reply button.cancel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              visibility .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              color .2s, 
              background-color .2s, 
              opacity .2s;
}

main .post-comments .comment-container .comment-response .form-tool .reply button.cancel:hover {
  color: #fff;
  background-color: #D03050;
}


main .post-comments .comment-container .comment-response .form-tool .user-info {
  display: flex;
  align-items: center;
}

main .post-comments .comment-container .comment-response .form-tool .user-info.no-login {
  cursor: pointer;
  user-select: none;
}

main .post-comments .comment-container .comment-response .form-tool .user-info .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  user-select: none;
}

main .post-comments .comment-container .comment-response .form-tool .user-info .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

main .post-comments .comment-container .comment-response .form-tool .user-info .name {
  color: var(--text-menu);
  font-size: 13px;
  /* font-weight: 700; */
  max-width: 90px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}


main .post-comments .comment-container .comment-response .comment_info_hidden {
  display: none;
  user-select: none;
  pointer-events: none;
}

main .post-tool .case {
  position: absolute;
  width: 800px;
  height: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

main .post-tool .case .box {
  position: sticky;
  top: calc(100% - 80px);
  max-width: 100%;
  pointer-events: all;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border-box);
  background-color: var(--header);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 15px 1px var(--theme-color-op10);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1), 
              top .3s, 
              color 0s;
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  animation: fadeToTop 1s cubic-bezier(0.5, 0, 0, 1) .3s forwards;
}

main .post-tool .case .box.hidden {
  top: 100%;
}

main .post-tool .case .box:hover {
  box-shadow: 0 0 15px 1px var(--theme-color-op15);
}

main .post-tool .case .box ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

main .post-tool .case .box ul li:not(:last-child) {
  margin-right: 2px;
}

main .post-tool .case .box ul li a {
  color: var(--text-menu-hover);
  display: flex;
  align-items: center;
  /* flex-direction: column; */
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: color.3s, 
              background-color .3s;
}

main .post-tool .case .box ul li a.active {
  color: var(--theme-color-pri);
}

main .post-tool .case .box ul li a:hover {
  background-color: var(--theme-color-op20);
  /* color: var(--text); */
}

main .post-tool .case .box ul li:not(.likes) a:active {
  color: var(--theme-color-pri);
}

main .post-tool .case .box ul li a svg {
  font-size: 20px;
}

main .post-tool .case .box ul li a p {
  font-size: 12px;
  padding: 0 2px 0 4px;
}


/* archive.php */
main .archive-tag .tag {
  font-size: 0;
}

main .archive-tag .tag a {
  padding: 8px 16px;
  border-radius: 30px;
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  font-size: 14px;
  display: inline-block;
  margin-bottom: 20px;
  border: 2px solid var(--border-pagination);
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: all .3s, 
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-tag .tag a:not(:last-child) {
  margin-right: 20px;
}

main .archive-tag .tag a:hover {
  /* background-color: #8183ff4d; */
  transform: scale(1.1);
  border: 2px solid var(--theme-color-pri);
  box-shadow: 0 5px 20px 1px rgb(0 0 0 / .08);
  border-radius: 12px;
}

main .archive-tag .tag a span {
  background-color: var(--theme-color-pri);
  color: #fff;
  padding: 0 5px;
  border-radius: 30px;
  font-size: 12px;
  margin-left: 10px;
}

main .archive-category a {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 0 10px 1px rgb(0 0 0 / .1); */
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-category a:hover {
  /* transform: scale(1.05) translateZ(0); */
  /* box-shadow: 0 10px 20px 1px rgb(0 0 0 / .05); */
  /* border: 2px solid var(--theme-color-pri) !important; */
}

main .archive-category a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .1), #00000000);
  z-index: 1;
}

main .archive-category a img {
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-category a:hover img {
  filter: brightness(.7);
  /* transform: scale(1.15) translateZ(0); */
}

main .archive-category .cate_info {
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  bottom: 0;
  z-index: 2;
  /* background-color: rgba(255, 255, 255, 0.5); */
  /* -webkit-backdrop-filter: blur(15px); */
  /* backdrop-filter: blur(15px); */
  padding: 0 20px;
  transition: transform .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-category a.hover .cate_info {
  transform: translateY(0) !important;
}

main .archive-category .cate_info h2 {
  margin: 20px 0;
  font-size: 26px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

main .archive-category ul .cate_info h2 {
  font-size: 18px;
  margin: 15px 0;
}

main .archive-category .cate_info p {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f5f5f5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  word-break: break-all;
  word-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* main .archive-category ul .cate_info {
  padding: 0 15px;
} */

main .archive-category ul .cate_info p {
  /* margin-bottom: 15px; */
  font-size: 13px;
}

main .archive-category .parent_category {
  margin-top: 30px;
}

/* main .archive-category .parent_category:nth-child(2) {
  margin-top: 0;
} */

main .archive-category a {
  width: 100%;
  height: 240px;
  /* border: 2px solid var(--border-box); */
  border: 1px solid var(--border-pagination);
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              box-shadow .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-category a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

main .archive-category ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0 30px;
}

main .archive-category ul li {
  padding-top: 30px;
}

main .archive-category ul li a {
  height: 180px;
  /* border: 2px solid var(--border-box); */
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .archive-category a span {
  display: block;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  background-color: var(--theme-color-pri);
  border-radius: 30px;
  padding: 4px 8px;
  border: 2px solid #fff;
  box-shadow: 0 0 1rem -0.5rem rgba(0, 0, 0, 0.2);
  z-index: 3;
}

main .archive-category ul li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


main .post-all .post-year {
  margin-bottom: 30px;
  background-color: var(--bgc-box);
  border-radius: 20px;
  /* border: 1px solid #f5f5f5; */
  /* border: 2px solid var(--bgc-box); */
  border: 1px solid var(--border-pagination);
  padding-bottom: 20px;
  overflow: hidden;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              height .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              box-shadow .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-all .post-year.active,
main .post-all .post-year:hover {
  box-shadow: 0 10px 20px 1px rgb(0 0 0 / .05);
  /* border: 2px solid var(--theme-color-pri); */
}

main .post-all .post-year h2 {
  color: var(--text);
  font-size: 22px;
  padding: 20px 30px;
  cursor: pointer;
  /* background-color: var(--bgc-box); */
  user-select: none;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

/* main .post-all .post-year.active {
  border: 2px solid var(--theme-color-pri);
} */

/* main .post-all .post-year.active h2 {
  color: var(--text);
  background-color: rgba(88, 86, 214,.1);
} */

main .post-all .post-month {
  padding: 20px 30px 0 30px;
}
main .post-all .post-month h3 {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 18px;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-all li {
  font-size: 0;
  line-height: 1.4;
  position: relative;
  padding: 10px 0;
  padding-left: 25px;
}

main .post-all li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--theme-color-pri);
  display: inline-block;
  vertical-align: middle;
  margin-top: -10px;
  margin-right: 11px;
  margin-left: -24px;
  border-radius: 100%;
  border: 2px solid #fff;
  z-index: 100;
  position: relative;
  box-shadow: 0 0 10px rgb(0 0 0 / .1);
}


main .post-all li:not(:last-child)::after {
  content: '';
  height: 100%;
  width: 2px;
  background: var(--theme-color-pri);
  position: absolute;
  left: 6px;
  top: 20px;
}

main .post-all li span {
  display: inline-block;
  width: 50px;
  color: var(--text-footer);
  font-size: 15px;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-all li span i {
  font-style: normal;
}

main .post-all li p {
  display: inline-block;
  position: relative;
  vertical-align: top;
  max-width: calc(100% - 50px);
}

main .post-all li a {
  color: var(--text-menu);
  word-wrap: break-word;
  font-size: 14px;
  display: inline-block;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  box-shadow: inset 0 -0.55em var(--theme-color-op10);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-all li a:hover {
  box-shadow: inset 0 -0.55em var(--theme-color-op30);
}


/* category.php */

/* main .post-category-cover a,
main .post-category-cover a:hover {
  border: 0 !important;
} */

main .post-category-cover a img,
main .post-category-cover a:hover img {
  filter: brightness(1);
}

main .post-category .cate {
  max-height: 300px;
  font-size: 0;
}

main .post-category .cate a {
  padding: 8px 16px;
  border-radius: 30px;
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  font-size: 14px;
  display: inline-block;
  margin-bottom: 20px;
  border: 2px solid var(--border-pagination);
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: all .3s, 
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .post-category .cate a:not(:last-child) {
  margin-right: 20px;
}

main .post-category .cate a:hover {
  transform: scale(1.1);
  border: 2px solid var(--theme-color-pri);
  box-shadow: 0 5px 20px 1px rgb(0 0 0 / .08);
  border-radius: 12px;
}

main .post-category .cate a svg {
  margin-right: 2px;
  /* font-size: 16px; */
}

main .post-category .cate a span {
  background-color: var(--theme-color-pri);
  color: #fff;
  padding: 0 5px;
  border-radius: 30px;
  font-size: 12px;
  margin-left: 10px;
}

main .post-category .cate a.active {
  background-color: var(--theme-color-pri);
  background: linear-gradient(120deg, var(--theme-color-pri), var(--theme-color-sub));
  color: #fff;
  border: 0;
}

main .post-category .cate a.active span {
  background-color: #fff;
  color: var(--theme-color-pri);
}

/* main .current-tag .screen, */
main .current-category .screen {
  padding-top: 0;
}

main .gallery-category .screen {
  padding-top: 0 !important;
}

main .tpl-tag ul,
main .tpl-category ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 30px;
}

main .tpl-tag ul li,
main .tpl-category ul li {
  width: 100%;
  height: auto;
}

main .tpl-tag ul li a,
main .tpl-category ul li a {
  position: relative;
  display: block;
  border-radius: 20px;
  border: 2px solid var(--border-pagination);
  background-color: var(--bgc-box);
  /* background-color: var(--theme-color-op10); */
  /* box-shadow: 0 0 10px 1px rgb(0 0 0 / .01); */
  padding: 20px;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  transition: all .3s, 
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .tpl-tag ul li a .info,
main .tpl-category ul li a .info {
  position: relative;
}

main .tpl-tag ul li a span,
main .tpl-category ul li a span {
  color: #999;
  font-size: 14px;
}

main .tpl-tag ul li h2,
main .tpl-category ul li h2 {
  color: var(--text);
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
  word-break: break-all;
  word-wrap: break-word;
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .tpl-tag ul li p,
main .tpl-category ul li p {
  font-size: 14px;
  color: #666;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color .3s;
}

main .tpl-tag ul li p {
  -webkit-line-clamp: 1;
}

main .tpl-tag ul li a svg,
main .tpl-category ul li a svg {
  position: absolute;
  color: var(--theme-color-op10);
  font-size: 50px;
  right: 10px;
  bottom: 5px;
  z-index: 1;
  transition: all .3s;
}

main .tpl-tag ul li a:hover,
main .tpl-category ul li a:hover {
  border: 2px solid var(--theme-color-pri);
  background-color: var(--theme-color-op05);
  transform: scale(1.05);
  box-shadow: 0 5px 20px 1px rgb(0 0 0 / .05);
  border-radius: 15px;
}

main .tpl-tag ul li a:hover h2,
main .tpl-category ul li a:hover h2,
main .tpl-tag ul li a:hover p,
main .tpl-category ul li a:hover p {
  /* color: var(--theme-color-pri); */
}

/* main .tpl-tag ul li a:hover svg,
main .tpl-category ul li a:hover svg {
  color: var(--theme-color-op15);
  font-size: 150px;
  right: -30px;
  bottom: -30px;
} */



main .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

main .pagination > * {
  display: block;
  padding: 8px 14px;
  margin-right: 10px;
  border-radius: 30px;
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  font-size: 14px;
  margin-bottom: 20px;
  border: 2px solid var(--border-pagination);
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: all .3s, border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .pagination > *:last-child {
  margin-right: 0;
}

main .pagination > *:hover {
  transform: scale(1.1);
  border: 2px solid var(--theme-color-pri);
  box-shadow: 0 5px 20px 1px rgb(0 0 0 / .08);
  border-radius: 12px;
}

main .pagination > *.current {
  background-color: var(--theme-color-pri);
  background: linear-gradient(120deg, var(--theme-color-pri), var(--theme-color-sub));
  color: #fff;
  border: 0;
}


/* 404.php */
main .p404 {
  height: calc(100vh - 110px);
}

main .p404 .screen {
  padding: 0;
  height: 100%;
}
main .p404 .notfound {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .p404 .notfound .tip {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--text);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);;
}

main .p404 .notfound .back a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  background-color: var(--theme-color-pri);
  color: #fff;
  font-size: 14px;
  margin: 0 10px;
  box-shadow: 0 0 10px 1px rgb(0 0 0 / .05);
  transition: all .3s, 
              color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

main .p404 .notfound .back a.home {
  background-color: var(--theme-color-op10);
  color: var(--theme-color-pri);
  border: 2px solid var(--border-pagination);
}

main .p404 .notfound .back a:hover {
  transform: scale(1.1);
  border-radius: 10px;
}

main .p404 .notfound .back a.home:hover {
  border: 2px solid var(--theme-color-pri);
}

/* toc */
main .single.post-content .screen .content-and-toc {
  display: flex;
  position: relative;
}

.toc-container {
  position: absolute;
  top: 0;
  right: -280px;
  width: 220px;
  height: 100%;
  padding-top: 20px;
  z-index: 990;
}

.toc-container .toc {
  -webkit-position: sticky;
  position: sticky;
  top: 90px;
  width: 100%;
  padding: 20px 0;
  /* background-color: var(--bgc-footer); */
}

.toc-container .toc .overflow {
  padding-right: 8px;
  max-height: calc(100vh - 160px);
  overflow-x: hidden;
  overflow-y: auto;
}

.toc-container .toc .overflow::-webkit-scrollbar {
  width: 6px;
}

.toc-container .toc:hover .overflow::-webkit-scrollbar-thumb {
  background-color: var(--theme-color-op30);
  border-radius: 5px;
}

.toc-container .toc ul {
  border-left: 2px solid var(--border-header);
  padding-left: 8px;
  padding-bottom: 1px;
  position: relative;
  transition: border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

.toc-container .toc .slider {
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 0;
  background-color: var(--theme-color-op70);
  transition: all .3s;
}

.toc-container .toc li.h3 {
  padding-left: 8px;
}

.toc-container .toc li.h4,
.toc-container .toc li.h5,
.toc-container .toc li.h6 {
  padding-left: 16px;
}

.toc-container .toc li a {
  display: block;
  color: var(--text-footer);
  font-size: 13px;
  padding: 5px 8px;
  border-radius: 6px;
  word-break: break-all;
  word-wrap: break-word;
  cursor: pointer;
  transition: all .2s;
}

.toc-container .toc li.active a {
  color: var(--theme-color-pri);
}

.toc-container .toc a:hover {
  color: var(--theme-color-pri);
  background-color: var(--theme-color-op10);
}


/* footer.php */
footer {
  position: relative;
  width: 100%;
  background-color: var(--bgc-footer);
  border-top: 1px solid var(--border-header);
  padding: 30px 0;
  margin-top: 50px;
  z-index: 990;
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1),
              border .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

footer section {
  width: 1000px;
  margin: 0 auto;
}

footer section > *:not(:first-child) {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-footer);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

footer section > *:not(:first-child) a {
  font-size: inherit;
  color: var(--theme-color-pri);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

footer section > *:not(:first-child) a:hover {
  text-decoration: underline;
}

footer nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer nav .logo a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 5px;
  border-radius: 50px;
  border: 1px solid var(--bgc-footer);
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}
footer nav .logo a:hover {
  border: 1px solid var(--border-box);
  background-color: var(--bgc-box);
  box-shadow: 0 0 20px 1px rgb(0 0 0 / .05);
}

footer nav .logo a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

footer nav .logo a span {
  margin: 0 5px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-menu);
  transition: color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

footer nav .lighting {
  background-color: var(--bgc-box);
  padding: 2px;
  border-radius: 50px;
  border: 1px solid var(--theme-color-pri);
  transition: background-color .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

footer nav .lighting .slider {
  position: absolute;
  background-color: var(--theme-color-pri);
  left: 0;
  top: 0;
  transform: translateX(90px);
  z-index: 1;
}

footer nav .lighting .slider,
footer nav .lighting ul li {
  width: 45px;
  height: 20px;
  border-radius: 50px;
}

footer nav .lighting ul {
  display: flex;
  position: relative;
}

footer nav .lighting ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  line-height: normal;
  color: var(--theme-color-pri);
  z-index: 2;
  cursor: pointer;
  user-select: none;
}

footer nav .lighting ul li.active {
  color: #fff;
}

footer .powered {
  margin-top: 25px !important;
}

footer .copyright {
  padding-top: 10px;
  border-top: 1px solid var(--border-copyright);
  display: flex;
  justify-content: space-between;
  transition: all .4s cubic-bezier(0.345, 0.045, 0.345, 1);
}

/* footer .copyright .right a,
footer .icp a {
  color: var(--text-footer) !important;
} */

footer .icp a:not(:last-child) {
  margin-right: 10px;
}

footer .upyun img {
  height: 24px;
  vertical-align: middle;
  margin-top: -3px
}


/* 动画 */
@keyframes fade_to_top {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeToTop {
  from {
    transform: translateY(50px);
    opacity: 0;
    visibility: hidden;
  }
  to {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes toRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    visibility: hidden;
  }
  to { 
    opacity: 1; 
    visibility: visible;
  }
}

@keyframes fadeOut {
  from { 
    opacity: 1;
    visibility: visible; 
  }
  to { 
    opacity: 0; 
    visibility: hidden;
  }
}

@keyframes rotate {
  from { 
    transform: rotate(-45deg);
  }
  to { 
    transform: rotate(315deg);
  }
}

@keyframes fadeToRight {
  from {
    transform: translateX(-30px);
    opacity: 0;
    visibility: hidden;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  to {
    transform: translateX(-30px);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeToLeft {
  from {
    transform: translateX(30px);
    opacity: 0;
    visibility: hidden;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  to {
    transform: translateX(30px);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes home1FadeToRight {
  from {
    transform: translateX(-20px);
    opacity: 0;
    visibility: hidden;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes home1FadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  to {
    transform: translateX(-20px);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes home1FadeToLeft {
  from {
    transform: translateX(20px);
    opacity: 0;
    visibility: hidden;
  }
  to {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes home1FadeOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  to {
    transform: translateX(20px);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes levelMove {
  0%{
    transform: rotate(90deg) translateY(0);
  }
  50%{
    transform: rotate(90deg) translateY(4px);
  }
  100% {
    transform: rotate(90deg) translateY(0);
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes spin {
  0%  {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

/* 弹窗动画 */
@keyframes popupFadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes popupFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes popupScaleIn {
  0% {
    transform: scale(.95);
    opacity: 0;
    visibility: hidden;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes popupScaleOut {
  0% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
  100% {
    transform: scale(.95);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes hueRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(30deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}