@charset "utf-8";
/* CSS Document */
// 移动设备最大宽度
@mobile-max-width: 768px;
// 平板最小宽度
@table-min-width: 769px;
// 笔记本电脑最小宽度
@laptop-min-width: 1024px;
// 桌面设备最小宽度
@desktop-min-width: 1216px;
// 显示器最小宽度
@display-min-width: 1700px;
// 宽屏设备最小宽度
@widescreen-min-width: 2200px;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

body > .footer, body > .navbar, body > .section {
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.navbar-above {
  transform: translateY(-100%);
}

.load-block {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.card, .load-block {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center top;
}

.tips {
  margin-bottom: -0.6rem;
  background-color: rgb(221 234 255 / 90%) !important;
  padding: 0.8rem;
  border: none !important;
  color: var(--theme) !important;
  font-size: 1.15em;


  &::before {
    content: "\f2a2";
    font: normal normal normal 14px/1 remixicon;
    margin-right: 0.5rem;
    font-size: 1.2em;
  }

  .click-close {
    margin-left: 5px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.2em;
    float: right;

    &:hover {
      color: #333;
    }
  }
}

html {
  box-sizing: border-box;
  font-size: 14px;
  background-color: var(--bg-f);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  min-width: 300px;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;

  &.loaded {
    body > .footer, body > .navbar, body > .section {
      opacity: 1;
    }

    .navbar-above {
      transform: translateY(0);
    }

    .card, .load-block {
      opacity: 1;
      transform: none;
    }
  }

  &.pjax-loading .column-main .card, &.pjax-loading .load-block {
    opacity: 0.8;
    transform: scale(0.8);
    transform-origin: center top;
  }

  &.disable-scroll {
    overflow: hidden
  }

  &:not(.disable-scroll) {

    body.move-up .navbar-above {
      transform: translate3d(0, -100%, 0);
    }

    .actions.show {
      right: 16px;
    }
  }

  &.clean {
    background-color: var(--style-a);

    .card {
      box-shadow: none;
      border: 1px solid var(--light-b);
      background: none;

      &:hover {
        background: none;
      }
    }

    .footer {
      backdrop-filter: none;

      &:before {
        content: none;
      }
    }

    .pagination-link:not(.is-current), .pagination-previous, .pagination-next {
      box-shadow: none;
      border: 1px solid var(--light-b);
    }
  }
}

body {
  margin: 0 !important;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  display: flex;
  font-size: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: overlay;

  &::-webkit-scrollbar-thumb {
    background: var(--theme);
    background-image: -webkit-linear-gradient(45deg, hsla(0, 0%, 100%, 0.4) 25%, transparent 0, transparent 50%, hsla(0, 0%, 100%, 0.4) 0, hsla(0, 0%, 100%, 0.4) 75%, transparent 0, transparent);
  }

  &:before {
    content: '';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 1s;
    background-size: cover !important;
  }

  &:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10;
    pointer-events: none
  }
}

::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(160, 160, 160, .2);
  border-radius: 2em;
}

::-webkit-scrollbar-track {
  background: 0 0;
  border-radius: 2em;
}

::-moz-selection {
  color: #fff;
  background: var(--theme)
}

::selection {
  color: #fff;
  background: var(--theme)
}

input[type=text] {
  -webkit-appearance: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500
}

iframe {
  display: block;
  border: 0;
  margin: 0 auto
}

textarea {
  font-size: 14px;
  resize: none;
  -webkit-appearance: none
}

li, ol, ul {
  list-style: none
}

img {
  border: 0;
  vertical-align: middle;
}

img:not([src]), img[src=""] {
  border: 0;
  opacity: 0
}

canvas, svg {
  vertical-align: middle
}

button {
  cursor: pointer;
  -webkit-appearance: none;
  font-size: 13px
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

blockquote, body, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, html, iframe, legend, li, ol, p, pre, textarea, ul {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: 500;
  margin-bottom: 10px;
}

button, input, select {
  margin: 0;
}

audio {
  max-width: 100%;
}

body, button, input, select, textarea {
  font-family: "Dream Font", BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

code, pre {
  -moz-osx-font-smoothing: auto;
  font-family: monospace;
}

section {
  flex: 1;
}

a {
  color: var(--theme);
  cursor: pointer;
  text-decoration: none;
  word-break: break-all;

  &:hover {
    color: var(--dark-c);
  }
}

code {
  background-color: #f5f5f5;
  color: #ff3860;
  font-size: .875em;
  font-weight: 400;
  padding: .25em .5em;
}

hr {
  background-color: var(--light-b);
  border: none;
  display: block;
  height: 1px;
  margin: 11.2px 0;
}

input[type=checkbox], input[type=radio] {
  vertical-align: baseline;
}

small {
  font-size: .875em;
}

span {
  font-style: inherit;
  font-weight: inherit;
}

strong {
  font-weight: 700;
}

fieldset {
  border: none;
}

pre {
  -webkit-overflow-scrolling: touch;
  background-color: #f5f5f5;
  color: var(--main);
  font-size: .875em;
  overflow-x: auto;
  white-space: pre;
  word-wrap: normal;
  padding: 1.25rem 1.5rem;

  code {
    background-color: transparent;
    color: currentColor;
    font-size: 1em;
    padding: 0;
  }
}

table td, table th {
  vertical-align: top;
}

.container {
  flex-grow: 1;
  margin: 0 auto;
  position: relative;
  width: auto;
}

.canvas_effects {
  position: fixed;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  &.universe {
    background: radial-gradient(1600px at 70% 120%, #212750 10%, #020409 100%);
  }

  &.night {
    display: none;
  }
}

/** 通用样式 开始 */
.tag {
  align-items: center;
  background-color: var(--bg-c);
  border-radius: 4px;
  color: var(--dark-c);
  display: inline-flex;
  font-size: .75em;
  height: 2em;
  justify-content: center;
  line-height: 1.5;
  padding-left: 0.75em;
  padding-right: 0.75em;
  white-space: nowrap;
}

.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  display: inline-flex;
  font-size: 1rem;
  height: 2.25em;
  justify-content: flex-start;
  line-height: 1.5;
  padding: calc(.375em - 1px) calc(.625em - 1px);
  position: relative;
  vertical-align: top;

  &.is-link {
    border-color: transparent;
    color: #fff;
    background-color: var(--theme);

    &:hover {
      opacity: 0.8;
    }
  }

  &.is-rounded {
    border-radius: 290486px;
    padding-left: 1em;
    padding-right: 1em;
  }

  &.is-transparent {
    background: 0 0;
    border-color: transparent;
    color: var(--dark-c);

    &.is-hovered, &:hover {
      background-color: var(--bg-c);
    }
  }

  &.is-large {
    font-size: 1.5rem;
  }
}

.level {
  align-items: center;
  justify-content: space-between;

  &-item {
    display: flex;
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
  }
}

.title {
  color: var(--dark-c);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;

  .top {
    background-image: -webkit-linear-gradient(0deg, rgb(57 169 255 / 80%) 0, rgb(155 79 255 / 80%) 100%);
    border-radius: 2px 6px;
    color: #fff;
    padding: 0 6px;
    font-size: 12px;
    line-height: 20px;
    vertical-align: 3px;
    margin-right: 5px;
    display: inline-block;
    user-select: none;
  }
}

.is-invisible {
  visibility: hidden !important;
}

.image {
  display: block;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.8rem;
  flex-shrink: 0;

  li {

    i {
      margin-right: 3px;
    }

    &:not(:first-child)::before {
      content: "/";
      color: var(--light-d);
      padding: 0 5px;
    }
  }
}

.has-link-grey {
  line-height: 1.85rem;
  color: var(--theme);
  background-image: linear-gradient(transparent calc(100% - 1px), var(--theme) 1px);
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: all .35s ease-in-out;

  &:hover {
    color: var(--theme) !important;
    background-size: 100% 100%;
  }
}

.is-hidden-all {
  display: none !important;
}

.card:not(.is-hidden-all) ~ .card {
  margin-top: 1.4rem !important;
}

.indent {
  text-indent: 2em;
}

.dream-emoji {
  width: 1.4em;
  height: 1.4em;
  margin: auto 1px;
  vertical-align: text-bottom;
}

.menu-list {
  line-height: 1.25;

  a {
    border-radius: 2px;
    color: var(--main);
    display: block;
    padding: 0.5em 0.75em;

    &:hover {
      background-color: var(--bg-c);
    }

    &.level {
      display: flex;
    }

    &.is-active {
      background-color: var(--bg-e);
      color: var(--light-a);
    }
  }

  i {
    margin-right: 0.5em;
  }

  li ul {
    margin: 0.5em 0 0.75em 0.75em;
    padding-left: 0.5em;
    border-left: 1px solid var(--light-c);
  }

  & > li > a:not(.is-active) + .menu-list {
    display: none;
  }
}

.expand-done {
  background: var(--bg-k);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  height: 1.8rem;
  cursor: pointer;

  i {
    display: inline-block;
    color: var(--dark-b);
    font-size: 1.6rem;
    animation: code-expand 2.4s infinite;
    text-shadow: 0 -1px 5px var(--light-d);
    transition: all 0.3s;
  }
}

.fold {
  max-height: 320px;

  .expand-done {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgb(77 77 77 / 40%));

    i {
      transform: rotatex(180deg);
    }
  }
}

.loading::after {
  content: '';
  display: block;
  width: 70px;
  height: 70px;
  margin: 12px auto;
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM0MDllZmYiPg0KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiIHN0cm9rZS13aWR0aD0iMiI+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI1IiBjeT0iNTAiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICB2YWx1ZXM9IjUwOzU7NTA7NTAiDQogICAgICAgICAgICAgICAgICAgICBjYWxjTW9kZT0ibGluZWFyIg0KICAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+DQogICAgICAgICAgICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giDQogICAgICAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMi4ycyINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTsyNzs0OTs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSIyNyIgY3k9IjUiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSI1IiB0bz0iNSINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTs1MDs1MDs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSIyNyIgdG89IjI3Ig0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSIyNzs0OTs1OzI3Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI0OSIgY3k9IjUwIiByPSI1Ij4NCiAgICAgICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI1MDs1MDs1OzUwIg0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgZnJvbT0iNDkiIHRvPSI0OSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI0OTs1OzI3OzQ5Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.bg-shadow:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}

/** 通用样式 结束 */
#dprogress {
  pointer-events: none;
  user-select: none;
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;

  .bar {
    background: var(--theme);
    box-shadow: 0 0 10px 1px var(--theme);
    height: 100%;
  }
}

