/* ================= 会员中心页 ================= */

body.plans-page {
  background: #f6faf0;
  min-height: 100vh;
}

.plans-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 4px 18px 56px;
}

.plans-back {
  display: inline-block;
  margin: 8px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6a9927;
  text-decoration: none;
}
.plans-back:hover { text-decoration: underline; }

.plans-head { margin: 4px 0 18px; }
.plans-head h1 {
  font-size: 25px;
  font-weight: 800;
  color: #1f2a16;
  margin: 0 0 6px;
  line-height: 1.3;
}
.plans-sub {
  margin: 0;
  font-size: 14px;
  color: #6f8158;
  line-height: 1.6;
}

/* ===== 当前会员状态条 ===== */
.plans-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #e3eecf;
  border-radius: 16px;
  padding: 15px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(106, 153, 39, .06);
}
.plans-current-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #9aa98c;
  margin-bottom: 7px;
}
.plans-current-right { text-align: right; flex-shrink: 0; }
.plans-until {
  font-size: 13px;
  font-weight: 700;
  color: #3a4a2c;
}
.plans-mult {
  font-size: 12px;
  color: #6f8158;
  margin-top: 3px;
}

/* ===== 未登录提示 ===== */
.plans-login {
  background: #fff;
  border: 1.5px dashed #d3e2bd;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 18px;
}
.plans-login p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6f8158;
  line-height: 1.6;
}
.plans-login .btn { display: inline-block; text-decoration: none; }

/* ===== 档位卡片 ===== */
.plans-list { display: flex; flex-direction: column; gap: 12px; }

.plan-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e3eecf;
  border-radius: 18px;
  padding: 17px 16px 16px;
  transition: border-color .2s, box-shadow .2s, transform .16s;
}
.plan-card.current {
  border-color: #94c84a;
  background: linear-gradient(120deg, #fbfdf6, #f0f7e2);
  box-shadow: 0 0 0 1px rgba(148, 200, 74, .35) inset;
}
.plan-card.popular {
  border-color: #b6da85;
  box-shadow: 0 6px 20px rgba(106, 153, 39, .12);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-id { display: flex; align-items: center; gap: 10px; min-width: 0; }

.plan-price { text-align: right; flex-shrink: 0; }
.plan-amount {
  font-size: 22px;
  font-weight: 800;
  color: #3f6b12;
  line-height: 1.1;
  letter-spacing: -.3px;
}
.plan-amount small {
  font-size: 12px;
  font-weight: 700;
  color: #6f8158;
  margin-left: 2px;
}
.plan-cycle {
  font-size: 11.5px;
  color: #9aa98c;
  margin-top: 3px;
}

.plan-name {
  font-size: 16.5px;
  font-weight: 800;
  color: #22301a;
  line-height: 1.3;
}
.plan-mult {
  font-size: 12.5px;
  color: #6f8158;
  margin-top: 3px;
  font-weight: 600;
}

.plan-perks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-perks li {
  font-size: 13px;
  color: #4d5c3f;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.plan-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #94c84a;
  font-weight: 800;
}
.plan-perks li.dim { color: #a7b399; }
.plan-perks li.dim::before { content: '—'; color: #cbd7be; }

.plan-action { display: flex; align-items: center; gap: 10px; }
.plan-action .btn { flex: 1; }

.plan-badge {
  position: absolute;
  top: -9px;
  right: 16px;
  background: linear-gradient(135deg, #94c84a, #6a9927);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .4px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(106, 153, 39, .3);
}
.plan-badge.free { background: #eef3e6; color: #7d8b70; box-shadow: none; }

.plan-current-tag {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #4d7314;
  background: #f0f7e2;
  border: 1.5px solid #d8e9bc;
  border-radius: 12px;
  padding: 11px;
}

/* ===== 底部计费说明 ===== */
.plans-note {
  margin-top: 26px;
  padding: 16px 16px 6px;
  background: #fbfdf7;
  border: 1px solid #e8f1da;
  border-radius: 16px;
}
.plans-note h3 {
  font-size: 14px;
  font-weight: 800;
  color: #3a4a2c;
  margin: 0 0 10px;
}
.plans-note ul {
  margin: 0 0 10px;
  padding-left: 18px;
}
.plans-note li {
  font-size: 12.5px;
  line-height: 1.7;
  color: #6f8158;
  margin-bottom: 4px;
}
.plans-note li b { color: #4d5c3f; }

.plans-legal {
  font-size: 12px;
  color: #93a285;
  line-height: 1.65;
  margin: 14px 0 10px;
  padding-top: 12px;
  border-top: 1px solid #eef3e6;
}
.plans-legal a { color: #6a9927; font-weight: 600; }

@media (max-width: 400px) {
  .plans-wrap { padding: 4px 14px 48px; }
  .plans-head h1 { font-size: 22px; }
  .plan-amount { font-size: 20px; }
}
