/* Monk 用户中心 · monk.party/me（在 monk-ui.css、monk-skin.css 之上） */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
body { min-height: 100dvh; }
.fine { font-size: 12.5px; color: var(--mk-muted); margin: 0; line-height: 1.7; }
.mono { font-family: var(--mk-mono); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--mk-muted); }
.ok-t { color: var(--mk-ok); }
.warn-t { color: var(--mk-warn); }
:root[data-theme="light"] .warn-t { color: #B45309; }
.err-t { color: #F87171; }
:root[data-theme="light"] .err-t { color: #DC2626; }
.mk-btn svg { width: 17px; height: 17px; }
.mk-btn--sm { height: 34px; padding: 0 12px; font-size: 13px; }
.mk-btn--sm svg { width: 15px; height: 15px; }
.mk-btn[disabled] { opacity: .5; pointer-events: none; }
.mk-btn--danger { color: #F87171; }
:root[data-theme="light"] .mk-btn--danger { color: #DC2626; }
.boot { min-height: 60vh; display: grid; place-items: center; color: var(--mk-muted); font-size: 14px; }
.spin { width: 18px; height: 18px; border: 2px solid var(--mk-border-strong); border-top-color: var(--mk-accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 顶栏头像 ---------- */
.me-avatar { width: 30px; height: 30px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--mk-accent); color: var(--u-flame-ink, #1A0B02); font-weight: 800; font-size: 13px; clip-path: var(--u-notch, none); border-radius: 0; }
.me-avatar img { width: 100%; height: 100%; object-fit: cover; }
.me-avatar--lg { width: 56px; height: 56px; font-size: 22px; }
.me-chipbtn { gap: 8px; padding-left: 6px; }
.me-chipbtn .me-avatar { width: 26px; height: 26px; font-size: 12px; }
.me-chipbtn b { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }

/* ---------- 登录 ---------- */
.login { min-height: calc(100dvh - 160px); display: grid; place-items: center; padding: 32px 0 48px; }
.login-card { width: min(100%, 420px); padding: 30px 28px 26px; display: grid; gap: 18px; }
.login-card h1 { margin: 0; font-size: 26px; font-weight: 850; letter-spacing: -.02em; }
.login-card .lede { margin: 0; color: var(--mk-muted); font-size: 14.5px; line-height: 1.7; }
.login-g { width: 100%; justify-content: center; height: 48px; font-weight: 700; }
.login-g svg { width: 18px; height: 18px; }
.login-hint { margin: -4px 0 0; font-size: 12px; line-height: 1.6; text-align: center; color: var(--mk-muted); }
.login-or { display: flex; align-items: center; gap: 12px; color: var(--mk-subtle); font-size: 12.5px; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--mk-border); }
.login form { display: grid; gap: 12px; }
.login label > span { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.login .mk-input input { font-size: 16px; }
.login .go { width: 100%; justify-content: center; height: 48px; }
.code-input input { font-family: var(--mk-mono); font-size: 24px !important; letter-spacing: .5em; text-align: center; padding-left: .5em; font-weight: 700; }
.login-sent { margin: 0; font-size: 14px; line-height: 1.7; }
.login-sent b { word-break: break-all; }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.linkbtn { appearance: none; border: 0; background: none; padding: 0; color: var(--mk-accent-ink); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
:root:not([data-theme="light"]) .linkbtn { color: var(--mk-accent); }
.linkbtn[disabled] { color: var(--mk-subtle); cursor: default; }
.form-err { margin: 0; font-size: 13px; color: #F87171; min-height: 0; }
:root[data-theme="light"] .form-err { color: #DC2626; }
.login-foot { text-align: center; }
.login-foot a { color: var(--mk-text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 布局 ---------- */
.app { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px 0 56px; align-items: start; }
.side { position: sticky; top: 96px; display: grid; gap: 4px; }
.side a { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; color: var(--mk-muted); font-size: 14.5px; font-weight: 650; clip-path: var(--u-notch, none); }
.side a svg { width: 18px; height: 18px; flex: none; }
.side a:hover { color: var(--mk-text); background: var(--mk-surface-2); }
.side a[aria-current="page"] { color: var(--mk-text); background: var(--mk-surface-2); box-shadow: inset 3px 0 0 var(--mk-accent); }
.side a .badge { margin-left: auto; }
.side hr { border: 0; height: 1px; background: var(--mk-border); margin: 10px 0; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--mk-accent); color: var(--u-flame-ink, #1A0B02); font-variant-numeric: tabular-nums; clip-path: var(--u-notch, none); }
.page { display: grid; gap: 18px; min-width: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin-bottom: 2px; }
.page-head h1 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 850; letter-spacing: -.02em; }
.page-head p { margin: 4px 0 0; color: var(--mk-muted); font-size: 14px; }
.page-head .grow { flex: 1; min-width: 0; }
.card { padding: 20px; display: grid; gap: 14px; align-content: start; }
.card > h2, .card-h h2 { margin: 0; font-size: 16px; font-weight: 800; }
.card-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-h .grow { flex: 1; }
.empty { padding: 30px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.empty b { font-size: 16px; }
.empty p { margin: 0; color: var(--mk-muted); font-size: 14px; max-width: 30em; line-height: 1.7; }
.empty .ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--mk-accent-soft); color: var(--mk-accent); clip-path: var(--u-notch, none); }
.empty .ic svg { width: 22px; height: 22px; }

/* 手机：底部导航 */
.bnav { display: none; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; gap: 0; padding: 18px 0 calc(92px + env(safe-area-inset-bottom, 0px)); }
  .side { display: none; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 6px max(6px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-right, 0px)); background: color-mix(in srgb, var(--mk-bg) 86%, transparent); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid var(--mk-border); }
  .bnav a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; color: var(--mk-muted); font-size: 11px; font-weight: 650; -webkit-tap-highlight-color: transparent; }
  .bnav a svg { width: 22px; height: 22px; }
  .bnav a[aria-current="page"] { color: var(--mk-text); }
  .bnav a[aria-current="page"] svg { color: var(--mk-accent); }
  .bnav .badge { position: absolute; top: 2px; left: calc(50% + 6px); height: 16px; min-width: 16px; font-size: 10px; }
  .footer-lite { display: none; }
}

/* ---------- 概览 ---------- */
.hello { display: flex; align-items: center; gap: 14px; }
.hello h1 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 850; letter-spacing: -.02em; }
.hello p { margin: 4px 0 0; color: var(--mk-muted); font-size: 13.5px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 16px 18px; display: grid; gap: 4px; align-content: start; color: inherit; }
a.stat:hover { box-shadow: inset 0 0 0 1px var(--mk-border-strong); }
.stat span { font-size: 12.5px; color: var(--mk-muted); display: flex; align-items: center; gap: 6px; }
.stat span svg { width: 15px; height: 15px; }
.stat strong { font-size: 26px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat strong small { font-size: 14px; font-weight: 650; color: var(--mk-muted); margin-left: 3px; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--mk-muted); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1080px) { .grid2 { grid-template-columns: 1fr; } }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--mk-warn-soft); font-size: 14px; line-height: 1.6; clip-path: var(--u-notch, none); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--mk-warn); }
:root[data-theme="light"] .alert svg { color: #B45309; }
.alert .grow { flex: 1; }
.alert--ok { background: var(--mk-ok-soft); }
.alert--ok svg { color: var(--mk-ok); }
.alert .mk-btn { margin-top: 8px; }

/* ---------- 订阅 / Key ---------- */
.sub { padding: 0; gap: 0; }
.sub-top { padding: 18px 20px 16px; display: grid; gap: 14px; }
.sub-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sub-title h2 { margin: 0; font-size: 17px; font-weight: 800; }
.sub-title .tn { font-family: var(--mk-mono); font-size: 12px; color: var(--mk-subtle); margin-left: auto; }
.keyline { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); min-width: 0; }
.keyline code { flex: 1; min-width: 0; font-family: var(--mk-mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; }
.keyline code.is-shown { white-space: normal; word-break: break-all; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meta div { display: grid; gap: 2px; min-width: 0; }
.meta span { font-size: 12px; color: var(--mk-muted); }
.meta b { font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta b small { font-size: 12px; font-weight: 500; color: var(--mk-muted); margin-left: 4px; }
.bar { height: 6px; background: var(--mk-surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--mk-accent); width: 0; transition: width .6s var(--mk-ease); }
.bar.is-warn i { background: var(--mk-warn); }
.bar.is-bad i { background: #F87171; }
.bar-l { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--mk-muted); margin-top: -8px; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--mk-border); background: color-mix(in srgb, var(--mk-surface-2) 55%, transparent); }
.sub-actions .grow { flex: 1; }
.sub-panel { border-top: 1px solid var(--mk-border); padding: 18px 20px; display: grid; gap: 16px; }
.sub.is-dim .sub-top { opacity: .72; }

.chart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; align-items: end; height: 120px; padding-top: 8px; }
.chart div { position: relative; display: grid; align-items: end; height: 100%; }
.chart i { display: block; background: var(--mk-accent); min-height: 2px; opacity: .85; }
.chart i.zero { background: var(--mk-surface-3); opacity: 1; }
.chart div:hover i { opacity: 1; }
.chart div[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--mk-text); color: var(--mk-bg); font-size: 11.5px; padding: 4px 8px; pointer-events: none; z-index: 2; }
.chart-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--mk-subtle); margin-top: -10px; font-family: var(--mk-mono); }
.fam { display: flex; flex-wrap: wrap; gap: 6px; }
.fair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .fair { grid-template-columns: 1fr; } }
.fair > div { display: grid; gap: 6px; }
.fair span { font-size: 12.5px; color: var(--mk-muted); display: flex; justify-content: space-between; }
.fair span b { color: var(--mk-text); font-variant-numeric: tabular-nums; }
.mini { display: grid; gap: 0; }
.mini li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--mk-border); font-size: 13px; }
.mini li:last-child { border-bottom: 0; }
.mini time { font-family: var(--mk-mono); font-size: 12px; color: var(--mk-muted); }
.mini li b { font-variant-numeric: tabular-nums; font-weight: 650; }
ul.mini { list-style: none; margin: 0; padding: 0; }
.h3 { margin: 0; font-size: 13px; font-weight: 750; color: var(--mk-text-2); }

