:root {
  --bg: #eef3f7;
  --surface: #ffffff;
  --surface-2: #f6fbf9;
  --text: #0b1220;
  --muted: #667085;
  --line: #dce4ee;
  --green: #27c660;
  --card-frame: rgba(39, 198, 96, 0.32);
  --green-dark: #16a34a;
  --blue: #1172cc;
  --danger: #dc2626;
  --warning: #f59e0b;
  --shadow: 0 14px 30px rgba(11, 18, 32, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

.ntfv2-page {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
}

.ntfv2-header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid #eceef2;
  padding: 0 12px;
  margin-top: 2px;
  background: #fff;
}

.ntfv2-back {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #22c55e;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.ntfv2-back:hover,
.ntfv2-back:focus-visible {
  text-decoration: none;
}

.ntfv2-header h1 {
  margin: 0;
  text-align: center;
  color: #0b1220;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ntfv2-header-spacer {
  width: 40px;
  height: 40px;
}

.ntfv2-list-wrap,
.ntfv2-list {
  background: #fff;
}

.ntfv2-item {
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(39, 198, 95, 0.5);
  cursor: pointer;
  background: #fff;
}

.ntfv2-item:hover {
  background: #fafbfd;
}

.ntfv2-item h3 {
  margin: 0 0 6px;
  color: #0b1220;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ntfv2-body {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ntfv2-time {
  margin: 0;
  color: #98a2b3;
  font-size: 14px;
  line-height: 1.15;
}

.ntfv2-item.is-unread {
  position: relative;
}

.ntfv2-item.is-unread::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #27c65f;
}

.ntfv2-actions {
  display: flex;
  justify-content: center;
  padding: 16px 16px 26px;
  background: #fff;
}

.ntfv2-load-more {
  border: 1px solid rgba(39, 198, 96, 0.45);
  background: #fff;
  color: #0b1220;
  border-radius: 999px;
  min-width: 168px;
  height: 46px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.ntfv2-load-more:hover,
.ntfv2-load-more:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.ntfv2-load-more:disabled {
  opacity: 0.6;
  cursor: default;
}

body.ptnv2-modal-open {
  overflow: hidden;
}

.ptnv2-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 28px;
  display: grid;
  gap: 20px;
  background: #fff;
}

.ptnv2-header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  border-bottom: 1px solid #eceef2;
  background: #fff;
}

.ptnv2-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #22c55e;
  text-decoration: none;
  border-radius: 999px;
  font-size: 28px;
}

.ptnv2-back:hover,
.ptnv2-back:focus-visible {
  text-decoration: none;
}

.ptnv2-header h1 {
  margin: 0;
  text-align: center;
  color: #0b1220;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ptnv2-spacer {
  width: 40px;
  height: 40px;
}

.ptnv2-card {
  background: #fff;
  border: 1px solid rgba(39, 198, 95, 0.14);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.02);
}

.ptnv2-balance-card {
  padding: 16px 18px;
}

.ptnv2-balance-card h2 {
  margin: 0;
  color: #0b1220;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ptnv2-balance-value {
  margin-top: 14px;
  color: #0b1220;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ptnv2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ptnv2-stat-card {
  padding: 14px 18px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ptnv2-stat-card h3 {
  margin: 0;
  color: #0b1220;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ptnv2-stat-card p {
  margin: 14px 0 0;
  color: #0b1220;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ptnv2-transfer-btn {
  width: 100%;
  min-height: 64px;
  border-radius: 20px;
  border: 1px solid rgba(39, 198, 95, 0.7);
  background: #27c65f;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: none !important;
  transform: none !important;
}

.ptnv2-transfer-btn:hover,
.ptnv2-transfer-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.ptnv2-inline-note {
  margin-top: -4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.ptnv2-inline-note.is-error {
  color: #dc2626;
}

.ptnv2-inline-note.is-success {
  color: #15803d;
}

.ptnv2-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 16px;
}

.ptnv2-modal.hidden {
  display: none;
}

.ptnv2-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.ptnv2-modal-card {
  position: relative;
  width: min(100%, 560px);
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(39, 198, 95, 0.25);
  padding: 18px;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.18);
}

.ptnv2-modal-card h3 {
  margin: 0;
  color: #0b1220;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.ptnv2-modal-sub {
  margin: 8px 0 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.ptnv2-form {
  display: grid;
  gap: 12px;
}

.ptnv2-form .field {
  display: grid;
  gap: 6px;
}

.ptnv2-form .field label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.ptnv2-form .field input,
.ptnv2-form .field select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #d9e6dd;
  background: #fff;
  color: #0b1220;
  padding: 0 12px;
  font-size: 15px;
}

.ptnv2-form .field input:focus,
.ptnv2-form .field select:focus {
  outline: none;
  border-color: rgba(39, 198, 95, 0.8);
  box-shadow: 0 0 0 3px rgba(39, 198, 95, 0.1);
}

.ptnv2-modal-error {
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ptnv2-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.ptnv2-btn {
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.ptnv2-btn:hover,
.ptnv2-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.ptnv2-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ptnv2-btn.secondary {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
}

.ptnv2-btn.primary {
  border: 1px solid #27c65f;
  background: #27c65f;
  color: #fff;
}

@media (min-width: 1024px) {
  .ntfv2-page {
    max-width: 980px;
  }

  .ntfv2-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .ntfv2-item {
    padding: 20px 20px 18px;
  }

  .ntfv2-item.is-unread::before {
    left: 12px;
  }

  .ptnv2-page {
    gap: 24px;
  }

  .ptnv2-balance-card {
    padding: 16px 18px;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ptnv2-stat-card {
    min-height: 122px;
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  .ntfv2-header {
    grid-template-columns: 42px 1fr 42px;
    min-height: 56px;
    padding: 0 8px;
  }

  .ntfv2-back {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .ntfv2-header h1 {
    font-size: 21px;
  }

  .ntfv2-item {
    padding: 14px 12px 14px;
  }

  .ntfv2-item h3 {
    font-size: 16px;
  }

  .ntfv2-body {
    font-size: 14px;
    line-height: 1.25;
  }

  .ntfv2-time {
    font-size: 12px;
  }

  .ntfv2-item.is-unread::before {
    top: 18px;
    left: 6px;
  }

  .ntfv2-actions {
    padding: 12px 12px 20px;
  }

  .ntfv2-load-more {
    min-width: 148px;
    height: 42px;
    font-size: 15px;
  }

  .ptnv2-page {
    padding: 0 8px 20px;
    gap: 14px;
  }

  .ptnv2-header {
    grid-template-columns: 42px 1fr 42px;
    min-height: 56px;
    padding: 0 2px;
  }

  .ptnv2-back,
  .ptnv2-spacer {
    width: 36px;
    height: 36px;
  }

  .ptnv2-back {
    font-size: 26px;
  }

  .ptnv2-header h1 {
    font-size: 22px;
  }

  .ptnv2-balance-card {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .ptnv2-balance-card h2 {
    font-size: 15px;
  }

  .ptnv2-balance-value {
    margin-top: 8px;
    font-size: 30px;
  }

  .ptnv2-grid {
    gap: 10px;
  }

  .ptnv2-stat-card {
    min-height: 78px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .ptnv2-stat-card h3 {
    font-size: 13px;
  }

  .ptnv2-stat-card p {
    margin-top: 8px;
    font-size: 18px;
  }

  .ptnv2-transfer-btn {
    min-height: 56px;
    border-radius: 16px;
    font-size: 18px;
  }

  .ptnv2-modal {
    padding: 10px;
  }

  .ptnv2-modal-card {
    width: calc(100% - 4px);
    border-radius: 18px;
    padding: 14px;
  }

  .ptnv2-modal-card h3 {
    font-size: 20px;
  }

  .ptnv2-modal-sub {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .ptnv2-modal-actions {
    grid-template-columns: 1fr;
  }

  .ptnv2-btn {
    min-height: 44px;
    font-size: 14px;
  }
}

/* Transfer page (app-style /portal/accounts) */
.trfv2-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 36px;
}

.trfv2-loading {
  border: 1px solid rgba(103, 234, 120, 0.7);
  background: #f6fbf9;
  border-radius: 18px;
  padding: 18px;
  color: #6b7280;
  font-size: 15px;
}

.trfv2-shell {
  background: transparent;
}

.trfv2-topbar {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  min-height: 44px;
}

.trfv2-topbar h1 {
  margin: 0;
  color: #0b1220;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 700;
  text-align: center;
}

.trfv2-topbar-spacer {
  width: 32px;
  height: 32px;
}

.trfv2-back {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
}

.trfv2-back img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transform: rotate(90deg);
  opacity: 0.95;
}

.trfv2-divider {
  display: none;
}

.trfv2-content {
  padding-top: 16px;
}

.trfv2-field-group {
  margin-bottom: 14px;
}

.trfv2-label {
  display: block;
  margin: 0 0 8px;
  color: #3f3f46;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
}

.trfv2-select-box {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(72, 237, 103, 0.9);
  background: #ffffff;
  min-height: 56px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: none !important;
  transform: none !important;
}

.trfv2-select-box:hover,
.trfv2-select-box:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}

.trfv2-select-box.is-static {
  cursor: default;
}

.trfv2-select-box.is-empty .trfv2-select-text {
  color: #9ca3af;
}

.trfv2-select-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  flex: 1;
}

.trfv2-select-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.trfv2-select-text {
  color: #0b1220;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trfv2-method-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 13px;
  flex-shrink: 0;
}

.trfv2-method-text {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
}

.trfv2-down {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.8;
}

.trfv2-select-balance {
  color: #3f3f46;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
}

.trfv2-mt5-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 48px;
  padding: 0 8px;
  border-radius: 9px;
  background: #eef1f4;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.trfv2-icon-stack {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.trfv2-stack-icon {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.trfv2-stack-icon.is-overlap {
  margin-left: -8px;
}

.trfv2-generic-dot {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: #dfe5eb;
  flex-shrink: 0;
}

.trfv2-picker-wrap {
  position: relative;
}

.trfv2-picker {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  max-height: 280px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.trfv2-picker.hidden {
  display: none;
}

.trfv2-picker-row {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  box-shadow: none !important;
  transform: none !important;
  touch-action: manipulation;
}

.trfv2-picker-row:last-child {
  border-bottom: 0;
}

.trfv2-picker-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.trfv2-picker-name {
  color: #0b1220;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trfv2-picker-balance {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.trfv2-picker-empty {
  padding: 12px;
  color: #6b7280;
  font-size: 13px;
}

.trfv2-amount-box {
  border-radius: 12px;
  border: 1px solid rgba(72, 237, 103, 0.9);
  background: #ffffff;
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trfv2-amount-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0b1220;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  min-width: 0;
}

.trfv2-amount-unit {
  color: #4b5563;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}

.trfv2-range {
  margin-top: 6px;
  color: #2563eb;
  font-size: 12px;
  line-height: 1.1;
}

.trfv2-inline-error {
  margin: 8px 0 0;
  color: #ef4444;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.trfv2-inline-error.hidden {
  display: none;
}

.trfv2-continue {
  width: 100%;
  margin-top: 10px;
  border-radius: 12px;
  min-height: 56px;
  border: 1px solid #27c660 !important;
  background: #27c660 !important;
  color: #ffffff !important;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.trfv2-continue:hover,
.trfv2-continue:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}

.trfv2-continue.is-disabled,
.trfv2-continue:disabled {
  background: #eeeeee !important;
  border-color: #dddfe2 !important;
  color: #b1b9c6 !important;
  cursor: not-allowed;
}

.trfv2-continue.is-active {
  background: #27c660 !important;
  border-color: #27c660 !important;
  color: #ffffff !important;
}

.trfv2-terms,
.trfv2-faq {
  margin-top: 22px;
}

.trfv2-terms h3,
.trfv2-faq h3 {
  margin: 0 0 10px;
  color: #0b1220;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.trfv2-term-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
}

.trfv2-term-row span {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.1;
}

.trfv2-term-row strong {
  color: #0b1220;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
}

.trfv2-faq p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.35;
}

.trfv2-review-section {
  margin-top: 2px;
}

.trfv2-review-label {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.1;
  margin-top: 10px;
}

.trfv2-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  min-height: 30px;
}

.trfv2-review-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.trfv2-review-left strong,
.trfv2-review-row > strong {
  color: #0b1220;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.trfv2-review-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.trfv2-review-divider {
  height: 1px;
  background: #e5e7eb;
  margin-top: 10px;
}

.trfv2-panel {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid #7ff889;
  background: #ecf0f0;
  padding: 12px 14px;
}

.trfv2-panel-title {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.1;
}

.trfv2-panel-amount {
  margin-top: 4px;
  color: #0b1220;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.trfv2-panel-amount span {
  font-size: 15px;
  font-weight: 700;
}

.trfv2-panel-hint {
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.trfv2-progress {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 18px;
}

.trfv2-progress-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.trfv2-progress h2 {
  margin: 12px 0 0;
  color: #0b1220;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 700;
  max-width: 420px;
}

.trfv2-progress p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.4;
  max-width: 520px;
}

@media (min-width: 1024px) {
  .trfv2-content {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 840px) {
  .trfv2-page {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 26px;
  }

  .trfv2-topbar h1 {
    font-size: 22px;
  }

  .trfv2-divider {
    margin-left: -8px;
    margin-right: -8px;
  }

  .trfv2-label {
    font-size: 15px;
  }

  .trfv2-method-text {
    font-size: 14px;
  }

  .trfv2-select-balance {
    font-size: 12px;
  }

  .trfv2-amount-box input {
    font-size: 20px;
  }

  .trfv2-continue {
    min-height: 52px;
    font-size: 16px;
  }

  .trfv2-term-row span,
  .trfv2-term-row strong,
  .trfv2-faq p {
    font-size: 15px;
  }

  .trfv2-picker {
    max-height: 240px;
  }

  .trfv2-picker-row {
    padding: 10px;
  }

  .trfv2-picker-name {
    font-size: 12px;
  }

  .trfv2-picker-balance {
    font-size: 11px;
  }

  .trfv2-progress h2 {
    font-size: 20px;
  }
}

* { box-sizing: border-box; }

/* Transactions v2 (app-style cards) */
.txv2-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 20px;
}

.txv2-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.txv2-filter-btn {
  border: 1px solid #d7e5dd;
  background: rgba(255, 255, 255, 0.9);
  color: #6b7280;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.txv2-filter-btn.is-active {
  border-color: #7ff889;
  background: #e7f7ee;
  color: #168141;
}

.txv2-error {
  margin-bottom: 12px;
  border: 1px solid #ffd4d8;
  background: #fff4f5;
  color: #c92535;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.txv2-groups {
  display: grid;
  gap: 8px;
}

.txv2-group {
  display: grid;
  gap: 12px;
}

.txv2-group-title {
  color: #717b88;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.txv2-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d4d9df;
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 0 rgba(12, 18, 32, 0.03);
}

.txv2-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.txv2-left {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 12px;
  flex: 1;
}

.txv2-kind-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.txv2-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.txv2-kind {
  color: #0b1220;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 500;
}

.txv2-time,
.txv2-invoice {
  color: #7a828c;
  font-size: 13px;
  line-height: 1.2;
}

.txv2-right {
  display: grid;
  justify-items: end;
  gap: 9px;
  flex-shrink: 0;
}

.txv2-amount {
  color: #0b1220;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.txv2-amount.positive {
  color: #0b1220;
}

.txv2-amount.negative {
  color: #0b1220;
}

.txv2-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.txv2-status.done {
  background: #e8f4eb;
  color: #187f3f;
}

.txv2-status.pending {
  background: #fff4dd;
  color: #a76b00;
}

.txv2-status.failed {
  background: #ffe9ea;
  color: #cf2737;
}

.txv2-status .dot {
  font-size: 14px;
  line-height: 1;
}

.txv2-flow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  min-width: 0;
}

.txv2-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #c7ccd3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.txv2-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txv2-arrow {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.75;
}

.txv2-flow-text {
  color: #808892;
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txv2-loading,
.txv2-empty {
  border-radius: 14px;
  border: 1px solid #dbe4ef;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  color: #6b7280;
  font-size: 14px;
}

.txv2-load-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 0 4px;
}

.txv2-load-more {
  border: 1px solid #7ff889;
  background: rgba(255, 255, 255, 0.75);
  color: #0b1220;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.txv2-load-more:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (min-width: 768px) {
  .txv2-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .txv2-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 12px;
  }

  .txv2-group-title {
    grid-column: 1 / -1;
  }

  .txv2-card {
    padding: 18px 20px 16px;
    border-radius: 18px;
  }

  .txv2-kind-icon {
    width: 42px;
    height: 42px;
  }

  .txv2-kind {
    font-size: 20px;
  }

  .txv2-time,
  .txv2-invoice {
    font-size: 16px;
  }

  .txv2-amount {
    font-size: 18px;
  }

  .txv2-status {
    padding: 8px 14px;
    font-size: 14px;
  }

  .txv2-flow {
    margin-top: 16px;
    gap: 10px;
  }

  .txv2-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .txv2-arrow {
    width: 26px;
    height: 26px;
  }

  .txv2-flow-text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .txv2-page {
    padding: 0 8px 16px;
  }

  .txv2-group {
    gap: 10px;
  }

  .txv2-group-title {
    font-size: 13px;
    margin-left: 2px;
  }

  .txv2-filters {
    gap: 6px;
    margin-bottom: 10px;
  }

  .txv2-filter-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* KYC v2 (Verification Center) */
.kycv2-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 20px;
}

