.language-picker{position:relative;flex-shrink:0;font-size:12px}
.language-picker>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-width:54px;min-height:44px;padding:8px;border:1px solid #46384f;border-radius:8px;background:#201a2b;color:#ddc8f5;cursor:pointer;font-weight:600}
.language-picker>summary::-webkit-details-marker{display:none}.language-picker>summary>.icon{width:17px;height:17px}
.language-options{position:absolute;inset-inline-end:0;top:calc(100% + 12px);width:210px;background:#191420;border:1px solid #514061;border-radius:12px;padding:12px;box-shadow:0 20px 55px #0008;z-index:150}
.language-options>strong{display:block;padding:8px 12px;font-size:12px;color:#bca6d3}
.language-options form{margin:0!important}.language-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;background:none;color:#e5daef;border:1px solid transparent;border-radius:7px;text-align:start;font-size:14px}
.language-options button:hover,.language-options button[aria-pressed=true]{background:#33233f;border-color:#73528c;color:#e9d2ff}
.resource-card{position:relative}.resource-card-link{display:block;color:inherit}.resource-card-link:hover{color:inherit}
.save-resource-form{position:absolute;inset-block-start:12px;inset-inline-end:12px;z-index:2;margin:0}
.save-resource-button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px;border:1px solid #765b95;border-radius:9px;background:#181121ed;color:#e1c5ff;font:inherit;cursor:pointer;box-shadow:0 3px 12px #0004}
.save-resource-button:hover,.save-resource-button.is-saved{color:#f0dfff;background:#49315f;border-color:#c49aee}
.guest-save{position:absolute;inset-block-start:12px;inset-inline-end:12px;z-index:2}
.save-resource-full{position:static;margin-top:16px;display:flex;width:100%}.save-resource-full>.save-resource-button{width:100%;font-size:14px}
.saved-empty{text-align:center;padding:45px 22px}.saved-empty p{font-size:14px;max-width:550px;margin:20px auto}
html[dir=rtl] body{text-align:right}
html[dir=rtl] .site-header>.account-nav{margin-left:0;margin-right:auto}
html[dir=rtl] .brand{letter-spacing:normal}
html[dir=rtl] .language-picker,html[dir=rtl] .world-title,html[dir=rtl] .discovery-logo,html[dir=rtl] .cr-handle{direction:ltr}
html[dir=rtl] .discovery-intro,html[dir=rtl] .discovery-logo,html[dir=rtl] .saved-empty{text-align:center}
html[dir=rtl] .filters input,html[dir=rtl] .filters select,html[dir=rtl] .creator-form input,html[dir=rtl] textarea{text-align:start}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] input[type=url],html[dir=rtl] .prose{unicode-bidi:plaintext}
html[dir=rtl] .cr-search>.icon{left:auto;right:15px}
html[dir=rtl] .cr-filters .cr-search>input{padding-left:15px;padding-right:43px}
html[dir=rtl] .account-menu{right:auto;left:0}
html[dir=rtl] .bn-promo{direction:ltr;text-align:left}
html[dir=rtl] .bn-promo-copy,html[dir=rtl] .bn-promo-action{direction:rtl;text-align:right}
html[dir=rtl] .bn-promo-brand{direction:ltr}
html[dir=rtl] .editorial-panel{direction:ltr}
html[dir=rtl] .editorial-copy{direction:rtl;text-align:right}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:normal;line-height:1.5}
@media(max-width:1100px){
 html[dir=rtl] .responsive-ready .site-header>#site-navigation{right:auto;left:0}
 html[dir=rtl].responsive-ready .site-header>#site-navigation{right:auto;left:0;border-left:0;border-right:1px solid #3c304d}
 .language-options{max-height:calc(100dvh - 100px);overflow:auto}
}
@media(max-width:600px){
 .site-header>.account-nav{gap:6px}.site-header .auth-actions .auth-join{font-size:11px;padding:8px}
 .language-picker>summary{min-width:44px;width:44px;padding:7px;gap:3px;font-size:10px}.language-picker>summary>.icon{width:14px;height:14px}
 .language-options{inset-inline-end:-48px}
 html[dir=rtl] .language-options{inset-inline-end:0;left:0;right:auto}
 .site-header>.brand{font-size:22px}.site-header .brand-symbol{width:25px;height:25px}
 .home-discovery .discovery-toolbar{flex-wrap:wrap}.discovery-toolbar>a{white-space:normal}
}
/* Off-canvas negative positioning expands RTL documents; clip the skip link instead. */
.skip:not(:focus){position:absolute;left:0;right:auto;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){html[dir=rtl] .language-options{left:auto;right:0}}
html[dir=rtl] .bn-promo{left:auto;right:50%;transform:translateX(50%)}
@media(max-width:800px){.site-header .auth-actions .auth-signin{display:none}}
@media(min-width:1101px) and (max-width:1350px){
 body>header.site-header{gap:20px;padding-left:24px;padding-right:24px}
 .site-header>#site-navigation{gap:16px;min-width:0}
 .site-header>.account-nav{gap:12px}
 .site-header .auth-actions .auth-signin{display:none}
}
html[dir=rtl] .eyebrow,html[dir=rtl] .ui-eyebrow{letter-spacing:normal}
.ad-sidebar>.language-picker{margin:0 0 16px}.ad-sidebar .language-options{inset-inline-start:0;inset-inline-end:auto;width:190px}
.ad-skip:not(:focus){position:absolute;left:0;right:auto;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[dir=rtl] .ad-sidebar{left:auto;right:0;border-right:0;border-left:1px solid #272a37}
html[dir=rtl] .ad-shell{margin-left:0;margin-right:238px}
html[dir=rtl] .ad-nav-label,html[dir=rtl] .ad-heading h1{letter-spacing:normal}
@media(max-width:1100px){html[dir=rtl] .ad-shell{margin-right:208px}}
@media(max-width:800px){html[dir=rtl] .ad-shell{margin-right:0}html[dir=rtl] .ad-sidebar{transform:translateX(100%)}html[dir=rtl] .ad-body.nav-open .ad-sidebar{transform:translateX(0)}}
/* Keep the globe and account action on one row, including translated labels. */
body>header.site-header>.account-nav{flex-wrap:nowrap;flex-shrink:0}
.site-header .auth-actions{flex-wrap:nowrap}
@media(max-width:600px){.site-header .auth-actions .auth-join{max-width:92px;white-space:normal;line-height:1.25;text-align:center}.site-header .auth-join>span{white-space:normal;overflow-wrap:normal}}

/* Bound the 20-language picker on small displays. */
.language-options{max-height:min(70vh,520px);overflow-y:auto;overscroll-behavior:contain}
