/* OZY AI Agent — front-end widget */

:root {
    --ozy-accent:     #CFF023;
    --ozy-accent-rgb: 207, 240, 35;
    --ozy-accent-dim: #A8C81C;
    --ozy-on-accent:  #08131F;
    --ozy-bg0:  #07142A;
    --ozy-bg1:  #0C1D35;
    --ozy-bg2:  #142A4A;
    --ozy-fg1:  #E6F0F8;
    --ozy-fg2:  rgba(230, 240, 248, .72);
    --ozy-fg3:  rgba(230, 240, 248, .48);
    --ozy-user-bg: #CFF023;
    --ozy-user-fg: #08131F;
    --ozy-launcher: var(--ozy-bg0);
    --ozy-radius: 20px;
    --ozy-offset-x: 24px;
    --ozy-offset-y: 24px;
}

.ozy-scope {
    --ozy-line:  rgba(var(--ozy-accent-rgb), .14);
    --ozy-line2: rgba(var(--ozy-accent-rgb), .28);
    --ozy-surface: rgba(255, 255, 255, .06);
    --ozy-surface2: rgba(255, 255, 255, .1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ozy-fg1);
    box-sizing: border-box;
}
.ozy-scope *, .ozy-scope *::before, .ozy-scope *::after { box-sizing: border-box; }

.ozy-theme-light {
    --ozy-surface:  rgba(10, 20, 35, .05);
    --ozy-surface2: rgba(10, 20, 35, .09);
    --ozy-line:  rgba(10, 20, 35, .1);
    --ozy-line2: rgba(10, 20, 35, .16);
}

/* Neutralise theme button styles so site CSS cannot bleed in. */
.ozy-scope button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    font-family: inherit;
    line-height: 1;
    margin: 0;
    letter-spacing: normal;
    text-decoration: none;
    min-height: 0;
    min-width: 0;
}
.ozy-scope button:hover,
.ozy-scope button:focus,
.ozy-scope button:active {
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* ═══════════════════════════════════════════════════════════
   SHARED CONVERSATION UI
   ═══════════════════════════════════════════════════════════ */

.ozy-msgs {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ozy-msgs::-webkit-scrollbar { width: 4px; }
.ozy-msgs::-webkit-scrollbar-thumb { background: rgba(var(--ozy-accent-rgb), .2); border-radius: 3px; }

.ozy-msg {
    display: flex;
    flex-direction: column;
    max-width: 86%;
    animation: ozy-in .3s ease both;
}
@keyframes ozy-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.ozy-msg.agent { align-self: flex-start; align-items: flex-start; }
.ozy-msg.user  { align-self: flex-end;   align-items: flex-end; }

.ozy-bubble {
    padding: 11px 14px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}
.ozy-msg.agent .ozy-bubble {
    background: var(--ozy-surface);
    border: 1px solid var(--ozy-line);
    border-bottom-left-radius: 5px;
    color: var(--ozy-fg1);
}
.ozy-msg.user .ozy-bubble {
    background: var(--ozy-user-bg);
    color: var(--ozy-user-fg);
    border-bottom-right-radius: 5px;
    font-weight: 500;
}
.ozy-bubble p { margin: 0 0 6px; }
.ozy-bubble p:last-child { margin-bottom: 0; }
.ozy-bubble strong { color: var(--ozy-accent); font-weight: 700; }
.ozy-msg.user .ozy-bubble strong { color: inherit; }
.ozy-bubble em { font-style: italic; color: var(--ozy-fg2); }
.ozy-msg.user .ozy-bubble em { color: inherit; }
.ozy-bubble code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    background: rgba(var(--ozy-accent-rgb), .12);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--ozy-accent);
}
.ozy-bubble ul { margin: 6px 0 6px 16px; padding: 0; }
.ozy-bubble li { margin-bottom: 3px; }
.ozy-bubble a {
    color: var(--ozy-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.ozy-msg.user .ozy-bubble a { color: inherit; }
.ozy-time { font-size: 10px; color: var(--ozy-fg3); margin-top: 4px; padding: 0 4px; }
.ozy-stream-text { white-space: pre-wrap; word-break: break-word; }

.ozy-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 12px 15px;
    background: var(--ozy-surface);
    border: 1px solid var(--ozy-line);
    border-radius: 15px 15px 15px 5px;
}
.ozy-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ozy-accent);
    animation: ozy-bounce 1.3s ease infinite;
}
.ozy-typing span:nth-child(2) { animation-delay: .18s; }
.ozy-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes ozy-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ── Quick question chips ─────────────────────────────────── */
.ozy-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 2px; }
.ozy-scope .ozy-chips button.ozy-chip-btn {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    border: 1px solid var(--ozy-line2) !important;
    background: var(--ozy-surface) !important;
    color: var(--ozy-fg1) !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, transform .1s;
}
.ozy-scope .ozy-chips button.ozy-chip-btn:hover {
    background: rgba(var(--ozy-accent-rgb), .14) !important;
    border-color: var(--ozy-accent) !important;
    color: var(--ozy-accent) !important;
}
.ozy-scope .ozy-chips button.ozy-chip-btn:active { transform: translateY(1px); }

