/*!
 * WeUI subset for the Typecho "WeUI" theme.
 * Rules copied verbatim from WeUI (https://github.com/weui/weui).
 * Copyright 2026 Tencent, Inc. Licensed under the MIT license.
 * Only the widgets used by this theme (.weui-article, .weui-panel, .weui-media-box, .weui-cells, .weui-cell, .weui-gallery, .weui-animate, .weui-footer, .weui-link) and the
 * theme custom properties they reference are included.
 */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  font-family: system-ui,-apple-system,"Helvetica Neue",sans-serif;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a img {
  border: 0;
}

a {
  text-decoration: none;
  cursor: default;
}

input,textarea {
  caret-color: #07c160;
  caret-color: var(--weui-BRAND);
}

::-webkit-input-placeholder {
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
}

::placeholder {
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
}

body,.wx-root {
  --weui-BG-0: #ededed;
  --weui-BG-2: #fff;
  --weui-FG-0: rgba(0, 0, 0, 0.9);
  --weui-FG-1: rgba(0, 0, 0, 0.55);
  --weui-FG-2: rgba(0, 0, 0, 0.3);
  --weui-FG-3: rgba(0, 0, 0, 0.1);
  --weui-BRAND: #07c160;
  --weui-LINK: #576b95;
  --weui-WHITE: #fff;
}

@media (prefers-color-scheme:dark) {
.wx-root:not([data-weui-theme='light']),body:not([data-weui-theme='light']) {
  --weui-BG-0: #111;
  --weui-BG-2: #191919;
  --weui-FG-0: rgba(255, 255, 255, 0.8);
  --weui-FG-1: rgba(255, 255, 255, 0.5);
  --weui-FG-2: rgba(255, 255, 255, 0.3);
  --weui-FG-3: rgba(255, 255, 255, 0.1);
  --weui-BRAND: #07c160;
  --weui-LINK: #7d90a9;
  --weui-WHITE: rgba(255, 255, 255, 0.8);
}
}

.wx-root[data-weui-theme='dark'],body[data-weui-theme='dark'] {
  --weui-BG-0: #111;
  --weui-BG-2: #191919;
  --weui-FG-0: rgba(255, 255, 255, 0.8);
  --weui-FG-1: rgba(255, 255, 255, 0.5);
  --weui-FG-2: rgba(255, 255, 255, 0.3);
  --weui-FG-3: rgba(255, 255, 255, 0.1);
  --weui-BRAND: #07c160;
  --weui-LINK: #7d90a9;
  --weui-WHITE: rgba(255, 255, 255, 0.8);
}

.wx-root[data-weui-mode='care'],body[data-weui-mode='care'] {
  --weui-BG-0: #ededed;
  --weui-BG-2: #fff;
  --weui-FG-0: #000;
  --weui-FG-1: rgba(0, 0, 0, 0.6);
  --weui-FG-2: rgba(0, 0, 0, 0.42);
  --weui-FG-3: rgba(0, 0, 0, 0.1);
  --weui-BRAND: #018942;
  --weui-LINK: #576b95;
  --weui-WHITE: #fff;
}

@media (prefers-color-scheme:dark) {
.wx-root[data-weui-mode='care']:not([data-weui-theme='light']),body[data-weui-mode='care']:not([data-weui-theme='light']) {
  --weui-BG-0: #111;
  --weui-BG-2: #191919;
  --weui-FG-0: rgba(255, 255, 255, 0.85);
  --weui-FG-1: rgba(255, 255, 255, 0.55);
  --weui-FG-2: rgba(255, 255, 255, 0.35);
  --weui-FG-3: rgba(255, 255, 255, 0.1);
  --weui-BRAND: #07c160;
  --weui-LINK: #7d90a9;
  --weui-WHITE: rgba(255, 255, 255, 0.8);
}
}

.wx-root[data-weui-mode='care'][data-weui-theme='dark'],body[data-weui-mode='care'][data-weui-theme='dark'] {
  --weui-BG-0: #111;
  --weui-BG-2: #191919;
  --weui-FG-0: rgba(255, 255, 255, 0.85);
  --weui-FG-1: rgba(255, 255, 255, 0.55);
  --weui-FG-2: rgba(255, 255, 255, 0.35);
  --weui-FG-3: rgba(255, 255, 255, 0.1);
  --weui-BRAND: #07c160;
  --weui-LINK: #7d90a9;
  --weui-WHITE: rgba(255, 255, 255, 0.8);
}

.wx-root,body {
  --weui-BG-COLOR-ACTIVE: #ececec;
}

.wx-root[data-weui-theme='dark'],body[data-weui-theme='dark'] {
  --weui-BG-COLOR-ACTIVE: #373737;
}

@media (prefers-color-scheme:dark) {
.wx-root:not([data-weui-theme='light']),body:not([data-weui-theme='light']) {
  --weui-BG-COLOR-ACTIVE: #373737;
}
}

