/* Conversation speech belongs to the speaker, with only replies at the edge. */
.crew-conversation{--crew-safe-top:env(safe-area-inset-top,0px);--crew-safe-bottom:env(safe-area-inset-bottom,0px);--crew-safe-left:env(safe-area-inset-left,0px);--crew-safe-right:env(safe-area-inset-right,0px);position:fixed;inset:0;z-index:42;pointer-events:none;font-family:var(--font-mono,'Courier New',monospace);color:#f5f1df}
.crew-conversation[hidden],.crew-speech-bubble[hidden]{display:none!important}
.crew-speech-bubble{position:fixed;width:min(300px,calc(100vw - 24px));box-sizing:border-box;padding:13px 15px 14px;background:rgba(20,29,29,.95);border:1px solid rgba(222,213,164,.6);border-radius:12px;box-shadow:0 5px 24px #0006;transform:translate(-50%,-100%);pointer-events:auto}
.crew-speech-bubble:after{content:'';position:absolute;bottom:-7px;left:calc(50% - 6px);width:12px;height:12px;background:#141d1d;border-right:1px solid rgba(222,213,164,.6);border-bottom:1px solid rgba(222,213,164,.6);transform:rotate(45deg)}
.crew-speaker{display:block;padding-right:28px;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.12em;color:#ded5a4}
.crew-speech-text{margin:7px 0 0!important;font:14px/1.45 system-ui,sans-serif!important;color:#f5f1df!important;overflow-wrap:break-word}
.crew-conversation .crew-conversation-close{position:absolute;right:2px;top:0;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#e6e7dc;font:24px/1 system-ui,sans-serif;cursor:pointer}
.crew-response-strip{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:grid;grid-template-columns:1fr 1fr;gap:6px;width:min(660px,calc(100vw - 28px));box-sizing:border-box;padding:8px 8px 5px;border:1px solid #8a8b7466;border-radius:12px;background:rgba(14,23,24,.94);box-shadow:0 4px 24px #0004;pointer-events:auto}
.crew-conversation .crew-response{display:flex;align-items:center;gap:9px;min-height:48px;width:100%;padding:10px 12px;text-align:left;background:#263733;border:1px solid #72817177;border-radius:7px;color:#f5f1df;cursor:pointer;font:13px/1.25 system-ui,sans-serif;touch-action:manipulation}
.crew-response[data-selected=true]{border-color:#c5ce92;background:#34473b}
.crew-conversation button:focus-visible{outline:2px solid #e8f1ae;outline-offset:2px}
.crew-response-key{display:grid;place-items:center;flex:none;min-width:18px;height:21px;font:11px/1 monospace;border:1px solid #b0b89377;border-radius:3px;color:#e0e8bb}
.crew-response-label{overflow-wrap:break-word}
.crew-conversation-help{grid-column:1/-1;text-align:center;font:10px/1.5 system-ui,sans-serif;color:#b2c0b4;pointer-events:none}
@media(pointer:coarse){.crew-conversation-help{display:none}.crew-response-key{display:none}.crew-conversation .crew-response{min-height:52px}}
@media(max-width:540px){.crew-response-strip{grid-template-columns:1fr;width:calc(100vw - 20px);gap:5px;padding:6px}.crew-conversation .crew-response{min-height:46px;padding:9px 12px}.crew-speech-text{font-size:13px!important}.crew-speech-bubble{padding:11px 13px 12px}}
@media(max-height:460px) and (orientation:landscape){.crew-response-strip{bottom:max(6px,env(safe-area-inset-bottom));width:min(660px,calc(100vw - 96px));grid-template-columns:1fr 1fr;padding:5px}.crew-conversation-help{display:none}.crew-conversation .crew-response{min-height:44px;padding:7px 10px}.crew-speech-bubble{width:min(300px,calc(100vw - 24px));padding:8px 12px 10px}.crew-speech-text{font-size:12px!important;line-height:1.35!important}}
