.account-login-titlebar .wl-language-trigger {margin-right:auto;margin-left:3px}
.wl-language-trigger {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:36px;min-height:34px;padding:3px 6px;color:#644c7c;background:transparent;border:0;border-radius:8px;cursor:pointer}
.wl-language-trigger:hover,.wl-language-trigger:focus-visible {background:#ffffff70;color:#493459}
.wl-language-trigger:focus-visible,.wl-language-menu button:focus-visible {outline:2px solid #8969ae;outline-offset:1px}
html body .wl-language-menu {position:fixed;inset:auto;margin:0;padding:12px;width:min(245px,calc(100vw - 20px));box-sizing:border-box;max-height:calc(100dvh - 16px);overflow:auto;border:1px solid #cbb9da;border-radius:16px;background:#fffbff;color:#513d64;box-shadow:0 8px 32px #644d792b;line-height:1.35;font-family:system-ui,sans-serif}
.wl-language-menu::backdrop {background:rgba(56,42,70,.13)}
.wl-language-heading {display:flex;align-items:center;justify-content:space-between;padding:0 3px 6px}
.wl-language-heading h2 {margin:0;font:650 .89rem/1.3 system-ui,sans-serif}
.wl-language-heading button {width:32px;height:32px;background:transparent;border:0;color:inherit;font:1.3rem/1 system-ui;cursor:pointer}
.wl-language-menu .wl-language-option {display:flex;align-items:center;justify-content:space-between;text-align:left;font:500 .94rem/1.35 system-ui,sans-serif;color:inherit;width:100%;min-height:44px;padding:8px 13px;border:0;border-radius:9px;background:transparent;cursor:pointer}
.wl-language-menu .wl-language-option[aria-pressed=true] {background:#f1e8fb;font-weight:650}
.wl-language-option[aria-pressed=true]::after {content:'✓';color:#785591}
.wl-language-option:hover {background:#f6eff9}
html:is([data-theme=night],[data-theme-loading=night]) .wl-language-trigger {color:#efdffa}
html:is([data-theme=night],[data-theme-loading=night]) body .wl-language-menu {background:#332a43;color:#f3e8ff;border-color:#766488}
html:is([data-theme=night],[data-theme-loading=night]) .wl-language-menu .wl-language-option:is(:hover,[aria-pressed=true]) {background:#534361}
.wl-language-trigger[hidden] {display:none!important}
.wl-language-image-label {display:inline-block;color:inherit;font:600 .95rem/1.4 system-ui,sans-serif;text-wrap:balance}
/* The selected UI language controls these sign-in choices, including in-place language changes. */
html:not(:lang(ko)) :is(#accountKakao, #accountNaver, #payKakaoLogin, #payNaverLogin, #mobilePayKakaoLogin, #mobilePayNaverLogin) {
  display: none !important;
}
html:not(:lang(ko)) #trialDialog .trial-no-save {height:auto;width:auto;font:600 .95rem/1.4 system-ui,sans-serif}

html body .wl-language-heading{position:sticky;top:0;z-index:2;background:#fffbff}
html:is([data-theme=night],[data-theme-loading=night]) body .wl-language-heading{background:#332a43}
/* Keep every language name on the left while preserving Arabic text direction. */
.wl-language-menu .wl-language-option[dir=rtl]{flex-direction:row-reverse}
html[dir=rtl] :is(.pack-manager-entry,.panel,.auth-card,.dialog-content,.studio-tools){text-align:start}
html[dir=rtl] .account-login-titlebar .wl-language-trigger{margin-left:auto;margin-right:3px}
html[dir=rtl] :is(.sheet-wrap,.sticker-layer,.sticker-object,.paper-patterns,.color-list){direction:ltr}
html[dir=rtl] :is(#member-username,#member-recovery,#member-code,#member-device-code){direction:ltr}
html:lang(ar) :is(.closing-signature,.editor .window-caption .editor-prompt){font-family:"WL_ar_amiri",serif}
html:lang(th) :is(.closing-signature,.editor .window-caption .editor-prompt){font-family:"WL_th_mali",sans-serif}
html:lang(ru) :is(.closing-signature,.editor .window-caption .editor-prompt){font-family:"WL_european_noto_serif",serif}
html:lang(zh-Hant) :is(.closing-signature,.editor .window-caption .editor-prompt){font-family:"WL_zh_hant_iansui",serif}
html:lang(vi) :is(.closing-signature,.editor .window-caption .editor-prompt){font-family:"WL_european_noto_serif",serif}
html[dir=rtl] :is(.to-field,.body-field){text-align:right}
html[dir=rtl] .from-field{text-align:left}
html:lang(ar) :is(.hw-component strong,.hw-component-empty){font-family:"WL_ar_amiri",serif;direction:rtl}
html:lang(th) :is(.hw-component strong,.hw-component-empty){font-family:"WL_th_sarabun",sans-serif}
html:lang(zh-Hant) :is(.hw-component strong,.hw-component-empty){font-family:"WL_zh_hant_noto_sans_tc",sans-serif}
html:lang(ru) :is(.hw-component strong,.hw-component-empty),html:lang(vi) :is(.hw-component strong,.hw-component-empty){font-family:"WL_european_noto_sans",sans-serif}
html:lang(ar) body,html:lang(ar) .artist-dot-label{font-family:"WL_ar_noto_sans_arabic",system-ui,sans-serif}
html:lang(th) body,html:lang(th) .artist-dot-label{font-family:"WL_th_sarabun",system-ui,sans-serif}
html:lang(zh-Hant) body,html:lang(zh-Hant) .artist-dot-label{font-family:"WL_zh_hant_noto_sans_tc",system-ui,sans-serif}
html:is(:lang(it),:lang(ru),:lang(tr),:lang(nl),:lang(pl),:lang(sv),:lang(vi),:lang(fil),:lang(ms)) body,
html:is(:lang(it),:lang(ru),:lang(tr),:lang(nl),:lang(pl),:lang(sv),:lang(vi),:lang(fil),:lang(ms)) .artist-dot-label{font-family:"WL_european_noto_sans",system-ui,sans-serif}

/* The guest card uses compact subsets of its normal interface fonts. */
@font-face{font-family:"WLLogin-core";src:url("/fonts/chrome/login/core.woff2") format("woff2");font-display:optional;unicode-range:U+0020,U+0031,U+0042-0045,U+004A-004B,U+004D-004E,U+0050,U+0053-0054,U+0061-0076,U+0078-007A,U+00E4,U+00E9,U+00ED,U+00F3-00F4,U+00FC,U+2019,U+AC1C,U+AD00,U+B9AC,U+BC29,U+BCF4,U+BE44,U+C57D,U+C6A9,U+C774,U+C778,U+C815,U+C900,U+C911,U+CC98,U+CE68}
@font-face{font-family:"WLLogin-european";src:url("/fonts/chrome/login/european.woff2") format("woff2");font-display:optional;unicode-range:U+0020,U+0041-0044,U+0047,U+0049-004B,U+004D,U+0050,U+0052-0053,U+0057,U+0059,U+0061-0077,U+0079-007A,U+00E1,U+00E4,U+00EA,U+00ED,U+00F3,U+00F9-00FA,U+0110,U+0119,U+0131,U+015B,U+015F,U+017C,U+01B0,U+041F,U+0421,U+0423,U+0430-0432,U+0434-0435,U+0437-0438,U+043A-0444,U+0446,U+044C,U+044F,U+1EA3,U+1EAF,U+1EC1,U+1ED9,U+1EE5,U+1EED,U+2019}
@font-face{font-family:"WLLogin-ar";src:url("/fonts/chrome/login/ar.woff2") format("woff2");font-display:optional;unicode-range:U+0020,U+0627-062A,U+062C,U+062E-062F,U+0631,U+0633-0635,U+0637,U+0642,U+0644-0645,U+0647-0648,U+064A-064B,U+0651}
@font-face{font-family:"WLLogin-th";src:url("/fonts/chrome/login/th.woff2") format("woff2");font-display:optional;unicode-range:U+0020,U+0E01-0E02,U+0E04,U+0E07,U+0E0A,U+0E14-0E15,U+0E17,U+0E19-0E1B,U+0E21-0E23,U+0E25,U+0E27,U+0E2A-0E2B,U+0E2D,U+0E31-0E32,U+0E34-0E37,U+0E40,U+0E42-0E44,U+0E46-0E49}
@font-face{font-family:"WLLogin-zh-hant";src:url("/fonts/chrome/login/zh-hant.woff2") format("woff2");font-display:optional;unicode-range:U+4E00,U+4F7F,U+51FA,U+5206,U+5373,U+5C07,U+63A8,U+653F,U+689D,U+6B0A,U+6B3E,U+7528,U+79C1,U+7B56,U+9418,U+96B1,U+9A57,U+9AD4}
#accountGate { --login-face: "WLLogin-core"; }
html:is(:lang(it),:lang(ru),:lang(tr),:lang(nl),:lang(pl),:lang(sv),:lang(vi),:lang(fil),:lang(ms)) #accountGate { --login-face: "WLLogin-european"; }
html:lang(ar) #accountGate { --login-face: "WLLogin-ar"; }
html:lang(th) #accountGate { --login-face: "WLLogin-th"; }
html:lang(zh-Hant) #accountGate { --login-face: "WLLogin-zh-hant"; }
#accountGate.is-login :is(.account-trial-link,.weletter-policy-links a,.account-apple small) { font-family:var(--login-face),system-ui,sans-serif; }