.kycv2-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
}

.kycv2-topbar h1 {
  margin: 0;
  color: #0b1220;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
}

.kycv2-topbar-spacer {
  min-width: 32px;
}

.kycv2-status-line {
  margin-bottom: 10px;
}

.kycv2-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8efe2;
  color: #0b1220;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(39, 198, 96, 0.05);
}

.kycv2-pill.is-success {
  background: #e8f7ee;
  border-color: #bce8cc;
  color: #168141;
}

.kycv2-pill.is-danger {
  background: #fff1f2;
  border-color: #ffd7db;
  color: #d52c3d;
}

.kycv2-subtext {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.3;
}

.kycv2-steps-card {
  border-radius: 18px;
  border: 1px solid #d8efe2;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 14px;
}

.kycv2-steps {
  display: grid;
  gap: 8px;
}

.kycv2-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
}

.kycv2-step-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #0b1220;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}

.kycv2-step-state {
  color: #7b8190;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.kycv2-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e6e8ec;
  flex-shrink: 0;
}

.kycv2-dot.is-active {
  background: #2563eb;
}

.kycv2-dot.is-done {
  background: #22c55e;
}

.kycv2-timer {
  margin: 10px 2px 0;
  color: #168141;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.kycv2-error {
  margin-top: 10px;
  border: 1px solid #ffd8dc;
  background: #fff4f6;
  color: #cf2438;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.kycv2-main-btn {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #2ec65f;
  color: #fff;
  padding: 15px 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.kycv2-main-btn.is-small {
  margin-top: 0;
}

.kycv2-main-btn:disabled,
.kycv2-main-btn.is-disabled {
  opacity: 0.72;
  cursor: default;
}

.kycv2-flow {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid #d8efe2;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.kycv2-flow-head h2 {
  margin: 0;
  color: #0b1220;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.kycv2-flow-head p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

.kycv2-doc-type {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.kycv2-doc-type label {
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
}

.kycv2-doc-type select {
  border: 1px solid #7ff889;
  border-radius: 12px;
  background: #fff;
  color: #0b1220;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.kycv2-upload-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.kycv2-upload-card {
  margin-top: 14px;
  border: 1px solid #dfe8e3;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.kycv2-upload-label {
  color: #0b1220;
  font-size: 14px;
  font-weight: 700;
}

.kycv2-live-title {
  color: #0b1220;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.kycv2-live-sub {
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.3;
}

.kycv2-live-stage {
  position: relative;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 30%, rgba(0,0,0,0.28) 100%), #2f2f2f;
  border: 1px solid #dfe8e3;
}

.kycv2-live-video {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  background: #2f2f2f;
}

.kycv2-live-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.35;
}

.kycv2-live-oval {
  display: none !important;
}

.kycv2-live-tip {
  position: absolute;
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%);
  color: #2ed15f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  pointer-events: none;
}

.kycv2-live-submit {
  margin-top: 12px;
  width: 100%;
  border-radius: 14px;
}

.kycv2-upload-preview {
  margin-top: 8px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px dashed #d8dee6;
  background: #f8fafc;
  color: #8a94a4;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
}

.kycv2-upload-preview.is-success {
  border-color: #bde8ca;
  background: #eefaf2;
  color: #187f3f;
  font-weight: 600;
}

