/* 云图素材中心 · 全站样式（原创实现）
   皮肤体系：默认亮色 / body.dark 暗色 / body.black 纯黑，Cookie 记忆 */

:root {
  --blue: #0a72ef;
  --blue-light: #31a8ff;
  --red: #e8332a;
  --price: #ff2f2f;
  --orange: #f60;
  --bg: #f4f5f7;
  --card: #fff;
  --text: #333;
  --text-2: #666;
  --text-3: #999;
  --line: #ececec;
  --chip-bg: #f3f3f3;
  --header-bg: #fff;
  --shadow: 0 10px 30px rgba(20, 40, 80, 0.10);
  --shadow-sm: 0 2px 10px rgba(20, 40, 80, 0.06);
}
body.dark {
  --bg: #26282c;
  --card: #353535;
  --text: #fefeff;
  --text-2: #adb7be;
  --text-3: #8a939b;
  --line: #45474d;
  --chip-bg: #2c2e33;
  --header-bg: #2c2e33;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
}
body.black {
  --bg: #050505;
  --card: #111214;
  --text: #e8eaed;
  --text-2: #a8b2ba;
  --text-3: #6f7a84;
  --line: #24262a;
  --chip-bg: #17181b;
  --header-bg: #0d0e10;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text);
  transition: background 0.25s, color 0.25s;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }
::placeholder { color: var(--text-3); }

.container { width: 1284px; max-width: calc(100% - 40px); margin: 0 auto; }