.cfg { display: grid; gap: 10px; }
.cfg-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); font-size: 13.5px; }
.cfg-row span { color: var(--mk-muted); font-size: 12.5px; }
.cfg-row code { font-family: var(--mk-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--mk-mono); font-size: 12.5px; line-height: 1.7; background: var(--mk-surface-2); clip-path: var(--u-notch, none); white-space: pre; }
.code-wrap { position: relative; }
.code-wrap .mk-btn { position: absolute; top: 8px; right: 8px; }

/* ---------- 订单 ---------- */
.seg-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button { appearance: none; border: 0; background: none; height: 34px; padding: 0 14px; font: inherit; font-size: 13px; font-weight: 650; color: var(--mk-muted); cursor: pointer; white-space: nowrap; clip-path: var(--u-notch, none); }
.seg button[aria-pressed="true"] { background: var(--mk-surface); color: var(--mk-text); box-shadow: inset 0 0 0 1px var(--mk-border); }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.order { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--mk-border); }
.order:last-child { border-bottom: 0; }
.order .oi { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; background: var(--mk-surface-2); color: var(--mk-text-2); clip-path: var(--u-notch, none); }
.order .oi svg { width: 18px; height: 18px; }
.order .oi.k-api { color: var(--mk-accent); background: var(--mk-accent-soft); }
.order .oi.k-opus { color: #A78BFA; background: rgba(139, 92, 246, .13); }
.order .oi.k-store { color: var(--mk-info); background: var(--mk-info-soft); }
.order h3 { margin: 0; font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order .amt { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.order .sub2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--mk-muted); min-width: 0; }
.order .sub2 .mono { font-size: 11.5px; }
.order .acts { display: flex; gap: 6px; justify-content: flex-end; }
.order .acts a { font-size: 12.5px; font-weight: 650; color: var(--mk-text-2); display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); }
.order .acts a:hover { color: var(--mk-text); background: var(--mk-surface-3); }
.order .acts a svg { width: 13px; height: 13px; }
@media (max-width: 560px) {
  .order { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 14px 16px; }
  .order .oi { width: 32px; height: 32px; }
  .order .acts { grid-column: 2 / -1; justify-content: flex-start; margin-top: 4px; }
}
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket { padding: 14px 16px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); display: grid; gap: 8px; font-size: 13.5px; }
.ticket-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ticket-h b { font-weight: 700; }
.ticket-h time { margin-left: auto; font-size: 12px; color: var(--mk-muted); font-family: var(--mk-mono); }
.ticket p { margin: 0; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.ticket .reply { padding: 10px 12px; background: var(--mk-surface); border-left: 3px solid var(--mk-accent); }
.ticket .reply span { display: block; font-size: 12px; color: var(--mk-muted); margin-bottom: 2px; }

/* ---------- Opus ---------- */
.op-bal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.op-bal span { font-size: 12.5px; color: var(--mk-muted); }
.op-bal strong { display: block; font-size: 40px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.op-bal strong small { font-size: 18px; color: var(--mk-muted); font-weight: 700; margin-right: 2px; }
.op-card { box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .34) !important; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amounts button { appearance: none; border: 0; height: 48px; background: var(--mk-surface-2); font: inherit; font-size: 15px; font-weight: 750; color: var(--mk-text); cursor: pointer; clip-path: var(--u-notch, none); font-variant-numeric: tabular-nums; }
.amounts button[aria-pressed="true"] { background: var(--mk-accent-soft); box-shadow: inset 0 0 0 1px var(--mk-accent-line); color: var(--mk-accent-ink); }
:root:not([data-theme="light"]) .amounts button[aria-pressed="true"] { color: var(--mk-accent); }
.paybtns { display: flex; flex-wrap: wrap; gap: 8px; }
.paybtns .mk-btn { flex: 1; justify-content: center; min-width: 9em; height: 46px; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--mk-border); font-size: 13.5px; }
.ledger li:last-child { border-bottom: 0; }
.ledger li b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 750; }
.ledger li b.plus { color: var(--mk-ok); }
.ledger li em { font-style: normal; font-size: 12px; color: var(--mk-muted); font-family: var(--mk-mono); }
.ledger li em:last-child { text-align: right; }

