/* ATHAR 2.0 — 119 PROFILE RED (screenshot style, red theme)
 * Header card · Balance · Stats · Transfer · Quick Actions · Status · Logout/Help
 * Loaded last. Transform/opacity only => smooth on low-end phones.
 */
#profile-view-box.pf119-on{--p-r1:#ff3b4e;--p-r2:#e11d2e;--p-r3:#9b0f1f;--p-line:rgba(255,59,78,.55);--p-card:#0c0507;max-width:460px;margin:0 auto!important;padding:0 6px 14px!important}
/* hide the old stacked UI (its useful nodes were moved into the new layout) */
#profile-view-box.pf119-on>.pf-header-row,
#profile-view-box.pf119-on>.pf-cover-wrap,
#profile-view-box.pf119-on>.pf-details-open,
#profile-view-box.pf119-on>.pf-stats-card,
#profile-view-box.pf119-on>.pf-transfer-card,
#profile-view-box.pf119-on>.profile-actions-row,
#profile-view-box.pf119-on .pf-vip-badge{display:none!important}

#pf119{display:flex;flex-direction:column;gap:12px;margin:0 0 12px}
#pf119 *{box-sizing:border-box}
#pf119 i{display:block}

/* ---------- 1) HEADER ---------- */
#pf119 .p-hero{position:relative;overflow:hidden;border-radius:24px;padding:16px 16px 0;
  background:linear-gradient(135deg,#2a0409 0%,#14060a 45%,#07030a 100%);
  border:1.5px solid var(--p-line);box-shadow:0 14px 34px rgba(225,29,46,.26),inset 0 0 40px rgba(255,59,78,.08)}
#pf119 .p-hero:before{content:"";position:absolute;left:-30px;top:-20px;width:150px;height:60px;transform:rotate(-35deg);
  background:linear-gradient(90deg,rgba(255,59,78,.75),rgba(255,59,78,0));pointer-events:none;z-index:1}
#pf119 .p-hero:after{content:"";position:absolute;right:-34px;top:70px;width:170px;height:34px;transform:rotate(-40deg);
  background:linear-gradient(90deg,rgba(255,59,78,0),rgba(255,59,78,.55));pointer-events:none;z-index:1}
#pf119 .p-cover-slot{position:absolute;inset:0;z-index:0;opacity:.34}
#pf119 .p-cover-slot .pf-cover-wrap{position:absolute!important;inset:0!important;height:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
#pf119 .p-cover-slot .pf-cover-wrap:before,#pf119 .p-cover-slot .pf-cover-wrap:after{display:none!important}
#pf119 .p-cover-slot .pf-cover-image,#pf119 .p-cover-slot .pf-cover-video{border-radius:0!important}
#pf119 .p-cover-slot .pf-cover-edit{display:none!important}
#pf119 .p-edit{position:absolute;right:14px;top:14px;z-index:4;display:flex;align-items:center;gap:7px;height:34px;padding:0 14px;
  border-radius:999px;border:1.5px solid rgba(255,255,255,.4);background:rgba(0,0,0,.4);color:#fff;font:800 12.5px/1 inherit;cursor:pointer}
#pf119 .p-edit i{width:14px;height:14px;font-size:11px;line-height:14px;text-align:center;font-style:normal}
#pf119 .p-top{position:relative;z-index:3;display:flex;align-items:center;gap:14px;padding:30px 0 16px}
#pf119 .p-avatar{position:relative;flex:none;width:92px;height:92px}
#pf119 .p-avatar #profile-initials{width:92px!important;height:92px!important;border-radius:50%!important;margin:0!important;display:grid!important;place-items:center;
  font-size:34px!important;font-weight:900;color:#fff!important;background-color:#1a0508!important;background-size:cover!important;background-position:center!important;
  border:3px solid var(--p-r1)!important;box-shadow:0 0 0 3px rgba(255,59,78,.22),0 8px 22px rgba(225,29,46,.45)!important;cursor:pointer;position:relative!important;top:auto!important;left:auto!important;transform:none!important}
