@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --sidebar-bg: #1d1d1d;
  --sidebar-w: 240px;
  --gold-start: #FBDC6F;
  --gold-end: #B3752A;
  --gold-mid: #E5A830;
  --gold-light: #FBDC6F;
  --gold-grad: linear-gradient(135deg, #FBDC6F 0%, #E5A830 52%, #B3752A 100%);
  --bg: #f5f7f9;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-sub: #888;
  --text-inv: #fff;
  --active-gold: #E5A830;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --tr: 0.2s ease;
  --bittu-keyboard-lift: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

button,
input,
textarea,
select {
  max-width: 100%;
}

p,
span,
small,
strong,
em,
dd,
dt,
button,
label {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html {
  background: #0a0a0a;
  min-height: 100vh;
  color-scheme: light dark;
}

body {
  font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-top: 38px; /* disclaimer-bar 공간 */
  /* ── 모바일 뷰 모드 (데스크탑에서도 폰 폭으로 표시) ── */
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  /* transform 제거: fixed 자식이 viewport 기준이 되어 정상적으로 따라다니도록 */
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  overflow-x: hidden;
}

@media (prefers-color-scheme: light) {
  html {
    background: #f7f8fb;
  }
  body {
    background: #f7f8fb;
    box-shadow: 0 0 46px rgba(17,24,39,0.12);
  }
}

@media (prefers-color-scheme: dark) {
  html {
    background: #0a0a0a;
  }
}

/* fixed 요소들을 body 폭(420px)에 맞춰 위치 보정 */
:root {
  --mobile-w: 420px;
  --mobile-half: 210px; /* mobile-w / 2 */
}

/* 모바일 뷰: 사이드바 항상 햄버거로 */
.sidebar {
  transform: translateX(-100%);
  width: 240px;
}
.sidebar.open { transform: translateX(0); }
.main { margin-left: 0 !important; }
.mobile-menu-btn { display: flex !important; }
.overlay { display: none; position: absolute; }
.overlay.show { display: block; }

/* topbar/progress 패딩 모바일 사이즈로 */
.topbar { padding: 0 14px !important; }
.progress-wrap { padding: 8px 14px !important; }
.page-content { padding: 14px !important; }

/* ─── DISCLAIMER (모든 페이지 상단 고정) ─── */
#disclaimer-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  z-index: 10000;
  background: linear-gradient(90deg, #FBDC6F 0%, #E5A830 50%, #B3752A 100%);
  color: #1a1a1a;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#disclaimer-bar strong { font-weight: 800; margin-right: 4px; }

/* topbar (시뮬레이터 본문)은 disclaimer 아래로 + 타이틀 줄바꿈 허용 */
.topbar { top: 38px !important; }
.topbar-title {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.18;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.topbar > div:first-child {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.hidden { display: none !important; }

/* ─── LOGIN / REGISTER (iMine 사이트 모방 - 다크 모드) ─── */
.login-screen {
  min-height: 100vh;
  background: #020202;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Top Header */
.login-header {
  background: transparent;
  height: 60px;
  display: flex; align-items: center;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}
.login-header-inner {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.login-header-logo { display: flex; align-items: center; }
.login-header-right { display: flex; align-items: center; gap: 12px; }
.login-lang {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: rgba(255,255,255,0.65); cursor: pointer;
  padding: 6px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  transition: var(--tr);
}
.login-lang:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Decorative circles (subtle on dark) */
.login-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.login-circle-1 {
  width: 380px; height: 380px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(251,220,111,0.08), rgba(251,220,111,0) 70%);
}
.login-circle-2 {
  width: 460px; height: 460px;
  bottom: -160px; right: -140px;
  background: radial-gradient(circle, rgba(179,117,42,0.06), rgba(179,117,42,0) 70%);
}

/* Content area */
.login-content {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 30px 16px 110px; /* 하단 여백: fixed 비뚜 카드 공간 확보 */
  position: relative;
  z-index: 2;
}
.login-box {
  width: 100%; max-width: 460px;
  background: transparent;
  border-radius: 0;
  padding: 16px 24px 24px;
  box-shadow: none;
}

.login-title {
  font-size: 28px; font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

/* PILL-shape input + floating label */
.login-input-wrap {
  position: relative;
}
.login-input {
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 17px 22px;
  font-family: inherit; font-size: 14px;
  color: #fff;
  transition: var(--tr);
  height: 54px;
}
.login-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
}
.login-input.input-error {
  border-color: #ef4444 !important;
  background: rgba(239,68,68,0.06) !important;
  animation: shake-x 0.4s;
}
.login-input-help {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: -6px 4px 4px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.login-input-help strong {
  color: var(--gold-start);
  font-weight: 700;
  display: inline;
  white-space: nowrap;
}
.login-caps-warning {
  margin: -6px 4px 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255,107,107,0.38);
  border-radius: 12px;
  background: rgba(255,107,107,0.1);
  color: #ffb4b4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
@keyframes shake-x {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.login-floating-label {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  background: #020202;
  padding: 0 6px;
  transition: all 0.2s ease;
}
.login-input:focus ~ .login-floating-label,
.login-input:not(:placeholder-shown) ~ .login-floating-label {
  top: 0;
  font-size: 11px;
  color: var(--gold-start);
  font-weight: 500;
}
.login-input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  opacity: 0.6;
  color: #fff;
  transition: var(--tr);
}
.login-input-icon:hover { opacity: 1; }

.login-forgot {
  display: block;
  font-size: 13px;
  color: var(--gold-start);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--tr);
  margin: 4px 0;
  font-weight: 500;
}
.login-forgot:hover { color: var(--gold-mid); text-decoration: underline; }

.login-btn-primary {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #1a1a1a;
  border: none;
  border-radius: 28px;
  padding: 16px;
  font-family: inherit; font-size: 15px; font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  transition: var(--tr);
  box-shadow: 0 6px 18px rgba(229,168,48,0.18);
  letter-spacing: 0.02em;
  height: 54px;
}
.login-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(229,168,48,0.3); }
.login-btn-primary:active { transform: translateY(0); }
.login-btn-primary:disabled { opacity: 0.7; cursor: wait; transform: none; }

.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0;
}
.login-divider-line {
  flex: 1; height: 1px;
  background: rgba(255,255,255,0.15);
}
.login-divider-text {
  font-size: 12px; color: rgba(255,255,255,0.5);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.login-btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 15px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--tr);
  height: 54px;
}
.login-btn-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}
.passkey-icon { font-size: 18px; }

.login-passkey-help {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin: -2px 0 4px;
  line-height: 1.6;
}

.login-signup {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.login-signup-text { color: rgba(255,255,255,0.55); }
.login-signup-link {
  color: var(--gold-start);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--tr);
}
.login-signup-link:hover { text-decoration: underline; }

/* Bittu helper card - FIXED bottom-right (body 폭에 맞춰 viewport 기준으로 따라다님) */
.login-help-bittu {
  position: fixed;
  bottom: calc(14px + var(--bittu-keyboard-lift, 0px));
  /* viewport 가운데에서 body 우측 끝까지 = 50vw + mobile-half, 거기서 14px 안쪽 */
  right: max(14px, calc(50vw - var(--mobile-half) + 14px));
  z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(var(--mobile-w) - 28px);
  width: calc(100% - 28px);
  background: rgba(20,20,20,0.95);
  border: 1px dashed rgba(229,168,48,0.5);
  border-radius: 18px;
  padding: 10px 14px 10px 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  margin-top: 0;
  transition: bottom 0.22s ease, transform 0.22s ease;
}
.lhb-char {
  width: 36px; height: 36px;
  flex-shrink: 0;
  animation: bounce 2s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.lhb-char img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.lhb-text {
  font-size: 11.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.lhb-text strong { color: var(--gold-start); font-weight: 700; }
.lhb-text em {
  color: var(--gold-start); font-style: normal; font-weight: 700;
  background: rgba(251,220,111,0.18);
  padding: 1px 6px; border-radius: 999px;
}

/* Register-specific */
.register-box {
  max-width: 460px;
}
.password-rules {
  margin: -6px 4px 4px;
  padding: 12px 14px;
  border: 1px solid rgba(251,220,111,0.26);
  border-radius: 14px;
  background: rgba(251,220,111,0.06);
  color: rgba(255,255,255,0.74);
}
.password-rules p {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
}
.password-rules ul {
  list-style: none;
  display: grid;
  gap: 5px;
}
.password-rules li {
  position: relative;
  padding-left: 16px;
  font-size: 11.5px;
  line-height: 1.45;
  word-break: keep-all;
}
.password-rules li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: #fb7185;
  font-weight: 800;
}
.password-rules li.is-ok {
  color: #86efac;
}
.password-rules li.is-ok::before {
  content: "✓";
  color: #4ade80;
}
.login-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reg-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  cursor: pointer; line-height: 1.6;
  margin: 6px 6px;
}
.reg-check input {
  accent-color: var(--gold-mid);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px; height: 18px;
}
.reg-link { color: var(--gold-start); text-decoration: none; cursor: pointer; font-weight: 600; }
.reg-link:hover { color: var(--gold-mid); text-decoration: underline; }

/* Mobile */
@media(max-width:540px){
  .login-header { padding: 0 16px; height: 54px; }
  .login-content { padding: 24px 14px 128px; }
  .login-box { padding: 28px 22px 22px; border-radius: 12px; }
  .login-title { font-size: 22px; margin-bottom: 22px; }
  .login-circle-1 { width: 240px; height: 240px; top: -80px; left: -80px; }
  .login-circle-2 { width: 280px; height: 280px; bottom: -100px; right: -90px; }
  .login-row-2 { grid-template-columns: 1fr; gap: 14px; }
}

/* ─── LIGHT MODE (시스템 설정 따라가기) ─── */
@media (prefers-color-scheme: light) {
  .login-screen {
    background: #f5f5f5;
    color: #1a1a1a;
  }
  .login-header-logo svg { color: #1a1a1a; }
  .login-lang {
    color: rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.06);
  }
  .login-lang:hover {
    background: rgba(0,0,0,0.12);
    color: #1a1a1a;
  }
  .login-circle-1 {
    background: radial-gradient(circle, rgba(229,168,48,0.18), rgba(229,168,48,0) 70%);
  }
  .login-circle-2 {
    background: radial-gradient(circle, rgba(179,117,42,0.13), rgba(179,117,42,0) 70%);
  }
  .login-title { color: #1a1a1a; }
  .login-input {
    color: #1a1a1a;
    border-color: rgba(0,0,0,0.2);
  }
  .login-input:focus {
    border-color: rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.02);
  }
  .login-floating-label {
    background: #f5f5f5;
    color: rgba(0,0,0,0.5);
  }
  .login-input:focus ~ .login-floating-label,
  .login-input:not(:placeholder-shown) ~ .login-floating-label {
    color: var(--gold-end);
  }
  .login-input-icon { color: #1a1a1a; }
  .login-forgot { color: var(--gold-end); }
  .login-forgot:hover { color: var(--gold-mid); }
  .login-divider-line { background: rgba(0,0,0,0.15); }
  .login-divider-text { color: rgba(0,0,0,0.5); }
  .login-btn-secondary {
    color: #1a1a1a;
    border-color: rgba(0,0,0,0.2);
  }
  .login-btn-secondary:hover {
    border-color: rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.03);
  }
  .login-passkey-help { color: rgba(0,0,0,0.5); }
  .login-signup { border-top-color: rgba(0,0,0,0.08); }
  .login-signup-text { color: rgba(0,0,0,0.6); }
  .login-signup-link { color: var(--gold-end); }
  .login-help-bittu {
    background: rgba(255,255,255,0.97);
    border-color: rgba(229,168,48,0.55);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  }
  .lhb-text { color: #2a2a2a; }
  .lhb-text strong { color: var(--gold-end); }
  .lhb-text em {
    color: var(--gold-end);
    background: rgba(251,220,111,0.4);
  }
  .reg-check { color: rgba(0,0,0,0.75); }
  .reg-link { color: var(--gold-end); }
  .reg-link:hover { color: var(--gold-mid); }
  .login-input-help { color: rgba(0,0,0,0.55); }
  .login-input-help strong { color: var(--gold-end); }
}

/* ─── SPLASH ─── */
.splash {
  min-height: 100vh;
  background: #1d1d1d;
  display: flex; align-items: center; justify-content: center;
  padding: 30px 16px;
}
.splash-inner {
  max-width: 1040px;
  width: 100%;
  text-align: center;
}

.splash-logo-wrap {
  width: min(280px, 74vw);
  height: auto;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
}
.splash-logo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.splash-title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.splash-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

.bittu-intro {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 16px; margin: 0 auto 14px; text-align: left;
  max-width: 560px;
}

/* 보안 안내 박스 (splash) */
.security-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.04));
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 auto 28px;
  text-align: left;
  max-width: 560px;
}
.sn-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.2;
}
.sn-text {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  flex: 1;
  word-break: keep-all;
}
.sn-text strong {
  color: #4ade80;
  font-weight: 800;
}
.sn-text em {
  color: #4ade80;
  font-style: normal;
  font-weight: 700;
}
.bittu-char {
  width: 56px; height: 56px;
  flex-shrink: 0;
  animation: bounce 1.8s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.bittu-char img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.bubble {
  background: rgba(255,255,255,0.09); border-radius: 12px 12px 12px 0;
  padding: 12px 14px; color: #fff; font-size: 13px; line-height: 1.75;
}
.bubble strong { color: var(--gold-start); }

.sc-title {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  margin: 28px 0 12px;
  text-align: center;
}

.sc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  justify-content: center;
  justify-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}
.sc-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 14px 10px; cursor: pointer;
  transition: var(--tr); color: #fff; text-align: center; width: 100%;
  min-height: 118px;
}
.sc-card:hover {
  border-color: var(--gold-start);
  background: rgba(251,220,111,0.1);
  transform: translateY(-2px);
}
.sc-card-quick {
  margin-bottom: 12px;
  border-color: rgba(59,130,246,.55);
  background: rgba(59,130,246,.08);
}
.sc-card-quick:hover {
  border-color: #3b82f6;
  background: rgba(59,130,246,.14);
}
.sc-icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.sc-info {
  min-width: 0;
  width: 100%;
  padding-right: 0;
}
.sc-info strong,
.sc-info span,
.sc-info small {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.sc-info strong { font-size: 13px; line-height: 1.18; font-weight: 700; color: var(--gold-start); }
.sc-info span { font-size: 11px; line-height: 1.25; margin-top: 3px; }
.sc-info small { font-size: 9px; line-height: 1.28; color: rgba(255,255,255,0.52); margin-top: 4px; }
.sc-card.is-complete {
  border-color: rgba(34,197,94,.55);
  background: rgba(34,197,94,.09);
}
.sc-card.is-complete .sc-info {
  padding-bottom: 14px;
}
.sc-complete-badge {
  position: absolute;
  right: 14px;
  top: 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.18);
  border: 1px solid rgba(34,197,94,.45);
  color: #86efac;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
}
.sc-retry-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  width: max-content;
}

@media(max-width:860px) {
  .splash-inner {
    max-width: 680px;
  }
  .sc-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 640px;
  }
}

@media(max-width:540px) {
  .splash-inner {
    max-width: 460px;
  }
  .sc-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 460px;
    gap: 8px;
  }
  .sc-card {
    min-height: 104px;
    padding: 10px 6px;
    border-radius: 10px;
    gap: 7px;
  }
  .sc-icon {
    font-size: 22px;
  }
  .sc-info strong {
    font-size: 10px;
    line-height: 1.18;
  }
  .sc-info span {
    font-size: 9px;
    line-height: 1.2;
  }
  .sc-info small {
    display: block;
    font-size: 8px;
    line-height: 1.18;
    margin-top: 3px;
  }
  .sc-complete-badge {
    right: 6px;
    top: 6px;
    font-size: 9px;
    padding: 3px 6px;
  }
  .sc-retry-copy {
    left: 50%;
    bottom: 7px;
    font-size: 9px;
  }
}

@media (prefers-color-scheme: light) {
  .splash {
    background: #f7f8fb;
  }
  .splash-title {
    color: #171717;
  }
  .splash-sub,
  .sc-title {
    color: rgba(23,23,23,0.68);
  }
  .bittu-intro {
    background: #fff;
    border-color: rgba(17,24,39,0.1);
    box-shadow: 0 12px 30px rgba(17,24,39,0.07);
  }
  .bubble {
    background: #f3f4f6;
    color: #1f2937;
  }
  .security-notice {
    background: linear-gradient(135deg, rgba(34,197,94,0.11), rgba(255,255,255,0.92));
    border-color: rgba(34,197,94,0.25);
    box-shadow: 0 10px 26px rgba(17,24,39,0.06);
  }
  .sn-text {
    color: rgba(31,41,55,0.84);
  }
  .sn-text strong,
  .sn-text em {
    color: #15803d;
  }
  .sc-card {
    background: #fff;
    border-color: rgba(17,24,39,0.12);
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(17,24,39,0.06);
  }
  .sc-card:hover {
    background: #fffaf0;
    border-color: var(--gold-mid);
  }
  .sc-info strong {
    color: #a16207;
  }
  .sc-info small {
    color: rgba(31,41,55,0.58);
  }
  .sc-card.is-complete {
    background: #f0fdf4;
    border-color: rgba(34,197,94,0.42);
  }
  .sc-complete-badge {
    background: rgba(34,197,94,0.12);
    color: #15803d;
  }
  .sc-retry-copy {
    color: #a16207;
  }
}

/* ─── COACHING ARROWS ─── */
.coach-target {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.coach-center {
  margin-left: auto;
  margin-right: auto;
}
.coach-arrow {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  pointer-events: none;
  white-space: nowrap;
}
.coach-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--gold-light);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.35));
}
.coach-arrow.left {
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  animation: coach-nudge-left 1s ease-in-out infinite;
}
.coach-arrow.right {
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  animation: coach-nudge-right 1s ease-in-out infinite;
}
.coach-arrow.down {
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  flex-direction: column;
  animation: coach-nudge-down 1s ease-in-out infinite;
}
.coach-arrow.left::before {
  transform: rotate(0deg);
}
.coach-arrow.right::before {
  transform: rotate(0deg);
}
.coach-arrow.down::before {
  transform: rotate(90deg);
}
.coach-pulse {
  animation: coach-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(251,220,111,.42);
}
@keyframes coach-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,220,111,.42); }
  50% { box-shadow: 0 0 0 8px rgba(251,220,111,.08); }
}
@keyframes coach-nudge-left {
  0%, 100% { transform: translate(-2px, -50%); }
  50% { transform: translate(4px, -50%); }
}
@keyframes coach-nudge-right {
  0%, 100% { transform: translate(-2px, -50%); }
  50% { transform: translate(4px, -50%); }
}
@keyframes coach-nudge-down {
  0%, 100% { transform: translate(-50%, -2px); }
  50% { transform: translate(-50%, 4px); }
}

