@charset "utf-8";
/* ==========================================================================
   青玖学堂 · 前台主题样式  xn_edu.css
   --------------------------------------------------------------------------
   本文件是【新增文件】，不会覆盖模板原有的任何 css。
   如需还原，删除本文件并去掉模板里的引用即可（详见《回滚说明.md》）。

   设计：清新教育风（方案 A）
   主色 #2563eb / 强调 #10b981 / 价格红 #e11d48 / 深底 #0f2036
   --------------------------------------------------------------------------
   所有样式都限定在 .xj 容器内（body 带 class="xj"），
   不会污染会员中心、弹层等原有组件。
   ========================================================================== */

/* ------------------------------ 基础重置 ------------------------------ */
.xj *,
.xj *::before,
.xj *::after { box-sizing: border-box; }

.xj div, .xj p, .xj ul, .xj ol, .xj li, .xj dl, .xj dt, .xj dd,
.xj h1, .xj h2, .xj h3, .xj h4, .xj h5, .xj h6,
.xj nav, .xj section, .xj aside, .xj header, .xj footer,
.xj figure, .xj figcaption, .xj form, .xj fieldset,
.xj input, .xj button, .xj select, .xj textarea,
.xj span, .xj a, .xj img, .xj em, .xj i, .xj b, .xj strong, .xj small {
  margin: 0;
  padding: 0;
  border: 0;
}

