:root {
  --jz-bg: #05070f;
  --jz-bg-2: #090d18;
  --jz-surface: #0e1420;
  --jz-card: #121a28;
  --jz-line: rgba(255, 255, 255, 0.07);
  --jz-line-2: rgba(255, 255, 255, 0.13);
  --jz-text: #eaeffa;
  --jz-muted: #8c98ae;
  --jz-accent: #6366f1;
  --jz-accent-2: #22d3ee;
  --jz-violet: #8b5cf6;
  --jz-gold: #f0c674;
  --jz-danger: #f87171;
  --jz-ok: #34d399;
  --jz-radius: 16px;
  --jz-nav: 72px;
  --el-color-primary: #6366f1;
  --el-bg-color: #121a28;
  --el-bg-color-overlay: #17202f;
  --el-bg-color-page: #05070f;
  --el-text-color-primary: #eaeffa;
  --el-text-color-regular: #c4cddd;
  --el-text-color-secondary: #8c98ae;
  --el-border-color: #253045;
  --el-border-color-light: #1f2a3d;
  --el-fill-color: #161f2e;
  --el-fill-color-blank: #0e1420;
  --el-fill-color-light: #161f2e;
  --el-fill-color-lighter: #1b2536;
  --el-disabled-bg-color: #121a28;
  --el-disabled-text-color: #64708a;
  --el-mask-color: rgba(5, 7, 15, 0.74);
  --el-pagination-button-bg-color: #1b2536;
  --el-pagination-button-color: #eaeffa;
  --el-pagination-hover-color: #ffffff;
  --el-button-text-color: #eaeffa;
  --el-button-bg-color: #1b2536;
  --el-button-border-color: #33415a;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body.jzad-body {
  margin: 0;
  background-color: var(--jz-bg);
  background-image:
    radial-gradient(1100px 620px at 8% -14%, rgba(99, 102, 241, 0.2), transparent 62%),
    radial-gradient(920px 520px at 96% -6%, rgba(34, 211, 238, 0.12), transparent 58%),
    radial-gradient(760px 620px at 50% 120%, rgba(139, 92, 246, 0.12), transparent 62%);
  background-attachment: fixed;
  color: var(--jz-text);
  font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }
