.sanctuary-language-options{position:absolute;top:58px;right:50px;z-index:60;width:218px;max-height:min(430px,70dvh);overflow:auto;padding:7px;background:#fff7eaf5;border:1px solid #dfc297;border-radius:15px;box-shadow:0 12px 32px #6142272b;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#d4b887 transparent;text-shadow:none}
.sanctuary-language-options button{display:block;position:relative;width:100%;padding:9px 35px 9px 14px;min-height:40px;border:0;border-radius:9px;background:transparent;color:#6d5035;text-align:left;font:15px/24px "Microsoft YaHei","PingFang SC",sans-serif}
.sanctuary-language-options button:hover,.sanctuary-language-options button:focus-visible{background:#f2e3ca;outline:none}
.sanctuary-language-options button[aria-selected=true]{background:#f6e8ce;color:#916022}
.sanctuary-language-options button[aria-selected=true]::after{content:"✓";position:absolute;right:13px;color:#b18342}
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .station-label{white-space:normal;max-width:180px;text-align:center}
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .scene-actions button{font-size:12px}
body dialog :is(button,label,h1,h2,h3,p){overflow-wrap:anywhere}
body dialog .wish-primary{height:auto;white-space:normal}
@media(max-width:699px){.sanctuary-language-options{right:44px;width:min(220px,calc(100vw - 30px))}html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .station-label{font-size:11px;max-width:150px}}
/* Allow longer translated labels without squeezing the duration controls. */
body dialog#wish-panel .wall-months{gap:12px;flex-wrap:wrap}
body dialog#wish-panel .wall-months>strong{flex:1 1 100px;font-size:17px}
body dialog#wish-panel .wall-stepper{flex:0 0 166px;min-width:166px;width:166px;padding:0 5px}
body dialog#wish-panel .wall-stepper strong{font-size:17px;min-width:0}
body dialog#wish-panel .wall-stepper button{flex:0 0 28px;width:28px}
@media(max-width:699px){html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .brand h1{font-size:20px;letter-spacing:.3px;line-height:1.3}html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .connection{font-size:11px}.brand{min-width:0}.corner-actions{flex-shrink:0}}
body dialog#wish-panel .wall-stepper{gap:6px}
body dialog#wish-panel .wall-stepper strong{flex:1;text-align:center}
