@import url(modam.css);
:root {
  --bg: #fff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #121826;
  --muted: #667085;
  --line: #e6e9ef;
  --brand: #111b2f;
  --brand-soft: #eaf0fb;
  --gold-1: #e6c88e;
  --gold-2: #c2994a;
  --danger: #d63131;
  --success: #0f9d6b;
  --radius-lg: 17px;
  --radius-md: 8px;
  --radius-sm: 10px;
  --shadow: 0 14px 28px rgba(18, 24, 38, 0.08);
}

:root[data-theme='dark'] {
  --bg: #0b1220;
  --surface: #111a2b;
  --surface-2: #0f1728;
  --text: #edf2ff;
  --muted: #9fb0d1;
  --line: #2a3550;
  --brand: #d5b56a;
  --brand-soft: #22314b;
  --shadow: 0 16px 30px rgba(2, 8, 20, 0.45);
  color-scheme: dark;
}

:root[data-theme='dark'] body {
  background: var(--bg);
  color: var(--text);
}

:root[data-theme='dark'] .boot-splash {
  background: #0b1220;
}

:root[data-theme='dark'] .boot-version {
  color: #7f8eae;
}

:root[data-theme='dark'] .topbar {
  background: rgba(10, 17, 31, 0.86);
}

:root[data-theme='dark'] .user-chip,
:root[data-theme='dark'] .icon-btn {
  background: #111a2d;
  border-color: var(--line);
  color: var(--text);
}

:root[data-theme='dark'] .nav-item {
  color: #93a4c6;
}

:root[data-theme='dark'] .nav-item.active {
  color: var(--text);
}

:root[data-theme='dark'] .auth-step,
:root[data-theme='dark'] .auth-stepper {
  background: rgba(17, 25, 40, 0.94);
}

:root[data-theme='dark'] .input {
  background: #101a2e;
  border-color: #2b3c5a;
  color: #edf2ff;
}

:root[data-theme='dark'] .input::placeholder {
  color: #8294ba;
}

:root[data-theme='dark'] .btn.ghost {
  color: #d7e1f7;
  border-color: #2e3f5d;
}

:root[data-theme='dark'] .btn.primary:disabled {
  background: #29354c;
  color: #8fa0c2;
}

:root[data-theme='dark'] .app-content.profile-shell-layout,
:root[data-theme='dark'] #appContent.app-content.profile-shell-layout.profile-shell-layout-backwhite {
  background: #0d1425;
}

:root[data-theme='dark'] .profile-user-card,
:root[data-theme='dark'] .profile-menu-card,
:root[data-theme='dark'] .profile-logout-btn,
:root[data-theme='dark'] .profile-password-panel,
:root[data-theme='dark'] .profile-session-row,
:root[data-theme='dark'] .profile-bank-row,
:root[data-theme='dark'] .support-thread-item {
  background: #121c30;
  border-color: var(--line);
}

:root[data-theme='dark'] .profile-menu-row {
  border-bottom-color: var(--line);
}

:root[data-theme='dark'] .profile-menu-main strong,
:root[data-theme='dark'] .profile-user-meta h3,
:root[data-theme='dark'] .profile-session-copy strong,
:root[data-theme='dark'] .profile-subtitle,
:root[data-theme='dark'] .profile-head h2 {
  color: var(--text);
}

:root[data-theme='dark'] .profile-user-meta small,
:root[data-theme='dark'] .profile-menu-tail small,
:root[data-theme='dark'] .profile-session-copy small,
:root[data-theme='dark'] .profile-theme-copy small,
:root[data-theme='dark'] .support-thread-item small,
:root[data-theme='dark'] .support-list-hint,
:root[data-theme='dark'] .support-file-meta,
:root[data-theme='dark'] .support-ticket-closed-note {
  color: #90a2c7;
}

:root[data-theme='dark'] .support-thread-item.mine {
  background: #14243a;
  border-color: #27466d;
}

:root[data-theme='dark'] .support-thread-item.support {
  background: #1a2233;
  border-color: #394b68;
}

:root[data-theme='dark'] .profile-password-forgot {
  color: #9dc0ff;
}

:root[data-theme='dark'] .profile-theme-check {
  border-color: #5f7196;
}

:root[data-theme='dark'] .profile-theme-check.active {
  border-color: #d5b56a;
  background: radial-gradient(circle at center, #d5b56a 0 4px, transparent 5px);
}

:root[data-theme='dark'] .wallet-sheet,
:root[data-theme='dark'] .profile-sheet,
:root[data-theme='dark'] .trade-sheet,
:root[data-theme='dark'] .manage-sheet,
:root[data-theme='dark'] .history-sheet,
:root[data-theme='dark'] .notify-page-shell,
:root[data-theme='dark'] .notify-sheet,
:root[data-theme='dark'] .modal-sheet,
:root[data-theme='dark'] .room-switch-sheet {
  background: #121c30;
  color: var(--text);
}

:root[data-theme='dark'] .wallet-sheet-backdrop,
:root[data-theme='dark'] .profile-sheet-backdrop,
:root[data-theme='dark'] .trade-sheet-backdrop,
:root[data-theme='dark'] .manage-sheet-backdrop,
:root[data-theme='dark'] .history-sheet-backdrop,
:root[data-theme='dark'] .notify-sheet-backdrop,
:root[data-theme='dark'] .modal-overlay {
  background: rgba(2, 8, 20, 0.68);
}

:root[data-theme='dark'] .wallet-sheet-handle,
:root[data-theme='dark'] .profile-sheet-handle,
:root[data-theme='dark'] .trade-sheet-handle,
:root[data-theme='dark'] .manage-sheet-handle,
:root[data-theme='dark'] .history-sheet-handle,
:root[data-theme='dark'] .notify-sheet-handle,
:root[data-theme='dark'] .modal-handle {
  background: #4d5f83;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "modam", sans-serif;
  background: radial-gradient(1200px 900px at -20% -10%, #fff8ea, transparent 45%),
    radial-gradient(900px 700px at 120% -10%, #ecf2ff, transparent 42%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "locl" 1;
  background: var(--bg);
}
input,button,select,textarea{
  font-family: "modam", sans-serif;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "locl" 1;
}
.hidden {
  display: none !important;
}

.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: #f5f5f5;
  display: flex;
  flex: 1;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  transition: opacity 260ms ease, transform 260ms ease;
  flex-direction: column;
}

.boot-splash.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.boot-splash .logo{
  flex:1;
  display: flex;
  align-items: center;
}
.boot-time {
  justify-self: start;
  font-weight: 700;
  direction: ltr;
  color: #232323;
}

.boot-logo {
  width: min(190px, 52vw);
  height: auto;
  display: flex;
  flex: 1;
}

.boot-version {
  color: #b7bbc4;
  font-size: 14px;
}

.auth-root,
.app-root {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.auth-root {
  padding: max(22px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  /* background: radial-gradient(1200px 900px at -20% -10%, #fff8ea, transparent 45%), radial-gradient(900px 700px at 120% -10%, #ecf2ff, transparent 42%), var(--bg); */

  background-color: var(--bg);
}
.auth-root.withbackground{
  background-image: url(../img/login-bg.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
}
.auth-shell {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.auth-logo-wrap {
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.auth-logo-wrap img {
  width: min(160px, 48vw);
  height: auto;
}

.auth-step {
  display: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
}

.auth-step.active {
  display: block;
  animation: rise 220ms ease;
}

.auth-step h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.auth-step p {
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

.auth-shell-v2 {
  margin-top: 40px;
  display: grid;
  gap: 12px;
}
.auth-root.withbackground .auth-shell-v2{
  margin-top:96px;
}
.auth-stepper {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: none;
}

.auth-stepper-track {
  display: grid;
  grid-auto-flow: column;
  gap: 7px;
  align-items: center;
}

.auth-step-dot {
  height: 6px;
  border-radius: 999px;
  background: #dce3ef;
}

.auth-step-dot.active {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
}

.auth-stepper-label {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--muted);
}
header.auth-action {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    padding: 8px 20px;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.auth-pane {
  border-radius: var(--radius-lg);
  padding: 16px;
  animation: rise 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.auth-pane .hr {
    height: 2px;
    align-self: stretch;
    background: #F5F5F5;
}
.auth-pane-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.auth-pane-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.auth-pane-head.with-back {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
}

.icon-btn.ghost {
  border: 1px solid #dce3ee;
  background: #fff;
  color: var(--brand);
}
.icon-btn.withoutborder{
  border: none  !important;
}
.input-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-self: stretch;
}

.input-wrap .input {
  padding-inline-end: 52px;
}
input#authMobileInput {
    direction: ltr;
    text-align: left;
    padding-inline-end: 0px;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #111;
    padding-inline-start: 52px;
}
#authBackToMobileBtn {
    border: none;
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
}

#authForgetPasswordBtn {
    width: 170px;
    margin-top: 12px;
}
#authHelp {border: none;}
#authResendOtpBtn {
    display: flex;
    align-items: center;
    width: auto;
    gap: 8px;
}
#authForgotResendBtn {
    display: flex;
    align-items: center;
    width: auto;
    gap: 8px;
}

#authBackToMobileFromOtpBtn {
    border: none;
}
.input-icon {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8f98aa;
  font-size: 14px;
  pointer-events: none;
  border-right: 2px solid #F3ECDE;
  padding-right: 9px;
}

.input-lg {
  min-height: 52px;
  font-size: 15px;
}

.btn-lg {
  min-height: 52px;
  font-size: 15px;
}

.helper-text {
  color: var(--muted);
  font-size: 11px;
}

.helper-text.ok {
  color: var(--success);
}

.otp-input {
  letter-spacing: 6px;
  text-align: center;
  font-weight: 700;
}

.pass-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.pass-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b95a8;
  font-size: 12px;
}

.pass-check.ok {
  color: var(--success);
}

.pass-check span {
  width: 16px;
  text-align: center;
  font-weight: 700;
}

.auth-identity-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(194, 153, 74, 0.2);
  background: linear-gradient(180deg, rgba(243, 236, 222, 0.92) 0%, rgba(255, 250, 242, 0.98) 100%);
}

.auth-identity-card-label {
  color: #7a6440;
  font-size: 11px;
}

.auth-identity-card strong {
  color: #161c2b;
  font-size: 15px;
  font-weight: 700;
}

.auth-identity-card small {
  color: #55534f;
  font-size: 12px;
}