.logo-title {
  font-size: 1.5em;
  color: var(--theme) !important;

  img {
    max-height: 2rem;
  }
}

.logo-img-dark {
  display: none;
}

.navbar {

  &-above {
    position: fixed;
    top: 0;
    z-index: 6;
    width: 100%;
    background-color: var(--background);
    transition: all 0.5s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);

    .container {
      display: flex;
      align-items: center;
    }

    .navbar-item {
      display: flex;
      align-items: center;
      padding-right: 0.75rem;
      flex-grow: 0;
      flex-shrink: 0;
      color: #4a4a4a;
      line-height: 1.5;
      position: relative;
    }

    .navbar-nav {
      display: flex;
      align-items: center;

      .item {
        cursor: pointer;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
        height: 3.5rem;
        line-height: 3.5rem;
        font-size: 15px;
        padding: 0 8px;
        margin-right: 10px;
        user-select: none;
        white-space: nowrap;
        color: var(--title);
        transition: color 0.35s;

        > i {
          display: inline-block;
          margin-right: 4px;
          font-size: 18px;
          transition: transform 0.5s;
        }

        &:last-child {
          margin-right: 0;
        }

        &::after {
          opacity: 0;
          position: absolute;
          bottom: 0;
          left: 6px;
          right: 6px;
          content: "";
          height: 3px;
          transform: scaleX(0.25);
          background: var(--theme);
          border-radius: 6px 6px 0 0;
          transition: opacity 0.5s, transform 0.5s;
        }

        &.current {
          color: var(--theme);

          &::after {
            opacity: 1;
            transform: scaleX(1);
          }

          &:hover::after {
            opacity: 1;
            transform: scaleX(1);
          }
        }

        &:hover {
          color: var(--theme);

          &::after {
            opacity: 0.3;
            transform: scaleX(0.7);
          }

          & + .joe-icon-arrow-down {
            color: var(--theme) !important;
          }
        }
      }

      &.active-shadow {
        .item.current {
          text-shadow: 0 4px 20px var(--theme);
        }
      }

      &.active-animate {
        .item:hover .m-icon {
          animation: dung 0.3s 0.12s ease;
        }
      }

      .item-dropdown {
        margin-right: 15px;

        &-link {
          a {
            height: 50px;
            line-height: 50px;
            font-size: 15px;
            padding-left: 8px;
            padding-right: 3px;
            transition: color 0.35s;
            white-space: nowrap;
            color: var(--main);
          }
        }

        &-menu {
          min-width: 90px;
          max-width: 200px;
          text-align: center;

          a {
            display: block;
            height: 34px;
            margin-right: 0;
            line-height: 34px;
            color: var(--main);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 15px;
            transition: color 0.35s, background 0.35s;

            &::after {
              display: none;
            }

            &:hover,
            &.current {
              color: var(--theme);
              background: var(--bg-a);
            }
          }
        }

        .item:hover:after {
          display: none;
        }

        &.active {
          .item-dropdown-link {

            a,
            i {
              color: var(--theme) !important;

              &::after {
                display: none;
              }
            }
          }
        }
      }

      .item-sub-li {
        position: relative;
        height: 34px;

        &:hover {
          .item-sub {
            visibility: visible;
            opacity: 1;
            transform: translateX(0) perspective(600px) rotateY(0);
          }
        }
      }

      .item-sub {
        visibility: hidden;
        z-index: 10;
        transform-origin: top;
        opacity: 0;
        position: relative;
        left: 100%;
        top: -34px;
        padding-left: 7px;
        box-shadow: 7px 3px 8px 0px rgba(0, 0, 0, 0.15);
        border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
        transform: translateX(-20%) perspective(600px) rotateY(-45deg);
        transition: opacity 0.35s, visibility 0.35s, transform 0.35s;

        &::before {
          position: absolute;
          top: 10px;
          left: 0;
          content: "";
          transform: translateX(-50%);
          width: 0;
          height: 0;
          border: 7px solid transparent;
          border-right-color: var(--theme);
        }

        &::after {
          position: absolute;
          top: 0;
          left: 7px;
          content: "";
          width: 2px;
          height: 100%;
          background: var(--theme);
        }

        li {
          background: var(--bg-d);
        }
      }
    }

    &.solid {
      backdrop-filter: unset;
      box-shadow: unset;
      border-bottom: 1px solid var(--light-b);
    }
  }


  .navbar-search {

    .submit {
      width: 50px;
    }

    &-mobile .submit {
      width: 80px;
    }

    .result {
      position: absolute;
      z-index: 2;
      top: 55px;
      left: 0;
      right: 0;
      user-select: none;
      visibility: hidden;
      overflow: hidden;
      opacity: 0;
      background: var(--bg-d);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
      border-radius: var(--radius-inner);
      transition: visibility 0.35s, opacity 0.35s, transform 0.35s;
      transform: translate3d(0, 15px, 0);

      &.active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
      }

      .item {
        height: 40px;
        line-height: 40px;
        display: flex;
        align-items: center;
        overflow: hidden;
        padding: 0 10px;
        border-bottom: 1px solid var(--light-b);
        transition: background 0.35s;

        &:last-child {
          border-bottom: none;
        }

        &:nth-child(1) .sort {
          background: #fe2d46;
        }

        &:nth-child(2) .sort {
          background: #f60;
        }

        &:nth-child(3) .sort {
          background: #faa90e;
        }

        &:hover {
          background: var(--bg-a);
        }

        .sort {
          color: #fff;
          background: #7f7f8c;
          width: 18px;
          height: 18px;
          line-height: 18px;
          border-radius: 2px;
          text-align: center;
          margin-right: 8px;
          font-weight: 500;
        }

        .text {
          flex: 1;
          min-width: 0;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          color: var(--dark-a);
          font-size: 12px;
        }

        .views {
          color: var(--seat);
          font-size: 12px;
          margin-left: 5px;
        }
      }
    }
  }


  .navbar-search,
  .navbar-search-mobile {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;

    .input {
      background: var(--bg-a);
      width: 170px;
      height: 34px;
      border: 1px solid transparent;
      padding: 0 14px 0 16px;
      color: var(--dark-a);
      transition: width 0.35s, border-color 0.35s, padding-right 0.35s;
      border-radius: 17px 0 0 17px;

      &:focus {
        background: var(--light-a);
        border-color: var(--theme);
        padding-right: 28px;
        width: 170px;

        ~ .icon {
          transform: translate3d(0, -50%, 0) rotateY(180deg);
        }
      }
    }

    @keyframes swag {
      0% {
        transform: rotate(-10deg);
      }

      50% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(10deg);
      }
    }

    .submit {
      position: relative;
      z-index: 1;
      height: 34px;
      color: #fff;
      border: none;
      background: var(--theme);
      border-radius: 0 17px 17px 0;

      i {
        transform-origin: right bottom;
        font-size: 18px;
      }

      &:hover i {
        animation: swag 0.3s ease infinite alternate;
      }
    }

    .icon {
      position: absolute;
      top: 50%;
      right: 44px;
      width: 28px;
      height: 38px;
      background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAmCAYAAADX7PtfAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAHKElEQVRYw93Xe3DNdxrH8ecXiSK7i1qWFWW3rekiE2x3VEemtkkVVbWy4jY6atma2YpS6rJoozvbpRF1qW1EEYIk5xZE5EKE3CQi0SB30VwEIeeWnDi3nPf+kUNTE1R3mNn945n5nZkz8zrP53y/39/3EUCeZsn/HCgi80Rky1MDn/H2vjB6SpBVRMb9V6CI+InIBhE58bOez5b9xm9E0wu//0NTr/4+9SKyX0TGicjiP320kpBd+xCRv/0kUFEUf49OnfJGBwWzWn3UcfCGSa8xO1zxFoi3gLbJyZb8S/QeOIhRb0/hiA1GvjkREfF9bFBEQv0C3ySyrIaEO5DjaCXFYkdttKEyWFEbrKiNNjRmBztLrrIqVsfAYb507tJVryjKi48FisiK8Qs/IL4FVEYbOTY7l3FSjJNCp4PDpnZoOzi+BSKKq+j3wostiqK8/KPBv27+6pja9H03uXYHl3FwyeWgGCcFTscPwXalMdnZU1VPn4GDTCLS90eB2ibHHpXRhtpgRWWwkmqxU4yTEpwcvaUno7kZ7f1dtitds4tVcYcRkZMiskhRlCEPBdUG2/a7oNpoQ2Oyc8zUwrsp+QREp7CxpA6N0YbaaENtvBtrW2lMdsIy8xn00u/4aPly9h04QEBgICKy+oGgymiNUBltaN2xflxwlUmqdArKvyX0RBZf1ejbge5y/zi10cbg4SO4Ul3N8dRUqmprcQETJ01CUZQxHXdotH+jMtpYdLact9RniMzOxX6rDAzlrEzOIKLO+EPMXRqTnbCs88yePQuA18aOpWuPXuyIiKCouBgROfQA0Bq1tqiGsPRsMFbiaigBfQXoy1mZnMnOa6YOMBsHb7ewKbuAWTNnAhAQGEjPPn3JyMmh2W5HUZScDkGd0b5/RuoFqmtLiNj8GSLCxcwEMFTw95RM/l1ruBepxtTW2YKMYiYdPouuycHg4SOpqa8nTqPhclkZDuBcYSEiEtMxaLZHByXmU1qUiYeHByLCsZhIMFayPfMs/yy9TrzZQZzByqeX6pigzSLqbB5z4k+jNTvYcCqbvj4++i/Cwi7kFZxvidq/3+UzYAAi8l6HYLzZfiAoIZfoiHBEBBGhNDcZ9BXkln5LoCaLoMR8punOsCM7j8b6EjBWsDjxDHtuNKE1O9h95RrT14QyJngm01at48u8IkTktPtg6da9e/dffb8PTXbVVG0mqRva4pw8PgBMV6CxHBrLuVhZRMO1Ypw3LrPt8zXYrl8CfTmrUzL5ut2C0jY50TW3om1yEm+B/oNf0rvBYfPff//59pEefUd9BtKPU5oQS+vtMmgsx3W7DJf7GfNV5kyfgoiQpNoNxko+Tsog8u6Cuu8wiLfAb/2Gt7hBRUR6tAdTpmozQV/etjrbYXfBxspzKEpb3MU5x8FYwUxdOirDfXvTvT+1TU569vt17YP+w+RJ0ae4WdUWlcsdJfqKtmd9BWcSDiIijHvdH8xVVFdfYmpiPjqznQP1BmIamu6dRBqTnfCcQkQkukPQPyZdNToqzfZWaLKzuvwiGCpoLcrAnqS917G1/iKfL5iLMUkH3xWiK8hnWX4Vhy0uJi9ayqpYHRqzo+1stbgIePc9u4i83iE4O7128cvRp1mRZ2Hy+qRWQ25aW2d1RW0x3+04/zScTITcNJYmZxFxzcj+2lsM8vUjrrHlXrRR1Q107tLlYodnqaIo2iHDhlp8g+bzaSkcqbO0xiXn80boCdbtOkXuuUJuVRdjqbuI42YxNXmpLFkwh6FvTOCoDdeYP09nVazOpWtuRW20oWtu5Z0PlyMiwR2CIrJbG7WNyPD1DBrxCoEh61snhEYwcc1WXvnLelffgOX6gcE7VN1+3sM2cuwfEU9PRCRtftgWQnbupVf/AQSvXMta3TE0ZgeHbprx7tGz6oGvJxHx8vDyOr35sxWYrp4n8VAEsZGbiNsVTvy+7TzXr0+j+3sHRkx4G1GUnc90885bGhWDh4dHlqIo10Xk9oqDanQWF/M3bUVEPnjo+/CTEkJeXbgOX9+h/GPlIrR7t3I8difHYiLp3evZanf03iIyQkR6iKcXnl6dTymK0lVRFD8RmTpj7XqO2mDIq/6ISM+HgicbnPM+r4TVhS1M26IhYNlGxixcg4hiFpHnOrjd/fL+z8P8XyPmtoVOXl6Zj7xinLrpnLux3EXaDQff1ED4dxD8ZRwisvYxbuHquf8KR0Q2PRJcdcm5JL3BwR2blRablVZg1KhRLkVRej8GOFg6dUJEFj0S3F3NYpPVRrPNSovDweGEBERkx0+YNWYoivL8I8E7Tue8O04nFrsdBzDG3x8R8Xli01NISMiSrdu2kZGTzd7oaERk7xMd12ZFJC0b/8nX9Brsh4ikiUj3Jwpes/Ph3qzLeHb7RbGIeD7xgfRIQsIyH5/+RkVR+j+VCXjkyJHdFEXx/r+b8f8DZyW8Jd6/P38AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDItMjBUMTE6NTI6MjQrMDA6MDA4bfPmAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAyLTIwVDExOjUyOjI0KzAwOjAwSTBLWgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=);
      background-size: 100% 100%;
      transition: transform 0.35s;
      transform: translate3d(100%, -50%, 0) rotateY(180deg);
    }
  }

  .navbar-search-mobile {
    input {
      flex: 1;
      width: 100%;
    }
  }

  &-slideicon {
    display: none;
    cursor: pointer;
    font-size: 23px !important;
    color: var(--main);
  }

  &-searchicon {
    display: none;
    cursor: pointer;
    font-size: 23px !important;
    color: var(--main);
    margin-left: auto;
  }

  &-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.35s, opacity 0.35s;

    &.active {
      visibility: visible;
      opacity: 1;
    }

    &.slideout {
      z-index: 6;
    }
  }

  &-slideout {
    visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    width: 78%;
    max-width: 480px;
    background: var(--bg-b);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.35s, visibility 0.35s;

    &-wrap {
      position: relative;
      padding: 35px 15px 15px;
      height: 100%;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    &.active {
      visibility: visible;
      transform: translate3d(0, 0, 0);
    }

    &-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 150px;
      object-fit: cover;
      z-index: -1;
    }

    &-author {
      margin-bottom: 15px;

      .avatar {
        width: 50px;
        height: 50px;
        margin: 10px auto;
        display: block;
        border-radius: var(--radius-inner);
      }

      .info {
        overflow: hidden;
        line-height: 25px;
        text-align: center;
        display: block;

        .level {
          height: 23px;
          margin-left: 2px;
        }

        .link,
        .motto {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        .link {
          display: block;
          font-size: 15px;
          font-weight: 500;
          color: var(--main);
        }

        .motto {
          font-size: 12px;
          color: var(--main);
        }
      }
    }

    &-menu {
      background: var(--light-a);
      padding: 10px 15px;
      border-radius: var(--radius-wrap);
      overflow: hidden;
      box-shadow: var(--box-shadow);

      &:not(:last-child) {
        margin-bottom: 15px;
      }

      &.is-toc {
        display: none;
      }

      .menu-list > li > a:not(.is-active) + .menu-list {
        display: block;
      }

      .item {
        display: flex;
        align-items: center;
        color: var(--main);
        padding: 5px 0;

        i {
          color: var(--main);
          margin-right: 5px;
        }

        strong {
          font-weight: 500;
          color: var(--theme);
        }
      }

      .link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        color: var(--main);
        transition: color 0.15s;

        a {
          transition: color 0.15s;
          color: var(--main);
        }

        i {
          color: var(--dark-b);
          transition: transform 0.15s, fill 0.15s;
        }

        &.in {
          color: var(--theme);

          a {
            color: var(--theme);
          }

          i {
            color: var(--theme);
            transform: rotate(90deg);
          }
        }
      }

      .current {
        a {
          color: var(--theme);
          font-weight: 500;
          font-size: 15px;
        }
      }

      .slides {
        display: none;
        border-left: 1px solid var(--light-b);
        padding-left: 15px;

        .link {
          color: var(--main);
        }

        .current {
          color: var(--theme);
          font-weight: 500;
          font-size: 15px;
        }
      }
    }

    &.slideout-toc {
      .not-toc {
        display: none;
      }

      .is-toc {
        display: block;
      }
    }
  }

  &-searchout {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    z-index: 5;
    background: var(--background);
    transform: translate3d(0, -100%, 0);
    transition: transform 0.35s, visibility 0.35s;
    visibility: hidden;

    .search-container {
      padding: 10px 15px !important;
      flex-direction: row;
    }

    &.active {
      visibility: visible;
      transform: translate3d(0, 0, 0);
    }

    &-inner {
      padding: 15px 0;
      width: 100%;

      .search {
        width: 100%;
        display: flex;
        align-items: center;

        input {
          flex: 1;
          height: 36px;
          padding: 0 10px;
          border: 1px solid var(--light-b);
          border-right: none;
          border-radius: 2px 0 0 2px;
          color: var(--main);
          background: var(--bg-a);
        }

        button {
          padding: 0 16px;
          height: 36px;
          border: none;
          background: var(--theme);
          color: #fff;
          border-radius: 0 2px 2px 0;
        }
      }

      .tag-search {
        color: var(--main);
        padding: 14px 0 10px;
        font-size: 14px;
        display: flex;
        align-items: center;

        i {
          margin-right: 5px;
        }
      }

      .cloud {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -5px -5px;
        max-height: 250px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;

        .item {
          padding: 4px;

          a {
            display: block;
            padding: 0 10px;
            height: 24px;
            line-height: 24px;
            border-radius: 2px;
            font-size: 12px;
            color: #fff;
          }
        }
      }
    }
  }
}