.weui-link {
  color: #576b95;
  color: var(--weui-LINK);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.weui-link:visited {
  color: #576b95;
  color: var(--weui-LINK);
}

.weui-link:active {
  opacity: 0.5;
}

.weui-cells {
  margin-top: 8px;
  background-color: #fff;
  background-color: var(--weui-BG-2);
  overflow: hidden;
  position: relative;
}

.weui-cells::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}

.weui-cells::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}

.weui-cell {
  padding: 16px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  line-height: 1.41176471;
  font-size: 17px;
  color: rgba(0,0,0,0.9);
  color: var(--weui-FG-0);
}

.weui-cell::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  left: 16px;
  z-index: 2;
}

.weui-cell:first-child::before {
  display: none;
}

.weui-cell_active:active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  background: var(--weui-FG-3);
  pointer-events: none;
}

.weui-cell_primary {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.weui-cell__bd {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

.weui-cell__ft {
  text-align: right;
  color: rgba(0,0,0,0.55);
  color: var(--weui-FG-1);
}

.weui-cell__ft button {
  vertical-align: bottom;
}

.weui-cell__desc {
  font-size: 12px;
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
  line-height: 1.4;
  padding-top: 4px;
}

.weui-cell_access {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.weui-cell_access:active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  background: var(--weui-FG-3);
  pointer-events: none;
}

.weui-cell_access .weui-cell__ft {
  padding-right: 24px;
  position: relative;
}

.weui-cell_access .weui-cell__ft::after {
  content: " ";
  width: 12px;
  height: 24px;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  background-color: currentColor;
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
  -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
  mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -12px;
}

.weui-cell_link {
  color: #576b95;
  color: var(--weui-LINK);
}

.weui-cell_link:first-child::before {
  display: block;
}

.weui-gallery {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  z-index: 1000;
}

.weui-gallery__img,.weui-gallery__opr {
  position: absolute;
  left: 0;
  left: constant(safe-area-inset-left);
  left: env(safe-area-inset-left);
  right: 0;
  right: constant(safe-area-inset-right);
  right: env(safe-area-inset-right);
}

.weui-gallery__img {
  top: 0;
  top: constant(safe-area-inset-top);
  top: env(safe-area-inset-top);
  bottom: 60px;
  bottom: calc(60px + constant(safe-area-inset-bottom));
  bottom: calc(60px + env(safe-area-inset-bottom));
  width: 100%;
  background: center center no-repeat;
  background-size: contain;
}

.weui-gallery__img:last-child {
  bottom: 0;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
}

.weui-gallery__opr {
  position: absolute;
  bottom: 0;
  background-color: #0d0d0d;
  color: #fff;
  color: var(--weui-WHITE);
  line-height: 60px;
  text-align: center;
}

.weui-gallery__del {
  display: block;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.weui-gallery__del:active {
  opacity: 0.5;
}

.weui-article {
  padding: 48px 24px;
  padding: 48px calc(24px + constant(safe-area-inset-right)) calc(48px + constant(safe-area-inset-bottom)) calc(24px + constant(safe-area-inset-left));
  padding: 48px calc(24px + env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
  color: rgba(0,0,0,0.9);
  color: var(--weui-FG-0);
  font-size: 17px;
  line-height: 1.6;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.weui-article section {
  margin-bottom: 48px;
}

.weui-article section section {
  margin-bottom: 32px;
}

.weui-article section section section {
  margin-bottom: 24px;
}

.weui-article h1,.weui-article h2,.weui-article h3,.weui-article h4,.weui-article h5,.weui-article h6 {
  line-height: 1.4;
}

.weui-article h1 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 48px;
  text-align: center;
}

.weui-article h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.weui-article h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.weui-article h4 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 4px;
}

.weui-article h5,.weui-article h6 {
  font-weight: 400;
  font-size: 17px;
}

.weui-article * {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
}

.weui-article img {
  vertical-align: bottom;
}

.weui-article p {
  margin: 0 0 24px;
}

.weui-article ol,.weui-article ul {
  margin-left: 1.2em;
  margin-bottom: 24px;
}

.weui-article ol ol,.weui-article ul ol,.weui-article ol ul,.weui-article ul ul {
  margin: 0.5em 0 0.5em 1.2em;
}

.weui-article ol {
  list-style: decimal;
}

.weui-article ul {
  list-style: disc;
}

.weui-article li {
  margin: 0.5em 0;
}

.weui-article .weui-article__list_inside {
  margin-left: 0;
}

.weui-article .weui-article__list_inside li {
  list-style-position: inside;
}

.weui-article .weui-article__list_none {
  margin-left: 0;
}

.weui-article .weui-article__list_none li {
  list-style: none;
}

.weui-panel {
  background-color: #fff;
  background-color: var(--weui-BG-2);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.weui-panel:first-child {
  margin-top: 0;
}

.weui-panel::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}

.weui-panel::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}

.weui-panel .weui-cells::after {
  display: none;
}

.weui-panel__hd {
  padding: 16px 16px 13px;
  color: rgba(0,0,0,0.9);
  color: var(--weui-FG-0);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.weui-panel__hd::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  left: 15px;
}

.weui-media-box {
  padding: 16px;
  position: relative;
}

.weui-media-box::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  left: 16px;
}

.weui-media-box:first-child::before {
  display: none;
}

a.weui-media-box {
  color: #000;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a.weui-media-box:active {
  background-color: #ececec;
  background-color: var(--weui-BG-COLOR-ACTIVE);
}

.weui-media-box__title {
  display: block;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(0,0,0,0.9);
  color: var(--weui-FG-0);
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.weui-media-box__desc {
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
  font-size: 14px;
  line-height: 1.4;
  padding-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.weui-media-box__info {
  display: block;
  margin-top: 16px;
  padding-bottom: 4px;
  font-size: 13px;
  color: rgba(0,0,0,0.3);
  color: var(--weui-FG-2);
  line-height: 1em;
  list-style: none;
  overflow: hidden;
}

.weui-media-box__info__meta {
  float: left;
  padding-right: 1em;
}

.weui-media-box__info__meta_extra {
  padding-left: 1em;
  border-left: 1px solid rgba(0,0,0,0.3);
  border-left: 1px solid var(--weui-FG-2);
}

.weui-media-box_appmsg {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.weui-media-box_appmsg .weui-media-box__hd {
  margin-right: 16px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.weui-media-box_appmsg .weui-media-box__thumb {
  width: 100%;
  max-height: 100%;
  vertical-align: top;
}

.weui-media-box_appmsg .weui-media-box__bd {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

.weui-media-box_small-appmsg {
  padding: 0;
}

.weui-media-box_small-appmsg .weui-cells {
  margin-top: 0;
}

.weui-media-box_small-appmsg .weui-cells::before {
  display: none;
}

.weui-footer {
  color: rgba(0,0,0,0.2);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.wx-root[data-weui-theme='dark'] .weui-footer,body[data-weui-theme='dark'] .weui-footer {
  color: rgba(255,255,255,0.2);
}

@media (prefers-color-scheme:dark) {
.wx-root:not([data-weui-theme='light']) .weui-footer,body:not([data-weui-theme='light']) .weui-footer {
    color: rgba(255,255,255,0.2);
  }
}

.weui-footer a,.weui-footer navigator {
  color: #576b95;
  color: var(--weui-LINK);
}

.weui-footer navigator {
  display: inline;
}

.weui-footer_fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-bottom: calc(16px + constant(safe-area-inset-bottom));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  left: constant(safe-area-inset-left);
  left: env(safe-area-inset-left);
  right: constant(safe-area-inset-right);
  right: env(safe-area-inset-right);
}

.weui-footer__links {
  font-size: 0;
}

.weui-footer__link {
  display: inline-block;
  vertical-align: top;
  margin: 0 8px;
  position: relative;
  font-size: 14px;
}

.weui-footer__link::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  bottom: 0;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-left: 1px solid var(--weui-FG-3);
  color: rgba(0,0,0,0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleX(0.5);
  transform: scaleX(0.5);
  left: -8px;
  top: 0.36em;
  bottom: 0.36em;
}

.weui-footer__link:first-child::before {
  display: none;
}

.weui-footer__text {
  padding: 0 16px;
  font-size: 12px;
}

@-webkit-keyframes weuiSlideUp {
  from {
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
  }

  to {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
}

@keyframes weuiSlideUp {
  from {
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
  }

  to {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
}

.weui-animate_slide-up,.weui-animate-slide-up {
  -webkit-animation: weuiSlideUp ease 0.3s forwards;
  animation: weuiSlideUp ease 0.3s forwards;
}

@-webkit-keyframes weuiSlideDown {
  from {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  to {
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
  }
}

@keyframes weuiSlideDown {
  from {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  to {
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
  }
}

.weui-animate_slide-down,.weui-animate-slide-down {
  -webkit-animation: weuiSlideDown ease 0.3s forwards;
  animation: weuiSlideDown ease 0.3s forwards;
}

@-webkit-keyframes weuiFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes weuiFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.weui-animate_fade-in,.weui-animate-fade-in {
  -webkit-animation: weuiFadeIn ease 0.3s forwards;
  animation: weuiFadeIn ease 0.3s forwards;
}

@-webkit-keyframes weuiFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes weuiFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.weui-animate_fade-out,.weui-animate-fade-out {
  -webkit-animation: weuiFadeOut ease 0.3s forwards;
  animation: weuiFadeOut ease 0.3s forwards;
}
