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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f2f5;
  color: #333;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.nav {
  height: 52px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.nav-logo span { color: #1976d2; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-links a,
.nav-back {
  color: #666;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active,
.nav-back:hover {
  color: #1976d2;
  background: #e3f2fd;
}

.nav-user,
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-email {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #666;
}

.nav-sub-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f7fbff;
  border: 1px solid #dbeafe;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}

.nav-sub-total b {
  color: #1565c0;
  font-size: 14px;
}

.main {
  max-width: 1180px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.main.wide { max-width: 1320px; }
.main.narrow { max-width: 520px; }
.main.recharge-main { max-width: 980px; }

.hero-panel,
.card,
.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.hero-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
}

.eyebrow {
  color: #1976d2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  margin-bottom: 8px;
}

h1 {
  color: #222;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 10px;
}

h2 {
  color: #333;
  font-size: 17px;
  line-height: 1.3;
}

.hero-copy,
.section-head p,
.page-sub,
.auth-link {
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-stats,
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.signal-table.polymarket-table {
  min-width: 860px;
}

.market-hero {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 28px;
  overflow: hidden;
}

.hero-content {
  align-self: center;
}

.market-hero h1 {
  max-width: 720px;
  font-size: 34px;
  line-height: 1.18;
}

.market-hero .hero-copy {
  max-width: 760px;
  color: #5f6672;
  font-size: 16px;
}

.promo-line {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff7e6;
  border: 1px solid #facc15;
  color: #92400e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7fbff;
  border: 1px solid #dbeafe;
  color: #1565c0;
  font-size: 13px;
  font-weight: 700;
}

.market-board {
  border: 1px solid #dde7f3;
  border-radius: 12px;
  padding: 16px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  min-width: 0;
}

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

.board-head strong {
  display: block;
  color: #1f2937;
  font-size: 16px;
}

.board-kicker {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 3px;
}

.board-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22,163,74,.12);
  flex-shrink: 0;
}

.market-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.market-tile {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.market-tile span,
.market-tile small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.market-tile b {
  color: #111827;
  font-size: 24px;
  line-height: 1;
}

.market-tile.accent-gold { border-top: 4px solid #f59e0b; }
.market-tile.accent-fx { border-top: 4px solid #1976d2; }
.market-tile.accent-prediction { border-top: 4px solid #0f766e; }

.signal-line {
  height: 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  border-radius: 10px;
  background: #f3f7fb;
}

.signal-line span {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: #90caf9;
}

.signal-line span:nth-child(1) { height: 36%; background: #93c5fd; }
.signal-line span:nth-child(2) { height: 58%; background: #60a5fa; }
.signal-line span:nth-child(3) { height: 48%; background: #34d399; }
.signal-line span:nth-child(4) { height: 74%; background: #fbbf24; }
.signal-line span:nth-child(5) { height: 63%; background: #1976d2; }

.advantage-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.advantage-card {
  min-height: 150px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #edf0f3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 9px;
  margin-bottom: 13px;
  border-radius: 8px;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 13px;
  font-weight: 800;
}

.advantage-card:nth-child(2) .advantage-icon {
  background: #e7f8f2;
  color: #0f766e;
}

.advantage-card:nth-child(3) .advantage-icon {
  background: #fff7e6;
  color: #b45309;
}

.advantage-card h2 {
  margin-bottom: 8px;
}

.advantage-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
}

.profile-grid {
  grid-template-columns: 1.4fr .6fr;
  margin-bottom: 16px;
}

.stat-card {
  background: #f7fbff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 16px;
}

.stat-label,
.balance-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.stat-value {
  color: #1565c0;
  font-size: 24px;
  font-weight: 700;
}

.stat-value.small { font-size: 18px; }

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card { padding: 22px; }

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid #eee;
  border-radius: 10px;
}

.signal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

.signal-table th {
  background: #fafafa;
  color: #555;
  font-size: 12px;
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

.signal-table td {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  vertical-align: top;
}

.signal-table tr:last-child td { border-bottom: 0; }

.symbol { font-weight: 700; color: #222; }
.muted { color: #888; font-size: 12px; }
.empty { text-align: center; color: #999; padding: 32px !important; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge.buy { background: #e8f5e9; color: #2e7d32; }
.badge.sell { background: #ffebee; color: #c62828; }
.badge.wait { background: #fff8e1; color: #e65100; }

.pill,
.white-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill { background: #e3f2fd; color: #1976d2; }
.pill.ok { background: #e8f5e9; color: #2e7d32; }
.pill.warn { background: #fff8e1; color: #e65100; }
.white-pill { background: rgba(255,255,255,.18); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, transform .15s, opacity .15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: #1976d2; color: #fff; }
.btn-primary:hover { background: #1565c0; }
.btn-secondary { background: #f5f5f5; color: #333; border: 1px solid #ddd; }
.btn-secondary:hover { background: #eee; }
.btn-recharge { background: rgba(118,75,162,0.12); color: #764ba2; border: 1px solid rgba(118,75,162,0.3); }
.btn-recharge:hover { background: rgba(118,75,162,0.2); }
.btn.full { width: 100%; }

.feature-list {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #555;
  font-size: 14px;
}

.feature-list li {
  padding-left: 14px;
  border-left: 3px solid #90caf9;
}

.account-box {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.risk-note,
.info-box {
  margin-top: 14px;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.7;
}

.risk-note { background: #fff8e1; border: 1px solid #ffe082; color: #7a5b00; }
.info-box { background: #f6ffed; border: 1px solid #b7eb8f; color: #389e0d; }

.auth-main {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 16px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 30px;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 26px;
}

.form {
  display: grid;
  gap: 16px;
}

.form.compact { margin-top: 18px; gap: 14px; }

.form label {
  display: grid;
  gap: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
}

.form input {
  width: 100%;
  border: 1.5px solid #d9d9d9;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}

.form input:focus { border-color: #1976d2; }

.form-error {
  display: none;
  color: #c62828;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}

.auth-link {
  text-align: center;
  margin-top: 18px;
}

.auth-link a { color: #1976d2; font-weight: 600; }

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-card.profile-compact {
  margin-bottom: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
}

.profile-main {
  min-width: 0;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e3f2fd;
  color: #1976d2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-card h1 {
  font-size: 17px;
  margin-bottom: 2px;
  word-break: break-all;
}

.profile-card p {
  color: #777;
  font-size: 13px;
}

.balance-card {
  display: grid;
  gap: 8px;
  align-content: center;
}

.profile-stat {
  min-width: 128px;
  padding-left: 14px;
  border-left: 1px solid #edf0f3;
}

.balance-value {
  color: #1565c0;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.page-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.balance-bar {
  margin: 18px 0;
  background: linear-gradient(135deg, #1890ff 0%, #0050b3 100%);
  color: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.balance-bar .balance-label { color: rgba(255,255,255,.75); }
.balance-bar .balance-value { color: #fff; font-size: 22px; }

.plans {
  display: grid;
  gap: 10px;
}

.plan {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.plan:hover { border-color: #90caf9; background: #f7fbff; }
.plan.selected { border-color: #1976d2; background: #e3f2fd; }
.plan h3 { font-size: 15px; margin-bottom: 4px; }
.plan p { color: #777; font-size: 12px; line-height: 1.6; }
.plan-price { color: #1565c0; font-size: 20px; font-weight: 800; text-align: right; }

.wallet-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.wallet-form input {
  width: 100%;
  border: 1.5px solid #d9d9d9;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 15px;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.wallet-form input:focus { border-color: #1976d2; }
.wallet-form input:disabled { background: #f7f7f7; color: #555; }

.wallet-status {
  margin-top: 12px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.wallet-status.ok {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #389e0d;
  border-radius: 8px;
  padding: 10px 12px;
}

.payment-box {
  border: 1px solid #dbeafe;
  background: #f7fbff;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.payment-box h2 { font-size: 15px; margin-bottom: 2px; }

.pay-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #666;
  font-size: 13px;
}

.pay-row b { color: #222; }
.address-row { display: grid; gap: 6px; }
.address-row code {
  display: block;
  color: #1565c0;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 10px;
  word-break: break-all;
}

.wallet-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.copy-wallet-btn {
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
}

.wallet-short {
  font-size: 13px !important;
  word-break: break-all;
}

.selected-plan {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #7a5b00;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.recharge-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.recharge-left,
.recharge-right {
  min-width: 0;
}

.qr-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.qr-wrap img {
  width: 180px;
  height: 180px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.admin-main {
  display: grid;
  gap: 16px;
}

.admin-login-card {
  max-width: 460px;
  width: 100%;
  margin: 36px auto 0;
}

.admin-dashboard {
  gap: 16px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-table {
  min-width: 1100px;
}

.admin-code {
  display: inline-block;
  max-width: 360px;
  color: #1565c0;
  background: #f7fbff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.admin-note {
  max-width: 340px;
  word-break: break-word;
}

.contact-card {
  width: min(760px, 100%);
  margin: 42px auto 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.contact-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.contact-title {
  font-size: 34px;
  margin: 2px 0 0;
}

.contact-subtitle {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
  color: #5f6773;
}

.contact-email-box {
  width: min(560px, 100%);
  margin-top: 6px;
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f7fbff;
}

.contact-label {
  color: #667085;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-email {
  display: inline-block;
  color: #1565c0;
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
  word-break: break-word;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-note {
  max-width: 440px;
  margin: 14px auto 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.download-main {
  display: grid;
  gap: 16px;
}

.download-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(25,118,210,.12), rgba(255,255,255,.92) 42%),
    linear-gradient(90deg, rgba(15,118,110,.08), rgba(245,158,11,.10));
  border: 1px solid #dce8f7;
  box-shadow: 0 8px 28px rgba(31,41,55,.08);
  overflow: hidden;
}

.download-hero-copy {
  align-self: center;
  min-width: 0;
}

.download-hero h1 {
  max-width: 760px;
  font-size: 34px;
  line-height: 1.16;
}

.download-hero p {
  max-width: 760px;
  color: #526071;
  font-size: 16px;
  line-height: 1.75;
}

.download-status {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #334155;
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}

.status-light {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245,158,11,.14);
}

.download-status.unlocked .status-light {
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22,163,74,.14);
}

.download-status.locked .status-light {
  background: #9ca3af;
  box-shadow: 0 0 0 5px rgba(156,163,175,.16);
}

.download-terminal {
  min-width: 0;
  align-self: center;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.18);
  background: #101827;
  color: #dbeafe;
  box-shadow: 0 18px 38px rgba(15,23,42,.18);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

.terminal-top span:nth-child(2) { background: #f59e0b; }
.terminal-top span:nth-child(3) { background: #22c55e; }

.terminal-top strong {
  margin-left: auto;
  color: #93c5fd;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.terminal-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.terminal-lines div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}

.terminal-lines span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.terminal-lines b {
  color: #f8fafc;
  font-size: 13px;
}

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

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

.download-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 380px;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 3px 18px rgba(15,23,42,.07);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #1976d2, #0f766e);
}

.download-card.gold-pack::before {
  background: linear-gradient(90deg, #f59e0b, #1976d2);
}

.download-card.data-pack::before {
  background: linear-gradient(90deg, #0f766e, #1976d2);
}

.download-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.download-kicker {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.download-card h2 {
  color: #111827;
  font-size: 22px;
  word-break: break-word;
}

.download-card p,
.download-note {
  color: #596579;
  font-size: 15px;
  line-height: 1.75;
}

.download-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
}

.download-chip.gold {
  background: #fff7ed;
  color: #9a3412;
}

.download-chip.data {
  background: #ecfdf5;
  color: #047857;
}

.download-feature-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  list-style: none;
}

.download-feature-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  border: 1px solid #edf2f7;
}

.download-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.file-meta {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.download-action {
  min-width: 132px;
}

.download-action.is-disabled {
  background: #e5e7eb;
  color: #8b95a1;
  border: 1px solid #d1d5db;
  cursor: not-allowed;
  pointer-events: auto;
  transform: none;
}

.download-action.is-disabled:hover {
  background: #e5e7eb;
  transform: none;
}

.download-details {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 16px;
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.download-steps div {
  min-height: 132px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fbfdff;
}

.download-steps b {
  display: block;
  color: #1f2937;
  margin-bottom: 8px;
}

.download-steps p {
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.download-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .download-grid.download-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.order-table {
  min-width: 980px;
}

.amount-cell {
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
}

.reward-cell {
  color: #0f766e;
  font-weight: 800;
  white-space: nowrap;
}

.download-access-card {
  border-left: 4px solid #1976d2;
}

.download-access-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
}

.download-access-box.ok {
  border-color: #b7eb8f;
  background: #f6ffed;
}

.download-access-box.expired {
  border-color: #ffd591;
  background: #fffaf0;
}

.download-access-main {
  display: grid;
  gap: 6px;
  min-width: 240px;
}

.download-access-main span,
.download-access-meta {
  color: #64748b;
  font-size: 13px;
}

.download-access-main strong {
  display: block;
  color: #0b63ce;
  font-size: 30px;
  line-height: 1.1;
}

.download-access-main p {
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}

.download-access-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-access-meta span {
  padding: 8px 10px;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  background: rgba(255,255,255,.65);
}

.download-access-note {
  flex-basis: 100%;
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.locked {
  filter: blur(3px);
  user-select: none;
}

@media (max-width: 860px) {
  .nav { padding: 0 12px; gap: 8px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 6px; }
  .nav { height: auto; min-height: 52px; flex-wrap: wrap; padding-top: 8px; }
  .nav-user { margin-left: 0; }
  .hero-panel,
  .market-hero,
  .download-hero,
  .dashboard-grid,
  .advantage-strip,
  .profile-grid,
  .download-grid,
  .download-details,
  .download-steps {
    grid-template-columns: 1fr;
  }
  .market-hero h1 { font-size: 26px; }
  .market-hero .hero-copy { font-size: 14px; }
  .market-board { padding: 14px; }
  .market-tiles { grid-template-columns: 1fr; }
  .market-tile { min-height: 96px; }
  .profile-card.profile-compact {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }
  .profile-card.profile-compact .btn,
  .profile-stat {
    grid-column: 1 / -1;
  }
  .profile-stat {
    padding-left: 0;
    border-left: 0;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .main { padding: 0 12px; margin-top: 14px; }
  .card, .hero-panel, .auth-card { padding: 18px; }
  h1 { font-size: 22px; }
  .nav-email { max-width: 140px; }
  .nav-sub-total { order: 2; }
  .wallet-form { grid-template-columns: 1fr; }
  .recharge-grid { grid-template-columns: 1fr; }
  .wallet-copy-row { grid-template-columns: 1fr; }
  .qr-wrap img { width: 160px; height: 160px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .contact-card { margin-top: 18px; min-height: 330px; }
  .contact-title { font-size: 28px; }
  .contact-subtitle { font-size: 16px; }
  .contact-email { font-size: 21px; }
  .download-hero { padding: 20px; min-height: auto; }
  .download-hero h1 { font-size: 27px; }
  .download-hero p { font-size: 14px; }
  .download-card { min-height: auto; padding: 20px; }
  .download-card h2 { font-size: 19px; }
  .terminal-lines div { grid-template-columns: 1fr; }
}