.kycv2-upload-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.kycv2-ghost-btn,
.kycv2-secondary-btn {
  border: 1px solid #dbe4ef;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1220;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.kycv2-ghost-btn:disabled,
.kycv2-secondary-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.kycv2-flow-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.kycv2-flow-footer .kycv2-main-btn {
  width: auto;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.kycv2-page.is-flow-focus .kycv2-flow {
  margin-top: 6px;
}

.kycv2-page.is-flow-focus .kycv2-flow-head h2 {
  font-size: 20px;
}

@media (min-width: 1024px) and (max-height: 1100px) {
  .kycv2-page.is-flow-focus .kycv2-topbar {
    margin-bottom: 10px;
  }

  .kycv2-page.is-flow-focus .kycv2-topbar h1 {
    font-size: 28px;
  }

  .kycv2-page.is-flow-focus .kycv2-status-line {
    margin-bottom: 6px;
  }

  .kycv2-page.is-flow-focus .kycv2-subtext {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .kycv2-page.is-flow-focus .kycv2-steps-card {
    padding: 10px 14px;
  }

  .kycv2-page.is-flow-focus .kycv2-steps {
    gap: 4px;
  }

  .kycv2-page.is-flow-focus .kycv2-step-row {
    padding: 4px 2px;
  }

  .kycv2-page.is-flow-focus .kycv2-step-left {
    font-size: 14px;
    gap: 8px;
  }

  .kycv2-page.is-flow-focus .kycv2-step-state {
    font-size: 13px;
  }

  .kycv2-page.is-flow-focus .kycv2-flow {
    margin-top: 6px;
    padding: 14px;
  }

  .kycv2-page.is-flow-focus .kycv2-flow-head h2 {
    font-size: 18px;
  }

  .kycv2-page.is-flow-focus .kycv2-flow-head p {
    margin-top: 4px;
    font-size: 13px;
  }

  .kycv2-page.is-flow-focus .kycv2-live-stage {
    min-height: 230px;
    height: min(300px, 36vh);
  }

  .kycv2-page.is-flow-focus .kycv2-live-video,
  .kycv2-page.is-flow-focus .kycv2-live-placeholder {
    min-height: 0;
    height: 100%;
  }

  .kycv2-page.is-flow-focus .kycv2-live-oval {
    inset: 20px;
    border-width: 4px;
    max-width: 62%;
    max-height: 68%;
  }

  .kycv2-page.is-flow-focus .kycv2-live-tip {
    bottom: 14%;
    font-size: 14px;
    width: min(360px, 72%);
  }

  .kycv2-page.is-flow-focus .kycv2-main-btn {
    padding: 12px 14px;
    font-size: 15px;
  }

  .kycv2-page.is-flow-focus .kycv2-live-submit {
    margin-top: 8px;
  }

  .kycv2-page.is-flow-focus .kycv2-flow-footer {
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .kycv2-page {
    max-width: 1280px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .kycv2-topbar h1 {
    font-size: 34px;
  }

  .kycv2-subtext {
    font-size: 18px;
  }

  .kycv2-steps-card {
    padding: 18px 22px;
    border-radius: 20px;
  }

  .kycv2-step-left {
    font-size: 17px;
    gap: 12px;
  }

  .kycv2-step-state {
    font-size: 16px;
  }

  .kycv2-dot {
    width: 14px;
    height: 14px;
  }

  .kycv2-flow {
    border-radius: 20px;
    padding: 18px 20px;
  }

  .kycv2-flow-head h2 {
    font-size: 22px;
  }

  .kycv2-flow-head p {
    font-size: 14px;
  }

  .kycv2-upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .kycv2-upload-card {
    border-radius: 16px;
    padding: 14px;
  }

  .kycv2-live-title {
    font-size: 18px;
  }

  .kycv2-live-sub {
    font-size: 15px;
  }

  .kycv2-live-stage,
  .kycv2-live-video,
  .kycv2-live-placeholder {
    min-height: 360px;
  }

  .kycv2-live-tip {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .kycv2-page {
    padding: 0 8px 16px;
  }

  .kycv2-topbar {
    margin-bottom: 14px;
  }

  .kycv2-topbar h1 {
    font-size: 20px;
  }

  .kycv2-status-line {
    margin-bottom: 8px;
  }

  .kycv2-pill {
    padding: 9px 14px;
    font-size: 13px;
  }

  .kycv2-subtext {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .kycv2-steps-card {
    border-radius: 16px;
    padding: 10px;
  }

  .kycv2-step-row {
    padding: 7px 2px;
  }

  .kycv2-step-left {
    font-size: 13px;
    gap: 8px;
  }

  .kycv2-step-state {
    font-size: 12px;
  }

  .kycv2-dot {
    width: 10px;
    height: 10px;
  }

  .kycv2-main-btn {
    margin-top: 14px;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .kycv2-flow {
    margin-top: 14px;
    border-radius: 16px;
    padding: 12px;
  }

  .kycv2-flow-head h2 {
    font-size: 16px;
  }

  .kycv2-flow-head p {
    font-size: 12px;
  }

  .kycv2-upload-preview {
    min-height: 44px;
    font-size: 12px;
  }

  .kycv2-live-title {
    font-size: 14px;
  }

  .kycv2-live-sub {
    font-size: 12px;
  }

  .kycv2-live-stage,
  .kycv2-live-video,
  .kycv2-live-placeholder {
    min-height: 240px;
    border-radius: 14px;
  }

  .kycv2-live-oval {
    border-width: 4px;
    inset: 12px;
    max-width: 78%;
    max-height: 80%;
  }

  .kycv2-live-tip {
    font-size: 12px;
    bottom: 18%;
    width: 80%;
  }

  .kycv2-live-submit {
    margin-top: 10px;
  }

  .kycv2-upload-actions {
    gap: 6px;
  }

  .kycv2-ghost-btn,
  .kycv2-secondary-btn {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .kycv2-flow-footer {
    gap: 8px;
  }

  .kycv2-flow-footer .kycv2-main-btn {
    min-width: 0;
    width: 100%;
  }

  .kycv2-page.is-flow-focus {
    padding-top: 2px;
  }

  .kycv2-page.is-flow-focus .kycv2-topbar {
    margin-bottom: 8px;
  }

  .kycv2-page.is-flow-focus .kycv2-flow {
    margin-top: 0;
    padding: 10px;
  }

.kycv2-secondary-btn {
    flex-shrink: 0;
  }
}

/* KYC Documents (app-style step page) */
.kycdoc-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 20px;
}

.kycdoc-topbar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.kycdoc-header-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kycdoc-header-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.kycdoc-topbar h1 {
  margin: 0;
  text-align: center;
  color: #0b1220;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.kycdoc-topbar-spacer {
  width: 36px;
  height: 36px;
}

.kycdoc-head {
  margin-bottom: 12px;
}

.kycdoc-head p {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.25;
}

.kycdoc-error {
  margin-bottom: 12px;
  border: 1px solid #ffd4da;
  background: #fff3f5;
  color: #d1283d;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.kycdoc-stack {
  display: grid;
  gap: 16px;
}

.kycdoc-card {
  border: 1px solid #d8efe2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
}

.kycdoc-card h3 {
  margin: 0 0 12px;
  color: #0b1220;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.kycdoc-preview {
  border-radius: 18px;
  background: #e7e9ee;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.kycdoc-preview.is-filled {
  background: #eef2f7;
}

.kycdoc-preview.is-uploaded {
  box-shadow: inset 0 0 0 2px rgba(46, 198, 95, 0.18);
}

.kycdoc-preview-text {
  color: #9aa2af;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 14px;
}

.kycdoc-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #e7e9ee;
}

.kycdoc-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kycdoc-btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.kycdoc-btn.is-primary {
  background: #2ec65f;
  color: #fff;
}

.kycdoc-btn.is-secondary {
  background: #d9ece8;
  color: #0b1220;
}

.kycdoc-continue {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px 14px;
  background: #2ec65f;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.kycdoc-continue:disabled,
.kycdoc-continue.is-disabled {
  background: #9ee2b4;
  color: rgba(255, 255, 255, 0.95);
  cursor: default;
}

@media (min-width: 768px) {
  .kycdoc-page {
    max-width: 1280px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .kycdoc-topbar h1 {
    font-size: 34px;
  }

  .kycdoc-head h2 {
    font-size: 38px;
  }

  .kycdoc-head p {
    max-width: 820px;
    font-size: 18px;
  }

  .kycdoc-stack {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .kycdoc-card {
    padding: 18px;
  }

  .kycdoc-preview {
    min-height: 300px;
  }

  .kycdoc-btn {
    font-size: 17px;
    padding: 15px 14px;
  }

  .kycdoc-continue {
    width: min(420px, 100%);
    margin-top: 18px;
  }
}

@media (max-width: 767px) {
  .kycdoc-page {
    padding: 0 8px 16px;
  }

  .kycdoc-topbar {
    grid-template-columns: 28px 1fr 28px;
    margin-bottom: 10px;
  }

  .kycdoc-back {
    width: 28px;
    height: 28px;
  }

  .kycdoc-header-logo {
    width: 28px;
    height: 28px;
  }

  .kycdoc-header-logo img {
    width: 22px;
    height: 22px;
  }

  .kycdoc-topbar-spacer {
    width: 28px;
    height: 28px;
  }

  .kycdoc-topbar h1 {
    font-size: 20px;
  }

  .kycdoc-head {
    margin-bottom: 10px;
  }

  .kycdoc-head p {
    font-size: 14px;
  }

  .kycdoc-stack {
    gap: 12px;
  }

  .kycdoc-card {
    border-radius: 16px;
    padding: 12px;
  }

  .kycdoc-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .kycdoc-preview {
    min-height: 168px;
    border-radius: 14px;
  }

  .kycdoc-preview-text {
    font-size: 13px;
  }

  .kycdoc-actions {
    margin-top: 10px;
    gap: 8px;
  }

  .kycdoc-btn {
    border-radius: 12px;
    padding: 11px 10px;
    font-size: 13px;
  }

  .kycdoc-continue {
    margin-top: 14px;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 16px;
  }
}
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(39,198,96,0.12), transparent 40%),
    radial-gradient(circle at 95% 20%, rgba(17,114,204,0.09), transparent 45%),
    var(--bg);
  color: var(--text);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.app-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 14px 40px;
}

.phone-frame {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
  padding: 22px 18px 16px;
  border-bottom: 1px solid var(--line);
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6edf5;
  padding: 5px;
}

.brand-title { font-size: 18px; font-weight: 800; line-height: 1.1; }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.status-pill {
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid #dbe5ef;
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}

.auth-layout {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 14px;
}

.auth-card {
  width: min(520px, 100%);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-hero {
  padding: 22px 22px 10px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.auth-hero img.logo-banner {
  width: min(320px, 95%);
  height: auto;
  object-fit: contain;
  margin: 6px auto 0;
  display: block;
}

.auth-hero h1 { margin: 2px 0 4px; font-size: 26px; }
.auth-hero p { margin: 0; color: var(--muted); font-size: 14px; }

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 16px 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px;
}

.segmented button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 8px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.segmented a {
  text-decoration: none;
}
.segmented button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 14px rgba(39,198,96,0.25);
}

.auth-body { padding: 16px; }

.grid {
  display: grid;
  gap: 12px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(11, 18, 32, 0.04);
  padding: 14px;
}

.card.soft { background: var(--surface-2); }
.card h2, .card h3, .card h4 { margin: 0 0 10px; }
.card h2 { font-size: 18px; }
.card h3 { font-size: 15px; }
.card h4 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.card p.muted { margin: 0; color: var(--muted); font-size: 13px; }

.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  background: rgba(255,255,255,0.8);
}

.tab-btn {
  border: 1px solid #d8e2ec;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.tab-btn.active {
  background: #ebfff2;
  border-color: #8ee7ad;
  color: #0d7c37;
}

.page {
  padding: 14px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #d7e2ee;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

textarea { min-height: 104px; resize: vertical; }

.field { margin-bottom: 10px; }

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

button,
.btn {
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

button.secondary, .btn.secondary {
  background: #fff;
  color: var(--text);
  border-color: #d7e2ee;
}
button.blue { background: var(--blue); }
button.warn { background: var(--warning); }
button.danger { background: var(--danger); }
button.ghost {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}
button:disabled { opacity: 0.6; cursor: not-allowed; }

.message {
  margin: 10px 16px 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid #d7e2ee;
  background: #fff;
}
.message.success { background: #ecfdf3; border-color: #a7f3c0; color: #166534; }
.message.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.message.info { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  font-size: 13px;
}
.kv div:nth-child(odd) { color: var(--muted); }
.kv div:nth-child(even) { word-break: break-word; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.metric {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #deebf7;
  border-radius: 14px;
  padding: 12px;
}
.metric .label { color: var(--muted); font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.metric .value { font-size: 17px; font-weight: 800; margin: 0; }

.list {
  display: grid;
  gap: 10px;
}
.list-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.list-item h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}
.list-item p { margin: 4px 0; font-size: 13px; color: #334155; }
.list-item .muted { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid #d8e2ec;
  background: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}
.badge.green { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
.badge.yellow { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.badge.red { background: #fee2e2; border-color: #fecaca; color: #991b1b; }

pre.json {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  overflow: auto;
  max-height: 380px;
  margin: 0;
}

.small { font-size: 12px; color: var(--muted); }
.hr { height: 1px; background: var(--line); margin: 10px 0; }
.hidden { display: none !important; }

.footer-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kv { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 640px) {
  .app-shell { padding: 8px 6px 24px; }
  .hero { padding: 14px 12px 12px; }
  .page { padding: 10px; }
  .card { padding: 12px; border-radius: 12px; }
  .brand-title { font-size: 16px; }
  .metric .value { font-size: 15px; }
}

/* Portal polish: modern forex broker look while retaining app colors */
body {
  background:
    radial-gradient(1200px 460px at 8% -10%, rgba(39, 198, 96, 0.22), transparent 60%),
    radial-gradient(1000px 420px at 100% 0%, rgba(11, 18, 32, 0.12), transparent 60%),
    linear-gradient(180deg, #edf3f8 0%, #eef2f7 35%, #f7fafc 100%);
}

.app-shell {
  max-width: 1280px;
  padding-top: 16px;
}

.phone-frame {
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.78);
  box-shadow:
    0 18px 60px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(39, 198, 96, 0.14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  padding: 18px 18px 14px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border-color: rgba(39, 198, 96, 0.18);
  box-shadow: inset 0 0 0 1px rgba(39, 198, 96, 0.08);
}

.brand-title {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-pill {
  color: #0f5132;
  background: linear-gradient(180deg, #f7fff9 0%, #ecfdf3 100%);
  border-color: rgba(39, 198, 96, 0.25);
  font-weight: 600;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: #e6edf5;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.tab-btn {
  background: rgba(255,255,255,0.85);
  border-color: #dfe8f1;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.tab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  text-decoration: none;
}

.tab-btn.active {
  background: linear-gradient(180deg, #edfff3 0%, #defbe8 100%);
  border-color: rgba(39, 198, 96, 0.35);
  color: #0e7a36;
  box-shadow: 0 6px 14px rgba(39, 198, 96, 0.12);
}

.page {
  padding: 16px;
}

.card {
  background: rgba(255,255,255,0.96);
  border: 1px solid #e3ebf3;
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.04),
    0 1px 0 rgba(255,255,255,0.8) inset;
}

.card.soft {
  background: linear-gradient(180deg, #fbfefd 0%, #f5fbf8 100%);
  border-color: #dff0e7;
}

.card h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric {
  border-radius: 16px;
  border-color: #e2edf6;
  background:
    radial-gradient(circle at 12% 0%, rgba(39,198,96,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.metric .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.metric .value {
  letter-spacing: -0.02em;
}

button, .btn {
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 16px rgba(39, 198, 96, 0.15);
}

button.secondary, .btn.secondary,
button.ghost {
  box-shadow: none;
}

input, select, textarea {
  border-radius: 12px;
  border-color: #dbe6f0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(39, 198, 96, 0.55);
  box-shadow: 0 0 0 4px rgba(39, 198, 96, 0.12);
}

.list-item {
  border-radius: 14px;
  border-color: #e4edf6;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.message {
  margin: 10px 12px 0;
  border-radius: 12px;
}

@media (min-width: 1100px) {
  .page {
    padding: 18px;
  }
  .card {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .tabs {
    padding-left: 8px;
    padding-right: 8px;
  }
  .tab-btn {
    padding: 9px 10px;
    font-size: 12px;
  }
}

/* v9 visual system refresh: modern forex broker portal */
.portal-module-body {
  background:
    radial-gradient(980px 380px at -2% -8%, rgba(39,198,96,0.20), transparent 62%),
    radial-gradient(1100px 500px at 102% 0%, rgba(15,23,42,0.15), transparent 63%),
    linear-gradient(180deg, #edf3fa 0%, #f1f6fb 42%, #f7fafd 100%);
}

.portal-outline-btn,
button,
.btn,
.portal-nav-link,
.tab-btn,
input,
select,
textarea {
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease, background-color .16s ease;
}

button:hover:not(:disabled),
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.pw-toggle:hover,
.pw-toggle:active {
  transform: translateY(-50%);
  box-shadow: none;
}

button.secondary:hover,
button.ghost:hover,
.btn.secondary:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

button:focus-visible,
.btn:focus-visible,
.portal-outline-btn:focus-visible,
.portal-nav-link:focus-visible,
.tab-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(39, 198, 96, 0.16);
}

.portal-outline-btn {
  border-color: #dbe7f2;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,251,255,0.92) 100%);
}

.portal-outline-btn:hover {
  text-decoration: none;
  border-color: rgba(39,198,96,0.28);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}

.portal-topbar {
  position: relative;
  overflow: hidden;
}

.portal-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(39,198,96,0.12), transparent 52%),
    radial-gradient(circle at 100% 8%, rgba(17,114,204,0.08), transparent 52%);
  pointer-events: none;
}

.portal-topbar > * {
  position: relative;
  z-index: 1;
}

.portal-topbar-right {
  justify-content: flex-end;
}

.portal-topbar-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 2px;
}

.portal-header-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe7f2;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.portal-header-chip.is-live {
  border-color: rgba(39,198,96,0.35);
  color: #0e7a36;
  background: linear-gradient(180deg, #f2fff6 0%, #e9fbef 100%);
}

.portal-header-chip.is-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27c660;
  box-shadow: 0 0 0 3px rgba(39,198,96,0.14);
}

.portal-market-strip {
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.82);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(247,251,255,0.92) 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  padding: 10px;
  backdrop-filter: blur(8px);
}
.portal-market-strip.hidden {
  display: none;
}

.portal-market-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-pulse-card {
  border-radius: 14px;
  border: 1px solid #e3ebf5;
  padding: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(39,198,96,0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  display: grid;
  gap: 4px;
}

.portal-pulse-card .kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  font-weight: 700;
}

.portal-pulse-card strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.portal-pulse-card small {
  color: #64748b;
  line-height: 1.35;
}

.portal-footer {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e6edf5;
  background: rgba(255,255,255,0.9);
  color: #64748b;
  font-size: 12px;
}

.portal-legal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.portal-footer a:hover {
  text-decoration: none;
  color: #0e7a36;
}

.portal-page-header {
  background:
    radial-gradient(circle at 0% 0%, rgba(39,198,96,0.10), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(249,252,255,0.96) 100%);
  box-shadow: 0 12px 28px rgba(15,23,42,0.04);
}

.portal-page-header .portal-mini-actions .secondary {
  background: rgba(255,255,255,0.92);
}

.portal-list-item {
  box-shadow: 0 6px 18px rgba(15,23,42,0.03);
}

.portal-json {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.auth-layout {
  background:
    radial-gradient(960px 440px at 4% -8%, rgba(39,198,96,0.18), transparent 60%),
    radial-gradient(800px 360px at 102% 0%, rgba(17,114,204,0.12), transparent 62%),
    linear-gradient(180deg, #eef3fa 0%, #f7fafd 100%);
  padding-top: 82px;
}

.auth-card {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.10),
    0 4px 18px rgba(15, 23, 42, 0.05);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background:
    radial-gradient(circle at 15% 20%, rgba(39,198,96,0.14), transparent 55%),
    radial-gradient(circle at 95% 10%, rgba(17,114,204,0.10), transparent 58%);
  pointer-events: none;
}

.auth-hero,
.auth-body {
  position: relative;
  z-index: 1;
}

.auth-hero {
  padding: 24px 22px 12px;
}

.portal-landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #141921;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: none !important;
  transition: none !important;
}

.portal-landing-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}

.portal-landing-logo-img {
  width: 150px;
  height: auto;
  display: block;
}

.portal-content {
  padding-top: 64px;
}

.portal-landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.portal-landing-nav a {
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
}

.portal-landing-nav a:hover {
  color: #ffffff;
}


.portal-landing-menu-btn {
  border: 1px solid rgba(39, 198, 96, 0.6);
  background: transparent;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(39, 198, 96, 0.12);
  cursor: pointer;
}

.portal-landing-menu-panel {
  position: absolute;
  right: 16px;
  top: 58px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(39, 198, 96, 0.4);
  background: #141921;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
  z-index: 60;
}

@media (min-width: 1024px) {
  .portal-landing-menu-panel {
    display: none;
  }
}

body.has-disabled-menu .portal-landing-menu-panel {
  display: none !important;
}
body.has-disabled-menu .portal-landing-menu-btn {
  pointer-events: none;
  opacity: 0.55;
}

.portal-landing-menu-panel.open {
  display: flex;
}

.portal-landing-menu-panel a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
}

.portal-landing-menu-panel a:hover {
  background: rgba(39, 198, 96, 0.15);
  color: #ffffff;
}

@media (max-width: 840px) {
  .portal-landing-menu-panel {
    position: fixed;
    top: 56px;
    right: 12px;
  }
}

@media (max-width: 840px) {
  .portal-landing-inner {
    flex-direction: row;
    align-items: center;
  }
  .portal-landing-nav {
    gap: 12px;
  }
}

.auth-hero-kicker {
  display: inline-flex;
  margin: 0 auto 8px;
  border-radius: 999px;
  border: 1px solid rgba(39,198,96,0.25);
  background: rgba(255,255,255,0.85);
  color: #0e7a36;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.auth-hero h1 {
  letter-spacing: -0.03em;
}

.auth-hero-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.auth-hero-stat {
  border-radius: 12px;
  border: 1px solid #e4edf6;
  background: rgba(255,255,255,0.88);
  padding: 10px 8px;
  text-align: left;
}

.auth-hero-stat span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-hero-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.segmented {
  margin-top: 12px;
  background: rgba(241,245,249,0.9);
  border-color: #e2eaf2;
}

.segmented button {
  transition: background-color .14s ease, color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.segmented button:hover {
  transform: translateY(-1px);
}

.auth-body {
  padding-top: 14px;
}

.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.auth-feature-card {
  border-radius: 12px;
  border: 1px solid #e3ebf5;
  background:
    radial-gradient(circle at 0% 0%, rgba(39,198,96,0.06), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 10px 12px;
}

.auth-feature-card .title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.auth-feature-card p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.auth-title {
  text-align: left;
  color: var(--green);
}

.pw-wrap {
  position: relative;
}

.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green);
  cursor: pointer;
  transition: none !important;
}

.pw-toggle:hover,
.pw-toggle:active,
.pw-toggle:focus-visible {
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}
.pw-toggle svg {
  width: 18px;
  height: 18px;
}


.pw-input {
  padding-right: 44px;
}

.card,
.portal-list-item,
.metric,
.portal-page-header {
  border-color: var(--card-frame);
}

/* Center primary auth form submit buttons (login/signup/reset forms) */
.auth-body .card form > button[type="submit"],
.auth-body .card form > .btn {
  display: block;
  margin: 12px auto 0;
  min-width: 190px;
  text-align: center;
}

.auth-switch {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  gap: 6px;
}

.auth-switch a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

.auth-switch a:hover {
  color: #0e7a36;
}

.home-screen {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 8px 40px;
  display: grid;
  gap: 18px;
  width: 100%;
}
.home-screen.home-screen-bottompad {
  padding-bottom: 120px;
}

.home-promo {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .home-promo {
    margin-top: 8px;
  }
}

.home-hero-grid {
  display: grid;
  gap: 16px;
}

.home-balance-card {
  background: linear-gradient(110deg, #0a0a0a 0%, #0f2b17 45%, #5ba33d 100%);
  border-radius: 24px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 28px rgba(11, 18, 32, 0.2);
}

.home-balance-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.home-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-balance-meta {
  text-align: center;
}

.home-balance-amount {
  font-size: 34px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}

.home-balance-amount .currency {
  font-size: 18px;
  opacity: 0.8;
}

.home-balance-label {
  font-size: 13px;
  opacity: 0.7;
}

.home-bell {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
}

.home-bell svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.home-bell-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.home-balance-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.home-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 700;
  text-decoration: none;
}
.home-action-btn:hover {
  text-decoration: none;
}

.home-action-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-action-btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-action-btn.ghost img {
  filter: brightness(0) invert(1);
}

.home-action-btn.solid {
  background: #fff;
  color: #0f172a;
}

.home-kyc-card {
  border-radius: 18px;
  border: 1px solid rgba(39, 198, 96, 0.35);
  background: linear-gradient(120deg, #ebf9f0 0%, #f2fbf6 100%);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  align-items: center;
}

.home-kyc-copy h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.home-kyc-copy p {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 12px;
}

.home-kyc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.home-kyc-btn:hover {
  text-decoration: none;
}

.home-kyc-illustration {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-kyc-verified-img {
  width: 100%;
  max-width: 88px;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-accounts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-accounts {
  background: #ffffff;
}

.home-accounts-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-accounts-title h2 {
  margin: 0;
  font-size: 22px;
}

.home-chip {
  border: 1px solid rgba(39, 198, 96, 0.5);
  color: #0f7a3a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e9fbf1;
}

.home-chip.soft {
  background: #eefaf2;
  border-color: rgba(39, 198, 96, 0.25);
}

.home-add-btn {
  border-radius: 999px;
  padding: 8px 14px;
  border: 0;
  font-weight: 700;
  background: #111827;
  color: #fff;
  text-decoration: none;
}
.home-add-btn:hover {
  text-decoration: none;
}

.home-add-btn.is-disabled {
  opacity: 0.7;
  pointer-events: none;
}

body.home-add-modal-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-add-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.home-add-modal.hidden {
  display: none;
}

.home-add-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.34);
}

.home-add-modal-card {
  position: relative;
  width: min(100%, 760px);
  border-radius: 34px;
  background: #ffffff;
  border: 2px solid rgba(102, 231, 127, 0.9);
  padding: 26px 28px 24px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.14);
}

.home-add-modal-card h3 {
  margin: 0 0 22px;
  text-align: center;
  color: #0b1220;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-add-modal-input {
  width: 100%;
  height: 86px;
  border-radius: 28px;
  border: 2px solid rgba(102, 231, 127, 0.9);
  background: #ffffff;
  padding: 0 36px;
  color: #0b1220;
  font-size: 28px;
  line-height: 1;
  outline: none;
}

.home-add-modal-input::placeholder {
  color: #9ca3af;
}

.home-add-modal-input:focus {
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.home-add-modal-error {
  margin: 10px 6px 0;
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.home-add-modal-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-add-modal-btn {
  height: 84px;
  border-radius: 24px;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transform: none !important;
}

.home-add-modal-btn:hover,
.home-add-modal-btn:focus-visible {
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.home-add-modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.home-add-modal-btn.cancel {
  background: #ffffff;
  color: #0b1220;
  border-color: #d1d5db;
}

.home-add-modal-btn.create {
  background: #05070b;
  color: #ffffff;
  border-color: #05070b;
}

.home-accounts-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  overflow: visible;
  padding-bottom: 0;
  background: #ffffff;
}

.home-accounts-list::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.home-account-card {
  scroll-snap-align: none;
}

.home-account-card {
  border-radius: 18px;
  border: 1px solid rgba(39, 198, 96, 0.6);
  background: #ffffff;
  padding: 14px;
  box-shadow: none;
  min-width: 0;
}

.trade-screen {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
}

.trade-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 8px;
}

.trade-back,
.trade-duplicate {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(39, 198, 96, 0.12);
  color: #16a34a;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 20px;
}

.trade-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  min-width: 200px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(39, 198, 96, 0.6);
  background: rgba(39, 198, 96, 0.08);
  font-weight: 700;
}

.trade-pill-tag {
  background: rgba(39, 198, 96, 0.18);
  color: #0f7a3a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.trade-pill-balance {
  font-size: 18px;
}

.trade-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 8px;
  margin-bottom: 0;
}

.trade-header h1 {
  margin: 0;
  font-size: 38px;
  text-align: left !important;
}

.trade-header .trade-pill {
  grid-column: 2;
  justify-self: center;
  flex-shrink: 0;
}

.trade-actions {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  gap: 12px;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 8px;
  box-sizing: border-box;
}

.trade-btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 14px 12px;
  font-weight: 800;
  font-size: 16px;
}

.trade-btn.buy {
  background: rgba(39, 198, 96, 0.12);
  color: #16a34a;
  border-color: #16a34a;
}

.trade-btn.sell {
  background: rgba(248, 113, 113, 0.12);
  color: #ef4444;
  border-color: #ef4444;
}

.trade-lot {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 700;
}

.trade-chart {
  border-radius: 16px;
  border: 1px solid #e3ebf3;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  flex: 1 1 auto;
  min-height: 0;
}

.trade-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e3ebf3;
  font-size: 12px;
}

.trade-symbol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.trade-timeframes {
  display: flex;
  gap: 8px;
  color: #64748b;
}

.trade-timeframes span.active {
  color: #0f172a;
  background: #eef9f2;
  padding: 4px 8px;
  border-radius: 8px;
}

.trade-tools {
  display: inline-flex;
  gap: 8px;
  color: #64748b;
}

.trade-chart-widget {
  height: 520px;
  min-height: 520px;
  flex: 1 1 auto;
}

.trade-chart-widget-embed,
.trade-chart-widget-embed .tradingview-widget-container,
.trade-chart-widget-embed .tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

.trade-chart-widget-embed iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.trades-hidden {
  display: none;
}

.trade-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}
.trade-modal-overlay[hidden] {
  display: none !important;
}

.trade-modal-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
}

.trade-modal-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0b1220;
}

.trade-modal-card p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 20px;
}

.trade-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.trade-modal-secondary {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  padding: 8px 12px;
}

.trade-modal-primary {
  padding: 8px 12px;
  background: #e5f7f2;
  border-radius: 8px;
  color: #27c660;
  font-weight: 700;
  text-decoration: none;
}

.copy-screen {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: grid;
  gap: 16px;
}

.copy-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(39, 198, 96, 0.12);
  color: #16a34a;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 20px;
}

.copy-topbar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.copy-refresh {
  border: 0;
  background: transparent;
  color: #16a34a;
  font-weight: 700;
}

.copy-master-btn {
  border: 0;
  border-radius: 999px;
  background: #27c660;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-top: -6px;
}

.copy-promo-card {
  border-radius: 16px;
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #DAEDE6;
  padding: 16px;
  text-align: center;
}

.copy-promo-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.copy-promo-card p {
  margin: 0;
  color: #4b5563;
}

.copy-masters-list {
  display: grid;
  gap: 16px;
}

.copy-masters-list:not(.is-loading) {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .copy-masters-list:not(.is-loading) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.copy-masters-list.is-loading {
  min-height: clamp(240px, calc(100vh - 260px), 720px);
  align-content: center;
}

@supports (height: 100dvh) {
  .copy-masters-list.is-loading {
    min-height: clamp(240px, calc(100dvh - 260px), 720px);
  }
}

.copy-masters-list.is-loading .portal-loading-placeholder {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 320px);
  min-height: 120px;
}

.copy-masters-list:not(.is-loading) .portal-loading-placeholder {
  display: none;
}

.copy-master-card {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  padding: 18px;
  box-shadow: none;
}

.copy-master-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.copy-master-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #e5f7f2;
  color: #22c55e;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.copy-master-title h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.copy-master-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-master-rating .role {
  color: #0f172a;
  font-weight: 600;
  font-size: 13px;
}

.copy-master-risk {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.copy-master-risk.risk-green {
  background: #22c55e;
  color: #ffffff;
}
.copy-master-risk.risk-yellow {
  background: #fde047;
  color: #92400e;
}
.copy-master-risk.risk-red {
  background: #ef4444;
  color: #ffffff;
}

.copy-master-divider {
  margin: 14px 0;
  height: 1px;
  background: #e5e7eb;
}

.copy-master-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}
.copy-master-grid-right {
  text-align: right;
}

.copy-master-grid span {
  display: block;
  color: #6b7280;
  font-size: 14px;
}

.copy-master-grid strong {
  font-size: 19px;
  font-weight: 700;
}

.copy-master-profit {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.copy-master-profit span {
  color: #6b7280;
  font-size: 14px;
}

.copy-master-profit strong {
  font-size: 19px;
  font-weight: 700;
}

.copy-master-profit > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copy-master-bar {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
}

.copy-master-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #1AA832 0%, #1AA832 92%, #F40A14 92%, #F40A14 100%);
}

.copy-master-action {
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: #e5f7f2;
  color: #16a34a;
  font-size: 14px;
  font-weight: 700;
}

.copy-hidden-form {
  display: none;
}

.copy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}

.copy-modal-overlay[hidden] {
  display: none !important;
}

.copy-modal-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
}

.copy-modal-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.copy-modal-card p {
  margin: 8px 0 12px;
  color: #4b5563;
}

.copy-modal-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.copy-modal-card select {
  width: 100%;
  border: 1px solid #e5f7f2;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.copy-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.copy-modal-secondary {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
}

.copy-modal-primary {
  padding: 8px 12px;
  background: #e5f7f2;
  border-radius: 8px;
  color: #27c660;
  font-size: 13px;
  font-weight: 700;
}

.master-screen {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 110px;
  display: grid;
  gap: 14px;
}

.master-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.master-topbar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.master-back {
  display: none;
}

.master-title {
  display: none;
}

.master-spacer {
  width: 36px;
  height: 36px;
}

.master-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  padding: 14px 16px;
}

.master-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #e5f7f2;
  color: #22c55e;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.master-identity h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.master-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.master-tab {
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  border-radius: 18px;
  font-weight: 700;
  color: #6b7280;
  padding: 10px 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.master-tab.active {
  color: #16a34a;
  border-color: rgba(39, 198, 96, 0.6);
}

.master-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.master-row span {
  color: #0f172a;
  font-weight: 500;
}

.master-row strong {
  font-size: 20px;
}

.master-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: #22c55e;
  color: #fff;
}

.master-pill.risk-yellow {
  background: #fde047;
  color: #92400e;
}

.master-pill.risk-red {
  background: #ef4444;
  color: #ffffff;
}

.master-info {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.master-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.master-stars span:last-child {
  color: #0f172a;
  font-weight: 600;
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.star-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.master-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
}

.master-metrics span {
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.master-metrics strong {
  font-size: 18px;
}

.master-card {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  padding: 16px;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.master-card-title {
  font-weight: 700;
  color: #6b7280;
}

.master-card p {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.5;
}

.master-details-card,
.master-risk-card {
  gap: 18px;
}

.master-detail-item {
  display: grid;
  gap: 6px;
}

.master-detail-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 16px;
}

.master-detail-item strong {
  font-size: 24px;
  color: #0f172a;
}

.master-risk-notice {
  margin-top: 6px;
  display: grid;
  gap: 6px;
}

.master-risk-notice h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.master-risk-notice p {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.6;
}

.master-trades-wrap {
  display: grid;
  gap: 10px;
}

.master-trades-empty {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.2);
  background: #ffffff;
  padding: 18px;
  color: #64748b;
}

.trade-day-label {
  color: #6b7280;
  font-size: 18px;
  margin-left: 6px;
}

.trade-card {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  overflow: hidden;
}

.trade-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.trade-row:last-child {
  border-bottom: 0;
}

.trade-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trade-badges {
  display: flex;
  gap: 6px;
}

.trade-pair-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.trade-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.trade-badge-usd { background: #1f5fbf; }
.trade-badge-jpy { background: #dc2626; }
.trade-badge-gbp { background: #1e3a8a; }
.trade-badge-nzd { background: #1d4ed8; }
.trade-badge-xau { background: #d9a441; color: #0f172a; }
.trade-badge-fx { background: #64748b; }

.trade-meta {
  display: grid;
  gap: 2px;
}

.trade-symbol {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.trade-side {
  font-size: 18px;
}

.trade-side.buy {
  color: #2563eb;
}

.trade-side.sell {
  color: #dc2626;
}

.trade-profit {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.trade-profit.pos { color: #16a34a; }
.trade-profit.neg { color: #dc2626; }

.master-perf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.master-perf-grid span {
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.master-perf-grid strong {
  font-size: 20px;
}

.master-perf-right {
  text-align: right;
}

.master-profit {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 6px;
}

.master-profit span {
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}

.master-profit strong {
  font-size: 22px;
}

.master-profit-right {
  text-align: right;
}

.master-profit-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.master-profit-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1AA832 0%, #1AA832 92%, #F40A14 92%, #F40A14 100%);
}

.master-range {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.master-range button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #e5f7f2;
  color: #64748b;
  font-weight: 700;
  min-width: 52px;
}

.master-range button.active {
  background: #0f172a;
  color: #fff;
}

.master-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: #22c55e;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  z-index: 50;
  transition: none !important;
}

.master-cta:hover,
.master-cta:active,
.master-cta:focus {
  transform: translateX(-50%) !important;
}

.master-cta.is-disabled {
  background: #94a3b8;
  color: #f8fafc;
  cursor: not-allowed;
}

.master-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}

.master-modal-overlay[hidden] {
  display: none !important;
}

.master-modal-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
}

.master-modal-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.master-modal-card p {
  margin: 8px 0 12px;
  color: #4b5563;
}

.master-modal-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.master-modal-card select {
  width: 100%;
  border: 1px solid #e5f7f2;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.master-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.master-modal-secondary {
  border: 2px solid #F73C3C;
  background: #ffffff;
  border-radius: 8px;
  color: #F73C3C;
  font-weight: 600;
  padding: 8px 12px;
}

.master-modal-primary {
  padding: 8px 12px;
  background: #ffffff;
  border: 2px solid rgba(39, 198, 96, 0.35);
  border-radius: 8px;
  color: #27c660;
  font-weight: 700;
}

.master-info-overlay {
  align-items: center;
}

.master-info-card {
  width: min(520px, 100%);
  background: #2f3246;
  color: #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.35);
}

.master-info-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #ffffff;
}

.master-info-card p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
}

.master-tip-card {
  width: min(520px, 100%);
  background: #2f3246;
  color: #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.35);
}

.master-tip-card p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
  font-size: 18px;
}

.master-insufficient-overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
}

.master-insufficient-card {
  width: min(520px, 92%);
  background: #d3d3d3;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  color: #0f172a;
  display: grid;
  gap: 10px;
}

.master-insufficient-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #0b0f1a;
}

.master-insufficient-card p {
  margin: 0;
  font-size: 20px;
  color: #3f3f46;
  line-height: 1.5;
}

.master-insufficient-btn {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #bdbdbd;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.master-risk-scale {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.master-risk-scale-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5f5;
  font-size: 16px;
}

.master-risk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  min-width: 84px;
}

.master-risk-pill.low {
  background: #1f6b3a;
  color: rgba(229, 247, 242, 0.45);
  opacity: 0.55;
}

.master-risk-pill.medium {
  background: #f7de3a;
  color: rgba(107, 78, 0, 0.5);
  opacity: 0.55;
}

.master-risk-pill.high {
  background: #7a1f2f;
  color: rgba(245, 215, 220, 0.45);
  opacity: 0.55;
}

.master-risk-pill.active {
  opacity: 1;
}

.master-risk-pill.low.active {
  color: #e5f7f2;
}

.master-risk-pill.medium.active {
  color: #6b4e00;
}

.master-risk-pill.high.active {
  color: #f5d7dc;
}

.master-info-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.master-info-close {
  border: 0;
  background: #1f2333;
  color: #e5e7eb;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.master-expertise-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.master-expertise-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.master-expertise-row span:last-child {
  color: #e5e7eb;
}

.master-expertise-row.muted span:last-child {
  color: #8c92a4;
}

.star-icon.gold {
  color: #ffbf3a;
  font-size: 20px;
}

.star-icon.bronze {
  color: #8d6a3d;
  font-size: 20px;
}

/* Portal-wide white canvas override: prevents short pages from showing the gradient body background
   as a second "section" beneath the content area. */
body.portal-module-body,
body.portal-auth-body {
  background: #ffffff !important;
}

body.portal-module-body .portal-wrap,
body.portal-module-body .portal-content,
body.portal-auth-body,
body.portal-auth-body .auth-layout {
  background: #ffffff !important;
}

body.portal-module-body .portal-wrap {
  min-height: 100vh;
}

body.portal-module-body .portal-content {
  min-height: calc(100vh - 64px);
}

.portal-loading-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 60px;
  color: transparent !important;
  user-select: none;
}

.portal-loading-placeholder::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(39, 198, 96, 0.22);
  border-top-color: #27c660;
  animation: portalInlineSpinner 0.8s linear infinite;
}

@keyframes portalInlineSpinner {
  to { transform: rotate(360deg); }
}

@media (min-width: 1024px) {
  .portal-content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .trade-screen {
    max-width: 1280px;
    padding-left: 0;
    padding-right: 0;
  }
  .trade-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .trade-header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .trade-chart-widget {
    height: 620px;
  }
  .trade-chart {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .copy-master-btn {
    justify-self: start;
    width: auto;
  }
  .copy-promo-card {
    justify-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  .copy-masters-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .copy-screen {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

.home-account-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-account-type {
  font-weight: 700;
  color: #2563eb;
}

.home-account-id {
  font-size: 19px;
  font-weight: 700;
  margin-top: 8px;
  word-break: break-word;
}

.home-account-balance {
  display: flex;
  justify-content: space-between;
  color: #6b7280;
  margin: 12px 0 10px;
  font-weight: 600;
}

.home-account-balance strong {
  color: #0f172a;
}

.home-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.home-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #0f7a3a;
  background: #e9fbf1;
  border: 1px solid rgba(39, 198, 96, 0.2);
}
.home-mini-btn:hover {
  text-decoration: none;
}

.home-mini-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-mini-btn.icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #0f172a;
}

.home-more-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.55;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-1px);
}

body.home-account-modal-open {
  overflow: hidden;
}

.home-account-modal.hidden {
  display: none !important;
}

.home-account-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.home-account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
}

.home-account-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100% - 34px));
  max-height: min(88vh, 900px);
  overflow: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 22px;
  border: 2px solid rgba(39, 198, 96, 0.5);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  padding: 18px 14px 16px;
}

