/* ---------- The casino's window: its way into the Gilded Gear, in the Arena's town (arena/casino/) ---------- */
#casino .cas3dbtn { margin-left: auto; }
#casino .cas3dbtn + .shopclose { margin-left: 0; }
/* a controller's chosen button, in the menus over the 3D world */
.padfocus { outline: 3px solid var(--gold) !important; outline-offset: 2px; }

/* ---------- Words that fit: overlays centred over the view ---------- */
/* Each is as wide as its words (not half the screen, which a box pinned at left: 50% otherwise gets), wraps only when
   the screen's too narrow for it, and then in even lines; nothing runs off the edge or ends in "…". */
:is(#gsmsg, #gsprompt, #gsvhud, #gstarget, #gsbanner, #gsrevive, #housepick, #skillbar, #toast, #vilfollow) {
  width: max-content; max-width: calc(100% - 32px); text-wrap: balance; overflow-wrap: break-word; box-sizing: border-box;
}
#gstarget { white-space: normal; text-align: center; }
#gsscore { width: max-content; white-space: normal; overflow: visible; text-overflow: clip; text-align: center; text-wrap: balance; }
#gsbanner b { font-size: clamp(32px, 8vw, 58px); line-height: 1.05; }
.ga-banner { width: max-content; max-width: 92vw; white-space: normal; text-align: center; text-wrap: balance; line-height: 1.05; }
.gsfrow { max-width: min(420px, 70vw); overflow-wrap: break-word; }
@media (max-width: 760px) {
  #gsmsg { font-size: 18px; }
}
