﻿
/* Responsive box-sizing */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
/**
 * ============================================================
 * Evergate Crypto Theme v2.0
 * Modern Dark Cyberpunk Design System
 * Replaces: mui.css + public.css + own.css + index.css + all page CSS
 * ============================================================
 */

/* ── CSS Variables / Design Tokens (Light Theme) ── */
:root {
  --bg-deep: #f5f6fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fc;
  --bg-card-solid: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.96);
  --bg-input: #f5f7fa;
  --bg-tab: #f0f2f5;
  --bg-toast: rgba(0, 0, 0, 0.88);

  --accent-cyan: #1677ff;
  --accent-cyan-dim: rgba(22, 119, 255, 0.08);
  --accent-cyan-glow: rgba(22, 119, 255, 0.2);
  --accent-green: #52c41a;
  --accent-green-dim: rgba(82, 196, 26, 0.08);
  --accent-purple: #722ed1;
  --accent-gold: #fa8c16;
  --accent-red: #ff4d4f;
  --accent-orange: #fa8c16;

  --text-primary: #1a1a2e;
  --text-secondary: #595959;
  --text-muted: #999;
  --text-on-accent: #ffffff;

  --border-subtle: #f0f0f0;
  --border-glass: #e8e8e8;
  --border-input: #d9d9d9;
  --border-focus: rgba(22, 119, 255, 0.4);

  --positive: #52c41a;
  --negative: #ff4d4f;
  --warning: #fa8c16;
  --info: #1677ff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Consolas", monospace;

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 12px rgba(22, 119, 255, 0.15);
  --shadow-glow-green: 0 0 12px rgba(82, 196, 26, 0.15);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 60px;
  --header-height: 44px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }
body { overflow: hidden; }
html { font-size: 13px!important; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* No dark glow needed for light theme */
body::before { display: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* ── Layout ── */
.main-app { display: flex; flex-direction: column; height: 100vh; position: relative; z-index: 1; }
.app-header { flex-shrink: 0; height: var(--header-height); }
.app-content { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.app-nav { flex-shrink: 0; height: var(--nav-height); }

/* ── Header Bar ── */
.header-bar {
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  position: relative;
  z-index: 100;
}
.header-bar .back-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 1.1rem;
  transition: all var(--transition-fast);
}
.header-bar .back-btn:active { background: rgba(0,0,0,0.05); color: var(--text-primary); }
.header-bar .header-title {
  flex: 1; text-align: center; font-size: 1.05rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: 0.03em;
}
.header-bar .header-right { display: flex; align-items: center; gap: 8px; }

/* ── Public Header (login/register pages) ── */
.public-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
}
.public-header .back-btn { color: var(--text-secondary); cursor: pointer; font-size: 1.1rem; }
.public-header .header-title { flex: 1; text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--text-primary); }

/* ── Glass Card ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}
.glass-card:hover { box-shadow: var(--shadow-card-hover); border-color: #d0d0d0; }
.glass-card.flat { background: var(--bg-card-solid); backdrop-filter: none; }

/* ── Data Card ── */
.data-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.data-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-green), transparent);
  opacity: 0.5;
}
.data-card .card-label {
  font-size: 0.72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.data-card .card-value {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); letter-spacing: -0.02em;
}
.data-card .card-sub { font-size: 0.72rem; color: var(--text-secondary); margin-top: 4px; }

/* ── Stat Row ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}
.stat-row.col2 { grid-template-columns: 1fr 1fr; }
.stat-row.col3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Bottom Navigation ── */
.bottom-nav {
  height: var(--nav-height);
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.nav-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; height: 100%; cursor: pointer;
  color: var(--text-muted); text-decoration: none !important;
  font-size: 0.62rem; transition: all var(--transition-normal);
  position: relative;
}
.nav-tab .nav-icon { font-size: 1.25rem; transition: all var(--transition-normal); }
.nav-tab.active { color: var(--accent-cyan); }
.nav-tab.active .nav-icon { text-shadow: 0 0 12px var(--accent-cyan-glow); }
.nav-tab:active { background: rgba(22,119,255,0.05); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border: none; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition-normal);
  text-decoration: none; gap: 6px; letter-spacing: 0.02em;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent-cyan);
  color: var(--text-on-accent); box-shadow: 0 2px 8px rgba(22,119,255,0.25);
}
.btn-primary:hover { box-shadow: 0 4px 16px rgba(22,119,255,0.4); }
.btn-primary:active { box-shadow: 0 1px 4px rgba(22,119,255,0.2); }

