.kbh-translate{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:0 0 12px;color:#68716d;font-size:13px;line-height:1.5;min-height:32px}
.kbh-translate button{font:inherit;color:inherit;background:none;border:0;padding:6px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.kbh-translate button:hover{color:#1b2820}.kbh-translate button:disabled{cursor:wait;text-decoration:none;opacity:.75}
.kbh-translate-icon{display:inline-flex}.kbh-translate-note{flex-basis:100%;font-size:12px;overflow-wrap:anywhere}.kbh-translate-note:empty{display:none}
.kbh-translate [hidden],.kbh-translation-text[hidden],#kbh-translate-title>[hidden],#thread_subject>[hidden],#kbh-translate-body>[hidden],#kbh-translate-special-body>[hidden],[id^=postmessage_]>[hidden]{display:none!important}
.kbh-translation-text{overflow-wrap:anywhere;text-align:start;unicode-bidi:isolate}.kbh-translation-text[dir=rtl]{direction:rtl}.kbh-translation-text[dir=ltr]{direction:ltr}
.kbh-translate-picker{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #e0e5e1;border-radius:14px;background:#fff;color:#1c2620;margin:auto;overflow:auto;overscroll-behavior:contain;font:15px/1.5 system-ui,sans-serif;box-shadow:0 12px 45px #0003}
.kbh-translate-picker::backdrop{background:#0006}.kbh-translate-picker-head{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:14px}
.kbh-translate-picker h2{font-size:18px;font-weight:600;margin:0}.kbh-translate-picker button{font:inherit;cursor:pointer;color:inherit}
.kbh-translate-picker-head button{border:0;background:none;font-size:27px;min-width:36px;min-height:36px;flex-shrink:0}
.kbh-translate-picker input{box-sizing:border-box;display:block;width:100%;min-width:0;font:inherit;font-size:16px;border:1px solid #b9c4bc;border-radius:6px;padding:10px;background:#fff;color:#1c2620}
.kbh-translate-picker p{font-size:13px;margin:8px 0}.kbh-translate-picker p:empty{display:none}
.kbh-translate-languages h3{font-size:13px;color:#68716d;margin:18px 0 6px;font-weight:600}
.kbh-translate-languages button{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;width:100%;text-align:start;padding:10px 12px;min-height:44px;border:0;border-radius:6px;background:none;overflow-wrap:anywhere}
.kbh-translate-languages button:hover,.kbh-translate-languages button[aria-pressed=true]{background:#f0f5ef}.kbh-translate-languages span{font-size:12px;color:#68716d}
.kbh-translate button:focus-visible,.kbh-translate-picker button:focus-visible{outline:2px solid #59956e;outline-offset:2px}
@media(max-width:767px){.kbh-translate{font-size:13px}.kbh-translate button{min-height:40px}.kbh-translate-picker{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}}
/* Touch's legacy .view_tit span styles are for moderation badges, not subject text. */
.view_tit #kbh-translate-title,.view_tit #kbh-translate-title>span{font:inherit;color:inherit;margin:0;padding:0}
/* An inline RTL subject cannot set its paragraph direction (site titles use unicode-bidi:plaintext), so give it its own block. */
#thread_subject>.kbh-translation-text[dir=rtl],#kbh-translate-title>.kbh-translation-text[dir=rtl]{display:block}
