/* BilzatWeb 个人中心 · OPC 风格工作台，能力仍是 KYC / 资金 / API */
.os-pc-hero .page-hero { padding: 40px 0 28px; }
.os-pc-hero h1 { margin-bottom: 8px; }
.os-pc {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 8px 0 56px;
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.os-pc .tabs {
  display: grid;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.os-pc .tab {
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 0;
  border-radius: 10px;
  text-align: left;
}
.os-pc .tab.active { color: #fff; background: var(--accent); }
.os-pc .pc-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 28px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.os-pc .balance-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2848 55%, var(--bp-purple) 160%);
  color: #f8f4ec;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.os-pc .bc-label { font-size: 13px; opacity: 0.85; }
.os-pc .bc-value { font-size: 32px; font-weight: 800; margin: 6px 0 12px; letter-spacing: 0.02em; }
.os-pc .bc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.os-pc .bc-channels { margin-top: 12px; font-size: 12px; opacity: 0.75; }
.os-pc .fund-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 16px;
  margin-bottom: 14px;
  background: #fff;
}
.os-pc .amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}
.os-pc .amt {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.os-pc .amt.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.os-pc .pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.os-pc .pay-card {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  display: grid;
  gap: 4px;
}
.os-pc .pay-card strong { color: var(--ink); font-size: 14px; }
.os-pc .pay-card span { color: var(--muted); font-size: 12px; }
.os-pc .pay-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.os-pc .qr-box {
  margin-top: 14px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 14px;
}
.os-pc .tx-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.os-pc .filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
}
.os-pc .filter-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.os-pc .tx-table { width: 100%; border-collapse: collapse; font-size: 13px; background: transparent; }
.os-pc .tx-table th, .os-pc .tx-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}
.os-pc .tx-table .empty { text-align: center; color: var(--muted); padding: 28px 8px; }
.os-pc .tx-table .up { color: var(--accent-2); font-weight: 700; }
.os-pc .tx-table .down { color: #b42318; font-weight: 700; }
.os-pc .section-heading { font-size: 16px; font-weight: 800; color: var(--ink); margin: 18px 0 12px; }
.os-pc .avatar-wrap { display: grid; justify-items: center; gap: 8px; margin-bottom: 8px; }
.os-pc .avatar {
  width: 88px; height: 88px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--accent-soft);
  display: grid; place-items: center; font-size: 28px; font-weight: 800; color: var(--accent);
  overflow: hidden; position: relative; padding: 0;
}
.os-pc button.avatar {
  cursor: pointer; font: inherit;
}
.os-pc button.avatar:hover { border-color: var(--accent); }
.os-pc button.avatar:hover::after {
  content: "更换";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(17, 17, 17, 0.45);
  color: #fff; font-size: 13px; font-weight: 700;
}
.os-pc .avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.os-pc .avatar-tip { font-size: 12px; color: var(--muted); }
.os-pc .kyc-level {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-border); margin-bottom: 16px;
}
.os-pc .level-title { font-weight: 800; }
.os-pc .level-desc { margin-top: 4px; font-size: 13px; color: var(--muted); }
.os-pc .badge {
  background: var(--accent); color: #fff; font-weight: 800;
  border-radius: 8px; padding: 6px 10px; font-size: 13px;
}
.os-pc .block { margin-bottom: 16px; }
.os-pc .field-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.os-pc .field-label small { margin-left: 8px; font-weight: 400; color: var(--muted); }
.os-pc .verify-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.os-pc .verify-row .input { flex: 1; min-width: 180px; }
.os-pc .verify-code-row { margin-top: 8px; }
.os-pc .tag {
  font-size: 12px; border-radius: 999px; padding: 4px 10px;
  background: #f3f4f6; color: var(--muted); font-weight: 700;
}
.os-pc .tag.ok { background: #e6f6f0; color: var(--accent-2); }
.os-pc .tag.wait { background: #fff6e8; color: var(--warn); }
.os-pc .link-btn, .os-pc .link, .os-pc .back {
  border: 0; background: none; color: var(--accent); cursor: pointer; font-weight: 700; padding: 0;
}
.os-pc .verified-box, .os-pc .alert {
  border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.6;
}
.os-pc .verified-box { background: #eefbf5; border: 1px solid #c6eadb; }
.os-pc .vb-title { font-weight: 800; margin-bottom: 4px; }
.os-pc .vb-tip { color: var(--muted); margin-top: 6px; }
.os-pc .alert { background: #fff6e8; border: 1px solid #f0d7b0; color: #6a4a18; margin-bottom: 12px; }
.os-pc .rn-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.os-pc .rn-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.os-pc .rn-card h4 { margin: 0 0 6px; }
.os-pc .rn-card p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.os-pc .rn-panel { display: grid; gap: 10px; }
.os-pc .field { display: grid; gap: 6px; font-size: 13px; }
.os-pc .field i { color: #b42318; font-style: normal; margin-right: 4px; }
.os-pc .agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.os-pc .agree input { width: auto; }
.os-pc .rn-actions { display: flex; gap: 8px; }
.os-pc .hint, .os-pc .muted, .os-pc .verified-line { font-size: 13px; color: var(--muted); }
.os-pc .ok { color: var(--accent-2); }
.os-pc .err { color: #b42318; }
.os-pc .btn.ghost { background: #fff; }
.os-pc .btn.sm { padding: 6px 12px; font-size: 13px; }
.os-pc .btn.save { margin-top: 8px; }
.os-pc .key-once {
  background: #111; color: #efe9dc; padding: 12px; border-radius: 10px;
  font-family: var(--mono); font-size: 12px; word-break: break-all;
}
.os-pc .ma-pipe {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 14px 0 8px;
}
.os-pc .ma-step {
  background: #fbfbfe;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.os-pc .ma-step.on { border-color: rgba(22, 163, 74, 0.45); background: #f4fbf6; }
.os-pc .ma-step.wait { border-color: rgba(217, 119, 6, 0.4); background: #fffbeb; }
.os-pc .ma-step .ma-k { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.os-pc .ma-step .ma-t { margin-top: 4px; font-size: 15px; font-weight: 750; }
.os-pc .ma-step .ma-d { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.os-pc .ma-arr { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.os-pc .ma-legend { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.os-pc .ma-probe-out {
  background: #111;
  color: #efe9dc;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  margin: 0 0 14px;
}
.os-pc .pc-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.os-pc .ic-card-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.os-pc .ic-card-h h3 { margin: 0; font-size: 16px; font-weight: 750; }
.os-pc .ma-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 14px;
}
.os-pc .ma-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.os-pc .ma-field.span2 { grid-column: 1 / -1; }
.os-pc .ma-field .input { width: 100%; }
.os-pc .ma-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.os-pc .ma-probe-out {
  background: #111;
  color: #efe9dc;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  margin: 0;
  min-height: 48px;
}
.os-pc .ma-guest-tip { margin-top: 10px; }
.os-pc .run-sub { margin: 0 0 12px; }
.os-pc .panel-rundata.logs-shell { padding: 0; }
.os-pc .logs-full-table { min-width: 980px; }
@media (max-width: 860px) {
  .os-pc { grid-template-columns: 1fr; }
  .os-pc .tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .os-pc .tab { text-align: center; }
  .os-pc .ma-pipe { grid-template-columns: 1fr; }
  .os-pc .ma-arr { display: none; }
  .os-pc .ma-form-grid { grid-template-columns: 1fr; }
  .os-pc .rn-choose, .os-pc .pay-row, .os-pc .amount-grid { grid-template-columns: 1fr; }
}
