@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}:root{--bg-primary:#0a0a0a;--bg-secondary:#141414;--bg-tertiary:#1a1a1a;--bg-elevated:hsla(0,0%,100%,.03);--border-color:hsla(0,0%,100%,.08);--border-hover:hsla(0,0%,100%,.12);--text-primary:#fff;--text-secondary:hsla(0,0%,100%,.75);--text-tertiary:hsla(0,0%,100%,.5);--accent:#4e9fff;--accent-hover:#3d8eef;--accent-active:#2d7edf;--accent-glow:rgba(78,159,255,.3);--bg-primary-light:#fff;--bg-secondary-light:#f8f9fa;--bg-tertiary-light:#f1f3f5;--bg-elevated-light:rgba(0,0,0,.02);--border-color-light:rgba(0,0,0,.08);--border-hover-light:rgba(0,0,0,.12);--text-primary-light:#0a0a0a;--text-secondary-light:rgba(0,0,0,.75);--text-tertiary-light:rgba(0,0,0,.5);--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--spacing-2xl:3rem;--radius-sm:0.5rem;--radius-md:0.75rem;--radius-lg:1rem;--radius-xl:1.5rem;--radius-2xl:2rem;--radius-full:9999px;--shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);--shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);--shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);--shadow-2xl:0 25px 50px -12px rgba(0,0,0,.25);--transition-fast:150ms cubic-bezier(0.4,0,0.2,1);--transition-base:200ms cubic-bezier(0.4,0,0.2,1);--transition-slow:300ms cubic-bezier(0.4,0,0.2,1);--transition-smooth:400ms cubic-bezier(0.16,1,0.3,1);--max-width:48rem;--header-height:3.5rem}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-primary);color:var(--text-primary);line-height:1.6;transition:background-color var(--transition-smooth),color var(--transition-smooth);overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column}body.light-theme{--bg-primary:var(--bg-primary-light);--bg-secondary:var(--bg-secondary-light);--bg-tertiary:var(--bg-tertiary-light);--bg-elevated:var(--bg-elevated-light);--border-color:var(--border-color-light);--border-hover:var(--border-hover-light);--text-primary:var(--text-primary-light);--text-secondary:var(--text-secondary-light);--text-tertiary:var(--text-tertiary-light)}body.light-theme .input-container{background:hsla(0,0%,100%,.85)}body.light-theme textarea{background:rgba(0,0,0,.02);border-color:var(--border-color);box-shadow:0 2px 8px rgba(0,0,0,.05),0 1px 3px rgba(0,0,0,.03),inset 0 1px 0 rgba(0,0,0,.02)}body.light-theme textarea:hover{background:rgba(0,0,0,.03);border-color:var(--border-hover);box-shadow:0 4px 12px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.05),inset 0 1px 0 rgba(0,0,0,.03)}body.light-theme textarea:focus{background:rgba(0,0,0,.04);border-color:var(--accent);box-shadow:0 0 0 4px rgba(78,159,255,.1),0 4px 16px rgba(78,159,255,.15),0 2px 8px rgba(78,159,255,.1),inset 0 1px 0 rgba(0,0,0,.04)}::selection{background-color:var(--accent);color:#fff}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-sm)}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes typingBounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.header{position:-webkit-sticky;position:sticky;top:0;z-index:100;background:hsla(0,0%,4%,.85);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-bottom:1px solid var(--border-color);height:var(--header-height);transition:all var(--transition-base)}body.light-theme .header{background:hsla(0,0%,100%,.85)}.header-container{max-width:var(--max-width);margin:0 auto;padding:0 var(--spacing-md);height:100%;justify-content:space-between;gap:var(--spacing-md)}.header-container,.logo{display:flex;align-items:center}.logo{gap:var(--spacing-sm);flex-shrink:0}.logo svg{width:1.5rem;height:1.5rem;color:var(--accent);flex-shrink:0}.logo h1{font-size:1.125rem;font-weight:700;letter-spacing:-.02em;background:linear-gradient(135deg,var(--text-primary) 0,var(--text-secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.header-actions{gap:var(--spacing-sm)}.header-actions,.icon-button{display:flex;align-items:center}.icon-button{width:2.5rem;height:2.5rem;padding:0;border:none;background:transparent;color:var(--text-secondary);border-radius:var(--radius-md);cursor:pointer;justify-content:center;transition:all var(--transition-fast);position:relative}.icon-button:hover{background:var(--bg-elevated);color:var(--text-primary);transform:scale(1.05)}.icon-button:active{transform:scale(.95)}.icon-button svg{width:1.25rem;height:1.25rem}.usage-badge{display:none;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-base);position:relative;font-size:.75rem;font-weight:500;color:var(--text-secondary)}@media (min-width:640px){.usage-badge{display:flex}}.usage-badge:hover{background:hsla(0,0%,100%,.05);border-color:var(--border-hover);transform:translateY(-1px)}.usage-badge svg{width:1rem;height:1rem;color:var(--text-tertiary);flex-shrink:0}.usage-tooltip{position:absolute;top:calc(100% + .5rem);left:50%;transform:translateX(-50%) translateY(-4px) scale(.95);min-width:260px;max-width:320px;padding:1rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-2xl);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);z-index:1000;opacity:0;visibility:hidden;pointer-events:none;transition:all var(--transition-base) cubic-bezier(.16,1,.3,1)}.usage-badge:hover .usage-tooltip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0) scale(1)}.usage-tooltip:after{content:"";position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid var(--bg-secondary);filter:drop-shadow(0 -4px 6px rgba(0,0,0,.1))}.chat-container{flex:1 1;overflow-y:auto;padding:var(--spacing-xl) var(--spacing-md);max-width:var(--max-width);margin:0 auto;width:100%;scroll-behavior:smooth;scroll-padding-bottom:var(--spacing-xl)}.chat-container::-webkit-scrollbar{width:6px}.chat-container::-webkit-scrollbar-track{background:transparent}.chat-container::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.1);border-radius:3px}.chat-container::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.2)}.chat-bubble{display:flex;margin-bottom:var(--spacing-lg);animation:messageSlideIn var(--transition-smooth) cubic-bezier(.16,1,.3,1)}.chat-bubble.justify-end{justify-content:flex-end}.chat-bubble.justify-start{justify-content:flex-start}.message-bubble{max-width:85%;padding:.875rem 1.125rem;border-radius:var(--radius-lg);word-wrap:break-word;overflow-wrap:break-word;transition:all var(--transition-fast);position:relative;line-height:1.6;-webkit-tap-highlight-color:transparent}@media (max-width:640px){.message-bubble{max-width:90%;padding:.75rem 1rem}}.message-bubble.user{background:linear-gradient(135deg,var(--accent) 0,var(--accent-hover) 100%);color:#fff;border-bottom-right-radius:.25rem;box-shadow:0 4px 12px var(--accent-glow)}.message-bubble.assistant{background:var(--bg-elevated);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--border-color);border-bottom-left-radius:.25rem}.message-bubble p{margin:0;font-size:.9375rem;letter-spacing:.01em;white-space:pre-wrap;word-break:break-word}.typing-indicator{display:flex;gap:.375rem;padding:.5rem 0;align-items:center}.typing-indicator span{width:.5rem;height:.5rem;border-radius:50%;background:var(--text-tertiary);animation:typingBounce 1.4s ease-in-out infinite;display:inline-block}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slideUpToast{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.modal-overlay{animation:fadeIn .2s ease-out}.modal-content{animation:slideUp .3s cubic-bezier(.16,1,.3,1)}.input-container{position:-webkit-sticky;position:sticky;bottom:0;background:hsla(0,0%,4%,.85);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-top:1px solid var(--border-color);padding:var(--spacing-lg) var(--spacing-md);z-index:50}.input-form{max-width:var(--max-width);margin:0 auto;display:flex;align-items:flex-end;gap:var(--spacing-md)}.input-wrapper{flex:1 1;position:relative}textarea{width:100%;min-height:3.5rem;max-height:9rem;padding:1rem 4rem 1rem 1.25rem;background:hsla(0,0%,100%,.04);border:1.5px solid var(--border-color);border-radius:var(--radius-xl);color:var(--text-primary);font-size:.9375rem;line-height:1.6;resize:none;overflow-y:auto;transition:all var(--transition-base);font-family:inherit;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.08),inset 0 1px 0 hsla(0,0%,100%,.05);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}textarea::placeholder{color:var(--text-tertiary);opacity:.6;font-weight:400}textarea:hover{background:hsla(0,0%,100%,.05);border-color:hsla(0,0%,100%,.15);box-shadow:0 4px 12px rgba(0,0,0,.15),0 2px 4px rgba(0,0,0,.1),inset 0 1px 0 hsla(0,0%,100%,.08);transform:translateY(-.5px)}textarea:focus{background:hsla(0,0%,100%,.06);border-color:var(--accent);box-shadow:0 0 0 4px rgba(78,159,255,.15),0 4px 16px rgba(78,159,255,.25),0 2px 8px rgba(78,159,255,.15),inset 0 1px 0 rgba(78,159,255,.1);transform:translateY(-1px)}textarea::-webkit-scrollbar{width:5px}textarea::-webkit-scrollbar-track{background:transparent;border-radius:10px}textarea::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.2);border-radius:10px;-webkit-transition:background var(--transition-fast);transition:background var(--transition-fast)}textarea::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.35)}body.light-theme textarea::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2)}body.light-theme textarea::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3)}body.light-theme .send-button{box-shadow:0 4px 12px rgba(78,159,255,.25),0 2px 6px rgba(78,159,255,.15)}body.light-theme .send-button:hover{box-shadow:0 6px 20px rgba(78,159,255,.35)}.send-button{flex-shrink:0;width:3rem;height:3rem;border-radius:50%;background:linear-gradient(135deg,var(--accent) 0,var(--accent-hover) 100%);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--transition-base);box-shadow:0 4px 12px var(--accent-glow);position:relative;overflow:hidden}.send-button:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--accent-hover) 0,var(--accent-active) 100%);opacity:0;transition:opacity var(--transition-fast)}.send-button:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 6px 20px rgba(78,159,255,.4)}.send-button:hover:before{opacity:1}.send-button:active{transform:translateY(0) scale(.95)}.send-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.send-button svg{width:1.25rem;height:1.25rem;position:relative;z-index:1}.loading-spinner{animation:spin 1s linear infinite}@media (max-width:640px){.tools-grid{grid-template-columns:1fr!important;gap:var(--spacing-md)!important}.tool-card{padding:var(--spacing-md)!important}.tool-card h3{font-size:1.125rem!important}.tool-card p{font-size:.8125rem!important}.text-optimizer-grid{grid-template-columns:1fr!important;gap:var(--spacing-md)!important}.optimization-buttons{gap:var(--spacing-xs)!important}.optimization-type-button{padding:.625rem .5rem!important;font-size:.75rem!important;flex:1 1 calc(50% - var(--spacing-xs))!important;min-width:calc(50% - var(--spacing-xs))!important;min-height:48px!important;line-height:1.2!important}.optimization-type-button span:first-child{font-size:1rem!important}.optimization-type-button span:last-child{font-size:.75rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.text-optimizer-result,.text-optimizer-textarea{min-height:180px!important;font-size:1rem!important;padding:var(--spacing-md)!important;line-height:1.6!important}.clear-button,.optimize-button{min-height:48px!important;font-size:.9375rem!important;padding:.875rem 1.25rem!important}.text-optimizer-grid>div{gap:var(--spacing-md)!important}.text-optimizer-grid label{font-size:.9375rem!important;margin-bottom:var(--spacing-sm)!important}.translator-language-select{background:var(--bg-elevated)!important;color:var(--text-primary)!important;border-color:var(--border-color)!important}.translator-language-select option{background:var(--bg-secondary)!important;color:var(--text-primary)!important;padding:.5rem!important}body.light-theme .translator-language-select{background:var(--bg-elevated)!important;color:var(--text-primary)!important}body.light-theme .translator-language-select option{background:var(--bg-primary)!important;color:var(--text-primary)!important}.login-modal{max-width:calc(100% - var(--spacing-md))!important;padding:var(--spacing-md)!important}.login-modal h3{font-size:1.125rem!important;margin-bottom:var(--spacing-sm)!important}.login-modal p{font-size:.8125rem!important;margin-bottom:var(--spacing-md)!important}.login-modal>div:first-of-type{width:3rem!important;height:3rem!important}.login-modal>div:first-of-type svg{width:20px!important;height:20px!important}.usage-cards-grid{grid-template-columns:repeat(2,1fr)!important;gap:var(--spacing-sm)!important}.usage-card{padding:var(--spacing-md)!important}.usage-card>div:first-child{font-size:.75rem!important;margin-bottom:var(--spacing-xs)!important}.usage-card>div:last-child{font-size:1.25rem!important}.usage-stats-section{padding:var(--spacing-md)!important}.usage-stats-section h3{font-size:1rem!important;margin-bottom:var(--spacing-sm)!important}.usage-stat-row{flex-direction:column!important;align-items:flex-start!important;padding:var(--spacing-sm)!important;gap:var(--spacing-xs)!important}.usage-stat-row>span:first-child{font-size:.8125rem!important}.usage-stat-row>span:last-child{font-size:.875rem!important;align-self:flex-end!important}.usage-history-section{padding:var(--spacing-md)!important}.usage-history-section h3{font-size:1rem!important;margin-bottom:var(--spacing-sm)!important}.usage-history-list{max-height:300px!important}.usage-history-item{flex-direction:column!important;align-items:flex-start!important;padding:var(--spacing-sm)!important;gap:var(--spacing-xs)!important}.usage-history-item>div:last-child{align-self:flex-end!important}.all-usage-button{font-size:.75rem!important;padding:.5rem .75rem!important;min-height:36px!important}.all-usage-button svg{width:12px!important;height:12px!important}.setting-group>div:first-child{flex-direction:column!important;align-items:flex-start!important;gap:var(--spacing-sm)!important}.setting-group>div:first-child .all-usage-button{width:100%!important;justify-content:center!important}body{font-size:16px;-webkit-tap-highlight-color:transparent}.header{height:3rem}.header-container{padding:0 var(--spacing-sm);gap:var(--spacing-sm)}.logo h1{font-size:1rem}.logo svg{width:1.25rem;height:1.25rem}.usage-badge{display:none!important}.icon-button{width:2.75rem;height:2.75rem;min-width:44px;min-height:44px}.chat-container{padding:var(--spacing-md) var(--spacing-sm);padding-bottom:calc(var(--spacing-xl) + 5rem)}.input-container{padding:var(--spacing-md) var(--spacing-sm);padding-bottom:max(var(--spacing-md),env(safe-area-inset-bottom))}.input-form{gap:var(--spacing-sm)}textarea{min-height:2.75rem;max-height:7rem;padding:.75rem 3.5rem .75rem 1rem;font-size:1rem;border-radius:var(--radius-lg)}textarea:focus{transform:none}.send-button{width:2.75rem;height:2.75rem;min-width:44px;min-height:44px}.send-button svg{width:1.125rem;height:1.125rem}}body{overscroll-behavior-y:contain}.chat-container{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}