/* Locale overlay only. Keep the independent game's generated CSS immutable. */
.topbar{height:auto;min-height:82px;flex-wrap:wrap;padding-block:14px;gap:16px;}
.topbar>*{min-width:0;}
.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;}
.top-actions .account-link{min-height:44px;}
.top-actions .surface-language{border-color:var(--line);background:transparent;}
.top-actions .surface-language a{color:var(--ink);}
.top-actions .surface-language a[aria-current="true"]{background:var(--ink);color:#f6f8f5;}
.top-actions .surface-language-status{flex-basis:100%;max-width:320px;color:var(--coral);}
.brand h1{flex-wrap:wrap;}
html[lang="en"] .brand h1 span{display:none;}
html[lang="en"] .object-heading h2{word-break:normal;overflow-wrap:break-word;}
html[lang="en"] .modes button{min-height:44px;}
html[lang="en"] .result>span{line-height:1.4;}
.history .day{min-width:0;}
@media(max-width:640px){
  .topbar{padding:12px 18px;gap:12px;}
  .topbar .home{font-size:12px;}
  .topbar .home span{margin-left:8px;}
  .top-actions{margin-left:auto;gap:6px;}
  .topbar .brand h1{font-size:19px;}
  .topbar .brand{gap:6px;}
  .top-actions [data-surface-language]{order:2;}
  .game-nav{gap:12px;flex-wrap:wrap;padding-block:22px;}
  .game-nav .date{margin-left:auto;}
  html[lang="en"] .object-heading{align-items:flex-start;}
  html[lang="en"] .object-heading h2{font-size:23px;}
  html[lang="en"] .object-heading .eyebrow{flex-wrap:wrap;gap:6px;}
  html[lang="en"] .attempt-counter{max-width:90px;}
  html[lang="en"] .attempt-counter>span{white-space:normal;}
  html[lang="en"] #attempts .ratio{font-size:12px;overflow-wrap:break-word;}
}
