:root {
  --vt-color-primary: #007aff;
  --vt-color-success: #4cd964;
  --vt-color-warning: #f0ad4e;
  --vt-color-error: #dd524d;
  --vt-color-danger: #dd524d;
  --vt-font-size-sm: 13px;
  --vt-font-size-base:17px;
  --vt-font-size-lg: 22px;
  --vt-text-color: #333;
  --vt-text-color-inverse: #fff;
  --vt-text-color-grey: #999;
  --vt-text-color-placeholder: #8c8c8c;
  --vt-text-color-disable: #e2e4eb;
  --vt-bg-color: #f3f3f3;
  --vt-bg-color-grey: #f1f1f1;
  --vt-bg-color-hover: #f2f2f2;
  --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
  --vt-bg-color-card: #ffffff;
  --vt-border-radius: 4px;
  --vt-border-color: #e5ebeb;
  --vt-shadow-color: #d1d2d3;
}

body.dark-mode {
  --vt-text-color: #b9b9b9;
  --vt-text-color-inverse: #333;
  --vt-text-color-grey: #999;
  --vt-text-color-placeholder: #808080;
  --vt-text-color-disable: #404244;
  --vt-bg-color: #2e2e2e;
  --vt-bg-color-grey: #5a5a5a;
  --vt-bg-color-hover: #979797;
  --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
  --vt-bg-color-card: #272727;
  --vt-border-color: #303030;
  --vt-shadow-color: #181818;
}

body.dark-mode img {
  filter: brightness(70%);
}
body.dark-mode .logo {
  filter: brightness(200%);
}

@media (prefers-color-scheme: dark) {
  body.dark-mode-auto {
    --vt-text-color: #b9b9b9;
    --vt-text-color-inverse: #333;
    --vt-text-color-grey: #999;
    --vt-text-color-placeholder: #808080;
    --vt-text-color-disable: #404244;
    --vt-bg-color: #2e2e2e;
    --vt-bg-color-grey: #5a5a5a;
    --vt-bg-color-hover: #979797;
    --vt-bg-color-mask: rgba(50, 50, 50, 0.5);
    --vt-bg-color-card: #272727;
    --vt-border-color: #303030;
    --vt-shadow-color: #181818;
  }
  body.dark-mode-auto img {
    filter: brightness(70%);
  }
  body.dark-mode-auto .logo {
    filter: brightness(200%);
  }
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

@charset "UTF-8";
/* logo 闪烁 */
.flash.logo {
  position: relative;
  overflow: hidden;
}

.flash.logo::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
  opacity: 0.7;
  animation: logoLights 2s ease-in 1s infinite;
}

@keyframes logoLights {
  0% {
    left: -160px;
    top: 0;
  }
  to {
    left: 160px;
    top: 0;
  }
}
.flash.logo::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
  opacity: 0.8;
  animation: logoLights2 2s ease-in 1s infinite;
}

@keyframes logoLights2 {
  0% {
    left: -130px;
    top: 0;
  }
  to {
    left: 190px;
    top: 0;
  }
}
.dark-mode .flash.logo::after, .dark-mode .logo::before {
  display: none;
}

@charset "UTF-8";
/*
 * 默认的样式
 */
html {
  -webkit-text-size-adjust: none;
}

* {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

img {
  border: 0;
  height: auto;
  width: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: var(--vt-font-size-base);
  color: var(--vt-text-color);
  letter-spacing: 0.8px;
  /* position: relative; */
  letter-spacing: 1px;
  background-color: var(--vt-bg-color);
  overflow-x: hidden;
}

body:before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: -1;
  display: block;
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  content: "";
}

a {
  color: var(--vt-text-color);
  font-size: var(--vt-font-size-base);
  text-decoration: none;
  letter-spacing: 1px;
}

a:hover {
  color: var(--vt-color-primary);
}

/**
 * 文章页，文档页等 公共的点赞，收藏 模块
 */
/**
 * 面包屑
 */
.breadcrumbs {
  width: auto;
  height: 35px;
  line-height: 35px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}
.breadcrumbs i {
  font-size: var(--vt-font-size-lg);
  vertical-align: -5px;
}
.breadcrumbs a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}

/**
 * 404
 */
.page-no-found {
  width: 100%;
  max-width: 350px;
  margin: 60px auto 250px auto;
  color: var(--vt-text-color);
}
.page-no-found img {
  width: 100%;
}
.page-no-found p {
  font-size: 30px;
  text-align: center;
}
.page-no-found a {
  display: block;
  width: 100px;
  height: 30px;
  color: var(--vt-text-color-inverse);
  font-size: 13px;
  margin: 50px auto 0px auto;
  line-height: 30px;
  text-align: center;
  background-color: var(--vt-color-primary);
  border-radius: 3px;
}
.page-no-found a:hover {
  color: var(--vt-text-color-inverse);
}

/**
 * 没有内容
 */
.no-content {
  text-align: center;
  padding: 100px 0px;
  font-size: var(--vt-font-size-base);
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.no-content img {
  max-width: 150px;
  margin: 20px auto;
}
.no-content p {
  margin-top: 10px;
  color: var(--vt-text-color-grey);
}

.search-title {
  margin-top: 10px;
  color: var(--vt-text-color);
}

.field {
  margin: 20px 0 0 0;
  position: relative;
}

.field .btn {
  padding: 0 15px;
}

.field > label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 6px;
}

.field .radio-group label{
  font-size: 14px;
  margin: 0 15px 0 0;
}
.field .radio-group input[type="radio"]{
  position: relative;
  top: 1px;
}


/* .field-text label, 
.field-text input:-internal-autofill-selected */

.field-text input[type="text"],
.field-text input[type="password"],
.field-text input[type="email"],
.field-text .form-help,
.field-text textarea
{
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  background-color: var(--vt-bg-color-card) !important;
}

.field-text input,
.field-text textarea {
  padding: 8px 30px 8px 8px;
  border: 1px solid var(--vt-border-color);
  border-radius: 3px;
}

.field-text :focus {
  outline: 0;
  box-shadow: 0 0 5px rgba(93, 162, 248, 0.5);
  border-color: var(--vt-color-primary);
}

/* .field-text :invalid {
  border-color: var(--vt-color-danger);
  box-shadow: 0 0 5px rgba(229, 43, 37, 0.5);
} */

.form-help {
  display: block;
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  transition: all 0.05s linear;
}

input:focus + .form-help {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid var(--vt-color-warning);
  border-radius: 3px;
  font-style: italic;
  font-size: 13px;
  color: var(--vt-text-color);
  background-color: var(--vt-bg-color-grey);
  position: relative;
  width: auto;
  height: auto;
  crop: none;
}

.field-text input[disabled],
.field-text textarea[disabled] {
  background-color: var(--vt-bg-color-grey) !important;
}


@media only screen and (min-width: 900px) {
  .field {
    width: 100%;
  }
  .field .form-control{
    max-width: 500px;
  }
}




@charset "UTF-8";
/*
 * 公共按钮
 */
.btn {
  display: inline-block;
  width: 100%;
  height: 32px;
  line-height: 32px;
  box-sizing: border-box;
  border: 1px solid var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  color: var(--vt-text-color);
  cursor: pointer;
  font-size: var(--vt-font-size-sm);
  text-align: center;
  padding: 0 8px;
  font-size: 13px;
}
.btn:hover {
  color: var(--vt-text-color);
}

.btn.btn-sm {
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  width: auto;
  padding: 0 8px;
}

.btn.btn-primary {
  background-color: var(--vt-color-primary);
  color: var(--vt-text-color-inverse);
}

.btn.btn-success {
  background-color: var(--vt-color-success);
  color: var(--vt-text-color-inverse);
}

.btn.btn-danger {
  background-color: var(--vt-color-danger);
  color: var(--vt-text-color-inverse);
}

.btn.btn-error {
  background-color: var(--vt-color-error);
  color: var(--vt-text-color-inverse);
}

.btn.btn-primary-sec {
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary);
}

.btn.btn-success-sec {
  border: 1px solid var(--vt-color-success);
  color: var(--vt-color-success);
}

.btn.btn-danger-sec {
  border: 1px solid var(--vt-color-danger);
  color: var(--vt-color-danger);
}

.btn.btn-error-sec {
  border: 1px solid var(--vt-color-error);
  color: var(--vt-color-error);
}

@media only screen and (min-width: 900px) {
  .btn, .btn-primary {
    width: auto;
  }
}

nav.pagination {
  font-size: 20px;
  border-top: 0px;
  border-bottom: 0px;
  padding: 20px 0 20px 0;
}

nav.pagination .nav-links {
  align-items: baseline;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 100;
  width: 100%;
  margin: 0 0 -7px 0;
}

nav.pagination .pagination-separator {
  margin: 16px 0;
}

nav.pagination .nav-links > * {
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  border: 1px solid var(--vt-border-color);
  margin: 0px 7px 7px 0;
  display: block;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 1px var(--vt-shadow-color);
  padding: 1px 1px;
}