.swiper {
  border: none !important;

  &-initialized {
    &:hover {
      .swiper-button-next {
        opacity: 1;
        right: 10px;
      }

      .swiper-button-prev {
        opacity: 1;
        left: 10px;
      }
    }
  }
}

.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

.swiper-pointer-events {
  touch-action: pan-y;

  &.swiper-vertical {
    touch-action: pan-x;
  }
}

.swiper-slide {
  flex-shrink: 0;
  position: relative;
  padding-bottom: 40%;
  overflow: hidden;
  transition: none !important;

  &-details {
    width: 100%;
    position: absolute;
    bottom: 15%;
    padding: 0 50px;
    color: #f5f5f5;

    &-title {
      text-align: center;
      font-size: 1.5rem;
      font-weight: 600;
      text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
      line-height: 1.5;
      word-break: break-all;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }

    .breadcrumb {
      font-size: 1rem;
      justify-content: center;
    }
  }
}

.swiper-slide-invisible-blank {
  visibility: hidden;
}

/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}

.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

.swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }

  & > .swiper-slide {
    scroll-snap-align: start start;
  }
}

.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

.swiper-vertical.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: y mandatory;
}

.swiper-centered > .swiper-wrapper::before {
  content: '';
  flex-shrink: 0;
  order: 9999;
}

.swiper-centered > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: center center;
}

.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, .1);
  border-radius: 2px;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s;

  &:after {
    font-family: remixicon;
    font-size: 36px;
    margin-left: -4px;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 44px;
  }

  &:hover {
    background: rgba(0, 0, 0, .3);
  }

  &.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
  }
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -15px;
  right: auto;

  &:after {
    content: '\ea64';
  }
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -15px;
  left: auto;

  &:after {
    content: '\ea6e';
  }
}