.btn-outline {
  background: transparent; color: var(--accent-cyan);
  border: 1px solid rgba(22,119,255,0.3);
}
.btn-outline:hover { border-color: var(--accent-cyan); background: rgba(22,119,255,0.06); }

.btn-gray {
  background: #f5f5f5; color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-gray:hover { background: #eee; color: var(--text-primary); }

.btn-danger {
  background: var(--accent-red);
  color: #fff; box-shadow: 0 2px 8px rgba(255,77,79,0.2);
}

.btn-success {
  background: var(--accent-green);
  color: #fff; box-shadow: 0 2px 8px rgba(82,196,26,0.2);
}

.btn-gold {
  background: var(--accent-gold);
  color: #fff; box-shadow: 0 2px 8px rgba(250,140,22,0.2);
}

.btn-sm { padding: 6px 12px; font-size: 0.76rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
.btn:disabled, .btn.disabled { opacity: 0.4; pointer-events: none; }

/* ── Inputs ── */
.input-group {
  position: relative;
}
.input-group .input-label {
  display: block; font-size: 0.72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.form-input {
  width: 100%; height: 44px;
  background: var(--bg-input); color: var(--text-primary);
  border: 1px solid var(--border-input); border-radius: var(--radius-md);
  padding: 0 14px; font-family: var(--font-body); font-size: 0.92rem;
  transition: all var(--transition-normal); outline: none;
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-cyan-dim); }
.form-input::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-input.icon-left { padding-left: 40px; }
.form-input.icon-right { padding-right: 40px; }
.input-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1rem; pointer-events: none;
}
.input-icon.left { left: 12px; }
.input-icon.right { right: 12px; }

/* Select */
.form-select {
  width: 100%; height: 44px;
  background: var(--bg-input); color: var(--text-primary);
  border: 1px solid var(--border-input); border-radius: var(--radius-md);
  padding: 0 14px; font-family: var(--font-body); font-size: 0.92rem;
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23586b84' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}

/* Textarea */
.form-textarea {
  width: 100%; background: var(--bg-input); color: var(--text-primary);
  border: 1px solid var(--border-input); border-radius: var(--radius-md);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.92rem;
  outline: none; resize: vertical; min-height: 80px;
}
.form-textarea:focus { border-color: var(--border-focus); }

/* Checkbox */
.checkbox-group {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  color: var(--text-secondary); font-size: 0.82rem;
}
.checkbox-box {
  width: 18px; height: 18px; border: 2px solid var(--border-input); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.checkbox-box.checked { background: var(--accent-cyan); border-color: var(--accent-cyan); }
.checkbox-box.checked::after {
  content: '✓'; color: var(--text-on-accent); font-size: 0.65rem; font-weight: 700;
}

/* ── Auth Pages (Login/Register) ── */
.auth-page {
  display: flex; flex-direction: column; min-height: 100vh;
  background: linear-gradient(to top, #ffffff 0%, #e8f4fd 40%, #d0eafb 70%, #b8ddf7 100%);
  position: relative; z-index: 1;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.auth-page .public-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(180, 210, 240, 0.3);
}
.auth-bg {
  position: fixed; inset: 0; z-index: 0;
  background: var(--bg-deep);
  pointer-events: none;
}
.auth-container {
  flex: 1; display: flex; flex-direction: column;
  align-items: center;
  padding: 20px 20px 40px; position: relative; z-index: 1;
  max-width: 400px; margin: 0 auto; width: 100%;
}
.auth-form {
  margin: auto 0;
  width: 100%;
}
.auth-page .landing-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: #ffffff;
  margin-top: 40px;
}
.auth-logo { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 20px; }
.auth-logo-img { width: 140px; height: auto; margin-bottom: 16px; display: block; margin-left: auto; margin-right: auto; border: none; outline: none; border-radius: 0; box-shadow: none; background: none; }
  background: var(--accent-cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 4px 16px rgba(22,119,255,0.2);
}
.auth-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.auth-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }
.auth-form { width: 100%; display: flex; flex-direction: column; gap: 14px; margin: auto 0; }
.auth-form .form-row { display: flex; gap: 10px; }
.auth-form .form-row > * { flex: 1; }
.auth-footer { margin-top: 24px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent-cyan); text-decoration: none; font-weight: 500; }
.auth-footer a:active { opacity: 0.7; }

/* SMS send button */
.sms-btn {
  height: 44px; padding: 0 16px; white-space: nowrap;
  background: var(--accent-cyan-dim); color: var(--accent-cyan);
  border: 1px solid rgba(0,229,255,0.2); border-radius: var(--radius-md);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-normal);
  min-width: 90px;
}
.sms-btn:active { background: rgba(0,229,255,0.25); }
.sms-btn.counting { color: var(--text-muted); background: rgba(0,0,0,0.04); }