.home-account-modal-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0 4px 10px;
}

.home-account-tab {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 10px 12px;
  text-align: center;
  position: relative;
}

.home-account-tab.is-active {
  color: #0f172a;
  font-weight: 800;
}

.home-account-tab.is-active::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -11px;
  height: 4px;
  border-radius: 999px;
  background: #0f172a;
}

.home-account-tab-panel.hidden {
  display: none !important;
}

.home-account-tab-panel {
  display: grid;
  gap: 14px;
}

.home-account-funds-card {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.45);
  background: #ffffff;
  overflow: hidden;
}

.home-account-funds-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
}

.home-account-funds-row:last-child {
  border-bottom: 0;
}

.home-account-funds-row span {
  color: #0f172a;
  font-size: 18px;
  font-weight: 500;
}

.home-account-funds-row strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.home-account-actions-panel {
  border-radius: 18px;
  border: 2px solid rgba(39, 198, 96, 0.45);
  background: #ffffff;
  padding: 18px 10px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.home-account-panel-action {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  font-size: 14px;
}

.home-account-panel-action:hover,
.home-account-panel-action:focus-visible {
  text-decoration: none;
}

.home-account-panel-icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: #e5f7f2;
  color: #22c55e;
  display: grid;
  place-items: center;
  border: 1px solid rgba(39, 198, 96, 0.18);
}

