/* 集梦影视 · 成长体系 */

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

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

/* ══════ 顶部进度卡 ══════ */
.jm-gr-hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(120deg, rgba(167,139,250,.14), rgba(63,140,255,.06) 55%, transparent);
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 18px;
  padding: 26px 30px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.jm-gr-hero::after {
  content: "🏆";
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 72px; opacity: .08; pointer-events: none;
}

.jm-gr-lv { display: flex; align-items: baseline; gap: 11px; margin-bottom: 12px; }
.jm-gr-lv .big {
  font-size: 38px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #34e0ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.jm-gr-lv .nm { font-size: 16px; font-weight: 900; color: #edf3ff; }

.jm-gr-stat { display: flex; gap: 20px; flex-wrap: wrap; }
.jm-gr-stat span { color: #8fa4c8; font-size: 12.5px; }
.jm-gr-stat b { color: #34e0ff; font-weight: 900; font-size: 14px; }

.jm-gr-next { color: #c9d6f0; font-size: 13.5px; margin-bottom: 11px; }
.jm-gr-next b { color: #ffc857; font-weight: 900; }
.jm-gr-next.max { color: #4ade80; font-weight: 900; font-size: 15px; }

.jm-gr-bar {
  height: 12px;
  background: #0b1222;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #24314f;
}
.jm-gr-bar .fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, #a78bfa, #34e0ff);
  border-radius: 999px;
  transition: width .5s ease;
  box-shadow: 0 0 14px rgba(52,224,255,.45);
}
.jm-gr-fb {
  display: flex; justify-content: space-between;
  margin-top: 7px; color: #5d6b8c; font-size: 11.5px;
}

/* ══════ 标题 ══════ */
.jm-gr-h {
  display: flex; align-items: center; gap: 10px;
  margin: 28px 0 14px;
}
.jm-gr-h b { font-size: 17px; font-weight: 900; color: #edf3ff; }
.jm-gr-h span { color: #6b7899; font-size: 12.5px; }
.jm-gr-h::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #a78bfa, #34e0ff);
}

/* ══════ 怎么赚 EXP ══════ */
.jm-gr-earn {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}
@media (max-width: 800px) { .jm-gr-earn { grid-template-columns: repeat(2, 1fr); } }

.jm-gr-e {
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: .18s;
}
.jm-gr-e:hover { border-color: rgba(52,224,255,.45); transform: translateY(-2px); }
.jm-gr-e .ic { display: block; font-size: 26px; margin-bottom: 9px; }
.jm-gr-e b {
  display: block; font-size: 22px; font-weight: 900; color: #4ade80;
  line-height: 1.2; margin-bottom: 3px;
}
.jm-gr-e .lb { display: block; color: #edf3ff; font-size: 13px; font-weight: 800; }
.jm-gr-e i { display: block; color: #5d6b8c; font-size: 11px; font-style: normal; margin-top: 4px; }

/* ══════ 等级之路 ══════ */
.jm-gr-road {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 13px;
}
.jm-gr-card {
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 14px;
  padding: 18px;
  transition: .2s;
  position: relative;
}
.jm-gr-card.passed { opacity: .6; }
.jm-gr-card.now {
  border-color: #34e0ff;
  background: linear-gradient(135deg, rgba(52,224,255,.1), #101a31);
  box-shadow: 0 0 0 3px rgba(52,224,255,.08);
}
.jm-gr-card-hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 9px;
}
.jm-gr-card-hd .lv {
  padding: 3px 10px; border-radius: 6px;
  background: rgba(167,139,250,.16); color: #a78bfa;
  font-size: 12px; font-weight: 900;
}
.jm-gr-card.now .jm-gr-card-hd .lv {
  background: rgba(52,224,255,.2); color: #34e0ff;
}
.jm-gr-card-hd .nm { color: #edf3ff; font-size: 13.5px; font-weight: 800; }
.jm-gr-card-hd .tag {
  margin-left: auto;
  padding: 2px 8px; border-radius: 4px;
  background: #34e0ff; color: #06121f;
  font-size: 10px; font-weight: 900;
}
.jm-gr-need {
  color: #ffc857; font-size: 11.5px; font-weight: 800;
  margin-bottom: 11px;
}
.jm-gr-perks { list-style: none; margin: 0; padding: 0; }
.jm-gr-perks li {
  color: #8fa4c8; font-size: 12px; line-height: 1.95;
  padding-left: 15px; position: relative;
}
.jm-gr-perks li::before {
  content: "·"; position: absolute; left: 3px;
  color: #4ade80; font-weight: 900;
}

/* ══════ 徽章墙 ══════ */
.jm-gr-medals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.jm-gr-medal {
  position: relative;
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 13px;
  padding: 18px 12px;
  text-align: center;
  transition: .18s;
}
.jm-gr-medal.on {
  border-color: rgba(255,200,87,.5);
  background: linear-gradient(135deg, rgba(255,200,87,.1), #101a31);
}
.jm-gr-medal.on:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(255,184,32,.2); }
.jm-gr-medal.off { opacity: .42; filter: grayscale(1); }
.jm-gr-medal .ic { display: block; font-size: 30px; margin-bottom: 9px; line-height: 1; }
.jm-gr-medal b { display: block; color: #edf3ff; font-size: 12.5px; font-weight: 800; margin-bottom: 4px; }
.jm-gr-medal i { display: block; color: #5d6b8c; font-size: 10.5px; font-style: normal; line-height: 1.5; }
.jm-gr-medal .ok {
  position: absolute; right: 8px; top: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #4ade80; color: #052e16;
  font-size: 11px; font-weight: 900; line-height: 18px;
}

/* ══════ EXP 兑换 ══════ */
.jm-gr-exchange {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .jm-gr-exchange { grid-template-columns: repeat(2, 1fr); } }

.jm-gr-x {
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 13px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.jm-gr-x .ic { font-size: 24px; line-height: 1; }
.jm-gr-x .bd b { display: block; color: #edf3ff; font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.jm-gr-x .bd i { display: block; color: #a78bfa; font-size: 12px; font-weight: 800; font-style: normal; }
.jm-gr-x .go {
  display: block; padding: 9px; border-radius: 9px; text-align: center;
  background: linear-gradient(135deg, #3f8cff, #34e0ff);
  color: #06121f !important; font-size: 12.5px; font-weight: 900;
  text-decoration: none !important; transition: .15s;
}
.jm-gr-x .go:hover { opacity: .9; }
.jm-gr-x .lock {
  display: block; padding: 9px; border-radius: 9px; text-align: center;
  background: #0b1222; color: #5d6b8c;
  font-size: 12px; font-weight: 700;
  border: 1px dashed #24314f;
}

/* ══════ EXP 明细 ══════ */
.jm-gr-logs {
  background: #101a31;
  border: 1px solid #24314f;
  border-radius: 14px;
  overflow: hidden;
}
.jm-gr-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.jm-gr-table th {
  text-align: left; padding: 12px 16px;
  color: #8fa4c8; font-size: 12px; font-weight: 600;
  border-bottom: 1px solid #24314f;
  background: rgba(255,255,255,.02);
}
.jm-gr-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(36,49,79,.5);
  color: #c9d6f0;
}
.jm-gr-table tr:last-child td { border-bottom: 0; }
.jm-gr-table tr:hover td { background: rgba(63,140,255,.04); }
.jm-gr-table .delta { font-weight: 900; font-family: Consolas, monospace; }
.jm-gr-table .delta.plus { color: #4ade80; }
.jm-gr-table .delta.minus { color: #ff6b6b; }

.jm-gr-empty {
  padding: 56px 20px;
  text-align: center;
  color: #5d6b8c;
  font-size: 13px;
  line-height: 2;
}
.jm-gr-empty .ic { display: block; font-size: 44px; margin-bottom: 12px; opacity: .5; }
.jm-gr-empty b { display: block; color: #c9d6f0; font-size: 14px; margin-bottom: 6px; }
.jm-gr-empty a { color: #34e0ff; text-decoration: none; }

/* 响应式 */
@media (max-width: 800px) {
  .jm-gr-hero { grid-template-columns: 1fr; gap: 18px; }
  .jm-gr-hero::after { display: none; }
}


/* ═══════════════════════════════════════════════════
   ★ 成长体系 v2：排名 / 换算 / 徽章差额
   ═══════════════════════════════════════════════════ */

/* 全站排名 */
.jm-gr-stat .rank {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255,200,87,.14);
  border: 1px solid rgba(255,200,87,.32);
  color: #ffc857 !important;
  font-weight: 800;
  font-size: 11.5px;
}
.jm-gr-stat .rank b {
  color: #ffc857 !important;
  font-size: 13px;
}

/* 还差多少的换算 */
.jm-gr-convert {
  margin-top: 12px;
  padding: 11px 15px;
  background: rgba(52,224,255,.05);
  border-left: 2px solid rgba(52,224,255,.4);
  border-radius: 0 9px 9px 0;
  color: #8fa4c8;
  font-size: 12.5px;
  line-height: 2;
}
.jm-gr-convert b {
  color: #34e0ff;
  font-weight: 900;
}
.jm-gr-convert span {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: #c9d6f0;
  font-size: 11.5px;
}
.jm-gr-convert span b {
  color: #ffc857;
}

/* 徽章差额 */
.jm-gr-medal .diff {
  display: block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  color: #ff9c5c;
  font-size: 10px;
  font-weight: 800;
}
