/* =====================================================
   styles.css — ConocoPhillips App Styles
   Linked from: index.html
   ===================================================== */
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

:root {
  --bg:#1a1b2e; --bg2:#16172a; --card:#22243a; --card2:#2a2c45;
  --gold:#f5c842; --gold2:#e8b830; --red:#e53935;
  --text:#ffffff; --text2:#a0a8c8; --border:#2e3050;
  --green:#4caf50; --accent:#f5c842;
  --btn-primary:#f5c842; --btn-primary-text:#1a1b2e;
  --nav-bg:#16172a; --topbar-bg:#1a1b2e;
  --auth-bg:#2c2d42; --auth-header-bg:#1e1f35;
  --auth-card-bg:#f2f3f8; --auth-card-text:#1a1b2e;
  --auth-input-bg:#ffffff; --auth-input-border:#e5e5e5;
  --auth-tab-active-color:#1a1b2e; --auth-tab-border-color:#e8b830;
  --auth-label-color:#666; --auth-wave-color:#f2f3f8;
  --auth-btn-primary-bg:#f5c842; --auth-btn-primary-text:#1a1b2e;
  --auth-btn-secondary-border:#f5c842; --auth-btn-secondary-text:#f5c842;
}
[data-theme="blue"] {
  --bg:#0d1b2a; --bg2:#0a1520; --card:#1a2a3a; --card2:#203040;
  --gold:#2196F3; --gold2:#1976D2; --text:#ffffff; --text2:#7aaccc;
  --border:#1e3050; --green:#4caf50; --btn-primary:#2196F3; --btn-primary-text:#fff;
  --nav-bg:#0a1520; --topbar-bg:#0d1b2a;
  --auth-bg:#0d1b2a; --auth-header-bg:#0a1520;
  --auth-card-bg:#ddeeff; --auth-card-text:#0d1b2a;
  --auth-input-bg:#eef5ff; --auth-input-border:#99bbdd;
  --auth-tab-active-color:#0d1b2a; --auth-tab-border-color:#2196F3;
  --auth-label-color:#336; --auth-wave-color:#ddeeff;
  --auth-btn-primary-bg:#2196F3; --auth-btn-primary-text:#fff;
  --auth-btn-secondary-border:#2196F3; --auth-btn-secondary-text:#2196F3;
}
[data-theme="green"] {
  --bg:#0a1f0a; --bg2:#081508; --card:#112211; --card2:#1a301a;
  --gold:#4caf50; --gold2:#388e3c; --text:#ffffff; --text2:#7acc7a;
  --border:#1e3a1e; --green:#66bb6a; --btn-primary:#4caf50; --btn-primary-text:#fff;
  --nav-bg:#081508; --topbar-bg:#0a1f0a;
  --auth-bg:#0a1f0a; --auth-header-bg:#081808;
  --auth-card-bg:#ddffdd; --auth-card-text:#0a1f0a;
  --auth-input-bg:#eeffee; --auth-input-border:#99cc99;
  --auth-tab-active-color:#0a1f0a; --auth-tab-border-color:#4caf50;
  --auth-label-color:#363; --auth-wave-color:#ddffdd;
  --auth-btn-primary-bg:#4caf50; --auth-btn-primary-text:#fff;
  --auth-btn-secondary-border:#4caf50; --auth-btn-secondary-text:#4caf50;
}
[data-theme="purple"] {
  --bg:#1a0a2e; --bg2:#120520; --card:#2a1a45; --card2:#351d55;
  --gold:#9c27b0; --gold2:#7b1fa2; --text:#ffffff; --text2:#c07acc;
  --border:#3a1a55; --green:#4caf50; --btn-primary:#9c27b0; --btn-primary-text:#fff;
  --nav-bg:#120520; --topbar-bg:#1a0a2e;
  --auth-bg:#1a0a2e; --auth-header-bg:#120520;
  --auth-card-bg:#f0ddf8; --auth-card-text:#1a0a2e;
  --auth-input-bg:#faeeff; --auth-input-border:#cc99dd;
  --auth-tab-active-color:#1a0a2e; --auth-tab-border-color:#9c27b0;
  --auth-label-color:#636; --auth-wave-color:#f0ddf8;
  --auth-btn-primary-bg:#9c27b0; --auth-btn-primary-text:#fff;
  --auth-btn-secondary-border:#9c27b0; --auth-btn-secondary-text:#9c27b0;
}
[data-theme="red"] {
  --bg:#1f0a0a; --bg2:#150505; --card:#2a1010; --card2:#3a1515;
  --gold:#f44336; --gold2:#d32f2f; --red:#ff7043; --text:#ffffff; --text2:#cc7a7a;
  --border:#3a1010; --green:#4caf50; --btn-primary:#f44336; --btn-primary-text:#fff;
  --nav-bg:#150505; --topbar-bg:#1f0a0a;
  --auth-bg:#1f0a0a; --auth-header-bg:#160505;
  --auth-card-bg:#ffddd d; --auth-card-bg:#ffdddd; --auth-card-text:#1f0a0a;
  --auth-input-bg:#fff0f0; --auth-input-border:#ddaaaa;
  --auth-tab-active-color:#1f0a0a; --auth-tab-border-color:#f44336;
  --auth-label-color:#633; --auth-wave-color:#ffdddd;
  --auth-btn-primary-bg:#f44336; --auth-btn-primary-text:#fff;
  --auth-btn-secondary-border:#f44336; --auth-btn-secondary-text:#f44336;
}
[data-theme="light"] {
  --bg:#f5f5f5; --bg2:#e8e8e8; --card:#ffffff; --card2:#f0f0f0;
  --gold:#e8b830; --gold2:#c9a020; --text:#1a1b2e; --text2:#555577;
  --border:#ddddee; --green:#388e3c; --btn-primary:#e8b830; --btn-primary-text:#1a1b2e;
  --nav-bg:#e8e8e8; --topbar-bg:#f5f5f5;
  --auth-bg:#eeeeee; --auth-header-bg:#ddddee;
  --auth-card-bg:#ffffff; --auth-card-text:#1a1b2e;
  --auth-input-bg:#f8f8f8; --auth-input-border:#ddddee;
  --auth-tab-active-color:#1a1b2e; --auth-tab-border-color:#e8b830;
  --auth-label-color:#555; --auth-wave-color:#ffffff;
  --auth-btn-primary-bg:#e8b830; --auth-btn-primary-text:#1a1b2e;
  --auth-btn-secondary-border:#e8b830; --auth-btn-secondary-text:#e8b830;
}