/* ── Tables ── */
.data-table {
  width: 100%; border-collapse: collapse; font-size: 0.78rem;
}
.data-table th {
  text-align: left; padding: 10px 12px;
  color: var(--text-muted); font-weight: 500; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,0,0,0.02); }
.data-table .amount { font-family: var(--font-mono); color: var(--text-primary); font-weight: 500; }
.data-table .positive { color: var(--positive); }
.data-table .negative { color: var(--negative); }

/* ── Tabs ── */
.tab-bar {
  display: flex; background: var(--bg-tab);
  border-radius: var(--radius-md); padding: 3px; gap: 2px;
  border: 1px solid var(--border-glass);
}
.tab-btn {
  flex: 1; padding: 8px 0; text-align: center; cursor: pointer;
  border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted); transition: all var(--transition-normal);
  border: none; background: transparent; font-family: var(--font-body);
}
.tab-btn.active { background: var(--accent-cyan-dim); color: var(--accent-cyan); font-weight: 600; }
.tab-btn:active:not(.active) { background: rgba(0,0,0,0.03); }

/* ── Lists ── */
.list-item {
  display: flex; align-items: center; padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px; transition: background var(--transition-fast);
}
.list-item:active { background: rgba(0,0,0,0.03); }
.list-item .list-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border-radius: var(--radius-sm); flex-shrink: 0; }
.list-item .list-body { flex: 1; min-width: 0; }
.list-item .list-title { font-size: 0.88rem; color: var(--text-primary); font-weight: 500; }
.list-item .list-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.list-item .list-right { text-align: right; flex-shrink: 0; }
.list-item .list-arrow { color: var(--text-muted); font-size: 0.8rem; }

/* ── Team List ── */
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.team-card .team-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.team-card .team-info { flex: 1; min-width: 0; }
.team-card .team-name { font-size: 0.88rem; color: var(--text-primary); font-weight: 500; }
.team-card .team-detail { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; display: flex; gap: 10px; }
.team-card .team-stats { text-align: right; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); }
.team-card .team-level {
  padding: 2px 8px; border-radius: 20px; font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.04em;
}

/* ── Product/Miner Card ── */
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px;
  display: flex; gap: 14px; align-items: center;
  transition: all var(--transition-normal);
}
.product-card:active { border-color: rgba(0,229,255,0.3); background: var(--bg-card-hover); }
.product-card .product-img {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(139,92,246,0.15));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden;
}
.product-card .product-img img { width: 80%; height: 80%; object-fit: contain; }
.product-card .product-info { flex: 1; min-width: 0; }
.product-card .product-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.product-card .product-specs { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-card .product-action { text-align: right; flex-shrink: 0; }
.product-card .product-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--accent-cyan); }
.product-card .product-price small { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }

/* ── Order Card ── */
.order-card {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px;
}
.order-card .order-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle);
}
.order-card .order-amount { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.order-card .order-price { font-family: var(--font-mono); font-weight: 600; color: var(--accent-cyan); }
.order-card .order-row { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 6px; }
.order-card .order-row .lbl { color: var(--text-muted); }
.order-card .order-row .val { color: var(--text-secondary); font-family: var(--font-mono); }
.order-card .order-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }

/* ── Tags / Badges ── */
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.03em;
  line-height: 1.4;
}
.tag-cyan { background: var(--accent-cyan-dim); color: var(--accent-cyan); }
.tag-green { background: var(--accent-green-dim); color: var(--accent-green); }
.tag-red { background: rgba(255,68,102,0.12); color: var(--accent-red); }
.tag-gold { background: rgba(240,160,32,0.12); color: var(--accent-gold); }
.tag-purple { background: rgba(139,92,246,0.12); color: var(--accent-purple); }
.tag-orange { background: rgba(255,136,68,0.12); color: var(--accent-orange); }

