/* 集梦影视 · 团购中心 */

.jm-gc { max-width: 1080px; margin: 0 auto; padding: 22px 16px 80px; }

.jm-gc-crumb { display: flex; align-items: center; gap: 8px; color: #6b7899; font-size: 12.5px; margin-bottom: 20px; }
.jm-gc-crumb a { color: #8b98b8 !important; text-decoration: none !important; }
.jm-gc-crumb a:hover { color: #34e0ff !important; }
.jm-gc-crumb b { color: #edf3ff; font-weight: 700; }
.jm-gc-crumb .sep { color: #3d4a68; }

/* ══════ 头部 ══════ */
.jm-gc-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,200,87,.16), rgba(255,128,200,.08) 55%, transparent), #101a31;
  border: 1px solid rgba(255,200,87,.35);
  border-radius: 18px; margin-bottom: 14px; flex-wrap: wrap;
}
.jm-gc-hero .left { display: flex; align-items: center; gap: 16px; }
.jm-gc-hero .ic { font-size: 38px; line-height: 1; }
.jm-gc-hero h1 { color: #edf3ff; font-size: 22px; font-weight: 900; margin: 0 0 5px; }
.jm-gc-hero p { color: #a8b8d4; font-size: 12.5px; margin: 0; }
.jm-gc-hero .stats { display: flex; gap: 22px; }
.jm-gc-hero .st { text-align: center; }
.jm-gc-hero .st b { display: block; font-size: 22px; font-weight: 900; line-height: 1.1; color: #34e0ff; }
.jm-gc-hero .st b.green { color: #4ade80; }
.jm-gc-hero .st b.amber { color: #ffc857; }
.jm-gc-hero .st span { color: #6b7899; font-size: 10.5px; }

/* Tab */
.jm-gc-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.jm-gc-tabs .tab {
  padding: 10px 22px; border-radius: 10px;
  background: #101a31; border: 1px solid #24314f;
  color: #8fa4c8 !important; font-size: 13px; font-weight: 800;
  text-decoration: none !important; transition: .15s;
}
.jm-gc-tabs .tab:hover { border-color: rgba(52,224,255,.5); color: #34e0ff !important; }
.jm-gc-tabs .tab.on {
  background: linear-gradient(135deg, rgba(255,200,87,.22), rgba(255,128,200,.1));
  border-color: #ffc857; color: #ffc857 !important;
}

/* 规则速览 */
.jm-gc-rules {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin-bottom: 18px;
}
.jm-gc-rules .r {
  padding: 14px 14px 13px;
  background: #101a31; border: 1px solid #24314f; border-radius: 12px;
  position: relative;
}
.jm-gc-rules .r .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(52,224,255,.16); color: #34e0ff;
  font-size: 11.5px; font-weight: 900; margin-bottom: 8px;
}
.jm-gc-rules .r b { display: block; color: #edf3ff; font-size: 12.5px; font-weight: 900; margin-bottom: 4px; }
.jm-gc-rules .r i { display: block; color: #6b7899; font-size: 10.5px; font-style: normal; line-height: 1.6; }

/* ══════ 当前期 ══════ */
.jm-gc-cur {
  background: #101a31;
  border: 1px solid rgba(255,200,87,.4);
  border-radius: 18px; overflow: hidden; margin-bottom: 18px;
  box-shadow: 0 0 0 1px rgba(255,200,87,.1), 0 12px 40px rgba(255,200,87,.12);
}

.jm-gc-cur .cur-hd {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 22px;
  background: linear-gradient(90deg, rgba(255,200,87,.16), rgba(255,128,200,.06) 60%, transparent);
  border-bottom: 1px solid rgba(255,200,87,.2);
}
.jm-gc-cur .cur-hd .phase {
  padding: 4px 14px; border-radius: 7px;
  background: rgba(255,200,87,.24); color: #ffc857;
  font-size: 13px; font-weight: 900;
}
.jm-gc-cur .cur-hd .stt { padding: 4px 12px; border-radius: 7px; font-size: 11.5px; font-weight: 900; }
.jm-gc-cur .cur-hd .stt.round1,
.jm-gc-cur .cur-hd .stt.extend { background: rgba(52,224,255,.18); color: #34e0ff; }
.jm-gc-cur .cur-hd .stt.met,
.jm-gc-cur .cur-hd .stt.met_ext { background: rgba(74,222,128,.2); color: #4ade80; }
.jm-gc-cur .cur-hd .stt.paying { background: rgba(255,200,87,.2); color: #ffc857; }
.jm-gc-cur .cur-hd .stt.pay_over,
.jm-gc-cur .cur-hd .stt.expired { background: rgba(255,90,90,.18); color: #ff7b7b; }
.jm-gc-cur .cur-hd .stt.done { background: rgba(74,222,128,.2); color: #4ade80; }
.jm-gc-cur .cur-hd .cnt { color: #a8b8d4; font-size: 12px; }
.jm-gc-cur .cur-hd .cd { margin-left: auto; color: #8fa4c8; font-size: 12px; }
.jm-gc-cur .cur-hd .cd b {
  color: #ff80c8; font-size: 15px; font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.jm-gc-cur .cur-body { padding: 24px 26px; }
.jm-gc-cur h2 { color: #edf3ff; font-size: 20px; font-weight: 900; margin: 0 0 6px; line-height: 1.4; }
.jm-gc-cur .sub { color: #8fa4c8; font-size: 13px; margin: 0 0 18px; }

/* 价格 */
.jm-gc-cur .price-box {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px;
  background: rgba(255,200,87,.05);
  border: 1px solid rgba(255,200,87,.25);
  border-radius: 13px; margin-bottom: 18px;
}
.jm-gc-cur .pb-item { display: flex; flex-direction: column; gap: 4px; }
.jm-gc-cur .pb-item .lb { color: #6b7899; font-size: 10.5px; }
.jm-gc-cur .pb-item .val { font-size: 20px; font-weight: 900; color: #c9d6f0; }
.jm-gc-cur .pb-item .val.old { color: #6b7899; text-decoration: line-through; font-size: 17px; }
.jm-gc-cur .pb-item.hl .val.new { color: #ffc857; text-shadow: 0 0 16px rgba(255,200,87,.5); font-size: 24px; }
.jm-gc-cur .pb-item .hint { color: #5d6b8c; font-size: 10px; }
.jm-gc-cur .pb-arrow { color: #3d4a68; font-size: 18px; }
.jm-gc-cur .pb-save {
  margin-left: auto; padding: 7px 18px; border-radius: 9px;
  background: linear-gradient(135deg, #ff5c5c, #ff80c8);
  color: #fff; font-size: 14px; font-weight: 900;
  box-shadow: 0 4px 18px rgba(255,92,92,.4);
}

/* 进度 */
.jm-gc-cur .prog { margin-bottom: 18px; }
.jm-gc-cur .prog-hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.jm-gc-cur .prog-hd span { color: #8fa4c8; font-size: 12.5px; }
.jm-gc-cur .prog-hd b { color: #34e0ff; font-size: 17px; font-weight: 900; }
.jm-gc-cur .prog-hd .need { color: #6b7899; font-size: 11.5px; }
.jm-gc-cur .prog-bar {
  height: 11px; border-radius: 999px;
  background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 8px;
}
.jm-gc-cur .prog-fill {
  height: 100%; border-radius: 999px; min-width: 4px;
  background-image: linear-gradient(90deg, #ff5c5c, #ffc857, #ff80c8, #a78bfa);
  box-shadow: 0 0 16px rgba(255,200,87,.6);
  transition: width .6s ease;
}
.jm-gc-cur .prog-ft { color: #8fa4c8; font-size: 12px; }
.jm-gc-cur .prog-ft b { color: #ffc857; font-size: 15px; font-weight: 900; }
.jm-gc-cur .prog-ft .ok { color: #4ade80; font-weight: 800; }
.jm-gc-cur .prog-tip {
  margin-top: 8px; padding: 8px 13px;
  background: rgba(52,224,255,.05);
  border-left: 3px solid #34e0ff; border-radius: 0 7px 7px 0;
  color: #8fa4c8; font-size: 11.5px;
}
.jm-gc-cur .prog-tip b { color: #34e0ff; font-weight: 900; }

/* 操作 */
.jm-gc-cur .acts { margin-bottom: 16px; }

.jm-gc-cur .btn-join {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 15px 42px; border: 0; border-radius: 12px;
  background-image: linear-gradient(135deg, #ffc857, #ff80c8);
  color: #2b1a00 !important; font-size: 16px; font-weight: 900;
  cursor: pointer; font-family: inherit; text-decoration: none !important;
  box-shadow: 0 6px 26px rgba(255,200,87,.5);
  transition: .15s;
}
.jm-gc-cur .btn-join:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(255,200,87,.7); }
.jm-gc-cur .btn-join em { font-style: normal; font-size: 11.5px; opacity: .8; }
.jm-gc-cur .join-tip { margin-top: 9px; color: #6b7899; font-size: 11.5px; line-height: 1.7; }

.jm-gc-cur .joined-box {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 15px 20px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.35);
  border-radius: 12px;
}
.jm-gc-cur .joined-box .ck { font-size: 22px; }
.jm-gc-cur .joined-box > div { flex: 1; min-width: 140px; }
.jm-gc-cur .joined-box b { display: block; color: #4ade80; font-size: 13.5px; font-weight: 900; margin-bottom: 3px; }
.jm-gc-cur .joined-box i { display: block; color: #7a9c88; font-size: 11.5px; font-style: normal; }
.jm-gc-cur .btn-quit {
  padding: 9px 20px; border-radius: 9px;
  background: rgba(255,90,90,.12); border: 1px solid rgba(255,90,90,.4);
  color: #ff7b7b; font-size: 12px; font-weight: 800;
  cursor: pointer; font-family: inherit; transition: .15s; white-space: nowrap;
}
.jm-gc-cur .btn-quit:hover { background: rgba(255,90,90,.24); color: #fff; }

.jm-gc-cur .done-box {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.35);
  border-radius: 12px;
}
.jm-gc-cur .done-box .ck { font-size: 22px; }
.jm-gc-cur .done-box b { display: block; color: #4ade80; font-size: 13.5px; font-weight: 900; margin-bottom: 3px; }
.jm-gc-cur .done-box i { display: block; color: #7a9c88; font-size: 11.5px; font-style: normal; }

.jm-gc-cur .pay-box {
  padding: 16px 20px;
  background: rgba(255,200,87,.1);
  border: 1px solid rgba(255,200,87,.4);
  border-radius: 12px;
}
.jm-gc-cur .pb-hd { margin-bottom: 12px; }
.jm-gc-cur .pb-hd b { display: block; color: #ffc857; font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.jm-gc-cur .pb-hd b em {
  font-style: normal; color: #ff5c5c; font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.jm-gc-cur .pb-hd i { display: block; color: #a8925a; font-size: 11.5px; font-style: normal; }
.jm-gc-cur .btn-pay {
  padding: 13px 34px; border: 0; border-radius: 10px;
  background-image: linear-gradient(135deg, #4ade80, #34e0ff);
  color: #052e16; font-size: 14.5px; font-weight: 900;
  cursor: pointer; font-family: inherit; transition: .15s;
  box-shadow: 0 5px 20px rgba(74,222,128,.4);
}
.jm-gc-cur .btn-pay:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(74,222,128,.6); }
.jm-gc-cur .btn-pay em { font-style: normal; }

/* 赠品 */
.jm-gc-cur .gift-box {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 18px; margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(167,139,250,.14), transparent);
  border: 1px solid rgba(167,139,250,.35);
  border-radius: 12px;
}
.jm-gc-cur .gift-box .ic { font-size: 24px; }
.jm-gc-cur .gift-box b { display: block; color: #c4b5fd; font-size: 13px; font-weight: 900; margin-bottom: 3px; }
.jm-gc-cur .gift-box i { display: block; color: #8b7fc4; font-size: 11px; font-style: normal; }

.jm-gc-cur .note {
  padding: 13px 18px;
  background: rgba(52,224,255,.04);
  border-left: 3px solid #34e0ff;
  border-radius: 0 9px 9px 0;
  color: #a8b8d4; font-size: 12.5px; line-height: 1.8;
}

/* 本期写真 */
.jm-gc-items { padding: 0 26px 26px; }
.jm-gc-items .items-hd {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 0 14px;
  border-top: 1px solid rgba(36,49,79,.7);
  margin-bottom: 4px; flex-wrap: wrap;
}
.jm-gc-items .items-hd b { color: #edf3ff; font-size: 14px; font-weight: 900; }
.jm-gc-items .items-hd span { color: #6b7899; font-size: 11.5px; }

.jm-gc-items .items-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px;
}
.jm-gc-items .it {
  background: #0b1222; border: 1px solid #24314f; border-radius: 11px;
  overflow: hidden; transition: .15s;
}
.jm-gc-items .it:hover {
  border-color: rgba(255,200,87,.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,200,87,.2);
}
.jm-gc-items .it .cov {
  position: relative; aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #1b2a4a, #101a30);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.jm-gc-items .it .cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jm-gc-items .it .cov .noimg { font-size: 26px; opacity: .3; }
.jm-gc-items .it .bd { padding: 9px 10px 11px; }
.jm-gc-items .it .bd b {
  display: block; color: #e0e8f5; font-size: 11.5px; font-weight: 800; line-height: 1.45;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 3px;
}
.jm-gc-items .it .bd .sub {
  display: block; color: #5d6b8c; font-size: 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ══════ 空状态 ══════ */
.jm-gc-empty {
  padding: 60px 20px; text-align: center;
  background: #101a31; border: 1px dashed rgba(255,200,87,.35);
  border-radius: 18px; margin-bottom: 18px;
}
.jm-gc-empty .ic { display: block; font-size: 46px; margin-bottom: 14px; opacity: .45; }
.jm-gc-empty b { display: block; color: #edf3ff; font-size: 16px; font-weight: 900; margin-bottom: 7px; }
.jm-gc-empty i { display: block; color: #6b7899; font-size: 12.5px; font-style: normal; }

/* ══════ 邀请 ══════ */
.jm-gc-invite {
  background: #101a31; border: 1px solid rgba(167,139,250,.35);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 18px;
}
.jm-gc-invite .iv-hd { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.jm-gc-invite .iv-hd .ic { font-size: 26px; }
.jm-gc-invite .iv-hd b { display: block; color: #c4b5fd; font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.jm-gc-invite .iv-hd i { display: block; color: #8b7fc4; font-size: 11.5px; font-style: normal; }

.jm-gc-invite .iv-tiers { display: flex; gap: 11px; margin-bottom: 16px; flex-wrap: wrap; }
.jm-gc-invite .tier {
  flex: 1; min-width: 110px;
  padding: 13px 12px; text-align: center;
  background: rgba(167,139,250,.08);
  border: 1px solid rgba(167,139,250,.25);
  border-radius: 11px;
}
.jm-gc-invite .tier b { display: block; color: #a78bfa; font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.jm-gc-invite .tier span { color: #8b7fc4; font-size: 10.5px; }

.jm-gc-invite .iv-link { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.jm-gc-invite .iv-link .lb { color: #8fa4c8; font-size: 11.5px; white-space: nowrap; }
.jm-gc-invite .iv-inp {
  flex: 1; min-width: 180px;
  padding: 10px 14px; background: #0b1222;
  border: 1px solid #24314f; border-radius: 9px;
  color: #c9d6f0; font-size: 12px; font-family: Consolas, Monaco, monospace;
  box-sizing: border-box;
}
.jm-gc-invite .iv-inp:focus { outline: none; border-color: #a78bfa; }
.jm-gc-invite .iv-copy {
  padding: 10px 22px; border-radius: 9px;
  background: rgba(167,139,250,.22); border: 1px solid rgba(167,139,250,.5);
  color: #c4b5fd; font-size: 12.5px; font-weight: 800;
  cursor: pointer; font-family: inherit; transition: .15s; white-space: nowrap;
}
.jm-gc-invite .iv-copy:hover { background: rgba(167,139,250,.38); color: #fff; }

.jm-gc-invite .iv-stat {
  margin-top: 14px; padding: 11px 16px;
  background: rgba(255,200,87,.06);
  border: 1px solid rgba(255,200,87,.25);
  border-radius: 9px;
  color: #a8925a; font-size: 12px;
}
.jm-gc-invite .iv-stat b { color: #ffc857; font-weight: 900; font-size: 14px; }
.jm-gc-invite .iv-stat b.amber { color: #ffc857; }

/* ══════ 往期 ══════ */
.jm-gc-past { margin-bottom: 18px; }
.jm-gc-past h3 { color: #edf3ff; font-size: 15px; font-weight: 900; margin: 0 0 14px; }
.jm-gc-past .list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.jm-gc-past .item {
  display: flex; gap: 11px; padding: 11px;
  background: #101a31; border: 1px solid #24314f; border-radius: 12px;
}
.jm-gc-past .item .cov {
  width: 56px; height: 74px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #1b2a4a, #101a30);
  display: flex; align-items: center; justify-content: center;
}
.jm-gc-past .item .cov img { width: 100%; height: 100%; object-fit: cover; }
.jm-gc-past .item .cov .noimg { font-size: 20px; opacity: .3; }
.jm-gc-past .item .bd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jm-gc-past .item .ph { color: #ffc857; font-size: 10px; font-weight: 900; }
.jm-gc-past .item .bd b {
  color: #e0e8f5; font-size: 12px; font-weight: 800; line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.jm-gc-past .item .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 10px; color: #5d6b8c; }
.jm-gc-past .item .meta .ok { color: #4ade80; font-style: normal; }
.jm-gc-past .item .meta .no { color: #ff7b7b; font-style: normal; }
.jm-gc-past .item .meta .ing { color: #ffc857; font-style: normal; }

/* ══════ 规则 ══════ */
.jm-gc-note {
  padding: 20px 24px;
  background: rgba(52,224,255,.03);
  border: 1px dashed rgba(52,224,255,.22);
  border-radius: 14px;
}
.jm-gc-note h3 { color: #34e0ff; font-size: 13px; font-weight: 900; margin: 0 0 12px; }
.jm-gc-note ol { margin: 0; padding-left: 20px; }
.jm-gc-note li { color: #8fa4c8; font-size: 12px; line-height: 2.1; }
.jm-gc-note li b { color: #ffc857; font-weight: 900; }

/* ══════ 移动端 ══════ */
@media (max-width: 900px) {
  .jm-gc { padding: 16px 12px 60px; }
  .jm-gc-hero { padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; }
  .jm-gc-hero .left { gap: 12px; }
  .jm-gc-hero .ic { font-size: 30px; }
  .jm-gc-hero h1 { font-size: 18px; }
  .jm-gc-hero p { font-size: 11.5px; }
  .jm-gc-hero .stats { justify-content: space-around; }

  .jm-gc-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .jm-gc-cur .cur-body { padding: 18px; }
  .jm-gc-cur h2 { font-size: 17px; }
  .jm-gc-cur .price-box { gap: 10px; padding: 14px 16px; }
  .jm-gc-cur .pb-item .val { font-size: 17px; }
  .jm-gc-cur .pb-item.hl .val.new { font-size: 20px; }
  .jm-gc-cur .pb-save { margin-left: 0; }
  .jm-gc-cur .btn-join { width: 100%; padding: 14px; }
  .jm-gc-cur .pay-box { padding: 14px; }
  .jm-gc-cur .btn-pay { width: 100%; }

  .jm-gc-items { padding: 0 18px 18px; }
  .jm-gc-items .items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .jm-gc-items .it .bd { padding: 7px 8px 9px; }
  .jm-gc-items .it .bd b { font-size: 10.5px; }

  .jm-gc-invite { padding: 18px; }
  .jm-gc-invite .iv-link { flex-direction: column; align-items: stretch; }
  .jm-gc-invite .iv-copy { width: 100%; }

  .jm-gc-past .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .jm-gc-items .items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jm-gc-past .list { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   ★ 团购中心 v2：交付链接 / 我的下载
   ══════════════════════════════════════════════════════════════ */

/* 成团后交付区块 */
.jm-gc-cur .deliver-box {
  margin-bottom: 16px;
  background: rgba(74,222,128,.07);
  border: 2px solid rgba(74,222,128,.45);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(74,222,128,.15), 0 8px 30px rgba(74,222,128,.14);
}
.jm-gc-cur .deliver-box .db-hd {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(74,222,128,.18), transparent);
  border-bottom: 1px solid rgba(74,222,128,.25);
}
.jm-gc-cur .deliver-box .db-hd .ic { font-size: 26px; }
.jm-gc-cur .deliver-box .db-hd b {
  display: block;
  color: #4ade80;
  font-size: 14.5px;
  font-weight: 900;
  margin-bottom: 3px;
}
.jm-gc-cur .deliver-box .db-hd i {
  display: block;
  color: #7a9c88;
  font-size: 11.5px;
  font-style: normal;
}

.jm-gc-cur .deliver-box .db-body { padding: 16px 20px; }
.jm-gc-cur .deliver-box .db-item { margin-bottom: 14px; }
.jm-gc-cur .deliver-box .db-item:last-child { margin-bottom: 0; }
.jm-gc-cur .deliver-box .db-item .lb {
  display: block;
  color: #8fa4c8;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.jm-gc-cur .deliver-box .db-item .val {
  padding: 11px 15px;
  background: #0b1222;
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 9px;
  color: #7ddc9c;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.85;
  word-break: break-all;
}
.jm-gc-cur .deliver-box .db-item.gift .val {
  border-color: rgba(167,139,250,.35);
  color: #c4b5fd;
}
.jm-gc-cur .deliver-box .code {
  margin-top: 7px;
  color: #8fa4c8;
  font-size: 12px;
}
.jm-gc-cur .deliver-box .code b {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(255,200,87,.2);
  color: #ffc857;
  font-size: 13px;
  font-weight: 900;
  font-family: Consolas, Monaco, monospace;
  letter-spacing: 1px;
}
.jm-gc-cur .deliver-box .db-note {
  margin-top: 13px;
  padding: 10px 14px;
  background: rgba(52,224,255,.06);
  border-left: 3px solid #34e0ff;
  border-radius: 0 7px 7px 0;
  color: #a8b8d4;
  font-size: 11.5px;
  line-height: 1.75;
}

/* 我的下载链接 */
.jm-gc-mydone {
  margin-bottom: 18px;
  padding: 20px 22px;
  background: rgba(74,222,128,.04);
  border: 1px solid rgba(74,222,128,.28);
  border-radius: 15px;
}
.jm-gc-mydone h3 {
  color: #4ade80;
  font-size: 14.5px;
  font-weight: 900;
  margin: 0 0 15px;
}
.jm-gc-mydone .md-list { display: flex; flex-direction: column; gap: 11px; }
.jm-gc-mydone .md {
  padding: 14px 17px;
  background: #0b1222;
  border: 1px solid #24314f;
  border-radius: 11px;
}
.jm-gc-mydone .md.has { border-color: rgba(74,222,128,.4); }

.jm-gc-mydone .md-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.jm-gc-mydone .md-hd .ph {
  padding: 3px 11px;
  border-radius: 6px;
  background: rgba(255,200,87,.18);
  color: #ffc857;
  font-size: 10.5px;
  font-weight: 900;
}
.jm-gc-mydone .md-hd b {
  flex: 1;
  min-width: 120px;
  color: #edf3ff;
  font-size: 13px;
  font-weight: 800;
}
.jm-gc-mydone .md-hd .price {
  color: #8fa4c8;
  font-size: 11px;
}

.jm-gc-mydone .md-body { display: flex; flex-direction: column; gap: 9px; }
.jm-gc-mydone .md-body .row {
  padding: 10px 14px;
  background: rgba(74,222,128,.06);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.8;
  word-break: break-all;
}
.jm-gc-mydone .md-body .row.gift {
  background: rgba(167,139,250,.06);
  border-color: rgba(167,139,250,.3);
}
.jm-gc-mydone .md-body .row .lb {
  display: block;
  color: #8fa4c8;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}
.jm-gc-mydone .md-body .row code {
  color: #7ddc9c;
  font-family: Consolas, Monaco, monospace;
  font-size: 11.5px;
  background: none;
  padding: 0;
}
.jm-gc-mydone .md-body .row.gift code { color: #c4b5fd; }
.jm-gc-mydone .md-body .row .cd {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 5px;
  background: rgba(255,200,87,.2);
  color: #ffc857;
  font-size: 11px;
  font-weight: 800;
  font-family: Consolas, Monaco, monospace;
}

.jm-gc-mydone .md-wait {
  padding: 11px 15px;
  background: rgba(255,200,87,.07);
  border: 1px dashed rgba(255,200,87,.3);
  border-radius: 8px;
  color: #a8925a;
  font-size: 11.5px;
}

/* 参团提示加粗 */
.jm-gc-cur .join-tip b {
  color: #ff7b7b;
  font-weight: 900;
}

/* 移动端 */
@media (max-width: 900px) {
  .jm-gc-cur .deliver-box .db-body { padding: 14px; }
  .jm-gc-cur .deliver-box .db-hd { padding: 13px 15px; }
  .jm-gc-mydone { padding: 16px; }
  .jm-gc-mydone .md-hd b { width: 100%; }
}


/* ══════════════════════════════════════════════════════════════
   ★ bal-tip 余额提示样式（之前缺失）
   ══════════════════════════════════════════════════════════════ */
.jm-gc-cur .bal-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 10px 18px;
  background: rgba(255,200,87,.1);
  border: 1px solid rgba(255,200,87,.35);
  border-radius: 10px;
  color: #c9a85a;
  font-size: 12.5px;
  font-weight: 700;
}
.jm-gc-cur .bal-tip b {
  color: #ffc857;
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(255,200,87,.4);
}

/* 余额不足警示 */
.jm-gc-cur .bal-tip.low {
  background: rgba(255,90,90,.1);
  border-color: rgba(255,90,90,.4);
  color: #c98a8a;
}
.jm-gc-cur .bal-tip.low b { color: #ff7b7b; }

/* 移动端 */
@media (max-width: 900px) {
  .jm-gc-cur .bal-tip {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}


/* ══════════════════════════════════════════════════════════════
   ★ 余额卡片 v2（独立排版 + 不足提示 + 去充值）
   ══════════════════════════════════════════════════════════════ */
.jm-gc-cur .join-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.jm-gc-cur .join-row .btn-join {
  flex: 0 0 auto;
}

.jm-gc-cur .bal-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(255,200,87,.1), rgba(255,200,87,.03));
  border: 1px solid rgba(255,200,87,.32);
  border-radius: 12px;
  min-width: 160px;
}
.jm-gc-cur .bal-card .bl {
  color: #8a7a4a;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
}
.jm-gc-cur .bal-card .bv {
  color: #ffc857;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(255,200,87,.45);
}

/* 余额不足 */
.jm-gc-cur .bal-card.low {
  background: linear-gradient(135deg, rgba(255,90,90,.1), rgba(255,90,90,.03));
  border-color: rgba(255,90,90,.4);
}
.jm-gc-cur .bal-card.low .bl { color: #a86a6a; }
.jm-gc-cur .bal-card.low .bv {
  color: #ff7b7b;
  text-shadow: 0 0 14px rgba(255,90,90,.45);
}
.jm-gc-cur .bal-card .bw {
  color: #c98a8a;
  font-size: 10.5px;
  font-weight: 700;
}
.jm-gc-cur .bal-card .br {
  display: inline-block;
  margin-top: 3px;
  padding: 4px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff5c5c, #ff80c8);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none !important;
  text-align: center;
  transition: .15s;
}
.jm-gc-cur .bal-card .br:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,92,92,.45);
}

/* ══════════════════════════════════════════════════════════════
   ★ 已结束状态
   ══════════════════════════════════════════════════════════════ */
.jm-gc-cur .jm-gc-finished {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(148,163,184,.14), transparent);
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 12px;
  flex-wrap: wrap;
}
.jm-gc-cur .jm-gc-finished .ic { font-size: 24px; }
.jm-gc-cur .jm-gc-finished > div { flex: 1; min-width: 140px; }
.jm-gc-cur .jm-gc-finished b {
  display: block;
  color: #b8c5d9;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 3px;
}
.jm-gc-cur .jm-gc-finished i {
  display: block;
  color: #6b7899;
  font-size: 11.5px;
  font-style: normal;
}
.jm-gc-cur .jm-gc-finished .go {
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(52,224,255,.14);
  border: 1px solid rgba(52,224,255,.4);
  color: #34e0ff !important;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.jm-gc-cur .jm-gc-finished .go:hover { background: rgba(52,224,255,.24); }

/* 往期状态颜色 */
.jm-gc-past .item .meta em.fin { color: #94a3b8; font-style: normal; font-weight: 800; }
.jm-gc-past .item .meta em.ok  { color: #4ade80; font-style: normal; font-weight: 800; }
.jm-gc-past .item .meta em.ing { color: #ffc857; font-style: normal; font-weight: 800; }
.jm-gc-past .item .meta em.no  { color: #ff7b7b; font-style: normal; font-weight: 800; }

/* 移动端 */
@media (max-width: 900px) {
  .jm-gc-cur .join-row { flex-direction: column; }
  .jm-gc-cur .bal-card {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
  }
  .jm-gc-cur .bal-card .bl { flex: 0 0 auto; }
  .jm-gc-cur .bal-card .bv { flex: 0 0 auto; font-size: 19px; }
  .jm-gc-cur .bal-card .br { margin-top: 0; }
}


/* ══════════════════════════════════════════════════════════════
   ★ 管理台入口（hero 右侧醒目按钮）
   ══════════════════════════════════════════════════════════════ */
.jm-gc-hero .jm-gc-adm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(167,139,250,.28), rgba(63,140,255,.14));
  border: 1px solid rgba(167,139,250,.55);
  color: #c4b5fd !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .15s;
  box-shadow: 0 4px 18px rgba(167,139,250,.22);
  flex-shrink: 0;
}
.jm-gc-hero .jm-gc-adm:hover {
  background: linear-gradient(135deg, rgba(167,139,250,.44), rgba(63,140,255,.24));
  border-color: #a78bfa;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 26px rgba(167,139,250,.4);
}
.jm-gc-hero .jm-gc-adm .ic { font-size: 16px; line-height: 1; }

/* 移动端 */
@media (max-width: 900px) {
  .jm-gc-hero .jm-gc-adm {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}


/* ══════════════════════════════════════════════════════════════
   ★ 参团按钮居中 + 余额卡片布局优化
   ══════════════════════════════════════════════════════════════ */
.jm-gc-cur .join-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
  padding: 6px 0 !important;
}
.jm-gc-cur .join-row .btn-join {
  flex: 0 1 auto !important;
  min-width: 200px !important;
  text-align: center !important;
}
.jm-gc-cur .join-row .bal-card {
  flex: 0 1 auto !important;
  min-width: 190px !important;
}

/* 单独占一行的参团按钮（无余额卡片时） */
.jm-gc-cur .acts > .btn-join {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  min-width: 220px !important;
}

@media (max-width: 900px) {
  .jm-gc-cur .join-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .jm-gc-cur .join-row .btn-join,
  .jm-gc-cur .join-row .bal-card {
    min-width: 0 !important;
    width: 100% !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   ★ 商品卡 v2：完整显示封面 + 可点击 + 放大镜
   ══════════════════════════════════════════════════════════════ */
.jm-gc-items .it {
  position: relative;
}
.jm-gc-items .it .cov {
  display: block !important;
  position: relative !important;
  aspect-ratio: 3 / 4 !important;
  background: linear-gradient(135deg, #1b2a4a, #101a30) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* ★ 关键：改成 contain，完整显示不裁切 */
.jm-gc-items .it .cov img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #0a1020 !important;
  transition: transform .28s ease !important;
}
.jm-gc-items .it:hover .cov img {
  transform: scale(1.06) !important;
}

/* 放大镜图标 */
.jm-gc-items .it .cov .zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(52,224,255,.5);
  color: #34e0ff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.85);
  transition: .18s;
  z-index: 3;
  pointer-events: none;
}
.jm-gc-items .it:hover .cov .zoom {
  opacity: 1;
  transform: scale(1);
}

/* P数标签 */
.jm-gc-items .it .cov .pg {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(0,0,0,.7);
  color: #ffc857;
  font-size: 10px;
  font-weight: 900;
  z-index: 3;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   ★ 图片预览弹窗
   ══════════════════════════════════════════════════════════════ */
.jm-iv {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(4,8,18,.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .22s ease;
}
.jm-iv.on {
  display: flex;
  opacity: 1;
}

.jm-iv .jm-iv-inner {
  position: relative;
  max-width: min(760px, 92vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: jmIvIn .24s ease;
}
@keyframes jmIvIn {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.jm-iv .jm-iv-img {
  max-height: 78vh;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1020;
  border: 1px solid rgba(52,224,255,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.jm-iv .jm-iv-img img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.jm-iv .jm-iv-info {
  text-align: center;
}
.jm-iv .jm-iv-info b {
  display: block;
  color: #edf3ff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}
.jm-iv .jm-iv-info span {
  display: block;
  color: #8fa4c8;
  font-size: 12px;
}

.jm-iv .jm-iv-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .15s;
  z-index: 10;
}
.jm-iv .jm-iv-close:hover {
  background: rgba(255,90,90,.8);
  border-color: #ff5c5c;
  transform: rotate(90deg);
}

/* 移动端 */
@media (max-width: 900px) {
  .jm-iv { padding: 14px; }
  .jm-iv .jm-iv-inner { max-width: 100%; }
  .jm-iv .jm-iv-img { max-height: 72vh; }
  .jm-iv .jm-iv-close { top: -8px; right: -8px; width: 34px; height: 34px; }
  .jm-gc-items .it .cov .zoom { opacity: 1; transform: scale(1); }
}


/* ══════════════════════════════════════════════════════════════
   ★ 多图画廊弹窗 v2
   ══════════════════════════════════════════════════════════════ */

/* 商品卡多图角标 */
.jm-gc-items .it .cov .imgcnt {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(52,224,255,.22);
  border: 1px solid rgba(52,224,255,.5);
  color: #34e0ff;
  font-size: 10px;
  font-weight: 900;
  z-index: 3;
  pointer-events: none;
}

/* 弹窗导航箭头 */
.jm-iv .jm-iv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .15s;
  z-index: 10;
  font-family: Arial, sans-serif;
}
.jm-iv .jm-iv-nav:hover {
  background: rgba(52,224,255,.75);
  border-color: #34e0ff;
  color: #06121f;
}
.jm-iv .jm-iv-nav.prev { left: -56px; }
.jm-iv .jm-iv-nav.next { right: -56px; }

/* 图片计数 */
.jm-iv .jm-iv-cnt {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  z-index: 5;
  font-variant-numeric: tabular-nums;
}

/* 缩略图条 */
.jm-iv .jm-iv-thumbs {
  display: flex;
  gap: 7px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 2px;
  justify-content: center;
  scrollbar-width: thin;
}
.jm-iv .jm-iv-thumbs::-webkit-scrollbar { height: 4px; }
.jm-iv .jm-iv-thumbs::-webkit-scrollbar-thumb { background: rgba(52,224,255,.4); border-radius: 999px; }

.jm-iv .jm-iv-th {
  flex: 0 0 auto;
  width: 46px;
  height: 61px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #0a1020;
  padding: 0;
  cursor: pointer;
  transition: .13s;
  opacity: .55;
}
.jm-iv .jm-iv-th:hover { opacity: .85; }
.jm-iv .jm-iv-th.on {
  border-color: #34e0ff;
  opacity: 1;
  box-shadow: 0 0 12px rgba(52,224,255,.5);
}
.jm-iv .jm-iv-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 图片容器相对定位（给计数定位） */
.jm-iv .jm-iv-img {
  position: relative;
}

/* ══════════════════════════════════════════════════════════════
   ★ 赠品免费券
   ══════════════════════════════════════════════════════════════ */
.jm-gc-cur .gift-box .gb-body {
  flex: 1;
  min-width: 0;
}
.jm-gc-cur .gift-box .gb-body b {
  display: block;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 3px;
}
.jm-gc-cur .gift-box .gb-body > i {
  display: block;
  color: #8b7fc4;
  font-size: 11px;
  font-style: normal;
  margin-bottom: 8px;
}

.jm-gc-cur .gift-box .gb-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.jm-gc-cur .gift-box .gb-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  background: rgba(167,139,250,.16);
  border: 1px solid rgba(167,139,250,.35);
  color: #c4b5fd;
  font-size: 11.5px;
  font-weight: 800;
}
.jm-gc-cur .gift-box .gb-tag em {
  font-style: normal;
  font-size: 13px;
}
.jm-gc-cur .gift-box .gb-tag.coupon {
  background: rgba(255,200,87,.14);
  border-color: rgba(255,200,87,.4);
  color: #ffc857;
}

/* 免费券缩略图 */
.jm-gc-cur .gift-box .gb-coupons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.jm-gc-cur .gift-box .gcp {
  display: block;
  width: 64px;
  text-decoration: none !important;
  transition: .15s;
}
.jm-gc-cur .gift-box .gcp:hover {
  transform: translateY(-2px);
}
.jm-gc-cur .gift-box .gcp img,
.jm-gc-cur .gift-box .gcp .noimg {
  width: 64px;
  height: 85px;
  border-radius: 7px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1020;
  border: 1px solid rgba(255,200,87,.35);
}
.jm-gc-cur .gift-box .gcp .noimg {
  font-size: 22px;
  opacity: .5;
}
.jm-gc-cur .gift-box .gcp:hover img {
  border-color: #ffc857;
  box-shadow: 0 4px 14px rgba(255,200,87,.35);
}
.jm-gc-cur .gift-box .gcp .gcp-t {
  display: block;
  margin-top: 3px;
  color: #8fa4c8;
  font-size: 9px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 移动端 */
@media (max-width: 900px) {
  .jm-iv .jm-iv-nav.prev { left: 4px; }
  .jm-iv .jm-iv-nav.next { right: 4px; }
  .jm-iv .jm-iv-nav { width: 36px; height: 36px; font-size: 20px; }
  .jm-iv .jm-iv-thumbs { gap: 5px; }
  .jm-iv .jm-iv-th { width: 38px; height: 50px; }
}


/* ══════════════════════════════════════════════════════════════
   ★ 预览图尺寸强制约束（修复撑爆问题）
   ══════════════════════════════════════════════════════════════ */
.jm-iv .jm-iv-img {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: min(560px, 86vw) !important;
  max-height: 72vh !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #0a1020 !important;
  border: 1px solid rgba(52,224,255,.3) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.7) !important;
}

.jm-iv .jm-iv-img img {
  display: block !important;
  max-width: min(560px, 86vw) !important;
  max-height: 72vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* 内部容器也约束 */
.jm-iv .jm-iv-inner {
  max-width: min(640px, 94vw) !important;
  max-height: 94vh !important;
  overflow: visible !important;
}

/* 计数徽章定位修正 */
.jm-iv .jm-iv-cnt {
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
}

/* 箭头位置修正（基于图片宽度） */
.jm-iv .jm-iv-nav.prev { left: -54px !important; }
.jm-iv .jm-iv-nav.next { right: -54px !important; }

/* 赠品免费券说明 */
.jm-gc-cur .gift-box .gb-cp-desc {
  margin-top: 9px;
  padding: 9px 13px;
  background: rgba(255,200,87,.07);
  border-left: 3px solid #ffc857;
  border-radius: 0 7px 7px 0;
  color: #a8925a;
  font-size: 11.5px;
  line-height: 1.75;
}

/* 移动端 */
@media (max-width: 900px) {
  .jm-iv .jm-iv-img {
    max-width: 96vw !important;
    max-height: 68vh !important;
  }
  .jm-iv .jm-iv-img img {
    max-width: 96vw !important;
    max-height: 68vh !important;
  }
  .jm-iv .jm-iv-nav.prev { left: 2px !important; }
  .jm-iv .jm-iv-nav.next { right: 2px !important; }
}


/* ══════ 修复：团购统计数字（累计参团 / 成功开团）══════
   问题：<b class="green"> 被某处 .green 规则加了白底，
        看起来像一块白色方块。
   方案：强制清掉背景/内边距/边框，只保留文字颜色。 */
.jm-gc-hero .stats .st b,
.jm-gc-hero .stats .st b.green,
.jm-gc-hero .stats .st b.amber,
.jm-gc .jm-gc-hero .st b,
.jm-gc .jm-gc-hero .st b.green,
.jm-gc .jm-gc-hero .st b.amber{
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	display: block !important;
	font-size: 22px !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
}
.jm-gc-hero .stats .st b{ color: #34e0ff !important; }
.jm-gc-hero .stats .st b.green{ color: #4ade80 !important; }
.jm-gc-hero .stats .st b.amber{ color: #ffc857 !important; }

/* 顺带修：如果 .st span 也被加背景 */
.jm-gc-hero .stats .st span{
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	color: #6b7899 !important;
	font-size: 10.5px !important;
	line-height: 1.4 !important;
}
