/* Beta 1: scoped additions; original arena controls remain gesture event targets. */
#gg5-home .gg5-step { display:none !important; }
.ggb-legend { position:absolute; z-index:12; right:6px; top:10px; width:44px; height:44px; padding:8px; border:1px solid #ead8a5; border-radius:50%; background:#142b2bea; color:#fff1c9; cursor:pointer; }
.ggb-legend svg { width:24px; height:24px; }
#gg-view-profile .gg-v31-identity-stage { display:none; }
.ggb-ranking { max-width:760px; margin:auto; padding:12px; color:#f8edd4; }
.ggb-notice { padding:12px; border:1px solid #bfa976; border-radius:12px; background:#1a3035; line-height:1.5; }
.ggb-row { display:flex; align-items:center; gap:8px; width:100%; min-height:64px; padding:12px; border:1px solid #82918c; border-radius:12px; background:#20383c; color:#fff3db; text-align:left; font:inherit; cursor:pointer; }
.ggb-row strong { flex:1; min-width:0; overflow-wrap:anywhere; }
.ggb-row > span:last-child { font-size:14px; white-space:nowrap; }
.ggb-avatar { font-size:28px; }
.ggb-ranking ol { list-style:none; padding:0; display:grid; gap:8px; }
.ggb-self { border-color:#e2bd6f; background:#304542; }
.ggb-dialog { box-sizing:border-box; width:min(92vw,540px); max-height:85dvh; padding:24px; overflow:auto; border:1px solid #d8be80; border-radius:18px; background:#173238; color:#fff3db; line-height:1.6; }
.ggb-dialog::backdrop { background:#071418ce; }
.ggb-dialog button { min-width:44px; min-height:44px; padding:8px 16px; border-radius:10px; cursor:pointer; }
.ggb-dialog h2 { margin-top:0; overflow-wrap:anywhere; }
.ggb-dialog p { white-space:pre-line; }
.ggb-row:focus-visible,.ggb-legend:focus-visible,.ggb-dialog button:focus-visible { outline:3px solid #ffd477; outline-offset:3px; }