.status-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 6px;
}
.status-active { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.status-stopped { background: var(--accent-red); box-shadow: 0 0 6px var(--accent-red); }
.status-waiting { background: var(--accent-gold); box-shadow: 0 0 6px var(--accent-gold); }

/* ── Balance Display ── */
.balance-card {
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(139,92,246,0.06));
  border: 1px solid rgba(0,229,255,0.12); border-radius: var(--radius-lg);
  padding: 20px; text-align: center; position: relative; overflow: hidden;
}
.balance-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.balance-card .balance-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.balance-card .balance-value {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin: 6px 0;
}
.balance-card .balance-sub { font-size: 0.72rem; color: var(--text-secondary); }

/* ── Chart Container ── */
.chart-wrap {
  width: 100%; min-height: 180px;
  border-radius: var(--radius-md); overflow: hidden;
}

/* ── Refresh Button ── */
.refresh-fab {
  position: fixed; bottom: 80px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent-cyan); cursor: pointer;
  box-shadow: var(--shadow-card); z-index: 50;
  transition: all var(--transition-normal);
}
.refresh-fab:active { transform: rotate(180deg); color: var(--accent-green); }

/* ── Page Content ── */
.page-section { padding: 16px; }
.page-section.sm { padding: 10px 16px; }
.section-title {
  font-size: 0.9rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ''; width: 3px; height: 16px;
  background: var(--accent-cyan); border-radius: 2px;
}
.section-title.no-bar::before { display: none; }

