.portfolio-assistant{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.assistant-toggle{display:flex;flex-direction:column;align-items:center;border:0;padding:0;background:transparent;color:var(--text);cursor:pointer}.assistant-character{--avatar-tilt:0deg;display:block;width:112px;height:112px;background-image:url(/arman-avatar-sprites.png);background-size:200% 200%;background-repeat:no-repeat;transform:rotate(var(--avatar-tilt));transform-origin:50% 90%;transition:transform .2s ease;filter:drop-shadow(0 5px 10px #0008)}.pose-idle{background-position:0 0}.pose-wave{background-position:100% 0}.pose-point{background-position:0 100%}.pose-think{background-position:100% 100%}.assistant-name{display:flex;align-items:center;gap:12px;padding:7px 10px;border:1px solid #414d35;background:#10150f;border-radius:20px;color:var(--green);font:600 9px/1 var(--mono);letter-spacing:.07em}.assistant-name span{font-size:15px}.assistant-bubble{position:relative;width:min(290px,calc(100vw - 36px));padding:15px;border:1px solid #3c4736;border-radius:16px 16px 4px 16px;background:#151b14;box-shadow:0 12px 36px #0006}.assistant-bubble:after{content:"";position:absolute;right:44px;bottom:-7px;width:12px;height:12px;background:#151b14;border-right:1px solid #3c4736;border-bottom:1px solid #3c4736;transform:rotate(45deg)}.assistant-bubble-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.assistant-bubble-header>span{color:#b7c4af;font:500 8px/1.4 var(--mono);letter-spacing:.05em}.assistant-bubble-header i{display:inline-block;width:4px;height:4px;margin:0 5px 2px;border-radius:50%;background:var(--green)}.assistant-bubble-header button{display:grid;place-items:center;padding:5px;border:0;background:transparent;color:#c7d0c0;cursor:pointer}.assistant-bubble p{margin:10px 0 14px;color:#e3eadc;font:400 13px/1.55 var(--body)}.assistant-options{display:flex;flex-wrap:wrap;gap:6px}.assistant-options a,.assistant-options button{padding:8px 10px;color:#c8eb95;background:#25321c;border:1px solid #3e512c;border-radius:8px;font:500 10px/1.4 var(--body);cursor:pointer}.assistant-options a:hover,.assistant-options button:hover{background:#334626}.portfolio-assistant :focus-visible{outline:2px solid var(--green);outline-offset:4px}@media (max-width:800px){.portfolio-assistant{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.assistant-character{width:80px;height:80px}.assistant-bubble{width:min(260px,calc(100vw - 24px))}.assistant-bubble p{font-size:12px}.contact-section{padding-bottom:12rem}}@media (max-height:500px){.assistant-character{width:64px;height:64px}.assistant-bubble{max-height:calc(100dvh - 120px);overflow-y:auto}}@media (prefers-reduced-motion:reduce){.assistant-character{transform:none;transition:none}}@keyframes avatar-hello{0%,15%,85%,to{background-position:0 0}20%,80%{background-position:100% 0}}.pose-wave{animation:avatar-hello 3s step-end infinite}@media (prefers-reduced-motion:reduce){.pose-wave{animation:none;background-position:0 0}}.portfolio-assistant{top:0;left:0;right:auto;bottom:auto;transform:translate3d(var(--guide-x,calc(100vw - 308px)),var(--guide-y,calc(100dvh - 360px)),0);transition:transform .65s cubic-bezier(.22,1,.36,1);will-change:transform}@media (max-width:800px){.portfolio-assistant{right:auto;bottom:auto;transition-duration:.35s}}@media (prefers-reduced-motion:reduce){.portfolio-assistant{transition:none;will-change:auto}}@media (min-width:801px){.portfolio-assistant[data-section=hero]{flex-direction:row;align-items:flex-end;max-width:calc(100vw - 36px)}.portfolio-assistant[data-section=hero] .assistant-bubble:after{right:-7px;bottom:28px;transform:rotate(-45deg)}}