.hjs-chat-overlay { z-index: 99990; }
#chatBox {
    width: 100%;
    min-width: 0;
    height: min(75dvh, 600px);
}
.hjs-chat-header {
    gap: 8px;
    padding: 10px 12px;
    flex: none;
}
.hjs-chat-header img { flex: none; }
.hjs-chat-header-action,
.hjs-chat-compose-action {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
}
.hjs-chat-header-action { background: #ffffff26; font-size: 18px; }
.hjs-chat-header-action:last-child { font-size: 25px; line-height: 1; }
.hjs-chat-header-action:hover { background: #ffffff45; }
#chatMessages { min-height: 0; min-width: 0; }
.hjs-chat-composer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    flex: none;
    gap: 6px;
    padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}
.hjs-chat-composer .hjs-chat-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    font-size: 16px !important;
}
.hjs-chat-feedback {
    flex: none;
    padding: 0 10px 6px;
    color: #334155;
    font-size: 12px;
}
.hjs-chat-feedback:empty { display: none; }
