.bc-console, .bc-auth {
  --bcc-ink: #17294d;
  --bcc-muted: #586982;
  --bcc-blue: #2e61e6;
  --bcc-line: #dce4ef;
  --bcc-pale: #edf3ff;
  color: var(--bcc-ink);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
.bc-console *, .bc-auth * { box-sizing: border-box; }
.bc-console a, .bc-auth a { color: var(--bcc-blue); text-decoration: none; }
.bc-console a:hover, .bc-auth a:hover { text-decoration: underline; }
.bc-console button, .bc-auth button, .bc-auth input { font: inherit; }
.bc-console :is(button,a,input):focus-visible, .bc-auth :is(button,a,input):focus-visible { outline: 3px solid #78a3ff; outline-offset: 3px; }
.bc-console [hidden], .bc-auth [hidden] { display: none !important; }
.bc-console :is(h1,h2,h3,p,dl,dd), .bc-auth :is(h1,h2,p) { margin: 0; }
.bc-console { min-height: 68vh; padding: 42px clamp(18px, 4.7vw, 76px) 80px; background: #f5f7fb; }
.bcc-wrap { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 32px; max-width: 1350px; margin: 0 auto; align-items: start; }
.bcc-sidebar, .bcc-card, .bcc-stat { border: 1px solid var(--bcc-line); border-radius: 15px; background: white; box-shadow: 0 5px 18px #1f3d6b07; }
.bcc-sidebar { position: sticky; top: 94px; padding: 21px 13px 13px; }
.bcc-side-title { display: flex; align-items: center; gap: 9px; color: var(--bcc-muted); font-size: 12px; font-weight: 650; padding: 0 9px 18px; }
.bcc-sidebar nav { display: grid; gap: 4px; }
.bc-console .bcc-nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 9px; color: #41516e; font-size: 14px; font-weight: 550; }
.bc-console .bcc-nav-link:is(.on,:hover) { background: var(--bcc-pale); color: var(--bcc-blue); text-decoration: none; }
.bcc-side-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--bcc-line); margin: 21px -1px 0; padding: 16px 4px 0; }
.bcc-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #edf2ff; color: #5376c3; flex-shrink: 0; }
.bcc-account { min-width: 0; flex: 1; }
.bcc-account span, .bcc-account strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcc-account span { color: var(--bcc-muted); font-size: 10px; }
.bcc-account strong { font-size: 12px; font-weight: 650; }
.bcc-icon-btn, .bcc-pwd button { border: 0; background: transparent; color: var(--bcc-muted); cursor: pointer; padding: 7px; display: inline-grid; place-items: center; border-radius: 7px; }
.bcc-icon-btn:hover, .bcc-pwd button:hover { background: var(--bcc-pale); color: var(--bcc-blue); }
.bcc-content { min-width: 0; }
.bcc-crumb { color: var(--bcc-muted); font-size: 12px; display: flex; gap: 9px; align-items: center; }
.bcc-crumb span { color: #9aabc2; }
.bcc-heading, .bcc-card-title, .bcc-detail-top, .bcc-total { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.bcc-heading { margin: 7px 0 24px; }
.bc-console h1 { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.045em; line-height: 1.35; font-weight: 730; color: var(--bcc-ink); }
.bc-console h2 { font-size: 17px; font-weight: 680; color: var(--bcc-ink); }
.bc-console h3 { font-size: 15px; font-weight: 650; }
.bcc-btn, .bc-console a.bcc-btn { min-height: 38px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.35; }
.bcc-btn.primary, .bc-console a.bcc-btn.primary { background: var(--bcc-blue); color: #fff; box-shadow: 0 3px 7px #295cc71c; }
.bcc-btn.primary:hover, .bc-console a.bcc-btn.primary:hover { background: #214fca; text-decoration: none; }
.bcc-btn.subtle { background: #fff; border-color: var(--bcc-line); color: #2e4161; }
.bcc-btn.subtle:hover { background: #f1f5fc; }
.bcc-btn.danger { background: #ac312e; color: #fff; }
.bcc-btn.danger:not(:disabled):hover { background: #8d2522; }
.bcc-btn:disabled { opacity: .51; cursor: not-allowed; }
.bcc-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 0 0 20px; }
.bc-console .bcc-stat { display: block; padding: 18px 20px; color: var(--bcc-ink); }
.bc-console .bcc-stat:hover { text-decoration: none; border-color: #acbddf; }
.bcc-stat-head, .bcc-stat-value { display: flex; align-items: center; gap: 10px; }
.bcc-stat-head { font-size: 13px; color: #52647e; }
.bcc-stat-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; }
.bcc-stat-value { margin-top: 13px; gap: 8px; font-size: 30px; font-weight: 680; line-height: 1.15; letter-spacing: -.04em; }
.bcc-stat-value span { align-self: flex-end; color: var(--bcc-muted); font-size: 12px; font-weight: 450; letter-spacing: 0; }
.bcc-card { overflow: hidden; }
.bcc-card + .bcc-card { margin-top: 18px; }
.bcc-card-title { min-height: 66px; padding: 16px 23px; border-bottom: 1px solid #eaf0f5; }
.bcc-text-link, .bc-console a.bcc-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--bcc-blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.bcc-text-link:hover { text-decoration: underline; }
.bcc-empty, .bcc-loading { display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: 7px; padding: 33px 20px 36px; }
.bcc-empty-icon { display: inline-flex; background: var(--bcc-pale); padding: 12px; color: #668ada; border-radius: 13px; margin-bottom: 3px; }
.bcc-empty strong { font-size: 15px; }
.bcc-empty p, .bcc-muted { color: var(--bcc-muted); }
.bcc-empty p { font-size: 13px; }
.bcc-empty .bcc-text-link { margin-top: 4px; }
.bcc-loading { min-height: 320px; color: var(--bcc-muted); }
.bcc-table-wrap { overflow-x: auto; }
.bcc-table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; text-align: left; font-size: 13px; }
.bcc-table-wrap th { background: #f8fafd; color: var(--bcc-muted); font-size: 12px; font-weight: 560; }
.bcc-table-wrap td, .bcc-table-wrap th { padding: 13px 12px; border-bottom: 1px solid #eaf0f5; }
.bcc-table-wrap tr :is(th,td):first-child { padding-left: 23px; }
.bcc-table-wrap tr :is(th,td):last-child { padding-right: 23px; }
.bcc-table-wrap tbody tr:last-child td { border-bottom: none; }
.bc-console .bcc-name { font-weight: 650; color: var(--bcc-ink); overflow-wrap: anywhere; }
.bcc-sub { display: block; margin-top: 2px; color: var(--bcc-muted); font-size: 12px; overflow-wrap: anywhere; }
.bcc-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bcc-last { text-align: right; white-space: nowrap; }
.bcc-badge { display: inline-flex; font-weight: 600; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 100px; white-space: nowrap; font-size: 12px; }
.bcc-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.bcc-green { background: #e8f7ee; color: #23754b; }
.bcc-blue { background: #eaf1ff; color: #3565c6; }
.bcc-gray { background: #edf0f4; color: #57657a; }
.bcc-amber { background: #fff2dc; color: #875417; }
.bcc-red { background: #ffe8e8; color: #a62e3e; }
.bcc-violet { background: #f0ebff; color: #7751ba; }
.bcc-detail-top, .bcc-facts, .bcc-total, .bcc-instance-ops, .bcc-credential, .bcc-secrets { padding: 19px 23px; }
.bcc-detail-top h3 { font-size: 19px; margin-bottom: 3px; }
.bcc-detail-top code, .bcc-callout code { color: #53637d; font-family: ui-monospace, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.bcc-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 26px; background: #fafbfd; border-block: 1px solid #eaf0f5; }
.bcc-facts dt, .bcc-secrets dt { font-size: 12px; color: var(--bcc-muted); margin-bottom: 3px; }
.bcc-facts dd { font-weight: 580; overflow-wrap: anywhere; }
.bcc-total strong { font-size: 24px; color: var(--bcc-blue); letter-spacing: -.035em; }
.bcc-callout, .bcc-confirm { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.bcc-callout { background: #f0f5ff; border: 1px solid #dce6fc; margin: 0 23px 22px; padding: 15px; border-radius: 10px; }
.bcc-callout p, .bcc-credential p { font-size: 13px; color: var(--bcc-muted); margin-top: 3px; white-space: pre-line; }
.bcc-paybox { padding: 22px 23px; display: grid; gap: 13px; }
.bcc-pay-head,.bcc-pay-amount { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bcc-pay-head span { color: var(--bcc-muted); font-size: 13px; }
.bcc-pay-head b { color: #8b5516; font-variant-numeric: tabular-nums; }
.bcc-pay-amount { padding: 14px 16px; border: 1px solid #dbe7ff; background: #f1f6ff; border-radius: 10px; }
.bcc-paybox small { display: block; color: var(--bcc-muted); font-size: 12px; }
.bcc-pay-amount strong { color: var(--bcc-blue); font-size: 29px; font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; }
.bcc-pay-amount em { font-style: normal; font-size: 13px; }
.bcc-paybox p { color: var(--bcc-muted); font-size: 13px; }
.bcc-paybox .primary { justify-self: start; }
.bcc-transfer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.bcc-payment-qr { flex: none; margin: 0; text-align: center; }
.bcc-qr-image { display: block; box-sizing: content-box; width: 185px; height: auto; max-width: 100%; background: #fff; border: 1px solid var(--bcc-line); border-radius: 6px; }
.bcc-payment-qr figcaption { margin-top: 5px; font-size: 12px; color: var(--bcc-muted); }
.bcc-transfer-details { flex: 1 1 260px; min-width: 0; display: grid; gap: 13px; }
.bcc-transfer-details p strong { color: var(--bcc-ink); }
.bcc-address { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bcc-address small { flex-basis: 100%; }
.bcc-address code { min-width: 0; font-size: 14px; color: var(--bcc-ink); overflow-wrap: anywhere; user-select: all; }
.bcc-order-contact { border-top: 1px solid var(--bcc-line); padding: 13px 23px; }
.bcc-copy-result { color: #267147; font-size: 12px; }
.bcc-copy-result:empty { display: none; }
.bcc-facts + .bcc-callout { margin-top: 17px; }
.bcc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bcc-instance-ops .bcc-actions { margin-top: 10px; }
.bcc-card > .bcc-actions { padding: 0 23px 22px; }
.bcc-credential { display: flex; align-items: center; gap: 15px; justify-content: space-between; }
.bcc-credential strong { display: flex; align-items: center; gap: 7px; }
.bcc-secrets { border-top: 1px solid var(--bcc-line); background: #f5f8fd; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.bcc-secrets dd { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; user-select: all; white-space: pre-wrap; }
.bcc-confirm { margin-top: 13px; border-top: 1px solid var(--bcc-line); padding-top: 13px; justify-content: flex-start; flex-wrap: wrap; }
.bcc-confirm span { flex: 1 1 220px; }
.bcc-renew { min-width: 0; margin: 17px 0 0; padding: 12px 14px 15px; border: 1px solid var(--bcc-line); border-radius: 10px; }
.bcc-renew legend { font-size: 14px; padding: 0 5px; font-weight: 650; }
.bcc-renew-price { min-height: 20px; margin: 13px 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.bcc-rebuild { min-width: 0; margin: 17px 0 0; padding: 12px 16px 16px; border: 1px solid #e6c7c3; border-radius: 10px; }
.bcc-rebuild legend { padding: 0 5px; color: #96352d; font-weight: 650; }
.bcc-rebuild p { margin: 0 0 14px; color: #833e38; }
.bcc-rebuild label { display: block; margin: 10px 0; font-size: 13px; font-weight: 600; }
.bcc-rebuild :is(select,input) { display: block; width: min(100%,420px); min-height: 39px; margin-top: 5px; padding: 7px 10px; border: 1px solid var(--bcc-line); border-radius: 6px; background: white; color: var(--bcc-ink); font: inherit; }
.bcc-renew-cycles { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 8px; }
.bcc-renew-cycles label { position: relative; display: grid; grid-template-columns: 17px 1fr; gap: 3px 5px; border: 1px solid var(--bcc-line); border-radius: 8px; padding: 10px 9px; cursor: pointer; }
.bcc-renew-cycles label:has(input:checked) { border-color: var(--bcc-blue); background: var(--bcc-pale); }
.bcc-renew-cycles input { align-self: center; margin: 0; accent-color: var(--bcc-blue); }
.bcc-renew-cycles strong { grid-column: 2; font-size: 16px; color: var(--bcc-ink); }
.bcc-error { padding: 11px 14px; margin: 0 0 15px !important; color: #9f2632; background: #fff1f2; border-radius: 8px; font-size: 13px; }
.bcc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bc-auth { min-height: 70vh; display: grid; align-items: center; background: #f5f7fb; padding: 52px 20px 70px; }
.bcc-auth-card { width: min(890px,100%); margin: auto; display: grid; grid-template-columns: .92fr 1fr; border-radius: 22px; border: 1px solid var(--bcc-line); background: white; overflow: hidden; box-shadow: 0 16px 42px #273e6610; }
.bcc-auth-panel { min-height: 475px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: radial-gradient(ellipse at 80% 16%, #e3eeff, transparent 60%), linear-gradient(146deg,#edf4ff,#dfeaff 74%,#f0f5ff); }
.bcc-auth-wordmark { display: flex; align-items: center; gap: 8px; font-weight: 720; font-size: 18px; color: #213b67; }
.bcc-auth-wordmark img { border-radius: 7px; }
.bc-console .bcc-inline-note { margin-top: 5px; font-size: 13px; color: var(--bcc-muted); }
.bcc-auth-art { width: min(100%,360px); margin: 3px auto; display: block; }
.bcc-auth-caption h2 { font-size: 24px; font-weight: 700; color: #21406f; letter-spacing: -.045em; }
.bcc-auth-caption p { margin-top: 7px; color: #526c94; font-size: 13px; }
.bcc-auth-form { padding: clamp(27px,4vw,50px); align-self: center; }
.bcc-auth-form h1 { color: var(--bcc-ink); font-size: clamp(24px,2.5vw,31px); line-height: 1.35; font-weight: 720; letter-spacing: -.05em; }
.bcc-auth-form > p.bcc-muted { margin-top: 6px; }
.bcc-auth-form form { margin-top: 26px; }
.bcc-auth-form label { display: block; margin-bottom: 17px; font-weight: 600; font-size: 13px; }
.bcc-auth-form input { background: white; display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #cdd8e7; border-radius: 8px; color: var(--bcc-ink); font-size: 14px; }
.bcc-auth-form input::placeholder { color: #7c889a; font-weight: 400; }
.bcc-auth-form input:focus { border-color: var(--bcc-blue); }
.bcc-pwd { display: block; position: relative; }
.bcc-pwd input { padding-right: 43px; }
.bcc-pwd button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.bcc-captcha { margin-bottom: 17px; }
.bcc-auth-form .bcc-captcha label { margin-bottom: 6px; }
.bcc-captcha-row { display: flex; gap: 8px; align-items: stretch; }
.bcc-auth-form .bcc-captcha-row input { margin: 0; min-width: 0; flex: 1; }
.bcc-captcha-row img { display: block; width: 43%; max-width: 154px; height: 45px; object-fit: contain; background: #f1f5fb; border: 1px solid var(--bcc-line); border-radius: 8px; }
.bcc-captcha audio { width: 100%; height: 38px; margin-top: 8px; }
.bcc-captcha [hidden] { display: none; }
.bcc-captcha-actions { display: flex; flex-wrap: wrap; gap: 0 16px; }
.bcc-captcha-actions button { padding: 6px 0 3px; border: 0; background: transparent; color: var(--bcc-blue); font: inherit; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.bcc-captcha-actions button:hover { text-decoration: underline; }
.bcc-captcha-actions button:disabled { color: var(--bcc-muted); cursor: wait; }
.bcc-code-status { color: var(--bcc-muted); font-size: 13px; line-height: 1.5; }
.bcc-code-status:not(:empty) { margin-top: 5px; }
.bcc-auth-submit { width: 100%; min-height: 43px; margin-top: 4px; }
.bcc-switch { margin-top: 21px !important; font-size: 13px; color: var(--bcc-muted); }
.bcc-switch a { font-weight: 650; }
@media (max-width:950px) {
  .bc-console { padding: 27px 18px 55px; }
  .bcc-wrap { gap: 16px; grid-template-columns: 175px minmax(0,1fr); }
  .bcc-stat { padding: 15px 12px !important; }
}
@media (max-width:730px) {
  .bc-console { padding: 16px 12px 38px; }
  .bcc-wrap { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .bcc-sidebar { position: static; display: flex; padding: 5px; border-radius: 11px; }
  .bcc-side-title, .bcc-side-foot .bcc-avatar, .bcc-side-foot .bcc-account { display: none; }
  .bcc-side-foot { padding: 0 0 0 4px; margin: 0 0 0 4px; border: 0; border-left: 1px solid var(--bcc-line); }
  .bcc-sidebar nav { flex: 1; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .bc-console .bcc-nav-link { justify-content: center; font-size: 12px; gap: 5px; padding: 9px 3px; }
  .bcc-nav-link svg { width: 16px; }
  .bcc-heading { margin-bottom: 16px; }
  .bcc-card-title, .bcc-detail-top, .bcc-facts, .bcc-total, .bcc-instance-ops, .bcc-credential, .bcc-secrets { padding: 15px; }
  .bcc-callout { margin: 0 15px 15px; align-items: start; flex-direction: column; }
  .bcc-facts { gap: 12px; }
  .bcc-card-title { min-height: 53px; }
  .bcc-paybox { padding: 16px 15px; }
  .bcc-order-contact { padding-inline: 15px; }
  .bc-auth { padding: 28px 15px 44px; min-height: 65vh; }
  .bcc-auth-card { max-width: 455px; grid-template-columns: 1fr; }
  .bcc-auth-panel { min-height: 0; padding: 19px 24px; }
  .bcc-auth-caption, .bcc-auth-art { display: none; }
  .bcc-stats { gap: 6px; }
  .bcc-stat-head { gap: 5px; font-size: 11px; }
  .bcc-stat-icon { width: 24px; height: 24px; border-radius: 7px; }
  .bcc-stat-icon svg { width: 15px; }
  .bcc-stat-value { font-size: 25px; }
}
@media (max-width:560px) {
  .bcc-transfer { flex-direction: column; align-items: stretch; }
  .bcc-payment-qr { align-self: center; }
  .bcc-transfer-details { flex-basis: auto; }
}
@media (max-width:390px) {
  .bcc-pay-amount { flex-wrap: wrap; }
  .bc-console .bcc-nav-link { flex-direction: column; line-height: 1.2; }
  .bc-console .bcc-stat { padding: 11px 6px !important; }
  .bcc-stat-head { gap: 3px; }
}
