/* Shared frame for game entry screens (docs/ui_design_principles.md):
   a back link in the top-left corner, small secondary buttons in the top-right
   (ranking, settings or sound, help) and one solid primary action per screen.
   Game art stays per game; a themed game only overrides the three variables. */
.game-frame-bar{display:flex;align-items:center;gap:6px;min-height:44px;--frame-ink:#087f9c;--frame-border:#abdfee;--frame-bg:#fff}
.game-frame-bar .game-frame-space{flex:1 1 auto;min-width:0}
.game-frame-bar .game-frame-title{flex:1 1 auto;min-width:0;margin:0;padding:0;text-align:center;font-size:17px;font-weight:700;line-height:1.2;letter-spacing:.04em;color:var(--frame-ink);white-space:nowrap}
.game-frame-bar .game-corner{flex:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;height:auto;min-width:48px;min-height:36px;margin:0;padding:0 10px;border:1px solid var(--frame-border);border-radius:18px;background:var(--frame-bg);color:var(--frame-ink);font:inherit;font-size:13px;font-weight:400;line-height:1;letter-spacing:0;text-decoration:none;text-shadow:none;box-shadow:none;white-space:nowrap;cursor:pointer;touch-action:manipulation}
.game-frame-bar .game-corner:hover{border-color:var(--frame-ink);color:var(--frame-ink)}
.game-frame-bar .game-corner:focus-visible{outline:3px solid var(--frame-ink);outline-offset:2px}
.game-frame-bar .game-corner-back{min-height:44px;padding:0 4px 0 0;border-color:transparent;background:transparent}
.game-frame-bar .game-corner-back::before{content:"←";margin-right:4px}
.game-frame-bar .game-corner-back:hover{border-color:transparent;text-decoration:underline;text-underline-offset:3px}
.game-frame-bar [hidden]{display:none}
