/* Shared language controls; inherited lighting and motion remain intact. */
[data-language-menu]{position:relative;font-size:14px;line-height:1.6;flex-shrink:0;z-index:100}
[data-language-menu] summary{cursor:pointer;list-style:none;border:1px solid #ffffff40;border-radius:24px;padding:8px 12px;background:#192121cc;color:#fff;white-space:nowrap}
[data-language-menu] summary::-webkit-details-marker{display:none}
[data-language-menu] nav{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:2px;min-width:195px;padding:10px;border:1px solid #ffffff40;border-radius:18px;background:#15201ff5;box-shadow:0 18px 50px #0006;backdrop-filter:blur(22px)}
[data-language-menu] nav a{color:#fff;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:14px}
[data-language-menu] a:hover,[data-language-menu] a[aria-current=true]{background:#ffffff1a}
[data-language-menu] a:focus-visible,[data-language-menu] summary:focus-visible{outline:2px solid #dbecb8;outline-offset:3px}
#language-status{position:fixed;bottom:12px;left:12px;z-index:10000;background:#17211f;color:white;max-width:90vw}






.hero h1{max-width:960px;font-size:clamp(36px,6vw,78px);line-height:1.25;text-wrap:balance;overflow-wrap:anywhere}
.brand{min-width:0}.brand>span:last-child{max-width:270px;white-space:normal;line-height:1.5}
.header-inner{gap:16px}.header-nav{margin-left:auto}
html:lang(de) :is(h1,h2,h3,button,p){hyphens:auto;overflow-wrap:anywhere}
html:lang(th),html:lang(vi){line-height:1.7}
html:lang(th) :is(button,p,h1,h2,h3,summary){line-height:1.65}
.scene-language{position:fixed;right:14px;top:72px;z-index:90}
.load-brand{max-width:calc(100% - 30px)}.load-brand>span{white-space:normal}.tip-footer{gap:12px}.tip-footer button{flex-shrink:0}
#zone{max-width:min(60vw,380px);white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:760px){.header-inner{flex-wrap:wrap;padding-block:10px}.brand{flex:1}.brand>span:last-child{font-size:13px;max-width:220px}.header-nav{order:3;width:100%;justify-content:space-between;margin:0}.header-nav a{font-size:12px}.hero h1{font-size:clamp(32px,8.5vw,58px)}.load-brand{font-size:12px}.load-footer{gap:16px;flex-wrap:wrap}.scene-language{top:65px;right:10px}.scene-language summary{font-size:12px;padding:5px 9px}}
.hero h1 .venue-authority,.hero h1 .venue-kind{display:block;font:inherit;letter-spacing:inherit;color:inherit;margin:0;line-height:1.25}
html:lang(zh-Hant) .hero h1 .venue-authority{font-size:clamp(24px,6.5vw,58px);word-break:keep-all}
.zone-suffix::before{content:" ";white-space:pre}
@media(max-width:760px){.header-inner{height:auto!important}.hero-content{padding-top:170px}.hero h1 .venue-kind{margin-top:6px}.hero h1{font-size:clamp(32px,8vw,58px)}}
.device-switch{max-width:100%;display:flex}.device-switch button{min-width:0;white-space:normal;flex:1;overflow-wrap:anywhere}
/* One language entry, moved between desktop toolbar and mobile More panel. */
.language-icon{width:22px;height:22px;flex:none;vertical-align:middle}
[data-language-menu] summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box}
.scene-language{position:relative;inset:auto;z-index:auto;flex:0 0 44px}
.hall-ui .top-right .scene-language summary{width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;background:none;color:var(--hall-text);font-weight:400}
.hall-ui .top-right .scene-language [data-current-language]{display:none}
.hall-ui .top-right .scene-language[open] summary{background:#ffffff1a}
.scene-language nav{z-index:10;max-height:min(65vh,440px);overflow:auto}
.scene-language nav a{display:block;min-height:44px;box-sizing:border-box}
.language-suggestion{display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:fit-content;max-width:100%;margin:14px 0;color:#eee9df;font-size:13px;line-height:1.5}
.language-suggestion a{color:inherit;text-underline-offset:4px;padding-block:10px}
.language-suggestion button{width:44px;height:44px;background:none;border:1px solid #ffffff30;border-radius:50%;color:inherit;font-size:20px;cursor:pointer}
@media(max-width:760px){
 .scene-language{position:relative;inset:auto;flex:none;width:100%;margin:0 0 14px;border-bottom:1px solid #ffffff25;padding-bottom:8px}
 .scene-language summary{justify-content:flex-start;min-height:48px;padding:8px 10px;border:0;background:#ffffff08;border-radius:12px;font-size:14px}
 .scene-language nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin-top:8px;box-shadow:none;backdrop-filter:none;background:none;border:0;padding:0;max-height:none}
 .scene-language nav a{font-size:14px;overflow-wrap:anywhere;padding:10px 8px}
}
[data-language-menu] #language-status{position:static;grid-column:1/-1;margin:4px;padding:8px;font-size:13px;line-height:1.6;max-width:240px;border-radius:8px}
#language-status:empty{display:none}

/* Homepage: one glass navigation surface, with a quieter language action. */
.header-actions{display:flex;align-items:center;flex-shrink:0;margin-left:auto;padding:6px;gap:4px;border:1px solid #e9e6cf45;border-radius:30px;background:var(--hall-glass,#34382bcc);box-shadow:inset 0 1px 0 #fff3,0 10px 30px #0003;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.header-actions .header-nav{margin:0;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.header-actions .home-language{padding:0 0 0 6px;border:0;border-left:1px solid #ffffff25;margin:0}
.header-actions .home-language summary{background:none;border:0;border-radius:22px;padding:0 12px;min-height:44px;color:var(--paper);font-size:13px;font-weight:400;transition:background .2s,color .2s}
.header-actions .home-language summary:hover,.header-actions .home-language[open] summary{background:#ffffff15;color:#fff}
.home-language .language-icon{width:19px;height:19px}
.header-actions .home-language nav{display:grid;width:230px;max-width:calc(100vw - 32px);max-height:70dvh;overflow:auto;gap:2px;margin:0;padding:8px;border:1px solid #e9e6cf45;border-radius:20px;background:#252a24f5;box-shadow:0 18px 50px #0006}
.header-actions .home-language nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:8px 12px;font-weight:400;white-space:normal}
[data-language-menu] a[aria-current=true]::after{content:'✓';margin-left:auto;color:#ebc787}
@media(max-width:1100px){.header-inner{flex-wrap:wrap;height:auto!important;padding-block:12px}.header-actions{margin-left:auto}.header-actions .header-nav a{padding-inline:12px;font-size:13px}}
@media(max-width:760px){
 .header-actions{width:100%;margin:0;gap:2px;padding:4px;border-radius:26px;justify-content:space-between}
 .header-actions .header-nav{order:0;width:auto;flex:1;justify-content:space-around;gap:0}
 .header-actions .header-nav a{font-size:12px;padding-inline:8px}
 .header-actions .home-language{padding-left:3px}
 .header-actions .home-language summary{padding:0 10px}
 .header-actions .home-language [data-language-label]{display:none}
}
@media(prefers-reduced-motion:reduce){.header-actions *{transition:none!important}}
/* Allow translated exploration labels to wrap inside the existing grid. */
.scope-layout>*{min-width:0}.scope-menu button{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.hotspot{max-width:85%;white-space:normal}}

#loading .load-brand{justify-content:flex-start;gap:12px}#loading .load-brand>span:last-child{margin-left:auto}#loading .load-logo{display:block;flex:none;border-radius:9px}
