/* 会员中心样式：九站共用，颜色跟随主题 */
.mwrap { padding: 40px 0 60px; }
.mbox { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; }
.mbox.wide { max-width: 1000px; }
.mwrap .mbox h1 { font-size: 24px; margin-bottom: 8px; }
.msub { font-size: 14px; color: var(--txt3); margin-bottom: 22px; line-height: 1.7; }
.mform { display: grid; gap: 16px; }
.mform.wide { max-width: 100%; }
.mfield label { display: block; font-size: 14px; color: var(--txt2); margin-bottom: 6px; font-weight: 600; }
.mfield label .req { color: var(--accent); }
.mfield input[type=text], .mfield input[type=password], .mfield input[type=number],
.mfield select, .mfield textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 13px;
  font-size: 15px; font-family: inherit; background: #fff; outline: 0; color: var(--txt);
}
.mfield input:focus, .mfield select:focus, .mfield textarea:focus { border-color: var(--pri); }
.mfield textarea { min-height: 320px; resize: vertical; line-height: 1.8; }
.mfield input[type=checkbox] { width: auto; margin-right: 6px; }
.mhint { font-size: 12.5px; color: var(--txt3); margin-top: 5px; }
.mhint2 { font-size: 13px; color: var(--txt3); margin-bottom: 14px; }
.mbtn {
  display: inline-block; background: var(--pri); color: #fff; border: 0; border-radius: var(--radius-sm);
  padding: 11px 28px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; text-align: center; text-decoration: none;
}
.mbtn:hover { background: var(--pri-d); color: #fff; }
.mbtn.sm { padding: 7px 16px; font-size: 13.5px; }
.mbtn.ghost { background: #fff; color: var(--txt2); border: 1px solid var(--line); }
.mbtn.ghost:hover { border-color: var(--pri); color: var(--pri); }
.mbtn:disabled { opacity: .55; cursor: not-allowed; }
.malert { padding: 11px 15px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.malert.err { background: #fdf0ee; color: #a8382c; border: 1px solid #f3d2cc; }
.malert.ok { background: #eff8f3; color: #1a6b4a; border: 1px solid #cfe9dc; }
.mfoot { margin-top: 20px; font-size: 14px; color: var(--txt3); text-align: center; }
.mfoot a { color: var(--pri); }
.mhd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.mhd-act { display: flex; gap: 10px; flex-wrap: wrap; }
.mbadge { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 3px; background: var(--bg); color: var(--txt2); }
.mbadge.vip { background: var(--pri); color: #fff; }
.mtip { background: #fff8e6; border: 1px solid #ffe0a3; border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; }
.mtip b { display: block; font-size: 15px; margin-bottom: 8px; color: #8a6d1f; }
.mtip p { font-size: 14px; color: #6b5c3a; line-height: 1.75; margin-bottom: 10px; }
.mtip a { color: var(--pri); font-weight: 600; }
.mh2 { font-size: 17px; margin: 28px 0 14px; padding-left: 10px; border-left: 3px solid var(--pri); font-weight: 600; }
.mh2 span { font-size: 13px; color: var(--txt3); font-weight: 400; }
.mempty { text-align: center; padding: 40px 0; color: var(--txt3); font-size: 14px; background: var(--bg); border-radius: var(--radius-sm); }
.mempty a { color: var(--pri); }
.mlist { display: grid; gap: 10px; }
.mitem { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; }
.minfo { flex: 1; min-width: 0; }
.mt { display: block; font-size: 15px; color: var(--txt); font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt:hover { color: var(--pri); }
.mm { font-size: 12.5px; color: var(--txt3); }
.mdel { background: none; border: 1px solid var(--line); color: var(--txt3); border-radius: 3px; padding: 5px 12px; font-size: 13px; cursor: pointer; font-family: inherit; }
.mdel:hover { border-color: #a8382c; color: #a8382c; }
.mcover { position: relative; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg); min-height: 170px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mcover img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.mcover-empty { padding: 28px 20px; text-align: center; font-size: 13px; color: var(--txt3); line-height: 1.7; }
.mcover-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.mcover-act label.mbtn { margin: 0; }
.mimgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-top: 12px; }
.mimgs:empty { display: none; }
.mimg { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.mimg img { display: block; width: 100%; height: 78px; object-fit: cover; }
.mimg button { width: 100%; border: 0; border-top: 1px solid var(--line); background: var(--bg); color: var(--txt2); font-size: 12px; padding: 6px 0; cursor: pointer; font-family: inherit; }
.mimg button:hover { background: var(--pri); color: #fff; border-color: var(--pri); }
.mhint.err { color: #a8382c; }
@media (max-width: 760px) {
  .mbox { padding: 24px 18px; }
  .mwrap { padding: 24px 0 40px; }
  .mitem { flex-wrap: wrap; }
  .mfield textarea { min-height: 240px; }
  .mcover { min-height: 130px; }
  .mcover img { max-height: 220px; }
  .mimgs { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .mimg img { height: 66px; }
}