nav.pagination .nav-links > .current {
  background-color: var(--vt-color-primary);
  border-color: var(--vt-color-primary);
  color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px var(--vt-shadow-color);
}
.dark-mode nav.pagination .nav-links > .current { color: #b9b9b9; }

nav.pagination .nav-links .placeholder {
  display: none;
  visibility: hidden;
}

nav.pagination a {
  text-decoration: none;
  border-radius: 3px;
}

nav.pagination a:hover {
  color: var(--vt-color-primary);
  border-color: var(--vt-color-primary);
}

@media only screen and (min-width: 900px) {
  nav.pagination {
    padding: 20px 0 0 0;
  }
}

.m-pagination {
  font-size: 13px;
  color: var(--vt-text-color);
  line-height: 28px;
}
.m-pagination .m-pager {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.m-pagination .m-pagination-total {
  margin-right: 5px;
  vertical-align: middle;
}
.m-pagination .m-pagination-prev,
.m-pagination .m-pagination-next,
.m-pagination .m-pager-number {
  display: inline-block;
  cursor: pointer;
  min-width: 30px;
  height: 28px;
  text-align: center;
  vertical-align: middle;
}
.m-pagination .m-pagination-prev:hover, .m-pagination .m-pagination-prev.active,
.m-pagination .m-pagination-next:hover,
.m-pagination .m-pagination-next.active,
.m-pagination .m-pager-number:hover,
.m-pagination .m-pager-number.active {
  color: var(--vt-color-primary);
}
.m-pagination .m-pagination-prev a,
.m-pagination .m-pagination-next a,
.m-pagination .m-pager-number a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
  width: 100%;
  font-size: 14px;
  padding: 0;
  border: none;
}
.m-pagination .m-pagination-prev.disabled, .m-pagination .m-pagination-prev:disabled,
.m-pagination .m-pagination-next.disabled,
.m-pagination .m-pagination-next:disabled,
.m-pagination .m-pager-number.disabled,
.m-pagination .m-pager-number:disabled {
  cursor: not-allowed;
  color: var(--vt-text-color-disable);
}
.m-pagination .m-pagination-prev,
.m-pagination .m-pagination-next {
  background: none;
  outline: none;
  border: none;
  padding: 0 10px;
}
.m-pagination .m-pagination-sizes {
  height: 29px;
  border-radius: 3px;
  border: solid 1px #DCDFE6;
  outline: none;
  margin: 0 4px;
  font-size: 12px;
  padding: 0 10px;
  vertical-align: middle;
}
.m-pagination .m-pagination-sizes:hover {
  border-color: var(--vt-color-primary);
}
.m-pagination .m-pagination-sizes:focus {
  box-shadow: 0 0 2px 0 var(--vt-text-color-grey);
}
.m-pagination.is-background .m-pagination-prev,
.m-pagination.is-background .m-pagination-next,
.m-pagination.is-background .m-pager-number {
  background: var(--vt-bg-color-grey);
  margin: 0 5px;
  border-radius: 2px;
}
.m-pagination.is-background .m-pager-number.active {
  background: var(--vt-color-primary);
  color: #fff;
}
.m-pagination.is-background .m-pager-number.disabled {
  filter: grayscale(1);
}
.m-pagination.text-center {
  text-align: center;
}
.m-pagination.text-right {
  text-align: right;
}

.content-style {
  font-size: var(--vt-font-size-base);
  line-height: 32px;
}

.content-style a {
  font-size: var(--vt-font-size-base);
  color: var(--vt-color-primary);
}

.content-style img {
  max-width: 100%;
  margin: 5px 0px;
}

.content-style pre {
  line-height: 18px;
  font-size: 13px !important;
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  padding: 12px;
  margin: 5px 0;
  border-radius: var(--vt-border-radius);
  overflow-x: scroll;
}

.content-style p {
  margin-top: 30px;
  overflow: hidden;
}

.content-style p:first-child {
  margin-top: 0px;
}

.content-style h1,
.content-style h2,
.content-style h3,
.content-style h4,
.content-style h5 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-style h1 { font-size: 25px; }
.content-style h2 { font-size: 22px; }
.content-style h3 { font-size: 18px; }
.content-style h4 { font-size: 16px; }
.content-style h5 { font-size: 10px; }

.content-style ul {
  list-style: inherit;
  padding-left: 25px;
  margin-bottom: 5px;
}

.content-style ol {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 5px;
}

.content-style blockquote {
  padding: 15px;
  background-color: var(--vt-bg-color-grey);
  margin: 20px 0;
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
}

.content-style blockquote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-size: 38px;
  color: var(--vt-color-primary);
}

.content-style .content-excerpt {
  padding: 15px;
  background-color: var(--vt-bg-color);
  margin-top: 20px;
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
}

.content-style table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid var(--vt-border-color);
  margin-top: 10px;
}

.content-style table caption {
  color: var(--vt-text-color);
  font: italic 85%/1 arial, sans-serif;
  padding: 1em 0;
  text-align: center;
}

.content-style table td,
.content-style table th {
  border-left: 1px solid var(--vt-border-color);
  border-width: 0 0 0 1px;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: 0.5em 1em;
}

.content-style table thead {
  background-color: var(--vt-bg-color-grey);
  color: var(--vt-text-color);
  text-align: left;
  vertical-align: bottom;
}

.content-style table td,
.content-style table th {
  background-color: transparent;
  border-bottom: 1px solid var(--vt-border-color);
}

.content-style .hljs {
  /*background-color: transparent !important;*/
  white-space: pre-wrap;
}

.content-style .wp-caption {
  max-width: 100% !important;
}

.content-style .wp-caption img {
  margin-bottom: 0px !important;
}

.content-style .wp-caption .wp-caption-text {
  margin-top: 0px !important;
  font-size: var(--vt-font-size-sm) !important;
  color: var(--vt-text-color-grey);
  line-height: 15px !important;
}

.content-style hr {
  height: 1px;
  background-color: var(--vt-border-color);
  border: none;
  margin: 35px 0;
}
@charset "UTF-8";
/**
 * 文章页，文档页等 公共的点赞，收藏 模块
 */
.content-action {
  display: flex;
  margin-top: 20px;
  color: var(--vt-text-color-grey);
}

.content-action a {
  color: var(--vt-text-color-grey);
}

.widget-action {
  font-size: 13px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 30px;
  cursor: pointer;
  user-select: none;
}

.widget-action.active {
  color: var(--vt-color-primary);
}

.widget-action i {
  font-size: 16px;
  position: relative;
  right: 2px;
}

.widget-action.share-poster i {
  font-size: 20px;
}

/**
 * 分享卡片
 */
.share-dialog-widget {
  box-sizing: border-box;
  font-size: 18px;
  max-width: 90%;
  width: 400px;
  padding: 10px;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 20px var(--vt-shadow-color);
  position: relative;
  color: var(--vt-text-color);
}

.share-dialog-widget .close-button {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  right: 5px;
  text-align: center;
  color: var(--vt-text-color-grey);
}

/* .share-dialog-widget .close-button i {
  font-size: 23px;
  font-weight: bold;
} */

.share-dialog-widget .share-card {
  margin: 15px 0 0 0;
  position: relative;
  padding: 10px;
  z-index: -1;
}

.share-card .thumbnail {
  width: 100%;
  height: 0;
  padding: 0 0 61% 0;
  position: relative;
}

.share-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.share-card .share-card-body h3 {
  font-size: 20px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 10px 0 0 0;
  text-align: justify;
  line-height: 28px;
}

.share-card .share-card-body p {
  font-size: 16px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 10px 0 0 0;
  text-align: justify;
  line-height: 25px;
  color: var(--vt-text-color-grey);
}

.share-card .share-card-footer {
  display: flex;
  padding: 30px 0 0 0;
}

.share-card-footer .info {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.share-card-footer .info img {
  font-size: 13px;
  width: 160px;
  margin: 0 0 0px 0;
  position: relative;
}

.share-card-footer #qrcode {
  width: 80px;
  height: 80px;
  margin-left: auto;
}

.share-card-footer #qrcode img {
  width: 100%;
  height: 100%;
}

.share-dialog-widget .top-layer {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: var(--vt-text-color-grey);
}

.share-dialog-widget #poster {
  height: auto;
  width: 95%;
  position: absolute;
  top: 25px;
  left: 10px;
}

/**
 * 投币
 */
.coin i {}
 
.coin-dialog-widget {
  box-sizing: border-box;
  font-size: 18px;
  max-width: 100%;
  padding: 15px !important;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 20px var(--vt-shadow-color);
  position: relative;
  color: var(--vt-text-color);
}

.coin-dialog-widget .coin-widget {
  display: flex;
  margin: 20px 0 0 0;
}

.coin-dialog-widget .coin-widget img {
  width: 180px;
  height: 180px;
}

.coin-dialog-widget .coin-info {
  font-size: 14px;
  text-align: center;
  line-height: 30px;
}

.toast-box {
  width: auto;
  max-width: 90%;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  position: fixed;
  bottom: 200px;
  left: 50%;
  border-radius: 5px;
  transform: translateX(-50%);
  user-select: none;
  animation: 0.3s layui-m-anim-up;
  z-index: 9999;
}

@keyframes layui-m-anim-up {
  0% {
    opacity: 0;
    transform: translateY(200px) translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}

@charset "UTF-8";
/*
 * 底部按钮 回到顶部
 */
.float-widget {
  width: 45px;
  min-height: 50px;
  position: fixed;
  right: 5px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 999;
  display: none;
}

.float-widget .tool-widget {
  width: 45px;
  height: 45px;
  margin-top: 15px;
  position: relative;
}

.float-widget a.tool-button {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 5px 0 var(--vt-shadow-color);
  border-radius: 50%;
  background-color: var(--vt-bg-color-card);
  cursor: pointer;
}

.float-widget a.tool-button i {
  z-index: 1;
  font-size: 20px;
  color: var(--vt-text-color);
  user-select: none;
}

@media only screen and (min-width: 900px) {
  .float-widget {
    position: fixed;
    right: 20px;
    bottom: 120px;
    display: block;
  }
}

@media only screen and (min-width: 1000px) {
  .float-widget {
    right: calc(50% - 680px);
  }
}







.vt-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  display: none;
}

.vt-dialog[open] {
  display: flex !important;
}

.vt-dialog[modal] {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(0, 0);
  z-index: 99;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}

.vt-dialog[modal]::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  background-color: var(--vt-bg-color-mask);
  position: fixed;
  top: 0;
  left: 0;
}

.no-scroll {
  overflow-y: hidden;
}

.dialog-widget {
  box-sizing: border-box;
  font-size: 18px;
  padding: 25px;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  /* box-shadow: 0 0 20px var(--vt-shadow-color); */
  position: relative;
  user-select: none;
}

.dialog-widget .close-button {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  right: 5px;
  text-align: center;
  color: var(--vt-text-color-grey);
  z-index: 9;
}

.dialog-widget .close-button i {
  font-size: 22px;
  font-weight: bold;
}

.dialog-header {
  height: 25px;
  font-size: 16px;
}

.dialog-header .title {
  float: left;
}

.dialog-header .close {
  float: right;
  font-size: 25px;
  position: relative;
  top: -5px;
}

.dialog-body {
  padding: 10px 0;
}

.dialog-body label {
  cursor: pointer;
  font-size: 14px;
}

.dialog-action-group {
  display: flex;
  justify-content: flex-end;
}

.dialog-action-group .btn {
  margin: 0 0 0 10px;
}

@charset "UTF-8";
/**
 * 模态对话框样式
 */
.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--vt-bg-color-mask);
  backdrop-filter: saturate(97%) blur(20px);
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal.modal-show {
  display: flex;
}

@charset "UTF-8";
/* 加载更多按钮 */
.main-widget button.posts-more-button {
  display: block;
  width: calc(100% - 30px);
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  background-color: var(--vt-bg-color-card);
  color: var(--vt-color-primary);
  border-radius: var(--vt-border-radius);
  border: 1px solid var(--vt-color-primary);
  margin: 10px auto;
  cursor: pointer;
}

/* 防止子元素响应 */
.main-widget button.posts-more-button > * {
  pointer-events: none;
}

