:root {
  --bg: #0b0e11;
  --bg-elevated: #12161c;
  --panel: #151a21;
  --panel-2: #1a212b;
  --line: #242c38;
  --line-soft: #1e2631;
  --text: #eaecef;
  --text-2: #9aa4b2;
  --text-3: #6b7685;
  --accent: #f7a600;
  --accent-2: #f0b90b;
  --green: #0ecb81;
  --green-bg: rgba(14, 203, 129, 0.12);
  --red: #f6465d;
  --red-bg: rgba(246, 70, 93, 0.12);
  --radius: 10px;
  --tabbar-h: 68px;
  --topbar-h: 56px;
}

html[data-theme="light"] {
  --bg: #f4f5f7;
  --bg-elevated: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef0f3;
  --line: #d9dee6;
  --line-soft: #e6e9ee;
  --text: #111827;
  --text-2: #5b6472;
  --text-3: #8a93a0;
}
html[data-theme="light"] body,
html[data-theme="light"] .auth-gate,
html[data-theme="light"] .auth-sheet,
html[data-theme="light"] .screen-trade,
html[data-theme="light"] #screen-profile {
  background: var(--bg);
  color: var(--text);
}

.totp-copy-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 8px 0 10px;
}
.totp-copy-row input {
  flex: 1;
  margin: 0;
  font-size: 13px;
  user-select: all;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}
body.auth-locked {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  background: rgba(11, 14, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}

/* BYBIT logo (готовая картинка) */

.bybit-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  user-select: none;
}
.bybit-mark-text {
  color: #fff;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.bybit-mark-i {
  width: 6px;
  height: 22px;
  margin: 0 5px;
  background: #F7A600;
  flex-shrink: 0;
  border-radius: 0.5px;
}
.bybit-mark-sm .bybit-mark-text { font-size: 17px; }
.bybit-mark-sm .bybit-mark-i { width: 5px; height: 17px; margin: 0 4px; }
.bybit-mark-xs .bybit-mark-text { font-size: 13px; }
.bybit-mark-xs .bybit-mark-i { width: 3.5px; height: 13px; margin: 0 3px; }

.bybit-logo-img {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
}
.bybit-logo-img-sm { width: 88px; }
.bybit-logo-img-xs { width: 72px; }
.admin-tag {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
  text-transform: uppercase;
}
main { padding: 12px 14px 32px; }
#screen-profile { padding: 0 0 40px; background: var(--bg); min-height: 100%; animation: none; }
.uc-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0 10px; position: sticky; top: 0; z-index: 5; background: var(--bg);
}
.uc-top h1 { margin: 0; font-size: 17px; font-weight: 700; flex: 1; text-align: center; }
.uc-top-right { display: flex; gap: 12px; color: var(--text); }
.uc-icon-btn { background: none; border: none; color: var(--text); padding: 4px; cursor: pointer; }
.uc-hero { display: flex; align-items: center; gap: 14px; padding: 8px 0 16px; }
.uc-avatar {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: var(--panel); flex-shrink: 0; border: none; padding: 0; cursor: pointer;
}
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-name { font-size: 22px; font-weight: 700; }
.uc-site {
  display: inline-block; margin-top: 6px; font-size: 11px; color: var(--text-2);
  background: var(--panel); border-radius: 999px; padding: 3px 10px;
}
.uc-protect {
  background: var(--panel); border-radius: 12px; padding: 14px 14px 12px; margin: 0 0 8px;
}
.uc-protect h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.uc-protect p { margin: 0 0 10px; font-size: 12px; color: var(--text-2); line-height: 1.45; }
.uc-protect-link { background: none; border: none; color: var(--accent); font-size: 13px; font-weight: 600; padding: 0; cursor: pointer; }
.uc-tabs {
  display: flex; gap: 18px; overflow-x: auto; padding: 10px 0 0;
  border-bottom: 1px solid var(--line); margin-bottom: 4px; -webkit-overflow-scrolling: touch;
}
.uc-tab {
  flex: 0 0 auto; background: none; border: none; color: var(--text-3); font-size: 14px;
  font-weight: 600; padding: 8px 0 10px; cursor: pointer; position: relative;
}
.uc-tab.active { color: var(--text); }
.uc-tab.active::after { display: none; }
.uc-sec-head { padding: 16px 0 6px; }
.uc-sec-head h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.uc-sec-head p { margin: 0; font-size: 12px; color: var(--text-2); }
.uc-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: none; border: none; color: inherit; text-align: left;
  padding: 14px 0; cursor: pointer; font: inherit;
  border-bottom: 1px solid var(--line-soft);
}
.uc-row .uc-ico { width: 22px; color: var(--text); flex-shrink: 0; display: grid; place-items: center; }
.uc-row .uc-label { flex: 1; font-size: 15px; }
.uc-row .uc-val { color: var(--text-2); font-size: 13px; max-width: 48%; text-align: right; }
.uc-chev { color: var(--text-3); font-size: 18px; }
.uc-toggle {
  width: 42px; height: 24px; border-radius: 999px; background: #2a3340; border: none; position: relative;
}
.uc-toggle.on { background: var(--accent); }
.uc-toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .15s;
}
.uc-toggle.on::after { transform: translateX(18px); }
.uc-logout {
  width: 100%; margin: 24px 0 8px; padding: 12px;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.uc-foot { padding: 16px 0; font-size: 12px; color: var(--text-3); line-height: 1.6; }
.uc-form { padding: 8px 0 16px; }
.uc-form input { width: 100%; margin: 6px 0 10px; }
.avatar-picker {
  position: fixed; inset: 0; background: var(--bg); z-index: 80; overflow: auto;
  padding: 12px 16px 90px;
}
.avatar-picker-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.avatar-picker-head h2 { margin: 0; flex: 1; text-align: center; font-size: 17px; }
.avatar-preview {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin: 8px auto 16px;
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.avatar-grid button {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid transparent;
  padding: 0; background: #1a1a1a; cursor: pointer;
}
.avatar-grid button.active { border-color: #f7a600; }
.avatar-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.assets-avatar img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
#screen-support { padding-bottom: 0; min-height: 0; }
#app-shell {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 56px);
}

.screen-hidden { display: none !important; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 12px;
}
.section-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pill {
  font-size: 11px;
  color: var(--accent);
  background: rgba(247, 166, 0, 0.12);
  border: 1px solid rgba(247, 166, 0, 0.25);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.ticker-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 4px;
  scrollbar-width: none;
}
.ticker-strip::-webkit-scrollbar { display: none; }
.ticker-chip {
  flex: 0 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 108px;
  animation: fadeUp 0.45s ease both;
}
.ticker-chip .sym { font-size: 12px; font-weight: 600; color: var(--text-2); }
.ticker-chip .px { font-size: 13px; margin-top: 2px; }
.ticker-chip .chg { font-size: 11px; margin-top: 2px; font-weight: 600; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.panel-title {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 600;
}

.quotes-list { display: flex; flex-direction: column; }
.quote-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  animation: fadeUp 0.4s ease both;
  width: 100%;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.quote-row:last-child { border-bottom: none; }
.quote-row:active { background: var(--panel-2); border-radius: 8px; }
.quote-row img {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel-2);
}
.quote-ico {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--accent);
}
.quote-name { font-weight: 600; font-size: 14px; }
.quote-full { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.quote-right { text-align: right; }
.quote-price { font-size: 14px; font-weight: 600; }
.chg-up { color: var(--green); }
.chg-down { color: var(--red); }
.chg-pill {
  display: inline-block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.chg-pill.up { background: var(--green-bg); color: var(--green); }
.chg-pill.down { background: var(--red-bg); color: var(--red); }

.news-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; width: 100%; overflow-x: hidden; }
.news-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 8px 0;
  margin: 0;
  border-radius: 8px;
  transition: background 0.15s;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.news-item:active { background: var(--panel-2); }
.news-item img {
  width: 64px; height: 48px; object-fit: cover; border-radius: 6px;
  background: var(--panel-2);
}
.news-title { font-size: 13px; font-weight: 550; line-height: 1.35; overflow-wrap: anywhere; word-break: break-word; }
.news-meta { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.balance-hero {
  background:
    linear-gradient(145deg, rgba(247, 166, 0, 0.16), transparent 50%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 12px;
  animation: fadeUp 0.5s ease both;
}
.balance-label { font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.balance-sub { margin-top: 6px; color: var(--text-3); font-size: 13px; }

.account-number {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.status-chip.pending {
  background: rgba(247, 166, 0, 0.12);
  color: var(--accent);
}
.muted { color: var(--text-2); font-size: 13px; line-height: 1.45; margin: 0; }
.empty { color: var(--text-3); font-size: 13px; padding: 8px 0; }

.actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(247, 166, 0, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.name-row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.badge {
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: var(--green-bg); color: var(--green); font-weight: 600;
}
.badge-hidden { display: none; }
.link-btn {
  background: none; border: none; color: var(--text-3);
  font-size: 12px; padding: 2px 0; cursor: pointer; text-decoration: underline;
  font-family: inherit;
}
.verify-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel-2); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 10px; font-size: 13px;
}

button, .btn-primary, .btn-secondary, .btn-ghost, .btn-accent-sm {
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
}
button:active { opacity: 0.85; transform: scale(0.99); }
.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}
.btn-secondary {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--line);
}
.btn-ghost.full, .btn-primary.full, .full { width: 100%; }
.btn-accent-sm {
  background: var(--accent);
  color: #111;
  padding: 6px 12px;
  font-size: 12px;
}

.back-btn {
  background: none; border: none; color: var(--text-2);
  font-size: 14px; margin-bottom: 8px; padding: 8px 0; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 36px;
}
.back-ico {
  width: 36px; height: 36px; border: none; border-radius: 10px;
  background: transparent; color: var(--text);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.assets-topbar-left { display: flex; align-items: center; gap: 8px; }
label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin: 12px 0 6px;
  font-weight: 500;
}
input, textarea, select {
  font-family: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  font-size: 15px;
  outline: none;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus { border-color: rgba(247, 166, 0, 0.55); }
.or-divider {
  text-align: center;
  color: var(--text-3);
  font-size: 11px;
  margin: 12px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hint { color: var(--text-3); font-size: 12px; margin-top: 8px; }
.error { color: var(--red); font-size: 12px; min-height: 16px; margin: 8px 0; }

.hist-screen { padding-top: 4px; }
.hist-top {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin: 0 0 8px;
}
.hist-top h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}
.hist-top-spacer { width: 36px; height: 36px; }
.hist-tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--line-soft);
  margin: 0 -4px 10px;
  padding: 0 4px 0;
  scrollbar-width: none;
}
.hist-tabs::-webkit-scrollbar { display: none; }
.hist-tab {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0 12px;
  position: relative;
  white-space: nowrap;
}
.hist-tab.active { color: var(--text); font-weight: 600; }
.hist-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px 2px 0 0;
}
.hist-filters { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.hist-filter {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 13px;
  padding: 6px 2px;
}
.hist-deposit-help {
  color: #f7a600;
  font-size: 12px;
  line-height: 1.4;
  margin: 4px 0 12px;
  cursor: pointer;
}
.hist-list { display: flex; flex-direction: column; }
.hist-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  color: inherit;
  text-align: left;
  font-family: inherit;
}
.hist-row:last-child { border-bottom: none; }
.hist-row-l { min-width: 0; }
.hist-row-r {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-shrink: 0;
}
.hist-row-r-inner { text-align: right; }
.hist-sym { font-weight: 600; font-size: 15px; }
.hist-title { font-weight: 600; font-size: 14px; }
.hist-time { color: var(--text-3); font-size: 12px; margin-top: 4px; }
.hist-type { color: var(--text-3); font-size: 12px; margin-top: 6px; }
.hist-amt { font-weight: 700; font-size: 15px; }
.hist-amt-pos { color: var(--green); }
.hist-amt-neg { color: var(--red); }
.hist-amt-plain { color: var(--text); }
.hist-bal { color: var(--text-3); font-size: 12px; margin-top: 8px; text-align: right; }
.hist-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px;
  margin-top: 4px;
  justify-content: flex-end;
}
.hist-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hist-chevron { color: var(--text-3); font-size: 16px; line-height: 1.2; margin-top: 2px; }
.hist-empty { color: var(--text-3); padding: 28px 0; text-align: center; font-size: 13px; }

