@charset "utf-8";

/* 剑侠 Ultimate：新中式 + 玻璃拟态（覆盖/补充 style.css） */
:root {
  --jxu-paper: #f8f9fa;
  --jxu-ink: #2c3e50;
  --jxu-glass: rgba(255, 255, 255, 0.55);
  --jxu-gold: #d4a017;
  --jxu-neon: rgba(0, 123, 255, 0.65);
  --jxu-panel-bg: linear-gradient(180deg, #ffffff, #f8fbff);
  --jxu-panel-border: #dbe6f4;
  --jxu-chip-bg: #ffffff;
  --jxu-chip-hover-bg: #eff6ff;
  --jxu-chip-hover-border: #93c5fd;
  --jxu-chip-active-bg: #eaf2ff;
  --jxu-chip-active-border: #60a5fa;
  --jxu-chip-text: #334155;
  --jxu-chip-active-text: #1d4ed8;
  --jxu-page-bg:
    radial-gradient(circle at 16% 0%, rgba(59, 130, 246, 0.08), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(56, 189, 248, 0.08), transparent 42%),
    linear-gradient(180deg, #f3f6fb 0%, #eef3fb 100%);
  --jxu-module-bg: linear-gradient(180deg, #ffffff, #f8fbff);
  --jxu-module-title-bg: rgba(59, 130, 246, 0.06);
  --jxu-module-title-text: #1f2f55;
  --jxu-module-text: #334155;
  --jxu-module-muted: #64748b;
  --jxu-module-link: #1d4ed8;
  --jxu-action-bg: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  --jxu-action-border: #c7d7f2;
  --jxu-action-text: #1e3a8a;
  --jxu-action-hover-bg: #eaf2ff;
  --jxu-action-hover-border: #60a5fa;
  --jxu-action-hover-text: #1d4ed8;
}

html.theme-dark {
  --jxu-paper: #1a1a1a;
  --jxu-ink: #e8e8e8;
  --jxu-glass: rgba(30, 30, 30, 0.65);
  --jxu-panel-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(20, 30, 52, 0.9));
  --jxu-panel-border: #2a3a57;
  --jxu-chip-bg: rgba(15, 23, 42, 0.84);
  --jxu-chip-hover-bg: rgba(30, 58, 138, 0.24);
  --jxu-chip-hover-border: rgba(96, 165, 250, 0.45);
  --jxu-chip-active-bg: rgba(30, 58, 138, 0.34);
  --jxu-chip-active-border: #60a5fa;
  --jxu-chip-text: #c9d6eb;
  --jxu-chip-active-text: #f1f5ff;
  --jxu-page-bg: linear-gradient(180deg, #0b1220 0%, #131d31 100%);
  --jxu-module-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(20, 30, 52, 0.9));
  --jxu-module-title-bg: rgba(30, 58, 138, 0.26);
  --jxu-module-title-text: #dbeafe;
  --jxu-module-text: #e2e8f0;
  --jxu-module-muted: #9fb0ce;
  --jxu-module-link: #93c5fd;
  --jxu-action-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.86));
  --jxu-action-border: #3f4f6b;
  --jxu-action-text: #dbeafe;
  --jxu-action-hover-bg: rgba(30, 58, 138, 0.32);
  --jxu-action-hover-border: #60a5fa;
  --jxu-action-hover-text: #f1f5ff;
}