.home-account-panel-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-account-panel-icon i {
  font-size: 28px;
  line-height: 1;
}

.home-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.home-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
}

.home-dots span.is-active {
  background: #1f8f4a;
}

.home-bottom-nav {
  display: none;
}

.home-legal-footer {
  margin-top: 14px;
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 14px 0 12px;
  color: #6b7280;
}

.home-legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.home-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.home-legal-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.home-legal-links a:hover,
.home-legal-links a:focus-visible {
  text-decoration: none;
  color: #4b5563;
}

.home-legal-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-legal-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: #eef0f3;
  color: #2f3440;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.home-legal-icon i {
  font-size: 16px;
}

.home-legal-divider {
  margin: 10px 0 12px;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.home-legal-copy {
  display: grid;
  gap: 10px;
}

.home-legal-copy p {
  margin: 0;
  color: #8d93a0;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.home-section-head h3 {
  margin: 0 0 2px;
}

.home-section-head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.home-pill {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  background: #eef2ff;
  color: #1e3a8a;
}

.home-pill.muted {
  background: #f1f5f9;
  color: #64748b;
}

.home-promo-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.home-promo-grid::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.home-promo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(39, 198, 96, 0.2);
  display: block;
  background: #fff;
}

.home-promo-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.home-masters-list,
.home-notifications-list {
  display: grid;
  gap: 10px;
}

