/* ═══ DESIGN LAYER - widgets on every page (loaded right after design.css; see it for the rules of the layer) ═══
   Covers cookie-consent.css and support-widget.css. Markup this file expects:
     .cookie-banner > .cookie-content > h3 + p + .cookie-buttons > .cookie-btn (-secondary, -tertiary)
     .cookie-modal(.show) > .cookie-modal-content > .cookie-close, .cookie-category (.cookie-switch > input + .cookie-slider), .cookie-buttons
     .support-widget > .support-launcher[aria-expanded] + .support-panel[hidden] > .support-header + .support-body > .support-screen[hidden]
     .live-chat-inline > .live-chat-inline-header + .live-chat-name-prompt + .live-chat-room      (homepage only)
   Fixed, because the ad check looks at the first screen:
   - The cookie bar keeps its position, height, paddings and font sizes. Its buttons keep their padding, 1px
     border, size and weight (wider buttons would wrap the notice and make the bar taller). In D the second
     pixel of border is an inset shadow, and so is the thick line under the bar.
   - The Support button keeps its position and outer size. In D its border is 1px thicker and its padding
     1px smaller. Its label keeps the browser's button font: another font would change its width.
   The scripts show and hide with [hidden], .show and an inline display: no display is set on those elements. */

/* ─── 1. Cookie bar: colours and edges only ─── */
html[data-design] .cookie-banner {
    background-color: var(--d-surface);
    border-bottom-color: var(--d-ink);
}
html[data-design="brutal"] .cookie-banner {
    box-shadow: inset 0 -2px 0 var(--d-ink) !important;
}
html[data-design] .cookie-content p {
    color: var(--text-secondary);
}
/* the buttons, here and in the dialog: one main action, one plain button, one text button */
html[data-design] .cookie-btn {
    background-color: var(--d-btn-bg);
    color: var(--d-btn-fg);
    border-color: var(--d-btn-bg);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s var(--d-ease), box-shadow 0.12s var(--d-ease);
}
html[data-design] .cookie-btn:hover {
    background-color: var(--d-btn-bg-hover);
    color: var(--d-btn-fg);
}
html[data-design] .cookie-btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--d-line-strong);
}
html[data-design] .cookie-btn-secondary:hover {
    background-color: var(--d-raised);
    color: var(--text-primary);
    border-color: var(--d-ink);
}
html[data-design] .cookie-btn-tertiary,
html[data-design] .cookie-btn-tertiary:hover {
    background-color: transparent;
    border-color: transparent;
    color: var(--text-secondary);
    text-decoration-line: underline;
    text-underline-offset: 3px;
}
html[data-design] .cookie-btn-tertiary:hover {
    color: var(--text-primary);
}
/* D: light edges and a small hard shadow; the second pixel of border is drawn inside the button */
html[data-design="brutal"] .cookie-btn {
    border-color: var(--d-ink);
}
html[data-design="brutal"] .cookie-btn-tertiary {
    border-color: transparent;
    color: var(--text-primary);
    text-decoration-color: var(--blue-500);
    text-decoration-thickness: 2px;
}
html[data-design="brutal"] .cookie-banner .cookie-btn {
    box-shadow: inset 0 0 0 1px var(--d-ink), 2px 2px 0 var(--d-ink) !important;
}
html[data-design="brutal"] .cookie-banner .cookie-btn-secondary {
    box-shadow: inset 0 0 0 1px var(--d-ink), 2px 2px 0 #3b82f6 !important;
}
html[data-design="brutal"] .cookie-banner .cookie-btn-tertiary {
    box-shadow: none !important;
}

