/* dual-account-c-end-tri-page-v27 · 账户切换 UI（仅四页挂载） */

.proto-da-portfolio-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.proto-da-portfolio-title-wrap > h1 {
  margin: 0;
}

.proto-da-acct-pills {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: #14161c;
}

.proto-da-acct-pills button {
  border: 0;
  background: none;
  color: rgba(234, 236, 239, 0.44);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.16s;
}

.proto-da-acct-pills button:hover {
  color: #eaecef;
}

.proto-da-acct-pills button.on {
  background: #ffbc00;
  color: #241a00;
}

.proto-da-acct-pills button.on.vip {
  background: linear-gradient(120deg, #ffbc00, #ffd447);
}

.proto-da-fee-hint {
  margin: 10px 0 4px;
  font-size: 12.5px;
  color: rgba(234, 236, 239, 0.66);
  line-height: 1.55;
}

.proto-da-fee-hint .tag {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 800;
  background: #ffbc00;
  color: #241a00;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.proto-da-fee-hint a,
.proto-da-fee-hint button {
  border: 0;
  background: none;
  color: #ffbc00;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.proto-da-trade-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 8px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #0f1015;
  cursor: pointer;
}

.proto-da-trade-chip .pip {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

.proto-da-trade-chip .pip.std {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 236, 239, 0.66);
}

.proto-da-trade-chip .pip.vip {
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  color: #241a00;
}

.proto-da-trade-chip .lbl {
  flex: 1;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.7);
}

.proto-da-trade-chip .up-cta {
  font-size: 10px;
  font-weight: 700;
  color: #ffbc00;
  background: rgba(255, 188, 0, 0.1);
  border: 1px solid rgba(255, 188, 0, 0.22);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.proto-da-user-card {
  margin: 16px 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #ebebeb;
}

.proto-da-user-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.proto-da-user-card__head b {
  display: block;
  font-size: 15px;
}

.proto-da-user-card__head .sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.proto-da-user-card__head .chip {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 188, 0, 0.14);
  color: #ffbc00;
}

.proto-da-user-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 720px) {
  .proto-da-user-card__grid {
    grid-template-columns: 1fr;
  }
}

.proto-da-user-card__grid .cell {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.18);
}

.proto-da-user-card__grid .cell.on {
  border-color: rgba(255, 188, 0, 0.35);
  background: rgba(255, 188, 0, 0.08);
}

.proto-da-user-card__grid .h {
  font-weight: 700;
  margin-bottom: 6px;
}

.proto-da-user-card__grid .p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 10px;
}

.proto-da-user-card__grid button {
  border: 1px solid rgba(255, 188, 0, 0.4);
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  color: #241a00;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.proto-da-user-card__grid .now {
  font-size: 12px;
  color: #ffd447;
  font-weight: 600;
}

.proto-da-user-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.proto-da-user-card__foot a {
  color: #ffbc00;
}

.proto-da-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
}

.proto-da-modal {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101420;
  color: #ebebeb;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.proto-da-modal__head {
  position: relative;
  padding: 18px 48px 8px 20px;
}

.proto-da-modal__title {
  font-size: 16px;
  font-weight: 700;
}

.proto-da-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  cursor: pointer;
}

.proto-da-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.proto-da-modal__body {
  padding: 8px 20px 8px;
}