.main-widget button.posts-more-button i {
  display: none;
}

.main-widget button.posts-more-button.loading i {
  display: inline-block;
  /*  animation: rotation-load 1.5s linear infinite;*/
  animation: rotation-load 1s steps(8, end) infinite;
}

@media only screen and (min-width: 900px) {
  .main-widget button.posts-more-button {
    width: 120px;
    margin: 20px auto 20px auto;
  }
}
@keyframes rotation-load {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
  }
}

/**
 * top
 */
.main-container.top{

}
.main-container.top .main-widget{
  
}

@media only screen and (min-width:900px) {
  .main-container.top .main-widget{
    display: flex;
    justify-content: flex-start;
    width: 1200px;
  }
  .main-container.top .swiper{
    width: 880px;
    height: 400px;
    flex: 0 0 auto;
  }
  /*  .main-container.top .top-hot-widget{
    width: 400px;
    flex: 0 0 400px;
    margin:0 0 0 20px;
    position: relative;
  }*/
}


/******************************************************************************
 * 幻灯样式
 */
.swiper-container {
  width: 100%;
  height: 50vw;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0px auto;
  overflow: hidden;
  border-radius: var(--vt-border-radius);
}

.swiper-container .swiper-slide {
  background: var(--vt-bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.swiper-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.slider-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 30px 20px;
  height: 95px;
  box-sizing: border-box;
  text-align: left;
  font-size: 20px;
  background-image:linear-gradient(-180deg,transparent 13%,rgba(0,0,0,.35) 97%);
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
.dark-mode .slider-title { color: #b9b9b9; }
.swiper-container .swiper-pagination {
  text-align: left;
  box-sizing: border-box;
  padding: 0 20px;
}
.swiper-container .swiper-pagination-bullet {
  width: 10px;
  height: 6px;
  background-color: var(--vt-color-primary);
  border-radius: 3px;
}

.swiper-container .swiper-pagination-bullet-active {
  width: 20px;
  background-color: var(--vt-color-primary);
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
  visibility: hidden;
  opacity: 0;
  display: flex;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  left: 20px;
  transition: opacity 0.2s ease-in-out;
  z-index: 99;
}
.swiper-container .swiper-button-next::after,
.swiper-container .swiper-button-prev::after {
  color: #fff;
  font-size: 14px;
}
.swiper-container .swiper-button-next.swiper-button-disabled,
.swiper-container .swiper-button-prev.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: auto;
}

.swiper-container .swiper-button-next {
  left: auto;
  right: 20px;
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
  visibility: visible;
}
.swiper-container:hover .swiper-button-next:not(.swiper-button-disabled),
.swiper-container:hover .swiper-button-prev:not(.swiper-button-disabled) {
  opacity: 1;
}




/******************************************************************************
 * 
 */
.hot-img-widget{
  box-sizing: border-box;
  margin: 8px 0 0 0;
  margin-right: -8px;
  display: flex;
  justify-content: flex-start;
}
.hot-img-widget .item{
  display: block;
  width: calc(50% - 8px);
  margin: 0 8px 0 0;
  aspect-ratio: 1 / 0.6;
  position: relative;
  border-radius: var(--vt-border-radius);
  overflow: hidden;
}
.hot-img-widget .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-img-widget .item .title{
  position: absolute;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  height: 50px;
  width: 100%;
  font-size: 15px;
  color: var(--vt-text-color-inverse);
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  padding: 0 12px;
  line-height: 60px;
  background-image:linear-gradient(-180deg,transparent 13%,rgba(0,0,0,.35) 97%);
}
.dark-mode .hot-img-widget .title { color: #b9b9b9; }

@media only screen and (min-width:900px) {
  .main-container.top .hot-img-widget{
    width: 300px;
    flex: 0 0 300px;
    margin:0 0 0 20px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
  }

  .hot-img-widget .item{
    width: 100%;
    height: 190px;
    aspect-ratio: 1 / 0.1;
  }



}




/**
 * home - hot
 */
.hot-widget {
  margin: 8px 0px;
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

.hot-widget .header {
  padding: 15px 15px 15px 15px;
  font-size: var(--vt-font-size-base);
  font-weight: bold;
  margin: 0 !important;
}

.hot-widget .header .title {
  font-size: var(--vt-font-size-base);
  font-weight: bold;
}

.hot-widget .header a {
  font-weight: normal;
}

.hot-widget .body {
  width: 100%;
  overflow: scroll;
  padding: 0 15px 15px 15px;
  box-sizing: border-box;
}

.hot-widget .body::-webkit-scrollbar {
  display: none;
}

.hot-widget .body .hot-list {
  margin-right: -15px;
  margin-top: 0px;
  display: flex;
  padding: 0 2px;
}

.hot-list .hot-item {
  width: calc(45% - 10px);
  margin-right: 10px;
  flex: 0 0 auto;
  position: relative;
  border-radius: var(--vt-border-radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.hot-item .hot-thumbnail {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  position: relative;
  background-color: var(--vt-bg-color-grey);
}

.hot-item .hot-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--vt-border-radius);
}

.hot-item .hot-title {
  width: 100%;
  /*  height: 30px;*/
  /*  line-height: 30px;*/
  padding: 10px 0 0 0;
  text-align: center;
  font-size: 14px;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}

@media only screen and (min-width: 900px) {
  .hot-widget {
    width: 100%;
    margin: 20px auto 20px auto;
  }
  .hot-list .hot-item {
    width: calc(25% - 15px);
    margin-right: 15px;
  }
}
.media-widget {
  margin-top: 10px;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  padding: 15px;
}

@media only screen and (min-width: 900px) {
  .media-widget {
    margin-top: 20px;
  }
}


.main-container.hot .main-widget{}
@media only screen and (min-width: 900px) {
  .main-container.hot .main-widget{
    width: 100%;
  }
}

.articles-widget {
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  overflow: hidden;
}

.articles-widget::after {
  content: "";
  display: block;
  clear: both;
}

.articles-widget .articles-header {
  padding: 15px 15px 15px 15px;
  font-size: var(--vt-font-size-base);
  font-weight: bold;
}

.articles-list .media-item:nth-child(1) {
  /* border-top: 1px solid var(--vt-border-color); */
  padding-top: 5px !important;
}

@media only screen and (min-width: 900px) {
 /* .articles-widget {
    margin: 20px 0 0 0;
  }*/
}

.links-list {
  padding: 15px;
}

.links-list a {
  margin-right: 20px;
  line-height: 30px;
  font-size: 14px;
}

@media only screen and (min-width: 900px) {
  .links.widget-container {
    width: 100%;
  }
}

/******************************************************************************
 * single.php
 */

.article-widget {
  padding: 15px;
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

.article-widget .article-title {
  line-height: 28px;
  font-size: var(--vt-font-size-lg);
  font-weight: 600;
  color: var(--vt-text-color);
  word-break: break-all;
}

.article-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  color: var(--vt-text-color-grey);
  font-size: 14px;
  padding: 20px 0 20px 0;
}

.article-box .author{
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-box .author .avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:0 4px 0 0;
  overflow: hidden;
}
.article-box .author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-box .meta-item,
.article-box .meta-item a {
  margin-right: 30px;
  font-size: 14px;
  color: var(--vt-text-color-grey);
}

.article-box .meta-item i {
  font-size: 13px;
  margin: 0 2px 0 0;
}

.article-box .category-meta-item{
  margin-right: 3px !important;
}




.meta-item.comment-counter {
  display:none;
}
@media only screen and (min-width:900px){
  .meta-item.comment-counter { display:block; }
}




.article-content
{
  padding: 20px 0 0 0;
  border-top: 1px solid var(--vt-border-color);
  word-break: break-all;
}

.copyright-content {
  padding: 10px 20px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  border-radius: var(--vt-border-radius);
  margin-top: 20px;
  background-color: var(--vt-bg-color);
}

.copyright-content i {
  display: inline-block;
  transform: scale(1.35);
  position: relative;
  /* top: 1px; */
}

.dark-mode pre {
  line-height: 18px;
  font-size: 13px !important;
  background-color: var(--vt-bg-color) !important;
  border-color: var(--vt-bg-color) !important;
  padding: 12px;
  margin: 5px 0;
  color: var(--vt-text-color);
  border-radius: var(--vt-border-radius);
}


/**
 * 文章内页分类和标签
 */
.tags-widget{
  margin: 20px 0 0px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.tags-widget .icon{
  font-size:18px;
  color: var(--vt-text-color-grey);
  margin-right: 8px;
  position: relative;
  /* top: -2px; */
}
.tags-widget .tag-item{
  margin: 0 8px 0 0;
}
.tags-widget .tag-item a{
  display: block;
  padding: 0px 5px;
  line-height: 20px;
  background-color: var(--vt-bg-color-grey);
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
  border-radius: var(--vt-border-radius);
}


/**
 * 文章上一篇和下一篇导航
 */
.article-prev-next-nav {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  margin: 10px 0px;
}

.article-prev-next-nav .article-nav {
  flex: 0 0 calc(50% - 5px);
  display: block;
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.article-nav.next-nav .arrow-icon {
  text-align: right;
}

.article-nav .arrow-icon i {
  position: relative;
  top: 1px;
}

.article-nav .article-link {
  height: 40px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0px 0px 10px;
  font-size: 15px;
}

.article-nav .article-link a {
  font-size: 15px;
  cursor: pointer;
}

.article-nav.next-nav {
  text-align: right;
}

@media only screen and (min-width: 900px) {
  .article-prev-next-nav {
    margin: 20px 0px;
  }
  .article-prev-next-nav .article-nav {
    flex: 0 0 calc(50% - 10px);
  }
}


/**
 * TOC 目录
 */
.toc-widget{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  padding: 15px;
}
.toc-header{
  display: flex;
  justify-content: space-between;
}
.toc-button{
  font-size:13px;
  color: var(--vt-text-color-grey);
  cursor: pointer;
}
.toc-button span:first-child{ display:block; }
.toc-button span:last-child{ display:none; }
.toc-widget.show .toc-button span:first-child{ display:none; }
.toc-widget.show .toc-button span:last-child{ display:block; }

ul.toc_list{
  padding: 0;
}
ul.toc_list li{
  list-style: none;
  padding: 2px 0;
}
ul.toc_list li,
ul.toc_list li a{
  font-size:14px;
  color: var(--vt-text-color);
  line-height: 25px !important;
}
ul.toc_list .level-3 a{ padding:0 0 0 0px; }
ul.toc_list .level-4 a{ padding:0 0 0 20px; }
ul.toc_list .level-5 a{ padding:0 0 0 40px; }
ul.toc_list .level-6 a{ padding:0 0 0 60px; }

.toc-body {
  display:none;
  margin: 10px 0 0 0;
  padding:10px 0;
  border-top: 1px solid var(--vt-border-color);
}
.show .toc-body { display:block; }

@media only screen and (min-width:900px){
  .toc-widget{
    max-width: 500px;
  }
}


/**
 * 推荐
 */
.related-posts-widget {
  /* display: none; */
  margin: 8px 0;
  background-color: var(--vt-bg-color-card);
  padding: 15px;
  box-shadow: 0px 0px 3px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

.related-posts-widget .related-header {
  padding-bottom: 15px;
}

.related-posts-widget .related-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--vt-text-color);
  position: relative;
}

.related-posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.related-post-item {
  padding: 12px;
  border: 1px solid var(--vt-border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  background: var(--vt-bg-color-card);
}

.related-post-item:hover {
  border-color: #007cba;
  background: var(--vt-bg-color-card);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.related-post-item a {
  text-decoration: none;
}

.related-post-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--vt-text-color);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--vt-text-color-grey);
}

.related-post-meta i {
  margin-right: 4px;
}

.related-post-meta span {
  display: flex;
  align-items: center;
}

.no-related-posts {
  text-align: center;
  padding: 30px;
  color: var(--vt-text-color-grey);
  font-size: 14px;
}

@media only screen and (min-width: 900px) { 
  .related-posts-widget {
    margin: 20px 0 0 0;
  }
}


/*****************************************************************************/


/**
 * short code 插入相册样式
 */

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* 图片之间的间距 */
  justify-content: center;
}

/* 单个图片项的样式 */
.gallery .gallery-item {
  flex: 1 1 calc(33.333% - 32px); /* 减去间距确保三张图一行 */
  box-sizing: border-box;
}

.gallery .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: var(--vt-border-radius);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

/* 鼠标悬停在图片上时的效果 */
.gallery .gallery-item img:hover {
  transform: scale(1.05);
}

/* 在小屏幕上调整布局 */
@media (max-width: 768px) {
  .gallery .gallery-item {
    flex: 1 1 calc(50% - 32px); /* 双列布局 */
  }
}

@media (max-width: 480px) {
  .gallery .gallery-item {
    flex: 1 1 100%; /* 单列布局 */
  }
}


/**
 * Shortcode Notice Blocks
 */
.privilege-content-wrapper {
  position: relative;
  margin: 20px 0;
  border: 2px dashed var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  min-height: 180px;
  overflow: hidden;
  background-color: #eaf6ff;
  box-sizing: border-box;
  padding: 10px;
}

.dark-mode .privilege-content-wrapper { background-color: var(--vt-bg-color-card); }

.privilege-content-wrapper .privilege-indicator {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 20px;
  background-color: var(--vt-bg-color);
  border-radius: 0 0 0 5px;
  z-index: 2;
  color: var(--vt-text-color-inverse);
}
.privilege-content-wrapper.comment-required .privilege-indicator  { background-color: rgba(76, 175, 80, 0.5); }
.privilege-content-wrapper.login-required .privilege-indicator  { background-color: rgba(33, 156, 243, 0.5); }
.privilege-content-wrapper.vip-required .privilege-indicator  { background-color: rgba(255, 152, 0, 0.5); }

.privilege-content-wrapper .privilege-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.privilege-content-wrapper .privilege-title {
  margin: 15px 0;
  font-size: 18px;
  color: var(--vt-text-color);
  display: flex;
  align-items: center;
}

.privilege-content-wrapper .privilege-title i {
  margin-right: 10px;
  font-size: 20px;
}

.privilege-content-wrapper .privilege-action {
  margin-top: 20px;
}

.privilege-content-wrapper .privilege-btn {
  display: inline-block;
  padding: 6px 18px;
  background-color: var(--vt-color-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--vt-border-radius);
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 20px;
}

.privilege-content-wrapper .privilege-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.privilege-content-wrapper.comment-required {
  border-color: rgba(76, 175, 80, 0.5);
}

.privilege-content-wrapper.login-required {
  border-color: rgba(33, 156, 243, 0.5);
}

.privilege-content-wrapper.vip-required {
  border-color: rgba(255, 152, 0, 0.5);
}

@charset "UTF-8";
/**
 * 单页
 */
.singular-page-container {
  margin-top: 10px;
  padding: 15px;
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

.page-title {
  line-height: 30px;
  font-size: var(--vt-font-size-lg);
  font-weight: 600;
  color: var(--vt-text-color);
}

.page-meta {
  margin: 2rem 0rem 5rem 0rem;
}

.page-content {
  margin-top: 30px;
}

/******************************************************************************
 * 评论表单
 */
.comments-area {
  background-color: var(--vt-bg-color-card);
  padding: 15px;
  box-shadow: 0px 0px 3px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

.screen-reader-text,
.comment-reply-title {
  font-size: var(--vt-font-size-base);
}

.comment-reply-title small a {
  font-size: var(--vt-font-size-sm);
  font-weight: 400;
  color: var(--vt-color-primary);
  margin-left: 10px;
}

.top-info {
  margin: 10px 0 5px 0;
  font-size: 15px;
  color: var(--vt-text-color-grey);
}

.top-info a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-color-primary);
}

.comment-form {
  font-size: var(--vt-font-size-base);
}

.comment-form .comment-form-comment {
  margin: 15px 0 0px 0;
}

.comment-form .comment-form-comment textarea {
  box-sizing: border-box;
  width: 100%;
  height: 120px;
  padding: 10px;
  border-radius: var(--vt-border-radius);
  outline: none;
  border: 1px solid var(--vt-border-color);
  background-color: var(--vt-bg-color-card);
  font-size: 14px;
  line-height: 25px;
  color: var(--vt-text-color);
}

.comment-form .comment-input-widget .input-field {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0px 8px;
  margin: 10px 0 0 0;
  border-radius: var(--vt-border-radius);
  outline: none;
  border: 1px solid var(--vt-border-color);
  color: var(--vt-text-color-grey);
  font-size: 14px;
  background-color: var(--vt-bg-color-card);
}

.comment-form .comment-form-cookies-consent {
  margin: 10px 0 0 0;
  font-size: var(--vt-font-size-sm);
  line-height: 20px;
  color: var(--vt-text-color-grey);
  overflow: hidden;
  padding: 1px;
  display: block;
}

.comment-form .comment-form-cookies-consent #wp-comment-cookies-consent {
  width: 16px;
  height: 16px;
  position: relative;
  top: 3px;
}

.comment-form .input-field::placeholder,
.comment-form .comment-form-comment textarea::placeholder {
  color: var(--vt-text-color-grey);
}

.comment-form .input-field:focus,
.comment-form .comment-form-comment textarea:focus {
  border: 1px solid var(--vt-color-primary);
}

.comment-form .form-submit {
  margin-top: 10px;
  padding: 1px 0;
}

.comment-form .form-submit .submit {
  min-width: 60px;
  display: block;
  height: 35px;
  line-height: 35px;
  padding: 0px 10px;
  margin: 0;
  font-size: 15px;
  border: none;
  border-radius: var(--vt-border-radius);
  background: var(--vt-color-primary);
  color: #fff;
  cursor: pointer;
}
.dark-mode .comment-form .submit { color: #b9b9b9; }

@media only screen and (min-width: 900px) {
  .comment-form .form-submit {
    margin-top: 13px;
  }
  .comment-input-widget {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  .comment-form .comment-input-widget .input-field {
    width: calc(33.33% - 10px);
    margin: 0;
  }
}



/******************************************************************************
 * 评论列表
 */
.comments-title {
  font-size: var(--vt-font-size-base);
  margin-top: 20px;
}

.comment-list {
  padding: 0px;
  font-size: var(--vt-font-size-sm);
}

.comment-list li.comment .children {
  padding-left: 50px;
}

.comment-list .comment:last-child .comment-item { border-bottom: 0; }

.comment-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--vt-border-color);
}

.comment-item .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: top;
}

.comment-header .comment-author {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  clear: both;
  font-size: var(--vt-font-size-base);
}

.comment-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--vt-border-color);
}

