/* 4K系统安装助手 · 会员中心（样式 B · 工作台精简） */
:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel2: #1d212b;
  --line: #2a2f3c;
  --text: #e7eaf0;
  --muted: #8b93a5;
  --accent: #4f8cff;
  --accent2: #3aa7f0;
  --ok: #3fb96b;
  --warn: #e0a53c;
  --err: #e05c5c;
  --radius: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 14px/1.6 "Segoe UI", "Microsoft YaHei", sans-serif; }
a { color: var(--accent2); text-decoration: none; }

.b-shell { max-width: 960px; margin: 0 auto; padding: 22px 16px 60px; }
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.b-top h1 { font-size: 19px; margin: 0; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: .5px; }
.logo b { color: var(--accent); }
.b-actions { display: flex; gap: 10px; }

.notice { min-height: 0; margin: 0 0 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--err); font-size: 13px; }
.notice.ok { color: var(--ok); border-color: rgba(63, 185, 107, .45); }

.b-grid { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.card h2 { font-size: 15px; margin: 0 0 4px; }
.card .desc { color: var(--muted); font-size: 12px; margin: 0 0 14px; }

.btn { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); cursor: pointer; font: inherit; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent2); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.b-plan { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--panel2); }
.b-plan.hot { border-color: var(--accent); }
.b-plan .info { flex: 1; min-width: 0; }
.b-plan .nm { font-weight: 600; }
.b-plan .meta { font-size: 12px; color: var(--muted); }
.b-plan .pr { font-size: 20px; font-weight: 700; white-space: nowrap; }
.b-plan .pr small { font-size: 11px; font-weight: 400; color: var(--muted); display: block; text-align: right; }
.b-plan .btn { flex-shrink: 0; }
.b-badge { font-size: 11px; color: var(--accent2); background: rgba(79, 140, 255, .12); border-radius: 20px; padding: 1px 9px; margin-left: 8px; vertical-align: 1px; }
.plan-empty { color: var(--muted); font-size: 13px; padding: 14px 4px; }

.row { display: flex; gap: 10px; }
.row input { flex: 1; min-width: 0; }

.b-adv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.b-adv li { display: flex; gap: 8px; align-items: flex-start; }
.b-adv li svg { width: 15px; height: 15px; stroke: var(--ok); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 4px; }

.auth-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.auth-tabs button { background: none; border: 0; color: var(--muted); border-bottom: 2px solid transparent; padding: 8px 14px; cursor: pointer; font: inherit; }
.auth-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.field input { width: 100%; min-height: 40px; padding: 8px 12px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; outline: none; }
.field input:focus { border-color: var(--accent); }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; letter-spacing: 2px; }

.acc { border-left: 2px solid var(--accent); padding-left: 12px; margin: 12px 0; }
.acc small { display: block; color: var(--muted); font-size: 12px; }
.acc strong { font-size: 15px; overflow-wrap: anywhere; }
.field-note { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.nick-row { display: flex; gap: 10px; margin-top: 6px; }
.nick-row input { flex: 1; min-width: 0; min-height: 36px; padding: 6px 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; outline: none; }
.nick-row input:focus { border-color: var(--accent); }
.nick-row .btn { flex-shrink: 0; }

@media (max-width: 860px) {
  .b-grid { grid-template-columns: 1fr; }
  .b-side { order: -1; }
  .b-top { flex-wrap: wrap; }
}