html.jxu-style-mist {
  --jxu-page-bg:
    radial-gradient(circle at 12% 0%, rgba(251, 191, 36, 0.14), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(185, 28, 28, 0.12), transparent 44%),
    linear-gradient(180deg, #f8f1e5 0%, #f3e5cc 100%);
  --jxu-panel-bg: linear-gradient(180deg, #fffaf3, #f9efdf);
  --jxu-panel-border: #e7d1ad;
  --jxu-chip-bg: linear-gradient(180deg, #fffaf4, #f8eddc);
  --jxu-chip-hover-bg: #fffbeb;
  --jxu-chip-hover-border: #fbbf24;
  --jxu-chip-active-bg: #fff3df;
  --jxu-chip-active-border: #e0b56e;
  --jxu-chip-text: #78350f;
  --jxu-chip-active-text: #b45309;
  --jxu-module-title-bg: rgba(217, 145, 47, 0.1);
  --jxu-module-title-text: #78350f;
  --jxu-module-link: #b45309;
  --jxu-action-bg: linear-gradient(180deg, #fffaf4 0%, #f8eddc 100%);
  --jxu-action-border: #e7d1ad;
  --jxu-action-text: #78350f;
  --jxu-action-hover-bg: #fffbeb;
  --jxu-action-hover-border: #fbbf24;
  --jxu-action-hover-text: #b45309;
}

html.jxu-style-future {
  --jxu-page-bg:
    radial-gradient(circle at 8% 0%, rgba(251, 207, 232, 0.55), transparent 38%),
    radial-gradient(circle at 92% 95%, rgba(244, 114, 182, 0.38), transparent 45%),
    linear-gradient(180deg, #fff8fc 0%, #ffe8f4 55%, #ffdcef 100%);
  --jxu-panel-bg: linear-gradient(180deg, #ffffff, #fff5fa);
  --jxu-panel-border: #fbcfe8;
  --jxu-chip-bg: linear-gradient(180deg, #ffffff, #fff0f6);
  --jxu-chip-hover-bg: #fce7f3;
  --jxu-chip-hover-border: #f472b6;
  --jxu-chip-active-bg: #ffe8f4;
  --jxu-chip-active-border: #f472b6;
  --jxu-chip-text: #831843;
  --jxu-chip-active-text: #be185d;
  --jxu-module-title-bg: rgba(244, 114, 182, 0.1);
  --jxu-module-title-text: #831843;
  --jxu-module-link: #be185d;
  --jxu-action-bg: linear-gradient(180deg, #ffffff 0%, #fff0f6 100%);
  --jxu-action-border: #f5c0dc;
  --jxu-action-text: #831843;
  --jxu-action-hover-bg: #fce7f3;
  --jxu-action-hover-border: #f472b6;
  --jxu-action-hover-text: #be185d;
}

html.theme-dark.jxu-style-mist {
  --jxu-page-bg:
    radial-gradient(circle at 12% 0%, rgba(251, 191, 36, 0.12), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(185, 28, 28, 0.1), transparent 44%),
    linear-gradient(180deg, #111827 0%, #0f172a 100%);
  --jxu-panel-bg: linear-gradient(180deg, rgba(23, 32, 52, 0.95), rgba(18, 26, 44, 0.92));
  --jxu-panel-border: #3d4f6e;
  --jxu-chip-bg: rgba(50, 30, 10, 0.32);
  --jxu-chip-hover-bg: rgba(146, 64, 14, 0.32);
  --jxu-chip-hover-border: #f59e0b;
  --jxu-chip-active-bg: rgba(146, 64, 14, 0.42);
  --jxu-chip-active-border: #fbbf24;
  --jxu-chip-text: #f8e8cf;
  --jxu-chip-active-text: #fffbeb;
  --jxu-module-title-bg: rgba(146, 64, 14, 0.32);
  --jxu-module-title-text: #fde68a;
  --jxu-module-link: #fbbf24;
  --jxu-action-bg: linear-gradient(180deg, rgba(50, 30, 10, 0.45), rgba(70, 40, 12, 0.4));
  --jxu-action-border: #8b5a20;
  --jxu-action-text: #f8e8cf;
  --jxu-action-hover-bg: rgba(146, 64, 14, 0.42);
  --jxu-action-hover-border: #f59e0b;
  --jxu-action-hover-text: #fffbeb;
}

html.theme-dark.jxu-style-future {
  --jxu-page-bg:
    radial-gradient(circle at 8% 0%, rgba(244, 114, 182, 0.12), transparent 38%),
    radial-gradient(circle at 92% 95%, rgba(236, 72, 153, 0.1), transparent 45%),
    linear-gradient(180deg, #1a1020 0%, #120d1a 100%);
  --jxu-panel-bg: linear-gradient(180deg, rgba(38, 14, 32, 0.95), rgba(31, 11, 28, 0.93));
  --jxu-panel-border: rgba(244, 114, 182, 0.38);
  --jxu-chip-bg: rgba(76, 16, 48, 0.34);
  --jxu-chip-hover-bg: rgba(157, 23, 77, 0.32);
  --jxu-chip-hover-border: #f472b6;
  --jxu-chip-active-bg: rgba(190, 24, 93, 0.38);
  --jxu-chip-active-border: #f9a8d4;
  --jxu-chip-text: #fbcfe8;
  --jxu-chip-active-text: #fff1f2;
  --jxu-module-title-bg: rgba(190, 24, 93, 0.32);
  --jxu-module-title-text: #fbcfe8;
  --jxu-module-link: #f9a8d4;
  --jxu-action-bg: linear-gradient(180deg, rgba(76, 16, 48, 0.45), rgba(100, 22, 64, 0.4));
  --jxu-action-border: rgba(244, 114, 182, 0.45);
  --jxu-action-text: #fbcfe8;
  --jxu-action-hover-bg: rgba(190, 24, 93, 0.38);
  --jxu-action-hover-border: #f472b6;
  --jxu-action-hover-text: #fff1f2;
}

.jxu-html {
  scroll-behavior: smooth;
}

.jxu-body {
  background: var(--jxu-page-bg, var(--jxu-paper));
  color: var(--jxu-ink);
}

.jxu-body .jx-header,
.jxu-body .jx-sidebar .function,
.jxu-body .jxu-card,
.jxu-body .jx-pagebar .page,
.jxu-body .jx-pagebar .now-page {
  border-color: var(--jxu-panel-border);
  background: var(--jxu-panel-bg);
}

.jxu-body .jx-nav a,
.jxu-body .jxu-home-viewbar__btn,
.jxu-body .jx-cat-toolbar__a,
.jxu-body .jx-cat-toolbar__sorta {
  background: var(--jxu-chip-bg);
  border-color: var(--jxu-panel-border);
  color: var(--jxu-chip-text);
}

/* 自定义模块 + 顶部操作按钮：三风格 + 昼夜统一可读 */
.jxu-body .jx-sidebar .function {
  background: var(--jxu-module-bg);
  border-color: var(--jxu-panel-border);
}

.jxu-body .jx-sidebar .function_t,
.jxu-body .jx-sidebar .function_t.function_t--embed {
  background: var(--jxu-module-title-bg);
  color: var(--jxu-module-title-text);
  border-bottom-color: var(--jxu-panel-border);
}

.jxu-body .jx-sidebar .function_c,
.jxu-body .jx-sidebar .function_c li {
  color: var(--jxu-module-text);
}

.jxu-body .jx-sidebar .function_c a,
.jxu-body .jx-hotmod__title,
.jxu-body .jx-randommod__title {
  color: var(--jxu-module-link);
}

.jxu-body .jx-hotmod__meta,
.jxu-body .jx-searchmod__tag.is-empty {
  color: var(--jxu-module-muted);
}

.jxu-body .jx-searchmod__input,
.jxu-body .jx-sidebar .function_c input[type="text"],
.jxu-body .jx-sidebar .function_c input[type="search"],
.jxu-body .jx-sidebar .function_c textarea,
.jxu-body .jx-sidebar .function_c select {
  background: var(--jxu-chip-bg);
  border-color: var(--jxu-panel-border);
  color: var(--jxu-module-text);
}

.jxu-body .jx-searchmod__btn,
.jxu-body .jx-randommod__refresh,
.jxu-body .jx-ucentermod__item,
.jxu-body .jx-theme-toggle,
.jxu-body .jx-style-toggle,
.jxu-body .jx-fx-toggle,
.jxu-body .jx-music-toggle,
.jxu-body .jx-top-search__submit {
  background: var(--jxu-action-bg);
  border-color: var(--jxu-action-border);
  color: var(--jxu-action-text);
}

.jxu-body .jx-searchmod__btn:hover,
.jxu-body .jx-randommod__refresh:hover,
.jxu-body .jx-ucentermod__item:hover,
.jxu-body .jx-theme-toggle:hover,
.jxu-body .jx-style-toggle:hover,
.jxu-body .jx-fx-toggle:hover,
.jxu-body .jx-music-toggle:hover,
.jxu-body .jx-top-search__submit:hover {
  background: var(--jxu-action-hover-bg);
  border-color: var(--jxu-action-hover-border);
  color: var(--jxu-action-hover-text);
}

.jxu-body .jx-nav a:hover,
.jxu-body .jxu-home-viewbar__btn:hover,
.jxu-body .jx-cat-toolbar__a:hover,
.jxu-body .jx-cat-toolbar__sorta:hover {
  background: var(--jxu-chip-hover-bg);
  border-color: var(--jxu-chip-hover-border);
}

.jxu-body .jxu-home-viewbar__btn.is-active,
.jxu-body .jx-cat-toolbar__a.is-current,
.jxu-body .jx-cat-toolbar__sorta.is-current {
  background: var(--jxu-chip-active-bg);
  border-color: var(--jxu-chip-active-border);
  color: var(--jxu-chip-active-text);
}

/* Hero Banner */
.jxu-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 20px;
  background: none;
}
.jxu-hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}
.jxu-hero__glass--titles {
  padding-bottom: 18px;
}
.jxu-hero__glass {
  position: relative;
  z-index: 2;
  width: min(var(--jx-maxw, 1360px), 100%);
  height: clamp(260px, 24vw, 360px);
  max-height: 380px;
  padding: 36px 34px 28px;
  border-radius: 20px;
  background: var(--jxu-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.jxu-hero__glass--bannerbg {
  background: var(--jxu-glass);
  overflow: hidden;
  isolation: isolate;
}
.jxu-hero__glass--bannerbg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(135deg, rgba(26, 26, 26, 0.58), rgba(44, 62, 80, 0.46)), var(--jxu-banner-image, none);
  background-size: cover, cover;
  background-position: center center, center center;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}
.jxu-hero__glass--bannerbg > :not(.jxu-hero-fx):not(.jxu-fx-runner) {
  position: relative;
  z-index: 2;
}
.jxu-hero__glass--bannerbg > .jxu-hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.jxu-hero__glass--bannerbg > .jxu-fx-runner {
  position: absolute;
  inset: 0;
  z-index: 6;
}
html.theme-dark .jxu-hero__glass {
  border-color: rgba(255, 255, 255, 0.08);
}
.jxu-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4.3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.jxu-hero__search {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}
.jxu-hero__glass--fx {
  position: relative;
}
.jxu-hero__glass--fx::after {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(125, 211, 252, 0.5) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.12;
  animation: jxu-particle-drift 14s linear infinite;
}
.jxu-fx-runner {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}
.jxu-fx-runner--panel {
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.34), 0 0 0 1px rgba(56, 189, 248, 0.14);
}
.jxu-fx-dot {
  --dot-size: 8px;
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 2px;
  left: -3px;
  top: -3px;
  background: #38bdf8;
  box-shadow: 0 0 10px currentColor, 0 0 18px currentColor;
  animation: jxu-dot-loop 3.2s linear infinite;
}
.jxu-fx-dot:nth-child(1) {
  color: #38bdf8;
  animation-delay: 0s;
}
.jxu-fx-dot:nth-child(2) {
  color: #f472b6;
  animation-delay: -0.8s;
}
.jxu-fx-dot:nth-child(3) {
  color: #a78bfa;
  animation-delay: -1.6s;
}
.jxu-fx-dot:nth-child(4) {
  color: #22d3ee;
  animation-delay: -2.4s;
}
@keyframes jxu-dot-loop {
  0% {
    left: -3px;
    top: -3px;
  }
  25% {
    left: calc(100% - 4px);
    top: -3px;
  }
  50% {
    left: calc(100% - 4px);
    top: calc(100% - 4px);
  }
  75% {
    left: -3px;
    top: calc(100% - 4px);
  }
  100% {
    left: -3px;
    top: -3px;
  }
}
@keyframes jxu-particle-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(24px, -20px, 0);
  }
}
.jxu-suggest-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.jxu-hero__input {
  width: 100%;
  height: 54px;
  padding: 14px 18px;
  border-radius: 0;
  border: 0;
  background: #fff;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}
.jxu-hero__btn {
  flex: 0 0 auto;
  min-width: 58px;
  height: 54px;
  padding: 0 20px;
  border-radius: 0;
  border: 0;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  box-sizing: border-box;
}
.jxu-hero__btn--primary {
  background: #e53935;
}
.jxu-hero__btn--glass {
  background: rgba(90, 90, 90, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .jxu-hero__search {
    flex-wrap: wrap;
    border-radius: 12px;
  }
  .jxu-suggest-wrap {
    flex: 1 1 calc(100% - 58px);
  }
  .jxu-hero__btn--primary {
    flex: 0 0 58px;
  }
  .jxu-hero__btn--glass {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}
@media (max-width: 960px) {
  .jxu-hero {
    min-height: 0;
    padding: 16px 14px 14px;
  }
  .jxu-hero__glass {
    width: min(var(--jx-maxw, 1360px), 100%);
    height: auto;
    max-height: none;
    min-height: clamp(200px, 36vw, 270px);
    padding: 28px 22px 22px;
  }
  .jxu-hero__search {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .jxu-hero {
    min-height: 0;
    padding: 12px 10px 10px;
  }
  .jxu-hero__glass {
    width: 100%;
    min-height: 0;
    border-radius: 14px;
    padding: 18px 12px 14px;
  }
  .jxu-hero__title {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 7vw, 1.7rem);
  }
}
.jxu-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-height: 280px;
  overflow: auto;
  text-align: left;
}
html.theme-dark .jxu-suggest {
  background: #252525;
  color: #eee;
}
.jxu-suggest a {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
}
.jxu-suggest a:hover {
  background: rgba(0, 123, 255, 0.08);
}

.jxu-hotkw {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.jxu-hotkw span:not(.jxu-hotkw__prefix) {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
}
.jxu-hotkw__prefix {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 4px;
  align-self: center;
  cursor: default;
}

/* 首页：搜索区下方、公告上方的幻灯片 */
.jxu-home-carousel-wrap {
  margin: 0 auto 10px;
  padding-top: 2px;
}
.jxu-home-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  background: #0f172a;
}
.jxu-home-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: min(48vh, 400px);
  min-height: 156px;
  background: #0f172a;
  overflow: hidden;
  /* 竖向仍可滚动页面，横向交给脚本识别为切幻灯 */
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  -webkit-user-select: none;
  user-select: none;
}
.jxu-home-carousel__viewport.is-carousel-drag {
  cursor: grabbing;
  user-select: none;
  /* 横向拖动时避免系统把滑动手势抢走（尤其 iOS / Chrome） */
  touch-action: none;
}
.jxu-home-carousel__viewport.is-carousel-drag .jxu-home-carousel__slide {
  cursor: grabbing;
}
#jxu-home-carousel:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 3px;
}
.jxu-home-carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.52s cubic-bezier(0.2, 0.88, 0.22, 1);
}
.jxu-home-carousel__track.is-carousel-drag {
  transition: none;
}
/* 线型箭头：默认隐藏，悬停/聚焦幻灯区域时显示（触控端略常显） */
#jxu-home-carousel .jxu-home-carousel__nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.2s ease;
}
#jxu-home-carousel:hover .jxu-home-carousel__nav,
#jxu-home-carousel:focus-within .jxu-home-carousel__nav {
  opacity: 0.94;
  pointer-events: auto;
}
@media (hover: none) and (pointer: coarse) {
  #jxu-home-carousel .jxu-home-carousel__nav {
    opacity: 0.78;
    pointer-events: auto;
  }
}
.jxu-home-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(-50%);
}
#jxu-home-carousel:hover .jxu-home-carousel__nav:hover,
#jxu-home-carousel:focus-within .jxu-home-carousel__nav:hover {
  transform: translateY(-50%) scale(1.06);
}
.jxu-home-carousel__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.jxu-home-carousel__nav--prev {
  left: 4px;
}
.jxu-home-carousel__nav--next {
  right: 4px;
}
.jxu-home-carousel__chev {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.45));
}
.jxu-home-carousel__slide {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  cursor: grab;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.jxu-home-carousel__slide:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: -2px;
}
.jxu-home-carousel__cap {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 100px 14px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.72) 100%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
/* 分页叠在图右下角（参考图：亮蓝当前点 + 半透明灰点） */
.jxu-home-carousel__dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  max-width: 46%;
  margin: 0;
  padding: 4px 2px;
  background: transparent;
  pointer-events: none;
}
.jxu-home-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.jxu-home-carousel__dot:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.5);
}
.jxu-home-carousel__dot.is-active {
  background: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 0 12px rgba(59, 130, 246, 0.55);
  transform: scale(1.15);
}
@media (min-width: 769px) {
  .jxu-home-carousel--hide-pc {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .jxu-home-carousel--hide-mobile {
    display: none !important;
  }
  .jxu-home-carousel__viewport {
    aspect-ratio: 16 / 9;
    max-height: 220px;
    min-height: 140px;
  }
  .jxu-home-carousel__cap {
    font-size: 14px;
    padding: 10px 12px 12px;
  }
  .jxu-home-carousel__nav {
    width: 40px;
    height: 56px;
  }
  .jxu-home-carousel__chev {
    width: 18px;
    height: 36px;
  }
  .jxu-home-carousel__nav--prev {
    left: 2px;
  }
  .jxu-home-carousel__nav--next {
    right: 2px;
  }
  .jxu-home-carousel__cap {
    padding-right: 88px;
    padding-left: 12px;
    font-size: 14px;
  }
  .jxu-home-carousel__dots {
    right: 8px;
    bottom: 8px;
    gap: 6px;
  }
}
html.theme-dark .jxu-home-carousel {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
html.theme-dark .jxu-home-carousel__dot {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
html.theme-dark .jxu-home-carousel__dot.is-active {
  background: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 12px rgba(96, 165, 250, 0.45);
}

.jxu-notice {
  margin: 0 auto 8px;
  padding: 10px 0 0;
}
.jxu-notice__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.88);
  border: 1px solid rgba(251, 146, 60, 0.32);
  font-size: 14px;
  overflow: hidden;
}
.jxu-notice__icon {
  flex: 0 0 auto;
  font-size: 15px;
  color: #f97316;
}
.jxu-notice__track {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  height: 24px;
}
.jxu-notice__item {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #b45309;
}
.jxu-notice__item:first-child {
  opacity: 1;
  transform: translateY(0);
}
.jxu-notice__item.is-active {
  opacity: 1;
  transform: translateY(0);
}
html.theme-dark .jxu-notice__inner {
  background: rgba(45, 30, 16, 0.85);
  border-color: rgba(251, 146, 60, 0.38);
}
html.theme-dark .jxu-notice__item {
  color: #fdba74;
}

/* 分类横滑 */
.jxu-cat-strip-wrap {
  margin: 12px 0 20px;
  overflow: hidden;
}
.jxu-cat-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.jxu-cat-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(0, 123, 255, 0.25);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  color: var(--jxu-ink);
}
html.theme-dark .jxu-cat-pill {
  background: rgba(40, 40, 40, 0.85);
  border-color: rgba(88, 166, 255, 0.35);
  color: #e6edf3;
}
.jxu-cat-pill.is-active {
  background: linear-gradient(135deg, var(--jxu-accent, #007bff), #0056b3);
  color: #fff;
  border-color: transparent;
}

/* 网格：PC 4 列，手机 2 列 */
.jxu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1280px) {
  .jxu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .jxu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .jxu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 430px) {
  .jxu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .jxu-card__title {
    font-size: 1rem;
  }
  .jxu-card__intro {
    font-size: 0.86rem;
  }
}

.jxu-home-viewbar {
  margin: 8px 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--jxu-panel-border);
  border-radius: 12px;
  background: var(--jxu-panel-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
html.theme-dark .jxu-home-viewbar {
  border-color: var(--jxu-panel-border);
  background: var(--jxu-panel-bg);
}
.jxu-home-viewbar__label {
  font-size: 13px;
  color: var(--jxu-chip-text);
}
html.theme-dark .jxu-home-viewbar__label {
  color: var(--jxu-chip-text);
}
.jxu-home-viewbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.jxu-home-viewbar__btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--jxu-panel-border);
  background: var(--jxu-chip-bg);
  color: var(--jxu-chip-text);
  font-size: 12px;
  cursor: pointer;
}
html.theme-dark .jxu-home-viewbar__btn {
  border-color: var(--jxu-panel-border);
  background: var(--jxu-chip-bg);
  color: var(--jxu-chip-text);
}
.jxu-home-viewbar__btn.is-active {
  border-color: var(--jxu-chip-active-border);
  background: var(--jxu-chip-active-bg);
  color: var(--jxu-chip-active-text);
}
html.theme-dark .jxu-home-viewbar__btn.is-active {
  border-color: var(--jxu-chip-active-border);
  background: var(--jxu-chip-active-bg);
  color: var(--jxu-chip-active-text);
}

