/*! tailwindcss v4.2.0 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-semibold:600;--font-weight-bold:700;--tracking-widest:.1em;--radius-xl:.75rem;--radius-2xl:1rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\[\#1f2937\]{border-color:#1f2937}.p-0{padding:calc(var(--spacing) * 0)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-6{padding-inline:calc(var(--spacing) * 6)}.pb-16{padding-bottom:calc(var(--spacing) * 16)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.text-center{text-align:center}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.uppercase{text-transform:uppercase}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media(min-width:40rem){.sm\:flex{display:flex}.sm\:hidden{display:none}}}:root{color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{margin:0;padding:0}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--bg: #0b0f1a;--card: #121826;--text: #e2e8f0;--muted: #94a3b8;--accent: #4f46e5;--accent-2: #22d3ee;--error: #ef4444}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.container{max-width:1280px;margin:0 auto;padding:1.25rem 1rem}@media(min-width:640px){.container{padding:2rem 1.5rem}}@media(min-width:1024px){.container{padding:2rem}}header{margin-bottom:1.5rem}header h1{margin:0 0 .5rem;font-size:1.8rem}header p{margin:0;color:var(--muted)}.controls{background:var(--card);border:1px solid #1f2937;padding:1rem;border-radius:12px;display:grid;gap:1rem}.file-input{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.row{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}label{display:grid;gap:.25rem;font-size:.9rem;color:var(--muted)}select,input[type=range],input[type=file],button,a.secondary{background:#0b1220;border:1px solid #1f2937;color:var(--text);border-radius:10px;padding:.5rem .75rem}input[type=range]{width:100%;min-width:120px;accent-color:var(--accent)}button{cursor:pointer;background:linear-gradient(90deg,var(--accent),var(--accent-2));border:none}button.secondary,a.secondary{background:transparent;border:1px solid #1f2937}button:disabled{opacity:.6;cursor:not-allowed}.preview{margin-top:1.5rem}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.card{background:var(--card);border:1px solid #1f2937;border-radius:12px;padding:.75rem}.card h3{margin:0;font-size:1rem;color:var(--muted)}.card img{width:100%;height:auto;border-radius:10px;border:1px solid #1f2937;background:#0b1220}.converted{display:grid;gap:.5rem}.placeholder{height:300px;border-radius:12px;border:1px solid #1f2937;display:grid;place-items:center;color:var(--muted)}.actions{margin-top:.75rem}.error{color:var(--error)}footer{margin-top:2rem;color:var(--muted)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem}button.danger{background:transparent;border:1px solid #ef4444;color:#ef4444}button.danger:hover{background:#ef44441a}.controls.dragover{outline:2px dashed #4f46e5;outline-offset:6px}.muted{color:var(--muted)}.progress{height:6px;border-radius:999px;background:#0b1220;border:1px solid #1f2937;overflow:hidden}.progress .bar{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2));transition:width .2s ease}.upload-zone{border:2px dashed #1f2937;border-radius:12px;padding:2rem 1.5rem;text-align:center;cursor:pointer;color:var(--muted);transition:border-color .2s,background .2s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.upload-zone:hover{border-color:var(--accent);background:#4f46e50f;color:var(--text)}.upload-zone__icon{font-size:2rem;line-height:1;margin-bottom:.75rem;color:var(--accent);display:flex;justify-content:center}.upload-zone__filename{font-size:.85rem;color:var(--text);word-break:break-all;margin:0}.preview-frame{width:100%;max-width:500px;aspect-ratio:1 / 1;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border-radius:12px;border:1px solid #1f2937;overflow:hidden}.upload-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;width:100%;height:100%}.processing-preview{position:relative;width:100%;height:100%}.processing-preview__img{display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;filter:brightness(.4)}.processing-preview__overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem}.processing-preview__progress-text{font-size:1.5rem;font-weight:700;color:var(--text)}.processing-preview__label{margin:0;font-size:.85rem;color:var(--muted)}.spinner{width:40px;height:40px;border:3px solid rgba(255,255,255,.15);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.converter-page{max-width:900px;margin:0 auto;padding:1.25rem 1rem 3rem}@media(min-width:640px){.converter-page{padding:2rem 1.5rem 3rem}}.converter-hero{text-align:center;margin-bottom:1.75rem}.converter-title{margin:0;font-size:clamp(1.4rem,4vw,2rem);font-weight:700;background:linear-gradient(90deg,#4f46e5,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.converter-subtitle{margin:.5rem 0 0;color:var(--muted);font-size:.92rem;line-height:1.6}.converter-card{background:var(--card);border:1px solid #1f2937;border-radius:14px;padding:1.25rem;display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.converter-card.dragover{outline:2px dashed var(--accent);outline-offset:4px}.converter-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.875rem}.converter-label{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;color:var(--muted)}.converter-label select{min-height:40px;min-width:110px;font-size:.9rem}.converter-label--range{flex:1;min-width:160px}.converter-label--range input[type=range]{width:100%}.converter-actions{display:flex;gap:.625rem;flex-wrap:wrap;margin-left:auto}@media(max-width:480px){.converter-actions{margin-left:0;width:100%}.converter-actions button,.converter-actions a{flex:1;justify-content:center}}.converter-results{display:flex;flex-direction:column;gap:.875rem}.image-card{background:var(--card);border:1px solid #1f2937;border-radius:12px;padding:.875rem;display:flex;align-items:center;gap:.875rem;flex-wrap:wrap;cursor:grab;transition:border-color .15s}.image-card:active{cursor:grabbing}.image-card:hover{border-color:#374151}.image-card__thumb{position:relative;flex-shrink:0;width:100px;height:100px;border-radius:8px;overflow:hidden;border:1px solid #1f2937;background:#0b1220;display:flex;align-items:center;justify-content:center}@media(min-width:480px){.image-card__thumb{width:120px;height:120px}}.image-card__thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.image-card__label{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:.2rem 0;background:#0009;color:#fff}.image-card__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.image-card__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.35rem}.image-card__filename{margin:0;font-size:.85rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.image-card__dim{margin:0;font-size:.78rem;color:var(--muted)}.image-card__sizes{font-size:.8rem;display:flex;align-items:center;gap:0;flex-wrap:wrap}.image-card__actions{display:flex;gap:.5rem;flex-shrink:0;align-items:center}@media(max-width:400px){.image-card{flex-direction:column;align-items:flex-start}.image-card__thumb{width:100%;height:160px}.image-card__actions{width:100%;justify-content:flex-end}}