/* ─── LAYOUT ─── */
.layout {
  display: flex;
  min-height: 100vh;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 300;
  overflow-y: auto;
  flex-shrink: 0;
}
.sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar-logo svg { color: #fff; }
.sidebar-logo-path { fill: url(#sbar-g); }

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.s-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.s-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); }
.s-kyc {
  font-size: 10px; color: #22c55e; font-weight: 600;
  background: rgba(34,197,94,0.15); padding: 2px 6px; border-radius: 4px;
  display: inline-block; margin-top: 2px;
}

.sidebar-nav { padding: 10px 0; flex: 1; }
.nav-group { margin-bottom: 4px; }
.nav-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3); padding: 10px 20px 4px;
  text-transform: uppercase;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500;
  transition: var(--tr); border-left: 3px solid transparent;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active {
  color: var(--gold-start);
  background: rgba(251,220,111,0.08);
  border-left-color: var(--gold-start);
}
.nav-link .ni { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-logout {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.logout-btn {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 13px; cursor: pointer;
  background: none; border: none; font-family: inherit; width: 100%;
  transition: var(--tr); padding: 6px 0;
}
.logout-btn:hover { color: rgba(255,255,255,0.7); }

/* ─── MAIN ─── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex; flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--white);
  border-bottom: 1px solid #eef0f2;
  padding: 0 28px;
  min-height: 60px;
  height: auto;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}
.topbar-title { font-size: 17px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.topbar-reset-btn {
  min-height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0 10px;
  white-space: nowrap;
  transition: var(--tr);
}
.topbar-reset-btn:hover,
.topbar-reset-btn:focus {
  border-color: var(--gold-mid);
  background: #fffbeb;
  color: #8a5a17;
}

.global-home-btn {
  position: fixed;
  top: 104px;
  right: max(12px, calc((100vw - 420px) / 2 + 12px));
  z-index: 1500;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(18,18,18,0.82);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 0 10px;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0,0,0,0.24);
  backdrop-filter: blur(10px);
}

.global-home-btn:hover,
.global-home-btn:focus {
  border-color: rgba(244,190,77,0.7);
  background: rgba(35,28,15,0.9);
  color: #ffe58f;
}

.global-home-btn.hidden {
  display: none;
}

body.dark-content .global-home-btn {
  border-color: rgba(255,255,255,0.16);
  background: rgba(35,35,35,0.86);
}

@media (max-width: 540px) {
  .global-home-btn {
    top: 104px;
    right: 10px;
    min-height: 31px;
    padding: 0 8px;
    font-size: 11px;
  }
}
.sim-back-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.sim-back-btn:hover,
.sim-back-btn:focus {
  border-color: var(--gold-mid);
  background: #fffbeb;
  color: #8a5a17;
}
.topbar-lang {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-sub); cursor: pointer;
  padding: 5px 8px; border-radius: 6px; background: #f5f5f5;
}
.topbar-home {
  background: none; border: none; font-size: 20px; cursor: pointer;
  padding: 6px; border-radius: 8px; transition: var(--tr);
}
.topbar-home:hover { background: #f5f5f5; }

/* ─── PROGRESS ─── */
.progress-wrap {
  background: var(--white);
  border-bottom: 1px solid #eef0f2;
  padding: 8px 28px;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.progress-steps { font-size: 12px; color: var(--text-sub); font-weight: 600; white-space: nowrap; }
.progress-track {
  flex: 1; height: 5px; background: #eee;
  border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  border-radius: 99px; transition: width 0.5s ease;
}

/* ─── PAGE CONTENT ─── */
.page-content {
  flex: 1; padding: 24px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.page-content:has(> .kyc-phone) {
  padding: 0 !important;
}

.page-content:has(> .kyc-phone) > .kyc-phone {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 15px; font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

/* ─── WALLET HEADER ─── */
.wallet-header {
  background: linear-gradient(135deg, #1d1d1d 0%, #333 100%);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  color: #fff;
}
.wallet-header .wh-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.wallet-header .wh-amount {
  font-size: 34px; font-weight: 900;
  color: var(--gold-start); margin-bottom: 16px;
}
.wallet-header .wh-amount span { font-size: 16px; margin-left: 6px; color: rgba(255,255,255,0.6); }
.wallet-row {
  display: flex; gap: 16px;
}
.wallet-sub-card {
  flex: 1; background: rgba(255,255,255,0.07);
  border-radius: 10px; padding: 12px 14px;
}
.wallet-sub-card .ws-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.wallet-sub-card .ws-val { font-size: 16px; font-weight: 700; color: #fff; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: none; border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--tr); width: 100%;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #fff; box-shadow: 0 4px 14px rgba(229,168,48,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,168,48,0.4); }
.btn-ghost { background: #f5f5f5; color: var(--text-sub); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold-mid); color: var(--gold-end); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ─── FORM ─── */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-sub); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid #e8e8e8; border-radius: 9px;
  font-family: inherit; font-size: 14px; background: #fafafa;
  transition: var(--tr);
}
.form-input:focus { outline: none; border-color: var(--gold-mid); background: #fff; box-shadow: 0 0 0 3px rgba(229,168,48,0.1); }

/* ─── KYC ─── */
.kyc-phone {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #eceff3;
}
.kyc-mobile-head {
  min-height: 78px;
  padding: 16px 24px 14px;
  background: #f6f6f7;
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: end;
  gap: 10px;
  text-align: center;
}
.kyc-back {
  border: 0;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  color: #111;
  cursor: pointer;
  text-align: left;
}
.kyc-back.invisible { visibility: hidden; }
.kyc-step {
  font-size: 12px;
  color: #777;
  letter-spacing: .08em;
  font-weight: 700;
}
.kyc-head-title {
  font-size: 18px;
  color: #111;
  font-weight: 500;
}
.kyc-lang {
  font-size: 18px;
  color: #111;
  text-align: right;
  font-weight: 700;
}
.kyc-body {
  padding: 28px 24px 160px;
}
.kyc-title {
  font-size: 30px;
  line-height: 1.15;
  color: #111;
  font-weight: 900;
  margin-bottom: 28px;
}
.kyc-copy {
  color: #555;
  font-size: 15px;
  line-height: 1.55;
  margin: -12px 0 22px;
}
.kyc-country,
.kyc-doc-option {
  width: 100%;
  border: 2px solid #aab2bc;
  border-radius: 14px;
  background: #fff;
  min-height: 78px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #111;
  font-size: 22px;
  cursor: pointer;
  text-align: left;
}
.kyc-country b {
  margin-left: auto;
  font-size: 26px;
}
.kyc-label {
  font-size: 22px;
  color: #111;
  margin: 34px 0 20px;
}
.kyc-doc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kyc-doc-option strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.kyc-doc-option small {
  display: block;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}
.kyc-doc-option.selected {
  border-color: #0877ff;
  background: #dbeafe;
}
.kyc-doc-option.is-preparing {
  background: #fbfbfc;
  border-color: #d2d7de;
  color: #6b7280;
}
.kyc-doc-option.is-preparing .kyc-doc-icon {
  opacity: .72;
}
.kyc-doc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f5f6f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #111;
}
.kyc-doc-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}
.kyc-sticky {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,.98);
  border-top: 1px solid #e5e7eb;
  padding: 24px 24px 28px;
  box-shadow: 0 -10px 28px rgba(15,23,42,.08);
}
.kyc-primary {
  width: 100%;
  border: 0;
  border-radius: 17px;
  min-height: 80px;
  background: #0877ff;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}
.kyc-file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.kyc-secondary {
  width: 100%;
  min-height: 80px;
  border: 2px solid #9aa4b2;
  border-radius: 17px;
  background: #fff;
  color: #111;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.kyc-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.kyc-powered {
  margin-top: 24px;
  color: #777;
  text-align: center;
  font-size: 18px;
}
.kyc-powered strong {
  color: #666;
  font-size: 26px;
  margin-left: 8px;
}
.kyc-photo-guide {
  border: 1px solid #e2e4e8;
  background: #fafafa;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kyc-guide-img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e2e4e8;
  background: #fafafa;
}
.kyc-license-sample {
  background: #f4f4f5;
  border-radius: 18px;
  min-height: 282px;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kyc-license-sample img {
  width: min(330px, 100%);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,.12);
}
.kyc-review-body {
  padding-top: 110px;
  text-align: center;
}
.kyc-review-img,
.kyc-review-placeholder {
  display: block;
  width: min(510px, 100%);
  height: 362px;
  object-fit: cover;
  margin: 0 auto 28px;
  background: #f1f5f9;
}
.kyc-review-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 22px;
  font-weight: 800;
}
.kyc-review-copy {
  color: #666;
  font-size: 24px;
  line-height: 1.4;
}
.kyc-live-camera {
  position: relative;
  min-height: 760px;
  background: #050505;
  overflow: hidden;
}
.kyc-live-camera video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kyc-camera-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
  pointer-events: none;
}
.kyc-camera-frame {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 250px;
  height: 240px;
  border: 5px solid #d7ff5a;
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(0,0,0,.18);
}
.kyc-selfie-frame {
  position: absolute;
  left: 50%;
  top: 168px;
  width: 260px;
  height: 340px;
  transform: translateX(-50%);
  border: 5px solid #d7ff5a;
  border-radius: 50% / 42%;
  box-shadow: 0 0 0 999px rgba(0,0,0,.22);
}
.kyc-camera-title {
  position: absolute;
  top: 520px;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  font-size: 34px;
  font-weight: 900;
}
.kyc-selfie-live-title {
  position: absolute;
  top: 538px;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
  font-size: 34px;
  font-weight: 900;
}
.kyc-selfie-prompt {
  position: absolute;
  top: 530px;
  left: 28px;
  right: 28px;
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}
.kyc-liveness-checks {
  position: absolute;
  top: 590px;
  left: 44px;
  right: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kyc-live-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  color: rgba(255,255,255,.68);
  font-size: 15px;
  font-weight: 800;
}
.kyc-live-check span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: transparent;
  background: rgba(255,255,255,.22);
}
.kyc-live-check.done {
  color: #fff;
  background: rgba(22,163,74,.78);
}
.kyc-live-check.done span {
  color: #16a34a;
  background: #fff;
}
.kyc-live-cancel,
.kyc-switch-camera {
  position: absolute;
  bottom: 96px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}
.kyc-live-cancel { left: 62px; }
.kyc-switch-camera {
  right: 64px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  font-size: 34px;
  line-height: 1;
}
.kyc-shutter {
  position: absolute;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 3px #111;
  cursor: pointer;
}
.kyc-shutter:disabled {
  opacity: .55;
  cursor: default;
}
.kyc-live-powered {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  color: #fff;
  text-align: center;
  font-size: 17px;
}
.kyc-live-powered strong {
  font-size: 25px;
  margin-left: 8px;
}
.kyc-selfie-review-img {
  max-width: 320px;
  height: 360px;
  object-fit: cover;
}
.kyc-review-summary {
  padding-top: 44px;
}
.kyc-review-status {
  margin: 28px 0 24px;
  padding: 34px 26px;
  border-radius: 24px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  text-align: center;
}
.kyc-review-mark {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
}
.kyc-review-status strong {
  display: block;
  color: #111;
  font-size: 28px;
  margin-bottom: 10px;
}
.kyc-review-status p {
  color: #666;
  font-size: 18px;
  line-height: 1.45;
}
.kyc-review-items {
  display: grid;
  gap: 14px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}
.kyc-review-items div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}
.kyc-review-items span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 18px;
}

/* ─── TWO FACTOR ─── */
.twofa-card {
  padding: 26px;
}
.twofa-request-card,
.twofa-email-notice-card {
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #202020;
  color: #f8fafc;
  text-align: center;
  padding: 34px 26px 30px;
  overflow: hidden;
}
.twofa-request-close {
  position: absolute;
  top: 20px;
  right: 22px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.twofa-request-status {
  margin: 0 42px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.twofa-request-status strong {
  color: #fb7185;
}
.twofa-request-emblem {
  width: 154px;
  height: 154px;
  margin: 0 auto 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-grad);
  color: #171717;
  font-size: 42px;
  font-weight: 500;
  box-shadow: 0 0 0 4px #202020, 0 0 0 5px rgba(246, 198, 87, .75), 0 0 0 13px #202020, 0 0 0 14px rgba(246, 198, 87, .55);
}
.twofa-request-emblem span {
  display: grid;
  place-items: center;
}
.twofa-request-emblem.notice span {
  font-size: 78px;
  font-weight: 300;
  line-height: 1;
}
.twofa-request-card h2,
.twofa-email-notice-card h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.twofa-request-card p:not(.twofa-request-status),
.twofa-email-notice-card > p {
  margin: 0 auto 22px;
  max-width: 360px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}
.twofa-email-notice-card > p strong {
  color: var(--gold-light);
}
.twofa-request-actions {
  width: 100%;
  margin-top: auto;
  display: grid;
  gap: 24px;
}
.twofa-request-actions .imine-gold-btn,
.twofa-open-mail-btn {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  border-radius: 999px;
}
.twofa-request-link {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.twofa-success-toast {
  width: calc(100% + 52px);
  margin: auto -26px 24px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 14px;
  align-items: center;
  background: #242424;
  box-shadow: 0 -18px 34px rgba(0, 0, 0, .24);
  text-align: left;
}
.twofa-success-toast > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #34d399;
  color: #34d399;
  font-size: 22px;
}
.twofa-success-toast strong {
  color: #fff;
  font-size: 17px;
}
.twofa-success-toast p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.twofa-success-toast button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
}
.twofa-dashboard-card {
  padding: 26px;
}
.kyc-settings-start,
.imine-home-start {
  background: #0b0b0b;
  padding: 0;
  overflow: hidden;
}
.imine-mobile-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 680px;
  background:
    radial-gradient(circle at 80% 70%, rgba(214,164,76,.18), transparent 34%),
    #111;
  color: #f8fafc;
}
.imine-settings-shell {
  min-height: 860px;
  background:
    radial-gradient(ellipse at 118% 55%, transparent 42%, rgba(231,184,96,.65) 42.3%, rgba(231,184,96,.65) 42.7%, transparent 43%),
    radial-gradient(ellipse at 96% 75%, transparent 41%, rgba(231,184,96,.45) 41.3%, rgba(231,184,96,.45) 41.8%, transparent 42.1%),
    #050505;
}
.imine-mobile-head {
  height: 72px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.imine-wordmark {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
}
.imine-wordmark.small {
  font-size: 26px;
}
.imine-logo-svg {
  display: block;
  width: 135px;
  height: auto;
  color: #fff;
}
.imine-menu-btn {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}
.imine-home-scroll {
  display: grid;
  gap: 16px;
  padding: 16px;
}
.imine-hero-banner {
  min-height: 174px;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.imine-hero-banner.green {
  background: linear-gradient(135deg, #0b4238, #1f6b5a 48%, #c9b176);
}
.imine-hero-banner.sunset {
  background: linear-gradient(135deg, #4b1d2d, #a95b43 44%, #26465f);
}
.imine-hero-banner button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}
.imine-hero-banner strong,
.imine-hero-banner span {
  display: block;
  color: #fff;
}
.imine-hero-banner strong {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}
.imine-hero-banner span {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}
.imine-balance-card,
.imine-home-card {
  border-radius: 12px;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,.06);
  padding: 18px;
}
.imine-balance-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}
.imine-balance-tabs strong {
  color: var(--gold-light);
}
.imine-balance-tabs span {
  color: #cbd5e1;
}
.imine-balance-tabs button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 22px;
}
.imine-balance-card h2 {
  color: #fff;
  font-size: 28px;
  margin: 18px 0;
}
.imine-donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 10px auto 22px;
  border: 18px solid #171717;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.imine-balance-card p {
  color: #f8fafc;
  font-weight: 800;
  line-height: 1.55;
  margin: 10px 0;
}
.imine-balance-card small {
  color: #9ca3af;
}
.imine-balance-card i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 8px;
  background: #f3f4f6;
}
.imine-balance-card i.btc {
  background: #fca5a5;
}
.imine-balance-card i.usdc {
  background: #3b82f6;
}
.imine-home-card.outlined {
  border: 2px solid var(--gold-mid);
  text-align: center;
}
.imine-star {
  color: var(--gold-light);
  font-size: 78px;
  line-height: 1;
  margin-bottom: 10px;
}
.imine-home-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}
.imine-home-card p {
  color: #d1d5db;
  font-weight: 800;
  line-height: 1.5;
}
.imine-home-card button {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-weight: 900;
  margin-top: 16px;
  padding: 12px 22px;
}
.imine-menu-panel {
  padding: 0 0 28px;
  background: #111;
}
.imine-scroll-cue {
  position: sticky;
  bottom: 14px;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: fit-content;
  margin: 14px auto;
  padding: 10px 14px;
  border: 1px solid rgba(251,220,111,.4);
  border-radius: 999px;
  background: rgba(17,17,17,.88);
  color: var(--gold-light);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  pointer-events: none;
}
.imine-scroll-cue span {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 15px solid var(--gold-light);
  padding: 0;
  animation: coach-scroll-down 1s ease-in-out infinite;
}
.imine-scroll-cue strong {
  font-size: 13px;
  line-height: 1;
}
.imine-scroll-cue small {
  color: #e5e7eb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.imine-menu-user {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 148px;
  gap: 8px 12px;
  align-items: center;
  padding: 20px 18px 10px;
}
.imine-avatar.mini {
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 14px;
}
.imine-menu-user strong {
  color: #fff;
  font-size: 17px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imine-menu-badges {
  display: grid;
  gap: 6px;
  justify-items: stretch;
}
.imine-pill {
  appearance: none;
  border: 0;
  border-radius: 999px;
  color: #111;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 12px;
  text-align: center;
}
button.imine-pill {
  cursor: pointer;
}
button.imine-pill:focus-visible {
  outline: 3px solid rgba(250, 204, 21, .65);
  outline-offset: 2px;
}
.imine-pill.green {
  background: #34d399;
}
.imine-pill.red {
  background: #fb3c6d;
  color: #fff;
}
.imine-menu-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.imine-tool-icon {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.imine-tool-icon.sun {
  color: #cfcfcf;
  font-size: 25px;
}
.imine-theme-toggle {
  width: 58px;
  height: 34px;
  border: 4px solid #f5f5f5;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 2px;
  background: #111;
}
.imine-theme-toggle i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5f5f5;
}
.imine-lang-dot {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  font-size: 16px;
}
.imine-menu-group {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.imine-menu-group span {
  color: #8b8b91;
  font-size: 14px;
  font-weight: 900;
  padding: 0 18px 12px;
}
.imine-menu-group button {
  border: 0;
  background: transparent;
  color: #e2e2e5;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  padding: 11px 18px;
  text-align: left;
}
.imine-menu-group button:hover,
.imine-menu-group button:focus {
  background: rgba(251,220,111,.08);
  color: var(--gold-light);
}
.imine-settings-button {
  border-top: 1px solid rgba(251,220,111,.25) !important;
  border-bottom: 1px solid rgba(251,220,111,.25) !important;
  color: var(--gold-light) !important;
}
@keyframes coach-scroll-down {
  0%, 100% { transform: translateY(-2px); opacity: .72; }
  50% { transform: translateY(5px); opacity: 1; }
}
.imine-settings-scroll {
  display: grid;
  gap: 26px;
  padding: 20px 18px 34px;
  background: transparent;
}
.imine-settings-title {
  color: #fff;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  margin: 4px 0 2px;
}
.imine-profile-card,
.imine-status-card,
.imine-wallet-card,
.imine-security-card,
.imine-pin-card,
.imine-passkey-card,
.imine-account-card {
  border-radius: 10px;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,.05);
  padding: 22px 18px;
  box-shadow: 0 18px 34px rgba(0,0,0,.2);
}
.imine-profile-card {
  text-align: center;
}
.imine-profile-card > span,
.imine-status-card h3,
.imine-security-card > span,
.imine-pin-card > span,
.imine-passkey-card > span,
.imine-account-card > span {
  display: block;
  color: #d1d5db;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
  margin-bottom: 22px;
}
.imine-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 8px auto 18px;
  background: var(--gold-grad);
  color: #111;
  font-size: 24px;
  font-weight: 900;
}
.imine-profile-card p,
.imine-status-card p,
.imine-wallet-card p,
.imine-security-card p,
.imine-pin-card p,
.imine-passkey-card p {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.55;
  margin: 10px 0;
}
.imine-profile-card strong,
.imine-status-card strong,
.imine-security-card strong,
.imine-pin-card strong,
.imine-passkey-card strong {
  color: #fff;
}
.imine-profile-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}
.imine-profile-actions button,
.imine-referral-block button,
.imine-account-card button {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-weight: 900;
}
.imine-referral-block {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.imine-referral-block span {
  color: #e5e7eb;
  font-size: 15px;
}
.imine-referral-block strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.imine-security-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}
.imine-real-switch {
  width: 46px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #4b4b4b;
  padding: 3px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.imine-real-switch span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.imine-pin-card button,
.imine-passkey-card button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  padding: 15px 20px;
}
.imine-pin-card button {
  background: linear-gradient(180deg, #f2f2f2, #dcdcdc);
  color: #a1a1aa;
}
.imine-pin-card hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.18);
  margin: 30px 0 24px;
}
.imine-pin-card .center {
  text-align: center;
}
.imine-passkey-card button {
  margin-top: 22px;
  background: var(--gold-grad);
  color: #111;
}
.imine-account-card {
  display: grid;
  gap: 20px;
}
.imine-account-card label {
  display: grid;
  gap: 6px;
  color: #d1d5db;
  font-size: 13px;
  text-align: left;
}
.imine-account-card input {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: #414141;
  color: #c7c7c7;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 0 20px;
}
.imine-account-card button {
  font-size: 16px;
  padding: 4px 0;
}
.imine-status-row,
.imine-kyc-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.imine-status-row span {
  color: #cbd5e1;
  font-size: 14px;
}
.imine-status-danger {
  color: #fb5b78 !important;
  font-size: 17px;
}
.imine-gold-btn {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  min-width: 150px;
  padding: 18px 24px;
  white-space: nowrap;
}
.imine-gold-btn:disabled {
  opacity: 1;
  cursor: default;
}
.imine-gold-btn.wide {
  width: 100%;
  margin: 22px 0 14px;
}
.imine-wallet-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr .7fr auto;
  gap: 10px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 12px;
}
.imine-wallet-head b {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.imine-withdraw-settings,
.imine-wallet-add-flow {
  background: #080808;
  padding: 0;
  overflow: hidden;
}
.imine-withdraw-settings .imine-settings-shell,
.imine-wallet-add-flow .imine-settings-shell {
  background:
    radial-gradient(ellipse at 112% 88%, transparent 42%, rgba(210, 171, 77, .55) 42.3%, rgba(210, 171, 77, .55) 42.7%, transparent 43%),
    #f4f4f3;
  color: #111;
}
.imine-withdraw-settings .imine-mobile-head,
.imine-wallet-add-flow .imine-mobile-head {
  background: #f7f7f6;
  border-bottom: 1px solid #dedede;
}
.imine-withdraw-settings .imine-logo-svg,
.imine-wallet-add-flow .imine-logo-svg {
  color: #050505;
}
.imine-withdraw-settings .imine-settings-title,
.imine-wallet-add-flow .imine-settings-title {
  color: #111;
  display: flex;
  align-items: center;
  gap: 14px;
}
.imine-wallet-add-flow .imine-settings-title button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}
.imine-withdraw-settings .imine-status-card,
.imine-withdraw-settings .imine-wallet-card,
.imine-wallet-add-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 20px 42px rgba(15, 23, 42, .08);
}
.imine-withdraw-settings .imine-status-card h3,
.imine-wallet-add-card h3 {
  color: #111;
  margin: 0 0 22px;
  font-size: 19px;
  font-weight: 900;
}
.imine-status-approved {
  color: #62c8ac !important;
  font-size: 22px;
}
.imine-security-complete-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eef0f2;
  padding: 12px 0;
}
.imine-security-complete-row span {
  color: #6b7280;
  font-size: 15px;
  font-weight: 800;
}
.imine-security-complete-row strong {
  border-radius: 999px;
  background: rgba(98, 200, 172, .16);
  color: #36a889 !important;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
  white-space: nowrap;
}
.imine-withdraw-security-card p {
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 14px 0 0 !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.imine-withdraw-email-note {
  border: 1px solid rgba(215, 173, 61, .38);
  border-radius: 8px;
  background: rgba(215, 173, 61, .1);
  color: #7a5a13 !important;
  padding: 12px;
}
.imine-masked-account {
  color: #888;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.imine-withdraw-wallet-card {
  overflow: hidden;
  position: relative;
}
.imine-wallet-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-color: #c9cdd4 transparent;
  scrollbar-width: thin;
}
.imine-wallet-scroll::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 18px;
  width: 24px;
  height: 118px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.86) 78%);
}
.imine-wallet-scroll:focus {
  outline: 2px solid rgba(215, 173, 61, .34);
  outline-offset: 4px;
}
.imine-withdraw-settings .imine-wallet-head {
  width: calc(100% + 44px);
  grid-template-columns: minmax(58px, .78fr) minmax(92px, 1.16fr) minmax(66px, .74fr) 36px;
  color: #111;
  border-bottom: 1px solid #9ca3af;
  column-gap: 6px;
  font-size: 12px;
  align-items: center;
}
.imine-wallet-add-button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.imine-wallet-empty {
  width: calc(100% + 44px);
  color: #757575 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.imine-wallet-scroll-hint {
  color: #b3752a !important;
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1.45 !important;
  margin: 8px 0 0 !important;
}
.imine-wallet-row {
  width: calc(100% + 44px);
  display: grid;
  grid-template-columns: minmax(58px, .78fr) minmax(92px, 1.16fr) minmax(66px, .74fr) 36px;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}