.comment-author span.nickname {
  margin-left: 10px;
}

.comment-author a {
  font-size: var(--vt-font-size-base);
}

.comment-author i {
  font-size: 14px;
  position: relative;
  top: -1px;
  left: -4px;
  color: var(--vt-color-warning);
}

.comment-header .comment-meta {
  font-size: 10px;
  color: var(--vt-text-color-grey);
  clear: both;
}

.comment-header .comment-meta a {
  color: var(--vt-text-color-grey);
}

.comment-item .comment-content {
  padding: 0 0 0 50px;
  line-height: 28px;
  font-size: 15px;
}

.comment-item .comment-status {
  padding: 0 0 0 50px;
  line-height: 28px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-color-warning);
}

.comment-item .reply {
  padding: 0 0 0 50px;
}

.comment-item .reply a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-color-primary);
  line-height: 28px;
}

.no-comments {
  margin-top: 10px;
}


/******************************************************************************
 * 评论分页
 */
.comment-nav-widget{
  display: flex;
  justify-content: center;
  padding: 0 0 30px 0;
}

.comment-nav-widget a {
  border: 1px solid var(--vt-color-primary);
  width: 35px;
  height: 30px;
  margin: 0 5px;
  border-radius: var(--vt-border-radius);
  color: var(--vt-color-primary);
  /*  background-color: var(--vt-color-primary);*/
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}


/**
* header 移动端菜单
*/

.no-scroll {
  overflow-y: hidden;
}

.header.mobile {
  width: 100%;
  height: 50px;
  background-color: var(--vt-bg-color-card);
}
.header.mobile .header-nav {
  box-sizing: border-box;
  padding: 0px 8px;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0px 0px 3px var(--vt-shadow-color);
}
.header.mobile .header-nav a.logo {
  display: block;
  height: 30px;
  margin-right: auto;
}
.header.mobile .header-nav a.logo img { height: 30px; }
.header.mobile .header-nav a.logo img[darkness]{ display:none; }
body.dark-mode .header.mobile .header-nav a.logo img[light]{ display:none; }
body.dark-mode .header.mobile .header-nav a.logo img[darkness]{ display:block; }

.header.mobile .header-nav a.top-nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin: 0 0 0 8px;
}
.header.mobile .header-nav a.top-nav-button i {
  font-size: 20px;
}

.header.mobile .top-nav-button.dark-mode-button .moon {
  display: none;
}
.header.mobile .top-nav-button.dark-mode-button .sun {
  display: block;
}
.header.mobile .top-nav-button.dark-mode-button.dark .moon {
  display: block;
}
.header.mobile .top-nav-button.dark-mode-button.dark .sun {
  display: none;
}



