/* SITEI18N2019: the hold while a translation loads, the footer language switch, Japanese line breaks. Loaded after site.css / style.css
   (style.css stays byte-identical: its stamp is on the legal pages). */
html.i18n-wait body{opacity:0}
.lang{display:flex;align-items:center;gap:8px;margin-top:16px;color:var(--text2)}
.lang svg{flex:none}
.lang select{color-scheme:dark;font:inherit;font-size:16px;font-weight:800;color:var(--text1);background:var(--surface);border:2px solid #7A5232;border-radius:12px;min-height:48px;padding:0 12px;cursor:pointer}

/* Japanese line breaking (the Japanese heading font is home only: site.css) */
html:lang(ja) body{line-break:strict}
html:lang(ja) :is(h1,h2,h3,p,li,summary){word-break:auto-phrase}

/* small labels that sit on art stay on one line (Japanese breaks between any two characters) */
.you,.mg-shop span{white-space:nowrap}
/* French, Polish, Turkish headings: an accented capital on a second line must not touch the line above */
html:is(:lang(fr),:lang(pl),:lang(tr)) :is(h1,h2),html:is(:lang(fr),:lang(pl),:lang(tr)) .hero h1{line-height:1.1}
/* Korean breaks between words */
html:lang(ko) body{word-break:keep-all;overflow-wrap:break-word}
/* "the game is not in this language yet": only the 8 site languages the game does not have */
.nogame{display:none}
html:is(:lang(zh),:lang(ko),:lang(ru),:lang(it),:lang(pl),:lang(tr),:lang(id)) .nogame{display:block}
