/* Ask the Guru chat widget — hardcoded brand colors so it works on every page */
#guru-chat{position:fixed;z-index:200;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
#guru-fab{position:fixed;right:18px;bottom:18px;width:64px;height:64px;border-radius:50%;
  border:3px solid #f5b301;background:#2a1a4e;
  cursor:pointer;box-shadow:0 6px 24px rgba(0,0,0,.5);padding:0;overflow:hidden}
#guru-fab img{width:100%;height:100%;object-fit:cover;display:block}
#guru-fab .guru-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;
  background:#25d366;border:2px solid #1b0f36;animation:gpulse 2s infinite}
@keyframes gpulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}70%{box-shadow:0 0 0 8px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
#guru-panel{position:fixed;right:18px;bottom:94px;width:380px;max-width:calc(100vw - 36px);
  height:520px;max-height:calc(100vh - 130px);display:flex;flex-direction:column;
  background:#1b0f36;border:2px solid #f5b301;border-radius:18px;overflow:hidden;
  box-shadow:0 12px 48px rgba(0,0,0,.6)}
#guru-panel[hidden]{display:none}
.guru-head{display:flex;align-items:center;gap:10px;padding:12px 14px;
  background:linear-gradient(135deg,#2a1a4e,#3a2364);border-bottom:1px solid rgba(245,179,1,.35)}
.guru-head img{width:42px;height:42px;border-radius:50%;border:2px solid #f5b301;flex:0 0 42px}
.guru-title{color:#fff;font-weight:800;font-size:1rem;line-height:1.2}
.guru-sub{color:#b9aec9;font-size:.74rem}
#guru-close{margin-left:auto;background:transparent;border:0;color:#f5b301;font-size:1.6rem;
  cursor:pointer;line-height:1;padding:4px 8px}
#guru-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;
  -webkit-overflow-scrolling:touch}
.gmsg{display:flex;gap:8px;align-items:flex-end;max-width:100%}
.gmsg.user{justify-content:flex-end}
.gmsg .gava{width:30px;height:30px;border-radius:50%;border:2px solid #f5b301;flex:0 0 30px}
.gmsg .gbub{padding:10px 13px;border-radius:14px;font-size:.9rem;line-height:1.45;max-width:82%;
  word-wrap:break-word}
.gmsg.guru .gbub{background:#2a1a4e;color:#f5f2fa;border:1px solid rgba(245,179,1,.3);
  border-bottom-left-radius:4px}
.gmsg.user .gbub{background:#f5b301;color:#1a1200;font-weight:500;border-bottom-right-radius:4px}
.gmsg .gbub a{color:#ffc93c;font-weight:700}
.gmsg .gbub strong{color:#ffc93c}
.gmsg.user .gbub a,.gmsg.user .gbub strong{color:#1a1200}
.gtyping{display:inline-flex;gap:5px;padding:14px 16px!important}
.gtyping span{width:8px;height:8px;border-radius:50%;background:#b9aec9;animation:gblink 1.2s infinite}
.gtyping span:nth-child(2){animation-delay:.2s}.gtyping span:nth-child(3){animation-delay:.4s}
@keyframes gblink{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
#guru-chips{display:flex;gap:8px;padding:8px 12px;overflow-x:auto;flex-wrap:nowrap;
  border-top:1px solid rgba(245,179,1,.2);-webkit-overflow-scrolling:touch}
#guru-chips:empty{padding:0;border:0}
.gchip{flex:0 0 auto;background:transparent;border:1.5px solid #f5b301;color:#ffc93c;
  border-radius:999px;padding:8px 14px;font-size:.82rem;font-weight:700;cursor:pointer;white-space:nowrap}
.gchip:hover{background:rgba(245,179,1,.15)}
#guru-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid rgba(245,179,1,.2);
  background:#241544}
#guru-input{flex:1;background:#1b0f36;border:1.5px solid #4a2f7d;border-radius:999px;
  padding:11px 16px;color:#f5f2fa;font-size:.9rem;outline:none;min-width:0}
#guru-input:focus{border-color:#f5b301}
#guru-input::placeholder{color:#8a7fa3}
#guru-form button[type=submit]{flex:0 0 44px;width:44px;height:44px;border-radius:50%;border:0;
  background:#f5b301;color:#1a1200;font-size:1.15rem;cursor:pointer;font-weight:800}
#guru-form button[type=submit]:hover{background:#ffc93c}
@media(max-width:480px){
  #guru-panel{right:12px;left:12px;bottom:92px;width:auto;height:68vh;max-height:none}
  #guru-fab{right:14px;bottom:14px;width:58px;height:58px}
}
