.language-picker{display:inline-flex;align-items:center;gap:6px;max-width:100%;font:14px/1.4 system-ui,sans-serif;color:#fff}
.language-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.language-select{font:inherit;min-height:44px;max-width:150px;width:125px;padding:8px 22px 8px 9px;color:#fff;background:#17233b;border:1px solid #b5c2dd;border-radius:5px;cursor:pointer;color-scheme:dark}
.language-select:focus-visible{outline:3px solid #ffda8a;outline-offset:3px}
.language-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.language-note{max-width:1220px;margin:16px auto;padding:12px 24px;border:1px solid currentColor;border-radius:6px;font:15px/1.6 system-ui,sans-serif}
.language-note[hidden]{display:none}
html[lang]:not([lang=en]) :is(h1,h2,h3,h4,.hero-line,.button,.text-link){overflow-wrap:anywhere;letter-spacing:normal}
html[lang]:is([lang=ja],[lang=ko],[lang=zh-Hans]) :is(.hero-line,h1,h2,h3,h4){line-height:1.4}
/* Keep Japanese long-vowel marks with the preceding text in the introduction. */
html[lang=ja] .hero-line{line-break:strict;word-break:normal;overflow-wrap:normal}
body>.header{flex-wrap:wrap}.header-tools{flex-wrap:wrap;max-width:100%}
@media(min-width:761px) and (max-width:1450px){body>.header>nav{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap}body>.header .header-tools{margin-left:auto}}
@media(max-width:760px){
 .header[data-directory-study] .header-tools{display:contents!important}
 .header[data-directory-study]>.wordmark{font-size:20px}
 .header[data-directory-study] .login-link{font-size:12px;padding-inline:8px;min-height:44px;display:inline-flex;align-items:center}
 .header[data-directory-study] .login-link>span{display:none}
 .header[data-directory-study] .language-picker{grid-column:1;grid-row:2;justify-self:start}
 .header[data-directory-study] .study-directory{grid-row:3!important}
 .header[data-directory-study] .study-directory summary{width:100%!important}
 .language-select{width:145px;max-width:100%}
}
@media(forced-colors:active){.language-select{background:Canvas;color:CanvasText;border-color:ButtonText}.language-select:focus-visible{outline-color:Highlight}}
@media print{.language-picker,.language-status{display:none}.language-note{border:0;color:#000}}
:is(.bar>.shell,.room-bar>.room-shell){flex-wrap:wrap}
@media(min-width:761px) and (max-width:1450px){:is(.bar>.shell,.room-bar>.room-shell)>nav{order:3;flex-basis:100%;justify-content:center}}
@media(max-width:760px){
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study]>.brand,
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study]>.room-brand{font-size:20px}
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study] .portfolio-account{font-size:12px;padding-inline:8px;min-height:44px;display:inline-flex;align-items:center}
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study] .portfolio-account>span{display:none}
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study] .language-picker{grid-column:1;grid-row:2;justify-self:start}
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study] .study-directory{grid-row:3!important}
 :is(.bar>.shell,.room-bar>.room-shell)[data-directory-study] .study-directory summary{width:100%!important}
}

html[data-gallery-language] .wall .art-link::after{content:var(--gallery-inspect)}
/* Let long labels and enlarged text reflow inside the existing window grids. */
main :is(section,article)>*,.room-intro>*,.deck-heading>*,.music-section>*{min-width:0}
main :is(h1,h2,h3,h4,p,a,button,summary),footer a{overflow-wrap:anywhere}
main button{max-width:100%;white-space:normal}
header :is(.wordmark,.brand,.room-brand){min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.room-channel{min-width:0;max-width:100%}
.room-channel :is(a,button){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.hero-stamp,figcaption>span,.deck-volume-value{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Support-page chrome was position:static, so its z-index could not clear the GPU layer. */
body.glass-enabled:has(>main.legal)>header,
body.glass-enabled:has(>main.tools-desk)>header{position:relative}
@media(min-width:761px){
 body:has(>main.legal)>header.header,
 body:has(>main.tools-desk)>header.header{display:flex}
 /* Gallery and TV use a nested shell rather than the homepage's tools group. */
 :is(.bar>.shell,.room-bar>.room-shell){display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:none;gap:12px;align-items:center}
 :is(.bar>.shell,.room-bar>.room-shell)>:is(.brand,.room-brand){grid-column:1;grid-row:1}
 :is(.bar>.shell,.room-bar>.room-shell)>.portfolio-account{grid-column:2;grid-row:1;justify-self:end;margin:0}
 :is(.bar>.shell,.room-bar>.room-shell)>.language-picker{grid-column:3;grid-row:1;justify-self:end}
 :is(.bar>.shell,.room-bar>.room-shell)>nav{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;margin:0;justify-content:center;flex-wrap:wrap;gap:10px;min-width:0}
}
