* {
  margin: 0;
  padding: 0;
  position: relative;
  scrollbar-color: #8ab5ff #e6efff;
  scrollbar-width: thin;
  word-wrap: break-word;
}

body {
  background: #f6f8fa;
  color: #1e3e3f;
  font: 500 14px Lexend, "Noto Sans SC", sans-serif;
  overflow-x: hidden;
  width: 100%;
}
body::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}
body::-webkit-scrollbar-track {
  background: #e6efff;
  border-radius: 100px;
}
body::-webkit-scrollbar-thumb {
  background: #8ab5ff linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
  border: 3px solid #e6efff;
  border-radius: 100px;
}

::selection {
  background-color: rgba(101, 154, 239, 0.1);
  color: #ed6e9f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e3e3f;
  font-weight: bold;
  margin: 15px 0;
  word-break: keep-all;
}
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection {
  background-color: rgba(51, 146, 255, 0.1647058824);
  color: unset;
}

a {
  color: #66afef;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

#archives,
.article,
#footer #footer-wrap {
  box-sizing: border-box;
  margin: auto;
  margin-top: 100px;
  padding: 20px;
}
@media (min-width: 900px) {
  #archives,
  .article,
  #footer #footer-wrap {
    width: 900px;
  }
}
@media (max-width: 900px) {
  #archives,
  .article,
  #footer #footer-wrap {
    width: 100%;
  }
}

#archives .categories-tags {
  margin: auto;
  margin-bottom: 50px;
  max-width: 900px;
  text-align: center;
  width: 100%;
}
#archives .categories-tags span {
  display: inline-block;
  margin: 10px;
}
#archives .categories-tags span .icon {
  color: #fff;
  margin-left: 0;
  margin-right: 10px;
}
#archives .categories-tags span a {
  border: rgba(255, 255, 255, 0.5019607843) 1px solid;
  border-radius: 10px;
  color: #fff;
  padding: 10px 15px;
  transition: background 0.25s, border 0.25s, color 0.25s;
}
#archives .categories-tags span a:hover {
  background: #fff !important;
  border: #a5c2f5 1px solid;
  color: #5c6b72;
}
#archives .categories-tags span a:hover .icon {
  color: #5c6b72;
}
#archives .category,
#archives .tags .tag,
#archives .info {
  display: inline-block;
  margin-right: 10px;
}
#archives h3 {
  margin: 10px 0;
}
#archives a,
#archives .tag-icon,
#archives .item-time {
  color: #5c6b72;
}

#crypto {
  margin: 50px 0;
}
#crypto.failure {
  border-color: #ea4a5a;
  color: #ea4a5a;
}
#crypto.failure:focus {
  box-shadow: 0 0 0 3px rgba(234, 74, 90, 0.3019607843);
}
#crypto.success {
  border-color: #34d058;
  color: #34d058;
}

#footer {
  font-size: 14px;
  margin-top: 150px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
}
#footer #footer-icon {
  color: #66afef;
  display: inline-block;
  font-size: 18px;
  margin: 0 10px;
}
#footer #footer-wrap {
  border-top: 1px solid #aaa;
  color: #5c6b72;
  margin: auto;
}
#footer #footer-wrap div {
  margin: 15px;
}

#home-card {
  width: 300px;
}
@media (max-width: 900px) {
  #home-card {
    display: none;
  }
}
#home-card #card-style {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(217, 217, 217, 0.5019607843);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  justify-content: center;
  overflow: auto;
  position: sticky;
  text-align: center;
  top: 10vh;
  width: 300px;
}
#home-card #card-div {
  overflow: auto;
  padding: 25px 0;
}
#home-card #card-div .avatar {
  border: #f1f1f1 solid 3px;
  border-radius: 50%;
  height: 140px;
  margin: auto;
  text-align: center;
  width: 140px;
}
#home-card #card-div .avatar img {
  border-radius: 50%;
  height: 100%;
  width: 100%;
  transition: transform 0.25s;
}
#home-card #card-div .avatar:hover img {
  transform: rotate(360deg);
}
#home-card #card-div .description {
  margin: 20px auto;
  width: 85%;
}
#home-card #card-div .name {
  font-size: 16px;
  font-weight: bold;
  margin: 20px auto;
}
#home-card #card-div .icon-links,
#home-card #card-div .friend-links {
  border-top: #cdcdcd solid 1px;
  margin: 10px auto;
  padding-top: 10px;
  width: 85%;
}
#home-card #card-div .icon-link,
#home-card #card-div .friend-link {
  display: inline-block;
  margin: 5px;
}
#home-card #card-div .icon-link a,
#home-card #card-div .friend-link a {
  border-radius: 5px;
  color: #5c6b72;
  padding: 8px 0;
  display: block;
  transition: background 0.25s, color 0.25s;
}
#home-card #card-div .icon-link a:hover,
#home-card #card-div .friend-link a:hover {
  background: #66afef;
  color: #fff;
}
#home-card #card-div .icon-link a {
  font-size: 18px;
  padding: 5px;
}