.txd-hero { text-align: center; padding: 18px 0 22px; }
.txd-hero-label { color: var(--text-3); font-size: 13px; margin-bottom: 8px; }
.txd-hero-amt { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.txd-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  margin-top: 10px;
}
.txd-rows { display: flex; flex-direction: column; gap: 16px; padding: 8px 0 24px; }
.txd-kv {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 13px;
}
.txd-k { color: var(--text-3); flex-shrink: 0; }
.txd-v {
  text-align: right;
  color: var(--text);
  word-break: break-all;
  max-width: 68%;
  line-height: 1.45;
}
.txd-v-row { display: flex; align-items: flex-start; gap: 8px; justify-content: flex-end; max-width: 68%; }
.txd-copy {
  background: none; border: none; color: var(--text-3);
  padding: 0; cursor: pointer; flex-shrink: 0; font-size: 15px; line-height: 1;
}
.txd-explorer { margin-top: 8px; border-radius: 24px; padding: 14px; }

.chat-card {
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0;
}
.screen-support {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.screen-support.screen-hidden { display: none !important; }
.screen-support .back-btn,
.screen-support .section-head { flex-shrink: 0; }
body.kb-open .tabbar {
  transform: translateY(110%);
  pointer-events: none;
  visibility: hidden;
}
body.kb-open #app-shell {
  padding-bottom: 8px;
}
#app-shell.support-on {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
#app-shell.support-on .tabbar {
  display: none;
}
#app-shell.support-on main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
  padding: 12px 14px 8px;
}
body.kb-open #app-shell.support-on {
  padding-bottom: 8px;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 4px 12px;
}
.chat-composer {
  flex-shrink: 0;
  background: var(--panel);
  padding: 8px 0 4px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 40;
}
.msg { max-width: 82%; padding: 9px 11px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.msg-text { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.msg-user { align-self: flex-end; background: var(--accent); color: #111; }
.msg-admin { align-self: flex-start; background: var(--panel-2); }
.msg-img { display: block; max-width: 220px; max-height: 220px; border-radius: 8px; margin-top: 6px; }
.msg-file { display: inline-block; margin-top: 6px; color: inherit; text-decoration: underline; font-size: 12px; }
.attach-name { font-size: 12px; margin: 0 0 6px; word-break: break-all; }
.chat-input-row { display: flex; gap: 8px; margin-top: 0; align-items: flex-end; position: relative; }
.chat-input-row input[type="text"],
.chat-input-row textarea { flex: 1; }
.chat-input-row textarea {
  min-height: 44px;
  max-height: 128px;
  resize: none;
  line-height: 1.35;
  padding: 10px 12px;
  overflow-y: auto;
}
.chat-input-row button { width: 48px; flex-shrink: 0; padding: 0; min-height: 44px; }
.chat-attach-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); cursor: pointer; font-size: 18px;
}
input[data-amount] {
  font-variant-numeric: tabular-nums;
}

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--tabbar-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-radius: 0;
  backdrop-filter: none;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 30;
}
.tab {
  background: none;
  border: none;
  color: #7a7a7a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 2px 6px;
}
.tab .tab-ico { font-size: 16px; line-height: 1; display: grid; place-items: center; height: 22px; }
.tab .tab-ico svg { display: block; }
.tab.active { color: #fff; }

.actions-row.three { grid-template-columns: 1fr 1fr 1fr; }
.action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}
.action-ico {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(247,166,0,0.14);
  color: var(--accent);
  font-size: 16px;
}