/* ── Composer ─────────────────────────────────────────────── */
.ozy-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--ozy-line);
    background: var(--ozy-bg1);
}
/* Forced for the same reason as the buttons — themes restyle every textarea. */
.ozy-scope .ozy-composer textarea {
    flex: 1 !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-height: 42px !important;
    max-height: 110px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border-radius: 21px !important;
    border: 1px solid var(--ozy-line2) !important;
    background: var(--ozy-surface) !important;
    color: var(--ozy-fg1) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    outline: none !important;
    resize: none !important;
    transition: border-color .15s;
}
.ozy-scope .ozy-composer textarea::placeholder { color: var(--ozy-fg3) !important; opacity: 1; }
.ozy-scope .ozy-composer textarea:focus {
    border-color: rgba(var(--ozy-accent-rgb), .55) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Themes (Elementor, Avada, Divi…) load their button rules after this file, so
   equal-specificity declarations lose. These are scoped three levels deep and
   forced so the send and mic controls always render in the plugin's own
   primary/secondary colours instead of inheriting the theme's. */
.ozy-scope .ozy-composer button.ozy-send-btn,
.ozy-scope .ozy-composer button.ozy-mic-btn {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    border-width: 1px !important;
    border-style: solid !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    outline: none !important;
    opacity: 1 !important;
    cursor: pointer;
    transition: transform .12s, background-color .15s, opacity .15s;
}

/* Primary — send */
.ozy-scope .ozy-composer button.ozy-send-btn { --ozy-btn-fg: var(--ozy-on-accent); --ozy-btn-bg: var(--ozy-accent); --ozy-btn-bd: var(--ozy-accent); }
.ozy-scope .ozy-composer button.ozy-send-btn:hover:not(:disabled) { --ozy-btn-bg: var(--ozy-accent-dim); --ozy-btn-bd: var(--ozy-accent-dim); transform: scale(1.06); }
.ozy-scope .ozy-composer button.ozy-send-btn:disabled { opacity: .35 !important; cursor: not-allowed; }
.ozy-scope .ozy-composer button.ozy-send-btn svg { width: 16px !important; height: 16px !important; }

/* Secondary — microphone */
.ozy-scope .ozy-composer button.ozy-mic-btn { --ozy-btn-fg: var(--ozy-fg2); --ozy-btn-bg: var(--ozy-surface); --ozy-btn-bd: var(--ozy-line2); }
.ozy-scope .ozy-composer button.ozy-mic-btn:hover { --ozy-btn-fg: var(--ozy-accent); --ozy-btn-bg: var(--ozy-surface2); --ozy-btn-bd: var(--ozy-accent); }
.ozy-scope .ozy-composer button.ozy-mic-btn.recording { --ozy-btn-fg: #fff; --ozy-btn-bg: #EF4444; --ozy-btn-bd: #EF4444; animation: ozy-rec 1.2s ease infinite; }
@keyframes ozy-rec { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55) !important; } 70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0) !important; } }
.ozy-scope .ozy-composer button.ozy-mic-btn.speaking { --ozy-btn-fg: var(--ozy-on-accent); --ozy-btn-bg: var(--ozy-accent); --ozy-btn-bd: var(--ozy-accent); }
.ozy-scope .ozy-composer button.ozy-mic-btn svg { width: 17px !important; height: 17px !important; }

