/* Header language entry ("中文" on English pages, "English" on Chinese pages).
   Markup: the first child of .vip-header-actions in the masthead:
     <a class="vip-lang-link" href="/website/zh/" hreflang="zh-Hans" lang="zh-Hans">中文</a>
   Desktop: sits in the top-right action row, before My Points.
   Tablets (761-900px, logo and actions share one tight row): moved down to the right end of
   the "Menu" button row, which is otherwise empty, so it never collides with the logo
   (z-index above .study-nav-band, which is z-index:30 with a white background there).
   Phones and small tablets (up to 760px, the action row wraps under the logo): pinned to the masthead's top-right corner,
   beside the logo. Either way it is visible without opening the menu. */
html body .vip-header-actions .vip-lang-link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:36px;padding:0 14px;border:1px solid #dde3ec;border-radius:999px;background:#fff;color:#10264b;font-size:14px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:border-color .2s,color .2s}
html body .vip-header-actions .vip-lang-link:hover{border-color:#cb1351;color:#cb1351}
html body .vip-header-actions .vip-lang-link:focus-visible{outline:3px solid #ff8fb4;outline-offset:2px}
@media (min-width:761px) and (max-width:900px){
  html body .study-masthead{position:relative!important}
  html body .vip-header-actions .vip-lang-link{position:absolute;top:calc(100% + 12px);right:0;z-index:31}
}
@media (max-width:760px){
  html body .study-masthead{position:relative!important}
  html body .vip-header-actions .vip-lang-link{position:absolute;top:14px;right:0;min-height:36px;padding:0 12px}
}
@media (prefers-reduced-motion:reduce){html body .vip-header-actions .vip-lang-link{transition:none}}