.swiper-button-lock {
  display: none;
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);

  &.swiper-pagination-hidden {
    opacity: 0;
  }
}

/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 10px;
  left: 0;
  width: 100%;
}

/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;

  .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
  }

  .swiper-pagination-bullet-active {
    transform: scale(1);
  }

  .swiper-pagination-bullet-active-main {
    transform: scale(1);
  }

  .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
  }

  .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
  }

  .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
  }

  .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
  }
}

.swiper-pagination-bullet {
  width: 15px;
  height: 6px;
  display: inline-block;
  border-radius: 8px;
  background: #f6f6f6;
  opacity: 0.2;
  transition: all 0.3s;

  &:only-child {
    display: none !important;
  }

  &-active {
    width: 30px;
    opacity: 1;
    background: #fff;
  }
}

button.swiper-pagination-bullet {
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: 10px;
  top: 50%;
  transform: translate3d(0px, -50%, 0);
}

.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
  display: block;
}

.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  display: inline-block;
  transition: 200ms transform, 200ms top;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}

.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms left;
}

.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition: 200ms transform, 200ms right;
}

/* Progress */
.swiper-pagination-progressbar {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;

  .swiper-pagination-progressbar-fill {
    background: var(--theme);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
  }
}

.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  transform-origin: right top;
}

.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal,
.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
  width: 100%;
  height: 4px;
  left: 0;
  top: 0;
}

.swiper-vertical > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-vertical,
.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
  width: 4px;
  height: 100%;
  left: 0;
  top: 0;
}

.swiper-pagination-lock {
  display: none;
}

/* Scrollbar */
.swiper-scrollbar {
  border-radius: 10px;
  position: relative;
  -ms-touch-action: none;
  background: rgba(0, 0, 0, 0.1);
}

.swiper-horizontal > .swiper-scrollbar {
  position: absolute;
  left: 1%;
  bottom: 3px;
  z-index: 50;
  height: 5px;
  width: 98%;
}

.swiper-vertical > .swiper-scrollbar {
  position: absolute;
  right: 3px;
  top: 1%;
  z-index: 50;
  width: 5px;
  height: 98%;
}

.swiper-scrollbar-drag {
  height: 100%;
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  left: 0;
  top: 0;
}

.swiper-scrollbar-cursor-drag {
  cursor: move;
}

.swiper-scrollbar-lock {
  display: none;
}

.swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.swiper-zoom-container > img,
.swiper-zoom-container > svg,
.swiper-zoom-container > canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.swiper-slide-zoomed {
  cursor: move;
}

.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  animation: swiper-preloader-spin 1s infinite linear;
  box-sizing: border-box;
  border: 4px solid var(--theme);
  border-radius: 50%;
  border-top-color: transparent;
}

.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}

.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}

@keyframes swiper-preloader-spin {
  100% {
    transform: rotate(360deg);
  }
}

/* a11y */
.swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1000;
}

.swiper-free-mode > .swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 auto;
}

.swiper-grid > .swiper-wrapper {
  flex-wrap: wrap;
}

.swiper-grid-column > .swiper-wrapper {
  flex-wrap: wrap;
  flex-direction: column;
}

.swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out;
}

.swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}

.swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

.swiper-cube {
  overflow: visible;
}

.swiper-cube .swiper-slide {
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
  visibility: hidden;
  transform-origin: 0 0;
  width: 100%;
  height: 100%;
}

.swiper-cube .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-cube.swiper-rtl .swiper-slide {
  transform-origin: 100% 0;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-next,
.swiper-cube .swiper-slide-prev,
.swiper-cube .swiper-slide-next + .swiper-slide {
  pointer-events: auto;
  visibility: visible;
}

.swiper-cube .swiper-slide-shadow-top,
.swiper-cube .swiper-slide-shadow-bottom,
.swiper-cube .swiper-slide-shadow-left,
.swiper-cube .swiper-slide-shadow-right {
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.swiper-cube .swiper-cube-shadow {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: 0;
}

.swiper-cube .swiper-cube-shadow:before {
  content: '';
  background: #000;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  filter: blur(50px);
}

.swiper-flip {
  overflow: visible;
}

.swiper-flip .swiper-slide {
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
}

.swiper-flip .swiper-slide .swiper-slide {
  pointer-events: none;
}

.swiper-flip .swiper-slide-active,
.swiper-flip .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

.swiper-flip .swiper-slide-shadow-top,
.swiper-flip .swiper-slide-shadow-bottom,
.swiper-flip .swiper-slide-shadow-left,
.swiper-flip .swiper-slide-shadow-right {
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.swiper-creative .swiper-slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  transition-property: transform, opacity, height;
}

.swiper-cards {
  overflow: visible;
}

.swiper-cards .swiper-slide {
  transform-origin: center bottom;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.banner {
  width: 100%;
  height: 54vh;
  position: relative;
  margin-bottom: -4rem;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKUlEQVQImU3IMREAIAgAwJfNkQCEsH8cijjpMf6vnXlQaIiJFx+omEBfmqIEZLe2jzcAAAAASUVORK5CYII=);
  }

  .banner-info {
    position: absolute;
    color: #fff;
    text-align: center;
    margin: 0 18px;

    &-title {
      font-size: 2.4rem;
      font-weight: bold;
      line-height: 2;
      letter-spacing: 0.6rem;
      text-shadow: rgb(28 31 33) -3px 2px 6px;
    }

    &-desc {
      font-size: 1.4rem;
      line-height: 1.4;
      max-width: 600px;

      &:after {
        content: '_';
        margin-left: 0.3rem;
        animation: flicker 1s steps(2, jump-none) infinite;
      }
    }
  }

  .banner-waves {
    width: 100%;
    height: 4rem;
    position: absolute;
    left: 0;
    bottom: 0;
    fill: var(--background);

    .parallax > use {
      animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;

      &:first-child {
        animation-delay: -2s;
        animation-duration: 7s;
        opacity: 0.9;
      }

      &:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
        opacity: 0.8;
      }

      &:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
        opacity: 0.9;
      }

      &:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
      }
    }
  }
}

.item-dropdown {
  position: relative;

  &-link {
    display: flex;
    align-items: center;

    &-icon {
      transition: transform 0.35s;
      margin-left: -10px;
    }
  }

  &-menu {
    position: absolute;
    left: 50%;
    visibility: hidden;
    z-index: 5;
    border-top: 3px solid var(--theme);
    transform-origin: top;
    background: var(--bg-d);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 var(--radius-inner) var(--radius-inner);
    padding: 10px 0;
    opacity: 0;
    transform: translateX(-50%) perspective(600px) rotateX(-45deg);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s;

    &::before {
      content: "";
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-bottom: 7px solid var(--theme);
    }
  }

  &.active {
    .item-dropdown-link-icon {
      transform: rotate(-180deg);
    }

    .item-dropdown-menu {
      visibility: visible;
      opacity: 1;
      transform: translateX(-50%) perspective(600px) rotateX(0);
    }
  }
}

.model {
  display: flex;
  gap: 1rem;

  .card.widget {
    flex-grow: 1;
    min-height: 140px;
    position: relative;
    background-position: 50% 50% !important;
    background-size: cover !important;

    & + .card.widget {
      margin-top: 0 !important;
    }

    &[style] {
      border: 0;
    }

    &:hover {
      .tag {
        transform: translateX(10px);
      }
    }

    .title {
      width: 100%;
      position: absolute;
      bottom: 10px;
      color: #f6f6f6;
      font-size: 1.15rem;
      font-weight: 600;
      text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
      padding: 0 5px;
      word-break: break-all;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }

    .tag {
      position: absolute;
      top: 10px;
      left: 0;
      color: #f6f6f6;
      font-size: 1rem;
      padding: 2px 12px;
      background: var(--theme);
      transform: translateX(-105%);
      transition: transform 0.2s;
      height: unset;
      line-height: normal;
    }
  }

  &-index {
    display: flex;
    max-width: 100%;
    margin-bottom: 1rem;

    .swiper {
      width: 70%;

      &-slide {
        height: 100%;
      }
    }

    &-side {
      width: 30%;
      flex-direction: column;
    }
  }

  &-attach {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: unset;

    &-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    &-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    &-4 {
      grid-template-columns: repeat(4, 1fr);
    }
  }
}

