#ccr-chat-root { --ccr-chat-blue: #66b8ff; font-family: var(--body); color: #eff7ff; position: fixed; z-index: 80; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
#ccr-chat-root *, #ccr-chat-root *::before, #ccr-chat-root *::after { box-sizing: border-box; }
#ccr-chat-root button, #ccr-chat-root textarea { font: inherit; }
#ccr-chat-root button { cursor: pointer; }
#ccr-chat-root [hidden] { display: none !important; }
#ccr-chat-root .ccr-chat-launch { position: relative; display: flex; align-items: center; gap: 12px; border: 1px solid #85c8ff70; padding: 9px 18px 9px 9px; border-radius: 24px; color: #f1f9ff; background: linear-gradient(125deg,#102b49,#06101f); box-shadow: 0 12px 40px #0008, 0 0 28px #268cff33; transition: transform .25s, box-shadow .25s; }
.ccr-chat-launch:hover { transform: translateY(-4px); box-shadow: 0 18px 45px #0009, 0 0 35px #268cff66; }
.ccr-chat-avatar { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; background: radial-gradient(circle at 25% 20%,#59b2ff,#1447a1 68%,#0b2343); box-shadow: inset 0 0 12px #caf0ff33; }
.ccr-chat-avatar svg { width: 34px; height: 34px; stroke: #e2f7ff; fill: none; stroke-width: 1.5; }
.ccr-chat-launch .ccr-chat-avatar { animation: ccrChatFloat 4s ease-in-out infinite; }
.ccr-chat-avatar::before { content: ''; position: absolute; inset: -4px; border: 1px solid #8bd3ff80; border-bottom-color: transparent; border-left-color: transparent; border-radius: 21px; animation: ccrChatOrbit 8s linear infinite; }
.ccr-chat-launch .ccr-chat-avatar::after { content: ''; position: absolute; inset: -8px; border: 1px solid #8bc9ff; border-radius: 24px; animation: ccrChatRipple 4s ease-out infinite; }
.ccr-chat-avatar .ccr-chat-eye { animation: ccrChatBlink 6s infinite; transform-origin: center; }
.ccr-chat-label { display: grid; gap: 3px; text-align: left; }
.ccr-chat-label strong { font-size: 14px; font-weight: 700; }
.ccr-chat-label small { color: #acd0ed; font-size: 11px; }
.ccr-chat-panel { position: absolute; right: 0; bottom: 86px; width: min(410px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 130px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #74baff50; border-radius: 25px; background: #081322; box-shadow: 0 30px 100px #000a, 0 0 40px #1766c322; animation: ccrChatEnter .25s ease-out; }
.ccr-chat-head { display: flex; align-items: center; gap: 12px; padding: 20px; background: radial-gradient(ellipse at 0 0,#25598a88,transparent 80%),#0c1b2f; border-bottom: 1px solid #86bbff20; }
.ccr-chat-head .ccr-chat-avatar { width: 38px; height: 38px; border-radius: 12px; }
.ccr-chat-head .ccr-chat-avatar::before { display: none; }
.ccr-chat-head strong { display: block; font-size: 15px; }
.ccr-chat-head small { display: block; color: #a7c1da; font-size: 11px; margin-top: 4px; }
.ccr-chat-close { margin-left: auto; flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; line-height: 1; border-radius: 50%; border: 1px solid #91b6df30; background: #ffffff08; color: #e5f2ff; }
.ccr-chat-close svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ccr-chat-feed { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 16px; scroll-behavior: smooth; overscroll-behavior: contain; }
.ccr-chat-message { max-width: 93%; margin: 0 0 15px; padding: 13px 15px; background: #13243a; border: 1px solid #8dbdff18; border-radius: 4px 17px 17px 17px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.ccr-chat-message p { margin: 0; color: #e0edfb; white-space: pre-wrap; }
.ccr-chat-message p + p { margin-top: 10px; }
.ccr-chat-message code { padding: 2px 4px; background: #0003; border-radius: 4px; font-size: .95em; }
.ccr-chat-message.is-typing::after { content: ''; display: inline-block; width: 6px; height: 13px; margin-top: 5px; border-radius: 2px; background: #8bccff; animation: ccrTypingCursor .8s steps(2,end) infinite; }
.ccr-chat-message.is-typing code:empty { display: none; }
@keyframes ccrTypingCursor { 50% { opacity: 0; } }
.ccr-chat-message.is-user { margin-left: auto; background: #1b4e81; border-radius: 17px 4px 17px 17px; }
.ccr-chat-message .ccr-chat-source { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px solid #8bb8ef25; color: #8bccff; font-size: 11px; text-decoration: none; }
.ccr-chat-source:hover { color: #fff; }
.ccr-chat-suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 15px; }
.ccr-chat-suggestions button { border: 1px solid #81b7ff35; border-radius: 99px; padding: 7px 11px; background: #13253c; color: #b9dafa; font-size: 11px !important; }
.ccr-chat-suggestions button:hover { background: #204368; color: white; }
.ccr-chat-compose { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-top: 1px solid #86bbff20; background: #0b192a; }
.ccr-chat-emoji-toggle { flex: 0 0 32px; width: 32px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; color: #beddf9; background: transparent; }
.ccr-chat-emoji-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ccr-chat-emoji-toggle:hover, .ccr-chat-emoji-toggle[aria-expanded="true"] { color: #fff; background: #8acaff20; }
.ccr-chat-emoji-picker { position: absolute; left: 14px; right: 14px; bottom: 83px; z-index: 2; padding: 14px; border: 1px solid #8ec8ff55; border-radius: 16px; background: #102138; box-shadow: 0 12px 40px #0009; }
.ccr-chat-emoji-picker > span { display: block; margin-bottom: 10px; font-size: 12px; color: #beddf9; }
.ccr-chat-emoji-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 3px; }
.ccr-chat-emoji-grid button { min-width: 0; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; padding: 0; background: transparent; font-size: 21px !important; }
.ccr-chat-emoji-grid button:hover, .ccr-chat-emoji-grid button:focus-visible { background: #8acaff25; }
.ccr-chat-compose textarea { width: 100%; min-height: 44px; max-height: 100px; resize: none; border: 1px solid #91b8e22b; border-radius: 12px; background: #06111f; padding: 12px; color: white; font-size: 13px !important; line-height: 1.4; }
.ccr-chat-compose textarea::placeholder { color: #8ca5bf; }
.ccr-chat-send { flex: 0 0 42px; height: 42px; border: 1px solid #75bfff; border-radius: 13px; background: #2887d9; color: white; display: grid; place-items: center; }
.ccr-chat-send svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.ccr-chat-send:disabled { opacity: .5; cursor: wait !important; }
.ccr-chat-note { margin: 0; padding: 0 15px 12px; color: #879db6; background: #0b192a; font-size: 10px; text-align: center; }
#ccr-chat-root :focus-visible { outline: 2px solid #9bd4ff; outline-offset: 3px; }
body:has(#cookie-banner:not([hidden]):not(.is-hidden)) #ccr-chat-root { bottom: 165px; }
@keyframes ccrChatFloat { 50% { transform: translateY(-3px) rotate(-5deg); } }
@keyframes ccrChatOrbit { to { transform: rotate(360deg); } }
@keyframes ccrChatRipple { from { opacity: .55; transform: scale(.9); } to { opacity: 0; transform: scale(1.4); } }
@keyframes ccrChatBlink { 0%,44%,48%,100% { opacity: 1; } 46% { opacity: .15; } }
@keyframes ccrChatEnter { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media(max-width:600px) { #ccr-chat-root { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); } .ccr-chat-panel { height: min(570px, calc(100dvh - 115px)); bottom: 80px; } body:has(#cookie-banner:not([hidden]):not(.is-hidden)) #ccr-chat-root { bottom: 16px; } body:has(#cookie-banner:not([hidden]):not(.is-hidden)) #ccr-chat-root:not(.is-open) { visibility: hidden; } }
@media(prefers-reduced-motion:reduce) { #ccr-chat-root *, #ccr-chat-root *::before, #ccr-chat-root *::after { animation: none !important; transition: none !important; scroll-behavior: auto; } }

@media(min-width:601px) { body:has(#cookie-banner:not([hidden]):not(.is-hidden)) .ccr-chat-panel { height: min(620px, calc(100dvh - 265px)); } }


/* Holographic portal. */
#ccr-chat-root { right: max(26px,env(safe-area-inset-right)); bottom: max(24px,env(safe-area-inset-bottom)); }
#ccr-chat-root .ccr-chat-launch { --tilt-x:0deg; --tilt-y:0deg; position: relative; display: grid; place-items: center; width: 102px; height: 102px; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; isolation: isolate; }
#ccr-chat-root .ccr-chat-launch:hover { transform: none; box-shadow: none; }
.ccr-chat-launch::before { content: ''; position: absolute; inset: -24px; border-radius: 50%; background: radial-gradient(circle,#277eff38,transparent 68%); filter: blur(6px); animation: ccrEnergyBreathe 4s ease-in-out infinite; }
.ccr-chat-launch::after { content: ''; position: absolute; bottom: -10px; left: 17%; width: 66%; height: 9px; border-radius: 50%; background: #227cfb45; filter: blur(8px); }
.ccr-orb-field { position: absolute; inset: 0; perspective: 500px; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .3s ease-out; pointer-events: none; }
.ccr-orb-ticks { position: absolute; inset: -2px; border-radius: 50%; background: repeating-conic-gradient(from 0deg,#83d7ff80 0deg 1deg,transparent 1deg 12deg); mask-image: radial-gradient(circle,transparent 65%,#000 66% 70%,transparent 71%); animation: ccrEnergySpin 38s linear infinite; }
.ccr-orb-rim { position: absolute; inset: 7px; border-radius: 50%; border: 1px solid #a4deff35; box-shadow: inset 0 0 16px #477dff20,0 0 16px #62aaff18; }
.ccr-orb-rim::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid transparent; border-top-color: #a6edff; border-right-color: #737bff; filter: drop-shadow(0 0 5px #648eff); animation: ccrEnergySpin 8s linear infinite; }
.ccr-orb-ring { position: absolute; inset: -3px; border-radius: 50%; border: 1px solid #7edfff95; transform: rotateX(65deg) rotateZ(-25deg); box-shadow: 0 0 7px #72bbff25; }
.ccr-orb-ring.ring-b { inset: -5px; border-color: #a197ff80; transform: rotateY(63deg) rotateZ(32deg); }
.ccr-orb-ring::after { content: ''; position: absolute; top: 12%; left: 13%; width: 5px; height: 5px; border-radius: 50%; background: #e0fcff; box-shadow: 0 0 10px #75ceff,0 0 20px #377eff; }
.ccr-orb-body { position: absolute; inset: 17px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 20%,#a9dcff66,transparent 35%),radial-gradient(circle at 67% 72%,#393aa6aa,transparent 60%),radial-gradient(circle at 40% 35%,#174c85,#061128 75%); border: 1px solid #94dbff95; box-shadow: inset -9px -8px 16px #000a,inset 2px 2px 10px #b2e9ff40,0 0 18px #397eff50; animation: ccrOrbLevitate 5s ease-in-out infinite; }
.ccr-orb-grid { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); stroke: #8dcaff55; fill: none; stroke-width: .8; animation: ccrEnergySpin 40s linear infinite; }
.ccr-orb-body::after { content: ''; position: absolute; inset: -50% 0; background: linear-gradient(180deg,transparent 46%,#84ddff09 48%,#b5f4ff80 50%,#6d90ff09 52%,transparent 54%); transform: translateY(-40%); animation: ccrOrbScan 6s ease-in-out infinite; }
.ccr-orb-mark { position: absolute; width: 36px; height: 36px; top: 50%; left: 50%; transform: translate(-50%,-50%); fill: #7fcbff13; stroke: #eefaff; stroke-width: 1.5; filter: drop-shadow(0 0 7px #70b7ff); }
.ccr-orb-particle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #c8f3ff; box-shadow: 0 0 9px #7bd1ff; animation: ccrParticleRise 5s ease-in-out infinite; }
.ccr-orb-particle.p1 { left: 14%; top: 16%; animation-delay: -1s; }
.ccr-orb-particle.p2 { right: 0; top: 50%; animation-delay: -3s; }
.ccr-orb-particle.p3 { left: 30%; bottom: 4%; animation-delay: -2s; }
.ccr-orb-particle.p4 { right: 22%; top: 0; animation-delay: -4s; }
#ccr-chat-root .ccr-chat-label { position: absolute; right: 113px; bottom: 16px; width: 190px; padding: 14px 17px; border: 1px solid #8cc7ff35; border-radius: 18px 18px 5px 18px; background: linear-gradient(130deg,#142942eb,#081221f5); backdrop-filter: blur(22px); box-shadow: 0 12px 35px #0007; gap: 5px; transition: opacity .25s,transform .25s; }
.ccr-chat-label::before { content: ''; position: absolute; left: 17px; top: 0; width: 52px; height: 1px; background: #addfff; box-shadow: 0 0 10px #61baff; }
#ccr-chat-root .ccr-chat-label strong { font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
#ccr-chat-root .ccr-chat-label small { font-size: 10px; color: #99b9d6; }
#ccr-chat-root.is-open .ccr-chat-label { opacity: 0; transform: translateX(8px); pointer-events: none; }
#ccr-chat-root .ccr-chat-launch:hover .ccr-orb-body { box-shadow: inset -9px -8px 16px #000a,inset 2px 2px 10px #b2e9ff40,0 0 30px #4c9effa0; }
#ccr-chat-root .ccr-chat-panel { width: min(460px,calc(100vw - 32px)); height: min(670px,calc(100dvh - 155px)); bottom: 123px; border: 1px solid #8ec8ff55; border-radius: 27px; background: #070f1c; box-shadow: 0 32px 110px #000c,0 0 60px #1c64bc26,inset 0 0 0 1px #bedfff07; animation: ccrConsoleEnter .4s cubic-bezier(.16,1,.3,1); }
.ccr-chat-panel::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; z-index: 2; background: linear-gradient(90deg,transparent,#99deff,#a5a0ff,transparent); box-shadow: 0 0 15px #65b7ff; pointer-events: none; }
#ccr-chat-root .ccr-chat-head { position: relative; background: radial-gradient(ellipse at 0 0,#245588aa,transparent 75%),#0b192a; padding: 21px; border-color: #97c8ff20; }
#ccr-chat-root .ccr-chat-head strong { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
#ccr-chat-root .ccr-chat-head small { font-size: 10px; color: #9ebcd7; }
#ccr-chat-root .ccr-chat-feed { background: radial-gradient(ellipse at 100% 5%,#29347c22,transparent 60%),linear-gradient(#7dbeff04 1px,transparent 1px),linear-gradient(90deg,#7dbeff04 1px,transparent 1px); background-size: auto,32px 32px,32px 32px; padding: 20px; }
.ccr-chat-welcome { position: relative; overflow: hidden; min-height: 174px; padding: 22px 20px; margin-bottom: 18px; border: 1px solid #7fb6ee25; border-radius: 18px; background: radial-gradient(ellipse at 110% 60%,#435bc173,transparent 65%),linear-gradient(120deg,#11263e,#0b1829); }
.ccr-chat-welcome > small { position: relative; z-index: 1; font-size: 8px; letter-spacing: .23em; color: #97c4e6; }
.ccr-chat-welcome h2 { position: relative; z-index: 1; margin: 16px 0 0; font: 600 31px/1.07 var(--body); letter-spacing: -.05em; color: #f0f8ff; }
.ccr-chat-welcome h2 span { background: linear-gradient(110deg,#85d9ff,#b6b5ff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.ccr-console-globe { position: absolute; width: 190px; height: 190px; right: -56px; top: 8px; border: 1px solid #82bdff70; border-radius: 50%; box-shadow: inset 0 0 35px #377dce28,0 0 45px #377dce20; transform: rotate(-22deg); }
.ccr-console-globe i { position: absolute; inset: 0; border: 1px solid #a5b6ff38; border-radius: 50%; }
.ccr-console-globe i:nth-child(1) { transform: rotateY(55deg); }
.ccr-console-globe i:nth-child(2) { transform: rotateX(65deg); }
.ccr-console-globe i:nth-child(3) { inset: -9px; border: 1px dashed #8acfff55; animation: ccrEnergySpin 30s linear infinite; }
.ccr-console-globe::after { content: ''; position: absolute; inset: 0; border: 2px solid transparent; border-top-color: #bce9ff; border-radius: 50%; filter: drop-shadow(0 0 5px #4dbbff); animation: ccrEnergySpin 9s linear infinite; }
#ccr-chat-root .ccr-chat-message { border: 1px solid #9abff51c; border-radius: 5px 17px 17px 17px; background: linear-gradient(130deg,#14273d,#0e1c2f); font-size: 13px; padding: 15px; box-shadow: 0 7px 20px #0003; }
#ccr-chat-root .ccr-chat-message.is-user { background: linear-gradient(120deg,#235c93,#2a417d); border-color: #97cbff25; border-radius: 17px 5px 17px 17px; }
#ccr-chat-root .ccr-chat-suggestions { padding-inline: 20px; gap: 8px; }
#ccr-chat-root .ccr-chat-suggestions button { padding: 9px 12px; border-radius: 10px; background: #102138; border-color: #81b6ec35; color: #beddf9; transition: transform .2s,border-color .2s; }
.ccr-chat-suggestions button:hover { transform: translateY(-2px); border-color: #8dcfff !important; }
#ccr-chat-root .ccr-chat-compose { background: #0a1727; padding: 16px 20px 12px; }
#ccr-chat-root .ccr-chat-compose textarea { background: #050e1b; border-color: #8ab4e330; border-radius: 13px; }
#ccr-chat-root .ccr-chat-send { background: linear-gradient(145deg,#81d3ff,#387bd7); border-color: #a9dcff80; box-shadow: 0 0 22px #3287dc30,inset 0 1px 0 #fff5; }
#ccr-chat-root .ccr-chat-note { background: #0a1727; padding-bottom: 14px; }
.ccr-chat-message.is-thinking p::after { content: ' · · ·'; color: #9bddff; letter-spacing: 3px; animation: ccrEnergyBreathe 1.4s ease-in-out infinite; }
@keyframes ccrEnergySpin { to { transform: rotate(360deg); } }
@keyframes ccrEnergyBreathe { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes ccrOrbLevitate { 50% { transform: translateY(-3px); } }
@keyframes ccrOrbScan { 0%,20% { transform: translateY(-45%); opacity: 0; } 30% { opacity: .9; } 70% { opacity: .9; } 80%,100% { transform: translateY(45%); opacity: 0; } }
@keyframes ccrParticleRise { 0%,100% { opacity: .1; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-7px); } }
@keyframes ccrConsoleEnter { from { opacity: 0; transform: translateY(22px) scale(.94); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@media(max-width:600px) { #ccr-chat-root { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); } #ccr-chat-root .ccr-chat-launch { width: 86px; height: 86px; } #ccr-chat-root .ccr-chat-label { right: 98px; width: 174px; bottom: 8px; padding: 12px 14px; } #ccr-chat-root .ccr-chat-label strong { font-size: 13px; } #ccr-chat-root .ccr-chat-panel { bottom: 108px; height: min(640px,calc(100dvh - 140px)); } .ccr-orb-body { inset: 14px; } .ccr-chat-welcome h2 { font-size: 28px; } }
@media(min-width:601px) { body:has(#cookie-banner:not([hidden]):not(.is-hidden)) #ccr-chat-root .ccr-chat-panel { height: min(670px,calc(100dvh - 300px)); } }
@media(prefers-reduced-motion:reduce) { #ccr-chat-root *, #ccr-chat-root *::before, #ccr-chat-root *::after { animation: none !important; transition: none !important; } }