.proto-da-modal__note {
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.proto-da-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proto-da-compare__card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.proto-da-compare__card.is-target {
  border-color: rgba(255, 188, 0, 0.35);
}

.proto-da-compare__h {
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.proto-da-compare__card.is-target .proto-da-compare__h {
  color: #ffd447;
}

.proto-da-compare__p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.proto-da-adv {
  margin-top: 12px;
  background: rgba(255, 188, 0, 0.1);
  border: 1px solid rgba(255, 188, 0, 0.22);
  border-radius: 10px;
  padding: 12px 13px;
}

.proto-da-adv__h {
  font-size: 12px;
  color: #ffd447;
  font-weight: 700;
  margin-bottom: 8px;
}

.proto-da-adv__p {
  font-size: 12px;
  color: rgba(234, 236, 239, 0.7);
  line-height: 1.85;
}

.proto-da-adv__p b {
  color: #ffd447;
}

.proto-da-limits {
  margin-top: 12px;
  background: rgba(246, 70, 93, 0.12);
  border: 1px solid rgba(246, 70, 93, 0.3);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.7);
  line-height: 1.7;
}

.proto-da-limits b {
  color: #ff7a6c;
}

.proto-da-modal__foot {
  display: flex;
  gap: 10px;
  padding: 12px 20px 20px;
}

.proto-da-btn {
  flex: 1;
  height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.proto-da-btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #ebebeb;
}

.proto-da-btn.gold {
  border: 0;
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  color: #241a00;
}

.proto-da-btn.danger {
  border: 0;
  background: #f6465d;
  color: #fff;
}

.proto-da-demo-bar {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2800;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 24px);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 188, 0, 0.28);
  background: rgba(8, 9, 12, 0.92);
  color: rgba(234, 236, 239, 0.85) !important;
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.proto-da-demo-bar .dl {
  font-weight: 700;
  color: #ffd447;
  white-space: nowrap;
}

.proto-da-demo-bar .dseg {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}

.proto-da-demo-bar button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #14161c;
  color: rgba(234, 236, 239, 0.55);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.proto-da-demo-bar button.on {
  border-color: rgba(255, 188, 0, 0.45);
  color: #241a00;
  background: #ffbc00;
  font-weight: 700;
}

.proto-da-demo-bar .full {
  color: #ffbc00;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.proto-da-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 3300;
  display: none;
  align-items: center;
  gap: 8px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: #101420;
  color: #ffffff !important;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: 0.2s;
}