.imine-wallet-row strong {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
  overflow-wrap: anywhere;
}
.imine-wallet-row > span {
  color: #111;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 800;
  min-width: 0;
}
.imine-wallet-row > span .imine-wallet-token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.imine-wallet-row > span small {
  grid-column: 1 / -1;
  color: #8b8b8b;
  font-size: 8px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.imine-coin {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-weight: 900;
}
.imine-coin.usdt {
  background: #66b9a3;
}
.imine-coin.btc {
  background: #f59e2b;
}
.imine-wallet-status {
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  min-height: 28px;
  padding: 7px 6px;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.imine-wallet-status.pending {
  background: #d7ad3d;
}
.imine-wallet-status.approved {
  background: #62c8ac;
}
.imine-wallet-gear {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 24px;
}
.imine-wallet-approval-note {
  margin-top: 18px;
  border: 1px solid rgba(215, 173, 61, .45);
  border-radius: 8px;
  background: rgba(215, 173, 61, .12);
  padding: 14px;
}
.imine-wallet-approval-note p {
  color: #6b5b26 !important;
  margin: 0 0 12px !important;
}
.imine-wallet-approval-note strong {
  color: #b17a0d;
}
.imine-wallet-approval-note button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}
.imine-wallet-add-card {
  border-radius: 10px;
  padding: 24px 18px;
}
.imine-wallet-field {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
}
.imine-wallet-field > span {
  color: #111;
}
.imine-wallet-select,
.imine-wallet-field input,
.imine-wallet-address-row {
  width: 100%;
  min-height: 64px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
}
.imine-wallet-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: pointer;
}
.imine-wallet-select b {
  font-size: 24px;
}
.imine-wallet-token {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.imine-wallet-coin-menu {
  margin-top: -10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
  overflow: hidden;
}
.imine-wallet-coin-menu button {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  padding: 0 22px;
}
.imine-wallet-coin-menu button + button {
  border-top: 1px solid #eee;
}
.imine-wallet-field input {
  padding: 0 22px;
  outline: none;
}
.imine-wallet-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  padding: 0 8px 0 0;
}
.imine-wallet-address-row.imine-withdraw-registered-address {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
}
.imine-wallet-address-row input {
  border: 0;
  min-height: 60px;
  padding-right: 10px;
}
.imine-wallet-address-row input[readonly] {
  cursor: pointer;
  color: #111;
  background: transparent;
}
.imine-withdraw-wallet-menu {
  margin-top: -10px;
  border-radius: 8px;
  background: #202020;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
  overflow: hidden;
}
.imine-withdraw-wallet-menu button {
  width: 100%;
  display: grid;
  gap: 12px;
  border: 0;
  background: #202020;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  min-height: 112px;
  padding: 22px 24px;
  text-align: left;
}
.imine-withdraw-wallet-menu strong {
  font-size: 21px;
  font-weight: 900;
}
.imine-withdraw-wallet-menu span {
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.imine-withdraw-wallet-menu.empty {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 18px 22px;
}
.imine-wallet-address-row button,
.imine-wallet-binance-card button {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}
.imine-wallet-address-row button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}
.imine-wallet-binance-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(214, 164, 76, .36);
  border-radius: 8px;
  background: #fffaf0;
  padding: 14px;
  margin-bottom: 14px;
}
.imine-wallet-binance-card strong {
  color: #111;
  font-size: 16px;
}
.imine-wallet-binance-card span,
.imine-wallet-binance-card p {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.imine-wallet-binance-card em {
  color: #b3752a;
  font-style: normal;
  font-weight: 900;
}
.imine-wallet-save {
  width: 100%;
  margin-top: 18px;
}
.imine-wallet-email-screen {
  max-width: 520px;
  margin: 0 auto;
}
.imine-wallet-mail-preview p {
  color: #111;
  line-height: 1.8;
}
.imine-withdraw-wallet-home,
.imine-withdraw-form-flow {
  background: #080808;
  padding: 0;
  overflow: hidden;
}
.imine-withdraw-wallet-home .imine-settings-shell,
.imine-withdraw-form-flow .imine-settings-shell {
  background:
    radial-gradient(ellipse at 112% 88%, transparent 42%, rgba(210, 171, 77, .55) 42.3%, rgba(210, 171, 77, .55) 42.7%, transparent 43%),
    #0b0b0b;
  color: #f8fafc;
}
.imine-withdraw-wallet-home .imine-mobile-head,
.imine-withdraw-form-flow .imine-mobile-head {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.imine-withdraw-wallet-home .imine-logo-svg,
.imine-withdraw-form-flow .imine-logo-svg {
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-settings-title button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}
.imine-withdraw-wallet-home .imine-settings-title,
.imine-withdraw-form-flow .imine-settings-title {
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-wallet-field,
.imine-withdraw-form-flow .imine-wallet-field > span {
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-wallet-select,
.imine-withdraw-form-flow .imine-wallet-field input,
.imine-withdraw-form-flow .imine-wallet-address-row {
  border-color: #4a4a4a;
  background: #202020;
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-wallet-field input::placeholder {
  color: #9ca3af;
}
.imine-withdraw-form-flow .imine-wallet-address-row input[readonly] {
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-wallet-coin-menu {
  background: #202020;
  border: 1px solid rgba(255,255,255,.1);
}
.imine-withdraw-form-flow .imine-wallet-coin-menu button {
  background: #202020;
  color: #f8fafc;
}
.imine-withdraw-form-flow .imine-wallet-coin-menu button + button {
  border-top-color: rgba(255,255,255,.1);
}
.imine-balance-tabs-lite {
  display: flex;
  gap: 18px;
  margin: 4px 0 24px;
}
.imine-balance-tabs-lite button {
  border: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  padding: 0;
}
.imine-balance-tabs-lite .active {
  color: #d2aa3c;
}
.imine-mining-balance-card,
.imine-balance-chart-card,
.imine-withdraw-form-card {
  border-radius: 10px;
  background: #202020;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28);
  padding: 22px 18px;
  margin-bottom: 22px;
}
.imine-mining-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
}
.imine-mining-card-top button {
  border: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
  font-size: 24px;
}
.imine-mining-balance-card > strong {
  display: block;
  color: #f8fafc;
  font-size: 30px;
  font-weight: 900;
  margin: 18px 0 10px;
}
.imine-mining-ring {
  position: relative;
  width: 150px;
  height: 150px;
  border: 0;
  border-radius: 999px;
  background: conic-gradient(#ff9b8a 0 var(--btc-deg), #d8dde4 var(--btc-deg) calc(var(--btc-deg) + var(--usdt-deg)), #4d9de0 0 360deg);
  margin: 24px auto;
}
.imine-mining-ring::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: inherit;
  background: #202020;
}
.imine-mining-balance-card p {
  color: #f8fafc;
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 16px;
}
.imine-mining-balance-card p i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #f2a18e;
  margin-right: 8px;
  vertical-align: -1px;
}
.imine-mining-balance-card p i.usdt {
  background: #d8dde4;
}
.imine-mining-balance-card p i.usdc {
  background: #4d9de0;
}
.imine-mining-balance-card button {
  border: 0;
  background: transparent;
  color: #d2aa3c;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  padding: 0;
}
.imine-mining-balance-card small {
  display: block;
  color: #a7a7a7;
  font-size: 13px;
  font-weight: 800;
  margin-top: 16px;
}
.imine-balance-chart-card {
  min-height: 180px;
}
.imine-balance-chart-card span {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
}
.imine-chart-line {
  height: 96px;
  margin-top: 28px;
  border-bottom: 2px solid rgba(210, 170, 60, .55);
  background: linear-gradient(180deg, rgba(210,170,60,.16), rgba(210,170,60,.02));
}
.imine-withdraw-form-card {
  color: #f8fafc;
}
.imine-withdraw-intro {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 22px;
  text-align: center;
  word-break: keep-all;
}
.imine-withdraw-balance {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #f8fafc;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: -8px 0 22px;
  padding: 12px 14px;
  text-align: center;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  word-break: keep-all;
}
.imine-withdraw-balance strong {
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.imine-withdraw-balance:hover,
.imine-withdraw-balance:focus {
  background: rgba(255,255,255,.06);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  outline: none;
  transform: translateY(-1px);
}
.imine-withdraw-delay {
  color: #d1d5db;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  margin: 16px 0 22px;
}
.imine-withdraw-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
  margin: 18px 0;
}
.imine-withdraw-agree input {
  width: 26px;
  height: 26px;
  accent-color: #d2aa3c;
}
.imine-withdraw-submit {
  width: min(230px, 80%);
  min-height: 58px;
  display: block;
  margin: 18px auto 24px;
}
.imine-withdraw-submit:disabled {
  background: #e5e7eb;
  color: #9ca3af;
}
.imine-withdraw-cancel {
  display: block;
  margin: 0 auto;
  border: 0;
  background: transparent;
  color: #d2aa3c;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
}
.imine-usdt-network-warning {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid #ec5170;
  border-radius: 8px;
  color: #f8fafc;
  background: rgba(236, 81, 112, .04);
  padding: 16px 14px;
  margin: 8px 0 16px;
}
.imine-usdt-warning-icon {
  width: 28px;
  height: 28px;
  border: 1px solid #ec5170;
  border-radius: 50%;
  color: #ec5170;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
}
.imine-usdt-network-warning p {
  margin: 0;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}
.imine-usdt-fee-note {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 20px;
}
.imine-withdraw-twofa-screen {
  max-width: 520px;
  margin: 0 auto;
  min-height: 680px;
  background: #111827;
  border: 1px solid rgba(255,255,255,.12);
  color: #f8fafc;
  display: grid;
  align-content: center;
  gap: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
}
.imine-withdraw-twofa-screen .page-title,
.imine-withdraw-twofa-screen .page-sub {
  color: #f8fafc;
}
.imine-withdraw-twofa-screen .page-title {
  margin-bottom: 4px;
}
.imine-withdraw-twofa-screen .page-sub {
  color: #d1d5db;
}
.imine-withdraw-twofa-card {
  background: rgba(15,23,42,.78);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 20px;
}
.imine-withdraw-twofa-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.imine-withdraw-twofa-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}
.imine-withdraw-twofa-card dt {
  color: #b9c2d0;
  font-weight: 900;
}
.imine-withdraw-twofa-card dd {
  color: #fff;
  margin: 0;
  overflow-wrap: anywhere;
}
.imine-withdraw-twofa-card label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  margin-top: 18px;
}
.imine-twofa-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}
.imine-twofa-code-row input {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  padding: 0 14px;
}
.imine-twofa-code-row button,
.imine-withdraw-twofa-card > .imine-gold-btn {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
}
.imine-withdraw-twofa-card > .imine-gold-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
}
.imine-withdraw-twofa-card > .imine-gold-btn:disabled {
  background: #334155;
  color: #94a3b8;
}
.imine-withdraw-complete-card {
  max-width: 520px;
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  overflow: hidden;
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(251,220,111,.34), transparent 32%),
    linear-gradient(180deg, #fffdf7 0%, #fff 55%, #f8fafc 100%);
  border: 1px solid rgba(210,170,60,.24);
  color: #111;
}
.imine-complete-medal {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbdc6f, #d3832c);
  color: #fff;
  font-size: 54px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(211,131,44,.28);
  animation: imine-complete-pop .48s cubic-bezier(.17,.67,.32,1.35);
}
.imine-withdraw-complete-card h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 2px 0 0;
}
.imine-complete-lead,
.imine-complete-note {
  max-width: 34ch;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}
.imine-complete-summary {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: 6px 0;
  padding: 14px;
  border-radius: 8px;
  background: #fff8e7;
  border: 1px solid rgba(210,170,60,.2);
}
.imine-complete-summary div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  text-align: left;
}
.imine-complete-summary dt {
  color: #9a6a17;
  font-weight: 900;
}
.imine-complete-summary dd {
  margin: 0;
  color: #111;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.imine-withdraw-complete-card .success-actions button {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  min-height: 52px;
  padding: 0 26px;
}
.imine-complete-burst span {
  position: absolute;
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: #fbdc6f;
  opacity: .82;
  animation: imine-burst 1.1s ease-out infinite alternate;
}
.imine-complete-burst span:nth-child(1) { top: 58px; left: 74px; transform: rotate(-28deg); }
.imine-complete-burst span:nth-child(2) { top: 82px; right: 76px; transform: rotate(32deg); background: #22c55e; animation-delay: .12s; }
.imine-complete-burst span:nth-child(3) { bottom: 94px; left: 56px; transform: rotate(42deg); background: #3b82f6; animation-delay: .2s; }
.imine-complete-burst span:nth-child(4) { bottom: 126px; right: 52px; transform: rotate(-38deg); background: #ef4444; animation-delay: .28s; }
@keyframes imine-complete-pop {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes imine-burst {
  from { opacity: .25; scale: .78; }
  to { opacity: .95; scale: 1; }
}
.imine-legal-links {
  display: grid;
  justify-items: center;
  gap: 20px;
  color: var(--gold-light);
  font-weight: 900;
  padding-bottom: 30px;
}
.kyc-loading-screen {
  min-height: 680px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background: #fff;
}
.kyc-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 7px solid #dbeafe;
  border-top-color: #0877ff;
  animation: spin .9s linear infinite;
}
.kyc-loading-screen p {
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}
.imine-kyc-intro-screen {
  background: #f3f3f3;
  color: #111;
}
.imine-kyc-intro-shell {
  background: #f3f3f3;
  min-height: 720px;
}
.imine-mobile-head.light {
  background: #f7f7f7;
  border-bottom: 1px solid #d6d6d6;
}
.imine-kyc-intro-card {
  width: calc(100% - 38px);
  margin: 28px auto 42px;
  padding: 34px 26px 26px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
  text-align: center;
}
.imine-kyc-alert {
  width: 154px;
  height: 154px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f54963;
  color: #fff;
  font-size: 78px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(245, 73, 99, .55), 0 0 0 12px #fff, 0 0 0 14px rgba(245, 73, 99, .35);
}
.imine-kyc-intro-card h2 {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}
.imine-kyc-intro-card p {
  margin: 0 auto 24px;
  max-width: 310px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
.imine-kyc-start-btn {
  width: min(280px, 100%);
  margin: 10px auto 28px;
  border-radius: 999px;
  font-size: 18px;
}
.imine-kyc-intro-card .imine-kyc-intro-note {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.75;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.twofa-dashboard-preview {
  margin: 22px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #111827;
  color: #fff;
}
.twofa-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #cbd5e1;
  font-size: 14px;
}
.twofa-preview-head strong {
  color: var(--gold-light);
}
.twofa-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}
.twofa-preview-grid div {
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  padding: 16px;
}
.twofa-preview-grid .is-target {
  outline: 2px solid var(--gold-mid);
  background: rgba(229,168,48,.18);
}
.twofa-preview-grid b,
.twofa-preview-grid span {
  display: block;
}
.twofa-preview-grid b {
  font-size: 18px;
  margin-bottom: 6px;
}
.twofa-preview-grid span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}
.twofa-settings-shortcut {
  margin-top: 18px;
  width: 100%;
}
.twofa-settings-card {
  display: grid;
  gap: 18px;
}
.twofa-setting-block,
.twofa-security-panel {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.twofa-setting-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}
.twofa-setting-label {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}
.twofa-setting-block strong {
  color: #111827;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.twofa-copy-mini,
.twofa-copy-key {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #111;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
  white-space: nowrap;
}
.twofa-security-panel {
  overflow: hidden;
}
.twofa-security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}
.twofa-security-row + .twofa-security-row {
  border-top: 1px solid #e5e7eb;
}
.twofa-security-row strong {
  color: #111827;
  font-size: 18px;
}
.twofa-security-row p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 6px;
}
.twofa-security-row.muted {
  opacity: .7;
}
.twofa-switch {
  width: 58px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  padding: 4px;
  cursor: pointer;
  flex: none;
}
.twofa-switch span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.twofa-mail-preview {
  max-width: 420px;
  margin: 22px auto 0;
  padding: 34px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
  text-align: center;
}
.twofa-mail-logo {
  color: #111;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 26px;
}
.twofa-mail-preview h3 {
  color: #111;
  font-size: 22px;
  margin-bottom: 18px;
}
.twofa-mail-preview p {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.twofa-mail-btn {
  border: 0;
  border-radius: 999px;
  min-width: 190px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  padding: 14px 54px;
  box-shadow: 0 10px 20px rgba(180,116,36,.25);
}
.twofa-mail-btn:hover,
.twofa-mail-btn:focus {
  outline: none;
  box-shadow: 0 12px 26px rgba(180,116,36,.35);
}
.twofa-mail-preview small {
  display: block;
  color: #333;
  font-weight: 800;
  line-height: 1.6;
  margin-top: 26px;
}
.twofa-login-screen {
  min-height: 760px;
  overflow: hidden;
  border-radius: 0;
}
.twofa-login-screen .login-content {
  align-items: flex-start;
  padding-top: 34px;
  padding-bottom: 38px;
}
.twofa-login-screen .login-box {
  max-width: 420px;
}
.twofa-login-screen .step-badge {
  width: max-content;
  margin: 0 auto 16px;
}
.twofa-login-copy {
  margin: -12px 0 22px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
  font-weight: 700;
}
.twofa-login-hint {
  min-height: 22px;
  margin: -4px 4px 2px;
}
.twofa-activation-card {
  padding: 0;
  overflow: hidden;
}
.twofa-actual-panel {
  position: relative;
  min-height: 760px;
  padding: 28px 28px 38px;
  border-radius: 0;
  background: #202020;
  color: #f3f4f6;
  text-align: center;
}
.twofa-actual-title {
  margin: 0 48px 28px;
  color: #f4f4f5;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
}
.twofa-actual-copy {
  color: #d4d4d8;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 800;
  margin: 0 auto 52px;
  max-width: 340px;
}
.twofa-actual-qr {
  width: 216px;
  height: 216px;
  margin: 0 auto 44px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.08);
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.04);
}
.twofa-actual-qr .twofa-qr-grid {
  width: 180px;
  height: 180px;
}
.twofa-code-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: #dedede;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.twofa-code-row strong {
  color: #fff;
  letter-spacing: .03em;
}
.twofa-code-row .twofa-copy-key {
  border: 0;
  background: transparent;
  color: #b9822e;
  padding: 0 0 0 4px;
  font-size: 20px;
  font-weight: 900;
}
.twofa-copy-status {
  min-height: 20px;
  margin: 0 auto 18px;
  color: #a1a1aa;
  font-size: 13px;
  line-height: 1.5;
  max-width: 310px;
}
.open-authenticator-app-btn {
  width: min(346px, 100%);
  min-height: 54px;
  margin: 0 auto 24px;
  border: 1px solid rgba(249,217,102,.55);
  border-radius: 999px;
  background: rgba(249,217,102,.08);
  color: #f2c95a;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}
.twofa-actual-panel .twofa-form {
  max-width: 346px;
  margin: 0 auto;
}
.twofa-actual-panel .twofa-code-input {
  height: 74px;
  border-radius: 999px;
  border: 2px solid #3b3b3b;
  border-left-color: #2d2d2d;
  border-right-color: #2d2d2d;
  background: transparent;
  color: #f8fafc;
  font-size: 21px;
  font-weight: 800;
  padding: 0 28px;
  text-align: left;
  box-shadow: none;
}
.twofa-actual-panel .twofa-code-input::placeholder {
  color: #6c6c6c;
}
.twofa-actual-panel .twofa-hint {
  color: #a1a1aa;
  margin: 12px 0 28px;
  font-size: 13px;
}
.twofa-activate-btn {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9d966 0%, #d9a63d 100%);
  color: #2a2112;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
}
.twofa-cancel-btn {
  display: inline-flex;
  margin-top: 28px;
  border: 0;
  background: transparent;
  color: #b9822e;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}
.authenticator-app-screen {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 18px 16px 92px;
  background: #141416;
  color: #f8fafc;
}
.auth-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}
.auth-app-top {
  display: grid;
  grid-template-columns: 34px 1fr 34px 46px;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.auth-app-top button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.auth-app-top strong {
  text-align: left;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
.auth-cloud {
  color: #6ee7a0;
  font-size: 24px;
  line-height: 1;
}
.auth-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid #34a853;
  background: #c94120;
  color: #ffd15f;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px #ea4335;
}
.authenticator-list-screen {
  position: relative;
  min-height: 640px;
  padding-bottom: 92px;
}
.auth-search {
  height: 74px;
  border-radius: 999px;
  background: #292d2e;
  color: #8e959a;
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}
.auth-code-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 12px;
  padding: 18px 4px 16px;
  border-bottom: 2px solid #2b2b2f;
}
.auth-code-row span:first-child {
  grid-column: 1 / -1;
  color: #d7d7dc;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
}
.auth-code-row > strong,
.auth-code-row .auth-code-tile strong {
  color: #b9d4ff;
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .02em;
}
.auth-code-row .auth-code-tile {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.auth-pie {
  align-self: center;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#b9d4ff 0 78%, transparent 78% 100%);
}
.auth-imine-row {
  margin-top: 10px;
}
.auth-save-toast {
  margin: -2px -4px 12px;
  padding: 20px;
  background: #eceff1;
  color: #6b7280;
  font-size: 18px;
  font-weight: 800;
}
.auth-floating-add {
  position: absolute;
  right: 8px;
  bottom: 28px;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 22px;
  background: #303638;
  color: transparent;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
}
.auth-floating-add::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 37px;
  width: 48px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbbc04 0 33%, #4285f4 33% 66%, #34a853 66% 100%);
}
.auth-floating-add::after {
  content: '';
  position: absolute;
  left: 37px;
  top: 18px;
  width: 10px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4285f4 0 33%, #ea4335 33% 66%, #34a853 66% 100%);
}
.auth-add-menu {
  position: absolute;
  right: 0;
  bottom: 98px;
  width: 290px;
  overflow: hidden;
  border-radius: 12px;
  background: #303030;
  box-shadow: 0 20px 36px rgba(0,0,0,.45);
}
.auth-add-menu button {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid #444;
  background: transparent;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}
.auth-manual-top {
  display: grid;
  grid-template-columns: 92px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}
.auth-manual-top button {
  border: 0;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  text-align: left;
  font-size: 24px;
  font-weight: 900;
}
.auth-manual-top strong {
  text-align: center;
  color: #f3f4f6;
  font-size: 24px;
  font-weight: 900;
}
.auth-manual-entry-form {
  display: grid;
  gap: 18px;
  padding-bottom: 112px;
}
.auth-manual-entry-form label {
  color: #a8adb4;
  font-size: 16px;
  font-weight: 900;
  margin-left: 8px;
}
.auth-manual-entry-form input,
.auth-key-type {
  width: 100%;
  min-height: 72px;
  border: 2px solid #303238;
  border-radius: 14px;
  background: transparent;
  color: #f8fafc;
  font-size: 19px;
  font-weight: 800;
  padding: 0 18px;
}
.auth-key-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-entry-hint {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}
.auth-add-submit {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 84px;
  min-height: 64px;
  border: 0;
  border-radius: 999px;
  background: #a9c9ff;
  color: #5f6f89;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}
.galaxy-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: #101113;
  border-top: 1px solid rgba(255,255,255,.08);
}
.galaxy-nav-btn {
  height: 64px;
  border: 0;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.galaxy-recents span {
  position: relative;
  width: 24px;
  height: 18px;
  display: block;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.galaxy-recents span::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: currentColor;
  border-radius: 999px;
}
.galaxy-home span {
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.galaxy-back span {
  width: 18px;
  height: 18px;
  display: block;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}
.authenticator-practice-card {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  color: #111827;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
}
.auth-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.auth-app-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.auth-app-head strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}
.auth-app-head small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}
.auth-code-tile {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 18px 20px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
.auth-code-tile span {
  display: block;
  color: #4b5563;
  font-size: 14px;
  font-weight: 900;
}
.auth-code-tile strong {
  display: block;
  color: #1a73e8;
  font-size: 46px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .03em;
}
.auth-code-tile small {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}
.auth-code-timer {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e7eb;
  margin-top: 12px;
}
.auth-code-timer span {
  display: block;
  width: 68%;
  height: 100%;
  background: #1a73e8;
}
.authenticator-practice-card p {
  margin-top: 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}
.twofa-dark-panel {
  position: relative;
  padding: 30px;
  border-radius: 18px;
  background: #1f1f1f;
  color: #f8fafc;
}
.twofa-dark-panel .page-title,
.twofa-dark-panel .page-sub {
  color: #f8fafc;
}
.twofa-dark-panel .page-sub {
  color: #d1d5db;
}
.twofa-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}
.twofa-activation-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 24px 0;
}
.twofa-qr.is-secondary {
  width: 190px;
  height: 190px;
  background: #fff;
  opacity: .82;
  position: relative;
}
.twofa-qr.is-secondary .twofa-qr-grid {
  width: 132px;
  height: 132px;
}
.twofa-qr.is-secondary small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.twofa-key-panel {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding: 20px;
  display: grid;
  align-content: center;
  gap: 10px;
}
.twofa-key-panel span {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
}
.twofa-key-panel strong {
  color: #fff;
  font-size: 28px;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}