/* ---------- 邀请 ---------- */
.ref-link { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; background: var(--mk-surface-2); clip-path: var(--u-notch, none); }
.ref-link code { flex: 1; min-width: 0; font-family: var(--mk-mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ---------- 账号 ---------- */
.prof { display: flex; align-items: center; gap: 16px; }
.prof .grow { flex: 1; min-width: 0; }
.prof h2 { margin: 0; font-size: 18px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.prof p { margin: 2px 0 0; font-size: 13.5px; color: var(--mk-muted); word-break: break-all; }
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: grid; grid-template-columns: 8em minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mk-border); font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--mk-muted); font-size: 13px; }
.kv dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .kv > div { grid-template-columns: 6.5em minmax(0, 1fr) auto; gap: 8px; } }
.sess { list-style: none; margin: 0; padding: 0; }
.sess li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mk-border); }
.sess li:last-child { border-bottom: 0; }
.sess .si { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; background: var(--mk-surface-2); clip-path: var(--u-notch, none); color: var(--mk-text-2); }
.sess .si svg { width: 18px; height: 18px; }
.sess b { font-size: 14px; font-weight: 700; }
.sess span { font-size: 12.5px; color: var(--mk-muted); }
.sess .mk-btn { grid-row: span 2; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--mk-border); font-size: 13.5px; }
.events li:last-child { border-bottom: 0; }
.events em { font-style: normal; color: var(--mk-muted); font-size: 12px; font-family: var(--mk-mono); }
.events time { font-size: 12px; color: var(--mk-muted); font-family: var(--mk-mono); text-align: right; }
.row-toggle { display: flex; align-items: center; gap: 14px; }
.row-toggle .grow { flex: 1; }
.row-toggle b { display: block; font-size: 14.5px; }
.row-toggle span { font-size: 13px; color: var(--mk-muted); }