/* ── Site Landing Page ── */
.landing-page {
  min-height: 100vh; height: auto;
  background: linear-gradient(to top, #ffffff 0%, #e8f4fd 40%, #d0eafb 70%, #b8ddf7 100%);
  background-attachment: fixed;
  position: relative; overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
}
.landing-hero {
  padding: 40px 20px 30px; text-align: center;
  position: relative; flex-shrink: 0;
}
.landing-hero::before {
  content: "";
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; max-width: 100vw;
  background: radial-gradient(circle, rgba(22,119,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.landing-logo { font-size: 3rem; margin-bottom: 16px; }
.landing-title { font-size: 2.2rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; position: relative; z-index: 1; }
.landing-title span { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-top: 8px; }
.landing-subtitle { font-size: 0.95rem; color: var(--text-secondary); margin: 16px auto 36px; max-width: 500px; position: relative; z-index: 1; }
.landing-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.landing-features {
  padding: 0 20px 20px; display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; max-width: 500px; margin: 0 auto; width: 100%;
}
.landing-feature {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 20px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 130px;
}
.landing-feature .feat-icon { font-size: 2rem; margin-bottom: 10px; line-height: 1; }
.landing-feature .feat-title { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.landing-feature .feat-desc { font-size: 0.72rem; color: var(--text-muted); margin-top: 6px; }
.landing-footer { text-align: center; padding: 24px 20px; font-size: 0.72rem; color: var(--text-muted); background: #ffffff; border-top: 1px solid var(--border-subtle); margin-top: auto; flex-shrink: 0; }/* ── Empty State ── */
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state .empty-text { font-size: 0.88rem; }

/* ── Toast / Alert ── */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: var(--bg-toast); border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md); padding: 12px 24px;
  color: var(--text-primary); font-size: 0.88rem; z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: none; align-items: flex-end; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-sheet {
  width: 100%; max-width: 500px; max-height: 80vh;
  background: var(--bg-surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid var(--border-glass); border-bottom: none;
  overflow-y: auto; padding: 20px; animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-sheet .modal-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }

/* ── Price Flash ── */
@keyframes flashGreen { 0% { color: var(--accent-green); text-shadow: 0 0 12px rgba(0,255,136,0.6); } 100% { } }
@keyframes flashRed { 0% { color: var(--accent-red); text-shadow: 0 0 12px rgba(255,68,102,0.6); } 100% { } }
.price-up { animation: flashGreen 0.6s ease-out; }
.price-down { animation: flashRed 0.6s ease-out; }

/* ── Pulse Glow ── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse { animation: pulse 2s ease-in-out infinite; }

/* ── Fade Up Animation ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp 0.4s ease-out; }
.animate-in.d1 { animation-delay: 0.05s; }
.animate-in.d2 { animation-delay: 0.1s; }
.animate-in.d3 { animation-delay: 0.15s; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border-subtle); margin: 16px 0; }
.divider.thin { margin: 8px 0; }

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-mono { font-family: var(--font-mono); }
.text-cyan { color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.76rem; }
.text-xs { font-size: 0.68rem; }
.text-lg { font-size: 1.1rem; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }

/* ── Responsive ── */
@media (min-width: 768px) {
  html { font-size: 14px!important; }
  .auth-container { max-width: 420px; }
  .page-section { padding: 20px 24px; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  html { font-size: 15px!important; }
  .landing-features { max-width: 600px; }
}

/* ── Override MUI conflicts (for safe migration) ── */
.mui-content { background: transparent !important; padding: 0 !important; }
.mui-scroll-wrapper { top: 0 !important; bottom: 0 !important; }
.mui-scroll { padding: 0 !important; }
.mui-bar { background: var(--bg-header) !important; border-color: var(--border-subtle) !important; }
.mui-bar-nav { box-shadow: none !important; }
.my-bar { background: rgba(0,0,0,.4)  !important; box-shadow: 0 -.05rem .04rem rgba(0,207,231,.7)  !important; }
.my-bar .mui-tab-item .mui-icon { color: rgba(0,207,231,.7) !important; }
.my-bar .mui-tab-item .mui-icon~.mui-tab-label { color: rgba(0,207,231,.7) !important; }
.my-bar .mui-tab-item.mui-active .mui-icon,
.my-bar .mui-tab-item.mui-active .mui-icon~.mui-tab-label { color: rgba(0,207,231,.7) !important; }
.mui-title { color: var(--text-primary) !important; }
.mui-popover { background: var(--bg-surface) !important; border: 1px solid var(--border-glass) !important; }
.mui-input-row { background: transparent !important; }
.mui-input-row label { color: var(--text-secondary) !important; }
.mui-input-row input { background: var(--bg-input) !important; color: var(--text-primary) !important; border-color: var(--border-input) !important; }
.mui-table-view { background: transparent !important; }
.mui-table-view-cell { background: transparent !important; border-color: var(--border-subtle) !important; }
.mui-table-view-cell > a:not(.mui-btn) { color: var(--text-primary) !important; }
.mui-btn { border-radius: var(--radius-md) !important; }
.mui-popup { background: var(--bg-surface) !important; border: 1px solid var(--border-glass) !important; }
.mui-popup-title { color: var(--text-primary) !important; }
.mui-popup-text { color: var(--text-secondary) !important; }
.mui-popup-button { color: var(--accent-cyan) !important; border-color: var(--border-subtle) !important; }
.mui-popup-input input { color: var(--text-primary) !important; background: var(--bg-input) !important; border: 1px solid var(--border-glass) !important; font-size: 14px; padding: 6px 8px; border-radius: var(--radius-sm); width: 100%; box-sizing: border-box; max-width: 100%; }

/* Override own-gray-color */
.own-gray-color { background: var(--bg-deep) !important; }
.own-main-background-color { background: var(--bg-header) !important; }


/* ========================================
   PUBLIC HEADER (sub-pages with back button)
   ======================================== */
.public-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:var(--bg-header);backdrop-filter:blur(20px);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-glass);}
.public-header .header-title{font-size:0.95rem;font-weight:700;color:var(--text-primary);}
.back-btn{font-size:0.82rem;color:var(--accent-cyan);cursor:pointer;text-decoration:none;padding:4px 8px;border-radius:var(--radius-sm);}
.back-btn:hover{color:var(--accent-green);}

/* ========================================
   BUTTON VARIANTS
   ======================================== */
.btn-outline{background:transparent;border:1px solid var(--accent-cyan);color:var(--accent-cyan);}
.btn-outline:active{background:rgba(0,229,255,0.08);}
.btn-gray{background:var(--bg-input);color:var(--text-secondary);border:1px solid var(--border-input);}
.btn-gray:active{background:var(--bg-surface);}
.btn-success{background:var(--accent-green);color:#fff;}
.btn-success:active{opacity:0.85;}
.btn-danger{background:rgba(255,77,79,0.08);color:var(--accent-red);border:1px solid rgba(255,77,79,0.2);}
.btn-danger:active{background:rgba(255,77,79,0.15);}
.btn-gold{background:rgba(250,140,22,0.08);color:var(--accent-gold);border:1px solid rgba(250,140,22,0.2);}
.btn-gold:active{background:rgba(250,140,22,0.15);}
.btn-lg{padding:12px 28px;font-size:0.92rem;}
.btn-sm{padding:6px 14px;font-size:0.72rem;}
.btn-block{display:block;width:100%;text-align:center;}

/* ========================================
   FORM ELEMENTS
   ======================================== */
.input-group{margin-bottom:12px;}
.input-label{display:block;font-size:0.72rem;color:var(--text-muted);margin-bottom:6px;}
.form-input,.form-select{width:100%;padding:10px 12px;background:var(--bg-input);border:1px solid var(--border-input);border-radius:var(--radius-md);color:var(--text-primary);font-size:0.82rem;transition:all var(--t-normal);box-sizing:border-box;}
.form-input:focus,.form-select:focus{border-color:var(--accent-cyan);outline:none;box-shadow:0 0 0 3px rgba(0,229,255,0.08);}
.form-input::placeholder{color:var(--text-muted);}
.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238B9BB4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px;}

/* ========================================
   ORDER CARDS (EGT-1 Trading)
   ======================================== */
.order-card{background:#fff;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:14px;margin-bottom:10px;transition:all var(--t-normal);box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.order-card:hover{border-color:var(--border-glass);}
.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.order-amount{font-weight:700;color:var(--text-primary);font-size:0.9rem;}
.order-price{font-family:var(--font-mono);color:var(--accent-gold);font-size:0.82rem;}
.order-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:0.78rem;}
.order-row .lbl{color:var(--text-muted);}
.order-row .val{color:var(--text-primary);}
.order-actions{display:flex;gap:8px;margin-top:8px;}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--bg-header);backdrop-filter:blur(30px);border-top:1px solid var(--border-glass);z-index:100;padding:8px 0 env(safe-area-inset-bottom,8px);}
.nav-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:var(--text-muted);font-size:0.62rem;padding:4px 0;transition:all var(--t-normal);position:relative;}
.nav-tab.active{color:var(--accent-cyan);}
.nav-tab.active::after{content:'';position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:20px;height:2px;background:var(--accent-cyan);border-radius:1px;}
.nav-icon{font-size:1.1rem;margin-bottom:2px;}

/* ========================================
   LIST ITEMS (Settings/Menu)
   ======================================== */
.list-item{display:flex;align-items:center;padding:14px 6px;border-bottom:1px solid var(--border-subtle);text-decoration:none;color:inherit;transition:all var(--t-normal);}
.list-item:last-child{border-bottom:none;}
.list-item:active{background:rgba(255,255,255,0.02);}
.list-icon{width:36px;height:36px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;margin-right:12px;}
.list-body{flex:1;min-width:0;}
.list-title{font-size:0.82rem;color:var(--text-primary);font-weight:500;}
.list-arrow{color:var(--text-muted);font-size:0.72rem;margin-left:8px;flex-shrink:0;}
.list-right{display:flex;align-items:center;gap:6px;font-size:0.78rem;color:var(--text-secondary);}

/* ========================================
   TEAM CARDS
   ======================================== */
.team-card{display:flex;align-items:center;gap:12px;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--radius-md);padding:14px;margin-bottom:8px;transition:all var(--t-normal);box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.team-card:hover{border-color:var(--accent-cyan);}
.team-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--accent-cyan),var(--accent-purple));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;flex-shrink:0;font-size:0.82rem;}
.team-info{flex:1;min-width:0;}
.team-name{font-weight:600;color:var(--text-primary);font-size:0.85rem;}
.team-detail{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:0.72rem;color:var(--text-muted);}
.team-stats{text-align:right;font-size:0.72rem;color:var(--text-secondary);flex-shrink:0;}

