/* V10.43 — Clean mobile footer edge and balanced floating controls. */
@media(max-width:768px){
  /* The dock extends below the footer; keep that exposed strip dark, never white. */
  html body.rr-has-mobile-dock::after{
    content:"";
    position:fixed;
    right:0;
    bottom:0;
    left:0;
    z-index:8990;
    height:calc(var(--rr-mobile-dock-height,62px) + 18px + env(safe-area-inset-bottom));
    background:#180d14;
    pointer-events:none;
  }

  html body .rr-mobile-dock{
    z-index:9000!important;
    border-color:rgba(255,248,251,.13)!important;
    background:linear-gradient(145deg,rgba(59,35,49,.98),rgba(43,24,35,.99))!important;
    box-shadow:0 16px 38px rgba(16,5,11,.38),inset 0 1px 0 rgba(255,255,255,.055)!important;
  }

  html body .rr-mobile-dock a{
    background:transparent!important;
  }

  html body .rr-mobile-dock a.active{
    background:linear-gradient(145deg,rgba(210,59,123,.23),rgba(139,43,84,.34))!important;
    box-shadow:inset 0 0 0 1px rgba(242,108,165,.08)!important;
  }

  html body.rr-has-mobile-dock .chatbot.rr-chatbot{
    z-index:9020!important;
    bottom:calc(var(--rr-mobile-dock-height,62px) + 22px + env(safe-area-inset-bottom))!important;
  }

  html[dir="rtl"] body.rr-has-mobile-dock .chatbot.rr-chatbot{
    right:auto!important;
    left:16px!important;
  }

  html[dir="ltr"] body.rr-has-mobile-dock .chatbot.rr-chatbot{
    right:16px!important;
    left:auto!important;
  }

  html body.rr-has-mobile-dock .rr-chat-toggle{
    position:relative!important;
    display:grid!important;
    width:52px!important;
    min-width:52px!important;
    height:52px!important;
    min-height:52px!important;
    place-items:center!important;
    padding:0!important;
    overflow:visible!important;
    border:1px solid rgba(255,238,247,.32)!important;
    border-radius:50%!important;
    background:linear-gradient(145deg,#7c3155 0%,#3a1d2c 72%)!important;
    color:#fff!important;
    box-shadow:0 14px 32px rgba(20,5,13,.36),inset 0 1px 0 rgba(255,255,255,.2)!important;
    line-height:1!important;
    transform:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  html body.rr-has-mobile-dock .rr-chat-toggle::before,
  html body.rr-has-mobile-dock .rr-chat-toggle::after{
    display:none!important;
    content:none!important;
  }

  html body.rr-has-mobile-dock .rr-chat-toggle:hover{
    background:linear-gradient(145deg,#9f3b69,#4a2035)!important;
    box-shadow:0 16px 36px rgba(20,5,13,.42),inset 0 1px 0 rgba(255,255,255,.22)!important;
    transform:translateY(-2px)!important;
  }

  html body .rr-chat-toggle-icon,
  html body .rr-chat-toggle-close{
    position:relative!important;
    z-index:2!important;
    width:26px!important;
    height:26px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
  }

  html body .rr-chat-toggle-icon{display:grid!important}
  html body .rr-chat-toggle-icon svg{
    display:block!important;
    width:26px!important;
    height:26px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }

  html body .rr-chatbot.open .rr-chat-toggle-icon{display:none!important}
  html body .rr-chatbot:not(.open) .rr-chat-toggle-close{display:none!important}
  html body .rr-chatbot.open .rr-chat-toggle-close{display:flex!important;font-size:20px!important}

  html body .rr-chat-pulse{
    inset:-1px!important;
    border-color:rgba(240,95,152,.46)!important;
  }

  html body .rr-back-to-top{
    z-index:9020!important;
    display:grid!important;
    width:50px!important;
    min-width:50px!important;
    height:50px!important;
    min-height:50px!important;
    place-items:center!important;
    bottom:calc(var(--rr-mobile-dock-height,62px) + 22px + env(safe-area-inset-bottom))!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(255,238,247,.32)!important;
    border-radius:50%!important;
    background:linear-gradient(145deg,#4c3441,#2d1a24)!important;
    color:#fff!important;
    box-shadow:0 14px 32px rgba(20,5,13,.3),inset 0 1px 0 rgba(255,255,255,.16)!important;
    font-size:20px!important;
    line-height:1!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  html body .rr-back-to-top::before,
  html body .rr-back-to-top::after{display:none!important;content:none!important}

  html[dir="rtl"] body .rr-back-to-top{right:16px!important;left:auto!important}
  html[dir="ltr"] body .rr-back-to-top{right:auto!important;left:16px!important}
}