.section {
  padding: 6rem 0.75rem 3rem 0.75rem;

  .container > .tips {
    margin-bottom: 1rem;
  }

  .card {
    transition: background-color 0.5s ease, opacity 0.3s ease-out, transform 0.3s ease-out, backdrop-filter 0.3s ease-out;
    color: var(--dark-c);
    max-width: 100%;
    position: relative;
    word-wrap: break-word;
    word-break: break-all;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
    background-color: var(--background);
    border-radius: var(--radius-wrap);

    &:hover {
      background-color: var(--background-hover);

      .thumbnail-image, &.card-cover .cover-image, .small-image {
        transform: scale(1.1);
        filter: brightness(0.9);
      }
    }

    & + .column-right-shadow {
      margin-top: 1.4rem;
    }

    &[style="height: 0px;"] {
      display: none;
    }

    &.card-transparent {
      box-shadow: none !important;
      background: 0 0 !important;
      backdrop-filter: none !important;
      border: none !important;
    }

    &-image {
      border-radius: var(--radius-wrap) var(--radius-wrap) 0 0;
    }

    &-tab {
      height: 52px;
      border-bottom: 1px solid var(--light-b);
      margin-bottom: 15px;

      div {
        position: absolute;
        top: 15px;
        left: -10px;
        background: var(--theme);
        color: #fff;
        padding: 0 12px;
        height: 30px;
        line-height: 30px;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 2px 2px 2px 0;
        box-shadow: 2px 5px 10px rgb(49 58 70 / 15%);
        user-select: none;

        &::before {
          content: '';
          position: absolute;
          bottom: -10px;
          left: -10px;
          border-style: solid;
          border-width: 10px;
          border-color: var(--theme) transparent transparent;
          transform: rotate(90deg);
        }
      }
    }

    &-title {
      font-size: 15.4px;
      text-transform: uppercase;
      font-weight: 500;
      border-bottom: 1px solid var(--light-b);
      align-items: center;
      height: 45px;
      line-height: 45px;
      padding: 0 15px;
      display: flex;

      .card-title-label {
        margin-right: 5px;
        font-size: 1.2em;
        color: var(--theme);
      }

      span {
        flex: 1;
      }

      .card-more {
        font-size: 0.9em;
        font-weight: 400;
        color: var(--dark-b);

        i {
          font-size: 1.1em;
        }

        &:hover {
          color: var(--theme);

          i {
            color: var(--theme);
          }
        }
      }
    }

    &-content {
      padding: 0.6rem 1rem 1rem 1rem;

      &.main-title {
        padding: 0.75rem 1.2rem;
        font-size: 1.3rem;

        .breadcrumb {
          font-size: 0.9em;
        }
      }
    }

    &-empty {
      text-align: center;
      font-size: 1.2em;
      padding: 60px 0;
      color: var(--dark-d);

      i {
        display: block;
        font-size: 7em;
      }
    }

    .thumbnail {
      display: block;
      overflow: hidden;

      &-image {
        min-height: 280px;
        width: 100%;
        margin: auto;
        display: block;
        background-position: 50% 50%;
        background-size: cover;
        transition: all 0.5s;
      }
    }

    .cover-image {
      min-height: 360px;
      width: 100%;
      margin: auto;
      position: relative;
      display: block;
      background-position: 50% 50%;
      background-size: cover;
      transition: all 0.5s;
    }

    &.card-cover, .cover-image {
      .category {
        position: absolute;
        font-size: 0.85rem;
        right: 0.7em;
        top: 10px;

        a {
          color: #fff;
          background: rgba(0, 0, 0, 0.3);
          padding: 4px 10px;
          border-radius: var(--radius-inner);

          &:hover {
            color: var(--theme);
          }
        }
      }

      .details {
        position: absolute;
        width: 100%;
        bottom: 0;
        top: auto;
        color: #fff;
        background-image: linear-gradient(0deg, rgba(29, 41, 49, .5), rgba(255, 255, 255, 0));
        padding: 2em 15px 15px;
      }

      .title {
        color: inherit;
        position: relative;
        padding-bottom: 8px;

        &:hover:before {
          width: 60px;
        }

        &:before {
          content: '';
          position: absolute;
          width: 40px;
          height: 3px;
          top: auto;
          left: 0;
          bottom: 3px;
          transition: 0.4s;
          border-radius: 5px;
          background: var(--theme);
          box-shadow: 1px 1px 3px -1px var(--theme);
        }

      }
    }

    &-fold {
      display: flex;
      padding: 0.5em 0.75em;
      justify-content: space-between;
      margin-bottom: -0.7rem;
      border: 1px solid var(--background);

      &:hover {
        border: 1px solid var(--theme);
      }

      .title {
        margin: 0;
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        p {
          display: inline;
        }
      }

      & > p {
        color: var(--dark-b);
        font-size: .8rem;
        min-width: 60px;
        text-align: end;
        align-self: center;
        flex-shrink: 0;
      }
    }

    &-small {
      display: flex;

      & > a {
        width: 34%;
        overflow: hidden;

        &:first-child {
          clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%)
        }

        &:last-child {
          clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
        }
      }

      .small-image {
        height: 100%;
        width: 100%;
        margin: auto;
        background-position: 50% 50%;
        background-size: cover;
        transition: all 0.5s;
      }

      .card-content {
        width: 66%;
      }

      .title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
      }

      .main-content {
        -webkit-line-clamp: 2 !important;
        min-height: 2.5em;
        max-height: 3.3em;
      }
    }

    .title a {
      color: inherit;
    }

    .meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--dark-b);
      font-size: .8rem;
      overflow-x: auto;

      &::-webkit-scrollbar {
        display: none;
      }

      .level-item a {
        color: inherit;

        &:hover {
          color: var(--theme);
        }
      }
    }

    .main {
      padding-top: 1.5rem;
    }

    .post-navigation {
      padding-top: 1rem;
      justify-content: space-around;
      flex-wrap: wrap;

      a {
        flex-shrink: 1;
        color: var(--main);

        &:last-child {
          text-align: right;
        }

        &:hover {
          color: var(--theme)
        }

        i {
          font-size: 1.3em;
          margin: 0 0.5rem;
        }
      }
    }

    .comment-title {
      margin-top: 6px;
      font-size: 1.3em;
      font-weight: 700;

      &:before {
        content: "\ef46";
        font-family: 'remixicon';
        margin-right: 4px;
        color: var(--theme);
        font-weight: 400;
        font-size: 1.15em;
      }
    }
  }

  .columns {
    justify-content: center;
    margin: -0.75rem;

    .column {
      padding: 0.75rem;
      display: block;

      &-left {
        order: 1;
      }

      &-main {
        order: 2;

        &-grid {
          margin: 1rem 0 1.4rem 0;
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, 100%/4)), 1fr));
          gap: 1rem;

          &:first-child {
            margin-top: 0;
          }

          .breadcrumb {
            margin: 15px 0 0 0;
            color: var(--dark-b);
            overflow-x: auto;

            &::-webkit-scrollbar {
              display: none;
            }

            li {
              flex-shrink: 0;
            }
          }

          .card {
            padding: 10px;

            &.widget + .card.widget {
              margin-top: 0 !important;
            }
          }

          .thumbnail {
            border-radius: var(--radius-img);
          }

          .title {
            margin: 8px 0 0 0;
            font-size: 1.3rem;
            line-height: 1.8rem;
            word-break: break-all;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }
        }
      }

      &-right {
        order: 3;
      }
    }
  }
}

.widget {
  overflow: hidden !important;

  &.card {
    .card-empty {
      font-size: 1em;
      font-style: italic;
      user-select: none;
      padding: 24px 0;
      background-color: var(--bg-a);
    }

    .main .main-content {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      text-indent: 1.5em;
      line-height: 1.5em;
    }
  }

  &.profile {
    figure {
      width: 98px;
      height: 98px;
      padding: 4px;
      border-radius: 50%;
      background: var(--light-b);
      margin: 2em auto 0.5em auto;

      .avatar {
        transition: all 2s;
        height: 100%;
        width: 100%;
        border-radius: 50%;

        &:hover {
          transform: rotate(-360deg);
        }
      }
    }

    .nickname {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }

    .motto {
      font-size: 1rem;
      line-height: 1.4;
    }

    .address {
      color: #7a7a7a;
      display: flex;
      justify-content: center;
      font-size: 1rem;
      align-items: center;

      i {
        margin-right: 0.25em;
      }
    }

    .level {
      display: flex;

      &-item {
        flex-grow: 1;
        flex-shrink: 1;
        flex: 1;
        margin: 0 !important;
        text-align: center !important;

        .heading {
          display: block;
          font-size: 11px;
          letter-spacing: 1px;
          margin-bottom: 5px;
          text-transform: uppercase;
        }

        .value {
          color: var(--dark-c);
          font-size: 2rem;
          line-height: 1.125;
          margin-bottom: 0;
          font-weight: 400 !important;
        }
      }

      &:not(:first-child):not(:empty) {
        margin-top: 1.5rem;
      }
    }

    .button i {
      font-size: 16px;
    }
  }

  .ad-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, .25);
    color: #ebebeb;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 16px;
    user-select: none;

    .click-close {
      height: 15px;
      width: 15px;
      stroke: #ebebeb;
      fill: #ebebeb;
      stroke-width: 1.25;
      margin-right: -4px;
      vertical-align: bottom;
      cursor: pointer;

      &:hover {
        stroke: var(--theme);
        stroke-width: 1.5;
      }
    }

  }

  .aplayer {
    background: #00000000;
    box-shadow: none;
    padding: 0.5rem 0;
    margin: 5px 0 0 5px;

    .aplayer-list ol li {
      border-top: 1px solid rgba(180, 180, 180, 0.2) !important;

      &.aplayer-list-light {
        background: rgba(200, 200, 200, 0.2);
      }

      &:hover {
        background: rgba(200, 200, 200, 0.2);
      }

    }

    &.aplayer-withlist .aplayer-info {
      border-bottom: none;
    }

    .aplayer-lrc {
      &:before {
        background: linear-gradient(180deg, #c5c5c52b 0, hsla(0, 0%, 100%, 0)) !important;
      }

      &:after {
        background: linear-gradient(180deg, hsl(0deg 0% 100% / 0%) 0, hsl(0deg 0% 100% / 23%)) !important;
      }
    }
  }

  &.recent-comments {
    li:not(:last-child) {
      margin-bottom: 10px;
      border-bottom: 1px dashed var(--light-b);
      padding-bottom: 10px;
    }

    .user {
      display: flex;
      margin-bottom: 8px;

      & > img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin-right: 8px;
        border-radius: 50%;
        border: 1px solid var(--light-d);
        padding: 3px;
      }

      .info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .author {
          max-width: 150px;
          margin-bottom: 4px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-weight: 600;
          color: var(--main);
        }

        .date {
          font-size: 12px;
          color: var(--dark-b);
        }
      }
    }

    .reply {
      position: relative;
      padding: 5px 10px;
      background: var(--bg-a);
      border-radius: 6px;

      &::before {
        content: "";
        width: 0;
        height: 0;
        border-bottom: 6px solid var(--bg-a);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        position: absolute;
        left: 15px;
        bottom: 100%;
      }

      .link {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        color: var(--dark-b);
        font-size: 13px;
        font-weight: 500;
        line-height: 24px;
        transition: all 0.35s;
        max-height: 48px;

        &:hover {
          color: var(--theme);
        }
      }
    }
  }

  &.recent-posts .card-content {

    .list {
      padding-top: 1px;

      .item {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 20px;

        i {
          color: var(--main);
          transition: transform 0.3s;
        }

        &:hover {
          .link {
            color: var(--theme);

            &:after {
              opacity: 1;
              transform: scaleX(1);
            }
          }

          i {
            transform: rotate(+225deg);
            color: var(--theme);
          }
        }

        &:last-child {
          margin-bottom: 0;
        }

        .link {
          display: inline-block;
          position: relative;
          color: var(--main);
          max-width: 85%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;

          &:after {
            content: "";
            position: absolute;
            bottom: 2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--theme);
            opacity: 0;
            transform: scaleX(0.25);
            transition: all 0.35s;
          }
        }
      }
    }
  }

  &.tags .card-content {
    font-size: 0;

    a {
      width: unset;
      margin: 4px;
      line-height: 1.2;
      overflow: unset;
      text-overflow: unset;
      white-space: unset;
      text-align: left;
      display: inline-block;
      padding: 5px;
      font-size: 13px;
      color: var(--dark-b);
      text-decoration: none;
      background: var(--bg-d);
      border: 1px solid var(--light-c);
      border-radius: 3px;

      &:hover {
        color: var(--theme) !important;
        border-color: var(--theme) !important;
      }
    }
  }

  &.tagcloud .card-content a:hover {
    color: var(--dark-c) !important;
  }

  &.love {
    position: relative;
    color: #fff;
    background: none !important;

    &:before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: -1;
      transition: all 0.3s ease-out;
      background-image: linear-gradient(to right, rgb(255 209 218 / 94%), rgb(255 162 178 / 94%));
    }

    &:after {
      content: 'LOVE';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      z-index: -1;
      color: #ffe0e5;
      font-size: 84px;
      line-height: 84px;
      text-align: center;
      font-weight: 600;
      white-space: nowrap;
      transform: rotate(90deg) translateY(75%);
      transition: all 0.3s ease-out;
    }

    &:hover {
      &:before {
        background-image: linear-gradient(to right, #ffd1da, #ffa2b2);
      }

      &:after {
        transform: rotate(90deg) translateY(60%);
      }
    }

    .card-title {
      border-bottom: 1px solid rgb(255 209 218 / 94%);
    }

    .love-content {
      display: flex;
      margin: 16px 0;
      justify-content: center;
    }

    .level {
      flex: auto;
      display: flex;
      max-width: 520px;

      &-item {
        flex-grow: 1;
      }
    }

    svg {
      width: 36px;
      filter: none;
    }

    .avatar {
      width: 84px;
      height: 84px;
      padding: 4px;
      display: block;
      border-radius: 50%;
      background: #ffd6de;

      &-image {
        transition: all 2s;
        height: 100%;
        width: 100%;
        border-radius: 50%;

        &:hover {
          transform: rotate(-360deg);
        }
      }
    }

    .love-time {
      font-size: 1.1em;
      text-align: center;
      font-weight: 600;
      height: 1.4em;
      line-height: 1.4em;
    }
  }
}