/* ─── 2. Cookie settings dialog ─── */
html[data-design] .cookie-modal {
    background-color: rgba(5, 8, 15, 0.82);
}
html[data-design] .cookie-modal-content {
    background-color: var(--d-surface);
    border: var(--d-panel-border);
    border-radius: var(--d-r-lg);
    box-shadow: var(--d-panel-shadow) !important;
}
html[data-design] .cookie-close {
    color: var(--text-secondary);
}
html[data-design] .cookie-close:hover {
    color: var(--text-primary);
}
html[data-design] .cookie-category {
    background-color: var(--d-ground);
    border: var(--d-inset-border);
    border-radius: var(--d-r-md);
}
html[data-design] .cookie-category h3 {
    margin: 0;
}
html[data-design] .cookie-status {
    font-size: 14px;
    font-style: normal;
}
html[data-design] .cookie-modal-content .cookie-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 8px;
}
html[data-design] .cookie-modal-content .cookie-btn {
    padding: 10px 18px;
    border-radius: var(--d-r-md);
    box-shadow: var(--d-btn-shadow) !important;
    font-size: 15px;
    font-weight: var(--d-btn-weight);
}
html[data-design] .cookie-modal-content .cookie-btn-secondary {
    box-shadow: var(--d-btn2-shadow) !important;
}
/* the switch, like .toggle-track in design.css. Four states: off, on, locked on ("Always Active"), locked off */
html[data-design] .cookie-slider {
    width: 40px;
    height: 22px;
    background-color: var(--d-ground);
    border: var(--d-field-border);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
html[data-design] .cookie-slider:before {
    left: 3px;
    bottom: 3px;
    width: 14px;
    height: 14px;
    background-color: var(--d-ink);
    transition: transform 0.2s var(--d-ease), background-color 0.2s ease;
}
html[data-design] input:checked + .cookie-slider {
    background-color: var(--blue-600);
    border-color: var(--blue-400);
}
html[data-design] input:checked + .cookie-slider:before {
    transform: translateX(18px);
}
html[data-design] input:disabled + .cookie-slider {
    background-color: var(--d-raised);
    border-color: var(--d-line);
    opacity: 1;
}
html[data-design] input:disabled + .cookie-slider:before {
    background-color: var(--d-line-strong);
}
html[data-design] input:checked:disabled + .cookie-slider {
    background-color: var(--blue-700);
    border-color: var(--d-line-strong);
}
html[data-design] input:checked:disabled + .cookie-slider:before {
    background-color: var(--text-muted);
}
html[data-design] .cookie-switch input:focus-visible + .cookie-slider {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}
/* A: a category is text under a rule, not a box */
html[data-design="swiss"] .cookie-category {
    background: none;
    border: 0;
    border-top: 1px solid var(--d-line);
    padding: 16px 0 0;
}
/* D: chunky switch, boxed close mark, pressed buttons */
html[data-design="brutal"] .cookie-modal-content {
    box-shadow: 10px 10px 0 #3b82f6 !important;
}
html[data-design="brutal"] .cookie-modal-content h2 {
    padding-right: 44px;
}
html[data-design="brutal"] .cookie-close {
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid var(--d-ink);
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 700;
}
html[data-design="brutal"] .cookie-close:hover {
    background: var(--blue-500);
    color: #0a0f1a;
}
html[data-design="brutal"] .cookie-modal-content .cookie-btn {
    border-width: 2px;
}
html[data-design="brutal"] .cookie-status {
    color: var(--text-secondary);
    font-weight: 700;
}
html[data-design="brutal"] .cookie-slider {
    width: 46px;
    height: 26px;
    background-color: var(--d-raised);
    border-color: var(--d-ink);
}
html[data-design="brutal"] .cookie-slider:before {
    width: 16px;
    height: 16px;
}
html[data-design="brutal"] input:checked + .cookie-slider:before {
    transform: translateX(20px);
}
@media (max-width: 768px) {
    html[data-design="brutal"] .cookie-modal-content {
        box-shadow: 6px 6px 0 #3b82f6 !important;
    }
}

/* ─── 3. Support button: colours, edge and shadow; position and outer size stay ─── */
html[data-design] .support-launcher {
    background: var(--d-btn-bg);
    color: var(--d-btn-fg);
    border-color: var(--d-btn-bg);
    transition: background-color 0.15s ease, transform 0.12s var(--d-ease), box-shadow 0.12s var(--d-ease);
}
html[data-design] .support-launcher:hover,
html[data-design] .support-launcher[aria-expanded="true"] {
    background: var(--d-btn-bg-hover);
    transform: none;
}
/* D: 2px border and 1px less padding give the same box. The shadow falls right and down, into the
   20px margin, never towards the page. While the panel is open the button stays pressed. */
html[data-design="brutal"] .support-launcher {
    padding: 11px 17px;
    border: 2px solid var(--d-ink);
    border-radius: var(--d-r-md);
    box-shadow: 4px 4px 0 var(--d-ink) !important;
}
html[data-design="brutal"] .support-launcher[aria-expanded="true"] {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--d-ink) !important;
}
@media (max-width: 560px) {
    html[data-design="brutal"] .support-launcher {
        padding: 11px;
    }
}