.jxu-grid.is-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  contain: layout paint;
}
.jxu-grid.is-switching {
  opacity: 0.88;
  pointer-events: none;
  transition: opacity .16s ease;
}
.jxu-grid.is-list .jxu-card__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas: "thumb text";
  gap: 12px;
  align-items: start;
}
.jxu-grid.is-list .jxu-card__topmark {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: 7;
  margin: 0 0 6px;
}
.jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__topmark {
  justify-self: end;
}
.jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__topmark {
  justify-self: start;
}
.jxu-grid.is-list .jxu-card:nth-child(odd):has(.jxu-card__topmark) .jxu-card__title {
  padding-left: 0;
}
.jxu-grid.is-list .jxu-card:nth-child(even):has(.jxu-card__topmark) .jxu-card__title {
  padding-right: 0;
}
.jxu-grid.is-list .jxu-card__media {
  grid-area: thumb;
  width: 220px;
  height: 140px;
  max-width: 100%;
  aspect-ratio: auto;
  min-height: 140px;
  max-height: 140px;
  overflow: hidden;
}
.jxu-grid.is-list .jxu-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.jxu-grid.is-list .jxu-card__body {
  grid-area: text;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 6px;
  text-align: left;
}
.jxu-grid.is-list .jxu-card__title {
  -webkit-line-clamp: 2;
  margin-bottom: 0;
  min-height: calc(1.35em * 2);
}
.jxu-grid.is-list .jxu-card__intro {
  -webkit-line-clamp: 3;
  margin-bottom: 0;
  min-height: calc(1.6em * 3);
}
/* 列表模式角标：始终贴封面角，避免跑进标题区 */
.jxu-grid.is-list .jxu-card__badge,
.jxu-grid.is-list .jxu-card__pricebox {
  top: 10px;
  z-index: 6;
}
/* 奇数卡片（封面在左） */
.jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__badge,
.jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__pricebox {
  left: 10px;
  right: auto;
}
/* 偶数卡片（封面在右） */
.jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__badge,
.jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__pricebox {
  right: 10px;
  left: auto;
}
/* 同一卡片双角标时，改为同侧上下堆叠，防重叠且不越界 */
.jxu-grid.is-list .jxu-card:nth-child(odd):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox {
  top: 38px;
}
.jxu-grid.is-list .jxu-card:nth-child(even):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox {
  top: 38px;
}
.jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__inner {
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-areas: "text thumb";
}
@media (max-width: 1100px) {
  .jxu-grid.is-list .jxu-card__inner {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .jxu-grid.is-list .jxu-card__media {
    width: 200px;
    height: 128px;
    min-height: 128px;
    max-height: 128px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__inner {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
}
@media (max-width: 900px) {
  .jxu-grid.is-list .jxu-card__inner {
    grid-template-columns: 190px minmax(0, 1fr);
    grid-template-areas: "thumb text";
  }
  .jxu-grid.is-list .jxu-card__media {
    width: 190px;
    height: 122px;
    min-height: 122px;
    max-height: 122px;
  }
  /* 平板：同步桌面交错（奇数左上、偶数右上） */
  .jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__badge,
  .jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__pricebox {
    left: 8px;
    right: auto;
    top: 8px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__badge,
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__pricebox {
    right: 8px;
    left: auto;
    top: 8px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(odd):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox,
  .jxu-grid.is-list .jxu-card:nth-child(even):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox {
    top: 34px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__inner {
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-template-areas: "text thumb";
  }
}
@media (max-width: 768px) {
  .jxu-home-viewbar {
    margin: 6px 0 10px;
    padding: 8px 10px;
  }
  .jxu-home-viewbar__label {
    font-size: 12px;
  }
  .jxu-home-viewbar__btn {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
  .jxu-grid.is-list .jxu-card__inner {
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-areas: "thumb text";
    gap: 10px;
    align-items: start;
  }
  .jxu-grid.is-list .jxu-card__media {
    width: 170px;
    height: 112px;
    min-height: 112px;
    max-height: 112px;
    border-radius: 10px;
    aspect-ratio: auto;
    overflow: hidden;
  }
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__inner {
    grid-template-columns: minmax(0, 1fr) 170px;
    grid-template-areas: "text thumb";
  }
  .jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__badge,
  .jxu-grid.is-list .jxu-card:nth-child(odd) .jxu-card__pricebox {
    left: 8px;
    right: auto;
    top: 8px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__badge,
  .jxu-grid.is-list .jxu-card:nth-child(even) .jxu-card__pricebox {
    right: 8px;
    left: auto;
    top: 8px;
  }
  .jxu-grid.is-list .jxu-card:nth-child(odd):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox,
  .jxu-grid.is-list .jxu-card:nth-child(even):has(.jxu-card__badge):has(.jxu-card__pricebox) .jxu-card__pricebox {
    top: 34px;
  }
  .jxu-grid.is-list .jxu-card__body {
    text-align: left;
  }
  .jxu-grid.is-list .jxu-card__title,
  .jxu-grid.is-list .jxu-card__intro {
    text-align: left;
  }
  .jxu-grid.is-list .jxu-card__media img {
    width: 100% !important;
    aspect-ratio: auto;
    height: 100% !important;
  }
  .jxu-grid.is-list .jxu-card__body {
    min-height: 0;
    padding: 8px 8px 10px;
  }
}

@media (max-width: 768px) {
  .jxu-hero {
    padding: 10px 8px 8px;
  }
  .jxu-hero__glass {
    padding: 14px 10px 12px;
    border-radius: 12px;
  }
  .jxu-hero__title {
    margin-bottom: 8px;
    font-size: clamp(1.28rem, 5.4vw, 1.68rem);
  }
  .jxu-home-search {
    margin-top: 4px;
  }
  .jxu-home-search__row {
    max-width: 94%;
  }
  .jxu-hero__input {
    height: 44px;
    font-size: 14px;
  }
  .jxu-hero__btn {
    height: 44px;
    min-width: 48px;
    font-size: 14px;
    padding: 0 12px;
  }
  .jxu-home-search__hot {
    margin-top: 8px;
    gap: 6px;
    font-size: 12px;
  }
}

/* 资源卡片 */
.jxu-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html.theme-dark .jxu-card {
  background: rgba(35, 35, 35, 0.82);
  border-color: rgba(255, 255, 255, 0.06);
}
.jxu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 123, 255, 0.12);
}
.jxu-card--paid {
  border-color: rgba(212, 160, 23, 0.45);
}
.jxu-card--paid:hover {
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.35), 0 16px 40px rgba(212, 160, 23, 0.15);
  animation: jxu-neon-breathe 2.2s ease-in-out infinite;
}
@keyframes jxu-neon-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.25), 0 12px 32px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.55), 0 16px 44px rgba(212, 160, 23, 0.2);
  }
}
.jxu-card__ribbon {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(44, 62, 80, 0.88);
  color: #fff;
}
.jxu-card__topmark {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(0, 123, 255, 0.9);
  color: #fff;
}
.jxu-card__media,
.post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: 8px;
}
.jxu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.jxu-card:hover .jxu-card__media img {
  transform: scale(1.1);
}
.jxu-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.jxu-body--multi .jxu-card__body {
  padding-bottom: 0;
}
.jxu-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}
body.jxu-body--multi .jxu-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}
.jxu-card__title a {
  color: inherit;
  text-decoration: none;
}
.jxu-card__intro {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  height: 6.4em;
  margin-bottom: 10px;
}
body.jxu-body--multi .jxu-card__intro {
  -webkit-line-clamp: 4;
  height: auto;
  min-height: 6.4em;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .jxu-card__intro {
    -webkit-line-clamp: 3;
    height: 4.8em;
  }
  body.jxu-body--multi .jxu-card__intro {
    -webkit-line-clamp: 3;
    min-height: 4.8em;
  }
}
body.jxu-body--multi .jxu-card__body {
  min-height: 220px;
}
html.theme-dark .jxu-card__intro {
  color: #94a3b8;
}
.jxu-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 7px;
  padding-bottom: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 12px;
  color: #94a3b8;
}
html.theme-dark .jxu-card__foot {
  border-top-color: rgba(255, 255, 255, 0.14);
}
.jxu-card__datebox {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.jxu-card__statslite {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  font-size: 11px;
  color: #94a3b8;
}
.jxu-card__statslite > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.jxu-card__statslite > span + span::before {
  content: "|";
  opacity: 0.38;
  margin: 0 8px;
}
.jxu-card__price {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 220px);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jxu-card__price--free {
  background: rgba(34, 197, 94, 0.15);
  color: #2738F5;
}
.jxu-card__price--paid {
  background: linear-gradient(135deg, #d4a017, #b45309);
  color: #fff;
}

/* 详情下载盒 */
.jxu-single-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.jxu-dlbox {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
html.theme-dark .jxu-dlbox {
  background: rgba(40, 40, 40, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}
@media (max-width: 720px) {
  .jxu-dlbox {
    grid-template-columns: 1fr;
  }
}
.jxu-dlbox__cover img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1;
}
.jxu-dlbox__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.3;
}
.jxu-dlbox__meta {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: #64748b;
}
.jxu-dlbox__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--jxu-gold);
}
.jxu-dlbox__price--free {
  color: #22c55e;
}
.jxu-dlbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.jxu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.jxu-btn--primary {
  background: linear-gradient(135deg, var(--jxu-accent, #007bff), #0056b3);
  color: #fff;
}
.jxu-btn--ghost {
  background: transparent;
  border-color: rgba(0, 123, 255, 0.35);
  color: var(--jxu-accent, #007bff);
}
.jxu-btn--lock {
  background: rgba(212, 160, 23, 0.15);
  color: #b45309;
  cursor: default;
}
.jxu-pwd-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.jxu-pwd-val {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
}
.jxu-pwd-copy {
  border: 0;
  border-radius: 8px;
  padding: 6px 14px;
  background: var(--jxu-accent, #007bff);
  color: #fff;
  cursor: pointer;
}
.jxu-tip,
.jxu-disclaimer {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 123, 255, 0.06);
  font-size: 14px;
  color: #475569;
  margin-bottom: 18px;
}
.jxu-article-body {
  max-width: 1200px;
  margin: 0 auto;
}

/* 粒子层 */
.jxu-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.jxu-bg-fx {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.52;
}
.jxu-sitebg-fx::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 10, 38, 0.58), rgba(3, 16, 52, 0.24) 20%, rgba(1, 10, 38, 0.58));
}