.proto-da-toast.show {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.proto-da-toast.is-warn {
  border-color: rgba(255, 188, 0, 0.5);
}

.proto-da-toast .ck,
.proto-da-toast .proto-da-toast__msg,
.proto-da-toast span {
  color: #ffffff !important;
}

.proto-da-toast .ck {
  font-weight: 800;
  color: #22c55e !important;
  flex: none;
}

.proto-da-toast.is-warn .ck {
  color: #ffbc00 !important;
}

/* legacy class aliases kept so old CSS hooks don't break */
.proto-portfolio-account-type-title-wrap {
  display: none;
}

/* ── portfolio vip-strip ── */
.proto-da-vip-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(255, 188, 0, 0.12), transparent 70%);
  border: 1px solid rgba(255, 188, 0, 0.28);
  border-radius: 14px;
  padding: 13px 18px;
  margin: 10px 0 14px;
}
.proto-da-vip-strip .vb {
  font-size: 17px;
  font-weight: 800;
  color: rgba(234, 236, 239, 0.7);
  flex: none;
}
.proto-da-vip-strip .vb.vip {
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proto-da-vip-strip .offer {
  flex: 1 1 240px;
  font-size: 12.5px;
  color: rgba(234, 236, 239, 0.66);
  line-height: 1.55;
}
.proto-da-vip-strip .offer b {
  color: #eaecef;
}
.proto-da-vip-strip .offer .g,
.proto-da-vip-strip .offer .num {
  color: #ffd447;
}
.proto-da-vip-strip .vp {
  flex: 1;
  max-width: 340px;
  min-width: 180px;
}
.proto-da-vip-strip .bar {
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.proto-da-vip-strip .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c49200, #ffd447);
}
.proto-da-vip-strip .vl {
  font-size: 10.5px;
  color: rgba(234, 236, 239, 0.44);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.proto-da-vip-strip .vl b {
  color: #ffd447;
}
.proto-da-vip-strip .sp {
  flex: 1;
  min-width: 8px;
}
.proto-da-vip-strip .up-btn {
  background: rgba(255, 188, 0, 0.12);
  border: 1px solid rgba(255, 188, 0, 0.28);
  color: #ffbc00;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.proto-da-vip-strip .up-btn.ghost {
  background: #14161c;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(234, 236, 239, 0.7);
}

/* ── trade extras ── */
/* ── trade extras（对齐演示 HTML） ── */
.proto-da-trade-extras {
  margin: 2px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 交易页客服 FAB 改到左下（抬高避开演示条），避免挡住右侧下单区「升级 VIP」 */
body:has([data-proto-da-trade-chip]) .proto-unified-cs-fab {
  right: auto;
  left: 16px;
  bottom: 64px;
}

.proto-da-trade-extras .sw-vip,
.proto-da-trade-extras .sw-std {
  position: relative;
  z-index: 1;
  scroll-margin-bottom: 96px;
}
.proto-da-trade-extras .prot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 12px;
  margin: 2px 0 11px;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.7);
}
.proto-da-trade-extras .prot-row small {
  color: rgba(234, 236, 239, 0.28);
  font-size: 10px;
  margin-left: 4px;
}
.proto-da-trade-extras .prot-row .st {
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
}
.proto-da-trade-extras .vip-wrap {
  margin-bottom: 0;
}
.proto-da-trade-extras .vip-card {
  border: 1px solid rgba(255, 188, 0, 0.28);
  background: rgba(255, 188, 0, 0.1);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.proto-da-trade-extras .vip-card.is-vip {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}
.proto-da-trade-extras .vip-card .vh {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffd447;
}
.proto-da-trade-extras .vip-card .vs {
  font-size: 10.5px;
  color: rgba(234, 236, 239, 0.66);
  margin-top: 3px;
}
.proto-da-trade-extras .vip-card.is-vip .vs {
  color: rgba(234, 236, 239, 0.44);
}
.proto-da-trade-extras .sw-vip {
  cursor: pointer;
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  border: none;
  color: #241a00;
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}
.proto-da-trade-extras .sw-std {
  cursor: pointer;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(234, 236, 239, 0.7);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
.proto-da-trade-extras .protect-inline,
.proto-da-trade-extras .special-inline {
  display: none;
  gap: 9px;
  align-items: flex-start;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 11px;
  color: rgba(234, 236, 239, 0.66);
  line-height: 1.55;
  margin-bottom: 11px;
}
.proto-da-trade-extras .protect-inline {
  background: rgba(240, 160, 32, 0.1);
  border: 1px solid rgba(240, 160, 32, 0.32);
}
.proto-da-trade-extras .protect-inline.show,
.proto-da-trade-extras .special-inline.show {
  display: flex;
}
.proto-da-trade-extras .protect-inline b {
  color: #f0a020;
}
.proto-da-trade-extras .special-inline {
  background: rgba(79, 142, 255, 0.1);
  border: 1px solid rgba(79, 142, 255, 0.3);
}
.proto-da-trade-extras .special-inline b {
  color: #4f8eff;
}
.proto-da-trade-extras .tip-line {
  font-size: 10.5px;
  color: rgba(234, 236, 239, 0.44);
  text-align: center;
  line-height: 1.5;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 4px;
}
.proto-da-trade-extras .tip-line b {
  color: #ffd447;
}
.proto-da-trade-extras .tip-line:hover b {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.proto-da-trade-extras .tnc-link {
  font-size: 10.5px;
  color: rgba(234, 236, 239, 0.44);
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.proto-da-trade-extras .tnc-link:hover {
  color: #ffbc00;
}
.proto-da-trade-extras .fee-sync {
  display: none;
}

/* ── modals ── */
.proto-da-panels-root {
  position: fixed;
  inset: 0;
  z-index: 3400;
  pointer-events: none;
}
.proto-da-panels-root.open {
  pointer-events: auto;
}
.proto-da-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.proto-da-modal-panel {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101420;
  color: #ebebeb;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.proto-da-modal-panel .m-head {
  position: relative;
  padding: 18px 48px 8px 20px;
}
.proto-da-modal-panel .mt {
  font-size: 16px;
  font-weight: 700;
}
.proto-da-modal-panel .mt .tag {
  font-size: 10px;
  margin-left: 8px;
  color: #ffd447;
  border: 1px solid rgba(255, 188, 0, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
}
.proto-da-modal-panel .m-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  cursor: pointer;
}
.proto-da-modal-panel .m-body {
  padding: 8px 20px 8px;
}
.proto-da-modal-panel .m-body.wide {
  max-width: none;
}
.proto-da-modal-panel .m-foot {
  display: flex;
  gap: 10px;
  padding: 12px 20px 20px;
}
.proto-da-modal-panel .btn-go {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  color: #241a00;
}
.proto-da-modal-panel .btn-ghost {
  flex: 1;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #ebebeb;
  font-weight: 700;
  cursor: pointer;
}
.proto-da-modal-panel .rows .r {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
}
.proto-da-modal-panel .rows .r.block {
  display: block;
  line-height: 1.7;
}
.proto-da-modal-panel .rows .k {
  color: rgba(234, 236, 239, 0.45);
}
.proto-da-modal-panel .rows .v {
  font-weight: 600;
}
.proto-da-modal-panel .g {
  color: #ffd447;
}
.proto-da-modal-panel .up {
  color: #22c55e;
}
.proto-da-modal-panel .gold-box,
.proto-da-modal-panel .plain-box {
  margin-top: 11px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.proto-da-modal-panel .gold-box {
  border-color: rgba(255, 188, 0, 0.28);
  background: rgba(255, 188, 0, 0.1);
}
.proto-da-modal-panel .bh {
  font-weight: 700;
  margin-bottom: 6px;
}
.proto-da-modal-panel .bp {
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.66);
  line-height: 1.7;
}
.proto-da-modal-panel .cmp2 {
  display: flex;
  gap: 10px;
  margin-top: 11px;
}
.proto-da-modal-panel .cmp2 .c {
  flex: 1;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.proto-da-modal-panel .cmp2 .c.hi {
  border-color: rgba(255, 188, 0, 0.28);
  background: rgba(255, 188, 0, 0.06);
}
.proto-da-modal-panel .cmp2 .ck {
  font-size: 10px;
  color: rgba(234, 236, 239, 0.45);
}
.proto-da-modal-panel .cmp2 .cv {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 15px;
  margin-top: 3px;
}
.proto-da-modal-panel .note,
.proto-da-modal-panel .foot-note {
  font-size: 10.5px;
  color: rgba(234, 236, 239, 0.28);
  margin-top: 8px;
  line-height: 1.6;
}
.proto-da-modal-panel table.tier {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 8px;
}
.proto-da-modal-panel table.tier th,
.proto-da-modal-panel table.tier td {
  padding: 6px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.proto-da-modal-panel table.tier th {
  color: rgba(234, 236, 239, 0.45);
  font-weight: 600;
}
.proto-da-modal-panel table.tier .r {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.proto-da-modal-panel table.tier tr.cur {
  background: rgba(255, 188, 0, 0.1);
}
.proto-da-modal-panel table.tier tr.cur td:first-child {
  color: #ffd447;
  font-weight: 600;
}
.proto-da-modal-panel .ms-presets {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.proto-da-modal-panel .ms-preset {
  flex: 1;
  cursor: pointer;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(234, 236, 239, 0.7);
  border-radius: 8px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
}
.proto-da-modal-panel .ms-preset.on {
  background: rgba(255, 188, 0, 0.12);
  border-color: rgba(255, 188, 0, 0.28);
  color: #ffd447;
}
.proto-da-modal-panel .ms-input-wrap {
  position: relative;
}
.proto-da-modal-panel .ms-input-wrap input {
  width: 100%;
  box-sizing: border-box;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 34px 13px 14px;
  color: #eaecef;
  font-size: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.proto-da-modal-panel .ms-input-wrap span {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(234, 236, 239, 0.45);
}
.proto-da-modal-panel .band-note {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.proto-da-modal-panel .bn-h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.proto-da-modal-panel .pband-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.55), rgba(34, 197, 94, 0.35));
}
.proto-da-modal-panel .pband-ref {
  position: absolute;
  left: 50%;
  top: -3px;
  width: 2px;
  height: 14px;
  background: rgba(255, 255, 255, 0.55);
}
.proto-da-modal-panel .pband-mk {
  position: absolute;
  top: -4px;
  width: 10px;
  height: 16px;
  margin-left: -5px;
  border-radius: 3px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.proto-da-modal-panel .pband-labs {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(234, 236, 239, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.proto-da-modal-panel .pband-labs .m {
  color: rgba(234, 236, 239, 0.28);
}
.proto-da-modal-panel .up-hero {
  text-align: center;
  margin-bottom: 14px;
}
.proto-da-modal-panel .up-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.proto-da-modal-panel .up-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
}
.proto-da-modal-panel .up-badge.std {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 236, 239, 0.7);
}
.proto-da-modal-panel .up-badge.vip {
  background: linear-gradient(120deg, #ffbc00, #ffd447);
  color: #241a00;
}
.proto-da-modal-panel .up-arrow {
  color: rgba(234, 236, 239, 0.45);
}
.proto-da-modal-panel .nl {
  font-size: 11px;
  color: rgba(234, 236, 239, 0.45);
  margin-top: 4px;
}
.proto-da-modal-panel .up-sub {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.66);
  line-height: 1.55;
}
.proto-da-modal-panel .stage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proto-da-modal-panel .stage {
  display: flex;
  gap: 10px;
  opacity: 0.35;
  transition: 0.25s;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.proto-da-modal-panel .stage.lit {
  opacity: 1;
  border-color: rgba(255, 188, 0, 0.22);
  background: rgba(255, 188, 0, 0.06);
}
.proto-da-modal-panel .sn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 188, 0, 0.15);
  color: #ffd447;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.proto-da-modal-panel .stt {
  font-size: 12.5px;
  font-weight: 700;
}
.proto-da-modal-panel .std-tag {
  font-size: 9px;
  color: rgba(234, 236, 239, 0.45);
  margin-left: 6px;
}
.proto-da-modal-panel .st-cmp {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.55);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.proto-da-modal-panel .st-cmp .after {
  color: #ffd447;
}
.proto-da-modal-panel .replay-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.proto-da-modal-panel .replay {
  border: 1px solid rgba(255, 188, 0, 0.28);
  background: rgba(255, 188, 0, 0.1);
  color: #ffd447;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ── VIP nav ── */
.proto-da-vip-nav {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: #ffd447;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.proto-da-vip-nav:hover {
  color: #ffbc00;
}
.proto-da-vip-mobile-item a {
  display: block;
  padding: 10px 16px;
  color: #ffd447;
  font-weight: 700;
  text-decoration: none;
}

/* ── user center shell / cards ── */
.proto-da-uc-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .proto-da-uc-shell {
    grid-template-columns: 1fr;
  }
  .proto-da-uc-side {
    flex-direction: row;
    overflow-x: auto;
    position: static;
  }
}
.proto-da-uc-side {
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proto-da-uc-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 13px;
  color: rgba(234, 236, 239, 0.66);
  text-decoration: none;
  white-space: nowrap;
}
.proto-da-uc-side a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #eaecef;
}
.proto-da-uc-side a.on {
  background: rgba(255, 188, 0, 0.1);
  color: #ffbc00;
  font-weight: 700;
}
.proto-da-uc-side .ic {
  width: 16px;
  text-align: center;
  flex: none;
  opacity: 0.9;
}
.proto-da-uc-side .bdg {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(234, 236, 239, 0.66);
}
.proto-da-uc-side .bdg.gold {
  background: rgba(255, 188, 0, 0.15);
  color: #ffbc00;
}
.proto-da-uc-side .sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 6px;
}
.proto-da-uc-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.proto-da-user-restyle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.proto-da-uc-native-hidden {
  display: none !important;
}
.proto-da-uc-native-hidden.proto-da-uc-native-peek {
  /* 点击身份认证时短暂露出原生节点以承接 React 事件 */
  position: fixed !important;
  left: -9999px !important;
  top: 0 !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: auto !important;
}
.proto-da-uccard {
  background: #0f1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  color: #ebebeb;
  margin: 0;
}
.proto-da-user-card.proto-da-uccard {
  border-color: rgba(255, 188, 0, 0.28);
}
.proto-da-profile {
  border-color: rgba(255, 255, 255, 0.08);
}
.proto-da-profile__row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.proto-da-profile .pav {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbc00, #c49200);
  color: #07080f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  flex: none;
  position: relative;
}
.proto-da-profile .pav::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #0f1015;
}
.proto-da-profile .pinfo {
  flex: 1;
  min-width: 220px;
}
.proto-da-profile .pname {
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: #ebebeb;
}
.proto-da-profile .chip {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.proto-da-profile .chip.kyc {
  background: rgba(34, 197, 94, 0.13);
  color: #22c55e;
}
.proto-da-profile .chip.vipc2 {
  background: rgba(255, 188, 0, 0.14);
  color: #ffbc00;
}
.proto-da-profile .chip.mode {
  background: rgba(72, 117, 240, 0.14);
  color: #8abaff;
}
.proto-da-profile .pmeta2 {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  font-size: 12.5px;
  color: rgba(234, 236, 239, 0.66);
  flex-wrap: wrap;
}
.proto-da-profile .pmeta2 .cp {
  cursor: pointer;
}
.proto-da-profile .pmeta2 .cp:hover {
  color: #ffbc00;
}
.proto-da-profile .pstats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.proto-da-profile .lbl {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(234, 236, 239, 0.44);
  text-transform: uppercase;
  font-weight: 600;
}
.proto-da-profile .pstat .v {
  font-size: 17px;
  font-weight: 800;
  color: #ebebeb;
  margin-top: 2px;
}
.proto-da-profile .mini {
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.44);
  font-weight: 600;
}
.proto-da-uccard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.proto-da-uccard__head h2,
.proto-da-uc-sec h2,
.proto-da-uc-quick h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ebebeb;
}
.proto-da-uccard .tri {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid #ffbc00;
}
.proto-da-uccard__head .acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.proto-da-uccard__head .ghost,
.proto-da-uccard__head .gold {
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.proto-da-uccard__head .ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #ebebeb;
}
.proto-da-uccard__head .ghost:hover {
  border-color: #ffbc00;
  color: #ffbc00;
}
.proto-da-uccard__head .gold {
  border: 0;
  background: #ffbc00;
  color: #07080f;
}
.proto-da-uccard__head .gold:hover {
  background: #ffd447;
}
.proto-da-uccard__hint {
  font-size: 12px;
  color: #ffffff !important;
  margin: 0 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.proto-da-uccard__hint b {
  color: #ffffff !important;
}
.proto-da-uccard__hint .bulb {
  color: #ffbc00;
  flex: none;
}
.proto-da-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 760px) {
  .proto-da-mode-grid {
    grid-template-columns: 1fr;
  }
}
.proto-da-mode-grid .mode-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 17px;
}
.proto-da-mode-grid .mode-card.cur {
  border-color: rgba(255, 188, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 188, 0, 0.07), rgba(255, 188, 0, 0.02));
}
.proto-da-mode-grid .cur-tag {
  position: absolute;
  top: -9px;
  right: 14px;
  background: #ffbc00;
  color: #07080f;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 5px;
  display: none;
}
.proto-da-mode-grid .mode-card.cur .cur-tag {
  display: block;
}
.proto-da-mode-grid h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ebebeb;
}
.proto-da-mode-grid .mini {
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.44);
  font-weight: 400;
}
.proto-da-mode-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.66);
}
.proto-da-mode-grid li {
  padding: 2.5px 0 2.5px 13px;
  position: relative;
}
.proto-da-mode-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 6px solid rgba(234, 236, 239, 0.35);
}
.proto-da-mode-grid .mode-card.cur li::before {
  border-bottom-color: #ffbc00;
}
.proto-da-mode-grid .up {
  color: #22c55e;
}
.proto-da-mode-grid .g {
  color: #ffbc00;
}
.proto-da-uccard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(234, 236, 239, 0.66) !important;
}
.proto-da-uccard__foot .lim,
.proto-da-uccard__foot .lim b,
.proto-da-uccard__foot .last {
  color: rgba(234, 236, 239, 0.66) !important;
}
.proto-da-uccard__foot .lim b {
  color: #ebebeb !important;
}
.proto-da-vip-progress h2 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  color: #ebebeb;
}
.proto-da-vip-progress .note {
  font-size: 11px;
  color: rgba(234, 236, 239, 0.44);
  font-weight: 400;
}
.proto-da-vip-progress .more {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffbc00;
  text-decoration: none;
  cursor: pointer;
}
.proto-da-vip-progress .vip-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.proto-da-vip-progress .vip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 188, 0, 0.16), rgba(255, 188, 0, 0.05));
  border: 1px solid rgba(255, 188, 0, 0.35);
  color: #ffbc00;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 10px;
  flex: none;
}
.proto-da-vip-progress .pbar-wrap {
  flex: 1;
  min-width: 220px;
}
.proto-da-vip-progress .pbar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(234, 236, 239, 0.66);
  margin-bottom: 6px;
}
.proto-da-vip-progress .pbar-meta b {
  color: #ebebeb;
}
.proto-da-vip-progress .pbarw {
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  overflow: hidden;
}
.proto-da-vip-progress .pbarw .fill {
  height: 100%;
  background: linear-gradient(90deg, #c49200, #ffbc00);
  border-radius: 6px;
}
.proto-da-vip-progress .pbar-need {
  font-size: 12.5px;
  color: rgba(234, 236, 239, 0.66);
  margin-top: 7px;
}
.proto-da-vip-progress .pbar-need b {
  color: #ffbc00;
}
.proto-da-vip-progress .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffbc00;
  color: #07080f;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: 9px;
  text-decoration: none;
}
.proto-da-vip-progress .btn-gold:hover {
  background: #ffd447;
}
.proto-da-uc-sec .sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.proto-da-uc-sec .sec-level {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
}
.proto-da-uc-sec .sec-bars {
  display: flex;
  gap: 4px;
}
.proto-da-uc-sec .sec-bars i {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  display: block;
}
.proto-da-uc-sec .sec-bars i.f {
  background: #22c55e;
}
.proto-da-uc-sec .sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.proto-da-uc-sec .sec-grid--one {
  grid-template-columns: 1fr;
}
@media (max-width: 760px) {
  .proto-da-uc-sec .sec-grid {
    grid-template-columns: 1fr;
  }
}
.proto-da-uc-sec .sec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 12px 14px;
}
.proto-da-uc-sec .sec-item.is-clickable {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.proto-da-uc-sec .sec-item.is-clickable:hover {
  border-color: rgba(255, 188, 0, 0.4);
  background: rgba(255, 188, 0, 0.05);
}
.proto-da-uc-sec .sec-item .ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: none;
}
.proto-da-uc-sec .sec-item .tx {
  flex: 1;
  min-width: 0;
}
.proto-da-uc-sec .sec-item .tx b {
  font-size: 13px;
  display: block;
  color: #ebebeb;
}
.proto-da-uc-sec .sec-item .tx span {
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.44);
}
.proto-da-uc-sec .sec-item .st {
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.proto-da-uc-sec .sec-item .st.ok {
  color: #22c55e;
}
.proto-da-uc-sec .sec-item .st.no {
  color: #ffbc00;
  cursor: pointer;
}
.proto-da-uc-quick h2 {
  margin-bottom: 14px;
}
.proto-da-uc-quick .quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 760px) {
  .proto-da-uc-quick .quick {
    grid-template-columns: repeat(2, 1fr);
  }
}
.proto-da-uc-quick .qi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 14px;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.proto-da-uc-quick .qi:hover {
  border-color: rgba(255, 188, 0, 0.4);
  transform: translateY(-2px);
}
.proto-da-uc-quick .qi .ic {
  font-size: 17px;
  margin-bottom: 7px;
}
.proto-da-uc-quick .qi b {
  font-size: 13px;
  display: block;
  color: #ebebeb;
}
.proto-da-uc-quick .qi span {
  font-size: 11.5px;
  color: rgba(234, 236, 239, 0.44);
}