/* Painted from the variables above so theme rules for button:hover or
   button svg path cannot repaint the composer controls. */
.ozy-scope .ozy-composer button.ozy-send-btn,
.ozy-scope .ozy-composer button.ozy-send-btn:hover,
.ozy-scope .ozy-composer button.ozy-send-btn:focus,
.ozy-scope .ozy-composer button.ozy-send-btn:focus-visible,
.ozy-scope .ozy-composer button.ozy-send-btn:active,
.ozy-scope .ozy-composer button.ozy-mic-btn,
.ozy-scope .ozy-composer button.ozy-mic-btn:hover,
.ozy-scope .ozy-composer button.ozy-mic-btn:focus,
.ozy-scope .ozy-composer button.ozy-mic-btn:focus-visible,
.ozy-scope .ozy-composer button.ozy-mic-btn:active {
    background-color: var(--ozy-btn-bg) !important;
    border-color: var(--ozy-btn-bd) !important;
    color: var(--ozy-btn-fg) !important;
}
.ozy-scope .ozy-composer button.ozy-send-btn svg,
.ozy-scope .ozy-composer button.ozy-send-btn svg *,
.ozy-scope .ozy-composer button.ozy-send-btn:hover svg,
.ozy-scope .ozy-composer button.ozy-send-btn:hover svg *,
.ozy-scope .ozy-composer button.ozy-mic-btn svg,
.ozy-scope .ozy-composer button.ozy-mic-btn svg *,
.ozy-scope .ozy-composer button.ozy-mic-btn:hover svg,
.ozy-scope .ozy-composer button.ozy-mic-btn:hover svg * {
    display: block !important;
    fill: var(--ozy-btn-fg) !important;
    stroke: none !important;
    color: var(--ozy-btn-fg) !important;
}

.ozy-credit {
    padding: 7px 14px 10px;
    text-align: center;
    font-size: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--ozy-fg3);
    background: var(--ozy-bg1);
}

/* ── Panel header (panel + embed) ─────────────────────────── */
.ozy-panel-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--ozy-line);
    background: var(--ozy-bg1);
}
.ozy-avatar {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ozy-accent);
    color: var(--ozy-on-accent);
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
}
.ozy-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ozy-hinfo { flex: 1; min-width: 0; }
.ozy-hname {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    font-weight: 650;
    color: var(--ozy-fg1);
}
.ozy-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: ozy-blink 2.2s ease infinite;
}
@keyframes ozy-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.ozy-hmodel {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9.5px;
    color: var(--ozy-fg3);
    margin-top: 2px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   POPUP MODAL
   ═══════════════════════════════════════════════════════════ */

#ozy-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 22, .78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
#ozy-modal.ozy-visible { opacity: 1; pointer-events: auto; }

#ozy-modal-card {
    position: relative;
    background-color: var(--ozy-bg0);
    background-image: radial-gradient(circle, rgba(var(--ozy-accent-rgb), .04) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--ozy-line2);
    border-radius: var(--ozy-radius);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    transform: translateY(18px) scale(.97);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
#ozy-modal.ozy-visible #ozy-modal-card { transform: translateY(0) scale(1); }

.ozy-mc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ozy-line);
}
.ozy-mc-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--ozy-accent);
}
#ozy-modal-close, #ozy-panel-close {
    width: 30px; height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ozy-fg3);
    font-size: 15px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