/* ─── 4. Support panel ─── */
html[data-design] .support-panel {
    background: var(--d-surface);
    border: var(--d-panel-border);
    border-radius: var(--d-r-lg);
    box-shadow: var(--d-panel-shadow) !important;
    font-family: var(--font-family);
    animation: none;
}
html[data-design] .support-panel button,
html[data-design] .live-chat-inline button {
    font-family: inherit;
}
html[data-design] .support-header {
    background: var(--d-surface);
    border-bottom: var(--d-rule);
    color: var(--text-primary);
}
html[data-design] .support-header h3 {
    font-size: 16px;
}
html[data-design] .support-close {
    color: var(--text-secondary);
    opacity: 1;
}
html[data-design] .support-close:hover {
    color: var(--text-primary);
}
html[data-design] .support-muted,
html[data-design] .support-empty,
html[data-design] .support-thread {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}
html[data-design] .support-empty,
html[data-design] .support-success {
    text-align: left;
}
html[data-design] .support-screen-title {
    font-size: 17px;
}
html[data-design] .support-back {
    color: var(--text-secondary);
    font-size: 14px;
}
html[data-design] .support-back:hover {
    color: var(--text-primary);
}
html[data-design] .support-link-btn {
    color: var(--blue-400);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
html[data-design] .support-link-btn:hover {
    color: var(--text-primary);
}
/* the three categories and the small "Open": BUTTON2 */
html[data-design] .support-category,
html[data-design] .support-ticket-open {
    background: transparent;
    color: var(--text-primary);
    border: var(--d-btn2-border);
    border-radius: var(--d-r-md);
    box-shadow: var(--d-btn2-shadow) !important;
    font-size: 15px;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s var(--d-ease), box-shadow 0.12s var(--d-ease);
}
html[data-design] .support-category:hover,
html[data-design] .support-ticket-open:hover {
    background: var(--d-raised);
    border-color: var(--d-ink);
}
html[data-design] .support-ticket-open {
    border-radius: var(--d-r-sm);
    font-size: 14px;
}
/* labels, hints, fields (16px in a field: a phone does not zoom in on focus) */
html[data-design] .support-field label,
html[data-design] .live-chat-name-prompt label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: var(--d-strong-weight);
}
html[data-design] .support-hint,
html[data-design] .support-ticket-meta,
html[data-design] .support-msg-when,
html[data-design] .live-chat-hint,
html[data-design] .live-chat-msg-time {
    color: var(--text-muted);
    font-size: 13px;
}
html[data-design] :is(.support-field input, .support-field textarea, .support-form textarea, .live-chat-name-prompt input, .live-chat-form input) {
    padding: 10px 12px;
    background: var(--d-ground);
    border: var(--d-field-border);
    border-radius: var(--d-r-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
}
html[data-design] :is(.support-field input, .support-field textarea, .support-form textarea, .live-chat-name-prompt input, .live-chat-form input):focus {
    border-color: var(--blue-400);
    outline: 2px solid var(--blue-400);
    outline-offset: 0;
}
html[data-design="brutal"] :is(.support-field input, .support-field textarea, .support-form textarea, .live-chat-name-prompt input, .live-chat-form input):focus {
    outline: 0;
    border-color: var(--d-ink);
    box-shadow: 4px 4px 0 #3b82f6 !important;
}
/* main actions, in the panel and in the chat: BUTTON */
html[data-design] .support-submit,
html[data-design] .live-chat-name-prompt button,
html[data-design] .live-chat-form button {
    background: var(--d-btn-bg);
    color: var(--d-btn-fg);
    border: var(--d-btn-border);
    border-radius: var(--d-r-md);
    box-shadow: var(--d-btn-shadow) !important;
    font-size: 15px;
    font-weight: var(--d-btn-weight);
    transform: none;
    transition: background 0.15s ease, transform 0.12s var(--d-ease), box-shadow 0.12s var(--d-ease);
}
html[data-design] .support-submit:hover,
html[data-design] .live-chat-name-prompt button:hover,
html[data-design] .live-chat-form button:hover {
    background: var(--d-btn-bg-hover);
}
html[data-design] .support-submit {
    padding: 10px 18px;
}
html[data-design] .support-submit:disabled,
html[data-design] .live-chat-form button:disabled {
    background: var(--d-raised);
    border-color: var(--d-line-strong);
    box-shadow: none !important;
    color: var(--text-muted);
    opacity: 1;
    cursor: not-allowed;
}
html[data-design] .support-error,
html[data-design] .live-chat-error {
    background: var(--d-ground);
    border: var(--d-inset-border);
    border-color: #ef4444;
    border-radius: var(--d-r-sm);
    color: #fca5a5;
    font-size: 14px;
}
/* my tickets, the thread, the "created" screen */
html[data-design] .support-ticket-item,
html[data-design] .support-msg {
    padding: 10px 12px;
    background: var(--d-ground);
    border: var(--d-inset-border);
    border-radius: var(--d-r-md);
}
html[data-design] .support-ticket-title,
html[data-design] .support-msg-body {
    font-size: 15px;
}
html[data-design] .support-msg-user {
    border-color: var(--blue-500);
}
html[data-design] .support-msg-staff {
    border-color: #10b981;
}
html[data-design] .support-msg-who {
    font-size: 13px;
}
html[data-design] .support-msg-staff .support-msg-who {
    color: #6ee7b7;
}
html[data-design] .support-success-icon {
    margin: 0 0 14px;
    background: transparent;
    border: 2px solid #34d399;
    color: #34d399;
}

/* A: the panel floats without a shadow, so it gets the strong line. Lists are ruled, links are links. */
html[data-design="swiss"] .support-panel {
    border-color: var(--d-ink);
}
html[data-design="swiss"] .support-category-grid {
    gap: 0;
}
html[data-design="swiss"] .support-category {
    position: relative;
}
html[data-design="swiss"] .support-category + .support-category {
    margin-top: -1px;
}
html[data-design="swiss"] .support-category:hover {
    z-index: 1;
}
html[data-design="swiss"] .support-category::after {
    content: '';
    flex: none;
    width: 16px;
    height: 16px;
    margin-left: auto;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.3s var(--d-ease);
}
html[data-design="swiss"] .support-category:hover::after {
    transform: translateX(4px);
}
html[data-design="swiss"] .support-ticket-item {
    margin: 0;
    padding: 12px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--d-line);
}
html[data-design="swiss"] .support-ticket-item:first-child {
    border-top: 1px solid var(--d-ink);
}

