:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background-color:#000;color:#fff}#root{width:100%;min-height:100vh}.hide-file h2{color:var(--text);margin-bottom:.5rem;font-size:1.8rem}.hide-file .description{color:var(--text-dim);margin-bottom:2rem;line-height:1.6}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:var(--text);font-weight:500}.form-group input[type=file]{width:100%;padding:.75rem;background:var(--bg);border:2px dashed var(--border);border-radius:8px;color:var(--text);cursor:pointer;transition:all .3s ease}.form-group input[type=password],.password-input-wrapper input[type=text]{width:100%;padding:.75rem;background:var(--bg);border:2px solid var(--border);border-radius:8px;color:var(--text);font-size:1rem;transition:all .3s ease}.form-group input[type=password]:focus,.password-input-wrapper input[type=text]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #ffffff1a}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{flex:1;padding-right:3rem}.password-toggle{position:absolute;right:.5rem;background:transparent;border:none;font-size:1.1rem;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:var(--text-dim);line-height:1;border-radius:4px}.password-toggle:hover{color:var(--text);background:#ffffff0d}.password-toggle:active{transform:scale(.95)}.password-toggle:focus{outline:none;box-shadow:0 0 0 2px #fff3}.form-group input[type=file]:hover{border-color:var(--primary);background:#0a0a0a}.file-name{margin-top:.5rem;color:var(--success);font-size:.9rem;display:flex;align-items:center;gap:.5rem}.file-name:before{content:"✓";background:var(--success);color:#fff;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem}.error-message{background:#2a1a1a;border:1px solid var(--error);color:var(--error);padding:1rem;border-radius:8px;margin-bottom:1rem}.submit-button{width:100%;padding:1rem 2rem;background:var(--primary);color:#000;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #fff3}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ffffff4d;background:#e5e5e5}.submit-button:disabled{opacity:.6;cursor:not-allowed}.success-card{text-align:center;padding:2rem;animation:fadeIn .5s ease-in}.success-icon{font-size:4rem;margin-bottom:1rem;animation:bounceIn .6s ease-out}.success-card h3{color:var(--success);margin-bottom:.5rem;font-size:1.5rem}.success-card p{color:var(--text-dim);margin-bottom:2rem}.download-button,.new-button{padding:.875rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin:.5rem}.download-button{background:var(--success);color:#000;box-shadow:0 4px 12px #4ade804d}.download-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4ade8066;background:#22c55e}.new-button{background:var(--bg);color:var(--text);border:1px solid var(--border)}.new-button:hover{background:var(--border)}.mode-selector{display:flex;gap:1rem;margin-bottom:2rem;background:var(--bg);padding:.5rem;border-radius:8px;border:1px solid var(--border)}.mode-btn{flex:1;padding:.75rem 1.5rem;background:transparent;border:none;border-radius:6px;color:var(--text-dim);font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease}.mode-btn:hover{background:#ffffff0d;color:var(--text)}.mode-btn.active{background:var(--primary);color:#000;box-shadow:0 2px 8px #fff3}.form-group textarea{width:100%;padding:.75rem;background:var(--bg);border:2px solid var(--border);border-radius:8px;color:var(--text);font-size:1rem;font-family:inherit;resize:vertical;transition:all .3s ease}.form-group textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #ffffff1a}.extract-file h2{color:var(--text);margin-bottom:.5rem;font-size:1.8rem}.extract-file .description{color:var(--text-dim);margin-bottom:2rem;line-height:1.6}.info-box{margin-top:2rem;padding:1.5rem;background:#0a0a0a;border:1px solid #333333;border-radius:8px}.info-box h4{color:var(--primary);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.info-box ul{list-style:none;padding:0}.info-box li{color:var(--text-dim);padding:.5rem 0 .5rem 1.5rem;position:relative}.info-box li:before{content:"→";position:absolute;left:0;color:var(--primary);font-weight:700}.text-display{text-align:center;animation:fadeIn .5s ease-in}.text-display h3{color:var(--success);margin-bottom:.5rem;font-size:1.5rem}.text-display .filename{color:var(--text-dim);margin-bottom:1.5rem;font-size:.9rem}.text-content{background:var(--bg);border:2px solid var(--border);border-radius:8px;padding:1.5rem;margin-bottom:1.5rem;max-height:400px;overflow-y:auto;text-align:left}.text-content pre{margin:0;color:var(--text);font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word}.text-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.text-actions .download-button,.text-actions .new-button{padding:.875rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.text-actions .download-button{background:var(--success);color:#000;box-shadow:0 4px 12px #4ade804d}.text-actions .download-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4ade8066;background:#22c55e}.text-actions .new-button{background:var(--bg-card);color:var(--text);border:1px solid var(--border)}.text-actions .new-button:hover{background:var(--border)}.polyglot h2{color:var(--text);margin-bottom:.5rem;font-size:1.8rem}.polyglot .description{color:var(--text-dim);margin-bottom:2rem;line-height:1.6}.polyglot .form-group{margin-bottom:1.5rem}.polyglot .form-group label{display:block;margin-bottom:.5rem;color:var(--text);font-weight:500}.polyglot .form-group input[type=file]{width:100%;padding:.75rem;background:var(--bg);border:2px dashed var(--border);border-radius:8px;color:var(--text);cursor:pointer;transition:all .3s ease}.polyglot .form-group input[type=file]:hover{border-color:var(--primary);background:#0a0a0a}.polyglot .form-group input[type=password],.polyglot .password-input-wrapper input[type=text]{width:100%;padding:.75rem;background:var(--bg);border:2px solid var(--border);border-radius:8px;color:var(--text);font-size:1rem;transition:all .3s ease}.polyglot .form-group input[type=password]:focus,.polyglot .password-input-wrapper input[type=text]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #ffffff1a}.polyglot .password-input-wrapper{position:relative;display:flex;align-items:center}.polyglot .password-input-wrapper input{flex:1;padding-right:3rem}.polyglot .password-toggle{position:absolute;right:.5rem;background:transparent;border:none;font-size:1.1rem;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:var(--text-dim);line-height:1;border-radius:4px}.polyglot .password-toggle:hover{color:var(--text);background:#ffffff0d}.polyglot .password-toggle:active{transform:scale(.95)}.polyglot .password-toggle:focus{outline:none;box-shadow:0 0 0 2px #fff3}.polyglot .file-name{margin-top:.5rem;color:var(--success);font-size:.9rem;display:flex;align-items:center;gap:.5rem}.polyglot .file-name:before{content:"✓";background:var(--success);color:#000;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem}.polyglot .error-message{background:#2a1a1a;border:1px solid var(--error);color:var(--error);padding:1rem;border-radius:8px;margin-bottom:1rem}.polyglot .submit-button{width:100%;padding:1rem 2rem;background:var(--primary);color:#000;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #fff3}.polyglot .submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ffffff4d;background:#e5e5e5}.polyglot .submit-button:disabled{opacity:.6;cursor:not-allowed}.polyglot .success-card{text-align:center;padding:2rem;animation:fadeIn .5s ease-in}.polyglot .success-icon{font-size:4rem;margin-bottom:1rem;animation:bounceIn .6s ease-out}.polyglot .success-card h3{color:var(--success);margin-bottom:.5rem;font-size:1.5rem}.polyglot .success-card p{color:var(--text-dim);margin-bottom:2rem}.polyglot .download-button,.polyglot .new-button{padding:.875rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin:.5rem}.polyglot .download-button{background:var(--success);color:#000;box-shadow:0 4px 12px #4ade804d}.polyglot .download-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #4ade8066;background:#22c55e}.polyglot .new-button{background:var(--bg);color:var(--text);border:1px solid var(--border)}.polyglot .new-button:hover{background:var(--border)}.polyglot .info-box{margin-top:2rem;padding:1.5rem;background:#0a0a0a;border:1px solid #333333;border-radius:8px}.polyglot .info-box h4{color:var(--primary);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.polyglot .info-box ul{list-style:none;padding:0}.polyglot .info-box li{color:var(--text-dim);padding:.5rem 0 .5rem 1.5rem;position:relative}.polyglot .info-box li:before{content:"→";position:absolute;left:0;color:var(--primary);font-weight:700}.polyglot .mode-selector{display:flex;gap:1rem;margin-bottom:2rem;background:var(--bg);padding:.5rem;border-radius:8px;border:1px solid var(--border)}.polyglot .mode-btn{flex:1;padding:.75rem 1.5rem;background:transparent;border:none;border-radius:6px;color:var(--text-dim);font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease}.polyglot .mode-btn:hover{background:#ffffff0d;color:var(--text)}.polyglot .mode-btn.active{background:var(--primary);color:#000;box-shadow:0 2px 8px #fff3}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes bounceIn{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}:root{--primary: #ffffff;--primary-dark: #e5e5e5;--secondary: #cccccc;--success: #4ade80;--error: #ef4444;--bg: #000000;--bg-card: #1a1a1a;--text: #ffffff;--text-dim: #a1a1a1;--border: #333333}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#000;color:var(--text);min-height:100vh}.app{max-width:900px;margin:0 auto;padding:2rem;min-height:100vh;display:flex;flex-direction:column}.app-header{text-align:center;margin-bottom:3rem;animation:fadeIn .6s ease-in}.app-header h1{font-size:3rem;color:var(--primary);margin-bottom:.5rem}.app-header p{color:var(--text-dim);font-size:1.1rem}.mode-container{display:flex;gap:1rem;margin-bottom:2rem;justify-content:center}.mode-tab{padding:1rem 2rem;background:var(--bg-card);border:2px solid var(--border);border-radius:12px;color:var(--text-dim);font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:180px}.mode-tab:hover{border-color:var(--primary);color:var(--text);transform:translateY(-2px)}.mode-tab.active{background:var(--primary);color:#000;border-color:var(--primary);box-shadow:0 4px 12px #ffffff4d}.tab-container{display:flex;gap:1rem;margin-bottom:2rem;background:var(--bg-card);padding:.5rem;border-radius:12px;border:1px solid var(--border)}.tab{flex:1;padding:1rem 2rem;background:transparent;border:none;border-radius:8px;color:var(--text-dim);font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease}.tab:hover{background:#2a2a2a;color:var(--text)}.tab.active{background:var(--primary);color:#000;box-shadow:0 4px 12px #ffffff4d}.content{flex:1;background:var(--bg-card);border-radius:16px;padding:2.5rem;border:1px solid var(--border);box-shadow:0 20px 25px -5px #ffffff1a;animation:slideUp .5s ease-out}.app-footer{margin-top:3rem;text-align:center;color:var(--text-dim);font-size:.9rem;padding:1rem 0}.app-footer a{color:var(--primary);text-decoration:none;font-weight:600;transition:all .3s ease;position:relative}.app-footer a:hover{color:var(--success);text-shadow:0 0 8px rgba(74,222,128,.5)}.app-footer a:after{content:"";position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--success);transition:width .3s ease}.app-footer a:hover:after{width:100%}@keyframes fadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.app{padding:1rem}.app-header h1{font-size:2rem}.content{padding:1.5rem}.tab-container{flex-direction:column}}
