.member-card {
  width:min(414px,calc(100vw - 28px)); max-height:min(90dvh,760px); margin:auto;
  padding:0; overflow:auto; overscroll-behavior:contain; border:1px solid #c8ae76;
  border-radius:20px; background:#fcf9ef; color:#233f33; box-shadow:0 20px 65px #08170f60;
  font:15px/1.5 system-ui,"Microsoft YaHei",sans-serif;
}
.member-card::backdrop{background:#13291fbd}
.member-card .mc-head{position:relative;isolation:isolate;overflow:hidden;display:block;padding:21px 24px 19px;background:linear-gradient(113deg,#133d32,#25503d);color:#fff7db;border-bottom:2px solid #ba985b}
.mc-head::after{content:"";position:absolute;z-index:-1;pointer-events:none;right:-88px;bottom:-129px;width:240px;height:240px;border:1px solid #e3be752b;border-radius:50%;box-shadow:0 0 0 13px #e2c2820a,0 0 0 14px #e3be7526,0 0 0 30px #e2c28208,0 0 0 31px #e3be7520}
.mc-brand{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.1em;font-weight:650;color:#f9dfa5}.mc-brand img{width:24px;height:29px;object-fit:contain}
.member-card .mc-head h2{font:700 clamp(26px,7vw,34px)/1.16 "Songti SC","STSong",Georgia,serif;letter-spacing:.035em;margin:12px 0 5px;color:#fff6dd;outline:none}
.member-card .mc-head p{margin:0;font-size:13px;color:#d6e3ce;overflow-wrap:anywhere}
.member-card .mc-head #closeMemberDesk{position:absolute;right:13px;top:12px;width:40px;height:40px;background:none;color:#f7e9c9;border:0;font-size:24px;line-height:1}
.mc-body{padding:20px 24px 12px}.mc-body form,.mc-body section{margin:0}.member-card .mc-body label{font-size:14px;margin:0 0 5px}
.member-card .mc-body input{border:1px solid #c9cebb;border-radius:9px;background:#fffef8;color:#203d30;min-height:46px;padding:9px 12px;margin:0 0 13px;font:16px/1.35 system-ui}
.member-card .mc-body input:focus{outline:2px solid #669377;outline-offset:1px}.mc-field{position:relative}.member-card .mc-field input{padding-right:64px}
.member-card .mc-show{position:absolute;right:2px;top:1px;min-height:44px;padding:0 13px;border:0;background:transparent;color:#3b6249;font-size:13px}
.member-card .member-primary{margin:0 0 3px;min-height:46px;border-radius:10px;background:#24533e;color:#fff8e7;font-weight:700}.member-card .member-primary:disabled{color:#616654;background:#e4e4d5}
.mc-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:15px 18px;border:1px solid #ddd0aa;border-radius:12px;background:linear-gradient(112deg,#f7efd7,#fcf8e9);color:#71592d}
.mc-balance>div>span{font-size:13px;font-weight:650}.mc-count{display:flex;align-items:baseline;gap:5px;font-size:14px}.mc-count strong{font:650 45px/1.07 Georgia,serif;color:#204b37;font-variant-numeric:tabular-nums}
.member-card .mc-balance p{font-size:12px;line-height:1.6;max-width:9em;text-align:right;color:#72664a;margin:0}
.mc-menu{margin:11px 0 5px;border-top:1px solid #dfdfcd}.member-card .mc-menu button{width:100%;display:flex;align-items:center;gap:11px;min-height:46px;background:none;border:0;border-bottom:1px solid #dfdfcd;padding:7px 2px;text-align:left}
.mc-menu button svg{width:20px;height:20px;stroke:#7e7348;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mc-menu button span{margin-left:auto;color:#878e76;font-size:21px}
.member-card .mc-back,.mc-foot button{border:none;background:none;color:#4b604d;font-size:13px;padding:7px 2px;text-decoration:none}.member-card .mc-back{margin:-8px 0 10px;min-height:34px}
.mc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.mc-foot button{min-height:42px}.member-card .mc-foot .legacy-switch{font-size:13px!important;color:#596957!important;text-decoration:none}
.member-card #memberMessage{border-left:3px solid #a3874b;padding:6px 9px;margin:9px 0;background:#f3efdd;font-size:13px;overflow-wrap:anywhere}.member-card #memberMessage[data-error]{border-color:#ae6347;color:#833e2b}
.member-card button:focus-visible{outline:2px solid #a58a4c;outline-offset:2px}
@media(max-width:420px),(max-height:550px){.member-card .mc-head{padding:15px 19px}.mc-body{padding:15px 19px 6px}.member-card .mc-head h2{margin-top:7px}.member-card{max-height:94dvh}}

.mc-session-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px}
.member-card .mc-session-actions button{min-height:44px;padding:8px;border:1px solid #c4c7ac;border-radius:9px;background:#f2f3e7;color:#2c513e;font-size:14px;font-weight:650}
.member-card .mc-session-actions #signMemberOut{background:transparent;color:#705e43;border-color:#d6cdb7}
.member-card .mc-session-actions button:disabled{opacity:.6;cursor:wait}