/* D: a blue block for a header, boxes on hard shadows, heavy labels */
html[data-design="brutal"] .support-panel {
    bottom: calc(100% + 16px);
    max-height: min(640px, calc(100vh - 92px));
    box-shadow: 6px 6px 0 #3b82f6 !important;
}
html[data-design="brutal"] .support-header {
    background: var(--blue-500);
}
html[data-design="brutal"] .support-header h3 {
    color: #0a0f1a;
    font-size: 17px;
}
html[data-design="brutal"] .support-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid #0a0f1a;
    border-radius: 6px;
    color: #0a0f1a;
    font-size: 20px;
    font-weight: 700;
}
html[data-design="brutal"] .support-close:hover {
    background: #0a0f1a;
    color: var(--text-primary);
}
html[data-design="brutal"] .support-close:focus-visible {
    outline-color: #0a0f1a;
}
html[data-design="brutal"] .support-category-grid {
    gap: 12px;
}
html[data-design="brutal"] .support-category,
html[data-design="brutal"] .support-back {
    font-weight: 700;
}
html[data-design="brutal"] .support-back {
    color: var(--text-primary);
}
html[data-design="brutal"] .support-link-btn {
    padding: 8px 12px;
    color: var(--text-primary);
    border: var(--d-btn2-border);
    border-radius: var(--d-r-md);
    box-shadow: var(--d-btn2-shadow) !important;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.12s var(--d-ease), box-shadow 0.12s var(--d-ease);
}
html[data-design="brutal"] .support-link-btn:hover {
    background: var(--d-raised);
    text-decoration: none;
}
html[data-design="brutal"] .support-reply-form {
    gap: 12px;
}
html[data-design="brutal"] .support-ticket-item,
html[data-design="brutal"] .support-msg {
    margin-bottom: 12px;
    border-color: var(--d-ink);
}
html[data-design="brutal"] .support-ticket-open {
    box-shadow: 2px 2px 0 #3b82f6 !important;
    font-weight: 800;
}
html[data-design="brutal"] .support-thread {
    padding: 4px 6px 12px 2px;
}
html[data-design="brutal"] .support-msg-user {
    background: var(--blue-700);
    box-shadow: 3px 3px 0 var(--d-ink) !important;
}
html[data-design="brutal"] .support-msg-staff {
    background: var(--d-raised);
    box-shadow: 3px 3px 0 #3b82f6 !important;
}
html[data-design="brutal"] .support-msg-who {
    font-weight: 800;
}
html[data-design="brutal"] .support-msg-user .support-msg-who {
    color: var(--text-primary);
}
html[data-design="brutal"] .support-msg-user .support-msg-when {
    color: var(--text-secondary);
}
html[data-design="brutal"] .support-success-icon {
    background: #34d399;
    border-color: var(--d-ink);
    border-radius: var(--d-r-md);
    box-shadow: 3px 3px 0 var(--d-ink) !important;
    color: #0a0f1a;
}

