/* Keep the existing language location and display all four choices vertically. */
#site-language[hidden],#reference-language[hidden]{display:none!important}
.dao-language-list{display:grid;grid-template-columns:1fr;gap:0;width:112px;padding:4px;border:1px solid transparent;border-radius:12px;background:#fff;color:var(--dao-green)}
.dao-language-list button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:24px;width:100%;padding:2px 8px;border:1px solid transparent;border-radius:6px;background:#fff;color:var(--dao-green);font-family:var(--dao-font);font-size:12px;line-height:18px;font-weight:500;text-align:left;white-space:nowrap;cursor:pointer}
.dao-language-list button svg{display:block;width:20px;height:14px;flex:none;box-shadow:0 0 0 1px #d5dfdc;border-radius:1px}
.dao-language-list button[aria-pressed=true]{background:transparent;border-color:transparent;font-weight:700}
.dao-language-list button:hover{background:#f0f5f2}.dao-language-list button:focus-visible{outline:2px solid var(--dao-gold);outline-offset:-2px}
.ref-header.ref-language-stack{aspect-ratio:auto;min-height:128px;overflow:visible;background:#fff;z-index:2}
.ref-header-content{position:relative;width:100%;aspect-ratio:1536/88}
.ref-header-content>.ref-artwork{height:100%}
.ref-header-content:after{content:'';position:absolute;left:80.208333%;top:26.136364%;width:8.073%;height:47.727273%;background:#fff;pointer-events:none}
.ref-header-content>.ref-language{left:auto!important;right:11.71875%;top:8px!important;width:clamp(104px,8.073vw,124px)!important;height:auto!important;background:white;border-radius:12px;z-index:2}
.ref-language .dao-language-list{width:100%}
.ref-language:focus-within{outline:0}
@media(max-width:599px){.dao-language-list{width:104px}.dao-language-list button{min-height:28px;padding:4px 6px;gap:6px}.dao-language-list button svg{width:18px;height:12px}.ref-header.ref-language-stack{min-height:calc(5.729167vw + 132px)}.ref-header-content>.ref-language{top:calc(5.729167vw + 4px)!important}}
