*{box-sizing:border-box}html,body{margin:0}body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;border:0}form{margin:0}.ms-page{line-height:1.5}.ms-brand,.ms-top-link,.ms-nav-item,.ms-stat,.ms-more,.ms-btn,.ms-mini,.ms-link{transition:opacity .15s ease,transform .15s ease}.ms-brand:hover,.ms-top-link:hover,.ms-more:hover,.ms-link:hover{opacity:.78}.ms-btn:hover,.ms-mini:hover{transform:translateY(-1px)}
.site-header{position:sticky;top:0;z-index:40;height:84px;backdrop-filter:saturate(1.2) blur(12px);-webkit-backdrop-filter:saturate(1.2) blur(12px);background:rgba(246,242,234,.86);border-bottom:1px solid rgba(20,49,58,.08);color:#1c3a3d}
.site-header .header-inner{width:min(1320px,calc(100% - 80px));height:100%;display:flex;align-items:center;margin:auto;justify-content:space-between}
.site-header .brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:750;letter-spacing:.03em;min-width:0}
.site-header .brand>span:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.2}
.site-header .brand small{display:block;font-size:12px;letter-spacing:.04em;color:#6b7a75;margin-top:2px;font-weight:400}
.site-header .brand-symbol{font-family:Georgia,serif;font-size:43px;line-height:1;position:relative;font-weight:bold;color:#1c3a3d}
.site-header .brand-symbol span{font-size:21px;color:#c9a45c;position:absolute;top:0;right:-5px}
.site-header nav{display:flex;gap:34px;align-items:center;height:100%;font-size:16px}
.site-header nav a{height:100%;display:flex;align-items:center;position:relative;padding:0}
.site-header .header-member{display:flex;align-items:center;gap:8px;background:#1f5a5a;color:#fff;border:0;border-radius:999px;padding:10px 18px;font-size:15px;min-height:44px;flex-shrink:0;box-shadow:0 8px 20px rgba(31,90,90,.25);transition:transform .25s,box-shadow .25s;text-decoration:none}
.site-header .header-member:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(31,90,90,.32)}
.site-header .header-member svg{width:18px;height:18px;color:#fff;flex-shrink:0}
@media(max-width:1000px){.site-header .header-inner{width:calc(100% - 56px)}}
@media(max-width:700px){.site-header{height:70px}.site-header .header-inner{width:calc(100% - 36px)}.site-header .brand{font-size:18px;gap:8px}.site-header .brand-symbol{font-size:37px}.site-header .brand small{display:none}.site-header nav{display:none}.site-header .header-member{padding:8px 12px;font-size:13px}.site-header .header-member svg{width:18px;height:18px}}
.ms-page {
  min-height: 100vh;
  padding: 18px 16px 48px;
  background: radial-gradient(900px 480px at 85% -10%, #e6efe9 0%, transparent 60%), #f6f2ea;
  color: #1c3a3d;
  box-sizing: border-box;
}
.ms-wrap {
  max-width: 1080px;
  margin: 0 auto;
}
.ms-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ms-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.ms-logo {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
  color: #1f5a5a;
  position: relative;
  font-weight: 700;
}
.ms-dot {
  font-size: 13px;
  color: #c9a45c;
  position: absolute;
  top: 0;
  right: -6px;
}
.ms-top-link {
  font-size: 13px;
  color: #1f5a5a;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e8efe9;
  cursor: pointer;
}
.ms-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ms-card {
  margin: 0 0 14px;
  padding: 18px 18px 16px;
  background: #fffdf8;
  border: 1px solid #e6e0d3;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(28, 58, 61, 0.06);
  box-sizing: border-box;
  min-width: 0;
}
.ms-login {
  max-width: 560px;
  margin: 24px auto 14px;
  text-align: center;
  padding: 28px 20px 22px;
}
.ms-login .ms-btn {
  margin-top: 14px;
}
.ms-login-foot {
  margin-top: 14px;
  font-size: 13px;
  color: #5b6f6e;
}

/* 布局：电脑端左侧栏 + 内容；手机端上下排 */
.ms-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.ms-side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px 16px;
  background: #fffdf8;
  border: 1px solid #e6e0d3;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(28, 58, 61, 0.06);
  box-sizing: border-box;
}
.ms-main {
  min-width: 0;
}
.ms-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #efe9dc;
}
.ms-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8efe9;
}
.ms-avatar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #1f5a5a;
}
.ms-profile-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ms-name {
  font-size: 17px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-uid {
  font-size: 12px;
  color: #6b7a75;
}
.ms-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #3d5553;
  font-size: 14.5px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
}
.ms-nav-item.active {
  background: #e3ede7;
  color: #1f5a5a;
  font-weight: 800;
}
.ms-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
  color: #1f5a5a;
}
.ms-nav-short {
  display: none;
}
.ms-help {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: #edf4ef;
  border: 1px solid #d5e5da;
  font-size: 13px;
}
.ms-help-title {
  font-weight: 800;
}
.ms-help-text {
  color: #5b6f6e;
  font-size: 12.5px;
  line-height: 1.55;
}
.ms-side-logout {
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid #f0d6cf;
  color: #a03a2a;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

/* 概览 */
.ms-hello {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 16px;
}
.ms-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #b08a3e;
}
.ms-hello-title {
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #1c3a3d;
  overflow-wrap: anywhere;
}
.ms-hello-sub {
  font-size: 14px;
  color: #5b6f6e;
}
.ms-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.ms-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: #fffdf8;
  border: 1px solid #e6e0d3;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(28, 58, 61, 0.05);
  cursor: pointer;
  box-sizing: border-box;
}
.ms-stat-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8efe9;
  color: #1f5a5a;
  font-size: 18px;
}
.ms-stat-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ms-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #1c3a3d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-stat-label {
  font-size: 12px;
  color: #6b7a75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 14px;
}
.ms-section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ms-section-sub {
  font-size: 13px;
  color: #6b7a75;
}
.ms-center {
  text-align: center;
  color: #5b6f6e;
}
.ms-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ms-card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}
.ms-card-head .ms-card-title {
  margin-bottom: 0;
}
.ms-more {
  font-size: 13px;
  font-weight: 700;
  color: #1f5a5a;
  cursor: pointer;
  white-space: nowrap;
}
.ms-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ms-plan {
  font-size: 18px;
  font-weight: 800;
  min-width: 0;
}
.ms-badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e8efe9;
  color: #1f5a5a;
}
.ms-badge.is-cancelled {
  background: #f6efe1;
  color: #8a6d3b;
}
.ms-badge.is-expired, .ms-badge.is-none {
  background: #efece5;
  color: #6b7a75;
}
.ms-badge.is-pass {
  background: #eaf3ea;
  color: #2d6a3e;
}
.ms-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #efe9dc;
  font-size: 13.5px;
}
.ms-kv uni-text {
  color: #5b6f6e;
  flex: 0 0 auto;
}
.ms-kv strong {
  text-align: right;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ms-accent {
  color: #1f5a5a;
}
.ms-mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.ms-note {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3ecdd;
  color: #5b5545;
  font-size: 12px;
}
.ms-note-plain {
  margin-top: 10px;
  color: #6b7a75;
  font-size: 12.5px;
  line-height: 1.6;
}
.ms-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.ms-offer-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e6e0d3;
  border-radius: 14px;
  background: #fff;
  min-width: 0;
}
.ms-offer-name {
  font-size: 13px;
  font-weight: 800;
  color: #2f5450;
}
.ms-offer-price {
  font-size: 20px;
  font-weight: 800;
  color: #1f5a5a;
}
.ms-offer-unit {
  font-size: 12px;
  color: #6b7a75;
  font-weight: 600;
}
.ms-offer-sub {
  font-size: 12px;
  color: #6b7a75;
  line-height: 1.5;
}
.ms-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.ms-actions-tight {
  margin-top: 0;
}
.ms-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 140px;
  height: 46px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ms-btn.primary {
  color: #fff;
  background: #1f5a5a;
  box-shadow: 0 8px 20px rgba(31, 90, 90, 0.25);
}
.ms-btn.ghost {
  color: #1f5a5a;
  background: #e8efe9;
}
.ms-btn.danger {
  color: #a03a2a;
  background: #f9e8e3;
}
.ms-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.ms-btn.wechat {
  color: #fff;
  background: #07c160;
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.25);
}
.ms-empty-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.ms-empty-text {
  color: #5b6f6e;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 10px;
}
.ms-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #efe9dc;
  font-size: 13.5px;
}
.ms-line-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ms-line-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
  flex: 0 0 auto;
}
.ms-line-sub {
  color: #6b7a75;
  font-size: 12px;
}
.ms-mini {
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f5a5a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.ms-mini.ghost {
  background: #e8efe9;
  color: #1f5a5a;
}
.ms-mini.is-disabled {
  cursor: not-allowed;
  opacity: .58;
  user-select: none;
}
.ms-link {
  color: #1f5a5a;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 2px;
  cursor: pointer;
}
.ms-foot {
  margin-top: 6px;
  text-align: center;
  font-size: 12.5px;
  line-height: 2;
  color: #6b7a75;
}
.ms-foot .ms-link {
  white-space: nowrap;
}

/* 054：取消订阅步骤卡（电脑端按钮按文字宽度靠左，手机端整行） */
.ms-cancel-card {
  background: #f7f3ea;
  border-color: #e7dcc4;
  box-shadow: none;
}
.ms-cancel-card .ms-btn {
  flex: 0 0 auto;
  padding: 0 26px;
}
@media (max-width: 900px) {
.ms-cancel-card .ms-btn {
    flex: 1 1 auto;
}
}
.ms-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #ebe2cf;
}
.ms-step-no {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f5a5a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.ms-step-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ms-step-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1c3a3d;
}
.ms-step-text {
  font-size: 13px;
  line-height: 1.6;
  color: #4f6361;
  overflow-wrap: anywhere;
}
.ms-confirm {
  width: min(480px, 86vw);
  padding: 24px 22px 20px;
  background: #fffdf8;
  border-radius: 20px;
  box-sizing: border-box;
}
.ms-confirm-title {
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}
.ms-confirm-text {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #2f5450;
}
.ms-confirm-text strong {
  color: #1f5a5a;
}
.ms-reason {
  width: 100%;
  min-height: 72px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e6e0d3;
  border-radius: 12px;
  font-size: 13px;
  box-sizing: border-box;
  background: #fff;
}
.ms-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 900px) {
.ms-page {
    padding: 14px 14px 40px;
}
.ms-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.ms-side {
    position: static;
    padding: 14px 14px 10px;
    gap: 10px;
    border-radius: 18px;
}
.ms-profile {
    padding-bottom: 10px;
}
  /* 手机端分区标签：自适应等分居中展示 */
.ms-nav {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: #f1eee6;
}
.ms-nav-item {
    flex: 1 1 0%;
    width: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    min-width: 0;
    padding: 8px 2px 7px;
    border-radius: 11px;
    background: transparent;
    font-size: 12.5px;
    line-height: 1.2;
    text-align: center;
}
.ms-nav-item.active {
    background: #1f5a5a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 90, 90, 0.22);
}
.ms-nav-item.active .ms-nav-icon {
    color: #fff;
}
.ms-nav-icon {
    width: auto;
    font-size: 16px;
    line-height: 1;
}
.ms-nav-label {
    display: none;
}
.ms-nav-short {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.ms-help, .ms-side-logout {
    display: none;
}
.ms-hello {
    margin: 2px 0 12px;
}
.ms-hello-title {
    font-size: 26px;
}
.ms-stats {
    gap: 8px;
}
.ms-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
}
.ms-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
    border-radius: 10px;
}
.ms-stat-value {
    font-size: 16px;
}
.ms-stat-label {
    white-space: normal;
    overflow: visible;
    line-height: 1.35;
}
.ms-section-title {
    font-size: 20px;
}
}
@media (max-width: 380px) {
.ms-offer {
    grid-template-columns: minmax(0, 1fr);
}
.ms-stat-value {
    font-size: 15px;
}
}
@media (max-width: 520px) {
.ms-confirm-actions {
    grid-template-columns: 1fr;
}
}
.ms-kv>span{color:#5b6f6e;flex:0 0 auto}.ms-top-link{display:inline-flex}.ms-profile-main{overflow:hidden}.ms-nav-item{border:0;width:100%;text-decoration:none}.ms-btn,.ms-mini{border:0;text-decoration:none}.ms-stat{text-decoration:none}.ms-line-right form{margin:0}.ms-line-right .ms-mini{display:inline-flex}.ms-foot a{display:inline}.ms-avatar-empty{position:relative;overflow:hidden;color:transparent}.ms-avatar-empty:before{content:"";position:absolute;left:17px;top:10px;width:18px;height:18px;border-radius:50%;background:#c9ccca}.ms-avatar-empty:after{content:"";position:absolute;left:10px;bottom:6px;width:32px;height:19px;border-radius:20px 20px 10px 10px;background:#c9ccca}.ms-empty-text a{font-weight:700}.ms-actions .ms-btn{min-width:0}.ms-card .ms-line:first-of-type{border-top:1px solid #efe9dc}.ms-main>.ms-section{min-width:0}.ms-logout-form{width:100%}.ms-side-logout{background:transparent;width:100%}.ms-btn.danger{width:100%}.ms-line-title{color:#1c3a3d}.ms-order-link{cursor:pointer}.ms-order-link:hover .ms-line-title{color:#1f5a5a}.ms-badge.is-paid{background:#eaf3ea;color:#2d6a3e}.ms-badge.is-pending{background:#f6efe1;color:#8a6d3b}.ms-badge.is-failed,.ms-badge.is-refunded,.ms-badge.is-cancelled{background:#f9e8e3;color:#a03a2a}@media(max-width:900px){.ms-top{margin-bottom:12px}.ms-line{align-items:flex-start}.ms-line-right{max-width:42%}.ms-line-right .ms-mini{justify-content:center}.ms-side{position:static}}@media(max-width:520px){.ms-page{padding-left:14px;padding-right:14px}.ms-card{padding:16px 17px 14px}.ms-line{gap:7px}.ms-line-right{max-width:46%}.ms-mini{padding:6px 11px}.ms-profile{gap:10px}.ms-avatar{width:48px;height:48px}.ms-avatar-empty:before{left:15px}.ms-avatar-empty:after{left:8px}.ms-top-link{padding:7px 11px}}