#home-head {
  display: flex;
  height: 100vh;
  width: 100vw;
}
#home-head #home-background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}
#home-head #home-info {
  margin: auto;
}
#home-head #home-info .info {
  align-items: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}
#home-head #home-info .info .wrap {
  padding: 25px;
}
@media (min-width: 900px) {
  #home-head #home-info .info .wrap h1 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  #home-head #home-info .info .wrap h3 {
    font-size: 24px;
    margin: 10px 0;
  }
  #home-head #home-info .info .wrap h5 {
    font-size: 16px;
    margin: 20px 0;
  }
}
@media (max-width: 900px) {
  #home-head #home-info .info .wrap {
    padding: 50px;
  }
  #home-head #home-info .info .wrap h1 {
    font-size: 46px;
    margin-bottom: 10px;
  }
  #home-head #home-info .info .wrap h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  #home-head #home-info .info .wrap h5 {
    font-size: 14px;
    margin: 20px 0;
  }
}
#home-head #home-info .loop {
  position: absolute;
  background: #fff;
  border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
}
@media (min-width: 900px) {
  #home-head #home-info .loop {
    display: inline-block;
    height: 500px;
    width: 500px;
  }
}
@media (max-width: 900px) {
  #home-head #home-info .loop {
    display: none;
    height: 350px;
    width: 350px;
  }
}
#home-head #home-info .loop:nth-child(1) {
  animation: loop1 10s linear infinite;
  opacity: 0.3;
  transform: rotate(30deg);
}
#home-head #home-info .loop:nth-child(2) {
  animation: loop2 15s linear infinite;
  opacity: 0.45;
  transform: rotate(60deg);
}
#home-head #home-info .loop:nth-child(3) {
  animation: loop3 10s linear infinite;
  opacity: 0.3;
  transform: rotate(90deg);
}
#home-head #home-info .loop:nth-child(4) {
  animation: loop4 15s linear infinite;
  opacity: 0.45;
  transform: rotate(120deg);
}
@media (min-width: 900px) {
  #home-head #home-info {
    height: 500px;
    width: 500px;
  }
  #home-head #home-info .info {
    height: 500px;
    width: 500px;
  }
}
@media (max-width: 900px) {
  #home-head #home-info {
    height: 350px;
    width: 350px;
  }
  #home-head #home-info .info {
    background: rgba(255, 255, 255, 0.6509803922);
    height: 350px;
    width: 350px;
  }
}

#home-posts-wrap {
  background: transparent;
  border-radius: 10px;
  display: flex;
  margin: auto;
  padding: 20px;
  max-width: 1200px;
}
@media (min-width: 900px) and (max-width: 1200px) {
  #home-posts-wrap {
    width: 800px;
  }
}

#home-posts {
  margin-right: 50px;
  width: 850px;
}
@media (max-width: 900px) {
  #home-posts {
    margin: auto;
    width: 100%;
  }
}
@media (min-width: 900px) and (max-width: 1200px) {
  #home-posts {
    width: 100%;
  }
}
#home-posts .post {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(217, 217, 217, 0.5019607843);
  transition: box-shadow 0.25s, transform 0.25s;
  margin-bottom: 25px;
}
@media (min-width: 900px) {
  #home-posts .post {
    padding: 50px;
  }
}
@media (max-width: 900px) {
  #home-posts .post {
    padding: 20px 30px;
    margin-bottom: 30px;
  }
}
#home-posts .post:hover {
  box-shadow: 0 0 5px #d9d9d9;
  transform: translate(-5px, -5px);
}
#home-posts .post .post-title {
  font-size: 2.5rem;
  color: #66afef;
  text-align: center;
}
@media screen and (max-width: 430px) {
  #home-posts .post .post-title {
    font-size: 1rem;
  }
}
#home-posts .post .category-and-date {
  color: #5c6b72;
  margin-top: 15px;
  text-align: center;
  width: 100%;
}
#home-posts .post .category-and-date .category,
#home-posts .post .category-and-date .date,
#home-posts .post .category-and-date .special {
  display: inline-block;
}
#home-posts .post .category-and-date .category {
  margin-right: 25px;
}
#home-posts .post .category-and-date .category a {
  color: #5c6b72;
}
#home-posts .post .category-and-date .special {
  margin-left: 25px;
}
#home-posts .post .description {
  padding: 20px 0;
}
@media screen and (max-width: 430px) {
  #home-posts .post .description {
    display: none;
  }
}
#home-posts .post .post-tags {
  line-height: 1.7;
  padding-right: 69px;
}
#home-posts .post .post-tags .tag {
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
}
#home-posts .post .post-tags a {
  font-size: 14px;
}
#home-posts .post .go-post {
  background: linear-gradient(120deg, #9abbf7 0%, #ffbbf4 100%);
  border: 0;
  border-radius: 20px 0;
  bottom: -5px;
  box-shadow: 2px 2px 10px 0 rgba(255, 187, 244, 0.4784313725);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 24px;
  position: absolute;
  right: -5px;
  transition: box-shadow 0.25s ease-out, right 0.25s ease-out;
}
#home-posts .post .go-post:hover {
  box-shadow: -2px -2px 10px 0 rgba(154, 187, 247, 0.4784313725);
  right: -7px;
}
#home-posts .page-current {
  align-items: center;
  display: flex;
  font-weight: bold;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
  width: 100%;
}
#home-posts .page-current .current,
#home-posts .page-current .page-num,
#home-posts .page-current .page-omit {
  border-radius: 5px;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  margin: 0 7px;
  padding: 5px;
  width: 35px;
}
#home-posts .page-current .current {
  color: #da0a51;
}
#home-posts .page-current a {
  color: #999;
}
#home-posts .page-current .page-num {
  transition: background 0.25s, color 0.25s;
}
#home-posts .page-current .page-num:hover {
  background: #66afef;
  color: #fff;
}

