@property --seed{
    syntax:"<integer>";
    inherits:true;
    initial-value:0;
}
@keyframes seed {
    from {--seed:0;}
    to {--seed:100;}
}
@keyframes changeColor {
    0% {color: transparent;}
    99% {color: transparent;}
    100% {color:#fff;}
}
.ani-num{
    position: relative;
    color: transparent;
    animation: changeColor .8s forwards;
}
.ani-num::before{
    position: absolute;
    counter-reset: num calc(var(--seed) * var(--num) / 100);
    content:counter(num);
    color: #fff;
    animation: seed .5s forwards;
}

[x-cloak] { display: none !important; }
body{
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    padding-top: 0;
}
.overflow-hidden{
    overflow: hidden;
}
.main {
    margin-left: 250px;
    padding-bottom: 50px;
    flex: 1 1 0%;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.typecho12 .main {
    padding-top: 50px;
}

@media (max-width: 575px) {
.typecho12 .comment-edit {
        display: flex;
        flex-direction: column;
        width: 90vw;
    }
.typecho12 .comment-edit textarea.w-90 {
    width: 100%;
}
.typecho12 .typecho-list-table td {
        padding: 5px;
    }
}

.typecho-foot{
    margin-left: 250px;
}
.typecho-head-nav {
    position: initial;
    display: none;
}
.comment-content img {
    max-height: 60vh;
}
body.fullscreen .newadmin {
    display: none;
}
.newadmin .icon,.kuai .icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
.newadmin button{
    /*解决safari点击按钮，按钮会轻微闪烁问题*/
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.newadmin .menu .icon {
    padding-right: 4px;
}
.hang {
    display: flex;
    align-items: center;
}
.newadmin {
    position: sticky;
    top: 20px;
    margin: 0 10px;
    padding-left: 258px;
    z-index: 20;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.newleft{
    padding-left: 8px;
}
.mainleft{
    margin-left: 0;
}
.mainleft~.typecho-foot{
    margin-left: 0;
}
.newadmin a:hover {
    color: #5981b1;
    text-decoration: none;
}
.side {
    position: fixed;
    top: 20px;
    bottom: 20px;
    left: 10px;
    border-radius: 8px;
    z-index: 999;
    width: 240px;
    overflow: hidden;
    background: var(--sidebg);
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.aside{
    position: relative;
    height: 100%;
}
.menucon {
    overflow: auto;
    max-height: 100%;
    padding-bottom: 30px;
}
.side .zhelogo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 30px auto;
    display: block;
    border: 2px solid #fff;
}
.side li {
    list-style: none;
    padding: 5px 8px;
}
.side a {
    display: block;
    padding: 5px 8px;
}
.side .focus a {
    background: var(--focus);
    border-radius: 8px;
}
.side button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    outline: none !important;
    border: none;
    background: #eaeaea;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
    font-weight: 600;
}
.menua a{
    display: block;
    background: #eaeaea;
    padding: 8px 12px;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
}
.side button .menusvg {
    width: 16px;
}
.side ul{
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.sonmenu.open {
    height: auto;
    margin-top: 8px;
    background: #eaeaea;
    border-radius: 8px;
    padding: 8px 8px 8px 1.1em;
}
.headermenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    height: 40px;
    background: rgba(255,255,288,.8);
    -webkit-backdrop-filter: saturate(5) blur(20px);
    backdrop-filter: saturate(5) blur(20px);
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.2);
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22);
}
.headermenu a {
    padding: 12px;
}
.headermenu a.exit {
    color: red;
}
.more {
    display: none;
    position: relative;
}
.more button {
    background: transparent;
    border: 0;
    padding: 0;
}
.moreul{
    position: absolute;
    background-color: #50b19e;
    border-radius: 8px;
    padding: 6px;
    top:49px;
    right: 0;
    width: 100px;
    text-align: center;
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.3));
}
.newadmin .moreul a{
    color: white;
}
.jio {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #50b19e;
}
.moreul a {
    display: block;
    padding: 4px 8px;
}
button.menubtn,button.leftbtn {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    display: flex;
    color: #000;
}
button.menubtn {
    display: none;
}
.menusvg,.moresvg,.leftsvg,.rightmore svg {
    width: 28px;
    height: 28px;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
.zhezhao .xsvg {
    position: absolute;
    width: 36px;
    height: 36px;
    right: 0;
    padding: 8px;
    color: red;
}
.zhezhao{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.side.left{
transform: translate3d(-100%, 0, 0) !important;
left: 0;
}
.rotate{
    transform: rotate(180deg);
    transition-duration: .3s;
}


.popup {
    top: 80px !important;
    left: 268px;
    right: 10px;
    width: auto;
    border-radius: 8px;
}
.rightmore{
    display: flex;
    align-items: center;
}
.rightmore button {
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    display: flex;
    color: #000;
}
.rightmore button .sunsvg,.rightmore button .moonsvg{
    transition-duration: 500ms;
}
.rightmore button:hover .sunsvg,.rightmore button:hover .moonsvg{
    transform: rotate(360deg);
}
.rightmore svg.sunsvg{
    display: none;
}
/*手机端*/
@media (max-width: 768px){
.newadmin,.newadmin.buju {
    top: 0px;
    padding-left: 0;
    margin: 0;
}
.side {
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: unset;
    transform: translate3d(-100%, 0, 0) !important;
}
.side.close{
    transform: translate3d(0, 0, 0) !important;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.2);
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22);

}
.rightmore button {
    padding: 0 6px;
}
button.menubtn,.more {
    display: flex;
    align-items: center;
}
button.leftbtn,.pcmore{
    display: none;
}
.main {
    margin-left: 0;
    padding:0;
}
.typecho-foot{
    margin-left: 0;
}
.headermenu {
    border-radius: 0;
}
.popup {
    left: 0;
    right: 0;
    border-radius: 0;
    top: 50px !important;
}
}

code {
    background: #3a3a3a;
    color: #fff;
    padding: .1rem .5rem;
    border-radius: 8px;
    margin: 0 .25rem;
}
pre>code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}
pre {
    background: #3a3a3a;
    color: #fff;
    padding: .5rem;
    border-radius: 8px;
}
pre, code {
    max-width: 100%;
    word-break: break-all;
    white-space: inherit;
}

body:after {
    content: ' ';
    position: fixed;
    bottom: 0;
    right: 0;
    background-image: url(./img/cat.svg);    
    background-repeat: no-repeat;
    background-position: bottom;
    width: 300px;
    height: 165.3px;
    z-index: -1;
}

@media (max-width: 2000px){body:after{display:none;}}