.twofa-key-panel p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}
.twofa-dark-panel .twofa-step {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.twofa-dark-panel .twofa-step p {
  color: #e5e7eb;
}
.twofa-dark-panel .twofa-form label {
  color: #fff;
}
.twofa-dark-panel .twofa-hint {
  color: #d1d5db;
}
.twofa-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
}
.twofa-qr {
  width: 230px;
  height: 230px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #e5e7eb;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}
.twofa-qr-grid {
  width: 176px;
  height: 176px;
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  grid-template-rows: repeat(21, 1fr);
  gap: 1px;
}
.twofa-qr-grid span {
  border-radius: 1px;
  background: #f3f4f6;
}
.twofa-qr-grid span.on {
  background: #111827;
}
.twofa-steps {
  display: grid;
  gap: 12px;
}
.twofa-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.twofa-step span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-mid);
  color: #111;
  font-weight: 900;
}
.twofa-step p {
  color: #333;
  font-size: 16px;
  line-height: 1.45;
}
.twofa-manual {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: grid;
  gap: 8px;
}
.twofa-manual span {
  color: #8a5a12;
  font-size: 14px;
  font-weight: 800;
}
.twofa-manual strong {
  color: #111;
  font-size: 20px;
  letter-spacing: 1px;
}
.twofa-form {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.twofa-form label {
  color: #111;
  font-size: 18px;
  font-weight: 900;
}
.twofa-code-input {
  width: 100%;
  border: 2px solid #d1d5db;
  border-radius: 16px;
  padding: 18px 20px;
  color: #111;
  background: #fff;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 8px;
}
.twofa-code-input:focus {
  outline: none;
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 4px rgba(229,168,48,.18);
}
.twofa-hint {
  color: #666;
  font-size: 15px;
}

@media (max-width: 640px) {
  .twofa-preview-grid,
  .twofa-activation-layout {
    grid-template-columns: 1fr;
  }
  .twofa-setting-block,
  .twofa-security-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .twofa-qr.is-secondary {
    margin: 0 auto;
  }
  .twofa-layout {
    grid-template-columns: 1fr;
  }
  .twofa-qr {
    margin: 0 auto;
  }
}

/* ─── EMAIL VERIFY ─── */
.email-verify-card {
  padding: 26px;
}
.email-instruction {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff7ed;
  border: 2px solid #f3d66d;
}
.email-instruction-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f7df78, #b87529);
  color: #111;
  font-size: 24px;
  font-weight: 900;
}
.email-instruction strong {
  display: block;
  color: #111;
  font-size: 18px;
  margin-bottom: 5px;
}
.email-instruction span {
  display: block;
  color: #66420f;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
.email-instruction em {
  color: #111;
  font-style: normal;
  font-weight: 900;
}
.email-mailbox {
  margin: 22px 0;
  padding: 28px;
  border-radius: 20px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
}
.email-envelope {
  width: min(100%, 430px);
  padding: 34px 28px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}
.email-logo {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 30px;
}
.email-envelope h3 {
  color: #111;
  font-size: 20px;
  margin-bottom: 18px;
}
.email-envelope p {
  color: #222;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.email-envelope button {
  border: 0;
  border-radius: 999px;
  padding: 12px 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(90deg, #f3d66d, #b87529);
  box-shadow: 0 8px 18px rgba(184,117,41,.25);
}
.email-envelope .email-regards {
  margin: 26px 0 0;
  color: #111;
  font-weight: 700;
}
.email-status {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.email-success-hero {
  margin: 20px 0;
  padding: 30px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 28%),
    linear-gradient(135deg, #ecfdf5, #d1fae5 48%, #fef3c7);
  border: 2px solid #86efac;
  text-align: center;
  box-shadow: 0 18px 38px rgba(22,163,74,.14);
}
.email-success-ring {
  width: 106px;
  height: 106px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 20deg, #16a34a, #86efac, #f3d66d, #16a34a);
  box-shadow: 0 0 0 8px rgba(22,163,74,.10);
}
.email-success-ring span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
}
.email-success-hero h3 {
  color: #111;
  font-size: 30px;
  margin-bottom: 8px;
}
.email-success-hero p {
  color: #166534;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}
.email-status.done {
  background: #f0fdf4;
  border-color: #86efac;
}
.email-status strong {
  color: #111;
  font-size: 20px;
}
.email-status span {
  color: #666;
  font-size: 15px;
  line-height: 1.45;
}
.email-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}
.email-actions .btn:disabled {
  opacity: .45;
  cursor: default;
}
@media (max-width: 640px) {
  .email-actions {
    grid-template-columns: 1fr;
  }
  .email-mailbox {
    padding: 18px;
  }
}
.kyc-photo-guide p {
  margin-top: 8px;
  font-size: 15px;
  color: #222;
  text-align: center;
}
.kyc-sample {
  height: 90px;
  border-radius: 8px;
  border: 2px solid #d94d7a;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), transparent 32%),
    repeating-linear-gradient(0deg, #f6f8fb, #f6f8fb 8px, #e8edf5 9px);
  position: relative;
}
.kyc-sample.blur { filter: blur(1.5px); }
.kyc-sample.glare::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.9) 48%, transparent 68%);
}
.kyc-sample.good {
  border-color: #0877ff;
  filter: none;
}
.kyc-sample span {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #df4c79;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}
.kyc-sample.good span { background: #0877ff; }
.kyc-tip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.kyc-tip-list li {
  color: #666;
  font-size: 19px;
  line-height: 1.35;
  position: relative;
  padding-left: 32px;
}
.kyc-tip-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #0877ff;
  font-weight: 900;
}
.kyc-tip-list.compact {
  margin-top: 18px;
}
.kyc-tip-list.compact li {
  font-size: 16px;
}
.kyc-camera-box {
  border: 3px dashed #9aa4b2;
  border-radius: 18px;
  background: #f8fafc;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #111;
  text-align: center;
  padding: 24px;
}
.kyc-camera-box.done {
  border-style: solid;
  border-color: #16a34a;
  background: #f0fdf4;
}
.kyc-camera-icon {
  font-size: 52px;
}
.kyc-camera-box strong {
  font-size: 24px;
}
.kyc-camera-box small {
  color: #64748b;
  font-size: 15px;
}
.kyc-face-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #0877ff;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 74px;
  margin: 0 auto 8px;
}
.kyc-selfie-guide {
  margin-bottom: 24px;
}
.kyc-liveness-body {
  padding-top: 28px;
}
.kyc-liveness-demo {
  width: 126px;
  height: 286px;
  margin: 24px auto 28px;
  overflow: hidden;
  border-radius: 14px;
  background: #f3f4f6 url("kyc-liveness-guide-poster.jpg") center / cover no-repeat;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}
.kyc-liveness-demo video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.kyc-liveness-tips {
  margin-top: 0;
}
.kyc-drop {
  border: 2px dashed #ddd; border-radius: 10px;
  padding: 26px 20px; text-align: center; cursor: pointer;
  transition: var(--tr); background: #fafafa;
}
.kyc-drop:hover { border-color: var(--gold-mid); background: rgba(229,168,48,0.04); }
.kyc-drop.done { border-color: #22c55e; border-style: solid; background: rgba(34,197,94,0.05); }
.kyc-drop .icon { font-size: 36px; margin-bottom: 8px; }
.kyc-drop p { font-size: 13px; color: var(--text-sub); }
.kyc-done-text { color: #22c55e; font-weight: 700; font-size: 13px; margin-top: 6px; }

/* ─── PACKAGES ─── */
.pkg-grid { display: flex; flex-direction: column; gap: 10px; }
.pkg-row {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid #eee; border-radius: 10px;
  padding: 14px 16px; cursor: pointer; transition: var(--tr);
}
.pkg-row:hover { border-color: var(--gold-mid); }
.pkg-row.selected {
  border-color: var(--gold-start);
  background: rgba(251,220,111,0.07);
}
.pkg-icon { font-size: 26px; width: 42px; text-align: center; }
.pkg-name { font-size: 14px; font-weight: 700; }
.pkg-desc { font-size: 12px; color: var(--text-sub); }
.pkg-price { margin-left: auto; text-align: right; }
.pkg-price strong { font-size: 15px; color: var(--gold-end); display: block; }
.pkg-price small { font-size: 11px; color: var(--text-sub); }

/* ─── PAYMENT ─── */
.pay-method {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid #eee; border-radius: 10px;
  padding: 13px 15px; cursor: pointer;
  margin-bottom: 10px; transition: var(--tr);
}
.pay-method:hover { border-color: var(--gold-mid); }
.pay-method.selected { border-color: var(--gold-start); background: rgba(251,220,111,0.07); }
.pay-method .pi { font-size: 24px; }
.pay-method .pm strong { display: block; font-size: 13px; font-weight: 700; }
.pay-method .pm span { font-size: 12px; color: var(--text-sub); }

.qr-area {
  background: #f9f9f9; border-radius: 10px;
  padding: 20px; text-align: center; margin: 14px 0;
}
.qr-box {
  width: 130px; height: 130px; margin: 0 auto 12px;
  background: #fff; border-radius: 10px; border: 1.5px solid #eee;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px; box-shadow: var(--shadow);
}
.qr-addr {
  font-size: 11px; color: var(--text-sub);
  word-break: break-all;
  background: #fff; padding: 8px 10px; border-radius: 8px;
  border: 1px solid #eee; font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ─── SUMMARY ROW ─── */
.sum-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.sum-row:last-child { border-bottom: none; }
.sum-row .label { color: var(--text-sub); }
.sum-row .val { font-weight: 700; }
.sum-row .val.green { color: #22c55e; }
.sum-row .val.red { color: #ef4444; }
.sum-row .val.gold { color: var(--gold-end); }

/* ─── BINARY TREE ─── */
.binary-tree-page {
  min-height: calc(100vh - 116px);
  margin: -14px;
  background: #000;
  color: #f8fafc;
  overflow: hidden;
}
.binary-tree-controls {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #000;
  padding: 42px 58px 18px;
}
.binary-tree-controls h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 28px;
}
.tree-bottom-btn {
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a1a1a;
  min-width: 244px;
  min-height: 62px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  margin-bottom: 22px;
}
.tree-search-row {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 16px;
}
.tree-search-box {
  min-height: 60px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #1f1f1f;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 18px 0 22px;
}
.tree-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}
.tree-search-box input::placeholder { color: rgba(255,255,255,.44); }
.tree-search-box span {
  color: #fff;
  font-size: 36px;
  line-height: 1;
}
.tree-gear-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 28px;
  cursor: pointer;
}
.tree-warning-card,
.tree-point-card {
  margin-top: 14px;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}
.tree-warning-card {
  border: 1px solid rgba(251,91,120,.46);
  background: rgba(251,91,120,.12);
}
.tree-point-card {
  border: 1px solid rgba(217,166,76,.45);
  background: rgba(217,166,76,.1);
}
.tree-warning-card strong,
.tree-point-card strong,
.tree-warning-card span,
.tree-point-card span {
  display: block;
}
.tree-warning-card strong {
  color: #ff7088;
  font-weight: 950;
}
.tree-point-card strong {
  color: var(--gold-light);
  font-weight: 950;
}
.tree-warning-card span,
.tree-point-card span {
  color: rgba(255,255,255,.78);
  margin-top: 3px;
}
.tree-control-panel {
  width: min(330px, 100%);
  margin: 28px auto 2px;
  border-radius: 12px;
  background: #202020;
  padding: 25px 28px 20px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0,0,0,.42);
}
.tree-control-panel strong,
.tree-control-panel span {
  display: block;
  color: #fff;
}
.tree-control-panel strong {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
}
.tree-control-panel span {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 16px;
}
.tree-control-panel div {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.tree-control-panel button {
  width: 48px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.tree-pan-viewport {
  height: 640px;
  border-top: 1px solid rgba(255,255,255,.3);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: #000;
}
.tree-pan-viewport:active { cursor: grabbing; }
.tree-pan-stage {
  width: 820px;
  min-height: 650px;
  transform-origin: 50% 0;
  transition: transform .08s linear;
  padding-top: 18px;
}
.tree-wrap { overflow: visible; padding: 8px 0 0; }
.tree-level { display: flex; justify-content: center; gap: 34px; margin-bottom: 0; }
.tree-col { display: flex; flex-direction: column; align-items: center; }
.tree-lines { display: flex; justify-content: center; position: relative; margin: 2px 0; }
.tree-branch-center {
  display: flex;
  justify-content: center;
}
.tree-branch-pair {
  display: flex;
  justify-content: center;
  gap: 180px;
}
.tree-branch-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.v-line { width: 2px; height: 42px; background: rgba(255,255,255,.34); }
.h-branch {
  display: flex; align-items: flex-start; gap: 0;
}
.h-branch .arm {
  width: 118px; height: 36px;
  border-top: 2px solid rgba(255,255,255,.34);
}
.h-branch.small .arm { width: 76px; height: 28px; }
.h-branch .arm.left { border-left: 2px solid rgba(255,255,255,.34); margin-right: 2px; }
.h-branch .arm.right { border-right: 2px solid rgba(255,255,255,.34); margin-left: 2px; }

.t-node {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 0 12px;
}
.t-inner {
  width: 152px; min-height: 126px; border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.08); background: #202020;
  cursor: default; transition: var(--tr); position: relative;
  color: #f8fafc;
  box-shadow: 0 18px 34px rgba(0,0,0,.35);
  overflow: visible;
}
.t-inner.filled { border-color: rgba(255,255,255,.1); background: #202020; }
.t-inner.me {
  border-color: var(--gold-start);
  background: #202020;
  color: #fff;
}
.t-inner.open {
  border: 2px dashed var(--gold-mid);
  background: rgba(251,220,111,0.08);
  cursor: pointer;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(229,168,48,0.4); }
  50%{ box-shadow: 0 0 0 8px rgba(229,168,48,0); }
}
.t-inner.open:hover { background: rgba(229,168,48,0.15); transform: scale(1.08); }
.t-icon { font-size: 18px; }
.t-label { display: none; }
.t-open-text { font-size: 22px; font-weight: 900; color: var(--gold-mid); }
.tree-member-card,
.tree-open-card {
  width: 100%;
  min-height: 126px;
  display: grid;
  align-content: start;
  color: #f8fafc;
  padding: 10px 12px 8px;
  text-align: left;
}
.tree-member-card > strong,
.tree-open-card > strong {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
}
.tree-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 6px;
}
.tree-score-grid span {
  color: rgba(255,255,255,.72);
  font-size: 8.5px;
  line-height: 1.35;
}
.tree-score-grid span:nth-child(even) {
  text-align: right;
}
.tree-score-grid b {
  display: block;
  color: #fff;
  font-size: 10.5px;
  font-weight: 950;
}
.tree-miner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}
.tree-miner i {
  width: 22px;
  height: 13px;
  border-radius: 999px;
  background: #d9d9d9;
  position: relative;
}
.tree-miner i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}
.tree-miner i.on {
  background: #59c7ff;
}
.tree-miner i.on::after {
  left: 11px;
}
.tree-miner em {
  color: rgba(255,255,255,.75);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
.tree-card-credit {
  color: rgba(255,255,255,.66);
  text-align: center;
  font-size: 8px;
  font-weight: 900;
  margin-top: 3px;
  white-space: nowrap;
}
.tree-open-card {
  align-content: center;
  gap: 9px;
}
.tree-open-card > strong {
  color: rgba(255,255,255,.82);
  font-size: 11px;
  margin: 0;
}
.tree-user-select {
  height: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 800;
  padding: 0 10px;
  font-family: inherit;
  cursor: pointer;
}
.tree-user-select span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tree-user-select b {
  color: rgba(255,255,255,.6);
  font-size: 10px;
}
.tree-user-menu {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 75px;
  z-index: 4;
  border-radius: 8px;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 22px rgba(0,0,0,.45);
  overflow: hidden;
}
.tree-user-menu button {
  width: 100%;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 900;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}
.tree-user-menu button:hover,
.tree-user-menu button:focus {
  background: rgba(251,220,111,.12);
}
.tree-add-member {
  height: 27px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5f5f5, #dcdcdc);
  color: #a1a1aa;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tree-add-member.ready {
  background: var(--gold-grad);
  color: #171717;
  box-shadow: 0 8px 16px rgba(229,168,48,.22);
}

.queue-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,220,111,0.12); border: 1px solid rgba(229,168,48,0.3);
  border-radius: 8px; padding: 10px 14px; font-size: 13px;
  margin: 28px 0 0 316px;
  color: #fff;
}