/* ========================================
   TAGS
   ======================================== */
.tag{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:0.65rem;font-weight:600;white-space:nowrap;}
.tag-cyan{background:rgba(0,229,255,0.1);color:var(--accent-cyan);}
.tag-green{background:rgba(0,255,136,0.1);color:var(--accent-green);}
.tag-orange{background:rgba(255,140,0,0.12);color:var(--accent-gold);}
.tag-purple{background:rgba(139,92,246,0.12);color:var(--accent-purple);}
.tag-red{background:rgba(255,50,50,0.1);color:var(--accent-red);}
.tag-gold{background:rgba(240,160,32,0.1);color:var(--accent-gold);}

/* ========================================
   EMPTY STATES
   ======================================== */
.empty-state{text-align:center;padding:32px 20px;}
.empty-icon{font-size:2.5rem;margin-bottom:12px;opacity:0.6;}
.empty-text{font-size:0.78rem;color:var(--text-muted);}

/* ========================================
   STATUS DOTS
   ======================================== */
.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;}
.status-active{background:var(--accent-green);box-shadow:0 0 6px var(--accent-green);}
.status-stopped{background:var(--accent-red);box-shadow:0 0 6px var(--accent-red);}

/* ========================================
   DATA CARDS & BALANCE CARDS
   ======================================== */
