#speechOverlay{position:fixed;inset:0;z-index:1100;pointer-events:none}
#speechOverlay[hidden]{display:none}
.speechBubble{position:absolute;box-sizing:border-box;width:min(280px,calc(100vw - 24px));padding:12px 36px 12px 14px;border:1px solid #8cc8c3;border-radius:14px;background:#172a34f5;color:#f2f7f8;box-shadow:0 5px 18px #0006;pointer-events:none;font-size:14px}
.speechBubble::after{content:"";position:absolute;bottom:-7px;left:var(--speech-tail,32px);width:12px;height:12px;transform:rotate(45deg);background:#172a34;border-right:1px solid #8cc8c3;border-bottom:1px solid #8cc8c3}
.speechBubble.speechDetached::after{display:none}
.speechBubble strong{display:block;font-size:12px;color:#a8dfda;overflow-wrap:anywhere}
.speechBubble p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:112px;overflow:auto;margin:5px 0 0;pointer-events:auto;user-select:text}
.speechBubble button{position:absolute;right:5px;top:5px;padding:0;width:26px;height:26px;min-height:26px;pointer-events:auto;border:0;background:transparent;color:inherit}
#speechSettings{margin:8px 0}#speechSettings .checkLabel{margin:8px 0}
@media(max-width:600px){.speechBubble{width:min(230px,calc(100vw - 24px));font-size:13px;padding:9px 32px 9px 11px}.speechBubble p{max-height:84px}}
