.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;border-radius:var(--radius-md);font-weight:600;font-size:1rem;cursor:pointer;transition:all var(--transition-normal);position:relative;overflow:hidden}.btn-primary{background:var(--gradient-primary);color:#fff;box-shadow:0 4px 15px var(--accent-glow)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px var(--accent-glow)}.btn-secondary{background:#ffffff0d;color:var(--text-main);border:1px solid var(--border)}.btn-secondary:hover{background:#ffffff1a;border-color:var(--text-muted)}.btn:active{transform:translateY(0)}.search-bar{position:relative;width:100%;max-width:400px}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-input{width:100%;padding:.65rem 2.5rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;color:var(--text-primary);font-size:.9rem;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.search-input:focus{outline:none;border-color:var(--primary);background:#ffffff14;box-shadow:0 0 0 3px #8a2be21a}.search-input::placeholder{color:var(--text-secondary)}.search-icon{position:absolute;left:.85rem;color:var(--text-secondary);pointer-events:none}.search-clear{position:absolute;right:.85rem;background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.search-clear:hover{color:var(--text-primary);background:#ffffff1a}.search-results{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:var(--card-bg);border:1px solid rgba(255,255,255,.1);border-radius:12px;max-height:400px;overflow-y:auto;z-index:1000;box-shadow:0 10px 40px #0000004d;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.search-result-item{display:flex;align-items:center;gap:1rem;padding:1rem;cursor:pointer;transition:all .2s ease;border-bottom:1px solid rgba(255,255,255,.05)}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background:#ffffff0d}.search-result-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.search-result-content{flex:1;min-width:0}.search-result-title{font-weight:600;color:var(--text-primary);margin-bottom:.25rem;font-size:.95rem}.search-result-description{color:var(--text-secondary);font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-no-results{padding:1.5rem;text-align:center;color:var(--text-secondary);font-size:.9rem}.search-results::-webkit-scrollbar{width:6px}.search-results::-webkit-scrollbar-track{background:#ffffff0d;border-radius:12px}.search-results::-webkit-scrollbar-thumb{background:#fff3;border-radius:12px}.search-results::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media(max-width:768px){.search-bar{max-width:100%}.search-results{max-height:300px}.search-result-item{padding:.875rem}.search-result-icon{width:36px;height:36px}}.navbar{position:fixed;top:var(--space-md);left:50%;transform:translate(-50%);width:calc(100% - var(--space-lg));max-width:1200px;z-index:100;padding:.75rem 0;border-radius:var(--radius-full)}.navbar-content{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--space-lg)}.logo{display:flex;align-items:center;gap:var(--space-sm);font-weight:700;font-size:1.5rem;letter-spacing:-.02em}.logo-icon{color:var(--accent)}.nav-links{display:flex;align-items:center;gap:var(--space-md)}.nav-link{color:var(--text-muted);font-weight:500;transition:color var(--transition-fast)}.nav-link:hover{color:var(--text-main)}.nav-btn{padding:.5rem 1rem;font-size:.9rem;border-radius:var(--radius-full)}:root{--primary-hue: 250;--primary-sat: 100%;--primary-light: 65%;--bg-dark: hsl(240, 10%, 4%);--bg-card: hsl(240, 10%, 8%);--bg-card-hover: hsl(240, 10%, 12%);--text-main: hsl(0, 0%, 100%);--text-muted: hsl(240, 5%, 65%);--accent: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));--accent-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), .5);--border: hsl(240, 10%, 15%);--border-hover: hsl(240, 10%, 25%);--gradient-primary: linear-gradient(135deg, hsl(250, 100%, 65%), hsl(280, 100%, 65%));--gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));--space-xs: .25rem;--space-sm: .5rem;--space-md: 1rem;--space-lg: 2rem;--space-xl: 4rem;--radius-sm: .5rem;--radius-md: .75rem;--radius-lg: 1rem;--radius-full: 9999px;--transition-fast: .2s ease;--transition-normal: .3s cubic-bezier(.4, 0, .2, 1)}[data-theme=light]{--bg-dark: hsl(0, 0%, 98%);--bg-card: hsl(0, 0%, 100%);--bg-card-hover: hsl(0, 0%, 96%);--text-main: hsl(240, 10%, 10%);--text-muted: hsl(240, 5%, 40%);--border: hsl(240, 10%, 90%);--border-hover: hsl(240, 10%, 80%)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{overflow-y:scroll}body{font-family:Inter,system-ui,-apple-system,sans-serif;background-color:var(--bg-dark);color:var(--text-main);line-height:1.6;-webkit-font-smoothing:antialiased;min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,textarea{font-family:inherit;border:none;background:none;outline:none}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg-dark)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:var(--radius-full)}::-webkit-scrollbar-thumb:hover{background:var(--border-hover)}.container{max-width:1200px;margin:0 auto;padding:0 var(--space-md)}.glass-panel{background:#ffffff08;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:var(--radius-lg)}.text-gradient{background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.tool-page{padding-top:8rem;padding-bottom:4rem;min-height:100vh}.tool-header{text-align:center;margin-bottom:3rem}.tool-actions{display:flex;justify-content:center;gap:var(--space-md);margin-bottom:2rem}.tool-subtitle{color:var(--text-muted);margin-top:.5rem}.pane-header{padding:.75rem 1rem;background:#ffffff08;border-bottom:1px solid var(--border);font-size:.9rem;font-weight:600;color:var(--text-muted);display:flex;justify-content:space-between;align-items:center}.upload-card{display:flex;align-items:center;justify-content:center;min-height:300px;width:100%;border:2px dashed var(--border);background:#ffffff03;cursor:pointer;transition:all var(--transition-normal)}.upload-card:hover{border-color:var(--accent);background:#ffffff08}.upload-area{text-align:center;cursor:pointer;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.upload-icon{color:var(--accent);margin-bottom:var(--space-md)}.file-info{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:var(--text-muted)}.card-header{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-md);font-weight:600}.form-group,.control-group{display:flex;flex-direction:column;gap:var(--space-xs)}.form-group label,.control-group label{font-size:.9rem;color:var(--text-muted)}.form-group input,.control-group select{background:#0003;border:1px solid var(--border);padding:.5rem;border-radius:var(--radius-sm);color:var(--text-main)}.download-btn{width:100%}.loading-container{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - 120px);padding-top:8rem;color:var(--text-muted);font-size:1.1rem}.card{padding:var(--space-lg);transition:transform var(--transition-normal),border-color var(--transition-normal)}.card:hover{border-color:var(--accent);transform:translateY(-4px)}.home-page{padding-top:8rem;padding-bottom:4rem;min-height:100vh}.hero{text-align:center;margin-bottom:6rem}.hero-title{font-size:4rem;font-weight:800;line-height:1.1;margin-bottom:1.5rem;letter-spacing:-.03em}.hero-subtitle{font-size:1.25rem;color:var(--text-muted);max-width:600px;margin:0 auto 2.5rem}.hero-actions{display:flex;justify-content:center;gap:var(--space-md)}.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-lg)}.tool-card{height:100%;display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-md)}.tool-icon-wrapper{width:48px;height:48px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0003}.tool-title{font-size:1.25rem;font-weight:600}.tool-description{color:var(--text-muted);font-size:.95rem;line-height:1.5}@media(max-width:768px){.hero-title{font-size:2.5rem}}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-lg);height:600px}.editor-pane{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.code-editor{flex:1;width:100%;padding:1rem;background:transparent;color:var(--text-main);font-family:Fira Code,monospace;font-size:.9rem;resize:none;line-height:1.5}.code-editor:focus{background:#ffffff03}.code-editor.error{border:1px solid #ff4d4d}.error-message{padding:.5rem 1rem;background:#ff4d4d1a;color:#ff4d4d;font-size:.85rem;border-top:1px solid rgba(255,77,77,.2)}.icon-btn{color:var(--text-muted);cursor:pointer;transition:color var(--transition-fast);padding:4px;border-radius:4px}.icon-btn:hover{color:var(--text-main);background:#ffffff1a}@media(max-width:768px){.editor-grid{grid-template-columns:1fr;height:auto}.editor-pane{height:400px}}.diff-viewer{padding:1rem;font-family:Fira Code,monospace;font-size:.9rem;white-space:pre-wrap;min-height:200px;line-height:1.5;text-align:left}.error-text{color:#ff4d4d;font-size:.9rem;margin-left:1rem;align-self:center}:root{--diff-add-bg: rgba(46, 160, 67, .15);--diff-add-text: #3fb950;--diff-rem-bg: rgba(248, 81, 73, .15);--diff-rem-text: #f85149}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-md);margin-bottom:var(--space-lg);height:400px}.input-column{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.compare-input{flex:1;width:100%;padding:1rem;background:transparent;color:var(--text-main);font-family:Fira Code,monospace;font-size:.9rem;resize:none;border:none;outline:none}.diff-output{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.diff-viewer{padding:1rem;font-family:Fira Code,monospace;font-size:.9rem;white-space:pre-wrap;min-height:200px;line-height:1.5}@media(max-width:768px){.compare-grid{grid-template-columns:1fr;height:auto}.input-column{height:300px}}.converter-card{max-width:800px;margin:0 auto;background:var(--bg-card)}.category-tabs{display:flex;justify-content:center;gap:var(--space-sm);margin-bottom:var(--space-lg);border-bottom:1px solid var(--border);padding-bottom:var(--space-md)}.tab-btn{padding:.5rem 1.5rem;border-radius:var(--radius-full);color:var(--text-muted);font-weight:500;transition:all var(--transition-fast)}.tab-btn:hover{color:var(--text-main);background:#ffffff0d}.tab-btn.active{color:#fff;background:var(--accent);box-shadow:0 4px 12px var(--accent-glow)}.converter-grid{display:flex;align-items:center;gap:var(--space-md)}.input-group{flex:1;display:flex;flex-direction:column;gap:var(--space-sm)}.input-group label{font-size:.9rem;color:var(--text-muted);font-weight:600}.input-group input,.input-group select{padding:1rem;background:#0003;border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-main);font-size:1.1rem;transition:border-color var(--transition-fast)}.input-group input:focus,.input-group select:focus{border-color:var(--accent)}.readonly-input{background:#ffffff05!important;cursor:default}.swap-icon{color:var(--text-muted);margin-top:1.5rem}@media(max-width:768px){.converter-grid{flex-direction:column}.swap-icon{transform:rotate(90deg);margin:0}}.footer{border-top:1px solid var(--border);background:var(--bg-card);padding:4rem 0 2rem;margin-top:auto;min-height:420px}.footer-content{display:grid;grid-template-columns:1fr 2fr;gap:var(--space-xl);margin-bottom:3rem}.footer-brand .logo{margin-bottom:var(--space-md);font-size:1.25rem}.footer-desc{color:var(--text-muted);font-size:.9rem;line-height:1.6}.footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-lg)}.link-group h4{font-size:.9rem;font-weight:600;margin-bottom:var(--space-md);color:var(--text-main)}.link-group a{display:block;color:var(--text-muted);font-size:.9rem;margin-bottom:.75rem;transition:color var(--transition-fast)}.link-group a:hover{color:var(--accent)}.social-links{display:flex;gap:var(--space-md)}.social-link{color:var(--text-muted);transition:color var(--transition-fast)}.social-link:hover{color:var(--text-main)}.footer-bottom{padding-top:2rem;border-top:1px solid rgba(255,255,255,.05);text-align:center;color:var(--text-muted);font-size:.85rem}@media(max-width:768px){.footer-content{grid-template-columns:1fr;gap:var(--space-lg)}.footer-links{grid-template-columns:repeat(2,1fr)}}
