.yk-chat-launcher{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:9500;display:flex;align-items:center;gap:10px;border:1px solid #668b91;border-radius:999px;padding:14px 20px;color:#e8f4f2;background:#071115;box-shadow:0 8px 30px #0009;font:600 14px/1.2 system-ui,sans-serif;cursor:pointer}
.yk-chat-launcher::before{content:'';width:7px;height:7px;border:1px solid #a3d6cf;border-radius:50%;background:#3d8d87}
body:has(.analytics-choice:not([hidden])) .yk-chat-launcher{visibility:hidden}
.yk-chat{box-sizing:border-box;position:fixed;inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto;margin:0;width:440px;max-width:calc(100vw - 32px);height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #38565b;border-radius:22px;background:#080f13;color:#edf2f1;box-shadow:0 30px 100px #000a;font:14px/1.5 system-ui,sans-serif;overflow:hidden;color-scheme:dark}
.yk-chat[open]{display:flex;flex-direction:column}
.yk-chat::backdrop{background:#0009}
.yk-chat *{box-sizing:border-box}
.yk-chat button,.yk-chat input,.yk-chat textarea{font:inherit}
.yk-chat button,.yk-chat summary{cursor:pointer}
.yk-chat button:disabled{opacity:.5;cursor:default}
.yk-chat button{min-height:40px}
.yk-chat button:focus-visible,.yk-chat a:focus-visible,.yk-chat summary:focus-visible,.yk-chat input:focus-visible,.yk-chat textarea:focus-visible,.yk-chat-launcher:focus-visible{outline:2px solid #a9e4da;outline-offset:3px}
.yk-chat a{color:#b6ded6;text-decoration:underline;text-underline-offset:4px}
.yk-chat-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 8px;flex:none}
.yk-chat-eyebrow{font-size:10px;letter-spacing:.2em;color:#9bb1b3}
.yk-chat h2{margin:3px 0 0;font-size:26px;line-height:1.2;letter-spacing:-.03em;color:#f2f5f4}
.yk-chat-close{border:1px solid #345058;background:#101e24;color:#d9e7e6;border-radius:50%;width:42px;font-size:24px!important;line-height:1}
.yk-chat-subtitle{margin:0;padding:0 22px 16px;color:#a7babc;font-size:12px;flex:none}
.yk-chat-browse{margin:0 16px;border:1px solid #263e46;border-radius:12px;background:#0b171d;max-height:40%;overflow-y:auto;flex:none}
.yk-chat-browse summary{padding:12px 14px;color:#d9e8e6;font-weight:600}
.yk-chat-groups{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px}
.yk-chat-groups button{border:1px solid #37515b;border-radius:7px;background:#0a1319;color:#bacdcd;padding:5px 9px;font-size:11px}
.yk-chat-groups button[aria-pressed=true]{color:#e8f3e8;border-color:#9da783;background:#222e25}
.yk-chat-search-label{display:block;font-size:11px;color:#a5babd;padding:0 12px 8px}
.yk-chat-search{display:block;width:100%;margin-top:4px;padding:9px 10px;border:1px solid #37515b;border-radius:7px;background:#080f14;color:#f1f5f4;font-size:14px!important}
.yk-chat-suggestions{display:grid;gap:0;padding:0 12px 10px}
.yk-chat-suggestions button{text-align:left;background:none;color:#d2e3e1;border:0;border-top:1px solid #233941;border-radius:0;padding:10px 0;font-size:12px;line-height:1.4}
.yk-chat-suggestions p{font-size:12px;color:#9eb6b8}
.yk-chat-transcript{flex:1;min-height:85px;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px;scroll-behavior:auto}
.yk-chat-message{border:1px solid #243942;background:#0f1c23;border-radius:12px;padding:13px 14px;margin:0 20px 12px 0;font-size:13px;overflow-wrap:anywhere}
.yk-chat-author{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#abc5bf}
.yk-chat-message p{margin:6px 0 10px;line-height:1.65}
.yk-chat-message a{display:inline-block;font-size:12px}
.yk-chat-message.is-user{margin-right:0;margin-left:30px;background:#1a2928;border-color:#3a524c}
.yk-chat-followup{display:block;margin-top:12px;padding:7px 0;border:0;border-top:1px solid #2d454b;border-radius:0;background:none;color:#a8c5c6;font-size:11px!important;text-align:left;width:100%}
.yk-chat-status{margin:0;padding:0 20px;font-size:12px;color:#adcecb;flex:none}
.yk-chat-status:empty{display:none}
.yk-chat-form{display:flex;align-items:end;gap:9px;margin:0;padding:10px 16px 0;border-top:1px solid #1f343b;flex:none}
.yk-chat-input-label{flex:1;min-width:0;font-size:10px;color:#a7bec1}
.yk-chat textarea{display:block;resize:none;width:100%;margin-top:4px;border:1px solid #39525a;border-radius:9px;background:#070e13;color:#edf3f2;padding:9px 10px;font-size:16px;line-height:1.4}
.yk-chat textarea::placeholder{color:#829b9f;font-size:13px}
.yk-chat-send{align-self:stretch;margin-top:18px;padding:0 13px;border:1px solid #b7c4a3;border-radius:9px;background:#c5d1b2;color:#142018;font-weight:700!important;white-space:nowrap}
.yk-chat-privacy{padding:9px 18px 0;margin:0;color:#8fa8ac;font-size:10px;line-height:1.5;flex:none}
.yk-chat-footer{display:flex;justify-content:space-between;align-items:center;padding:4px 18px 10px;font-size:11px;flex:none}
.yk-chat-footer button{border:0;background:none;color:#9db5b8;padding:5px;font-size:11px}
.yk-chat-review{margin-top:14px;font-size:12px}
.yk-chat-review summary{color:#bdd5b7}
.yk-chat-review textarea{font-size:14px}
.yk-chat-review button{background:#c5d1b2;color:#132117;border:0;border-radius:6px;padding:8px 12px}
.yk-chat-consent{display:flex;gap:9px;align-items:start;margin:12px 0;font-size:11px;line-height:1.5}
.yk-chat-consent input{flex:none;width:18px;height:18px;accent-color:#a9c7af;margin:2px 0}
@media(max-width:520px){.yk-chat{inset:12px 8px auto;width:calc(100% - 16px);max-width:calc(100% - 16px);height:calc(100dvh - 24px - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));border-radius:16px}.yk-chat-head{padding:16px 18px 6px}.yk-chat-subtitle{padding:0 18px 12px}.yk-chat-launcher{right:14px;bottom:max(16px,env(safe-area-inset-bottom));padding:13px 17px}.yk-chat-browse{max-height:34%}.yk-chat-message{margin-right:8px}.yk-chat-footer{padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.yk-chat,.yk-chat *,.yk-chat-launcher{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep Digital’s pricing link and scene navigation clear of the floating chat. */
.universe-page .yk-chat-launcher{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
