/* .alertify-notifier {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
} */


/* alertify的弹窗样式  开始*/
.ajs-message {
    border: 1px solid white;
    color: white;
}

.ajs-warning {
    border: 1px solid rgb(79, 125, 239);
    color: rgb(79, 125, 239);
}
/* alertify的弹窗样式  结束*/

.vp-doc p {
  text-indent: 2em;
}

.vp-doc p:has(> img:first-child),
.vp-doc li p,
.vp-doc blockquote p,
.vp-doc table p,
.vp-doc .custom-block p {
  text-indent: 0;
}

.vp-doc img.is-zoomable,
.x-backup__media img.is-zoomable {
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vp-doc img.is-zoomable:hover,
.x-backup__media img.is-zoomable:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.pswp {
  --pswp-bg: rgba(0, 0, 0, 0.88);
}

.pswp__button--download,
.pswp__button--original {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.pswp-caption {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.bilibili-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 16px 0 8px;
  overflow: hidden;
  border: 1px solid var(--vp-c-divider);
  border-radius: 8px;
  background: #000;
}

.bilibili-video iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.member-gate-overlay {
  position: fixed;
  inset: var(--vp-nav-height, 64px) 0 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  z-index: 40;
}
.member-gate-dialog {
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider);
  border-radius: 10px;
  padding: 22px;
  width: 360px;
  max-width: 90%;
  box-shadow: var(--vp-shadow-2);
  color: var(--vp-c-text-1);
  pointer-events: auto;
}
.member-gate-dialog h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.member-gate-dialog p {
  margin: 0 0 16px;
  color: var(--vp-c-text-2);
  font-size: 14px;
  line-height: 1.7;
  text-indent: 0;
}
.member-gate-dialog .row {
  display: grid;
  gap: 8px;
}
.member-gate-dialog input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--vp-c-divider);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
  outline: none;
}
.member-gate-dialog button,
.member-gate-actions a {
  height: 36px;
  border: 1px solid var(--vp-c-divider);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.member-gate-primary {
  border: none !important;
  background: var(--vp-c-brand-1);
  color: #fff;
}
.member-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.member-gate-actions a,
.member-gate-actions button {
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
}
.member-gate-error {
  color: var(--vp-c-danger-1);
  font-size: 12px;
  min-height: 14px;
}
.member-lock-blur {
  filter: blur(12px);
  pointer-events: none;
  user-select: none;
}