#loading {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  word-break: keep-all;
  z-index: 2147483647;
}
#loading h2,
#loading p,
#loading img {
  margin: 10px;
}
#loading img {
  border-radius: 0;
  height: 50px;
}
#loading #loading-circle {
  align-items: center;
  border: 10px solid #a3ddfb;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 50vmin;
  justify-content: center;
  padding: 50px;
  text-align: center;
  width: 50vmin;
}

#main {
  margin-right: calc(100% - 100vw);
}

#menu {
  background: #92cafa;
  box-shadow: 0 -1px 10px 0 rgba(158, 158, 158, 0.3019607843);
  font-weight: bold;
  line-height: 50px;
  position: fixed;
  top: 0;
  transition: background 0.25s ease-out, top 0.25s ease-out;
  width: 100vw;
  z-index: 1004;
}
#menu.hidden {
  top: -50px;
}
#menu.menu-color {
  background: rgba(0, 0, 0, 0.2);
}
#menu.menu-color #desktop-menu a,
#menu.menu-color #mobile-menu a,
#menu.menu-color #mobile-menu .title {
  color: #fff;
}
#menu #desktop-menu {
  height: 50px;
}
@media (max-width: 900px) {
  #menu #desktop-menu {
    display: none;
  }
}
#menu #desktop-menu .title {
  color: #555;
  display: inline-block;
  margin-left: 60px;
  margin-right: 5px;
}
#menu #desktop-menu a {
  color: #555;
  display: inline-block;
  margin-left: 30px;
}
#menu #mobile-menu {
  min-height: 50px;
  text-align: center;
}
@media (min-width: 900px) {
  #menu #mobile-menu {
    display: none;
  }
}
#menu #mobile-menu .title {
  color: #555;
  cursor: pointer;
  z-index: 1003;
}
#menu #mobile-menu .items {
  padding: 10px 0 20px;
  z-index: 1002;
}
#menu #mobile-menu .items .item {
  display: flex;
  justify-content: center;
  margin: auto;
  min-width: 200px;
  width: 80%;
}
#menu #mobile-menu .items a {
  color: #555;
}

#menu-curtain {
  background: rgba(0, 0, 0, 0.2);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

.content {
  transition: opacity 0.25s;
}
.content img,
.content video,
.content audio,
.content table,
.content iframe {
  display: block;
  margin: 0.5rem auto;
  max-width: 80%;
  border-radius: 10px;
  table-layout: fixed;
}
.content .copycode {
  color: #5c6b72;
  position: absolute;
  right: 0;
  top: 0;
}
.content .copycode:hover {
  opacity: 0.8;
}
.content .copycode i {
  padding: 15px;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.25s;
}
.content .copycode.copied i {
  transform: scale(1.25);
}
.content .copycode.copied i:first-child {
  opacity: 0;
}
.content .copycode:not(.copied) i:last-child {
  opacity: 0;
}

.code-content {
  margin-top: 2.5rem;
  font-size: 13px;
  line-height: 2;
  overflow: auto;
  padding: 50px 30px 20px;
  white-space: pre;
  font-family: "Fira Code", "Noto Sans SC", monospace;
}
.code-content .hljs-ln-numbers {
  border-right: 1px solid #ccc;
  color: #ccc;
  padding-right: 10px !important;
  text-align: right;
  vertical-align: top;
  min-width: 2.5em;
}
.code-content .hljs-ln-code {
  padding-left: 20px !important;
}
.code-content tr td::selection {
  background-color: rgba(151, 194, 231, 0.6039215686);
  color: rgba(207, 115, 181, 0.8117647059);
}

