@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#514b58;background:#fffafc;font-synthesis:none;text-rendering:optimizeLegibility;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 50% -10%,#f7eaf4,#fffafc 48%,#f7f5ff)}.app-shell{max-width:1050px;margin:0 auto;padding:28px 28px 0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eadfe8}.brand{display:flex;align-items:center;gap:10px;color:#55485a;text-decoration:none;font:800 21px Manrope,sans-serif;letter-spacing:-1px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid #e8d4e7;border-radius:13px;color:#a77da7;background:linear-gradient(145deg,#f8e9f2,#f0edff)}.brand-ai{color:#b18ab1}.topbar-right{display:flex;align-items:center;gap:9px;color:#9b8d9b;font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;background:#b58bb5;display:inline-block;box-shadow:0 0 10px #cda9c888}.hero{text-align:center;padding:68px 0 42px}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#a77ca5;font-size:10px;letter-spacing:1.8px;font-weight:700}.hero h1{font:800 clamp(36px,6vw,57px)/1.12 Manrope,sans-serif;letter-spacing:-2.6px;margin:18px 0 16px;color:#554b59}.hero h1 span{background:linear-gradient(90deg,#bd91b5,#9d92cf);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{font-size:14px;line-height:1.7;color:#998d9b;margin:0}.translator{max-width:850px;margin:0 auto;background:#fff;border:1px solid #eee3ed;border-radius:23px;padding:22px;box-shadow:0 18px 55px #8e668b12}.language-bar{display:flex;align-items:center;justify-content:space-between;padding:0 4px 19px}.language-label{display:flex;align-items:center;gap:11px}.language-label.right{flex-direction:row-reverse;text-align:right}.language-code{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#f7eaf2,#f0edff);color:#9d7ba5;font-weight:700;font-size:15px}.language-label b,.language-label small{display:block}.language-label b{font-size:13px;color:#5b5260}.language-label small{font-size:11px;color:#a69aa8;margin-top:3px}.auto-direction{padding:7px 10px;border:1px solid #eee3ed;border-radius:999px;background:#fffafd;color:#aa91ad;font-size:9px;font-weight:700;letter-spacing:1.2px}.swap-button,.icon-button{border:1px solid #eee3ed;background:#fffafd;color:#a28fa4;border-radius:12px;width:37px;height:37px;display:grid;place-items:center;cursor:pointer;transition:.2s}.swap-button:hover,.icon-button:hover{color:#8e6d9a;border-color:#d8c2dc;background:#fbf4fa}.translation-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #eee5ed;border-radius:16px;overflow:hidden;min-height:245px;background:#fff}.input-panel,.output-panel{padding:18px;min-width:0}.input-panel{border-right:1px solid #eee5ed;display:flex;flex-direction:column}.input-panel textarea{width:100%;flex:1;min-height:160px;resize:vertical;border:0;outline:0;background:transparent;color:#554c59;font:15px/1.75 DM Sans,sans-serif}.input-panel textarea::placeholder{color:#c0b5c1}.input-footer{display:flex;align-items:center;justify-content:space-between;color:#b0a5b2;font-size:10px}.input-actions{display:flex;gap:7px}.icon-button{width:31px;height:31px}.icon-button:disabled{opacity:.4;cursor:not-allowed}.output-panel{background:linear-gradient(145deg,#fffafd,#fbf9ff);display:flex;flex-direction:column}.empty-state{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:20px}.empty-icon{width:46px;height:46px;border-radius:16px;background:linear-gradient(145deg,#f8eaf2,#f0edff);color:#a17da9;display:grid;place-items:center;margin-bottom:5px}.empty-state b{font-size:13px;font-weight:700;color:#625665}.empty-state span{font-size:11px;color:#aa9eac;max-width:230px;line-height:1.6}.result-label{font-size:9px;letter-spacing:1px;color:#a58aa8;display:flex;align-items:center;gap:7px}.result-label .status-dot{width:5px;height:5px}.result-text{font-size:15px;line-height:1.8;color:#514958;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0;flex:1}.result-actions{display:flex;gap:14px;flex-wrap:wrap}.result-action{border:0;background:transparent;color:#9a879d;font:11px DM Sans;display:flex;align-items:center;gap:6px;padding:4px 0;cursor:pointer}.result-action:hover{color:#795d83}.result-action:disabled{opacity:.4;cursor:not-allowed}.loading-state{margin:auto;display:flex;align-items:center;flex-direction:column;gap:10px;color:#a17da9;font-size:12px}.loading-state small{font-size:10px;color:#ad9fad}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.controls-row{display:flex;justify-content:space-between;align-items:center;padding-top:17px}.direction-note{font-size:12px;color:#9b8b9d}.mode-wrap{position:relative}.mode-select{display:flex;align-items:center;gap:8px;border:1px solid #eee2ed;background:#fffafd;color:#796c7d;border-radius:12px;padding:11px 13px;font:11px DM Sans;cursor:pointer}.mode-select svg:first-child{color:#b18ab1}.mode-menu{position:absolute;bottom:calc(100% + 8px);left:0;width:270px;background:#fff;border:1px solid #eee2ed;border-radius:14px;padding:6px;z-index:5;box-shadow:0 14px 35px #866b881c}.mode-option{width:100%;border:0;background:transparent;color:#625665;padding:11px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.mode-option:hover,.mode-option.selected{background:#faf3f9}.mode-option b,.mode-option small{display:block}.mode-option b{font-size:12px}.mode-option small{font-size:10px;color:#aa9eac;margin-top:3px}.mode-option svg{color:#a17da9}.translate-button{display:flex;align-items:center;gap:10px;border:0;border-radius:12px;background:linear-gradient(110deg,#cba6c6,#b2a6dc);color:#fff;padding:13px 19px;font:700 12px DM Sans;cursor:pointer;transition:.2s;box-shadow:0 7px 18px #b49acb30}.translate-button:hover:not(:disabled){filter:saturate(1.08);transform:translateY(-1px);box-shadow:0 10px 22px #b49acb45}.translate-button:disabled{opacity:.5;cursor:not-allowed}.error-message{margin-top:12px;color:#bd6c83;background:#fff5f7;border:1px solid #f3d7df;border-radius:11px;padding:11px 13px;font-size:12px}.feature-strip{max-width:790px;margin:34px auto 45px;display:flex;justify-content:space-between;gap:18px}.feature-strip>div{display:flex;align-items:center;gap:10px;color:#b18ab1}.feature-strip span b,.feature-strip span small{display:block}.feature-strip span b{font-size:11px;color:#756779}.feature-strip span small{font-size:10px;color:#ab9fac;margin-top:3px}footer{height:58px;border-top:1px solid #eadfe8;display:flex;align-items:center;justify-content:space-between;color:#b1a5b2;font-size:10px}footer span:first-child{font-weight:700;color:#947f99}@media(max-width:640px){.app-shell{padding:18px 13px 0}.topbar{height:62px}.hero{padding:45px 0 28px}.hero h1{letter-spacing:-1.7px}.hero p{font-size:12px}.translator{padding:13px;border-radius:18px}.language-bar{padding:2px 2px 14px}.language-code{width:34px;height:34px;border-radius:11px}.language-label{gap:8px}.language-label b{font-size:11px}.language-label small{font-size:9px}.translation-grid{grid-template-columns:1fr;min-height:0}.input-panel{border-right:0;border-bottom:1px solid #eee5ed;min-height:190px}.input-panel textarea{min-height:130px;font-size:14px}.output-panel{min-height:190px}.controls-row{gap:8px}.translate-button{padding:12px 14px}.feature-strip{margin:27px 4px 32px;gap:12px;flex-wrap:wrap}.feature-strip>div{width:calc(50% - 8px)}.feature-strip>div:last-child{width:100%}.desktop-break{display:none}footer{font-size:9px}}.input-hint{display:flex;flex-direction:column;gap:3px;margin:0 0 10px;color:#9c899f;font-size:13px}.input-hint small,.bilingual small{display:block;color:#b7a8b9;font-size:11px;font-weight:400;margin-top:3px}.bilingual{display:flex;flex-direction:column;gap:2px}.bilingual small{font-size:10px}.translate-button .bilingual,.result-action .bilingual{text-align:left}.copy-result-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:1px solid #ead8eb;border-radius:12px;background:linear-gradient(110deg,#f8edf6,#f1efff);color:#8f7197;padding:12px 16px;font:600 12px DM Sans,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.copy-result-button:hover{background:linear-gradient(110deg,#f4e5f2,#eae7fb);border-color:#d9c2df;transform:translateY(-1px)}.copy-result-button .bilingual{align-items:center;text-align:center}.copy-result-button .bilingual small{margin-top:2px}
