/* v15.32.71: accessible four-language switcher, scoped to prevent layout regressions */
.hs-lang-picker{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;z-index:65;font-size:clamp(12px,.85vw,15px);font-weight:650;line-height:1.35;color:var(--text,#1a2b22)}
.hs-lang-picker summary{list-style:none;cursor:pointer;white-space:nowrap;padding:8px 10px;border-radius:9px;border:1px solid rgba(17,90,57,.22);background:#fff;user-select:none}
.hs-lang-picker summary::-webkit-details-marker{display:none}
.hs-lang-picker summary span{opacity:.65;margin-left:4px}
.hs-lang-picker[open] summary,.hs-lang-picker summary:focus-visible{outline:2px solid #32825b;outline-offset:2px}
.hs-lang-picker .hs-lang-panel{position:absolute;right:0;top:calc(100% + 5px);min-width:145px;max-width:calc(100vw - 16px);padding:5px;background:#fff;border:1px solid #cdded2;border-radius:10px;box-shadow:0 8px 26px rgba(17,43,28,.16);display:grid;gap:2px}
.hs-lang-panel a{display:block;text-decoration:none;color:#263d30;font-size:14px;white-space:nowrap;padding:9px 12px;border-radius:7px}
.hs-lang-panel a:hover,.hs-lang-panel a:focus-visible,.hs-lang-panel a[aria-current=page]{background:#e8f4eb;color:#126a42}
.hs-lang-panel a[aria-current=page]{font-weight:750}
.hs-translation-note{margin:9px 0 14px;padding:10px 13px;border:1px solid #d8e2d9;background:#f7faf7;color:#45574b;font-size:clamp(12px,.88vw,14px);line-height:1.55;border-radius:9px}
/* On standalone games the native language selector fits inside the header. */
.sim-head>.hs-lang-picker,.online-standalone-nav>.hs-lang-picker{align-self:center}
@media(max-width:760px){.hs-lang-picker{font-size:12px}.hs-lang-picker summary{padding:7px 8px}.hs-lang-picker .hs-lang-panel{min-width:134px}}
html[lang="ja"] .login-card.hs-auth-pending::after{content:"ログイン状態を確認中…"}
html[lang="de"] .login-card.hs-auth-pending::after{content:"Anmeldestatus wird geprüft …"}


/* v15.32.72: keep localized school stages inside their own table cell. */
html:is([lang="ja"],[lang="de"]) .hs-school-table td:first-child,
html:is([lang="ja"],[lang="de"]) .hs-school-table th:first-child{overflow-wrap:normal}
html[lang="de"] .hs-school-table td:first-child,
html[lang="de"] .hs-school-table th:first-child{width:185px}
html[lang="ja"] .hs-school-table td:first-child,
html[lang="ja"] .hs-school-table th:first-child{width:140px}
html:is([lang="ja"],[lang="de"]) .hs-school-table .hs-school-grade{
  max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere
}
html:is([lang="ja"],[lang="de"]) .hs-school-table td:nth-child(2){min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){
  html:is([lang="ja"],[lang="de"]) .hs-school-table td:first-child,
  html:is([lang="ja"],[lang="de"]) .hs-school-table th:first-child{width:auto}
}