/* ─── WALLET 다크 본문 (body.dark-content 활성화 시) ─── */
body.dark-content .main { background: #0e0e0e; }
body.dark-content .topbar {
  background: #0e0e0e; border-bottom: 1px solid #1a1a1a;
  box-shadow: none;
}
body.dark-content .topbar-title { color: #fff; }
body.dark-content .topbar-lang { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
body.dark-content .topbar-reset-btn {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
}
body.dark-content .topbar-reset-btn:hover,
body.dark-content .topbar-reset-btn:focus {
  border-color: rgba(215, 173, 61, .6);
  background: rgba(215, 173, 61, .16);
  color: #ffe08a;
}
body.dark-content .progress-wrap { background: #0e0e0e; border-bottom-color: #1a1a1a; }
body.dark-content .progress-track { background: #1f1f1f; }
body.dark-content .progress-steps { color: rgba(255,255,255,0.5); }
body.dark-content .page-content { background: #0e0e0e; color: #fff; }
.wallet-mobile-head {
  margin: -16px -16px 20px;
  background: #151515;
}

/* ─── WALLET (my-wallet 100% 모방 — 다크) ─── */
.wal-page-title {
  font-size: 28px; font-weight: 800; color: #fff;
  margin: 4px 0 14px;
  letter-spacing: -0.02em;
}

.wal-tabs {
  display: flex; gap: 22px; margin-bottom: 14px;
  border-bottom: 1px solid #1f1f1f; padding-bottom: 0;
  overflow-x: auto;
}
.wal-tab {
  background: none; border: none;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  padding: 6px 0 10px; cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: var(--tr);
}
.wal-tab:hover { color: rgba(255,255,255,0.8); }
.wal-tab.active {
  color: var(--gold-start);
  border-bottom-color: var(--gold-start);
}

.wal-deposit-screen {
  min-height: 900px;
  margin: -18px -18px 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 112% 70%, transparent 41%, rgba(231,184,96,.62) 41.4%, rgba(231,184,96,.62) 41.8%, transparent 42.2%),
    radial-gradient(ellipse at 92% 88%, transparent 39%, rgba(231,184,96,.45) 39.4%, rgba(231,184,96,.45) 39.8%, transparent 40.2%),
    #030303;
}
.wal-deposit-top {
  background: #151515;
}
.wal-deposit-body {
  padding: 24px 18px 120px;
}
.wal-deposit-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.wal-deposit-back {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.wal-deposit-title-row h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}
.wal-deposit-card {
  background: #1d1d1d;
  border-radius: 12px;
  padding: 22px 18px 28px;
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.wal-deposit-copy {
  margin: 0 0 58px;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
.wal-deposit-select-wrap {
  position: relative;
  margin-bottom: 30px;
}
.wal-deposit-select {
  position: relative;
  width: 100%;
  min-height: 58px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #1d1d1d;
  color: rgba(255,255,255,.52);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wal-deposit-select-wrap.open .wal-deposit-select,
.wal-deposit-select:focus-visible {
  border-color: #dfb65c;
  box-shadow: 0 0 0 1px rgba(223,182,92,.28);
  outline: none;
}
.wal-deposit-select.has-value {
  color: #fff;
  padding-top: 8px;
}
.wal-select-label {
  position: absolute;
  left: 22px;
  top: -11px;
  background: #1d1d1d;
  padding: 0 6px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}
.wal-selected-coin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wal-select-chevron {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.wal-coin-menu {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #191919;
  border-radius: 0 0 4px 4px;
  padding: 12px 18px 18px;
  box-shadow: 0 28px 40px rgba(0,0,0,.35);
}
.wal-coin-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.wal-coin-option:hover,
.wal-coin-option.selected {
  color: #f4d47b;
}
.wal-coin-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  flex: 0 0 auto;
}
.wal-coin-icon.btc { background: #f59d25; }
.wal-coin-icon.usdt { background: #49b79f; }
.wal-coin-icon.usdc { background: #2f80d7; }
.wal-deposit-address-panel {
  margin: 36px 0 30px;
  text-align: center;
}
.wal-deposit-address-panel h2 {
  margin: 0 0 26px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}
.wal-deposit-qr {
  width: 184px;
  height: 184px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wal-deposit-qr .twofa-qr-grid {
  width: 142px;
  height: 142px;
  border-radius: 0;
  padding: 0;
}
.wal-copy-guide {
  max-width: 340px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(217,166,76,.48);
  border-radius: 14px;
  background: rgba(217,166,76,.12);
  color: rgba(255,255,255,.9);
  padding: 11px 13px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.wal-copy-guide strong {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe27a, #c9842f);
  color: #171717;
  font-size: 15px;
  font-weight: 950;
}
.wal-copy-guide em {
  color: #f2c466;
  font-style: normal;
}
.wal-address-pill {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 14px 10px 18px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 700;
}
.wal-address-copy {
  border: 0;
  background: transparent;
  color: #d9a64c;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0;
}
.wal-fake-address-warning {
  margin: 16px auto 0;
  max-width: 420px;
  border: 1px solid rgba(255,122,122,.42);
  border-radius: 12px;
  background: rgba(255,70,70,.1);
  color: #ffd6d6;
  padding: 13px 14px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}
.wal-fake-address-warning strong {
  display: block;
  color: #ff8f8f;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 3px;
}
.wal-fake-address-warning span {
  display: block;
}
.wal-binance-assumption {
  margin: 12px auto 0;
  max-width: 420px;
  border: 1px solid rgba(217,166,76,.38);
  border-radius: 12px;
  background: rgba(217,166,76,.1);
  color: rgba(255,255,255,.84);
  padding: 13px 14px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}
.wal-binance-assumption strong {
  display: block;
  color: #f2c466;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 3px;
}
.wal-binance-assumption span {
  display: block;
}
.wal-binance-btn {
  width: 100%;
  max-width: 420px;
  min-height: 54px;
  margin: 16px auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8d66b, #c98a2f);
  color: #161616;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 26px rgba(201,138,47,.22);
}
.wal-support {
  margin: 36px 0 0;
  color: rgba(255,255,255,.86);
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
}
.wal-support strong {
  font-weight: 900;
}
.wal-deposit-footer-links {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-bottom: 36px;
}
.wal-deposit-footer-links a {
  color: #d9a64c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.wal-deposit-complete-card {
  margin-top: 18px;
  border: 1px solid rgba(67,211,158,.38);
  border-radius: 14px;
  background: rgba(67,211,158,.1);
  padding: 15px;
}
.wal-deposit-complete-card strong,
.wal-deposit-complete-card span {
  display: block;
}
.wal-deposit-complete-card strong {
  color: #79e8b7;
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 5px;
}
.wal-deposit-complete-card span {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.45;
}

.binance-practice-screen {
  min-height: 820px;
  margin: -14px -14px 0;
  background: #0b0b0b;
  color: #f8fafc;
  padding: 0 0 120px;
}
.binance-practice-phone {
  max-width: 430px;
  margin: 0 auto;
  min-height: 820px;
  background: #101010;
}
.binance-head {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.binance-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
}
.binance-head strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.binance-ready-card {
  margin: 24px 18px;
  border-radius: 18px;
  background: #1b1b1b;
  padding: 24px 22px;
}
.binance-ready-card h2 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}
.binance-ready-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.65;
}

.binance-practice-screen {
  background: #111827;
  color: #edf2fb;
}
.binance-practice-phone {
  position: relative;
  background: #202632;
  overflow: hidden;
}
.binance-home-head,
.binance-page-head,
.binance-asset-head,
.binance-send-head {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 16px;
}
.binance-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f5c533;
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}
.binance-screen-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.binance-head-icons {
  display: flex;
  gap: 20px;
  color: #edf2fb;
  font-size: 30px;
}
.binance-page-head strong,
.binance-asset-head strong,
.binance-send-head strong {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 900;
}
.binance-page-head button,
.binance-asset-head button,
.binance-send-head button {
  border: 0;
  background: transparent;
  color: #edf2fb;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
}
.binance-total-card,
.binance-portfolio-total {
  position: relative;
  padding: 8px 18px 26px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.binance-total-card span,
.binance-portfolio-total span,
.binance-token-total > span {
  display: block;
  color: #b9c0cc;
  font-size: 14px;
  margin-bottom: 8px;
}
.binance-total-card strong,
.binance-portfolio-total strong {
  color: #f7f9ff;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}
.binance-total-card button,
.binance-portfolio-total .yellow,
.binance-token-bottom .yellow {
  position: absolute;
  right: 18px;
  bottom: 24px;
  border: 0;
  border-radius: 999px;
  background: #f6ca34;
  color: #1d2430;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  min-width: 112px;
  min-height: 44px;
}
.binance-promo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 28px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.binance-promo span,
.binance-filter-row,
.binance-assets-tools,
.binance-history-tabs {
  color: #9ca3af;
}
.binance-promo strong {
  grid-column: 1;
  color: #f8fafc;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}
.binance-promo i {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #f6ca34;
  font-size: 48px;
  font-style: normal;
}
.binance-market-list,
.binance-assets,
.binance-history {
  padding: 22px 18px 110px;
}
.binance-market-list h2,
.binance-allocation h2,
.binance-history h2 {
  color: #f8fafc;
  font-size: 22px;
  margin: 0 0 18px;
}
.binance-market-list h2 span {
  color: #8c94a3;
  margin-right: 16px;
}
.binance-filter-row {
  display: flex;
  gap: 20px;
  font-size: 13px;
  margin-bottom: 18px;
}
.binance-filter-row span:first-child,
.binance-history-tabs span:first-child {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 4px 12px;
}
.binance-market-row,
.binance-asset-row {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.binance-market-row strong,
.binance-asset-row strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}
.binance-market-row span,
.binance-asset-row span {
  color: #9ca3af;
  font-size: 13px;
}
.binance-market-row p,
.binance-asset-row p {
  margin: 0;
  text-align: right;
}
.binance-market-row p em {
  display: block;
  color: #43d39e;
  font-style: normal;
  font-size: 17px;
  font-weight: 800;
}
.binance-market-row p span,
.binance-asset-row p span {
  display: block;
  margin-top: 4px;
}
.binance-coin-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.binance-coin-dot.bnb { background: #f6ca34; color: #111827; }
.binance-coin-dot.btc { background: #f59d25; }
.binance-coin-dot.eth { background: #627eea; }
.binance-coin-dot.sol { background: #14f195; color: #111827; }
.binance-coin-dot.doge { background: #c2a633; }
.binance-coin-dot.usdt { background: #29a79b; }
.binance-coin-dot.xrp { background: #151a23; border: 1px solid rgba(255,255,255,.18); }
.binance-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82px;
  background: #202632;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 8;
}
.binance-bottom-nav button {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}
.binance-bottom-nav button span {
  font-size: 24px;
}
.binance-bottom-nav button small {
  display: block;
  margin-top: -3px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 800;
}
.binance-bottom-nav button.active {
  color: #f8fafc;
}
.binance-trade-btn span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #f1f5f9;
  color: #1f2937;
  display: grid;
  place-items: center;
}
.binance-portfolio-total div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.binance-portfolio-total div button,
.binance-token-bottom button {
  border: 0;
  border-radius: 999px;
  background: #323b4c;
  color: #f8fafc;
  min-height: 48px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  position: static;
}
.binance-portfolio-total div button small,
.binance-token-bottom button small {
  display: block;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  opacity: .72;
  line-height: 1.1;
}
.binance-allocation {
  padding: 22px 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.binance-donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(#29a79b 0 100%);
  box-shadow: inset 0 0 0 44px #202632;
  float: left;
  margin-right: 38px;
}
.binance-allocation ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: grid;
  gap: 13px;
  min-width: 0;
}
.binance-allocation li {
  color: #d8dde7;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.binance-allocation i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #6b7280;
  margin-right: 8px;
}
.binance-allocation i.usdt {
  background: #29a79b;
}
.binance-assets-tools {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.binance-assets-tools button {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 24px;
}
.binance-asset-head {
  justify-content: flex-start;
  gap: 72px;
}
.binance-asset-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
}
.binance-token-total {
  padding: 22px 18px;
}
.binance-token-total strong {
  display: block;
  color: #f8fafc;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}
.binance-token-total small {
  color: #9ca3af;
  font-size: 15px;
  font-weight: 700;
}
.binance-balance-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.binance-balance-pair p {
  margin: 0;
  color: #9ca3af;
}
.binance-balance-pair strong {
  margin-top: 6px;
  font-size: 21px;
}
.binance-token-actions,
.binance-token-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 18px 24px;
}
.binance-token-actions button {
  min-height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: #f8fafc;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
}
.binance-history {
  padding-top: 12px;
}
.binance-history-tabs {
  display: flex;
  gap: 24px;
  overflow: hidden;
  font-size: 13px;
  margin-bottom: 16px;
  white-space: nowrap;
}
.binance-history-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
}
.binance-history-row strong {
  display: block;
  color: #f8fafc;
  font-size: 18px;
}
.binance-history-row span {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.4;
}
.binance-history-row em {
  color: #42d39d;
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
}
.binance-history-row.muted em {
  color: #9ca3af;
}
.binance-token-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 6;
}
.binance-dim {
  position: absolute;
  inset: 0;
  background: rgba(8,12,18,.72);
  z-index: 20;
}
.binance-method-sheet,
.binance-network-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  background: #202632;
  border-radius: 20px 20px 0 0;
  padding: 14px 18px 28px;
}
.binance-sheet-handle {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #4b5563;
  margin: 0 auto 26px;
}
.binance-method-sheet h2,
.binance-network-sheet h2 {
  margin: 0 0 18px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 900;
}
.binance-method-sheet h2 small,
.binance-network-sheet h2 small {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}
.binance-method-sheet button {
  width: 100%;
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: transparent;
  color: #f8fafc;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  text-align: left;
  padding: 0 18px;
  margin-bottom: 14px;
  font-family: inherit;
  cursor: pointer;
}
.binance-method-sheet button span {
  grid-row: 1 / span 2;
  font-size: 28px;
}
.binance-method-sheet button strong {
  font-size: 19px;
}
.binance-method-sheet button strong small {
  color: #f6ca34;
  font-size: 13px;
  margin-left: 5px;
}
.binance-method-sheet button em {
  color: #9ca3af;
  font-style: normal;
  font-size: 13px;
}
.binance-send-head div {
  text-align: center;
}
.binance-send-head div span {
  display: block;
  color: #d1d5db;
  font-size: 14px;
  margin-top: 2px;
}
.binance-kyc-note {
  margin: 10px 18px 28px;
  border-radius: 12px;
  background: rgba(111,105,50,.28);
  color: #f0f2f7;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.45;
}
.binance-send-form {
  padding: 0 18px;
  display: grid;
  gap: 22px;
}
.binance-send-form label {
  color: #aab2c0;
  font-size: 15px;
  font-weight: 700;
}
.binance-send-form label small,
.binance-available small,
.binance-fee-summary small {
  color: #f6ca34;
  font-size: 12px;
  font-weight: 900;
  margin-left: 4px;
}
.binance-input-with-action,
.binance-amount-field,
.binance-select-field {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #283142;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
}
.binance-input-with-action input,
.binance-amount-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  outline: none;
}
.binance-input-with-action input::placeholder,
.binance-amount-field input::placeholder {
  color: #7e8798;
}
.binance-input-with-action button,
.binance-amount-field button {
  border: 0;
  background: transparent;
  color: #f6ca34;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
}
.binance-amount-field button small {
  display: block;
  color: rgba(246,202,52,.78);
  font-size: 10px;
  line-height: 1;
}
.binance-amount-field span {
  color: #fff;
  font-weight: 900;
  margin: 0 12px;
}
.binance-select-field span {
  color: #9ca3af;
}
.binance-available {
  margin: -12px 0 0;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.binance-send-warning {
  padding: 24px 18px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.binance-send-warning p {
  margin: 0 0 8px;
}
.binance-send-warning strong {
  color: #f6ca34;
}
.binance-fee-summary {
  padding: 18px 18px 8px;
}
.binance-fee-summary p {
  margin: 0 0 6px;
  display: flex;
  justify-content: space-between;
  color: #aab2c0;
}
.binance-fee-summary strong {
  color: #f8fafc;
  font-size: 18px;
}
.binance-fee-summary em {
  display: block;
  margin-top: 8px;
  color: #f6ca34;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}
.binance-withdraw-btn {
  width: calc(100% - 36px);
  min-height: 54px;
  margin: 10px 18px 0;
  border: 0;
  border-radius: 999px;
  background: rgba(246,202,52,.34);
  color: rgba(15,23,42,.7);
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
}
.binance-withdraw-btn small {
  display: block;
  font-size: 11px;
  font-weight: 900;
  opacity: .72;
  line-height: 1.1;
}
.binance-withdraw-btn.ready {
  background: #f6ca34;
  color: #111827;
}
.binance-complete-screen {
  padding-bottom: 26px;
}
.binance-complete-card {
  margin: 28px 18px 0;
  border-radius: 22px;
  background: #202632;
  border: 1px solid rgba(255,255,255,.08);
  padding: 24px 18px;
  text-align: center;
  color: #f8fafc;
}
.binance-complete-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #43d39e;
  color: #111827;
  font-size: 36px;
  font-weight: 950;
}
.binance-complete-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 0;
}
.binance-complete-card p {
  margin: 0 0 22px;
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.55;
}
.binance-complete-card p strong {
  color: #f6ca34;
}
.binance-complete-card dl {
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.binance-complete-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 10px;
}
.binance-complete-card dt,
.binance-complete-card dd {
  margin: 0;
  font-size: 14px;
}
.binance-complete-card dt {
  color: #9ca3af;
}
.binance-complete-card dd {
  color: #f8fafc;
  font-weight: 900;
  text-align: right;
}
.binance-complete-card button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #f6ca34;
  color: #111827;
  font-family: inherit;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}
.binance-network-sheet {
  top: 92px;
  overflow-y: auto;
}
.binance-network-sheet.deposit-mode {
  top: 82px;
  bottom: 0;
}
.binance-network-row {
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: #283142;
  color: #f8fafc;
  padding: 18px;
  margin-bottom: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.binance-network-row strong {
  display: block;
  font-size: 19px;
  margin-bottom: 12px;
}
.binance-network-row strong span {
  font-weight: 700;
}
.binance-network-row em {
  display: block;
  color: #9ca3af;
  font-style: normal;
  line-height: 1.7;
}
.binance-network-note {
  margin: 10px 0 0;
  border-radius: 12px;
  background: #283142;
  color: #b7c0ce;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
}
.binance-network-required {
  margin: 8px 0 10px;
  border: 1px solid rgba(246, 202, 52, .45);
  border-radius: 12px;
  background: rgba(246, 202, 52, .12);
  color: #f8d866;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.binance-history.empty p {
  margin: 18px 0 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
}
.binance-deposit-screen {
  min-height: 820px;
  padding-bottom: 28px;
}
.binance-deposit-address-card {
  padding: 18px 18px 28px;
  color: #f8fafc;
}
.binance-deposit-qr {
  width: 214px;
  height: 214px;
  margin: 4px auto 34px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #111827;
}
.binance-deposit-qr .twofa-qr-grid {
  transform: scale(1.45);
}
.binance-deposit-address-card dl {
  margin: 0;
  display: grid;
  gap: 22px;
}
.binance-deposit-address-card dl div {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 18px;
}
.binance-deposit-address-card dt {
  color: #9ca3af;
  font-size: 15px;
  margin-bottom: 8px;
}
.binance-deposit-address-card dd {
  margin: 0;
  color: #edf2fb;
  font-size: 16px;
  font-weight: 800;
}
.binance-deposit-address-card dd span {
  display: block;
  margin-top: 5px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 700;
}
.binance-deposit-address-card dd > strong {
  color: #f6ca34;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.deposit-address-line dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
}
.deposit-address-line button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #283142;
  color: #edf2fb;
  font-size: 24px;
  cursor: pointer;
}
.binance-fake-address-warning {
  margin-top: 18px;
  border: 1px solid rgba(246, 202, 52, .36);
  border-radius: 14px;
  background: rgba(246, 202, 52, .1);
  color: #f4d36a;
  padding: 13px 14px;
}
.binance-fake-address-warning strong,
.binance-fake-address-warning span {
  display: block;
  overflow-wrap: break-word;
}
.binance-fake-address-warning strong {
  margin-bottom: 4px;
  font-weight: 950;
}
.binance-fake-address-warning span {
  color: #d5c489;
  font-size: 13px;
  line-height: 1.45;
}
.binance-copy-toast {
  position: absolute;
  left: 50%;
  top: 390px;
  width: 290px;
  transform: translateX(-50%);
  border-radius: 16px;
  background: #677385;
  color: #fff;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.binance-copy-toast strong,
.binance-copy-toast span {
  display: block;
}
.binance-copy-toast strong {
  margin-bottom: 8px;
  font-size: 18px;
}
.binance-copy-toast span {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.45;
}
.binance-return-upbit {
  width: 100%;
  min-height: 56px;
  margin-top: 36px;
  border: 0;
  border-radius: 999px;
  background: #f6ca34;
  color: #111827;
  font-family: inherit;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
}

.wal-card {
  background: #161616;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 12px;
  color: #fff;
}
.wal-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.wal-card-label { font-size: 13px; color: rgba(255,255,255,0.55); }
.wal-card-label-sm { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.wal-icon-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px; cursor: pointer;
  padding: 4px 6px; border-radius: 6px;
  transition: var(--tr);
}
.wal-icon-btn:hover { color: var(--gold-start); background: rgba(255,255,255,0.05); }

.wal-total {
  font-size: 30px; font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.wal-donut-wrap { display: flex; justify-content: center; padding: 18px 0 24px; }
.wal-donut { width: 200px; height: 200px; }

.wal-coin-list { display: flex; flex-direction: column; gap: 12px; }
.wal-coin-row {
  display: flex; align-items: flex-start; gap: 12px;
}
.wal-coin-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  margin-top: 4px;
  flex-shrink: 0;
}
.wal-coin-info { flex: 1; }
.wal-coin-line {
  font-size: 14px; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.wal-coin-sub {
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.wal-action-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.wal-action-list button {
  width: max-content;
  border: 0;
  background: transparent;
  color: var(--gold-start);
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}
.wal-action-list span {
  display: inline-block;
  margin-left: 6px;
  font-size: 24px;
  line-height: 0;
  transform: translateY(2px);
}
.wal-i {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-mid);
  color: var(--gold-mid);
  font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: help;
  margin-left: 4px;
}

.wal-filters { display: flex; gap: 14px; }
.wal-filter {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.wal-filter span { color: rgba(255,255,255,0.5); }
.wal-filter strong {
  color: #fff; font-weight: 600;
  cursor: pointer;
}

.wal-line-wrap { width: 100%; overflow: hidden; padding-top: 6px; }
.wal-line { width: 100%; height: auto; }
.wal-axis { fill: rgba(255,255,255,0.45); font-size: 10px; font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }

/* 총 해시 파워 */
.wal-hash-row { display: flex; align-items: center; gap: 16px; padding: 6px 0; }
.wal-hash-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.wal-hash-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.wal-hash-val { font-size: 22px; font-weight: 800; color: #fff; }

.wal-divider {
  height: 1px; background: rgba(255,255,255,0.08);
  margin: 14px 0;
}

.wal-scp-row {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.wal-scp-label { font-size: 12px; color: rgba(255,255,255,0.5); }
.wal-scp-val {
  font-size: 18px; font-weight: 600;
  color: #fff;
  display: flex; align-items: center;
  letter-spacing: -0.01em;
}
.wal-mask { color: rgba(255,255,255,0.7); font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; letter-spacing: 1px; }

.wal-eye-row { display: flex; justify-content: center; padding: 8px 0 0; }
.wal-eye-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 22px; cursor: pointer;
  padding: 6px;
  transition: var(--tr);
}
.wal-eye-btn:hover { color: #fff; }

/* 히스토리 테이블 */
.wal-hist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}
.wal-hist-table th {
  text-align: right;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  font-size: 12px;
}
.wal-hist-table th:first-child { text-align: left; }
.wal-hist-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wal-hist-table tr:last-child td { border-bottom: none; }
.wal-th-type { color: rgba(255,255,255,0.85); }
.wal-th-amt {
  text-align: right;
  color: #4ADE80;
  font-weight: 600;
  font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
.wal-empty-cell {
  text-align: center !important;
  padding: 32px 0 !important;
  color: rgba(255,255,255,0.4) !important;
  font-size: 13px;
}

/* mobile */
@media(max-width:540px){
  .wal-page-title { font-size: 22px; }
  .wal-total { font-size: 24px; }
  .wal-donut { width: 170px; height: 170px; }
  .wal-card { padding: 16px 18px; border-radius: 14px; }
  .wal-line-wrap { overflow-x: auto; }
}

/* ─── PACKAGE 구매 (100% 모방 - 다크) ─── */
.pkg-page-title {
  font-size: 28px; font-weight: 800;
  color: #fff;
  margin: 4px auto 16px;
  max-width: 390px;
  letter-spacing: 0;
}

/* 프로모션 배너 (이미지 적용) */
.pkg-promo {
  position: relative;
  border-radius: 18px;
  margin: 0 auto 28px;
  max-width: 390px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pkg-promo-img {
  display: block;
  width: 100%;
  height: auto;
}
.pkg-promo-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(20,20,20,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 18px; font-weight: 700;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  transition: var(--tr);
}
.pkg-promo-arrow:hover { background: rgba(20,20,20,0.9); border-color: rgba(255,255,255,0.4); }
.pkg-promo-arrow.left { left: 12px; }
.pkg-promo-arrow.right { right: 12px; }

.pkg-section-title {
  text-align: center;
  font-size: 16px; font-weight: 700;
  color: #fff;
  margin: 12px 0 24px;
}

/* 패키지 카드 */
.pkg-card-list { display: flex; flex-direction: column; gap: 32px; align-items: center; padding: 8px 10px 24px; }
.pkg-card {
  position: relative;
  width: 100%; max-width: 350px;
  border-radius: 18px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.pkg-card.selected { outline: 3px solid var(--gold-start); outline-offset: 4px; }

/* 좌측 상단 빨간 원형 배지 */
.pkg-badge {
  position: absolute;
  top: -14px; left: -8px;
  width: 68px; height: 68px;
  background: radial-gradient(circle at 30% 30%, #f56565, #c53030);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff;
  z-index: 10;
  box-shadow: 0 6px 14px rgba(197,48,48,0.5);
  transform: rotate(-8deg);
}
.pkg-badge-top { font-size: 9px; font-weight: 600; opacity: 0.95; }
.pkg-badge-mid { font-size: 14px; font-weight: 900; line-height: 1.05; }
.pkg-badge-bot { font-size: 11px; font-weight: 700; }

/* 우측 상단 리본 */
.pkg-ribbon {
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 90px;
  overflow: hidden;
  z-index: 9;
  border-top-right-radius: 18px;
  pointer-events: none;
}
.pkg-ribbon span {
  position: absolute;
  top: 22px; right: -28px;
  width: 130px;
  background: linear-gradient(90deg, #c53030, #f56565);
  text-align: center;
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* 카드 헤더 (패키지명) */
.pkg-card-head {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 18px 18px 0 0;
}
.pkg-color-mark {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
}
.pkg-card-name { font-size: 14px; font-weight: 700; color: #fff; }

/* 카드 본문 */
.pkg-card-body {
  padding: 18px 24px 24px;
  background: rgba(0,0,0,0.5);
  border-radius: 0 0 18px 18px;
  text-align: center;
  color: #fff;
}
.pkg-card-price {
  font-size: 28px; font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pkg-card-unit { font-size: 22px; font-weight: 700; opacity: 0.95; }
.pkg-card-period {
  font-size: 13px; color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.pkg-card-period s { color: rgba(255,255,255,0.5); margin-right: 4px; }
.pkg-card-period b { color: #fff; }
.pkg-sep { color: rgba(255,255,255,0.5); margin: 14px 0; font-size: 14px; }
.pkg-card-start {
  font-size: 13px; color: #fff;
  margin-bottom: 18px;
}
.pkg-card-hrlbl {
  font-size: 13px; color: rgba(255,255,255,0.85);
  margin: 12px 0 6px;
}
.pkg-card-hr {
  display: inline-block;
  background: rgba(229,168,48,0.18);
  border: 1px solid rgba(229,168,48,0.4);
  color: var(--gold-start);
  padding: 7px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}
.pkg-card-hr.small { font-size: 13px; padding: 6px 14px; }
.pkg-card-90 {
  font-size: 12px; color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.pkg-card-90 b { color: #fff; }

/* 패키지별 그라디언트 (헤더에만 적용) */
.pkg-color-gray .pkg-card-head     { background: linear-gradient(135deg, #4a4a4a, #2a2a2a); }
.pkg-color-navy .pkg-card-head     { background: linear-gradient(135deg, #1e3a5f, #0d1b2a); }
.pkg-color-mint .pkg-card-head     { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.pkg-color-orange .pkg-card-head   { background: linear-gradient(135deg, #ea580c, #7c2d12); }
.pkg-color-teal .pkg-card-head     { background: linear-gradient(135deg, #0ea5e9, #0c4a6e); }
.pkg-color-gold .pkg-card-head     { background: linear-gradient(135deg, #d4a017, #78350f); }
.pkg-color-silver .pkg-card-head   { background: linear-gradient(135deg, #cbd5e1, #475569); }
.pkg-color-sapphire .pkg-card-head { background: linear-gradient(135deg, #1e40af, #1e3a8a); }
.pkg-color-diamond .pkg-card-head  { background: linear-gradient(135deg, #a78bfa, #5b21b6); }

/* 패키지별 본문 살짝 색조 */
.pkg-color-gray .pkg-card-body     { background: linear-gradient(180deg, rgba(74,74,74,0.6), rgba(0,0,0,0.85)); }
.pkg-color-navy .pkg-card-body     { background: linear-gradient(180deg, rgba(30,58,95,0.6), rgba(0,0,0,0.85)); }
.pkg-color-mint .pkg-card-body     { background: linear-gradient(180deg, rgba(45,212,191,0.5), rgba(0,30,30,0.85)); }
.pkg-color-orange .pkg-card-body   { background: linear-gradient(180deg, rgba(234,88,12,0.6), rgba(20,5,0,0.85)); }
.pkg-color-teal .pkg-card-body     { background: linear-gradient(180deg, rgba(14,165,233,0.55), rgba(0,15,30,0.85)); }
.pkg-color-gold .pkg-card-body     { background: linear-gradient(180deg, rgba(212,160,23,0.6), rgba(20,15,0,0.85)); }
.pkg-color-silver .pkg-card-body   { background: linear-gradient(180deg, rgba(203,213,225,0.5), rgba(20,20,20,0.85)); }
.pkg-color-sapphire .pkg-card-body { background: linear-gradient(180deg, rgba(30,64,175,0.65), rgba(0,5,20,0.9)); }
.pkg-color-diamond .pkg-card-body  { background: linear-gradient(180deg, rgba(167,139,250,0.55), rgba(20,0,30,0.9)); }

/* 컬러 마커 (비교표 + 카드 헤더) */
.pkg-color-gray .pkg-color-mark, .cmp-color-gray { background: #6b7280; }
.pkg-color-navy .pkg-color-mark, .cmp-color-navy { background: #1e3a5f; }
.pkg-color-mint .pkg-color-mark, .cmp-color-mint { background: #14b8a6; }
.pkg-color-orange .pkg-color-mark, .cmp-color-orange { background: #ea580c; }
.pkg-color-teal .pkg-color-mark, .cmp-color-teal { background: #0ea5e9; }
.pkg-color-gold .pkg-color-mark, .cmp-color-gold { background: #d4a017; }
.pkg-color-silver .pkg-color-mark, .cmp-color-silver { background: #cbd5e1; }
.pkg-color-sapphire .pkg-color-mark, .cmp-color-sapphire { background: #1e40af; }
.pkg-color-diamond .pkg-color-mark, .cmp-color-diamond { background: #a78bfa; }

/* 비교표 */
.pkg-cmp-wrap {
  background: #161616;
  border-radius: 16px;
  padding: 18px 0;
  margin: 32px auto 24px;
  max-width: 390px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pkg-cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #fff;
  min-width: 1100px;
}
.pkg-cmp-table th {
  text-align: left;
  padding: 14px 18px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  vertical-align: top;
  width: 200px;
}
.pkg-cmp-table td {
  text-align: center;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  font-size: 13px;
}
.pkg-cmp-table tr:last-child th,
.pkg-cmp-table tr:last-child td { border-bottom: none; }
.pkg-cmp-table tr:first-child td { font-weight: 600; }
.pkg-cmp-table s { color: rgba(255,255,255,0.4); margin-right: 2px; }
.cmp-mark {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

/* 푸터 */
.pkg-foot {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  padding: 30px 0 124px;
}
.pkg-foot-link {
  color: var(--gold-start);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.pkg-foot-link:hover { text-decoration: underline; }
.pkg-foot-social { display: flex; gap: 14px; margin-top: 8px; }
.pkg-foot-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  display: flex; align-items: center; justify-content: center;
  color: #1a1a1a;
  font-size: 16px; font-weight: 700;
  cursor: pointer;
  transition: var(--tr);
}
.pkg-foot-icon:hover { transform: translateY(-2px); }

/* 선택 시 하단 고정 구매 버튼 */
.pkg-buy-fixed {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  z-index: 998;
  width: min(430px, 100vw);
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  background: rgba(31,31,31,0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  padding: 18px 28px calc(20px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  max-width: 100%;
}
.pkg-buy-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fff;
  font-weight: 600;
}
.pkg-buy-info > span {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.pkg-buy-info strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.pkg-buy-info em { font-style: normal; }
.pkg-buy-color {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: 0 0 auto;
}
.pkg-buy-btn {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  width: min(190px, 70%);
  align-self: center;
  font-family: inherit; font-size: 17px; font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--tr);
}
.pkg-buy-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(229,168,48,0.4); }

.pkg-payment-screen {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #202020;
  color: #f7f7f7;
  padding: 26px 24px 120px;
}
.pkg-payment-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 24px;
}
.pkg-payment-head h1 {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 8px;
}
.pkg-payment-close {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 28px;
  cursor: pointer;
}
.pkg-payment-desc {
  text-align: center;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 34px;
}
.pkg-payment-section-title {
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 24px;
}
.pkg-pay-preview {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 22px 48px rgba(0,0,0,0.35);
}
.pkg-pay-preview .pkg-card-head {
  min-height: 56px;
  justify-content: center;
  border-radius: 8px 8px 0 0;
}
.pkg-pay-preview .pkg-card-body {
  border-radius: 0 0 8px 8px;
}
.pkg-payment-divider {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 40px 0 28px;
}
.pkg-pay-block {
  margin: 0 0 18px;
}
.pkg-pay-block-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  padding: 0 0 14px;
  cursor: pointer;
}
.pkg-check-row,
.pkg-radio-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.9);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  text-align: left;
  align-items: start;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  padding: 8px 0;
  cursor: pointer;
}
.pkg-check-row em {
  color: var(--gold-start);
  font-style: normal;
}
.pkg-check-row.risk { color: #ff6b7a; }
.pkg-check-box {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1d;
  font-weight: 900;
  margin-top: 1px;
}
.pkg-check-row.checked .pkg-check-box {
  background: var(--gold-start);
  border-color: var(--gold-start);
}
.pkg-radio-row {
  grid-template-columns: 28px 1fr;
  align-items: center;
  color: rgba(255,255,255,0.82);
  padding: 9px 0;
}
.pkg-radio-dot {
  width: 23px;
  height: 23px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pkg-radio-row.selected .pkg-radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-start);
}
.pkg-radio-row.selected .pkg-radio-dot {
  border-color: rgba(229,168,48,0.75);
}
.pkg-coin-picker {
  position: relative;
  margin: 18px 0 28px;
}
.pkg-coin-select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  background: transparent;
  color: rgba(255,255,255,0.84);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.pkg-coin-select.open {
  border-color: var(--gold-start);
}
.pkg-coin-select.selected {
  border-color: var(--gold-start);
  background: rgba(229,168,48,0.08);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(229,168,48,0.14), 0 12px 24px rgba(0,0,0,0.18);
}
.pkg-coin-menu {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 48px;
  z-index: 4;
  background: rgba(28,28,28,0.98);
  border-radius: 8px;
  padding: 14px 22px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}
.pkg-coin-menu button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
  color: rgba(255,255,255,0.72);
  text-align: left;
  padding: 10px 0;
  font: inherit;
  cursor: pointer;
}
.pkg-coin-menu button:last-child { border-bottom: 0; }
.pkg-coin-menu span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.54);
  margin-bottom: 3px;
}
.pkg-coin-menu strong {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
}
.pkg-wallet-selected-note {
  margin-top: 12px;
  border: 1px solid rgba(34,197,94,0.45);
  border-radius: 14px;
  background: rgba(15,80,45,0.22);
  padding: 12px 14px;
  color: #dffbea;
  display: grid;
  gap: 4px;
}
.pkg-wallet-selected-note strong {
  color: #5df59b;
  font-size: 14px;
}
.pkg-wallet-selected-note span {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.pkg-final-pay {
  display: block;
  width: min(230px, 72%);
  min-height: 58px;
  margin: 44px auto 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #e8e8e8);
  color: rgba(0,0,0,0.28);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: not-allowed;
}
.pkg-final-pay.ready {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(229,168,48,0.28);
}
.pkg-support {
  color: rgba(255,255,255,0.82);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
}
.pkg-support strong { color: var(--gold-start); }
.pkg-wallet-confirm-screen {
  position: relative;
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #202020;
  color: #f7f7f7;
  padding: 58px 30px 120px;
  text-align: center;
}
.pkg-confirm-close {
  right: 18px;
  top: 16px;
}
.pkg-confirm-symbol {
  width: 150px;
  height: 150px;
  margin: 0 auto 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffed8a, #d79b24);
  color: #171717;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 78px;
  line-height: 1;
  font-weight: 300;
  box-shadow:
    0 0 0 8px #202020,
    0 0 0 10px rgba(229,168,48,0.68),
    12px -10px 0 -7px #202020,
    13px -11px 0 -5px rgba(229,168,48,0.56),
    -9px 7px 0 -7px #202020,
    -10px 8px 0 -5px rgba(229,168,48,0.5);
}
.pkg-wallet-confirm-screen h1 {
  max-width: 360px;
  margin: 0 auto 40px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
}
.pkg-confirm-lines {
  display: grid;
  gap: 18px;
  margin: 0 0 52px;
}
.pkg-confirm-lines p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.4;
}
.pkg-confirm-lines strong {
  color: #fff;
  font-weight: 900;
}
.pkg-confirm-pay {
  display: block;
  width: 138px;
  min-height: 58px;
  margin: 0 auto 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #1a1a1a;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(229,168,48,0.26);
}
.pkg-confirm-cancel {
  border: 0;
  background: transparent;
  color: var(--gold-start);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.pkg-purchase-email-screen {
  position: relative;
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #202020;
  color: #f7f7f7;
  padding: 56px 24px 120px;
  text-align: center;
}
.pkg-email-symbol {
  width: 150px;
  height: 150px;
  margin-bottom: 34px;
}
.pkg-purchase-email-screen h1 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 900;
}
.pkg-purchase-email-screen > p {
  max-width: 360px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.65;
}
.pkg-purchase-email-screen > p strong {
  color: var(--gold-start);
}
.pkg-email-toast {
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% + 48px);
  margin: 80px -24px 26px;
  padding: 18px 24px;
  background: #1d1d1d;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 -8px 18px rgba(0,0,0,0.18);
  text-align: left;
}
.pkg-email-toast > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #48d19c;
  color: #48d19c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pkg-email-toast strong {
  display: block;
  color: #fff;
  font-size: 18px;
}
.pkg-email-toast small {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.pkg-sim-mailbox {
  background: #ededed;
  border-radius: 22px;
  padding: 18px;
  margin: 26px auto 16px;
  color: #111;
}
.pkg-mail-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(0,0,0,0.55);
  font-size: 13px;
  margin-bottom: 12px;
}
.pkg-mail-browser-top button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}
.pkg-purchase-mail {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.pkg-mail-logo {
  color: #0c0c0c;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.pkg-purchase-mail h2 {
  font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 26px;
}
.pkg-purchase-mail p {
  font-family: 'Montserrat', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #111;
  margin: 0 0 28px;
}
.pkg-purchase-mail em,
.pkg-purchase-mail strong {
  color: var(--gold-end);
  font-style: normal;
  font-weight: 800;
}
.pkg-purchase-mail button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 42px;
  margin: 2px 0 36px;
  cursor: pointer;
}
.pkg-email-help {
  max-width: 360px !important;
  margin: 34px auto 16px !important;
  padding: 16px 18px;
  border: 1px solid rgba(229,168,48,0.34);
  border-radius: 16px;
  background: rgba(229,168,48,0.08);
  color: rgba(255,255,255,0.88) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  text-align: left;
}
.pkg-open-mailbox-btn {
  display: block;
  width: min(320px, 92%);
  min-height: 60px;
  margin: 14px auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #1a1a1a;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(229,168,48,0.24);
}
.pkg-purchase-mailbox-screen {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #202020;
  padding: 26px 18px 120px;
}
.pkg-relogin-screen {
  min-height: 100vh;
  background: #020202;
  color: #fff;
}
.pkg-relogin-screen .login-content {
  align-items: flex-start;
  padding-top: 34px;
  padding-bottom: 70px;
}
.pkg-relogin-screen .login-box {
  max-width: 420px;
}
.pkg-relogin-screen .step-badge {
  width: max-content;
  margin: 0 auto 16px;
}
.pkg-relogin-copy {
  color: rgba(255,255,255,0.68);
}
.pkg-relogin-screen .login-title {
  color: #fff;
}
.pkg-relogin-screen .login-input {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  background: transparent;
}
.pkg-relogin-screen .login-input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
}
.pkg-relogin-screen .login-floating-label {
  color: rgba(255,255,255,0.5);
  background: #020202;
}
.pkg-relogin-screen .login-input:focus ~ .login-floating-label,
.pkg-relogin-screen .login-input:not(:placeholder-shown) ~ .login-floating-label {
  color: var(--gold-start);
}
.pkg-relogin-screen .login-input-icon,
.pkg-relogin-screen .login-btn-secondary {
  color: #fff;
}
.pkg-relogin-screen .login-input-help,
.pkg-relogin-screen .login-divider-text,
.pkg-relogin-screen .login-passkey-help {
  color: rgba(255,255,255,0.55);
}
.pkg-relogin-screen .login-caps-warning {
  color: #ffb4b4;
}
.pkg-relogin-screen .login-input-help strong {
  color: var(--gold-start);
}
.pkg-relogin-screen .login-divider-line {
  background: rgba(255,255,255,0.15);
}
.pkg-relogin-screen .login-btn-secondary {
  border-color: rgba(255,255,255,0.18);
  background: transparent;
}

/* mobile */
@media(max-width:540px){
  .pkg-page-title { font-size: 22px; }
  .pkg-promo { min-height: 0; }
  .pkg-card { max-width: min(340px, calc(100vw - 54px)); }
  .pkg-card-body { padding: 16px 18px 22px; }
  .pkg-card-price { font-size: 24px; }
  .pkg-card-unit { font-size: 16px; }
  .pkg-buy-fixed { padding: 15px 24px calc(18px + env(safe-area-inset-bottom)); }
  .pkg-buy-btn { padding: 13px 18px; font-size: 16px; }
  .pkg-payment-screen { padding: 24px 24px 110px; }
  .pkg-payment-head h1 { font-size: 25px; }
  .pkg-wallet-confirm-screen { padding: 52px 24px 110px; }
  .pkg-confirm-symbol { width: 142px; height: 142px; font-size: 74px; }
  .pkg-wallet-confirm-screen h1 { font-size: 21px; }
  .pkg-purchase-email-screen { padding: 50px 20px 110px; }
  .pkg-email-toast { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
  .pkg-sim-mailbox { padding: 14px; }
  .pkg-purchase-mail { padding: 30px 18px; }
  .pkg-purchase-mail p { font-size: 16px; }
}

/* ─── (구) WALLET 모방 (다른 화면에서 재활용 가능) ─── */
.wal-hero {
  background: linear-gradient(135deg, #1d1d1d 0%, #2a2a2a 100%);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wal-hero::before {
  content:''; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(251,220,111,0.15), transparent 65%);
  pointer-events: none;
}
.wal-hero-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.wal-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 6px; letter-spacing: 0.02em; }
.wal-total {
  font-size: 36px; font-weight: 900;
  color: var(--gold-start);
  line-height: 1.1;
  transition: filter 0.25s ease;
}
.wal-unit { font-size: 16px; color: rgba(255,255,255,0.55); margin-left: 6px; font-weight: 700; }
.wal-eye {
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 16px; cursor: pointer;
  color: #fff;
  transition: var(--tr);
}
.wal-eye:hover { background: rgba(255,255,255,0.16); }

.wal-sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wal-sub-card {
  background: rgba(255,255,255,0.06);
  border-radius: 11px;
  padding: 13px 16px;
}
.wal-sub-label { font-size: 11px; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.wal-sub-val { font-size: 17px; font-weight: 700; color: #fff; }

.wal-widget-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.wal-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.ww-label { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; font-weight: 600; }
.ww-val { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.ww-val .ww-u { font-size: 13px; color: var(--text-sub); margin-left: 4px; font-weight: 700; }
.ww-sub { font-size: 11px; color: #aaa; }

.card-title-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.card-title-row .card-title { margin-bottom: 0; }
.card-period {
  font-size: 12px; color: var(--text-sub);
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 99px;
}

/* Mini chart */
.wal-chart {
  display: flex; align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 0 4px 4px;
}
.wch-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  height: 100%;
  gap: 6px;
}
.wch-bar {
  width: 100%;
  min-height: 6px;
  background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
  border-radius: 6px 6px 2px 2px;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.wch-bar:hover { opacity: 0.85; }
.wch-day { font-size: 11px; color: var(--text-sub); font-weight: 600; }

/* History */
.wal-hist { display: flex; flex-direction: column; }
.wal-hist-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f3f3;
}
.wal-hist-row:last-child { border-bottom: none; }
.wh-left { display: flex; align-items: center; gap: 12px; }
.wh-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wh-name { font-size: 13px; font-weight: 700; color: var(--text); }
.wh-desc { font-size: 11px; color: var(--text-sub); margin-top: 2px; }
.wh-amt { font-size: 17px; font-weight: 900; color: #22c55e; }

.wal-withdraw-btn {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #fff;
  border: none; border-radius: 10px;
  padding: 8px 14px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 4px 10px rgba(229,168,48,0.25);
}
.wal-withdraw-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(229,168,48,0.35); }

.wal-empty {
  color: #aaa; font-size: 14px; text-align: center;
  padding: 24px 0; line-height: 1.7;
}

/* mobile */
@media(max-width:540px){
  .wal-widget-row { grid-template-columns: 1fr; }
  .wal-total { font-size: 28px; }
  .ww-val { font-size: 18px; }
}

/* ─── REWARD ITEMS ─── */
.reward-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid #f5f5f5;
}
.reward-row:last-child { border-bottom: none; }
.reward-plan-guide {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(229, 168, 48, .28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(251,220,111,.14), rgba(229,168,48,.06));
  color: var(--text);
}
.reward-plan-guide > strong {
  display: block;
  color: #b7791f;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}
.reward-plan-guide dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.reward-plan-guide div {
  display: grid;
  gap: 3px;
}
.reward-plan-guide dt {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}
.reward-plan-guide dd {
  margin: 0;
  color: var(--text-sub);
  font-size: 11.5px;
  line-height: 1.55;
}
.reward-plan-guide em {
  color: #b7791f;
  font-style: normal;
  font-weight: 900;
}
.r-icon-wrap {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.r-left { display: flex; align-items: center; gap: 10px; }
.r-name { font-size: 13px; font-weight: 600; }
.r-desc { font-size: 11px; color: var(--text-sub); }
.r-amt { font-size: 17px; font-weight: 900; color: #22c55e; }
.r-amt.enter { animation: slide-in 0.5s ease; }
@keyframes slide-in { from{transform:translateY(8px);opacity:0} to{transform:translateY(0);opacity:1} }

/* ─── SUCCESS ─── */
.success-wrap { text-align: center; padding: 24px 10px; }
.success-emoji { font-size: 68px; animation: pop 0.5s cubic-bezier(.17,.67,.57,1.5); margin-bottom: 14px; }
@keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }
.success-title {
  font-size: 22px; font-weight: 900; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.success-sub { font-size: 14px; color: var(--text-sub); line-height: 1.75; margin-bottom: 22px; }

/* ─── BITTU FLOAT ─── */
.bittu-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  pointer-events: none;
}
.bittu-av {
  width: 56px; height: 56px;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: bounce 2.2s ease-in-out infinite;
  user-select: none;
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
}
.bittu-av img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.bittu-bubble {
  background: var(--white); border-radius: 16px 0 16px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  padding: 14px 16px; max-width: 250px;
  border: 1.5px solid rgba(229,168,48,0.25);
  pointer-events: none;
}
.bittu-txt { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.bittu-txt strong { color: var(--gold-end); }
.bittu-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.bittu-next {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #fff; border-radius: 8px;
  border: 0;
  padding: 7px 13px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: var(--tr);
  pointer-events: auto;
  font-family: inherit;
}
.bittu-next:hover { transform: translateX(3px); }
.bittu-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184,117,42,0.32);
  border-radius: 999px;
  background: rgba(255,250,238,0.92);
  color: var(--gold-end);
  padding: 7px 11px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  pointer-events: auto;
  font-family: inherit;
  transition: var(--tr);
}
.bittu-ai-btn:hover { transform: translateY(-1px); }
.bittu-ai-btn.is-listening {
  background: #fff3d5;
  box-shadow: 0 0 0 4px rgba(242,190,73,0.18);
}
.bittu-ai-btn.is-loading {
  opacity: 0.75;
  cursor: progress;
}

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: #1d1d1d; color: #fff;
  padding: 11px 22px; border-radius: 99px;
  font-size: 13px; font-weight: 600; z-index: 9999;
  animation: toast-pop 0.3s ease; white-space: nowrap;
}
@keyframes toast-pop {
  from{opacity:0;transform:translateX(-50%) translateY(10px)}
  to{opacity:1;transform:translateX(-50%) translateY(0)}
}

/* ─── CONFETTI ─── */
.confetti-canvas {
  position: fixed; top:0; left:0;
  width:100%; height:100%;
  pointer-events:none; z-index:9998;
}

/* ─── RESPONSIVE (mobile) ─── */
@media(max-width:768px){
  .sidebar { width: 200px; }
  .main { margin-left: 200px; }
  .page-content { padding: 16px; }
  .topbar { padding: 0 16px; }
  .progress-wrap { padding: 8px 16px; }
}
@media(max-width:540px){
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar { padding: 8px 10px; }
  .topbar-right { gap: 6px; }
  .topbar-reset-btn { min-height: 32px; padding: 0 8px; font-size: 12px; }
  .topbar-title { font-size: 14px; line-height: 1.18; }
  .mobile-menu-btn { display: flex !important; }
  .page-content { padding: 12px 12px 156px !important; }
  .page-content:has(> .kyc-phone) {
    padding: 0 !important;
  }
  .bittu-float {
    left: 10px;
    right: 10px;
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--bittu-keyboard-lift, 0px));
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 8px;
    transition: bottom 0.22s ease;
  }
  .bittu-av {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .bittu-bubble {
    width: auto;
    max-width: calc(100vw - 74px);
    max-height: 34vh;
    overflow: hidden;
    padding: 12px 13px;
    border-radius: 14px 14px 4px 14px;
    pointer-events: none;
  }
  body.bittu-keyboard-active .bittu-bubble {
    max-height: min(28vh, 190px);
  }
  body.bittu-keyboard-active .login-help-bittu {
    max-height: min(30vh, 210px);
    overflow: hidden;
  }
  .bittu-txt {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 8px;
  }
  .bittu-next {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .bittu-actions {
    gap: 6px;
  }
  .bittu-ai-btn {
    padding: 7px 10px;
    font-size: 11px;
  }
}
.mobile-menu-btn {
  display: none;
  background: none; border: none; font-size: 22px;
  cursor: pointer; padding: 4px;
}
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 299;
}
.overlay.show { display: block; }

/* ─── STEP INDICATOR ─── */
.step-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251,220,111,0.12); border: 1px solid rgba(229,168,48,0.25);
  border-radius: 99px; padding: 4px 12px; font-size: 12px;
  color: var(--gold-end); font-weight: 700; margin-bottom: 14px;
}

/* ─── INFO BOX ─── */
.info-box {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: #92400e; margin: 12px 0;
}
.warn-box {
  background: #fff1f2; border: 1px solid #fca5a5;
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: #991b1b; margin: 12px 0;
}

/* ─── EXCHANGE PRACTICE: UPBIT / IMINE WITHDRAW ─── */
.exchange-practice-screen {
  --upbit-bg: #071321;
  --upbit-panel: #0d1a2a;
  --upbit-panel-2: #111c2e;
  --upbit-line: rgba(173, 190, 214, .16);
  --upbit-blue: #0b57d0;
  --upbit-blue-2: #1473ff;
  --upbit-text: #f4f7fb;
  --upbit-muted: #8c98a8;
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  background: #050505;
}
.upbit-phone,
.imine-withdraw-phone {
  position: relative;
  width: min(100%, 420px);
  min-height: 820px;
  background: var(--upbit-bg);
  color: var(--upbit-text);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,.5);
}
.upbit-phone.upbit-market-home,
.upbit-phone:has(.upbit-market-list) {
  min-height: 0;
}
.upbit-phone button,
.imine-withdraw-phone button {
  font: inherit;
}
.upbit-top,
.upbit-page-title,
.upbit-token-head,
.upbit-trade-head {
  height: 86px;
  padding: 20px 18px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
}
.upbit-top {
  height: auto;
  min-height: 110px;
  padding: 18px 18px 10px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px 10px;
}
.upbit-top strong,
.upbit-page-title strong,
.upbit-token-head strong,
.upbit-trade-head strong {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}
.upbit-top button,
.upbit-token-head button,
.upbit-trade-head button {
  background: none;
  border: 0;
  color: var(--upbit-text);
  text-align: left;
  font-size: 22px;
  cursor: pointer;
}
.upbit-top button {
  grid-column: 1 / 4;
  grid-row: 2;
  width: 100%;
  font-size: 15px;
  color: #d7dfeb;
  border-bottom: 1px solid rgba(220,230,245,.7);
  padding: 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upbit-top strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.upbit-top span {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  white-space: nowrap;
}
.upbit-top span,
.upbit-page-title span,
.upbit-token-head span,
.upbit-trade-head span {
  color: #d5dce8;
  justify-self: end;
}
.upbit-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #102139;
  padding: 10px 18px;
  gap: 6px 26px;
  color: #9faabc;
  border-top: 1px solid var(--upbit-line);
  border-bottom: 1px solid var(--upbit-line);
}
.upbit-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.upbit-summary strong { color: #dce6f5; font-weight: 600; }
.upbit-tabs {
  display: flex;
  gap: 2px;
  padding: 12px 14px 8px;
}
.upbit-tabs span {
  border: 1px solid #1f3350;
  color: #9aa6b7;
  padding: 7px 12px;
  font-size: 14px;
}
.upbit-tabs .active {
  border-color: #1268e6;
  color: #3d91ff;
}
.upbit-market-head,
.upbit-market-row {
  display: grid;
  grid-template-columns: minmax(92px, 1.18fr) minmax(92px, .98fr) minmax(58px, .68fr) minmax(76px, .86fr);
  gap: 4px;
  align-items: center;
  padding: 8px 14px;
  border-top: 1px solid var(--upbit-line);
}
.upbit-market-head {
  color: #8d98aa;
  font-size: 13px;
}
.upbit-market-row {
  min-height: 54px;
}
.upbit-market-row.clickable {
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.upbit-market-row.clickable:active {
  background: rgba(20, 115, 255, .08);
}
.upbit-market-row strong,
.upbit-asset-row strong { display: block; font-weight: 700; }
.upbit-market-row span,
.upbit-asset-row span { color: #8e9bad; font-size: 13px; }
.upbit-market-row p,
.upbit-market-row em,
.upbit-market-row small {
  margin: 0;
  text-align: right;
  font-style: normal;
}
.upbit-market-row p { color: #3a84dc; }
.upbit-market-row small { font-size: 12px; }
.upbit-market-row .up { color: #e54d64; }
.upbit-market-row .down { color: #3d78d9; }
.upbit-notice {
  position: sticky;
  bottom: 58px;
  background: #253248;
  color: #e6edf8;
  font-size: 12px;
  padding: 9px 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.upbit-phone.upbit-market-home .upbit-notice,
.upbit-phone:has(.upbit-market-list) .upbit-notice {
  position: static;
  bottom: auto;
}

.upbit-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #07306b;
  border-top: 1px solid rgba(255,255,255,.12);
  z-index: 8;
}
.upbit-bottom-nav button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}
.upbit-bottom-nav button span { font-size: 19px; line-height: 1; }
.upbit-bottom-nav .active { color: #fff; }
.upbit-phone.upbit-market-home .upbit-bottom-nav,
.upbit-phone:has(.upbit-market-list) .upbit-bottom-nav {
  position: static;
}
.upbit-dim-page {
  min-height: 762px;
  background: rgba(2, 10, 20, .76);
}
.upbit-bottom-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  max-height: 76%;
  overflow: auto;
  background: #081727;
  color: var(--upbit-text);
  border-radius: 18px 18px 0 0;
  padding: 20px 20px 24px;
  box-shadow: 0 -12px 30px rgba(0,0,0,.35);
  z-index: 12;
}
.upbit-bottom-sheet.static {
  position: relative;
  bottom: auto;
  margin-top: 110px;
  border-radius: 18px 18px 0 0;
}
.upbit-sheet-handle {
  width: 42px;
  height: 4px;
  background: #25384d;
  border-radius: 999px;
  margin: 0 auto 22px;
}
.upbit-bottom-sheet h2 {
  margin: 0 0 20px;
  font-size: 22px;
}
.upbit-bottom-sheet p {
  color: #a7b2c1;
  line-height: 1.65;
}
.upbit-check-panel {
  background: #102238;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 14px 0;
}
.upbit-check-panel p {
  margin: 8px 0;
}
.upbit-check-panel em {
  color: #f0f6ff;
  font-style: normal;
  font-weight: 800;
}
.upbit-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.upbit-sheet-actions button,
.upbit-sheet-primary {
  border: 0;
  background: #1f2c40;
  color: #fff;
  padding: 14px 16px;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}
.upbit-sheet-actions .primary,
.upbit-sheet-primary {
  background: var(--upbit-blue);
}
.upbit-wallet-total {
  padding: 24px 18px 18px;
}
.upbit-wallet-total > span,
.upbit-token-total > span {
  color: #8f9aac;
}
.upbit-wallet-total strong {
  display: block;
  font-size: 28px;
  margin: 10px 0 18px;
}
.upbit-wallet-total div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.upbit-wallet-total button,
.upbit-token-total button {
  border: 0;
  background: var(--upbit-blue);
  color: #fff;
  border-radius: 2px;
  padding: 13px;
  font-weight: 800;
  cursor: pointer;
}
.upbit-asset-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--upbit-line);
  border-bottom: 1px solid var(--upbit-line);
}
.upbit-asset-tools span { color: #d5dfed; }
.upbit-asset-tools button {
  background: #1c2a40;
  color: #fff;
  border: 0;
  padding: 10px 16px;
}
.upbit-asset-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--upbit-line);
  background: transparent;
  color: var(--upbit-text);
  display: grid;
  grid-template-columns: 36px 1fr 1.1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
}
.upbit-asset-row p {
  margin: 0;
  text-align: right;
}
.upbit-coin {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1968df;
  color: #fff !important;
  font-weight: 900;
}
.upbit-coin.usdt { background: #22a284; }
.upbit-coin.btc { background: #f49b22; }
.upbit-coin.eth { background: #566ddd; }
.upbit-deposit-note {
  margin: 14px 18px 78px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 115, 255, .35);
  background: rgba(20, 115, 255, .11);
  border-radius: 8px;
}
.upbit-deposit-note strong {
  display: block;
  color: #eaf2ff;
  margin-bottom: 5px;
}
.upbit-deposit-note span {
  display: block;
  color: #b8c6d9;
  font-size: 13px;
  line-height: 1.55;
}
.upbit-token-total {
  padding: 34px 20px 24px;
  border-bottom: 8px solid #111b2b;
}
.upbit-token-total strong {
  display: block;
  font-size: 28px;
  text-align: center;
  margin: 10px 0;
}
.upbit-token-total em {
  display: block;
  text-align: center;
  color: #7e8a9c;
  font-style: normal;
  margin-bottom: 22px;
}
.upbit-token-total p {
  display: flex;
  justify-content: space-between;
  color: #8794a6;
}
.upbit-token-total p b { color: #e7eefb; }
.upbit-token-total div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.upbit-history-empty {
  padding: 24px 20px 88px;
  color: #8f9bac;
}
.upbit-history-empty button {
  float: right;
  background: #1d2a3e;
  color: #fff;
  border: 0;
  padding: 12px 22px;
}
.upbit-form {
  padding: 34px 20px 96px;
  min-height: 700px;
}
.upbit-form label {
  display: flex;
  justify-content: space-between;
  color: #8d98aa;
  margin-bottom: 22px;
  font-weight: 700;
}
.upbit-form label.stack {
  display: block;
}
.upbit-form label strong {
  color: #dbe4f1;
}
.upbit-input-row,
.upbit-select {
  width: 100%;
  margin-top: 12px;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0b1726;
  border: 1px solid #26364c;
  color: #eff5ff;
  padding: 0 12px;
}
.upbit-select {
  justify-content: space-between;
  cursor: pointer;
}
.upbit-input-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  outline: none;
}
.upbit-input-row button {
  border: 0;
  background: transparent;
  color: #9bb6dc;
  font-weight: 800;
  cursor: pointer;
}
.upbit-binance-copy-card {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #26364c;
  border-radius: 4px;
  background: #0b1726;
  color: #dbe4f1;
}
.upbit-binance-copy-card strong,
.upbit-binance-copy-card span,
.upbit-binance-copy-card p {
  display: block;
  overflow-wrap: anywhere;
}
.upbit-binance-copy-card strong {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}
.upbit-binance-copy-card span {
  color: #9ba8b8;
  font-size: 13px;
  line-height: 1.55;
}
.upbit-binance-copy-card em {
  color: #f5c533;
  font-style: normal;
  font-weight: 900;
}
.upbit-binance-copy-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 4px;
  background: #0b63f6;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}
.upbit-binance-copy-card button:disabled {
  background: #334052;
  color: rgba(255,255,255,.36);
  cursor: default;
}
.upbit-binance-copy-card p {
  margin: 12px 0 0;
  color: #43d39e;
  font-size: 13px;
  font-weight: 900;
}
.upbit-fixed-btn {
  width: calc(100% - 40px);
  height: 56px;
  position: absolute;
  left: 20px;
  bottom: 78px;
  border: 0;
  border-radius: 4px;
  background: var(--upbit-blue);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
}
.upbit-fixed-btn:disabled {
  cursor: default;
  background: #334052;
  color: rgba(255,255,255,.28);
}
.upbit-trade-screen {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 620px;
}
.upbit-trade-price {
  padding: 0 18px 10px;
  border-bottom: 1px solid var(--upbit-line);
}
.upbit-trade-price strong {
  display: block;
  color: #2379e6;
  font-size: 28px;
  line-height: 1.1;
}
.upbit-trade-price span {
  display: block;
  color: #2379e6;
  font-size: 13px;
  margin-top: 2px;
}
.upbit-trade-price em {
  display: block;
  margin-top: 8px;
  color: #d7deeb;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upbit-trade-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0b326c;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.upbit-trade-tabs span {
  min-width: 0;
  padding: 10px 2px;
  color: #c6d3e6;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.upbit-trade-tabs .active {
  color: #fff;
  border-bottom: 2px solid #fff;
}
.upbit-orderbook {
  border-right: 1px solid var(--upbit-line);
}
.upbit-orderbook p {
  height: 37px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 7px;
  font-size: 12px;
}
.upbit-orderbook .ask {
  color: #3880db;
  background: rgba(28, 84, 160, .2);
}
.upbit-orderbook .bid {
  color: #e45569;
  background: rgba(128, 38, 60, .22);
}
.upbit-orderbook .current {
  outline: 1px solid rgba(255,255,255,.75);
  outline-offset: -1px;
}
.upbit-orderbook small { text-align: right; color: #9aa7bc; }
.upbit-orderbook-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 8px;
  color: #d8e2f0;
  font-size: 12px;
}
.upbit-order-panel {
  padding: 0 8px 88px;
  min-width: 0;
}
.upbit-order-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #10213a;
  margin-bottom: 14px;
}
.upbit-order-tabs span {
  padding: 11px 2px;
  text-align: center;
  color: #a9b3c1;
  font-size: 13px;
}
.upbit-order-tabs .active {
  color: #ff5363;
  background: #0a1423;
  font-weight: 900;
}
.upbit-order-panel label,
.upbit-order-available {
  display: flex;
  justify-content: space-between;
  color: #a0adbf;
  font-size: 12px;
}
.upbit-order-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 12px;
}
.upbit-order-type button {
  height: 40px;
  border: 0;
  background: #1b2638;
  color: #d7e0ee;
  font-weight: 800;
  font-size: 13px;
}
.upbit-order-type button:disabled {
  opacity: .58;
}
.upbit-order-condition {
  flex-wrap: wrap;
  gap: 5px 7px;
  line-height: 1.35;
}
.upbit-order-condition span:first-of-type {
  color: #4b9aff;
}
.upbit-order-available strong {
  color: #eef4ff;
}
.upbit-order-field {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 42px;
  align-items: center;
  border: 1px solid #26364c;
  margin: 7px 0;
  height: 42px;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
}
.upbit-order-field span {
  min-width: 0;
  padding-left: 7px;
  color: #9ba7b8;
  white-space: nowrap;
}
.upbit-order-field input {
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  text-align: right;
  padding: 0 6px;
  min-width: 0;
  font-size: 12px;
}
.upbit-order-field em {
  color: #d4deec;
  font-style: normal;
  padding-right: 6px;
  white-space: nowrap;
}
.upbit-order-field button {
  min-width: 0;
  height: 100%;
  border: 0;
  border-left: 1px solid #26364c;
  background: #182338;
  color: #d6dfed;
  font-weight: 800;
  font-size: 12px;
}
.upbit-order-field.has-action {
  grid-template-columns: 38px minmax(42px, 1fr) 38px 40px;
}
.upbit-order-field.price {
  grid-template-columns: 38px minmax(40px, 1fr) 36px 30px 30px;
}
.upbit-order-field.percent {
  grid-template-columns: minmax(0, 1fr) 34px;
}
.upbit-order-field.percent span {
  white-space: nowrap;
}
.upbit-order-field.total input {
  font-weight: 800;
}
.upbit-order-preview {
  min-height: 20px;
  color: #a1aec0;
  font-size: 12px;
  text-align: right;
  margin: 6px 0 10px;
}
.upbit-order-actions {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 2px;
  margin-top: 8px;
}
.upbit-order-actions button {
  width: 100%;
  height: 48px;
  border: 0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.upbit-order-actions button:first-child {
  background: #9ca6b3;
  color: #233044;
}
.upbit-order-actions button[type="submit"] {
  background: #e64453;
}
.upbit-order-actions button[disabled] {
  background: #9ca6b3;
  color: #dbe1e8;
  cursor: default;
}
.upbit-order-holdings {
  border-top: 1px solid var(--upbit-line);
  margin-top: 16px;
  padding-top: 12px;
  color: #8390a3;
  font-size: 12px;
}
.upbit-order-holdings p {
  margin: 0 0 8px;
  color: #d6dfec;
  font-weight: 800;
}
.upbit-order-holdings span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 5px 0;
}
.upbit-order-holdings strong {
  color: #dfe7f3;
}
.upbit-danger-card {
  background: #35182a;
  color: #ff5b70;
  padding: 22px;
  border-radius: 4px;
  text-align: center;
  font-weight: 800;
  line-height: 1.6;
}
.upbit-form.withdraw .upbit-form-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.upbit-form-stats span {
  display: flex;
  justify-content: space-between;
  color: #8995a7;
}
.upbit-form-stats b { color: #e9f0fa; }
.upbit-percent-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #26364c;
  margin-top: -10px;
}
.upbit-percent-row button {
  border: 0;
  border-right: 1px solid #26364c;
  background: #0c1828;
  color: #cdd6e4;
  padding: 12px;
  cursor: pointer;
}
.upbit-fee-lines {
  border-top: 1px solid var(--upbit-line);
  margin-top: 36px;
  padding-top: 18px;
}
.upbit-fee-lines p {
  display: flex;
  justify-content: space-between;
  color: #8e99ab;
}
.upbit-dim {
  position: absolute;
  inset: 0 0 58px;
  background: rgba(2, 9, 18, .76);
  z-index: 10;
}
.upbit-sheet-row,
.recipient-list button {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #101d30;
  color: #eaf1fb;
  padding: 16px;
  margin-bottom: 10px;
  text-align: left;
  cursor: pointer;
}
.upbit-sheet-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.upbit-sheet-row span {
  width: 18px;
  height: 18px;
  border: 2px solid #59718e;
  border-radius: 999px;
}
.upbit-sheet-row em {
  grid-column: 2;
  color: #8e9bad;
  font-style: normal;
}
.upbit-network-confirm {
  background: #1d2a40;
  border-radius: 4px;
  padding: 17px;
  text-align: center;
  font-weight: 900;
  margin-bottom: 18px;
}
.upbit-blue-note {
  color: #2d69d8 !important;
  font-size: 13px;
}
.upbit-recent-list {
  border-top: 1px solid var(--upbit-line);
  margin-top: 28px;
  padding-top: 20px;
  color: #9ba8b8;
}
.upbit-final-confirm {
  padding: 24px 20px 100px;
}
.upbit-blue-banner {
  background: #0b326c;
  color: #dce9ff;
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.upbit-final-confirm h2 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.upbit-final-confirm dl div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 8px;
  padding: 9px 0;
}
.upbit-final-confirm dt {
  color: #8290a5;
}
.upbit-final-confirm dd {
  margin: 0;
  color: #e7eef9;
  word-break: break-all;
}
.upbit-final-confirm small,
.upbit-muted-copy {
  color: #8290a5;
}
.exchange-complete-card {
  margin: 70px 18px;
  padding: 28px 22px;
  background: #fff;
  color: #151515;
  border-radius: 8px;
  text-align: center;
}
.exchange-check {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto 18px;
  background: #0eae73;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
}
.exchange-complete-card h2 {
  margin: 0 0 10px;
}
.exchange-warning-note {
  border: 1px solid rgba(218, 166, 55, .45);
  background: rgba(218, 166, 55, .1);
  color: #f1cf7a;
  border-radius: 8px;
  padding: 13px;
  margin: 16px 0;
  text-align: left;
}
.exchange-complete-card .exchange-warning-note {
  color: #7a5310;
  background: #fff8e5;
}
.exchange-warning-note strong {
  display: block;
  margin-bottom: 6px;
}
.exchange-warning-note span {
  display: block;
  line-height: 1.55;
  font-size: 13px;
}
.exchange-primary,
.imine-withdraw-form button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5d35f, #c68125);
  color: #151515;
  font-weight: 900;
  padding: 15px 18px;
  cursor: pointer;
}
.exchange-primary:disabled,
.imine-withdraw-form button[type="submit"]:disabled {
  opacity: .45;
  cursor: default;
}
.imine-withdraw-phone {
  background: #070707;
  padding-bottom: 40px;
}
.exchange-route-card,
.imine-withdraw-form {
  margin: 18px;
  padding: 20px;
  background: #1f1f1f;
  border-radius: 8px;
}
.exchange-route-card span {
  color: #f2ca63;
  font-weight: 900;
  font-size: 12px;
}
.exchange-route-card h2 {
  margin: 8px 0;
  color: #fff;
}
.exchange-route-card p {
  color: #c9c9c9;
  line-height: 1.6;
}
.imine-withdraw-form {
  display: grid;
  gap: 16px;
}
.imine-withdraw-form label {
  display: grid;
  gap: 8px;
  color: #aaa;
  font-weight: 800;
}
.imine-withdraw-form label strong {
  color: #fff;
  font-size: 24px;
}
.imine-withdraw-form input,
.imine-withdraw-form label button,
.imine-withdraw-form label div {
  width: 100%;
  background: #101010;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 8px;
  padding: 13px 14px;
  text-align: left;
}
.imine-withdraw-form label div {
  display: grid;
  gap: 6px;
}
.imine-withdraw-form label div span {
  color: #898989;
  font-size: 12px;
}

@media (prefers-color-scheme: light) {
  .exchange-practice-screen {
    --upbit-bg: #f7f9fc;
    --upbit-panel: #ffffff;
    --upbit-panel-2: #f1f5f9;
    --upbit-line: rgba(15,23,42,0.12);
    --upbit-text: #111827;
    --upbit-muted: #64748b;
    background: #f7f8fb;
    color: #111827;
  }
  .upbit-phone,
  .imine-withdraw-phone {
    background: var(--upbit-bg);
    color: var(--upbit-text);
    box-shadow: 0 12px 34px rgba(17,24,39,0.08);
  }
  .upbit-top button {
    color: #334155;
    border-bottom-color: rgba(15,23,42,0.18);
  }
  .upbit-top span,
  .upbit-page-title span,
  .upbit-token-head span,
  .upbit-trade-head span,
  .upbit-market-row span,
  .upbit-asset-row span,
  .upbit-wallet-total > span,
  .upbit-token-total > span,
  .upbit-token-total em,
  .upbit-history-empty,
  .upbit-form label,
  .upbit-form-stats span,
  .upbit-fee-lines p,
  .upbit-final-confirm dt,
  .upbit-final-confirm small,
  .upbit-muted-copy {
    color: #64748b;
  }
  .upbit-summary,
  .upbit-order-tabs {
    background: #edf4ff;
    color: #64748b;
  }
  .upbit-summary strong,
  .upbit-form label strong,
  .upbit-form-stats b,
  .upbit-token-total p b,
  .upbit-final-confirm dd,
  .upbit-order-available strong,
  .upbit-order-holdings p,
  .upbit-order-holdings strong {
    color: #111827;
  }
  .upbit-tabs span,
  .upbit-input-row,
  .upbit-select,
  .upbit-binance-copy-card,
  .upbit-order-field,
  .upbit-percent-row {
    background: #fff;
    border-color: rgba(15,23,42,0.14);
    color: #111827;
  }
  .upbit-input-row input,
  .upbit-order-field input {
    color: #111827;
  }
  .upbit-token-total {
    border-bottom-color: #e5e7eb;
  }
  .upbit-bottom-sheet,
  .upbit-check-panel,
  .upbit-sheet-row,
  .recipient-list button,
  .upbit-network-confirm,
  .upbit-order-field button,
  .upbit-percent-row button {
    background: #fff;
    color: #111827;
    border-color: rgba(15,23,42,0.12);
  }
  .upbit-bottom-sheet p,
  .upbit-binance-copy-card span,
  .upbit-sheet-row em,
  .upbit-recent-list,
  .upbit-order-preview,
  .upbit-order-holdings {
    color: #64748b;
  }
  .upbit-check-panel em,
  .upbit-deposit-note strong,
  .upbit-order-field em {
    color: #111827;
  }
  .upbit-notice,
  .upbit-blue-banner {
    background: #e8f1ff;
    color: #1d4ed8;
    border-color: rgba(29,78,216,0.18);
  }
  .upbit-bottom-nav,
  .upbit-trade-tabs {
    background: #1f5fbf;
  }
  .upbit-dim,
  .upbit-dim-page {
    background: rgba(15,23,42,0.18);
  }
  .binance-practice-screen {
    background: #f7f8fb;
    color: #111827;
  }
  .binance-practice-phone {
    background: #fff;
    color: #111827;
    box-shadow: 0 12px 34px rgba(17,24,39,0.08);
  }
  .binance-head,
  .binance-home-head,
  .binance-page-head,
  .binance-asset-head,
  .binance-send-head {
    border-bottom-color: rgba(15,23,42,0.1);
  }
  .binance-head button,
  .binance-head strong,
  .binance-ready-card h2 {
    color: #111827;
  }
  .binance-ready-card {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.08);
  }
  .binance-ready-card p,
  .binance-kyc-note,
  .binance-send-warning,
  .binance-complete-card p {
    color: #64748b;
  }
  .exchange-route-card,
  .imine-withdraw-form {
    background: #fff;
    color: #111827;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 12px 34px rgba(17,24,39,0.08);
  }
  .exchange-route-card h2,
  .imine-withdraw-form label strong {
    color: #111827;
  }
  .exchange-route-card p,
  .imine-withdraw-form label,
  .imine-withdraw-form label div span {
    color: #64748b;
  }
  .imine-withdraw-form input,
  .imine-withdraw-form label button,
  .imine-withdraw-form label div {
    background: #f8fafc;
    border-color: rgba(15,23,42,0.12);
    color: #111827;
  }
}

@media(max-width:540px) {
  .exchange-practice-screen {
    min-height: calc(100vh - 90px);
  }
  .upbit-phone,
  .imine-withdraw-phone {
    width: 100%;
    min-height: 780px;
  }
}

/* ─── UI POLISH: OVERFLOW / WRAPPING GUARDS ─── */
.page-content,
.screen,
.card,
.sc-card,
.bittu-bubble,
.wallet-header,
.wallet-row,
.wallet-sub-card,
.wal-card,
.imine-wallet-card,
.pkg-payment-screen,
.pkg-wallet-confirm-screen,
.pkg-purchase-email-screen,
.pkg-purchase-mailbox-screen,
.pkg-relogin-screen,
.exchange-practice-screen,
.upbit-phone,
.binance-practice-phone,
.imine-withdraw-phone,
.tree-member-card,
.tree-open-card {
  min-width: 0;
}

.bittu-bubble {
  max-width: min(270px, calc(100vw - 44px));
}

@media(max-width:540px) {
  .bittu-bubble {
    max-width: calc(100vw - 74px);
  }
}

.bittu-txt,
.pkg-payment-desc,
.pkg-purchase-email-screen > p,
.pkg-email-help,
.exchange-warning-note span,
.upbit-bottom-sheet p,
.upbit-blue-banner,
.binance-ready-card p,
.binance-kyc-note,
.binance-send-warning,
.binance-complete-card p,
.imine-withdraw-form label,
.exchange-route-card p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.pkg-check-row,
.pkg-radio-row,
.pkg-coin-select,
.pkg-coin-menu button,
.pkg-confirm-lines p,
.pkg-support,
.pkg-email-toast,
.pkg-purchase-mail p,
.upbit-form label,
.upbit-form-stats span,
.upbit-fee-lines p,
.binance-method-sheet button,
.binance-send-form label,
.binance-available,
.binance-fee-summary p,
.binance-complete-card dl div,
.exchange-route-card,
.imine-withdraw-form {
  min-width: 0;
}

.pkg-check-row > *,
.pkg-radio-row > *,
.pkg-coin-select > *,
.pkg-coin-menu button > *,
.pkg-email-toast > *,
.upbit-market-row > *,
.upbit-market-head > *,
.upbit-asset-row > *,
.upbit-summary div > *,
.upbit-token-total p > *,
.upbit-form label > *,
.upbit-form-stats span > *,
.upbit-fee-lines p > *,
.upbit-final-confirm dl div > *,
.binance-market-row > *,
.binance-asset-row > *,
.binance-history-row > *,
.binance-allocation li > *,
.binance-balance-pair > *,
.binance-fee-summary p > *,
.binance-complete-card dl div > * {
  min-width: 0;
}

.crypto-address,
.wallet-address,
.deposit-address,
.pkg-purchase-mail button,
.pkg-mail-logo,
.upbit-final-confirm dd,
.upbit-recent-list,
.binance-input-with-action input,
.binance-amount-field input,
.binance-complete-card dd,
.imine-withdraw-form label div span {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.upbit-market-row strong,
.upbit-market-row span,
.upbit-market-row p,
.upbit-market-row em,
.upbit-market-row small,
.upbit-asset-row strong,
.upbit-asset-row span,
.upbit-asset-row p,
.binance-market-row strong,
.binance-market-row span,
.binance-market-row p,
.binance-asset-row strong,
.binance-asset-row span,
.binance-asset-row p,
.binance-history-row strong,
.binance-history-row span,
.binance-history-row em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.upbit-market-row strong,
.upbit-market-row span,
.upbit-market-row p,
.upbit-market-row em,
.upbit-market-row small,
.upbit-asset-row strong,
.upbit-asset-row span,
.upbit-asset-row p,
.binance-market-row strong,
.binance-market-row span,
.binance-market-row p,
.binance-asset-row strong,
.binance-asset-row span,
.binance-asset-row p,
.binance-history-row em {
  white-space: nowrap;
}

.binance-history-row span {
  white-space: normal;
}

.upbit-market-head,
.upbit-market-row {
  grid-template-columns: minmax(92px, 1.18fr) minmax(92px, .98fr) minmax(58px, .68fr) minmax(76px, .86fr);
}

.upbit-asset-row {
  grid-template-columns: 32px minmax(0, 1fr) minmax(86px, 1.05fr);
}

.upbit-summary div,
.upbit-token-total p,
.upbit-form label,
.upbit-form-stats span,
.upbit-fee-lines p,
.binance-allocation li,
.binance-fee-summary p {
  gap: 10px;
}

.upbit-wallet-total strong,
.upbit-token-total strong,
.binance-total-card strong,
.binance-portfolio-total strong,
.binance-token-total strong,
.wal-total,
.wallet-header .wh-amount {
  line-height: 1.15;
  overflow-wrap: normal;
}

.upbit-input-row,
.upbit-select,
.binance-input-with-action,
.binance-amount-field,
.binance-select-field {
  min-width: 0;
}

.upbit-input-row input,
.binance-input-with-action input,
.binance-amount-field input,
.upbit-order-field input {
  width: 100%;
}

.upbit-final-confirm dl div {
  grid-template-columns: minmax(92px, 118px) minmax(0, 1fr);
}

.binance-market-row,
.binance-asset-row {
  grid-template-columns: 36px minmax(0, 1fr) minmax(92px, auto);
}

.binance-history-row {
  align-items: start;
}

.binance-complete-card dl div {
  align-items: start;
}

.tree-member-card > strong,
.tree-open-card > strong,
.tree-user-select,
.tree-user-menu button,
.tree-score-grid span,
.tree-score-grid b,
.tree-card-credit {
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-member-card > strong,
.tree-open-card > strong,
.tree-user-select,
.tree-user-menu button {
  white-space: nowrap;
}

@media(max-width:380px) {
  .bittu-bubble {
    max-width: calc(100vw - 28px);
    padding: 12px 14px;
  }

  .upbit-market-head,
  .upbit-market-row {
    grid-template-columns: minmax(0, 1.18fr) 54px 54px 62px;
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }

  .upbit-wallet-total strong,
  .upbit-token-total strong {
    font-size: 24px;
  }

  .upbit-form,
  .upbit-final-confirm {
    padding-left: 16px;
    padding-right: 16px;
  }

  .upbit-fixed-btn {
    left: 16px;
    width: calc(100% - 32px);
  }

  .upbit-bottom-sheet {
    padding-left: 16px;
    padding-right: 16px;
  }

  .upbit-trade-screen {
    grid-template-columns: 38% 62%;
  }

  .upbit-orderbook p {
    padding: 0 5px;
    font-size: 11px;
  }

  .upbit-order-panel {
    padding: 0 8px;
  }

  .upbit-order-tabs span,
  .upbit-order-panel label,
  .upbit-order-available {
    font-size: 12px;
  }

  .binance-total-card strong,
  .binance-portfolio-total strong,
  .binance-token-total strong {
    font-size: 30px;
  }

  .binance-total-card button,
  .binance-portfolio-total .yellow {
    min-width: 96px;
    font-size: 14px;
  }

  .binance-donut {
    width: 112px;
    height: 112px;
    box-shadow: inset 0 0 0 36px #202632;
    margin-right: 18px;
  }

  .binance-allocation ul {
    gap: 10px;
  }

  .binance-allocation li {
    gap: 10px;
    font-size: 14px;
  }

  .pkg-payment-screen,
  .pkg-wallet-confirm-screen,
  .pkg-purchase-email-screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pkg-payment-head h1,
  .pkg-purchase-email-screen h1 {
    font-size: 23px;
  }

  .pkg-check-row,
  .pkg-radio-row {
    font-size: 15px;
  }
}
