/* Unified floating dock: Scroll-to-top + Telegram feedback (@BranhamRuBot) */
#bsDock.bs-dock{
  --bsd-bg:var(--rd-surface,rgba(255,255,255,.92));
  --bsd-fg:var(--rd-text,#1e293b);
  --bsd-bd:var(--rd-line,rgba(15,23,42,.12));
  --bsd-sh:var(--rd-shadow,0 8px 24px rgba(15,23,42,.14));
  position:fixed;
  right:max(14px,env(safe-area-inset-right,0px));
  bottom:calc(var(--bs-dock-b,16px) + env(safe-area-inset-bottom,0px));
  z-index:900;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  pointer-events:none;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .25s ease,bottom .25s ease;
}
#bsDock.bs-dock.is-tucked{
  opacity:.28;
  transform:translateY(10px) scale(.9);
}
#bsDock.bs-dock:hover,#bsDock.bs-dock:focus-within{
  opacity:1;
  transform:none;
}
#bsDock .bs-dock-btn,
#bsDock #up-button,
#bsDock #open-chat{
  box-sizing:border-box;
  pointer-events:auto;
  position:relative;
  inset:auto;
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  min-width:42px;
  width:auto;
  border-radius:999px;
  border:1px solid var(--bsd-bd);
  background:var(--bsd-bg);
  color:var(--bsd-fg)!important;
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  box-shadow:var(--bsd-sh);
  text-decoration:none!important;
  cursor:pointer;
  padding:0;
  font:600 13.5px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  transition:transform .2s,box-shadow .2s,background-color .2s,border-color .2s,padding .25s,opacity .2s;
}
#bsDock .bs-dock-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,23,42,.22);
}
#bsDock .bs-dock-btn:active{transform:scale(.94)}
#bsDock .bs-dock-btn:focus-visible{outline:2px solid var(--rd-accent,#2f6bff);outline-offset:2px}
#bsDock .bs-dock-btn::after{content:"";position:absolute;inset:-3px}

#bsDock #up-button.bs-dock-up{
  width:42px;
  opacity:0;
  transform:translateY(8px) scale(.85);
  pointer-events:none;
}
#bsDock #up-button.bs-dock-up.show{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
#bsDock #up-button.bs-dock-up svg{
  width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
}