/* —— Assets (Bybit-like) —— */
#screen-wallet { padding-top: 4px; padding-bottom: 24px; }
.assets-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.assets-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; padding: 0;
  background: linear-gradient(145deg, #2a3340, #1a212b);
  color: var(--text);
  font-weight: 700; font-size: 12px;
  display: grid; place-items: center;
  cursor: pointer;
}
.assets-icon-btn {
  width: 36px; height: 36px;
  border: none; border-radius: 10px;
  background: transparent; color: var(--text-2);
  display: grid; place-items: center; cursor: pointer;
}
.assets-overview { margin-bottom: 16px; }
.assets-label-row {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2); font-size: 13px; margin-bottom: 6px;
}
.assets-eye {
  border: none; background: transparent; color: var(--text-3);
  padding: 0; display: grid; place-items: center; cursor: pointer;
}
.assets-total-wrap {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.assets-total-left { min-width: 0; flex: 1; }
.assets-total-line {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap;
}
.assets-total-num {
  font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  min-width: 6.2ch;
}
.assets-ccy {
  font-size: 16px; font-weight: 600; color: var(--text);
}
.assets-ccy-caret { color: var(--text-3); font-size: 12px; }
.assets-btc {
  margin-top: 4px; font-size: 13px; color: var(--text-3);
}
.assets-pnl {
  display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap;
  margin-top: 8px; padding: 0; border: none; background: none;
  color: var(--text-2); font: inherit; font-size: 13px; cursor: pointer;
}
.assets-pnl .pnl-val { font-weight: 600; }
.assets-pnl .pnl-val.chg-up { color: var(--green); }
.assets-pnl .pnl-val.chg-down { color: var(--red, #f6465d); }
.pnl-chevron { color: var(--text-3); }
.assets-spark {
  width: 88px; height: 44px; flex-shrink: 0; margin-top: 6px; opacity: 0.95;
}
.assets-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 4px;
}
.assets-split-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.assets-split-val { font-size: 14px; font-weight: 600; }

.assets-card-banner {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: none; border-radius: 12px;
  background: linear-gradient(105deg, #d8dde6 0%, #b8c0cc 45%, #9aa3b0 100%);
  color: #1a1d24;
  font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.assets-card-left span { opacity: 0.55; margin-left: 2px; }
.assets-card-right {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.assets-mc {
  width: 28px; height: 18px; border-radius: 3px;
  background:
    radial-gradient(circle at 35% 50%, #eb001b 0 45%, transparent 46%),
    radial-gradient(circle at 65% 50%, #f79e1b 0 45%, transparent 46%),
    #fff;
  opacity: 0.95;
}

.assets-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 18px;
  width: 100%;
}
.assets-action {
  border: none; background: transparent; color: #eceff3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 2px; font: inherit; font-size: 11px; font-weight: 400;
  line-height: 1.25; cursor: pointer;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.assets-action > span:last-child {
  display: block;
  width: 100%;
  text-align: center;
  white-space: normal;
  overflow: hidden;
}
.assets-action-ico {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #262c35; color: #f4f6f8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.assets-action-ico svg { display: block; }
.assets-action-ico.primary { background: #f5a623; color: #111; box-shadow: none; }
.byx-act {
  width: 52px; height: 52px; border-radius: 50%;
  display: block; object-fit: cover; flex-shrink: 0;
  pointer-events: none;
}

.assets-promo {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12161c;
  color: inherit; font: inherit; cursor: pointer;
}
.assets-promo-logo {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
}
.assets-promo-text { flex: 1; font-size: 13px; color: var(--text); line-height: 1.35; font-weight: 500; }
.assets-promo-chevron { color: var(--text-3); font-size: 18px; }
.assets-promo-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #3a4554, #1e2631);
  color: var(--accent); font-size: 18px;
}
.assets-coin-logo {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
}
.card-visual {
  background: linear-gradient(135deg, #2a3340, #151a21 55%, #1a222c);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 12px;
  min-height: 110px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-visual-brand { font-weight: 800; letter-spacing: 0.12em; font-size: 13px; color: var(--accent); }
.card-visual-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-visual-num { font-size: 18px; letter-spacing: 0.08em; margin-top: 18px; }
.convert-from {
  padding: 10px 12px; border-radius: 8px; background: var(--panel-2);
  border: 1px solid var(--line); margin-bottom: 10px; font-weight: 600;
}
.convert-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 6px;
  margin-bottom: 12px;
}
.convert-side { padding: 4px 0 10px; }
.convert-side-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 10px;
  font-size: 13px; color: var(--text-3);
}
.convert-side-top .link-btn { color: var(--text-2); text-decoration: none; font-size: 12px; }
.convert-side-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.coin-pick {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px 8px 8px;
  color: var(--text); font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; flex-shrink: 0;
}
.coin-pick:disabled { opacity: 1; cursor: default; }
.coin-pick img, .coin-logo {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
}
.sheet-item .coin-logo { width: 28px; height: 28px; }
.coin-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #111; background: #F7931A;
}
.coin-caret { color: var(--text-3); font-size: 11px; margin-left: 2px; }
.convert-amt-wrap {
  display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; min-width: 0;
}
.convert-amt {
  width: 100%; max-width: 150px; text-align: right;
  background: transparent; border: none; color: var(--text);
  font: inherit; font-size: 20px; font-weight: 600; padding: 4px 0;
}
.convert-amt:focus { outline: none; }
.convert-max {
  border: none; background: none; color: var(--accent);
  font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; padding: 0;
}
.convert-out {
  font-size: 20px; font-weight: 600; color: var(--text-2); text-align: right;
}
.convert-swap-row {
  display: flex; justify-content: center; position: relative;
  height: 1px; background: var(--line-soft); margin: 4px 0 14px;
}
.convert-swap-ico {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0b0e11; border: 1px solid var(--line);
  color: var(--text-2); font-size: 14px;
  cursor: pointer; padding: 0; font: inherit;
}
.convert-swap-ico:active { transform: translateY(-50%) scale(0.94); }
.convert-extra { margin-top: 0; }
.net-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.net-chip {
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text-2);
  border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.net-chip.active {
  border-color: rgba(247,166,0,0.45); color: var(--accent);
  background: rgba(247,166,0,0.1);
}
.sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.sheet-card {
  position: relative; width: 100%; max-width: 480px;
  background: #151a21; border: 1px solid var(--line);
  border-radius: 16px 16px 0 0; padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  max-height: 70vh; overflow: auto;
}
.sheet-title { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.sheet-list { display: flex; flex-direction: column; gap: 4px; }
.sheet-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  padding: 10px; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.sheet-item.active, .sheet-item:active { background: var(--panel-2); border-color: var(--line); }
.geo-select {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.phone-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.phone-dial {
  flex: 0 0 auto;
  min-width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text-2);
  font-weight: 700;
  font-size: 14px;
}
.phone-row input {
  flex: 1;
  margin: 0 !important;
}
#country-sheet-search {
  margin-bottom: 10px;
}
.sheet-item-flag { font-size: 20px; width: 28px; text-align: center; }
.sheet-item-meta { margin-left: auto; color: var(--text-3); font-size: 13px; }

.earn-hero {
  display: flex; gap: 12px; align-items: center;
}
.earn-hero-title { font-weight: 700; font-size: 15px; }
.earn-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.earn-card {
  width: 100%; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; color: inherit; font: inherit; cursor: pointer;
}
.earn-card:active, .earn-card.selected { border-color: rgba(247,166,0,0.45); background: #1a212b; }
.earn-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.earn-card-title { font-weight: 700; }
.earn-card-apy { color: var(--green); font-weight: 700; font-size: 15px; }
.earn-card-desc { margin-top: 6px; font-size: 12px; color: var(--text-3); line-height: 1.4; }


.assets-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.assets-tabs { display: flex; gap: 16px; }
.assets-tab {
  border: none; background: none; padding: 0;
  font: inherit; font-size: 16px; font-weight: 600;
  color: var(--text-3); cursor: pointer;
}
.assets-tab.active { color: var(--text); }
.assets-section-tools { display: flex; gap: 12px; color: var(--text-3); font-size: 16px; }
.assets-tool-ico { position: relative; }
.assets-tool-ico.has-dot::after {
  content: '';
  position: absolute; top: -2px; right: -4px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}

.assets-coin-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0;
  width: 100%; border: none; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
  touch-action: pan-y;
}
.assets-coin-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.assets-coin-ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: #26a17b22;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: #26a17b;
  flex-shrink: 0;
}
.assets-coin-ico.usdt { background: #26a17b; color: #fff; }
.assets-coin-sym { font-weight: 700; font-size: 15px; }
.assets-coin-chg { font-size: 12px; margin-top: 2px; }
.assets-coin-right { text-align: right; }
.assets-coin-amt { font-size: 15px; font-weight: 700; }
.assets-coin-fiat { font-size: 12px; margin-top: 2px; }
.assets-account-panel { margin-top: 4px; }

@media (max-width: 360px) {
  .assets-total-num { font-size: 28px; }
  .assets-action { font-size: 11px; }
}


.profile-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  animation: fadeUp 0.45s ease both;
}
.avatar.xl { width: 64px; height: 64px; font-size: 20px; flex-shrink: 0; }
.kyc-pill {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--red-bg);
  color: var(--red);
}
.kyc-pill.approved { background: var(--green-bg); color: var(--green); }
.kyc-pill.pending { background: rgba(247,166,0,0.12); color: var(--accent); }

.info-list { margin-bottom: 12px; }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }
.info-row > span:first-child { color: var(--text-3); flex-shrink: 0; }
.info-row > span:last-child { text-align: right; word-break: break-word; }

.seg {
  display: flex;
  gap: 8px;
}
.seg.wrap { flex-wrap: wrap; }
.seg-btn {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
}
.seg-btn.active {
  background: rgba(247,166,0,0.14);
  border-color: rgba(247,166,0,0.45);
  color: var(--accent);
}

.deposit-result { margin-top: 16px; text-align: center; }
.deposit-qr {
  width: 168px; height: 168px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  margin: 0 auto 14px;
  display: block;
}
.deposit-addr {
  word-break: break-all;
  font-size: 13px;
  line-height: 1.4;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
}
.deposit-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 12px;
}

.kyc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.kyc-step {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--text-3);
}
.kyc-step.active, .kyc-step.done {
  background: rgba(247,166,0,0.16);
  border-color: var(--accent);
  color: var(--accent);
}
.kyc-line { width: 28px; height: 2px; background: var(--line); }
.upload-card {
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
}
.upload-label { font-size: 12px; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }
.upload-preview {
  min-height: 88px;
  border-radius: 8px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-size: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg);
}
.upload-preview img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  display: block;
}
.upload-btn { display: block; text-align: center; cursor: pointer; }
.kyc-done-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 8px auto 12px;
  display: grid; place-items: center;
  background: var(--green-bg); color: var(--green);
  font-size: 24px; font-weight: 700;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