.home-notifications-panel {
  border-radius: 18px;
  border: 1px solid rgba(39, 198, 96, 0.35);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 16px rgba(11, 18, 32, 0.06);
}

.home-notifications-close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.home-master-card {
  background: #fff;
  border: 1px solid rgba(39, 198, 96, 0.2);
  border-radius: 14px;
  padding: 12px;
}

.home-master-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.home-master-head h4 {
  margin: 0;
  font-size: 14px;
}

.home-master-head p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.home-master-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
}

.home-notice-card {
  background: #fff;
  border: 1px solid rgba(39, 198, 96, 0.2);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.home-notice-card h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.home-notice-card p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 12px;
}

.home-notice-card span {
  font-size: 11px;
  color: #9ca3af;
}

.home-empty {
  padding: 16px;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed rgba(39, 198, 96, 0.3);
  color: #6b7280;
  background: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .portal-outline-btn,
  button,
  .btn,
  .portal-nav-link,
  .tab-btn,
  input,
  select,
  textarea,
  .segmented button {
    transition: none;
  }
}

@media (max-width: 960px) {
  .portal-market-scroll {
    grid-template-columns: 1fr;
  }
  .portal-topbar-meta {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .portal-topbar-right {
    width: 100%;
    justify-content: flex-start;
  }
  .portal-topbar-meta {
    width: 100%;
    justify-content: flex-start;
    order: 3;
    margin-top: 2px;
  }
  .portal-header-chip {
    font-size: 10px;
    padding: 5px 8px;
  }
  .portal-market-strip {
    padding: 8px;
    border-radius: 14px;
  }
  .portal-pulse-card {
    padding: 10px;
  }
  .auth-hero-stats {
    grid-template-columns: 1fr;
  }
  .auth-feature-grid {
    grid-template-columns: 1fr;
  }
  .portal-legal-links {
    gap: 8px;
  }
  .home-kyc-card {
    grid-template-columns: 1.35fr 0.95fr;
    width: 100%;
    align-items: end;
  }
  .home-kyc-illustration {
    height: 72px;
    align-self: end;
    transform: translateY(-4px);
    justify-content: flex-end;
  }
  .home-kyc-verified-img {
    max-width: 74px;
  }
  .home-promo-grid {
    scroll-snap-type: x mandatory;
    grid-auto-columns: 100%;
  }
  .home-promo-card {
    scroll-snap-align: center;
  }
  .home-promo-card img {
    height: auto;
    object-fit: contain;
    background: #f8fafc;
  }
  .trade-chart {
    margin-bottom: 0;
  }
  body.portal-module-body {
    overflow: auto;
  }

  .trade-screen {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 10px;
    min-height: calc(100dvh - 64px);
  }

  .trade-header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
  }

  .trade-actions {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
    grid-template-columns: 1fr 96px 1fr;
    gap: 8px;
  }

  .trade-btn {
    border-radius: 12px;
    padding: 12px 10px;
  }

  .trade-lot {
    border-radius: 12px;
    padding: 10px 8px;
  }

  .trade-chart {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top-color: #e3ebf3;
    border-radius: 0;
  }

  .trade-chart-widget {
    min-height: calc(100dvh - 64px - 56px - 54px - 20px);
  }
}

@media (min-width: 1024px) {
  .home-screen {
    max-width: 1280px;
    padding-left: 0;
    padding-right: 0;
  }
  .master-screen {
    max-width: 1280px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
  }
  .home-balance-card {
    height: 100%;
  }
  .home-kyc-card {
    max-width: none;
    width: 100%;
  }
  .home-bottom-nav {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    margin: 4px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    border-radius: 999px;
    padding: 8px 16px;
    width: min(720px, calc(100% - 28px));
    box-shadow: 0 16px 30px rgba(11, 18, 32, 0.12);
    border: 1px solid rgba(39, 198, 96, 0.25);
    backdrop-filter: blur(8px);
    z-index: 20;
  }
.home-bottom-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
  }
  .home-bottom-nav a:hover {
    text-decoration: none;
  }
  .home-bottom-nav i {
    font-size: 19px;
    color: #0f172a;
  }
  .home-bottom-nav a.is-active {
    color: #27c660;
  }
  .home-bottom-nav a.is-active i {
    color: #27c660;
  }
  .home-account-modal-card {
    width: min(980px, calc(100% - 72px));
    padding: 20px 18px 18px;
  }
  .home-account-modal-tabs {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
  .home-account-tab-panel {
    max-width: 1060px;
    margin: 0 auto;
  }
  .home-account-funds-row {
    padding: 22px 26px;
  }
  .home-account-funds-row span,
  .home-account-funds-row strong {
    font-size: 20px;
  }
  .home-account-panel-icon {
    width: 78px;
    height: 78px;
  }
  .home-account-panel-icon img,
  .home-account-panel-icon i {
    width: 30px;
    height: 30px;
    font-size: 30px;
  }
  .home-account-panel-action {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .home-account-modal-card {
    width: calc(100% - 26px);
    max-height: calc(100dvh - 110px);
    top: 50%;
    border-radius: 18px;
    padding: 12px 10px 12px;
  }
  .home-account-id {
    font-size: 17px;
  }
  .home-account-modal-tabs {
    margin-bottom: 10px;
    padding: 0 2px 8px;
  }
  .home-account-tab {
    font-size: 15px;
    padding: 6px 8px 10px;
  }
  .home-account-tab.is-active::after {
    height: 3px;
    bottom: -9px;
  }
  .home-account-funds-row {
    padding: 14px 12px;
  }
  .home-account-funds-row span,
  .home-account-funds-row strong {
    font-size: 16px;
  }
  .home-account-actions-panel {
    padding: 12px 6px 10px;
    gap: 6px;
  }
  .home-account-panel-icon {
    width: 54px;
    height: 54px;
  }
  .home-account-panel-icon img {
    width: 22px;
    height: 22px;
  }
  .home-account-panel-icon i {
    font-size: 22px;
  }
  .home-account-panel-action {
    font-size: 12px;
    gap: 7px;
  }
  .home-legal-footer {
    margin-top: 10px;
    padding: 12px 0 10px;
  }
  .home-legal-top {
    align-items: flex-start;
  }
  .home-legal-links {
    gap: 10px 14px;
  }
  .home-legal-links a {
    font-size: 12px;
  }
  .home-legal-icon {
    width: 28px;
    height: 28px;
  }
  .home-legal-copy p {
    font-size: 10px;
    line-height: 1.15;
  }
}

/* Portfolio (app-style copier view) */
.pf-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 16px;
}

.pf-alert {
  margin: 0 0 14px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(254, 242, 242, 0.95);
  color: #b91c1c;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
}

.pf-summary-card,
.pf-master-card,
.pf-trades-card,
.pf-pending-notice,
.pf-empty-card {
  border: 1px solid #67ea78;
  background: #f6fbf9;
  border-radius: 18px;
}