#jzad-app { min-height: 100%; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.13); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.6); }
:focus-visible { outline: 2px solid rgba(99, 102, 241, 0.7); outline-offset: 2px; }
.jz-shell { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

/* ============ 顶部导航（居中布局） ============ */
.jz-nav {
  min-height: var(--jz-nav);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 max(48px, calc((100vw - 1480px) / 2 + 36px));
  border-bottom: 1px solid var(--jz-line);
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  position: sticky;
  top: 0;
  z-index: 40;
}
.jz-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.55), rgba(34, 211, 238, 0.45), transparent);
  opacity: 0.7;
}
.jz-nav-drawer { display: contents; }
.jz-nav-mask { display: none; }
.jz-brand { grid-column: 1; justify-self: stretch; display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-weight: 700; min-width: 0; overflow: hidden; }
.jz-logo {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--jz-accent), var(--jz-violet) 55%, var(--jz-accent-2));
  box-shadow: 0 0 26px rgba(99, 102, 241, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.jz-brand-txt { display: flex; flex-direction: column; line-height: 1.16; min-width: 0; }
.jz-brand-txt b { font-size: 18px; letter-spacing: 0.03em; white-space: nowrap; }
.jz-brand-txt em {
  font-style: normal;
  font-size: 11px;
  color: var(--jz-muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jz-menu {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--jz-line);
  background: rgba(255, 255, 255, 0.025);
}
.jz-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--jz-muted);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.jz-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.jz-menu a.router-link-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.9));
  box-shadow: 0 8px 22px -10px rgba(99, 102, 241, 1);
}
.jz-menu a .jz-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--jz-gold);
  box-shadow: 0 0 8px rgba(240, 198, 116, 0.9);
}
.jz-menu a.is-hot { color: var(--jz-gold); }
.jz-menu a.is-hot.router-link-active { color: #241a05; background: linear-gradient(135deg, #f7d089, #e5b055); box-shadow: 0 8px 22px -10px rgba(240, 198, 116, 1); }
.jz-menu a.is-hot.router-link-active .jz-dot { background: #7a4f06; box-shadow: none; }
.jz-user { grid-column: 3; justify-self: stretch; display: flex; align-items: center; flex-wrap: nowrap; justify-content: flex-end; gap: 8px; font-size: 13.5px; color: var(--jz-muted); min-width: 0; overflow: hidden; }
.jz-user .u-id { display: inline-flex; align-items: center; gap: 7px; color: var(--jz-text); max-width: 150px; }
.jz-user .u-id b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jz-user .u-id img { width: 26px; height: 26px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--jz-line-2); }
.jz-user .badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  white-space: nowrap;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--jz-muted);
}
.jz-user .badge.vip {
  background: linear-gradient(135deg, rgba(240, 198, 116, 0.24), rgba(240, 198, 116, 0.1));
  border-color: rgba(240, 198, 116, 0.45);
  color: var(--jz-gold);
  font-weight: 600;
}
.jz-user .badge.vip.off { background: rgba(255, 255, 255, 0.06); border-color: var(--jz-line-2); color: var(--jz-muted); font-weight: 400; }
.jz-user .badge.pts { background: rgba(99, 102, 241, 0.18); border-color: rgba(99, 102, 241, 0.42); color: #c7c9ff; }
.jz-user .badge.bal { background: rgba(34, 211, 238, 0.15); border-color: rgba(34, 211, 238, 0.4); color: #9fe8f5; }
.jz-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid var(--jz-line-2);
  border-radius: 12px;
  background: var(--jz-surface);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.jz-nav-toggle span { display: block; width: 18px; height: 2px; background: #eaeffa; border-radius: 2px; }
.jz-main { flex: 1; }
.jz-page { max-width: 1280px; margin: 0 auto; padding: 32px 48px 72px; }
.jz-page.wide, .jz-page-wide { max-width: 1380px; }

/* 路由过渡 */
.jz-fade-enter-active, .jz-fade-leave-active { transition: opacity 0.22s ease, transform 0.22s ease; }
.jz-fade-enter-from { opacity: 0; transform: translateY(10px); }
.jz-fade-leave-to { opacity: 0; transform: translateY(-6px); }

/* ============ 通用组件 ============ */
.jz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.42);
  background: rgba(99, 102, 241, 0.12);
  color: #c3c6ff;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.jz-page-title { margin: 0 0 6px; font-size: 26px; letter-spacing: 0.01em; }
.jz-page-sub { margin: 0 0 20px; color: var(--jz-muted); font-size: 14px; line-height: 1.8; }
.jz-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.jz-section-head h2 { margin: 0; font-size: 22px; letter-spacing: 0.01em; }
.jz-section-head p { margin: 6px 0 0; color: var(--jz-muted); font-size: 13px; }
.jz-help {
  border: 1px solid rgba(99, 102, 241, 0.26);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.11), rgba(99, 102, 241, 0.03));
  border-radius: 14px;
  padding: 15px 18px;
  margin: 14px 0 22px;
  color: var(--jz-muted);
  font-size: 13px;
  line-height: 1.85;
}
.jz-help b { color: var(--jz-text); display: block; margin-bottom: 5px; font-size: 14px; }
.jz-help ol, .jz-help ul { margin: 6px 0 0; padding-left: 20px; }
.jz-help p { margin: 4px 0 0; }
.jz-hint { color: var(--jz-muted); font-size: 12px; margin-top: 6px; line-height: 1.7; }
.jz-hint.warn { color: var(--jz-gold); }
.jz-drop {
  border: 1px dashed var(--jz-line-2);
  border-radius: 12px;
  padding: 16px;
  color: var(--jz-muted);
  font-size: 13px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.jz-drop:hover { border-color: rgba(99, 102, 241, 0.55); background: rgba(99, 102, 241, 0.05); }
.jz-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: linear-gradient(135deg, rgba(240, 198, 116, 0.22), rgba(240, 198, 116, 0.08));
  border: 1px solid rgba(240, 198, 116, 0.45);
  color: var(--jz-gold);
  cursor: pointer;
  white-space: nowrap;
}
.jz-quote {
  border-left: 2px solid rgba(99, 102, 241, 0.6);
  padding: 4px 0 4px 14px;
  color: var(--jz-muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 12px 0 0;
}

/* ============ 首页 Hero ============ */
.jz-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--jz-line-2);
  border-radius: 26px;
  padding: 58px 52px;
  background:
    radial-gradient(1000px 460px at 6% -24%, rgba(99, 102, 241, 0.34), transparent 58%),
    radial-gradient(820px 380px at 94% -10%, rgba(34, 211, 238, 0.17), transparent 52%),
    linear-gradient(180deg, #101728 0%, #0a0f1a 62%, #080c15 100%);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.jz-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(720px 340px at 72% 26%, #000, transparent 72%);
  pointer-events: none;
}
.jz-hero h1 { position: relative; margin: 0 0 14px; font-size: 44px; line-height: 1.16; letter-spacing: 0.01em; }
.jz-hero h1 em { font-style: normal; background: linear-gradient(100deg, #a5b4fc, #c4b5fd 45%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jz-hero p { position: relative; margin: 0 0 26px; color: #b6c0d4; font-size: 15.5px; max-width: 680px; line-height: 1.85; }
.jz-hero-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.jz-hero-stats { position: relative; display: flex; gap: 0; margin-top: 34px; flex-wrap: wrap; }
.jz-hero-stats div { display: flex; flex-direction: column; padding: 0 30px; border-left: 1px solid var(--jz-line-2); }
.jz-hero-stats div:first-child { padding-left: 0; border-left: 0; }
.jz-hero-stats b { font-size: 24px; color: #fff; letter-spacing: 0.02em; }
.jz-hero-stats span { font-size: 12px; color: var(--jz-muted); margin-top: 2px; }
.jz-hero-tags { position: relative; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.jz-hero-tags span {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #a9b6cf;
  border: 1px solid var(--jz-line-2);
  background: rgba(255, 255, 255, 0.03);
}

/* ============ 栅格与卡片 ============ */
.jz-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.jz-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #131c2b, #0f1622);
  border: 1px solid var(--jz-line);
  border-radius: var(--jz-radius);
  padding: 22px;
  min-height: 156px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.jz-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}
.jz-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.9), 0 0 34px -18px rgba(99, 102, 241, 0.8);
}
.jz-card h3 { margin: 13px 0 7px; font-size: 17.5px; }
.jz-card p { margin: 0; color: var(--jz-muted); font-size: 13px; line-height: 1.7; }
.jz-ico {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(34, 211, 238, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #d5d8ff;
  font-size: 16px;
  font-weight: 600;
}
.jz-section { margin-top: 48px; }
.jz-section > h2 { margin: 0 0 18px; font-size: 22px; }

/* 流程步骤 */
.jz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jz-step {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #111a29, #0d141f);
  border: 1px solid var(--jz-line);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.jz-step:hover { border-color: rgba(99, 102, 241, 0.45); transform: translateY(-2px); }
.jz-step i {
  font-style: normal;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #cfd3ff;
  font-size: 13px;
  margin-bottom: 12px;
}
.jz-step b { display: block; margin-bottom: 6px; font-size: 15px; }
.jz-step span { color: var(--jz-muted); font-size: 13px; line-height: 1.7; }

/* 动态墙 */
.jz-wall {
  overflow: hidden;
  border: 1px solid var(--jz-line);
  border-radius: 18px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
  position: relative;
}
.jz-wall::before, .jz-wall::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.jz-wall::before { left: 0; background: linear-gradient(90deg, var(--jz-bg), transparent); }
.jz-wall::after { right: 0; background: linear-gradient(270deg, var(--jz-bg), transparent); }
.jz-wall-track { display: flex; gap: 12px; width: max-content; animation: jz-marquee 46s linear infinite; }
.jz-wall-track:hover { animation-play-state: paused; }
.jz-chip {
  min-width: 226px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #162030, #111927);
  border: 1px solid var(--jz-line);
  transition: border-color 0.2s ease;
}
.jz-chip:hover { border-color: rgba(99, 102, 241, 0.5); }
.jz-chip b { display: block; margin-bottom: 6px; font-size: 13.5px; }
.jz-chip span { color: var(--jz-muted); font-size: 12px; }

/* 爆款 */
.jz-hot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.jz-hot-item {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #141d2c, #0f1622);
  border: 1px solid var(--jz-line);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.jz-hot-item:hover { transform: translateY(-3px); border-color: rgba(240, 198, 116, 0.45); }
.jz-hot-item h3 { margin: 6px 0; font-size: 15.5px; }
.jz-hot-item .score { color: var(--jz-gold); font-weight: 700; font-size: 13px; }

/* 套餐 */
.jz-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jz-pack {
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid var(--jz-line);
  background: linear-gradient(180deg, #131c2b, #0f1622);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.jz-pack:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 1); }
.jz-pack.hot {
  border-color: rgba(240, 198, 116, 0.6);
  box-shadow: 0 0 0 1px rgba(240, 198, 116, 0.2), 0 30px 60px -34px rgba(240, 198, 116, 0.45);
}
.jz-pack.hot::after {
  content: "推荐";
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d089, #e0a94c);
  color: #2a1c02;
  font-weight: 700;
}
.jz-pack .jz-pack-name { font-size: 15px; color: #cfd6e6; letter-spacing: 0.02em; }
.jz-pack .price { font-size: 34px; margin: 10px 0 16px; letter-spacing: -0.01em; }
.jz-pack .price small { font-size: 14px; color: var(--jz-muted); margin-left: 4px; }
.jz-pack ul { margin: 0 0 20px; padding-left: 18px; color: #a5b1c6; line-height: 2; font-size: 13px; }
.jz-pack .el-button { width: 100%; }

/* 优势 */
.jz-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jz-adv div {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid var(--jz-line);
}
.jz-adv b { display: block; margin-bottom: 7px; color: #dfe6f5; }
.jz-adv span { color: var(--jz-muted); font-size: 13px; line-height: 1.7; }

/* ============ 表格类（权益 / 价目） ============ */
.jz-table-wrap { overflow-x: auto; border: 1px solid var(--jz-line); border-radius: 16px; background: var(--jz-surface); }
table.jz-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
table.jz-table th, table.jz-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--jz-line); }
table.jz-table th { font-weight: 600; color: #cfd6e6; background: rgba(255, 255, 255, 0.028); white-space: nowrap; }
table.jz-table th.col-vip { color: var(--jz-gold); }
table.jz-table td:first-child, table.jz-table th:first-child { text-align: left; }
table.jz-table tbody tr:last-child td { border-bottom: 0; }
table.jz-table tbody tr:hover td { background: rgba(99, 102, 241, 0.06); }
.jz-yes { color: var(--jz-ok); font-weight: 600; }
.jz-no { color: #5c657d; }
.jz-group-row td {
  text-align: left !important;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7f8ba3;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 16px;
}
.jz-table-sub { display: block; color: var(--jz-muted); font-size: 11.5px; margin-top: 2px; }
table.jz-table td.col-vip { color: var(--jz-gold); }

/* 页面内徽章 */
.badge-vip, .badge-pts, .badge-bal, .badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-vip { background: linear-gradient(135deg, rgba(240, 198, 116, 0.24), rgba(240, 198, 116, 0.1)); border-color: rgba(240, 198, 116, 0.45); color: var(--jz-gold); font-weight: 600; }
.badge-pts { background: rgba(99, 102, 241, 0.18); border-color: rgba(99, 102, 241, 0.42); color: #c7c9ff; }
.badge-bal { background: rgba(34, 211, 238, 0.15); border-color: rgba(34, 211, 238, 0.4); color: #9fe8f5; }
.badge-soft { background: rgba(255, 255, 255, 0.06); border-color: var(--jz-line-2); color: var(--jz-muted); }

/* 价目卡 */
.jz-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jz-price-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--jz-line);
  background: linear-gradient(180deg, #121b29, #0e1521);
}
.jz-price-card b { display: block; font-size: 14px; margin-bottom: 10px; color: #dfe6f5; }
.jz-price-card .num { font-size: 22px; color: #fff; }
.jz-price-card .num small { font-size: 12px; color: var(--jz-muted); }
.jz-price-card .off { display: block; margin-top: 8px; font-size: 12px; color: var(--jz-gold); }

/* ============ 面板 / 表单 ============ */
.jz-panel {
  background: linear-gradient(180deg, #121a28, #0f1622);
  border: 1px solid var(--jz-line);
  border-radius: 18px;
  padding: 22px;
}
.jz-panel h3 { font-size: 15.5px; }
.jz-row { display: flex; gap: 16px; }
.jz-col { flex: 1; min-width: 0; }
.jz-label { display: block; margin: 0 0 8px; color: #a7b2c8; font-size: 13px; }
.jz-modes { display: flex; gap: 8px; margin-bottom: 18px; }
.jz-mode {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--jz-line);
  background: transparent;
  color: var(--jz-muted);
  cursor: pointer;
  transition: 0.18s ease;
}
.jz-mode:hover { color: #fff; border-color: rgba(99, 102, 241, 0.5); }
.jz-mode.on {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.85);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.16));
  box-shadow: 0 10px 26px -16px rgba(99, 102, 241, 1);
}
.jz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jz-tag {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--jz-line);
  background: transparent;
  color: var(--jz-muted);
  cursor: pointer;
  transition: 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jz-tag:hover { color: #fff; border-color: rgba(34, 211, 238, 0.5); }
.jz-tag.on { color: #fff; background: rgba(34, 211, 238, 0.18); border-color: rgba(34, 211, 238, 0.55); }
.jz-tags.locked .jz-tag { opacity: 0.55; }
.jz-chars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jz-char {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--jz-line);
  cursor: pointer;
  transition: 0.18s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.015);
}
.jz-char:hover { border-color: rgba(99, 102, 241, 0.55); }
.jz-char.on { border-color: rgba(99, 102, 241, 0.9); background: rgba(99, 102, 241, 0.15); }
.jz-char small { color: var(--jz-muted); }
.jz-char .del {
  position: absolute;
  top: 6px; right: 9px;
  font-size: 14px;
  line-height: 1;
  color: #6f7a92;
  cursor: pointer;
}
.jz-char .del:hover { color: var(--jz-danger); }

/* 作品 */
.jz-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.jz-video-wrap { position: relative; line-height: 0; }
.jz-cue {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
.jz-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jz-work {
  border: 1px solid var(--jz-line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #121a28, #0e1521);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.jz-work:hover { transform: translateY(-3px); border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 1); }
.jz-cover {
  height: 160px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.36), rgba(34, 211, 238, 0.12)),
    repeating-linear-gradient(45deg, #131b28 0 12px, #0f1622 12px 24px);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  cursor: pointer;
}
.jz-work .meta { padding: 12px 14px 16px; color: var(--jz-text); }
.jz-work .meta b { display: block; margin-bottom: 6px; color: #f2f5fc; font-size: 14px; }
.jz-work .meta span { color: #a3aec3; font-size: 12px; }
.jz-work .meta p { color: #c0c9da !important; }
.jz-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* 提示词库：大卡片浏览 */
.jz-prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}
.jz-prompt-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--jz-line);
  background: linear-gradient(180deg, #131c2b, #0f1622);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.jz-prompt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 1);
}
.jz-prompt-card .pc-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.jz-prompt-card .pc-head h3 { margin: 0; font-size: 18.5px; line-height: 1.5; letter-spacing: 0.01em; color: #f2f5fc; }
.jz-prompt-card .pc-cat {
  align-self: flex-start;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #a9b6ff;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.36);
}
.jz-prompt-card .pc-desc {
  margin: 0 0 16px;
  color: #b3bfd4;
  font-size: 14.5px;
  line-height: 1.9;
  flex: 1;
  min-height: 56px;
}
.jz-prompt-card .pc-foot {
  font-size: 12.5px;
  color: var(--jz-muted);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--jz-line-2);
  margin-bottom: 16px;
}
.jz-prompt-card .pc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.jz-prompt-card .pc-actions .el-button {
  margin: 0 !important;
  min-height: 38px;
  font-size: 14px;
  padding: 0 16px;
  flex: 1 1 calc(50% - 5px);
}
.pc-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.95;
  color: #dbe3f2;
  background: #0c1220;
  border: 1px solid var(--jz-line);
  border-radius: 12px;
  padding: 18px;
  max-height: 52vh;
  overflow: auto;
  margin: 12px 0 0;
}

/* 提示词选用器 */
.jz-prompt-picker { display: inline-block; }
.jz-prompt-list { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow: auto; }
.jz-prompt-row { padding: 15px 17px; border: 1px solid var(--jz-line); border-radius: 14px; cursor: pointer; transition: 0.18s ease; }
.jz-prompt-row b { display: block; margin-bottom: 6px; font-size: 15px; }
.jz-prompt-row small { color: #9aa6bd; font-size: 13px; line-height: 1.7; display: block; }
.jz-prompt-row:hover, .jz-prompt-row.on { border-color: rgba(99, 102, 241, 0.7); background: rgba(99, 102, 241, 0.1); }

.jz-empty { padding: 52px 24px; text-align: center; color: var(--jz-muted); line-height: 1.9; }
.jz-login-gate { padding: 84px 24px; text-align: center; }
.jz-login-gate h2 { margin-bottom: 8px; }

/* ============ 页脚 ============ */
.jz-footer { border-top: 1px solid var(--jz-line); background: rgba(6, 9, 17, 0.92); margin-top: 52px; }
.jz-footer-in { max-width: 1180px; margin: 0 auto; padding: 44px 48px 32px; }
.jz-footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.jz-footer-brand .fb-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.jz-footer-brand .fb-title b { font-size: 18px; }
.jz-footer-brand p { margin: 0 0 8px; color: var(--jz-muted); font-size: 14px; line-height: 1.8; max-width: 300px; }
.jz-footer-brand .fb-note { color: #6b768d; }
.jz-footer-col h4 { margin: 0 0 12px; font-size: 15px; color: #cfd6e6; letter-spacing: 0.04em; }
.jz-footer-col a, .jz-footer-col span { display: block; color: var(--jz-muted); font-size: 14px; padding: 5px 0; line-height: 1.7; }
.jz-footer-col a:hover { color: #fff; }
.jz-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--jz-line);
  color: #5f6a80;
  font-size: 13px;
}

/* ============ Element Plus 深色适配 ============ */
.el-input__wrapper, .el-textarea__inner, .el-select__wrapper {
  background: #0c1220 !important;
  box-shadow: 0 0 0 1px #253045 inset !important;
  color: #eaeffa !important;
}
.el-input__inner, .el-textarea__inner, .el-select__placeholder, .el-select__selected-item { color: #eaeffa !important; }
.el-input__inner::placeholder, .el-textarea__inner::placeholder { color: #7c879e !important; }
.el-input__wrapper.is-focus, .el-textarea__inner:focus, .el-select__wrapper.is-focused {
  box-shadow: 0 0 0 1px #6366f1 inset !important;
}
.el-input-group__append, .el-input-group__prepend {
  background: #161f2e !important;
  color: #eaeffa !important;
  box-shadow: 0 0 0 1px #253045 inset !important;
}
.el-dialog, .el-drawer, .el-drawer__header, .el-drawer__body { background: #121a28 !important; color: #eaeffa !important; }
.el-drawer__title, .el-dialog__title { color: #eaeffa !important; }
.el-tabs__item { color: var(--jz-muted); }
.el-tabs__item.is-active { color: #fff; }
.el-tabs__nav-wrap::after { background: #1f2a3d; }
.el-switch.is-checked .el-switch__core { background: #6366f1 !important; border-color: #6366f1 !important; }
.el-checkbox__label { color: var(--jz-text) !important; }
.el-checkbox__input.is-checked .el-checkbox__inner { background: #6366f1; border-color: #6366f1; }
.el-progress-bar__outer { background: #1b2536 !important; }
.el-progress-bar__inner { background: linear-gradient(90deg, #6366f1, #22d3ee) !important; }
.el-table, .el-table tr, .el-table th.el-table__cell { background: transparent !important; color: var(--jz-text); }
.el-table th.el-table__cell { color: var(--jz-muted) !important; }
.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf { border-bottom-color: #1f2a3d !important; }
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { background: #161f2e !important; }

.el-button {
  --el-button-text-color: #eaeffa;
  --el-button-bg-color: #1b2536;
  --el-button-border-color: #33415a;
  --el-button-hover-text-color: #ffffff;
  --el-button-hover-bg-color: #24314a;
  --el-button-hover-border-color: #6366f1;
  --el-button-disabled-text-color: #7c879e;
  --el-button-disabled-bg-color: #121a28;
  background: #1b2536 !important;
  border-color: #33415a !important;
  color: #eaeffa !important;
  transition: 0.18s ease;
  border-radius: 10px;
}
.el-button:hover, .el-button:focus { background: #24314a !important; border-color: #6366f1 !important; color: #fff !important; }
.el-button--primary, .el-button--primary.is-plain {
  --el-button-text-color: #ffffff;
  --el-button-bg-color: #6366f1;
  --el-button-border-color: #6366f1;
  --el-button-hover-text-color: #ffffff;
  --el-button-hover-bg-color: #7c7fff;
  --el-button-hover-border-color: #7c7fff;
  background: linear-gradient(135deg, #6366f1, #7c4dff) !important;
  border-color: #6366f1 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px -14px rgba(99, 102, 241, 1);
}
.el-button--primary:hover, .el-button--primary:focus {
  background: linear-gradient(135deg, #7c7fff, #8b5cf6) !important;
  border-color: #7c7fff !important;
  color: #fff !important;
}
.el-button--primary.is-plain { background: rgba(99, 102, 241, 0.16) !important; color: #c3c6ff !important; box-shadow: none; border-color: rgba(99, 102, 241, 0.5) !important; }
.el-button--success { background: linear-gradient(135deg, #14b8a6, #0e9f8f) !important; border-color: #14b8a6 !important; color: #fff !important; }
.el-button--danger { background: rgba(127, 29, 29, 0.88) !important; border-color: #f87171 !important; color: #fff !important; }
.el-button--large { min-height: 44px; }
.jz-actions .el-button { min-height: 28px; }

.el-pagination {
  --el-pagination-bg-color: #161f2e;
  --el-pagination-text-color: #eaeffa;
  --el-pagination-button-color: #eaeffa;
  --el-pagination-button-bg-color: #161f2e;
  --el-pagination-hover-color: #ffffff;
  --el-disabled-bg-color: #0e1420;
  --el-disabled-text-color: #5c657d;
}
.el-pagination.is-background .el-pager li,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next {
  background: #1b2536 !important;
  color: #eaeffa !important;
  border: 1px solid #33415a;
}
.el-pagination.is-background .el-pager li:hover,
.el-pagination.is-background .btn-prev:hover,
.el-pagination.is-background .btn-next:hover { color: #fff !important; border-color: #6366f1; }
.el-pagination.is-background .el-pager li.is-active { background: #6366f1 !important; border-color: #6366f1 !important; color: #fff !important; }

.el-select-dropdown, .el-popper.is-light, .el-dropdown-menu { background: #121a28 !important; border-color: #253045 !important; }
.el-select-dropdown__item { color: #eaeffa !important; }
.el-select-dropdown__item.is-hovering, .el-select-dropdown__item:hover { background: #24314a !important; }
.el-select-dropdown__item.is-selected { color: #c3c6ff !important; }
.el-message { background: #17202f !important; border-color: #253045 !important; }
.el-message__content { color: #eaeffa !important; }
.el-slider__runway { background: #24314a !important; }
.el-slider__bar { background: linear-gradient(90deg, #6366f1, #22d3ee) !important; }
.el-slider__button { border-color: #6366f1 !important; }
.el-radio-button__inner { background: #161f2e !important; border-color: #33415a !important; color: #c4cddd !important; }
.el-radio-button__original-radio:checked + .el-radio-button__inner {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #fff !important;
  box-shadow: -1px 0 0 0 #6366f1 !important;
}
.el-tag { border-color: #33415a; background: rgba(99, 102, 241, 0.14); color: #c3c6ff; }
.el-tag--warning { background: rgba(240, 198, 116, 0.16); border-color: rgba(240, 198, 116, 0.5); color: var(--jz-gold); }
.el-tag--success { background: rgba(52, 211, 153, 0.16); border-color: rgba(52, 211, 153, 0.5); color: var(--jz-ok); }
.el-tag--info { background: rgba(255, 255, 255, 0.07); border-color: #33415a; color: var(--jz-muted); }

@keyframes jz-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 空间不足时按「信息重要性」从低到高依次隐藏，中间菜单永不与两侧重叠 */
@media (max-width: 1980px) {
  .jz-user .badge.soft { display: none; }        /* 会员折扣 */
}
@media (max-width: 1840px) {
  .jz-user .badge.bal { display: none; }         /* 余额 */
}
@media (max-width: 1700px) {
  .jz-user .u-id { display: none; }              /* 用户名 / 头像 */
}
@media (max-width: 1650px) {
  .jz-menu a { padding: 8px 12px; font-size: 13.5px; }
}
@media (max-width: 1450px) {
  .jz-user .badge.pts { display: none; }         /* 积分 */
}
@media (max-width: 1250px) {
  .jz-menu a { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 1180px) {
  .jz-nav { padding: 0 28px; }
}
@media (max-width: 1100px) {
  .jz-grid-4, .jz-adv, .jz-hot, .jz-packs, .jz-work-grid, .jz-chars, .jz-steps, .jz-price-grid { grid-template-columns: repeat(2, 1fr); }
  .jz-hero { padding: 38px 26px; }
  .jz-hero h1 { font-size: 30px; }
  .jz-footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .jz-prompt-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .jz-prompt-card .pc-head h3 { font-size: 17px; }
}
@media (max-width: 980px) {
  .jz-nav {
    display: flex;
    padding: 10px 16px;
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
    padding-right: calc(16px + env(safe-area-inset-right, 0px));
    height: auto;
    min-height: var(--jz-nav);
  }
  .jz-brand { flex: 1; }
  .jz-brand-txt em { display: none; }
  .jz-nav-toggle { display: inline-flex; flex: none; }
  .jz-nav-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--jz-line-2);
    background: #0d1421;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95);
    z-index: 50;
  }
  .jz-nav-drawer.open { display: flex; }
  .jz-nav-mask { display: block; position: fixed; inset: 0; background: rgba(5, 7, 15, 0.6); z-index: 35; }
  .jz-menu { justify-self: stretch; display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; padding: 0; border: 0; background: transparent; }
  .jz-menu a { padding: 12px 14px; font-size: 15px; border-radius: 12px; justify-content: flex-start; }
  .jz-user {
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--jz-line);
  }
  .jz-user .u-id { display: inline-flex; }
  .jz-user .badge.soft { display: inline-flex; }
  .jz-user .badge.bal { display: inline-flex; }
  .jz-user .badge.pts { display: inline-flex; }
  .jz-user .badge { flex: none; }
}
@media (max-width: 860px) {
  .jz-page { padding: 20px 20px calc(48px + env(safe-area-inset-bottom, 0px)); }
  .jz-page h2, .jz-page-title { font-size: 22px; line-height: 1.35; }
  .jz-help { padding: 14px; font-size: 13.5px; }
  .jz-panel { padding: 16px; }
  .jz-modes { flex-direction: column; }
  .jz-mode { min-height: 44px; }
  .jz-tag { min-height: 36px; padding: 8px 14px; }
  .jz-row { flex-direction: column; gap: 14px; }
  .jz-col.jz-panel[style] { max-width: none !important; }
  .el-dialog { width: calc(100vw - 24px) !important; max-width: 520px; }
  .el-pagination { flex-wrap: wrap; justify-content: center; }
  .jz-footer-in { padding: 28px 24px 22px; }
  .jz-section { margin-top: 34px; }
}
@media (max-width: 720px) {
  .jz-grid-4, .jz-adv, .jz-hot, .jz-packs, .jz-work-grid, .jz-chars, .jz-steps, .jz-price-grid { grid-template-columns: 1fr; gap: 12px; }
  .jz-nav { padding: 10px 12px; }
  .jz-hero { padding: 26px 18px; border-radius: 20px; }
  .jz-hero h1 { font-size: 25px; }
  .jz-hero p { font-size: 14.5px; margin-bottom: 18px; }
  .jz-hero-actions { flex-direction: column; }
  .jz-hero-actions .el-button { width: 100%; }
  .jz-hero-stats { gap: 0; }
  .jz-hero-stats div { padding: 0 16px; }
  .jz-hero-stats b { font-size: 20px; }
  .jz-toolbar { flex-direction: column; align-items: stretch; }
  .jz-toolbar .el-input, .jz-toolbar .el-select { width: 100% !important; max-width: 100%; }
  .jz-row .el-select { width: 100%; }
  .jz-actions { flex-direction: column; }
  .jz-actions .el-button { width: 100%; }
  .el-radio-group { display: flex; flex-wrap: wrap; }
  .el-radio-button { flex: 1; }
  input[type="file"] { max-width: 100%; }
  .jz-empty, .jz-login-gate { padding: 40px 16px; }
  .jz-panel > div[style*="display:flex"] { flex-wrap: wrap; gap: 10px; }
  .jz-footer-cols { grid-template-columns: 1fr; gap: 18px; }
  .jz-footer-bottom { flex-direction: column; align-items: flex-start; }
  table.jz-table { min-width: 520px; }
  .jz-prompt-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jz-prompt-card { padding: 20px 18px 16px; }
  .jz-prompt-card .pc-head h3 { font-size: 17px; }
  .jz-prompt-card .pc-desc { font-size: 14px; min-height: 0; }
  .jz-prompt-card .pc-actions .el-button { flex: 1 1 100%; }
}
