/* ══════════ 页面局部:会员订阅(/member/ 与 /en/member/ 共用)══════════
   颜色、圆角、按钮、字体全在 v2.css(.mm-tag / .mm-cycle 这组小标也在 v2.css,和顶栏面板同一组值);
   这里只有这一页的排版。卡片的样子取自原价格页。⛔ 不另起一套 token。
   ⛔ 不许写 `padding` 简写:<header class="m-head wrap">,简写会把 .wrap 的左右留白清零。 */

.m-head { padding-block: 64px 0; text-align: center; }
.m-head h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; line-height: 1.35; letter-spacing: .01em; }
.m-head .sub { color: var(--second); font-size: 15.5px; max-width: 32em; margin: 12px auto 0; }

.m-top { margin-top: 36px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.tbd {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10.5px; color: var(--faint);
  border: 1px dashed var(--line2); border-radius: 999px; padding: 0 7px; line-height: 1.7;
}
.m-note { font-size: 12.5px; color: var(--faint); margin-top: 6px; line-height: 1.6; }

/* A · 已登录:状态卡 */
.m-status {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  max-width: 860px; margin: 0 auto; overflow: hidden;
}
.m-status.on { border-color: color-mix(in srgb, var(--coral) 40%, var(--line)); }
.m-status-main { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.m-status-side { padding: 18px 28px 22px; }
.m-status-head { display: flex; align-items: center; gap: 8px; }
.m-status-big {
  font-family: "Newsreader", Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1.25;
  margin-top: 14px; font-variant-numeric: tabular-nums;
}
:lang(zh) .m-status-big { font-family: inherit; font-size: 24px; font-weight: 600; }
.m-status-mail { font-size: 12.5px; color: var(--faint); margin-top: 6px; }
.m-acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.m-acts .btn { padding: 10px 22px; font-size: 14px; }

.m-kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.m-status-side > :first-child { border-top: 0; }
.m-kv .k { color: var(--second); }
.m-kv .v { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.m-kv + .m-note { margin-top: -6px; margin-bottom: 6px; }
.m-meter { border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.m-meter-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; }
.m-meter .k { color: var(--second); }
.m-meter .v { font-size: 13px; color: var(--ink); }
.m-bar { height: 6px; border-radius: 999px; background: var(--stage-b); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 999px; background: var(--coral); }


/* 下半:两档卡片 */
.m-plans-wrap { max-width: 860px; margin: 56px auto 0; }
.m-plans-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.m-plans-head h2 { font-size: 20px; font-weight: 600; }
.cycle {
  display: flex; width: max-content; padding: 4px;
  border: 1px solid var(--line2); border-radius: 999px; background: var(--capsule);
}
.cycle button {
  font: inherit; font-size: 13.5px; color: var(--second); background: transparent;
  border: 0; border-radius: 999px; padding: 6px 18px; cursor: pointer;
}
.cycle button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.cycle button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.m-plans {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow);
}
.m-plan { display: flex; flex-direction: column; padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.m-plan:last-child { border-right: 0; }
.m-plan.is-mine { background: color-mix(in srgb, var(--coral-tint) 45%, var(--card)); }
.m-plan-top { display: flex; align-items: center; justify-content: space-between; }
.m-plan h3 {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.m-mine { font-size: 12px; color: var(--coral-ink); border: 1px solid var(--coral); border-radius: 999px; padding: 1px 9px; }
.m-mine[hidden] { display: none; }
.m-plan .for { font-size: 13.5px; color: var(--second); margin-top: 4px; }
.m-plan .price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.m-plan .amount {
  font-family: "Newsreader", Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.15;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.m-plan .per { font-size: 13px; color: var(--second); }
.m-plan .alt { font-size: 13px; color: var(--faint); margin-top: 2px; }
.m-plan ul { list-style: none; padding: 0; margin-top: 16px; flex: 1; font-size: 14px; color: var(--second); }
.m-plan li { position: relative; padding-left: 16px; margin-bottom: 8px; line-height: 1.65; }
.m-plan li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--coral); opacity: .55;
}
.m-plan .btn { margin-top: 20px; text-align: center; }
.btn-block { display: block; width: 100%; }
.m-paynote { text-align: center; font-size: 13px; color: var(--second); margin-top: 16px; }
.m-taxnote + .m-paynote { margin-top: 4px; }

.faq { max-width: 640px; margin: 72px auto 0; }
.faq > h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.qa { border-top: 1px solid var(--line); padding: 18px 0; }
.qa h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.qa p { font-size: 14.5px; color: var(--second); margin-top: 6px; }


/* 没登录时顶上那张卡 */
.m-out {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  max-width: 860px; margin: 0 auto; padding: 20px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.m-out p { font-size: 14.5px; color: var(--second); }
.m-out .m-out-acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.m-out .m-note { margin-top: 0; font-size: 13.5px; }
.m-plan .amount.soon { font-family: inherit; font-size: 17px; font-weight: 500; color: var(--faint); }
.m-plan .alt:empty { display: none; }
.m-plans-head .cycle[hidden] { display: none; }
.qa p[hidden] { display: none; }
.m-status-mail { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  /* 手机上只留打了 nav-keep 的项,和别的页同一条规矩(见 v2.css 顶栏那段) */
  .navlinks a:not(.nav-cta):not(.nav-keep), .navlinks .soon { display: none; }
  .m-head { padding-top: 40px; }
  main.wrap, .m-head.wrap { padding-left: 16px; padding-right: 16px; }
  .m-top { margin-top: 26px; }
  .m-status { grid-template-columns: 1fr; }
  .m-status-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .m-status-side { padding: 10px 20px 16px; }
  .m-plans { grid-template-columns: 1fr; }
  .m-plan { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 20px 22px; }
  .m-plan:last-child { border-bottom: 0; }
  .faq { margin-top: 56px; }
}
