/* Field-radio selector: solid olive surfaces keep the text legible over the command deck. */
.language-control{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #718054;border-radius:6px;background:#222b1d;flex-shrink:0;box-shadow:inset 0 1px 0 #d8dfb51a}
.language-control button{appearance:none;min-width:44px;min-height:44px;font-family:inherit;line-height:20px;font-size:13px;font-weight:700;padding:8px;border:1px solid transparent;border-radius:3px;background:#222b1d;color:#ece4c8;cursor:pointer;letter-spacing:.03em;touch-action:manipulation}
.language-control button[aria-pressed="true"]{background:#eeb65f;color:#1c2219;border-color:#f4cb8d;box-shadow:inset 0 -2px 0 #966b31}
.language-control button:hover:not([aria-pressed="true"]){background:#33402b;color:#fff3d2;border-color:#879766}
.language-control button:focus-visible{outline:2px solid #fff1b5;outline-offset:2px}
.game-shell{grid-template-rows:auto minmax(0,1fr) 16px}.masthead{min-height:56px;gap:12px}.top-right{min-width:0}
@media(max-width:760px){.masthead{flex-wrap:wrap;gap:8px}.top-right{margin-left:auto;max-width:100%}}
@media(max-width:599px){.game-shell{grid-template-rows:auto minmax(0,1fr)}.masthead{align-content:start}.masthead>.brand{width:100%}.masthead>.top-right{width:100%;justify-content:space-between;flex-wrap:nowrap;gap:4px}.language-control{padding:4px;gap:4px}.language-control button{min-width:44px;min-height:44px;padding:8px;font-size:13px}}
@media(max-height:519px) and (min-width:600px){.game-shell{grid-template-rows:auto minmax(0,1fr)}}
html[lang="en"] .brand h1{font-size:clamp(16px,2.2vw,26px)}html[lang="en"] .brand h1 span{display:none}html[lang="en"] .item-bubble > span:not(.item-art){font-size:11px;line-height:1.2}html[lang="en"] .top-right{gap:8px}html[lang="en"] .run-button{white-space:normal}html[lang="en"] .task-line{min-width:0}html[lang="en"] .queued-supplies button{max-width:200px}@media(max-width:600px){html[lang="en"] .top-right{gap:4px}html[lang="en"] .connection{display:none}html[lang="en"] .run-button{font-size:11px;padding:4px 8px}}

html[lang="en"] .item-bubble > span:not(.item-art){overflow-wrap:anywhere}html[lang="en"] .supply-tabs [role="tab"]{font-size:12px}html[lang="en"] .custom-drop label{min-width:0}html[lang="en"] .custom-drop input{min-width:0}html[lang="en"] .top-right{flex-wrap:wrap}@media(max-width:599px){html[lang="en"] .masthead>.top-right{flex-wrap:nowrap}}html[lang="en"] .section-heading h2{line-height:1.35}html[lang="en"] .battle-caption h2{line-height:1.25}
