:root{
  --bg:#0C0F13; --panel:#15191F; --panel-2:#1B2028; --panel-3:#20262f;
  --border:#272D36; --text:#F3F1EA; --muted:#8A909B; --muted-2:#5F656F;
  --gold:#E7A94C; --teal:#4FC3AD; --coral:#E8735A; --blue:#6E9FE8;
  --radius:10px; --header-h:38px;
}
html[data-theme="light"]{
  --bg:#F3F1EA; --panel:#FFFFFF; --panel-2:#F5F3ED; --panel-3:#EAE6DA;
  --border:#E4E0D4; --text:#1C1B17; --muted:#6E6858; --muted-2:#9A9384;
  --gold:#C4881F; --teal:#1E9E82; --coral:#D2503A; --blue:#3E6FCB;
}
*{ box-sizing:border-box; }
html,body{ margin:0 !important; padding:0 !important; background:var(--bg); }
body{
  color:var(--text); font-family:'Inter',system-ui,sans-serif; -webkit-font-smoothing:antialiased;
  position:relative; min-height:100vh; padding-top:0 !important; margin-top:0 !important; transition:background .3s ease, color .3s ease;
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:var(--panel-3); border-radius:10px; }

#background-grid{ position:fixed; inset:0; z-index:0; overflow:hidden; background:var(--bg); display:grid; transition:background .3s ease; }
.bg-cell{ border-right:1px solid rgba(255,255,255,.025); border-bottom:1px solid rgba(255,255,255,.025); background:transparent; transition:background-color 1.6s ease; }
html[data-theme="light"] .bg-cell{ border-color:rgba(0,0,0,.03); }
.page-container{ position:relative; z-index:1; max-width:1400px; margin:0 auto; padding:0 35px 40px; }