.auth-gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0b0e11;
  padding: 0;
}
.auth-top {
  padding: 18px 18px 12px;
  display: flex;
  align-items: center;
}
.auth-gate,
body.auth-locked {
  background: var(--bg);
}
.auth-sheet {
  background: var(--bg);
  flex: 1;
  padding: 4px 18px 48px;
  color: var(--text);
}
.auth-sheet.light {
  background: var(--bg);
}
.auth-title {
  margin: 4px 0 18px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.auth-tabs { margin-bottom: 18px; }
.auth-gate label {
  margin-top: 14px;
  display: block;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.auth-gate input[type="text"],
.auth-gate input[type="email"],
.auth-gate input[type="tel"],
.auth-gate input[type="password"] {
  margin-top: 6px;
  background: #1a212b;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 14px;
  font-size: 15px;
}
.auth-gate input:focus {
  outline: none;
  border-color: rgba(247, 166, 0, 0.55);
}
.auth-check {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px !important;
  font-size: 12px !important;
  line-height: 1.45;
  color: var(--text-3) !important;
  font-weight: 400 !important;
  cursor: pointer;
}
/* прячем нативный чекбокс — иначе width:100% у input раздувает его на весь экран */
.auth-check input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}
.auth-box {
  flex: 0 0 14px;
  width: 14px !important;
  height: 14px !important;
  margin-top: 2px;
  border: 1.5px solid #F7A600;
  border-radius: 2px;
  background: transparent;
  box-sizing: border-box;
  position: relative;
}
.auth-check input[type="checkbox"]:checked + .auth-box {
  background: #F7A600;
}
.auth-check input[type="checkbox"]:checked + .auth-box::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 3px;
  height: 7px;
  border: solid #111;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.auth-check-text { flex: 1; min-width: 0; }
.auth-check a {
  color: #F7A600;
  text-decoration: none;
}
.auth-cta {
  margin-top: 18px !important;
  border-radius: 999px !important;
  padding: 14px 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
}
.auth-back {
  background: none;
  border: none;
  color: var(--text-2);
  padding: 0 0 8px;
  font-size: 14px;
  cursor: pointer;
}
.auth-forgot-link {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: none;
  border: none;
  color: #F7A600;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0 0;
}
.auth-alt-btn {
  margin-top: 10px !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
}
.auth-title-light {
  color: #fff;
  font-size: 28px;
  margin: 8px 0 16px;
}
.auth-bybit {
  color: #fff;
}
.auth-bybit label {
  color: #9aa4b2 !important;
}
.auth-gate .auth-bybit input[type="text"],
.auth-gate .auth-bybit input[type="email"],
.auth-gate .auth-bybit input[type="tel"],
.auth-gate .auth-bybit input[type="password"] {
  background: #1a212b;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
}
.auth-gate .geo-select,
.auth-gate .phone-dial {
  background: #1a212b;
  border-color: transparent;
  color: #fff;
}
.auth-gate .auth-bybit input:focus {
  border-color: #f7a600;
  background: #1a212b;
}
.bybit-tabs {
  display: flex;
  gap: 22px;
  margin: 0 0 14px;
  border-bottom: 1px solid #222;
}
.bybit-tab {
  background: none;
  border: none;
  padding: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  position: relative;
}
.bybit-tab.active {
  color: #fff;
}
.bybit-tab.active::after { display: none; }
.bybit-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #2a210f;
  color: #e8c48a;
  border-radius: 8px;
  padding: 12px 12px;
  font-size: 12px;
  line-height: 1.45;
  margin: 4px 0 8px;
}
.bybit-warn-ico {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f7a600;
  color: #111;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.sec-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 8px;
}
.sec-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ccc;
  flex: 0 0 22px;
}
.sec-copy {
  font-size: 13px;
  color: #c8c8c8;
  line-height: 1.45;
}
.sec-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #12161c;
  border: 1px solid #f7a600;
  border-radius: 8px;
  padding-right: 8px;
  margin-top: 6px;
}
.auth-gate .auth-bybit .sec-input-wrap input {
  flex: 1;
  margin-top: 0;
  border: none;
  background: transparent;
  padding-right: 4px;
}
.sec-send {
  position: static;
  transform: none;
  background: none;
  border: none;
  color: #f7a600;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  max-width: 46%;
  text-align: right;
  line-height: 1.25;
  padding: 0;
  flex: 0 0 auto;
}
.auth-gate .auth-bybit #seccheck-code {
  border: none;
  background: transparent;
}
#seccheck-next:disabled,
#seccheck-next[disabled] {
  opacity: 0.55;
  background: #ffd79a !important;
}
.auth-success {
  text-align: center;
  padding: 24px 0 8px;
  animation: fadeUp 0.4s ease both;
}
.auth-success h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.auth-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 8px auto 14px;
  display: grid; place-items: center;
  background: var(--green-bg); color: var(--green);
  font-size: 24px; font-weight: 700;
}
.auth-uid {
  margin: 12px auto 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.auth-loading {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-2);
}
.auth-spinner {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.home-hello {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 14px;
  animation: fadeUp 0.4s ease both;
}
.home-hello-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-hello-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.home-uid-chip {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-2);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.home-uid-chip:active { border-color: var(--accent); color: var(--accent); }

.home-banner {
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 12px;
  background:
    linear-gradient(135deg, rgba(247, 166, 0, 0.22), transparent 55%),
    linear-gradient(180deg, #1a212b, #12161c);
  border: 1px solid var(--line);
  animation: fadeUp 0.45s ease both;
}
.home-banner-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.home-banner-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 18em;
}
.home-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.home-banner-btn {
  flex: 1;
  margin: 0 !important;
  padding: 10px 12px;
  font-size: 13px;
}

.home-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 4px 0 18px;
  animation: fadeUp 0.5s ease both;
}
.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 2px;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.home-quick-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c222b;
  color: var(--text);
}
.home-quick-ico.primary { background: var(--accent); color: #111; }
.home-quick-item:active .home-quick-ico { transform: scale(0.96); }



.kyc-panel .kyc-summary-text { margin: 0 0 14px; }
.kyc-panel #open-kyc { margin-top: 0; }

.support-panel { padding: 14px; }
.support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.support-title { font-weight: 650; font-size: 15px; }
.support-row .btn-primary {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  margin: 0;
}

.wallet-gen { padding: 18px 8px 8px; }
.wallet-gen-spinner {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}
.wallet-gen-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.chart-panel { padding: 10px; overflow: hidden; }
#chart-canvas {
  width: 100%;
  height: 220px;
  display: block;
}