.data-card{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--radius-md);padding:14px;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.card-label{font-size:0.68rem;color:var(--text-muted);margin-bottom:6px;}
.card-value{font-size:1.3rem;font-weight:800;color:var(--text-primary);font-family:var(--font-mono);}
.card-sub{font-size:0.65rem;color:var(--text-muted);margin-top:4px;}

.balance-card{background:linear-gradient(135deg,rgba(0,229,255,0.06),rgba(0,255,136,0.04));border:1px solid var(--border-glass);border-radius:var(--radius-lg);padding:20px;text-align:center;}
.balance-label{font-size:0.72rem;color:var(--text-muted);margin-bottom:6px;}
.balance-value{font-size:2rem;font-weight:800;font-family:var(--font-mono);background:linear-gradient(135deg,var(--accent-cyan),var(--accent-green));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.balance-sub{font-size:0.68rem;color:var(--text-muted);margin-top:8px;}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--radius-lg);padding:14px;margin-bottom:10px;display:flex;align-items:center;gap:12px;transition:all var(--t-normal);box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.product-card:hover{border-color:var(--accent-cyan);}
.product-img{width:60px;height:60px;border-radius:var(--radius-md);overflow:hidden;flex-shrink:0;background:rgba(0,229,255,0.05);}
.product-img img{width:100%;height:100%;object-fit:cover;}
.product-info{flex:1;min-width:0;}
.product-name{font-weight:700;font-size:0.88rem;color:var(--text-primary);margin-bottom:6px;}
.product-specs{display:flex;gap:12px;font-size:0.65rem;color:var(--text-muted);}
.product-action{text-align:right;flex-shrink:0;}
.product-price{font-size:1rem;font-weight:700;color:var(--accent-gold);}
.product-price small{font-size:0.65rem;color:var(--text-muted);}

/* ========================================
   TAB BAR
   ======================================== */
.tab-bar{display:flex;gap:0;background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-glass);overflow:hidden;}
.tab-btn{flex:1;background:transparent;border:none;color:var(--text-muted);padding:10px 8px;font-size:0.72rem;font-weight:500;cursor:pointer;transition:all var(--t-normal);position:relative;}
.tab-btn.active{color:var(--accent-cyan);font-weight:700;}
.tab-btn.active::after{content:'';position:absolute;bottom:0;left:20%;right:20%;height:2px;background:var(--accent-cyan);border-radius:1px;}

/* ========================================
   REFRESH FAB
   ======================================== */
.refresh-fab{position:fixed;bottom:80px;right:16px;width:44px;height:44px;border-radius:50%;background:var(--bg-card);border:1px solid var(--border-glass);display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;z-index:90;box-shadow:0 2px 12px rgba(0,0,0,0.1);transition:all var(--t-normal);}
.refresh-fab:active{transform:scale(0.9);border-color:var(--accent-cyan);}

/* ========================================
   UTILITY HELPERS
   ======================================== */
.d1{animation-delay:0.05s;}
.d2{animation-delay:0.1s;}
.d3{animation-delay:0.15s;}
.d4{animation-delay:0.2s;}

/* ========================================
   CHART WRAPPER
   ======================================== */
.chart-wrap{position:relative;width:100%;overflow:hidden;background:rgba(0,0,0,0.1);border-radius:var(--radius-sm);}
/* ========================================
   WHITEPAPER ACCORDION (Landing Page)
   ======================================== */
