.invite{padding:16px;background:linear-gradient(140deg,rgba(139,92,246,.4),rgba(34,211,238,.18));border-color:rgba(196,181,253,.4)}
.invite .h2{font-size:21px}
.linkbox{display:flex;align-items:center;gap:8px;margin:10px 0 12px;padding:10px 12px;font-size:14px;border-radius:14px;background:rgba(5,7,26,.55);border:1px solid rgba(255,255,255,.14);font-size:15px;font-weight:700;color:#c7d0ff}
.copy{margin-left:auto;font-size:14px;font-weight:800;color:#7fe9ff;white-space:nowrap}
.stats{display:flex;gap:10px}
.stat{flex:1;padding:9px 13px}
.stat .n{font-size:22px;font-weight:800}.stat .l{font-size:13.5px;font-weight:700;color:#aab2dc}
.tour{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:linear-gradient(100deg,rgba(255,193,59,.22),rgba(139,92,246,.2));border:1px solid rgba(255,193,59,.45)}
.tour .t{font-weight:800;font-size:16px;line-height:1.3}
.list{padding:4px 14px}
.fr{display:flex;align-items:center;gap:12px;height:48px;border-bottom:1px solid rgba(255,255,255,.08)}.fr:last-child{border:none}
.av{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px}
.fn{font-weight:800;font-size:16px}
.st{margin-left:auto;font-size:14px;font-weight:800;padding:5px 10px;border-radius:10px;white-space:nowrap}
.st.ok{color:#a7f3d0;background:rgba(16,185,129,.14)}.st.no{color:#aab2dc;background:rgba(255,255,255,.07)}
.view{display:flex;flex-direction:column;gap:10px}
.tab{cursor:pointer;-webkit-tap-highlight-color:transparent}
.game{cursor:pointer}
.linkbox span:first-child{overflow:hidden;text-overflow:ellipsis}
.copy{cursor:pointer}
.btn{cursor:pointer}
.bg{padding:12px 14px;display:flex;align-items:center;gap:12px}
.bg .gi{font-size:30px;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
.bg .meta{font-size:13.5px;color:#aab2dc;font-weight:700;margin-top:2px}
.badge{margin-left:auto;font-size:13px;font-weight:800;padding:5px 10px;border-radius:10px;white-space:nowrap;background:rgba(255,255,255,.08);color:#ddd6fe}
.badge.ok{background:rgba(16,185,129,.16);color:#a7f3d0}.badge.warn{background:rgba(245,158,11,.16);color:#fde68a}
.trow{display:flex;align-items:center;gap:12px;height:46px;border-bottom:1px solid rgba(255,255,255,.08)}.trow:last-child{border:none}
.trow .rk{width:30px;text-align:center;font-weight:800;font-size:17px}
.trow.me{background:rgba(139,92,246,.18);margin:0 -14px;padding:0 14px;border-radius:12px}
.pf{display:flex;align-items:center;gap:14px;padding:16px}
.pf .avatar{width:64px;height:64px;font-size:30px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid2 .stat .n{font-size:22px;font-weight:800}
.empty{padding:14px;text-align:center;color:#aab2dc;font-weight:700}
/* 💣 Сапёр */
.demo{padding:10px 14px;border-radius:16px;background:rgba(34,211,238,.10);border:1px dashed rgba(34,211,238,.45);font-size:14px;font-weight:700;color:#bff4ff;text-align:center}
.mbar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mode{display:flex;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:3px}
.mode b{padding:8px 12px;border-radius:11px;font-size:15px;cursor:pointer;white-space:nowrap}
.mode b.on{background:linear-gradient(135deg,rgba(139,92,246,.7),rgba(34,211,238,.45));box-shadow:0 0 12px rgba(139,92,246,.45)}
.board{display:grid;gap:4px;padding:8px;border-radius:18px;background:rgba(5,7,26,.55);border:1px solid rgba(255,255,255,.12);touch-action:manipulation;user-select:none;-webkit-user-select:none}
.cell{aspect-ratio:1;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;cursor:pointer;
 background:linear-gradient(160deg,rgba(139,92,246,.45),rgba(59,130,246,.25));border:1px solid rgba(196,181,253,.3);-webkit-tap-highlight-color:transparent}
.cell.o{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.06);cursor:default}
.cell.boom{background:rgba(239,68,68,.55)}.cell.bad{background:rgba(245,158,11,.25)}
.n1{color:#7dd3fc}.n2{color:#86efac}.n3{color:#fca5a5}.n4{color:#c4b5fd}.n5{color:#fdba74}.n6{color:#5eead4}.n7{color:#f9a8d4}.n8{color:#e5e7eb}
.mstat{font-weight:800;font-size:16px}
.mres{text-align:center;font-weight:800;font-size:18px}
.commit{font-size:12px;color:#8d95c4;text-align:center;word-break:break-all;font-family:ui-monospace,monospace}
.soon.demo-l{color:#a5f3fc;background:rgba(34,211,238,.18)}