.ops-lock-banner {
  margin: 8px 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--red-bg);
  border: 1px solid rgba(246, 70, 93, 0.35);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.ban-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 14, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ban-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
}
.ban-card h2 { margin: 0 0 10px; font-size: 20px; }

.mc-logo {
  display: inline-flex;
  line-height: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}
.mc-logo svg { display: block; }
.assets-mc { display: none; }

.danger-btn { color: var(--red); border-color: rgba(246, 70, 93, 0.35); margin: 8px 0 24px; }
.totp-qr { width: 180px; height: 180px; margin: 8px auto; background: #fff; border-radius: 8px; overflow: hidden; }
.totp-qr svg { width: 100%; height: 100%; display: block; }

.flash-up { animation: flashUp 0.45s ease; }
.flash-down { animation: flashDown 0.45s ease; }
@keyframes flashUp { from { color: var(--green); } to { color: inherit; } }
@keyframes flashDown { from { color: var(--red); } to { color: inherit; } }

.screen {
  animation: screenIn 0.22s ease both;
}
.sheet {
  animation: sheetIn 0.28s ease both;
}

.quote-row img.quote-logo, .quote-row img.coin-logo {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--panel);
}
.quote-row { pointer-events: auto; min-height: 58px; }
.uc-initials {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--accent); color: #111; font-weight: 800; font-size: 22px;
  border-radius: 50%;
}
.uc-avatar { position: relative; }
.uc-avatar .uc-initials { position: absolute; inset: 0; }
.avatar-grid .uc-initials { position: static; width: 100%; aspect-ratio: 1; font-size: 16px; }

#app-shell.trade-on,
#app-shell.profile-on {
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 8px);
}
#app-shell.trade-on main,
#app-shell.profile-on main {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}
#app-shell.trade-on .screen-trade,
#app-shell.profile-on #screen-profile {
  padding-left: 16px;
  padding-right: 16px;
}