html,body { height:100%; }
body { background:var(--bg); color:var(--text); font-family:'Segoe UI',Arial,sans-serif; max-width:480px; margin:0 auto; min-height:100vh; overflow-x:hidden; transition:background .3s,color .3s; }

.screen { display:none; min-height:100vh; flex-direction:column; }
.screen.active { display:flex; }

.topbar { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; background:var(--topbar-bg); position:sticky; top:0; z-index:200; border-bottom:1px solid var(--border); min-height:50px; }
.topbar-center { display:flex; align-items:center; gap:7px; font-size:15px; font-weight:700; }
.tlogo { width:28px; height:28px; background:#fff; border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; }
.tlogo img { width:100%; height:100%; object-fit:cover; }
.lang-btn { background:transparent; border:1px solid var(--border); color:var(--text2); padding:5px 9px; border-radius:6px; font-size:12px; cursor:pointer; display:flex; align-items:center; gap:4px; position:relative; white-space:nowrap; }
.lang-dropdown { display:none; position:absolute; top:calc(100% + 6px); right:0; background:#fff; border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,.3); min-width:180px; z-index:999; overflow:hidden; max-height:300px; overflow-y:auto; }
.lang-dropdown.open { display:block; }
.lang-opt { padding:11px 16px; font-size:13px; color:#222; cursor:pointer; display:flex; align-items:center; gap:8px; border-bottom:1px solid #f0f0f0; }
.lang-opt:last-child { border-bottom:none; }
.lang-opt:hover { background:#f5f5f5; }
.lang-opt.active { background:#fff8e1; font-weight:600; }
.notif-btn { width:32px; height:32px; background:var(--card); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer; position:relative; }
.notif-dot { width:8px; height:8px; background:var(--red); border-radius:50%; position:absolute; top:4px; right:4px; }
.back-btn { background:none; border:none; color:var(--text); font-size:22px; cursor:pointer; padding:4px 8px; }

/* TELEGRAM SUPPORT BUTTON */
.tg-support-btn {
  width:34px; height:34px;
  background:linear-gradient(135deg,#2CA5E0,#1a8cbf);
  border-radius:9px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0;
  box-shadow:0 2px 8px rgba(44,165,224,0.45);
  transition:transform .15s,box-shadow .15s;
}
.tg-support-btn:active { transform:scale(0.9); }
.tg-support-btn svg { width:19px; height:19px; }

.bottom-nav { display:flex; background:var(--nav-bg); border-top:1px solid var(--border); position:sticky; bottom:0; z-index:200; flex-shrink:0; }
.nav-item { flex:1; display:flex; flex-direction:column; align-items:center; padding:9px 4px 7px; cursor:pointer; color:rgba(255,255,255,0.45); font-size:10px; gap:3px; transition:color .2s,background .2s; user-select:none; position:relative; }
.nav-item.active { color:#ffffff; }
.nav-item.active .nav-icon { color:#4caf50; filter:drop-shadow(0 0 4px rgba(76,175,80,0.6)); }
.nav-item.active::after { content:''; position:absolute; top:0; left:20%; right:20%; height:2px; background:linear-gradient(90deg,transparent,#4caf50,transparent); border-radius:0 0 2px 2px; }
.nav-item span { color:inherit; font-weight:500; }
.nav-icon { font-size:20px; line-height:1; color:inherit; transition:color .2s; }
.nav-icon img { width:22px; height:22px; object-fit:cover; border-radius:4px; }

/* AUTH — fully themed, every element follows CSS vars */
#screen-auth { background:var(--auth-bg); transition:background .3s; }
.auth-outer-wrap { flex:1; display:flex; flex-direction:column; background:var(--auth-bg); min-height:100vh; transition:background .3s; }
.auth-lang-row { display:flex; justify-content:flex-end; padding:12px 16px 4px; }
.auth-lang-btn { background:rgba(128,128,128,0.15); border:1px solid rgba(128,128,128,0.25); color:var(--text2); padding:6px 12px; border-radius:8px; font-size:12px; cursor:pointer; display:flex; align-items:center; gap:4px; position:relative; transition:color .3s; }
.auth-header-area {
  background:linear-gradient(180deg, var(--auth-header-bg) 0%, var(--auth-bg) 80%, transparent 100%);
  padding:10px 20px 0; display:flex; flex-direction:column; align-items:center; position:relative; overflow:hidden;
  transition:background .3s;
}
.auth-header-area::before { content:''; position:absolute; inset:0; background-image:repeating-linear-gradient(-45deg,transparent,transparent 8px,rgba(255,255,255,0.03) 8px,rgba(255,255,255,0.03) 9px); pointer-events:none; }
.auth-site-name { font-size:20px; font-weight:800; color:var(--text); margin-bottom:12px; letter-spacing:.5px; position:relative; z-index:1; transition:color .3s; }
.auth-logo-box { width:68px; height:68px; background:#fff; border-radius:18px; display:flex; align-items:center; justify-content:center; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.4); position:relative; z-index:1; }
.auth-logo-box img { width:100%; height:100%; object-fit:cover; }
.auth-wave { width:100%; height:44px; margin-top:-1px; display:block; }
/* wave fill follows auth-card-bg via inline style set in JS */
.auth-card-area { background:var(--auth-card-bg); padding:0 20px 20px; transition:background .3s; }
.auth-main-tabs { display:flex; border-bottom:1px solid rgba(128,128,128,0.2); margin-bottom:20px; padding-top:4px; }
.auth-main-tab { flex:1; padding:13px 0; text-align:center; font-size:14px; cursor:pointer; color:#999; font-weight:600; border-bottom:2px solid transparent; margin-bottom:-1px; transition:.2s; }
.auth-main-tab.active { color:var(--auth-tab-active-color); border-bottom-color:var(--auth-tab-border-color); }
.auth-card-bottom-curve { height:18px; background:var(--auth-card-bg); border-radius:0 0 22px 22px; margin-bottom:0; transition:background .3s; }
.auth-buttons-area { background:transparent; padding:18px 20px 30px; }
.a-label { font-size:12px; color:var(--auth-label-color); margin-bottom:6px; font-weight:500; transition:color .3s; }
.a-field-wrap { margin-bottom:16px; }
.a-wrap { display:flex; align-items:center; background:var(--auth-input-bg); border-radius:10px; overflow:hidden; border:1px solid var(--auth-input-border); transition:background .3s,border-color .3s; }
.a-prefix { padding:0 12px; color:var(--auth-card-text); font-size:14px; font-weight:500; border-right:1px solid var(--auth-input-border); white-space:nowrap; cursor:pointer; user-select:none; transition:color .3s; }
.a-input { flex:1; border:none; background:transparent; padding:14px 13px; font-size:14px; color:var(--auth-card-text); outline:none; width:100%; transition:color .3s; }
.a-input::placeholder { color:#c0c0c0; }
.inv-lock-icon { padding:0 12px 0 4px; font-size:14px; color:#888; flex-shrink:0; }
.a-input[readonly] { color: var(--auth-card-text); opacity:0.85; cursor:default; }
.inv-field-locked .a-wrap { border-color: #f0a500 !important; background: rgba(240,165,0,0.06) !important; }
.inv-field-locked .a-input[readonly] { color: #c07800; font-weight:600; letter-spacing:0.5px; }
.eye-btn { padding:0 13px; background:none; border:none; cursor:pointer; color:#aaa; font-size:16px; }
.auth-err { color:#e53935; font-size:12px; margin-bottom:8px; display:none; }
.auth-action-btn { width:100%; padding:16px; border-radius:13px; border:none; font-size:15px; font-weight:700; cursor:pointer; margin-bottom:12px; transition:.15s; }
.auth-action-btn.primary { background:var(--auth-btn-primary-bg); color:var(--auth-btn-primary-text); }
.auth-action-btn.primary:active { opacity:.88; transform:scale(0.99); }
.auth-action-btn.secondary { background:transparent; color:var(--auth-btn-secondary-text); border:1.5px solid var(--auth-btn-secondary-border); }
.auth-action-btn.secondary:active { opacity:.8; }

.country-picker-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:9998; align-items:flex-end; justify-content:center; }
.country-picker-overlay.open { display:flex; }
.country-picker-sheet { background:#fff; border-radius:20px 20px 0 0; width:100%; max-width:480px; max-height:70vh; display:flex; flex-direction:column; }
.country-picker-header { padding:16px 20px; border-bottom:1px solid #eee; display:flex; justify-content:space-between; align-items:center; }
.country-picker-header span { font-size:16px; font-weight:700; color:#1a1b2e; }
.country-picker-header button { background:none; border:none; font-size:20px; cursor:pointer; color:#666; }
.country-search { padding:10px 16px; }
.country-search input { width:100%; border:1px solid #eee; border-radius:8px; padding:10px 12px; font-size:14px; outline:none; }
.country-list { overflow-y:auto; flex:1; }
.country-item { padding:12px 20px; border-bottom:1px solid #f5f5f5; cursor:pointer; display:flex; align-items:center; gap:10px; font-size:14px; color:#222; }
.country-item:hover { background:#f9f9f9; }
.country-item .code { color:#888; font-size:13px; }

.scroll-content { flex:1; overflow-y:auto; padding-bottom:4px; }
.scroll-content::-webkit-scrollbar { width:2px; }
.scroll-content::-webkit-scrollbar-thumb { background:var(--border); border-radius:2px; }

.save-bar { display:flex; gap:20px; padding:8px 16px; }
.save-badge { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--gold); }
.ticker-wrap { background:#23253b; margin:8px 12px; border-radius:9px; padding:9px 13px; display:flex; align-items:center; gap:8px; overflow:hidden; }
.ticker-icon { font-size:14px; flex-shrink:0; }
.ticker-text { font-size:12px; color:var(--text2); overflow:hidden; white-space:nowrap; flex:1; }
.ticker-inner { display:inline-block; animation:ticker 25s linear infinite; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.slider-wrap { margin:8px 12px; border-radius:14px; overflow:hidden; height:170px; position:relative; }
.slider-track { display:flex; height:100%; transition:transform .5s ease; }
.slide { min-width:100%; height:100%; background:#2a3a5e; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; }
.slide img { width:100%; height:100%; object-fit:cover; }
.slide-placeholder { text-align:center; color:rgba(255,255,255,.5); font-size:13px; }
.slider-dots { position:absolute; bottom:8px; left:0; right:0; display:flex; justify-content:center; gap:5px; }
.sdot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.4); transition:.3s; }
.sdot.active { background:#fff; width:18px; border-radius:3px; }

.home-grid { margin:10px 12px; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:8px; }
.home-app-card { grid-row:1/3; background:#e8e8e8; border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:16px; cursor:pointer; border:none; min-height:120px; }
.home-app-icon { font-size:44px; display:flex; align-items:center; justify-content:center; }
.home-app-icon img { width:56px; height:56px; object-fit:cover; border-radius:12px; }
.home-app-label { font-size:16px; font-weight:700; color:#111; }
.home-right-top { background:#e8e8e8; border-radius:16px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; border:none; }
.home-right-top-left .r-title { font-size:14px; font-weight:700; color:#111; }
.home-right-top-left .r-sub { font-size:11px; color:#888; margin-top:2px; }
.home-right-top-icon { font-size:32px; display:flex; align-items:center; justify-content:center; width:42px; height:42px; }
.home-right-top-icon img { width:42px; height:42px; object-fit:cover; border-radius:10px; }
.home-bottom-cards { background:#e8e8e8; border-radius:16px; display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border:none; }
.hbc { padding:12px 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; cursor:pointer; }
.hbc:first-child { border-right:1px solid #d0d0d0; }
.hbc-icon { font-size:24px; display:flex; align-items:center; justify-content:center; width:30px; height:30px; }
.hbc-icon img { width:30px; height:30px; object-fit:cover; border-radius:7px; }
.hbc-label { font-size:12px; color:#444; font-weight:500; }

.activities-section { margin:10px 12px; background:var(--card); border-radius:14px; overflow:hidden; }
.activities-title { font-size:14px; font-weight:700; padding:14px 14px 10px; border-bottom:1px solid var(--border); }
.activity-item { display:flex; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--border); cursor:pointer; }
.activity-item:last-child { border-bottom:none; }
.activity-icon { width:44px; height:44px; border-radius:10px; overflow:hidden; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:#2a3a20; }
.activity-icon img { width:100%; height:100%; object-fit:cover; }
.activity-info { flex:1; }
.activity-text { font-size:12px; color:var(--text2); line-height:1.5; }
.activity-reward { color:var(--green); font-size:13px; font-weight:700; white-space:nowrap; }
.activity-btn { background:var(--card2); color:var(--text); border:none; border-radius:20px; padding:6px 14px; font-size:11px; cursor:pointer; margin-top:4px; display:block; }
.countdown-wrap { text-align:center; padding:16px 0 10px; }
.countdown-time { font-size:28px; font-weight:700; letter-spacing:2px; }
.countdown-label { font-size:12px; color:var(--text2); margin-top:3px; }
.section-title { font-size:15px; font-weight:700; margin:4px 12px 10px; display:flex; align-items:center; gap:8px; }

.vip-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 12px 16px; }
.vip-card-home { background:var(--card); border-radius:14px; overflow:hidden; cursor:pointer; }
.vip-card-home-img { height:160px; background:#2a2c45; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.vip-card-home-img img { width:100%; height:100%; object-fit:cover; }
.vip-card-bottom { padding:10px; }
.vip-card-comm-label { font-size:10px; color:var(--text2); }
.vip-card-comm-val { font-size:16px; font-weight:700; color:var(--gold); }
.vip-card-name { font-size:10px; color:var(--text2); margin-top:2px; }
.vip-locked-overlay { position:absolute; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; font-size:32px; }

.platform-intro-section { margin:0 12px 12px; background:var(--card); border-radius:14px; overflow:hidden; }
.platform-intro-title { font-size:14px; font-weight:700; padding:14px 14px 12px; border-bottom:1px solid var(--border); }
.video-container { position:relative; width:100%; background:#000; }
.video-container video { width:100%; display:block; max-height:220px; object-fit:contain; }
.video-placeholder-box { width:100%; height:200px; background:#111827; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; }
.video-placeholder-box .play-circle { width:56px; height:56px; border-radius:50%; border:3px solid rgba(255,255,255,0.4); display:flex; align-items:center; justify-content:center; }
.video-placeholder-box .play-tri { width:0; height:0; border-top:12px solid transparent; border-bottom:12px solid transparent; border-left:20px solid rgba(255,255,255,0.8); margin-left:4px; }
.video-placeholder-box p { font-size:12px; color:rgba(255,255,255,0.4); }

.member-list-section { margin:0 12px 12px; background:var(--card); border-radius:14px; overflow:hidden; }
.member-list-title { font-size:14px; font-weight:700; padding:14px 14px 10px; border-bottom:1px solid var(--border); }
.member-item { display:flex; align-items:center; justify-content:space-between; padding:11px 14px; border-bottom:1px solid var(--border); }
.member-item:last-child { border-bottom:none; }
.member-left { display:flex; align-items:center; gap:8px; }
.member-vip-badge { font-size:10px; font-weight:700; padding:3px 8px; border-radius:10px; white-space:nowrap; }
.mvb-1 { background:rgba(245,200,66,0.18); color:#f5c842; }
.mvb-2 { background:rgba(156,39,176,0.18); color:#ce93d8; }
.mvb-3 { background:rgba(76,175,80,0.18); color:#81c784; }
.mvb-4 { background:rgba(33,150,243,0.18); color:#64b5f6; }
.mvb-5 { background:rgba(255,152,0,0.18); color:#ffb74d; }
.member-id { font-size:12px; color:var(--text2); }
.member-amount { font-size:13px; font-weight:700; color:var(--green); }

.regulatory-section { margin:0 12px 16px; background:var(--card); border-radius:14px; overflow:hidden; }
.regulatory-title { font-size:14px; font-weight:700; padding:14px 14px 12px; border-bottom:1px solid var(--border); }
.regulatory-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.reg-item { padding:14px 10px; display:flex; align-items:center; justify-content:center; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.reg-item:nth-child(2n) { border-right:none; }
.reg-item:nth-last-child(-n+2) { border-bottom:none; }
.reg-item img { max-width:100%; max-height:56px; object-fit:contain; }
.reg-item-placeholder { width:100%; text-align:center; }
.reg-compass { background:#fff8f0; border-radius:8px; padding:8px; }
.reg-compass-title { font-size:9px; font-weight:800; color:#8B0000; text-align:center; line-height:1.3; }
.reg-compass-seal { font-size:20px; text-align:center; }
.reg-fsb { background:#1a3a7a; border-radius:8px; padding:8px; }
.reg-fsb-big { font-size:22px; font-weight:900; color:#fff; text-align:center; }
.reg-fsb-sub { font-size:8px; color:rgba(255,255,255,0.8); text-align:center; line-height:1.3; }
.reg-sec1 { border-radius:8px; overflow:hidden; background:#f0f4f8; padding:6px 8px; }
.reg-sec1-txt { font-size:8px; font-weight:700; color:#003087; text-align:center; line-height:1.4; }
.reg-sec2 { border-radius:8px; background:#f0f4f8; padding:6px 8px; display:flex; flex-direction:column; align-items:center; gap:2px; }
.reg-sec2-big { font-size:16px; font-weight:900; color:#003087; }
.reg-sec2-sub { font-size:7px; color:#003087; text-align:center; line-height:1.3; }

.task-header { background:var(--bg2); padding:12px 14px 14px; }
.task-reset-bar { display:flex; justify-content:flex-end; margin-bottom:10px; }
.task-reset-badge { background:rgba(0,0,0,.4); border-radius:8px; padding:7px 13px; font-size:12px; display:flex; align-items:center; gap:6px; }
.task-stats-row { display:flex; gap:30px; }
.tstat-label { font-size:11px; color:var(--text2); margin-bottom:3px; }
.tstat-val { font-size:24px; font-weight:700; }
.task-tabs { display:flex; background:var(--card); margin:10px 12px; border-radius:10px; overflow:hidden; }
.task-tab { flex:1; padding:10px; text-align:center; font-size:13px; cursor:pointer; color:var(--text2); position:relative; font-weight:500; }
.task-tab.active { color:var(--gold); }
.task-tab.active::after { content:''; position:absolute; bottom:0; left:20%; right:20%; height:2px; background:var(--gold); border-radius:2px; }
.task-list { padding:0 12px; }
.task-item { background:var(--card); border-radius:14px; padding:13px; display:flex; gap:11px; align-items:center; margin-bottom:10px; }
.task-thumb { width:62px; height:62px; border-radius:10px; flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#2a3a5e; }
.task-thumb img { width:100%; height:100%; object-fit:cover; }
.task-info { flex:1; }
.task-name { font-size:14px; font-weight:600; margin-bottom:5px; }
.task-row { display:flex; justify-content:space-between; font-size:12px; color:var(--text2); margin-bottom:3px; }
.task-val { color:var(--text); }
.complete-btn { background:var(--card2); color:var(--text); border:none; padding:9px 14px; border-radius:20px; font-size:12px; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.no-data { text-align:center; color:var(--text2); padding:40px 20px; font-size:14px; }

.team-invite-card { background:#fff; margin:12px; border-radius:16px; padding:18px 16px 14px; text-align:center; }
.gift-icon { font-size:52px; margin-bottom:6px; }
.invite-code-row { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
.invite-code-text { font-size:24px; font-weight:700; color:#1a1b2e; letter-spacing:3px; }
.copy-btn { background:#1a1b2e; color:#fff; border:none; padding:6px 14px; border-radius:8px; font-size:12px; cursor:pointer; }
.ref-link-row { display:flex; align-items:center; gap:8px; margin-bottom:12px; background:#f5f5f5; border-radius:8px; padding:8px 10px; }
.ref-link-text { flex:1; font-size:10px; color:#555; word-break:break-all; text-align:left; }
.social-row { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.social-btn { width:34px; height:34px; border-radius:50%; border:1px solid #ddd; display:flex; align-items:center; justify-content:center; font-size:14px; cursor:pointer; background:#fff; }
.team-period { font-size:12px; color:var(--text2); margin:4px 12px 8px; display:flex; align-items:center; gap:5px; }
.team-stats-grid { background:var(--card); margin:0 12px 12px; border-radius:14px; padding:14px; display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.ts { text-align:center; }
.ts-label { font-size:10px; color:var(--text2); margin-bottom:3px; }
.ts-val { font-size:14px; font-weight:600; }
.level-row-cards { display:flex; gap:8px; padding:0 12px 16px; }
.level-card { flex:1; border-radius:14px; padding:13px 8px; text-align:center; color:#fff; }
.lc1 { background:linear-gradient(160deg,#2196F3,#1565C0); }
.lc2 { background:linear-gradient(160deg,#7c4dff,#4a148c); }
.lc3 { background:linear-gradient(160deg,#f44336,#b71c1c); }
.level-badge { background:rgba(255,255,255,.2); border-radius:4px; font-size:9px; font-weight:700; padding:2px 6px; margin-bottom:9px; display:inline-block; }
.lc-row { font-size:9px; opacity:.8; margin-bottom:2px; }
.lc-big { font-size:16px; font-weight:700; margin:3px 0; }
.lc-total { font-size:11px; font-weight:600; }
.details-btn2 { background:rgba(0,0,0,.3); color:#fff; border:none; border-radius:20px; padding:6px 0; font-size:10px; margin-top:7px; cursor:pointer; width:100%; }
.team-members-title { font-size:13px; font-weight:700; color:var(--text2); padding:10px 12px 6px; text-transform:uppercase; letter-spacing:.5px; }
.team-member-item { background:var(--card); margin:0 12px 8px; border-radius:12px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; }
.tmi-left { display:flex; align-items:center; gap:10px; }
.tmi-avatar { width:36px; height:36px; border-radius:50%; background:var(--card2); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:var(--gold); flex-shrink:0; }
.tmi-email { font-size:12px; color:var(--text); margin-bottom:3px; }
.tmi-info { font-size:11px; color:var(--text2); display:flex; gap:8px; align-items:center; }
.tmi-vip { background:rgba(245,200,66,0.15); color:var(--gold); font-size:10px; padding:2px 7px; border-radius:10px; font-weight:700; }
.tmi-invited { font-size:10px; color:var(--text2); background:var(--card2); padding:2px 7px; border-radius:10px; }

.team-details-tabs { display:flex; background:var(--card); margin:10px 12px; border-radius:10px; overflow:hidden; }
.team-details-tab { flex:1; padding:10px; text-align:center; font-size:12px; cursor:pointer; color:var(--text2); position:relative; font-weight:500; }
.team-details-tab.active { color:var(--gold); }
.team-details-tab.active::after { content:''; position:absolute; bottom:0; left:20%; right:20%; height:2px; background:var(--gold); border-radius:2px; }
.team-details-item { background:var(--card); border-radius:12px; padding:13px 14px; margin:0 12px 8px; }
.tdi-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.tdi-email { font-size:13px; font-weight:600; }
.tdi-vip { background:rgba(245,200,66,0.15); color:var(--gold); font-size:11px; padding:3px 10px; border-radius:20px; font-weight:700; }
.tdi-stats { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; }
.tdi-stat { text-align:center; background:var(--bg2); border-radius:8px; padding:8px 4px; }
.tdi-stat-label { font-size:9px; color:var(--text2); margin-bottom:2px; }
.tdi-stat-val { font-size:13px; font-weight:700; }

.vip-upgrade-log { text-align:right; padding:8px 16px; font-size:12px; color:var(--gold); cursor:pointer; }
.vip-detail-card { background:var(--card); margin:0 12px 14px; border-radius:16px; overflow:hidden; }
.vdc-header { padding:12px 14px 0; display:flex; align-items:center; gap:7px; font-size:14px; font-weight:700; }
.vdc-badge-unlocked { background:#1a3a1a; color:#4caf50; font-size:11px; padding:3px 10px; border-radius:20px; margin-left:auto; font-weight:600; }
.vdc-badge-lock { background:#3a2a10; color:#f5c842; font-size:11px; padding:3px 10px; border-radius:20px; margin-left:auto; font-weight:600; }
.vip-img-area { width:100%; height:240px; background:linear-gradient(180deg,#1e2035,#252545); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.vip-img-area img { width:100%; height:100%; object-fit:contain; }
.vip-stats-grid { display:grid; grid-template-columns:1fr 1fr; }
.vsg { background:var(--card); padding:12px 16px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.vsg:nth-child(2n) { border-right:none; }
.vsg-label { font-size:11px; color:var(--text2); margin-bottom:4px; }
.vsg-val { font-size:16px; font-weight:700; }
.vip-effective { padding:10px 16px 13px; font-size:11px; color:var(--text2); line-height:1.6; }
.vip-unlock-row { padding:0 14px 14px; display:flex; justify-content:flex-end; }
.vip-unlock-btn { background:var(--gold); color:var(--btn-primary-text); border:none; border-radius:20px; padding:8px 20px; font-size:12px; font-weight:700; cursor:pointer; }

.me-header-bg { background:linear-gradient(160deg,#2a2c60,#1a1b3e); padding:20px 16px 34px; }
.me-welcome { font-size:11px; color:var(--text2); }
.me-name { font-size:16px; font-weight:600; margin-top:2px; }
.me-vip-float { float:right; background:var(--gold); color:var(--btn-primary-text); font-size:11px; font-weight:700; padding:4px 11px; border-radius:20px; display:flex; align-items:center; gap:4px; margin-top:-4px; }
.balance-card { background:linear-gradient(135deg,#4a4e9e,#2a2c6e); margin:-18px 12px 14px; border-radius:16px; padding:18px 16px; position:relative; z-index:1; }
.bc-label { font-size:11px; color:rgba(255,255,255,.65); margin-bottom:3px; }
.bc-val { font-size:30px; font-weight:700; margin-bottom:10px; }
.bc-brand { position:absolute; top:14px; right:14px; font-size:11px; color:rgba(255,255,255,.35); }
.bc-re-label { font-size:10px; color:rgba(255,255,255,.55); margin-bottom:2px; }
.bc-re-val { font-size:16px; font-weight:600; }
.me-actions { display:flex; gap:8px; margin:0 12px 14px; }
.me-act { flex:1; background:var(--card); border-radius:12px; padding:13px 6px; text-align:center; cursor:pointer; }
.me-act-icon { font-size:22px; margin-bottom:5px; }
.me-act-label { font-size:10px; color:var(--text2); }
.me-menu { margin:0 12px; }
.me-menu-item { background:var(--card); border-radius:12px; padding:15px 14px; display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; cursor:pointer; }
.mmi-left { display:flex; align-items:center; gap:12px; }
.mmi-icon { width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:17px; }
.mmi-icon.g { background:#1a3a1a; }
.mmi-icon.b { background:#1a2a3a; }
.mmi-text { font-size:14px; }
.mmi-arrow { color:var(--text2); font-size:18px; }

.currency-list { padding:10px 12px; }
.currency-item { background:var(--card); border-radius:12px; padding:15px 14px; display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; cursor:pointer; }
.ci-left { display:flex; align-items:center; gap:12px; }
.ci-icon { width:34px; height:34px; border-radius:50%; background:var(--bg2); display:flex; align-items:center; justify-content:center; font-size:18px; overflow:hidden; }
.ci-icon img { width:100%; height:100%; object-fit:cover; }
.ci-name { font-size:14px; font-weight:500; }
.ci-arrow { color:var(--text2); font-size:18px; }
.qr-area { padding:20px; text-align:center; }
.qr-box { width:160px; height:160px; background:#fff; border-radius:12px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.qr-box img { width:100%; height:100%; object-fit:contain; }
.recharge-brand-row { background:var(--card); border-radius:12px; margin:0 12px 12px; padding:12px 14px; }
.rbr-top { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.rbr-logo { width:22px; height:22px; background:#fff; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:10px; overflow:hidden; }
.rbr-logo img { width:100%; height:100%; object-fit:cover; }
.rbr-name { font-size:13px; font-weight:600; }
.rbr-addr-row { display:flex; align-items:center; gap:8px; }
.rbr-addr { flex:1; font-size:11px; color:var(--text2); word-break:break-all; }
.copy-small { background:var(--card2); border:none; color:var(--text); padding:6px 12px; border-radius:8px; font-size:12px; cursor:pointer; flex-shrink:0; }
.recharge-done-btn { background:var(--gold); color:var(--btn-primary-text); border:none; border-radius:12px; padding:14px; font-size:15px; font-weight:600; cursor:pointer; width:calc(100% - 24px); margin:0 12px 12px; display:block; }
.attention-box { background:var(--card); border-radius:12px; margin:0 12px 16px; padding:13px; font-size:11px; color:var(--text2); line-height:1.9; }
.att-title { color:var(--text); font-weight:600; margin-bottom:5px; font-size:12px; }
.pending-notice { background:rgba(245,200,66,0.1); border:1px solid rgba(245,200,66,0.3); border-radius:12px; margin:0 12px 12px; padding:12px 14px; }
.pending-notice-title { font-size:12px; font-weight:700; color:var(--gold); margin-bottom:6px; }
.pending-notice-item { font-size:11px; color:var(--text2); padding:6px 0; border-bottom:1px solid rgba(255,255,255,0.05); display:flex; justify-content:space-between; align-items:center; }
.pending-notice-item:last-child { border-bottom:none; }
.pending-status-badge { font-size:10px; padding:2px 8px; border-radius:10px; font-weight:600; }
.status-pending { background:rgba(245,200,66,0.2); color:var(--gold); }
.status-approved { background:rgba(76,175,80,0.2); color:#4caf50; }
.status-rejected { background:rgba(229,57,53,0.2); color:var(--red); }

.wd-card { background:var(--card); border-radius:14px; padding:16px; margin:12px; }
.wd-title { font-size:16px; font-weight:600; }
.wd-sub { font-size:11px; color:var(--green); margin-bottom:14px; margin-top:2px; }
.wd-balance-box { background:var(--bg); border-radius:10px; padding:12px 13px; margin-bottom:13px; }
.wbb-label { font-size:11px; color:var(--text2); margin-bottom:3px; }
.wbb-val { font-size:20px; font-weight:700; }
.wd-method-label { font-size:12px; color:var(--text2); margin-bottom:7px; }
.method-btns { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:13px; }
.method-btn { border:1px solid var(--border); background:transparent; color:var(--text); padding:7px 11px; border-radius:8px; font-size:11px; cursor:pointer; }
.method-btn.active { border-color:var(--gold); background:rgba(245,200,66,.1); color:var(--gold); }
.wd-input { background:var(--bg); border:1px solid var(--border); border-radius:10px; padding:12px 13px; font-size:14px; color:var(--text); width:100%; margin-bottom:9px; outline:none; }
.wd-input::placeholder { color:var(--text2); }
.wd-received { display:flex; justify-content:space-between; font-size:12px; color:var(--text2); margin-bottom:13px; }
.confirm-btn { background:var(--gold); color:var(--btn-primary-text); border:none; border-radius:12px; padding:14px; font-size:15px; font-weight:600; cursor:pointer; width:100%; }
.att-box2 { background:var(--card); border-radius:12px; padding:13px; margin:0 12px 16px; font-size:11px; color:var(--text2); line-height:1.9; }

.company-content { padding:16px 12px 30px; overflow-y:auto; flex:1; }
.form-card { background:var(--card); border-radius:14px; padding:18px; margin:12px; }
.fp-label { font-size:12px; color:var(--text2); margin-bottom:5px; margin-top:10px; }
.fp-label:first-child { margin-top:0; }

.fin-item { background:var(--card); border-radius:12px; padding:13px 14px; margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; }
.fin-type { font-size:13px; font-weight:600; }
.fin-note { font-size:11px; color:var(--text2); margin-top:2px; }
.fin-date { font-size:10px; color:var(--text2); margin-top:2px; }
.fin-amount { font-size:16px; font-weight:700; }
.fin-amount.pos { color:var(--green); }
.fin-amount.neg { color:var(--red); }
.fin-status { font-size:10px; margin-top:3px; }
.fin-status.success { color:var(--green); }

/* Financial records tabbed card */
.fin-card { background:var(--card); border-radius:16px; overflow:hidden; }
.fin-tabs { display:flex; align-items:center; border-bottom:1px solid rgba(255,255,255,.07); padding:0 4px; position:relative; }
.fin-tab { flex:0 0 auto; padding:14px 16px 12px; font-size:14px; font-weight:500; color:var(--text2); cursor:pointer; position:relative; }
.fin-tab.active { color:var(--text); font-weight:600; }
.fin-tab.active::after { content:''; position:absolute; bottom:0; left:16px; right:16px; height:2px; background:var(--gold); border-radius:2px 2px 0 0; }
.fin-tab-filter { margin-left:auto; padding:14px 12px; font-size:13px; color:var(--text2); cursor:pointer; }
.fin-item-row { display:flex; justify-content:space-between; align-items:center; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.04); }
.fin-item-row:last-of-type { border-bottom:none; }
.fin-item-label { font-size:13px; font-weight:500; color:var(--text); }
.fin-item-date { font-size:11px; color:var(--text2); margin-top:3px; }
.fin-item-amount { font-size:15px; font-weight:700; }
.fin-item-amount.pos { color:var(--green); }
.fin-item-amount.neg { color:var(--red); }
.no-more-data { text-align:center; color:var(--text2); padding:14px; font-size:12px; }

.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:9999; align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal-box { background:#fff; border-radius:16px; padding:24px 20px; max-width:300px; width:88%; text-align:center; }
.modal-text { font-size:14px; color:#333; margin-bottom:16px; line-height:1.6; }
.modal-confirm { background:linear-gradient(135deg,#ff6b35,#e53935); color:#fff; border:none; border-radius:10px; padding:13px; font-size:15px; font-weight:600; cursor:pointer; width:100%; }

/* ANNOUNCEMENT MODAL — exact match to screenshot */
.ann-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.65); z-index:10000; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(2px); }
.ann-overlay.open { display:flex; }
.ann-box {
  background:#fff; border-radius:20px; width:100%; max-width:440px;
  max-height:82vh; display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
  animation:annIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes annIn { from{transform:scale(0.85) translateY(20px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }
.ann-header {
  padding:18px 20px 15px; font-size:17px; font-weight:700; color:#1a1b2e;
  border-bottom:1.5px solid #f0f0f0; display:flex; align-items:center; gap:9px;
  background:#fff;
}
.ann-header-icon { font-size:20px; }
.ann-body {
  flex:1; overflow-y:auto; padding:16px 20px;
  font-size:13px; color:#333; line-height:1.85;
}
.ann-body::-webkit-scrollbar { width:4px; }
.ann-body::-webkit-scrollbar-track { background:#f5f5f5; }
.ann-body::-webkit-scrollbar-thumb { background:#d0d0d0; border-radius:4px; }
.ann-footer {
  display:flex; gap:10px; padding:14px 20px 16px; border-top:1.5px solid #f0f0f0; background:#fff;
}
.ann-btn { flex:1; padding:14px; border-radius:13px; border:none; font-size:14px; font-weight:700; cursor:pointer; transition:.15s; }
.ann-btn.close { background:#f0f0f0; color:#555; }
.ann-btn.close:active { background:#e0e0e0; }
.ann-btn.next { background:var(--gold); color:var(--btn-primary-text); }
.ann-btn.next:active { opacity:.88; transform:scale(0.98); }

.locked-vip-popup { position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:9999; display:none; align-items:flex-end; justify-content:center; }
.locked-vip-popup.open { display:flex; }
.locked-vip-sheet { background:var(--card); border-radius:20px 20px 0 0; width:100%; max-width:480px; padding:24px 20px 40px; animation:slideUp .3s ease; }
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.lvs-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.lvs-title { font-size:18px; font-weight:700; }
.lvs-close { font-size:22px; cursor:pointer; background:none; border:none; color:var(--text); }
.lvs-img { width:120px; height:120px; margin:0 auto 16px; display:flex; align-items:center; justify-content:center; background:var(--bg2); border-radius:16px; overflow:hidden; }
.lvs-img img { width:100%; height:100%; object-fit:contain; }
.lvs-name { text-align:center; font-size:20px; font-weight:700; color:var(--gold); margin-bottom:6px; }
.lvs-price { text-align:center; font-size:14px; color:var(--text2); margin-bottom:20px; }
.lvs-price span { color:var(--gold); font-weight:700; font-size:18px; }
.lvs-unlock-btn { background:var(--gold); color:var(--btn-primary-text); border:none; border-radius:14px; padding:15px; font-size:16px; font-weight:700; cursor:pointer; width:100%; }

.toast { position:fixed; bottom:75px; left:50%; transform:translateX(-50%) translateY(10px); background:rgba(20,20,40,.95); color:#fff; padding:10px 20px; border-radius:20px; font-size:13px; opacity:0; transition:.3s; z-index:99999; white-space:nowrap; pointer-events:none; border:1px solid var(--border); }
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

.admin-screen { background:var(--bg); min-height:100vh; }
.admin-topbar { background:#111; padding:12px 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:2px solid var(--gold); position:sticky; top:0; z-index:100; }
.admin-topbar-title { font-size:16px; font-weight:700; color:var(--gold); }
.admin-logout-btn { background:var(--red); color:#fff; border:none; border-radius:8px; padding:7px 14px; font-size:12px; cursor:pointer; }
.admin-content { padding:14px; }
.admin-section { background:var(--card); border-radius:14px; padding:16px; margin-bottom:14px; }
.admin-section-title { font-size:14px; font-weight:700; color:var(--gold); margin-bottom:14px; border-bottom:1px solid var(--border); padding-bottom:8px; }
.admin-row { margin-bottom:12px; }
.admin-label { font-size:12px; color:var(--text2); margin-bottom:5px; }
.admin-input { background:var(--bg); border:1px solid var(--border); border-radius:8px; padding:10px 12px; font-size:14px; color:var(--text); width:100%; outline:none; }
.admin-input:focus { border-color:var(--gold); }
.admin-save-btn { background:var(--gold); color:var(--btn-primary-text); border:none; border-radius:8px; padding:10px 20px; font-size:13px; font-weight:600; cursor:pointer; }
.admin-img-preview { width:80px; height:60px; object-fit:cover; border-radius:8px; border:2px solid var(--border); }
.admin-img-upload { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.upload-btn { background:var(--card2); color:var(--text); border:1px solid var(--border); border-radius:8px; padding:8px 14px; font-size:12px; cursor:pointer; }
.admin-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.theme-btn { border:2px solid var(--border); border-radius:10px; padding:12px 8px; text-align:center; cursor:pointer; font-size:12px; font-weight:600; transition:.2s; }
.theme-btn.active { border-color:var(--gold); background:rgba(245,200,66,.1); }
.theme-btn .tb-dot { width:20px; height:20px; border-radius:50%; margin:0 auto 5px; }
.addr-item { background:var(--bg); border-radius:8px; padding:10px; margin-bottom:8px; }
.addr-item-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; font-size:12px; font-weight:600; color:var(--gold); }
.del-btn { background:var(--red); color:#fff; border:none; border-radius:5px; padding:3px 8px; font-size:11px; cursor:pointer; }
.add-new-btn { background:var(--green); color:#fff; border:none; border-radius:8px; padding:9px 16px; font-size:13px; cursor:pointer; width:100%; }
.admin-tabs { display:flex; overflow-x:auto; gap:6px; margin-bottom:14px; padding-bottom:4px; }
.admin-tab { background:var(--bg); border:1px solid var(--border); color:var(--text2); border-radius:8px; padding:8px 14px; font-size:12px; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.admin-tab.active { background:var(--gold); color:var(--btn-primary-text); border-color:var(--gold); font-weight:600; }
.admin-nav-item { display:flex; align-items:center; gap:12px; background:var(--bg); border-radius:10px; padding:12px; margin-bottom:8px; }
.admin-nav-icon-preview { width:44px; height:44px; border-radius:8px; object-fit:cover; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:20px; background:var(--card2); overflow:hidden; }
.admin-nav-icon-preview img { width:100%; height:100%; object-fit:cover; }
.admin-nav-info { flex:1; }
.admin-nav-label { font-size:13px; font-weight:600; margin-bottom:4px; }
.pending-item { background:var(--bg); border-radius:10px; padding:12px; margin-bottom:8px; }
.pending-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.pending-user { font-size:13px; font-weight:600; }
.pending-amount { font-size:14px; font-weight:700; color:var(--gold); }
.pending-detail { font-size:11px; color:var(--text2); margin-bottom:8px; }
.pending-actions { display:flex; gap:8px; }
.approve-btn { background:var(--green); color:#fff; border:none; border-radius:8px; padding:8px 16px; font-size:12px; cursor:pointer; flex:1; font-weight:600; }
.reject-btn { background:var(--red); color:#fff; border:none; border-radius:8px; padding:8px 16px; font-size:12px; cursor:pointer; flex:1; font-weight:600; }
.vip-manage-item { background:var(--bg); border-radius:10px; padding:12px; margin-bottom:10px; border:1px solid var(--border); }
.vip-manage-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.vip-manage-name { font-size:14px; font-weight:700; color:var(--gold); }
.vip-delete-btn { background:rgba(229,57,53,0.15); color:var(--red); border:1px solid rgba(229,57,53,0.3); border-radius:6px; padding:4px 10px; font-size:11px; cursor:pointer; font-weight:600; }
.add-vip-form { background:var(--bg2); border-radius:10px; padding:14px; margin-top:12px; border:1px dashed var(--border); }
.add-vip-title { font-size:13px; font-weight:700; color:var(--gold); margin-bottom:10px; }
.admin-video-preview { width:100%; max-height:160px; border-radius:8px; object-fit:cover; display:none; margin-bottom:8px; border:2px solid var(--border); }
.withdraw-pending-item { background:var(--bg); border-radius:10px; padding:12px; margin-bottom:8px; }
/* Home icon admin rows */
.home-icon-row { display:flex; align-items:center; gap:12px; background:var(--bg); border-radius:10px; padding:12px; margin-bottom:8px; }
.home-icon-preview-box { width:48px; height:48px; border-radius:10px; background:var(--card2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:24px; overflow:hidden; flex-shrink:0; }
.home-icon-preview-box img { width:100%; height:100%; object-fit:cover; border-radius:9px; }
.home-icon-row-info { flex:1; }
.home-icon-row-label { font-size:13px; font-weight:600; margin-bottom:6px; color:var(--text); }

/* PWA Install hint on App card */
.home-app-card { position:relative; }
.home-app-card::after {
  content:'📲 Install';
  position:absolute; bottom:10px; left:50%; transform:translateX(-50%);
  font-size:10px; color:#555; background:rgba(0,0,0,.08);
  padding:3px 10px; border-radius:10px; white-space:nowrap; pointer-events:none;
  opacity:1;
}

/* Task Hall VIP grid white background wrapper */
.vip-grid-wrapper {
  margin: 0 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 10px 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
[data-theme="light"] .vip-grid-wrapper {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
}
.vip-grid-wrapper .vip-grid {
  margin: 0;
  padding: 0;
}