.xj ul, .xj ol { list-style: none; }
.xj a { color: inherit; text-decoration: none; }
.xj img { max-width: 100%; display: block; }
.xj em, .xj i { font-style: normal; }
.xj input, .xj button, .xj select, .xj textarea { font: inherit; outline: none; background: none; }
.xj table { border-collapse: collapse; }
.xj svg { display: block; }
.xj ::selection { background: #2563eb; color: #fff; }

body.xj {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #0f2036;
  background: #f4f7fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 主题变量挂载点：所有页面内容都被 .xjwrap 包裹 */
/* --------------------------------------------------------------------------
   旧页面兼容块
   本次只改版了 首页 / 列表页 / 详情页 / 课程页 / 搜索页，
   其余未改版的模板（如产品模型、图集模型等）也会公用新的页头页脚。
   这些页面 body 上没有 .xj 类，拿不到上面的重置，所以这里单独给
   页头 / 页脚的子树补一份最小重置，避免 ul 缩进、h5 外边距把版式顶乱。
   （必须放在最前面，保证后面真正的样式规则优先）
   -------------------------------------------------------------------------- */
.xjwrap .topbar *, .xjwrap .hdrow *, .xjwrap .nav *, .xjwrap .ft *, .xjwrap .rightOp * {
  box-sizing: border-box;
}
.xjwrap .nav ul, .xjwrap .nav li,
.xjwrap .ft ul, .xjwrap .ft li { margin: 0; padding: 0; list-style: none; }
.xjwrap .ft h5, .xjwrap .ft p { margin: 0; }
.xjwrap .ft img, .xjwrap .nav img { display: block; max-width: 100%; }
.xjwrap .topbar a, .xjwrap .hdrow a, .xjwrap .ft a, .xjwrap .rightOp a { text-decoration: none; }
.xjwrap .ft p, .xjwrap .ft li { word-wrap: break-word; }

.xjwrap {
  --brand: #2563eb;
  --brand-d: #1d4ed8;
  --accent: #10b981;
  --ink: #0f2036;
  --ink2: #5f708a;
  --line: #e6ebf3;
  --bg: #f4f7fb;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(15, 32, 54, .07);
  background: var(--bg);
  color: var(--ink);
}

.xjwrap .wrap { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 18px; }
.xjwrap .clearfix::after { content: ""; display: block; clear: both; }
.xjwrap .hide { display: none !important; }

/* ------------------------------ 顶栏 ------------------------------ */
.xjwrap .topbar { background: #0f2036; color: #c3d0e2; font-size: 12.5px; }
.xjwrap .topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.xjwrap .topbar b { color: #fff; font-weight: 600; }
.xjwrap .topbar .tb-r { display: flex; align-items: center; gap: 14px; }
.xjwrap .topbar .tb-r a { transition: color .15s; }
.xjwrap .topbar .tb-r a:hover { color: #fff; }
.xjwrap .topbar .tb-r .mini { background: rgba(255, 255, 255, .14); padding: 4px 12px; border-radius: 20px; }
.xjwrap .topbar .tbu { display: inline-flex; align-items: center; gap: 14px; }

/* ------------------------------ 头部 ------------------------------ */
.xjwrap .hdrow { background: #fff; border-bottom: 1px solid var(--line); }
.xjwrap .hdmain { display: flex; align-items: center; gap: 26px; height: 96px; }
.xjwrap .logo { display: block; white-space: nowrap; flex-shrink: 0; }
.xjwrap .logo img { height: 56px; width: auto; max-width: 280px; object-fit: contain; }
.xjwrap .logo .brandtext { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.xjwrap .logo .brandtext em { color: var(--brand); }
.xjwrap .logo .brandtext small {
  display: block; font-size: 11px; font-weight: 500; color: #93a2b8;
  letter-spacing: 2px; margin-top: -2px;
}

.xjwrap .sbox {
  flex: 1; display: flex; height: 46px; border: 2px solid var(--brand);
  border-radius: 24px; overflow: hidden; background: #fff; max-width: 560px;
}
.xjwrap .sbox form { display: flex; align-items: center; flex: 1; min-width: 0; }
.xjwrap .sbox input {
  flex: 1; padding: 0 20px; font-size: 14px; color: var(--ink); min-width: 0;
  border: 0; outline: none; background: transparent; box-shadow: none; height: auto; line-height: normal; border-radius: 0;
}
.xjwrap .sbox input::placeholder { color: #a9b6c8; }
.xjwrap .sbox button {
  flex: none; width: 112px; height: 42px; line-height: 42px; padding: 0;
  background: var(--brand); color: #fff; font-size: 15px; border: 0;
  font-weight: 600; cursor: pointer; border-radius: 0 22px 22px 0;
}
.xjwrap .sbox button:hover { background: var(--brand-d); }

.xjwrap .hdcta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.xjwrap .hdcta .ghost {
  border: 1px solid var(--line); color: #5f708a; padding: 9px 16px;
  border-radius: 10px; font-size: 13.5px; transition: .15s;
}
.xjwrap .hdcta .ghost:hover { border-color: #c7d8f5; color: var(--brand); }
.xjwrap .hdcta .solid {
  background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(234, 88, 12, .28);
}
.xjwrap .hdcta .solid:hover { filter: brightness(1.06); }

/* ------------------------------ 主导航 ------------------------------ */
.xjwrap .nav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.xjwrap .nav .wrap { display: flex; align-items: center; height: 56px; gap: 2px; }
.xjwrap .nav a {
  padding: 0 19px; height: 56px; line-height: 56px; font-size: 15.5px;
  font-weight: 600; color: #33465e; position: relative; transition: .15s;
  white-space: nowrap;
}
.xjwrap .nav a:hover { color: var(--brand); }
.xjwrap .nav a.on { color: var(--brand); }
.xjwrap .nav a.on::after {
  content: ""; position: absolute; left: 19px; right: 19px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--brand);
}
.xjwrap .nav a.hot { color: #e11d48; margin-left: auto; font-size: 14px; }
.xjwrap .nav a.hot::before {
  content: "HOT"; font-size: 10px; background: #e11d48; color: #fff;
  padding: 1px 5px; border-radius: 4px; margin-right: 6px;
  vertical-align: 2px; letter-spacing: .5px;
}
/* 栏目过多时允许横向滚动，避免换行破坏版式 */
.xjwrap .nav .navscroll { display: flex; align-items: center; flex: 1; overflow-x: auto; scrollbar-width: none; }
.xjwrap .nav .navscroll::-webkit-scrollbar { display: none; }

/* ------------------------------ 首页 Hero ------------------------------ */
.xjwrap .hero { display: grid; grid-template-columns: 1fr 430px; gap: 22px; margin-top: 22px; }
.xjwrap .heroL {
  background: linear-gradient(135deg, #12294a, #1f4e9c 55%, #2563eb);
  border-radius: 20px; padding: 40px 42px; color: #fff; position: relative;
  overflow: hidden; box-shadow: 0 16px 40px rgba(37, 99, 235, .24);
}
.xjwrap .heroL::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -110px;
  top: -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%);
}
.xjwrap .heroL .tag {
  display: inline-block; font-size: 12px; letter-spacing: 1px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 13px; border-radius: 20px; margin-bottom: 18px;
}
.xjwrap .heroL h1 { font-size: 36px; line-height: 1.32; font-weight: 800; letter-spacing: -.5px; }
.xjwrap .heroL h1 em { color: #7dd3fc; }
.xjwrap .heroL p { margin-top: 14px; color: #c8d8f0; font-size: 14.5px; max-width: 430px; line-height: 1.75; }
.xjwrap .hsearch {
  display: flex; background: #fff; border-radius: 12px; overflow: hidden;
  margin-top: 24px; max-width: 440px; height: 48px;
}
.xjwrap .hsearch form { display: flex; align-items: center; flex: 1; min-width: 0; }
.xjwrap .hsearch input {
  flex: 1; padding: 0 18px; font-size: 14px; color: #0f2036; min-width: 0;
  border: 0; outline: none; background: transparent; box-shadow: none; height: auto; line-height: normal; border-radius: 0;
}
.xjwrap .hsearch input::placeholder { color: #8fa8c9; }
.xjwrap .hsearch button {
  flex: none; height: 48px; line-height: 48px; padding: 0 26px;
  background: #0f2036; color: #fff; font-weight: 600; cursor: pointer; font-size: 14px; border: 0;
}
.xjwrap .hsearch button:hover { background: #1b3357; }
.xjwrap .hstats { display: flex; gap: 34px; margin-top: 26px; position: relative; z-index: 2; }
.xjwrap .hstats > div > b { display: block; font-size: 24px; font-weight: 800; font-family: Georgia, "Times New Roman", serif; }
.xjwrap .hstats > div > span { font-size: 12.5px; color: #a9c2e6; }

.xjwrap .heroR {
  background: #fff; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column;
}
.xjwrap .heroR h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.xjwrap .heroR .sub { font-size: 12.5px; color: var(--ink2); margin-bottom: 14px; }
.xjwrap .platlist { display: flex; flex-direction: column; gap: 8px; }
.xjwrap .platlist a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--line); transition: .16s;
}
.xjwrap .platlist a:hover { border-color: #c7d8f5; background: #f7faff; transform: translateX(3px); }
.xjwrap .dot {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.xjwrap .platlist .nm { font-size: 14px; font-weight: 600; }
.xjwrap .platlist .ct { font-size: 11.5px; color: #93a2b8; }
.xjwrap .platlist .go { margin-left: auto; color: #c2cee0; font-size: 16px; }
.xjwrap .platlist .go::after { content: "\203A"; }
.xjwrap .platlist .empty { color: #93a2b8; font-size: 13px; padding: 8px 2px; }

/* ------------------------------ 区块标题 ------------------------------ */
.xjwrap .sec { margin-top: 34px; }
.xjwrap .sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.xjwrap .sec-hd h2 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.xjwrap .sec-hd h2::before {
  content: ""; display: inline-block; width: 4px; height: 18px; border-radius: 3px;
  background: var(--brand); margin-right: 10px; vertical-align: -2px;
}
.xjwrap .sec-hd .more { font-size: 13px; color: var(--ink2); }
.xjwrap .sec-hd .more:hover { color: var(--brand); }
.xjwrap .sec-hd .more::after { content: "\203A"; margin-left: 3px; }
.xjwrap .sec-hd p { font-size: 13px; color: var(--ink2); margin-top: 5px; }

/* ------------------------------ 平台专区卡 ------------------------------ */
.xjwrap .plats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.xjwrap .platcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; transition: .2s; position: relative; overflow: hidden;
}
.xjwrap .platcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 32, 54, .1); border-color: transparent; }
.xjwrap .platcard .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.xjwrap .platcard h4 { font-size: 15.5px; font-weight: 700; }
.xjwrap .platcard p { font-size: 12.5px; color: var(--ink2); margin-top: 5px; }
.xjwrap .platcard .num { margin-top: 12px; font-size: 12.5px; color: var(--brand); font-weight: 700; }
.xjwrap .platcard .num span { color: #a9b6c8; font-weight: 500; }

/* ------------------------------ 货源卡 ------------------------------ */
.xjwrap .goods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.xjwrap .gcard {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: .2s; display: flex; flex-direction: column;
}
.xjwrap .gcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 32, 54, .1); }
.xjwrap .gcard .thumb { height: 158px; border-radius: 0; }
.xjwrap .gcard .bd { padding: 13px 14px 15px; display: flex; flex-direction: column; flex: 1; }
.xjwrap .gcard h4 { font-size: 14.5px; font-weight: 600; line-height: 1.5; height: 44px; overflow: hidden; }
.xjwrap .gcard .meta { display: flex; justify-content: space-between; font-size: 12px; color: #93a2b8; margin-top: 8px; }
.xjwrap .gcard .meta span { max-width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xjwrap .gcard .bt {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
}

/* 缩略图通用（有图用图，无图用渐变底 + 角标） */
.xjwrap .thumb {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  padding: 10px 12px; font-size: 12px; color: #fff; font-weight: 700;
  letter-spacing: .6px; border-radius: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.xjwrap .thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .38), transparent 58%);
}
.xjwrap .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; text-shadow: none; }
.xjwrap .thumb .tl { position: relative; z-index: 2; }
.xjwrap .thumb.plain::after { display: none; }
.xjwrap .thumb.plain { background: #eef3fa; }

.xjwrap .price { color: #e11d48; font-size: 19px; font-weight: 800; font-family: Georgia, "Times New Roman", serif; }
.xjwrap .price i { font-size: 12px; font-weight: 600; }
.xjwrap .pill { font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: #ecfdf5; color: #059669; font-weight: 600; }
.xjwrap .pill.b { background: #eff6ff; color: #2563eb; }
.xjwrap .pill.o { background: #fff7ed; color: #ea580c; }
.xjwrap .pill.g { background: #f1f5f9; color: #64748b; }

/* 渐变色占位（$i 对应 g1..g10） */
.xjwrap .g1  { background: linear-gradient(135deg, #7dd3fc, #2563eb); }
.xjwrap .g2  { background: linear-gradient(135deg, #fda4af, #e11d48); }
.xjwrap .g3  { background: linear-gradient(135deg, #86efac, #059669); }
.xjwrap .g4  { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.xjwrap .g5  { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.xjwrap .g6  { background: linear-gradient(135deg, #fdba74, #ea580c); }
.xjwrap .g7  { background: linear-gradient(135deg, #5eead4, #0d9488); }
.xjwrap .g8  { background: linear-gradient(135deg, #93c5fd, #1e40af); }
.xjwrap .g9  { background: linear-gradient(135deg, #f9a8d4, #be185d); }
.xjwrap .g10 { background: linear-gradient(135deg, #a5b4fc, #4338ca); }
.xjwrap .g11 { background: linear-gradient(135deg, #fca5a5, #dc2626); }
.xjwrap .g12 { background: linear-gradient(135deg, #6ee7b7, #0f766e); }
.xjwrap .g13 { background: linear-gradient(135deg, #fdba74, #c2410c); }
.xjwrap .g14 { background: linear-gradient(135deg, #a7f3d0, #15803d); }
.xjwrap .g15 { background: linear-gradient(135deg, #d8b4fe, #9333ea); }
.xjwrap .g16 { background: linear-gradient(135deg, #bfdbfe, #1d4ed8); }

/* 首页货源精选：随机轮播 */
.xjwrap .goods.goodsclip { display: block; overflow: hidden; }
.xjwrap .gtrack { display: flex; gap: 18px; will-change: transform; }
.xjwrap .gtrack + .gtrack { margin-top: 18px; }
.xjwrap .gtrack .gcard { flex: 0 0 calc((100% - 54px) / 4); min-width: 0; }

/* ------------------------------ 首页课程区 ------------------------------ */
.xjwrap .courses { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.xjwrap .player { background: #0f2036; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.xjwrap .player .screen { height: auto; background: linear-gradient(135deg, #16305a, #0b1a30); position: relative; }
.xjwrap .player .screen > video { display: block; width: 100%; height: auto; background: #000; }
.xjwrap .player .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, .4), transparent 60%);
}
.xjwrap .player .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xjwrap .playbtn {
  width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .94);
  display: grid; place-items: center; position: relative; z-index: 2; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.xjwrap .playbtn::after {
  content: ""; border-left: 17px solid #2563eb;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px;
}
.xjwrap .player .info { padding: 16px 20px 18px; color: #fff; }
.xjwrap .player .info h4 { font-size: 16px; font-weight: 700; }
.xjwrap .player .info p { font-size: 12.5px; color: #9db4d6; margin-top: 6px; }

.xjwrap .clist { background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.xjwrap .clist ul { flex: 1; display: flex; flex-direction: column; }
.xjwrap .clist .ch {
  padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.xjwrap .clist .ch span { font-size: 12px; color: var(--ink2); font-weight: 500; }
.xjwrap .clist li {
  display: flex; gap: 12px; padding: 0 18px; flex: 1; min-height: 52px; border-bottom: 1px dashed #eef3fa;
  font-size: 13.5px; align-items: center; transition: .15s;
}
.xjwrap .clist li:last-child { border-bottom: none; }
.xjwrap .clist li:hover { background: #f8fbff; }
.xjwrap .clist li .no {
  width: 24px; height: 24px; border-radius: 8px; background: #f1f5fb; color: #8fa0b8;
  font-size: 12px; display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.xjwrap .clist li.on .no { background: var(--brand); color: #fff; }
.xjwrap .clist li .tt {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #29405c; font-weight: 500;
}
.xjwrap .clist li .tt:hover { color: var(--brand); }
.xjwrap .clist li .tm {
  flex-shrink: 0; color: #9fb0c6; font-size: 11.5px;
  background: #f4f8fd; padding: 3px 9px; border-radius: 999px;
}
.xjwrap .clist li:nth-child(1) .no { background: linear-gradient(135deg, #ff5b3a, #f43f2e); color: #fff; }
.xjwrap .clist li:nth-child(2) .no { background: linear-gradient(135deg, #ff9f2e, #f97316); color: #fff; }
.xjwrap .clist li:nth-child(3) .no { background: linear-gradient(135deg, #ffc53d, #f59e0b); color: #fff; }
.xjwrap .clist li.cempty { flex: none; min-height: 0; padding: 24px 18px; color: #a9b6c8; font-size: 13px; display: block; }
.xjwrap .clist .cmore {
  display: block; margin: 0 18px 18px; text-align: center; padding: 11px; font-size: 13px; font-weight: 600;
  color: var(--brand); background: #f2f7ff; border-radius: 10px; transition: .15s; flex-shrink: 0;
}
.xjwrap .clist .cmore:hover { background: var(--brand); color: #fff; }

/* 首页课程播放器：在线播放遮罩 */
.xjwrap .playmask {
  position: absolute; inset: 0; z-index: 3; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(8, 18, 34, .32); transition: opacity .25s;
}
.xjwrap .playmask i {
  font-style: normal; color: #fff; font-size: 12.5px; letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.xjwrap .playmask.off { opacity: 0; pointer-events: none; }
.xjwrap .playmask .playbtn { transition: transform .2s; }
.xjwrap .playmask:hover .playbtn { transform: scale(1.1); }

/* ------------------------------ 会员权益（方案A · 渐变徽章卡 v2） ------------------------------ */
.xjwrap .vipwrap {
  background: linear-gradient(135deg, #fff, #f7faff); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 28px;
}
.xjwrap .vipwrap .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.xjwrap .vipwrap .hd h2 { font-size: 22px; font-weight: 800; letter-spacing: .3px; }
.xjwrap .vipwrap .hd h2 .hl {
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.xjwrap .vipwrap .hd p { font-size: 13px; color: var(--ink2); margin-top: 6px; }
.xjwrap .vipwrap .hd .btn {
  background: var(--brand); color: #fff; padding: 11px 26px; border-radius: 22px;
  font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(37, 99, 235, .26); white-space: nowrap;
}
.xjwrap .vipwrap .hd .btn:hover { background: var(--brand-d); }
.xjwrap .vipgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.xjwrap .vipcard {
  position: relative; background: #fff; border: 1px solid #e8eef7; border-radius: 16px;
  padding: 22px 18px 18px; text-align: left; cursor: pointer; overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 32, 54, .05); transition: transform .22s, box-shadow .22s;
}
.xjwrap .vipcard:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(15, 32, 54, .13); }
.xjwrap .vipcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.xjwrap .vipcard .vii {
  width: 46px; height: 46px; border-radius: 13px; margin: 0 0 14px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 14px rgba(15, 32, 54, .16);
}
.xjwrap .vipcard h5 { font-size: 17px; font-weight: 700; }
.xjwrap .vipcard p { font-size: 12.5px; color: #64748b; margin-top: 6px; line-height: 1.7; min-height: 42px; }
.xjwrap .vipcard .go { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--brand); margin-top: 10px; }
.xjwrap .vipcard .go::after { content: ""; width: 14px; height: 2px; background: var(--brand); border-radius: 2px; transition: width .2s; }
.xjwrap .vipcard:hover .go::after { width: 22px; }

/* 6 个会员：前 5 个平台各一色，全站 VIP 深蓝金（占网格最后一格，与其他卡同尺寸） */
.xjwrap .vipcard.vp1::before { background: linear-gradient(90deg, #2563eb, #38bdf8); }
.xjwrap .vipcard.vp1 .vii { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.xjwrap .vipcard.vp2::before { background: linear-gradient(90deg, #f97316, #ef4444); }
.xjwrap .vipcard.vp2 .vii { background: linear-gradient(135deg, #f97316, #ef4444); }
.xjwrap .vipcard.vp3::before { background: linear-gradient(90deg, #ef4444, #ec4899); }
.xjwrap .vipcard.vp3 .vii { background: linear-gradient(135deg, #ef4444, #ec4899); }
.xjwrap .vipcard.vp4::before { background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.xjwrap .vipcard.vp4 .vii { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.xjwrap .vipcard.vp5::before { background: linear-gradient(90deg, #dc2626, #f87171); }
.xjwrap .vipcard.vp5 .vii { background: linear-gradient(135deg, #dc2626, #f87171); }
.xjwrap .vipcard.top { background: linear-gradient(160deg, #1e1b4b, #312e81 55%, #4338ca); border-color: #312e81; }
.xjwrap .vipcard.top::before { background: linear-gradient(90deg, #312e81, #7c3aed, #d97706); }
.xjwrap .vipcard.top h5 { color: #fde68a; font-size: 17px; }
.xjwrap .vipcard.top p { color: #c7d2fe; }
.xjwrap .vipcard.top .go { color: #fbbf24; }
.xjwrap .vipcard.top .go::after { background: #fbbf24; }
.xjwrap .vipcard.top .vii { background: linear-gradient(135deg, #f59e0b, #d97706); }
.xjwrap .vipcard.top .crown {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; color: #78350f;
  background: linear-gradient(120deg, #fde68a, #f59e0b); border-radius: 20px; padding: 3px 10px;
}

/* ------------------------------ 会员介绍弹窗 ------------------------------ */
.xjwrap .vmask2 { position: fixed; inset: 0; z-index: 99998; background: rgba(15, 32, 54, .55); display: none; }
.xjwrap .vmask2.show { display: block; }
.xjwrap .vmodal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 99999;
  width: 560px; max-width: 92vw; max-height: 88vh; overflow: auto; background: #fff;
  border-radius: 20px; box-shadow: 0 30px 80px rgba(15, 32, 54, .35); display: none; }
.xjwrap .vmodal.show { display: block; animation: vpop .22s ease-out; }
@keyframes vpop { from { transform: translate(-50%, -46%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.xjwrap .vmodal .vclose { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.xjwrap .vmodal .vband { height: 84px; display: flex; align-items: center; padding-left: 28px; position: relative; overflow: hidden; }
.xjwrap .vmodal .vband::after { content: ""; position: absolute; right: -30px; bottom: -34px; width: 150px; height: 150px;
  border-radius: 50%; background: rgba(255, 255, 255, .14); }
.xjwrap .vmodal .vband span { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .22);
  color: #fff; font-size: 22px; font-weight: 800; display: grid; place-items: center; }
.xjwrap .vmodal .vbody { padding: 22px 28px 26px; }
.xjwrap .vmodal .vbody h4 { font-size: 22px; font-weight: 800; color: var(--ink); }
.xjwrap .vmodal .vsub { font-size: 13px; color: #64748b; margin-top: 5px; }
.xjwrap .vmodal .vsec { margin-top: 18px; }
.xjwrap .vmodal .vsec > b { font-size: 13px; color: var(--ink); display: block; margin-bottom: 8px; }
.xjwrap .vmodal .vsec ul { list-style: none; }
.xjwrap .vmodal .vsec li { font-size: 13.5px; color: #334155; line-height: 1.65; padding: 5px 0 5px 24px; position: relative; }
.xjwrap .vmodal .vsec li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 14px; height: 14px; border-radius: 50%;
  background: #10b981 center/10px no-repeat url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.xjwrap .vmodal .vsec p { font-size: 13.5px; color: #334155; line-height: 1.7; background: #f1f5f9; border-radius: 10px; padding: 10px 14px; }
.xjwrap .vmodal .vacts { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.xjwrap .vmodal .vbuy { display: inline-block; background: linear-gradient(120deg, #2563eb, #0ea5e9); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 26px; padding: 12px 38px; box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
.xjwrap .vmodal .vbuy:hover { filter: brightness(1.08); }
.xjwrap .vmodal .vtip { font-size: 12px; color: #94a3b8; line-height: 1.5; }
.xjwrap .vmodal .vband.k-pdd { background: linear-gradient(120deg, #2563eb, #38bdf8); }
.xjwrap .vmodal .vband.k-tao { background: linear-gradient(120deg, #f97316, #ef4444); }
.xjwrap .vmodal .vband.k-xhs { background: linear-gradient(120deg, #ef4444, #ec4899); }
.xjwrap .vmodal .vband.k-xy { background: linear-gradient(120deg, #8b5cf6, #d946ef); }
.xjwrap .vmodal .vband.k-jd { background: linear-gradient(120deg, #dc2626, #f87171); }
.xjwrap .vmodal .vband.k-all { background: linear-gradient(120deg, #312e81, #7c3aed 60%, #d97706); }

/* ------------------------------ 页脚 ------------------------------ */
.xjwrap .ft { margin-top: 44px; background: #0f2036; color: #93a5bf; padding: 38px 0 26px; }
.xjwrap .ft .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.xjwrap .ft h5 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 700; }
.xjwrap .ft li { font-size: 13px; line-height: 2.1; }
.xjwrap .ft li a:hover { color: #fff; }
.xjwrap .ft .about p { font-size: 13px; line-height: 1.9; max-width: 330px; margin-top: 12px; }
.xjwrap .ft .logo2 { color: #fff; font-size: 21px; font-weight: 800; }
.xjwrap .ft .logo2 em { color: #60a5fa; }
.xjwrap .ft .logo2 img { max-height: 46px; width: auto; }
.xjwrap .ft .bot {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.xjwrap .ft .bot a:hover { color: #fff; }

/* 右侧悬浮（联系客服 / 公众号 / 返回顶部） */
.xjwrap .rightOp {
  position: fixed; right: 12px; bottom: 120px; z-index: 90;
  width: 52px; font-size: 12px; color: #fff;
}
.xjwrap .rightOp > div {
  position: relative; width: 52px; height: 52px; margin-bottom: 6px;
  background: #1b3357; border-radius: 12px; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 6px 16px rgba(15, 32, 54, .18);
}
.xjwrap .rightOp > div:hover { background: var(--brand); }
.xjwrap .rightOp .rightOpB { font-size: 12px; line-height: 1.25; text-align: center; padding: 0 4px; }
.xjwrap .rightOp .rightOpN {
  display: none; position: absolute; right: 60px; top: 0; width: 168px;
  background: #fff; color: #33465e; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; box-shadow: 0 10px 26px rgba(15, 32, 54, .14);
  font-size: 13px; text-align: center;
}
.xjwrap .rightOp > div:hover .rightOpN { display: block; }
.xjwrap .rightOp .rightOpN a { display: block; padding: 6px 0; }
.xjwrap .rightOp .rightOpN a:hover { color: var(--brand); }
.xjwrap .rightOp .rightOpN img { max-width: 120px; margin: 0 auto 6px; }
.xjwrap .rightOp .rightOpN .fontyh { display: block; margin-top: 8px; color: #93a2b8; font-weight: 400; }

/* ==========================================================================
   内页 · 公共
   ========================================================================== */

/* 面包屑 */
.xjwrap .crumb { font-size: 13px; color: var(--ink2); padding: 16px 0 0; line-height: 1.8; }
.xjwrap .crumb a { color: var(--ink2); }
.xjwrap .crumb a:hover { color: var(--brand); }

/* 栏目头图 */
.xjwrap .cathead {
  background: linear-gradient(135deg, #12294a, #1f4e9c); border-radius: 18px;
  padding: 26px 30px; color: #fff; margin-top: 14px; display: flex;
  align-items: center; justify-content: space-between; position: relative;
  overflow: hidden; gap: 20px; flex-wrap: wrap;
}
.xjwrap .cathead::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -70px;
  bottom: -140px; border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.xjwrap .cathead h1 { font-size: 25px; font-weight: 800; }
.xjwrap .cathead p { font-size: 13px; color: #b7cbe8; margin-top: 8px; max-width: 640px; }
.xjwrap .cathead .st { display: flex; gap: 26px; position: relative; z-index: 2; }
.xjwrap .cathead .st b { display: block; font-size: 20px; font-family: Georgia, "Times New Roman", serif; font-weight: 800; }
.xjwrap .cathead .st span { font-size: 12px; color: #a9c2e6; }

/* 两栏布局 */
.xjwrap .lay { display: grid; grid-template-columns: 220px 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.xjwrap .side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 0; position: sticky; top: 16px;
}
.xjwrap .side .sh { padding: 13px 18px; font-size: 13.5px; font-weight: 700; color: #33465e; border-bottom: 1px solid var(--line); }
.xjwrap .side li a { display: flex; justify-content: space-between; padding: 10px 18px; font-size: 13.5px; color: #54678a; transition: .15s; }
.xjwrap .side li a:hover { background: #f7faff; color: var(--brand); }
.xjwrap .side li.on a { background: #eff6ff; color: var(--brand); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
.xjwrap .side li a em { font-size: 11.5px; color: #a9b6c8; }
.xjwrap .side li a .nname { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 筛选区 */
.xjwrap .filter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; display: flex; flex-direction: column; gap: 11px;
}
.xjwrap .frow { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; }
.xjwrap .frow .lb { color: #93a2b8; width: 62px; flex-shrink: 0; line-height: 26px; }
.xjwrap .frow .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.xjwrap .frow .opts a {
  padding: 4px 13px; border-radius: 20px; border: 1px solid var(--line);
  color: #54678a; font-size: 12.5px; transition: .15s; line-height: 1.4;
}
.xjwrap .frow .opts a:hover { border-color: #c7d8f5; color: var(--brand); }
.xjwrap .frow .opts a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* 排序 / 统计条 */
.xjwrap .toolbar { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink2); flex-wrap: wrap; gap: 8px; }
.xjwrap .toolbar .sorts { display: flex; gap: 4px; flex-wrap: wrap; }
.xjwrap .toolbar .sorts a { padding: 6px 14px; border-radius: 9px; color: #54678a; }
.xjwrap .toolbar .sorts a:hover { color: var(--brand); }
.xjwrap .toolbar .sorts a.on { background: #fff; color: var(--brand); font-weight: 700; box-shadow: 0 2px 8px rgba(15, 32, 54, .07); }

/* 分页 */
.xjwrap .pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.xjwrap .pager li { display: inline-block; }
.xjwrap .pager li a {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 13.5px; color: #54678a; transition: .15s;
}
.xjwrap .pager li a:hover { border-color: #c7d8f5; color: var(--brand); }
.xjwrap .pager li.active a { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }

/* 空数据 */
.xjwrap .empty-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 64px 20px; text-align: center; color: #93a2b8; font-size: 14px; line-height: 2;
}
.xjwrap .empty-box b { display: block; font-size: 16px; color: #5f708a; margin-bottom: 6px; }

/* ==========================================================================
   货源详情页
   ========================================================================== */
.xjwrap .dtop {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; margin-top: 16px; display: grid;
  grid-template-columns: 430px 1fr; gap: 28px;
}
.xjwrap .gallery .big { height: 340px; border-radius: 14px; }
.xjwrap .gallery .big img { border-radius: 14px; }
.xjwrap .gallery .sml { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.xjwrap .gallery .sml > * {
  height: 62px; border-radius: 9px; border: 2px solid transparent;
  display: block; overflow: hidden; position: relative; background: #eef3fa; cursor: pointer;
}
.xjwrap .gallery .sml img { width: 100%; height: 100%; object-fit: cover; }
.xjwrap .gallery .sml > *.on { border-color: var(--brand); }

.xjwrap .dinfo h1 { font-size: 23px; font-weight: 800; line-height: 1.45; }
.xjwrap .dinfo .tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.xjwrap .dinfo .desc { font-size: 13.5px; color: var(--ink2); line-height: 1.9; margin-top: 12px; }

.xjwrap .pricebox {
  background: linear-gradient(135deg, #f7faff, #eef5ff); border: 1px solid #dbe7fa;
  border-radius: 14px; padding: 18px 20px; margin-top: 16px; overflow: hidden;
}
.xjwrap .pricebox .big { font-size: 34px; color: #e11d48; font-weight: 800; font-family: Georgia, "Times New Roman", serif; }
.xjwrap .pricebox .big i { font-size: 16px; }
.xjwrap .pricebox .old { font-size: 13px; color: #a9b6c8; text-decoration: line-through; margin-left: 10px; }
.xjwrap .pricebox .vip { float: right; font-size: 12.5px; color: #ea580c; background: #fff7ed; padding: 5px 12px; border-radius: 20px; font-weight: 600; }
.xjwrap .pricebox .note { font-size: 13px; color: #5f708a; margin-top: 10px; clear: both; }

.xjwrap .spec { margin-top: 18px; }
.xjwrap .spec .lb { font-size: 13px; color: #93a2b8; margin-bottom: 9px; }
.xjwrap .spec .opts { display: flex; gap: 9px; flex-wrap: wrap; }
.xjwrap .spec .opts a {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13.5px; color: #33465e; transition: .15s;
}
.xjwrap .spec .opts a:hover { border-color: #c7d8f5; }
.xjwrap .spec .opts a.on { border-color: var(--brand); background: #eff6ff; color: var(--brand); font-weight: 700; }

.xjwrap .acts { display: flex; gap: 12px; margin-top: 22px; }
.xjwrap .acts .dl {
  flex: 1; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff;
  height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 16px; font-weight: 700; box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
  cursor: pointer; transition: .15s;
}
.xjwrap .acts .dl:hover { filter: brightness(1.07); }
.xjwrap .acts .fav {
  width: 130px; height: 52px; border: 1px solid var(--line); border-radius: 13px;
  display: grid; place-items: center; font-size: 14px; color: #54678a; transition: .15s;
}
.xjwrap .acts .fav:hover { border-color: #c7d8f5; color: var(--brand); }
.xjwrap .assure { display: flex; gap: 18px; margin-top: 16px; font-size: 12.5px; color: var(--ink2); flex-wrap: wrap; }
.xjwrap .assure span::before { content: "\2713"; color: var(--accent); font-weight: 800; margin-right: 5px; }

.xjwrap .dbody { display: grid; grid-template-columns: 1fr 320px; gap: 18px; margin-top: 18px; align-items: start; }
.xjwrap .panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.xjwrap .ptabs { display: flex; border-bottom: 1px solid var(--line); padding: 0 8px; }
.xjwrap .ptabs a { padding: 15px 20px; font-size: 14.5px; font-weight: 600; color: #54678a; position: relative; }
.xjwrap .ptabs a.on { color: var(--brand); }
.xjwrap .ptabs a.on::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; }
.xjwrap .pcontent { padding: 22px; }
.xjwrap .pcontent.hasline { border-bottom: 1px solid var(--line); }
.xjwrap .pcontent p { font-size: 14px; color: #54678a; line-height: 2; }
.xjwrap .pcontent p + p { margin-top: 12px; }
.xjwrap .pcontent img { max-width: 100%; height: auto; margin: 10px auto; }
.xjwrap .descimg { height: 190px; border-radius: 12px; margin-bottom: 14px; }

/* 网盘信息条 */
.xjwrap .netdisk { margin-top: 18px; background: #f7faff; border: 1px dashed #c7d8f5; border-radius: 13px; padding: 16px 18px; }
.xjwrap .netdisk .r { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; gap: 12px; }
.xjwrap .netdisk .r span { color: #93a2b8; flex-shrink: 0; }
.xjwrap .netdisk .r b { color: #0f2036; font-family: Consolas, Menlo, monospace; word-break: break-all; text-align: right; }
.xjwrap .netdisk .r b.dim { color: #8fa0b8; font-weight: 400; font-size: 12.5px; font-family: inherit; }
.xjwrap .netdisk .warn { font-size: 12px; color: #ea580c; margin-top: 8px; }
.xjwrap .netdisk .dlbtn {
  display: block; margin-top: 12px; text-align: center; height: 44px; line-height: 44px;
  background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff;
  border-radius: 11px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.xjwrap .netdisk .dlbtn:hover { filter: brightness(1.06); }

/* 侧栏盒子 */
.xjwrap .asidebx { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.xjwrap .asidebx .hd { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.xjwrap .othermeta { font-size: 13px; color: #5f708a; line-height: 2.1; }
.xjwrap .othermeta b { color: #0f2036; }

/* 相关货源 */
.xjwrap .rel { display: flex; gap: 11px; padding: 9px 0; }
.xjwrap .rel .t { width: 76px; height: 60px; border-radius: 9px; flex-shrink: 0; }
.xjwrap .rel .t img { border-radius: 9px; }
.xjwrap .rel .tx { flex: 1; min-width: 0; }
.xjwrap .rel h5 { font-size: 13px; font-weight: 600; line-height: 1.5; height: 39px; overflow: hidden; }
.xjwrap .rel .p { color: #e11d48; font-size: 14px; font-weight: 800; font-family: Georgia, "Times New Roman", serif; margin-top: 3px; }

/* 上一篇 / 下一篇 */
.xjwrap .prenext { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.xjwrap .prenext a {
  flex: 1; min-width: 220px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 18px; font-size: 13.5px; color: #54678a; transition: .15s;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.xjwrap .prenext a:hover { border-color: #c7d8f5; color: var(--brand); }
.xjwrap .prenext a em { color: #a9b6c8; margin-right: 6px; }

/* 未登录/无权限 提示块（放在下载按钮下方） */
.xjwrap .lockbox {
  margin-top: 18px; background: #fff8f1; border: 1px solid #fde3c8;
  border-radius: 13px; padding: 16px 18px; font-size: 13.5px; color: #a35a12; line-height: 1.9;
}
.xjwrap .lockbox b { color: #e11d48; }
.xjwrap .lockbox .lockbtns { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.xjwrap .lockbox .lockbtns a {
  padding: 9px 22px; border-radius: 10px; font-weight: 700; font-size: 13.5px;
}
.xjwrap .lockbox .lockbtns a.primary { background: var(--brand); color: #fff; }
.xjwrap .lockbox .lockbtns a.primary:hover { background: var(--brand-d); }
.xjwrap .lockbox .lockbtns a.ghost { border: 1px solid #f0cfa8; color: #a35a12; }

/* 下载弹窗（沿用原有 .tbox 结构，重新配色） */
.xjwrap .tbox, body.xj .tbox {
  display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 460px; max-width: 92vw; background: #fff; border-radius: 18px; z-index: 9999;
  padding: 30px 28px 26px; box-shadow: 0 24px 60px rgba(15, 32, 54, .3); overflow: hidden;
}
body.xj .tbox .close {
  position: absolute; right: 14px; top: 10px; font-size: 24px; line-height: 1;
  color: #b6c2d4; cursor: pointer;
}
body.xj .tbox .close:hover { color: #e11d48; }
body.xj .tbox #logo { display: none; }
body.xj .tbox #tips { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
body.xj .tbox #tips .hline { flex: 1; height: 1px; background: var(--line); }
body.xj .tbox #tips .tiptext { font-size: 16px; font-weight: 800; color: #0f2036; white-space: nowrap; }
body.xj .tbox p { font-size: 13.5px; color: #5f708a; line-height: 1.9; margin-bottom: 8px; }
body.xj .tbox p font { color: #e11d48; font-weight: 700; }
body.xj .tbox .btn, body.xj .tbox a.btn {
  display: block; text-align: center; margin-top: 14px; height: 46px; line-height: 46px;
  border-radius: 12px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c); cursor: pointer;
}
body.xj .tbox .btn:hover { filter: brightness(1.06); }
body.xj .tbox .button-block { display: block; text-align: center; margin-top: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #fff; background: #2563eb; line-height: 1.5; }
body.xj .tbox .button-block:hover { background: #1d4ed8; }
body.xj #login_opacity_bg { display: none; position: fixed; inset: 0; background: rgba(8, 18, 34, .55); z-index: 9998; }

/* ==========================================================================
   课程学习页（视频模型）
   ========================================================================== */
.xjwrap .cwrap { display: grid; grid-template-columns: 1fr 350px; gap: 18px; margin-top: 16px; align-items: start; }
.xjwrap .cplayer { background: #0f2036; border-radius: 16px; overflow: hidden; }
.xjwrap .cplayer .screen {
  height: 430px; background: linear-gradient(135deg, #16305a, #0b1a30);
  display: grid; place-items: center; position: relative;
}
.xjwrap .cplayer .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 28% 18%, rgba(37, 99, 235, .42), transparent 62%);
}
.xjwrap .cplayer video, .xjwrap .cplayer img.vposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #08121f; }
.xjwrap .cplayer .screen.z > video { z-index: 3; }
.xjwrap .cplayer .bar {
  height: 46px; display: flex; align-items: center; gap: 16px; padding: 0 18px;
  color: #c8d8f0; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.xjwrap .cplayer .bar .tt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xjwrap .prog { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .2); position: relative; }
.xjwrap .prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #60a5fa; }

.xjwrap .cinfo { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-top: 14px; }
.xjwrap .cinfo h1 { font-size: 20px; font-weight: 800; }
.xjwrap .cinfo .m { display: flex; gap: 20px; font-size: 13px; color: var(--ink2); margin-top: 12px; flex-wrap: wrap; }
.xjwrap .cinfo .intro { font-size: 14px; color: #5f708a; line-height: 2; margin-top: 14px; }
.xjwrap .cinfo .intro img { max-width: 100%; }

.xjwrap .toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; position: sticky; top: 16px; }
.xjwrap .toc .th { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; }
.xjwrap .toc .th span { font-size: 12px; color: var(--ink2); font-weight: 500; }
.xjwrap .toc .ch { padding: 12px 18px; background: #f7faff; font-size: 12.5px; color: #54678a; font-weight: 700; letter-spacing: .4px; }
.xjwrap .toc .list { max-height: 520px; overflow-y: auto; }
.xjwrap .toc li { border-bottom: 1px solid #f4f7fb; }
.xjwrap .toc li a { display: flex; gap: 12px; align-items: center; padding: 12px 18px; font-size: 13.5px; color: #33465e; transition: .15s; }
.xjwrap .toc li a:hover { background: #f7faff; }
.xjwrap .toc li.on a { background: #eff6ff; color: var(--brand); font-weight: 700; }
.xjwrap .toc li .no { width: 22px; height: 22px; border-radius: 7px; background: #f1f5fb; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #8296b0; flex-shrink: 0; }
.xjwrap .toc li.on .no { background: var(--brand); color: #fff; }
.xjwrap .toc li .tt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xjwrap .toc li .tm { font-size: 12px; color: #a9b6c8; flex-shrink: 0; }
.xjwrap .toc li .free { font-size: 11px; color: #059669; background: #ecfdf5; border-radius: 6px; padding: 1px 6px; flex-shrink: 0; }

/* 视频播放权限遮罩（ID 由系统 JS 控制，勿改 id） */
.xjwrap .vplaymask {
  position: absolute; inset: 0; z-index: 4; display: none;
  background: rgba(8, 18, 34, .82); place-items: center; text-align: center; padding: 20px;
}
.xjwrap .vplaymask .msg { color: #fff; font-size: 15px; line-height: 1.9; max-width: 520px; }
.xjwrap .vplaymask .act {
  display: inline-block; margin-top: 16px; padding: 11px 30px; border-radius: 11px;
  background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
}
.xjwrap .cprice { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.xjwrap .cprice .pv { font-size: 26px; color: #e11d48; font-weight: 800; font-family: Georgia, "Times New Roman", serif; }
.xjwrap .cprice .bnow {
  padding: 11px 30px; border-radius: 11px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
}
.xjwrap .cprice .bnow:hover { filter: brightness(1.07); }
.xjwrap .cprice .bfree { padding: 11px 30px; border-radius: 11px; background: #ecfdf5; color: #059669; font-weight: 700; font-size: 14px; }

/* ==========================================================================
   文章 / 常见问题
   ========================================================================== */
.xjwrap .artlist { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.xjwrap .artitem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; gap: 18px; transition: .18s;
}
.xjwrap .artitem:hover { border-color: #c7d8f5; box-shadow: 0 10px 24px rgba(15, 32, 54, .07); }
.xjwrap .artitem .pic { width: 168px; height: 112px; border-radius: 11px; overflow: hidden; flex-shrink: 0; background: #eef3fa; }
.xjwrap .artitem .pic img { width: 100%; height: 100%; object-fit: cover; }
.xjwrap .artitem .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xjwrap .artitem h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.xjwrap .artitem h3 a:hover { color: var(--brand); }
.xjwrap .artitem .itx { font-size: 13px; color: #7c8ca5; line-height: 1.85; margin-top: 8px; flex: 1; }
.xjwrap .artitem .im { font-size: 12.5px; color: #a9b6c8; margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
.xjwrap .artitem .im .cat { color: var(--brand); }

.xjwrap .artbody { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 34px; }
.xjwrap .artbody h1 { font-size: 26px; font-weight: 800; line-height: 1.4; }
.xjwrap .artbody .am { display: flex; gap: 18px; font-size: 12.5px; color: #a9b6c8; margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.xjwrap .artbody .am a { color: var(--brand); }
.xjwrap .artbody .acontent { font-size: 15px; color: #40536e; line-height: 2.1; padding-top: 18px; word-break: break-word; }
.xjwrap .artbody .acontent p { margin-bottom: 14px; }
.xjwrap .artbody .acontent img { max-width: 100%; height: auto; margin: 12px auto; border-radius: 8px; }
.xjwrap .artbody .acontent h2, .xjwrap .artbody .acontent h3 { margin: 22px 0 12px; font-weight: 800; color: #0f2036; }
.xjwrap .artbody .acontent h2 { font-size: 20px; }
.xjwrap .artbody .acontent h3 { font-size: 17px; }
.xjwrap .artbody .acontent ul, .xjwrap .artbody .acontent ol { margin: 0 0 14px 22px; }
.xjwrap .artbody .acontent ul { list-style: disc; }
.xjwrap .artbody .acontent ol { list-style: decimal; }
.xjwrap .artbody .acontent li { margin-bottom: 6px; }
.xjwrap .artbody .acontent table { width: 100%; margin-bottom: 14px; }
.xjwrap .artbody .acontent th, .xjwrap .artbody .acontent td { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
.xjwrap .artbody .acontent blockquote {
  margin: 0 0 14px; padding: 12px 18px; background: #f7faff;
  border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; color: #54678a;
}
.xjwrap .artfoot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: #93a2b8; line-height: 2; }
.xjwrap .artfoot a { color: var(--brand); }
.xjwrap .arttags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: #93a2b8; }
.xjwrap .arttags a { padding: 3px 12px; border-radius: 20px; background: #f1f5fb; color: #54678a; font-size: 12.5px; }
.xjwrap .arttags a:hover { background: #eff6ff; color: var(--brand); }
.xjwrap .favbtn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 10px;
  border: 1px solid var(--line); color: #54678a; font-size: 13.5px; cursor: pointer;
}
.xjwrap .favbtn:hover { border-color: #fbcfe8; color: #e11d48; }

/* ==========================================================================
   搜索页
   ========================================================================== */
.xjwrap .searchhead {
  background: linear-gradient(135deg, #12294a, #1f4e9c); border-radius: 18px;
  padding: 26px 30px; color: #fff; margin-top: 14px;
}
.xjwrap .searchhead h1 { font-size: 22px; font-weight: 800; }
.xjwrap .searchhead h1 em { color: #7dd3fc; }
.xjwrap .searchhead p { font-size: 13px; color: #b7cbe8; margin-top: 8px; }

/* ==========================================================================
   内页栏目 banner（banner.htm）
   ========================================================================== */
.xjwrap .chbanner {
  background: linear-gradient(135deg, #12294a, #1f4e9c) center/cover no-repeat;
  border-radius: 0; padding: 34px 0; color: #fff; position: relative; overflow: hidden;
}
.xjwrap .chbanner::after { content: ""; position: absolute; inset: 0; background: rgba(10, 24, 46, .28); }
.xjwrap .chbanner .bi { position: relative; z-index: 2; text-align: center; }
.xjwrap .chbanner h3 { font-size: 26px; font-weight: 800; }
.xjwrap .chbanner p { font-size: 12.5px; color: rgba(255, 255, 255, .7); letter-spacing: 3px; margin-top: 6px; text-transform: uppercase; }

/* ==========================================================================
   自适应（轻量降级，保证小屏不破版；手机端完整版可另行开发）
   ========================================================================== */
@media (max-width: 1240px) {  .xjwrap .plats { grid-template-columns: repeat(3, 1fr); }
  .xjwrap .goods { grid-template-columns: repeat(3, 1fr); }
  .xjwrap .vipgrid { grid-template-columns: repeat(3, 1fr); }
  .xjwrap .hero { grid-template-columns: 1fr; }
  .xjwrap .lay, .xjwrap .dbody, .xjwrap .cwrap, .xjwrap .courses { grid-template-columns: 1fr; }
  .xjwrap .side, .xjwrap .toc { position: static; }
  .xjwrap .dtop { grid-template-columns: 1fr; }
  .xjwrap .ft .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .xjwrap .hdmain { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .xjwrap .sbox { order: 3; width: 100%; max-width: 100%; }
  .xjwrap .hdcta { margin-left: 0; }
  .xjwrap .nav .wrap { height: auto; flex-wrap: nowrap; }
  .xjwrap .nav a { height: 48px; line-height: 48px; font-size: 14.5px; padding: 0 13px; }
  .xjwrap .nav a.on::after { left: 13px; right: 13px; }
  .xjwrap .heroL { padding: 26px 22px; }
  .xjwrap .heroL h1 { font-size: 26px; }
  .xjwrap .plats, .xjwrap .goods, .xjwrap .vipgrid { grid-template-columns: repeat(2, 1fr); }
  .xjwrap .artitem { flex-direction: column; }
  .xjwrap .artitem .pic { width: 100%; height: 160px; }
  .xjwrap .artbody { padding: 20px 18px; }
  .xjwrap .artbody h1 { font-size: 21px; }
  .xjwrap .ft .cols { grid-template-columns: 1fr; gap: 18px; }
  .xjwrap .rightOp { display: none; }
  .xjwrap .cathead { padding: 20px; }
  .xjwrap .cathead h1 { font-size: 20px; }
  .xjwrap .cplayer .screen { height: 220px; }
  .xjwrap .prenext a { min-width: 100%; }
  .xjwrap .vipgrid { grid-template-columns: 1fr; }
  .xjwrap .vipwrap .hd { flex-direction: column; align-items: flex-start; gap: 14px; }
  .xjwrap .vmodal .vbody { padding: 18px 20px 22px; }
  .xjwrap .vmodal .vacts .vbuy { width: 100%; text-align: center; }
}

/* ==========================================================================
   补充：内页用到的零散样式
   ========================================================================== */

/* 卡片缩略图色板扩充（$mod 取模后为 0~9） */
.xjwrap .g0 { background: linear-gradient(135deg, #a8c6f8, #2563eb); }

/* 常用间距工具类 */
.xjwrap .mt14 { margin-top: 14px; }

/* 排序条里的数字强调 */
.xjwrap .toolbar b { color: var(--ink); font-weight: 800; }

/* 价格区的"免费 / 会员免费"大字 */
.xjwrap .pricebox .free {
  font-size: 30px; color: #059669; font-weight: 800;
  font-family: Georgia, "Times New Roman", serif; letter-spacing: -.5px;
}

/* 面板内小标题 */
.xjwrap .ptit {
  font-size: 16px; font-weight: 800; color: var(--ink);
  padding-left: 10px; border-left: 4px solid var(--brand); line-height: 1.3;
  margin-bottom: 14px;
}

/* 页面内提示条 */
.xjwrap .xjtip {
  font-size: 12.5px; color: #a35a12; background: #fff8f1;
  border: 1px solid #fde3c8; border-radius: 10px; padding: 10px 14px;
  margin-top: 12px; line-height: 1.8;
}

/* 详情侧栏数据行 */
.xjwrap .dataline { font-size: 13.5px; color: #5f708a; line-height: 2.15; }
.xjwrap .dataline b { color: var(--ink); }

/* 列表页右侧内容区（保证与左侧栏同列对齐） */
.xjwrap .lay > div { min-width: 0; }

/* 视频/课程列表卡片（课程模型暂用商品卡样式） */
.xjwrap .gcard .thumb .tm {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(8, 18, 34, .62); color: #fff; font-size: 11.5px;
  padding: 2px 8px; border-radius: 20px; font-weight: 600; letter-spacing: 0;
}

/* 文章列表页侧栏"最新发布"小列表 */
.xjwrap .asidebx .rel:last-child { padding-bottom: 0; }

/* ==========================================================================
   课程播放页 / 课程列表页 / 搜索页 专用补充
   --------------------------------------------------------------------------
   注意：下面这些类名有两类，不要随意改名——
   ① 我们自己模板里写死的类：cwrap / cplayer / cinfo / toc / cprice / cacts / vplayinner
   ② 易优系统 JS（view_arcrank.js、tag_videolist.js）动态注入或依赖的类与 id：
      video-period、video-free-now、video-buy-now、VideoButton13579、
      VideoDiv13579 / MsgTitle13579 / MsgOnclick13579 / BuyOnclick13579、
      VideoCur341922_*。改了会导致视频播放/购买按钮失效。
   ========================================================================== */

/* 播放器内权限遮罩：父层可能被系统 JS 改成 display:block，
   所以用绝对定位 + transform 居中，不依赖 flex/grid。 */
.xjwrap .vplaymask .vplayinner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: 560px; padding: 0 20px;
}
.xjwrap .vplaymask .msg { color: #fff; font-size: 15px; line-height: 1.9; }
.xjwrap .vplaymask .act { display: inline-block; margin-top: 16px; }

/* 播放器底栏标题 */
.xjwrap .cplayer .bar .tt { flex: 1; min-width: 0; color: #dce8fa; }

/* 价格 / 权限区 */
.xjwrap .cprice { align-items: center; }
.xjwrap .cprice .video-period { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.xjwrap .cprice .pv {
  font-size: 27px; color: #e11d48; font-weight: 800;
  font-family: Georgia, "Times New Roman", serif; letter-spacing: -.5px;
}
.xjwrap .cprice .pv i { font-size: 15px; font-weight: 600; }
.xjwrap .cprice .bfree {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: #ecfdf5; color: #059669; font-weight: 700; font-size: 14px;
}
.xjwrap .cprice .bnow {
  padding: 11px 30px; border-radius: 11px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
}
.xjwrap .cprice .bnow:hover { filter: brightness(1.07); }
.xjwrap .cprice .bghost {
  padding: 10px 26px; border-radius: 11px; border: 1px solid var(--line);
  color: #54678a; font-weight: 600; font-size: 14px;
}
.xjwrap .cprice .bghost:hover { border-color: var(--brand); color: var(--brand); }
.xjwrap .cprice .cacts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 系统 JS 回填的按钮（原模板里用的是 pintuer 按钮类，这里补一份主题样式） */
.xjwrap .cprice .video-free-now,
.xjwrap .cprice .button,
.xjwrap .cprice .video-buy-now {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 30px; border-radius: 11px; background: #ecfdf5; color: #059669;
  font-weight: 700; font-size: 14px; cursor: pointer; border: 0;
}
.xjwrap .cprice a.video-free-now,
.xjwrap .cprice .video-buy-now { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; }
.xjwrap .cprice .price {
  font-size: 27px; color: #e11d48; font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
}

/* 选集中"正在播放"的课时（系统 JS 给 li 加的 cur 类） */
.xjwrap .toc li.cur a { background: #eff6ff; color: var(--brand); font-weight: 700; }
.xjwrap .toc li.cur .no { background: var(--brand); color: #fff; }
.xjwrap .toc li:last-child { border-bottom: 0; }

/* 课程信息里的元信息与介绍 */
.xjwrap .cinfo .m span a { color: var(--brand); }
.xjwrap .cinfo .intro { word-break: break-word; }
.xjwrap .cinfo .intro h2, .xjwrap .cinfo .intro h3 { margin: 18px 0 10px; font-weight: 800; color: var(--ink); }
.xjwrap .cinfo .intro h2 { font-size: 19px; }
.xjwrap .cinfo .intro h3 { font-size: 16px; }
.xjwrap .cinfo .intro p { margin-bottom: 12px; }
.xjwrap .cinfo .intro ul, .xjwrap .cinfo .intro ol { margin: 0 0 12px 22px; }
.xjwrap .cinfo .intro ul { list-style: disc; }
.xjwrap .cinfo .intro ol { list-style: decimal; }
.xjwrap .cinfo .intro li { margin-bottom: 6px; }
.xjwrap .cinfo .intro table { width: 100%; margin-bottom: 12px; }
.xjwrap .cinfo .intro th, .xjwrap .cinfo .intro td { border: 1px solid var(--line); padding: 8px 12px; }

/* 搜索页侧栏：按平台找货 */
.xjwrap .hotwords { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; }
.xjwrap .hotwords a {
  padding: 6px 14px; border-radius: 20px; background: #f1f5fb;
  color: #54678a; font-size: 12.5px;
}
.xjwrap .hotwords a:hover { background: #eff6ff; color: var(--brand); }

/* 搜索页：结果列表与搜索头之间的间距 */
.xjwrap .searchhead + .lay, .xjwrap .searchhead ~ .lay { margin-top: 14px; }
.xjwrap .toolbar .sorts > span { font-size: 12.5px; color: #a9b6c8; }