#pf119 .p-cam{position:absolute;right:-2px;bottom:-2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:#14080b;border:2px solid rgba(255,255,255,.35);color:#fff;cursor:pointer;padding:0}
#pf119 .p-cam i{width:16px;height:16px;font-size:13px;line-height:16px;text-align:center;font-style:normal}
#pf119 .p-id{min-width:0;flex:1;padding-top:14px}
#pf119 .p-name{display:flex;align-items:center;gap:7px;min-width:0}
#pf119 .p-name .pf-header-meta{flex:0 1 auto;min-width:0;display:block}
#pf119 .p-name h3,#pf119 #profile-display-name{margin:0!important;color:#fff!important;font-size:25px!important;line-height:1.1;font-weight:900!important;text-align:left!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px;display:block}
#pf119 .p-name .pf-header-sub{display:none!important}
#pf119 .p-verified{flex:none;width:22px;height:22px}
#pf119 .p-prem{display:flex;align-items:center;gap:7px;margin-top:8px;color:#ffc21a;font-weight:800;font-size:16px}
#pf119 .p-prem i{width:24px;height:24px;font-size:20px;line-height:24px;text-align:center;font-style:normal}
#pf119 .p-since{display:flex;align-items:center;gap:8px;margin-top:9px;color:#f3d9dc;font-size:13px;font-weight:600}
#pf119 .p-since i{width:18px;height:18px;font-size:15px;line-height:18px;text-align:center;font-style:normal;color:#c9a9ad}
#pf119 .p-welcome{position:relative;z-index:3;margin:0 -16px;padding:11px 16px;display:flex;align-items:center;justify-content:center;gap:9px;
  background:linear-gradient(90deg,rgba(130,10,24,.55),rgba(255,59,78,.38),rgba(130,10,24,.55));color:#fff;font-weight:800;font-size:15px;
  border-top:1px solid rgba(255,59,78,.3)}
#pf119 .p-welcome i{width:20px;height:20px;font-size:16px;line-height:20px;text-align:center;font-style:normal}
#pf119 .p-cover-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.3);
  background:rgba(0,0,0,.35);color:#fff;display:grid;place-items:center;padding:0;cursor:pointer}
#pf119 .p-cover-btn i{width:14px;height:14px;font-size:11px;line-height:14px;text-align:center;font-style:normal}

