*{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}body{overscroll-behavior:none;-webkit-overflow-scrolling:touch;position:relative;min-height:100vh;min-height:-webkit-fill-available}@media only screen and (min-device-width:375px) and (max-device-width:667px) and (-webkit-device-pixel-ratio:2){html{font-size:14px}.chat-message{font-size:15px!important}.header-title{font-size:1.25rem!important}}@media only screen and (device-width:375px) and (device-height:812px) and (-webkit-device-pixel-ratio:3){html{font-size:15px}.safe-area-bottom{padding-bottom:max(1.5rem,env(safe-area-inset-bottom))}}@media only screen and (device-width:390px) and (device-height:844px) and (-webkit-device-pixel-ratio:3){html{font-size:15px}.header-mobile{padding-top:max(.75rem,env(safe-area-inset-top))}}@media only screen and (device-width:428px) and (device-height:926px){html{font-size:16px}.chat-message{max-width:90%}}@media only screen and (device-width:430px) and (device-height:932px){html{font-size:16px}.input-area{font-size:16px!important}}@supports (padding:max(0px)){.header-mobile{padding-top:max(1rem,env(safe-area-inset-top));padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}.input-container-mobile{padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-left:max(.5rem,env(safe-area-inset-left));padding-right:max(.5rem,env(safe-area-inset-right))}}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait){html{font-size:17px}.sidebar-mobile{width:320px!important}.chat-message{max-width:75%}.header-title{font-size:2rem!important}}@media only screen and (min-device-width:834px) and (max-device-width:1194px){html{font-size:18px}.container{max-width:90%;margin:0 auto}}@media only screen and (min-device-width:1024px) and (max-device-width:1366px){html{font-size:18px}.chat-container{max-width:900px;margin:0 auto}.sidebar-mobile{width:350px!important}}@media only screen and (min-device-width:768px) and (max-device-width:1366px) and (orientation:landscape){.sidebar-mobile{position:relative!important;display:flex!important}.mobile-overlay{display:none!important}}@media only screen and (device-width:360px) and (device-height:740px){html{font-size:15px}.verification-code-input{width:42px!important;height:52px!important}}@media only screen and (device-width:360px) and (device-height:800px){html{font-size:15px}.header-mobile{min-height:60px}}@media only screen and (min-device-width:360px) and (max-device-width:390px) and (min-device-height:780px) and (max-device-height:850px){html{font-size:15px}.chat-input{font-size:16px!important}}@media only screen and (device-width:414px) and (device-height:896px){html{font-size:16px}.chat-message{font-size:16px!important}}@media only screen and (min-device-width:280px) and (max-device-width:320px){html{font-size:13px}.sidebar-mobile{width:90vw!important}.verification-code-input{width:35px!important;height:45px!important}}@media only screen and (min-device-width:717px) and (max-device-width:800px){html{font-size:17px}.chat-container{max-width:95%}}@media only screen and (min-device-width:800px) and (max-device-width:1280px) and (orientation:portrait){html{font-size:17px}.sidebar-mobile{width:300px!important}}@media only screen and (min-width:320px) and (max-width:375px){html{font-size:14px}.chat-message{font-size:14px!important;max-width:90%}.header-title{font-size:1.125rem!important}.button-mobile{min-height:44px;padding:.5rem .75rem}.verification-modal{padding:1rem!important}}@media only screen and (min-width:376px) and (max-width:414px){html{font-size:15px}.chat-message{font-size:15px!important}.header-title{font-size:1.25rem!important}}@media only screen and (min-width:415px) and (max-width:480px){html{font-size:16px}.chat-message{font-size:16px!important}.header-title{font-size:1.5rem!important}}@media only screen and (min-width:481px) and (max-width:768px){html{font-size:16px}.sidebar-mobile{width:280px!important}.chat-container{max-width:95%}}@media only screen and (device-width:412px) and (device-height:915px){html{font-size:16px}.input-area{font-size:16px!important}}@media only screen and (min-device-width:673px) and (max-device-width:841px){html{font-size:17px}.sidebar-mobile{width:320px!important}}@media only screen and (device-width:412px) and (device-height:919px){html{font-size:16px}}@media only screen and (device-width:393px) and (device-height:851px){html{font-size:15px}.chat-input{font-size:16px!important}}@media (orientation:landscape){.header-mobile{height:56px!important;padding-top:.5rem!important;padding-bottom:.5rem!important}.logo-mobile{width:48px!important;height:48px!important}.chat-container{height:calc(100vh - 56px - 80px)!important}@media (max-width:768px){.sidebar-mobile{max-width:280px!important}}}@media (orientation:portrait){.header-mobile{height:auto;min-height:64px}.chat-container{height:calc(100vh - 64px - 100px)}}@media (hover:none) and (pointer:coarse){.clickable,a,button,input[type=button],input[type=submit]{min-height:44px!important;min-width:44px!important;padding:12px!important}.icon-button{min-width:48px!important;min-height:48px!important;display:flex;align-items:center;justify-content:center}svg{pointer-events:none}}input,select,textarea{font-size:16px!important;min-height:44px}.chat-input{font-size:16px!important;min-height:48px!important;padding:12px 16px!important}.chat-input,.verification-code-input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.verification-code-input{font-size:20px!important}@supports (-webkit-touch-callout:none){.input-container-mobile{position:fixed;bottom:0;left:0;right:0;transition:bottom .3s ease}body.keyboard-open .input-container-mobile{bottom:0}}@media screen and (max-height:500px){.header-mobile{height:48px!important}.chat-container{height:calc(100vh - 48px - 70px)!important}}.custom-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(6,182,212,.3) transparent}.custom-scrollbar::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar::-webkit-scrollbar-track{background:rgba(15,23,42,.3);border-radius:3px}.custom-scrollbar::-webkit-scrollbar-thumb{background:rgba(6,182,212,.4);border-radius:3px}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:rgba(6,182,212,.6)}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.animate-smooth{transform:translateZ(0);-webkit-transform:translateZ(0);will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}@media (display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.header-mobile{padding-top:max(1rem,env(safe-area-inset-top))}}@media (prefers-color-scheme:dark){body{background-color:#0f172a;color:#e2e8f0}}@media (min-resolution:192dpi){img{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}}@media print{.header-mobile,.input-container-mobile,.sidebar-mobile,button{display:none!important}.chat-container{height:auto!important;overflow:visible!important}}:focus-visible{outline:2px solid #06b6d4;outline-offset:2px}@media (min-width:768px){html{font-size:16px}}@media (max-width:767px){.desktop-only{display:none!important}.mobile-only{display:block!important}.mobile-flex{display:flex!important}}@media (min-width:768px){.mobile-only{display:none!important}.desktop-only{display:block!important}.desktop-flex{display:flex!important}}.skeleton{background:linear-gradient(90deg,hsla(0,0%,100%,.05) 25%,hsla(0,0%,100%,.1) 50%,hsla(0,0%,100%,.05) 75%);background-size:200% 100%;animation:skeleton-loading 1.5s infinite}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}@supports (-webkit-appearance:none){input[type=email],input[type=password],input[type=text],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}}@-moz-document url-prefix(){body{-moz-osx-font-smoothing:grayscale}}@supports not (backdrop-filter:blur(10px)){.backdrop-blur-lg{background-color:rgba(15,23,42,.95)!important}}@media only screen and (min-width:653px) and (max-width:884px){header{padding:.75rem 1rem!important}.header-title{font-size:1.25rem!important;white-space:nowrap!important}.welcome-message{max-width:95%!important;margin:0 auto!important}.chat-message{max-width:100%!important;word-wrap:break-word!important;overflow-wrap:break-word!important}textarea{font-size:16px!important}}@media only screen and (max-width:320px){html{font-size:14px!important}.header-title{font-size:1rem!important}button{padding:.5rem .75rem!important;font-size:.75rem!important}}@media (horizontal-viewport-segments:2){.chat-container{max-width:env(viewport-segment-width 0 0)!important}}@media (vertical-viewport-segments:2){.header-mobile{max-height:env(viewport-segment-height 0 0)!important}}@media (max-width:767px){.chat-message img{max-width:100%!important;width:100%!important;height:auto!important;-o-object-fit:contain!important;object-fit:contain!important;border-radius:.5rem!important;display:block!important}.chat-message{overflow:hidden!important}.chat-message>div{max-width:100%!important}}.chat-message img{background:linear-gradient(90deg,rgba(6,182,212,.1) 25%,rgba(6,182,212,.2) 50%,rgba(6,182,212,.1) 75%);background-size:200% 100%;animation:image-loading 1.5s infinite}.chat-message img[src]{animation:none}@keyframes image-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.chat-message img:before{content:"";display:block;width:100%;height:200px;background:rgba(6,182,212,.1)}.chat-message img[alt]:after{content:attr(alt);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:hsla(0,0%,100%,.5);font-size:.875rem;text-align:center;padding:1rem}@media only screen and (max-width:320px){html{font-size:11px!important}.header-mobile,header{padding:.25rem .5rem!important;min-height:40px!important}.logo-mobile,header img{width:28px!important;height:28px!important}.header-title,h1{font-size:.7rem!important;line-height:1!important;max-width:100px!important}.header-subtitle{display:none!important}.menu-button{min-width:36px!important;min-height:36px!important;padding:.5rem!important}.sidebar-mobile{width:100vw!important;max-width:100vw!important}.chat-message{font-size:13px!important;padding:.5rem!important;max-width:95%!important}.chat-input{font-size:14px!important;padding:.5rem .75rem!important;min-height:40px!important}button{min-height:36px!important;min-width:36px!important;padding:.4rem .5rem!important;font-size:.65rem!important;margin:.15rem!important}.flex.gap-2,.flex.gap-3,.flex.gap-4{gap:.25rem!important}svg{width:14px!important;height:14px!important}.welcome-title,h2{font-size:1rem!important;line-height:1.1!important;margin:.25rem 0!important}.text-sm,.text-xs,.welcome-subtitle{font-size:.6rem!important;line-height:1.2!important}.text-3xl,.text-4xl,.text-5xl{font-size:1.25rem!important;line-height:1.2!important}.welcome-logo{width:50px!important;height:50px!important;margin:.5rem auto!important}p{font-size:.7rem!important;line-height:1.3!important}.verification-modal{width:100vw!important;max-width:100vw!important;margin:0!important;padding:.75rem!important;border-radius:0!important}.verification-code-input{width:32px!important;height:40px!important;font-size:16px!important;gap:.25rem!important}.model-selector{padding:.5rem!important;font-size:12px!important}.settings-modal{width:100vw!important;height:100vh!important;max-width:100vw!important;max-height:100vh!important;margin:0!important;border-radius:0!important}.avatar-small{width:32px!important;height:32px!important}.grid-cols-2{grid-template-columns:1fr!important}.p-4,[class*=p-4]{padding:.4rem!important}.p-6,[class*=p-6]{padding:.5rem!important}.p-8,[class*=p-8]{padding:.6rem!important}.container,.max-w-3xl,.max-w-4xl,.max-w-5xl,.max-w-6xl,.max-w-7xl{max-width:100%!important;padding-left:.5rem!important;padding-right:.5rem!important}.space-y-4>*+*{margin-top:.5rem!important}.space-y-6>*+*{margin-top:.75rem!important}.gap-4{gap:.5rem!important}.gap-6{gap:.75rem!important}.animated-grid,.background-pattern,.decorative-bg{opacity:.3!important}}@media only screen and (min-width:717px) and (max-width:840px){html{font-size:18px!important}.sidebar-mobile{width:320px!important;position:relative!important}.chat-container{max-width:95%!important;margin:0 auto}.chat-message{max-width:90%!important;font-size:1rem!important;padding:1rem!important}.header-mobile,header{padding:1.5rem!important;min-height:80px!important}.logo-mobile,header img{width:60px!important;height:60px!important}.header-title,h1{font-size:1.75rem!important}.text-4xl,.text-5xl,.welcome-title{font-size:3rem!important}.welcome-logo{width:150px!important;height:150px!important}button{padding:1rem 1.5rem!important}.chat-input,button,input,textarea{min-height:56px!important;font-size:1.1rem!important}.chat-input,input,textarea{padding:1rem!important}p{font-size:1rem!important}}@media only screen and (max-width:653px) and (max-height:320px) and (orientation:landscape){.header-mobile{height:40px!important;padding:.25rem .5rem!important}.chat-container{height:calc(100vh - 40px - 60px)!important}.sidebar-mobile{display:none!important}.mobile-overlay{backdrop-filter:blur(8px)}}@media (max-width:320px){@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animate-spin-slow{animation:rotate 6s linear infinite}[class*=shadow-]{box-shadow:none!important}[class*=gradient]{background-image:none!important;background-color:#0f172a!important}.backdrop-blur-lg,.backdrop-blur-md{backdrop-filter:none!important;background-color:rgba(15,23,42,.98)!important}}@media (max-width:320px) and (hover:none) and (pointer:coarse){.clickable,a,button{min-height:44px!important;min-width:44px!important;padding:.75rem!important}.icon-button{min-width:48px!important;min-height:48px!important}}@media (max-width:320px){div,p,span{word-break:break-word;overflow-wrap:break-word;hyphens:auto}.text-content{line-height:1.4!important}h1{font-size:1.5rem!important}h2{font-size:1.25rem!important}h3{font-size:1.125rem!important}h4{font-size:1rem!important}*{transition:font-size .3s ease,padding .3s ease,margin .3s ease!important}input,textarea{font-size:14px!important;width:100%!important}.chat-input-container,input,textarea{padding:.5rem!important}.input-group{gap:.25rem!important}.login-container{padding:1rem!important}.login-button,.login-form{width:100%!important}.login-button{font-size:14px!important}.welcome-logo{width:80px!important;height:80px!important}.welcome-animation{animation-duration:3s!important}.settings-item{padding:.75rem!important;font-size:13px!important}.settings-toggle{transform:scale(.9)}.animate-bounce,.animate-pulse,.animate-spin,.animated-background{animation:none!important}.animated-background{background-attachment:scroll!important}[class*=opacity-]{opacity:1!important}.scroll-container{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}}@media (max-width:320px){.custom-scrollbar::-webkit-scrollbar{width:3px!important}}@media only screen and (min-width:280px) and (max-width:320px) and (min-height:600px){.vertical-layout{flex-direction:column}.flex-row{flex-direction:column!important}.flex-row>*{width:100%!important}}input,textarea{font-size:16px!important}.message-content{-moz-user-select:text;user-select:text;-webkit-user-select:text}.message-content::-moz-selection{background:rgba(6,182,212,.3)}.message-content::selection{background:rgba(6,182,212,.3)}@supports (-webkit-touch-callout:none){html{height:-webkit-fill-available}body{min-height:100vh;min-height:-webkit-fill-available}}.holographic-green{background:linear-gradient(135deg,#10b981,#059669 25%,#10b981 50%,#059669 75%,#10b981);background-size:200% 200%;-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 10px rgba(16,185,129,.5))}.holographic-cyan,.holographic-green{animation:gradient-shift 3s ease infinite;-webkit-text-fill-color:transparent;font-weight:700}.holographic-cyan{background:linear-gradient(135deg,#00f5ff,#bd00ff 25%,#00f5ff 50%,#bd00ff 75%,#00f5ff);background-size:200% 200%;-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 10px rgba(0,245,255,.5))}@keyframes power-core-pulse{0%,to{text-shadow:0 0 30px currentColor,0 0 60px currentColor,0 0 90px currentColor,0 0 120px currentColor,0 0 150px currentColor;transform:scale(1);opacity:1}50%{text-shadow:0 0 40px currentColor,0 0 80px currentColor,0 0 120px currentColor,0 0 160px currentColor,0 0 200px currentColor;transform:scale(1.02);opacity:.98}}.power-core{animation:power-core-pulse 2s ease-in-out infinite!important;will-change:transform,text-shadow}@keyframes smooth-running-glow{0%{text-shadow:-20px 0 25px currentColor,-10px 0 15px currentColor,0 0 10px currentColor,10px 0 8px currentColor}50%{text-shadow:-10px 0 8px currentColor,0 0 10px currentColor,10px 0 15px currentColor,20px 0 25px currentColor}to{text-shadow:-20px 0 25px currentColor,-10px 0 15px currentColor,0 0 10px currentColor,10px 0 8px currentColor}}.lightning-text{animation:smooth-running-glow 3s ease-in-out infinite!important;will-change:text-shadow}@keyframes button-radiate{0%,to{box-shadow:0 0 20px currentColor,0 0 40px currentColor,0 0 60px currentColor,inset 0 0 15px currentColor;transform:translateY(0)}50%{box-shadow:0 0 30px currentColor,0 0 60px currentColor,0 0 90px currentColor,inset 0 0 25px currentColor;transform:translateY(-1px)}}.button-glow-active{animation:button-radiate 2s ease-in-out infinite!important;will-change:transform,box-shadow}@keyframes enhanced-welcome-glow{0%,to{text-shadow:0 0 20px currentColor,0 0 40px currentColor,0 0 60px currentColor,0 0 80px currentColor;opacity:1}50%{text-shadow:0 0 30px currentColor,0 0 60px currentColor,0 0 90px currentColor,0 0 120px currentColor;opacity:.95}}.enhanced-glow{animation:enhanced-welcome-glow 2s ease-in-out infinite!important}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_f367f3;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_f367f3{font-family:__Inter_f367f3,__Inter_Fallback_f367f3;font-style:normal}