/* === Cold Clan support chat — updated to match new main style === */
.support-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  font-family:inherit;
  color:#0f172a;
}
.support-button{
  width:68px;
  height:68px;
  border:1px solid rgba(125,211,252,.32);
  border-radius:24px;
  display:grid;
  place-items:center;
  cursor:pointer;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(135deg,#002047 0%,#00427f 52%,#0ea5e9 100%);
  color:#fff;
  box-shadow:0 24px 58px rgba(0,32,71,.30),0 0 0 8px rgba(14,165,233,.08);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.support-button:hover{
  transform:translateY(-3px);
  border-color:rgba(125,211,252,.54);
  box-shadow:0 30px 72px rgba(0,32,71,.36),0 0 0 10px rgba(14,165,233,.10);
}
.support-button svg{width:30px;height:30px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.18));}
.support-panel{
  position:absolute;
  right:0;
  bottom:86px;
  width:min(390px,calc(100vw - 30px));
  height:min(590px,calc(100vh - 128px));
  display:none;
  overflow:hidden;
  border:1px solid rgba(125,211,252,.22);
  border-radius:32px;
  background:#fff;
  box-shadow:0 34px 100px rgba(0,32,71,.32);
}
.support-widget.is-open .support-panel{display:grid;grid-template-rows:auto 1fr auto;}
.support-head{
  position:relative;
  overflow:hidden;
  padding:20px 20px 18px;
  display:flex;
  align-items:center;
  gap:13px;
  background:
    radial-gradient(circle at 86% 0%, rgba(14,165,233,.30), transparent 34%),
    linear-gradient(135deg,#002047 0%,#00366b 58%,#002047 100%);
  color:#fff;
}
.support-head:after{
  content:"";
  position:absolute;
  right:-46px;
  top:-56px;
  width:160px;
  height:160px;
  border-radius:50%;
  background:rgba(14,165,233,.14);
  pointer-events:none;
}
.support-avatar{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 12px 26px rgba(0,0,0,.14);
}
.support-avatar svg{width:25px;height:25px;}
.support-title{font-weight:950;font-size:19px;line-height:1;letter-spacing:-.025em;}
.support-subtitle{margin-top:6px;color:#dff6ff;font-size:13px;font-weight:800;line-height:1.25;}
.support-close{
  margin-left:auto;
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:15px;
  background:rgba(255,255,255,.11);
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.support-messages{
  padding:17px;
  overflow:auto;
  background:linear-gradient(180deg,#f7fbff 0%,#edf7ff 100%);
  display:flex;
  flex-direction:column;
  gap:11px;
}
.support-msg{
  max-width:84%;
  padding:12px 14px;
  border-radius:18px;
  font-size:14px;
  line-height:1.45;
  box-shadow:0 10px 26px rgba(0,32,71,.07);
  white-space:pre-wrap;
  word-break:break-word;
  font-weight:700;
}
.support-msg.client{
  align-self:flex-end;
  background:linear-gradient(135deg,#0ea5e9,#0284c7);
  color:#fff;
  border-bottom-right-radius:7px;
}
.support-msg.staff{
  align-self:flex-start;
  background:#fff;
  color:#0f172a;
  border:1px solid #d9e8f5;
  border-bottom-left-radius:7px;
}
.support-system{
  align-self:center;
  max-width:92%;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:#64748b;
  border:1px solid rgba(219,234,254,.9);
  font-size:12px;
  font-weight:900;
  text-align:center;
}
.support-form{
  padding:14px;
  background:#fff;
  border-top:1px solid #dbeafe;
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}
.support-input{
  min-height:48px;
  max-height:122px;
  resize:none;
  border:1px solid #d5e6f5;
  border-radius:18px;
  padding:14px 15px;
  font:inherit;
  font-size:14px;
  font-weight:750;
  outline:none;
  background:#f8fbff;
}
.support-input:focus{border-color:#0ea5e9;box-shadow:0 0 0 4px rgba(14,165,233,.12);background:#fff;}
.support-send{
  width:50px;
  height:48px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#002047,#0ea5e9);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 14px 30px rgba(14,165,233,.24);
}
.support-send:disabled{opacity:.55;cursor:not-allowed;}
.support-send svg{width:21px;height:21px;}
@media(max-width:560px){
  .support-widget{right:14px;bottom:14px;}
  .support-panel{right:-2px;bottom:78px;width:calc(100vw - 24px);height:min(560px,calc(100vh - 106px));border-radius:26px;}
  .support-button{width:60px;height:60px;border-radius:21px;}
}
