/* Account surfaces observed on Bitunix, desktop and mobile. */
.account-page {
  --account-muted: #909295;
  --account-panel: #f7f8fa;
  --account-control: #f2f3f5;
  --account-accent: #89b529;
  background: #fff;
  color: #111;
}
.account-page .site-header {
  height: 48px;
  background: #000;
  color: #fff;
  padding: 0 20px;
  gap: 30px;
}
.account-page .site-header .logo img {
  content: url("/assets/bitunix-dark-logo-6146222c.svg");
  width: 108px;
}
.account-page .site-header .main-nav {
  gap: 24px;
}
.account-page .site-header .nav-link {
  font-size: 14px;
}
.account-page .site-header .header-actions {
  gap: 20px;
}
.account-page .site-header .search-trigger {
  background: #16181a;
  height: 28px;
  font-size: 13px;
}
.account-page .site-header .btn {
  min-height: 32px;
  height: 32px;
  font-size: 13px;
  padding: 0 20px;
}
.account-header-avatar {
  display: flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.account-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-header-alert {
  position: relative;
}
.account-header-alert::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 5px;
  width: 5px;
  height: 5px;
  background: #f14b3f;
  border-radius: 50%;
}
.account-header-deposit {
  order: -1;
}
.account-page .header-actions {
  flex-shrink: 0;
}
.account-page .main-nav {
  min-width: 0;
  overflow: hidden;
}
.wallet-search-toggle {
  display: none;
}
.account-page .footer {
  background: #fcfcfc;
  color: #111;
}
.account-page .footer .logo img {
  content: url("/assets/bitunix-light-logo-b5d5b24c.svg");
}
.account-page button:focus-visible,
.account-page a:focus-visible,
.account-page input:focus-visible,
.account-page select:focus-visible {
  outline: 2px solid #8ebc2b;
  outline-offset: 3px;
}
.account-page .mobile-nav a[href="/assets/overview"] {
  background: #f2f3f5;
  border-radius: 30px;
  color: #111;
}
.account-muted {
  color: var(--account-muted);
}
.account-page h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 42px;
  letter-spacing: -0.6px;
}
.account-page h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin: 24px 0;
}
.account-page h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
.account-page p {
  font-size: 14px;
  line-height: 1.5;
}
.account-button {
  min-height: 40px;
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
}
.account-button.solid {
  background: #111;
  color: #fff;
}
.account-button.soft {
  background: var(--account-control);
  color: #111;
}
.account-button.text {
  border-radius: 0;
  padding: 0;
  min-height: 24px;
}
.account-button:disabled {
  background: #e8e9eb;
  color: #a5a5a5;
  cursor: default;
}
.account-button.block {
  width: 100%;
}
.inline-icon {
  display: inline-flex;
  vertical-align: middle;
  color: #aaa;
  padding: 0 3px;
}
.account-text-link {
  color: var(--account-accent);
}
.account-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.account-section-heading h2 {
  margin: 0;
}
.account-section-heading > div {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--account-muted);
}
.separator {
  color: #e0e0e0;
}
.account-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.account-tabs button {
  border-bottom: 2px solid transparent;
  font-size: 16px;
  color: var(--account-muted);
  padding: 10px 0 12px;
  white-space: nowrap;
}
.account-tabs button.active {
  border-bottom-color: #111;
  color: #111;
}
.account-search {
  border: none;
  border-radius: 4px;
  background: var(--account-control);
  height: 40px;
  padding: 10px 16px;
  width: 220px;
  font-size: 14px;
  outline: none;
}
.account-search::placeholder {
  color: #aaa;
}
.account-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.account-table th {
  color: var(--account-muted);
  font-weight: 400;
  font-size: 14px;
  padding: 22px 12px;
  border-bottom: 1px solid #e8e8e8;
  white-space: normal;
}
.account-table th:first-child,
.account-table td:first-child {
  padding-left: 0;
}
.account-table td {
  padding: 26px 12px;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: middle;
}
.account-table td small {
  display: block;
  color: var(--account-muted);
  font-size: 12px;
  margin-top: 6px;
}
.account-table .account-empty {
  border: none;
  min-height: 164px;
}
.account-table tr:last-child td {
  border-bottom: 0;
}
.account-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 230px;
  color: #a2a4a6;
  font-size: 14px;
}
.wallet-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 60px;
  max-width: 1440px;
  padding: 38px 52px 76px;
  margin: 0 auto;
  min-height: 660px;
}
.wallet-sidebar {
  min-width: 0;
}
.wallet-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wallet-sidebar a,
.wallet-sidebar > nav > button {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 16px;
  border-radius: 7px;
  color: var(--account-muted);
  font-size: 16px;
  text-align: left;
  white-space: nowrap;
}
.wallet-sidebar a.active,
.wallet-sidebar button.active {
  background: var(--account-control);
  color: #111;
  font-weight: 600;
}
.wallet-sidebar a:hover,
.wallet-sidebar button:hover {
  color: #111;
}
.wallet-sidebar .compact-label {
  display: none;
}
.wallet-sidebar .history-toggle svg:last-child {
  margin-left: auto;
}
.wallet-history-links {
  display: none;
}
.wallet-history-links.open {
  display: block;
}
.wallet-history-links a {
  height: 48px;
  font-size: 14px;
  padding-left: 56px;
}
.wallet-content {
  min-width: 0;
}
.wallet-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.wallet-title h1 {
  margin: 0;
}
.wallet-actions {
  display: flex;
  gap: 24px;
}
.wallet-actions .account-button {
  min-width: 128px;
}
.wallet-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 50px;
}
.wallet-summary p {
  margin: 0 0 12px;
  font-size: 16px;
}
.wallet-summary p:last-child {
  margin-top: 10px;
  color: var(--account-muted);
  font-size: 14px;
}
.wallet-value {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.wallet-value small,
.wallet-value .unit {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.pnl-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--account-control);
  padding: 4px 7px;
  font-size: 12px;
}
.wallet-summary:has(.unrealized-summary) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wallet-reward {
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  min-height: 128px;
  margin-bottom: 24px;
}
.wallet-reward img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.wallet-reward strong {
  font-size: 16px;
}
.wallet-reward p {
  margin: 6px 0 0;
}
.wallet-reward strong span,
.wallet-reward p span {
  color: #85b527;
}
.wallet-reward .account-button {
  margin-left: auto;
  min-width: 120px;
  min-height: 32px;
  padding: 5px 20px;
}
.icon-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 48px;
}
.icon-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--account-muted);
  font-size: 13px;
}
.icon-actions button > span {
  display: grid;
  place-items: center;
  background: var(--account-panel);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #222;
}
.wallet-surface {
  background: var(--account-panel);
  padding: 28px 32px;
  border-radius: 16px;
  margin: 0 0 32px;
}
.wallet-surface .account-section-heading .account-tabs {
  border: none;
  gap: 24px;
}
.wallet-surface .account-section-heading .account-tabs button {
  border: none;
  font-size: 18px;
  padding: 0;
  font-weight: 600;
}
.wallet-surface .account-search {
  border-radius: 999px;
  height: 32px;
  width: 170px;
}
.wallet-surface .account-table th {
  border: none;
  font-size: 13px;
}
.wallet-surface .account-table td {
  border: none;
}
.wallet-surface h2 {
  font-size: 18px;
}
.account-allocation {
  padding: 20px 0;
}
.account-allocation a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e8;
}
.account-allocation strong {
  margin-left: auto;
  font-weight: 500;
}
.wallet-assurance,
.wallet-mobile-actions,
.wallet-mobile-transfer,
.mobile-asset-list {
  display: none;
}
.wallet-filters {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 0;
}
.wallet-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 14px;
  color: var(--account-muted);
  white-space: nowrap;
}
.wallet-filters input[type="checkbox"] {
  accent-color: #111;
}
.wallet-filters .text {
  font-size: 14px;
  color: var(--account-muted);
}
.wallet-coin {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.wallet-coin .coin {
  width: 26px;
  height: 26px;
  font-size: 19px;
}
.wallet-coin small {
  font-size: 12px;
  color: var(--account-muted);
  font-weight: 400;
}
.coin-detail-button {
  text-align: left;
  padding: 0;
}
.wallet-row-actions {
  text-align: right;
  min-width: 135px;
}
.wallet-row-actions button,
.wallet-row-actions a {
  color: var(--account-accent);
  font-size: 14px;
  margin: 0 6px 8px 0;
  display: inline-block;
}
.wallet-row-actions a {
  margin: 0;
  display: block;
}
.wallet-desktop-table tr:hover {
  background: #f2f3f5;
}
.account-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--account-muted);
  padding: 24px 0;
}
.account-pagination button.active {
  color: #111;
  background: var(--account-control);
  border-radius: 5px;
  padding: 5px 10px;
}
.account-pagination select {
  border: 0;
  background: var(--account-control);
  border-radius: 5px;
  padding: 6px;
}
.financial-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--account-panel);
  border-radius: 10px;
  padding: 28px;
  margin: 24px 0 30px;
}
.financial-metrics p {
  margin: 0 0 8px;
}
.financial-metrics strong {
  font-size: 26px;
}
.financial-metrics strong small {
  font-size: 14px;
  font-weight: 400;
}
.financial-metrics p:last-child {
  margin: 8px 0 0;
}
.account-history-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin: 24px 0;
}
.account-history-filters label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.account-history-filters input,
.account-history-filters select,
.subaccount-filter input,
.subaccount-filter select {
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
}
.account-history-filters select {
  min-width: 110px;
}
.date-dash {
  padding-bottom: 12px;
  color: #999;
}
.profile-tabs {
  display: flex;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-tabs a {
  font-size: 16px;
  color: var(--account-muted);
  padding: 10px 0 9px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.profile-tabs a.active {
  color: #111;
  border-bottom-color: #111;
  font-weight: 600;
}
.profile-content {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 16px 54px;
  min-height: 600px;
}
.profile-content > h2 {
  margin: 22px 0 20px;
}
.profile-content hr {
  height: 1px;
  border: 0;
  background: #f4f4f4;
  margin: 28px 0 20px;
}
.account-setting-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 34px;
}
.setting-icon {
  display: flex;
  align-items: center;
  min-width: 26px;
  padding-top: 2px;
}
.setting-body {
  flex: 1;
  min-width: 0;
}
.setting-body h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.setting-body > p {
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.setting-value {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  font-size: 14px;
}
.setting-value > span {
  color: var(--account-muted);
}
.setting-value > span + .account-button {
  padding-left: 16px;
  border-left: 1px solid #eee;
}
.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  overflow: hidden;
}
.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vip-tag {
  background: #ffe08c;
  color: #7b5700;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: 5px;
}
.account-switch {
  width: 40px;
  height: 23px;
  background: #edeef0;
  border-radius: 30px;
  position: relative;
}
.account-switch::before {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
}
.account-profile-summary {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 24px 0 42px;
}
.account-profile-summary .account-avatar {
  width: 80px;
  height: 80px;
}
.account-profile-summary h1 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: 0;
}
.account-profile-summary p {
  margin: 0;
  color: var(--account-muted);
}
.vip-zero {
  font-size: 14px;
  vertical-align: middle;
  background: #111;
  color: #fff;
  border-radius: 3px;
  padding: 2px 6px;
}
.security-level {
  padding: 0 24px;
  margin-bottom: 50px;
}
.security-level h2 {
  margin: 0 0 24px;
}
.security-level h2 span {
  margin-left: 18px;
  color: #ef4c40;
}
.security-level > div {
  display: flex;
  gap: 5px;
}
.security-level i {
  display: block;
  width: 160px;
  height: 20px;
  background: #f6f6f6;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}
.security-level i:first-child {
  background: #f14b3f;
}
.profile-page:has(.security-level) .profile-content {
  padding: 0 40px 54px;
}
.profile-page:has(.security-level) .account-setting-row {
  padding: 0 0 38px;
}
.profile-page:has(.security-level) .setting-value {
  justify-content: flex-end;
  margin-top: -42px;
  min-height: 42px;
}
.profile-page:has(.security-level) .setting-body > p {
  max-width: 70%;
}
.profile-page:has(.security-level) .setting-value .account-button {
  border: 1px solid #333;
  border-radius: 20px;
  padding: 3px 12px;
  min-height: 30px;
}
.profile-page:has(.security-level) .setting-value .account-button + button {
  border: none;
}
.account-badge {
  background: #eaf7d1;
  color: #3a6600;
  font-size: 12px;
  padding: 3px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
.account-danger {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--account-muted);
  margin: 20px 0 34px;
}
.account-danger button:last-child {
  margin-left: auto;
}
.account-iso {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #eee;
  color: #333;
}
.account-iso strong {
  font-size: 14px;
  font-weight: 500;
}
.account-iso p {
  font-size: 13px;
  margin: 5px 0 0;
  color: var(--account-muted);
}
.identity-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 22px;
  gap: 24px;
}
.identity-title h1 {
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 32px;
}
.identity-title .account-button {
  min-height: 32px;
  font-size: 14px;
  padding: 5px 20px;
}
.identity-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 24px;
  align-items: start;
}
.identity-card {
  background: linear-gradient(130deg, #f1f2f5, #f8f9fa);
  padding: 32px;
  border-radius: 16px;
}
.identity-intro {
  display: flex;
  gap: 24px;
}
.identity-intro > span {
  min-width: 76px;
  display: grid;
  place-items: center;
}
.identity-intro h2 {
  font-size: 24px;
  margin: 0 0 10px;
}
.identity-intro p {
  color: var(--account-muted);
  margin: 0;
}
.identity-warning {
  padding: 14px;
  color: #d89e33;
  background: #fff0d8;
  font-size: 13px;
  line-height: 1.5;
  margin: 18px 0 38px;
}
.identity-card .account-table-wrap {
  border: 1px solid #e5e6e8;
  border-radius: 8px;
  padding: 0 24px;
  margin-bottom: 38px;
}
.identity-card .account-table {
  font-size: 14px;
}
.identity-card th {
  color: #555;
}
.identity-card td {
  padding: 20px 12px;
  color: var(--account-muted);
  border: 0;
}
.identity-card td:nth-child(n + 2),
.identity-card th:nth-child(n + 2) {
  text-align: right;
  white-space: nowrap;
}
.identity-card td:nth-child(2) {
  color: #333;
}
.identity-card td.positive {
  color: var(--up);
}
.identity-card .account-button {
  min-width: 240px;
  min-height: 48px;
  font-weight: 500;
}
.identity-faq {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 32px;
  margin-top: 82px;
}
.identity-faq h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 20px;
}
.identity-faq details {
  padding: 14px 0;
  font-size: 14px;
}
.identity-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}
.identity-faq summary span {
  color: #aaa;
  font-size: 22px;
}
.identity-faq p {
  color: #999;
  font-size: 13px;
}
.api-intro {
  background: var(--account-panel);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 24px 0 36px;
}
.api-intro p {
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.6;
}
.api-intro button {
  color: #7dad1f;
}
.profile-content:has(.api-intro) > h1 {
  margin: 24px 0;
}
.subaccount-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0 48px;
}
.subaccount-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.subaccount-actions button:disabled {
  opacity: 0.45;
}
.subaccount-filter {
  display: flex;
  gap: 16px;
  margin: 0 0 20px;
}
.subaccount-filter input,
.subaccount-filter select {
  width: 220px;
}
.account-warning-modal {
  text-align: center;
  padding-bottom: 8px;
}
.account-warning-modal > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff6df;
  color: #d6aa54;
  font-size: 34px;
  margin: 0 auto 20px;
}
.account-warning-modal p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 32px;
}
.account-warning-modal > div {
  display: flex;
  gap: 12px;
}
.account-warning-modal .account-button {
  flex: 1;
}
.account-page .modal {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #fff;
  color: #111;
  border-radius: 12px;
  width: min(540px, calc(100vw - 32px));
  padding: 24px;
}
.account-page .modal h2 {
  font-size: 20px;
  margin: 0;
}
.account-page .modal-heading {
  margin-bottom: 24px;
}
.account-page .modal .account-muted {
  font-size: 14px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--account-muted);
  margin: 24px 0;
}
.account-field input,
.account-field select {
  width: 100%;
  height: 50px;
  border: 0;
  background: var(--account-control);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 16px;
  color: #111;
}
.account-local-note {
  color: #999;
  font-size: 12px !important;
  line-height: 1.6;
  margin: 18px 0;
}
.transfer-accounts {
  position: relative;
  background: var(--account-control);
  padding: 10px 84px 10px 20px;
  border-radius: 8px;
}
.transfer-accounts label {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 54px;
  font-size: 14px;
  color: #999;
}
.transfer-accounts label:first-child {
  border-bottom: 1px solid #e6e7e9;
}
.transfer-accounts select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #111;
}
.transfer-accounts button {
  position: absolute;
  right: 20px;
  top: 44px;
  border: 1px solid #e5e6e8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}
.transfer-amount {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--account-control);
  padding: 0 16px;
  margin: 10px 0;
}
.transfer-amount input {
  background: transparent;
  border: 0;
  min-width: 0;
  flex: 1;
  height: 52px;
  font-size: 14px;
}
.transfer-amount span,
.transfer-amount button {
  font-size: 14px;
  white-space: nowrap;
}
.transfer-amount button {
  padding-left: 16px;
  border-left: 1px solid #ddd;
}
#transfer-percent {
  width: 100%;
  accent-color: #111;
}
.transfer-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}
.transfer-bottom {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}
.transfer-bottom .solid {
  flex: 1;
}
#transfer-error {
  font-size: 13px;
  color: #f14b3f;
}
.avatar-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.avatar-picker button {
  width: 76px;
  height: 76px;
  border: 3px solid transparent;
  border-radius: 50%;
  overflow: hidden;
  justify-self: center;
}
.avatar-picker button.selected {
  border-color: #111;
}
.avatar-picker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-choice-list button {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  background: #f7f8fa;
  border-radius: 6px;
  font-size: 16px;
}
.notification-settings label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 16px;
  border-bottom: 1px solid #eee;
}
.notification-settings input {
  accent-color: #111;
  width: 18px;
  height: 18px;
}
.api-permissions {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.identity-local-icon {
  text-align: center;
  color: #89b529;
  margin: 20px 0;
}
.account-pnl-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.account-pnl-metrics div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #999;
  font-size: 14px;
}
.account-pnl-metrics strong {
  color: #111;
  font-size: 28px;
}
.pnl-empty-chart {
  height: 200px;
  padding: 50px 0;
  color: #999;
  font-size: 13px;
}
.pnl-empty-chart hr {
  border: 0;
  border-top: 1px dashed #ddd;
  margin: 35px 0;
}
@media (min-width: 1280px) {
  .profile-content {
    padding-top: 4px;
  }
}
@media (min-width: 1280px) and (max-width: 1600px) {
  .account-page .main-nav .nav-extra {
    display: none;
  }
  .account-page .site-header {
    gap: 24px;
  }
}
@media (max-width: 1279px) {
  .account-page .site-header .nav-secondary,
  .account-page .site-header .nav-extra,
  .account-page .site-header .main-nav > a:nth-child(4) {
    display: none;
  }
  .account-page .site-header {
    gap: 32px;
  }
  .wallet-layout {
    display: block;
    padding: 0 0 50px;
  }
  .wallet-sidebar {
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .wallet-sidebar nav {
    flex-direction: row;
    gap: 30px;
    padding: 0 16px;
    width: max-content;
  }
  .wallet-sidebar a,
  .wallet-sidebar > nav > button {
    height: 38px;
    padding: 8px 0;
    border-radius: 0;
    gap: 0;
    font-size: 16px;
  }
  .wallet-sidebar a > svg,
  .wallet-sidebar > nav > button > svg {
    display: none;
  }
  .wallet-sidebar a.active,
  .wallet-sidebar button.active {
    background: none;
    border-bottom: 2px solid #111;
  }
  .wallet-history-links.open {
    display: flex;
    gap: 24px;
  }
  .wallet-history-links a {
    padding-left: 0;
  }
  .wallet-content {
    padding: 12px 5.5% 30px;
  }
  .profile-content {
    padding: 0 16px 40px;
  }
  .profile-page:has(.security-level) .profile-content {
    padding: 0 40px 40px;
  }
}
@media (max-width: 767px) {
  .account-page {
    padding-bottom: 88px;
  }
  .account-page .site-header {
    height: 64px;
    background: #fff;
    color: #111;
    padding: 12px 16px;
    box-shadow: none;
  }
  .account-page .site-header .logo,
  .account-page .main-nav,
  .account-page .search-trigger,
  .account-page .account-header-deposit,
  .account-page .download-link,
  .account-page .header-actions > a[href="/assets/overview"] {
    display: none;
  }
  .account-page .site-header .header-actions {
    width: 100%;
    gap: 16px;
  }
  .account-header-avatar {
    order: -1;
    margin-right: auto;
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 9px #ddd;
  }
  .account-page .site-header .icon-btn {
    width: 30px;
    min-width: 30px;
    height: 32px;
  }
  .account-page .site-header .icon-btn:last-child {
    background: #fff;
    border-radius: 50%;
  }
  .account-page .footer {
    display: none;
  }
  .account-page h1 {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .account-page h2 {
    font-size: 18px;
  }
  .account-page .support {
    bottom: 96px;
    width: 42px;
    height: 42px;
    right: 14px;
  }
  .wallet-sidebar nav {
    gap: 24px;
    padding: 0 16px;
  }
  .wallet-sidebar a,
  .wallet-sidebar > nav > button {
    font-size: 18px;
    color: #a3a4a6;
    height: 42px;
    padding: 8px 0;
  }
  .wallet-sidebar .desktop-label,
  .wallet-sidebar > nav > button,
  .wallet-sidebar > nav > a:last-child,
  .wallet-history-links {
    display: none;
  }
  .wallet-sidebar .compact-label {
    display: inline;
  }
  .wallet-sidebar a.active {
    border: 0;
  }
  .wallet-sidebar {
    border: 0;
  }
  .wallet-layout {
    min-height: 650px;
    padding: 0;
  }
  .wallet-content {
    padding: 16px 16px 36px;
  }
  .wallet-title {
    margin-bottom: 0;
  }
  .wallet-title h1,
  .wallet-title > .wallet-actions,
  .wallet-content > h1,
  .wallet-title > .account-button {
    display: none;
  }
  .wallet-summary {
    display: block;
    padding: 16px;
    background: var(--account-panel);
    border-radius: 10px;
    margin: 0 0 24px;
  }
  .wallet-summary p {
    font-size: 12px;
    margin: 0 0 14px;
  }
  .wallet-summary p:last-child {
    font-size: 12px;
    margin: 10px 0 0;
  }
  .wallet-value {
    font-size: 26px;
    letter-spacing: -0.5px;
  }
  .wallet-value .unit {
    font-size: 12px;
  }
  .wallet-summary .pnl-summary {
    margin-top: 18px;
  }
  .pnl-summary .wallet-value,
  .pnl-summary > p:last-child,
  .pnl-link {
    display: none;
  }
  .pnl-summary > p::after {
    content: " $0.00 (0.00%)";
  }
  .wallet-summary:has(.unrealized-summary) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .wallet-summary:has(.unrealized-summary) > div:first-child {
    grid-column: 1/-1;
  }
  .wallet-summary:has(.unrealized-summary) .pnl-summary {
    margin: 0;
  }
  .wallet-summary:has(.unrealized-summary) .unrealized-summary .wallet-value {
    font-size: 18px;
  }
  .wallet-summary:has(.unrealized-summary) .unrealized-summary p {
    font-size: 12px;
  }
  .wallet-mobile-actions {
    display: block;
  }
  .wallet-mobile-transfer {
    display: block;
    margin-bottom: 20px;
  }
  .wallet-mobile-transfer button {
    width: 100%;
  }
  .wallet-actions.icon-actions {
    gap: 10px;
    margin: 20px 0 28px;
  }
  .icon-actions button {
    font-size: 12px;
    line-height: 1.3;
  }
  .icon-actions button > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .wallet-reward {
    border: 0;
    border-radius: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0 20px;
    gap: 16px;
    margin: 0;
  }
  .wallet-reward img {
    width: 150px;
    height: 150px;
  }
  .wallet-reward strong {
    display: block;
    font-size: 18px;
    max-width: 310px;
    line-height: 1.35;
  }
  .wallet-reward p {
    font-size: 13px;
  }
  .wallet-reward .account-button {
    margin: 0;
    min-height: 40px;
    min-width: 208px;
    font-size: 16px;
  }
  .wallet-content:has(.wallet-reward) > .wallet-actions,
  .wallet-content:has(.wallet-reward) > .wallet-surface {
    display: none;
  }
  .wallet-assurance {
    display: block;
    color: #b2b3b5;
    font-size: 12px;
    line-height: 1.4;
    margin: 35px 0 0;
  }
  .wallet-assurance small,
  .wallet-assurance p:first-of-type {
    display: block;
    text-align: center;
    color: #bdbec0;
    font-size: 12px;
    margin: 0;
  }
  .wallet-assurance hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 5px 0 26px;
  }
  .wallet-assurance p {
    font-size: 12px;
    margin: 8px 0;
  }
  .account-tabs {
    gap: 22px;
  }
  .account-tabs button {
    font-size: 14px;
    padding: 8px 0 12px;
  }
  .wallet-filters {
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 4px;
  }
  .wallet-filters label {
    order: 0;
    margin: 0;
    font-size: 12px;
    flex: 1;
  }
  .wallet-filters .account-search {
    display: none;
    order: 2;
    width: 100%;
    height: 34px;
  }
  .wallet-filters.search-open .account-search {
    display: block;
  }
  .wallet-filters .text {
    position: absolute;
    top: -46px;
    right: 0;
    font-size: 11px;
    max-width: 230px;
    white-space: normal;
  }
  .wallet-search-toggle {
    display: flex;
    align-items: center;
    padding: 0 3px;
    color: #999;
  }
  .wallet-desktop-table,
  .account-pagination {
    display: none;
  }
  .mobile-asset-list {
    display: block;
  }
  .mobile-asset-row > button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 20px 0;
    text-align: left;
    font-size: 14px;
  }
  .mobile-asset-row .coin {
    width: 24px;
    height: 24px;
  }
  .mobile-asset-row strong {
    margin-left: auto;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
  }
  .mobile-asset-row strong small {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 400;
    margin-top: 6px;
  }
  .mobile-asset-details {
    background: #f7f8fa;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
  }
  .mobile-asset-details > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
  }
  .mobile-asset-details > div:last-child {
    margin: 0;
  }
  .mobile-asset-details .text,
  .mobile-asset-details a {
    font-size: 13px;
    color: #85b32c;
  }
  .account-table th,
  .account-table td {
    font-size: 12px;
    padding: 16px 10px;
  }
  .futures-asset-table .account-table {
    min-width: 650px;
  }
  .financial-metrics {
    padding: 16px;
    gap: 10px;
    margin-top: 20px;
  }
  .financial-metrics strong {
    font-size: 18px;
  }
  .financial-metrics strong small {
    display: block;
    font-size: 12px;
  }
  .financial-metrics p {
    font-size: 11px;
  }
  .account-history-filters {
    gap: 12px;
  }
  .account-history-filters label {
    width: calc(50% - 6px);
    font-size: 12px;
  }
  .account-history-filters label:first-child {
    width: 100%;
  }
  .account-history-filters input,
  .account-history-filters select {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }
  .date-dash {
    display: none;
  }
  .profile-tabs {
    gap: 28px;
    padding: 0 16px;
  }
  .profile-tabs a {
    font-size: 16px;
    padding: 10px 0;
  }
  .profile-content,
  .profile-page:has(.security-level) .profile-content {
    padding: 0 16px 44px;
  }
  .profile-content > h2 {
    margin-top: 24px;
  }
  .account-setting-row {
    gap: 14px;
    padding-bottom: 32px;
  }
  .setting-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .setting-body > p {
    font-size: 14px;
    line-height: 1.55;
  }
  .setting-value {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
  }
  .setting-value .account-button {
    font-size: 14px;
  }
  .setting-value > span + .account-button {
    padding-left: 14px;
  }
  .account-profile-summary {
    margin: 24px 0 32px;
    gap: 14px;
  }
  .account-profile-summary .account-avatar {
    width: 60px;
    height: 60px;
  }
  .account-profile-summary h1 {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
  .account-profile-summary p {
    font-size: 12px;
  }
  .security-level {
    padding: 0;
    margin-bottom: 30px;
  }
  .security-level h2 {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .security-level h2 span {
    margin-left: 5px;
  }
  .security-level i {
    width: 30%;
    height: 12px;
  }
  .profile-page:has(.security-level) .setting-value {
    justify-content: flex-start;
    margin-top: 0;
    min-height: 30px;
  }
  .profile-page:has(.security-level) .setting-body > p {
    max-width: 100%;
  }
  .account-badge {
    font-size: 11px;
  }
  .account-danger {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
  }
  .account-danger > span {
    width: 100%;
  }
  .account-danger button:last-child {
    margin-left: 0;
  }
  .account-iso {
    align-items: flex-start;
    gap: 10px;
  }
  .account-iso svg {
    flex-shrink: 0;
  }
  .account-iso strong {
    font-size: 13px;
  }
  .account-iso p {
    font-size: 12px;
  }
  .identity-title {
    padding-top: 22px;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
  }
  .identity-title h1 {
    font-size: 30px;
    margin: 0;
    width: 100%;
    letter-spacing: -0.5px;
  }
  .identity-title .account-button {
    max-width: 100%;
    white-space: normal;
    font-size: 13px;
  }
  .identity-layout {
    display: block;
  }
  .identity-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .identity-intro {
    gap: 12px;
  }
  .identity-intro > span {
    min-width: 40px;
  }
  .identity-intro svg {
    width: 40px;
    height: 40px;
  }
  .identity-intro h2 {
    font-size: 20px;
  }
  .identity-intro p {
    font-size: 13px;
  }
  .identity-warning {
    font-size: 12px;
    padding: 12px;
    margin: 20px 0;
  }
  .identity-card .account-table-wrap {
    padding: 0 8px;
    margin-bottom: 24px;
  }
  .identity-card .account-table th,
  .identity-card .account-table td {
    font-size: 11px;
    padding: 14px 6px;
  }
  .identity-card .account-table th:first-child {
    width: 44%;
  }
  .identity-card .account-button {
    min-width: 0;
    width: 100%;
  }
  .identity-faq {
    padding: 22px 18px;
    margin-top: 24px;
  }
  .identity-faq h2 {
    font-size: 22px;
  }
  .api-intro {
    padding: 16px;
    margin: 20px 0;
  }
  .api-intro p {
    font-size: 13px;
  }
  .subaccount-actions {
    gap: 12px;
    margin: 20px 0 32px;
  }
  .subaccount-actions button {
    font-size: 12px;
  }
  .subaccount-filter {
    flex-wrap: wrap;
    gap: 12px;
  }
  .subaccount-filter input,
  .subaccount-filter select {
    width: calc(50% - 6px);
    min-width: 0;
    font-size: 12px;
  }
  .profile-content:has(.subaccount-filter) .account-table {
    min-width: 800px;
  }
  .account-page .modal {
    padding: 20px;
    width: calc(100vw - 24px);
  }
  .account-page .modal h2 {
    font-size: 20px;
  }
  .transfer-accounts {
    padding-left: 14px;
    padding-right: 54px;
  }
  .transfer-accounts label {
    gap: 12px;
  }
  .transfer-accounts select {
    font-size: 14px;
  }
  .transfer-accounts button {
    right: 10px;
    width: 32px;
    height: 32px;
    top: 48px;
  }
  .transfer-amount {
    padding: 0 12px;
    gap: 8px;
  }
  .transfer-amount input {
    font-size: 12px;
  }
  .transfer-amount span,
  .transfer-amount button {
    font-size: 12px;
  }
  .transfer-amount button {
    padding-left: 8px;
  }
  #account-transfer-form .account-section-heading {
    font-size: 12px;
    gap: 8px;
  }
  #account-transfer-form .account-section-heading > span:last-child {
    font-size: 11px;
  }
  #account-transfer-form .account-button.text {
    font-size: 11px;
  }
  .api-permissions {
    gap: 12px;
    font-size: 12px;
  }
}
/* Observed copy trading and bot account layouts. */
.strategy-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.strategy-heading h1 { margin-bottom:0; }
.strategy-heading>div { display:flex; gap:12px; flex-wrap:wrap; }
.strategy-heading+.wallet-summary { margin-top:30px; }
.strategy-card { border:1px solid var(--line); border-radius:12px; margin-top:32px; }
.strategy-card .account-section-heading { padding:22px 24px; border-bottom:1px solid var(--line); }
.strategy-card h2 { margin:0; font-size:20px; }
.strategy-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:24px; gap:22px; }
.strategy-metrics p { margin:0 0 8px; }
.strategy-metrics strong { font-size:15px; font-weight:500; }
.bot-pnl { margin:0 0 36px; }
.bot-content .account-empty { min-height:360px; }
@media(max-width:767px) {
 .strategy-heading { align-items:flex-start; }
 .strategy-heading>div { gap:8px; }
 .strategy-heading .account-button { padding:10px 14px; font-size:12px; }
 .strategy-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); padding:18px; }
 .strategy-card .account-section-heading { padding:18px; }
 .strategy-metrics strong { font-size:13px; }
}

/* Social sign-in buttons */
.auth-social { margin: 18px 0 4px; text-align: center; }
.auth-social > span { font-size: 12px; }
.auth-social-buttons { display: flex; gap: 10px; margin-top: 10px; }
.auth-social-buttons .social-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border: 1px solid var(--line, #e5e6eb); border-radius: 8px; background: #fff; color: var(--text, #17181a); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.auth-social-buttons .social-btn:hover { border-color: #b9bcc4; box-shadow: 0 2px 8px rgba(23,24,26,.08); transform: translateY(-1px); }
.auth-social-buttons .social-btn:active { transform: translateY(0); }
.auth-social-buttons .social-btn.telegram { color: #229ED9; }
.auth-social-buttons .social-btn.telegram svg { fill: #229ED9; }
.auth-social-buttons .social-btn.google { color: #3c4043; }
.auth-social-buttons .social-btn.facebook { color: #1877F2; }
.auth-social-buttons .social-btn.facebook svg { fill: #1877F2; }