.jxu-body > .jx-header {
  position: relative;
  z-index: 1200;
}

.jxu-body > .jxu-hero,
.jxu-body > .jxu-wave,
.jxu-body > .jxu-notice,
.jxu-body > .jx-wrap {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .jxu-hero__glass--fx::after {
    animation: none;
  }
  .jxu-bg-fx {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jxu-bg-fx,
  .jxu-hero-fx {
    display: none;
  }
}

.jxu-wave {
  margin-top: -2px;
  line-height: 0;
  color: var(--jxu-paper);
}
.jxu-wave svg {
  width: 100%;
  height: 44px;
  display: block;
}

.jx-logo-image-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 48px;
  /* 横向 Logo 可更长：上限约 420px，窄屏用 vw 收缩避免顶导航 */
  max-width: min(420px, 58vw);
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
}
/* 仅后台勾选「图片 Logo 底衬」时出现 .is-bg；颜色留空则用 --jx-logo-slot-bg 随主题自动配色 */
.jx-logo-image-wrap.is-bg {
  --jx-logo-slot-bg: color-mix(in srgb, var(--jx-text, #1a1d23) 5.5%, var(--jx-surface, #ffffff));
  padding: 2px 8px;
  background: var(--jx-logo-bg-color, var(--jx-logo-slot-bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jx-border, #e2e6ee) 82%, var(--jx-text, #1a1d23) 18%);
}
html.jxu-style-mist:not(.theme-dark) .jx-logo-image-wrap.is-bg {
  --jx-logo-slot-bg: color-mix(in srgb, var(--jx-text, #1a1d23) 4%, rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #d9e1e7 75%, var(--jx-text, #1a1d23) 25%);
}
html.jxu-style-future:not(.theme-dark) .jx-logo-image-wrap.is-bg {
  --jx-logo-slot-bg: color-mix(in srgb, #1e3a5f 5.5%, rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28);
}
html.theme-dark .jx-logo-image-wrap.is-bg {
  --jx-logo-slot-bg: color-mix(in srgb, var(--jxu-ink, #e8e8e8) 9%, var(--jxu-glass, rgba(30, 30, 30, 0.72)));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
html.theme-dark.jxu-style-future .jx-logo-image-wrap.is-bg {
  --jx-logo-slot-bg: color-mix(in srgb, #93c5fd 8%, rgba(22, 28, 42, 0.78));
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.22);
}
.jx-logo-light {
  display: block;
  width: auto;
  max-width: min(420px, 58vw);
  height: 52px;
  object-fit: contain;
}
.jx-logo-dark {
  display: none !important;
  width: auto;
  max-width: min(420px, 58vw);
  height: 52px;
  object-fit: contain;
}
html.theme-dark .jx-logo:not(.jx-logo--textonly) .jx-logo-light {
  display: none !important;
}
html.theme-dark .jx-logo:not(.jx-logo--textonly) .jx-logo-dark {
  display: block !important;
}
.jx-logo--textonly .jx-logo-text {
  font-size: 1.15rem;
}
.jx-logo--textonly .jx-logo-text small {
  font-size: 11px;
}
.jx-logo-text--custom {
  color: var(--jx-logo-text-color, #e53935);
  letter-spacing: 0.02em;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
  font-size: 1.04rem;
}
.jx-logo-text--custom small {
  margin-top: 2px;
  color: inherit;
  opacity: 0.7;
}
.jx-logo-text--style1 {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--jx-logo-text-color, #e53935);
  text-transform: uppercase;
  transform: skewX(-5deg);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.85),
    0 0 8px var(--jx-logo-text-color, #e53935),
    0 0 20px var(--jx-logo-text-color, #e53935),
    0 1px 0 rgba(0, 0, 0, 0.25);
}
.jx-logo-text--style2 {
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--jx-logo-text-color, #e53935) 65%, #ffffff);
  background: color-mix(in srgb, var(--jx-logo-text-color, #e53935) 9%, #ffffff);
}
html.theme-dark .jx-logo-text--style2 {
  background: color-mix(in srgb, var(--jx-logo-text-color, #e53935) 16%, #111111);
}
.jx-logo-text--style3 {
  font-weight: 700;
  border-left: 3px solid var(--jx-logo-text-color, #e53935);
  border-bottom: 1px dashed color-mix(in srgb, var(--jx-logo-text-color, #e53935) 60%, #999);
  padding-left: 8px;
  color: var(--jx-logo-text-color, #e53935);
  letter-spacing: 0.01em;
  background: transparent;
}
.jx-logo-text--style3 small {
  opacity: 0.85;
}
.jx-logo--mode-text .jx-logo-image-wrap {
  display: none !important;
}
.jx-logo--mode-text .jx-logo-text--custom {
  display: inline-flex !important;
}
.jx-logo--mode-image .jx-logo-text--custom {
  display: none !important;
}

.jx-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--jx-bg);
  border: 1px solid var(--jx-border);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.jx-search-icon:hover {
  border-color: var(--jxu-accent, #007bff);
}

.jxu-adminbar {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.jxu-adminbar__link {
  font-size: 13px;
  color: var(--jx-text);
  text-decoration: none;
  white-space: nowrap;
}
.jxu-adminbar__link:hover {
  color: var(--jxu-accent, #007bff);
}

/* 前台顶部自定义链接（原管理快捷栏位置） */
.jxu-frontend-top {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.jxu-frontend-top__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--jx-text);
  text-decoration: none;
  white-space: nowrap;
}
.jxu-frontend-top__link.is-icon {
  min-height: 28px;
}
.jxu-frontend-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 14px;
}
.jxu-frontend-top__icon i,
.jxu-frontend-top__icon svg {
  display: inline-block;
  width: 1em;
  height: 1em;
}
.jxu-frontend-top__txt {
  line-height: 1.2;
}
.jxu-frontend-top__link:hover {
  color: var(--jxu-accent, #007bff);
}
@media (max-width: 1100px) {
  .jxu-frontend-top__link {
    font-size: 12px;
  }
}

@media (max-width: 1100px) {
  .jxu-adminbar__link {
    font-size: 12px;
  }
}

/* 首页主区：搜索已放入 Hero 信息玻璃卡片 */
.jxu-home-search {
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.jxu-home-search__row {
  max-width: 720px;
  margin: 0 auto;
}
.jxu-home-search__input {
  border: 1px solid #e2e8f0 !important;
}
html.theme-dark .jxu-home-search__input {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: #1e1e1e !important;
  color: #e8e8e8;
}
.jxu-home-search__hot {
  margin-top: 12px;
  justify-content: center;
}
.jxu-home-search__hot span:not(.jxu-hotkw__prefix) {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
html.theme-dark .jxu-home-search__hot span:not(.jxu-hotkw__prefix) {
  background: rgba(148, 163, 184, 0.25);
  color: #e6edf3;
}
.jxu-home-search__hot .jxu-hotkw__prefix {
  color: rgba(255, 255, 255, 0.9);
}
html.theme-dark .jxu-home-search__hot .jxu-hotkw__prefix {
  color: rgba(230, 237, 243, 0.86);
}
.jxu-home-search .jxu-suggest {
  text-align: left;
}

/* 顶栏：用户菜单 */
.jxu-user-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.jxu-user-nav__guest {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jxu-user-nav__link {
  font-size: 13px;
  color: var(--jx-text);
  text-decoration: none;
  white-space: nowrap;
}
.jxu-user-nav__link--primary {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jxu-accent, #007bff), #0056b3);
  color: #fff !important;
}
.jxu-user-menu {
  position: relative;
}
.jxu-user-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--jx-border);
  background: var(--jx-surface);
  cursor: pointer;
  font-size: 13px;
  color: var(--jx-text);
  max-width: 200px;
}
.jxu-user-menu__avatar {
  border-radius: 50%;
  object-fit: cover;
}
.jxu-user-menu__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jxu-user-menu__caret {
  font-size: 10px;
  opacity: 0.7;
}
.jxu-user-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 200px;
  padding: 8px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  z-index: 300;
}
.jxu-user-menu__panel::before,
.jxu-user-menu__panel::after {
  content: "";
  position: absolute;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.jxu-user-menu__panel::before {
  top: -9px;
  border-bottom: 9px solid rgba(0, 0, 0, 0.1);
}
.jxu-user-menu__panel::after {
  top: -8px;
  border-bottom: 8px solid rgba(255, 255, 255, 0.95);
}
html.theme-dark .jxu-user-menu__panel {
  background: rgba(24, 26, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}
html.theme-dark .jxu-user-menu__panel::before {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
html.theme-dark .jxu-user-menu__panel::after {
  border-bottom-color: rgba(24, 26, 31, 0.95);
}
.jxu-user-menu__item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--jx-text);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.jxu-user-menu__item + .jxu-user-menu__item {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.jxu-user-menu__item:hover {
  background: rgba(0, 123, 255, 0.1);
  color: var(--jxu-accent, #007bff);
}

/* 个人中心页 */
.jxu-glass-panel {
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
html.theme-dark .jxu-glass-panel {
  background: rgba(28, 28, 28, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}
.jxu-uc-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.jxu-uc-lead {
  margin: 0 0 16px;
  color: var(--jx-muted, #64748b);
  font-size: 14px;
}
.jxu-uc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jxu-uc-head__user {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.jxu-uc-head__avatar {
  border-radius: 16px;
  border: 2px solid rgba(0, 123, 255, 0.25);
}
.jxu-uc-meta {
  margin: 4px 0 0;
  font-size: 14px;
}
.jxu-uc-meta--muted {
  font-size: 12px;
  color: var(--jx-muted, #64748b);
}
.jxu-uc-dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .jxu-uc-dash {
    grid-template-columns: 1fr;
  }
}
.jxu-uc-card {
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 123, 255, 0.06), rgba(212, 160, 23, 0.05));
  border: 1px solid rgba(0, 123, 255, 0.15);
  text-align: center;
}
html.theme-dark .jxu-uc-card {
  background: linear-gradient(145deg, rgba(88, 166, 255, 0.1), rgba(212, 160, 23, 0.06));
  border-color: rgba(88, 166, 255, 0.2);
}
.jxu-uc-card__label {
  display: block;
  font-size: 13px;
  color: var(--jx-muted);
  margin-bottom: 6px;
}
.jxu-uc-card__val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--jxu-accent, #007bff);
}
.jxu-uc-card__hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--jx-muted);
}
.jxu-uc-nav__title {
  margin: 0 0 14px;
  font-size: 1rem;
}
.jxu-uc-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jxu-uc-nav__list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
html.theme-dark .jxu-uc-nav__list li {
  border-color: rgba(255, 255, 255, 0.06);
}
.jxu-uc-nav__list li:last-child {
  border-bottom: 0;
}
.jxu-uc-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  font-size: 14px;
  color: var(--jx-text);
  text-decoration: none;
}
.jxu-uc-nav__link:hover {
  color: var(--jxu-accent, #007bff);
}
.jxu-uc-nav__link--disabled {
  color: var(--jx-muted);
  cursor: default;
}
.jxu-uc-nav__icon {
  opacity: 0.5;
  font-size: 12px;
}
.jxu-uc-pagebody .jx-content {
  font-size: 15px;
  line-height: 1.7;
}

.jxu-uc-module {
  margin-bottom: 14px;
}

.jxu-uc-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.jxu-uc-inline-form input[type="email"] {
  width: min(460px, 100%);
  border: 1px solid var(--jx-border);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
}

html.theme-dark .jxu-uc-inline-form input[type="email"] {
  background: rgba(20, 20, 20, 0.9);
  color: var(--jx-text);
}

.jxu-uc-log-list {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

html.theme-dark .jxu-uc-log-list {
  border-color: rgba(255, 255, 255, 0.08);
}

.jxu-uc-log {
  display: grid;
  grid-template-columns: 160px 90px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 13px;
}

.jxu-uc-log:last-child {
  border-bottom: 0;
}

html.theme-dark .jxu-uc-log {
  border-color: rgba(255, 255, 255, 0.06);
}

.jxu-uc-log strong {
  color: var(--jxu-accent, #007bff);
}

.jxu-uc-log--empty {
  grid-template-columns: 1fr;
  color: var(--jx-muted);
}

.jxu-uc-feedback-form select,
.jxu-uc-feedback-form input[type="text"],
.jxu-uc-feedback-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--jx-border);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
}

html.theme-dark .jxu-uc-feedback-form select,
html.theme-dark .jxu-uc-feedback-form input[type="text"],
html.theme-dark .jxu-uc-feedback-form textarea {
  background: rgba(20, 20, 20, 0.9);
  color: var(--jx-text);
}

.jxu-uc-feedback-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.jxu-uc-feedback-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.86);
}

html.theme-dark .jxu-uc-feedback-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 24, 0.86);
}

.jxu-uc-feedback-item h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.jxu-uc-feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  font-size: 12px;
  color: var(--jx-muted);
}

.jxu-uc-feedback-reply {
  margin: 8px 0 0;
  font-size: 13px;
}

@media (max-width: 720px) {
  .jxu-uc-log {
    grid-template-columns: 1fr;
  }
}

/* 移动端底部栏 */
.jxu-mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  justify-content: space-around;
  align-items: center;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}
html.theme-dark .jxu-mobile-dock {
  background: rgba(22, 22, 22, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}
.jxu-mobile-dock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: var(--jx-text);
  text-decoration: none;
  padding: 4px;
}
.jxu-mobile-dock__ic {
  font-size: 18px;
  line-height: 1;
  opacity: 0.85;
}
.jxu-mobile-dock__ic i,
.jxu-mobile-dock__ic .iconfont {
  font-style: normal;
  font-size: inherit;
  line-height: 1;
  display: inline-block;
}
.jxu-mobile-dock__ic svg {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em;
  max-height: 1em;
  display: inline-block;
  vertical-align: middle;
}
.jxu-mobile-dock__ic svg path,
.jxu-mobile-dock__ic svg use,
.jxu-mobile-dock__ic svg g {
  fill: currentColor !important;
}
@media (max-width: 720px) {
  .jxu-mobile-dock {
    display: flex;
  }
  body.jxu-body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }
}

/* —— 分类页：筛选条（参考 cardslee catalog filter-sift） —— */
.jx-cat-toolbar {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--jxu-panel-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jxu-panel-border);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}
html.theme-dark .jx-cat-toolbar {
  background: var(--jxu-panel-bg);
  border-color: var(--jxu-panel-border);
}
.jx-cat-toolbar__block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--jxu-panel-border);
}
html.theme-dark .jx-cat-toolbar__block {
  border-color: var(--jxu-panel-border);
}
.jx-cat-toolbar__block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.jx-cat-toolbar__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jxu-chip-text);
  min-width: 3.5em;
}
html.theme-dark .jx-cat-toolbar__label {
  color: var(--jxu-chip-text);
}
.jx-cat-toolbar__icon {
  opacity: 0.65;
  font-size: 12px;
}
.jx-cat-toolbar__links,
.jx-cat-toolbar__order {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.jx-cat-toolbar__a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--jx-text, #1e293b);
  text-decoration: none;
  border: 1px solid var(--jxu-panel-border);
  background: var(--jxu-chip-bg);
  transition: background 0.15s ease, color 0.15s ease;
}
.jx-cat-toolbar__a:hover {
  background: var(--jxu-chip-hover-bg);
  border-color: var(--jxu-chip-hover-border);
}
.jx-cat-toolbar__a.is-current {
  background: var(--jxu-chip-active-bg);
  color: var(--jxu-chip-active-text);
  font-weight: 600;
  border-color: var(--jxu-chip-active-border);
}
html.theme-dark .jx-cat-toolbar__a.is-current {
  background: var(--jxu-chip-active-bg);
}
.jx-cat-toolbar__sort {
  align-items: center;
}
.jx-cat-toolbar__sorta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--jxu-chip-text);
  text-decoration: none;
  border: 1px solid var(--jxu-panel-border);
  background: var(--jxu-chip-bg);
}
.jx-cat-toolbar__sorta.is-current {
  background: var(--jxu-chip-active-bg);
  color: var(--jxu-chip-active-text);
  font-weight: 600;
}
.jx-cat-toolbar__chev {
  font-size: 11px;
  opacity: 0.75;
}

/* 分类列表交错行卡片 */
.jxu-card__inner {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.jxu-card--catrow {
  overflow: visible;
}
.jxu-card--catrow .jxu-card__inner {
  display: grid;
  grid-template-columns: minmax(140px, 260px) minmax(0, 1fr);
  grid-template-areas: 'thumb text';
  gap: 16px;
  align-items: stretch;
}
.jxu-card--catrow-flip .jxu-card__inner {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 260px);
  grid-template-areas: 'text thumb';
}
.jxu-card--catrow .jxu-card__media {
  grid-area: thumb;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.jxu-card--catrow .jxu-card__body {
  grid-area: text;
  padding: 4px 4px 8px 0;
}
.jxu-card__badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
@media (max-width: 480px) {
  .jxu-card__badge {
    top: 6px;
    right: 6px;
    padding: 2px 7px;
    font-size: 10px;
    border-radius: 5px;
  }
}
.jxu-card__metarow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
html.theme-dark .jxu-card__metarow {
  border-color: rgba(255, 255, 255, 0.08);
}
.jxu-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-size: 12px;
  color: #64748b;
}
html.theme-dark .jxu-card__meta {
  color: #94a3b8;
}
.jxu-card__ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}
.jxu-card__meta-a {
  color: inherit;
  text-decoration: none;
}
.jxu-card__meta-a:hover {
  color: var(--jxu-accent, #007bff);
}
.jxu-card__sep {
  opacity: 0.45;
  padding: 0 2px;
}
.jxu-card__views {
  white-space: nowrap;
}
.jxu-card__pricebox {
  position: absolute;
  left: 10px;
  top: 10px;
  right: auto;
  bottom: auto;
  z-index: 2;
  min-width: 0;
  max-width: min(70%, 220px);
}
.jxu-card__pricebox .jxu-card__price {
  max-width: 100%;
}
@media (min-width: 769px) {
  body.jxu-body--multi .jxu-card__foot {
    justify-content: space-between;
  }
  body.jxu-body--multi .jxu-card__datebox {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }
  body.jxu-body--multi .jxu-card__date {
    white-space: nowrap;
    margin-right: auto;
  }
  body.jxu-body--multi .jxu-card__statslite {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    white-space: nowrap;
    margin-left: auto;
  }
  body.jxu-body--multi .jxu-card__statslite span {
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  body.jxu-body--multi .jxu-card__viewslite {
    display: none !important;
  }
  body.jxu-body--multi .jxu-card__foot {
    justify-content: space-between;
  }
  body.jxu-body--multi .jxu-card__datebox {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    white-space: normal;
  }
  body.jxu-body--multi .jxu-card__date {
    white-space: nowrap;
    flex: 0 0 auto;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.jxu-body--multi .jxu-card__statslite {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    white-space: nowrap;
    margin-left: auto;
    min-width: 0;
  }
  body.jxu-body--multi .jxu-card__statslite span {
    white-space: nowrap;
  }
  body.jxu-body--multi .jxu-card--catrow .jxu-card__metarow {
    justify-content: flex-end;
    padding-top: 6px;
    margin-top: 8px;
  }
  body.jxu-body--multi .jxu-card--catrow .jxu-card__meta {
    margin-left: auto;
    justify-content: flex-end;
  }
  .jxu-card__price {
    padding: 3px 8px;
    font-size: 12px;
    max-width: min(56vw, 180px);
  }
  .jxu-card__pricebox {
    left: 8px;
    top: 8px;
    right: auto;
    bottom: auto;
    max-width: min(56vw, 180px);
  }
}
@media (max-width: 480px) {
  body.jxu-body--multi .jxu-card__datebox {
    gap: 6px;
    font-size: 11px;
  }
  body.jxu-body--multi .jxu-card__date {
    max-width: 42%;
  }
  body.jxu-body--multi .jxu-card__statslite {
    gap: 6px;
    font-size: 11px;
  }
  .jxu-card__price {
    padding: 2px 7px;
    font-size: 11px;
    max-width: min(54vw, 150px);
    white-space: pre-line;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.15;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .jxu-card__pricebox {
    left: 8px;
    top: 8px;
    right: auto;
    bottom: auto;
    max-width: min(54vw, 150px);
  }
}
@media (max-width: 720px) {
  .jxu-card--catrow .jxu-card__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'thumb' 'text';
  }
  .jxu-card--catrow-flip .jxu-card__inner {
    grid-template-areas: 'thumb' 'text';
  }
}

/* ========== 文章页 / 分类列表：移动端正文可见性 + 宽窄屏自适应 ========== */
@media (max-width: 768px) {
  /*
   * 模板在 body 上使用了 background-attachment:fixed（见 single/list 等）。
   * iOS / Android WebKit 下 fixed 背景常与视口合成冲突，导致主内容区不绘制或无法滚动，
   * 表现为「只能看到标题/元信息，正文与下方模块消失」。移动端强制改为 scroll。
   */
  body.jxu-body[style*="background-image"] {
    background-attachment: scroll !important;
  }

  /* 保证主内容叠在整站背景之上，避免偶发层级遮挡 */
  body.jxu-body.single .jx-single-body,
  body.jxu-body.single .jx-article-tags,
  body.jxu-body.single .jx-article-pager,
  body.jxu-body.single .jx-article-related,
  body.jxu-body.single .jx-comments,
  body.jxu-body.multi #jx-main {
    position: relative;
    z-index: 1;
  }

  .jx-cat-toolbar {
    padding: 12px 14px;
  }

  .jx-cat-toolbar__block {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .jx-cat-toolbar__label {
    min-width: 0;
  }

  .jx-single-body,
  .jxu-article-body {
    padding: 16px 14px 20px;
  }

  .jxu-dlbox {
    padding: 16px;
  }

  .jx-page-title {
    font-size: clamp(1.125rem, 4.2vw, 1.375rem);
    line-height: 1.35;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .jx-mainlayout {
    gap: clamp(16px, 2vw, 24px);
  }

  .jx-grid:not(.jx-grid--cat-zigzag) {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ========== 文章底部：资源扩展信息面板（信息表 + 下载区 + 购买说明） ========== */
.jx-res-panel {
  margin: 22px 0 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.jx-res-panel__table-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
}

html.theme-dark .jx-res-panel__table-title {
  color: #e2e8f0;
}

.jx-res-panel__table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(241, 248, 255, 0.95));
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
}

html.theme-dark .jx-res-panel__table-wrap {
  border-color: rgba(96, 165, 250, 0.32);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.92));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.jx-res-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: transparent;
}

html.theme-dark .jx-res-table {
  background: transparent;
}

.jx-res-table__row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.66);
}

.jx-res-table__row:nth-child(even),
.jx-res-table__row--alt {
  background: rgba(255, 255, 255, 0.92);
}

html.theme-dark .jx-res-table__row:nth-child(odd) {
  background: rgba(30, 41, 59, 0.64);
}

html.theme-dark .jx-res-table__row:nth-child(even),
html.theme-dark .jx-res-table__row--alt {
  background: rgba(15, 23, 42, 0.72);
}

.jx-res-table__label {
  width: 32%;
  max-width: 200px;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: top;
}

.jx-res-table__val {
  padding: 12px 14px;
  color: #1e293b;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  word-break: break-word;
}

html.theme-dark .jx-res-table__label {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .jx-res-table__val {
  color: #e8e8e8;
  border-color: rgba(255, 255, 255, 0.08);
}

.jx-res-table__row:last-child .jx-res-table__label,
.jx-res-table__row:last-child .jx-res-table__val {
  border-bottom: 0;
}

.jx-res-dlcard {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), #fff);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

html.theme-dark .jx-res-dlcard {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), #1a1a1a);
}

.jx-res-dlcard__hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.65);
}

html.theme-dark .jx-res-dlcard__hd {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.jx-res-dlcard__hd-ic {
  font-size: 18px;
  line-height: 1;
}

.jx-res-dlcard__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

/* 下载卡片内主操作：与「立即购买」「检测有效性」同宽同对齐（flex 子项需 align-self 才能吃满 max-width） */
.jx-res-dlcard__body > .jx-res-btn--buy,
.jx-res-dlcard__body > .jx-res-btn--memberfree,
.jx-res-dlcard__body > .jx-res-btn--check {
  align-self: center;
  width: min(100%, 640px);
  max-width: 640px;
  box-sizing: border-box;
  min-height: 48px;
}

.jx-res-dlcard__body > .jx-res-guest-gate {
  align-self: center;
  width: min(100%, 640px);
  max-width: 640px;
  box-sizing: border-box;
}

.jx-res-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.jx-res-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.jx-res-btn--check {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.jx-res-checkhint {
  margin: -2px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #475569;
}
.jx-res-checkhint.is-ok {
  color: #15803d;
}
.jx-res-checkhint.is-warn {
  color: #b91c1c;
}
html.theme-dark .jx-res-checkhint {
  color: #cbd5e1;
}
html.theme-dark .jx-res-checkhint.is-ok {
  color: #4ade80;
}
html.theme-dark .jx-res-checkhint.is-warn {
  color: #fca5a5;
}

.jx-res-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.jx-res-link-item {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
html.theme-dark .jx-res-link-item {
  background: transparent;
}
.jx-res-link-item__bar {
  margin: 0;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(98deg, #0f2a57 0%, #1d4ed8 48%, #0ea5e9 100%);
  box-shadow: 0 8px 20px rgba(14, 116, 214, 0.24);
}
.jx-res-link-item__bar--code {
  margin-top: 8px;
}
.jx-res-link-item__name {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  min-width: 84px;
  white-space: nowrap;
}
html.theme-dark .jx-res-link-item__name {
  color: #fff;
}
.jx-res-link-item__linktxt {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jx-res-link-item__code {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jx-res-link-item__act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 82px;
  max-width: 96px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.jx-res-link-item__act:hover {
  background: rgba(255, 255, 255, 0.24);
}
.jx-res-links__ok {
  margin: 4px 0 0;
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  color: #e6f6ff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(95deg, rgba(15, 118, 110, 0.92), rgba(3, 105, 161, 0.8), rgba(14, 116, 144, 0.7));
  box-shadow: 0 8px 20px rgba(8, 47, 73, 0.22);
}
.jx-res-links__ok-price {
  color: #e0f2fe;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.jx-res-links__ok-text {
  color: rgba(240, 249, 255, 0.96);
  font-size: 14px;
  line-height: 1.3;
}
html.theme-dark .jx-res-links__ok {
  color: #dbeafe;
}
html.theme-dark .jx-res-links__ok-price {
  color: #bfdbfe;
}
html.theme-dark .jx-res-links__ok-text {
  color: #dbeafe;
}

.jx-res-btn__ic {
  font-size: 18px;
  flex-shrink: 0;
}

.jx-res-btn--buy {
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #ea580c, #dc2626);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.36);
}

/* 青绿渐变 + 与「检测」按钮同量级阴影（原内联 #0f766e 主色保留在渐变末端） */
.jx-res-btn--memberfree {
  color: #fff;
  background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 28%, #14b8a6 55%, #0f766e 100%);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.38);
}

html.theme-dark .jx-res-btn--memberfree {
  background: linear-gradient(135deg, #99f6e4 0%, #2dd4bf 35%, #0d9488 72%, #115e59 100%);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.42);
}

.jx-res-price {
  margin: 4px 0 0;
  text-align: center;
  font-size: 15px;
  color: #64748b;
}

html.theme-dark .jx-res-price {
  color: #94a3b8;
}

.jx-res-price strong {
  color: #d97706;
  font-size: 1.15em;
  margin: 0 4px;
}

html.theme-dark .jx-res-price strong {
  color: #fbbf24;
}
.jx-res-price--ok {
  color: #16a34a;
  font-size: 13px;
  font-weight: 700;
}
html.theme-dark .jx-res-price--ok {
  color: #4ade80;
}

.jx-res-price__ic {
  margin-right: 4px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 插件积分角标图 jx-points-icon.png */
.jx-jf-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  vertical-align: middle;
}
.jx-jf-icon--price {
  width: 22px;
  height: 22px;
}
.jx-jf-icon--inline {
  width: 18px;
  height: 18px;
}
.jx-jf-icon--dual {
  width: 32px;
  height: 32px;
}
.jx-res-links__ok-ic {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  line-height: 0;
}

.jx-res-price__unit {
  margin-left: 4px;
  color: #64748b;
  font-weight: 500;
}

.jx-res-notice {
  margin-top: 18px;
  padding: 16px 18px 18px;
  border-radius: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.34);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(34, 211, 238, 0.28), rgba(34, 211, 238, 0) 56%),
    radial-gradient(120% 90% at 0% 100%, rgba(99, 102, 241, 0.32), rgba(99, 102, 241, 0) 55%),
    linear-gradient(132deg, var(--jx-res-notice-a, #0f172a), var(--jx-res-notice-b, #2563eb));
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.26);
}
.jx-res-notice::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.26;
  pointer-events: none;
}

.jx-res-notice__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.jx-res-notice__title-ic {
  font-size: 18px;
}

.jx-res-notice__list {
  margin: 0;
  padding: 0 0 0 1.25em;
  font-size: 14px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.jx-res-notice__list li {
  margin-bottom: 8px;
}

.jx-res-notice__list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .jx-res-dlcard__body {
    align-items: center;
  }

  .jx-res-link-item__line {
    flex-wrap: nowrap;
  }
}
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
  }
  .jx-res-panel,
  .jx-res-dlcard,
  .jx-res-panel__table-wrap {
    overflow: visible;
  }
  .jx-res-dlcard__body {
    padding: 12px;
    gap: 10px;
  }
  .jx-res-link-item__bar {
    min-height: 44px;
    padding: 0 10px;
    gap: 8px;
    overflow: hidden;
    width: 100%;
  }
  .jx-res-link-item__name {
    min-width: auto;
    font-size: 13px;
  }
  .jx-res-link-item__linktxt {
    font-size: 11px;
  }
  .jx-res-link-item__code {
    font-size: 13px;
  }
  .jx-res-link-item__act {
    min-width: 58px;
    height: 30px;
    font-size: 13px;
    padding: 0 8px;
  }
  .jx-res-links__ok {
    font-size: 12px;
    min-height: 46px;
    padding: 8px 10px;
  }
  .jx-res-links__ok-price {
    font-size: 12px;
  }
  .jx-res-links__ok-text {
    font-size: 12px;
  }
}

/* 文章页：正文标题（已移除顶部下载卡片） */
.jx-article-headline {
  margin: 0 0 18px;
  padding: 0 2px;
}
.jx-article-headline__title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--jxu-ink, #1e293b);
}
html.theme-dark .jx-article-headline__title {
  color: var(--jxu-ink, #e8e8e8);
}

.jx-res-prices {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
  row-gap: 6px;
  width: 100%;
  margin-bottom: 4px;
}
.jx-res-prices .jx-res-price {
  margin: 0;
  text-align: center;
  width: auto;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.jx-res-prices .jx-res-price--points-disc {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
}
.jx-res-prices .jx-res-price + .jx-res-price {
  padding-left: 16px;
  border-left: 1px solid rgba(148, 163, 184, 0.45);
}
html.theme-dark .jx-res-prices .jx-res-price + .jx-res-price {
  border-left-color: rgba(148, 163, 184, 0.28);
}
.jx-res-price--rmb strong {
  color: #d97706;
}
.jx-res-price--points strong {
  color: #059669;
}
html.theme-dark .jx-res-price--points strong {
  color: #34d399;
}

/* 会员积分折扣：与「积分：」同一行横向排列，窄屏时整块内自动换行 */
.jx-res-price--points-disc {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.2em;
  row-gap: 0.15em;
  text-align: center;
}
.jx-res-price--points-disc .jx-res-price__inline {
  display: inline;
  text-align: center;
  line-height: 1.45;
}
.jx-res-price--points-disc .jx-res-price__lead {
  display: inline;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
html.theme-dark .jx-res-price--points-disc .jx-res-price__lead {
  color: #f1f5f9;
}
.jx-res-price--points-disc .jx-res-price__nums {
  display: inline;
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 600;
  color: #475569;
}
html.theme-dark .jx-res-price--points-disc .jx-res-price__nums {
  color: #cbd5e1;
}
.jx-res-price--points-disc .jx-res-price__nums del {
  color: #94a3b8;
  text-decoration-thickness: 1px;
}
.jx-res-price--points-disc .jx-res-price__nums strong {
  color: #059669;
  font-size: clamp(13px, 3.2vw, 16px);
}
html.theme-dark .jx-res-price--points-disc .jx-res-price__nums strong {
  color: #34d399;
}
.jx-res-price--points-disc .jx-res-price__comma {
  font-weight: 600;
}

@media (max-width: 520px) {
  .jx-res-prices {
    flex-direction: column;
    align-items: stretch;
    row-gap: 10px;
  }
  .jx-res-prices .jx-res-price {
    justify-content: center;
  }
  .jx-res-prices .jx-res-price + .jx-res-price {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.38);
  }
  html.theme-dark .jx-res-prices .jx-res-price + .jx-res-price {
    border-top-color: rgba(148, 163, 184, 0.22);
  }
  .jx-res-prices .jx-res-price--points-disc {
    flex: 1 1 auto;
  }
}

.jx-res-links__ok-price.is-discount {
  display: inline;
  font-size: clamp(12px, 2.8vw, 13px);
  line-height: 1.45;
  white-space: normal;
}
.jx-res-links__ok-price.is-discount strong {
  color: #059669;
}
html.theme-dark .jx-res-links__ok-price.is-discount strong {
  color: #34d399;
}

.jx-res-btn--demo {
  border: 2px solid rgba(229, 57, 53, 0.45);
  background: #fff;
  color: #e53935;
  font-weight: 600;
}
html.theme-dark .jx-res-btn--demo {
  background: rgba(30, 30, 30, 0.9);
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.5);
}

.jx-res-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #7c3aed, #2563eb);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.jx-res-btn--secondary {
  color: #0f172a;
  background: #fff;
  border: 2px solid rgba(37, 99, 235, 0.38);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
html.theme-dark .jx-res-btn--secondary {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.jx-res-guest-gate {
  padding: 4px 0 2px;
  text-align: center;
}
.jx-res-guest-gate__tip {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  font-weight: 600;
}
html.theme-dark .jx-res-guest-gate__tip {
  color: #cbd5e1;
}
.jx-res-guest-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.jx-res-btn--lock {
  cursor: default;
  background: linear-gradient(180deg, #fff5f5 0%, #ffe4e6 100%);
  border: 1px solid rgba(244, 63, 94, 0.22);
  color: #9f1239;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
html.theme-dark .jx-res-btn--lock {
  background: linear-gradient(180deg, rgba(69, 10, 10, 0.55) 0%, rgba(127, 29, 29, 0.42) 100%);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecdd3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jx-res-btn--muted {
  cursor: default;
  background: rgba(15, 23, 42, 0.06);
  color: #94a3b8;
}

.jx-res-pwd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  width: 100%;
  box-sizing: border-box;
}
html.theme-dark .jx-res-pwd {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.jx-res-pwd__label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}
html.theme-dark .jx-res-pwd__label {
  color: #cbd5e1;
}
.jx-res-pwd__val {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
.jx-res-pwd__copy {
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.jx-pay-modal-open {
  overflow: hidden;
}

.jx-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jx-pay-modal[hidden] {
  display: none !important;
}
.jx-pay-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.52);
}
.jx-pay-modal__panel {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 40px));
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f5f7fa 100%);
  border-radius: 18px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  padding: 0 14px 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 24px 58px rgba(2, 8, 23, 0.35);
}
.jx-pay-modal.is-qr-mode .jx-pay-modal__methods--pick {
  display: none !important;
}
html.theme-dark .jx-pay-modal__panel {
  background: linear-gradient(180deg, #1a2230 0%, #171b22 55%, #12161c 100%);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.45);
}
.jx-pay-modal__hd {
  margin: 0 -16px 12px;
  padding: 12px 16px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #23a455, #49bf63);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jx-pay-modal__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.jx-pay-modal__close:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: scale(1.03);
}
html.theme-dark .jx-pay-modal__close {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}
.jx-pay-modal__title {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}
html.theme-dark .jx-pay-modal__title {
  color: #ffffff;
}
.jx-pay-modal__tip {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
}
html.theme-dark .jx-pay-modal__tip {
  color: #94a3b8;
}

/* 支付弹窗：步骤切换 + 积分/人民币 双选卡片 */
.jx-pay-step {
  display: none;
  padding: 0 12px 12px;
}
.jx-pay-step.is-active {
  display: block;
}
.jx-pay-step-pick__tip {
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  line-height: 1.5;
}
html.theme-dark .jx-pay-step-pick__tip {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
}
.jx-pay-dualpick {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 14px;
  padding: 0 12px;
}
.jx-pay-dualbtn {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  color: #0f172a;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}
.jx-pay-dualbtn--points {
  border-color: rgba(45, 212, 191, 0.5);
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfeff 40%, #fff 100%);
}
.jx-pay-dualbtn--rmb {
  border-color: rgba(251, 146, 60, 0.55);
  background: linear-gradient(160deg, #fffbeb 0%, #fff7ed 45%, #fff 100%);
}
.jx-pay-dualbtn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(37, 99, 235, 0.18);
  border-color: rgba(59, 130, 246, 0.55);
}
.jx-pay-dualbtn--points:hover {
  border-color: rgba(20, 184, 166, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(13, 148, 136, 0.22);
}
.jx-pay-dualbtn--rmb:hover {
  border-color: rgba(249, 115, 22, 0.85);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(234, 88, 12, 0.22);
}
.jx-pay-dualbtn:active {
  transform: translateY(0);
}
html.theme-dark .jx-pay-dualbtn {
  color: #e2e8f0;
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.22) 0%, rgba(30, 41, 59, 0.92) 55%, #141a22 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.35);
}
html.theme-dark .jx-pay-dualbtn--rmb {
  background: linear-gradient(160deg, rgba(180, 83, 9, 0.28) 0%, rgba(30, 41, 59, 0.92) 50%, #141a22 100%);
  border-color: rgba(251, 146, 60, 0.38);
}
html.theme-dark .jx-pay-dualbtn--points {
  border-color: rgba(45, 212, 191, 0.32);
}
html.theme-dark .jx-pay-dualbtn:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 40px rgba(56, 189, 248, 0.12);
}
.jx-pay-dualbtn__ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.35);
}
.jx-pay-dualbtn--points .jx-pay-dualbtn__ic--points-img {
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}
.jx-pay-dualbtn--points .jx-pay-dualbtn__ic--points-img .jx-jf-icon--dual {
  width: 32px;
  height: 32px;
}
html.theme-dark .jx-pay-dualbtn--points .jx-pay-dualbtn__ic--points-img {
  background: rgba(30, 41, 59, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.jx-pay-dualbtn--rmb .jx-pay-dualbtn__ic {
  font-size: 20px;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.35);
}
html.theme-dark .jx-pay-dualbtn__ic {
  background: linear-gradient(145deg, #2dd4bf, #0f766e);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
}
html.theme-dark .jx-pay-dualbtn--rmb .jx-pay-dualbtn__ic {
  background: linear-gradient(145deg, #fdba74, #ea580c);
}
.jx-pay-dualbtn__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.jx-pay-dualbtn__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
}
.jx-pay-dualbtn__meta {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.jx-pay-dualbtn--rmb .jx-pay-dualbtn__meta {
  color: #c2410c;
  font-size: 15px;
}
.jx-pay-dualbtn--points .jx-pay-dualbtn__meta {
  color: #0f766e;
}
html.theme-dark .jx-pay-dualbtn__title {
  color: #f1f5f9;
}
html.theme-dark .jx-pay-dualbtn__meta {
  color: #cbd5e1;
}
html.theme-dark .jx-pay-dualbtn--rmb .jx-pay-dualbtn__meta {
  color: #fdba74;
}
html.theme-dark .jx-pay-dualbtn--points .jx-pay-dualbtn__meta {
  color: #5eead4;
}
.jx-pay-points-actions {
  margin-top: 12px;
  text-align: center;
}
.jx-pay-points-actions .jx-pay-modal__check {
  margin-top: 8px;
}

.jx-pay-modal__amount {
  margin: 0 0 12px;
}
.jx-pay-modal__amount span {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}
.jx-pay-modal__amount strong {
  display: block;
  background: #fff;
  border: 1px solid #d5dbe4;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 30px;
  color: #166534;
  line-height: 1.15;
}
.jx-pay-modal__amount--points-disc {
  margin: 0 0 12px;
}
.jx-pay-modal__amount--points-disc .jx-pay-modal__amount-hd {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.jx-pay-modal__points-break {
  margin: 0;
  display: block;
  background: #fff;
  border: 1px solid #d5dbe4;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}
html.theme-dark .jx-pay-modal__points-break {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}
.jx-pay-modal__points-break del {
  color: #94a3b8;
  font-weight: 600;
}
.jx-pay-modal__points-break strong {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.15em;
  color: #6d28d9;
}
html.theme-dark .jx-pay-modal__points-break strong {
  color: #c4b5fd;
}
.jx-pay-modal__methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.jx-pay-modal__methods--pick .jx-pay-modal__m {
  padding: 12px;
}
.jx-pay-modal__m {
  border: 1px solid #d8e0eb;
  border-radius: 14px;
  padding: 12px;
  background: #f9fbff;
}
html.theme-dark .jx-pay-modal__m {
  background: rgba(30, 41, 59, 0.62);
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: none;
}
.jx-pay-modal__qr {
  width: min(200px, 76%);
  height: auto;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default;
}
.jx-pay-modal__go {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
}
.jx-pay-modal__go:hover {
  text-decoration: underline;
}
.jx-pay-modal__pickbtn {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 58px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  pointer-events: auto;
}
.jx-pay-modal__pickbtn:hover {
  transform: translateY(-1px);
  border-color: #60a5fa;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}
.jx-pay-modal__pickbtn.is-active {
  border-color: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}
.jx-pay-modal__pickbtn.is-loading {
  opacity: 0.86;
  cursor: wait;
}
.jx-pay-modal__pickicon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.jx-pay-modal__pickbtn[data-pay-method-open="ali"] .jx-pay-modal__pickicon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.jx-pay-modal__na {
  color: #94a3b8;
  margin: 12px 0 2px;
  text-align: center;
  font-size: 12px;
}
.jx-pay-modal__foot {
  margin: 14px 0 0;
  text-align: center;
}
.jx-pay-modal__qrbox {
  margin-top: 12px;
  text-align: center;
  padding: 12px 10px 6px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}
html.theme-dark .jx-pay-modal__qrbox {
  background: rgba(30, 41, 59, 0.62);
  border-color: rgba(96, 165, 250, 0.28);
}
.jx-pay-modal__qrbox.is-expired .jx-pay-modal__qr {
  opacity: 0.35;
  filter: grayscale(1);
}
.jx-pay-modal__qrhead {
  margin: 0 0 8px;
  text-align: left;
}
.jx-pay-modal__back {
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.jx-pay-modal__qrtitle {
  margin: 0 0 10px;
  font-size: 16px;
  color: #0f172a;
}
html.theme-dark .jx-pay-modal__qrtitle {
  color: #e2e8f0;
}
.jx-pay-modal__savehint {
  margin: 8px 0 4px;
  font-size: 12px;
  color: #475569;
}
.jx-pay-modal__expire {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
}
html.theme-dark .jx-pay-modal__savehint {
  color: #94a3b8;
}
html.theme-dark .jx-pay-modal__expire {
  color: #f87171;
}
.jx-pay-modal__check {
  border: 0;
  border-radius: 12px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.jx-pay-modal__check:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.jx-pay-modal__check.is-disabled,
.jx-pay-modal__check:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: none;
}
.jx-pay-modal__checkhint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.jx-pay-modal__checkhint.is-ok {
  color: #16a34a;
}
.jx-pay-modal__checkhint.is-warn {
  color: #dc2626;
}
html.theme-dark .jx-pay-modal__checkhint {
  color: #94a3b8;
}
html.theme-dark .jx-pay-modal__checkhint.is-ok {
  color: #4ade80;
}
html.theme-dark .jx-pay-modal__checkhint.is-warn {
  color: #f87171;
}

/* 积分不足提示（替代浏览器 alert，与积分兑换弹窗风格一致，位置上移避免贴顶） */
.jx-points-insufficient-open {
  overflow: hidden;
}
.jx-points-insufficient {
  position: fixed;
  inset: 0;
  z-index: 2400;
  padding: min(17vh, 160px) 16px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}
.jx-points-insufficient__mask {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.52);
}
.jx-points-insufficient__panel {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 0;
  background: #f5f7fa;
  border-radius: 18px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 0 14px 16px;
  box-shadow: 0 24px 58px rgba(2, 8, 23, 0.35);
}
html.theme-dark .jx-points-insufficient__panel {
  background: #171b22;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.22);
}
.jx-points-insufficient__hd {
  margin: 0 -16px 12px;
  padding: 12px 16px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #23a455, #49bf63);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.jx-points-insufficient__title {
  margin: 0;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
}
.jx-points-insufficient__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.jx-points-insufficient__close:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: scale(1.03);
}
html.theme-dark .jx-points-insufficient__close {
  background: rgba(255, 255, 255, 0.16);
}
.jx-points-insufficient__body {
  padding-top: 2px;
}
.jx-points-insufficient__tip {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}
.jx-points-insufficient__name {
  display: inline-block;
  margin-right: 2px;
  padding: 2px 10px 3px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 48%, #7c3aed 100%);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  vertical-align: baseline;
}
html.theme-dark .jx-points-insufficient__name {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #a78bfa 100%);
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.28);
}
html.theme-dark .jx-points-insufficient__tip {
  color: #94a3b8;
}
.jx-points-insufficient__sub {
  margin: 0 0 12px;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}
html.theme-dark .jx-points-insufficient__sub {
  color: #cbd5e1;
}
.jx-points-insufficient__amount {
  margin: 0 0 14px;
}
.jx-points-insufficient__amount span {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}
html.theme-dark .jx-points-insufficient__amount span {
  color: #e5e7eb;
}
.jx-points-insufficient__amount strong {
  display: block;
  background: #fff;
  border: 1px solid #d5dbe4;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 26px;
  font-weight: 800;
  color: #0f766e;
  text-align: center;
  letter-spacing: 0.02em;
}
html.theme-dark .jx-points-insufficient__amount strong {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
  color: #5eead4;
}
.jx-points-insufficient__foot {
  margin-top: 4px;
}
.jx-points-insufficient__btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
  border: 0;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.jx-points-insufficient__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.jx-pay-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(8px);
  z-index: 2600;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.3);
}
.jx-pay-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.jx-pay-toast.is-ok {
  background: rgba(22, 163, 74, 0.94);
}
@media (max-width: 760px) {
  .jx-points-insufficient {
    padding: min(14vh, 120px) 12px 20px;
  }
  .jx-points-insufficient__panel {
    width: min(380px, calc(100vw - 24px));
    padding: 0 12px 14px;
  }
  .jx-points-insufficient__hd {
    margin: 0 -12px 10px;
    padding: 10px 12px;
  }
  .jx-points-insufficient__title {
    font-size: 18px;
  }
  .jx-points-insufficient__amount strong {
    font-size: 22px;
    padding: 12px 14px;
  }
  .jx-pay-modal {
    padding: 10px;
  }
  .jx-pay-dualpick {
    flex-direction: column;
    padding: 0 10px;
    gap: 10px;
  }
  .jx-pay-dualbtn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .jx-pay-step-pick__tip {
    margin-left: 10px;
    margin-right: 10px;
  }
  .jx-pay-modal__panel {
    width: min(380px, calc(100vw - 20px));
    max-height: calc(100vh - 72px);
    padding: 0 12px 12px;
  }
  .jx-pay-modal__hd {
    margin: 0 -12px 10px;
    padding: 10px 12px;
  }
  .jx-pay-modal__methods {
    grid-template-columns: 1fr;
  }
  .jx-pay-modal__title {
    font-size: 18px;
  }
  .jx-pay-modal__amount strong {
    font-size: 26px;
  }
  .jx-pay-modal__qr {
    width: min(180px, 74%);
  }
}

/* ===== 全站兜底：风格+夜间并用时的可读性增强（含手机侧边栏/评论区/自定义模块） ===== */
html.theme-dark.jxu-style-mist,
html.theme-dark.jxu-style-future {
  --jxu-strong-text: #f8fafc;
  --jxu-normal-text: #e2e8f0;
  --jxu-soft-text: #bfd0ea;
  --jxu-weak-text: #9fb0ce;
  --jxu-ctrl-bg: rgba(15, 23, 42, 0.86);
  --jxu-ctrl-border: #4b5f7d;
  --jxu-ctrl-text: #e2e8f0;
  --jxu-ctrl-hover-bg: rgba(30, 58, 138, 0.34);
  --jxu-ctrl-hover-border: #7fb0ff;
  --jxu-ctrl-hover-text: #ffffff;
}

html.theme-dark.jxu-style-mist .jx-sidebar .function,
html.theme-dark.jxu-style-future .jx-sidebar .function,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function,
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function {
  background: var(--jxu-module-bg);
  border-color: var(--jxu-panel-border);
}

html.theme-dark.jxu-style-mist .jx-sidebar .function_t,
html.theme-dark.jxu-style-future .jx-sidebar .function_t,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c > .function_t--embed,
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c > .function_t--embed {
  color: var(--jxu-strong-text);
  background: var(--jxu-module-title-bg);
  border-bottom-color: var(--jxu-panel-border);
}

html.theme-dark.jxu-style-mist .jx-sidebar .function_c,
html.theme-dark.jxu-style-future .jx-sidebar .function_c,
html.theme-dark.jxu-style-mist .jx-sidebar .function_c li,
html.theme-dark.jxu-style-future .jx-sidebar .function_c li,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c,
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c li,
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c li {
  color: var(--jxu-normal-text);
}

html.theme-dark.jxu-style-mist .jx-sidebar .function_c a,
html.theme-dark.jxu-style-future .jx-sidebar .function_c a,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c a,
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c a {
  color: var(--jxu-soft-text);
}

html.theme-dark.jxu-style-mist .jx-hotmod__title,
html.theme-dark.jxu-style-future .jx-hotmod__title,
html.theme-dark.jxu-style-mist .jx-randommod__title,
html.theme-dark.jxu-style-future .jx-randommod__title {
  color: var(--jxu-strong-text);
}

html.theme-dark.jxu-style-mist .jx-hotmod__meta,
html.theme-dark.jxu-style-future .jx-hotmod__meta,
html.theme-dark.jxu-style-mist .jx-searchmod__tag.is-empty,
html.theme-dark.jxu-style-future .jx-searchmod__tag.is-empty {
  color: var(--jxu-weak-text);
}

html.theme-dark.jxu-style-mist .jx-hotmod__thumb-points,
html.theme-dark.jxu-style-future .jx-hotmod__thumb-points {
  color: var(--jxu-strong-text);
  border-color: var(--jxu-ctrl-border);
  background: var(--jxu-ctrl-bg);
}

html.theme-dark.jxu-style-mist .jx-hotmod__thumb-points::before,
html.theme-dark.jxu-style-future .jx-hotmod__thumb-points::before {
  border-left-color: var(--jxu-ctrl-border);
  border-top-color: var(--jxu-ctrl-border);
  background: var(--jxu-ctrl-bg);
}

html.theme-dark.jxu-style-mist .jx-searchmod__input,
html.theme-dark.jxu-style-future .jx-searchmod__input,
html.theme-dark.jxu-style-mist .jx-commentpost__input,
html.theme-dark.jxu-style-future .jx-commentpost__input,
html.theme-dark.jxu-style-mist .jx-commentpost__textarea,
html.theme-dark.jxu-style-future .jx-commentpost__textarea,
html.theme-dark.jxu-style-mist .jx-comment-replybox__textarea,
html.theme-dark.jxu-style-future .jx-comment-replybox__textarea,
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c input[type="text"],
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c input[type="text"],
html.theme-dark.jxu-style-mist #mobile-sidebar .sidebar-menu .function_c input[type="search"],
html.theme-dark.jxu-style-future #mobile-sidebar .sidebar-menu .function_c input[type="search"] {
  background: rgba(15, 23, 42, 0.78);
  border-color: var(--jxu-ctrl-border);
  color: var(--jxu-normal-text);
}

html.theme-dark.jxu-style-mist .jx-searchmod__btn,
html.theme-dark.jxu-style-future .jx-searchmod__btn,
html.theme-dark.jxu-style-mist .jx-randommod__refresh,
html.theme-dark.jxu-style-future .jx-randommod__refresh,
html.theme-dark.jxu-style-mist .jx-ucentermod__item,
html.theme-dark.jxu-style-future .jx-ucentermod__item,
html.theme-dark.jxu-style-mist .jx-theme-toggle,
html.theme-dark.jxu-style-future .jx-theme-toggle,
html.theme-dark.jxu-style-mist .jx-style-toggle,
html.theme-dark.jxu-style-future .jx-style-toggle,
html.theme-dark.jxu-style-mist .jx-fx-toggle,
html.theme-dark.jxu-style-future .jx-fx-toggle,
html.theme-dark.jxu-style-mist .jx-music-toggle,
html.theme-dark.jxu-style-future .jx-music-toggle,
html.theme-dark.jxu-style-mist .jxu-home-viewbar__btn,
html.theme-dark.jxu-style-future .jxu-home-viewbar__btn,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__a,
html.theme-dark.jxu-style-future .jx-cat-toolbar__a,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__sorta,
html.theme-dark.jxu-style-future .jx-cat-toolbar__sorta,
html.theme-dark.jxu-style-mist .jxu-float-tools__btn,
html.theme-dark.jxu-style-future .jxu-float-tools__btn,
html.theme-dark.jxu-style-mist .jx-pagebar .page,
html.theme-dark.jxu-style-future .jx-pagebar .page,
html.theme-dark.jxu-style-mist .jx-pagebar a,
html.theme-dark.jxu-style-future .jx-pagebar a,
html.theme-dark.jxu-style-mist .jx-pagebar span,
html.theme-dark.jxu-style-future .jx-pagebar span {
  background: var(--jxu-ctrl-bg);
  border-color: var(--jxu-ctrl-border);
  color: var(--jxu-ctrl-text);
}

html.theme-dark.jxu-style-mist .jx-searchmod__btn:hover,
html.theme-dark.jxu-style-future .jx-searchmod__btn:hover,
html.theme-dark.jxu-style-mist .jx-randommod__refresh:hover,
html.theme-dark.jxu-style-future .jx-randommod__refresh:hover,
html.theme-dark.jxu-style-mist .jx-ucentermod__item:hover,
html.theme-dark.jxu-style-future .jx-ucentermod__item:hover,
html.theme-dark.jxu-style-mist .jx-theme-toggle:hover,
html.theme-dark.jxu-style-future .jx-theme-toggle:hover,
html.theme-dark.jxu-style-mist .jx-style-toggle:hover,
html.theme-dark.jxu-style-future .jx-style-toggle:hover,
html.theme-dark.jxu-style-mist .jx-fx-toggle:hover,
html.theme-dark.jxu-style-future .jx-fx-toggle:hover,
html.theme-dark.jxu-style-mist .jx-music-toggle:hover,
html.theme-dark.jxu-style-future .jx-music-toggle:hover,
html.theme-dark.jxu-style-mist .jxu-home-viewbar__btn:hover,
html.theme-dark.jxu-style-future .jxu-home-viewbar__btn:hover,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__a:hover,
html.theme-dark.jxu-style-future .jx-cat-toolbar__a:hover,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__sorta:hover,
html.theme-dark.jxu-style-future .jx-cat-toolbar__sorta:hover,
html.theme-dark.jxu-style-mist .jxu-float-tools__btn:hover,
html.theme-dark.jxu-style-future .jxu-float-tools__btn:hover {
  background: var(--jxu-ctrl-hover-bg);
  border-color: var(--jxu-ctrl-hover-border);
  color: var(--jxu-ctrl-hover-text);
}

html.theme-dark.jxu-style-mist .jxu-home-viewbar__btn.is-active,
html.theme-dark.jxu-style-future .jxu-home-viewbar__btn.is-active,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__a.is-current,
html.theme-dark.jxu-style-future .jx-cat-toolbar__a.is-current,
html.theme-dark.jxu-style-mist .jx-cat-toolbar__sorta.is-current,
html.theme-dark.jxu-style-future .jx-cat-toolbar__sorta.is-current,
html.theme-dark.jxu-style-mist .jx-pagebar .now-page,
html.theme-dark.jxu-style-future .jx-pagebar .now-page,
html.theme-dark.jxu-style-mist .jx-pagebar span.current,
html.theme-dark.jxu-style-future .jx-pagebar span.current {
  background: var(--jxu-chip-active-bg);
  border-color: var(--jxu-chip-active-border);
  color: var(--jxu-chip-active-text);
}

html.theme-dark.jxu-style-mist .jx-comments,
html.theme-dark.jxu-style-future .jx-comments,
html.theme-dark.jxu-style-mist .jx-commentpost,
html.theme-dark.jxu-style-future .jx-commentpost,
html.theme-dark.jxu-style-mist .jx-comment,
html.theme-dark.jxu-style-future .jx-comment,
html.theme-dark.jxu-style-mist .jx-comment-pickerpanel,
html.theme-dark.jxu-style-future .jx-comment-pickerpanel {
  background: var(--jxu-module-bg);
  border-color: var(--jxu-panel-border);
  color: var(--jxu-normal-text);
}

html.theme-dark.jxu-style-mist .jx-commentpost__title,
html.theme-dark.jxu-style-future .jx-commentpost__title,
html.theme-dark.jxu-style-mist .jx-commentlist__title,
html.theme-dark.jxu-style-future .jx-commentlist__title,
html.theme-dark.jxu-style-mist .jx-comment__name a,
html.theme-dark.jxu-style-future .jx-comment__name a {
  color: var(--jxu-strong-text);
}

html.theme-dark.jxu-style-mist .jx-comment__meta,
html.theme-dark.jxu-style-future .jx-comment__meta,
html.theme-dark.jxu-style-mist .jx-commentlist__count,
html.theme-dark.jxu-style-future .jx-commentlist__count,
html.theme-dark.jxu-style-mist .jx-commentlist__empty,
html.theme-dark.jxu-style-future .jx-commentlist__empty {
  color: var(--jxu-weak-text);
}