.site-header{
  height:var(--header-h); min-height:var(--header-h); display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin:0 -50px 40px; padding:22px 52px; position:sticky; top:0; z-index:20;
  background:rgba(21,25,31,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border); box-shadow:0 8px 24px -12px rgba(0,0,0,.6);
}
html[data-theme="light"] .site-header{ background:rgba(255,255,255,.82); }
.header-left{ display:flex; align-items:center; gap:30px; min-width:0; }
.brand-logo{ display:flex; align-items:center; gap:9px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:16px; flex:0 0 auto; }
.brand-logo .brand-icon{ width:26px; height:26px; border-radius:7px; background:linear-gradient(135deg,var(--gold),var(--coral)); display:flex; align-items:center; justify-content:center; font-size:13px; color:#1a1300; }
.nav-menu{ display:flex; gap:20px; overflow:hidden; }
.nav-menu a{ color:var(--muted); font-size:13px; font-weight:500; white-space:nowrap; }
.nav-menu a.active{ color:var(--text); font-weight:600; }
.header-right{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.icon-button{
  width:32px; height:32px; border-radius:50%; background:var(--panel); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--muted); flex-shrink:0; transition:color .15s,border-color .15s;
}
.icon-button:hover{ color:var(--gold); border-color:var(--gold); }
.icon-button svg{ width:15px; height:15px; }
.btn-download, .btn-register{
  text-transform:uppercase; letter-spacing:.3px;
  display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; border-radius:100px;
  font-size:12.5px; font-weight:600; border:1px solid var(--border); background:var(--panel); color:var(--text); white-space:nowrap;
}
.btn-download svg{ width:14px; height:14px; }
.btn-register{ background:var(--gold); border-color:var(--gold); color:#1a1300; }
.btn-register:hover{ filter:brightness(1.08); }
.btn-download:hover{ border-color:var(--gold); color:var(--gold); }

.lang-switcher{ position:relative; }
.lang-menu{
  position:absolute; top:calc(100% + 10px); right:0; width:192px; padding:6px;
  background:var(--panel); border:1px solid var(--border); border-radius:12px;
  box-shadow:0 18px 40px -14px rgba(0,0,0,.7); z-index:60;
  display:none; max-height:340px; overflow-y:auto;
}
.lang-menu.open{ display:block; }
.lang-item{
  display:flex; align-items:center; gap:9px; width:100%; padding:8px 10px;
  border:none; background:transparent; color:var(--text); font-size:12.5px;
  border-radius:8px; text-align:left;
}
.lang-item:hover{ background:var(--panel-2); }
.lang-item.active{ background:var(--panel-2); color:var(--gold); font-weight:600; }
.lang-code{
  width:26px; height:22px; flex-shrink:0; border-radius:5px;
  background:var(--panel-3); color:var(--muted);
  font-family:'JetBrains Mono',monospace; font-size:9.5px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.lang-item.active .lang-code{ background:var(--gold); color:#1a1300; }

.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame{ display:none !important; }
body{ top:0 !important; position:relative !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }
#google_translate_element{ display:none !important; }

.dashboard-layout{ display:grid; grid-template-columns:3.05fr 1fr; gap:18px; align-items:start; }
.layout-column{ display:flex; flex-direction:column; gap:18px; min-width:0; }

.panel-card{ background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
.card-header{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; padding-bottom:13px; border-bottom:1px solid var(--border); }
.card-header .card-title{ font-family:'Space Grotesk',sans-serif; font-size:15px; font-weight:700; letter-spacing:.2px; color:var(--text); display:flex; align-items:center; gap:9px; }
.card-header .card-title::before{ content:''; width:4px; height:16px; border-radius:3px; flex-shrink:0; background:linear-gradient(180deg,var(--gold),var(--coral)); }

.stats-overview{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:14px;
}
.stat-cell{
  min-width:0; padding:20px; position:relative; overflow:hidden;
  display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto;
  column-gap:14px; row-gap:2px; align-items:center;
  background:var(--panel); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:0 14px 30px -22px rgba(0,0,0,.55);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-cell:hover{ transform:translateY(-3px); box-shadow:0 20px 38px -20px rgba(0,0,0,.65); }
.stat-cell-bar{ position:absolute; top:0; left:0; right:0; height:3px; }
.stat-cell-top{ grid-column:1; grid-row:1 / 3; }
.stat-icon{
  width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; position:relative;
}
.stat-icon::after{ content:''; position:absolute; inset:-5px; border-radius:50%; opacity:.35; z-index:-1; filter:blur(6px); background:inherit; }
.stat-icon svg{ width:19px; height:19px; }
.stats-overview .stat-cell:nth-child(4n+1) .stat-icon{ background:rgba(110,159,232,.16); color:var(--blue); }
.stats-overview .stat-cell:nth-child(4n+1) .stat-cell-bar{ background:linear-gradient(90deg,var(--blue),transparent); }
.stats-overview .stat-cell:nth-child(4n+1):hover{ border-color:rgba(110,159,232,.5); }
.stats-overview .stat-cell:nth-child(4n+2) .stat-icon{ background:rgba(79,195,173,.16); color:var(--teal); }
.stats-overview .stat-cell:nth-child(4n+2) .stat-cell-bar{ background:linear-gradient(90deg,var(--teal),transparent); }
.stats-overview .stat-cell:nth-child(4n+2):hover{ border-color:rgba(79,195,173,.5); }
.stats-overview .stat-cell:nth-child(4n+3) .stat-icon{ background:rgba(232,115,90,.16); color:var(--coral); }
.stats-overview .stat-cell:nth-child(4n+3) .stat-cell-bar{ background:linear-gradient(90deg,var(--coral),transparent); }
.stats-overview .stat-cell:nth-child(4n+3):hover{ border-color:rgba(232,115,90,.5); }
.stats-overview .stat-cell:nth-child(4n+4) .stat-icon{ background:rgba(231,169,76,.16); color:var(--gold); }
.stats-overview .stat-cell:nth-child(4n+4) .stat-cell-bar{ background:linear-gradient(90deg,var(--gold),transparent); }
.stats-overview .stat-cell:nth-child(4n+4):hover{ border-color:rgba(231,169,76,.5); }
.stat-label{ grid-column:2; grid-row:1; align-self:end; display:flex; align-items:center; gap:8px; font-size:12px; font-weight:500; color:var(--muted); letter-spacing:.2px; }
.stat-value{ grid-column:2; grid-row:2; align-self:start; font-family:'Space Grotesk',sans-serif; font-size:23px; font-weight:700; letter-spacing:-.3px; display:flex; align-items:center; gap:8px; }
.text-positive{ color:var(--teal); }
.text-negative{ color:var(--coral); }
span.text-positive, span.text-negative{
  display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:700;
  letter-spacing:.2px; padding:3px 10px; border-radius:100px; white-space:nowrap; line-height:1.4;
}
span.text-positive{ color:var(--teal); background:rgba(79,195,173,.14); border:1px solid rgba(79,195,173,.3); }
span.text-negative{ color:var(--coral); background:rgba(232,115,90,.14); border:1px solid rgba(232,115,90,.3); }

.ad-banner{
  position:relative; overflow:hidden; display:flex; align-items:flex-start; gap:18px;
  background:linear-gradient(135deg, rgba(231,169,76,.16), rgba(232,115,90,.08) 55%, var(--panel) 100%);
  border:1px solid rgba(231,169,76,.35);
  border-radius:var(--radius); padding:20px 24px; margin-top:18px;
  box-shadow:0 16px 40px -20px rgba(231,169,76,.4);
}
.ad-banner::after{
  content:''; position:absolute; top:-60%; left:-25%; width:45%; height:220%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.10), transparent);
  transform:rotate(18deg); animation:ad-shimmer 5s ease-in-out infinite; pointer-events:none;
}
@keyframes ad-shimmer{ 0%{ left:-25%; } 55%{ left:115%; } 100%{ left:115%; } }
.ad-banner .ad-icon{
  position:relative; z-index:1; flex-shrink:0; width:50px; height:50px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--coral)); display:flex; align-items:center; justify-content:center;
  color:#1a1300; animation:ad-pulse 2.4s ease-in-out infinite;
}
.ad-banner .ad-icon svg{ width:23px; height:23px; }
@keyframes ad-pulse{
  0%{ box-shadow:0 0 0 0 rgba(231,169,76,.45); }
  70%{ box-shadow:0 0 0 13px rgba(231,169,76,0); }
  100%{ box-shadow:0 0 0 0 rgba(231,169,76,0); }
}
.ad-banner .ad-tag{
  align-self:flex-start; position:relative; z-index:1; display:inline-block; font-size:9.5px; letter-spacing:.6px; text-transform:uppercase;
  color:var(--gold); font-weight:700; background:rgba(231,169,76,.14); border:1px solid rgba(231,169,76,.3);
  padding:3px 9px; border-radius:100px; margin-bottom:8px;
}
.ad-banner .ad-copy{ position:relative; z-index:1; flex:1; min-width:0; display:flex; flex-direction:column; }
.ad-banner .ad-title{ font-family:'Space Grotesk',sans-serif; font-size:16px; font-weight:700; line-height:1.3; margin:0 0 5px; }
.ad-banner .ad-desc{ font-size:12.5px; color:var(--muted); line-height:1.5; max-width:440px; }

.ad-banner.ad-banner-stacked{ flex-direction:column; align-items:stretch; gap:0; }
.ad-banner.ad-banner-stacked .ad-tag{ margin-bottom:12px; }
.ad-banner-head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.ad-icon-sm{
  width:32px; height:32px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300;
}
.ad-icon-sm svg{ width:15px; height:15px; }
.ad-banner-head .ad-title{ margin:0; }

.tier-rate-list{ display:flex; flex-direction:column; gap:7px; margin-top:16px; padding-top:14px; border-top:1px solid rgba(231,169,76,.25); }
.tier-rate-row{ display:grid; grid-template-columns:44px 1fr 34px; align-items:center; gap:10px; }
.tier-rate-label{ font-size:10.5px; color:var(--muted); }
.tier-rate-bar-track{ display:block; height:5px; background:var(--panel-3); border-radius:100px; overflow:hidden; }
.tier-rate-bar-fill{ display:block; height:100%; border-radius:100px; background:linear-gradient(90deg,var(--gold),var(--coral)); }
.tier-rate-pct{ font-size:11px; text-align:right; color:var(--gold); font-family:'JetBrains Mono',monospace; font-weight:700; }
.ad-banner .ad-cta{
  align-self:center; position:relative; z-index:1; flex-shrink:0; padding:10px 20px; border-radius:100px;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300; font-size:12.5px; font-weight:700;
  white-space:nowrap; transition:transform .15s ease;
}
.ad-banner .ad-cta:hover{ transform:translateY(-2px); }
@media (max-width:640px){ .ad-banner{ flex-wrap:wrap; } }

.tab-nav{ display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.tab-button{ padding:8px 16px; border-radius:100px; font-size:12.5px; font-weight:500; background:var(--panel-2); border:1px solid var(--border); color:var(--muted); }
.tab-button.active{ background:var(--text); color:var(--bg); border-color:var(--text); }
.tab-content{ position:relative; }
.tab-pane{ display:none; }
.tab-pane.active{ display:block; }

.chart-container{ height:300px; position:relative; }
.chart-container svg{ width:100%; height:100%; display:block; overflow:visible; }
.chart-grid-line{ stroke:var(--border); stroke-width:1; }
.chart-line{ fill:none; stroke:var(--blue); stroke-width:2; }
.chart-line-streak{ fill:none; stroke:var(--gold); stroke-width:2.2; -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,#fff 50%,transparent 58%,transparent 100%); mask-image:linear-gradient(90deg,transparent 0%,transparent 42%,#fff 50%,transparent 58%,transparent 100%); -webkit-mask-size:400% 100%; mask-size:400% 100%; animation:chart-streak-move 9s linear infinite; }
@keyframes chart-streak-move{ 0%{ -webkit-mask-position:250% 0; mask-position:250% 0; } 100%{ -webkit-mask-position:-150% 0; mask-position:-150% 0; } }
.chart-axis-label{ font-family:'JetBrains Mono',monospace; font-size:9px; fill:var(--muted-2); }
.chart-end-dot{ fill:var(--gold); stroke:var(--panel); stroke-width:2; }

.daily-profit-container{ overflow-x:auto; height:300px; display:flex; flex-direction:column; }
.month-selector{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; flex:0 0 auto; }
.month-button{ width:36px; height:36px; border-radius:7px; background:var(--panel-2); border:1px solid var(--border); font-family:'JetBrains Mono',monospace; font-size:11.5px; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.month-button.active{ background:var(--gold); border-color:var(--gold); color:#1a1300; }
.month-detail{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
.month-profit-header{ display:flex; justify-content:space-between; font-size:12px; margin-bottom:8px; flex:0 0 auto; }
.month-profit-total{ font-family:'JetBrains Mono',monospace; font-weight:700; }

.profit-chart{ display:flex; align-items:stretch; gap:2px; flex:1 1 auto; min-height:0; margin:6px 0 4px; }
.profit-bar-col{ flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; }
.profit-bar-amt{
  writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap; height:56px;
  display:flex; align-items:flex-end; justify-content:center; font-size:8.5px;
  font-family:'JetBrains Mono',monospace; color:var(--muted); margin-bottom:3px;
}
.profit-bar-track{ flex:1; width:100%; display:flex; align-items:flex-end; min-height:0; }
.profit-bar{ width:100%; border-radius:2px 2px 0 0; background:var(--panel-3); min-height:2px; }
.profit-bar-day{ font-size:8px; color:var(--muted-2); margin-top:4px; font-family:'JetBrains Mono',monospace; }
.profit-bar-day.weekend{ color:var(--blue); font-weight:700; }

.trade-history-container{ height:300px; overflow-y:auto; overflow-x:auto; }
.trade-row{ display:grid; grid-template-columns:1.5fr 1.5fr .6fr .5fr .45fr .65fr .65fr .65fr; gap:8px; padding:9px 10px; font-size:10.5px; font-family:'JetBrains Mono',monospace; border-bottom:1px solid var(--border); align-items:center; white-space:nowrap; min-width:660px; }
.trade-row:hover{ background:var(--panel-2); }
.trade-row-header{ position:sticky; top:0; background:var(--panel); color:var(--muted); font-family:'Inter',sans-serif; font-weight:600; text-transform:uppercase; font-size:9px; z-index:1; }
.trade-type-buy{ color:var(--teal); font-weight:700; } .trade-type-sell{ color:var(--coral); font-weight:700; }
.trade-positive{ color:var(--teal); } .trade-negative{ color:var(--coral); }

.search-input{ width:100%; max-width:320px; padding:9px 14px 9px 36px; border-radius:100px; border:1px solid var(--border); background:var(--panel-2); color:var(--text); font-size:12.5px; margin-bottom:14px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A909B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-repeat:no-repeat; background-position:14px center; background-size:14px; }
.search-input::placeholder{ color:var(--muted); }
.table-scroll-wrap{ overflow-x:auto; max-height:420px; overflow-y:auto; border:1px solid var(--border); border-radius:10px; }
table.data-table{ width:100%; border-collapse:collapse; font-size:12.5px; }
.data-table thead th{ text-align:left; color:var(--muted); font-weight:600; font-size:10.5px; letter-spacing:.3px; text-transform:uppercase; padding:11px 14px; background:var(--panel-2); border-bottom:1px solid var(--border); white-space:nowrap; position:sticky; top:0; z-index:1; }
.data-table tbody td{ padding:12px 14px; border-bottom:1px solid var(--border); white-space:nowrap; vertical-align:middle; }
.data-table tbody tr:last-child td{ border-bottom:none; }
.data-table tbody tr:nth-child(even){ background:rgba(255,255,255,.018); }
html[data-theme="light"] .data-table tbody tr:nth-child(even){ background:rgba(0,0,0,.015); }
.data-table tbody tr:hover{ background:var(--panel-3); }
.data-table th:first-child, .data-table td:first-child{ width:46px; text-align:center; padding-left:12px; padding-right:6px; }
.data-table tr:has(.downline-detail){ background:transparent !important; }
.data-table tr:has(.downline-detail):hover{ background:transparent !important; }
.cell-number{ font-family:'JetBrains Mono',monospace; text-align:right; }
.rank-badge{ width:25px; height:25px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; background:var(--panel-3); color:var(--muted); border:1px solid var(--border); }
.referral-code-badge{
  display:inline-block; font-family:'JetBrains Mono',monospace; font-size:10.5px; font-weight:600;
  color:var(--blue); background:rgba(110,159,232,.14); border:1px solid rgba(110,159,232,.3);
  padding:3px 9px; border-radius:6px; letter-spacing:.3px;
}
.rank-badge.r1{ background:linear-gradient(135deg,#ffe082,var(--gold)); color:#1a1300; border-color:transparent; box-shadow:0 3px 8px -2px rgba(231,169,76,.6); }
.rank-badge.r2{ background:linear-gradient(135deg,#eef2f7,#c9d2de); color:#2a303c; border-color:transparent; box-shadow:0 3px 8px -2px rgba(180,190,205,.5); }
.rank-badge.r3{ background:linear-gradient(135deg,#f0b083,#d98c4a); color:#3a2205; border-color:transparent; box-shadow:0 3px 8px -2px rgba(217,140,74,.5); }
.downline-detail{ font-size:11.5px; color:var(--muted); line-height:1.8; background:var(--panel-2); border-left:3px solid var(--gold); border-radius:0 8px 8px 0; margin:0 10px 10px; padding:10px 14px; text-align:left !important; width:auto !important; }
.downline-detail b{ color:var(--text); }
.detail-toggle{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:8px;
  color:var(--muted); cursor:pointer; user-select:none; background:var(--panel-2); border:1px solid var(--border);
  transition:background .15s, color .15s, border-color .15s;
}
.detail-toggle svg{ width:13px; height:13px; transition:transform .2s ease; }
.detail-toggle:hover{ background:var(--panel-3); color:var(--gold); border-color:var(--gold); }
.detail-toggle.open{ background:var(--gold); color:#1a1300; border-color:var(--gold); }
.detail-toggle.open svg{ transform:rotate(180deg); }
.panel-card:has(.table-scroll-wrap){ padding-bottom:14px; }
.panel-card:has(.table-scroll-wrap) .card-header{ margin-bottom:14px; }

.livestream-item{ display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); }
.livestream-item:last-child{ border-bottom:none; }
.livestream-rank{ width:26px; height:26px; border-radius:50%; background:var(--panel-2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10.5px; font-weight:700; color:var(--muted); flex-shrink:0; }
.livestream-item:nth-child(-n+3) .livestream-rank{ font-size:13px; border-color:transparent; box-shadow:0 3px 8px -2px rgba(0,0,0,.4); }
.livestream-item:nth-child(1) .livestream-rank{ background:linear-gradient(135deg,#ffe082,var(--gold)); }
.livestream-item:nth-child(2) .livestream-rank{ background:linear-gradient(135deg,#eef2f7,#c9d2de); }
.livestream-item:nth-child(3) .livestream-rank{ background:linear-gradient(135deg,#f0b083,#d98c4a); }
.livestream-name{ flex:1; font-size:12.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.livestream-item:nth-child(-n+3) .livestream-name{ font-weight:700; }
.livestream-amount{ font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700; color:var(--gold); background:var(--panel-2); border:1px solid var(--border); border-radius:100px; padding:4px 10px; flex-shrink:0; }
.livestream-view{
  flex-shrink:0; font-size:10.5px; font-weight:700; color:#1a1300;
  background:linear-gradient(135deg,var(--gold),var(--coral)); border:none; border-radius:100px;
  padding:5px 14px; box-shadow:0 4px 12px -4px rgba(231,169,76,.55); transition:transform .15s ease, box-shadow .15s ease;
}
.livestream-view:hover{ transform:translateY(-1px); box-shadow:0 6px 16px -4px rgba(231,169,76,.7); }

.livestream-pagination{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
.livestream-page-link{
  width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:7px;
  background:var(--panel-2); border:1px solid var(--border); color:var(--muted); font-size:11.5px; font-weight:600;
  font-family:'JetBrains Mono',monospace;
}
.livestream-page-link:hover{ border-color:var(--gold); color:var(--gold); }
.livestream-page-link.active{ background:var(--gold); border-color:var(--gold); color:#1a1300; }

.geo-total{
  display:flex; align-items:center; gap:14px; margin-bottom:18px; padding:16px 18px; border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(231,169,76,.14), rgba(232,115,90,.06)); border:1px solid rgba(231,169,76,.3);
}
.geo-total-icon{
  width:42px; height:42px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300;
}
.geo-total-icon svg{ width:19px; height:19px; }
.geo-total-num{ font-family:'Space Grotesk',sans-serif; font-size:26px; font-weight:700; line-height:1; }
.geo-total-label{ font-size:11px; color:var(--muted); margin-top:4px; text-transform:uppercase; letter-spacing:.3px; }

.country-list{ display:grid; grid-template-columns:1fr; gap:14px; margin-top:16px; }
.country-item{ display:flex; align-items:center; gap:9px; }
.country-flag{ width:26px; height:26px; border-radius:50%; background:var(--panel-3); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:var(--muted); flex-shrink:0; }
.country-details{ flex:1; min-width:0; }
.country-header{ display:flex; justify-content:space-between; font-size:12px; margin-bottom:5px; gap:6px; }
.country-header b{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.country-header span{ color:var(--muted); flex-shrink:0; }
.progress-track{ height:5px; background:var(--panel-3); border-radius:100px; overflow:hidden; }
.progress-fill{ height:100%; border-radius:100px; }

.post-article{ padding:22px; }
.post-content{ font-size:14px; line-height:1.85; color:var(--muted); }
.post-content h1,.post-content h2,.post-content h3{ font-family:'Space Grotesk',sans-serif; color:var(--text); font-weight:700; margin:26px 0 12px; }
.post-content a{ color:var(--blue); text-decoration:underline; }
.post-content img{ max-width:100%; border-radius:10px; }
.post-content table{ width:100%; border-collapse:collapse; }
.post-content th,.post-content td{ border:1px solid var(--border); padding:8px 10px; }

.site-footer{ margin-top:26px; padding-top:22px; border-top:1px solid var(--border); }
.footer-disclaimer{ font-size:11.5px; color:var(--muted-2); line-height:1.8; border-left:2px solid var(--border); padding-left:14px; margin:0; max-width:760px; }

@media (max-width:1080px){
  .dashboard-layout{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  .page-container{ padding:0 16px 30px; }
  .site-header{ margin:0 -16px 24px; padding:18px 16px; }
  .nav-menu{ display:none; }
  .stats-overview{ grid-template-columns:repeat(2, 1fr); }
  .chart-container, .daily-profit-container, .trade-history-container{ height:260px; }
}


.chat-feed{ height:280px; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding:4px 2px 10px; margin-bottom:10px; }
.chat-msg{ background:var(--panel-2); border:1px solid var(--border); border-radius:10px; padding:8px 12px; }
.chat-msg.chat-msg-verified{ border-color:rgba(231,169,76,.35); background:linear-gradient(135deg, rgba(231,169,76,.08), var(--panel-2)); }
.chat-msg-head{ display:flex; align-items:center; gap:8px; margin-bottom:3px; }
.chat-msg-name{ font-size:12px; font-weight:700; color:var(--text); }
.chat-verified-badge{ font-size:9.5px; font-weight:700; color:var(--gold); background:rgba(231,169,76,.14); border:1px solid rgba(231,169,76,.3); padding:2px 7px; border-radius:100px; }
.chat-guest-badge{ font-size:9.5px; font-weight:600; color:var(--muted); background:var(--panel-3); padding:2px 7px; border-radius:100px; }
.chat-msg-body{ font-size:13px; color:var(--text); line-height:1.5; word-break:break-word; }
.chat-form{ display:flex; flex-direction:column; gap:8px; }
.chat-form input[type="text"]{
  width:100%; padding:10px 12px; border-radius:9px; border:1px solid var(--border);
  background:var(--panel-2); color:var(--text); font-size:13px; font-family:inherit; box-sizing:border-box;
}
.chat-form input:focus{ outline:none; border-color:var(--gold); }
.chat-form-row{ display:flex; gap:8px; }
.chat-form-row input[type="text"]:last-child{ flex:1; }
.chat-send-btn{
  flex-shrink:0; padding:10px 18px; border-radius:9px; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300; font-weight:700; font-size:13px; font-family:inherit;
}
.chat-error{ font-size:11.5px; color:var(--coral); min-height:14px; }


.rg-wrap{ max-width:560px; margin:0 auto; font-family:'Inter',system-ui,sans-serif; color:var(--text); position:relative; z-index:1; }
.rg-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--gold); margin-bottom:10px; }
.rg-eyebrow::before{ content:''; width:16px; height:2px; background:var(--gold); display:inline-block; border-radius:2px; }
.rg-title{ font-family:'Space Grotesk',sans-serif; font-size:24px; font-weight:700; margin:0 0 8px; }
.rg-sub{ font-size:13.5px; color:var(--muted); margin:0 0 26px; }
.rg-steps-nav{ display:flex; align-items:center; gap:8px; margin-bottom:26px; }
.rg-steps-nav .rg-dot{ width:26px; height:26px; border-radius:50%; background:var(--panel-2); border:1px solid var(--border); color:var(--muted); font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; }
.rg-steps-nav .rg-dot.active{ background:var(--gold); border-color:var(--gold); color:#1a1300; }
.rg-steps-nav .rg-dot.done{ background:var(--teal); border-color:var(--teal); color:#062412; }
.rg-steps-nav .rg-line{ flex:1; height:1px; background:var(--border); }
.rg-panel{ background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:0 16px 40px -24px rgba(0,0,0,.55); }
.rg-panel h3{ font-family:'Space Grotesk',sans-serif; font-size:16px; font-weight:700; margin:0 0 18px; }
.rg-field{ margin-bottom:16px; }
.rg-field label{ display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:6px; }
.rg-field label .rg-req{ color:var(--coral); }
.rg-field input, .rg-field select{
  width:100%; padding:11px 13px; border-radius:9px; border:1px solid var(--border);
  background:var(--panel-2); color:var(--text); font-size:13.5px; font-family:inherit; box-sizing:border-box;
}
.rg-field input:focus, .rg-field select:focus{ outline:none; border-color:var(--gold); }
.rg-hint{ font-size:11.5px; color:var(--muted-2); margin-top:6px; line-height:1.5; }
.rg-btn{
  width:100%; padding:13px; border-radius:100px; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300; font-weight:700; font-size:14px;
  font-family:inherit; margin-top:6px;
}
.rg-btn:disabled{ opacity:.55; cursor:not-allowed; }
.rg-btn-ghost{ width:100%; padding:12px; border-radius:100px; border:1px solid var(--border); background:transparent; color:var(--muted); font-size:13px; margin-top:10px; cursor:pointer; font-family:inherit; }
.rg-error{ background:rgba(232,115,90,.12); border:1px solid rgba(232,115,90,.4); color:var(--coral); padding:10px 14px; border-radius:9px; font-size:13px; margin-bottom:16px; display:none; }
.rg-error.show{ display:block; }
.rg-amount{ text-align:center; margin-bottom:20px; }
.rg-amount .rg-amt-label{ font-size:11.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.4px; }
.rg-amount .rg-amt-value{ font-family:'Space Grotesk',sans-serif; font-size:32px; font-weight:700; color:var(--gold); }
.rg-addr-row{ display:flex; align-items:center; gap:8px; background:var(--panel-2); border:1px solid var(--border); border-radius:9px; padding:10px 12px; margin-bottom:18px; }
.rg-addr-row code{ flex:1; font-size:11.5px; word-break:break-all; color:var(--text); }
.rg-copy-btn{ flex-shrink:0; background:var(--gold); color:#1a1300; border:none; border-radius:7px; padding:7px 12px; font-size:11.5px; font-weight:700; cursor:pointer; }
.rg-success{ text-align:center; padding:20px 10px; }
.rg-success-icon{ width:60px; height:60px; border-radius:50%; background:linear-gradient(135deg,var(--teal),#7fe0c8); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.rg-success-icon svg{ width:28px; height:28px; color:#062412; }
.rg-success h3{ font-family:'Space Grotesk',sans-serif; font-size:18px; margin:0 0 10px; }
.rg-success p{ font-size:13.5px; color:var(--muted); line-height:1.7; }


.copy-box{ background:var(--panel-2); border:1px solid var(--border); border-radius:9px; padding:14px; font-family:'JetBrains Mono',monospace; font-size:12px; white-space:pre-wrap; word-break:break-word; margin-bottom:14px; }


.account-header{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.account-header-label{ font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--gold); }
.account-header-divider{ color:var(--muted-2); font-size:13px; }
.account-header-welcome{ font-size:15px; font-weight:700; color:var(--text); }
.account-header-name{ color:var(--gold); }

.account-kv-value-group{ display:flex; align-items:center; gap:8px; min-width:0; }
.account-kv-value-group .account-kv-value{ text-align:left; }
.account-kv-value-muted{ color:var(--muted-2); font-family:'Inter',sans-serif; font-style:italic; }
.account-copy-btn{
  flex-shrink:0; font-size:10.5px; font-weight:700; color:#1a1300; background:var(--gold);
  border:none; border-radius:6px; padding:4px 10px; cursor:pointer;
}
.account-copy-btn:hover{ filter:brightness(1.08); }

.account-save-btn{
  flex-shrink:0; padding:9px 18px; border-radius:8px; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold),var(--coral)); color:#1a1300;
  font-weight:700; font-size:12.5px; font-family:inherit; transition:transform .15s ease, box-shadow .15s ease;
}
.account-save-btn:hover{ transform:translateY(-1px); box-shadow:0 6px 16px -6px rgba(231,169,76,.6); }
.account-save-btn:disabled{ opacity:.55; cursor:not-allowed; transform:none; }


.custom-modal-overlay{
  display:none; position:fixed; inset:0; z-index:100; align-items:center; justify-content:center;
  background:rgba(0,0,0,.6); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
}
.custom-modal-overlay.open{ display:flex; animation:custom-modal-fade .15s ease; }
@keyframes custom-modal-fade{ from{ opacity:0; } to{ opacity:1; } }
.custom-modal-box{
  width:90%; max-width:420px; background:var(--panel); border:1px solid rgba(232,115,90,.4); border-radius:14px;
  padding:26px; text-align:center; box-shadow:0 30px 60px -20px rgba(0,0,0,.7);
  animation:custom-modal-pop .18s ease;
}
@keyframes custom-modal-pop{ from{ transform:scale(.94); opacity:0; } to{ transform:scale(1); opacity:1; } }
.custom-modal-icon{ font-size:30px; margin-bottom:10px; }
.custom-modal-box h3{ font-family:'Space Grotesk',sans-serif; font-size:17px; margin:0 0 10px; }
.custom-modal-box p{ font-size:13px; color:var(--muted); line-height:1.6; margin:0 0 14px; }
.custom-modal-value{
  font-family:'JetBrains Mono',monospace; font-size:15px; font-weight:700; color:var(--gold);
  background:var(--panel-2); border:1px solid var(--border); border-radius:8px; padding:10px; margin-bottom:18px; word-break:break-all;
}
.custom-modal-actions{ display:flex; gap:10px; }
.custom-modal-btn{ flex:1; padding:11px; border-radius:9px; border:none; font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; }
.custom-modal-btn-ghost{ background:var(--panel-2); border:1px solid var(--border); color:var(--muted); }
.custom-modal-btn-ghost:hover{ color:var(--text); }
.custom-modal-btn-confirm{ background:linear-gradient(135deg,var(--coral),#c94a34); color:#fff; }
.custom-modal-btn-confirm:hover{ filter:brightness(1.08); }

.livestream-slot-row{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.livestream-time-input{
  width:70px; text-align:center; padding:9px 8px; border-radius:8px; border:1px solid var(--border);
  background:var(--panel-2); color:var(--text); font-size:13px; font-family:'JetBrains Mono',monospace;
}
.livestream-time-input:focus{ outline:none; border-color:var(--gold); }
.livestream-slot-row span{ color:var(--muted); font-size:12px; }

.account-row-2{ display:grid; grid-template-columns:1fr 2fr; gap:20px; align-items:start; }
@media (max-width:800px){ .account-row-2{ grid-template-columns:1fr; } }
.account-layout{ display:flex; flex-direction:column; gap:20px; max-width:1100px; margin:0 auto; }

.account-row{ margin-bottom:22px; }
.account-row:last-child{ margin-bottom:0; }

.account-inline-form{ display:flex; gap:8px; }
.account-inline-form input{
  flex:1; padding:9px 11px; border-radius:8px; border:1px solid var(--border);
  background:var(--panel); color:var(--text); font-size:13px; font-family:inherit;
}
.account-inline-form input:focus{ outline:none; border-color:var(--gold); }


.account-kv-row{
  display:flex; border:1px solid var(--border); border-radius:10px; overflow:hidden; background:var(--panel-2);
}
.account-kv{
  flex:1; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:11px 14px; border-right:1px solid var(--border);
}
.account-kv:last-child{ border-right:none; }
.account-kv-label{ font-size:11px; color:var(--muted); flex-shrink:0; white-space:nowrap; }
.account-kv-value{
  font-size:12.5px; color:var(--text); font-family:'JetBrains Mono',monospace;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:right;
}
@media (max-width:900px){
  .account-kv-row{ flex-direction:column; }
  .account-kv{ border-right:none; border-bottom:1px solid var(--border); }
  .account-kv:last-child{ border-bottom:none; }
}