.screen-trade {
  padding: 0 0 8px;
  background: var(--bg);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  animation: none;
}
.trade-body { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
.trade-spot-fill { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.trade-scroll { flex: 1; overflow-x: hidden; overflow-y: auto; min-height: 0; padding-bottom: 8px; min-width: 0; }
.trade-products {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 10px;
  scrollbar-width: none;
  white-space: nowrap;
}
.trade-products::-webkit-scrollbar { display: none; }
.trade-prod {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0 8px;
}
.trade-prod.active {
  color: var(--text);
  font-weight: 700;
}

.trade-pair-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trade-pair-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  padding: 0;
}
.trade-pair-btn img { width: 22px; height: 22px; border-radius: 50%; }
.trade-pair-btn span { font-size: 12px; color: var(--text-3); margin-left: 2px; }
.trade-chg { font-size: 13px; font-weight: 700; }
.trade-chg.up { color: var(--green); }
.trade-chg.down { color: var(--red); }
.trade-mm {
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 1px 4px;
}
.trade-pair-icons { margin-left: auto; display: flex; gap: 10px; color: var(--text-3); font-size: 14px; }
.trade-subtabs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin: 10px 0 8px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.trade-sub {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13px;
  padding: 0 0 8px;
  white-space: nowrap;
}
.trade-sub.active {
  color: var(--text);
  font-weight: 700;
}
.trade-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.trade-last { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.trade-last.up { color: var(--green); }
.trade-last.down { color: var(--red); }
.trade-usd { font-size: 12px; margin-top: 2px; color: var(--text-3); }
.trade-ohlc { font-size: 11px; color: var(--text-3); text-align: right; line-height: 1.55; }
.trade-ohlc b { color: var(--text); font-weight: 600; margin-left: 8px; }
.trade-ticker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-2);
  background: var(--panel);
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
}
.trade-ticker span:last-child { overflow: hidden; text-overflow: ellipsis; }
.trade-tf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  font-size: 12px;
  scrollbar-width: none;
}
.trade-tf-label { color: var(--text-3); }
.trade-tf {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 2px;
}
.trade-tf.active { color: var(--text); }
.trade-ma-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  margin: 4px 0 2px;
}
.trade-ma-legend .ma7 { color: var(--accent); }
.trade-ma-legend .ma14 { color: #5b9cf6; }
.trade-ma-legend .ma28 { color: #e56b9a; }
.trade-chart-wrap {
  position: relative;
  flex: 1;
  min-height: 220px;
  height: 36vh;
  max-height: 420px;
  overflow: hidden;
  touch-action: none;
  border-radius: 8px;
  background: var(--bg);
}
#trade-canvas { width: 100%; height: 100%; display: block; }
.trade-actions {
  position: static;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}
.trade-buy, .trade-sell, .trade-qty {
  border: none;
  border-radius: 10px;
  padding: 10px 8px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
}
.trade-buy { background: var(--green); color: #fff; }
.trade-sell { background: var(--red); color: #fff; }
.trade-qty { background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.trade-qty-input {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  text-align: center;
  font-size: 12px !important;
  margin: 0 !important;
  padding: 8px 4px !important;
}
.trade-buy small, .trade-sell small, .trade-qty small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
}
.trade-pair-sheet {
  position: fixed;
  inset: 0;
  background: rgba(11,14,17,.72);
  z-index: 40;
  display: flex;
  align-items: flex-end;
}
.trade-pair-sheet-inner {
  background: var(--bg-elevated);
  width: 100%;
  max-height: 72vh;
  overflow: auto;
  border-radius: 16px 16px 0 0;
  padding: 12px 14px 80px;
}
.trade-extra { margin-top: 8px; }

.cv-top { display: flex; gap: 18px; margin: 4px 0 12px; border-bottom: 1px solid var(--line); }
.cv-mode { background: none; border: none; color: var(--text-3); font-weight: 700; padding: 0 0 8px; }
.cv-mode.active { color: var(--text); font-weight: 700; }
.cv-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0 0;
  width: 100%;
  box-sizing: border-box;
}
.cv-row-label { font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.linkish { background: none; border: none; color: var(--accent); font-weight: 700; }
.cv-pair { display: flex; justify-content: space-between; align-items: center; color: var(--text-3); font-size: 13px; }
.cv-asset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text);
  border-radius: 0;
  padding: 4px 0;
  font-weight: 700;
  font-size: 16px;
}
.cv-asset img { width: 22px; height: 22px; border-radius: 50%; }
.cv-box input { width: 100%; background: transparent; border: none; color: var(--text); font-size: 22px; padding: 8px 0; }
.cv-swap {
  width: 32px; height: 32px; margin: 0; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  padding: 0; position: relative; z-index: 1;
}
.cv-swap svg { display: block; }
.ico-chev { width: 12px; height: 12px; opacity: 0.7; flex-shrink: 0; }
.cv-out { font-size: 22px; font-weight: 700; min-height: 32px; color: var(--text); }
.cv-rate { font-size: 12px; color: var(--text-3); margin: 8px 0; }
.cv-go {
  width: 100%;
  margin-top: 18px;
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 16px;
  font-weight: 800;
  font-size: 16px;
}
.cv-pct { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.cv-pct button { background: var(--panel-2); border: none; color: var(--text-2); border-radius: 8px; padding: 6px 8px; font-size: 12px; }
.cv-pct button.active { background: var(--accent); color: #111; }
.cv-orders { margin-top: 16px; }
.cv-orders-h { font-weight: 700; margin-bottom: 8px; }

.fut-grid { display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 8px; flex: 1; min-height: 0; }
.fut-form label { font-size: 11px; color: var(--text-3); }
.fut-form input { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px; margin: 4px 0 8px; }
.fut-row2 { display: flex; gap: 8px; margin-bottom: 6px; }
.fut-chip { flex: 1; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px; }
.fut-pct { display: flex; gap: 4px; margin-bottom: 8px; }
.fut-pct button { flex: 1; background: var(--panel); border: none; color: var(--text-2); border-radius: 6px; padding: 6px 0; font-size: 11px; }
.fut-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.fut-book { font-size: 11px; }
.fut-book .ask { color: var(--red); display: flex; justify-content: space-between; }
.fut-book .bid { color: var(--green); display: flex; justify-content: space-between; }
.fut-mark { font-size: 16px; font-weight: 800; padding: 6px 0; }
.fut-pos { margin-top: 10px; }
.pos-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.opt-target { font-size: 32px; font-weight: 800; color: var(--green); margin: 8px 0; }
#opt-slider { width: 100%; }
.opt-sc { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; gap: 8px; }
.opt-sc button { background: var(--accent); border: none; border-radius: 8px; padding: 6px 10px; font-weight: 700; color: #111; }
.alpha-head { margin: 4px 0 14px; }
.alpha-head-row { display: flex; align-items: center; justify-content: space-between; }
.alpha-head-title { font-size: 14px; color: var(--text-2); font-weight: 500; }
.alpha-chev { color: var(--text-3); }
.alpha-bal { font-size: 32px; font-weight: 800; margin: 6px 0 4px; letter-spacing: -0.03em; }
.alpha-pnl {
  background: none; border: none; color: var(--text-3); font-size: 13px;
  padding: 0; display: flex; align-items: center; gap: 4px;
}
.alpha-sec-h { font-size: 16px; font-weight: 700; margin: 8px 0 10px; }
.alpha-snip, .alpha-farms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.alpha-card {
  background: var(--panel);
  border-radius: 12px;
  padding: 10px;
  text-align: left;
  border: none;
  color: inherit;
  font-family: inherit;
  width: 100%;
}
.alpha-card-tag { font-size: 11px; color: var(--text-3); margin-bottom: 8px; }
.alpha-card-name {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-weight: 700; font-size: 15px;
}
.alpha-pop {
  background: rgba(14, 203, 129, 0.16);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 6px;
}
.alpha-card-px { margin-top: 8px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.alpha-card-foot { font-size: 11px; color: var(--text-3); margin-top: 8px; line-height: 1.35; }
.alpha-spark { width: 56px; height: 22px; display: block; margin-top: 6px; }
.alpha-farm-pair { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.alpha-pair-ico {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.alpha-pair-ico .coin-logo {
  position: absolute;
  width: 70% !important;
  height: 70% !important;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-2);
  border: 1.5px solid var(--bg);
}
.alpha-pair-ico .coin-logo:first-child { left: 0; top: 0; z-index: 1; }
.alpha-pair-ico .coin-logo:last-child { right: 0; bottom: 0; z-index: 2; }
.alpha-farm-metrics { margin-top: 10px; font-size: 13px; font-weight: 600; }
.alpha-farm-metrics span { color: var(--text-3); font-weight: 500; margin-left: 6px; }
.alpha-mkt-bar { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.alpha-mkt-tab {
  background: none; border: none; color: var(--text-3); font-size: 15px; font-weight: 600; padding: 6px 0;
}
.alpha-mkt-tab.active { color: var(--text); }
.alpha-mkt-tools { margin-left: auto; display: flex; gap: 8px; }
.alpha-tool { background: none; border: none; color: var(--text-2); font-size: 16px; padding: 4px; }
.alpha-search {
  width: 100%; margin-bottom: 8px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); border-radius: 8px; padding: 8px 10px; font-size: 13px;
}
.alpha-chips { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 8px; scrollbar-width: none; }
.alpha-chips::-webkit-scrollbar { display: none; }
.alpha-chip {
  flex: 0 0 auto; background: transparent; border: none; color: var(--text-3);
  font-size: 13px; padding: 6px 10px; border-radius: 999px;
}
.alpha-chip.active { background: var(--panel-2); color: var(--text); font-weight: 600; }
.alpha-cols {
  display: flex; justify-content: space-between; color: var(--text-3); font-size: 11px; margin: 4px 0 2px;
}
.alpha-row {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; color: inherit; font-family: inherit;
  padding: 12px 0; text-align: left; gap: 10px;
}
.alpha-row-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.alpha-row-meta { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.alpha-row-r { text-align: right; flex-shrink: 0; }
.alpha-row-px { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.alpha-chg {
  display: inline-block; min-width: 78px; text-align: center;
  padding: 7px 8px; border-radius: 8px; font-weight: 700; font-size: 13px; color: #fff;
}
.alpha-chg.up { background: #0ecb81; color: #0b0e11; }
.alpha-chg.down { background: #f6465d; color: #fff; }
.alpha-star { color: var(--text-3); background: none; border: none; font-size: 16px; padding: 0 4px 0 0; }
.alpha-star.on { color: var(--accent); }
.tnews-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
  max-width: 100%;
}
.ov-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.ov-metrics div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.ov-metrics b { text-align: right; overflow-wrap: anywhere; }
.data-tf { display: flex; gap: 8px; margin-bottom: 10px; }
.data-tf button { background: var(--panel); border: none; color: var(--text-3); border-radius: 8px; padding: 6px 10px; }
.data-tf button.active { color: var(--text); background: var(--panel-2); }
.flow-bar { height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 4px 0 8px; }
.flow-bar i { display: block; height: 100%; }
.byx-tabs {
  display: flex; gap: 16px; overflow-x: auto; margin: 16px 0 10px;
  border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.byx-tabs::-webkit-scrollbar { display: none; }
.byx-tab {
  background: none; border: none; color: var(--text-3);
  font-size: 15px; font-weight: 600; padding: 8px 0 10px; white-space: nowrap;
  position: relative;
}
.byx-tab.active { color: var(--text); }
.byx-tab.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff;
}
.byx-feed { position: relative; padding-bottom: 56px; }
.byx-post { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.byx-head { display: flex; align-items: center; gap: 10px; }
.byx-who { flex: 1; min-width: 0; }
.byx-who b { display: block; font-size: 14px; }
.byx-who span { color: var(--text-3); font-size: 12px; }
.byx-ver { color: #3b82f6; font-size: 12px; }
.byx-more { background: none; border: none; color: var(--text-3); font-size: 18px; }
.byx-av {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0;
  overflow: hidden; background: var(--panel-2);
}
.byx-av-empty { background: #3a3f48; }
.byx-title { font-weight: 700; margin: 8px 0 6px; font-size: 15px; line-height: 1.35; }
.byx-body { font-size: 14px; color: var(--text); line-height: 1.45; }
.byx-orig { color: var(--text-3); }
.byx-tag {
  display: inline-block; margin-top: 8px; background: var(--panel-2); color: var(--text-2);
  border-radius: 999px; padding: 4px 8px; font-size: 12px;
}
.byx-media {
  width: 100%; margin-top: 10px; border-radius: 12px; height: auto;
  max-height: none; object-fit: contain; display: block;
  background: #0b0e11; aspect-ratio: 720 / 320;
}
.byx-media-banner { aspect-ratio: 800 / 360; object-fit: cover; }
.byx-coin {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: var(--panel-2); border-radius: 999px; padding: 4px 8px; font-size: 12px; color: var(--text-2);
}
.byx-bar {
  display: flex; gap: 18px; margin-top: 10px; color: var(--text-3); font-size: 13px; align-items: center;
}
.byx-act { background: none; border: none; color: inherit; font: inherit; padding: 0; }
.byx-act.on { color: var(--accent); }
.byx-fab {
  position: fixed; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%; border: none; z-index: 30;
  background: #f7a600; color: #111; box-shadow: 0 8px 20px rgba(247,166,0,.35);
  display: grid; place-items: center; padding: 0;
}
.byx-fab svg { width: 22px; height: 22px; display: block; }
.byx-sheet {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55);
  display: grid; align-items: end;
}
.byx-sheet[hidden] { display: none !important; }
.byx-sheet-card {
  background: #121417; border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.byx-sheet-h { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.byx-sheet-card textarea {
  width: 100%; background: #1b1e24; color: #fff; border: 1px solid #2a313c;
  border-radius: 12px; padding: 12px; resize: vertical; font: inherit;
}
.byx-sheet-act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.byx-sheet-act button { border: none; border-radius: 10px; padding: 10px 14px; }
#byx-sheet-cancel { background: #2a313c; color: #fff; }
.promo-card { background: var(--panel); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.promo-art { width: 100%; height: 168px; object-fit: cover; display: block; background: #1a1d24; }
.promo-body { padding: 12px; }
.promo-title { font-weight: 700; font-size: 16px; }
.promo-sub { color: var(--text-2); font-size: 13px; margin: 6px 0 10px; }
.promo-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; }
.promo-join {
  background: #3a3f48; color: #fff; text-decoration: none; border-radius: 999px; padding: 8px 12px; font-weight: 600;
}
.fc-card { background: var(--panel); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.fc-q { font-weight: 700; margin: 6px 0 10px; }
.fc-row { display: flex; gap: 10px; align-items: flex-start; }
.fc-donut {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: var(--green);
  background: conic-gradient(#0ecb81 0 87%, #2a313c 0);
}
.fc-people { color: var(--text-3); font-size: 12px; margin: 8px 0; }
.fc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fc-yes, .fc-no {
  border: none; border-radius: 10px; padding: 12px; font-weight: 700; color: #fff;
}
.fc-yes { background: #166534; }
.fc-no { background: #7f1d1d; }
.fc-yes.on, .fc-no.on { outline: 2px solid #fff; }
.fc-opt {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--panel-2); border: none; color: inherit; border-radius: 10px; padding: 10px; margin: 6px 0;
}
.fc-opt.on { outline: 1px solid var(--accent); }
.fc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-right { margin-left: auto; }
.byx-cmt { display: flex; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.byx-cmt-h { font-weight: 700; margin: 16px 0 8px; }
.byx-cmt-in { background: var(--panel-2); border-radius: 999px; padding: 10px 12px; color: var(--text-3); margin-bottom: 8px; }
.byx-cmt-form { display: flex; gap: 8px; margin-bottom: 12px; }
.byx-cmt-form input {
  flex: 1; background: var(--panel-2); border: none; color: var(--text);
  border-radius: 999px; padding: 10px 14px; font: inherit;
}
.byx-cmt-form button {
  border: none; background: #f7a600; color: #111; border-radius: 999px;
  padding: 10px 14px; font-weight: 700;
}
.byx-cmt-meta { color: var(--text-3); font-size: 12px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.byx-cmt-meta button { background: none; border: none; color: var(--text-3); font: inherit; padding: 0; }
.byx-cmt-meta button.on { color: var(--accent); }
.byx-cmt-reply { color: var(--text-3); font-size: 12px; margin: 0 0 8px; }
.byx-cmt.reply { padding-left: 20px; }
.byx-author { background: #f97316; color: #111; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 1px 4px; }
.byx-share { color: var(--text-3); font-size: 13px; margin: 12px 0; }
.byx-news-tl { position: relative; padding-left: 52px; }
.tl-day { font-weight: 700; margin: 8px 0; margin-left: -52px; }
.tl-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 10px 0;
  text-decoration: none; color: inherit; position: relative;
}
.tl-item::before {
  content: ''; position: absolute; left: -36px; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.tl-time { color: var(--text-3); font-size: 12px; }

.news-pills { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 10px; }
.news-pills button { background: var(--panel); border: none; color: var(--text-3); border-radius: 16px; padding: 6px 10px; white-space: nowrap; font-size: 12px; }
.news-pills button.active { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes screenIn {
  from { opacity: 0.65; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.cv-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 12px;
  border-bottom: 1px solid var(--line);
}
.cv-top-modes { display: flex; gap: 18px; }
.cv-top-tools { display: flex; gap: 8px; padding-bottom: 6px; }
.cv-tool { background: none; border: none; color: var(--text-2); font-size: 16px; }
.cv-avail-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.cv-avail-row .linkish { font-weight: 500; color: var(--text-2); font-size: 13px; }
.cv-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.cv-asset { flex-shrink: 0; }
.cv-amt-side { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; min-width: 0; }
#trade-body-convert #cv-amount,
#trade-body-convert #cv-limit-price {
  -webkit-appearance: none;
  appearance: none;
  text-align: right;
  font-size: 22px;
  font-weight: 600;
  width: auto;
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--text);
  outline: none;
}
#trade-body-convert #cv-amount:focus,
#trade-body-convert #cv-limit-price:focus { border: none; box-shadow: none; }
.cv-swap-row {
  position: relative;
  height: 40px;
  margin: 6px 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-swap-row::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid var(--line-soft);
}
.cv-limit-px { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.cv-limit-px input { text-align: right; }
.cv-max { background: none; border: none; color: var(--accent); font-weight: 800; white-space: nowrap; flex-shrink: 0; font-size: 14px; }
.cv-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin: 10px 0 4px; font-size: 12px; color: var(--text-3); }
.cv-fee { text-align: right; flex-shrink: 0; }
.cv-fee b { color: var(--green); margin-right: 4px; }
.cv-out { text-align: right; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 22px; font-weight: 600; }
.cv-oneclick { display: block; width: 100%; background: none; border: none; color: var(--text-3); font-size: 12px; margin: 10px 0 4px; text-align: center; }
.cv-details-card { padding-bottom: 28px; }
.sheet-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cv-x { background: none; border: none; color: var(--text-2); font-size: 22px; }
.cv-d-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--text-3); gap: 12px; }
.cv-d-asset { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.cv-d-asset b { font-size: 16px; margin-left: 8px; }
.cv-fee-pill { background: rgba(14,203,129,.12); color: var(--green); border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.cv-success {
  position: fixed; inset: 0; z-index: 80; background: #0b0e11;
  overflow: auto; padding: 48px 16px 32px;
}
.cv-success-inner { max-width: 420px; margin: 0 auto; text-align: center; }
.cv-success-check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 28px; color: var(--green);
  border: 2px solid var(--green); background: rgba(14,203,129,.08);
}
.cv-success-box {
  text-align: left; background: var(--panel); border-radius: 12px; padding: 8px 14px; margin: 18px 0;
}
.cv-bots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cv-bot { background: var(--panel); border: none; border-radius: 12px; padding: 12px; text-align: left; color: inherit; font: inherit; }
.cv-bot-h { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.cv-bot-apr { font-size: 18px; font-weight: 800; }
.cv-bot-apr.up { color: var(--green); }
.cv-bot-apr.down { color: var(--red); }

.card-screen { padding-bottom: 24px; }
.bb-phys-banner {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  width: 100%; background: #3a2a12; color: #f3d19a; border: none; border-radius: 8px;
  padding: 10px 12px; font: inherit; font-size: 12px; text-align: left; margin-bottom: 12px;
}
.bb-phys-link { color: var(--accent); white-space: nowrap; font-weight: 700; }
.bb-invite-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; }
.bb-new-card { background: var(--accent); color: #111; border: none; border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.bb-card-face {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 188px;
  background: linear-gradient(160deg, #f7f8fa 0%, #e4e7ee 42%, #cfd4dc 100%);
  color: #1a1d22; padding: 16px 16px 14px; margin-bottom: 16px;
}
.bb-card-brand { font-weight: 800; letter-spacing: 0.14em; font-size: 18px; }
.bb-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bb-card-kind { font-size: 12px; opacity: 0.7; }
.bb-card-wave {
  position: absolute; inset: 20% -10% auto; height: 90px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.55), transparent 70%);
  pointer-events: none;
}
.bb-card-mid { display: flex; align-items: center; gap: 8px; margin-top: 54px; font-size: 20px; letter-spacing: 0.08em; }
.bb-card-eye { background: none; border: none; color: #333; padding: 4px; }
.bb-card-bot { display: flex; align-items: flex-end; gap: 18px; margin-top: 18px; }
.bb-card-bot .mc-logo { margin-left: auto; }
.bb-card-micro { font-size: 10px; opacity: 0.55; text-transform: uppercase; }
.bb-card-prepaid { position: absolute; right: 16px; top: 40px; font-size: 12px; opacity: 0.55; }
.bb-card-status { padding: 8px 0 16px; }
.bb-bal-row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 12px; }
.bb-bal-num { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.bb-topup { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.bb-pay-row { width: 100%; background: none; border: none; color: var(--text-2); text-align: left; padding: 0 0 14px; }
.bb-icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.bb-ico-btn { background: none; border: none; color: var(--text); font: inherit; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bb-ico-btn span { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 18px; }
.bb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.bb-tile { background: var(--panel); border: none; border-radius: 12px; padding: 12px; text-align: left; color: inherit; font: inherit; }
.bb-tile-val { font-size: 20px; font-weight: 800; margin: 6px 0; }
.bb-cash-base { display: inline-block; background: #5a3a12; color: var(--accent); font-size: 11px; border-radius: 6px; padding: 3px 6px; }
.bb-earn-on { font-size: 11px; font-weight: 800; color: var(--green); }
.bb-tx-h { font-weight: 800; margin: 8px 0 10px; }
.bb-tx-list { display: flex; flex-direction: column; gap: 2px; }
.bb-tx-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.bb-tx-name { font-weight: 700; }
.bb-tx-meta { font-size: 12px; color: var(--text-3); }

.wd-sheet-title { font-size: 16px; font-weight: 800; margin: 8px 0 12px; }
.wd-method {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--panel); border: none; color: inherit; font: inherit;
  border-radius: 14px; padding: 14px; margin-bottom: 10px;
}
.wd-method-copy { flex: 1; min-width: 0; }
.wd-method b { display: block; }
.wd-method .muted, .wd-card-pick .muted { display: block; font-size: 12px; margin-top: 3px; line-height: 1.35; }
.wd-method-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--panel-2); color: var(--text);
}
.wd-search-row { margin: 2px 0 4px; }
.wd-search-row input,
#screen-withdraw #wd-coin-search {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--panel);
  border: none;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
}
.wd-hide-zero {
  display: flex; gap: 10px; align-items: center;
  background: none; border: none; color: var(--text-2);
  font: inherit; font-size: 13px; padding: 8px 0 4px; margin: 4px 0 8px;
  width: auto; text-align: left;
}
.wd-check {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid #6b7685; background: transparent; position: relative;
}
.wd-check.on {
  background: var(--accent); border-color: var(--accent);
}
.wd-check.on::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #111; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wd-coin-list { display: flex; flex-direction: column; }
.wd-coin-list .assets-coin-row { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.wd-coin-name { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.wd-card-pick {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--panel); border: none; color: inherit; font: inherit;
  border-radius: 16px; padding: 14px; margin-bottom: 10px;
}
.wd-feat-plastic {
  width: 108px; height: 68px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(160deg, #f7f8fa 0%, #e4e7ee 42%, #cfd4dc 100%);
  color: #1a1d22; padding: 8px 9px; position: relative; overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.wd-feat-top { display: flex; justify-content: space-between; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.wd-feat-kind { font-weight: 500; letter-spacing: 0; opacity: 0.5; }
.wd-feat-wave {
  position: absolute; inset: 28% -20% auto; height: 36px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.6), transparent 70%);
  pointer-events: none;
}
.wd-feat-pan { font-size: 9px; letter-spacing: 0.08em; margin-top: 18px; position: relative; }
.wd-feat-plastic .mc-logo { position: absolute; right: 6px; bottom: 5px; }
.wd-field {
  display: flex; align-items: center; gap: 4px;
  background: #1c2128; border-radius: 10px; padding: 0 8px 0 0; min-height: 52px;
}
#screen-withdraw .wd-field input {
  flex: 1; width: auto; min-width: 0;
  background: transparent; border: none; color: var(--text);
  padding: 14px 12px; font-size: 14px;
}
#screen-withdraw .wd-field input::placeholder { color: #6b7280; }
.wd-field-ico {
  background: none; border: none; color: #9aa4b2; padding: 8px; display: grid; place-items: center;
}
#screen-withdraw select {
  background: #1c2128; border: none; border-radius: 10px;
  color: var(--text); padding: 14px 12px; min-height: 52px;
}
.wd-field.wd-amt-box, #wd-step-card .wd-amt-box {
  display: flex; align-items: center; gap: 8px;
  background: #1c2128; border-radius: 10px; padding: 0 8px 0 0; min-height: 52px;
}
.wd-acc-box { margin: 14px 0 8px; }
.wd-acc-h {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; color: var(--text); font: inherit; font-size: 14px;
  padding: 8px 0; text-align: left;
}
.wd-acc-head-right { display: flex; align-items: center; gap: 8px; color: var(--text); }
.wd-acc-plus {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid #6b7685;
  display: grid; place-items: center; font-size: 14px; line-height: 1; color: #9aa4b2;
}
.wd-acc {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 0; margin: 0; border-radius: 0;
  background: none; border: none; color: inherit; font: inherit; text-align: left;
}
.wd-acc.on { background: none; border: none; }
.wd-acc:disabled { opacity: 0.45; }
.wd-acc .mono { margin-left: auto; }
.wd-box-check {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid #6b7685; position: relative;
}
.wd-box-check.on {
  background: var(--accent); border-color: var(--accent);
}
.wd-box-check.on::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #111; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wd-details { margin-top: 10px; }
.wd-details-h { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.wd-limit-link {
  display: block; width: 100%; text-align: right; background: none; border: none;
  color: var(--accent); font: inherit; font-size: 13px; padding: 8px 0;
}
.wd-help { color: var(--accent); font-size: 13px; margin: 4px 0 12px; }
.wd-confirm-amt { font-size: 28px; font-weight: 800; margin-top: 8px; }
.wd-c-addr { max-width: 58%; word-break: break-all; text-align: right; }
.wd-s-status { color: var(--accent); font-weight: 700; }
.wd-foot {
  position: sticky; bottom: 0; background: var(--bg);
  padding: 10px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  margin-top: 12px;
}
.wd-foot-fee { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.wd-foot-row { display: flex; align-items: center; gap: 10px; }
.wd-got { font-size: 16px; font-weight: 700; }
.wd-settings { background: none; border: none; color: var(--accent); font: inherit; font-weight: 700; white-space: nowrap; }
.wd-go {
  flex: 1; background: #f7a600; color: #111; border: none;
  border-radius: 999px; padding: 14px 18px; font-weight: 800; font-size: 15px;
}
.wd-channel-card { background: #12151a; }
.wd-ch-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; background: #1c2128; border: none; color: inherit; font: inherit;
  border-radius: 12px; padding: 16px; margin-top: 10px;
}
.wd-ch-row b { display: block; font-size: 16px; }
.wd-ch-row .muted { display: block; margin-top: 4px; font-size: 12px; }
#screen-withdraw { padding-bottom: 28px; }
#screen-withdraw select, #screen-withdraw input[type="text"], #screen-withdraw input[type="search"] {
  width: 100%;
}
#screen-withdraw .wd-field input,
#screen-withdraw .wd-amt-box input {
  width: auto;
}