/* ---------- 2) BALANCE ---------- */
#pf119 .p-bal{position:relative;overflow:hidden;display:flex;align-items:center;gap:14px;padding:16px;border-radius:22px;
  background:linear-gradient(135deg,#1e060b,#0c0407 70%);border:1.5px solid var(--p-line);box-shadow:0 10px 26px rgba(0,0,0,.5)}
#pf119 .p-bal:after{content:"";position:absolute;right:112px;top:6px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(255,59,78,.22),transparent 70%);pointer-events:none}
#pf119 .p-wallet{flex:none;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;color:#ff5a68;background:rgba(255,59,78,.12)}
#pf119 .p-wallet i{width:34px;height:34px;font-size:28px;line-height:34px;text-align:center;font-style:normal}
#pf119 .p-bal-txt{flex:1;min-width:0}
#pf119 .p-bal-txt small{display:block;color:#fff;font-weight:800;font-size:16px;margin-bottom:2px}
#pf119 #profile-balance{display:block!important;color:#fff!important;font-size:34px!important;line-height:1.1;font-weight:900!important;margin:0!important;white-space:nowrap}
#pf119 .p-add{flex:none;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;z-index:2}
#pf119 .p-add-btn{display:flex;align-items:center;gap:7px;height:46px;padding:0 20px;border:0;border-radius:15px;color:#fff;font-weight:900;font-size:17px;cursor:pointer;
  background:linear-gradient(135deg,#ff3b4e,#d1142a);box-shadow:0 8px 20px rgba(225,29,46,.45)}
#pf119 .p-add-btn i{width:18px;height:18px;font-size:15px;line-height:18px;text-align:center;font-style:normal}
#pf119 .p-add small{display:flex;align-items:center;gap:5px;color:#ffd7db;font-size:12px;font-weight:600}
#pf119 .p-add small i{width:13px;height:13px;font-size:11px;line-height:13px;text-align:center;font-style:normal;color:#ffc21a}

/* ---------- 3) STATS ---------- */
#pf119 .p-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}
#pf119 .p-tile{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:12px 10px;border-radius:18px;background:var(--p-card);border:1.5px solid rgba(255,59,78,.4)}
#pf119 .p-tile>i{flex:none;width:30px;height:30px;color:#ff4d5f}
#pf119 .p-tile div{min-width:0}
#pf119 .p-tile small{display:block;color:#f1d6d9;font-size:12.5px;font-weight:600;margin-bottom:3px}
#pf119 .p-tile strong,#pf119 .p-tile #profile-total-spent,#pf119 .p-tile #profile-total-orders{display:block;color:#fff!important;font-size:17px!important;font-weight:900!important;white-space:nowrap}
#pf119 .p-country .pf-country-wrap{position:static}
#pf119 .p-country .pf-country-wrap>.pf-label{display:none}
#pf119 .p-country .pf-country-btn{display:flex;align-items:center;gap:6px;width:auto;height:auto;padding:0;margin:0;background:none!important;border:0!important;box-shadow:none!important;color:#fff;font-weight:900;font-size:15px}
#pf119 .p-country .pf-country-btn #pfCountryFlag{display:block;width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e;font-size:0;flex:none}
#pf119 .p-country .pf-country-btn #pfCountryCode,#pf119 .p-country .pf-country-btn i{display:none}
#pf119 .p-country .pf-country-menu{position:absolute;right:0;top:calc(100% + 6px);left:auto;width:min(250px,80vw);max-height:260px;overflow:auto;z-index:60}

/* ---------- 4) TRANSFER ---------- */
#pf119 .p-transfer{padding:14px;border-radius:22px;background:var(--p-card);border:1.5px solid var(--p-line)}
#pf119 .p-tr-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
#pf119 .p-tr-ico{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#ff3b4e,#b30d22)}
#pf119 .p-tr-ico i{width:24px;height:24px;font-size:20px;line-height:24px;text-align:center;font-style:normal}
#pf119 .p-tr-head b{display:block;color:#fff;font-size:17px;font-weight:900}
#pf119 .p-tr-head small{display:block;color:#f1d6d9;font-size:12.5px;margin-top:2px}
#pf119 .p-tr-head>i{margin-left:auto;flex:none;width:22px;height:22px;color:#ff4d5f}
#pf119 .p-tr-act{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#pf119 .p-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:15px;font-weight:900;font-size:16px;color:#fff;cursor:pointer;border:1.5px solid var(--p-line);background:transparent}
#pf119 .p-btn i{width:19px;height:19px;font-size:16px;line-height:19px;text-align:center;font-style:normal}
#pf119 .p-btn.fill{border:0;background:linear-gradient(135deg,#ff3b4e,#c8102a);box-shadow:0 8px 18px rgba(225,29,46,.4)}

/* ---------- 5) QUICK ACTIONS ---------- */
#pf119 .p-quick{padding:14px 12px 12px;border-radius:22px;background:var(--p-card);border:1.5px solid var(--p-line)}
#pf119 .p-q-head{display:flex;align-items:center;gap:8px;margin:0 4px 12px}
#pf119 .p-q-head>i{width:26px;height:26px;font-size:21px;line-height:26px;text-align:center;font-style:normal;color:#ff4d5f}
#pf119 .p-q-head b{color:#fff;font-size:19px;font-weight:900}
#pf119 .p-q-head span{margin-left:auto;color:#f1d6d9;font-size:12.5px;font-weight:600}
#pf119 .p-q-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
#pf119 .p-q{display:flex;flex-direction:column;align-items:center;gap:4px;padding:11px 2px 10px;border-radius:16px;background:#100608;border:1.5px solid rgba(255,59,78,.4);color:#fff;cursor:pointer}
#pf119 .p-q i{width:28px;height:28px;font-size:23px;line-height:28px;text-align:center;font-style:normal;color:#ff4d5f}
#pf119 .p-q b{font-size:13.5px;font-weight:900}
#pf119 .p-q small{font-size:11px;color:#e5c4c8}

/* ---------- 6) STATUS ---------- */
#pf119 .p-status{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:linear-gradient(135deg,#071a0e,#06100a);border:1.5px solid rgba(34,197,94,.65);box-shadow:0 0 18px rgba(34,197,94,.14)}
#pf119 .p-shield{flex:none;width:46px;height:46px;color:#22c55e}
#pf119 .p-st-l{flex:1;min-width:0}
#pf119 .p-st-l small{display:block;color:#fff;font-size:14px;font-weight:700;margin-bottom:5px}
#pf119 .p-active{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;background:#16a34a;color:#fff;font-weight:900;font-size:14px}
#pf119 .p-active i{width:14px;height:14px;font-size:11px;line-height:14px;text-align:center;font-style:normal}
#pf119 .p-st-r{display:flex;align-items:center;gap:8px;max-width:48%;color:#fff;font-size:13.5px;font-weight:600;line-height:1.3;text-align:left}
#pf119 .p-st-r i{flex:none;width:30px;height:30px;color:#ff6a5c}

/* ---------- 7) FOOT BUTTONS ---------- */
#pf119-foot{display:grid;grid-template-columns:1fr 1.1fr;gap:12px;margin:12px 0}
#pf119-foot .p-btn{height:52px;font-size:17px;border-radius:18px}
#pf119-foot .p-btn.logout{color:#ff3b6b;border-color:rgba(255,59,107,.55);background:#0c0507}
#pf119-foot .p-btn.help{border:0;background:linear-gradient(135deg,#ff3b4e,#b30d22);box-shadow:0 8px 20px rgba(225,29,46,.4)}

/* ---------- small phones ---------- */
@media (max-width:380px){
  #pf119 .p-name h3,#pf119 #profile-display-name{font-size:21px!important;max-width:140px}
  #pf119 .p-avatar,#pf119 .p-avatar #profile-initials{width:78px!important;height:78px!important}
  #pf119 #profile-balance{font-size:28px!important}
  #pf119 .p-add-btn{padding:0 14px;font-size:15px}
  #pf119 .p-tile{padding:10px 7px;gap:6px}
  #pf119 .p-tile>i{width:24px;height:24px;font-size:20px;line-height:24px;text-align:center;font-style:normal}
  #pf119 .p-tile strong,#pf119 .p-tile #profile-total-spent,#pf119 .p-tile #profile-total-orders{font-size:15px!important}
  #pf119 .p-q b{font-size:12px}
}

/* ---------- modals opened from the profile: red instead of purple ---------- */
body .pf-transfer-btn,body .pf-transfer-submit,body .pf-find-btn,body .pf-edit-card-btn{background:linear-gradient(135deg,#ff3b4e,#c8102a)!important;color:#fff!important}
body .pf-transfer-btn.secondary{background:transparent!important;border:1.5px solid rgba(255,59,78,.55)!important}

#pf119 .p-verified{color:#2da8ff!important;font-size:21px!important;line-height:22px!important}
#pf119 .p-prem i{color:#ffc21a}
#pf119 .p-since i{color:#c9a9ad}
#pf119 .p-wallet i{color:#ff5a68}

/* ===== v2: smaller, tidier ===== */
body:has(#account-view.active-view) #tg-btn-wrap,body:has(#account-view.active-view) .floating-support-wrap{display:none!important}
#pf119{gap:9px;margin-top:6px}
#pf119 .p-hero{border-radius:20px;padding:12px 12px 0}
#pf119 .p-edit{top:10px;right:10px;height:28px;padding:0 11px;font-size:11px;gap:5px}
#pf119 .p-top{padding:22px 0 12px;gap:11px}
#pf119 .p-avatar,#pf119 .p-avatar #profile-initials{width:70px!important;height:70px!important}
#pf119 .p-avatar #profile-initials{font-size:26px!important;border-width:2.5px!important}
#pf119 .p-cam{width:26px;height:26px}#pf119 .p-cam i{font-size:12px;line-height:26px;width:26px;height:26px}
#pf119 .p-id{padding-top:10px}
#pf119 .p-name{display:flex!important;justify-content:flex-start!important;align-items:center;gap:6px}
#pf119 .p-name .pf-header-meta{flex:0 1 auto!important;width:auto!important;max-width:calc(100% - 30px)!important;margin:0!important;padding:0!important}
#pf119 .p-name h3,#pf119 #profile-display-name{font-size:20px!important;text-align:left!important;width:auto!important;display:block!important;max-width:100%!important}
#pf119 .p-verified{font-size:17px!important;line-height:18px!important;width:18px!important;height:18px!important}
#pf119 .p-prem{font-size:13.5px;margin-top:5px;gap:6px}#pf119 .p-prem i{font-size:17px;width:auto;height:auto;line-height:1}
#pf119 .p-since{font-size:11.5px;margin-top:5px;gap:6px}#pf119 .p-since i{font-size:13px;width:auto;height:auto;line-height:1}
#pf119 .p-welcome{padding:8px 12px;font-size:12.5px;margin:0 -12px}
#pf119 .p-welcome i{font-size:15px;width:auto;height:auto;line-height:1}
#pf119 .p-cover-btn{width:24px;height:24px}#pf119 .p-cover-btn i{font-size:11px;line-height:24px;width:24px;height:24px}

#pf119 .p-bal{padding:12px;gap:10px;border-radius:18px}
#pf119 .p-wallet{width:42px;height:42px;border-radius:14px}#pf119 .p-wallet i{font-size:22px;width:auto;height:auto;line-height:1}
#pf119 .p-bal-txt small{font-size:12.5px;white-space:nowrap}
#pf119 #profile-balance{font-size:24px!important}
#pf119 .p-add-btn{height:38px;padding:0 13px;font-size:14px;border-radius:12px;gap:5px}#pf119 .p-add-btn i{font-size:13px;width:auto;height:auto;line-height:1}
#pf119 .p-add small{font-size:10.5px;white-space:nowrap}#pf119 .p-add small i{font-size:10px;width:auto;height:auto;line-height:1}

#pf119 .p-stats{grid-template-columns:1fr 1fr 1.1fr;gap:7px}
#pf119 .p-tile{flex-direction:column;align-items:flex-start;gap:2px;padding:9px 10px;border-radius:15px}
#pf119 .p-tile>i{font-size:16px;width:auto;height:auto;line-height:1;margin-bottom:3px}
#pf119 .p-tile small{font-size:11px;white-space:nowrap;margin:0}
#pf119 .p-tile strong,#pf119 .p-tile #profile-total-spent,#pf119 .p-tile #profile-total-orders{font-size:14.5px!important}
#pf119 .p-country .pf-country-btn{font-size:13px}
#pf119 .p-country .pf-country-btn #pfCountryName{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pf119 .p-country .pf-country-menu{right:0;left:auto}

#pf119 .p-transfer{padding:11px;border-radius:18px}
#pf119 .p-tr-head{gap:10px;margin-bottom:9px}
#pf119 .p-tr-ico{width:36px;height:36px;border-radius:11px}#pf119 .p-tr-ico i{font-size:16px;width:auto;height:auto;line-height:1}
#pf119 .p-tr-head b{font-size:14.5px}#pf119 .p-tr-head small{font-size:10.5px}
#pf119 .p-tr-head>i{font-size:13px;width:auto;height:auto;line-height:1}
#pf119 .p-btn{height:40px;font-size:13.5px;border-radius:13px;gap:6px}#pf119 .p-btn i{font-size:14px;width:auto;height:auto;line-height:1}

#pf119 .p-quick{padding:11px 9px 9px;border-radius:18px}
#pf119 .p-q-head{margin-bottom:9px}#pf119 .p-q-head>i{font-size:18px;width:auto;height:auto;line-height:1}
#pf119 .p-q-head b{font-size:15px}#pf119 .p-q-head span{font-size:10.5px}
#pf119 .p-q-grid{gap:6px}
#pf119 .p-q{padding:8px 2px 7px;border-radius:13px;gap:2px}
#pf119 .p-q i{font-size:19px;width:auto;height:auto;line-height:1;margin-bottom:3px}
#pf119 .p-q b{font-size:11.5px}#pf119 .p-q small{font-size:9.5px}

#pf119 .p-status{padding:9px 12px;border-radius:16px;gap:10px}
#pf119 .p-shield{font-size:30px!important;width:auto!important;height:auto!important;line-height:1}
#pf119 .p-st-l small{font-size:12px;margin-bottom:3px}
#pf119 .p-active{padding:3px 11px;font-size:12px}#pf119 .p-active i{font-size:10px;width:auto;height:auto;line-height:1}
#pf119 .p-st-r{font-size:11px;max-width:52%;margin-left:auto}#pf119 .p-st-r i{font-size:20px;width:auto;height:auto;line-height:1}
#pf119-foot{gap:9px;margin:9px 0}
#pf119-foot .p-btn{height:42px;font-size:14px;border-radius:14px}
#pf119-foot .p-btn i{font-size:15px;width:auto;height:auto;line-height:1}
