/* Shared identity gate for game pages (docs/ui_design_principles.md):
   while the platform identity is confirmed only Kamigo and a short notice show;
   when the visitor is not signed in, or confirmation fails, the same login card
   shows in every game. Presentation only: verification itself is unchanged. */
.identity-gate{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;box-sizing:border-box;padding:24px;overflow:auto;background:#f5f4f0;color:#163943;font-family:system-ui,sans-serif;font-size:16px;line-height:1.6;letter-spacing:0;text-align:center}
.identity-gate[hidden],.identity-gate [hidden]{display:none!important}
.identity-gate *{box-sizing:border-box}
.identity-gate img{display:block;width:128px;height:64px;margin:0 auto;object-fit:contain}
.identity-gate .identity-wait p{margin:12px 0 0;font-size:14px;line-height:1.6;color:#52727b}
.identity-gate .identity-card{width:min(100%,380px);padding:28px 24px;background:#fff;border:1px solid #abdfee;border-radius:24px}
.identity-gate .identity-card h1{display:block;margin:16px 0 8px;padding:0;font-size:26px;font-weight:700;line-height:1.3;letter-spacing:0;text-align:center;white-space:normal;color:#087f9c;background:none;text-shadow:none}
.identity-gate .identity-card p{margin:8px 0;font-size:14px;line-height:1.6;color:#52727b}
.identity-gate .identity-card form{margin:0}
.identity-gate .identity-login{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:14px 0 0;padding:0 16px;border:0;border-radius:12px;background:#087f9c;color:#fff;font:inherit;font-size:16px;font-weight:600;line-height:1.2;text-decoration:none;text-shadow:none;box-shadow:none;cursor:pointer;touch-action:manipulation}
.identity-gate .identity-retry{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:10px 0 0;padding:0 16px;border:1px solid #abdfee;border-radius:12px;background:#fff;color:#087f9c;font:inherit;font-size:15px;font-weight:400;line-height:1.2;text-shadow:none;box-shadow:none;cursor:pointer;touch-action:manipulation}
.identity-gate .identity-back{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;color:#087f9c;font-size:14px}
.identity-gate .identity-login:focus-visible,.identity-gate .identity-retry:focus-visible,.identity-gate .identity-back:focus-visible{outline:3px solid #087f9c;outline-offset:3px}
