/* Kartu Agen Trader Mas Boy (gaya kartu profil: avatar bulat, tanpa hero). Dipakai di frontend, halaman depan, dan profil. */
.ak,.ak *{box-sizing:border-box}
.ak-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.ak{position:relative;background:linear-gradient(180deg,#1c2752 0%,#131b38 100%);border:1px solid rgba(122,162,255,.18);border-radius:28px;padding:20px;color:#e8ecf8;
  box-shadow:0 18px 40px -18px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.06);display:flex;flex-direction:column;gap:16px;min-width:0}
.ak-atas{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ak-ava{position:relative;width:68px;height:68px;flex:none}
.ak-ava .robot-agen{display:block;filter:drop-shadow(0 8px 16px rgba(0,0,0,.45))}
.ak-ikon{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);color:#e8ecf8;cursor:pointer;padding:0;text-decoration:none}
.ak-ikon:hover{background:rgba(255,255,255,.12)} .ak-ikon.on{background:#2a4fd6;border-color:#5b7cff}
.ak-ikon svg{width:20px;height:20px}
.ak-nama{font-size:20px;font-weight:700;line-height:1.2;margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ak-sub{font-size:13px;color:#8f9bbf;margin-top:3px}
.ak-chip{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:700;color:#9fe9d4;background:#10302a;border:1px solid #1f6b5a;border-radius:999px;padding:0 7px 0 3px}
.ak-desk{font-size:13px;color:#aab4d4;margin:-6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ak-stat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ak-stat>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}
.ak-stat .i{grid-row:span 2;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}
.ak-stat .i svg{width:20px;height:20px}
.ak-stat b{font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ak-stat span.l{font-size:11px;color:#8f9bbf}
.ak-stat .up{color:#2ecc8f}.ak-stat .dn{color:#ff5c7a}
.ak-cta{display:block;width:100%;text-align:center;border:0;border-radius:999px;padding:13px 16px;font:inherit;font-weight:700;font-size:15px;color:#fff;cursor:pointer;
  text-decoration:none;background:linear-gradient(180deg,#6b95ff,#3f6df0);box-shadow:0 8px 20px -8px rgba(63,109,240,.7)}
.ak-cta:hover{filter:brightness(1.08);text-decoration:none}
.ak-cta.ikut{background:linear-gradient(180deg,#34d399,#16a37a)}
.ak-uji{font-size:11px;color:#8f9bbf;text-align:center;margin-top:-6px}
.ak form{margin:0}
.profil-agen{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:16px;margin-bottom:14px;align-items:start}
@media (max-width:760px){.profil-agen{grid-template-columns:minmax(0,1fr)}}
/* Penanda agen di kartu sinyal */
.agen-tag{display:flex;align-items:center;gap:9px;text-decoration:none!important;color:inherit;margin:2px 0 4px}
.agen-tag .av{width:36px;height:36px;flex:none}
.agen-tag .av .robot-agen{display:block}
.agen-tag b{font-size:14px}
.agen-tag .g{font-size:12px;color:#8f9bbf}
.agen-tag .ak-chip{vertical-align:middle}
/* Angka kartu: tidak keluar kartu (nilai panjang seperti "Jangka panjang" turun ke baris kedua) */
.ak-stat{gap:6px}
.ak-stat>div{align-items:start;min-width:0}
.ak-stat .i{margin-top:1px}
.ak-stat b{white-space:normal;line-height:1.2;font-size:14.5px;min-width:0;overflow-wrap:anywhere}
.ak-stat span.l{line-height:1.25;margin-top:2px}
.ak-cta{box-shadow:0 6px 16px -10px rgba(63,109,240,.8)}
.ak-cta.ikut{box-shadow:0 6px 16px -10px rgba(22,163,122,.8)}
/* Susunan angka: ikon di atas, nilai, lalu keterangan (muat di kartu HP tanpa memotong kata) */
.ak-stat>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.ak-stat .i{width:20px;height:20px;margin:0 0 2px}
.ak-stat .i svg{width:18px;height:18px}
.ak-stat b{overflow-wrap:normal;word-break:normal;font-size:15px}
.ak-stat span.l{margin-top:0}

/* pair yang dipegang agen */
.ak-pair{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ak-pair-l{width:100%;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7f8bb3}
.ak-pc{font-size:12px;font-weight:700;color:#dfe6ff;background:#1a2550;border:1px solid #2c3b78;border-radius:8px;padding:3px 8px}
.ak-pc i{font-style:normal;color:#6f7db0;margin:0 1px}
/* dua tombol: ikuti + lihat profil */
.ak-dua{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ak-dua form{margin:0}
.ak-cta.dua{background:transparent;border:1px solid #3a4a8a;color:#dfe6ff;box-shadow:none}
.ak-cta.dua:hover{background:#1a2550}
.ak-tk{font-size:12px;font-weight:700;color:#9fe9d4;background:#10302a;border:1px solid #1f6b5a;border-radius:8px;padding:3px 8px}
.ak-tk small{font-size:10px;font-weight:600;color:#6fbfa8;text-transform:uppercase;letter-spacing:.04em;margin-right:2px}

/* chip saring pair di atas daftar agen (tanpa JS) */
.ak-saring{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.ak-saring::-webkit-scrollbar{display:none}
.ak-saring input{position:absolute;opacity:0;pointer-events:none}
.ak-saring label{flex:none;cursor:pointer;font-size:13px;font-weight:700;color:#c9d3f5;background:#1a2550;border:1px solid #2c3b78;border-radius:999px;padding:6px 12px;white-space:nowrap}
.ak-saring label i{font-style:normal;color:#6f7db0;margin:0 1px}
.ak-saring label b{font-weight:600;color:#7f8bb3;margin-left:3px;font-size:11px}
.ak-saring input:checked+label{background:#4f7cff;border-color:#4f7cff;color:#fff}
.ak-saring input:checked+label i,.ak-saring input:checked+label b{color:#dfe6ff}
.ak-saring input:focus-visible+label{outline:2px solid #9fb8ff;outline-offset:2px}
.ak-daftar:has(#aks-XAUUSD:checked) .ak:not([data-pair="XAUUSD"]){display:none}
.ak-daftar:has(#aks-BTCUSD:checked) .ak:not([data-pair="BTCUSD"]){display:none}
.ak-daftar:has(#aks-EURUSD:checked) .ak:not([data-pair="EURUSD"]){display:none}
.ak-daftar:has(#aks-GBPUSD:checked) .ak:not([data-pair="GBPUSD"]){display:none}
.ak-daftar:has(#aks-USDJPY:checked) .ak:not([data-pair="USDJPY"]){display:none}
.ak-daftar:has(#aks-USDCAD:checked) .ak:not([data-pair="USDCAD"]){display:none}
.ak-daftar:has(#aks-USDCHF:checked) .ak:not([data-pair="USDCHF"]){display:none}
.ak-daftar:has(#aks-AUDUSD:checked) .ak:not([data-pair="AUDUSD"]){display:none}
.ak-daftar:has(#aks-NZDUSD:checked) .ak:not([data-pair="NZDUSD"]){display:none}
.ak-daftar:has(#aks-USOIL:checked) .ak:not([data-pair="USOIL"]){display:none}
.ak-daftar:has(#aks-ETHUSD:checked) .ak:not([data-pair="ETHUSD"]){display:none}
.ak-cta.kunci{background:#2a2f4a;color:#c9d3f5;box-shadow:none}

/* tombol masuk Google: logo G di lingkaran putih */
.g-logo{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;flex:none;vertical-align:middle;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.g-logo svg{width:15px;height:15px;display:block}
a:has(>.g-logo){display:inline-flex;align-items:center;justify-content:center;gap:8px}
/* Kartu ringkas: robot kiri, info + statistik kanan, deskripsi di bawah */
.ak{padding:16px;gap:12px;border-radius:22px}
.ak-kepala{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center}
.ak-ava{width:64px;height:64px}
.ak-info{display:grid;gap:6px;min-width:0}
.ak-nama{font-size:17px;gap:6px;padding-right:40px}
.ak-sub{margin-top:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}
.ak-sub .ak-pc{font-size:11px;padding:1px 7px;border-radius:7px}
.ak-info .ak-stat{gap:4px;margin-top:2px}
.ak-info .ak-stat>div{column-gap:5px}
.ak-info .ak-stat .i{width:15px;height:15px}.ak-info .ak-stat .i svg{width:14px;height:14px}
.ak-info .ak-stat b{font-size:13.5px}
.ak-info .ak-stat span.l{font-size:10.5px;white-space:nowrap}
.ak-desk{margin:0;font-size:12.5px}
.ak>.ak-ikon{position:absolute;top:12px;right:12px;width:36px;height:36px}
.ak>.ak-ikon svg{width:17px;height:17px}
.ak-cta{padding:10px 14px;font-size:14px}
.ak-uji{margin-top:-4px}
/* statistik kartu agen: rata tengah per kolom */
.ak-stat>div{grid-template-columns:1fr!important;justify-items:center;text-align:center}
.ak-stat .i{grid-row:auto!important;margin-bottom:2px}
.ak-stat>div{align-items:center!important;justify-content:flex-start;text-align:center}.ak-stat>div>*{text-align:center}.ak-stat .i{margin-left:auto;margin-right:auto}
/* Kartu agen ringkas: orb kiri sejajar tengah dengan blok info, statistik 3 kolom sama lebar */
.ak-kepala{grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:16px!important}
.ak-ava{width:72px!important;height:72px!important;display:grid;place-items:center}
.ak-info{gap:7px!important}
.ak-nama{font-size:18px!important}
.ak-info .ak-stat{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-top:4px;padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}
.ak-desk{margin-top:2px!important}
/* header: orb kiri + nama/sub kanan; statistik selebar kartu di bawahnya */
.ak-kepala{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-areas:"ava nama" "ava sub" "stat stat";column-gap:14px!important;row-gap:6px!important;align-items:center!important}
.ak-info{display:contents!important}
.ak-ava{grid-area:ava;width:64px!important;height:64px!important}
.ak-ava .robot-agen{width:64px;height:64px}
.ak-nama{grid-area:nama;align-self:end;flex-wrap:nowrap!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important}
.ak-nama .ak-chip{vertical-align:2px}
.ak-sub{grid-area:sub;align-self:start;flex-wrap:nowrap!important;white-space:nowrap}
.ak-kepala .ak-stat{grid-area:stat;margin-top:10px!important}
.ak-nama{white-space:normal!important;overflow:visible!important;font-size:17px!important;line-height:1.2}
.ra-m,.ra-b{transition:transform .22s cubic-bezier(.2,.7,.3,1)}
/* Bot menyapa saat kartunya masuk layar (js/orb-tengok.js) */
svg.robot-agen.ra-sapa{animation:raSapa .85s cubic-bezier(.3,0,.3,1) 1;transform-origin:50% 100%}
@keyframes raSapa{0%,100%{transform:translateY(0) scale(1,1)}35%{transform:translateY(-10px) scale(.96,1.04)}60%{transform:translateY(0) scale(1.05,.95)}80%{transform:translateY(-3px)}}
/* Chip "Cara kerja agen" di panel agen */
.ck-link{display:flex;align-items:center;gap:10px;margin:2px 0 12px;padding:8px 14px 8px 8px;border-radius:999px;text-decoration:none!important;width:max-content;max-width:100%;
  background:linear-gradient(90deg,rgba(34,227,255,.16),rgba(182,255,92,.08));border:1px solid rgba(95,243,255,.35);box-shadow:0 0 22px -10px rgba(34,227,255,.8)}
.ck-link:hover{filter:brightness(1.12)}
.ck-link-ic{width:30px;height:30px;display:grid;place-items:center}.ck-link-ic .robot-agen{display:block}
.ck-link span{display:grid;line-height:1.15}
.ck-link b{font-size:13.5px;font-weight:800;color:#fff}
.ck-link small{font-size:11px;color:#9fe9f5}
.ck-link i{font-style:normal;font-size:20px;font-weight:800;color:#5ff3ff;margin-left:4px}
/* Hero tim agen (tab Agen): kontur bergerak + orb melayang + judul besar + panah tosca */
.ag-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:300px;margin:4px 0 14px;padding:22px 20px 20px;
  border-radius:26px;overflow:hidden;text-decoration:none!important;isolation:isolate;
  background:url(../img/kontur.svg) center/cover no-repeat,radial-gradient(90% 70% at 25% 20%,#14305a,#0a0f24 72%);
  border:1px solid rgba(95,243,255,.18);box-shadow:0 18px 40px -18px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.06)}
.ag-hero:hover{border-color:rgba(95,243,255,.35)}
.ag-hero-glow{position:absolute;z-index:-1;width:280px;height:280px;right:-60px;top:-70px;border-radius:50%;
  background:radial-gradient(circle,rgba(34,227,255,.35),rgba(34,227,255,0) 65%);animation:agGlow 6s ease-in-out infinite}
.ag-hero-isi{position:relative;z-index:1;display:grid;gap:10px;min-width:0}
.ag-hero-chip{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:5px 11px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#bff8ff;background:rgba(34,227,255,.12);border:1px solid rgba(95,243,255,.3)}
.ag-hero-chip i{width:7px;height:7px;border-radius:50%;background:#b6ff5c;box-shadow:0 0 8px #b6ff5c;animation:agKedip 1.6s ease-in-out infinite}
.ag-hero-judul{display:block;color:#fff;font-size:34px;line-height:.98;font-weight:900;letter-spacing:-.02em;text-transform:uppercase;text-shadow:0 6px 24px rgba(0,0,0,.5);
  animation:agMuncul .9s cubic-bezier(.2,.9,.3,1) both}
.ag-hero-judul em{font-style:normal;background:linear-gradient(90deg,#5ff3ff,#b6ff5c);-webkit-background-clip:text;background-clip:text;color:transparent}
.ag-hero-sub{font-size:12.5px;line-height:1.45;color:#a7b8e0;max-width:260px}
.ag-hero-aksi{position:relative;z-index:1;flex:none;display:grid;justify-items:center;gap:6px}
.ag-hero-aksi small{font-size:11px;font-weight:800;color:#bff8ff;white-space:nowrap}
.ag-panah{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#04202a;
  background:linear-gradient(180deg,#5ff3ff,#13c8e6);animation:agDenyut 2.4s ease-in-out infinite}
.ag-panah svg{width:26px;height:26px}
@keyframes agGlow{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}
@keyframes agKedip{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes agDenyut{0%,100%{box-shadow:0 0 0 0 rgba(34,227,255,.5),0 10px 26px -8px rgba(34,227,255,.8)}60%{box-shadow:0 0 0 14px rgba(34,227,255,0),0 10px 26px -8px rgba(34,227,255,.8)}}
@keyframes agMuncul{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media (max-width:420px){.ag-hero{min-height:280px;padding:18px 16px}.ag-hero-judul{font-size:29px}.ag-panah{width:54px;height:54px}}
@media (prefers-reduced-motion:reduce){.ag-hero-glow,.ag-hero-chip i,.ag-hero-judul,.ag-panah{animation:none}}
/* Hero agen: judul lebih panjang + panah lebih kecil */
.ag-hero-judul{font-size:31px}
.ag-panah{width:50px;height:50px}.ag-panah svg{width:21px;height:21px}
@media (max-width:420px){.ag-hero-judul{font-size:26px}.ag-panah{width:46px;height:46px}}
@media (max-width:420px){.ag-hero-judul{font-size:24px}}
/* Hero agen versi ringkas (persegi panjang): satu judul + panah */
.ag-hero{min-height:0!important;align-items:center!important;padding:18px 18px 18px 20px!important;border-radius:22px!important}
.ag-hero-judul{font-size:22px!important;line-height:1.1!important;text-transform:none!important;max-width:200px}
.ag-hero-glow{width:180px!important;height:180px!important;top:-60px!important}
.ag-panah{width:50px!important;height:50px!important}
@media (max-width:420px){.ag-hero-judul{font-size:20px!important;max-width:170px}}
.ag-hero-judul{max-width:none!important}
@media (max-width:640px){.ag-hero-judul{max-width:190px!important}}
.ak-stat.dua{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Orb agen mengorbit tombol panah (pengganti orb melayang) */
.ag-hero-aksi{position:relative;width:96px;height:96px;display:grid!important;place-items:center;flex:none}
.ag-orbit-o.o2 .ag-orbit-t{transform:rotate(-90deg)}.ag-orbit-o.o3 .ag-orbit-t{transform:rotate(-180deg)}@keyframes agOrbit{to{transform:rotate(360deg)}}
@keyframes agOrbitBalik{to{rotate:-360deg}}
.ag-panah{position:relative;z-index:1}
@media (max-width:420px){.ag-hero-aksi{width:88px;height:88px}.ag-orbit-o.o1{transform:rotate(0deg) translateX(40px)}  .ag-orbit-o.o3{transform:rotate(180deg) translateX(40px)}.ag-orbit-o.o4{transform:rotate(270deg) translateX(40px)}}
@media (prefers-reduced-motion:reduce){.ag-orbit,.ag-orbit-t{animation:none}}
/* Orb agen melayang lagi (bukan mengorbit): 6 orb tersebar di kanan, aksi kembali polos */
.ag-hero-aksi{width:auto!important;height:auto!important}
/* Diikuti: tidak bisa diketuk */
.ak-cta.ak-sudah{cursor:default;pointer-events:none}
/* Pop-up batas ikut agen (akun gratis) */
.ip-latar{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(3,6,18,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:ipMuncul .18s ease-out}
.ip-kotak{width:min(100%,360px);text-align:center;padding:26px 22px 20px;border-radius:26px;background:linear-gradient(180deg,#151c3a,#0c1124);border:1px solid rgba(95,243,255,.22);
  box-shadow:0 30px 80px -20px rgba(0,0,0,.9),0 0 40px -18px rgba(34,227,255,.6);display:grid;gap:10px;justify-items:center}
.ip-ikon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#5ff3ff;background:rgba(34,227,255,.12);box-shadow:inset 0 0 0 1px rgba(95,243,255,.3)}
.ip-ikon svg{width:26px;height:26px}
.ip-kotak h3{margin:4px 0 0;font-size:20px;font-weight:800;color:#fff}
.ip-kotak p{margin:0;font-size:14px;line-height:1.55;color:#a7b2d4}
.ip-aksi{display:grid;gap:8px;width:100%;margin-top:6px}
.ip-up{display:flex;justify-content:center;align-items:center;padding:13px 16px;border-radius:999px;font-weight:800;font-size:15px;text-decoration:none!important;color:#04202a!important;
  background:linear-gradient(180deg,#5ff3ff,#13c8e6);box-shadow:0 0 22px -6px rgba(34,227,255,.7)}
.ip-tutup{padding:11px 16px;border-radius:999px;font:inherit;font-weight:700;font-size:14px;color:#c7d1ee;background:transparent;border:1px solid rgba(255,255,255,.14);cursor:pointer}
@keyframes ipMuncul{from{opacity:0}to{opacity:1}}
.ip-ikon.ok{color:#7dffc9;background:rgba(52,211,153,.14);box-shadow:inset 0 0 0 1px rgba(52,211,153,.35)}
.ip-ikon.gagal{color:#ff8a8a;background:rgba(255,99,99,.13);box-shadow:inset 0 0 0 1px rgba(255,120,120,.35)}
button.ip-up{border:0;font:inherit;cursor:pointer}
button.ip-up{font-weight:800;font-size:15px}

/* aksi massal di atas daftar agen: Pilih semua / Hapus semua (ringkas, satu baris) */
.ak-masal{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 10px}
.ak-masal-info{flex:1 1 auto;font-size:13px;color:#8d9acb}
.ak-masal-info b{color:#dfe6ff;font-weight:700}
.ak-masal-f{margin:0}
.ak-mini{display:inline-block;font:inherit;font-size:13px;font-weight:700;line-height:1;border-radius:999px;padding:8px 14px;cursor:pointer;text-decoration:none;white-space:nowrap;
  color:#dfe6ff;background:#1a2550;border:1px solid #3a4a8a}
.ak-mini:hover{background:#243170}
.ak-mini.hapus{color:#ffb4b4;background:transparent;border-color:#6b3a4a}
.ak-mini.hapus:hover{background:#3a1a24}
.ak-mini.kunci{color:#c9d3f5;background:#2a2f4a;border-color:#2c3b78}
.ak-mini[disabled]{opacity:.4;cursor:default;pointer-events:none}
