
.afldp{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--afld-text);} 
.afldp *{box-sizing:border-box}
.afldp-shell{
  background:
    radial-gradient(1100px 550px at 60% 40%, rgba(82,56,167,0.22), transparent 55%),
    radial-gradient(900px 450px at 15% 50%, rgba(57,36,130,0.22), transparent 55%),
    radial-gradient(900px 450px at 80% 20%, rgba(241,197,70,0.10), transparent 55%),
    var(--afld-bg);
  border-radius: 18px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.50);
  overflow:hidden;
  position:relative;
}
.afldp-shell:before{
  content:"";
  position:absolute; inset:-120px;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05), transparent 35%),
    radial-gradient(circle at 75% 35%, rgba(255,255,255,0.04), transparent 38%);
  filter: blur(2px);
  pointer-events:none;
}
.afldp-shell > *{position:relative; z-index:1}

.afldp-shell{display:flex; gap:26px; align-items:stretch; min-height:560px;}
.afldp-card{
  background: linear-gradient(180deg, var(--afld-surface), var(--afld-surface2));
  border: 1px solid var(--afld-border);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.afldp-filters{width:380px; padding:26px; display:flex; flex-direction:column;}
.afldp-results{flex:1; padding:26px; position:relative; overflow:hidden;}

.afldp-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
.afldp-h{font-size:28px; font-weight:800; letter-spacing:-0.02em;}
.afldp-badge{
  font-size:12px;
  font-weight:800;
  color: rgba(255,255,255,0.82);
  padding:8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
}

.afldp-filters-scroll{overflow:auto; padding-right:6px; flex:1;}
.afldp-filters-scroll::-webkit-scrollbar{width:8px;}
.afldp-filters-scroll::-webkit-scrollbar-thumb{background: rgba(255,255,255,0.10); border-radius:10px;}

.afld-field{margin-bottom:12px;}
.afld-label{font-size:13px; color:var(--afld-muted); margin-bottom:8px; font-weight:700;}

.afld-cselect{position:relative;}
.afld-cselect-btn{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--afld-text);
  padding: 12px 12px;
  border-radius: 12px;
  font-size:14px; font-weight:700;
  cursor:pointer;
}
.afld-cselect-menu{
  position:relative;
  left:auto;
  right:auto;
  top:auto;
  bottom:auto;
  margin-top:8px;
  margin-bottom:8px;
  background: rgba(10,12,22,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  display:none;
  max-height: 220px;
  overflow:auto;
  z-index:5;
}
.afld-cselect.open .afld-cselect-menu{display:block;}
.afld-cselect-menu::-webkit-scrollbar{width:8px;}
.afld-cselect-menu::-webkit-scrollbar-thumb{background: rgba(255,255,255,0.10); border-radius:10px;}
.afld-cselect-opt{
  padding: 12px 12px;
  font-weight:700;
  font-size:14px;
  color: rgba(255,255,255,0.86);
  cursor:pointer;
}
.afld-cselect-opt:hover{background: rgba(82,56,167,0.18);}
.afld-cselect-opt.active{background: rgba(82,56,167,0.28); color:#fff;}

.afldp-mini{
  display:flex; align-items:center; gap:10px;
  margin-top: 10px;
  font-size:12.5px;
  color: rgba(255,255,255,0.52);
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(0,0,0,0.14);
}
.afldp-dot{width:8px;height:8px;border-radius:99px;background:var(--afld-success); box-shadow:0 0 0 5px rgba(88,214,141,0.12);}
.afldp-pill{margin-left:auto; padding:4px 8px; border-radius:999px; border:1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);}

.afldp-btn{
  width:100%;
  display:flex; align-items:center; justify-content:center;
  gap:10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(82,56,167,0.98), rgba(57,36,130,0.88));
  color: var(--afld-btn-text);
  padding: 14px 14px;
  font-weight: 900;
  border-radius: 12px;
  cursor:pointer;
  text-decoration:none;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  margin-top: 14px;
}
.afldp-btn:hover{
  background: linear-gradient(180deg, rgba(57,36,130,0.98), rgba(57,36,130,0.86));
  color:white !important;
  filter: brightness(1.03);
  transform: translateY(-1px);
}
.afldp-btn:active{transform: translateY(0);}