.whitepaper-section{padding:32px 16px;max-width:900px;margin:0 auto;}
.whitepaper-section .section-title{display:block;text-align:center;font-size:1.5rem;font-weight:800;margin-bottom:8px;}
.whitepaper-section .section-title::before{display:none;}
.whitepaper-section .section-sub{text-align:center;color:var(--text-muted);font-size:0.75rem;margin-bottom:28px;}
.wp-accordion{margin-bottom:12px;border:1px solid var(--border-glass);border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-card);transition:all var(--t-normal);}
.wp-accordion:hover{border-color:rgba(0,229,255,0.2);}
.wp-accordion.active{border-color:rgba(0,229,255,0.3);}
.wp-acc-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;cursor:pointer;user-select:none;transition:background var(--t-fast);}
.wp-acc-header:hover{background:rgba(0,229,255,0.04);}
.wp-acc-header h3{font-size:0.95rem;font-weight:700;color:var(--text-primary);margin:0;display:flex;align-items:center;gap:10px;}
.wp-acc-header h3 .acc-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--accent-cyan),var(--accent-green));color:#0a0a0f;font-size:0.72rem;font-weight:800;flex-shrink:0;}
.wp-acc-arrow{font-size:0.8rem;color:var(--text-muted);transition:transform var(--t-normal);flex-shrink:0;}
.wp-accordion.active .wp-acc-arrow{transform:rotate(180deg);}
.wp-acc-body{max-height:0;overflow:hidden;transition:max-height 0.4s ease,padding 0.4s ease;}
.wp-accordion.active .wp-acc-body{max-height:3000px;padding:0 20px 20px;}
.wp-acc-body p,.wp-acc-body li{font-size:0.82rem;color:var(--text-secondary);line-height:1.75;margin:0 0 10px;}
.wp-acc-body strong{color:var(--text-primary);}
.wp-acc-body ul{padding-left:20px;margin:8px 0;}
.wp-acc-body ul li{margin-bottom:6px;}
.wp-acc-body table{width:100%;border-collapse:collapse;margin:12px 0;font-size:0.78rem;}
.wp-acc-body table th{background:rgba(0,229,255,0.08);padding:10px 12px;text-align:left;color:var(--accent-cyan);font-weight:700;border-bottom:2px solid var(--border-glass);}
.wp-acc-body table td{padding:10px 12px;border-bottom:1px solid var(--border-glass);color:var(--text-secondary);}
.wp-acc-body blockquote{border-left:3px solid var(--accent-gold);padding:8px 16px;margin:12px 0;background:rgba(240,160,32,0.04);border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-size:0.78rem;color:var(--text-muted);}
.wp-acc-body .wp-tag-done{display:inline-block;padding:2px 8px;border-radius:10px;background:rgba(0,255,136,0.12);color:var(--accent-green);font-size:0.68rem;font-weight:700;}
.wp-acc-body .wp-tag-progress{display:inline-block;padding:2px 8px;border-radius:10px;background:rgba(0,229,255,0.12);color:var(--accent-cyan);font-size:0.68rem;font-weight:700;}
.wp-acc-body .wp-tag-plan{display:inline-block;padding:2px 8px;border-radius:10px;background:rgba(139,92,246,0.1);color:var(--accent-purple);font-size:0.68rem;font-weight:700;}
/* disclaimer box */
.wp-disclaimer{border:1px solid rgba(255,140,0,0.3);background:rgba(255,140,0,0.04);}

/* ===== Web3 Wallet Identity Card ===== */
.wallet-card {
  background: linear-gradient(135deg, #111640, #1a1150);
  border: 1px solid rgba(240,185,11,0.3);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 16px rgba(240,185,11,0.08);
  animation: walletIn 0.4s ease;
}
@keyframes walletIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.wallet-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wallet-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.wallet-info {
  flex: 1;
  min-width: 0;
}
.wallet-label {
  display: block;
  font-size: 0.75rem;
  color: #f0b90b;
  font-weight: 700;
  margin-bottom: 2px;
}
.wallet-addr {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-upgrade-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f0b90b, #f8d12f);
  color: #1a1a2e;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.wallet-upgrade-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(240,185,11,0.4);
}
.wallet-tip {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
