:root{--bcs-dark:#07111f;--bcs-dark2:#0b1730;--bcs-gold:#f7c948;--bcs-cyan:#10d7ff;--bcs-blue:#2764ff;--bcs-bg:#f6f8fc;--bcs-line:#e6eaf2;--bcs-text:#0e1726}.bcs-launcher{position:fixed;right:22px;bottom:22px;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#2df4ff,#1d4ed8 42%,#07111f 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 18px 50px rgba(5,11,31,.32),0 0 0 6px rgba(16,215,255,.09);z-index:99998;cursor:pointer;border:2px solid rgba(247,201,72,.95);transition:transform .18s ease,box-shadow .18s ease}.bcs-launcher:hover{transform:translateY(-2px) scale(1.035);box-shadow:0 22px 60px rgba(5,11,31,.38),0 0 0 8px rgba(16,215,255,.12)}.bcs-launcher img{width:66px;height:66px;border-radius:50%;object-fit:cover;display:block;background:#000}.bcs-launcher:after{content:"";position:absolute;right:6px;bottom:8px;width:15px;height:15px;border-radius:50%;background:#13d66b;border:3px solid #fff;box-shadow:0 0 0 3px rgba(19,214,107,.22)}.bcs-chat{position:fixed;right:22px;bottom:108px;width:420px;max-width:calc(100vw - 28px);height:690px;max-height:calc(100vh - 135px);background:var(--bcs-bg);border-radius:26px;box-shadow:0 30px 85px rgba(2,8,23,.38);z-index:99999;overflow:hidden;display:none;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;border:1px solid rgba(16,215,255,.22);color:var(--bcs-text)}.bcs-chat.open{display:flex;flex-direction:column;animation:bcsPop .18s ease-out}@keyframes bcsPop{from{opacity:.4;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.bcs-head{background:linear-gradient(135deg,#07111f 0%,#0b1730 58%,#0e7490 100%);color:#fff;padding:16px 16px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden}.bcs-head:before{content:"";position:absolute;inset:auto -60px -80px auto;width:210px;height:210px;background:radial-gradient(circle,rgba(16,215,255,.35),transparent 65%);pointer-events:none}.bcs-head-left{display:flex;align-items:center;gap:12px;min-width:0;position:relative;z-index:1}.bcs-head-avatar{width:48px;height:48px;border-radius:16px;object-fit:cover;border:2px solid rgba(247,201,72,.9);box-shadow:0 8px 22px rgba(0,0,0,.25)}.bcs-head strong{display:block;font-size:16px;line-height:1.1;letter-spacing:.1px}.bcs-head span{font-size:12px;color:#dbeafe;display:flex;align-items:center;gap:6px;margin-top:5px}.bcs-head span:before{content:"";width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}.bcs-head button{position:relative;z-index:2;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.15);font-size:25px;line-height:1;cursor:pointer;border-radius:14px;width:38px;height:38px}.bcs-quick{display:flex;gap:8px;padding:11px 12px;overflow-x:auto;background:linear-gradient(180deg,#fff,#f8fafc);border-bottom:1px solid var(--bcs-line);scrollbar-width:none}.bcs-quick::-webkit-scrollbar{display:none}.bcs-quick button,.bcs-unlock{border:0;border-radius:999px;background:#0f172a;color:#fff;padding:9px 13px;font-size:12px;white-space:nowrap;cursor:pointer;box-shadow:0 6px 14px rgba(15,23,42,.16);transition:.15s}.bcs-quick button:hover,.bcs-unlock:hover{transform:translateY(-1px);background:#1d4ed8}.bcs-body{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:11px;background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%)}.bcs-bubble{max-width:84%;padding:12px 14px;border-radius:18px;font-size:14px;line-height:1.55;word-wrap:break-word;white-space:normal}.bcs-bubble.bot{align-self:flex-start;background:#fff;color:#111827;border:1px solid #e6eaf2;border-bottom-left-radius:6px;box-shadow:0 10px 26px rgba(15,23,42,.07)}.bcs-bubble.me{align-self:flex-end;background:linear-gradient(135deg,#111827,#0f172a);color:#fff;border-bottom-right-radius:6px;box-shadow:0 10px 26px rgba(15,23,42,.16)}.bcs-bubble a{color:#155eef;font-weight:700;text-decoration:none}.bcs-bubble a:hover{text-decoration:underline}.bcs-bubble.me a{color:#fff}.bcs-video-card{margin-top:12px;border-radius:18px;overflow:hidden;border:1px solid rgba(21,94,239,.14);background:linear-gradient(135deg,#061222,#0b2b4e 60%,#0e7490);box-shadow:0 12px 26px rgba(14,116,144,.20)}.bcs-video-card a{display:flex;gap:12px;align-items:center;color:#fff!important;text-decoration:none!important;padding:13px}.bcs-video-icon{width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#ef4444,#f97316);display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 8px 22px rgba(239,68,68,.32);flex:none}.bcs-video-card b{display:block;font-size:13px;margin-bottom:2px}.bcs-video-card small{display:block;color:#e0f2fe;font-size:11px;line-height:1.35}.bcs-status-card{margin-top:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:10px 12px}.bcs-status-card b{color:#0f172a}.bcs-input{display:flex;gap:8px;background:#fff;padding:11px;border-top:1px solid var(--bcs-line);align-items:flex-end}.bcs-input textarea{flex:1;resize:none;border:1px solid #d8deea;border-radius:16px;padding:11px 12px;min-height:44px;max-height:98px;font-family:inherit;font-size:14px;outline:none;background:#f8fafc;color:#111827}.bcs-input textarea:focus{border-color:#38bdf8;background:#fff;box-shadow:0 0 0 3px rgba(56,189,248,.13)}.bcs-input button{border:0;background:linear-gradient(135deg,#111827,#0b1730);color:#fff;border-radius:16px;padding:12px 14px;cursor:pointer;font-weight:700;min-height:44px}.bcs-input #bcsAttach{background:#eef2ff;color:#1e293b;min-width:44px}.bcs-upload-row{background:#fff7d6;padding:9px 12px;font-size:12px;border-top:1px solid #f0df9a;color:#5c4205}.bcs-toast{position:fixed;left:24px;bottom:24px;background:linear-gradient(135deg,#07111f,#0b1730);color:#fff;border-radius:18px;padding:15px;width:350px;max-width:calc(100vw - 40px);box-shadow:0 18px 50px rgba(0,0,0,.3);z-index:99997;opacity:0;transform:translateY(15px);transition:.25s;border:1px solid rgba(247,201,72,.35)}.bcs-toast.show{opacity:1;transform:translateY(0)}.bcs-toast strong,.bcs-toast span{display:block}.bcs-toast span{font-size:13px;margin:6px 0 11px;color:#e5e7eb}.bcs-toast button{background:#f7c948;color:#111;border:0;border-radius:999px;padding:9px 13px;font-weight:700;cursor:pointer}.typing{opacity:.68}.bcs-shortcode-wrapper .bcs-chat{position:relative;display:flex;width:100%;max-width:100%;height:640px;right:auto;bottom:auto}.bcs-shortcode-wrapper .bcs-launcher{display:none}@media(max-width:680px){.bcs-launcher{right:16px;bottom:16px;width:68px;height:68px}.bcs-launcher img{width:60px;height:60px}.bcs-chat{right:0;bottom:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.bcs-head{padding:13px 14px}.bcs-head-avatar{width:44px;height:44px;border-radius:14px}.bcs-body{padding:13px 11px}.bcs-bubble{font-size:13.5px;max-width:88%}.bcs-quick{padding:10px}.bcs-input{padding:9px}.bcs-input textarea{font-size:16px}.bcs-toast{left:12px;right:12px;bottom:86px;width:auto;max-width:none}}@media(min-width:681px) and (max-width:1080px){.bcs-chat{width:400px;height:650px}.bcs-launcher{right:18px;bottom:18px}}


/* ===== BattleCredits v1.2 premium video + notification UI ===== */
.bcs-video-embed-card{background:#07111f;border:1px solid rgba(16,215,255,.24);border-radius:20px;overflow:hidden;box-shadow:0 18px 42px rgba(2,8,23,.18);margin-top:13px}
.bcs-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#020617,#0f172a)}
.bcs-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.bcs-video-meta{padding:12px 13px 13px;color:#fff;background:linear-gradient(180deg,#07111f,#0b1730)}
.bcs-video-pill{display:inline-flex;align-items:center;gap:6px;background:rgba(16,215,255,.12);border:1px solid rgba(16,215,255,.28);color:#a5f3fc;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;margin-bottom:8px}
.bcs-video-meta b{display:block;color:#fff;font-size:13px;margin-bottom:4px}
.bcs-video-meta small{display:block;color:#dbeafe;font-size:11.5px;line-height:1.45}
.bcs-video-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.bcs-video-actions a{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;background:#fff!important;color:#07111f!important;text-decoration:none!important;font-size:11px;font-weight:900}
.bcs-video-actions a:first-child{background:linear-gradient(135deg,#ef4444,#f97316)!important;color:#fff!important}
.bcs-notify-panel{position:fixed;left:22px;bottom:22px;width:390px;max-width:calc(100vw - 32px);background:linear-gradient(145deg,#07111f,#0b1730 62%,#0e7490);border:1px solid rgba(247,201,72,.34);color:#fff;border-radius:24px;box-shadow:0 24px 70px rgba(2,8,23,.42),0 0 0 1px rgba(255,255,255,.05) inset;z-index:99997;opacity:0;transform:translateY(18px) scale(.98);transition:.24s;overflow:hidden}
.bcs-notify-panel.show{opacity:1;transform:translateY(0) scale(1)}
.bcs-notify-glow{position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(16,215,255,.38),transparent 68%);pointer-events:none}
.bcs-notify-top{display:flex;gap:12px;align-items:center;padding:16px 16px 10px;position:relative;z-index:1}
.bcs-notify-avatar{width:48px;height:48px;border-radius:16px;object-fit:cover;border:2px solid rgba(247,201,72,.9);box-shadow:0 10px 26px rgba(0,0,0,.28);background:#000}
.bcs-notify-title strong{display:block;font-size:15px;line-height:1.15}
.bcs-notify-title span{display:block;margin-top:4px;color:#dbeafe;font-size:12px}
.bcs-notify-list{position:relative;z-index:1;padding:4px 14px 12px;display:flex;flex-direction:column;gap:8px}
.bcs-notify-item{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 11px;color:#eef6ff;font-size:12.5px;line-height:1.45}
.bcs-notify-item:before{content:"⚡";display:inline-flex;margin-right:6px;color:#f7c948}
.bcs-notify-actions{display:flex;gap:9px;padding:0 14px 15px;position:relative;z-index:1}
.bcs-notify-actions button{border:0;border-radius:999px;padding:10px 13px;font-size:12px;font-weight:900;cursor:pointer}
.bcs-notify-open{background:#f7c948;color:#111827;box-shadow:0 10px 24px rgba(247,201,72,.22)}
.bcs-notify-later{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.14)!important}
@media(max-width:680px){
  .bcs-video-meta{padding:11px}
  .bcs-video-actions a{font-size:11px;padding:8px 9px}
  .bcs-notify-panel{left:10px;right:10px;bottom:92px;width:auto;max-width:none;border-radius:22px}
  .bcs-notify-top{padding:14px 14px 8px}
  .bcs-notify-avatar{width:44px;height:44px}
}

/* ===== v1.5 support agent name tags ===== */
.bcs-agent-tag{display:flex;align-items:center;gap:7px;margin:-2px 0 7px;font-size:11px;line-height:1;color:#64748b;font-weight:800;letter-spacing:.01em}
.bcs-agent-tag span{display:inline-flex;align-items:center;gap:5px;color:#0f172a;background:linear-gradient(135deg,#ecfeff,#fff7d6);border:1px solid rgba(16,215,255,.24);border-radius:999px;padding:5px 8px;box-shadow:0 4px 12px rgba(15,23,42,.05)}
.bcs-agent-tag span:before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14)}
.bcs-agent-tag small{font-size:10px;color:#7c8aa0;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.bcs-bubble-text{display:block}
@media(max-width:680px){.bcs-agent-tag{margin-bottom:6px}.bcs-agent-tag span{padding:4px 7px}.bcs-agent-tag small{font-size:9.5px}}

/* ===== BattleCredits Integrated Support v2.0 launcher label + menu overlap fix ===== */
.bcs-launcher-wrap{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99998;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  pointer-events:none;
}
.bcs-launcher-wrap .bcs-launcher{
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
  pointer-events:auto;
  border:none;
}
.bcs-launcher-text{
  pointer-events:none;
  min-width:92px;
  padding:5px 9px 6px;
  border-radius:999px;
  background:rgba(2,6,23,.84);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 28px rgba(2,6,23,.26);
  text-align:center;
  backdrop-filter:blur(12px);
}
.bcs-launcher-text strong{display:block;font-size:11px;line-height:1;font-weight:900;letter-spacing:.01em;color:#fff;}
.bcs-launcher-text span{display:block;margin-top:3px;font-size:9px;line-height:1;color:#bfefff;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
body.bcsChatOpen .bcMenuToggle,
body.bcsChatOpen .bcSideMenu:not(.active) + .bcMenuToggle{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.bcsChatOpen .bcs-launcher-wrap{display:none!important;}
.bcs-chat.open{z-index:1000000!important;}
@media(max-width:680px){
  .bcs-launcher-wrap{right:12px;bottom:12px;gap:5px;}
  .bcs-launcher-text{min-width:86px;padding:5px 8px;}
  .bcs-launcher-text strong{font-size:10.5px;}
  .bcs-launcher-text span{font-size:8.5px;}
  .bcs-chat.open ~ .bcMenuToggle,
  body.bcsChatOpen .bcMenuToggle{display:none!important;}
  .bcs-head{padding-left:14px!important;}
  .bcs-quick button{font-size:11.5px!important;padding:8px 10px!important;}
}


/* ===== BattleCredits Support v2.1 polished avatar + human agent UI ===== */
.bcs-launcher-wrap{right:18px!important;bottom:18px!important;z-index:100000!important}
.bcs-launcher-wrap .bcs-launcher{width:72px!important;height:72px!important;padding:0!important;overflow:hidden!important;border-radius:24px!important;background:linear-gradient(135deg,#ecfeff,#dbeafe 45%,#fef3c7)!important;border:2px solid rgba(247,201,72,.95)!important;box-shadow:0 18px 44px rgba(2,8,23,.28),0 0 0 6px rgba(16,215,255,.10)!important}
.bcs-launcher-wrap .bcs-launcher img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:22px!important;background:#f8fafc!important;display:block!important}
.bcs-launcher-wrap .bcs-launcher:after{right:4px!important;bottom:4px!important;border-color:#fff!important}
.bcs-launcher-text{min-width:105px!important;background:rgba(15,23,42,.92)!important;border-color:rgba(247,201,72,.28)!important;box-shadow:0 12px 30px rgba(2,8,23,.30)!important}
.bcs-chat{border-radius:24px!important;border:1px solid rgba(15,23,42,.12)!important;background:#f8fafc!important;color:#0f172a!important}
.bcs-head{background:linear-gradient(135deg,#0f172a,#12335c 58%,#0891b2)!important;padding:15px!important}.bcs-head-left{min-width:0}.bcs-head-left strong{font-size:15px!important}.bcs-head-left span{font-size:12px!important;color:#dbeafe!important}.bcs-head-avatar{object-fit:cover!important;object-position:center!important;background:#fff!important;border:2px solid rgba(247,201,72,.9)!important}.bcs-agent-tag span{background:linear-gradient(135deg,#fff,#ecfeff)!important;color:#0f172a!important}.bcs-agent-tag small{color:#64748b!important}.bcs-bubble.bot{background:#fff!important;color:#0f172a!important;border:1px solid #e2e8f0!important;box-shadow:0 7px 18px rgba(15,23,42,.05)!important}.bcs-bubble.me{background:linear-gradient(135deg,#0f172a,#155e75)!important;color:#fff!important}.bcs-input textarea{background:#fff!important;color:#0f172a!important}.bcs-input button#bcsSend{background:linear-gradient(135deg,#0f172a,#155e75)!important;color:#fff!important}.bcs-quick button{background:#fff!important;color:#0f172a!important;border-color:#dbe5f2!important;box-shadow:0 5px 14px rgba(15,23,42,.04)!important}
@media(max-width:680px){.bcs-launcher-wrap{right:12px!important;bottom:14px!important}.bcs-launcher-wrap .bcs-launcher{width:62px!important;height:62px!important;border-radius:21px!important}.bcs-launcher-wrap .bcs-launcher img{border-radius:19px!important}.bcs-launcher-text{min-width:92px!important;padding:5px 8px!important}.bcs-chat{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.bcs-head{padding:12px 13px!important}.bcs-head-avatar{width:42px!important;height:42px!important}.bcs-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.bcs-quick button{font-size:11.5px!important;line-height:1.15!important;padding:8px 7px!important}.bcs-bubble{max-width:91%!important;font-size:13.25px!important}.bcs-body{padding:12px 10px!important}.bcs-input{padding:8px!important;gap:7px!important}.bcs-input #bcsAttach{min-width:40px!important}.bcs-input button{min-height:40px!important;padding:10px 12px!important}.bcs-input textarea{min-height:40px!important}}
