/* One accessible information control, shared by the lobby, battle and rotation prompt. */
.info-button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:2px;border:0;border-radius:50%;background:transparent;color:#7456a4;font:600 27px/1 system-ui,sans-serif;cursor:pointer;opacity:1;touch-action:manipulation}
.info-button:hover{background:#8060b514}.info-button:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.info-row{display:flex;align-items:center;justify-content:center;gap:5px;margin:0}.info-row p{margin:0}
.info-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #dbc9ef;border-radius:22px;background:#fffaf1;color:#302943;box-shadow:0 16px 70px #07152466;font-family:system-ui,-apple-system,"PingFang SC",sans-serif;text-align:left;z-index:12000}
.info-dialog::backdrop{background:#071c35a6}
.info-dialog-header{display:flex;gap:12px;align-items:center;justify-content:space-between}.info-dialog h2{margin:0;font-size:21px;line-height:1.4}
.info-dialog .info-dialog-text{margin:16px 0 20px;font-size:16px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;color:#4e4561}
.info-close{width:44px;height:44px;flex:none;border:0;border-radius:50%;font-size:28px;color:#5b4d70;background:transparent;cursor:pointer}
.info-done{display:block;margin-left:auto;min-height:44px;padding:9px 25px;border:0;border-radius:13px;color:white;background:#7456a4;font-family:inherit;font-size:16px;font-weight:700;line-height:1.5;cursor:pointer}
.info-dialog button:focus-visible{outline:3px solid #b58b37;outline-offset:2px}
#landscape-prompt>.info-button{color:#ffe1a0;margin-top:0;width:48px;height:48px;font-size:32px}
.battle-screen .info-button{color:#fff1c6;opacity:1!important;text-shadow:0 1px 3px #17343e;background:#17343e33}
.battle-screen .info-button:hover{background:#17343e80}
.battle-screen .arena-bottom .info-button{align-self:center;pointer-events:auto}
.battle-screen .bottom-controls .info-button{font-size:24px;padding:0;min-width:44px;min-height:44px}
.appearance-options>.info-button{margin:3px 0}.footer-note .info-button{font-size:22px}
.battle-screen .info-dialog .info-dialog-text{color:#4e4561;text-shadow:none}
@media(max-height:500px){.info-dialog{padding:15px 18px}.info-dialog .info-dialog-text{margin:8px 0 12px;font-size:14px;line-height:1.6}.info-dialog h2{font-size:18px}}