#bsDock #open-chat.bs-dock-tg{
  padding:0;
  gap:0;
  border-color:transparent;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  box-shadow:none;
}
#bsDock .bs-dock-ico{
  width:42px;height:42px;margin:-1px;border-radius:50%;
  background:linear-gradient(135deg,#2aabee,#229ed9);
  color:#fff;display:inline-grid;place-items:center;flex:none;
  box-shadow:0 8px 22px rgba(34,158,217,.38),0 2px 6px rgba(15,23,42,.14);
  transition:width .25s cubic-bezier(.2,.8,.2,1),height .25s cubic-bezier(.2,.8,.2,1),margin .25s cubic-bezier(.2,.8,.2,1),box-shadow .2s;
}
#bsDock .bs-dock-ico svg{
  width:21px;height:21px;fill:currentColor;transform:translateX(-1px);
  transition:width .25s cubic-bezier(.2,.8,.2,1),height .25s cubic-bezier(.2,.8,.2,1);
}
#bsDock .bs-dock-lbl{
  display:inline-block;
  max-width:0;
  overflow:hidden;
  white-space:nowrap;
  opacity:0;
  font-size:13px;
  transition:max-width .28s cubic-bezier(.2,.8,.2,1),opacity .2s,margin .25s;
}
@media (hover:hover) and (min-width:768px){
  #bsDock #open-chat.bs-dock-tg:hover,
  #bsDock #open-chat.bs-dock-tg:focus-visible{
    padding:0 14px 0 9px;
    border-color:var(--bsd-bd);
    background:var(--bsd-bg);
    -webkit-backdrop-filter:saturate(180%) blur(14px);
    backdrop-filter:saturate(180%) blur(14px);
    box-shadow:0 12px 28px rgba(15,23,42,.22);
  }
  #bsDock #open-chat.bs-dock-tg:hover .bs-dock-ico,
  #bsDock #open-chat.bs-dock-tg:focus-visible .bs-dock-ico{
    width:24px;height:24px;margin:0;
    box-shadow:0 2px 6px rgba(34,158,217,.35);
  }
  #bsDock #open-chat.bs-dock-tg:hover .bs-dock-ico svg,
  #bsDock #open-chat.bs-dock-tg:focus-visible .bs-dock-ico svg{
    width:14px;height:14px;
  }
  #bsDock #open-chat.bs-dock-tg:hover .bs-dock-lbl,
  #bsDock #open-chat.bs-dock-tg:focus-visible .bs-dock-lbl{max-width:160px;opacity:1;margin-left:8px}
}
@media (max-width:767.98px),(hover:none){
  #bsDock.bs-dock{right:max(12px,env(safe-area-inset-right,0px));--bs-dock-b:12px}
  #bsDock .bs-dock-btn,#bsDock #up-button,#bsDock #open-chat{height:40px;min-width:40px}
  #bsDock #up-button.bs-dock-up{width:40px}
  #bsDock #open-chat.bs-dock-tg{padding:0}
  #bsDock .bs-dock-ico{width:40px;height:40px;margin:-1px}
  #bsDock .bs-dock-ico svg{width:20px;height:20px}
  #bsDock .bs-dock-lbl{display:none}
}
#bsDock.bs-dock.is-lifted{--bs-dock-b:98px}
@media (max-width:991.98px){
  body.has-audio-bar #bsDock.bs-dock{--bs-dock-b:146px}
  body.has-audio-bar.has-audio-bar-mini #bsDock.bs-dock{--bs-dock-b:66px}
}
@media (max-width:560px){
  body.has-audio-bar #bsDock.bs-dock,#bsDock.bs-dock.is-lifted{--bs-dock-b:152px}
  body.has-audio-bar.has-audio-bar-mini #bsDock.bs-dock{--bs-dock-b:66px}
}
@media (prefers-reduced-motion:reduce){#bsDock.bs-dock,#bsDock .bs-dock-btn,#bsDock .bs-dock-ico,#bsDock .bs-dock-ico svg,#bsDock .bs-dock-lbl{transition:none!important}}
@media print{#bsDock.bs-dock{display:none!important}}
body .grecaptcha-badge,.grecaptcha-badge{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.bs-rc-note{
  margin-top:8px;
  padding-bottom:0;
  font:400 11.5px/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Arial,sans-serif;
  color:rgba(255,255,255,.4);
  letter-spacing:.01em;
}
.bs-rc-note a{
  color:rgba(255,255,255,.56);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.2);
  transition:color .15s,border-color .15s;
}
.bs-rc-note a:hover{
  color:#ffedaf;
  border-bottom-color:rgba(255,237,175,.5);
  text-decoration:none;
}

/* ===== Modern Unified Site Footer (.pre-footer + footer) ===== */
section.pre-footer{
  background:#262626;
  border-top:1px solid rgba(255,255,255,.08);
  padding-block:36px 28px;
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
section.pre-footer,section.pre-footer *{box-sizing:border-box;font-family:inherit}
section.pre-footer .container-fluid{padding:0}
section.pre-footer .row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px 28px;
  margin:0!important;
  align-items:start;
}
section.pre-footer .row > div{
  max-width:none!important;
  width:auto!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  display:block!important;
  min-inline-size:0;
}
section.pre-footer .row > div > .m-auto{
  margin:0!important;
  text-align:left!important;
}
section.pre-footer .row > div > .text-center.m-auto{
  text-align:center!important;
  display:flex;
  flex-wrap:wrap;
  flex-wrap:balance;
  justify-content:center;
  align-items:center;
  gap:7px;
}
section.pre-footer br{display:none}
section.pre-footer a:not(.social-link-circle){
  display:flex;
  align-items:center;
  inline-size:fit-content;
  min-block-size:30px;
  padding-block:3px;
  font-size:14px;
  font-weight:450;
  line-height:1.35;
  color:rgba(255,255,255,.72)!important;
  text-decoration:none!important;
  border-radius:6px;
  transition:color .16s ease,translate .16s ease;
}
section.pre-footer a:not(.social-link-circle):hover{
  color:#ffedaf!important;
  translate:2px 0;
}
section.pre-footer a:focus-visible{
  outline:2px solid #ffedaf;
  outline-offset:2px;
}
section.pre-footer .social-link-circle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:transparent;
  border:0;
  opacity:.82;
  transition:transform .16s ease,opacity .16s ease;
}
section.pre-footer .social-link-circle svg{
  display:block;
  width:34px;
  height:34px;
}
section.pre-footer .social-link-circle:hover{
  transform:translateY(-2px) scale(1.06);
  opacity:1;
}

@media (max-width:991.98px){
  section.pre-footer{padding-block:28px 24px}
  section.pre-footer .row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 20px;
  }
}
@media (max-width:575.98px){
  section.pre-footer{padding-block:24px 20px}
  section.pre-footer .row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 14px;
  }
  section.pre-footer .row > div:has(.social-link-circle){
    grid-column:1 / -1;
    padding-block:6px 2px!important;
  }
}

body footer{
  background:#1e1e20;
  border-top:1px solid rgba(255,255,255,.08);
  padding:20px 16px calc(22px + env(safe-area-inset-bottom,0px));
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body footer,body footer *{box-sizing:border-box;font-family:inherit}
body footer > div{
  max-width:1080px;
  margin-inline:auto;
  padding:0!important;
}
body footer p{
  margin:0!important;
  font-size:13.5px;
  line-height:1.65;
  font-weight:400;
  color:rgba(255,255,255,.6);
}
body footer p span{
  display:inline-block;
  margin-top:2px;
  font-size:13.5px;
  font-weight:600;
  color:#ffedaf;
  letter-spacing:.01em;
}
body.has-audio-bar footer{
  padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));
}
body.has-audio-bar.has-audio-bar-mini footer{
  padding-bottom:calc(74px + env(safe-area-inset-bottom,0px));
}
@media (max-width:991.98px){
  body.has-audio-bar footer{
    padding-bottom:calc(146px + env(safe-area-inset-bottom,0px));
  }
  body.has-audio-bar.has-audio-bar-mini footer{
    padding-bottom:calc(74px + env(safe-area-inset-bottom,0px));
  }
}
@media (prefers-reduced-motion:reduce){
  section.pre-footer a:not(.social-link-circle),
  section.pre-footer .social-link-circle{
    transition:none!important;
    transform:none!important;
    translate:none!important;
  }
}
@media print{
  section.pre-footer,body footer{display:none!important}
}