/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/


/**
 * 移动对话框
 */
.header.mobile .mobile-menu-modal {
  width: 100vw;
  height: 100vh;
  z-index: 80;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--vt-bg-color-mask);
  display: none;
}
.header.mobile .mobile-menu-modal.show {
  display: flex;
}
.header.mobile .mobile-menu {
  box-sizing: content-box;
  background-color: var(--vt-bg-color-card);
  position: fixed;
  top: 0;
  right: 0;
  width: 65vw;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  z-index: 6;
}

.header.mobile .mobile-menu .action-widget {
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 5px;
  box-sizing: border-box;
}
.header.mobile .action-widget .action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  color: var(--vt-text-color);
  cursor: pointer;
}
.header.mobile .action-widget .action-button i {
  font-size: 20px;
}

.header.mobile .mobile-menu .mobile-ul {
  width: 100%;
  height: 80%;
  margin-top: 0px;
  box-sizing: border-box;
  padding: 10px 30px;
  overflow-y: scroll;
  scrollbar-width: none;
  height: calc(100vh - 400px);
}
.header.mobile .mobile-menu .mobile-ul::-webkit-scrollbar {
  display: none;
  width: 0;
}
.header.mobile .mobile-ul li {
  width: 100%;
  height: auto;
  line-height: 30px;
  color: var(--vt-text-color);
  position: relative;
  margin: 15px auto;
}
.header.mobile .mobile-ul li > i {
  font-size: 22px;
  position: relative;
  top: 2px;
}
.header.mobile .mobile-ul li:after {
  content: "";
  clear: both;
}
.header.mobile .mobile-ul li a {
  font-size: 16px;
}
.header.mobile .mobile-ul li.menu-item-has-children i {
  position: absolute;
  font-size: 14px;
  top: 6px;
  right: 0px;
}
.header.mobile .mobile-ul .child-menu {
  margin-left: 20px;
  display: none;
}
.header.mobile .mobile-ul .menu-item-has-children.active > .child-menu {
  display: block;
}
.header.mobile .mobile-ul .menu-item-has-children.active > i {
  transform: rotate(180deg);
}

.header.mobile .mobile-ul li.fa-solid{ font-weight:normal; }
.header.mobile .mobile-ul li.fa-solid.menu-item::before { margin:0 2px 0 0; }
.header.mobile .mobile-ul li a{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}


.header.mobile .mobile-search-modal.modal {
  width: 100vw;
  height: 100vh;
  z-index: 80;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--vt-bg-color-mask);
  display: none;
  justify-content: center;
  align-items: center;
}
.header.mobile .mobile-search-modal.modal.show {
  display: flex;
}
.header.mobile .mobile-search-modal.modal .modal-dialog {
  position: relative;
  font-size: 18px;
  width: 90%;
  max-width: 300px;
  padding: 20px;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 3px var(--vt-shadow-color);
}
.header.mobile .mobile-search-modal.modal .modal-dialog .modal-close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  top: 0;
}
.header.mobile .mobile-search-modal.modal .modal-dialog .modal-close-button i {
  font-size: 20px;
}
.header.mobile .mobile-search-modal.modal .modal-dialog .modal-header {
  text-align: center;
  margin-bottom: 20px;
  color: var(--vt-text-color);
}
.header.mobile .mobile-search-modal.modal .modal-dialog .field {
  width: 100%;
  height: 35px;
  box-sizing: border-box;
  margin-bottom: 20px;
  position: relative;
  font-size: 14px;
  color: var(--vt-text-color);
}
.header.mobile .mobile-search-modal.modal .modal-dialog .field-text input {
  width: 100%;
  height: 35px;
  box-sizing: border-box;
  color: var(--vt-text-color);
  border: 1px solid var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  text-indent: 10px;
}
.header.mobile .mobile-search-modal.modal .modal-dialog .field-button {
  margin-bottom: 0px;
}
.header.mobile .mobile-search-modal.modal .modal-dialog .field-button button {
  width: 100px;
  height: 35px;
  border: 1px solid transparent;
  background-color: var(--vt-color-primary);
  border-radius: var(--vt-border-radius);
  color: var(--vt-text-color-inverse);
  display: block;
  margin: 0px auto;
}

.header.pc {
  display: none;
}


/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/


/**
* header 900px+
*/
@media only screen and (min-width: 900px) {
  .header.mobile {
    display: none;
  }
  .header.pc {
    display: block;
    width: 100%;
    height: 60px;
    background-color: var(--vt-bg-color-card);
    box-shadow: 0px 0px 3px 0 var(--vt-shadow-color);
    z-index: 9;
    position: relative;
  }
  .header.pc .header-nav {
    width: 1200px;
    height: 60px;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }
  .header.pc .header-nav a.logo {
    display: flex;
    height: 60px;
    min-width: 120px;
    width: auto;
    align-items: center;
    justify-content: flex-start;
    font-size: var(--vt-font-size-lg);
    float: left;
  }
  .header.pc .header-nav a.logo img {
    display: block;
    max-height: 70%;
  }
  .header.pc .header-nav a.logo img[darkness]{ display:none; }
  body.dark-mode .header.pc .header-nav a.logo img[light]{ display:none; }
  body.dark-mode .header.pc .header-nav a.logo img[darkness]{ display:block; }


  /*****************************************************************************/
  

  /**
   * PC 菜单样式
   */
  .header.pc .pc-nav {
    list-style: none;
    height: 60px;
    width: 820px;
    float: left;
    margin-left: 30px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    overflow: visible;
  }
  .pc-nav li {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9;
    height: 60px;
    min-width: 60px;
    box-sizing: border-box;
    padding: 0px 15px;
    flex: 0 0 auto;
  }
  .pc-nav li a {
    font-size: var(--vt-font-size-base);
    display: block;
    white-space: nowrap;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    font-weight: normal;
  }
  /* .pc-nav .menu-item.fa-solid { font-weight: normal; } */
  .pc-nav .menu-item.fa-solid::before {
    font-size: 17px !important;
    margin: 0 3px 0 0;
    position: relative;
    top: -1px;
  }
  .pc-nav li a i.fa-solid { font-size: 14px; font-weight: bold; }
  .pc-nav li a{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
  .child-menu {
    background-color: var(--vt-bg-color-card);
    box-shadow: 0 0 3px 0 var(--vt-shadow-color);
    border-radius: var(--vt-border-radius);
    position: absolute;
    top: 60px;
    left: 0;
    display: none;
    flex-direction: column;
    width: 160px;
  }
  .child-menu li {
    height: auto;
  }
  .child-menu li a {
    height: 45px;
    line-height: 45px;
  }
  .child-menu li a i {
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    top: 0px;
    right: 3px;
  }
  .menu-item-has-children .menu-item-has-children {
    box-sizing: border-box;
    padding-right: 20px;
  }
  .menu-item-has-children .menu-item-has-children .child-menu {
    top: 0px;
    left: 100%;
  }
  .menu-item-has-children.active > .child-menu {
    display: flex;
  }
  .menu-item-has-children .menu-item-has-children i{
    top: 15px;
  }
  .menu-item-has-children.active > a i {
    display: inline-block;
    transform: rotate(180deg);
  }
  .menu-item-has-children .menu-item-has-children.active > a i {
    display: inline-block;
    transform: rotate(-90deg);
  }


  /*****************************************************************************/
  

  /* 登录注册等按钮 */
  .header.pc .header-button-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .header.pc .header-button-group .button {
    height: 26px;
    line-height: 26px;
    padding: 0px 10px;
    display: block;
    font-size: 14px;
    margin-left: 12px;
    border-radius: var(--vt-border-radius);
    border: 1px solid var(--vt-border-color);
  }
  .header.pc .header-button-group a.nav-button {
    width: 40px;
    /* height: 30px;
    line-height: 30px; */
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
  }
  .header.pc .header-button-group a.nav-button i {
    font-size: 20px;
    font-weight: 300;
  }
  .header.pc .header-button-group a.nav-button.dark-mode-button {
    transition: 0.3s all linear;
  }
  .header.pc .header-button-group .dark-mode-button .moon {
    display: none;
  }
  .header.pc .header-button-group .dark-mode-button .sun {
    display: block;
  }
  .header.pc .header-button-group .dark-mode-button.dark .moon {
    display: block;
  }
  .header.pc .header-button-group .dark-mode-button.dark .sun {
    display: none;
  }
  .header.pc .search-toggle-button.active {
    color: var(--vt-color-primary);
  }
  .header.pc .header-top-avatar {
    width: 30px;
    height: 30px;
    margin-left: 10px;
  }
  .header.pc .header-top-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  .header-nav::after {
    content: "";
    width: 0px;
    height: 0px;
    clear: both;
  }

  
  /*****************************************************************************/
  

  /* 搜索框 */
  .search-widget {
    width: 100%;
    min-height: 160px;
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--vt-bg-color-card);
    box-shadow: 0 5px 5px 0 var(--vt-shadow-color);
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--vt-border-color);
  }
  .search-widget.show {
    display: flex;
  }
  .search-widget .close-widget {
    width: 600px;
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
  }
  .search-widget .close-widget a i {
    font-size: 25px;
  }
  .search-widget .search {
    display: flex;
    width: 500px;
    height: 40px;
    margin-top: 20px;
    justify-content: space-between;
  }
  .search-widget .search input {
    width: 410px;
    outline: none;
    border: 1px solid var(--vt-border-color);
    border-radius: var(--vt-border-radius);
    text-indent: 10px;
  }
  .search-widget .search input:focus {
    box-shadow: 0 0 3px 0 var(--vt-color-primary);
  }
  .search-widget .search .search-button {
    width: 80px;
    border: 1px solid var(--vt-color-primary);
    background-color: var(--vt-color-primary);
    border-radius: var(--vt-border-radius);
  }
  .search-widget .search-button i {
    font-size: 18px;
    color: var(--vt-text-color-inverse);
  }

  
  /*****************************************************************************/
  

  /* 用户中心弹窗 */
  .header.pc .user-widget {
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    min-height: 100px;
    padding: 15px;
    background-color: var(--vt-bg-color-card);
    box-shadow: 0 0 5px 0 var(--vt-shadow-color);
    border-radius: var(--vt-border-radius);
    overflow: hidden;
    display: none;
  }
  .header.pc .user-widget.show {
    display: block;
  }
  .user-widget .user-header {
    display: flex;
  }
  .user-widget .user-header .avatar {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--vt-border-color);
    margin-right: 10px;
  }
  .user-widget .user-header .user-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--vt-font-size-sm);
  }
  .user-widget .user-header .user-nickname {
    color: var(--vt-text-color);
    font-size: var(--vt-font-size-base);
    font-weight: bold;
  }
  .user-widget .user-header .user-more {
    margin-top: 7px;
    color: var(--vt-text-color-grey);
  }
  .user-widget .links-widget {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
  }
  .user-widget .links-widget a {
    font-size: 15px;
    margin: 5px 0;
  }
  .user-widget .links-widget i {
    color: var(--vt-color-primary);
    display: inline-block;
    position: relative;
    top: 1px;
    font-size: 18px;
    margin-right: 7px;
  }
}