.language {
  background: linear-gradient(to right, #ed6ea0 0%, #ec8c69 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 1px 1px 0.75rem rgba(237, 110, 161, 0.3019607843);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  left: 30px;
  padding: 10px 15px;
  position: absolute;
  top: 0;
  font-family: "Fira Code", "Noto Sans SC", monospace;
}

.icon {
  color: #5c6b72;
  margin-right: 5px;
}

.input {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 50px;
  box-sizing: border-box;
  color: #000;
  display: block;
  font-size: 15px;
  height: 50px;
  text-indent: 20px;
  transition: background 0.25s, border 0.25s, box-shadow 0.25s;
  width: 100%;
  font-family: "Fira Code", "Noto Sans SC", monospace;
}
.input:hover {
  background: #fff;
}
.input:focus {
  background: #fff;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3019607843);
  outline: none;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.slide-enter-active, .slide-leave-active {
  transition: margin-top 0.3s, opacity 0.3s;
}
.slide-enter-from, .slide-leave-to {
  margin-top: -300px;
  opacity: 0;
}

.into-enter-active {
  transition: opacity 0.5s, transform 0.5s;
}

.into-enter-from {
  opacity: 0;
  transform: scale(1.1);
}

@keyframes loop1 {
  from {
    transform: rotate(30deg);
  }
  to {
    transform: rotate(390deg);
  }
}
@keyframes loop2 {
  from {
    transform: rotate(60deg);
  }
  to {
    transform: rotate(420deg);
  }
}
@keyframes loop3 {
  from {
    transform: rotate(90deg);
  }
  to {
    transform: rotate(450deg);
  }
}
@keyframes loop4 {
  from {
    transform: rotate(120deg);
  }
  to {
    transform: rotate(480deg);
  }
}
@media (max-width: 900px) {
  ul,
  ol {
    padding-left: 20px;
  }
}
@media (min-width: 900px) {
  ul,
  ol {
    padding-left: 40px;
  }
  .home-posts-wrap-no-card #home-posts {
    margin: auto;
  }
}
.quote {
  position: absolute;
  z-index: 9999;
  font-weight: bold;
  opacity: 1;
  font-size: 0.8rem;
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(176, 165, 233, 0.3);
  pointer-events: none;
  transform-origin: center;
  user-select: none;
}

@keyframes quote-float {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--start-rotate)) scale(1);
  }
  40% {
    opacity: 1;
    transform: translate(0, -30px) rotate(var(--start-rotate)) scale(1.05);
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(var(--end-x), var(--end-y)) rotate(var(--end-rotate)) scale(0.9);
  }
}
#image-preview {
  background: rgba(128, 121, 180, 0.249);
  display: none;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
  box-sizing: border-box;
}
#image-preview img {
  transition: transform 0.1s ease-out;
  position: absolute;
}

#game_card {
  max-width: 95%;
}

b,
strong {
  font-weight: bold;
  line-height: 2.5;
}

blockquote {
  background: rgba(217, 232, 255, 0.4196078431);
  border-left: 3px solid #1e3e3f;
  border-radius: 3px;
  margin: 15px 0;
  overflow: auto;
  padding: 0 15px;
}

code {
  background: rgba(189, 220, 247, 0.4196078431);
  border-radius: 4px;
  line-height: 2.5;
  padding: 4px 8px;
}

hr {
  border-style: dashed none none;
  border-width: 1.5px;
}

mark {
  background: rgba(255, 241, 51, 0.3764705882);
  border-radius: 4px;
  color: unset;
  line-height: 2.5;
  padding: 4px 8px;
}

p,
ul,
ol {
  line-height: 1.7;
  margin: 15px 0;
}

pre {
  border: 1px solid #ebeef5;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1019607843);
  margin: 25px 0;
  overflow: hidden;
  white-space: normal;
  font-family: "Fira Code", "Noto Sans SC", monospace;
}

table:not(.hljs-ln) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table:not(.hljs-ln) td:nth-child(even) {
  background: rgba(199, 224, 251, 0.3019607843);
}
table:not(.hljs-ln) td:nth-child(odd) {
  background: rgba(217, 232, 255, 0.3019607843);
}
table:not(.hljs-ln) th {
  background: #a3ddfb;
}
table:not(.hljs-ln) tr th,
table:not(.hljs-ln) tr td {
  border-radius: 3px;
  padding: 10px 20px;
}

ul li,
ol li {
  margin: 8px 0;
}

audio,
button,
iframe,
img,
video,
#home-head,
#menu,
.categories-tags a,
.copycode,
.friend-link a,
.go-post,
.hljs-ln-numbers,
.icon-link a,
.katex,
.language,
.page-current {
  user-select: none;
}