.afldp-hint{margin-top:12px; font-size:12.5px; color: rgba(255,255,255,0.48);}

/* blurred back list */
.afldp-backlist{
  position:absolute; inset:18px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.06);
  filter: blur(8px);
  opacity: 0.55;
}
.afldp-row{display:flex; align-items:center; gap:10px; padding:10px 6px; border-bottom:1px solid rgba(255,255,255,0.05);}
.afldp-row:last-child{border-bottom:none;}
.afldp-rowdot{width:8px;height:8px;border-radius:99px;background: rgba(82,56,167,0.80); box-shadow:0 0 0 4px rgba(82,56,167,0.12);}
.afldp-rowtxt{font-size:13.5px;color: rgba(255,255,255,0.72); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

/* center */
.afldp-center{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding: 30px;}
.afldp-meta{position:absolute; top:22px; left:22px; right:22px; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color: rgba(255,255,255,0.65);}
.afldp-live{display:flex; align-items:center; gap:8px;}
.afldp-live-dot{width:8px;height:8px;border-radius:99px;background: var(--afld-success); box-shadow:0 0 0 6px rgba(88,214,141,0.12);}
.afldp-meta-right{display:flex; align-items:center; gap:10px;}
.afldp-sep{width:1px;height:14px;background: rgba(255,255,255,0.18); opacity:.7;}

.afldp-kicker{font-size:36px; font-weight:500; letter-spacing:-0.03em; color: rgba(255,255,255,0.56); margin-top: 18px;}
.afldp-number{
  font-size: 88px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--afld-number);
  text-shadow: 0 18px 60px rgba(0,0,0,0.35);
  margin-top: 12px;
}
.afldp-blur{filter: blur(8px); opacity: 0.62; transform: translateZ(0);}
.afldp-sub{display:flex; gap:10px; margin-top: 16px; flex-wrap:wrap; justify-content:center;}
.afldp-subpill{
  font-size:12px;
  font-weight:800;
  color: rgba(255,255,255,0.78);
  padding: 8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.16);
}
.afldp-unlock{margin-top: 24px; width: min(520px, 92%);}
.afldp-unlockbtn{width:100%;}
.afldp-lock{width:18px;height:18px;display:inline-flex;color: rgba(255,255,255,0.92);}
.afldp-lock svg{width:18px;height:18px;}
.afldp-note{margin-top:10px; font-size:12.5px; color: rgba(255,255,255,0.52);}
.afldp-hidden{display:none}

/* loader overlay */
.afldp-loader{position:absolute; inset:0; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); z-index:60;}
.afldp-loader.show{display:flex;}
.afldp-loader-card{
  width: min(520px, 92%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,22,0.72);
  box-shadow: 0 26px 80px rgba(0,0,0,0.60);
  padding: 18px 18px 16px;
}
.afldp-loader-top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px;}
.afldp-loader-title{font-weight:900; letter-spacing:-0.02em;}
.afldp-loader-ms{color: rgba(255,255,255,0.66); font-weight:800;}
.afldp-bar{height:10px; border-radius:999px; background: rgba(255,255,255,0.10); overflow:hidden; border:1px solid rgba(255,255,255,0.10);}
.afldp-barfill{display:block; height:100%; width:0%; background: linear-gradient(90deg, rgba(82,56,167,1), rgba(241,197,70,1)); border-radius:999px;}
.afldp-loader-msg{margin-top:12px; color: rgba(255,255,255,0.70); font-weight:700; font-size:13px;}

/* toast */
.afldp-toast{
  position:absolute; right:22px; bottom:22px;
  display:flex; flex-direction:column; gap:10px;
  z-index:70;
}
.afldp-toast-item{
  min-width: 280px;
  max-width: 360px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,22,0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.86);
  font-size: 12.5px;
}
.afldp-toast-item b{color:#fff;}
.afldp-toast-item .small{display:block; margin-top:4px; color: rgba(255,255,255,0.60); font-weight:700;}

@media (max-width: 980px){
  .afldp-shell{flex-direction:column; min-height:1200px}
  .afldp-filters{width:100%;}
  .afldp-number{font-size:64px;}
  .afldp-kicker{font-size:26px;}
}

@media (max-width: 768px){
  .afld-cselect-menu{max-height:180px;}
}