body,html{padding:0;margin:0;height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;background-color:#f1f5f9;background-image:none;background-repeat:no-repeat;background-attachment:scroll;background-size:auto;color:#111827;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;will-change:auto;transform:translateZ(0);overflow-x:hidden;max-width:100vw}.min-h-screen,body,html{min-height:100vh}.h-full{height:100%}.w-full{width:100%}.max-w-4xl{max-width:56rem}.max-w-md{max-width:28rem}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:1rem;padding-right:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.mb-8{margin-bottom:2rem}.mb-4{margin-bottom:1rem}.mb-2{margin-bottom:.5rem}.mt-4{margin-top:1rem}.mt-3{margin-top:.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem}.text-lg,.text-xl{line-height:1.75rem}.text-lg{font-size:1.125rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.font-medium{font-weight:500}.text-center{text-align:center}.bg-white{background-color:#fff}.bg-gray-50{background-color:#f9fafb}.bg-gray-800{background-color:#1f2937}.bg-gray-900{background-color:#111827}.bg-blue-100{background-color:#dbeafe}.bg-blue-900{background-color:#1e3a8a}.bg-yellow-50{background-color:#fffbeb}.text-gray-900{color:#111827}.text-white{color:#fff}.text-gray-600{color:#4b5563}.text-gray-500{color:#6b7280}.text-gray-400{color:#9ca3af}.text-gray-300{color:#d1d5db}.text-blue-600{color:#2563eb}.text-blue-400{color:#60a5fa}.text-yellow-800{color:#92400e}.text-yellow-700{color:#b45309}.text-green-600{color:#16a34a}.text-red-600{color:#dc2626}.text-red-800{color:#991b1b}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{border-color:#e5e7eb}.border-gray-300{border-color:#d1d5db}.border-gray-700{border-color:#374151}.border-yellow-200{border-color:#fef3c7}.shadow-sm{box-shadow:0 1px 2px 0 #0000000d}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.space-x-3>*+*{margin-left:.75rem}.gap-6{gap:1.5rem}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.w-12{width:3rem}.h-12{height:3rem}.w-8{width:2rem}.h-8{height:2rem}.w-6{width:1.5rem}.h-6{height:1.5rem}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.hover\:bg-gray-50:hover{background-color:#f9fafb}.hover\:bg-blue-700:hover{background-color:#1d4ed8}.hover\:text-red-800:hover{color:#991b1b}.hover\:text-gray-600:hover{color:#4b5563}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.cursor-pointer{cursor:pointer}.pt-4{padding-top:1rem}.border-t{border-top-width:1px}.inline-block{display:inline-block}.block{display:block}.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.bg-opacity-50{background-color:#00000080}@media (min-width:1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}a{text-decoration:none;transition:color .2s ease}a,a:hover{color:inherit}.container{max-width:1200px;margin:0 auto;padding:0 1rem;width:100%}.card{max-width:100%}.card,.grid{width:100%}@media (max-width:640px){.container{padding:0 .75rem}}::-webkit-scrollbar{width:6px;height:6px}*{-webkit-overflow-scrolling:touch}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body,html{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}body{touch-action:manipulation;-webkit-tap-highlight-color:transparent}@media (max-width:768px){::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:#00000005;border-radius:2px}::-webkit-scrollbar-thumb{background:#3b82f633;border-radius:2px;-webkit-transition:background .2s ease;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:#3b82f64d}.card,.inpainting-main,.main-content,.sketch-render-main{-webkit-overflow-scrolling:touch;scroll-behavior:smooth;overscroll-behavior:contain}.card *,.inpainting-main *,.main-content *,.sketch-render-main *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.inpainting-main div,.inpainting-main h1,.inpainting-main h2,.inpainting-main h3,.inpainting-main h4,.inpainting-main h5,.inpainting-main h6,.inpainting-main p,.inpainting-main span,.main-content div,.main-content h1,.main-content h2,.main-content h3,.main-content h4,.main-content h5,.main-content h6,.main-content p,.main-content span,.sketch-render-main div,.sketch-render-main h1,.sketch-render-main h2,.sketch-render-main h3,.sketch-render-main h4,.sketch-render-main h5,.sketch-render-main h6,.sketch-render-main p,.sketch-render-main span{-webkit-user-select:text;user-select:text}}::-webkit-scrollbar-track{background:#0000000d;border-radius:3px}::-webkit-scrollbar-thumb{background:#3b82f64d;border-radius:3px;-webkit-transition:background .2s ease;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:#3b82f64d}.inpainting-input.card::-webkit-scrollbar,.inpainting-output.card::-webkit-scrollbar,.sketch-render-input.card::-webkit-scrollbar,.sketch-render-output.card::-webkit-scrollbar{width:4px}.inpainting-input.card::-webkit-scrollbar-thumb,.inpainting-output.card::-webkit-scrollbar-thumb,.sketch-render-input.card::-webkit-scrollbar-thumb,.sketch-render-output.card::-webkit-scrollbar-thumb{background:#3b82f666;border-radius:2px}.inpainting-input.card::-webkit-scrollbar-thumb:hover,.inpainting-output.card::-webkit-scrollbar-thumb:hover,.sketch-render-input.card::-webkit-scrollbar-thumb:hover,.sketch-render-output.card::-webkit-scrollbar-thumb:hover{background:#3b82f666}h1,h2,h3,h4,h5,h6{font-weight:600;color:#0f172a;margin-top:0;letter-spacing:-.025em}.inpainting-input h3,.inpainting-output h2,.sketch-render-input h3,.sketch-render-output h2{background:linear-gradient(135deg,#0f172a,#1e293b);-webkit-background-clip:text;-webkit-text-fill-color:#0000;background-clip:text;font-weight:700;letter-spacing:-.025em;position:relative}.inpainting-input h3:after,.sketch-render-input h3:after{content:"";position:absolute;bottom:-.5rem;left:0;width:100%;height:2px;background:linear-gradient(90deg,#3b82f6,#8b5cf6 50%,#06b6d4);border-radius:1px;opacity:.6}.dark .inpainting-input h3,.dark .inpainting-output h2,.dark .sketch-render-input h3,.dark .sketch-render-output h2{background:none!important;-webkit-background-clip:unset!important;-webkit-text-fill-color:unset!important;background-clip:unset!important;color:#fff!important}p{margin:0 0 1.25rem}button{font-family:inherit;cursor:pointer;border:none;outline:none;transition:background-color .15s ease,color .15s ease,transform .15s ease;border-radius:.75rem;font-weight:500;letter-spacing:-.01em}.inpainting-input button,.inpainting-output button,.sketch-render-input button,.sketch-render-output button{border-radius:.75rem;font-weight:500;transition:all .2s ease;letter-spacing:-.01em}input,select,textarea{font-family:inherit;border:1px solid #e2e8f0;border-radius:.75rem;padding:.75rem 1rem;outline:none;transition:border-color .15s ease,box-shadow .15s ease;background:#fffc;font-weight:400;letter-spacing:-.01em}input:focus,select:focus,textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;background:#fffffff2}.inpainting-input input,.inpainting-input select,.inpainting-input textarea,.sketch-render-input input,.sketch-render-input select,.sketch-render-input textarea{border:1px solid #e2e8f0cc;background:#ffffffe6;box-shadow:0 2px 8px 0 #0000000d}.inpainting-input input:focus,.inpainting-input select:focus,.inpainting-input textarea:focus,.sketch-render-input input:focus,.sketch-render-input select:focus,.sketch-render-input textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626,0 4px 12px 0 #0000001a;background:#fffffffa}img{max-width:100%;height:auto;display:block}.inpainting-input img,.inpainting-output img,.sketch-render-input img,.sketch-render-output img{border-radius:.75rem;box-shadow:0 4px 16px 0 #0000001a;transition:box-shadow .2s ease}.inpainting-input img:hover,.inpainting-output img:hover,.sketch-render-input img:hover,.sketch-render-output img:hover{box-shadow:0 4px 16px 0 #0000001a}.border-dashed{border-style:dashed;border-width:2px;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.inpainting-input .border-dashed,.sketch-render-input .border-dashed{background:linear-gradient(135deg,#f8fafccc,#f1f5f9cc);border-color:#94a3b84d}.inpainting-input .border-dashed:hover,.sketch-render-input .border-dashed:hover{border-color:#94a3b84d;background:linear-gradient(135deg,#f8fafccc,#f1f5f9cc);box-shadow:none}.card{background:#fff;background:#ffffffe6;border-radius:1.5rem;transition:box-shadow .15s ease,transform .15s ease;cursor:pointer;padding:2.5rem;flex:1 1;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;text-align:left;border:1px solid #e2e8f099;height:100%;overflow-y:auto;position:relative}.inpainting-input.card,.inpainting-output.card,.sketch-render-input.card,.sketch-render-output.card{background:linear-gradient(135deg,#fffffff2,#f8fafcf2);border:1px solid #e2e8f0cc;padding:2rem;border-radius:1.25rem;position:relative;overflow:hidden;will-change:auto;transform:translateZ(0);height:100%;display:flex;flex-direction:column}.inpainting-input.card:before,.inpainting-output.card:before,.sketch-render-input.card:before,.sketch-render-output.card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#3b82f6,#8b5cf6 50%,#06b6d4);opacity:.8}.inpainting-input.card:hover,.inpainting-output.card:hover,.sketch-render-input.card:hover,.sketch-render-output.card:hover{border-color:#e2e8f0cc}.card:hover{border-color:#e2e8f099}.card-icon{margin-bottom:1.25rem;display:flex;align-items:center;justify-content:center;width:4rem;height:4rem;border-radius:9999px;background:linear-gradient(135deg,#e0e7ff,#fbc2eb);box-shadow:0 2px 8px 0 #1e40af0a}.card-icon img{width:2.25rem;height:2.25rem}.card-title{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;transition:color .2s;letter-spacing:-.02em}.card-title,.card:hover .card-title{color:#2563eb}.card-desc{color:#64748b;font-size:1rem;line-height:1.6;font-weight:400;letter-spacing:-.01em}.card-grid{display:grid;grid-template-columns:1fr;grid-gap:2rem;gap:2rem;max-width:48rem;margin-left:auto;margin-right:auto;margin-bottom:2rem;overflow-x:hidden;width:100%;box-sizing:border-box}@media (min-width:768px){.card-grid{grid-template-columns:1fr 1fr}}@media (min-width:1024px){.card-grid{grid-template-columns:1fr 1fr 1fr}}.navbar{width:100%;position:fixed;top:0;left:0;z-index:50;background:linear-gradient(90deg,#ffffffeb 60%,#ecf5ffeb);box-shadow:0 2px 16px 0 #1e40af14;padding:0 1rem;display:flex;align-items:center;will-change:auto;transform:translateZ(0)}.navbar,.navbar-inner{height:58px}.navbar-left{display:flex;align-items:center;gap:1rem}.navbar-logo-img{height:2.2rem;width:2.2rem;border-radius:.7rem;margin-right:.5rem}.navbar-title{font-size:1.25rem;font-weight:700;letter-spacing:-.02em;color:#1d4ed8;background:linear-gradient(90deg,#1d4ed8,#3b82f6 60%,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:#0000;background-clip:text;text-shadow:0 1px 4px #1e40af14}.navbar-right{display:flex;align-items:center;gap:.5rem}.navbar-link{display:inline-flex;align-items:center;height:38px;padding:0 1.1rem;font-size:1rem;font-weight:500;color:#334155;border-radius:.6rem;background:none;border:none;transition:background .18s,color .18s,box-shadow .18s;cursor:pointer;text-decoration:none;letter-spacing:-.01em}.navbar-link:focus,.navbar-link:hover{background:#e0e7ff80;color:#1d4ed8}.theme-toggle-btn{display:inline-flex;align-items:center;justify-content:center;height:38px;width:38px;margin-left:.5rem;border-radius:.7rem;background:#e0e7ff;color:#1e293b;border:none;font-size:1.2rem;box-shadow:0 2px 8px 0 #1e40af14;transition:background .18s,color .18s,box-shadow .18s;cursor:pointer;outline:none}.theme-toggle-btn:focus,.theme-toggle-btn:hover{background:#c7d2feb3;color:#1e293b;box-shadow:0 2px 8px 0 #1e40af14}.theme-toggle-icon{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}.icon-svg{width:1.5rem;height:1.5rem;display:block}@media (max-width:600px){.navbar{padding:0 .7rem}.navbar,.navbar-inner{height:48px}.navbar-title{font-size:1.05rem}.navbar-logo-img{height:1.6rem;width:1.6rem}.navbar-link,.theme-toggle-btn{height:32px;font-size:.95rem;padding:0 .7rem}.theme-toggle-btn{width:32px}.icon-svg,.theme-toggle-icon{width:1.1rem;height:1.1rem}}.main-content{padding:6rem 2rem 2rem;overflow-x:hidden;width:100%;box-sizing:border-box}.main-desc,.main-title{text-align:center;margin-left:auto;margin-right:auto;display:block}@media (max-width:768px){.main-content{padding:5rem 1rem 1.5rem}}@media (max-width:480px){.main-content{padding-top:4.5rem;padding-bottom:1rem}body,html{overflow-x:hidden;position:relative;width:100%}body{position:fixed;width:100%}#__next,body{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.inpainting-main,.main-content,.sketch-render-main{will-change:scroll-position;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}}.navbar-inner{margin:0 auto;width:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;overflow-x:hidden;max-width:100vw}.footer{background:linear-gradient(90deg,#ecf5ffd9,#ffffffd9);color:#64748b;text-align:center;font-size:1rem;border-top:1px solid #e5e7eb;position:relative;bottom:0;left:0;right:0}.footer-inner{max-width:1200px;margin:0 auto;padding:0 1rem}.dark{background-color:#1e3a8a;color:#f8fafc}.dark .card{background:#1e293be6;color:#f8fafc;border-color:#94a3b833}.dark .inpainting-input.card,.dark .inpainting-output.card,.dark .sketch-render-input.card,.dark .sketch-render-output.card{background:linear-gradient(135deg,#1e293bf2,#334155f2);border:1px solid #47556999}.dark .inpainting-input.card:hover,.dark .inpainting-output.card:hover,.dark .sketch-render-input.card:hover,.dark .sketch-render-output.card:hover{border-color:#47556999}.dark .inpainting-input input,.dark .inpainting-input select,.dark .inpainting-input textarea,.dark .sketch-render-input input,.dark .sketch-render-input select,.dark .sketch-render-input textarea{background:#334155cc;border-color:#47556999;color:#f8fafc}.dark .inpainting-input input:focus,.dark .inpainting-input select:focus,.dark .inpainting-input textarea:focus,.dark .sketch-render-input input:focus,.dark .sketch-render-input select:focus,.dark .sketch-render-input textarea:focus{background:#334155f2;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.dark .inpainting-input .border-dashed,.dark .inpainting-input .border-dashed:hover,.dark .sketch-render-input .border-dashed,.dark .sketch-render-input .border-dashed:hover{background:linear-gradient(135deg,#33415599,#47556999);border-color:#64748b66}.dark .navbar{background:#0f172ae6;box-shadow:0 4px 32px 0 #0009}.dark .footer{background:#0f172ae6;color:#94a3b8;margin:0;padding:1rem 0;width:100%}.dark input,.dark textarea{background:#1e293bcc;border-color:#475569;color:#f8fafc}.dark input:focus,.dark textarea:focus{border-color:#3b82f6}.dark .navbar-title{text-shadow:0 2px 8px #0006}.dark .navbar-link{background:#1e293bd9;color:#f8fafc}.dark,.dark body,.dark html,body.dark,html.dark{background-color:#1e3a8a!important;background-image:none!important;background-repeat:no-repeat!important;background-attachment:scroll!important;background-size:auto!important}.dark .card-desc,.dark .footer,.dark .navbar-links{color:#cbd5e1}.dark,.dark body{color:#f8fafc}.dark .card,.dark .card *,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6,.dark label,.dark p{color:#f8fafc!important}.dark input,.dark select,.dark textarea{color:#f8fafc;background:#1e293bcc;border-color:#475569}.dark input::placeholder,.dark textarea::placeholder{color:#94a3b8;opacity:1}.dark .text-gray-600,.dark .text-gray-700,.dark .text-gray-800,.dark .text-gray-900{color:#f8fafc!important}.dark .text-gray-500{color:#cbd5e1!important}.dark .text-gray-400{color:#94a3b8!important}.dark .main-desc,.dark .text-gray-700{color:#f8fafc!important}.dark .text-gray-600{color:#cbd5e1!important}.dark .text-gray-500{color:#94a3b8!important}.dark .text-gray-800{color:#f1f5f9!important}.dark .text-gray-600.bg-white\/80{color:#cbd5e1!important}.dark .bg-blue-100{background:#3b82f633!important}.dark .bg-purple-100{background:#9333ea33!important}.dark .bg-green-100{background:#22c55e33!important}.dark .bg-yellow-100{background:#eab30833!important}.dark .text-yellow-800{color:#fbbf24!important}.dark a,.dark a:hover{color:#60a5fa}.dark .footer{background:linear-gradient(90deg,#0f172af2,#1e293bf2);color:#cbd5e1;border-top:1px solid #4755694d}.dark .footer a{color:#60a5fa;text-decoration:underline}.dark .footer a:hover{color:#60a5fa}.dark .text-gray-800.text-3xl{color:#f1f5f9!important}.dark .text-gray-600:not(.bg-white\/80){color:#cbd5e1!important}.dark .text-xl.font-semibold{color:#f8fafc!important}.dark .text-gray-600.p-6,.dark .text-gray-600:not(.bg-white\/80):not(.p-6),.dark p.text-gray-600{color:#cbd5e1!important}.main-content .card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #e2e8f099;border-radius:1.5rem;padding:2rem;transition:all .3s ease;position:relative;overflow:hidden;height:auto;min-height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.main-content .card:hover{transform:none;border-color:#e2e8f099}.main-content .card-title{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:#1e293b;transition:color .3s ease;letter-spacing:-.025em}.main-content .card:hover .card-title{color:#1e293b}.main-content .card-desc{color:#64748b;font-size:1rem;line-height:1.6;margin-bottom:0;font-weight:400;letter-spacing:-.01em}.dark .main-content .card{background:#1e293bf2;border-color:#47556999;color:#f8fafc}.dark .main-content .card:hover{border-color:#47556999}.dark .main-content .card-title{color:#f8fafc;font-weight:600;letter-spacing:-.025em}.dark .main-content .card:hover .card-title{color:#f8fafc}.dark .main-content .card-desc{color:#cbd5e1;font-weight:400;letter-spacing:-.01em}.sketch-render-main{flex-direction:row;gap:3rem;width:100%;min-height:80vh;margin-bottom:2rem;max-width:1400px;margin-left:auto;margin-right:auto;height:auto}.sketch-render-input,.sketch-render-output{flex:1 1;min-width:0;display:flex;flex-direction:column;height:100%;min-height:80vh;max-width:600px;align-self:stretch}.sketch-render-input{justify-content:flex-start;flex:1.2 1}.sketch-render-output{justify-content:center;align-items:stretch;flex:0.8 1}.sketch-render-main>.card{height:100%;min-height:80vh}.sketch-render-input.card,.sketch-render-output.card{flex:1 1;height:auto;min-height:80vh;display:flex;flex-direction:column}.sketch-render-input.card>div,.sketch-render-output.card>div{height:100%;display:flex;flex-direction:column}.sketch-render-main{display:flex;align-items:stretch}.sketch-render-main>.card{flex:1 1;display:flex;flex-direction:column}@media (max-width:1200px){.sketch-render-main{gap:2rem;max-width:1200px}}@media (max-width:900px){.sketch-render-main{gap:1.5rem}.sketch-render-input,.sketch-render-output{flex:1 1}}@media (max-width:600px){.sketch-render-main{flex-direction:row;gap:1rem;overflow-x:auto;max-width:none}.sketch-render-input,.sketch-render-output{min-width:320px;max-width:100vw;flex:none}}.inpainting-main{display:flex;flex-direction:row;gap:3rem;align-items:stretch;width:100%;min-height:80vh;margin-bottom:2rem;max-width:1400px;margin-left:auto;margin-right:auto}.inpainting-input,.inpainting-output{flex:1 1;min-width:0;display:flex;flex-direction:column;height:100%;min-height:80vh;max-width:600px}.inpainting-input{justify-content:flex-start;flex:1.2 1}.inpainting-output{justify-content:flex-start;align-items:stretch;flex:0.8 1}@media (max-width:1200px){.inpainting-main{gap:2rem;max-width:1200px}}@media (max-width:900px){.inpainting-main{gap:1.5rem}.inpainting-input,.inpainting-output{flex:1 1}}@media (max-width:600px){.inpainting-main{flex-direction:row;gap:1rem;overflow-x:auto;max-width:none}.inpainting-input,.inpainting-output{min-width:320px;max-width:100vw;flex:none}}body{margin:0;padding:0}#__next,body{display:flex;flex-direction:column}#__next{min-height:100vh;flex:1 1}.main-content{flex:1 0 auto;margin:0;padding:0}.footer{flex-shrink:0;margin:0;padding:1rem 0;width:100%}.dark .btn,.dark .w-full.bg-gradient-to-r,.dark button{border:1.5px solid #3b82f6!important}.dark .btn,.dark .btn:hover,.dark .w-full.bg-gradient-to-r,.dark .w-full.bg-gradient-to-r:hover,.dark button,.dark button:hover{background:linear-gradient(90deg,#235,#1e293b)!important;color:#f8fafc!important;box-shadow:0 2px 12px 0 #3b82f61a,0 1.5px 6px 0 #0000001a!important}.dark .btn:hover,.dark .w-full.bg-gradient-to-r:hover,.dark button:hover{border-color:#3b82f6!important}.dark .theme-toggle-btn{border:1.5px solid #3b82f6!important}.dark .theme-toggle-btn,.dark .theme-toggle-btn:focus,.dark .theme-toggle-btn:hover{background:#1e293b!important;color:#60a5fa!important;box-shadow:0 2px 12px 0 #3b82f61a,0 1.5px 6px 0 #0000001a!important}.dark .theme-toggle-btn:focus,.dark .theme-toggle-btn:hover{border-color:#3b82f6!important}.feature-badge{color:#111827;text-align:center}.feature-icon-bg-blue{background:#dbeafe!important}.feature-icon-bg-purple{background:#f3e8ff!important}.feature-icon-bg-green{background:#bbf7d0!important}.dark .feature-icon-bg-blue{background:linear-gradient(135deg,#2563eb,#38bdf8)!important}.dark .feature-icon-bg-purple{background:linear-gradient(135deg,#a21caf,#7c3aed)!important}.dark .feature-icon-bg-green{background:linear-gradient(135deg,#059669,#22d3ee)!important}.dark .feature-badge{color:#f8fafc!important}#__next{padding:0}#__next,.container,.footer,.main-content,.navbar{overflow-x:hidden;max-width:100vw;margin:0}*{box-sizing:border-box}html{margin:0;padding:0}.preset-buttons::-webkit-scrollbar{width:6px}.preset-buttons::-webkit-scrollbar-track{background:#e2e8f080;border-radius:3px}.preset-buttons::-webkit-scrollbar-thumb{background:#94a3b899;border-radius:3px}.preset-buttons::-webkit-scrollbar-thumb:hover{background:#94a3b8cc}.dark .preset-buttons::-webkit-scrollbar-track{background:#4755694d}.dark .preset-buttons::-webkit-scrollbar-thumb{background:#94a3b866}.dark .preset-buttons::-webkit-scrollbar-thumb:hover{background:#94a3b899}.preset-buttons{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;max-height:400px;overflow-y:auto;padding:.5rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#f8fafc80}.preset-button{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border:1.5px solid #cbd5e1;border-radius:.75rem;padding:.75rem 1rem;cursor:pointer;transition:all .2s ease-in-out;width:100%;text-align:left;box-shadow:0 1px 3px 0 #0000001a;flex:0 0 auto}.preset-button:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 4px 12px 0 #00000026}.preset-content{display:flex;flex-direction:column;gap:.25rem;width:100%}.preset-english{font-size:.875rem;font-weight:500;color:#374151}.preset-chinese,.preset-english{line-height:1.3;word-wrap:break-word}.preset-chinese{font-size:.75rem;color:#6b7280}.preset-category{font-size:.65rem;color:#8b5cf6;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem}.dark .preset-buttons{border-color:#475569;background:#1e293b4d}.dark .preset-button{background:linear-gradient(135deg,#1e293b,#334155);border-color:#475569;color:#f1f5f9}.dark .preset-button:hover{background:linear-gradient(135deg,#334155,#475569);border-color:#64748b}.dark .preset-english{color:#e2e8f0}.dark .preset-chinese{color:#94a3b8}.dark .preset-category{color:#a78bfa}.hint-list{margin:.5rem 0 0;padding-left:1rem;font-size:.875rem;color:#6b7280}.hint-list li{margin-bottom:.25rem;line-height:1.4}.dark .hint-list{color:#9ca3af}@media (max-width:768px){.preset-buttons{gap:.4rem;max-height:350px;padding:.4rem}.preset-button{width:100%;padding:.6rem .75rem}.preset-english{font-size:.85rem}.preset-chinese{font-size:.75rem}.preset-category{font-size:.6rem}}@media (max-width:480px){.preset-buttons{max-height:280px;padding:.3rem;gap:.3rem}.preset-button{width:100%;padding:.5rem .6rem}.preset-english{font-size:.8rem}.preset-chinese{font-size:.7rem}.preset-category{font-size:.55rem}}@media (max-width:360px){.preset-buttons{max-height:250px;padding:.25rem;gap:.25rem}.preset-button{padding:.4rem .5rem}.preset-english{font-size:.75rem}.preset-chinese{font-size:.65rem}.preset-category{font-size:.5rem}}