.pf-summary-card {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.pf-summary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pf-summary-row:last-child {
  margin-bottom: 0;
}

.pf-summary-row span {
  font-size: 17px;
  color: #6b7280;
  font-weight: 500;
}

.pf-summary-row strong {
  font-size: 22px;
  color: #0b1220;
  line-height: 1.05;
  font-weight: 800;
}

.pf-pending-notice {
  padding: 12px 16px;
  margin-bottom: 18px;
  background: #fffbea;
  border-color: #f5d86f;
}

.pf-pending-notice p {
  margin: 0;
  color: #7c5607;
  font-weight: 600;
}

.pf-section {
  margin-bottom: 18px;
}

.pf-section-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: #0b1220;
}

.pf-copied-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.pf-copied-header .pf-section-title {
  margin-bottom: 0;
}

.pf-view-all-pill {
  border: 1px solid #67ea78 !important;
  background: #e5f7f2 !important;
  color: #0b1220 !important;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none !important;
  transform: none !important;
}

.pf-view-all-pill:hover,
.pf-view-all-pill:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.pf-masters-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pf-master-card {
  padding: 18px;
}

.pf-master-top {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 16px;
}

.pf-master-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #dff3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-size: 24px;
  font-weight: 800;
}

.pf-master-main h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #0b1220;
}

.pf-master-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pf-pill-status,
.pf-pill-risk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.pf-pill-status {
  background: #efe4a6;
  color: #111827;
}

.pf-pill-status.pending {
  background: #fef3c7;
}

.pf-pill-status.stopped {
  background: #e5e7eb;
  color: #6b7280;
}

.pf-pill-risk.low {
  background: #10b332;
  color: #fff;
}

.pf-pill-risk.medium {
  background: #f5dd17;
  color: #111827;
}

.pf-pill-risk.high {
  background: #f5281f;
  color: #fff;
}

.pf-master-actions {
  margin-top: 16px;
}

.pf-stop-btn {
  border-radius: 16px;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  color: #6b7280 !important;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none !important;
  transform: none !important;
}

.pf-stop-btn:hover,
.pf-stop-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.pf-stop-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pf-empty-card {
  padding: 18px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}

.pf-trades-section {
  margin-top: 10px;
}

.pf-trades-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 8px;
}

.pf-trades-section-title {
  font-size: 18px;
  color: #6b7280;
  font-weight: 700;
}

.pf-trades-section-total {
  font-size: 18px;
  font-weight: 700;
}

.pf-trades-section-total.profit-pos,
.pf-trade-profit.profit-pos {
  color: #10b981;
}

.pf-trades-section-total.profit-neg,
.pf-trade-profit.profit-neg {
  color: #ef4444;
}

.pf-trade-profit.profit-zero {
  color: #6b7280;
}

.pf-trades-card {
  overflow: hidden;
}

.pf-trade-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
}

.pf-trade-lefticon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-trade-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dbe7f4;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.pf-trade-main {
  min-width: 0;
}

.pf-trade-symbol {
  font-size: 20px;
  line-height: 1.05;
  color: #0b1220;
  font-weight: 800;
}

.pf-trade-side {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 500;
}

.pf-trade-side.buy {
  color: #2563eb;
}

.pf-trade-side.sell {
  color: #ef4444;
}

.pf-trade-profit {
  font-size: 21px;
  line-height: 1.05;
  font-weight: 500;
  white-space: nowrap;
}

.pf-trade-sep {
  height: 1px;
  background: #cfd4da;
}

.pf-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.pf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
}

.pf-modal-panel {
  position: relative;
  margin: 72px auto 16px;
  width: min(900px, calc(100% - 18px));
  max-height: calc(100vh - 88px);
  border-radius: 20px;
  border: 1px solid rgba(103, 234, 120, 0.9);
  background: #eef6f3;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.pf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce6e2;
  background: #f6fbf9;
}

.pf-modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0b1220;
}

.pf-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #64748b !important;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.pf-modal-close:hover,
.pf-modal-close:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.pf-modal-body {
  overflow: auto;
  padding: 8px 14px 0;
}

.pf-modal-foot {
  padding: 12px 14px 14px;
  display: flex;
  justify-content: center;
}

.pf-load-more-btn {
  border: 1px solid #67ea78 !important;
  background: #e5f7f2 !important;
  color: #0b1220 !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.pf-load-more-btn:hover,
.pf-load-more-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

body.pf-modal-open {
  overflow: hidden;
}

.cth-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.cth-topbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

.cth-topbar h1 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  color: #0b1220;
}

.cth-back {
  width: 40px;
  height: 40px;
  border: 0 !important;
  background: transparent !important;
  color: #27c660 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 999px;
  box-shadow: none !important;
  transform: none !important;
  padding: 0;
}

.cth-back:hover,
.cth-back:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.cth-spacer {
  width: 40px;
  height: 40px;
  display: block;
}

.cth-loadmore-wrap {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.cth-load-more {
  border: 1px solid #67ea78 !important;
  background: #ffffff !important;
  color: #0b1220 !important;
  border-radius: 999px;
  padding: 13px 34px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.cth-load-more:hover,
.cth-load-more:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.stg-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 28px;
}

.stg-topbar {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.stg-topbar h1 {
  margin: 0;
  text-align: center;
  color: #0b1220;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.stg-topbar-title-placeholder {
  display: block;
  min-height: 22px;
}

.stg-topbar-spacer {
  width: 28px;
  height: 28px;
}

.stg-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #f6fbf9;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.stg-card-title {
  margin: 0 0 12px;
  color: #0b1220;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.stg-avatar-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.stg-avatar-wrap {
  position: relative;
  width: 110px;
  height: 88px;
}

.stg-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dff3ec;
  color: #27c660;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  overflow: hidden;
}

.stg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stg-avatar-edit {
  position: absolute;
  left: 66px;
  top: 52px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0 !important;
  background: #f1f5f9 !important;
  color: #27c660 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transform: none !important;
  padding: 0;
}

.stg-avatar-edit:hover,
.stg-avatar-edit:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.stg-avatar-side {
  min-width: 0;
}

.stg-kyc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.stg-kyc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: #e5e7eb;
  color: #111827;
}

.stg-kyc-pill.ok {
  background: #dff3ec;
  color: #111827;
}

.stg-kyc-pill.pending {
  background: #e5e7eb;
  color: #374151;
}

.stg-kyc-pill.bad {
  background: #fee2e2;
  color: #991b1b;
}

.stg-kyc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: #e8f8ef;
  color: #27c660;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}

.stg-master-btn {
  width: 100%;
}

.stg-form {
  display: grid;
  gap: 8px;
}

.stg-label {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  margin-top: 4px;
}

.stg-input {
  width: 100%;
  border: 1px solid #e1e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  color: #0b1220;
  outline: none;
  box-sizing: border-box;
}

.stg-input:focus {
  border-color: rgba(39, 198, 96, 0.5);
  box-shadow: 0 0 0 3px rgba(39, 198, 96, 0.12);
}

.stg-primary,
.stg-secondary,
.stg-danger,
.stg-logout-btn {
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  box-shadow: none !important;
  transform: none !important;
}

.stg-primary:hover,
.stg-primary:focus-visible,
.stg-secondary:hover,
.stg-secondary:focus-visible,
.stg-danger:hover,
.stg-danger:focus-visible,
.stg-logout-btn:hover,
.stg-logout-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.stg-primary {
  border: 0 !important;
  background: #27c660 !important;
  color: #fff !important;
}

.stg-primary:disabled,
.stg-secondary:disabled,
.stg-danger:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.stg-secondary {
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  color: #0b1220 !important;
}

.stg-secondary.small {
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 700;
}

.stg-danger {
  border: 0 !important;
  background: #ef4444 !important;
  color: #fff !important;
}

.stg-partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.stg-partner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.stg-partner-title .stg-card-title {
  margin: 0;
  font-size: 18px;
}

.stg-partner-title i {
  color: #6b7280;
  font-size: 18px;
}

.stg-partner-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stg-seg-btn {
  border-radius: 999px;
  border: 1px solid transparent !important;
  background: #eceff3 !important;
  color: #6b7280 !important;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.stg-seg-btn.is-active {
  background: #e8f8ef !important;
  border-color: rgba(39, 198, 96, 0.4) !important;
  color: #27c660 !important;
}

.stg-seg-btn:hover,
.stg-seg-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.stg-partner-value-wrap {
  margin: 4px 0 14px;
  text-align: center;
}

.stg-partner-value {
  display: inline-block;
  color: #1d4ed8;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  word-break: break-word;
  text-decoration: underline;
}

.stg-partner-value.is-empty {
  text-decoration: none;
  color: #6b7280;
}

.stg-partner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.stg-partner-actions .stg-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stg-partner-actions .stg-secondary i {
  font-size: 18px;
}

.stg-partner-footer {
  display: block;
  text-align: center;
  color: #1d4ed8;
  text-decoration: underline;
  font-weight: 500;
  font-size: 14px;
}

.stg-copy-lines {
  margin-bottom: 10px;
}

.stg-copy-line {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 14px;
}

.stg-copy-line strong {
  color: #0b1220;
  font-weight: 800;
}

.stg-2fa-block {
  display: grid;
  gap: 8px;
}

.stg-2fa-title {
  margin: 0;
  color: #0b1220;
  font-size: 16px;
  font-weight: 800;
}

.stg-2fa-state {
  color: #6b7280;
  font-size: 13px;
}

.stg-2fa-actions {
  display: grid;
  gap: 8px;
}

.stg-2fa-panel {
  margin-top: 2px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: grid;
  gap: 10px;
}

.stg-helper {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.stg-helper-code {
  font-size: 12px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #f8d68b;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
}

.stg-qr-wrap {
  display: flex;
  justify-content: center;
}

.stg-qr-wrap img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.stg-secret-wrap {
  display: grid;
  gap: 8px;
}

.stg-secret {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0b1220;
  word-break: break-all;
}

.stg-inline-form {
  display: grid;
  gap: 8px;
}

.stg-inline-form .stg-input {
  margin: 0;
}

.stg-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 14px 0;
}

.stg-logout-btn {
  width: 100%;
  border: 0 !important;
  background: #ff004f !important;
  color: #fff !important;
  font-size: 16px;
  margin-top: 4px;
}

.stg-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.stg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.48);
}

.stg-modal-card {
  position: relative;
  width: min(360px, calc(100% - 18px));
  margin: 90px auto 0;
  border-radius: 18px;
  border: 1px solid rgba(39, 198, 96, 0.2);
  background: #f6fbf9;
  overflow: hidden;
}

.stg-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.stg-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0b1220;
}

.stg-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  color: #64748b !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0;
}

