#at-evren{--ev-blue:#2563eb;--ev-ink:#0f172a;--ev-muted:#64748b;--ev-line:#e2e8f0;position:fixed;right:22px;bottom:20px;z-index:10000;font:400 14px/1.55 Inter,system-ui,sans-serif!important;color:var(--ev-ink);text-align:left;letter-spacing:normal;isolation:isolate}
#at-evren *,#at-evren *::before,#at-evren *::after{box-sizing:border-box}#at-evren [hidden]{display:none!important}#at-evren button{font:600 12px/1.3 Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;cursor:pointer;border:0;margin:0;float:none;box-shadow:none}#at-evren button:focus-visible,#at-evren textarea:focus-visible{outline:2px solid #2563eb;outline-offset:3px}#at-evren button:disabled{cursor:wait;opacity:.6}
#evren-launch{position:relative;display:flex;align-items:center;gap:9px;min-height:62px;padding:9px 14px 9px 65px!important;border:1px solid #dbeafe!important;background:rgba(255,255,255,.96)!important;color:#0f172a!important;border-radius:23px!important;box-shadow:0 12px 40px #1e40af24!important;backdrop-filter:blur(16px);transition:transform .2s,box-shadow .2s}#evren-launch:hover{transform:translateY(-3px);box-shadow:0 16px 40px #2563eb38!important}.ev-launch-label{text-align:left;display:grid;gap:3px}.ev-launch-label b{font:800 15px/1.2 'Plus Jakarta Sans',Inter,sans-serif}.ev-launch-label small{font-size:10px;color:#64748b}.ev-online-dot{width:7px;height:7px;border-radius:50%;background:#2563eb;align-self:flex-start;margin-top:6px;box-shadow:0 0 0 4px #dbeafe}
.ev-portrait{position:relative;display:block;flex-shrink:0;aspect-ratio:1;transform-origin:50% 80%;animation:ev-bob 5s ease-in-out infinite;filter:drop-shadow(0 4px 9px #2563eb30);pointer-events:none}.ev-portrait img{display:block;width:100%!important;height:100%!important;object-fit:contain;max-width:none!important;max-height:none!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important}.ev-launch-portrait{position:absolute;left:-15px;bottom:0;width:83px}.ev-eye{position:absolute;top:40.5%;width:9%;height:5%;background:#43d6ff;border-radius:50%;filter:blur(3px);mix-blend-mode:screen;opacity:.38;animation:ev-eyes 3.6s ease-in-out infinite}.ev-eye-l{left:35.3%}.ev-eye-r{left:58.2%}@keyframes ev-bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}@keyframes ev-eyes{0%,100%{opacity:.2}50%{opacity:.85}92%{opacity:.05;transform:scaleY(.2)}96%{transform:scaleY(1)}}
#evren-chat{position:absolute;right:0;bottom:78px;width:min(390px,calc(100vw - 32px));height:min(590px,calc(100dvh - 115px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dbeafe;border-radius:26px;box-shadow:0 24px 85px #0f172a30;animation:ev-open .25s ease-out}@keyframes ev-open{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.ev-top{position:relative;flex:none;overflow:hidden;padding:13px 16px 10px;background:radial-gradient(ellipse at 10% 20%,#dbeafe,transparent 72%),linear-gradient(135deg,#f8fafc,#eff6ff);border-bottom:1px solid var(--ev-line)}.ev-top-art{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#2563eb0a 1px,transparent 1px),linear-gradient(90deg,#2563eb0a 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,#000,transparent)}.ev-heading,.ev-intro{position:relative;display:flex;align-items:center;justify-content:space-between}.ev-chip{display:inline-flex;align-items:center;gap:7px;font:700 9px/1.5 'JetBrains Mono',monospace;letter-spacing:.09em;color:#1d4ed8}.ev-chip i{height:7px;width:7px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #dbeafe}.ev-heading-actions{display:flex;gap:6px}.ev-heading-actions button{width:32px;height:32px;background:#ffffffb8!important;border:1px solid #e2e8f0!important;border-radius:10px!important;color:#475569!important;font-size:21px!important;padding:0!important}.ev-intro{justify-content:flex-start;gap:12px;min-height:98px}.ev-hero-portrait{width:100px}.ev-intro h2{font:800 25px/1.2 'Plus Jakarta Sans',Inter,sans-serif!important;letter-spacing:-.045em!important;color:#0f172a!important;margin:0 0 4px!important;padding:0!important}.ev-intro h2 span{color:#2563eb}.ev-intro p{margin:0!important;color:#475569!important;font-size:12px!important}.ev-intro small{display:inline-block;margin-top:7px;padding:3px 7px;color:#1d4ed8;background:#ffffffcc;border:1px solid #dbeafe;border-radius:6px;font-size:10px}
#evren-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 13px;display:flex;flex-direction:column;gap:13px;background:#fff;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.ev-row{display:flex;align-items:flex-end;gap:7px;flex-shrink:0}.ev-row>img{width:31px!important;height:31px!important;object-fit:contain;background:#eff6ff;border-radius:10px;flex-shrink:0}.ev-bubble{max-width:86%;padding:10px 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:15px 15px 15px 4px;overflow-wrap:anywhere}.ev-author{display:block;font:700 9px/1.3 'JetBrains Mono',monospace;color:#2563eb;margin-bottom:5px}.ev-bubble p{font:400 13px/1.65 Inter,system-ui,sans-serif!important;white-space:pre-wrap;color:#334155!important;margin:0!important;padding:0!important}.ev-user{justify-content:flex-end}.ev-user .ev-bubble{background:#2563eb;border-color:#2563eb;border-radius:15px 15px 4px 15px}.ev-user .ev-bubble p{color:#fff!important}.ev-note{display:block;margin-top:6px;font-size:10px;color:#64748b;line-height:1.4}.ev-typing{display:flex;align-items:center;gap:4px;min-height:25px}.ev-typing i{width:6px;height:6px;border-radius:50%;background:#60a5fa;animation:ev-dot 1s infinite alternate}.ev-typing i:nth-child(2){animation-delay:.15s}.ev-typing i:nth-child(3){animation-delay:.3s}@keyframes ev-dot{from{opacity:.35;transform:translateY(2px)}to{opacity:1;transform:translateY(-3px)}}#at-evren[data-busy="true"] .ev-eye{animation-duration:.8s}
.ev-prompts{display:flex;flex-wrap:wrap;gap:5px;padding:6px 12px 11px;background:#fff}.ev-prompts button{padding:7px 9px!important;color:#1d4ed8!important;background:#eff6ff!important;border:1px solid #dbeafe!important;border-radius:9px!important;font-size:10px!important}.ev-prompts button:hover{background:#dbeafe!important}.ev-compose{flex:none;background:#fff;padding:11px 13px 10px;border-top:1px solid #e2e8f0}#evren-form{display:flex;align-items:flex-end;gap:7px;background:#f8fafc;border:1px solid #dbeafe;border-radius:15px;padding:7px!important;margin:0!important;box-shadow:none!important}#evren-input{display:block;flex:1;min-width:0;width:100%;height:36px;min-height:36px;max-height:88px;resize:none;overflow:auto;padding:8px 5px!important;background:transparent!important;color:#0f172a!important;border:0!important;box-shadow:none!important;border-radius:0!important;font:400 13px/1.5 Inter,system-ui,sans-serif!important;margin:0!important}#evren-send{display:grid;place-items:center;width:38px;height:38px;border-radius:11px!important;color:#fff!important;background:#2563eb!important;padding:0!important;flex-shrink:0}.ev-meta{display:flex;justify-content:space-between;gap:6px;font-size:9px;color:#64748b;margin-top:5px}.ev-privacy{font:400 9px/1.45 Inter,system-ui,sans-serif!important;color:#64748b!important;margin:4px 0 0!important}.ev-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#evren-feedback{padding:7px 8px;margin-bottom:7px;background:#fff7ed;color:#9a3412;font-size:11px;border-radius:8px}
@media(max-width:600px){#at-evren{right:12px;bottom:max(14px,env(safe-area-inset-bottom));}#evren-launch{min-height:55px;padding:8px 10px 8px 55px!important}.ev-launch-portrait{width:70px;left:-11px}.ev-launch-label small{display:none}#evren-chat{width:calc(100vw - 24px);height:min(570px,calc(100dvh - 94px));bottom:68px;border-radius:22px}.ev-intro{min-height:82px}.ev-hero-portrait{width:82px}.ev-top{padding:9px 12px}.ev-meta{font-size:9px}}
@media(max-height:520px){.ev-intro{min-height:55px}.ev-hero-portrait{width:56px}.ev-intro h2{font-size:19px!important}.ev-intro small{margin-top:2px}.ev-prompts{display:none}.ev-privacy{display:none}}
@media(prefers-reduced-motion:reduce){#at-evren *,#at-evren *::before,#at-evren *::after{animation:none!important;transition:none!important}}

/* V4.5: add-on only; portrait geometry and chat layout remain unchanged. */
#at-evren .ev-lids{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;clip-path:inset(0 0 65% 0)}
#at-evren[data-blink="true"] .ev-lids{animation:ev-natural-blink .25s ease-in-out both}
#at-evren[data-blink="true"] .ev-eye{animation:ev-blink-glow .25s ease-in-out both}
@keyframes ev-natural-blink{0%,100%{opacity:0;clip-path:inset(0 0 65% 0)} 43%,57%{opacity:1;clip-path:inset(0 0 50% 0)} 15%,85%{opacity:1}}
@keyframes ev-blink-glow{0%,100%{opacity:.35}35%,65%{opacity:0}}
#at-evren[data-reply="true"] .ev-eye{animation:ev-reply-glow .65s ease-out both}
#at-evren[data-blink="true"][data-reply="true"] .ev-eye{animation:ev-blink-glow .25s ease-in-out both}
@keyframes ev-reply-glow{0%,100%{opacity:.35}35%{opacity:1;filter:blur(2px)}}
#at-evren #evren-sound{display:grid;place-items:center;color:#64748b!important}
#at-evren #evren-sound[aria-pressed="true"]{color:#2563eb!important;background:#eff6ff!important;border-color:#bfdbfe!important}
#evren-sound[aria-pressed="false"] .ev-sound-on,#evren-sound[aria-pressed="true"] .ev-sound-off{display:none}
@media(prefers-reduced-motion:reduce){#at-evren .ev-lids{display:none}#at-evren .ev-eye{animation:none!important}}

/* V4.6: voice controls, existing layout preserved */
#at-evren #evren-mic{display:grid;place-items:center;width:36px;height:38px;flex-shrink:0;padding:0!important;background:#fff!important;color:#2563eb!important;border:1px solid #dbeafe!important;border-radius:11px!important}
#at-evren #evren-mic[aria-pressed="true"]{background:#fee2e2!important;color:#dc2626!important;border-color:#fecaca!important;animation:ev-mic-pulse 1.2s ease-in-out infinite}
@keyframes ev-mic-pulse{50%{box-shadow:0 0 0 4px #fecaca80}}
#evren-voice-hint{font-size:10px;color:#1d4ed8;line-height:1.4;padding:5px 2px 0;overflow-wrap:anywhere}
#at-evren .ev-read{display:inline-flex;align-items:center;gap:4px;margin-top:7px!important;padding:4px 6px!important;color:#2563eb!important;background:#fff!important;border:1px solid #dbeafe!important;border-radius:6px!important;font-size:10px!important}
#at-evren[data-speaking="true"] .ev-hero-portrait .ev-eye{animation-duration:.7s}
@media(prefers-reduced-motion:reduce){#at-evren #evren-mic{animation:none!important}}
