* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tajawal", "Segoe UI", Arial, sans-serif;
  background: #060b14;
  color: #e5e7eb;
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px 28px;
}

.home-dashboard {
  animation: fadeIn 0.25s ease;
}

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

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.menu-header-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
}

.menu-whale {
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
}

.wallet-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  border-radius: 20px;
  background: linear-gradient(145deg, #152238, #0f1829);
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
  min-height: 120px;
}

.wallet-hero-content {
  flex: 1;
  min-width: 0;
}

.wallet-hero-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 700;
}

.wallet-hero-icon {
  font-size: 16px;
}

.wallet-balance {
  margin: 10px 0 4px;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.wallet-usd {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.wallet-hero-graphic {
  flex-shrink: 0;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.22);
  display: grid;
  place-items: center;
}

.wallet-graphic-inner {
  font-size: 40px;
}

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

.menu-tile {
  border: 0;
  border-radius: 18px;
  background: #111a2b;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  color: #f1f5f9;
  aspect-ratio: 1;
  transition: transform 0.12s ease, background 0.12s ease;
}

.menu-tile:active {
  transform: scale(0.97);
  background: #16243a;
}

.menu-tile.sub-tile {
  width: 100%;
  aspect-ratio: auto;
  min-height: 56px;
  margin-bottom: 10px;
}

.tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tile-label {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.tile-signals .tile-icon {
  background: linear-gradient(145deg, #a855f7, #db2777);
}

.tile-ai .tile-icon {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
}

.tile-prices .tile-icon {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}

.tile-liquidity .tile-icon {
  background: linear-gradient(145deg, #14b8a6, #0f766e);
}

.tile-whales .tile-icon {
  background: linear-gradient(145deg, #f472b6, #c026d3);
}

.tile-tasks .tile-icon {
  background: linear-gradient(145deg, #facc15, #ca8a04);
}

.tile-learn .tile-icon {
  background: linear-gradient(145deg, #8b5cf6, #6d28d9);
}

.tile-news .tile-icon {
  background: linear-gradient(145deg, #64748b, #334155);
}

.tile-offers .tile-icon {
  background: linear-gradient(145deg, #10b981, #059669);
}

.tile-wallet .tile-icon {
  background: linear-gradient(145deg, #d97706, #92400e);
}

.tile-referrals .tile-icon {
  background: linear-gradient(145deg, #fbbf24, #d97706);
}

.tile-vip .tile-icon {
  background: linear-gradient(145deg, #f59e0b, #b45309);
}

.sub-page-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.sub-back-btn {
  flex-shrink: 0;
  border: 1px solid #355273;
  background: rgba(17, 34, 56, 0.9);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.sub-page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.sub-page-desc {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand {
  margin: 0 0 6px;
  color: #60a5fa;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

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

.subtitle {
  margin: 6px 0 0;
  color: #9aa9bf;
  font-size: 13px;
}

.live-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
}

.hero-card {
  border: 1px solid #2e4a6f;
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, rgba(26, 46, 74, 0.95), rgba(16, 28, 46, 0.94));
}

.hero-kicker {
  margin: 0 0 6px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.hero-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-tags span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
}

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

.stat-card {
  background: linear-gradient(180deg, rgba(15, 27, 46, 0.95), rgba(13, 21, 36, 0.9));
  border: 1px solid #2c4365;
  border-radius: 14px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.stat-label {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.stat-value {
  margin: 6px 0 0;
  font-weight: 700;
  font-size: 15px;
}

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

.screen-card {
  border: 1px solid #2a4060;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(10, 17, 29, 0.92));
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.selection-label {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.selection-value {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 16px;
}

.screen-hint {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

.prices-screen {
  margin: 0;
  padding: 0;
}

.sub-topbar,
.prices-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.sub-icon-btn,
.prices-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #f1f5f9;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.sub-icon-btn:active,
.prices-icon-btn:active {
  background: rgba(255, 255, 255, 0.06);
}

.sub-title,
.prices-title {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
}

.sub-title-icon,
.prices-title-icon {
  font-size: 18px;
}

.prices-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 46px;
  border-radius: 14px;
  background: #161c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.prices-search-icon {
  color: #64748b;
  display: flex;
  flex-shrink: 0;
}

.prices-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.prices-search-input::placeholder {
  color: #64748b;
}

.prices-search-hint {
  margin: 0 0 10px;
  padding: 0 4px;
  color: #64748b;
  font-size: 12px;
}

.prices-updated {
  margin: 0 0 8px;
  color: #475569;
  font-size: 11px;
}

.prices-card {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.market-list {
  display: flex;
  flex-direction: column;
}

.coin-row {
  width: 100%;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  border-radius: 0;
  padding: 12px 14px;
  font-family: inherit;
  color: inherit;
}

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

.coin-row:active {
  background: rgba(255, 255, 255, 0.03);
}

.coin-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.coin-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #1e293b;
}

.coin-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coin-icon-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #93c5fd;
}

.coin-rank {
  color: #60a5fa;
  font-size: 12px;
  min-width: 22px;
}

.coin-name-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.coin-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f8fafc;
}

.coin-symbol {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
}

.coin-spark-wrap {
  width: 64px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-sparkline {
  width: 64px;
  height: 32px;
  display: block;
}

.coin-price-wrap {
  text-align: left;
  flex-shrink: 0;
  min-width: 88px;
}

.coin-price {
  font-weight: 600;
  font-size: 14px;
  color: #f1f5f9;
}

.coin-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.coin-change.up {
  color: #2ebd85;
}

.coin-change.down {
  color: #f6465d;
}

.coin-change.flat {
  color: #94a3b8;
}

.market-empty {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.market-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding: 12px 8px;
}

.feature-section {
  border: 1px solid #2a4060;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(10, 17, 29, 0.92));
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

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

.feature-header h2 {
  margin: 0;
  flex: 1;
  font-size: 15px;
}

.feature-back-btn {
  flex-shrink: 0;
}

.feature-badge {
  font-size: 11px;
  font-weight: 800;
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background: rgba(34, 211, 238, 0.08);
  border-radius: 999px;
  padding: 4px 8px;
}

.task-list {
  display: grid;
  gap: 8px;
}

.task-item {
  border: 1px solid #233853;
  background: rgba(18, 30, 49, 0.75);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.task-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.task-sub {
  margin: 3px 0 0;
  color: #94a3b8;
  font-size: 11px;
}

.task-points {
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.channel-task-card {
  flex-direction: column;
  align-items: stretch;
}

.channel-task-card.task-completed {
  opacity: 0.72;
}

.channel-task-card.task-revoked {
  border-color: rgba(248, 113, 113, 0.45);
}

.channel-task-card.task-retry {
  border-color: rgba(52, 211, 153, 0.45);
}

.task-item-main {
  flex: 1;
  min-width: 0;
}

.task-item-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.task-hint {
  margin: 6px 0 0;
  color: #67e8f9;
  font-size: 11px;
  line-height: 1.4;
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.task-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.task-btn.ghost {
  color: #cbd5e1;
  border-color: #334155;
  background: rgba(15, 23, 42, 0.6);
}

.task-btn.primary {
  color: #0f172a;
  background: #22d3ee;
}

.task-btn.accent {
  color: #052e16;
  background: #34d399;
}

.task-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.task-btn.hidden {
  display: none;
}

.tasks-status-text {
  margin: 0 0 8px;
  min-height: 16px;
  color: #94a3b8;
  font-size: 11px;
}

.points-ledger-section {
  margin-top: 14px;
}

.points-ledger-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.points-ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #233853;
  border-radius: 10px;
  overflow: hidden;
}

.wallet-tx-empty {
  padding: 14px 12px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.wallet-screen {
  margin: 0;
  padding: 0;
}

.wallet-crypto-mini {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.wallet-portfolio-card {
  text-align: center;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, #121f3d, #0a1224);
  border: 1px solid rgba(168, 85, 247, 0.22);
  margin-bottom: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.wallet-portfolio-label {
  margin: 0 0 8px;
  color: #94a3b8;
  font-size: 13px;
}

.wallet-portfolio-cw {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #f8fafc;
}

.wallet-portfolio-equiv {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

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

.wallet-asset-card {
  padding: 12px 8px;
  border-radius: 16px;
  background: #0f1628;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.wallet-asset-usdt {
  border-color: rgba(38, 161, 123, 0.35);
  box-shadow: inset 0 0 24px rgba(38, 161, 123, 0.06);
}

.wallet-asset-ton {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: inset 0 0 24px rgba(59, 130, 246, 0.06);
}

.wallet-asset-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
}

.wallet-asset-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.wallet-asset-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
  background: #1e293b;
  color: #e2e8f0;
}

.wallet-asset-badge.usdt {
  background: rgba(38, 161, 123, 0.25);
  color: #6ee7b7;
}

.wallet-asset-badge.ton {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.wallet-asset-name {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
}

.wallet-asset-balance {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}

.wallet-asset-sub {
  margin: 2px 0 0;
  font-size: 10px;
  color: #64748b;
}

.wallet-withdraw-hint {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  text-align: center;
}

.wallet-withdrawals-card {
  background: #161c24;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.wallet-withdrawals-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wallet-withdrawals-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.wallet-withdrawals-list li:last-child {
  border-bottom: 0;
}

.wallet-withdraw-status.pending {
  color: #fbbf24;
}

.wallet-withdraw-status.paid {
  color: #34d399;
}

.wallet-withdraw-status.rejected {
  color: #f87171;
}

.wallet-withdraw-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.wallet-withdraw-modal.hidden {
  display: none;
}

.wallet-withdraw-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.wallet-withdraw-sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px 16px 28px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #121f3d, #060b14);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.wallet-withdraw-sheet h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #f8fafc;
}

.wallet-withdraw-sheet label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  color: #94a3b8;
}

.wallet-withdraw-sheet select,
.wallet-withdraw-sheet input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1628;
  color: #f8fafc;
  font-family: inherit;
  font-size: 15px;
}

.wallet-withdraw-min-hint {
  margin: -6px 0 10px;
  font-size: 11px;
  color: #64748b;
}

.wallet-withdraw-form-status {
  min-height: 18px;
  font-size: 13px;
  color: #fbbf24;
}

.wallet-withdraw-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  margin-top: 8px;
}

.wallet-withdraw-cancel,
.wallet-withdraw-submit {
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wallet-withdraw-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.wallet-withdraw-submit {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
}

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

.wallet-balance-card {
  text-align: center;
  padding: 22px 16px 20px;
  border-radius: 18px;
  background: #161c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.wallet-balance-label {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.wallet-balance-amount {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.wallet-balance-usd {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-action {
  border: 0;
  border-radius: 14px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  color: #f8fafc;
  background: #161c24;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-action:active {
  transform: scale(0.98);
}

.wallet-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
}

.wallet-action-icon-transfer {
  background: rgba(46, 189, 133, 0.18);
  color: #2ebd85;
}

.wallet-action-icon-withdraw {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.wallet-action-icon-deposit {
  background: rgba(251, 113, 133, 0.18);
  color: #fb7185;
}

.wallet-action-label {
  font-size: 13px;
  font-weight: 700;
}

.wallet-tx-card {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 14px 12px;
}

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

.wallet-tx-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}

.wallet-tx-badge {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.wallet-tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wallet-tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-tx-item:last-child {
  border-bottom: 0;
}

.wallet-tx-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.wallet-tx-icon.in {
  background: rgba(46, 189, 133, 0.16);
  color: #2ebd85;
}

.wallet-tx-icon.out {
  background: rgba(30, 41, 59, 0.9);
  color: #94a3b8;
}

.wallet-tx-main {
  flex: 1;
  min-width: 0;
}

.wallet-tx-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.wallet-tx-time {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.wallet-tx-amount {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.wallet-tx-amount.in {
  color: #2ebd85;
}

.wallet-tx-amount.out {
  color: #f6465d;
}

.wallet-tx-all-btn {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-tx-all-btn:active {
  background: rgba(255, 255, 255, 0.05);
}

.referrals-screen {
  margin: 0;
  padding: 0;
}

.referrals-title-icon {
  color: #4fd1c5;
}

.referral-link-card,
.referral-commission-card {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  margin-bottom: 12px;
}

.referral-link-label,
.referral-stat-label,
.referral-commission-label {
  margin: 0 0 8px;
  color: #94a3b8;
  font-size: 13px;
}

.referral-link-value {
  margin: 0 0 12px;
  color: #38bdf8;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
  direction: ltr;
  text-align: left;
}

.referral-copy-btn,
.referral-details-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.referral-copy-btn:active,
.referral-details-btn:active {
  background: rgba(255, 255, 255, 0.06);
}

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

.referral-stat-card {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.referral-stat-value {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  color: #f8fafc;
}

.referral-stat-value.accent {
  color: #4fd1c5;
}

.referral-commission-value {
  display: block;
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #f8fafc;
}

.referral-commission-hint {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.referral-details-panel {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  margin-bottom: 12px;
}

.referral-details-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.referral-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.referral-details-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.referral-details-item:last-child {
  border-bottom: 0;
}

.referral-details-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.referral-details-meta {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748b;
}

.referral-status-text {
  margin: 8px 0 0;
  text-align: center;
  color: #4fd1c5;
  font-size: 12px;
  min-height: 16px;
}

.whales-screen {
  margin: 0;
  padding: 0;
}

.whales-title-icon {
  font-size: 20px;
}

.whales-alert-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.whales-section-kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}

.whales-alert-toggle {
  border: 1px solid rgba(79, 209, 197, 0.35);
  background: rgba(79, 209, 197, 0.1);
  color: #4fd1c5;
  border-radius: 999px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.whales-alert-toggle.active {
  background: rgba(79, 209, 197, 0.22);
  border-color: rgba(79, 209, 197, 0.55);
}

.whales-feed-card {
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 0;
  margin-bottom: 12px;
}

.whales-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.whale-move-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whale-move-item:last-child {
  border-bottom: 0;
}

.whale-move-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e293b;
  display: grid;
  place-items: center;
}

.whale-move-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whale-move-body {
  flex: 1;
  min-width: 0;
}

.whale-move-headline {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.4;
}

.whale-move-source {
  margin: 4px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.whale-move-time {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.whales-view-all-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.whales-view-all-btn:active {
  background: rgba(255, 255, 255, 0.06);
}

.whales-status-text {
  margin: 8px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  min-height: 16px;
}

.signals-screen {
  margin: 0;
  padding: 0;
}

.signals-plan-badge {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.signals-plan-badge.vip {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.35);
  color: #fde68a;
}

.signals-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.signals-tab {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.signals-tab.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.45);
  color: #bfdbfe;
}

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

.signal-card {
  position: relative;
  background: linear-gradient(145deg, #161c24 0%, #121820 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px 14px 12px 18px;
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
  border-radius: 0 16px 16px 0;
}

.signal-card.long::before {
  background: linear-gradient(180deg, #22c55e, #16a34a);
}

.signal-card.short::before {
  background: linear-gradient(180deg, #f87171, #dc2626);
}

.signal-card.is-closed {
  opacity: 0.88;
}

.signal-card.signal-empty {
  text-align: center;
  padding: 24px 14px;
}

.signal-pair-wrap {
  min-width: 0;
}

.signal-date {
  margin: 2px 0 0;
  font-size: 10px;
  color: #64748b;
}

.signal-card.locked {
  opacity: 0.72;
  border-style: dashed;
}

.signal-card.content-locked,
.signal-card.preview-locked {
  border-style: dashed;
  border-color: rgba(251, 191, 36, 0.35);
}

.signal-card.preview-locked::before {
  background: linear-gradient(180deg, #64748b, #475569);
}

.signal-preview-locked {
  padding: 4px 0 8px;
}

.signal-pair-only {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  text-align: center;
}

.signal-preview-locked .signal-exchanges {
  justify-content: center;
}

.signal-unlock-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  text-align: center;
}

.signal-unlock-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #fde68a;
}

.signal-unlock-hint {
  margin: 0 0 10px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

.signal-unlock-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.signal-unlock-link {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.signal-unlock-link.vip {
  color: #fde68a;
}

.signal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.signal-pair {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}

.signal-side {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.signal-side.long {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.signal-side.short {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
}

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

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

.signal-targets-block {
  margin-bottom: 8px;
}

.signal-targets-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.signal-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal-target-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 72px;
  text-align: center;
}

.signal-targets-empty {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.signal-meta-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.signal-meta-label {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 2px;
}

.signal-meta-value {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
}

.signal-summary {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.signal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.signal-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.signal-tag.vip {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.35);
}

.signal-tag.status {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.signal-card.is-closed .signal-tag.status {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.signal-tag.result {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.signal-tag.result.win {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.signal-tag.result.loss {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.admin-field-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.signal-lock-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #fbbf24;
  font-weight: 700;
}

.signals-status-text {
  margin: 10px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  min-height: 16px;
}

.signal-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
}

.signal-header-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.signal-header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.signal-emoji {
  font-size: 22px;
  line-height: 1;
}

.signal-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.signal-exchanges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.signal-exchange-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.signal-exchange-tag.all {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}

.signal-date-inline {
  font-size: 10px;
  color: #64748b;
}

.signal-expand-icon {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.signal-card.expanded .signal-expand-icon {
  transform: rotate(180deg);
}

.signal-card-body {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-card.expanded .signal-card-body {
  display: block;
}

.signal-card.collapsible {
  padding-top: 12px;
}

.signal-image-thumb {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.signal-image-thumb img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-image-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

.signal-target-chip.hit {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.signal-target-chip.hit .signal-meta-value {
  color: #86efac;
}

.signal-tag.progress {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.signals-disclaimer-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.signals-disclaimer-btn:active {
  background: rgba(251, 191, 36, 0.28);
}

.signals-channel-link {
  display: block;
  margin: 0 14px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.signals-channel-link:active {
  background: rgba(14, 165, 233, 0.22);
}

.signals-disclaimer-dialog {
  width: min(92vw, 420px);
  max-height: 85vh;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 16px;
  background: #161c24;
  color: #e2e8f0;
  font-family: inherit;
}

.signals-disclaimer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.signals-disclaimer-dialog form {
  padding: 18px 16px 16px;
}

.signals-disclaimer-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: #fbbf24;
}

.signals-disclaimer-body {
  max-height: 55vh;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
}

.signals-disclaimer-body p {
  margin: 0 0 10px;
}

body.app-access-locked {
  overflow: hidden;
}

.app-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 10, 14, 0.92);
  backdrop-filter: blur(6px);
}

.app-access-card {
  width: min(360px, 100%);
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
  background: #161c24;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.app-access-icon {
  margin: 0 0 8px;
  font-size: 36px;
}

.app-access-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #f8fafc;
}

.app-access-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.signals-disclaimer-close {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.signal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.signal-lightbox.hidden {
  display: none;
}

.signal-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.signal-lightbox-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.admin-emoji-picks,
.admin-exchanges-block {
  margin-bottom: 12px;
}

.emoji-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.emoji-pick-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 18px;
  cursor: pointer;
}

.exchange-dropdown {
  position: relative;
  margin-top: 6px;
}

.exchange-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
}

.exchange-dropdown.open .exchange-dropdown-trigger {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.exchange-dropdown-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cbd5e1;
}

.exchange-dropdown-arrow {
  flex-shrink: 0;
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.exchange-dropdown.open .exchange-dropdown-arrow {
  transform: rotate(180deg);
  color: #93c5fd;
}

.exchange-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 40;
  background: #1a222d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  max-height: 240px;
  overflow-y: auto;
}

.exchange-dropdown-panel.hidden {
  display: none;
}

.exchange-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
}

.exchange-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.exchange-dropdown-item:has(input:checked) {
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}

.exchange-dropdown-item input {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.admin-image-label {
  display: block;
  margin-bottom: 12px;
}

.signal-image-preview {
  display: block;
  margin-top: 8px;
  max-width: 200px;
  max-height: 140px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-image-preview.hidden {
  display: none;
}

.target-progress-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 220px;
}

.admin-progress-label {
  margin: 4px 0 0;
  font-size: 10px;
  color: #86efac;
  font-weight: 700;
}

.admin-muted {
  color: #64748b;
  font-size: 12px;
}

.signal-admin-actions {
  white-space: nowrap;
}

.news-screen {
  margin: 0;
  padding: 0;
}

.news-title-icon {
  font-size: 18px;
}

.news-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  background: #161c24;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.news-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: right;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item:active {
  background: rgba(255, 255, 255, 0.03);
}

.news-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.news-source-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0f172a;
}

.news-time {
  font-size: 11px;
  color: #64748b;
}

.news-item-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.45;
}

.news-item-summary {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-status-text {
  margin: 8px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  min-height: 16px;
}

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

.wallet-card {
  border: 1px solid #233853;
  background: rgba(18, 30, 49, 0.75);
  border-radius: 10px;
  padding: 10px;
}

.wallet-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
}

.wallet-card strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.learn-list {
  display: grid;
  gap: 8px;
}

.learn-item {
  width: 100%;
  text-align: right;
  border: 1px solid #233853;
  background: rgba(18, 30, 49, 0.75);
  border-radius: 10px;
  padding: 10px;
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-family: inherit;
}

.learn-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.learn-thumb {
  width: 84px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #2f4d72;
  flex-shrink: 0;
}

.learn-item strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.learn-item span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 11px;
}

.learn-item .yt-tag {
  color: #f87171;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.learn-item.soon-item {
  cursor: default;
  opacity: 0.95;
}

.learn-item.soon-item .yt-tag {
  color: #fbbf24;
}

.hidden {
  display: none;
}

.chart-section {
  border: 1px solid #2a4060;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(10, 17, 29, 0.92));
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

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

.chart-back-btn {
  border: 1px solid #355273;
  background: rgba(17, 34, 56, 0.9);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.chart-title-wrap {
  text-align: left;
}

.chart-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.chart-subtitle {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 11px;
}

.timeframe-tabs {
  margin: 10px 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.timeframe-btn {
  border: 1px solid #355273;
  background: rgba(17, 34, 56, 0.9);
  color: #9fb2c9;
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
}

.timeframe-btn.active {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.5);
  background: rgba(34, 211, 238, 0.12);
}

.chart-container {
  width: 100%;
  height: 320px;
  border: 1px solid #233853;
  border-radius: 12px;
  overflow: hidden;
}

.coin-detail-panel,
.ai-signal-panel {
  margin-top: 12px;
  border: 1px solid #2a4060;
  background: rgba(12, 20, 34, 0.92);
  border-radius: 12px;
  padding: 10px;
}

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

.ai-q-btn,
.ai-quick-btn {
  border: 1px solid #355273;
  background: rgba(17, 34, 56, 0.9);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.ai-q-btn:active,
.ai-quick-btn:active {
  transform: scale(0.99);
}

.ai-input {
  width: 100%;
  margin: 10px 0 8px;
  border: 1px solid #355273;
  background: rgba(17, 34, 56, 0.9);
  color: #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  resize: vertical;
  min-height: 92px;
  font-family: inherit;
  font-size: 13px;
}

.ai-quick-grid {
  display: grid;
  gap: 8px;
}

.ai-response-box {
  margin-top: 10px;
  border: 1px solid #2f4d72;
  border-radius: 10px;
  background: rgba(14, 24, 40, 0.9);
  padding: 10px;
}

.ai-response-text {
  margin: 6px 0 0;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 18px;
  border: 1px solid #2a4060;
  background: rgba(8, 14, 24, 0.95);
  backdrop-filter: blur(6px);
}

.nav-item {
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: #9fb2c9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item.active {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}

.nav-home {
  position: relative;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
  pointer-events: none;
}

.feature-badge.vip {
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
}

.vip-status-text {
  margin: 0 0 10px;
  min-height: 16px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.vip-status-card {
  border: 1px solid #355273;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(18, 30, 49, 0.85);
}

.vip-status-card.is-active {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.12), rgba(18, 30, 49, 0.9));
}

.vip-status-label {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
}

.vip-status-title {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.vip-status-meta {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 12px;
}

.vip-section-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.vip-benefits-section,
.vip-plans-section {
  margin-bottom: 14px;
}

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

.vip-benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #233853;
  border-radius: 10px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.55);
}

.vip-benefit-icon {
  font-size: 18px;
  line-height: 1;
}

.vip-benefit-item p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.vip-benefit-en {
  margin-top: 3px !important;
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 500 !important;
}

.vip-plans-hint {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 11px;
}

.vip-plans-list {
  display: grid;
  gap: 10px;
}

.vip-plan-card {
  border: 1px solid #355273;
  border-radius: 14px;
  padding: 14px;
  background: rgba(18, 30, 49, 0.9);
}

.vip-plan-card.is-disabled {
  opacity: 0.65;
}

.vip-plan-head {
  margin-bottom: 8px;
}

.vip-plan-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
  font-size: 10px;
  font-weight: 700;
}

.vip-plan-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.vip-plan-name-en {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 11px;
}

.vip-plan-price {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #34d399;
}

.vip-plan-afford {
  margin: 4px 0 10px;
  color: #94a3b8;
  font-size: 11px;
}

.vip-plan-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(145deg, #f59e0b, #d97706);
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.vip-plan-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vip-plan-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.vip-price-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
}

.vip-price-pill.ton {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.vip-plan-pay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vip-plan-btn.usdt {
  background: linear-gradient(145deg, #22c55e, #15803d);
  color: #fff;
}

.vip-plan-btn.ton {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  color: #fff;
}

.vip-check-pay-btn {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #355273;
  border-radius: 8px;
  padding: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
}

.vip-payment-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.vip-price-pill.muted {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.vip-network-picker {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(53, 82, 115, 0.6);
}

.vip-network-title {
  margin: 0 0 8px;
  font-size: 11px;
  color: #94a3b8;
}

.vip-network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.vip-network-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 1px solid #355273;
  border-radius: 10px;
  padding: 8px;
  background: rgba(15, 26, 43, 0.9);
  color: #e2e8f0;
  font-size: 11px;
  cursor: pointer;
  text-align: right;
}

.vip-network-btn strong {
  font-size: 11px;
  font-weight: 800;
}

.vip-network-btn span {
  color: #64748b;
  font-size: 9px;
  line-height: 1.3;
}

.vip-network-btn.ton {
  border-color: rgba(56, 189, 248, 0.4);
}

.vip-payment-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.06);
}

.vip-payment-panel-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #fcd34d;
}

.vip-payment-panel-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: #cbd5e1;
}

.vip-pay-address-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.vip-pay-address {
  flex: 1;
  word-break: break-all;
  font-size: 10px;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px;
  border-radius: 8px;
}

.vip-copy-btn,
.vip-open-pay-btn {
  border: 1px solid #355273;
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(18, 30, 49, 0.95);
  color: #e2e8f0;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.vip-payment-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vip-open-pay-btn {
  background: linear-gradient(145deg, #22c55e, #15803d);
  border: none;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 420px) {
  .bottom-nav {
    left: 8px;
    right: 8px;
    gap: 4px;
    padding: 8px 5px;
  }

  .nav-item {
    font-size: 9px;
  }

  .wallet-grid {
    grid-template-columns: 1fr;
  }
}