/* ---------- 弹窗 ---------- */
.sheet-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.sheet-h h2 { margin: 0; font-size: 19px; font-weight: 850; flex: 1; }
.sheet-h p { margin: 6px 0 0; font-size: 13.5px; color: var(--mk-muted); line-height: 1.7; }
.sheet-body { display: grid; gap: 14px; }
.mk-sheet-foot .mk-btn { flex: 1; justify-content: center; height: 46px; }
.mk-sheet { max-width: 520px; }
@media (min-width: 761px) {
  .mk-sheet.is-dialog { top: 50%; left: 50%; right: auto; bottom: auto; width: min(460px, calc(100vw - 32px)); max-height: 86vh; transform: translate(-50%, -46%) scale(.98); opacity: 0; border-left: 0; transition: transform .35s var(--mk-ease), opacity .25s, visibility .35s; clip-path: var(--u-notch-lg, none); box-shadow: inset 0 0 0 1px var(--mk-border), var(--mk-shadow-2); }
  .mk-sheet.is-dialog.is-open { transform: translate(-50%, -50%); opacity: 1; }
}
.newkey { display: grid; gap: 10px; padding: 16px; background: var(--mk-ok-soft); clip-path: var(--u-notch, none); }
.newkey code { font-family: var(--mk-mono); font-size: 14px; word-break: break-all; font-weight: 700; }
.checklist { margin: 0; padding-left: 1.1em; color: var(--mk-text-2); font-size: 14px; line-height: 1.8; }
.paypick { display: grid; gap: 8px; }
.paypick button { appearance: none; border: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--mk-surface-2); font: inherit; color: var(--mk-text); text-align: left; cursor: pointer; clip-path: var(--u-notch, none); }
.paypick button:hover { background: var(--mk-surface-3); }
.paypick button svg { width: 24px; height: 24px; flex: none; }
.paypick button b { display: block; font-size: 15px; }
.paypick button span { font-size: 12.5px; color: var(--mk-muted); }