/* ─── 5. Live chat box (homepage) ─── */
html[data-design] .live-chat-inline {
    background: var(--d-surface);
    border: var(--d-panel-border);
    border-radius: var(--d-r-lg);
    box-shadow: var(--d-panel-shadow) !important;
    font-family: var(--font-family);
}
html[data-design] .live-chat-inline::before {
    display: none;
}
html[data-design] .live-chat-inline-header h2 {
    font-size: 24px;
}
html[data-design] .live-chat-inline-sub {
    font-size: 14px;
}
/* the "Beta" tag: sentence case, no pill. The dot stays green and keeps its pulse. */
html[data-design] .live-chat-inline-status {
    padding: 0;
    background: none;
    border: 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
html[data-design] .live-chat-hint a {
    color: var(--blue-400);
    text-decoration: underline;
    text-underline-offset: 3px;
}
html[data-design] .live-chat-hint a:hover {
    color: var(--text-primary);
}
html[data-design] .live-chat-messages {
    background: var(--d-ground);
    border: var(--d-inset-border);
    border-radius: var(--d-r-md);
}
html[data-design] .live-chat-msg {
    font-size: 15px;
}
html[data-design] .live-chat-msg-name {
    color: var(--blue-400);
}
html[data-design] .live-chat-msg-time {
    font-variant-numeric: tabular-nums;
}
html[data-design] .live-chat-msg-staff {
    padding: 0 6px;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: var(--d-r-sm);
    color: #93c5fd;
    font-size: 13px;
    font-weight: var(--d-strong-weight);
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: baseline;
}

/* A: messages are ruled lines */
html[data-design="swiss"] .live-chat-msg {
    margin: 0;
    padding: 8px 4px;
    border-bottom: 1px solid var(--d-line);
}
html[data-design="swiss"] .live-chat-msg:last-child {
    border-bottom: 0;
}

/* D: the tag and the staff badge are stickers, each message is a small block */
html[data-design="brutal"] .live-chat-inline {
    overflow: visible;
}
html[data-design="brutal"] .live-chat-inline-header h2 {
    font-size: 26px;
}
html[data-design="brutal"] .live-chat-inline-sub {
    color: var(--text-secondary);
}
html[data-design="brutal"] .live-chat-inline-status,
html[data-design="brutal"] .live-chat-msg-staff {
    background: var(--blue-500);
    border: 2px solid var(--d-ink);
    border-radius: 6px;
    color: #0a0f1a;
    font-size: 13px;
    font-weight: 800;
    transform: rotate(-2deg);
}
html[data-design="brutal"] .live-chat-inline-status {
    padding: 2px 10px;
}
html[data-design="brutal"] .live-chat-inline-dot {
    background: #0a0f1a;
}
html[data-design="brutal"] .live-chat-name-row,
html[data-design="brutal"] .live-chat-form {
    gap: 12px;
}
html[data-design="brutal"] .live-chat-messages {
    padding: 10px;
}
html[data-design="brutal"] .live-chat-msg {
    margin-bottom: 6px;
    padding: 6px 10px;
    background: var(--d-surface);
    border: 2px solid var(--d-line);
    border-radius: 8px;
}
html[data-design="brutal"] .live-chat-msg:has(.live-chat-msg-staff) {
    border-color: var(--blue-500);
}
html[data-design="brutal"] .live-chat-msg-name {
    font-weight: 800;
}

/* From 861px the box lines up with the page instead of sitting in the middle: in A on columns 4 to 12
   of the section grid (design/home.css), in D on the left edge of the 1200px container, as wide as
   the questions list. Percentages are of main, the same width the containers are centred in. */
@media (min-width: 861px) {
    html[data-design="swiss"] .live-chat-inline {
        width: calc(min(1152px, 100% - 48px) * 0.75 - 6px);
        max-width: none;
        margin: 0 0 72px calc(max(24px, 50% - 576px) + (min(1152px, 100% - 48px) + 24px) / 4);
    }
    html[data-design="brutal"] .live-chat-inline {
        width: calc(100% - 48px);
        max-width: 880px;
        margin: 0 auto 80px max(24px, calc(50% - 576px));
    }
}
@media (max-width: 640px) {
    html[data-design="brutal"] .live-chat-inline {
        box-shadow: 6px 6px 0 #3b82f6 !important;
    }
}
/* the footer has no top margin in this layer: keep the box off it on phones */
@media (max-width: 560px) {
    html[data-design] .live-chat-inline {
        margin-bottom: 48px;
    }
}

/* ─── 6. Motion: the panel opens, a new chat message arrives, D buttons are pressed. Nothing else. ─── */
@media (prefers-reduced-motion: no-preference) {
    html[data-design="swiss"] .support-panel {
        animation: d-rise 0.3s var(--d-ease) both;
    }
    html[data-design="brutal"] .support-panel {
        transform-origin: 100% 100%;
        animation: d-pop-in 0.35s var(--d-pop) both;
    }
    html[data-design="swiss"] .live-chat-msg {
        animation: d-rise 0.4s var(--d-ease) both;
    }
    html[data-design="brutal"] .live-chat-msg {
        animation: d-pop-in 0.35s var(--d-pop) both;
    }
    /* D: lift on hover, land on click. The Support button moves 2px at most. */
    html[data-design="brutal"] .support-launcher[aria-expanded="false"]:hover,
    html[data-design="brutal"] .support-submit:not(:disabled):hover,
    html[data-design="brutal"] .live-chat-name-prompt button:hover,
    html[data-design="brutal"] .live-chat-form button:not(:disabled):hover,
    html[data-design="brutal"] .cookie-modal-content .cookie-btn:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0 var(--d-ink) !important;
    }
    html[data-design="brutal"] .support-category:hover,
    html[data-design="brutal"] .support-link-btn:hover,
    html[data-design="brutal"] .cookie-modal-content .cookie-btn-secondary:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0 #3b82f6 !important;
    }
    html[data-design="brutal"] .support-launcher[aria-expanded]:active,
    html[data-design="brutal"] .support-submit:not(:disabled):active,
    html[data-design="brutal"] .live-chat-name-prompt button:active,
    html[data-design="brutal"] .live-chat-form button:not(:disabled):active,
    html[data-design="brutal"] .cookie-modal-content .cookie-btn:active,
    html[data-design="brutal"] .support-category:active,
    html[data-design="brutal"] .support-link-btn:active {
        transform: translate(3px, 3px);
        box-shadow: 0 0 0 var(--d-ink) !important;
    }
    html[data-design="brutal"] .cookie-banner .cookie-btn:not(.cookie-btn-tertiary):active {
        transform: translate(2px, 2px);
        box-shadow: inset 0 0 0 1px var(--d-ink) !important;
    }
}