.main-content {
  word-break: break-word;
  color: var(--main);
  font-size: 1.1rem;
  font-weight: 300;

  &.article {
    padding-bottom: 30px;
  }

  *:not(pre) > code {
    font-size: 0.9em;
    color: var(--color-a);
    margin: 0 3px;
    padding: 3px 6px;
    white-space: normal;
    vertical-align: baseline;
    word-break: break-word;
    background: var(--bg-g);
    border-radius: var(--radius-inner);
  }

  h1, h2, h3, h4, h5, h6 {
    color: var(--dark-c);
    margin-bottom: 18px;
    transition: all 0.2s ease-out;
  }

  h1, h2 {
    display: inline;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-g) 0);

    &:before, &:after {
      content: '';
      display: block;
    }

    &:before {
      margin-top: 30px;
    }

    &:after {
      margin-bottom: 20px;
    }
  }

  h1 {
    font-size: 1.45em;
    font-weight: 700;
  }

  h2 {
    font-size: 1.25em;
    font-weight: 600;
  }

  h3, h4, h5 {
    position: relative;
    padding-left: 12px;

    &:before {
      content: '';
      position: absolute;
      top: 10%;
      bottom: 10%;
      left: 0;
      width: 4px;
      border-radius: 2px;
      background: var(--theme);
    }

    &:hover {
      padding-left: 16px;
    }
  }

  h3 {
    margin: 25px 0 18px 0;
    font-size: 1.2em;
    font-weight: 600;
  }

  h4 {
    font-size: 1.1em;
  }

  h5, h6 {
    font-size: 1em;
  }

  h6 {

    &:before, &:after {
      color: var(--theme);
      font-weight: 600;
      transition: all 0.2s ease-out;
    }

    &:before {
      content: '「';
      margin-right: 5px;
    }

    &:after {
      content: '」';
      margin-left: 5px;
    }

    &:hover {
      &:before {
        margin-left: -3px;
        margin-right: 8px;
      }

      &:after {
        margin-left: 8px;
      }
    }
  }

  p {
    line-height: 1.7em;
    margin-bottom: 14px;
  }

  .pwd {
    color: var(--main);
    border-radius: 2px;
    transition: all .3s;
    background: var(--main);
    font-family: Ubuntu, sans-serif;

    &:hover {
      color: #FFF;
    }
  }

  .note {
    text-indent: 2em;
    background: url(../img/wordline.webp);
    background-size: auto 2.5rem;
    line-height: 2.5rem;
  }

  blockquote {
    line-height: 1.7em;
    margin-bottom: 14px;
    padding: 8px 15px;
    color: var(--dark-b);
    background: var(--bg-h);
    border-left: 5px solid var(--theme);
    border-radius: var(--radius-inner);

    & > :not(:last-child) {
      margin-bottom: 4px !important;
    }

    & > :last-child {
      margin: 0 !important;
    }
  }

  a:not([class]) {
    line-height: 1.7em;
    color: var(--theme);
    background-image: linear-gradient(transparent calc(100% - 1px), var(--theme) 1px);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: all .35s ease-in-out;

    &:hover {
      color: var(--theme);
      background-size: 100% 100%;
    }
  }

  ol,
  ul {
    margin-bottom: 14px;
    padding-left: 16px;

    li {
      line-height: 1.6em;
      margin-bottom: 4px;

      &.task-list-item {
        list-style: none;

        input {
          position: relative;
          top: 1px;
        }
      }
    }
  }

  ol:not([class]):not([style]) {

    &[start] {
      padding-left: 34px;

      & > li:not([class]):not([style]) {
        list-style: decimal;

        &::marker {
          font-weight: 400;
          color: var(--theme);
          transition: all .5s;
        }

        &:hover::marker {
          color: #e67700;
        }
      }
    }

    &:not([start]) {
      counter-reset: li;

      & > li:not([class]):not([style]) {
        list-style: none;
        position: relative;
        padding-left: 1.2em;

        &:before {
          position: absolute;
          width: max-content;
          right: calc(100% - 1em);
          content: counter(li) '.';
          counter-increment: li;
          text-align: center;
          font-weight: 400;
          color: var(--theme);
          transition: all .5s;
        }

        &:hover:before {
          transform: rotate(360deg);
          color: #e67700;
          font-size: 1.1em;
        }
      }
    }
  }

  ul:not([class]):not([style]) > li:not([class]):not([style]) {
    list-style: none;
    position: relative;
    padding-left: 1.2em;

    &:before {
      content: "";
      width: 0.5em;
      height: 0.5em;
      left: 0;
      top: 0.5em;
      position: absolute;
      border: 1px solid var(--theme);
      background: 0 0;
      transition: all .5s;
      transform: rotateZ(45deg);
    }

    &:hover:before {
      transform: rotate(360deg);
      border-color: #e67700;
    }
  }

  table {
    width: 100%;
    max-width: 100%;
    border-collapse: unset;
    background: var(--bg-d);
    margin-bottom: 14px;
    overflow: hidden;
    font-size: 0.95em;
    border: 1px solid var(--light-b);
    border-radius: var(--radius-inner);

    td,
    th {
      padding: 8px;
      border-right: 1px solid var(--light-b);
      border-bottom: 1px solid var(--light-b);
    }

    thead {
      th {
        font-weight: 500;
        background: var(--bg-h);

        &:last-child {
          border-right: none;
        }
      }
    }

    tbody {
      tr {
        transition: background 0.35s;

        &:nth-child(2n) {
          background: var(--bg-j);
        }

        &:last-child td {
          border-bottom: none;
        }

        &:hover {
          background: rgb(179 179 179 / 15%);
        }

        td:last-child {
          border-right: none;
        }
      }
    }
  }

  figure {
    margin: 18px 0;
    padding: 0;
    border-radius: var(--radius-inner);
    overflow: hidden;
    position: relative;

    & > figcaption {
      display: flex;
      background: rgb(153 153 153 / 8%);
      padding: 0;
      height: 2.2em;
      line-height: 2.2em;
      user-select: none;
      font-size: 0.95em;
      font-weight: 400;

      &:before {
        content: '';
        display: inline-block;
        margin: auto 44px auto 8px;
        border-radius: 50%;
        background: #ff0800 no-repeat 10px 10px;
        width: 12px;
        height: 12px;
        box-shadow: 18px 0 #fdbc40, 36px 0 #35cd4b;
      }

      div {
        margin-left: auto !important;
        display: inline-block;
        cursor: pointer;
        text-align: center;

        i {
          transition: all 0.25s;
          margin-right: 10px !important;

          &.ri-arrow-down-s-line {
            display: inline-block;
            font-size: 1.2em;
          }

          &:hover {
            opacity: 0.5;
          }

          &.close {
            transform: rotate(90deg);
          }
        }
      }
    }

    pre {
      margin: 0;
      display: flex;
      overflow-y: hidden;
      overflow-x: auto;
      padding: 0;
      border: none;
      color: inherit !important;
      background: transparent !important;
      font-family: "Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
      font-size: 1em;

      & > ul {
        margin: 0;
        padding: 0 8px;
        user-select: none;
        background: rgb(153 153 153 / 8%);

        li {
          list-style: none;
          line-height: 1.5em;
          padding: 0 !important;
          margin: 0 !important;

          &:before {
            content: none !important;
          }

          &.code-select:after {
            content: '';
            width: 100%;
            height: 1.5em;
            left: 0;
            background: rgba(151, 151, 151, 0.08);
            position: absolute;
            pointer-events: none;
          }
        }
      }

      li + li {
        margin-top: 0;
      }

      code {
        padding: 0 0 7px 5px;
        line-height: 1.5em;
        overflow-y: hidden;
        font-family: "Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
        width: 100%;

        &:not(:last-child) {
          margin-bottom: 1.8em;
        }
      }
    }

    .expand-done i {
      color: inherit !important;
    }

    &:not(.fold) .expand-done {
      background: rgb(153 153 153 / 8%);
    }
  }

  .gallery-item {
    text-align: center;

    & > div {
      position: relative;
      overflow: hidden;
      display: inline-block;
    }

    & > p {
      text-align: center;
      color: var(--dark-d);
      line-height: 1em;
      font-size: 0.9em;
    }

    .fold {
      border-radius: var(--radius-img);
    }
  }

  :not(.jg-entry) > img {
    max-width: 100%;

    &:not([class]) {
      transition: all 0.35s;
      margin: 5px 0;
      border-radius: var(--radius-img);
      cursor: zoom-in;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 34px 20px -24px rgb(136 161 206 / 30%);
      }
    }
  }

  .emoji {
    width: 1.4em;
    height: 1.4em;
    vertical-align: sub;
  }

  .mermaid {
    text-align: center;
    margin-bottom: 12px;

    & > svg {
      border-radius: var(--radius-inner);
      background: #FFF;
      transition: all .35s;
      border: 1px solid var(--light-b);

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 34px 20px -24px rgb(136 161 206 / 30%);
      }
    }
  }

  .katex {
    line-height: 1.4;
    display: inline-flex;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding: 0 2px;
  }

  &.literature-content {
    font-size: 1.3em;

    .note {
      line-height: 40px;
      background-size: auto;
    }
  }
}