.auth-identity-card.manual {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.auth-register-note {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(194, 153, 74, 0.18);
  background: rgba(243, 236, 222, 0.52);
  color: #6d5837;
  font-size: 12px;
  line-height: 1.8;
}

.auth-register-note.manual {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(239, 246, 255, 0.85);
  color: #1d4ed8;
}

.auth-file-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px dashed rgba(143, 152, 170, 0.55);
  background: #fff;
  cursor: pointer;
}

.auth-file-field-label {
  color: #283142;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-file-field-action {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.auth-method-grid {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-content: space-around;
  align-self: stretch;
}

.auth-method-card {
  width: 100%;
  border: 1px solid rgba(143, 152, 170, 0.28);
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  text-align: right;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
  flex: 1;
}

.auth-method-card:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-method-card.active {
  border-color: #c2994a;
  background: rgba(243, 236, 222, 0.52);
}

.auth-method-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(194, 153, 74, 0.24);
  background: #fff;
  display: grid;
  place-items: center;
}

.auth-method-card-copy {
  display: grid;
  gap: 4px;
}

.auth-method-card-copy strong {
  color: #1a2233;
  font-size: 14px;
}

.auth-method-card-copy small {
  color: #647084;
  font-size: 12px;
}

.pending-pane {
  text-align: center;
}

.pending-icon {
  width: 64px;
  height: 64px;
  text-align: left;
  border-radius: 80px;
  background: #C2994A;
}

.pending-pane h1 {
  margin: 0;
  font-size: 22px;
}

.pending-pane p {
  color: #55534F;
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  align-self: stretch;
}
.panding-box {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 8px;
    background: #f3ecde;
}

.panding-box .top-info {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-direction: row;
    justify-content: space-between;
}

.panding-box .top-info h1 {
    align-self: stretch;
    color: #312F2B;
    /* text-align: right; */
    font-family: ModamVF;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    /* margin: auto; */
    width: 117px;
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 8px;
}

.app-root {
  display: block;
  min-height: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(243, 244, 247, 0.86);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 14px 10px;
}

.topbar-meta h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.topbar-meta p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.user-chip {
  min-width: 76px;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 38, 0.1);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.icon-btn > span {
  font-size: 14px;
}