#ozy-modal-close:hover, #ozy-panel-close:hover {
    background: rgba(var(--ozy-accent-rgb), .12);
    color: var(--ozy-accent);
}

.ozy-mc-hero { display: flex; gap: 15px; padding: 18px 18px 14px; }
.ozy-mc-icon {
    position: relative;
    flex: 0 0 auto;
    width: 60px; height: 60px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid var(--ozy-line2);
    background: rgba(var(--ozy-accent-rgb), .06);
    overflow: hidden;
}
.ozy-mc-icon img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.ozy-neural { width: 42px; height: 42px; filter: drop-shadow(0 0 6px rgba(var(--ozy-accent-rgb), .55)); }
.ozy-mc-intro { flex: 1; min-width: 0; }
.ozy-mc-name { font-size: 19px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 3px; }
.ozy-mc-name em { color: var(--ozy-accent); font-style: normal; }
.ozy-mc-sub { font-size: 13px; color: var(--ozy-fg2); margin-bottom: 8px; }
.ozy-mc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .3);
    font-size: 11px;
    color: #4ade80;
}
.ozy-online-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: ozy-blink 2.2s ease infinite;
}
#ozy-modal-msgs { max-height: 46vh; }

/* ═══════════════════════════════════════════════════════════
   FLOATING LAUNCHER + PANEL
   ═══════════════════════════════════════════════════════════ */

#ozy-widget-wrap {
    position: fixed;
    right: var(--ozy-offset-x);
    bottom: var(--ozy-offset-y);
    left: auto;
    z-index: 99998;
}
#ozy-widget-wrap.ozy-pos-left { right: auto; left: var(--ozy-offset-x); }

#ozy-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    justify-content: center;
    width: 60px; height: 60px;
    padding: 0;
    border-radius: 999px;
    border: 1.5px solid var(--ozy-line2);
    background: var(--ozy-launcher) !important;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
    transition: transform .2s, border-color .2s, width .25s;
}
#ozy-trigger.has-label { width: auto; padding: 0 20px 0 14px; }
#ozy-trigger:hover { transform: translateY(-2px) scale(1.04); border-color: var(--ozy-accent); }
#ozy-trigger::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 1.5px solid var(--ozy-accent);
    animation: ozy-ping 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes ozy-ping { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.5); opacity: 0; } }
#ozy-trigger.open::before { display: none; }
.ozy-trigger-label { font-size: 14px; font-weight: 600; color: var(--ozy-fg1); white-space: nowrap; }
#ozy-trigger.open .ozy-trigger-label { display: none; }

.ozy-ai-icon {
    display: grid;
    place-items: center;
    transition: opacity .25s, transform .25s;
}
.ozy-ai-icon img, .ozy-ai-icon .ozy-neural { width: 36px; height: 36px; }
#ozy-trigger .icon-close {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px; height: 22px;
    fill: var(--ozy-accent);
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
    transition: opacity .25s, transform .25s;
}
#ozy-trigger.open .ozy-ai-icon { opacity: 0; transform: scale(.6) rotate(90deg); pointer-events: none; }
#ozy-trigger.open .icon-close  { opacity: 1; transform: rotate(0deg) scale(1); }

#ozy-badge {
    display: none;
    position: absolute;
    top: 3px; right: 3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid var(--ozy-bg0);
    z-index: 2;
}
#ozy-badge.show { display: block; }

#ozy-bubble {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 240px;
    padding: 13px 15px;
    border-radius: 15px;
    border: 1px solid var(--ozy-line2);
    background: var(--ozy-bg1);
    box-shadow: 0 14px 32px -14px rgba(0, 0, 0, .65);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px) scale(.96);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}
