/* Hidden unless the page URL contains ?chatbox. The class is set in preview-gate.js. */
html:not(.ps-chatbox-preview) #cytracon-chatbox {
    display: none !important;
}

html.ps-chatbox-preview #cytracon-chatbox {
    left: 20px !important;
    right: auto !important;
    bottom: 20px !important;
}

/* The Hyvä sheet anchors the panel to the right edge of this narrow button.
   Open it toward the right so the panel stays inside the viewport. */
html.ps-chatbox-preview #cytracon-chatbox .chatbox-window {
    left: 0 !important;
    right: auto !important;
    max-width: calc(100vw - 40px) !important;
}

html.ps-chatbox-preview #cytracon-chatbox .chatbox-toggle {
    background: #ff9900;
}
