.rigure-language{position:relative;flex:0 0 auto;margin:0;direction:ltr;z-index:1200}
.rigure-language>summary{display:flex!important;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:6px 9px!important;border:1px solid #534175;border-radius:10px;background:#121b30;color:#fff;font:600 12px/1.2 system-ui,sans-serif;list-style:none;cursor:pointer;white-space:nowrap}
.rigure-language>summary::-webkit-details-marker{display:none}
/* Display the supplied artwork unchanged as twelve circular sprite windows.
   Each source window is 284 × 268 pixels in the original 1280 × 853 sheet. */
.rigure-language .rigure-language-badge{display:block;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background-image:url("/assets/i18n/flags/language-badges.jpg");background-repeat:no-repeat;background-size:450.704225% 318.283582%;background-position:var(--badge-x) var(--badge-y);box-shadow:0 1px 5px #0006}
.rigure-language-menu .rigure-language-badge{width:36px;height:36px;flex-basis:36px}
.rigure-language-badge-ir{--badge-x:4.116466%;--badge-y:2.564103%}
.rigure-language-badge-sa{--badge-x:33.935743%;--badge-y:2.564103%}
.rigure-language-badge-gb{--badge-x:64.859438%;--badge-y:2.564103%}
.rigure-language-badge-fr{--badge-x:95.381526%;--badge-y:2.564103%}
.rigure-language-badge-de{--badge-x:4.116466%;--badge-y:48.205128%}
.rigure-language-badge-es{--badge-x:33.935743%;--badge-y:48.205128%}
.rigure-language-badge-fi{--badge-x:64.859438%;--badge-y:48.205128%}
.rigure-language-badge-se{--badge-x:95.381526%;--badge-y:48.205128%}
.rigure-language-badge-ru{--badge-x:4.116466%;--badge-y:93.675214%}
.rigure-language-badge-cn{--badge-x:33.935743%;--badge-y:93.675214%}
.rigure-language-badge-jp{--badge-x:64.859438%;--badge-y:93.675214%}
.rigure-language-badge-pt{--badge-x:95.381526%;--badge-y:93.675214%}
.rigure-language>summary:focus-visible,.rigure-language-menu a:focus-visible{outline:2px solid #ba94ff;outline-offset:3px}
.rigure-language .rigure-language-menu{position:fixed;z-index:1201;left:12px;top:64px;width:min(360px,calc(100vw - 24px));max-height:min(70dvh,480px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;display:none!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px;margin:0;background:#0e1629;border:1px solid #66508f;border-radius:14px;box-shadow:0 16px 50px #0009;direction:ltr}
.rigure-language[open]>.rigure-language-menu{display:grid!important}
.rigure-language .rigure-language-menu a{display:flex!important;align-items:center;gap:10px;padding:10px!important;min-height:43px;border:1px solid transparent;border-radius:8px;color:#e6e8fa!important;background:transparent;text-decoration:none!important;font:500 13px/1.4 system-ui,sans-serif;white-space:normal;min-width:0}
.rigure-language .rigure-language-menu a:hover{background:#332354}
.rigure-language .rigure-language-menu a[aria-current=true]{background:#422880;border-color:#9973f5}
.studio-auth .rigure-language{margin-bottom:12px;justify-self:end;width:max-content;margin-inline-start:auto}
html:is([lang=zh],[lang=ja]) body{font-family:system-ui,"Noto Sans CJK SC","Noto Sans CJK JP",sans-serif}
html:is([lang=zh],[lang=ja]) :is(h1,h2,h3,small,.eyebrow){letter-spacing:normal!important}
@media(max-width:650px){.rigure-language-code{display:none}.rigure-language>summary{min-height:34px;padding:5px 7px!important}.rigure-language .rigure-language-menu a{font-size:12px;gap:8px}}
html:is([lang=fa],[lang=ar]) body{font-family:Tahoma,"Noto Sans Arabic",Arial,sans-serif;letter-spacing:normal}html:is([lang=fa],[lang=ar]) :is(h1,h2,h3,small,.account-kicker,.eyebrow){letter-spacing:normal!important;line-height:1.6}html[dir=rtl] .studio-sidebar{left:auto;right:0;border-right:0;border-left:1px solid #18233a}html[dir=rtl] .studio .studio-top{margin-left:0;margin-right:240px}html[dir=rtl] .studio:not(.studio-auth):not(.studio-public)>main,html[dir=rtl] .studio:not(.studio-auth):not(.studio-public)>main.account-shell{margin-left:0;margin-right:240px}html[dir=rtl] .studio-mobile-menu nav{left:0;right:auto}html[dir=rtl] :is(input[type=email],input[type=password],input[type=url],input[type=number],code,pre,textarea[readonly],.referral-link,.price,.price-period strong){direction:ltr;text-align:left;unicode-bidi:isolate}
html[dir=rtl] :is(.split-workbench,.editor-layout,.canvas-stage,.editor-scrub,.timeline-list,.view-portrait,.character-preview,.example-view,.precision){direction:ltr}html[dir=rtl] :is(.wb-controls,.editor-control-panel){direction:rtl;text-align:right}html[dir=rtl] .editor-control-panel input[type=range],html[dir=rtl] .wb-controls input[type=range]{direction:ltr}html[dir=rtl] .editor-transport #saveStage{margin-left:0;margin-right:auto}html[dir=rtl] .studio-auth{direction:rtl}html[dir=rtl] .studio-auth .card{direction:rtl;text-align:right}html[dir=rtl] .studio-public .hero-copy{text-align:right}html[dir=rtl] .cover-caption{text-align:right;direction:rtl}
@media(max-width:1050px){html[dir=rtl] .studio.animation-editor-page .studio-top,html[dir=rtl] .studio.animation-editor-page>main{margin-right:0}}
@media(max-width:700px){html[dir=rtl] .studio .studio-top,html[dir=rtl] .studio:not(.studio-auth):not(.studio-public)>main,html[dir=rtl] .studio:not(.studio-auth):not(.studio-public)>main.account-shell{margin-right:0}}
@media(max-width:650px){.studio .studio-top{gap:7px!important}.studio-search{max-width:100px}.studio-public .topbar{flex-wrap:wrap}.studio-public .topbar .rigure-language{margin-inline-start:auto}.studio .studio-mobile-brand{font-size:18px}.studio-auth .rigure-language{margin-bottom:8px}}

@media(min-width:701px) and (max-width:1150px){html[dir=rtl] .studio .studio-top,html[dir=rtl] .studio:not(.studio-auth):not(.studio-public)>main{margin-right:210px}}
html[dir=rtl] .studio-mobile-brand{margin-right:0;margin-left:auto}html[dir=rtl] .nudge-controls,html[dir=rtl] .wb-nudges{direction:ltr}html[dir=rtl] .rigure-language{order:2}html[dir=rtl] .studio-account{order:3}html[dir=rtl] .credit-art{right:auto;left:18px}html[dir=rtl] .pricing-credits-link{text-align:right}
@media(max-width:1050px){html[dir=rtl] .studio.animation-editor-page .studio-top,html[dir=rtl] .studio.animation-editor-page>main{margin-right:0}}
@media(max-width:1050px){html[dir=rtl] .studio.animation-editor-page:not(.studio-auth):not(.studio-public)>main{margin-right:0}}
html[dir=rtl] .studio-mobile-menu nav{left:12px;right:12px}

.studio-top:has(.rigure-language[open]),.topbar:has(.rigure-language[open]){z-index:1500!important}

html[lang=zh] body,[lang=zh]{font-family:RigureChinese,system-ui,sans-serif}html[lang=ja] body,[lang=ja]{font-family:RigureJapanese,system-ui,sans-serif}
.rigure-language .rigure-language-menu a[lang=zh],html[lang=zh] body :is(button,input,select,textarea,h1,h2,h3){font-family:RigureChinese,system-ui,sans-serif}
.rigure-language .rigure-language-menu a[lang=ja],html[lang=ja] body :is(button,input,select,textarea,h1,h2,h3){font-family:RigureJapanese,system-ui,sans-serif}
