/* Public Buddy launcher, including directory, town and story pages. */
body.ltcb-buddy-page #chatToggle{position:fixed!important;display:flex!important;align-items:center;gap:6px;right:20px!important;left:auto!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;z-index:8500!important;width:auto!important;min-height:50px;padding:12px 20px;border:0;border-radius:999px;background:#007ea9;color:#fff;box-shadow:0 8px 28px #143f5c30;font-size:14px;font-weight:750;cursor:pointer}
body.ltcb-buddy-page #chatToggle span{display:inline!important}
body.ltcb-buddy-page #chatBox{position:fixed!important;right:20px!important;left:auto!important;bottom:calc(80px + env(safe-area-inset-bottom))!important;z-index:8501!important;width:min(410px,calc(100% - 32px))!important;height:580px;max-height:calc(100dvh - 104px)!important;border:1px solid #d4e3eb;border-radius:18px;background:#fff;box-shadow:0 16px 70px #163d5a40;color:#172b3e;overflow:hidden}
.ltcb-buddy-page .chat-head{background:#123b51;flex-shrink:0;min-height:58px}
.ltcb-buddy-page .chat-form input{min-width:0}
.ltcb-buddy-page .chat-messages{min-height:0;overflow-wrap:anywhere}
.ltcb-buddy-page .chat-head button{cursor:pointer;min-width:44px;min-height:44px}
.ltcb-buddy-page .bot{white-space:pre-wrap;line-height:1.6}
.ltcb-buddy-page .bot a{color:#006d96;text-decoration:underline}
.ltcb-buddy-page #chatBox :focus-visible,.ltcb-buddy-page #chatToggle:focus-visible{outline:3px solid #00a7df;outline-offset:-3px}
@media(max-width:760px){body.ltcb-buddy-page #chatToggle{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important}body.ltcb-buddy-page #chatBox{right:12px!important;width:calc(100% - 24px)!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 96px - env(safe-area-inset-bottom))!important}}