/*****************************************************************************/


/* 样式覆盖 */
.menu-item badge{
  font-size: 12px;
  line-height: 15px;
  padding: 2px 4px;
  min-width: 8px;
  min-height: 8px;
  display: inline-block;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  background-color: #fe3459;
  transform: translate(-7px, -12px) scale(.85);
}



/*****************************************************************************/

/**
 * 移动端菜单
 */
 .mobile-menu .user-widget-mobile {
  width: 100%;
  padding: 20px 15px;
  box-sizing: border-box;
}

.user-widget-mobile .user-header {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.user-widget-mobile .user-header .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-widget-mobile .user-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.user-widget-mobile .user-nickname {
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 10px 0;
}

.user-widget-mobile .user-more {
  color: var(--vt-text-color-grey);
  font-size: 14px;
  box-sizing: border-box;
  padding: 0 20px;
  line-height: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-widget-mobile .links-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

.user-widget-mobile .links-widget a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  border-radius: 8px;
  color: var(--vt-text-color);
  background: var(--vt-bg-color-grey);
  transition: all 0.3s ease;
  font-size: 14px;
}

.user-widget-mobile .links-widget a:hover {
  background: var(--vt-color-primary);
  color: white;
}

.user-widget-mobile .links-widget a i {
  width: 20px;
  margin-right: 10px;
  text-align: center;
}





@charset "UTF-8";
/**
 * footer
 *
 * @author: vtheme <mail@vtheme.cn>
 * @link: https://vtheme.cn
 */
.footer {
  width: 100%;
  height: auto;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 1px 0 var(--vt-shadow-color);
  color: var(--vt-text-color);
  font-size: var(--vt-font-size-sm);
  padding: 25px 0;
}

.footer a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color);
}

.footer-container {
  border-top: 0px;
  line-height: 23px;
  padding: 0 15px;
  text-align: center;
}

.footer-container a:hover {
  color: var(--vt-color-primary);
}

.footer-container span {
  text-align: center;
  align-items: center;
  margin-top: 20px;
  padding: 0px 4px;
}

.footer-container span:nth-child(1) {
  margin-top: 0px;
}


/**
 * 颜色重写
 */
footer[darkness]{
  background-color: #333;
  color: #999 !important;
}

footer[darkness] div,
footer[darkness] span,
footer[darkness] p,
footer[darkness] a {
  color: #999 !important;
}




.widget-container {
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}
.widget-container .widget-header {
  padding: 15px 15px;
}
.widget-container .widget-header .widget-title {
  font-size: var(--vt-font-size-base);
  font-weight: bold;
  color: var(--vt-text-color);
}


/* 标题样式
.widget-header .widget-title {
  position: relative;
  padding-left: 15px;
}
.widget-header .widget-title::after {
  content: "";
  width: 5px;
  height: 14px;
  background-color: var(--vt-color-primary);
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
}
*/

.image-title.widget-container {
  box-sizing: border-box;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}


/**
 * 图文列表
 */
.image-title.widget-container .item-list-wrapper {
  padding: 0 15px 15px 15px;
  box-sizing: border-box;
}

.image-title.widget-container ul.item-list {
  width: auto;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}

