/* 个人中心 · 会员与额度 / 系统设置 两页共用（只加样式，不改 beeshow.css 既有规则） */

.mw-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 6px;
}

.mw-back {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--bs-line);
  background: #101b1e;
  color: var(--bs-ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.mw-title { font-size: 17px; font-weight: 700; margin: 0; }

.mw-status {
  margin-top: 10px;
  background: linear-gradient(135deg, #a9822c, #d8b45a 55%, #e6c46e);
  color: #201705;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 12px 26px rgba(216, 180, 90, 0.22);
}

.mw-status h3 { margin: 0 0 4px; font-size: 18px; }
.mw-status p { margin: 0; font-size: 12px; opacity: .78; }

.mw-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mw-status-grid div {
  background: rgba(216, 180, 90, .10);
  border-radius: 14px;
  padding: 9px 10px;
}

.mw-status-grid b { display: block; font-size: 18px; line-height: 1.2; }
.mw-status-grid span { font-size: 11px; opacity: .72; }

.mw-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
}

.mw-sec-head h3 { margin: 0; font-size: 15px; }
.mw-sec-head span { font-size: 12px; color: var(--bs-ink-2); }

.mw-plans { display: grid; gap: 10px; }

.mw-plan {
  background: #101b1e;
  border: 1px solid var(--bs-line);
  border-radius: 18px;
  padding: 14px 16px;
  position: relative;
}

.mw-plan.is-current { border-color: #a9f2dd; box-shadow: 0 8px 20px rgba(216, 180, 90, .12); }

.mw-plan-top { display: flex; align-items: baseline; gap: 8px; }
.mw-plan-top h4 { margin: 0; font-size: 15px; }
.mw-plan-price { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--bs-mint-deep); }
.mw-plan-price small { font-size: 11px; font-weight: 500; color: var(--bs-ink-2); margin-left: 2px; }

.mw-plan ul { margin: 8px 0 0; padding-left: 18px; font-size: 12px; color: var(--bs-ink-2); line-height: 1.9; }
.mw-plan-sub { margin: 5px 0 0; font-size: 12px; color: var(--bs-ink-2); line-height: 1.7; }
.mw-plan.is-contact { opacity: .8; }

.mw-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mw-package { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 15px 12px 12px; border: 1px solid var(--bs-line); border-radius: 16px; background: #101b1e; text-align: center; }
.mw-package.is-hot { border-color: rgba(216,180,90,.45); background: linear-gradient(160deg, rgba(216,180,90,.12), #101b1e 58%); }
.mw-package-tag { position: absolute; top: -8px; right: 10px; padding: 2px 8px; border-radius: 999px; background: #d8b45a; color: #1a1607; font-size: 10px; font-weight: 800; }
.mw-package-main b { font-size: 24px; line-height: 1.2; color: #f0d289; }
.mw-package-main span { margin-left: 4px; font-size: 11px; color: #b8aa88; }
.mw-package-sub { font-size: 11px; color: var(--bs-ink-2); }
.mw-package-price { margin-top: 5px; font-size: 18px; font-weight: 800; color: var(--bs-mint-deep); }
.mw-package-cta { margin-top: 8px; width: 100%; height: 34px; border-radius: 999px; border: 1px solid rgba(216,180,90,.28); background: rgba(216,180,90,.08); color: #e0bd6a; font-size: 12px; font-weight: 700; cursor: pointer; }
.mw-package-cta:disabled { opacity: .55; }
.mw-pay-tip { margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(216,180,90,.3); background: rgba(216,180,90,.08); color: #d9c79d; font-size: 12px; line-height: 1.8; }
.mw-pay-tip b { color: #f0d289; }
.mw-pay-tip p { margin: 5px 0 0; }
.mw-order-state { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mw-order-state.is-pending { background: rgba(216,180,90,.15); color: #e0bd6a; }
.mw-order-state.is-approved { background: rgba(84,190,140,.14); color: #68d4a4; }
.mw-order-state.is-rejected { background: rgba(214,69,69,.13); color: #ff8e86; }
.mw-row-right small { display: block; margin-top: 3px; text-align: right; color: var(--bs-ink-2); }

.mw-plan-tag {
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(216,180,90,.16);
  color: #f0d289;
  white-space: nowrap;
}

.mw-plan-cta {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(216,180,90,0.32);
  background: var(--bs-mint-soft);
  color: #e0bd6a;
  font-weight: 700;
  cursor: pointer;
}

.mw-plan.is-current .mw-plan-cta { border-style: dashed; }

.mw-card {
  margin-top: 10px;
  background: #101b1e;
  border: 1px solid var(--bs-line);
  border-radius: 18px;
  padding: 14px 16px;
}

.mw-label { display: block; font-size: 12px; color: var(--bs-ink-2); margin: 10px 0 6px; }
.mw-label:first-child { margin-top: 0; }

.mw-input, .mw-textarea {
  width: 100%;
  border: 1px solid var(--bs-line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  background: #0c1619;
  color: var(--bs-ink);
  font-family: inherit;
}

.mw-textarea { min-height: 74px; resize: vertical; }

.mw-save {
  margin-top: 14px;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #b8902f, #e2c078);
  color: #1a1405;
  font-weight: 800;
  cursor: pointer;
}

.mw-save[disabled] { opacity: .6; }

.mw-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bs-line);
}

.mw-row:last-child { border-bottom: none; }
.mw-row-title { font-size: 14px; }
.mw-row-sub { font-size: 12px; color: var(--bs-ink-2); margin-top: 2px; }
.mw-row-right { margin-left: auto; }

.mw-switch {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--bs-line);
  background: #1b2b2c;
  position: relative;
  cursor: pointer;
}

.mw-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6c979;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  transition: left .18s ease;
}

.mw-switch[aria-checked="true"] { background: #2a3a33; border-color: #d8b45a; }
.mw-switch[aria-checked="true"]::after { left: 21px; }

.mw-danger {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,120,110,.35);
  background: rgba(255,90,80,.10);
  color: #ff9d95;
  font-weight: 700;
  cursor: pointer;
}

.mw-fold { margin-top: 10px; border-top: 1px dashed var(--bs-line); padding-top: 10px; }
.mw-fold summary { cursor: pointer; font-size: 13px; color: var(--bs-ink-2); }
.mw-fold p { font-size: 12px; line-height: 1.9; color: var(--bs-ink-2); margin: 8px 0 0; }

.mw-empty { padding: 30px 0; text-align: center; color: var(--bs-ink-2); font-size: 13px; }




/* 个人中心两页：宽屏收窄为双列阅读宽度，避免整行拉得过散 */
@media (min-width: 1024px) {
  body[data-page="membership"] .bs-shell,
  body[data-page="settings"] .bs-shell { width: min(100%, 1080px); padding: 0 32px 40px; }
  body[data-page="membership"] .mw-head,
  body[data-page="settings"] .mw-head { padding-top: 22px; }
  .mw-plans { grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
  .mw-packages { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .mw-plan { padding: 18px; }
  .mw-status { padding: 22px 24px; border-radius: 22px; }
  .mw-status h3 { font-size: 20px; }
  .mw-status-grid { gap: 14px; }
  .mw-card { padding: 20px 22px; }
}