#ozy-widget-wrap.ozy-pos-left #ozy-bubble { right: auto; left: 0; }
#ozy-bubble.ozy-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.ozy-bubble-header { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.ozy-bubble-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--ozy-accent);
}
.ozy-bubble-dots { display: flex; align-items: center; gap: 3px; }
.ozy-bubble-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--ozy-accent);
    animation: ozy-dot-blink 1.4s ease infinite;
}
.ozy-bubble-dot:nth-child(2) { animation-delay: .2s; }
.ozy-bubble-dot:nth-child(3) { animation-delay: .4s; }
@keyframes ozy-dot-blink { 0%, 60%, 100% { opacity: .3; transform: scale(1); } 30% { opacity: 1; transform: scale(1.4); } }
.ozy-bubble-text { font-size: 13px; line-height: 1.5; color: var(--ozy-fg2); }
.ozy-bubble-close {
    position: absolute;
    top: 6px; right: 6px;
    width: 20px; height: 20px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent !important;
    color: var(--ozy-fg3);
    font-size: 10px;
    cursor: pointer;
}
.ozy-bubble-close:hover { color: var(--ozy-accent); }

#ozy-panel {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: min(388px, calc(100vw - 32px));
    height: min(600px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    border-radius: var(--ozy-radius);
    border: 1px solid var(--ozy-line2);
    background-color: var(--ozy-bg0);
    background-image: radial-gradient(circle, rgba(var(--ozy-accent-rgb), .04) 1px, transparent 1px);
    background-size: 22px 22px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px) scale(.97);
    pointer-events: none;
    transition: opacity .3s, transform .32s cubic-bezier(.2, .8, .2, 1);
}
#ozy-widget-wrap.ozy-pos-left #ozy-panel { right: auto; left: 0; }
#ozy-panel.ozy-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════
   INLINE EMBED (blocks, builders, shortcode)
   ═══════════════════════════════════════════════════════════ */

.ozy-embed {
    display: block;
    width: 100%;
    margin: 0 0 1.5em;
}
.ozy-embed-panel {
    display: flex;
    flex-direction: column;
    height: var(--ozy-embed-h, 560px);
    max-height: 85vh;
    border-radius: var(--ozy-radius);
    border: 1px solid var(--ozy-line2);
    background-color: var(--ozy-bg0);
    background-image: radial-gradient(circle, rgba(var(--ozy-accent-rgb), .04) 1px, transparent 1px);
    background-size: 22px 22px;
    box-shadow: 0 18px 44px -24px rgba(0, 0, 0, .55);
    overflow: hidden;
}
.ozy-embed-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    height: var(--ozy-embed-h, 560px);
    padding: 24px;
    border-radius: var(--ozy-radius);
    background: rgba(127, 127, 127, .07);
}
.ozy-embed-skeleton span {
    display: block;
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(127, 127, 127, .14), rgba(127, 127, 127, .24), rgba(127, 127, 127, .14));
    background-size: 200% 100%;
    animation: ozy-shimmer 1.4s linear infinite;
}
.ozy-embed-skeleton span:nth-child(2) { width: 70%; }
.ozy-embed-skeleton span:nth-child(3) { width: 45%; }
@keyframes ozy-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Call-to-action button ────────────────────────────────── */
button.ozy-scope.ozy-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 13px 28px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: var(--ozy-accent) !important;
    color: var(--ozy-on-accent) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, background-color .2s;
    box-shadow: 0 8px 22px -10px rgba(var(--ozy-accent-rgb), .9) !important;
}
button.ozy-scope.ozy-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--ozy-accent-dim) !important;
    color: var(--ozy-on-accent) !important;
}
button.ozy-scope.ozy-cta-btn:active { transform: translateY(0); }
.ozy-loader-marker { display: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    #ozy-widget-wrap.ozy-hide-mobile { display: none; }
    #ozy-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(var(--ozy-offset-y) + 74px);
        width: auto;
        height: min(72vh, 560px);
    }
    #ozy-bubble { width: 210px; }
    #ozy-modal-card { max-height: 94vh; }
    #ozy-modal-msgs { max-height: 42vh; }
    .ozy-mc-hero { padding: 14px 14px 10px; }
    .ozy-mc-name { font-size: 17px; }
    .ozy-msg { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
    .ozy-scope *, .ozy-scope *::before, .ozy-scope *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