.image-title.widget-container ul.item-list .item-widget {
  width: 100%;
  margin: 7px 15px 7px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a {
  display: flex;
  width: 100%;
  height: 65px;
  justify-content: flex-start;
  font-size: var(--vt-font-size-sm);
}

.image-title.widget-container ul.item-list .item-widget a img {
  width: 90px;
  height: 65px;
  border-radius: 3px;
  flex-basis: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.image-title.widget-container ul.item-list .item-widget a .item-title {
  padding: 0px 0 3px 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-shrink: 1;
}

.image-title.widget-container ul.item-list .item-widget a .item-title div {
  font-size: 15px;
  line-height: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.image-title.widget-container ul.item-list .item-widget a .item-title span {
  font-size: 10px;
  color: var(--vt-text-color-grey);
}



/**
 * 文章列表 文章模块
 */
.article.widget-container .article-list {
  counter-reset: num1 0;
  padding: 0 15px 15px 15px;
}
.article.widget-container .article-list .article-item {
  height: 38px;
  line-height: 38px;
}
.article.widget-container .article-list .article-item a {
  font-size: var(--vt-font-size-base);
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article.widget-container .article-list .article-item a:hover {
  color: var(--vt-color-primary);
}
.article.widget-container .article-list .article-item a::before {
  counter-increment: num1 1;
  content: counter(num1) ". ";
}
.article.widget-container .article-list .article-item:first-child {
  margin-top: 0px;
}



/**
 * 热门文章
 */
.hot-list {
  margin-top: 0px;
  counter-reset: num1 0;
}
.hot-list li {
  display: flex;
  padding: 15px 0;
}
.hot-list li .hot-order {
  width: 25px;
  height: 18px;
  background-color: var(--vt-bg-color-grey);
  border-radius: 0 11px 11px 0;
  position: relative;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 18px;
  flex: 0 0 auto;
}
.hot-list li .hot-order::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 3px solid var(--vt-bg-color-grey);
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
  position: absolute;
  bottom: -5px;
  display: none;
}
.hot-list li .hot-order::after {
  counter-increment: num1 1;
  content: counter(num1);
}
.hot-list li .item {
  padding-left: 10px;
}
.hot-list li .item a {
  font-size: var(--vt-font-size-base);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.hot-list li .item .time {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
  margin-top: 15px;
}

.hot-list > li:nth-child(1) .hot-order {
  background-color: #f35;
  color: #fff;
}
.hot-list > li:nth-child(1) .hot-order::before {
  border: 3px solid #f35;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}
.hot-list > li:nth-child(2) .hot-order {
  background-color: #ffa41b;
  color: #fff;
}
.hot-list > li:nth-child(2) .hot-order::before {
  border: 3px solid #ffa41b;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}
.hot-list > li:nth-child(3) .hot-order {
  background-color: #1a85ff;
  color: #fff;
}
.hot-list > li:nth-child(3) .hot-order::before {
  border: 3px solid #1a85ff;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}
.hot-list > li:nth-child(4) .hot-order {
  background-color: #4cd964;
  color: #fff;
}
.hot-list > li:nth-child(4) .hot-order::before {
  border: 3px solid #4cd964;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}


/**
 * 分类列表
 */
.category.widget-container .category-list {
  counter-reset: num1 0;
  padding: 0 15px 15px 15px;
}
.side-menu-widget{}
.side-menu-widget .title{
  font-size: 28px;
  font-weight: bold;
  color: var(--vt-color-primary);
}
.side-menu{
  margin: 12px 0 0 0;
  color: var(--vt-color-primary);
}
.side-menu a{
  padding: 7px 0;
  margin: 0px 0;
}
.side-menu .menu-item{ flex-direction: row; }
.side-menu .menu-item > a{ display: flex; justify-content:space-between; }
.side-menu .menu-item > a .arrow{
  font-size: 15px;
  position: relative;
  top: -1px;
  display: inline-block;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  vertical-align: middle;
  transition: all 0.06s linear;
}

.side-menu .menu-item .side-child-menu{ display: block; }
.side-menu .menu-item.hide-children .side-child-menu{ display: none; }
.side-menu .menu-item.hide-children .arrow{ transform:rotate(180deg); }
.side-menu .menu-item .current-menu-item a{ color: var(--vt-color-primary); }
.side-child-menu{ padding: 0 0 0 30px; }

.fa-solid.menu-item::before{ display: inline-block; }
.fa-solid.menu-item > a{ display: inline-block; }

.side-menu .menu-item.fa-solid::before{ display:none }



/**
 * 作者卡片
 */
.user-card-container {
  box-sizing: border-box;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  margin: 0px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.user-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.user-header .user-avatar {
  width: 80px;
  height: 80px;
}

.user-header .user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-header .nickname {
  margin: 15px 0 0 0;
  font-size: 22px;
  font-weight: bold;
}

.user-header .description {
  margin: 10px 0 0 0;
  padding: 0 45px;
  line-height: 20px;
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}

.user-meta {
  display: flex;
  justify-content: center;
  margin: 12px 0 15px 0;
  color: var(--vt-text-color-grey);
}

.user-meta .meta-item {
  min-width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
  font-size: 12px;
}

.user-meta .meta-item span {
  margin-top: 3px;
}

.user-meta .meta-item span:first-child {
  margin-top: 5px;
  font-size: 16px;
  font-weight: bold;
}

body.dark-mode .user-card {
  background-color: var(--vt-bg-color-card);
}


/**
 * HTML 卡片
 */
.html-card-container {
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  overflow: hidden;
  /* padding: 15px; */
}

.html-card-container img {
  /* width: 100%; */
  height: auto;
  /* border-radius: var(--vt-border-radius); */
  display: block;
}



/**
 * Tags
 */
.tag-container {
  margin-top: 10px;
  overflow: hidden;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  box-sizing: border-box;
}
.tag-container .tag-list {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-right: -10px;
  padding: 15px;
}
.tag-container .tag-list .tag-item {
  overflow: hidden;
  border-radius: 3px;
  margin: 0 10px 10px 0;
  padding: 3px 5px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  display: block;
  color: var(--vt-text-color);
  border: 1px solid var(--vt-border-color);
}
.tag-container .tag-list .tag-item:hover {
  color: var(--vt-color-primary);
  border: 1px solid var(--vt-color-primary);
}
.tag-container .tag-list .tag-item span {
  font-size: 16px;
  font-weight: bold;
}

@media only screen and (min-width: 900px) {
  .tag-container {
    margin-top: 20px;
  }
}


/**
 * 最新评论
 */
.recent-comments.widget-container .recent-comments-list {
  padding: 0 15px 15px 15px;
  margin: 0;
  list-style: none;
}

.recent-comments.widget-container .recent-comment-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--vt-border-color);
}

.recent-comments.widget-container .recent-comment-item:last-child {
  border-bottom: none;
}

.recent-comments.widget-container .comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.recent-comments.widget-container .comment-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.recent-comments.widget-container .comment-author-name {
  font-size: var(--vt-font-size-sm);
  font-weight: bold;
  color: var(--vt-text-color);
}

.recent-comments.widget-container .comment-content {
  margin-bottom: 5px;
}

.recent-comments.widget-container .comment-content a {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 3·px 0;
}

.recent-comments.widget-container .comment-content a:hover {
  color: var(--vt-color-primary);
}

.recent-comments.widget-container .comment-meta {
  font-size: var(--vt-font-size-sm);
  color: var(--vt-text-color-grey);
}

.recent-comments.widget-container .no-comments {
  padding: 15px;
  text-align: center;
  color: var(--vt-text-color-grey);
  font-style: italic;
}



.main-container {
  width: 100%;
  margin: 8px auto;
  padding: 0 8px;
  box-sizing: border-box;
}
/*.main-container > div{ margin:0 0 8px 0; }*/
/*.main-container > div:first-child{ margin-top: 8px; }*/
/*.main-container:first-child{ padding-top:8px; }*/

.main-container::after {
  content: "";
  display: block;
  clear: both;
}

.main-container .main-widget {
  width: 100%;
  /* overflow-x: hidden; not this*/
}

.main-container .main-widget > div:last-child{
  margin-bottom: 0;
} 

.main-container .main-widget .header {
  font-size: var(--vt-font-size-base);
  margin-bottom: 15px;
}

.main-container .main-widget .posts-widget {
  /* width: 100%; */
  margin-right: -8px;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}

.main-container .media-widget {
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

/*.main-widget > * {
  margin-bottom: 10px;
}*/

@media only screen and (min-width: 900px) {
  .main-container {
    width: 1200px;
    margin: 20px auto;
    padding: 0px 0 0 0;
    display: flex;
    justify-content: flex-start;
  }
  .main-container::after {
    content: "";
    display: block;
    clear: both;
  }
  /*  .main-container .main-widget > * {
      margin-bottom: 20px;
    }*/
  .main-container .main-widget {
    width: 880px;
  }
  .main-container .main-widget > div:first-child{
    margin-top: 0 !important;
  }
  .main-container .main-widget .header {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .main-container .main-widget .posts-widget {
    width: auto;
    margin-right: -20px;
    display: flex;
    justify-content: normal;
    flex-wrap: wrap;
  }
  .main-container .main-widget .posts-widget .card-item {
    width: calc(25% - 20px);
    flex: 0 0 calc(25% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .main-container .main-widget .posts-widget.col-num-3 .card-item {
    width: calc(33.33% - 20px);
    width: 280px;
    flex: 0 0 auto;
  }
  .main-container .main-widget .posts-widget.col-num-4 .card-item {
    width: calc(25% - 20px);
    flex: 0 0 auto;
  }
  .main-container .main-widget .posts-widget.col-num-5 .card-item {
    width: calc(20% - 20px);
    flex: 0 0 auto;
  }
  .main-container .main-widget .posts-widget.col-num-6 .card-item {
    width: calc(16.66% - 20px);
    flex: 0 0 auto;
  }
}


/******************************************************************************
 * sider
 */
.sider{
  margin: 8px 0;
}

.sider > div {
  margin: 8px 0;
}
.sider > div:first-child {
  margin-top: 0;
}

@media only screen and (min-width: 900px) {
  .sider {
    width: 300px;
    flex: 0 0 300px;
    margin: 0;
    margin-left: 20px;
    position: relative;
  }
  /* 最后一个模块粘性定位 */
  .sider .widget-container:last-child {
    position: sticky;
    top: 20px;
  }
  .sider > div {
    /*    margin-bottom: 20px;*/
    margin: 0 0 20px 0;
  }
}


/**
 * 宽屏样式覆盖
 */
@media only screen and (min-width: 900px) {
  .main-container[full-width] .main-widget {
    width: 100%;
  }
  .main-container[full-width] .sider {
    display: none;
  }

  .main-container[full-width].article .main-widget,
  .main-container[full-width].videos .main-widget,
  .main-container[full-width].pages .main-widget,
  .main-container[full-width].audios .main-widget
  {
    width: 1200px;
    margin: 0 auto;
  }

  .main-container[full-width].article .main-widget .article-widget,
  .main-container[full-width].videos .main-widget .article-widget,
  .main-container[full-width].pages .main-widget .article-widget,
  .main-container[full-width].audios .main-widget .article-widget
  {
    padding: 30px;
  }


}




.card-item {
  width: calc(50% - 8px);
  flex: 0 0 calc(50% - 8px);
  margin: 0 8px 8px 0;
  box-sizing: border-box;
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  position: relative;
}

.card-item a.card-image {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}

.card-item a.card-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: var(--vt-border-radius) var(--vt-border-radius) 0 0;
  object-fit: cover;
}

.card-item .item-info {
  padding: 10px 10px;
  box-sizing: border-box;
  font-size: 13px;
}

.card-item .item-info a.title {
  display: block;
  font-size: var(--vt-font-size-base);
  font-weight: 500;
  line-height: 20px;
  min-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-item .item-info .description {
  margin-top: 3px;
  font-size: var(--vt-font-size-sm);
  color: #666;
  max-height: 40px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-item .item-price {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 30px;
}

.item-price .price {
  padding: 3px 0px;
  color: #f44336;
  font-size: 15px;
}

.item-price .item-delete {
  color: var(--vt-text-color-grey) !important;
  text-decoration: line-through;
  font-size: 10px;
  margin-left: 10px;
}

.card-meta {
  box-sizing: border-box;
  padding: 5px 5px;
  color: var(--vt-text-color-grey);
  font-size: var(--vt-font-size-sm);
}

.card-meta .meta i {
  position: relative;
  top: 1px;
}

.media-item {
  width: 100%;
  padding: 15px 15px;
  box-sizing: border-box;
  font-size: var(--vt-font-size-base);
  display: flex;
  border-bottom: 1px solid var(--vt-border-color);
}

/*.media-item:hover .media-thumbnail img {
  transition: all 0.2s linear;
  transform: scale(1.03);
}*/

.media-item .media-thumbnail {
  flex-shrink: 0;
  width: 30%;
  margin-right: 15px;
}

.media-item .media-thumbnail a {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 0.7;
}

.media-item .media-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--vt-border-radius);
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.media-item .media-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: calc(70% - 15px);
}

.media-body .media-title {
/*  display: flex;*/
/*  justify-content: flex-start;*/
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--vt-text-color);
  word-break: break-all;
}

.media-body .media-title .sticky {
  height: 16px;
  width: 30px;
  line-height: 16px;
  text-align: center;
  margin-right: 5px;
  padding: 2px 2px;
  border-radius: 3px;
  font-size: 12px;
  background-color: var(--vt-color-primary);
  color: #fff;
  float: left;
  display: inline-block;
  position: relative;
  top: 3px;
}
.dark-mode .media-body .media-title .sticky { color: #b9b9b9; }

.media-body .media-title a {
  font-size: 19px;
  line-height: 25px;
}

.media-body .media-title a:hover { color: var(--vt-color-primary); }
.media-body .media-description { display: none; }
.media-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  color: var(--vt-text-color-grey);
  font-size: 14px;
  margin-top: auto;
}

.media-box .author{
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-box .author .avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:0 4px 0 0;
  overflow: hidden;
}
.media-box .author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-box a {
  font-size: 14px;
  color: var(--vt-text-color-grey);
}
.media-box a:hover{
  color: var(--vt-color-primary);
}

.media-box .meta-item { margin-right: 20px; }
.media-box .meta-item:last-child { margin-right: 0px; }
.media-box .meta-item i {
  font-size: 13px;
  margin: 0 2px 0 0;
}


@media only screen and (min-width: 900px) {
  .media-body .media-description{
    width:100%;
/*    word-wrap: break-word;*/
    overflow-wrap: break-word;
    display: block;
    line-height: 30px;
    font-size: 15px;
    color: var(--vt-text-color-grey);
    margin: 15px 0 0 0;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }



}

/*
@media only screen and (min-width: 900px) {
  .media-item .media-thumbnail {
    width: 200px;
    height: 138px;
  }
  .media-item .media-body {
    height: 140px;
    width: calc(100% - 215px);
    justify-content: flex-start;
  }
  .media-body .media-description {
    margin-top: 10px;
    line-height: 25px;
    display: -webkit-box;
  }
  .media-box {
    margin-top: auto;
  }
  .media-box .author{
    display: flex;
  }
  .media-box span.date {
    display: inline-block;
  }
}
*/
@charset "UTF-8";
/**
 * 分类栏目顶部
 */
.banner {
  box-sizing: border-box;
  width: 100%;
  min-height: 20vw;
  color: #f8f8f8;
  font-size: var(--vt-font-size-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.banner .banner-container {
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 15px;
  text-align: center;
}

.banner .banner-container .title {
  font-size: var(--vt-font-size-base);
  font-weight: 900;
}

.banner .banner-container .description {
  margin-top: 10px;
  font-size: var(--vt-font-size-sm);
  line-height: 18px;
}

@media screen and (min-width: 900px) {
  .banner {
    min-height: 130px;
    padding: 10px 0;
  }
  .banner .banner-container {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
  }
  .banner .banner-container .title {
    font-size: var(--vt-font-size-lg);
    font-weight: 900;
  }
  .banner .banner-container .description {
    width: 500px;
    margin-top: 10px;
    font-size: var(--vt-font-size-base);
    line-height: 25px;
  }
}

@charset "UTF-8";
/*
 * 文章列表样式
 */
.media-list {
  box-sizing: border-box;
  margin: 0px 0px 0px 0;
  background-color: var(--vt-bg-color-card);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  border-radius: var(--vt-border-radius);
}

@media only screen and (min-width: 900px) {
  .media-item {
    padding: 15px !important;
  }
  .media-item .media-widget .media-widget-right {
    width: 160px;
  }
  .media-item .media-widget .media-widget-right img {
    width: 160px;
    height: 100px;
    margin-top: 5px;
    border-radius: 3px;
    object-fit: cover;
  }
  .media-item .media-widget .media-thumbnail {
    flex-shrink: 0;
    width: 160px !important;
    height: 85px !important;
  }
  .media-item .media-widget .media-thumbnail img {
    width: 100%;
    height: 100%;
  }
}

.cards-section {
  width: 100%;
  box-sizing: border-box;
  margin: 20px auto;
  padding: 0px;
}
.cards-section::after {
  content: "";
  display: block;
  clear: both;
}
.cards-section .cards-list {
  width: auto;
  margin-right: -8px;
  display: flex;
  justify-content: normal;
  flex-wrap: wrap;
}
.cards-section .cards-list::after {
  content: "";
  display: block;
  clear: both;
}

@media only screen and (min-width: 900px) {
  .cards-section {
    width: 100%;
    padding: 0;
    margin: 11px auto;
  }
  .cards-section .cards-list {
    margin-right: -20px;
    padding: 0;
  }
  .cards-section .cards-list .card-item {
    width: auto;
    margin: 0 20px 20px 0;
    flex: 0 0 calc(33.33% - 20px);
  }
}


.pagination {
  margin: 20px 0;
  text-align: center;
}

.user-no-content {
  text-align: center;
  padding: 40px 20px;
  color: var(--vt-text-color-grey);
}

.user-no-content img {
  width: 150px;
  height: auto;
  opacity: 0.7;
}

.user-no-content span {
  display: block;
  margin-top: 15px;
  font-size: 16px;
}


.user-likes-list {
  position: relative;
}

.user-like-item {
  display: flex;
  border: 1px solid var(--vt-border-color);
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
  padding: 15px;
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  margin-bottom: 15px;
  position: relative;
}

.user-like-thumbnail{
  display: none;
}

@media screen and (min-width:900px) {
  .user-like-thumbnail{
    display: block;
    width: 90px;
    aspect-ratio: 4 / 3;
    margin: 0 20px 0 0;
  }
  .user-like-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: var(--vt-border-radius);
    object-fit: cover;
  }
}

.like-item-body{
  display: flex;
  flex-direction: column;
}
.like-item-body .like-item-action {
  display: flex;
  margin-top: auto;
}

.like-item-body .like-item-action .like-action-item{
  font-size: 13px;
  margin: 0 20px 0 0;
  color: var(--vt-text-color-grey);
}

.like-edit-btn{
  position: absolute;
  top: 10px;
  right: 10px;
}


/**
 * overwrite
 */
.my-posts-container .user-like-item{
  min-height: 50px;
}


/*
 * 用户中心
 */
.user-center-container {
  width: calc(100% - 16px);
  margin: 10px auto 10px auto;
}

.user-center-container::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  clear: both;
}

.user-center-sidebar {
  width: calc(100% - 40px);
  width: 100%;
}

.user-center-sidebar > * {
  margin-top: 10px;
}

.user-center-sidebar > *:nth-child(1) {
  margin-top: 0;
}


@media only screen and (min-width:900px) {
  .user-center-container {
    width: 1200px;
    margin: 20px auto 20px auto;
    display: flex;
    justify-content: space-between;
  }
  .user-center-sidebar {
    width: 300px;
    float: left;
    margin-top: 0px;
  }
  .user-center-sidebar > * {
    margin-top: 20px;
  }
  .user-center-sidebar > *:nth-child(1) {
    margin-top: 0;
  }
}


/*****************************************************************************/

.user-wrapper {
  width: 100%;
}
.user-wrapper > div:last-child { margin-bottom: 0 !important; }

.user-center-panel {
  width: 100%;
  min-height: 200px;
  padding: 20px;
  margin-top: 10px;
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  color: var(--vt-text-color);
  box-sizing: border-box;
}

.user-center-panel h3 {
  font-size: var(--vt-font-size-base);
  margin-top: 0px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--vt-border-color);
  display: flex;
  align-items: center;
}

@media only screen and (min-width:900px) {
  .user-wrapper {
    width: 880px;
    margin-top: 0;
    margin-left: auto;
    font-size: 18px;
  }
  .user-center-panel {
    margin-top: 0;
    margin-bottom: 20px;
  }

}


/*****************************************************************************/

.profile-hero {
  position: relative;
  height: 200px;
  width: 100%;
  background: var(--background-color, #f0f0f0);
  overflow: hidden;
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--theme-color, #5a667d) 0%, #7f8fa4 100%);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--vt-bg-color-card);
  box-shadow: 0 -1px 4px rgba(0,0,0,0.08);
  padding: 0 8px 30px 0;
  box-sizing: border-box;
}

.hero-avatar-widget {
  position: relative;
  z-index: 2;
  margin-left: 20px;
  margin-top: -50px;
  width: 80px;
  height: 80px;
  border: 4px solid var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.hero-avatar-widget img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-user-info {
  flex: 1;
  margin: 0 0 0 10px;
}

.hero-display-name {
  margin: 5px 0 6px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--vt-text-color);
  line-height: 1.3;
}
.hero-level {
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;
  display: inline-block;
  border-radius: var(--vt-border-radius);
  color: #595d69;
  background-color: #cecece;
  padding: 3px 3px;
  transform: scale(0.9);
  position: relative;
  top: -1px;
}
.hero-level i {
  font-size: 13px;
  margin: 0 3px 0 0;
}
.hero-level.vip {
  color: #0cbc87;
  background-color: #afffe7;
}
.hero-level.svip {
  color: #D4AF37; /* 金属光泽 */
  background-color: #FFF599; /* 光泽背景 */
}

/* .hero-level.svip { background-color: var(--vt-color-danger); } */

.hero-bio {
  margin: 0;
  color: var(--text-color-secondary, #666);
  font-size: 14px;
  line-height: 1.4;
}


@media only screen and (min-width: 900px) {
  .profile-hero {
      height: 300px;
  }
  
  .hero-avatar-widget{
      width: 130px;
      height: 130px;
      margin-left: 35px;
      margin-top: -65px;
  }

  .hero-user-info {
    margin: 0 0 0 20px;
  }

}




/*****************************************************************************/


/* user center nav */
.user-center-sidebar .user-nav {
  background-color: var(--vt-bg-color-card);
  border-radius: var(--vt-border-radius);
  padding: 20px;
  box-shadow: 0 0 2px 0 var(--vt-shadow-color);
  display: flex;
  flex-wrap: wrap;
}

.user-nav a.sidebar-action {
  width: 25%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--vt-font-size-sm);
  padding: 25px 0 0 0;
  box-sizing: border-box;
}

.user-nav a.sidebar-action i {
  font-size: 25px;
}

.user-nav a.sidebar-action i:last-child {
  display: none;
}

.user-nav a.sidebar-action.active {
  color: var(--vt-color-primary);
}

.user-nav a.sidebar-action span { margin: 10px 0 0 0; }

@media only screen and (min-width:900px){
  .user-nav a.sidebar-action {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    font-size: var(--vt-font-size-base);
    padding-bottom: 0;
    padding: 11px 0;
  }
  .user-nav a.sidebar-action i {
    font-size: 20px;
    width: 25px;
  }
  .user-nav a.sidebar-action i:last-child {
    font-size: 16px;
    margin-left: auto;
    display: block;
    width: auto;
  }
  .user-nav a.sidebar-action span {
    margin-left: 10px;
    margin-top: 5px;
  }
}


/*****************************************************************************/


.user-no-content {
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--vt-text-color-grey);
  margin-top: 100px;
}
.user-no-content img {
  width: 100px;
}
.user-no-content span {
  margin-top: 10px;
}


/*****************************************************************************/


.detail-widget {
  position: relative;
  font-size: 15px;
}

.detail-item{
  padding: 20px 0;
  line-height: 25px;
}
.detail-item > *{
  display: inline-block;
}

.detail-item .detail-label{
  min-width: 80px;
  color: var(--vt-text-color-grey);
}

.detail-item .private-note{
  font-size: 12px;
  clear: both;
}
.user-center-panel .media-item {
  padding: 15px 0 !important;
}

.auth-tabs {
  width: 100%;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--vt-border-color);
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: var(--vt-text-color-grey);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
}

.tab-btn.active {
  color: var(--vt-color-primary);
  border-bottom: 2px solid var(--vt-color-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.field {
  margin-bottom: 15px;
}

.field-text {
  display: flex;
  flex-direction: column;
}

.field-text label {
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--vt-text-color-grey);
}

.field-text input {
  padding: 10px;
  border: 1px solid var(--vt-border-color);
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-bg-color-card);
  color: var(--vt-text-color);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.field-text input:focus {
  outline: none;
  border-color: var(--vt-color-primary);
}

.verification-input-group {
  display: flex;
  gap: 10px;
}

.verification-input-group input {
  flex: 1;
}

.verification-input-group button {
  flex-shrink: 0;
  height: auto;
  padding: 10px 15px;
  font-size: 13px;
}

.field-button {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.login-register-dialog .btn {
  color: #fff !important;
  padding: 3px 20px !important;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  /* 
  border: none;
  border-radius: var(--vt-border-radius);
  background-color: var(--vt-color-primary);
  color: #fff !important;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 120px; */
}
.dark-mode .login-register-dialog .btn { color: #fff; }

.btn.primary {
  background-color: var(--vt-color-primary);
}

.btn.primary:hover {
  /* background-color: var(--vt-color-primary-hover); */
  opacity: 0.9;
}

.btn.secondary {
  width: 150px;
  background-color: transparent;
  border: 1px solid var(--vt-color-primary);
  color: var(--vt-color-primary) !important;
}

.btn.secondary:hover {
  filter: brightness(1.2);
}

.login-register-dialog .dialog-widget {
  max-width: 400px;
  width: 90%;
  min-width: 300px;
}

.login-register-dialog .dialog-header {
  border-bottom: 1px solid var(--vt-border-color);
  padding-bottom: 15px;
}

.login-register-dialog .dialog-header .title {
  font-size: 18px;
  font-weight: bold;
  color: var(--vt-text-color);
}

.login-register-dialog .dialog-body {
  padding: 20px 15px;
}

/* 头像上传功能样式 */
.avatar-upload-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

.avatar-upload-overlay span {
  z-index: 2;
  pointer-events: none;
}

.avatar-upload-container:hover .avatar-upload-overlay {
  display: flex;
}

/* 密码重置表单样式 */
#forgot-form-step2 {
  margin-top: 15px;
}

#forgot-back {
  text-align: center;
  margin-top: 15px;
}

#forgot-back a {
  color: var(--vt-color-primary);
  text-decoration: none;
  font-size: 14px;
}

#forgot-back a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-register-dialog .dialog-widget {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
  
  .field-text input {
    font-size: 16px; /* Prevents zoom on iOS devices */
  }
  
  .verification-input-group {
    flex-direction: column;
  }
}



.dark-mode input, .dark-mode textarea {
  color: var(--vt-text-color);
  background-color: var(--vt-bg-color-card);
}
.dark-mode input:focus-visible, .dark-mode textarea:focus-visible {
  outline: 1px solid var(--vt-color-primary);
}