.badge {
  position: absolute;
  top: -3px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.app-content {
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.app-content.switching {
  opacity: 0.6;
  transform: translateY(5px);
  transition: all 200ms ease;
}

.bottom-nav {
  display: none !important;
}

.nav-item {
  border: 0;
  background: transparent;
  color: #8b93a2;
  border-radius: 12px;
  min-height: 56px;
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
}

.nav-item span {
  font-size: 16px;
}

.nav-item small {
  font-size: 11px;
  font-weight: 600;
}

.nav-item.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
}

.section-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card + .card {
  margin-top: 12px;
}

.card-head {
  padding: 14px 14px 0;
}

.card-head h3 {
  margin: 0;
  font-size: 15px;
}

.card-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.card-body {
  padding: 14px;
}

.card-foot {
  padding: 0 14px 14px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 12px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2.compact,
.grid-3.compact {
  gap: 8px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.stack {
  display: grid;
  gap: 12px;
}

.field-label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.input {
  width: 100%;
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  border-radius: 8px;
  border: 2px solid rgba(243, 236, 222, 0.50);
  background: #FAF8F4;
  min-height: 52px;
  font-size: 15px;
  color: #111;

}

textarea.input {
  padding-top: 10px;
  resize: vertical;
}

.input:focus {
  border-color: #8ca3d6;
  box-shadow: 0 0 0 3px rgba(79, 120, 201, 0.16);
}


.btn {
  border: 0;
  border-radius: var(--radius-md);
  min-height: 46px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}
.btn.primary:disabled {
  border-radius: 8px;
  background: #EEE;
  color: #999;
}
.btn.ghost {
  background: transparent;
  color: #1f2a3f;
  border-radius: 8px;
  border: 2px solid #F5F5F5;
}
.btn.ghost:disabled{
  opacity:0.5;
}
.btn.danger {
  background: var(--danger);
  color: #fff;
}

.btn.small {
  width: 167px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  display: flex;
  padding: 12px 16px;
  justify-content: flex-start;
  align-items: center;
  width: auto;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
}

.rules-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.form-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
  min-height: 17px;
}

.room-segment {
  display: flex;
  gap: 0px;
  overflow-x: auto;
  /* padding-bottom: 4px; */
  /* margin-top: 12px; */
  scrollbar-width: none;
  flex-direction: column;
}
.room-segment .list_room {
    display: none;
}

.room-segment .top {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px 12px 0 0;
    background: #161D27;
}

.room-segment .top .change {
    border-radius: 50px;
    border: 0;
    background: #FFF;
    display: flex;
    padding: 4px 12px 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.room-segment .top .title {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.room-segment .top .title span {
    color: #FFF;
    text-align: right;
    font-family: ModamVF;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.room-segment .timer {
    border-radius: 12px;
    background: #AC9C7D;
    display: flex;
    padding: 2px;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    color: #FFF;
    flex-direction: column;
}

.room-segment .timer.closed {
    background: #5a6476;
}

.room-segment .timer .timer_down {
    color: #FFF;
    font-family: ModamVF;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 21px;
}

.room-segment  .timer .title {
    color: #FFF;
    font-family: ModamVF;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
}

.room-segment::-webkit-scrollbar {
  display: none;
}

.room-chip {
  border: 1px solid #d8deea;
  background: #fff;
  color: #273142;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.room-chip small {
  color: var(--muted);
  font-size: 11px;
}

.room-chip.active {
  background: var(--brand-soft);
  border-color: #b8c8e8;
  color: var(--brand);
}

.hero-price {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pill {
  border-radius: var(--radius-md);
  border: 1px solid #dbe2ef;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.pill span {
  font-size: 12px;
  color: var(--muted);
}

.pill strong {
  font-size: 14px;
}

.sparkline {
  width: 100%;
  min-height: 120px;
  border-radius: var(--radius-sm);
  background: #f9fbff;
}

.price-history {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.price-history li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.topbar.home-topbar-hidden {
  display: none;
}

.app-content.home-page-layout {
  padding-top: 8px;
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

.home-dashboard {
  display: grid;
  gap: 14px;
}

.home-head {
  display: flex;
  padding: 8px 0px;
  justify-content: space-between;
  align-content: center;
  flex-wrap: wrap;
}

.home-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.home-circle-btn {
  border: 0;
  display: flex;
  position: relative;
  padding: 0;
  border-radius: 50%;
  background: #F5F5F5;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-circle-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-notify-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #f63107;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.home-head-profile {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
}

.home-head-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-head-copy small {
  align-self: stretch;
  color: #999;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.home-head-copy strong {
  color: #000;
  text-align: right;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-avatar-wrap {
  width: 48px;
  height: 48px;
  aspect-ratio: 1/1;
  border-radius: 50px;
  background: #1E1E1E;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-avatar-wrap img {
  width: 26px;
  height: 28px;
  aspect-ratio: 13/14;
}

.home-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.home-price-card {
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.home-price-card header {
  display: grid;
  gap: 1px;
}

.home-price-card h3 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.home-price-card small {
  color: #9d9d9d;
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.home-price-card strong {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-price-btn {
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  color: #fff;
  text-align: center;
  font-family: ModamVF;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-price-btn.buy {
  background: #0B6E4F;
}

.home-price-btn.sell {
  background: #EF120E;
}

.home-volume-section {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-section-head h2,
.home-section-head h3 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
}

.home-help-btn {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #252525;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.home-help-btn img {
  width: 18px;
  height: 18px;
}

.home-volume-tabs {
  border-radius: 8px;
  background: #f5f5f5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
}

.home-volume-tab {
  border: 0;
  border-radius: 5px;
  background: transparent;
  min-height: 43px;
  color: #969da6;
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.home-volume-tab span{
  color: #6F767E;
  text-align: center;
  font-family: ModamVF;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 35px; /* 250% */
}
.home-volume-tab small {
  font-size: 8px;
  border-radius: 6px;
  width: 16px;
  height: 16px;
  background: #00000024;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}

.home-volume-tab.active {
  background: #fcfcfc;
  color: #252525;
}

.home-volume-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  overflow: auto;
  max-height: 40vh;
}

.home-volume-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #fff;
  padding: 12px;
}

.home-volume-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-volume-copy strong {
  font-size: 14px;
  color: #252525;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-volume-copy small {
  font-size: 12px;
  color: #9b9b9b;
}

.home-volume-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.home-volume-meta strong {
  color: #252525;
  font-size: 13px;
  font-weight: 700;
}

.home-volume-badge {
  border-radius: 10px;
  background: rgba(11, 110, 79, 0.1);
  color: #0b6e4f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
}

.home-volume-badge.queued {
  background: rgba(194, 153, 74, 0.16);
  color: #7b622e;
}

.home-volume-empty {
  padding: 14px 0 8px;
  color: #888;
  font-size: 13px;
}

.home-open-section {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.home-link-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 0;
}

.home-link-btn img {
  width: 16px;
  height: 16px;
}

.home-open-list {
  display: grid;
  gap: 10px;
}

.home-open-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #fff;
  padding: 12px;
}

.home-open-side {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-open-side.buy {
  background: #0B6E4F;
}

.home-open-side.sell {
  background: #EF120E;
}

.home-open-side img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-open-main {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1;
}

.home-open-main h4 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-open-main small {
  color: #9b9b9b;
  text-align: right;
  font-family: ModamVF;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.home-open-meta {
  min-width: 118px;
  display: grid;
  gap: 4px;
  justify-items: end;
}

.home-open-meta strong {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.home-open-meta small {
  color: #8c8c8c;
  text-align: right;
  font-family: ModamVF;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.home-open-meta small.up {
  color: #0B6E4F;
}

.home-open-meta small.down {
  color: #EF120E;
}

.home-open-empty {
  border-radius: 12px;
  border: 1px dashed #ddd;
  background: #fff;
  padding: 18px 12px;
  color: #8a8a8a;
  text-align: center;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}

.home-action-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-side-tag {
  min-width: 48px;
  height: 20px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 7px;
}

.home-side-tag.buy {
  background: #c2994a;
}

.home-side-tag.sell {
  background: #252525;
}

.home-action-copy strong {
  display: block;
  color: #252525;
  font-size: 13px;
  font-weight: 700;
}

.home-action-copy small {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: 2px;
}

.home-square-btn {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-square-btn.success {
  background: #0b6e4f;
}

.home-square-btn.danger {
  background: #ef120e;
}

.home-square-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.home-cta-btn {
  border: 0;
  border-radius: 12px;
  min-height: 52px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.home-cta-btn.success {
  background: #0b6e4f;
}

.home-cta-btn.danger {
  background: #ef120e;
}

.home-cta-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.home-summary-panel {
  border-radius: 8px;
  background: #161d27;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.home-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-summary-stat {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
  display: grid;
  gap: 5px;
}

.home-summary-stat label {
  color: #b7b1a8;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-summary-stat label img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.home-summary-stat strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.home-summary-stat strong.home-pnl-up {
  color: #4be0a7;
}

.home-summary-stat strong.home-pnl-down {
  color: #ff8d8d;
}

.home-mini-sparkline {
  width: 100%;
  min-height: 76px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.home-summary-meta {
  margin: 0;
  color: #b7b1a8;
  font-size: 12px;
}

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

.topbar.wallet-shell-topbar-hidden {
  display: none;
}

.bottom-nav.wallet-shell-nav-hidden {
  display: none;
}

.app-content.wallet-shell-layout {
  padding: 8px 14px calc(18px + env(safe-area-inset-bottom));
}

.wallet-shell {
  min-height: calc(100vh - 20px);
  display: grid;
  align-content: start;
  gap: 12px;
}

.wallet-shell.home {
  padding-bottom: calc(98px + env(safe-area-inset-bottom));
}

.wallet-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: max(4px, env(safe-area-inset-top)) 0 8px;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.wallet-header h2 {
  margin: 0;
  text-align: center;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
}

.wallet-header-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
}

.wallet-header-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.wallet-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: max(2px, env(safe-area-inset-top));
}

.wallet-home-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wallet-home-circle {
  width: 46px;
  height: 46px;
  border-radius: 23px;
  border: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
}

.wallet-home-circle img {
  width: 24px;
  height: 24px;
}

.wallet-home-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #ff3b1f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.wallet-home-profile {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.wallet-home-profile small {
  display: block;
  color: #8a8a8a;
  text-align: right;
  font-size: 14px;
}

.wallet-home-profile strong {
  display: block;
  color: #1c1c1c;
  text-align: right;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.2;
}

.wallet-home-avatar {
  width: 46px;
  height: 46px;
  border-radius: 23px;
  background: #1c1c1c;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.wallet-home-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-home-card {
  border-radius: 14px;
  background: #0f3f2e;
  background-image: url('/content/icon/wallet-bg.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  gap: 10px;
  display: flex;
  padding: 32px 20px 20px 20px;
  flex-direction: column;
  align-self: stretch;
}

.wallet-home-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wallet-home-balance-row strong {
  color: #fff;
  font-size: 49px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFF;
  text-align: right;
  font-family: ModamVF;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-eye-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  /* background: rgba(255, 255, 255, 0.2); */
  /* display: grid; */
  place-items: center;
  padding: 0;
  background: transparent;
}

.wallet-eye-btn img {
  width: 22px;
  height: 22px;
  /* filter: brightness(0) invert(1); */
}

.wallet-home-meter-head,
.wallet-home-meter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-home-meter-head span,
.wallet-home-meter-foot small {
  color: #FFF;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-home-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #FFF;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-home-meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.wallet-home-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d7bd84;
}

.wallet-home-actions {
  margin-top: 14px;
  display: flex;
  gap: 20px;
}

.wallet-action-btn {
  border: 0;
  display: flex;
  padding: 15px 16px;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  border-radius: 10px;
  background: #FFF;
}
.wallet-action-btn span {
    color: #252525;
    text-align: right;
    font-family: ModamVF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.wallet-action-btn img {
  width: 22px;
  height: 22px;
}

.wallet-history-section {
  display: grid;
  gap: 10px;
}

.wallet-history-head h3 {
  margin: 0;
  align-self: stretch;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
}

.wallet-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.wallet-filter-row::-webkit-scrollbar {
  display: none;
}

.wallet-filter-chip {
  background: transparent;
  min-height: 32px;
  white-space: nowrap;
  text-align: right;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 184.615% */
  border-radius: 50px;
  border: 2px solid #F5F5F5;
  display: flex;
  padding: 4px 24px;
  justify-content: flex-end;
  align-items: center;
  color: #252525;
}

.wallet-filter-chip.active {
  border-color: #111c31;
  background: #111c31;
  color: #fff;
}

.wallet-history-list {
  display: grid;
  gap: 10px;
}

.wallet-history-row {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #ededed;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
  justify-content: space-between;
}

.wallet-history-icon {
  width: 46px;
  height: 46px;
  border-radius: 23px;
  display: grid;
  place-items: center;
}

.wallet-history-icon img {
  width: 21px;
  height: 21px;
}

.wallet-history-icon.deposit {
  background: #edf9f3;
}

.wallet-history-icon.withdrawal {
  background: #ffeef0;
}

.wallet-history-icon.buy {
  background: #ffeff0;
}

.wallet-history-icon.sell {
  background: #edf9f3;
}

.wallet-history-icon.fee,
.wallet-history-icon.other {
  background: #f5f5f5;
}

.wallet-history-copy {
  min-width: 0;
  display: flex;
  gap: 4px;
  justify-content: space-between;
  flex: 1;
}

.wallet-history-title-line {
  display: flex;
  gap: 2px;
  flex-direction: column;
}

.wallet-history-title-line strong {
  color: #252525;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
}

.wallet-history-title-line small {
  color: #ADADAD;
  text-align: right;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 160% */
}

.wallet-history-status {
  width: max-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.wallet-history-status.pending,
.wallet-history-status.active {
  background: #faf2e1;
  color: #9f7d39;
}

.wallet-history-status.done {
  background: #f3f3f3;
  color: #a0a0a0;
}

.wallet-history-status.rejected,
.wallet-history-status.canceled {
  background: #ffe8e8;
  color: #d32e2e;
}

.wallet-history-amount {
  text-align: left;
  direction: ltr;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 125% */
}

.wallet-history-amount.up {
  color: #0f9d6b;
}

.wallet-history-amount.down {
  color: #ef120e;
}

.wallet-history-amount.neutral {
  color: #6f6f6f;
}

.wallet-home-dock {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(340px, calc(100% - 28px));
  overflow: hidden;
  z-index: 62;
  display: flex;
  padding: 3px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #161D27;
  box-shadow: 0 4px 8px 0 rgba(130, 130, 130, 0.10);
}

.wallet-home-dock-btn {
  border: 0;
  background: transparent;
  color: #B9BBBE;
  justify-items: center;
  display: flex;
  padding: 6px 0 8px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex: 1 0 0;
}

.wallet-home-dock-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.wallet-home-dock-btn span{
  /* color: #B9BBBE; */
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.wallet-home-dock-btn.active {
  color: #1f1f1f;
  display: flex;
  padding: 6px 0 8px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex: 1 0 0;
  border-radius: 6px;
  background: #FAF7F1;
}

.wallet-home-dock-btn.active img {
  filter: none;
}

.wallet-screen-note {
  margin: 0;
  color: #666;
  font-size: 18px;
  line-height: 1.9;
  color: #666;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 168% */
}

.wallet-method-list {
  display: grid;
  gap: 12px;
}

.wallet-method-row {
  width: 100%;
  background: #fff;
  min-height: 74px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
  border-radius: 12px;
  border: 2px solid #F5F5F5;
}

.wallet-method-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wallet-method-row strong {
  display: block;
  color: #222;
  font-size: 29px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 206.897% */
}

.wallet-method-row small {
  display: block;
  margin-top: 2px;
  color: #999;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 160% */
}

.wallet-method-row.active {
  border: 2px solid #111c31;
}

.wallet-method-row.disabled {
  opacity: 0.5;
}

.wallet-card-list {
  margin-top: 2px;
}

.wallet-card-row {
  background: #fff;
}

.wallet-fixed-footer {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: 0;
  width: min(480px, 100%);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.96) 38%, #f6f6f6 100%);
  z-index: 61;
}

.wallet-fixed-footer.with-keyboard {
  bottom: 0;
}

.wallet-dark-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #161D27;
  color: #FFF;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-dark-btn:disabled {
  background: #ebebeb;
  color: #b7b7b7;
}

.wallet-amount-card {
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.wallet-selected-card {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  border: 1px solid #ededed;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr 20px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.wallet-selected-card span {
  min-width: 78px;
  min-height: 34px;
  border-radius: 17px;
  background: #f2f2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-selected-card strong {
  color: #252525;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 177.778% */
}

.wallet-selected-card img {
  width: 20px;
  height: 20px;
}

.wallet-amount-hint {
  margin: 0;
  color: #999;
  text-align: center;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 148.148% */
}

.wallet-amount-value-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wallet-amount-value-wrap span {
  ]: #252525;
  color: #999;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px; /* 281.481% */
}

.wallet-amount-input {
  width: 100%;
  text-align: center;
  direction: ltr;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #252525;
  font-family: ModamVF;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 42px; /* 131.25% */
  min-height: 66px;
}

.wallet-amount-input:focus {
  outline: none;
}

.wallet-withdraw-code-box {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.wallet-withdraw-code-box label {
  color: #252525;
  text-align: right;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-withdraw-code-input {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid #ece6d6;
  background: #f8f5ed;
  direction: ltr;
  text-align: center;
  color: #111;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 10px;
  outline: none;
}

.wallet-withdraw-code-input::placeholder {
  letter-spacing: 6px;
  color: #b6b6b6;
}

.wallet-withdraw-code-box small {
  margin: 0;
  color: #7a7a7a;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wallet-quick-chip {
  background: transparent;
  display: flex;
  padding: 8px 20px;
  justify-content: center;
  align-items: center;
  
  border-radius: 50px;
  border: 2px solid #F5F5F5;
  color: #252525;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  flex: 1; 
  overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallet-quick-chip.active {
  border: 2px solid #111c31;
}

.wallet-bank-info-card {
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.wallet-bank-info-card header {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
}

.wallet-bank-info-card header img {
  width: 24px;
  height: 24px;
}

.wallet-bank-info-card header strong {
  display: block;
  color: #252525;
  font-size: 28px;
  font-weight: 700;
}

.wallet-bank-info-card header small {
  display: block;
  color: #9f9f9f;
  font-size: 19px;
  margin-top: 2px;
}

.wallet-bank-info-card.has-attachment {
  gap: 14px;
}

.wallet-bank-attachment {
  margin: 0;
  border: 1px solid #f0ebdd;
  border-radius: 12px;
  overflow: hidden;
  background: #faf8f2;
}

.wallet-bank-attachment img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #fff;
}

.wallet-bank-copy-row {
  border: 1px solid #f0ebdd;
  border-radius: 10px;
  min-height: 54px;
  background: #faf8f2;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wallet-bank-copy-row strong {
  color: #252525;
  font-size: 27px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-bank-copy-row button {
  border: 0;
  border-radius: 16px;
  background: #efefef;
  min-width: 74px;
  min-height: 32px;
  color: #252525;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-bank-copy-row.iban {
  background: #fff;
  border-color: #efefef;
}

.wallet-time-card {
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.wallet-time-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wallet-time-card span {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-time-card strong {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 166.667% */
}

.wallet-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 72;
}

.wallet-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.wallet-sheet {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  border-radius: 24px 24px 0 0;
  background: #fff;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  z-index: 73;
  transition: transform 220ms ease;
  max-height: min(88vh, 860px);
  overflow: auto;
}

.wallet-sheet.show {
  transform: translateX(50%) translateY(0);
}

.wallet-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #eee;
  margin: 2px auto 8px;
}

.wallet-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-sheet-head.center {
  justify-content: center;
}

.wallet-sheet-head.between {
  justify-content: space-between;
}

.wallet-sheet-head.warn {
  justify-content: center;
}

.wallet-sheet-head h3 {
  margin: 0;
  color: #252525;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
}

.wallet-sheet-head.warn img {
  width: 28px;
  height: 28px;
}
.wallet-receipt-info {
    display: flex;
    height: 78px;
    padding: 16px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px;
    border: 2px solid #F5F5F5;
    align-content: space-around;
    margin-top: 12px;
}

.wallet-receipt-info .wallet-receipt-top-icon {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}
.wallet-receipt-info .wallet-receipt-top-icon.withdrawal{
    background: rgba(239, 18, 14, 0.10);
}
.wallet-receipt-info .wallet-receipt-title {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wallet-receipt-info .wallet-receipt-title h3 {
    color: #252525;
    text-align: right;
    font-size: 14.5px;
    font-style: normal;
    font-weight: 600;
    line-height: 0px;
}

.wallet-receipt-info .wallet-receipt-title small {
    color: #ADADAD;
    text-align: right;
    font-family: ModamVF;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.wallet-receipt-info .wallet-receipt-chip {
    display: flex;
    padding: 4px 8px 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 50px;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.wallet-receipt-info .wallet-receipt-chip.pending ,
.wallet-receipt-info .wallet-receipt-chip.active{
    color: #C2994A;
    background: rgba(194, 153, 74, 0.15);
}

.wallet-receipt-info .wallet-receipt-chip.rejected,
.wallet-receipt-info .wallet-receipt-chip.canceled {
  background: #ffe7e7;
  color: #cf2525;
}
.wallet-receipt-info .wallet-receipt-chip.done {
  background: #f3f3f3;
  color: #a0a0a0;
}
.wallet-sheet > p {
  margin: 10px 0 0;
  color: #444;
  text-align: justify;
  font-size: 14px;
  line-height: 1.9;
  padding: 0px 12px;
  font-weight: 500;
}

.wallet-sheet-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.wallet-sheet-actions.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wallet-sheet-btn {
  border: 0;
  border-radius: 8px;
  min-height: 52px;
  font-family: ModamVF;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.wallet-sheet-btn.dark {
  background: #161D27;
  color: #fff;
}

.wallet-sheet-btn.gold {
  background: #e8ce94;
  color: #252525;
}

.wallet-sheet-btn:disabled {
  opacity: 0.6;
}

.wallet-card-form {
  margin-top: 8px;
  border-top: 1px solid #efefef;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.wallet-card-form label {
  color: #252525;
  text-align: right;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wallet-card-input {
  border-radius: 10px;
  border: 1px solid #ece6d6;
  background: #f8f5ed;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-card-input.error {
  border-color: #ef120e;
  background: #fff2f2;
}

.wallet-card-input img {
  /* width: 20px; */
  /* height: 20px; */
  justify-self: center;
}

.wallet-card-input input {
  border: 0;
  background: transparent;
  min-height: 54px;
  /* text-align: left; */
  direction: ltr;
  color: #111;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  flex: 1;
}
.wallet-card-input .icon {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 2px solid #F3ECDE;
    margin-right: 12px;
    height: 32px;
}
.wallet-card-input input:focus {
  outline: none;
}

.wallet-card-form small {
  margin-top: -6px;
  color: #ef120e;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
}

.wallet-status-chip {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wallet-status-chip.pending,
.wallet-status-chip.active {
  background: #faf2e1;
  color: #9f7d39;
}

.wallet-status-chip.done {
  background: #f3f3f3;
  color: #9d9d9d;
}

.wallet-status-chip.rejected,
.wallet-status-chip.canceled {
  background: #ffe7e7;
  color: #cf2525;
}

.wallet-sheet-title {
  min-width: 0;
  color: #252525;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
  align-self: stretch;
}

.wallet-sheet-title h3 {
  margin: 0;
  color: #252525;
  font-size: 39px;
  font-weight: 700;
  text-align: right;
}

.wallet-sheet-title small {
  color: #a6a6a6;
  font-size: 19px;
}

.wallet-sheet-top-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wallet-sheet-top-icon img {
  width: 24px;
  height: 24px;
}

.wallet-sheet-top-icon.deposit,
.wallet-sheet-top-icon.sell {
  background: #128159;
}

.wallet-sheet-top-icon.withdrawal,
.wallet-sheet-top-icon.buy {
  background: #ef120e;
}

.wallet-sheet-top-icon.fee,
.wallet-sheet-top-icon.other {
  background: #f0f0f0;
}

.wallet-receipt-summary {
  margin-top: 12px;
  border: none;
  display: flex;
  gap: 0px;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 12px;
  background: #F5F5F5;
}

.wallet-receipt-summary .row {
  display: flex;
  padding: 8px 0;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.wallet-receipt-summary span {
  color: #888074;
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 153.846% */
}

.wallet-receipt-summary strong {
  color: #252525;
  font-size: 34px;
  font-weight: 700;
}

.wallet-receipt-summary .value.withbackborder {
  border-radius: 999px;
  background: #111c31;
  padding: 3px 10px;
  color: #FFF;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.wallet-receipt-summary .value {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0;
    justify-content: unset;
    align-self: normal;
}

.wallet-receipt-summary .value span {
    color: #252525;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}
.wallet-receipt-summary .value strong{
    color: #000;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
}
.wallet-receipt-summary .value b{
    color: #252525;
    text-align: right;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.wallet-receipt-timer {
  margin-top: 10px;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #F5F5F5;
}

.wallet-receipt-timer div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.wallet-receipt-timer span {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 222.222% */
}

.wallet-receipt-timer strong {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 166.667% */
}

.wallet-receipt-timer p {
  margin: 10px 0 0;
  color: #999;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 150% */
}

.topbar.trade-topbar-hidden {
  display: none;
}

.bottom-nav.trade-nav-hidden {
  display: none;
}

.app-content.trade-room-layout {
  padding: 10px 14px calc(96px + env(safe-area-inset-bottom));
}

.trade-room-page {
  min-height: calc(100vh - 130px);
  display: grid;
  align-content: start;
  gap: 10px;
}

.trade-room-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.trade-room-head h2 {
  margin: 0;
  text-align: center;
  color: #252525;
  font-size: 21px;
  font-weight: 700;
}

.trade-room-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  border: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 0;
}

.trade-room-icon-btn img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.trade-room-icon-btn.arrow {
  background: transparent;
}

.trade-room-icon-btn.arrow span {
  color: #252525;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.trade-room-hero {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 6px;
}

.trade-room-subtitle {
  margin: 0;
  color: #888;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.trade-room-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.trade-room-price-wrap span {
  color: #777;
  font-size: 21px;
  font-weight: 500;
}

.trade-room-price-wrap strong {
  color: #252525;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.trade-room-change {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
}

.trade-room-change span {
  font-size: 18px;
  font-weight: 500;
  margin-inline-start: 5px;
}

.trade-room-change.up {
  color: #0b6e4f;
}

.trade-room-change.down {
  color: #ef120e;
}

.trade-room-session {
  margin: 0;
  color: #969696;
  font-size: 13px;
  font-weight: 500;
}

.trade-room-session.closed {
  color: #ef120e;
}

.trade-room-chart-wrap {
  margin-top: 6px;
}

.trade-room-chart {
  width: 100%;
  min-height: 220px;
  border-radius: 10px;
}

.trade-room-extremes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}

.trade-room-extremes div {
  display: grid;
  gap: 4px;
}

.trade-room-extremes span {
  color: #888;
  font-size: 15px;
  font-weight: 500;
}

.trade-room-extremes strong {
  color: #555;
  font-size: 24px;
  font-weight: 500;
}

.trade-room-timeframes {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.trade-room-time-btn {
  border: 1px solid #ececec;
  background: #fff;
  color: #252525;
  border-radius: 20px;
  min-width: 72px;
  height: 34px;
  font-size: 18px;
  font-weight: 500;
}

.trade-room-time-btn.active {
  border-color: #d9d9d9;
  background: #fafafa;
}

.trade-room-cta {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(480px, 100%);
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  z-index: 56;
}

.trade-room-cta-btn {
  border: 0;
  border-radius: 10px;
  min-height: 52px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.trade-room-cta-btn.sell {
  background: #f50c0c;
}

.trade-room-cta-btn.buy {
  background: #117951;
}

.trade-room-cta-btn:disabled {
  opacity: 0.45;
}

.topbar.trade-entry-topbar-hidden,
.topbar.orders-manage-topbar-hidden {
  display: none;
}

.bottom-nav.trade-entry-nav-hidden,
.bottom-nav.orders-manage-nav-hidden {
  display: none;
}

.app-content.trade-entry-layout,
.app-content.orders-manage-layout {
  padding: 10px 14px calc(88px + env(safe-area-inset-bottom));
}

.topbar.profile-shell-topbar-hidden {
  display: none;
}

.bottom-nav.profile-shell-nav-hidden {
  display: none;
}

.app-content.profile-shell-layout {
  padding: 8px 14px calc(20px + env(safe-area-inset-bottom));
  background: #f5f5f5;
}
#appContent.app-content.profile-shell-layout.profile-shell-layout-backwhite {
    background: #fff;
}
.profile-shell {
  min-height: calc(100vh - 20px);
  display: grid;
  align-content: start;
  gap: 12px;
  position: relative;
}

.profile-shell.twofa {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.profile-head {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 8px;
  padding: max(4px, env(safe-area-inset-top)) 0 8px;
  justify-content: space-between;
}

.profile-head h2 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profile-head-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
}

.profile-head-icon img {
  /* width: 20px; */
  /* height: 20px; */
  /* object-fit: contain; */
}

.profile-subtitle {
  margin: 0;
  color: #666;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 168% */
}

.profile-subtitle.profile-tight {
  font-size: 12.5px;
  text-align: center;
}

.profile-user-card {
  justify-items: center;
  gap: 16px;
  border-radius: 16px;
  background: #FFF;
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.profile-avatar-wrap {
  width: 98px;
  height: 98px;
  border-radius: 49px;
  background: #1c1c1c;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
}

.profile-avatar-wrap img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.profile-user-meta {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.profile-user-meta h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 30px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  text-align: center;
  font-family: ModamVF;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profile-user-meta h3::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url('/content/icon/user-badge.svg') center/contain no-repeat;
}

.profile-user-meta small {
  color: #8d8d8d;
  font-size: 20px;
  color: #999;
  text-align: center;
  font-family: ModamVF;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profile-menu-group {
  display: grid;
  gap: 8px;
}

.profile-menu-title {
  margin: 0;
  color: #647084;
  font-size: 12px;
  font-weight: 700;
}

.profile-menu-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 12px;
  background: #FFF;
}

.profile-menu-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ececec;
  background: transparent;
  min-height: 64px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.profile-menu-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-menu-main img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.profile-menu-main strong {
  color: #252525;
  text-align: right;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 148.148% */
}

.profile-menu-tail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-menu-tail small {
  color: #AAA;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 160% */
}

.profile-menu-tail small.profile-room-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu-tail img {
  width: 18px;
  height: 18px;
}

.profile-theme-option {
  min-height: 72px;
}

.profile-theme-copy {
  display: grid;
  gap: 2px;
}

.profile-theme-copy small {
  margin: 0;
  color: #8a94a8;
  font-size: 12px;
  line-height: 1.7;
}

.profile-theme-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c3cad8;
  display: inline-block;
}

.profile-theme-check.active {
  border-color: #111c31;
  background: radial-gradient(circle at center, #111c31 0 4px, transparent 5px);
}

.profile-logout-btn {
  border: 0;
  min-height: 78px;
  flex-direction: row;
  border-radius: 12px;
  background: #FFF;
  display: flex;
  padding: 24px 20px;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.profile-logout-btn strong {
  color: #EF120E;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 148.148% */
}

.profile-logout-btn img {
  width: 22px;
  height: 22px;
}

.profile-bank-list {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.profile-password-panel {
  display: grid;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.profile-password-forgot {
  border: 0;
  background: transparent;
  color: #0f6de8;
  font-size: 12.5px;
  font-weight: 600;
  padding: 0;
  margin-top: 4px;
  justify-self: start;
}

.profile-password-forgot:disabled {
  opacity: 0.6;
}

.profile-session-list {
  display: grid;
  gap: 10px;
}

.profile-session-row {
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-session-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-session-copy strong {
  color: #252525;
  font-size: 13.5px;
  font-weight: 600;
}

.profile-session-copy small {
  color: #8e8e8e;
  font-size: 12px;
  line-height: 1.7;
}

.profile-session-tail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-session-current {
  border-radius: 999px;
  background: rgba(15, 157, 107, 0.12);
  color: #0f9d6b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  white-space: nowrap;
}

.profile-session-revoke {
  border: 1px solid #ef120e;
  background: transparent;
  color: #ef120e;
  border-radius: 10px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.profile-session-revoke:disabled {
  opacity: 0.6;
}

.support-ticket-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.support-thread-open {
  border-color: #111c31;
  color: #111c31;
}

.support-list-hint,
.support-file-meta,
.support-ticket-closed-note {
  margin: 0;
  color: #7b879c;
  font-size: 12px;
  line-height: 1.8;
}

.support-ticket-head {
  display: grid;
  gap: 10px;
}

.support-ticket-meta {
  display: grid;
  gap: 4px;
}

.support-ticket-meta strong {
  color: #1f2735;
  font-size: 14px;
  font-weight: 700;
}

.support-ticket-meta small {
  color: #7f8aa0;
  font-size: 12px;
}

.support-ticket-head-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.support-thread-list {
  display: grid;
  gap: 10px;
}

.support-thread-item {
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.support-thread-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-thread-item header strong {
  color: #1f2735;
  font-size: 13px;
  font-weight: 700;
}

.support-thread-item header small {
  color: #8a93a6;
  font-size: 11px;
}

.support-thread-item p {
  margin: 0;
  color: #39465d;
  font-size: 12.5px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.support-thread-item.mine {
  background: #f5f9ff;
  border-color: #dbe8fb;
}

.support-thread-item.support {
  background: #fff;
}

.support-thread-image-wrap {
  display: grid;
  gap: 6px;
  text-decoration: none;
}

.support-thread-image {
  width: min(210px, 100%);
  border-radius: 10px;
  border: 1px solid #dde3ee;
  object-fit: cover;
}

.support-thread-image-wrap small {
  color: #8a93a6;
  font-size: 11px;
  line-height: 1.7;
}

.support-thread-form {
  margin-bottom: 10px;
}

.profile-bank-row {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #f9f9f9;
  min-height: 74px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-bank-row.selected {
  border: 2px solid #1d2430;
  background: #fff;
}

.profile-bank-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  display: block;
}

.profile-bank-radio.active {
  border-color: #111c31;
  background: radial-gradient(circle at center, #111c31 0 4px, transparent 5px);
}

.profile-bank-copy {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  flex: 1;
}

.profile-bank-copy strong {
  color: #1f1f1f;
  font-size: 27px;
  font-weight: 700;
  white-space: nowrap;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 177.778% */
}

.profile-room-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  flex: 1;
}

.profile-room-copy strong {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
}

.profile-room-copy small {
  color: #9b9b9b;
  text-align: right;
  font-family: ModamVF;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.profile-bank-selected {
  min-width: 110px;
  min-height: 36px;
  border-radius: 18px;
  background: #111c31;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #FFF;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profile-bank-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  justify-self: end;
}

.profile-bank-add {
  background: transparent;
  min-height: 74px;
  display: flex;
  padding: 20px 20px 20px 24px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 2px solid #F5F5F5;
  flex-direction: row-reverse;
}

.profile-bank-add span {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: #F5F5F5;
  color: #999;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profile-bank-add strong {
  color: #252525;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 177.778% */

   /* 177.778% */
}

.profile-twofa-brand {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  margin: 8px auto 0;
  align-items: center;
  justify-content: center;
}

.profile-twofa-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.profile-switch-list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.profile-switch-row {
  width: 100%;
  min-height: 74px;
  border-radius: 14px;
  border: 1px solid #e9e9e9;
  background: #f9f9f9;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-switch-row span:first-child {
  color: #1c1c1c;
  font-size: 29px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 177.778% */
}

.profile-switch {
  width: 48px;
  height: 28px;
  border-radius: 16px;
  background: #d9d9d9;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  direction: ltr;
  padding: 3px;
  transition: background 180ms ease;
}

.profile-switch i {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #fff;
  display: block;
  transition: transform 180ms ease;
}

.profile-switch.on {
  background: #0f6de8;
}

.profile-switch.on i {
  transform: translateX(20px);
}

.profile-fixed-footer {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: 0;
  width: min(480px, 100%);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.96) 38%, #f6f6f6 100%);
  z-index: 54;
}

.profile-dark-solid,
.profile-danger-solid {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profile-dark-solid {
  background: #111c31;
}

.profile-danger-solid {
  background: #ff1010;
}

.profile-dark-solid:disabled,
.profile-danger-solid:disabled {
  opacity: 0.6;
}

.profile-download-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.profile-download-row {
  width: 100%;
  min-height: 72px;
  border-radius: 14px;
  border: 1px solid #e9e9e9;
  background: #f9f9f9;
  display: grid;
  grid-template-columns: 28px 1fr 16px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.profile-download-row strong {
  color: #252525;
  text-align: right;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 177.778% */
}

.profile-download-row > img:first-child {
  width: 24px;
  height: 24px;
  object-fit: contain;
  justify-self: end;
}

.profile-download-row > img:last-child {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.profile-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.profile-qr-img,
.profile-qr-placeholder {
  width: min(220px, 62vw);
  height: min(220px, 62vw);
  border-radius: 14px;
  border: 1px solid #ebebeb;
  background: #fff;
}

.profile-qr-img {
  object-fit: contain;
  padding: 10px;
}

.profile-qr-placeholder {
  display: grid;
  place-items: center;
  color: #bcbcbc;
  font-size: 28px;
  font-weight: 700;
}

.profile-qr-open {
  border: 0;
  min-width: 140px;
  min-height: 52px;
  color: #252525;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 8px;
  background: #EEE;
}

.profile-recovery {
  margin-top: 12px;
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
  display: grid;
  gap: 12px;
}

.profile-recovery h3 {
  margin: 0;
  align-self: stretch;
  color: #252525;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profile-recovery-key {
  border-radius: 10px;
  border: 1px solid #ece6d6;
  background: #f8f5ed;
  min-height: 56px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.profile-recovery-key button {
  border: 0;
  background: transparent;
  border-inline-start: 1px solid #e3ddcb;
  min-height: 56px;
  display: flex;
  place-items: center;
  min-width: 50px;
  justify-content: center;
}

.profile-recovery-key button img {
  width: 20px;
  height: 20px;
}

.profile-recovery-key strong {
  letter-spacing: 0.5px;
  padding: 0 8px;
  color: #111;
  text-align: left;
  font-family: ModamVF;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  flex: 1;
}

.profile-recovery p {
  margin: 0;
  color: #666;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 168% */
  align-self: stretch;
}

.profile-code-box {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.profile-code-box h3 {
  margin: 0;
  color: #111;
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.profile-code-box p {
  margin: 0;
  color: #666;
  text-align: right;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profile-code-input {
  margin-top: 10px;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #f8f8f8;
  letter-spacing: 21px;
  direction: ltr;
  color: #111;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  outline: none;
}

.profile-code-input::placeholder {
  letter-spacing: 8px;
  color: #b6b6b6;
}

.profile-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 82;
}

.profile-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.profile-sheet {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  border-radius: 24px 24px 0 0;
  background: #fff;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  z-index: 83;
  transition: transform 220ms ease;
}

.profile-sheet.show {
  transform: translateX(50%) translateY(0);
}

.profile-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #ededed;
  margin: 2px auto 10px;
}

.profile-sheet-head.warn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.profile-sheet-icon {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #fdf1f1;
  display: grid;
  place-items: center;
}

.profile-sheet-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profile-sheet-head h4 {
  margin: 0;
  color: #1c1c1c;
  font-size: 36px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
}

.profile-sheet p {
  margin: 12px 0 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}

.profile-sheet-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.profile-sheet-actions.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sheet-btn {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  display: flex;
  height: 52px;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  text-align: center;
  font-family: ModamVF;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profile-sheet-btn.dark {
  background: #111c31;
  color: #fff;
}

.profile-sheet-btn.danger {
  background: #ff1010;
  color: #fff;
}

.trade-entry-page {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: start;
  gap: 12px;
}

.trade-entry-head {
  display: flex;
  align-self:stretch;
  align-content:stretch;
  justify-content: space-between;
  gap: 8px;
  align-items: stretch;
  padding: 6px 0;
  flex-direction: row-reverse;
}

.trade-entry-head h2 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.trade-entry-icon {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 0;
}

.trade-entry-icon img {
  width: 16px;
  height: 16px;
}

.trade-entry-icon.arrow {
  background: transparent;
}

.trade-entry-icon.arrow span {
  font-size: 24px;
  line-height: 1;
}

.trade-entry-segment {
  margin: 8px auto 0;
  width: min(206px, 100%);
  border-radius: 10px;
  background: #f5f5f5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 2px;
}

.trade-entry-segment button {
  border: 0;
  border-radius: 8px;
  min-height: 33px;
  background: transparent;
  color: #6F767E;
  text-align: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px;
}

.trade-entry-segment button.active {
  background: #fff;
  color: #161D27;
  box-shadow: 0 1px 2px rgba(18, 24, 38, 0.08);
}

.trade-entry-prices {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trade-entry-price-chip {
  border-radius: 999px;
  border: 1px solid #e7ebf1;
  background: #f7f9fc;
  color: #6f767e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.trade-entry-price-chip.active {
  border-color: #161d27;
  background: #161d27;
  color: #fff;
}

.trade-entry-wallet {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #999;
  text-align: center;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.trade-entry-wallet img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.trade-entry-closed {
  margin: 0;
  text-align: center;
  color: #d63131;
  font-size: 13px;
  font-weight: 600;
}

.trade-entry-amount {
  border: 0;
  background: transparent;
  justify-self: center;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  cursor: text;
}

.trade-entry-amount strong,
.trade-entry-input {
  color: #252525;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: #252525;
  text-align: right;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 42px;
}

.trade-entry-input {
  width: min(240px, 60vw);
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: center;
  direction: ltr;
  outline: none;
  appearance: textfield;
}

.trade-entry-input::placeholder {
  color: #b9b9b9;
}

.trade-entry-input::-webkit-outer-spin-button,
.trade-entry-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.trade-entry-amount span {
  color: #252525;
  font-size: 34px;
  font-weight: 500;
  color: #999;
text-align: center;
font-family: ModamVF;
font-size: 13.5px;
font-style: normal;
font-weight: 400;
line-height: 38px; /* 281.481% */
}

.trade-entry-amount i {
  width: 2px;
  height: 42px;
  border-radius: 2px;
  background: #d6d6d6;
  display: inline-block;
  align-self: center;
}

.trade-entry-switch {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  border: 1px solid #ebebeb;
  background: #f8f8f8;
  justify-self: center;
  display: grid;
  place-items: center;
}

.trade-entry-switch img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.trade-entry-eq {
  margin: 4px auto 0;
  width: min(360px, 100%);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #e6c88e;
  border-radius: 14px;
  background: #fff8e8;
  box-shadow: 0 8px 22px rgba(230, 200, 142, 0.18);
  text-align: center;
  color: #252525;
  font-family: ModamVF;
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.trade-entry-footer {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(480px, 100%);
  padding: 0 14px;
  z-index: 66;
  transition: bottom 180ms ease;
}

.trade-entry-footer.with-keypad {
  bottom: calc(316px + env(safe-area-inset-bottom));
}

.trade-entry-footer.behind-sheet {
  z-index: 40;
}

.trade-entry-continue {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  border: 0;
  background: #e9e9e9;
  color: #b9b9b9;
  font-family: ModamVF;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.trade-entry-continue.active {
  background: #161D27;
  color: #fff;
}

.trade-keypad {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  padding: 12px 8px calc(10px + env(safe-area-inset-bottom));
  background: #dcdcdc;
  z-index: 65;
  transition: transform 200ms ease;
}

.trade-keypad.show {
  transform: translateX(50%) translateY(0);
}

.trade-keypad-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.trade-key-btn {
  min-height: 66px;
  border-radius: 10px;
  border: 0;
  background: #efefef;
  display: grid;
  place-items: center;
  gap: 1px;
}

.trade-key-btn strong {
  color: #353535;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.trade-key-btn small {
  font-size: 13px;
  color: #555;
  line-height: 1;
}

.trade-key-btn.backspace strong {
  font-size: 28px;
}

.trade-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 72;
}

.trade-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.trade-sheet {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  z-index: 73;
  transition: transform 220ms ease;
}

.trade-sheet.show {
  transform: translateX(50%) translateY(0);
}

.trade-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #eee;
  margin: 2px auto 8px;
}

.trade-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.trade-sheet-copy{
  display:flex;
  flex-direction:column;
  flex:1;
}
.trade-sheet-copy h3 {
  margin: 0;
  color: #252525;
  font-size: 18px;
  font-weight: 700;
}

.trade-sheet-copy p {
  margin: 3px 0 0;
  color: #999;
  font-size: 13px;
}

.trade-sheet-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trade-sheet-icon.success {
  background: #0b6e4f;
}

.trade-sheet-icon.danger {
  background: #ef120e;
}

.trade-sheet-head.warn {
  justify-content: center;
  gap: 8px;
}

.trade-sheet-head.warn .trade-sheet-icon {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-size: 20px;
  background: #ef120e;
}

.trade-sheet-head.warn h3 {
  margin: 0;
  font-size: 17px;
}

.trade-sheet-summary {
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  background: #fcfcfb;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.trade-sheet-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trade-sheet-summary span {
  color: #9b9b9b;
  font-size: 15px;
}
.trade-sheet-summary .quantity{
  display: flex;
  align-items: center;
  gap: 4px;
}
.trade-sheet-summary .quantity strong {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
}
.trade-sheet-summary .quantity span {
  color: #252525;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.trade-sheet-summary .quantity b {
  color: #252525;
  text-align: right;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.trade-sheet-leverage {
  display:flex;
  flex-direction:column;
  margin-top: 10px;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: 12px;
  overflow:hidden;
}

.trade-sheet-leverage h4 {
  margin: 0;
  text-align: right;
  color: #252525;
  font-size: 17px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.trade-sheet-leverage p {
  margin: 0px 0 0;
  text-align: right;
  color: #8f8f8f;
  font-size: 13px;
  line-height: 1.9;
  align-self: stretch;
  color: #888;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.trade-leverage-grid {

  margin-top:12px;
  display: flex;
  flex-wrap:wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  align-self: stretch;
}

.trade-leverage-btn {
  display: flex;
  min-width: 56px;
  min-height: 56px;
  padding: 16px 0 15px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  border-radius: 8px;
  border: 2px solid #F5F5F5;
  background:transparent;
  flex:1;
  color: #161D27;
  text-align: right;
  font-family: ModamVF;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 111.111% */

}

.trade-leverage-btn.active {
  border-radius: 8px;
  border: 2px solid #F5F5F5;
  background: #F5F5F5;
  color:#161D27;
}

.trade-sheet-form {
  margin-top: 10px;
  display:flex;
}

.trade-sheet-message {
  margin: 0;
  color: #444;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}

.trade-sheet-actions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.trade-sheet-actions.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-sheet-btn {
  border: 0;
  border-radius: 8px;
  min-height: 52px;
  font-size: 24px;
  font-weight: 700;
  display:flex;
  flex:1;
  align-self:stretch;
  align-items:center;
  justify-content:center;
  color: #FFF;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;

}

.trade-sheet-btn.submit,
.trade-sheet-btn.dark {
  background: #111c31;
  color: #fff;
}

.trade-sheet-btn.gold {
  background: #e8ce94;
  color: #222;
}

.manage-page {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: start;
  gap: 12px;
}

.manage-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}

.manage-head h2 {
  margin: 0;
  text-align: center;
  color: #252525;
  font-size: 24px;
  font-weight: 700;
}

.manage-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 0;
}

.manage-icon-btn img {
  width: 16px;
  height: 16px;
}

.manage-icon-btn.arrow {
  background: transparent;
}

.manage-icon-btn.arrow span {
  font-size: 24px;
  line-height: 1;
}

.manage-top-card {
  border: 1px solid #efefef;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.manage-status-pill {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.manage-status-pill.open {
  background: #f9f1df;
  color: #9f7d39;
}

.manage-status-pill.queued {
  background: #fbf6ea;
  color: #9f7d39;
}

.manage-top-copy h3 {
  margin: 0;
  color: #252525;
  font-size: 21px;
  font-weight: 700;
}

.manage-top-copy p {
  margin: 3px 0 0;
  color: #9b9b9b;
  font-size: 14px;
}

.manage-top-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.manage-top-icon.buy {
  background: #0b6e4f;
}

.manage-top-icon.sell {
  background: #ef120e;
}

.manage-detail-card {
  border: 1px solid #f1f1f1;
  border-radius: 14px;
  background: #fcfcfb;
  padding: 14px 12px;
  display: grid;
  gap: 10px;
}

.manage-detail-grid,
.manage-detail-live {
  display: grid;
  gap: 10px;
}

.manage-detail-grid div,
.manage-detail-live div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.manage-detail-grid span,
.manage-detail-live span {
  color: #8f8f8f;
  font-size: 18px;
}

.manage-detail-grid strong,
.manage-detail-live strong {
  color: #252525;
  font-size: 27px;
  font-weight: 600;
}

.manage-detail-grid strong i {
  background: #111c31;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.manage-detail-live {
  border-top: 1px solid #efefef;
  padding-top: 10px;
}

.manage-detail-live strong.up {
  color: #0f9d6b;
}

.manage-detail-live strong.down {
  color: #ef120e;
}

.manage-detail-live strong.neutral {
  color: #333;
}

.manage-trade-id {
  text-align: center;
  color: #b5b5b5;
  font-size: 13px;
}

.manage-wait-card {
  border: 1px solid #efefef;
  border-radius: 14px;
  background: #fff;
  padding: 14px 12px;
  display: grid;
  gap: 10px;
}

.manage-wait-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.manage-wait-head span {
  color: #252525;
  font-size: 19px;
}

.manage-wait-head strong {
  color: #252525;
  font-size: 37px;
}

.manage-wait-card p {
  margin: 0;
  color: #888;
  font-size: 15px;
  line-height: 1.9;
}

.manage-footer {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(480px, 100%);
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  z-index: 60;
}

.manage-footer-btn {
  border: 0;
  border-radius: 12px;
  min-height: 56px;
  font-size: 30px;
  font-weight: 700;
}

.manage-footer-btn.dark {
  background: #111c31;
  color: #fff;
}

.manage-footer-btn.danger {
  background: #e92432;
  color: #fff;
}

.manage-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 170ms ease;
  z-index: 72;
}

.manage-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.manage-sheet {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  z-index: 73;
  transition: transform 210ms ease;
}

.manage-sheet.show {
  transform: translateX(50%) translateY(0);
}

.manage-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #eee;
  margin: 2px auto 8px;
}

.manage-sheet-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.manage-sheet-head h3 {
  margin: 0;
  color: #252525;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}

.manage-sheet-icon {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #ef120e;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.manage-sheet-message {
  margin: 10px 0 0;
  text-align: center;
  color: #444;
  font-size: 16px;
  line-height: 1.9;
}

.manage-sheet-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.manage-sheet-btn {
  border: 0;
  border-radius: 12px;
  min-height: 56px;
  font-size: 29px;
  font-weight: 700;
}

.manage-sheet-btn.dark {
  background: #111c31;
  color: #fff;
}

.manage-sheet-btn.danger {
  background: #e92432;
  color: #fff;
}

.history-page {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: start;
  gap: 12px;
}

.history-head {
  display: flex;
  flex-direction:row-reverse;
  align-content:stretch;
  justify-content:space-between;
  align-self:stretch;
  flex:1;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}

.history-head h2 {
  margin: 0;
  text-align: center;
  color: #252525;
  font-size: 24px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.history-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 0;
}

.history-icon-btn img {
  width: 16px;
  height: 16px;
}

.history-icon-btn.arrow {
  background: transparent;
}

.history-icon-btn.arrow span {
  font-size: 24px;
  line-height: 1;
}

.history-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.history-filters button {
  border: 1px solid #ededed;
  background: #fff;
  color: #353535;
  border-radius: 22px;
  min-height: 34px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  
}

.history-filters button.active {
  border-color: #111c31;
  background: #111c31;
  color: #fff;
}

.history-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.history-row {
  border: 1px solid #efefef;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 12px;
  cursor: pointer;
}

.history-row-head {
  gap: 6px;
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items: center;
}

.history-row-head h3 {
  margin: 0;
  color: #252525;
  font-size: 20px;
  font-weight: 700;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 137.931% */
}

.history-row-head small {
  color: #a1a1a1;
  font-size: 14px;
}

.history-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.history-status-pill {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;

}

.history-status-pill.open {
  background: #faf2e1;
  color: #9f7d39;
}

.history-status-pill.queued {
  background: #faf2e1;
  color: #9f7d39;
}

.history-status-pill.partial {
  background: #f3f1ff;
  color: #4b3fa8;
}

.history-status-pill.filled {
  background: #eaf8f0;
  color: #0f8b5f;
}

.history-status-pill.closed {
  background: #f5f5f5;
  color: #a0a0a0;
}

.history-progress-box {
  display: grid;
  gap: 8px;
}

.history-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-progress-head small {
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 500;
}

.history-progress-head strong {
  color: #1f2c48;
  font-size: 13px;
  font-weight: 700;
}

.history-progress-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #edf0f6;
  overflow: hidden;
}

.history-progress-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d63ed 0%, #45b8ff 100%);
}

.history-progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.history-progress-meta span {
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.history-match-toggle {
  border: 1px solid #eceff5;
  background: #f8faff;
  color: #1f2c48;
  border-radius: 10px;
  min-height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.history-match-toggle small {
  color: #4d76dc;
  font-size: 11px;
}

.history-match-wrap {
  display: none;
  gap: 8px;
  margin-top: -2px;
}

.history-match-wrap.show {
  display: grid;
}

.history-match-item {
  border: 1px solid #eceff5;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  display: grid;
  gap: 6px;
}

.history-match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.history-match-head strong {
  color: #202020;
  font-size: 12.5px;
  font-weight: 700;
}

.history-match-head small {
  color: #8a8a8a;
  font-size: 11px;
}

.history-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.history-match-meta span {
  color: #676767;
  font-size: 11.5px;
  font-weight: 500;
}

.history-pnl {
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.history-pnl.up {
  color: #0f9d6b;
}

.history-pnl.down {
  color: #ef120e;
}

.history-pnl.neutral {
  color: #bbb;
}

.history-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 72;
}

.history-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.history-sheet {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(110%);
  bottom: 0;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  z-index: 73;
  transition: transform 220ms ease;
}

.history-sheet.show {
  transform: translateX(50%) translateY(0);
}

.history-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #eee;
  margin: 2px auto 8px;
}

.history-sheet-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 0px;
}

.history-sheet-copy h3 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.history-sheet-copy p {
  margin: 3px 0 0;
  color: #888;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.history-sheet-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.history-sheet-icon.buy {
  background: #0b6e4f;
}

.history-sheet-icon.sell {
  background: #ef120e;
}

.history-sheet-card {

  border-radius: 14px;
  background: #fcfcfb;
  padding: 12px;
  display: grid;
  gap: 10px;
  border-radius: 12px;
  background: #FCFAF7;

}

.history-sheet-grid,
.history-sheet-detail {
  display: grid;
  gap: 8px;
  overflow:hidden;
  border-radius:8px;
}

.history-sheet-grid div,
.history-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

}
.history-sheet-row{
  display: flex;
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.history-sheet-grid span,
.history-sheet-row span {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  text-align: right;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.history-sheet-grid strong,
.history-sheet-row strong {
  color: #252525;
  font-size: 30px;
  font-weight: 600;
  color: #252525;
  text-align: right;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.history-sheet-grid strong i {
  background: #111c31;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.history-sheet-detail {
  padding-top: 0px;
  background:#fff;
  margin-top:12px;
}


.history-sheet-row + .history-sheet-row {
  border-top: 1px solid #f1f1f1;
  padding-top: 8px;
  display:flex;
  padding: 16px;
  align-items: center;
  align-self: stretch;
  justify-content:space-between;
}

.history-sheet-row span img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.85;
}

.history-sheet-row strong.up {
  color: #0f9d6b;
}

.history-sheet-row strong.down {
  color: #ef120e;
}

.history-sheet-row strong.neutral {
  color: #555;
}

.history-sheet-id {
  text-align: center;
  color: #b5b5b5;
  font-size: 13px;
  margin-top: 4px;
}

.history-sheet-actions {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.history-sheet-actions.one {
  grid-template-columns: 1fr;
}

.history-sheet-actions.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-sheet-btn {
  border: 0;
  border-radius: 12px;
  min-height: 52px;
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.history-sheet-btn.dark {
  background: #161D27;
  color: #fff;
}

.history-sheet-btn.gold {
  background: #E6C88E;
  color: #222;
}

.form-stack {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
}

.form-stack.compact {
  gap: 8px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.segmented.leverage-segment {
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.segmented span {
  display: grid;
  place-items: center;
  border: 1px solid #d8deea;
  border-radius: var(--radius-md);
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}

.segmented input:checked + span {
  border-color: #8ba4da;
  background: #e8f0ff;
  color: #102243;
}

.range {
  width: 100%;
  accent-color: #365ea8;
}

.range-value {
  font-size: 12px;
  color: var(--muted);
}

.note-box {
  border: 1px dashed #cfd7e6;
  background: #f7faff;
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 12px;
  line-height: 1.9;
}

.danger-txt {
  color: var(--danger);
}

.success-txt {
  color: var(--success);
}

.trade-wrap {
  border: 1px solid #dde4f0;
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}

.trade-item {
  padding: 12px;
}

.trade-item header,
.trade-item footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-item header {
  margin-bottom: 10px;
}

.badge.up,
.badge.down {
  position: static;
  width: auto;
  height: auto;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
}

.badge.up {
  background: #1d9e67;
}

.badge.down {
  background: #d64e4e;
}

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

.trade-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 2px;
}

.trade-grid strong {
  font-size: 12px;
}

.trade-actions {
  border-top: 1px solid #eef2f8;
  padding: 10px 12px;
  display: flex;
  justify-content: flex-end;
}

.status {
  font-size: 11px;
  color: var(--muted);
}

.pnl.up {
  color: var(--success);
}

.pnl.down {
  color: var(--danger);
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  border: 1px solid #d9e1ef;
  background: #fff;
  color: #344157;
  border-radius: 12px;
  min-height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.tab-btn.active {
  color: #102243;
  background: #eaf0ff;
  border-color: #9bb1de;
}

.request-row,
.bank-row {
  border: 1px solid #e1e7f1;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.request-row strong,
.bank-row strong {
  font-size: 13px;
}

.request-row p,
.bank-row p,
.bank-row small {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.row-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ledger-row {
  border: 1px solid #e3e9f3;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ledger-row strong {
  font-size: 13px;
}

.ledger-row p,
.ledger-row small {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.ledger-row.up strong {
  color: var(--success);
}

.ledger-row.down strong {
  color: var(--danger);
}

.inline-note {
  border-radius: 10px;
  background: #fff8ec;
  border: 1px solid #f2ddb8;
  padding: 8px 10px;
  font-size: 12px;
  margin-bottom: 8px;
}

.inline-grid {
  display: grid;
  gap: 10px;
}

.inline-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.inline-message {
  min-height: 18px;
  font-size: 12px;
}

.profile-meta {
  display: grid;
  gap: 8px;
}

.profile-meta div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #e4e9f2;
  padding-bottom: 6px;
  font-size: 13px;
}

.profile-meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.twofa-setup {
  display: grid;
  gap: 10px;
}

.qr-img {
  width: min(220px, 72vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid #dde3ef;
  justify-self: center;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.notify-page {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  z-index: 132;
}

.notify-page-shell {
  width: min(480px, 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #FFF;
}

.notify-page-head {
  padding: calc(14px + env(safe-area-inset-top)) 14px 14px;
  display: flex;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.notify-page-head h3 {
  margin: 0;
  color: #252525;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.notify-head-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.notify-head-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.notify-chip-row {
  padding: 0 14px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.notify-chip-row::-webkit-scrollbar {
  display: none;
}

.notify-chip {
  background: transparent;
  white-space: nowrap;
  color: #252525;
  text-align: center;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 184.615% */
  display: flex;
  padding: 4px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: 2px solid #F5F5F5;
}

.notify-chip.active {
  border-color: #111c31;
  background: #111c31;
  color: #fff;
}

.notify-feed {
  flex: 1;
  overflow: auto;
  background: #fff;
}

.notify-row {
  border-top: 1px solid #F5F5F5;
  display: flex;
  padding: 16px 12px 16px 20px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  justify-content: space-between;
  flex-direction: row-reverse;
}
article.notify-row.unread {
    background: #f5f5f5;
}
.notify-row-main {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  text-align: right;
  display: grid;
  gap: 0px;
  flex: 1;
  align-items: stretch;
  align-self: stretch;
  position: relative;
}

.notify-row-main small {
  position: absolute;
  left: 0;
  color: #ADADAD;
  text-align: right;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 160% */
}

.notify-row-main h4 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 153.846% */
}

.notify-row-main .textrow {
  margin: 0;
  color: #adadad;
  font-size: 18px;
  /* line-height: 1.8; */
  display: flex;
  align-items: center;
  gap: 8px;
  /* flex-wrap: wrap; */
  /* width: calc(100% - 135px); */
  flex: 1;
  justify-content: space-between;
}

.notify-row-main .textrow p{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #999;
  text-align: right;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 230px;
}

.notify-row.unread .notify-row-main h4 {
  font-weight: 800;
}

.notify-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e61f1f;
  flex-shrink: 0;
}

.notify-row-plus {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #F5F5F5;
  color: #D9D9D9;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.notify-empty {
  margin: 40px 14px;
  border: 1px solid #ebebeb;
  background: #fff;
  border-radius: 14px;
  text-align: center;
  padding: 26px 16px;
}

.notify-empty h4 {
  margin: 0;
  color: #252525;
  font-size: 20px;
}

.notify-empty p {
  margin: 8px 0 0;
  color: #969696;
  font-size: 15px;
  line-height: 1.9;
}

.notify-flash {
  position: fixed;
  right: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translate(50%, calc(100% + 16px));
  width: min(430px, calc(100% - 28px));
  min-height: 68px;
  border-radius: 14px;
  background: #111c31;
  color: #fff;
  z-index: 136;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  padding: 0 52px 0 18px;
  box-shadow: 0 12px 22px rgba(7, 12, 22, 0.34);
}

.notify-flash.show {
  opacity: 1;
  transform: translate(50%, 0);
}

.notify-flash::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 3px 0 14px 0;
  background: #d8bc79;
}

.notify-flash strong {
  font-size: 26px;
  font-weight: 700;
}

.notify-flash-close {
  position: absolute;
  left: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.notify-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 133;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.notify-sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.notify-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  width: min(480px, 100%);
  transform: translateX(50%) translateY(110%);
  border-radius: 24px 24px 0 0;
  background: #fff;
  z-index: 134;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
  transition: transform 220ms ease;
}

.notify-sheet.show {
  transform: translateX(50%) translateY(0);
}

.notify-sheet-handle {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: #efefef;
  margin: 2px auto 14px;
}

.notify-sheet-head h4 {
  margin: 0;
  color: #252525;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.notify-sheet-head small {
  color: #ADADAD;
  text-align: right;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  margin-top: 0px;
}

.notify-sheet-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid #F5F5F5;
  display: grid;
  gap: 14px;
  max-height: min(35vh, 340px);
  overflow: auto;
}

.notify-sheet-body p {
  margin: 0;
  color: #666;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 19px; /* 152% */
  align-self: stretch;
}

.notify-sheet-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.notify-sheet-btn {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.notify-sheet-btn.dark {
  background: #161D27;
  color: #fff;
}

.notify-sheet-btn.gold {
  background: #E6C88E;
  color: #161D27;
}

.notify-list {
  display: grid;
  gap: 8px;
}

.notify-item {
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.notify-item.unread {
  background: #f7fbff;
  border-color: #c7d8f2;
}

.notify-item header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.notify-item p {
  margin: 7px 0;
  line-height: 1.8;
  font-size: 12px;
  color: #2f3a4f;
}

.empty-state {
  border: 1px dashed #cfd8e7;
  background: #f9fbff;
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 24px 14px;
}

.empty-state h4 {
  margin: 8px 0 0;
  font-size: 16px;
}

.empty-state p {
  margin: 8px auto 0;
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.empty-icon {
  color: #bcc7dc;
  font-size: 22px;
}

.sk-card {
  background: #fff;
  border: 1px solid #e4e8f1;
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.sk-line {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2f8 0%, #f7f9fc 45%, #eef2f8 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}

.sk-line:nth-child(2) {
  width: 75%;
}

.toast-root {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 140;
  width: min(420px, calc(100% - 22px));
  display: grid;
  gap: 10px;
}

.toast {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: all 220ms ease;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(9, 14, 26, 0.26);
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast.info {
  background: #19243b;
}

.toast.success {
  background: #145e45;
}

.toast.error {
  background: #7f1f2d;
}

.toast-body {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.toast-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 600;
  padding-inline-end: 20px;
}

.toast-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
  position: absolute;
  left: 12px;
}

.toast-close:active {
  transform: scale(0.96);
}

.toast-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.toast-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: right center;
  transform: scaleX(1);
  transition-property: transform;
  transition-timing-function: linear;
}

.toast.info .toast-progress-bar {
  background: linear-gradient(90deg, #e6c88e, #c2994a);
}

.toast.success .toast-progress-bar {
  background: linear-gradient(90deg, #9de2c4, #35bd86);
}

.toast.error .toast-progress-bar {
  background: linear-gradient(90deg, #f8b4b4, #ef5b5b);
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}

.modal-root.active {
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 34, 0.5);
}

.modal-sheet {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: 0;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  animation: sheetUp 220ms ease;
}

.modal-handle-wrap {
  display: grid;
  place-items: center;
  padding: 10px 0 2px;
}

.modal-handle {
  width: 66px;
  height: 5px;
  border-radius: 999px;
  background: #eef0f5;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: 16px;
}

.modal-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.modal-body {
  padding: 14px;
  max-height: min(58vh, 680px);
  overflow: auto;
}

.modal-foot {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.modal-text {
  margin: 0;
  line-height: 1.9;
  font-size: 13px;
  color: #2f3a4f;
}

.room-switch-sheet {
  max-height: min(72vh, 740px);
  border-radius: 22px 22px 0 0;
}

.room-switch-body {
  padding: 10px 14px calc(16px + env(safe-area-inset-bottom));
}

.room-switch-list {
  display: grid;
  gap: 10px;
}

.room-switch-item {
  border: 1px solid #dde3ed;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  text-align: right;
  cursor: pointer;
}

.room-switch-item.active {
  border-color: #d2b37f;
  background: #fff8ec;
}

.room-switch-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}

.room-switch-title strong {
  color: #1f2735;
  font-size: 14px;
  font-weight: 700;
}

.room-switch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #738099;
  font-size: 12px;
}

.room-switch-meta small {
  color: #8f9ab0;
}

.rules-sheet {
  max-height: min(82vh, 760px);
  border-radius: 22px 22px 0 0;
}

.rules-sheet .modal-body {
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
}

.rules-modal {
  display: grid;
  gap: 14px;
}

.rules-modal-head {

  border-bottom: 1px solid #f1f3f8;

  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
}

.rules-modal-head-copy h3 {
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 0px;
}

.rules-modal-head-copy p {
  margin: 0 0 0 0;
  color: #888;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.rules-modal-head-icon {
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  background: #161D27;
}

.rules-modal-head-icon img {
  /* width: 30px; */
  /* height: 30px; */
}

.rules-modal-content {
  max-height: min(44vh, 420px);
  overflow: auto;
  display: grid;
  gap: 14px;
  padding-inline-end: 2px;
}

.rules-modal-content p {
  margin: 0;
  color: #252525;
  text-align: right;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 168% */
}

.rules-block {
  display: grid;
  gap: 8px;
}

.rules-block h4 {
  margin: 0;
  color: #252525;
  font-family: ModamVF;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px;
}

.rules-modal-empty {
  color: var(--muted) !important;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sheetUp {
  from { transform: translateX(50%) translateY(12px); opacity: 0; }
  to { transform: translateX(50%) translateY(0); opacity: 1; }
}

.app-offline-screen {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(5px);
}

.app-offline-screen.show {
  display: flex;
}

.app-offline-card {
  width: min(420px, 100%);
  border-radius: 18px;
  border: 1px solid #dde5ef;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.app-offline-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: #eef5ff;
}

.app-offline-card h3 {
  margin: 0;
  font-size: 17px;
  color: #1f2937;
}

.app-offline-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
  font-size: 13px;
}

.app-offline-retry {
  border: 0;
  border-radius: 11px;
  background: #1f6feb;
  color: #fff;
  padding: 11px 12px;
  font-family: inherit;
  cursor: pointer;
}

.app-offline-retry:disabled {
  opacity: 0.6;
  cursor: default;
}

.version-update-copy {
  display: grid;
  gap: 10px;
  color: var(--text);
}

.version-update-copy p {
  margin: 0;
  line-height: 1.9;
  font-size: 13px;
}

.version-update-meta {
  color: var(--muted);
  font-size: 12px;
}

.version-notes-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 7px;
  font-size: 12px;
  color: #475467;
  line-height: 1.8;
}

.version-notes-empty {
  margin: 0;
  color: #98a2b3;
  font-size: 12px;
}
#notifyBadge {
  display: none;
}
@media (min-width: 900px) {
  .app-root,
  .auth-root,
  .boot-splash {
    border-right: 1px solid #e8ecf4;
    border-left: 1px solid #e8ecf4;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  }

  body {
    background: radial-gradient(900px 600px at 10% -20%, #fff7e3, transparent 48%),
      radial-gradient(900px 600px at 90% -20%, #e8f0ff, transparent 48%),
      #eef1f6;
  }
}

@media (max-width: 360px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .user-chip {
    max-width: 90px;
  }
}