.footer-lite { padding: 24px 0 40px; border-top: 1px solid var(--mk-border); margin-top: 24px; font-size: 12.5px; color: var(--mk-muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-lite a:hover { color: var(--mk-text); }
@media (prefers-reduced-motion: reduce) { .bar i, .spin { transition: none; animation: none; } }
.oi-sq { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--mk-accent-soft); color: var(--mk-accent); clip-path: var(--u-notch, none); }
.oi-sq svg { width: 20px; height: 20px; }
#themeBtn .t-sun { display: none; }
:root[data-theme="dark"] #themeBtn .t-sun { display: block; }
:root[data-theme="dark"] #themeBtn .t-moon { display: none; }
.orders--compact .acts, .orders--compact .mono { display: none; }
.orders--compact .order { grid-template-columns: 32px minmax(0, 1fr) auto; }
.orders--compact .order .oi { width: 32px; height: 32px; }

/* 付款二维码 */
.payqr { width: 216px; height: 216px; margin: 4px auto 0; padding: 8px; background: #fff; display: grid; place-items: center; clip-path: var(--u-notch, none); }
.payqr svg, .payqr img { width: 200px; height: 200px; display: block; }
.payqr .spin { border-color: #ddd; border-top-color: var(--mk-accent); }
.payst { text-align: center; }
.mk-sheet-foot a.mk-btn { flex: 1; justify-content: center; height: 46px; }

/* 退款申请 */
.rf-row{display:flex;align-items:center;gap:12px;margin:6px 0 2px}