.pagination {
  font-size: 1rem;
  margin: -.25rem;

  &, &-list {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  &-link.is-current {
    background-color: var(--bg-e);
    border: 0;
    color: #fff;
  }

  .pagination .pagination-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    flex-grow: 1;
    flex-shrink: 1;
  }

  &-link:not(.is-current), .pagination-previous, .pagination-next {
    background: var(--background);
    border: none;
  }

  &-link, &-next, &-previous {
    color: var(--dark-c);
    min-width: 2.25em;
    font-size: 1em;
    justify-content: center;
    margin: .25rem;
    text-align: center;
    padding: calc(.375em - 1px) .5em;
    position: relative;
    vertical-align: top;
    align-items: center;
    border-radius: 4px;
    line-height: 1.5;
    height: 2.25em;
    box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
    display: inline-flex;
  }

  &-ellipsis {
    color: var(--dark-d);
    margin: 0.25rem;
    padding: 0 0.5em;
  }
}

.actions {
  position: fixed;
  right: -48px;
  bottom: 40px;
  z-index: 200;
  transition: all 0.5s;
  opacity: 0.9;

  & > div {
    display: block;
    margin-bottom: 5px;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-color: var(--theme);
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 32px;
    border: none;
    cursor: pointer;
  }

  & > .bullet-screen span {
    display: inline-block;
    line-height: 1;
    font-weight: 600;
    font-family: ui-serif, serif !important;
  }

  & > .stop-bullet-screen span {
    background-image: linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%);
  }
}

.footer {
  background-color: transparent;
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  position: relative;

  &:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
  }

  &-container {

    .logo-title {
      margin: 15px 15px 15px 0;
      display: block;
    }

    & > li {
      display: inline-block;
      vertical-align: middle;
      padding: 0 5px;
      color: var(--dark-b);
      line-height: 1.6em;

      & > p:not(:first-child) {
        font-size: 0.9em;
      }

      &:last-child {
        float: right;
      }
    }

    .icon-spot {
      &:first-child > *:not(:first-child):before {
        content: "·";
        margin: 0 0.3em;
        display: inline-block;
      }

      &:not(:first-child) > *:not(:first-child):before {
        content: "";
        width: 4px;
        height: 4px;
        margin: 0 0.4em;
        border-radius: 50%;
        display: inline-block;
        background: var(--dark-b);
        opacity: .3;
        vertical-align: 0.2em;
      }

      i {
        font-size: 1.1em;
      }
    }

    a:not([class]) {
      color: var(--dark-b);

      &:hover {
        color: var(--theme);
      }
    }

    .stand {
      color: var(--theme);
      margin: 0 4px;
    }

    .powered {
      color: var(--theme);
      font-weight: 600;
    }

    .cloud-driven {
      margin: 0 3px;

      img {
        height: 16px;
        vertical-align: text-bottom;
      }
    }
  }
}

@media (max-width: (@desktop-min-width - 1)) {
  .navbar {
    .navbar-search .input {
      width: 100px;
    }
  }

  .container:not(.two-column) .column-right {
    display: none !important;
  }

  .is-hidden-not-desktop {
    display: none !important;
  }

  .card:not(.is-hidden-not-desktop):not(.is-hidden-all) ~ .card {
    margin-top: 1.4rem !important;
  }
}

@media (max-width: (@desktop-min-width - 1)) {
  .navbar-above .navbar-nav .item .m-icon {
    display: none !important;
  }
}

