.category-media{--category-color:#b46138;--category-text:#8c4627;--category-wash:#fffaf5;--category-tint:#fff0e4;--category-border:#eed3c0;color:inherit}.category-media .tool-card-icon,.category-media .tool-menu-icon{color:var(--category-color)}
.gif-tool [hidden]{display:none!important}.gif-tool{min-height:75vh}.gif-tool .tool-file-drop{display:flex;flex-direction:column;align-items:center;gap:16px}.gif-tool .tool-file-drop p{margin:0}.gif-tool .tool-file-drop.dragging{background:#fff0e4;outline:2px solid #b46138}
.gif-workspace{max-width:1320px;margin:auto;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px}.gif-stage{min-width:0}.gif-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.gif-heading h2{font-size:18px;margin:8px 0 0;overflow-wrap:anywhere}.gif-heading h3{font-size:18px;margin:0}.gif-heading .button{flex-shrink:0}.gif-player{background:#152638;border-radius:20px;overflow:hidden;display:grid;place-items:center;min-height:220px}.gif-player video{display:block;max-width:100%;width:100%;max-height:440px}
.gif-timeline{padding:24px;margin-top:20px;border:1px solid #e1e8ef;border-radius:20px;background:white}.gif-timeline label{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px;color:#4e6277}.gif-timeline input[type=range]{grid-column:1/-1;width:100%;margin:0;height:32px;accent-color:#1688cd;cursor:pointer}.gif-timeline output{font-variant-numeric:tabular-nums}.gif-timeline-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.gif-timeline-footer span{font-size:13px;color:#617386}
.gif-options{padding:28px 24px;border:1px solid #e1e8ef;border-radius:20px;align-self:start;background:#fff}.gif-options h2{font-size:22px;margin:0 0 28px}.gif-options fieldset{border:0;padding:0;margin:0 0 24px}.gif-options legend{margin-bottom:12px;font-weight:600}.gif-segments{display:flex;gap:8px}.gif-segments label{flex:1;position:relative;cursor:pointer}.gif-segments input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.gif-segments span{display:block;border:1px solid #dbe4ec;border-radius:12px;padding:12px 8px;text-align:center}.gif-segments input:checked+span{background:#eaf5fc;border-color:#1688cd;color:#096ba7;font-weight:600}.gif-segments input:focus-visible+span{outline:3px solid #1688cd;outline-offset:3px}.gif-options details{border-top:1px solid #e1e8ef;padding-top:16px}.gif-options summary{cursor:pointer;min-height:44px;align-content:center}.gif-check{display:flex;gap:12px;align-items:center;min-height:48px}.gif-check input{width:20px;height:20px;accent-color:#1688cd}.gif-hint{color:#617386;font-size:14px;margin:24px 0 12px}
.gif-progress,.gif-result{max-width:760px;margin:0 auto;padding:64px 24px;text-align:center}.gif-progress h2,.gif-result h2{font-size:30px;margin:16px 0}.gif-progress p,.gif-result p{color:#617386;line-height:1.7}.gif-spinner{display:inline-block;width:48px;height:48px;border:4px solid #e1e8ef;border-top-color:#1688cd;border-radius:50%;animation:gif-spin 1s linear infinite}.gif-result-image{background:#f3f6fa;border-radius:20px;padding:24px;margin:24px 0}.gif-result-image img{display:block;max-width:100%;max-height:440px;margin:auto}.gif-result-actions{display:flex;justify-content:center;gap:12px;margin:24px 0 12px}.gif-error{max-width:720px;margin:20px auto;padding:16px 20px;border-radius:12px;background:#fff1ed;color:#942f21;line-height:1.7}.gif-status{text-align:center;color:#617386;padding:0 20px}.gif-options .button{min-height:48px}
@keyframes gif-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.gif-spinner{animation:none}}
@media(max-width:760px){.gif-workspace{grid-template-columns:1fr;padding:20px 16px;gap:20px}.gif-options{padding:24px}.gif-player{min-height:170px}.gif-heading{gap:8px}.gif-heading h2{font-size:15px}.gif-timeline{padding:18px}.gif-result{padding:36px 16px}.gif-result-actions{flex-direction:column}.gif-result-actions .button{width:100%}.gif-error{margin:16px}.gif-timeline-footer{flex-wrap:wrap}.gif-progress{padding:48px 20px}}

@media(min-width:1101px){.all-tools-dropdown{grid-template-columns:repeat(6,minmax(0,1fr))}}

.gif-result-secondary{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.gif-seo{max-width:960px;margin:72px auto 0;text-align:left;border-top:1px solid #e1e8ef;padding-top:40px}.gif-seo section,.gif-seo-related{margin:0 0 40px}.gif-tool .gif-seo h2{font-size:clamp(21px,3vw,27px);line-height:1.5;margin:0 0 18px}.gif-tool .gif-seo p{font-size:16px;line-height:1.9;max-width:none;margin:0 0 16px;color:#52677b}.gif-seo-steps{padding-left:24px;display:grid;gap:12px}.gif-seo-steps li{padding-left:8px}.gif-seo h3{font-size:18px;margin:0 0 6px}.gif-seo-faq details{border-bottom:1px solid #e1e8ef;padding:6px 0}.gif-seo-faq summary{cursor:pointer;min-height:52px;padding:14px 0;font-weight:600;line-height:1.6}.gif-seo-faq summary:focus-visible{outline:2px solid #1688cd;outline-offset:4px}.gif-seo-related a{display:inline-block;margin:0 24px 12px 0;color:#096ba7;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.gif-seo{margin-top:48px;padding-top:28px}.gif-tool .gif-seo p{font-size:15px}}
.audio-preview{padding:32px;background:#f3f6fa;border-radius:20px;margin:24px 0}.audio-preview>.tool-card-icon{display:block;margin:0 auto 24px}.audio-preview audio{width:100%;max-width:500px}.audio-tool .gif-options>p{line-height:1.8;color:#617386;margin-bottom:28px}
