/* Menu screen app chrome: pairing page, fullscreen button, boot. The board itself is board.css. */
html,body{margin:0;height:100%;overflow:hidden;background:#F5F5F7}
body{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:#111}
body.nocursor,body.nocursor *{cursor:none!important}
#root{position:fixed;inset:0}
.pairpage{position:fixed;inset:0;background:#F5F5F7;overflow:hidden}
.pairstage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:50% 50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pair-ico{width:150px;height:150px;border-radius:40px;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;color:#111}
.pairstage h1{font-size:84px;font-weight:800;letter-spacing:-.03em;margin:44px 0 30px}
.pairstage ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;font-size:36px;color:#3A3A3C}
.pairstage li{display:flex;align-items:center;gap:20px;justify-content:center}
.pairstage li span{width:52px;height:52px;border-radius:26px;background:#111;color:#fff;font-size:28px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:none}
.pair-code{margin-top:54px;font-size:180px;font-weight:800;letter-spacing:.08em;font-variant-numeric:tabular-nums;background:#fff;border-radius:48px;padding:34px 80px;box-shadow:0 10px 50px rgba(0,0,0,.08);min-width:700px}
.pair-exp{font-size:30px;color:#6E6E73;margin:34px 0 0}
.pair-link{margin-top:34px;background:none;border:0;font:inherit;font-size:28px;color:#6E6E73;text-decoration:underline;cursor:pointer}
.pair-manual{margin-top:30px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:center}
.pair-manual input{font:inherit;font-size:40px;padding:18px 26px;border-radius:24px;border:2px solid #D2D2D7;width:420px;text-align:center;letter-spacing:.08em;text-transform:uppercase}
.pair-manual button{font:inherit;font-size:36px;font-weight:700;padding:20px 40px;border-radius:24px;border:0;background:#111;color:#fff;cursor:pointer}
.pair-err{width:100%;font-size:28px;color:#C9341F}
.fsbtn{position:fixed;left:24px;bottom:24px;z-index:50;display:flex;align-items:center;gap:10px;font:inherit;font-size:17px;font-weight:600;padding:12px 18px;border-radius:999px;border:0;background:rgba(17,17,17,.86);color:#fff;cursor:pointer;box-shadow:0 6px 24px rgba(0,0,0,.2);backdrop-filter:blur(10px)}
[dir=rtl] .fsbtn{left:auto;right:24px}
.boot{position:fixed;inset:0;display:flex;align-items:center;justify-content:center}
.boot-dot{width:14px;height:14px;border-radius:7px;background:#C7C7CC;animation:bootp 1.2s ease-in-out infinite alternate}
@keyframes bootp{from{opacity:.3}to{opacity:1}}
@media (prefers-reduced-motion: reduce){.boot-dot{animation:none}}