@media (max-width: (@laptop-min-width - 1)) {
  .section .card {
    .cover-image {
      min-height: 24vw;
    }

    .thumbnail-image {
      min-height: 20vw;
    }
  }

  .model {
    &-index {
      flex-direction: column;

      .swiper {
        width: 100%;
      }

      &-side {
        width: 100%;
        flex-direction: row;
      }
    }

    &-attach-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .swiper-slide-details {

    &-title {
      font-size: 1.3rem;
    }

    .breadcrumb {
      display: none;
    }
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 4px;

    &-active {
      width: 20px;
    }
  }

  .navbar .container {
    padding: 0 0.75rem;

    .navbar-searchicon {
      display: block;
    }

    .navbar-search {
      display: none;
    }
  }
}

@media (max-width: @mobile-max-width) {

  .title {
    font-size: 1.3rem !important;
  }

  .container {
    .column-side, .column-main {
      flex: none;
      width: 100%;
    }
  }

  .model-attach-3 {
    grid-template-columns: none;
  }

  .navbar .container {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 1.5rem;
    min-height: 3.5rem;

    .navbar-slideicon {
      display: block;
    }

    .navbar-nav {
      display: none;
    }

    .navbar-searchicon {
      margin-left: 0;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .is-hidden-mobile {
    display: none !important;
  }

  .card:not(.is-hidden-mobile):not(.is-hidden-all) ~ .card {
    margin-top: 1.4rem !important;
  }

  .pagination-next, .pagination-previous {
    flex-grow: 1;
    flex-shrink: 1;
  }

  .section {
    padding-top: 5rem;

    .container > .tips {
      margin-left: -0.25rem;
      margin-right: -0.25rem;
      max-width: none;
    }

    .columns .column {
      padding: 0.5rem;
    }

    .card {
      .cover-image {
        height: 40vw;
        min-height: 130px;
      }

      .thumbnail-image {
        height: 32vw;
        min-height: 95px;
      }
    }
  }

  .footer-container {
    text-align: center;

    & > li {
      display: block;

      &:last-child {
        float: none;
      }

      .footer-truncation {
        display: block;

        &:before {
          content: none !important;
        }
      }
    }
  }

  html:not(.disable-scroll) .actions.show {
    right: 8px;
  }
}

@media (max-width: 520px) {
  .model {
    &-index-side {
      flex-direction: column;
    }

    &-attach {
      display: none;
    }
  }
}

@media (min-width: @table-min-width) {
  .container {

    .column {

      &-side {
        flex: none;
        width: 33%;
      }

      &-main {
        flex: none;
        width: 67%;
      }
    }

    .columns, .level {
      display: flex;
    }

    .column-left, .column-right {
      transition: all 0.5s;

      &.top-sticky {
        align-self: flex-start;
        position: sticky;
        top: 5rem;
      }

      &.bottom-sticky {
        align-self: flex-end;
        position: sticky;
        bottom: 1rem;
      }
    }

    .pagination .pagination-previous {
      order: 1;
    }

    .pagination .pagination-list {
      flex-grow: 1;
      flex-shrink: 1;
      justify-content: center;
      order: 2;
    }

    .pagination .pagination-next {
      order: 3;
    }
  }

  body.move-up {
    .container {
      .column-left.top-sticky, .column-right.top-sticky {
        top: 1rem;
      }
    }
  }
}

@media (min-width: @laptop-min-width) {
  .section .card {
    .cover-image {
      min-height: 250px;
    }

    .thumbnail-image {
      min-height: 195px;
    }
  }

  .container {
    max-width: 960px;

    .column {

      &-side {
        flex: none;
        width: 28%;
      }

      &-main {
        flex: none;
        width: 72%;
      }
    }
  }
}

@media (min-width: @desktop-min-width) {
  .section .card {
    .cover-image {
      min-height: 240px;
    }

    .thumbnail-image {
      min-height: 185px;
    }
  }

  .container {
    max-width: 1152px;

    .column {

      &-side {
        flex: none;
        width: 25%;
      }

      &-main {
        flex: none;
        width: 50%;
      }
    }
  }

  &.two-column {

    .column {

      &-side {
        flex: none;
        width: 26%;
      }

      &-main {
        flex: none;
        width: 74%;
      }
    }
  }

  .is-hidden-desktop {
    display: none !important;
  }

  .card:not(.is-hidden-desktop):not(.is-hidden-all) ~ .card {
    margin-top: 1.4rem !important;
  }
}

@media (min-width: 1408px) {
  .section .card {

    &-small .main-content {
      -webkit-line-clamp: 3 !important;
      min-height: 4em;
      max-height: 4.8em;
    }

    .cover-image {
      min-height: 260px;
    }

    .thumbnail-image {
      min-height: 210px;
    }
  }

  .container {
    max-width: 1344px;

    .column {

      &-side {
        flex: none;
        width: 22%;
      }

      &-main {
        flex: none;
        width: 56%;
      }
    }

    &.two-column {

      .column {

        &-side {
          flex: none;
          width: 25%;
        }

        &-main {
          flex: none;
          width: 75%;
        }
      }
    }
  }
}

@media (min-width: @display-min-width) {
  .section .card {
    .cover-image {
      min-height: 320px;
    }

    .thumbnail-image {
      min-height: 240px;
    }
  }

  .container {
    max-width: 1600px;

    .column {

      &-side {
        flex: none;
        width: 20%;
      }

      &-main {
        flex: none;
        width: 60%;
      }
    }

    &.two-column {
      max-width: 1400px;

      .column {

        &-side {
          flex: none;
          width: 24%;
        }

        &-main {
          flex: none;
          width: 76%;
        }
      }
    }
  }
}

@media (min-width: @widescreen-min-width) {
  html {
    font-size: 15px;
  }

  .section .card {
    .cover-image {
      min-height: 340px;
    }

    .thumbnail-image {
      min-height: 260px;
    }
  }

  .container {
    max-width: 1800px;

    .column {

      &-side {
        flex: none;
        width: 18%;
      }

      &-main {
        flex: none;
        width: 64%;
      }
    }

    &.two-column {
      max-width: 1500px;

      .column {

        &-side {
          flex: none;
          width: 22%;
        }

        &-main {
          flex: none;
          width: 78%;
        }
      }
    }
  }
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  to {
    transform: translate3d(85px, 0, 0);
  }
}

@keyframes flicker {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes code-expand {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.8;
  }
}

@keyframes dung {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  30% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  60% {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
  }

  80% {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }

  90% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* 时间戳界面 */
.timeline {
  margin-left: 16px;
  padding-left: 24px;
  padding-top: 16px;
  border-left: 1px solid var(--light-b);

  &-title {
    background: var(--bg-e);
    color: var(--light-a);
    display: inline-flex;
    font-size: 0.75em;
    height: 2em;
    padding: 0 8px;
    align-items: center;
    white-space: nowrap;
    border-radius: var(--radius-inner);
    margin-bottom: 0;
  }

  .media {
    position: relative;
    display: flex;
    border: none;

    &:not(:last-child) {
      margin-bottom: 21px;
    }

    & + .media {
      padding-top: 14px;
      margin-top: 0;
    }

    &-content {
      time {
        font-size: 0.85em;
        display: block;
        color: var(--dark-b);
      }

      .title {
        color: var(--dark-c);
        font-size: 1.1em !important;
      }

      p a {
        font-size: 0.9em;
        color: var(--dark-e);
      }
    }

    &-left {
      margin-right: 14px;

      img {
        height: 64px;
        width: 64px;
        object-fit: cover;
      }
    }

    &:before {
      width: 9px;
      height: 9px;
      top: 18px;
      background: var(--light-d);
      border-radius: 50%;
    }

    &:before,
    &:last-child:after {
      content: '';
      display: block;
      position: absolute;
      left: -29px;
    }

    &:first-child:before {
      top: 4px;
    }

    &:first-child:last-child:after {
      top: 11px;
    }

    &:last-child:after {
      top: 27px;
      width: 9px;
      bottom: 0;
      background: var(--bg-b);
    }

  }
}

/* 日志界面 */
.journal {

  em {
    font-style: normal;
  }

  &-date {
    line-height: 34px;
    color: var(--dark-c);

    i {
      margin-right: 4px;
      font-size: 16px;
    }
  }

  &-content {
    padding: 10px 12px;
    overflow: hidden;
    border-radius: 0 6px 6px 6px;
    background-color: var(--bg-c);
    position: relative;

    .main-content {
      :last-child {
        margin-bottom: 0;
      }
    }

    &.fold {
      max-height: 240px;
    }

    &.unfold {
      padding: 10px 12px 40px 12px;
    }
  }

  &-operation {
    padding: 12px 0 2px 0;

    &-item {
      margin-left: 10px;
      transition: all 0.2s;
      user-select: none;
      color: var(--main);

      a {
        color: var(--main);

        i {
          margin-right: 5px;
          font-size: 1.2em;
        }

        &:hover {
          color: var(--theme);

          i {
            transform: scale(1.1);
          }
        }

        &:not(.like) .ri-heart-3-line {
          color: #f55448;
          transform: none;

          &:before {
            content: '\ee0a';
          }
        }
      }
    }
  }

  &-comment {
    padding: 12px 0 2px 0;
    display: none;
  }
}

/* 友链界面 */
.links:not(.widget) {
  margin-bottom: 20px;

  .link-title {
    margin-bottom: 10px;
  }

  ul {
    margin: 0;
    list-style: none;
    padding: 0;
    width: 100%;
    display: inline-block;

    li {
      width: 32%;
      float: left;
      border: 1px solid var(--light-b);
      padding: 10px 30px;
      margin: 4px;
      position: relative;
      overflow: hidden;
      transition: all .3s;
      border-radius: 10px;
      height: 100px;
      box-sizing: border-box;
      background: var(--bg-d);

      &:hover {
        border: 1px solid var(--theme);

        &:before {
          width: 180%;
        }

        img {
          transform: rotate(360deg);
        }

        .link-name {
          opacity: 0.9;
        }

        .link-desc {
          opacity: 0.6;
        }
      }

      &:before {
        content: "";
        background-color: var(--theme);
        transform: skew(45deg, 0);
        width: 0;
        height: 100%;
        position: absolute;
        top: 0;
        left: -60px;
        transition: all .5s;
        opacity: 0.2;
      }

      img {
        float: right;
        box-shadow: inset 0 0 10px var(--theme);
        opacity: 1;
        transform: rotate(0deg);
        transition: all ease 1s;
        margin-top: 5px;
        width: 65px;
        height: 65px;
        padding: 2px;
        border-radius: 100%;
      }
    }
  }

  .link-name {
    color: var(--theme);
    padding-bottom: 6px;
    display: block;
    transition: all .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .link-desc {
    color: #949494;
    font-size: 13px;
    border-top: 1px dashed var(--light-d);
    line-height: 25px;
    transition: all .5s;
    text-indent: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 630px) {
  .links:not(.widget) ul li {
    width: 100% !important
  }
}

@media (max-width: 768px) {
  .links:not(.widget) ul li:before {
    display: none
  }
}

@media (max-width: 1600px) {
  .links:not(.widget) ul li {
    width: 48%
  }
}

/* 相册界面 */
.photos {

  &-teams {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));

    .item {
      user-select: none;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      background: var(--bg-b);
      height: 28px;
      line-height: 28px;
      border-radius: 14px;
      cursor: pointer;
      color: var(--main);
      font-size: 12px;
      padding: 0 15px;
      text-align: center;
      transition: color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;

      &.active {
        transform: translateY(-2px);
        color: #fff;
        background: var(--theme);
        box-shadow: 0 5px 5px rgb(0 0 0 / 5%);
      }
    }
  }

  &-gallery {
    display: block;
    width: 100%;
    position: relative;
    margin-top: 12px;

    &.loading {
      margin-bottom: 80px;

      &:empty {
        height: 0 !important;
      }

      &:after {
        width: 100%;
        position: absolute;
        bottom: -80px;
      }
    }

    & > div {
      position: absolute;
      display: inline-block;
      overflow: hidden;
      opacity: 0.1;
      margin: 0;
      padding: 0;
      border-radius: 8px;
      cursor: pointer;

      & > img {
        position: absolute;
        transition: transform 1s ease;
        top: 50%;
        left: 50%;
        margin: 0;
        padding: 0;
        border: none;
        opacity: 0;
      }

      & > .jg-caption {
        opacity: 0;
        position: absolute;
        bottom: 0;
        padding: 5px;
        background-color: #000000;
        left: 0;
        right: 0;
        margin: 0;
        color: white;
        font-size: 0.85em;
        font-weight: 300;
        font-family: sans-serif;
        transition: opacity 300ms ease-in;

        &.jg-caption-visible {
          opacity: 0.7;
        }
      }

      .info {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        color: #fff;
        padding: 20px;
        max-height: 100%;
        transform: translateY(calc(100% - 45px));
        transition: transform 0.35s ease-in;
        background: linear-gradient(0deg, #151515cc, transparent 100%);

        svg {
          width: 1.3em;
          height: 1.3em;
          fill: #fff;
          vertical-align: text-bottom;
          stroke-width: 40;
          stroke: #fff;
          margin-right: 6px;
          float: left;
        }

        & > :not(:first-child) {
          margin-top: 5px;
        }

        & > div:first-child {
          margin-left: -16px;
          transition: all 0.35s ease-in;

          svg {
            width: 0;
            transition: all 0.35s ease-in;
          }

          p {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
      }

      &:hover {

        img {
          transform: scale(1.2);
        }

        .info {
          overflow-y: scroll;
          transform: translateY(0);

          & > div:first-child {
            margin-left: 0;

            svg {
              width: 1.3em;
            }

            p {
              overflow: inherit;
              white-space: inherit;
              text-overflow: inherit;
            }
          }
        }
      }
    }

    & > .jg-entry-visible {
      opacity: 1;
      background: none;

      & > img {
        opacity: 1;
      }
    }
  }
}

/* 标签界面 */
.tags-field {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.3em;

  .tags {
    display: flex;

    &:not(:last-child) {
      margin: 0 0.75rem 0.75rem 0;
    }

    .tag {
      &:not(.is-grey) {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
      }

      &.is-grey {
        background: var(--bg-e);
        color: rgb(255 255 255 / 80%);
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
      }
    }
  }
}