/* ================= 头部 ================= */
.headerOuter {
  position: relative; z-index: 50; width: 100%; height: 70px;
  background: var(--header-bg); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.header {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  width: 1284px; max-width: calc(100% - 40px); height: 70px; margin: 0 auto;
}
.header h2 { display: flex; align-items: baseline; gap: 10px; font-size: 26px; letter-spacing: 1px; }
.header h2 a b { color: var(--red); font-weight: 900; }
.header h2 a { color: var(--text); font-weight: 800; }
.sologen { font-size: 13px; color: var(--text-3); font-weight: 400; letter-spacing: 2px; }
.header dl { display: flex; align-items: center; gap: 4px; }
.header dl dd a {
  display: block; padding: 8px 14px; font-size: 15px; color: var(--text-2);
  border-radius: 6px; transition: color 0.2s, background 0.2s;
}
.header dl dd a:hover { color: var(--blue); }
.header dl dd a.selected { color: var(--blue); font-weight: 700; }

/* 皮肤切换 */
.skin { display: flex; align-items: center; gap: 7px; margin: 0 14px 0 18px; }
.skin span {
  width: 14px; height: 14px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--line); transition: transform 0.15s, border-color 0.15s;
}
.skin span:nth-child(1) { background: #fff; }
.skin span:nth-child(2) { background: #3a3d44; }
.skin span:nth-child(3) { background: #000; border-color: #3a3d44; }
.skin span.selected { border-color: var(--blue); transform: scale(1.18); }

/* 用户区 */
.userBox { position: relative; }
.headImg { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; cursor: pointer; background: var(--chip-bg); }
.headImg img { width: 100%; height: 100%; }
.userBox ul {
  display: none; position: absolute; right: 0; top: 46px; width: 168px;
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  padding: 8px 0; z-index: 60;
}
.userBox:hover ul, .userBox.open ul { display: block; }
.userBox ul li { list-style: none; }
.userBox ul .nickLine { padding: 8px 16px 6px; font-size: 14px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;}
.userBox ul .nickLine img { width: 26px; height: 26px; border-radius: 50%; }
.userBox ul a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 14px; color: var(--text-2); }
.userBox ul a:hover { background: var(--chip-bg); color: var(--blue); }

/* ================= 筛选栏 ================= */
.notice {
  display: flex; align-items: center; justify-content: space-between;
  width: 1284px; max-width: calc(100% - 40px); margin: 18px auto 0;
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow-sm);
  padding: 0 20px; height: 58px;
}
.typeTag { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.typeTag dt { font-size: 15px; font-weight: 700; color: var(--text); padding-right: 12px; }
.typeTag dd {
  padding: 6px 16px; font-size: 14px; color: var(--text-2); border-radius: 18px;
  cursor: pointer; transition: all 0.2s; user-select: none;
}
.typeTag dd:hover { color: var(--blue); }
.typeTag dd.selected { background: var(--blue-light); color: #fff; font-weight: 600; }
.dropWechat {
  display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2);
  cursor: pointer; position: relative; height: 100%;
}
.dropWechat svg { color: #3ddc84; }
.dropWechat .qrPop {
  display: none; position: absolute; right: 0; top: 52px; width: 220px;
  background: var(--card); border-radius: 12px; box-shadow: var(--shadow);
  padding: 16px; text-align: center; z-index: 55;
}
.dropWechat:hover .qrPop { display: block; }
.dropWechat .qrPop img { width: 168px; margin: 0 auto; }
.dropWechat .qrPop p { font-size: 13px; color: var(--text-3); margin-top: 8px; line-height: 1.5; }

/* ================= 商品卡片 ================= */
.mainPart { width: 1284px; max-width: calc(100% - 40px); margin: 20px auto 0; min-height: 800px; }
.cards { width: 1310px; max-width: 100%; margin-left: -13px; display: flex; flex-wrap: wrap; }
.card {
  position: relative; display: flex; flex-direction: column;
  width: 303px; height: 348px; margin: 0 12px 26px; padding: 8px 8px 0;
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow-sm);
  transition: all 0.2s; overflow: visible;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cardImg { width: 287px; height: 161px; border-radius: 8px; overflow: hidden; background: #333; }
.cardImg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .cardImg img { transform: scale(1.05); }
.card h3 {
  font-size: 19px; color: var(--text); font-weight: 700; padding: 13px 12px 8px;
  line-height: 1.35; height: 60px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .desc {
  color: var(--text-3); font-size: 13px; line-height: 1.4em; padding: 0 12px; height: 56px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .money {
  position: absolute; bottom: 14px; left: 20px; font-family: Arial, sans-serif;
  font-size: 12px; color: var(--price); display: flex; align-items: baseline;
}
.card .money b { font-size: 26px; font-weight: 800; margin: 0 1px; }
.card .buyed { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 6px; }
.card .buyed img { width: 24px; height: 24px; }
.card .tag {
  position: absolute; right: -1px; bottom: -1px; padding: 3px 10px;
  font-size: 12px; color: var(--text-3); border: 1px solid var(--line);
  border-radius: 10px 0 8px 0; background: var(--card); letter-spacing: 1px;
}

/* 卡片角标 */
.card .ribbon {
  position: absolute; top: -6px; left: -10px; z-index: 3; height: 34px; padding: 0 22px 0 14px;
  display: flex; align-items: center; font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 8px 50%);
  background: linear-gradient(120deg, #ff9d2b, #ff5f2b); box-shadow: 0 6px 16px rgba(255, 95, 43, 0.35);
}
.card .ribbon.owner { background: linear-gradient(120deg, #31a8ff, #0a5cef); box-shadow: 0 6px 16px rgba(10, 92, 239, 0.35); }
.card .ribbon.video { background: linear-gradient(120deg, #35c96f, #12a05a); box-shadow: 0 6px 16px rgba(18, 160, 90, 0.35); }
.card.purchased::after {
  content: '已购买'; position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(18, 160, 90, 0.92); color: #fff; font-size: 12px; padding: 4px 10px;
  border-radius: 6px; letter-spacing: 2px;
}

/* ================= 分页 ================= */
.pages { display: flex; align-items: center; justify-content: center; padding: 10px 0 26px; }
.pages a {
  display: flex; align-items: center; gap: 2px; padding: 10px 22px; margin: 0 5px;
  background: var(--blue); color: #fff; font-size: 15px; border-radius: 6px; transition: opacity 0.2s;
}
.pages a:hover { opacity: 0.85; }
.pages a.disabled { background: var(--text-3); pointer-events: none; opacity: 0.6; }
.pages .pageInfo { color: var(--text-3); font-size: 14px; margin: 0 8px; }

/* ================= 页脚 ================= */
.copyright { text-align: center; padding: 22px 0 26px; color: var(--text-3); font-size: 13px; }
.copyright a { color: var(--text-3); }
.copyright a:hover { color: var(--blue); }
.copyright .beian { margin: 0 10px; }

/* ================= 弹窗通用 ================= */
.modalMask {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 14, 22, 0.55); align-items: center; justify-content: center;
}
.modalMask.show { display: flex; }

/* 登录弹窗 */
.loginContainer { z-index: 110; }
.wechatLoginInner {
  position: relative; display: flex; align-items: center; gap: 30px;
  background: var(--card); border-radius: 16px; padding: 34px 44px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35); max-width: 92vw;
}
.wechatLoginInner .loginImg { flex-shrink: 0; }
.wechatLoginInner .loginImg img { width: 330px; }
.loginRight { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loginRight h4 { font-size: 18px; color: var(--text); letter-spacing: 2px; }
.loginRight .qrBox { width: 210px; height: 210px; background: #fff; border-radius: 12px; padding: 10px; border: 1px solid var(--line); }
.loginRight .qrBox img { width: 100%; height: 100%; }
.loginRight .qrStatus { font-size: 13px; color: var(--text-3); min-height: 20px; }
.loginRight .qrStatus.ok { color: #12a05a; font-weight: 700; }
.loginRight .simBtn {
  padding: 9px 22px; border: none; border-radius: 20px; background: #3ddc84; color: #06331c;
  font-size: 14px; font-weight: 700;
}
.loginRight .simBtn:hover { opacity: 0.9; }
.loginRight .simTip { font-size: 12px; color: var(--text-3); }
.closeBtn { position: absolute; top: -46px; right: -6px; width: 36px; height: 36px; cursor: pointer; }

/* 支付弹窗 */
.payBox {
  width: 420px; background: var(--card); border-radius: 16px; padding: 30px 34px 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35); position: relative; text-align: center;
}
.payBox h4 { font-size: 19px; margin-bottom: 6px; }
.payBox .payAmount { font-size: 15px; color: var(--text-2); margin-bottom: 18px; }
.payBox .payAmount b { color: var(--price); font-size: 32px; font-family: Arial; margin: 0 2px; }
.payBox .qrBox { width: 220px; height: 240px; margin: 0 auto; background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 10px; }
.payBox .qrBox img { width: 100%; height: 100%; }
.payBox .payStatus { margin-top: 14px; font-size: 14px; color: var(--text-3); min-height: 22px; }
.payBox .payStatus.ok { color: #12a05a; font-weight: 700; }
.payBox .payActions { display: flex; gap: 12px; margin-top: 16px; justify-content: center; }
.payBox .payActions button {
  padding: 10px 26px; border-radius: 8px; border: none; font-size: 15px; font-weight: 700;
}
.payBox .btnSimPay { background: #3ddc84; color: #06331c; }
.payBox .btnGhost { background: var(--chip-bg); color: var(--text-2); }
.payBox .btnBlue { background: var(--blue); color: #fff; }

/* Toast */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
  background: rgba(20, 24, 34, 0.92); color: #fff; font-size: 14px; padding: 11px 22px;
  border-radius: 8px; z-index: 200; opacity: 0; pointer-events: none; transition: all 0.25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 返回顶部 */
.topWebTop {
  position: fixed; right: 30px; bottom: 60px; width: 46px; height: 46px; z-index: 90;
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-2); font-size: 20px; transition: color 0.2s;
}
.topWebTop:hover { color: var(--blue); }
.topWebTop.show { display: flex; }

/* 空状态 */
.emptyBox { text-align: center; padding: 90px 0 60px; color: var(--text-3); }
.emptyBox .icon { font-size: 52px; margin-bottom: 14px; }

/* ================= 详情页 ================= */
.sucaiInner { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 30px; }
.displayImg {
  flex: 1; min-width: 0; background: var(--card); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 14px;
}
.displayImg .mainShot { width: 100%; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.displayImg .mainShot img { width: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img {
  width: 132px; height: 76px; object-fit: cover; border-radius: 6px; cursor: pointer;
  border: 2px solid transparent; opacity: 0.75; transition: all 0.2s;
}
.thumbs img.cur, .thumbs img:hover { border-color: var(--blue-light); opacity: 1; }

.sucaiSidePart { width: 400px; flex-shrink: 0; background: var(--card); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 26px 26px 30px; }
.sucaiSidePart h2 { font-size: 24px; line-height: 1.4; margin-bottom: 16px; }
.priceOuter { background: var(--chip-bg); border-radius: 10px; padding: 14px 16px 18px; display: flex; align-items: center; }
.priceOuter .priceLabel { font-size: 13px; color: var(--text-3); letter-spacing: 6px; padding-right: 14px; }
.priceOuter .price { color: var(--price); font-size: 13px; font-family: Arial; display: flex; align-items: baseline; }
.priceOuter .price b { font-size: 40px; font-weight: 800; margin: 0 1px; }
.priceOuter .vipTip { margin-left: auto; font-size: 12px; color: var(--orange); }

.sucaiDesc { font-size: 14px; line-height: 1.9em; color: var(--text-2); padding-top: 18px; word-break: break-all; }
.sucaiInfo { display: flex; border-bottom: 1px dashed var(--line); padding: 11px 2px; font-size: 14px; }
.sucaiInfo dt { width: 90px; color: var(--text-3); flex-shrink: 0; }
.sucaiInfo dd { color: var(--text); }
.sucaiInfo dd a.blueHref { color: var(--blue); }
.sucaiInfo dd a.blueHref:hover { text-decoration: underline; }

.blueBuy {
  display: block; width: 220px; margin: 22px auto 0; padding: 14px 0; border: none;
  border-radius: 8px; background: var(--blue-light); color: #fff; font-size: 20px;
  font-weight: 700; text-align: center; cursor: pointer; transition: all 0.2s;
}
.blueBuy:hover { background: var(--blue); box-shadow: 0 8px 20px rgba(49, 168, 255, 0.35); }
.blueBuy.purchasedBtn { background: #12a05a; }
.blueBuy.purchasedBtn:hover { background: #0e8a4d; box-shadow: 0 8px 20px rgba(18, 160, 90, 0.3); }
.sideActions { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
.sideActions button {
  padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line); background: transparent;
  color: var(--text-2); font-size: 13px; display: flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.sideActions button:hover { border-color: var(--blue-light); color: var(--blue); }
.sideActions button.faved { color: var(--orange); border-color: var(--orange); }

/* 评分组件 */
.userStars { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.userStars > p { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.starsRow { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }
.starsNum { font-size: 38px; font-family: Arial; color: var(--orange); font-weight: 800; }
.starIcons { display: flex; gap: 2px; }
.starIcons svg { width: 20px; height: 20px; }
.starIcons .on { color: var(--orange); fill: var(--orange); }
.starIcons .off { color: var(--line); fill: var(--line); }
.rateCount { font-size: 12px; color: var(--text-3); }
.starBars { display: flex; flex-direction: column; gap: 5px; }
.starBars dl { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.starBars .barChart { width: 150px; height: 8px; background: var(--chip-bg); border-radius: 4px; overflow: hidden; }
.starBars .barChart i { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
.myRateRow { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.myRateRow .starPick { display: flex; gap: 3px; }
.myRateRow .starPick svg { width: 22px; height: 22px; cursor: pointer; fill: var(--line); color: var(--line); transition: transform 0.12s; }
.myRateRow .starPick svg:hover { transform: scale(1.15); }
.myRateRow .starPick svg.on { fill: var(--orange); color: var(--orange); }

/* 更新日志时间线 */
.timeLine {
  width: 100%; background: #1f2023; color: #fefeff; border-radius: 12px;
  padding: 34px 30px 44px; display: flex; flex-direction: column; font-size: 15px;
  margin-top: 26px;
}
.timeLine h4 { font-size: 20px; letter-spacing: 6px; text-align: center; padding-bottom: 26px; font-weight: 800; }
.timeLinePartContainer { display: flex; flex-direction: row; justify-content: space-between; gap: 16px; }
.timeLinePart { width: 32.5%; position: relative; display: flex; flex-direction: column; }
.timeStep {
  width: 100%; min-height: 96px; border: 1px solid #4b4d5a; border-radius: 6px;
  display: flex; flex-direction: row; align-items: center; margin-bottom: 10px; position: relative;
  padding: 10px 0;
}
.updateTime { display: flex; flex-direction: column; width: 118px; padding-left: 22px; flex-shrink: 0; }
.updateTime b { font-size: 19px; font-weight: 900; padding-bottom: 5px; }
.updateTime i { font-size: 13px; font-weight: 700; font-style: normal; color: rgba(255,255,255,.85); }
.timeStep p { line-height: 1.7em; font-weight: 300; font-style: italic; padding: 0 16px 0 12px; color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.timeStep.lastOne { background: linear-gradient(120deg, #f1660b, #ea4726); border-color: #f55728; box-shadow: 0 10px 40px rgba(234, 71, 38, 0.4); }
.timeStep.lastOne p { color: #fff; }

/* 相关推荐 */
.itemLinks { background: var(--card); border-radius: 12px; margin-top: 26px; padding: 44px 0 40px; box-shadow: var(--shadow-sm); }
.itemTitle { font-size: 30px; color: var(--text); font-weight: 900; text-align: center; letter-spacing: 5px; }
.itemContent { font-size: 52px; color: var(--text); opacity: 0.06; font-weight: 900; text-align: center; letter-spacing: 5px; position: relative; top: -18px; pointer-events: none; }
.itemsContainer { display: flex; flex-wrap: wrap; justify-content: center; padding-bottom: 10px; }
.itemsContainer a {
  width: 315px; border: 1px solid var(--line); margin: 40px 14px 0; display: flex;
  flex-direction: column; position: relative; border-radius: 8px; overflow: visible;
  transition: border-color 0.2s;
}
.itemsContainer a:hover { border-color: #0060fd; }
.itemsContainer a img { width: 100%; height: 177px; border-radius: 8px 8px 0 0; object-fit: cover; }
.itemsContainer a span { color: var(--text-2); font-size: 12px; padding: 10px 10px; letter-spacing: 1px; border-radius: 0 0 8px 8px; transition: background 0.2s, color 0.2s; }
.itemsContainer a:hover span { background: #0060fd; color: #fff; }
.itemsContainer a .hoverMask {
  width: 100%; height: 0; background: rgba(0, 96, 253, 0.92); overflow: hidden; position: absolute;
  top: 0; font-size: 17px; color: #fff; display: flex; align-items: center; justify-content: center;
  line-height: 1.5em; padding: 0 20px; font-weight: 800; letter-spacing: 2px;
  border-radius: 8px 8px 0 0; transition: height 0.25s; text-align: center;
}
.itemsContainer a:hover .hoverMask { height: 177px; }
.itemsContainer a b { width: 110px; height: 110px; overflow: hidden; position: absolute; top: -8px; right: -8px; z-index: 2; pointer-events: none; }
.itemsContainer a b i {
  width: 130px; height: 34px; background: linear-gradient(120deg, #f90, #f60, #ea4726); color: #fff;
  position: absolute; display: flex; align-items: center; justify-content: center;
  transform: rotateZ(45deg); transform-origin: left; font-size: 17px; letter-spacing: 3px; font-weight: 900;
  font-style: italic; right: -50px; top: 26px; z-index: 2; box-shadow: 0 7px 20px rgba(255, 102, 0, 0.4);
}
.itemsContainer a b::before { content: ''; width: 10px; height: 10px; display: block; position: absolute; background: #912900; left: 26px; top: 4px; }
.itemsContainer a b::after { content: ''; width: 10px; height: 10px; display: block; position: absolute; background: #912900; right: 4px; top: 78px; }

/* 灯箱 */
.lightboxMask { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.88); display: none; align-items: center; justify-content: center; }
.lightboxMask.show { display: flex; }
.lightboxMask img { max-width: 86vw; max-height: 88vh; border-radius: 8px; }
.lightboxMask .lbNav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; border: none; font-size: 24px;
}
.lightboxMask .lbNav:hover { background: rgba(255, 255, 255, 0.25); }
.lightboxMask .lbPrev { left: 26px; }
.lightboxMask .lbNext { right: 26px; }
.lightboxMask .lbClose { position: absolute; top: 22px; right: 26px; width: 40px; height: 40px; }
.lightboxMask .lbCount { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; }

/* ================= 我的订单 ================= */
.accountWrap { width: 1284px; max-width: calc(100% - 40px); margin: 24px auto; }
.accountWrap h2 { font-size: 24px; padding: 8px 0 18px; }
.orderCard {
  display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 16px 22px; margin-bottom: 14px;
}
.orderCard img { width: 130px; height: 74px; border-radius: 8px; object-fit: cover; }
.orderCard .oInfo { flex: 1; min-width: 0; }
.orderCard .oInfo h4 { font-size: 16px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orderCard .oInfo p { font-size: 12px; color: var(--text-3); }
.orderCard .oMoney { font-family: Arial; color: var(--price); font-weight: 800; font-size: 20px; margin: 0 18px; white-space: nowrap; }
.orderCard .oStatus { width: 92px; text-align: center; font-size: 13px; }
.orderCard .oStatus .st-paid { color: #12a05a; font-weight: 700; }
.orderCard .oStatus .st-pending { color: var(--orange); font-weight: 700; }
.orderCard .oStatus .st-refunded, .orderCard .oStatus .st-cancelled { color: var(--text-3); }
.orderCard .oAction { width: 120px; display: flex; gap: 8px; justify-content: flex-end; }
.btnSmall {
  padding: 8px 16px; border-radius: 8px; border: none; font-size: 13px; font-weight: 700;
  background: var(--blue); color: #fff; white-space: nowrap;
}
.btnSmall.green { background: #12a05a; }
.btnSmall.ghost { background: var(--chip-bg); color: var(--text-2); }
.btnSmall.ghost:hover { color: var(--blue); }

/* ================= 后台管理 ================= */
.adminBody { background: #10141c; color: #dfe5ee; }
.adminShell { display: flex; min-height: 100vh; }
.adminSide {
  width: 216px; flex-shrink: 0; background: #161b26; padding: 20px 14px; display: flex; flex-direction: column;
}
.adminSide .logo { font-size: 19px; font-weight: 800; padding: 8px 12px 22px; color: #fff; }
.adminSide .logo b { color: #ff5f2b; }
.adminSide nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px;
  color: #93a0b4; font-size: 14px; margin-bottom: 4px; cursor: pointer; transition: all 0.15s;
}
.adminSide nav a:hover { background: #1d2432; color: #fff; }
.adminSide nav a.cur { background: var(--blue); color: #fff; font-weight: 700; }
.adminSide .foot { margin-top: auto; padding: 12px; font-size: 12px; color: #5b6676; }
.adminMain { flex: 1; padding: 24px 28px; min-width: 0; }
.adminTop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.adminTop h2 { font-size: 21px; }
.adminTop .who { font-size: 13px; color: #93a0b4; display: flex; align-items: center; gap: 12px; }
.statCards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 22px; }
.statCard { background: #161b26; border-radius: 12px; padding: 18px; }
.statCard .k { font-size: 12px; color: #77839a; margin-bottom: 8px; }
.statCard .v { font-size: 26px; font-weight: 800; font-family: Arial; color: #fff; }
.statCard .v small { font-size: 13px; color: #77839a; font-weight: 400; }
.adminPanel { background: #161b26; border-radius: 12px; padding: 20px; margin-bottom: 22px; }
.adminPanel h3 { font-size: 16px; margin-bottom: 14px; color: #fff; }
table.admTable { width: 100%; border-collapse: collapse; font-size: 13px; }
.admTable th { text-align: left; color: #77839a; font-weight: 500; padding: 9px 10px; border-bottom: 1px solid #232b3b; white-space: nowrap; }
.admTable td { padding: 10px; border-bottom: 1px solid #1c2331; color: #c9d2e0; vertical-align: middle; }
.admTable tr:hover td { background: #1a2130; }
.admTable .cover { width: 86px; height: 48px; object-fit: cover; border-radius: 6px; }
.admTable .money { color: #ff7a6b; font-family: Arial; font-weight: 700; }
.tagState { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.tagState.paid { background: rgba(18, 160, 90, 0.16); color: #35d68a; }
.tagState.pending { background: rgba(255, 176, 58, 0.15); color: #ffb03a; }
.tagState.refunded, .tagState.cancelled { background: rgba(148, 163, 184, 0.14); color: #94a3b8; }
.tagState.on { background: rgba(18, 160, 90, 0.16); color: #35d68a; }
.tagState.off { background: rgba(148, 163, 184, 0.14); color: #94a3b8; }
.admOps { display: flex; gap: 8px; flex-wrap: wrap; }
.admOps button, .btn {
  padding: 7px 14px; border-radius: 7px; border: 1px solid #2a3345; background: #1d2432;
  color: #c9d2e0; font-size: 12px; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.admOps button:hover, .btn:hover { border-color: var(--blue); color: #fff; }
.admOps button.danger:hover { border-color: #ff5f5f; color: #ff7a6b; }
.admOps button.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.adminFilter { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.adminFilter input, .adminFilter select, .admForm input, .admForm select, .admForm textarea {
  background: #10141c; border: 1px solid #2a3345; color: #dfe5ee; border-radius: 8px;
  padding: 9px 12px; font-size: 13px; outline: none; font-family: inherit;
}
.adminFilter input:focus, .admForm input:focus, .admForm select:focus, .admForm textarea:focus { border-color: var(--blue); }
.admForm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admForm label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #77839a; grid-column: span 1; }
.admForm label.full { grid-column: span 2; }
.admForm textarea { min-height: 90px; resize: vertical; }
.admForm .checkRow { flex-direction: row; align-items: center; gap: 8px; }
.admForm .checkRow input { width: 16px; height: 16px; }
.admForm .formFoot { grid-column: span 2; display: flex; gap: 10px; justify-content: flex-end; }
.admForm .formFoot button { padding: 10px 26px; border-radius: 8px; border: none; font-weight: 700; font-size: 14px; }
.admForm .formFoot .save { background: var(--blue); color: #fff; }
.admForm .formFoot .cancel { background: #1d2432; color: #93a0b4; }
.coverPick { display: flex; gap: 8px; flex-wrap: wrap; max-height: 120px; overflow: auto; padding: 4px; background: #10141c; border-radius: 8px; }
.coverPick img { width: 90px; height: 50px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.coverPick img.cur { border-color: var(--blue); }
.adminLoginBox {
  width: 380px; margin: 12vh auto; background: #161b26; border-radius: 16px; padding: 38px 36px;
}
.adminLoginBox h2 { text-align: center; font-size: 22px; margin-bottom: 6px; color: #fff; }
.adminLoginBox .sub { text-align: center; font-size: 13px; color: #77839a; margin-bottom: 26px; }
.adminLoginBox input { width: 100%; margin-bottom: 14px; }
.adminLoginBox .btnLogin { width: 100%; padding: 12px; border: none; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; }
.adminLoginBox .tip { margin-top: 14px; text-align: center; font-size: 12px; color: #5b6676; }
.dailyBars { display: flex; align-items: flex-end; gap: 14px; height: 120px; padding: 8px 4px 0; }
.dailyBars .d { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.dailyBars .d i { display: block; width: 26px; background: linear-gradient(180deg, #31a8ff, #0a5cef); border-radius: 5px 5px 0 0; min-height: 3px; }
.dailyBars .d span { font-size: 11px; color: #77839a; }
.dailyBars .d em { font-size: 10px; color: #4c586d; font-style: normal; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding-top: 14px; font-size: 12px; color: #77839a; }

/* ================= 响应式 ================= */
@media (max-width: 1360px) {
  .cards { margin-left: 0; gap: 0; justify-content: center; }
  .card { margin: 0 10px 20px; }
}
@media (max-width: 1024px) {
  .header dl dd a { padding: 8px 8px; font-size: 14px; }
  .sologen { display: none; }
  .sucaiInner { flex-direction: column; }
  .sucaiSidePart { width: 100%; }
  .statCards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .header { height: auto; flex-wrap: wrap; padding: 10px 0; }
  .headerOuter { height: auto; }
  .header dl { flex-wrap: wrap; }
  .skin { display: none; }
  .cards { width: 100%; }
  .card { width: calc(50% - 20px); height: auto; padding-bottom: 56px; }
  .cardImg { width: 100%; height: auto; aspect-ratio: 16/9; }
  .wechatLoginInner { flex-direction: column; padding: 24px; }
  .wechatLoginInner .loginImg img { width: 240px; }
  .statCards { grid-template-columns: repeat(2, 1fr); }
  .admForm { grid-template-columns: 1fr; }
  .admForm label.full, .admForm .formFoot { grid-column: span 1; }
  .adminShell { flex-direction: column; }
  .adminSide { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .adminSide nav { display: flex; flex-wrap: wrap; }
  .adminSide .foot { display: none; }
  .orderCard { flex-wrap: wrap; }
}
