:root{--background-theme-button-amp4: #212121;--background-theme-button-amp3: #212121;--background-theme-button-am4a: #212121;--background-theme-button-tiktokdl: #212121;--background-theme-button-fbdl: #212121;--background-theme-button-igdl: #212121;--background-theme-button-soundclouddl: #212121;--background-theme-button-twitchdl: #212121;--background-theme-button-xdownload: #212121;--background-theme-button-redditdl: #212121;--background-theme-button-ampx: #212121}[data-theme=dark]{--background-theme-button-amp4: #344bdd;--background-theme-button-amp3: #ea6525;--background-theme-button-am4a: #e24444;--background-theme-button-tiktokdl: #cf233f;--background-theme-button-fbdl: #3a69b4;--background-theme-button-igdl: #c3349f;--background-theme-button-soundclouddl: #f85f00;--background-theme-button-twitchdl: #a689c8;--background-theme-button-xdownload: #454545;--background-theme-button-redditdl: #f84b00;--background-theme-button-ampx: #3e67da}.amp4 #theme-button{background-color:var(--background-theme-button-amp4)}.am4a #theme-button{background-color:var(--background-theme-button-am4a)}.amp3 #theme-button{background-color:var(--background-theme-button-amp3)}.tiktokdl #theme-button{background-color:var(--background-theme-button-tiktokdl)}.fbdl #theme-button{background-color:var(--background-lang-button-fbdl)}.igdl #theme-button{background-color:var(--background-lang-button-igdl)}.soundclouddl #theme-button{background-color:var(--background-lang-button-soundclouddl)}.twitchdl #theme-button{background-color:var(--background-lang-button-twitchdl)}.xdownload #theme-button{background-color:var(--background-lang-button-xdownload)}.redditdl #theme-button{background-color:var(--background-lang-button-redditdl)}.ampx #theme-button{background-color:var(--background-theme-button-ampx)}#theme-button{padding:5px 10px;border-radius:0 0 10px 10px;font-size:16px;color:#f8f8f8;border:none;display:inline-flex;align-items:center;gap:6px;font-family:inherit;line-height:1;transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}#theme-button:hover{cursor:pointer;opacity:.9}#theme-button:focus-visible{outline:3px solid rgba(96,165,250,.3);outline-offset:2px}.theme-button__icon{display:none;width:18px;height:18px;flex:0 0 18px}.theme-button__icon svg{display:block;width:100%;height:100%}.site-preferences{--preferences-bg:#f1f5f9;--preferences-text:#253247;--preferences-border:#d6deea;--preferences-hover:#e2eaf5;--preferences-menu:#fff;display:inline-flex;flex:0 0 auto;align-items:center;gap:0;width:-moz-max-content;width:max-content;max-width:100%;margin:0;padding:3px;border:1px solid var(--preferences-border);border-radius:13px;background:var(--preferences-bg);color:var(--preferences-text)}[data-theme=dark] .site-preferences{--preferences-bg:#1b2636;--preferences-text:#e5edf8;--preferences-border:#36465d;--preferences-hover:#2d3c53;--preferences-menu:#1b2636}.site-preferences #language-menu{margin:0}.site-preferences :is(#language-button,#theme-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;height:40px;margin:0;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--preferences-text);font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;box-shadow:none;opacity:1;transform:none}.site-preferences #theme-button{border-inline-start:1px solid var(--preferences-border);border-start-start-radius:0;border-end-start-radius:0}.site-preferences :is(#language-button,#theme-button):hover,.site-preferences #language-menu.is-open #language-button{background:var(--preferences-hover);opacity:1;transform:none}.site-preferences :is(#language-button,#theme-button):focus-visible{outline:2px solid #5b8def;outline-offset:-2px}.site-preferences #language-list{left:auto;right:auto;inset-inline-start:0;inset-inline-end:auto;transform:none;background:var(--preferences-menu);border:1px solid var(--preferences-border);border-radius:12px;padding:6px}.site-preferences #language-list .single-language{color:var(--preferences-text);text-decoration:none;border-radius:7px}.site-preferences #language-list .single-language:is(:hover,:focus-visible,.active){background:var(--preferences-hover)}.site-preferences .theme-button__icon--moon{display:block}.site-preferences .theme-button__icon--sun,[data-theme=dark] .site-preferences .theme-button__icon--moon{display:none}[data-theme=dark] .site-preferences .theme-button__icon--sun{display:block}@media(max-width:420px){.site-preferences #theme-button{width:44px;min-width:44px;padding:0}.site-preferences #theme-button :is(.dark-theme-text,.light-theme-text){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}html:not(.ampx):not(.imgconv):not(.vidconv) .site-preferences{--preferences-accent:var(--imgconv-accent,var(--service-accent,var(--ampx-accent,#2563eb)));--preferences-bg:color-mix(in srgb,var(--preferences-accent) 8%,#fff);--preferences-text:color-mix(in srgb,var(--preferences-accent) 40%,#171717);--preferences-border:color-mix(in srgb,var(--preferences-accent) 28%,#ddd);--preferences-hover:color-mix(in srgb,var(--preferences-accent) 16%,#fff);--preferences-menu:color-mix(in srgb,var(--preferences-accent) 3%,#fff)}html:not(.ampx):not(.imgconv):not(.vidconv)[data-theme=dark] .site-preferences{--preferences-bg:color-mix(in srgb,var(--preferences-accent) 12%,#161616);--preferences-text:color-mix(in srgb,var(--preferences-accent) 20%,#f8f8f8);--preferences-border:color-mix(in srgb,var(--preferences-accent) 32%,#383838);--preferences-hover:color-mix(in srgb,var(--preferences-accent) 25%,#161616);--preferences-menu:var(--preferences-bg)}html:not(.ampx):not(.imgconv):not(.vidconv) .site-preferences :is(#language-button,#theme-button):focus-visible{outline-color:var(--preferences-accent)}