.stg-modal-close:hover,
.stg-modal-close:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.stg-modal-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.stg-partner-qr {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.stg-partner-qr-caption {
  text-align: center;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}

@media (max-width: 767px) {
  .pf-page {
    max-width: 100%;
  }
  .pf-summary-card {
    padding: 16px;
    border-radius: 16px;
  }
  .pf-summary-row span {
    font-size: 14px;
  }
  .pf-summary-row strong {
    font-size: 16px;
  }
  .pf-section-title {
    font-size: 22px;
  }
  .pf-copied-header {
    gap: 8px;
  }
  .pf-view-all-pill {
    padding: 8px 12px;
    font-size: 12px;
  }
  .pf-master-card {
    padding: 14px;
    border-radius: 16px;
  }
  .pf-master-top {
    grid-template-columns: 66px 1fr;
    gap: 12px;
  }
  .pf-master-avatar {
    width: 66px;
    height: 66px;
    font-size: 18px;
  }
  .pf-master-main h3 {
    font-size: 16px;
  }
  .pf-pill-status,
  .pf-pill-risk {
    padding: 6px 12px;
    font-size: 11px;
  }
  .pf-stop-btn {
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 14px;
  }
  .pf-trades-section-title {
    font-size: 14px;
  }
  .pf-trades-section-total {
    font-size: 14px;
  }
  .pf-trade-row {
    grid-template-columns: 40px 1fr auto;
    padding: 13px 12px;
    gap: 10px;
  }
  .pf-trade-lefticon {
    width: 40px;
    height: 40px;
  }
  .trade-pair-icon {
    width: 40px;
    height: 40px;
  }
  .pf-trade-icon-badge {
    width: 40px;
    height: 40px;
    font-size: 9px;
  }
  .pf-trade-symbol {
    font-size: 16px;
  }
  .pf-trade-side {
    font-size: 12px;
  }
  .pf-trade-profit {
    font-size: 17px;
  }
  .pf-modal-panel {
    margin-top: 58px;
    width: calc(100% - 10px);
    max-height: calc(100vh - 66px);
    border-radius: 16px;
  }
  .cth-page {
    max-width: 100%;
    padding-top: 0;
  }
  .cth-topbar {
    grid-template-columns: 34px 1fr 34px;
    margin-bottom: 8px;
  }
  .cth-topbar h1 {
    font-size: 22px;
  }
  .cth-back,
  .cth-spacer {
    width: 34px;
    height: 34px;
  }
  .cth-back {
    font-size: 22px;
  }
  .cth-load-more {
    padding: 12px 28px;
    font-size: 14px;
  }
  .stg-page {
    max-width: 100%;
    padding-top: 0;
  }
  .stg-card {
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
  }
  .stg-card-title {
    font-size: 18px;
  }
  .stg-avatar-row {
    grid-template-columns: 96px 1fr;
    gap: 10px;
  }
  .stg-avatar-wrap {
    width: 96px;
    height: 84px;
  }
  .stg-avatar {
    width: 68px;
    height: 68px;
    font-size: 22px;
  }
  .stg-avatar-edit {
    left: 58px;
    top: 46px;
    width: 26px;
    height: 26px;
  }
  .stg-kyc-pill {
    padding: 7px 12px;
    font-size: 11px;
  }
  .stg-input {
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
  }
  .stg-primary,
  .stg-secondary,
  .stg-danger,
  .stg-logout-btn {
    border-radius: 12px;
    padding: 12px 12px;
    font-size: 14px;
  }
  .stg-partner-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .stg-partner-title .stg-card-title {
    font-size: 16px;
  }
  .stg-partner-tabs {
    align-self: flex-end;
  }
  .stg-partner-value {
    font-size: 14px;
  }
  .stg-qr-wrap img {
    width: 150px;
    height: 150px;
  }
  .stg-partner-qr {
    width: 190px;
    height: 190px;
  }
}

/* Deposit (app-style payment methods) */
.depv2-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 28px;
}

.depv2-title {
  margin: 0 0 14px;
  color: #0b1220;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.depv2-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 1024px) {
  .depv2-page {
    padding-bottom: 72px;
  }

  .depv2-list {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .depv2-card {
    height: 100%;
  }
}

.depv2-loading {
  border: 1px solid rgba(103, 234, 120, 0.7);
  background: #f6fbf9;
  border-radius: 18px;
  padding: 18px;
  color: #6b7280;
  font-weight: 600;
}

.depv2-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(103, 234, 120, 0.85) !important;
  background: #f6fbf9 !important;
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-card:hover,
.depv2-card:focus-visible {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(39, 198, 96, 0.95) !important;
}

.depv2-card.is-disabled {
  opacity: 0.6;
  cursor: default;
}

.depv2-card.is-disabled:hover,
.depv2-card.is-disabled:focus-visible {
  border-color: rgba(103, 234, 120, 0.85) !important;
}

.depv2-card-header {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
}

.depv2-card-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin-top: 2px;
}

.depv2-card-body {
  min-width: 0;
}

.depv2-card-title {
  color: #0b1220;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
}

.depv2-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.depv2-card-pill.is-recommended {
  background: #dff3e7;
  color: #22975a;
}

.depv2-card-pill.is-maintenance {
  background: #ffe3e2;
  color: #ea4335;
}

.depv2-card-meta {
  margin-top: 8px;
  color: #8a909c;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.depv2-card-meta strong {
  color: #0b1220;
  font-weight: 500;
}

.depv2-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.depv2-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.48);
}

.depv2-modal-panel {
  position: relative;
  width: min(920px, calc(100% - 16px));
  max-height: calc(100vh - 86px);
  margin: 72px auto 14px;
  border-radius: 20px;
  border: 1px solid rgba(103, 234, 120, 0.85);
  background: #eef6f3;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.depv2-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #dbe7e1;
  background: #f6fbf9;
}

.depv2-modal-head h2 {
  margin: 0;
  color: #0b1220;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
}

.depv2-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #64748b !important;
  display: grid;
  place-items: center;
  box-shadow: none !important;
  transform: none !important;
  padding: 0;
}

.depv2-modal-close:hover,
.depv2-modal-close:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.depv2-modal-body {
  overflow: auto;
  padding: 14px;
}

.depv2-form {
  display: grid;
  gap: 12px;
}

.depv2-method-head {
  border: 1px solid rgba(103, 234, 120, 0.5);
  background: #f6fbf9;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.depv2-method-head-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.depv2-method-head-title {
  color: #0b1220;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}

.depv2-method-head-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.depv2-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1024px) {
  .depv2-mobile-money-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
    align-items: start;
  }
}

.depv2-field {
  display: grid;
  gap: 7px;
}

.depv2-field > span {
  color: #0b1220;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
}

.depv2-field input,
.depv2-field select,
.depv2-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d7e4dd;
  background: #ffffff;
  color: #0b1220;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 12px;
  outline: none;
}

.depv2-field textarea {
  resize: vertical;
  min-height: 74px;
}

.depv2-field input:focus,
.depv2-field select:focus,
.depv2-field textarea:focus {
  border-color: rgba(39, 198, 96, 0.75);
  box-shadow: 0 0 0 3px rgba(39, 198, 96, 0.1);
}

.depv2-field small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.depv2-address-card {
  border: 1px solid rgba(103, 234, 120, 0.5);
  background: #f6fbf9;
  border-radius: 16px;
  padding: 12px;
}

.depv2-address-card.is-warning {
  border-color: rgba(239, 68, 68, 0.35);
  background: #fff7f7;
}

.depv2-address-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.depv2-address-label {
  color: #27c660;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.depv2-copy-btn {
  border: 1px solid rgba(39, 198, 96, 0.6) !important;
  background: #ffffff !important;
  color: #17a94e !important;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-copy-btn:hover,
.depv2-copy-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.depv2-copy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.depv2-address-value {
  margin-top: 0;
  color: #0b1220;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  word-break: break-all;
  text-align: center;
}

.depv2-address-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.depv2-qr {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 12px auto 0;
  border-radius: 12px;
  border: 1px solid #d7e4dd;
  background: #fff;
  padding: 6px;
}

.depv2-proof-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
}

.depv2-proof-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.45);
}

.depv2-proof-card {
  position: relative;
  width: min(760px, calc(100% - 20px));
  margin: 78px auto 16px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  background: #f8faf7;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.depv2-proof-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #64748b !important;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-close:hover,
.depv2-proof-close:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-card h3 {
  margin: 2px 42px 8px 0;
  text-align: center;
  color: #0b1220;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}

.depv2-proof-sub {
  margin: 0 0 14px;
  text-align: center;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.35;
}

.depv2-proof-preview {
  border: 1px solid #e5e7eb;
  background: #eef0f4;
  border-radius: 14px;
  padding: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depv2-proof-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: transparent;
}

#depv2ProofPlaceholder {
  color: #9ca3af;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
}

.depv2-proof-pick {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid #dce1eb !important;
  background: #e9edf5 !important;
  color: #0b1220 !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-pick:hover,
.depv2-proof-pick:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.depv2-proof-field > span {
  color: #111827;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 600;
}

.depv2-proof-field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(39, 198, 96, 0.55);
  background: #ffffff;
  color: #0b1220;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 14px;
  outline: none;
}

.depv2-proof-field input:focus {
  border-color: rgba(39, 198, 96, 0.9);
  box-shadow: 0 0 0 3px rgba(39, 198, 96, 0.1);
}

.depv2-proof-error {
  margin: 10px 0 0;
  color: #ef4444;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.depv2-proof-submit {
  width: 100%;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #27c660 !important;
  background: #27c660 !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 14px;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-submit:hover,
.depv2-proof-submit:focus-visible {
  box-shadow: none !important;
  transform: none !important;
}

.depv2-proof-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.wdv2-note-card {
  margin-top: 12px;
  border: 1px solid #d7e5ff;
  background: #e6f0ff;
  border-radius: 12px;
  padding: 12px 14px;
}

.wdv2-note-card p {
  margin: 0;
  color: #0b1220;
  font-size: 14px;
  line-height: 1.45;
}

.wdv2-withdraw-preview {
  margin-top: 14px;
  border: 1px solid #7ff889;
  background: #ecf0f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.wdv2-withdraw-preview-label {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.1;
}

.wdv2-withdraw-preview-value {
  margin-top: 4px;
  color: #0b1220;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wdv2-withdraw-preview-value span {
  font-size: 15px;
  font-weight: 700;
}

.wdv2-review {
  padding-top: 4px;
}

.wdv2-review-lock {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 35px;
  background: #e8f8ef;
  color: #27c660;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.wdv2-review-title {
  margin: 10px 0 0;
  color: #0b1220;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.wdv2-review-card {
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid #7ff889;
  background: #f0f4f5;
  overflow: hidden;
}

.wdv2-review-card-soft {
  margin-top: 12px;
}

.wdv2-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.wdv2-review-row:last-child {
  border-bottom: 0;
}

.wdv2-review-row > span {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.1;
}

.wdv2-review-row > strong {
  color: #0b1220;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-align: right;
}

.wdv2-review-destination {
  max-width: 65%;
  overflow-wrap: anywhere;
}

.wdv2-review-actions {
  margin-top: 14px;
}

.wdv2-success {
  padding: 18px 4px 6px;
  text-align: center;
}

.wdv2-success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 35px;
  background: #e8f8ef;
  color: #27c660;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.wdv2-success h3 {
  margin: 10px 0 0;
  color: #0b1220;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wdv2-success p {
  margin: 8px auto 0;
  max-width: 520px;
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
}

.depv2-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.depv2-btn {
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none !important;
  transform: none !important;
}

.depv2-btn:hover,
.depv2-btn:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.depv2-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.depv2-btn-soft {
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  color: #64748b !important;
}

.depv2-btn-primary {
  border: 1px solid #27c660 !important;
  background: #27c660 !important;
  color: #ffffff !important;
}

.depv2-inline-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.depv2-inline-error {
  color: #b91c1c;
}

.depv2-copy-amount-warn {
  margin: -2px 2px 0;
  color: #ef4444;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  animation: depv2WarnPulse 0.95s ease-in-out infinite;
}

@keyframes depv2WarnPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.depv2-modal-open {
  overflow: hidden;
}

body.depv2-proof-open {
  overflow: hidden;
}

@media (max-width: 840px) {
  .depv2-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .depv2-card {
    border-radius: 20px;
    padding: 14px 14px;
  }

  .depv2-card-title {
    font-size: 18px;
  }

  .depv2-card-meta {
    font-size: 16px;
    margin-top: 7px;
  }

  .depv2-modal-panel {
    width: calc(100% - 10px);
    margin-top: 66px;
    max-height: calc(100vh - 74px);
    border-radius: 16px;
  }

  .depv2-modal-head {
    padding: 12px;
  }

  .depv2-modal-body {
    padding: 12px;
  }

  .depv2-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .depv2-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .depv2-btn {
    width: 100%;
    justify-content: center;
  }

  .depv2-qr {
    width: 160px;
    height: 160px;
  }

  .depv2-proof-card {
    width: calc(100% - 12px);
    margin-top: 70px;
    border-radius: 16px;
    padding: 12px;
  }

  .depv2-proof-card h3 {
    font-size: 20px;
    margin-right: 34px;
  }

  .depv2-proof-sub {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .wdv2-review-title {
    font-size: 24px;
  }

  .wdv2-withdraw-preview-value {
    font-size: 22px;
  }

  .depv2-proof-preview {
    min-height: 170px;
  }

  .home-add-modal {
    padding: 10px;
    align-items: center;
  }

  .home-add-modal-card {
    width: calc(100% - 4px);
    border-radius: 24px;
    padding: 16px 14px 14px;
  }

  .home-add-modal-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .home-add-modal-input {
    height: 58px;
    border-radius: 18px;
    font-size: 20px;
    padding: 0 16px;
  }

  .home-add-modal-actions {
    margin-top: 14px;
    gap: 10px;
  }

  .home-add-modal-btn {
    height: 58px;
    border-radius: 16px;
    font-size: 18px;
  }

  .home-add-modal-error {
    font-size: 13px;
    margin-top: 8px;
  }
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/inter/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./fonts/inter/Inter-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./fonts/inter/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./fonts/inter/Inter-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html, body, button, input, select, textarea {
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
